1 2007-02-28 Wim Taymans <wim@fluendo.com>
3 * gst/gstelement.c: (gst_element_message_full),
4 (gst_element_set_locked_state), (gst_element_get_state_func),
5 (gst_element_change_state):
6 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10 * gst/gstmessage.c: (gst_message_new_info),
11 (gst_message_parse_info):
13 API: gst_message_new_info()
14 API: gst_message_parse_info()
15 Add INFO message create and parse code.
17 2007-02-28 Wim Taymans <wim@fluendo.com>
19 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
20 (bin_query_latency_done):
21 Also report the live parameter of a latency query.
23 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
25 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
26 Copy the current generic/states example from -base and adapt so
27 we can use the exact same code everywhere.
28 Check a STATES_IGNORE_ELEMENTS env var which can be used
29 to ignore certain element factories for this test, which is
30 what is being done in -base
31 * tests/check/Makefile.am:
32 Mention this environment variable.
34 2007-02-27 Wim Taymans <wim@fluendo.com>
36 * docs/gst/gstreamer-sections.txt:
37 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
38 (gst_bus_timed_pop), (gst_bus_pop):
40 API: gst_bus_timed_pop()
41 Implement gst_bus_timed_pop() to do a blocking timed wait for a
42 message to arrive on the bus.
44 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
46 Two unit tests for new _timed_pop() function.
48 2007-02-23 Wim Taymans <wim@fluendo.com>
50 * gst/gstpipeline.c: (gst_pipeline_change_state),
51 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
52 Don't ref a NULL clock in _provide_clock_func().
53 Don't allow an INVALID delay.
54 Don't try to calculate base_time with an invalid start_time.
55 Also distribute and notify a NULL clock when it was selected.
57 * tools/gst-launch.c: (event_loop):
58 Don't crash when a NULL clock was selected in the pipeline.
60 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
62 * docs/design/Makefile.am:
63 * docs/design/draft-missing-plugins.txt:
64 * docs/random/draft-missing-plugins.txt:
65 Some small updates: update plugin system identifier prefix
66 ('gstreamer.net' to 'gstreamer'), mention our new install
67 API in libgstbaseutils rather than libgimme-codec, add
68 reference to the online docs.
70 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
72 * win32/common/config.h:
73 Pretty sure Bill never made a powerpc version. Powerpc hackers,
74 use moap cl ci to only check in what is mentioned in the ChangeLog.
76 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
78 * docs/gst/gstreamer-sections.txt:
80 Fix up documentation to link to the correct GstGError section.
81 Add GST_ELEMENT_INFO macro since someone else added a Info message.
83 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
85 * tools/gst-launch.c: (event_loop):
86 Make sure that we actually show the important message part of a
88 No need to check if the gerror is not NULL to free; first of all
89 g_free accepts NULL; and second the default error handler would
90 segfault if gerror was NULL.
92 2007-02-21 Wim Taymans <wim@fluendo.com>
94 * docs/gst/gstreamer-sections.txt:
97 2007-02-21 Wim Taymans <wim@fluendo.com>
99 * gst/gstmessage.c: (gst_message_parse_duration):
101 Remove new messages for release.
103 2007-02-20 Wim Taymans <wim@fluendo.com>
105 * docs/design/part-gstghostpad.txt:
106 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
107 (gst_ghost_pad_new_full):
108 Make the ghostpad a parent of the internal pad again for better backward
109 compatibility. Don't write code that relies on this however.
111 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
112 (gst_pad_link_check_hierarchy):
113 Require that parents should be GstElements in the hierarchy check.
115 2007-02-20 Wim Taymans <wim@fluendo.com>
117 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
118 (gst_bin_change_state_func), (bin_query_min_max_init),
119 (bin_query_latency_fold), (bin_query_latency_done),
122 Implement latency query.
124 2007-02-20 Wim Taymans <wim@fluendo.com>
126 * docs/design/part-gstghostpad.txt:
127 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
128 (gst_ghost_pad_internal_do_activate_push),
129 (gst_ghost_pad_internal_do_activate_pull),
130 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
131 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
132 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
133 Do not set the internal pad as a parent anymore so we can avoid
134 hierarchy linking errors when the ghostpad has no parent yet. This also
135 fixes failed activation because of unlinked internal pads, which in
136 turn fixes the impossible case where you have to activate a pad before
137 you can add it to a running element.
140 * gst/gstpad.c: (pre_activate), (post_activate),
141 (gst_pad_set_active), (gst_pad_activate_pull),
142 (gst_pad_activate_push), (gst_pad_check_pull_range):
143 Add some more debug info.
144 Mark activation mode in pre_activate so that we don't try to activate in
145 endless loops. Fixes #385084.
147 2007-02-19 Wim Taymans <wim@fluendo.com>
149 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
150 (gst_base_transform_check_get_range):
151 Implement a checkgetrange function instead of relying on the default
152 core behaviour that assumes we can operate in pull mode if we have a
153 getrange function. First step at fixing #385084.
155 2007-02-15 Stefan Kost <ensonic@users.sf.net>
157 * gst/gstchildproxy.h:
158 * libs/gst/base/gstbasesink.h:
159 * libs/gst/base/gstbasesrc.h:
160 * libs/gst/base/gstbasetransform.h:
161 More docs coverage and some ChangeLog surgery (add missing names)
163 2007-02-15 Wim Taymans <wim@fluendo.com>
165 * docs/design/part-TODO.txt:
166 * docs/design/part-activation.txt:
167 * docs/design/part-block.txt:
168 * docs/design/part-buffering.txt:
169 * docs/design/part-clocks.txt:
170 * docs/design/part-element-source.txt:
171 * docs/design/part-events.txt:
172 * docs/design/part-gstbin.txt:
173 * docs/design/part-gstbus.txt:
174 * docs/design/part-gstpipeline.txt:
175 * docs/design/part-live-source.txt:
176 * docs/design/part-messages.txt:
177 * docs/design/part-overview.txt:
178 * docs/design/part-qos.txt:
179 * docs/design/part-query.txt:
180 * docs/design/part-states.txt:
181 * docs/design/part-trickmodes.txt:
182 Some doc updates. Start renaming from stream_time to running_time where
185 2007-02-15 Wim Taymans <wim@fluendo.com>
187 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
188 Answer LATENCY query.
190 2007-02-15 Wim Taymans <wim@fluendo.com>
192 * tests/check/gst/gstevent.c: (event_probe), (test_event),
196 2007-02-15 Wim Taymans <wim@fluendo.com>
198 * gst/gstpad.c: (gst_pad_get_internal_links_default),
199 (gst_pad_dispatcher):
200 Improve debugging of default pad dispatcher and query functions.
202 2007-02-15 Wim Taymans <wim@fluendo.com>
204 * docs/gst/gstreamer-sections.txt:
205 Remove old unused method.
207 2007-02-13 Wim Taymans <wim@fluendo.com>
209 * tests/check/gst/gstsegment.c: (GST_START_TEST):
212 2007-02-13 Wim Taymans <wim@fluendo.com>
214 * docs/design/part-seeking.txt:
217 * gst/gstsegment.c: (gst_segment_set_seek):
218 Revert old bogus change that should make seeking work again.
220 2007-02-13 Stefan Kost <ensonic@users.sf.net>
222 * docs/random/ensonic/dynlink.txt:
223 * docs/random/ensonic/interfaces.txt:
224 * docs/random/ensonic/receipies.txt:
225 Possible dynamic reconnection api, plus some type fixes the other two
228 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
230 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
231 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
232 Also check for an absolute path following file:// in the filesrc
233 element. Remove redundant check and call g_path_is_absolute() on the
236 2007-02-13 Stefan Kost <ensonic@users.sf.net>
238 * docs/design/draft-klass.txt:
239 Add existing category analysis.
242 Fix doc example, framerate is a fraction.
244 2007-02-12 Stefan Kost <ensonic@users.sf.net>
247 * docs/gst/Makefile.am:
248 * docs/libs/Makefile.am:
249 * docs/plugins/Makefile.am:
250 Add crossreferences to glib/gobject docs.
252 2007-02-12 Wim Taymans <wim@fluendo.com>
254 * docs/design/draft-latency.txt:
257 * docs/libs/gstreamer-libs-sections.txt:
258 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
259 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
260 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
261 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
262 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
263 (gst_base_sink_get_position), (gst_base_sink_query),
264 (gst_base_sink_change_state):
265 * libs/gst/base/gstbasesink.h:
266 API: gst_base_sink_query_latency() to let subclasses query the upstream
268 API: gst_base_sink_get_latency() to let subclasses query the configured
270 Implement query and set latency.
272 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
273 don't continue preroll when we are flushing. Fixes #405284.
275 * tests/check/pipelines/stress.c: (change_state_timeout),
276 (quit_timeout), (GST_START_TEST), (stress_suite):
279 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
281 Patch by: René Stadler <mail at renestadler de>
283 * docs/gst/gstreamer-sections.txt:
284 * gst/gsttaglist.c: (_gst_tag_initialize):
286 API: add GST_TAG_REFERENCE_LEVEL (#403597).
288 2007-02-11 Stefan Kost <ensonic@users.sf.net>
290 * docs/libs/Makefile.am:
291 Fix path to core docs.
293 * gst/gstbin.c: (gst_bin_get_by_interface),
294 (gst_bin_iterate_all_by_interface):
295 Refix docs by also renaming 'interface' to 'iface' in implementation.
297 * docs/gst/gstreamer-sections.txt:
299 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
300 * gst/gstchildproxy.h:
301 * gst/gstelementfactory.c:
302 * gst/gstpadtemplate.h:
303 * libs/gst/controller/gstcontroller.c:
304 (gst_controlled_property_new):
307 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
309 * gst/gstbin.h:(gst_bin_get_by_interface),
310 (gst_bin_iterate_all_by_interface):
311 Replace interface parameter name by iface as interface is
312 a reserved keyword in Visual Studio for C++ projects so it removes
313 a build error for application developpers using VS.
314 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
315 Fix a bug on Windows in uri format check. Now the prefix checked
316 is file:// and next we check if the path after file:// is absolute.
317 * win32/common/libgstbase.def:
318 * win32/common/libgstdataprotocol.def:
319 * win32/common/libgstgstreamer.def:
320 Add new exported functions.
322 2007-02-09 Andy Wingo <wingo@pobox.com>
324 * tests/check/pipelines/simple-launch-lines.c
325 (simple_launch_lines_suite, test_tee): Disable tee test until I
326 have time to fix it :-(
328 * tests/check/Makefile.am (noinst_HEADERS):
329 * tests/check/libs/libsabi.c:
330 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
331 * tests/check/gst/gstabi.c:
332 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
334 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
335 tests for push and pull tee behavior.
337 * plugins/elements/gsttee.h:
338 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
339 mark as deprecated as well as unimplemented. It was a crack idea.
340 Add support for tee operating in pull mode, off by default.
342 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
343 normal-case logs down to LOG, raise errors to WARNING.
344 (gst_registry_xml_read_cache): Don't log before calling a function
347 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
348 exit (registry finalize).
349 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
350 DEBUG log when we emit signals that people don't even have the
351 chance to connect to.
352 (gst_registry_scan_path_level): Less logging in the normal case.
354 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
356 Patch by: Michal Benes <michal dot benes at itonis dot tv>
358 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
359 Correctly generate EOS for non-seekable files. We don't have a total
360 length for them and would get an unexpected end of file if we only
361 special-cased for regular files. (Fixes: #404569)
363 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
365 * tests/check/elements/filesrc.c: (GST_START_TEST),
367 Add unit test for the GstURIHandler interface in filesrc. This also
368 tests the newly added file://localhost/foo/bar support.
370 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
372 * gst/gstelementfactory.h:
373 The klass string is not a hierarchy. Add reference to the design doc
374 for more information and common types.
376 2007-02-02 Wim Taymans <wim@fluendo.com>
378 * gst/gstquery.c: (gst_query_new_latency):
379 Remove old structure field.
381 2007-02-02 Stefan Kost <ensonic@users.sf.net>
383 * tools/gst-launch.1.in:
384 Give example for network streaming (#351998)
386 2007-02-02 Wim Taymans <wim@fluendo.com>
388 * docs/gst/gstreamer-sections.txt:
389 Add docs for new methods.
391 * gst/gstevent.c: (gst_event_new_latency),
392 (gst_event_parse_latency):
394 Add new LATENCY event to configure latency in a pipeline.
395 API: gst_event_new_latency
396 API: gst_event_parse_latency
398 * gst/gstmessage.c: (gst_message_new_buffering),
399 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
400 (gst_message_new_latency), (gst_message_parse_buffering),
401 (gst_message_parse_lost_preroll):
403 Added messages used in draft-latency.
404 API: gst_message_new_lost_preroll
405 API: gst_message_parse_lost_preroll
406 API: gst_message_new_prerolled
407 API: gst_message_new_latency
409 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
410 (gst_query_parse_latency):
412 Implemented new latency query as in design doc.
413 API: gst_query_new_latency
414 API: gst_query_set_latency
415 API: gst_query_parse_latency
417 2007-02-02 Wim Taymans <wim@fluendo.com>
419 * docs/design/draft-latency.txt:
420 Slight redesign to allow for dynamic latency adjustments.
422 * docs/design/part-negotiation.txt:
425 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
427 reviewed by: Wim Taymans <wim@fluendo.com>
429 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
430 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
431 Allow file://localhost/foo/bar URLs and correctly fail for every other
432 hostname that one sets. This was gnomevfssrc is linked for those if
433 installed as it can handle it (#403172)
435 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
437 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
440 (unref_data), (gst_collect_pads_add_pad_full):
441 * libs/gst/base/gstcollectpads.h:
442 Don't put the previously added destroy notify in the GstCollectData
443 struct as all it's padding is already used and we don't want to break
444 ABI. Instead put in the pad's GObject data for now. This should be
445 cleaned up for 0.11 (#402393).
447 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
449 reviewed by: Wim Taymans <wim@fluendo.com>
451 * docs/libs/gstreamer-libs-sections.txt:
452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
453 (unref_data), (gst_collect_pads_add_pad),
454 (gst_collect_pads_add_pad_full):
455 * libs/gst/base/gstcollectpads.h:
456 API: Add function to specify a destroy notification for custom
457 GstCollectData when adding new pads in GstCollectPads (#402393).
459 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
462 Update Swedish translation (#378255).
464 2007-01-31 Stefan Kost <ensonic@users.sf.net>
466 * docs/design/draft-klass.txt:
467 Fix the previous change, this is a list of categories and not a hierarchy.
469 2007-01-31 Stefan Kost <ensonic@users.sf.net>
471 * docs/design/draft-klass.txt:
472 Add info about how to get a list of used classes.
474 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
476 * plugins/elements/gsttypefindelement.c:
477 (gst_type_find_element_chain_do_typefinding),
478 (gst_type_find_element_change_state):
479 Don't leak found caps in chain function (no idea why that never
480 showed up as a leak anywhere).
482 2007-01-30 Stefan Kost <ensonic@users.sf.net>
485 Fix and expand GstPluginDesc API docs.
487 2007-01-29 Stefan Kost <ensonic@users.sf.net>
490 * gst/gstelementfactory.c:
491 * gst/gstpadtemplate.h:
494 * libs/gst/controller/gstcontroller.c:
495 (gst_controlled_property_new):
496 * tests/examples/controller/audio-example.c:
499 2007-01-29 Stefan Kost <ensonic@users.sf.net>
502 comment about refining the xml deps
505 comments about moving away from jade for docs
508 recommit the ifdefs to use the binary registry
510 * gst/gstbin.c: (gst_bin_change_state_func):
511 this break is obsolete
513 * gst/gstelementfactory.h:
514 better GST_ELEMENT_DETAILS docs, add comment about translation
519 * gst/gstobject.c: (gst_signal_object_get_type):
520 add G_UNLIKELY as usual
522 * gst/gstpad.c: (gst_pad_event_default):
523 add fall trhu comment
525 * gst/gstregistrybinary.c: (gst_registry_binary_write),
526 (gst_registry_binary_initialize_magic),
527 (gst_registry_binary_save_string),
528 (gst_registry_binary_save_pad_template),
529 (gst_registry_binary_save_feature),
530 (gst_registry_binary_save_plugin),
531 (gst_registry_binary_write_cache),
532 (gst_registry_binary_check_magic),
533 (gst_registry_binary_load_pad_template),
534 (gst_registry_binary_load_feature),
535 (gst_registry_binary_load_plugin),
536 (gst_registry_binary_read_cache):
537 comment typo and formatting
539 * gst/gstutils.c: (gst_element_state_get_name),
540 (gst_element_state_change_return_get_name):
541 remove obsolete breaks
543 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
544 add FIXME 0.11 and remove cpp comment
546 2007-01-29 Edward Hervey <edward@fluendo.com>
548 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
549 Fix print statement in an even more portable way.
551 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
553 * docs/gst/gstreamer-sections.txt:
555 API: add GST_ROUND_DOWN_* macros (#401781).
557 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
559 * docs/gst/gstreamer.types.in:
560 * gst/gstregistry.c: (gst_registry_class_init):
561 Document registry signals and make gtk-doc pick them up (#401381).
563 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
565 * docs/pwg/building-testapp.xml:
566 Add some audioconverts and audioresample to the pipeline, and some
567 more comments and error handling.
569 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
571 * docs/manual/manual.xml:
575 2007-01-26 Wim Taymans <wim@fluendo.com>
577 * gst/gstcaps.c: (gst_static_caps_get):
580 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
582 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
584 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
585 If not using mmap'ed files try to seek to the end instead of the
586 start to determine whether we can seek at all. This fixes the case
587 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
588 seeks for everything afterwards fail. Fixes #400656
590 2007-01-25 Wim Taymans <wim@fluendo.com>
592 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
593 Add some refcount debugging.
594 Make gst_static_caps_get threadsafe, which is needed when autoplugging
595 in multiple streaming threads.
597 2007-01-25 Wim Taymans <wim@fluendo.com>
599 Patch by: David Schleef <ds at schleef dot org>
601 * docs/libs/gstreamer-libs-sections.txt:
602 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
603 * libs/gst/base/gstadapter.h:
604 API: gst_adapter_copy() that can reduce the amount of memcpy when
605 getting data from the adapter. Fixes #388201.
607 2007-01-25 Edward Hervey <edward@fluendo.com>
609 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
610 In print statements, "%x" is for guint. Fixes build on macosx.
612 2007-01-24 Edward Hervey <edward@fluendo.com>
614 * plugins/elements/gstmultiqueue.c:
615 (gst_multi_queue_loop):
617 (single_queue_overrun_cb), (single_queue_underrun_cb),
618 (single_queue_check_full), (gst_single_queue_new):
619 Implement single queue growth system.
620 This uses the extra-size properties, and will grow single queues by
621 that much if one goes full whereas there are others empty. This is
622 called extra-mode in the code.
623 When a single queue's levels go back below the initial max-size
624 limits, it is no longer in extra-mode. This is to ensure we don't
625 consume too much memory.
628 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
630 * gst/gst.c: (gst_init_get_option_group):
631 Make warning about late g_thread_init() calls a bit more explicit,
632 so that it's more obvious to application developers what they need
633 to do if a user files a bug against their application.
635 2007-01-22 Edward Hervey <edward@fluendo.com>
637 * plugins/elements/gstmultiqueue.c:
638 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
639 Remove previous hack of unsetting the flushing flag for the source pad
640 instead of activating it. Instead, fix the source pad activate function
641 so that it no longer depends on having a parent set or not.
643 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
645 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
647 * docs/manual/basics-bus.xml:
648 Fix example code, gst_element_unref() doesn't exist any longer.
650 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
652 Patch by: Mark Nauwelaerts <manauw at skynet be>
655 Fix two docs typoes (#399094).
657 2007-01-19 Edward Hervey <edward@fluendo.com>
659 * docs/faq/gst-uninstalled:
660 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
661 depending on libgstbaseutils can work in uninstalled environment.
663 2007-01-18 Stefan Kost <ensonic@users.sf.net>
666 * gst/gsttagsetter.c:
667 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
668 statement for new tag.
670 2007-01-17 Edward Hervey <edward@fluendo.com>
672 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
673 When dynamically creating single queues, activate sinkpad before adding
675 We should be doing the same thing for the source pad, but we can't
676 since it would call a method which needs the parent to be set in order
677 to work propertly. Instead of activating the source pad, we just unset
678 the flushing flag, which is the minimal requirement for adding a pad
679 to an element in a state greater than READY.
681 2007-01-17 Edward Hervey <edward@fluendo.com>
683 * docs/faq/gst-uninstalled:
684 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
687 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
689 * tests/check/gst/gstabi.c:
690 * tests/check/gst/struct_hppa.h:
691 * tests/check/libs/libsabi.c:
692 * tests/check/libs/struct_hppa.h:
693 Add ABI structs for HPPA (see #393796).
695 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
697 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
698 Actually write ABI structs to the file specified in the GST_ABI
699 environment variable, as the message we print claims we would.
701 2007-01-15 Stefan Kost <ensonic@users.sf.net>
703 * tests/check/gst/gsttask.c:
706 2007-01-15 Stefan Kost <ensonic@users.sf.net>
708 * gst/gsttaglist.c: (_gst_tag_initialize):
709 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
710 previous two entries.
712 2007-01-15 Stefan Kost <ensonic@users.sf.net>
714 * docs/gst/gstreamer-sections.txt:
715 * gst/gsttaglist.c: (_gst_tag_initialize):
717 Add tag support for beat-per-minute.
719 2007-01-15 Stefan Kost <ensonic@users.sf.net>
721 * gst/gstregistrybinary.c: (gst_registry_binary_write),
722 (gst_registry_binary_initialize_magic),
723 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
724 (gst_registry_binary_save_pad_template),
725 (gst_registry_binary_save_feature),
726 (gst_registry_binary_save_plugin),
727 (gst_registry_binary_write_cache),
728 (gst_registry_binary_check_magic),
729 (gst_registry_binary_load_pad_template),
730 (gst_registry_binary_load_feature),
731 (gst_registry_binary_load_plugin),
732 (gst_registry_binary_read_cache):
733 * gst/gstregistrybinary.h:
734 Use glib types, cleanup comments, impement interfaces and uri-types.
736 2007-01-13 Andy Wingo <wingo@pobox.com>
738 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
739 getrange() to return buffers with other caps, while we fix
740 demuxers and typefind, or otherwise change part-negotiation.txt.
742 2007-01-12 Andy Wingo <wingo@pobox.com>
744 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
745 Factor start/stop into this private function instead of partially
746 in activate functions and partially in the change_state function.
747 Fixes setup before the element has changed from READY->PAUSED, as
748 is the case in pull-mode pipelines.
749 (gst_base_transform_sink_activate_push)
750 (gst_base_transform_src_activate_pull): Refactor to use
751 gst_base_transform_activate().
752 (gst_base_transform_change_state): Removed, not needed any more.
754 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
755 Truncate before fixating.
757 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
758 Don't set_caps() if the result of fixating is ANY, as it's not
759 supported, and not necessary in the case of a link with no
760 template caps on either side. Fixes tests/check/libs/basesrc in
761 some pull-mode tests.
763 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
764 (gst_base_transform_init, gst_base_transform_sink_activate_push)
765 (gst_base_transform_src_activate_pull):
766 Track the activation mode.
767 (gst_base_transform_setcaps): In pull mode, when activating the
768 src pad, after activating the sink pad, activate the sink pad's
769 peer, as discussed in part-negotiation.txt.
771 * libs/gst/base/gstbasesrc.h:
772 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
773 vmethod, as in basesink.
775 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
777 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
778 mode, first proxy the setcaps to the peer pad.
779 (gst_base_sink_pad_fixate): Add a fixate function that calls the
781 (gst_base_sink_default_activate_pull): Rename from
782 gst_base_sink_activate_pull.
783 (gst_base_sink_negotiate_pull): New function, performs negotiation
784 in pull mode before calling ::activate_pull().
785 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
786 vmethod instead of the default implementation. I have no idea how
787 this worked before. Negotiate before calling activate_pull.
789 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
790 sink pads in pull mode. In addition to being correct, fixes
791 filesrc ! decodebin ! identity ! fakesink.
792 (gst_pad_get_range, gst_pad_pull_range): Don't call
793 gst_pad_set_caps() if the caps changes; instead error out with
794 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
796 2007-01-12 Andy Wingo <wingo@pobox.com>
798 * docs/design/part-negotiation.txt: Update with more policy.
800 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
802 * libs/gst/check/gstbufferstraw.h:
803 * libs/gst/check/gstcheck.h:
804 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
807 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
809 * tests/check/Makefile.am:
810 * tests/check/gst/.cvsignore:
811 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
812 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
813 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
814 (GST_START_TEST), (gst_tag_setter_suite):
815 Add minimal unit test for beforementioned GstTagSetter bug.
817 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
819 Patch by: René Stadler <mail at renestadler dot de>
821 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
822 gst_tag_list_merge() returns a new list, so it's not the best idea
823 to ingore its return value. Effectively meant that tags could only
824 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
825 Also add function guard to require a non-NULL taglist as input (has
826 always been so due to gst_tag_list_copy(), just making it explicit).
828 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
830 * docs/random/draft-missing-plugins.txt:
831 Some additions: mention new API that is supposed to be used at the
832 various stages; short blob about new gst-inspect introspection
833 option; mention potential future problem with plugins that have
834 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
836 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
838 * tools/gst-inspect.c:
839 (print_plugin_automatic_install_info_codecs),
840 (print_plugin_automatic_install_info_protocols),
841 (print_plugin_automatic_install_info), (main):
842 Add --print-plugin-auto-install-info option to gst-inspect, so we can
843 introspect plugin files and get machine-parsable output that corresponds
844 to the last bit of the missing-plugin installer string (small gotcha:
845 doesn't take into account ranks).
847 2007-01-11 Stefan Kost <ensonic@users.sf.net>
850 * docs/gst/gstreamer-sections.txt:
852 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
853 (gst_registry_lookup_locked):
855 * gst/gstregistrybinary.c: (gst_registry_binary_write),
856 (gst_registry_binary_initialize_magic),
857 (gst_registry_binary_save_string),
858 (gst_registry_binary_save_pad_template),
859 (gst_registry_binary_save_feature),
860 (gst_registry_binary_save_plugin),
861 (gst_registry_binary_write_cache),
862 (gst_registry_binary_check_magic),
863 (gst_registry_binary_load_pad_template),
864 (gst_registry_binary_load_feature),
865 (gst_registry_binary_load_plugin),
866 (gst_registry_binary_read_cache):
867 * gst/gstregistrybinary.h:
868 * gst/gstregistryxml.c: (load_feature),
869 (gst_registry_xml_read_cache):
870 commit binary registry (disabled by default, see #359653)
872 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
874 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
875 Fix 'make check' too.
877 2007-01-10 Andy Wingo <wingo@pobox.com>
879 * docs/design/part-negotiation.txt: Fix a typo, add a couple
882 * docs/design/part-negotiation.txt: Update with, um, one way that
883 pull-mode negotiation might work?
886 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
887 that the pad must be a src pad; makes sense to call it the other
888 way in pull mode, and the logic is symmetric anyway.
890 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
892 * plugins/elements/gstfilesink.c:
893 Include <stdio.h> for fseeko().
895 2007-01-10 Wim Taymans <wim@fluendo.com>
899 Reserve LATENCY event.
901 2007-01-09 Wim Taymans <wim@fluendo.com>
903 * docs/design/draft-latency.txt:
906 2007-01-09 Wim Taymans <wim@fluendo.com>
908 * docs/design/draft-latency.txt:
912 * gst/gststructure.c:
916 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
918 * tests/check/.cvsignore:
919 Ignore test-registry.xml as well.
921 2007-01-09 Wim Taymans <wim@fluendo.com>
923 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
924 unref data at the end when we are done with the pad.
926 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
928 * docs/gst/gstreamer-sections.txt:
929 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
930 (init_post), (gst_deinit), (gst_update_registry):
932 API: add gst_update_registry() (#391296).
934 * tests/check/Makefile.am:
935 * tests/check/gst/gstregistry.c:
936 * tests/check/gst/.cvsignore:
937 Simple unit test for the above.
939 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
941 * gst/gstregistry.c: (gst_registry_scan_path_level):
942 Plugin extension on HP-UX is .sl, add that to the list of approved
943 plugin extensions (see #393796).
945 * tests/check/gst/gstpad.c: (GST_START_TEST):
946 ulong => gulong. Fixes compilation with HP-UX compiler.
948 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
949 Fix compilation if valgrind headers are not available.
951 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
953 * win32/common/libgstreamer.def:
954 Add new exported function.
955 * win32/vs6/libgstbase.dsp:
956 Add gstdataqueue.c to the build.
957 * win32/vs6/libgstcoreelements.dsp:
958 Add gstmultiqueue.c to the build.
960 2007-01-06 Andy Wingo <wingo@pobox.com>
962 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
963 activate_pull(), providing for a way to specialize the process of
964 spawning a thread to pull on the sink pad. There is a default
967 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
968 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
969 (gst_base_sink_init): Renamed pad activation functions (inserting
970 "_pad" in their names). Refactor to use the new activate_pull
971 vmethod, as appropriate.
972 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
973 default activate_pull function to start a task pulling from the
976 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
977 on the pads if necessary, as in push()/chain(). Update docs.
978 Shouldn't affect existing pull() usage as it is currently only
979 being used on buffers without caps.
981 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
983 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
985 Call g_thread_init() first thing in gst_init() / gst_check_init().
986 When initialisation is done via gst_init_get_option_group() and
987 GOption parsing, issue a warning if the GLib thread system has not
988 been initialised yet by the time gst_init_get_option_group() is
989 called, as it's quite likely other GLib functions such as
990 g_option_context_new() have been called already then, and
991 g_thread_init() must be called before any other GLib function. The
992 application in question must be fixed in that case, since memory
993 corruption might happen otherwise.
994 We issue the warning because even if the GLib folks decide to work
995 around the problem on their end in future, this is still an issue
996 with all GLib versions >= 2.10.0, so we should warn until we depend
997 on a GLib version we know to be safe.
998 Update documentation as well.
1001 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1003 * tools/gst-inspect.c: (main):
1004 * tools/gst-launch.c: (main):
1005 * tools/gst-typefind.c: (main):
1006 * tools/gst-xmlinspect.c: (main):
1007 Call g_thread_init() really really early, before any other GLib
1008 function (see #342564 and recent discussion on gtk-devel-list).
1010 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1012 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1014 * gst/gst_private.h:
1015 * gst/gstconfig.h.in:
1017 On win32, all the __declspec stuff for symbol exporting is
1018 apparently only needed with MSVC, but doesn't work with MingW.
1019 Fixes compilation with MingW and #391909.
1021 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1023 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1024 Change some GST_ERROR_OBJECT that aren't really errors to
1025 GST_WARNING_OBJECT in order to reduce terminal spam.
1027 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1029 * tests/check/Makefile.am:
1030 disable test again, as there seem to be still race problems
1032 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1034 * tests/check/Makefile.am:
1035 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1036 (GST_START_TEST), (queue_suite):
1037 enable queue test again, add tests for the leaky behaviour
1039 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1042 * tests/examples/Makefile.am:
1043 Compile adapter test/example only if the required headers are
1044 available (fixes #391915).
1046 2007-01-01 David Schleef <ds@schleef.org>
1049 Restore the previous signal handler for SIGSEGV instead of
1050 setting to default, since we may have stolen it away from
1051 someone. (i.e., Mono)
1053 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1055 * docs/random/draft-missing-plugins.txt:
1056 Some small additions and clarifications.
1058 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1060 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1061 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1062 since that can lead to random memory corruptions and crashes
1063 (may or may not be related to #383244, #386711, and #386711).
1065 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1067 * tests/check/.cvsignore:
1068 * tests/check/Makefile.am:
1069 sync .cvsignome and CLEANFILES
1071 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1073 * tests/check/Makefile.am:
1076 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1078 * docs/design/part-states.txt:
1079 two tiny additional comments
1081 * gst/gststructure.c:
1084 * tests/check/Makefile.am:
1085 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1087 disable test for now, unless it gets fixed
1089 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1091 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1093 fix race in underrun test
1095 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1097 * tests/check/elements/.cvsignore:
1100 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1102 try to narrow test failure
1104 2006-12-21 David Schleef <ds@schleef.org>
1106 * plugins/elements/gstfakesrc.c:
1107 Use g_random_int_range(), since it produces better random
1108 numbers in a range than almost-correct floating point code.
1110 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1112 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1113 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1114 (gst_check_teardown_sink_pad):
1115 do not automatically (de)activate pads
1117 * tests/check/Makefile.am:
1118 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1119 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1120 add new, yet simple tests for queue
1122 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1123 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1124 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1126 * tests/check/elements/identity.c: (cleanup_identity):
1127 consistent pad (de)activation
1129 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1131 Patch by: Sebastian Dröge <slomo ubuntu com>
1133 * libs/gst/base/gstcollectpads.c:
1134 Fix two doc typos (#387866).
1136 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1138 * docs/manual/advanced-dparams.xml:
1139 Fix typo (g_object_control_properties() doesn't exist).
1141 2006-12-19 Edward Hervey <edward@fluendo.com>
1143 * gst/gstsegment.c: (gst_segment_set_seek):
1144 Fine tune the cases where the segment start/stop values are really
1146 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1147 Add tests for the return values of gst_segment_set_seek().
1149 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1154 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1156 Fix incorrect documentation and flesh it out a bit more.
1157 Set default values for the max properties on the GParamSpec as well,
1158 so it shows up correctly in gst-inspect.
1160 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1162 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1163 Correct docs of queue, add more detail and crosslink it more.
1165 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1167 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1168 Print additional debug info when the stream isn't perfectly
1169 timestamped; don't try to use invalid durations.
1171 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1173 * docs/design/Makefile.am:
1174 Dist new design docs.
1176 2006-12-16 Wim Taymans <wim@fluendo.com>
1178 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1180 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1181 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1182 (gst_collect_pads_stop), (gst_collect_pads_event),
1183 (gst_collect_pads_chain):
1184 * libs/gst/base/gstcollectpads.h:
1185 Add refcounting to the collectpads data so we can track when it's safe
1186 to free the data. Fixes #383382.
1188 2006-12-15 Wim Taymans <wim@fluendo.com>
1190 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1191 (gst_collect_pads_remove_pad):
1192 Automatically activate/deactivate pads when they are added to a
1193 started/stoped collectpads.
1195 2006-12-15 Wim Taymans <wim@fluendo.com>
1197 * gst/gstelement.c: (gst_element_add_pad):
1198 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1199 * gst/gstpad.c: (gst_pad_init):
1200 Set pads to FLUSHING when they are created. Check, warn and fix when a
1201 demuxer adds an inactive pad to itself when running. Fixes #339326.
1203 2006-12-15 Wim Taymans <wim@fluendo.com>
1205 * gst/gstelement.c: (gst_element_class_init),
1206 (gst_element_default_send_event), (gst_element_send_event),
1207 (gst_element_default_query), (gst_element_query):
1208 Expose default element send_event and query handling as vmethods that
1209 subclasses can chain up to.
1211 2006-12-15 Wim Taymans <wim@fluendo.com>
1213 * gst/gstelement.c: (gst_element_set_state_func):
1214 Small documentation fixes.
1216 2006-12-15 Wim Taymans <wim@fluendo.com>
1218 * docs/design/draft-latency.txt:
1219 Checked in draft for handling latency in pipelines.
1221 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
1225 * gstreamer.spec.in:
1228 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
1230 * gst/gst.c: (init_pre), (init_post):
1231 init_pre() and init_post() might be called via our GOptionGroup or
1232 from gst_init(), and we should skip both of them if we've already
1233 been initialised, otherwise we will init some things twice or add
1234 two default log functions.
1236 2006-12-13 Edward Hervey <edward@fluendo.com>
1238 * docs/manual/basics-bus.xml:
1239 No, gst_main_loop does not exist. Its g_main_loop.
1240 Discovered by somebody who abused the copy-paste technique of coding :)
1242 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
1244 * gst/gstghostpad.c:
1245 Log ghostpad debug stuff to the GST_PADS category as well rather
1246 than just to the default category.
1248 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
1251 * gst/gst.c: (init_pre):
1252 Add some basic system details such as OS and architecture
1253 to the debug output if possible, courtesy of uname().
1255 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
1257 * docs/gst/running.xml:
1258 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1259 environment variables.
1261 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1263 * tests/check/gst/gstbin.c: (GST_START_TEST):
1264 It is acceptable to have a refcount of 2 or 3 at this point in the
1265 test, because the pipeline might be just posting its state_change
1266 message. The next line then waits for that message to appear using
1267 bus_poll, so that should be fine too.
1269 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1271 * gst/gst.c: (ensure_current_registry_forking):
1272 Ignore EINTR when reading from the child registry pipe.
1273 Explicitly ignore the return value from close, since it makes no
1276 * gst/gstminiobject.c: (gst_mini_object_ref),
1277 (gst_mini_object_unref):
1278 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1280 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1281 When removing cached plugins, remove their features too, so they're
1282 not visible after they've disappeared.
1284 * gst/gstutils.c: (prepare_link_maybe_ghosting):
1285 In the unlikely case that we are linking pads with no parents, don't
1286 crash trying to get the non-existent parent bin.
1288 * gst/parse/grammar.y:
1289 Output debug in the PIPELINE category
1291 2005-03-08 Wim Taymans <wim@fluendo.com>
1293 Patch by: René Stadler <mail at renestadler dot de>
1295 * gst/gstclock.c: (gst_clock_new_periodic_id):
1296 Reject invalid clock times for interval of periodic ids.
1299 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1301 * gst/gstelementfactory.c: (gst_element_factory_create):
1302 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1303 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1304 * tools/gst-inspect.c: (print_element_info):
1305 Fix refcounting of gst_plugin_feature_load to match the docs.
1308 2006-12-07 Wim Taymans <wim@fluendo.com>
1310 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1311 (gst_base_sink_get_position):
1312 Improve debugging of events.
1314 2006-12-07 Wim Taymans <wim@fluendo.com>
1316 Patch by: René Stadler <mail at renestadler dot de>
1318 * gst/gstclock.c: (gst_clock_id_wait):
1319 Make period ids add the interval to the origial requested time instead
1320 of the possibly updated time which can be wrong when there are multiple
1321 waiters for the same id. Fixes #382592.
1323 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1324 (gst_system_clock_id_wait_jitter_unlocked),
1325 (gst_system_clock_id_wait_jitter):
1326 Fix restart in the async notify thread when an async entry is added to
1327 the front of the list. Fixes #381492.
1329 * tests/check/gst/gstsystemclock.c: (store_callback),
1330 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1331 Added test for multiple async waits.
1332 Added test for async wait order.
1334 2006-12-07 Wim Taymans <wim@fluendo.com>
1336 * gst/gstbin.c: (gst_bin_query):
1337 Add some more docs about the POSITION query.
1339 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1342 Bump version nano - back to CVS.
1344 === release 0.10.11 ===
1346 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
1349 releasing 0.10.11, "Love never runs on time"
1351 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
1353 * win32/common/libgstbase.def:
1354 * win32/common/libgstreamer.def:
1355 * win32/vs8/libgstbase.vcproj:
1356 * win32/vs8/libgstcoreelements.vcproj:
1357 * win32/vs8/libgstreamer.vcproj:
1358 Fix compilation on win32 under VS8
1359 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1360 Partially fixes #381175
1362 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1364 * gst/gstvalue.c: (gst_value_compare_fraction):
1365 If someone is foolish enough to compare 2 fractions with denominator =
1366 0, return UNORDERED rather than aborting.
1368 2006-11-28 Edward Hervey <edward@fluendo.com>
1370 * libs/gst/base/Makefile.am:
1371 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1372 (gst_data_queue_base_init), (gst_data_queue_class_init),
1373 (gst_data_queue_init), (gst_data_queue_new),
1374 (gst_data_queue_cleanup), (gst_data_queue_finalize),
1375 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1376 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1377 (gst_data_queue_is_empty), (gst_data_queue_is_full),
1378 (gst_data_queue_set_flushing), (gst_data_queue_push),
1379 (gst_data_queue_pop), (gst_data_queue_drop_head),
1380 (gst_data_queue_set_property), (gst_data_queue_get_property):
1381 * libs/gst/base/gstdataqueue.h:
1382 New GstDataQueue object for threadsafe queueing. Most useful for
1383 elements that need some queueing functionnality.
1384 * docs/libs/gstreamer-libs-docs.sgml:
1385 * docs/libs/gstreamer-libs-sections.txt:
1386 Insert documentation for GstDataQueue
1387 * plugins/elements/Makefile.am:
1388 * plugins/elements/gstelements.c:
1389 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1390 (gst_multi_queue_class_init), (gst_multi_queue_init),
1391 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1392 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
1393 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
1394 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1395 (gst_multi_queue_loop), (gst_multi_queue_chain),
1396 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1397 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
1398 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
1399 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
1400 (wake_up_next_non_linked), (compute_next_non_linked),
1401 (single_queue_overrun_cb), (single_queue_underrun_cb),
1402 (single_queue_check_full), (gst_single_queue_new):
1403 * plugins/elements/gstmultiqueue.h:
1404 New multiqueue element, using GstDataQueue. Used for queuing multiple
1406 Closes #344639 and #347785
1408 2006-11-22 Stefan Kost <ensonic@users.sf.net>
1410 * docs/pwg/advanced-types.xml:
1411 add more missing type details
1413 * tools/gst-run.c: (main):
1414 remove unused variable
1416 2006-11-21 Stefan Kost <ensonic@users.sf.net>
1418 * docs/libs/Makefile.am:
1419 * docs/libs/gstreamer-libs.types:
1420 add types of base classes to enable gobject specific stuff in the docs
1422 * docs/random/ensonic/embedded.txt:
1423 more ideas about isolating platform specific things
1425 2006-11-20 Wim Taymans <wim@fluendo.com>
1427 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
1429 * libs/gst/check/gstcheck.h:
1430 Fix compilation and running against 0.9.4. Fixes #377332.
1432 2006-11-20 Wim Taymans <wim@fluendo.com>
1434 * gst/gstsegment.c: (gst_segment_set_seek),
1435 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1436 (gst_segment_to_running_time):
1437 Fix boundary checking in to_running_time() and to_stream_time().
1440 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1441 stream and running time can now be calculated for the complete
1444 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
1446 * gst/gstpad.c: (gst_pad_push_event):
1447 Can't access event structure after giving away ownership of
1450 2006-11-15 Stefan Kost <ensonic@users.sf.net>
1452 * docs/random/ensonic/embedded.txt:
1453 * docs/random/ensonic/profiling.txt:
1454 * docs/random/ensonic/receipies.txt:
1457 2006-11-13 Wim Taymans <wim@fluendo.com>
1459 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1462 Fix documentation for gst_pad_dispatcher. Fixes #374475.
1464 2006-11-13 Wim Taymans <wim@fluendo.com>
1466 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
1468 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1469 Store new length in segment duration so we don't keep on calling the
1470 potentially expensize get_size() call. Fixes #370865.
1472 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
1474 Patch by: Sergey Scobich <sergey.scobich at gmail com>
1476 * win32/common/libgstreamer.def:
1477 Add two missing symbols (#366492).
1479 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
1481 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
1482 (gst_adapter_take_buffer):
1483 Fix format string to use all its arguments.
1484 Remove useless >= check on a guint
1486 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1488 * tests/examples/adapter/.cvsignore:
1489 Ignore build file as commanded by the build-bot
1491 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1493 * tests/examples/adapter/Makefile.am:
1494 * tests/examples/adapter/adapter_test.c: (run_test_take),
1495 (run_test_take_buffer), (run_tests), (main):
1497 Add new files from the previous commit
1499 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1503 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
1504 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
1505 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
1506 * libs/gst/base/gstadapter.h:
1507 * tests/check/libs/adapter.c: (create_and_fill_adapter),
1508 (GST_START_TEST), (gst_adapter_suite):
1509 * tests/examples/Makefile.am:
1510 Do some optimisation work in GstAdapter to avoid copies in more cases.
1511 It could still do slightly better by merging buffers when
1512 gst_buffer_is_span_fast is true, but is already faster.
1514 Also, avoid traversing a single-linked list to append each incoming
1515 buffer inside the adapter.
1517 Add simple test app that times the adapter behaviour in different
1518 situations, and extend the unit test to check that bytes enter and
1519 exit the adapter in their original order.
1521 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
1523 * docs/random/draft-missing-plugins.txt:
1524 Update: use element message instead of adding a new message
1525 type to the core; don't provide GStreamer API to initiate the
1526 plugin download, just provide API to compose the strings needed
1527 and let an external libgimmestuff handle the rest.
1529 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
1531 * tools/gst-inspect.c: (print_element_properties_info):
1532 Print a string instead of 'unknown type' for GValueArray properties
1534 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
1536 * docs/random/draft-missing-plugins.txt:
1539 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
1541 * tests/examples/typefind/typefind.c: (type_found), (main):
1542 Make typefind element example work again (#371894); add a
1545 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
1547 * docs/random/draft-missing-plugins.txt:
1548 Commit initial draft about how to deal with missing plugins,
1549 needs work (API too).
1551 2006-11-07 Stefan Kost <ensonic@users.sf.net>
1553 * docs/pwg/advanced-types.xml:
1554 documents the new caps elements (see #363118)
1556 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
1558 * gst/gstplugin.c: (gst_plugin_load_file):
1559 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
1560 (gst_file_src_map_region), (gst_file_src_start):
1561 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
1562 (gst_file_index_commit):
1563 Use g_strerror() instead of strerror() - we want UTF-8.
1565 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
1567 Patch by: Peter Kjellerstedt <pkj at axis com>
1569 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1570 Another printf fix (#371493).
1572 2006-11-06 Stefan Kost <ensonic@users.sf.net>
1574 * tests/check/gst/gsttag.c:
1575 relicence (okay with author=company)
1577 2006-11-06 Stefan Kost <ensonic@users.sf.net>
1579 * gst/gstpad.c: (gst_pad_event_default_dispatch),
1580 (gst_pad_push_event):
1581 Enhance debug and improve docs
1586 2006-11-06 Stefan Kost <ensonic@users.sf.net>
1588 * docs/random/ensonic/distributed.txt:
1589 * docs/random/ensonic/profiling.txt:
1592 2006-11-06 Stefan Kost <ensonic@users.sf.net>
1594 * docs/gst/gstreamer-sections.txt:
1595 add new API and fix the build
1597 * gst/gstbin.c: (gst_bin_recalc_state):
1598 * gst/gstelement.c: (gst_element_message_full),
1599 (gst_element_get_state_func), (gst_element_set_state_func):
1600 use new API and improve logging
1602 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1604 API: add function to get StateChangereturn names to improve logs
1606 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
1608 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1609 I'm considering shooting the next person to put strerror stuff
1610 in the translateable part of the message.
1612 2006-11-03 Wim Taymans <wim@fluendo.com>
1614 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1615 Get the type and printf conversion specifiers right.
1617 2006-11-03 Wim Taymans <wim@fluendo.com>
1619 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1621 * gst/gstpad.c: (gst_pad_init), (pre_activate),
1622 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
1623 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
1624 Some small cleanups. Improve debugging.
1626 Signal all waiting threads with a broadcast instead of just one.
1629 2006-11-03 Wim Taymans <wim@fluendo.com>
1631 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
1632 (gst_fd_src_create):
1634 Only update fd when it's different from the old.
1636 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
1638 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
1639 Printf fixes for PPC/OSX, take two (#369366).
1641 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
1643 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
1645 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1646 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1647 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1648 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
1649 don't cast to long long for portability reasons, but use
1650 GLib's types instead.
1652 2006-10-30 Michael Smith <msmith@fluendo.com>
1654 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1655 Get the arguments to lseek() the right way around.
1658 2006-10-30 Wim Taymans <wim@fluendo.com>
1660 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
1663 _declspec should be __declspec (two underscores, not one). Fixes 366572.
1665 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
1667 Patch by: Kjartan Maraas <kmaraas at gnome org>
1669 * docs/design/part-MT-refcounting.txt:
1670 * docs/random/wtay/capsnego2-docs:
1673 Typo fixes (#366212).
1675 2006-10-28 Wim Taymans <wim@fluendo.com>
1677 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1680 * win32/common/libgstbase.def:
1681 * win32/common/libgstreamer.def:
1682 * win32/vs8/libgstbase.vcproj:
1683 * win32/vs8/libgstcontroller.vcproj:
1684 Add needed entries in .def files.
1686 Rearrange def files in vs8 solutions. Fixes #366286.
1688 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
1690 * win32/common/gstconfig.h:
1691 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
1692 hand-made win32 gstconfig.h. Fixes #366321.
1694 2006-10-27 Wim Taymans <wim@fluendo.com>
1696 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
1697 (gst_ghost_pad_new_full):
1698 Make acceptcaps return TRUE when we don't have a target, just like
1701 2006-10-27 Wim Taymans <wim@fluendo.com>
1703 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1704 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
1706 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
1708 * gst/gststructure.c: (gst_structure_id_set_value):
1709 If someone tries to set a non-UTF8 string field on a structure,
1710 don't just print a warning, but also ignore the request and do
1711 not change/add that field to the structure.
1713 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
1716 2006-10-25 David Schleef <ds@schleef.org>
1719 g_hash_table_insert() needs a cast to a non-const pointer duh.
1721 2006-10-25 David Schleef <ds@schleef.org>
1725 Change name parameter of _gst_debug_register_funcptr to const
1726 to reflect the constness of its use in the function as well
1727 as to quiet a gcc warning.
1729 2006-10-25 Edward Hervey <edward@fluendo.com>
1731 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1732 Don't push the buffer if it's empty.
1735 2006-10-24 Wim Taymans <wim@fluendo.com>
1740 * libs/gst/base/gstbasetransform.c:
1741 (gst_base_transform_sink_eventfunc):
1742 Debug segment values *after* updating them as this is more
1745 2006-10-23 Wim Taymans <wim@fluendo.com>
1747 * docs/design/part-events.txt:
1750 * docs/design/part-block.txt:
1751 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
1752 (gst_pad_push_event):
1753 Revert BLOCKING patch, it tries to be smart without really having a
1754 clear idea what or how. So, now we discard all FLUSHING events again on
1755 a blocking pad. Should fix gnonlin again.
1757 2006-10-23 Wim Taymans <wim@fluendo.com>
1759 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1761 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1762 (gst_base_src_start), (gst_base_src_activate_push):
1763 Make sure size is always initialized. Fixes #364388.
1765 2006-10-20 Stefan Kost <ensonic@users.sf.net>
1767 * docs/random/ensonic/distributed.txt:
1768 add some ideas about doing distributed processing
1770 * docs/random/ensonic/profiling.txt:
1771 get_rusage look promising
1773 2006-10-18 Stefan Kost <ensonic@users.sf.net>
1775 * docs/manual/basics-helloworld.xml:
1776 Add a cast in example to fix compile warning
1778 2006-10-18 Wim Taymans <wim@fluendo.com>
1780 * gst/gstsegment.c: (gst_segment_set_last_stop),
1781 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
1782 Relax arg checking again, -1 is allowed.
1784 2006-10-18 Wim Taymans <wim@fluendo.com>
1786 * gst/gstsegment.c: (gst_segment_set_last_stop),
1787 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
1788 _set_last_stop() must be with a value != -1
1789 A _TYPE_SET to -1 means seek to 0.
1790 Calc last_stop correctly for negative rates.
1791 Make sure we work with positive durations when updating a segment.
1793 2006-10-18 Wim Taymans <wim@fluendo.com>
1795 * docs/design/part-live-source.txt:
1799 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
1802 Add an explicit cast to GstBuffer** to keep old code that added an
1803 explicit cast to GstMiniObject** for gst_mini_object_replace()
1804 compiling without warning.
1806 2006-10-18 Stefan Kost <ensonic@users.sf.net>
1808 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
1809 check for validity of dates
1811 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
1813 * docs/gst/gstreamer-sections.txt:
1814 Forgot this one, makes gtk-doc shut up.
1816 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
1818 Patch by: Peter Kjellerstedt <pkj at axis com>
1821 Don't define xmlNodePtr to gpointer if the core was built with
1822 --disable-loadsave and --disable-registry, this will break
1823 applications that want to use libxml2 but are buildling against a
1824 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
1825 instead so we don't have to mess with the libxml2 namespace
1828 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
1831 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
1832 type-punned pointer warnings.
1834 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
1837 Add casts to the correct return type to state <=> state transition
1840 2006-10-16 Stefan Kost <ensonic@users.sf.net>
1842 * docs/design/part-live-source.txt:
1843 describe howto handle latency
1845 * docs/random/ensonic/profiling.txt:
1848 * tools/gst-plot-timeline.py:
1849 fix log parsing for solaris, remove unused function
1851 2006-10-16 Wim Taymans <wim@fluendo.com>
1853 * docs/design/part-trickmodes.txt:
1855 Update some docs regarding reverse playback.
1857 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
1859 Patch by: Marcus Granado <mrc dot gran at gmail com>
1861 * win32/vs8/grammar.vcproj:
1862 Error out with a warning if glib-genmarshal.exe is not in path,
1863 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
1865 2006-10-13 Wim Taymans <wim@fluendo.com>
1867 * gst/gstsegment.c: (gst_segment_set_seek):
1868 When seeking to stop -1, set last_stop (current position) to the
1869 duration of the segment.
1871 2006-10-13 Wim Taymans <wim@fluendo.com>
1874 Clarify _NO_PREROLL a bit more.
1879 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
1880 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
1881 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
1882 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
1883 due to wrong locking order. Fixes #361769.
1884 Remove some redundant/misplaced checks in pad_block.
1886 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1887 For negative rates, count backwards from the duration.
1889 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
1891 * gst/gsterror.c: (_gst_library_errors_init):
1892 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
1893 up with something better).
1895 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
1897 * win32/vs6/libgstreamer.dsp:
1898 * win32/vs7/libgstreamer.vcproj:
1899 * win32/vs8/libgstreamer.vcproj:
1900 Don't reference glib-compat.c which is currently not used and not
1901 disted; add gstquark.c which was recently added. Fixes #361730.
1903 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
1905 * win32/common/libgstbase.def:
1906 * win32/common/libgstcontroller.def:
1907 * win32/common/libgstreamer.def:
1908 Add gst_caps_merge() and a bunch of other recently-added functions.
1911 2006-10-11 Wim Taymans <wim@fluendo.com>
1913 * docs/plugins/gstreamer-plugins.args:
1914 * docs/plugins/inspect/plugin-coreelements.xml:
1915 * docs/plugins/inspect/plugin-coreindexers.xml:
1916 Update element args.
1918 * gst/gstsystemclock.c:
1919 Small comment update.
1921 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
1922 (gst_tee_request_new_pad), (gst_tee_release_pad),
1923 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
1924 (gst_tee_sink_activate_pull):
1925 * plugins/elements/gsttee.h:
1927 Add default property defines.
1928 Implement release pad function.
1929 Give properties better blubs etc.
1930 Activate pads before adding them to a running tee.
1931 Do simple buffer_alloc on the first requested pad.
1932 Post error when activation fails.
1934 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
1936 * gst/gst.c: (ensure_current_registry_forking):
1937 Check return value of write() to make compiler happy.
1939 2006-10-11 Wim Taymans <wim@fluendo.com>
1941 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1943 * plugins/elements/gstqueue.c: (gst_queue_chain):
1944 Recheck queue filledness after signalling the overrun when we're about
1945 to leak downstream because we released the lock when emitting the signal
1946 and the queue could be empty again. Fixes #352345.
1948 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
1950 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1951 Fix refcounting here too, just like we did for _new_valist() a few
1952 days ago (#357180) (thanks to René Stadler). Also remove all those
1953 'Since: 0.9' from the gtk-doc blobs.
1955 * tests/check/libs/controller.c: (controller_refcount_new_list),
1956 (gst_controller_suite):
1957 Unit test for the above.
1959 2006-10-10 Wim Taymans <wim@fluendo.com>
1961 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
1963 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1964 (gst_pad_save_thyself):
1966 Write pad direction in XML output. Fixes #345496.
1968 2006-10-10 Wim Taymans <wim@fluendo.com>
1970 Patch by: René Stadler <mail at renestadler dot de>
1972 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1973 (gst_controller_new_list), (_gst_controller_dispose),
1974 (_gst_controller_finalize), (_gst_controller_class_init):
1975 Take ref to controlled object so that it cannot disappear.
1978 2006-10-10 Wim Taymans <wim@fluendo.com>
1980 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1981 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1982 (gst_check_teardown_sink_pad):
1983 Activate/deactivate pads in setup/teardown respectively.
1985 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1987 Patch by: Josep Torre Valles <josep@fluendo.com>
1990 Cast values when making gstenumtypes.h. This pacifies Forte
1991 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
1994 2006-10-09 Wim Taymans <wim@fluendo.com>
1996 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
1997 Rename some more @cur to @start to fix docs.
1999 * gst/gstsegment.c: (gst_segment_set_seek):
2001 time and start must always stay in sync as defined in design doc.
2003 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2004 Rename param to fix docs.
2006 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2007 Check that start and time are in sync.
2009 * tests/check/pipelines/parse-launch.c:
2010 (gst_parse_test_element_change_state):
2011 Activate pad before adding to the element.
2013 2006-10-09 Wim Taymans <wim@fluendo.com>
2015 * docs/design/part-qos.txt:
2020 Update seek event docs regarding negative rates.
2021 Rename @cur to @start.
2023 * gst/gstsegment.c: (gst_segment_set_seek):
2025 Update set_seek docs regarding negative rates.
2026 Correctly update last_stop to @stop when dealing with negative
2028 Rename @cur to @start.
2030 * tests/check/gst/gstpad.c: (GST_START_TEST):
2031 Activate pads before trying to use them.
2033 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2034 (gst_segment_suite):
2035 Add simple check for segments and negative rates.
2037 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2039 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2041 * docs/gst/gstreamer-sections.txt:
2042 API: add gst_tag_list_is_empty() (#360467).
2044 * tests/check/gst/gsttag.c: (GST_START_TEST):
2047 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2050 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2051 a value that doesn't fit on enumeration.
2053 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2055 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2056 Remove local debugging system and use Gstreamer's instead.
2058 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2060 Patch by: Josep Torre Valles <josep@fluendo.com>
2062 * common/m4/gst-error.m4:
2063 Disable warning of statement not reached on Forte.
2065 Fix warning on Forte (value doesn't fit on enumeration).
2066 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2067 Fix warning on Forte (value doesn't fit on enumeration).
2068 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2069 DEBUG macro says it takes minimum of 2 args and so Forte
2070 complains about the use with just 1 arg.
2071 * plugins/elements/gstfdsink.c:
2072 * plugins/elements/gstfdsrc.c:
2073 * plugins/elements/gstfilesink.c:
2074 * plugins/elements/gstfilesrc.c:
2075 Use correct return type for the uri handler implementations.
2077 All these fix warnings in Forte. Fixes bug #360860.
2079 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2082 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2083 format string, so don't use G_GNUC_PRINTF for those versions.
2085 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2087 * gst/gsttaglist.c: (gst_is_tag_list):
2089 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2091 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2092 Small test for the above.
2094 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2097 Less tabs, more spaces.
2099 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2102 Those two function declarations do actually belong there, revert
2103 commit from yesterday that turned them intro macros.
2105 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2107 Patch by: Josep Torre Valles <josep@fluendo.com>
2109 * gst/gst.c: (gst_init_get_option_group):
2110 Fix empty declaration and type mismatch.
2111 * gst/gstbin.c: (gst_bin_change_state_func):
2113 * gst/gstelement.c: (gst_element_continue_state),
2114 (gst_element_set_state_func), (gst_element_change_state),
2115 (gst_element_change_state_func):
2116 Fix type mismatches.
2117 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2118 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2119 Cast as appropriate.
2120 * gst/gstobject.c: (gst_class_signal_connect):
2121 Cast as appropriate. The function pointer parameter really
2122 has the wrong type but would break API if we change it.
2124 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2125 order of including string.h.
2126 * gst/gstutils.c: (gst_element_state_get_name):
2127 Remove unreachable line.
2128 * gst/gstxml.c: (gst_xml_parse_doc):
2130 All these caught by Forte.
2132 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2134 Patch by: Josep Torre Valles <josep@fluendo.com>
2136 * common/m4/gst-error.m4:
2138 We need to disable warnings on Forte for empty declarations
2139 due to gst-indent adding ;s to lines that just use macros
2140 where the macro actually doesn't need a ; at end to end
2143 2006-10-06 Wim Taymans <wim@fluendo.com>
2145 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2146 (gst_file_sink_close_file), (gst_file_sink_event),
2147 (gst_file_sink_render):
2148 Add some FIXME for the NEWSEGMENT handling.
2150 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2152 * gst/parse/grammar.y:
2153 Remove static function gst_parse_element_lock as all it does
2154 is return. Looks like cruft from 0.8.
2156 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2158 Patch by: Josep Torre Valles <josep@fluendo.com>
2160 * common/m4/gst-error.m4:
2162 * libs/gst/net/Makefile.am:
2163 Fix a compilation issue with Forte on Solaris. inet_aton is in
2166 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2168 * gst/gstpad.c: (pre_activate):
2169 * gst/gstregistry.c: (gst_registry_scan_path_level):
2170 * gst/gstregistryxml.c: (load_plugin):
2171 * libs/gst/controller/gstcontroller.c:
2172 (gst_controlled_property_set_interpolation_mode):
2173 * libs/gst/dataprotocol/dataprotocol.c:
2174 (gst_dp_packet_from_event_1_0):
2175 * libs/gst/net/gstnetclientclock.c:
2176 (gst_net_client_clock_observe_times):
2177 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2180 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2183 * docs/gst/gstreamer-sections.txt:
2184 * gst/gstconfig.h.in:
2187 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2188 whether we can use G_GNUC_PRINTF in other header files and at
2189 least check the printf format/arguments of debug messages and
2190 GST_ELEMENT_ERROR messages when the printf extension is not
2192 Replace more tabs with spaces in gstinfo.h and remove two spurious
2193 function declarations in GST_DISABLE_DEBUG part with macros.
2195 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2197 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2198 More docs for the sync-message signal (mention that it is not
2199 emitted by default); log message structures of messages posted on
2202 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
2204 * gst/gst.c: (ensure_current_registry_forking):
2205 Use a pipe pair to receive status results from the forked child, and
2206 ignore the result from waitpid. Fixes #355499
2208 2006-10-02 Wim Taymans <wim@fluendo.com>
2210 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2211 (gst_ghost_pad_suite):
2214 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2217 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2219 2006-10-02 Edward Hervey <edward@fluendo.com>
2221 * docs/design/part-block.txt:
2222 Further explain the use of flushing on blocked pads.
2223 * docs/gst/gstreamer-sections.txt:
2224 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2225 (gst_pad_push_event):
2227 Added new GstPadFlag : GST_PAD_BLOCKING.
2228 Adds the notion of pads really blocking, which enables to properly
2229 handle FLUSH_START/FLUSH_STOP events on blocked pads.
2231 API: gst_pad_is_blocking()
2232 API: GST_PAD_IS_BLOCKING() macro
2233 API: GST_PAD_BLOCKING GstPadFlag
2235 2006-10-02 Wim Taymans <wim@fluendo.com>
2237 Patch by: mrcgran <mrc.gran at gmail dot com>
2239 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2240 Filter the proxied caps against the padtemplate if we have one.
2242 * gst/gstquery.c: (gst_query_new_segment):
2243 Add include for gstinfo.h so that compilation with
2244 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2246 2006-10-02 Wim Taymans <wim@fluendo.com>
2248 Patch by: Alessandro Decina <alessandro at nnva org>
2250 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2251 (gst_file_sink_set_location), (gst_file_sink_open_file),
2252 (gst_file_sink_close_file), (gst_file_sink_event),
2253 (gst_file_sink_render):
2254 Set file to NULL when closing filesink so that we can set a new filename
2255 in READY. Fixes #358613.
2257 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2259 Patch by: Alessandro Decina <alessandro at nnva org>
2261 * gst/gstevent.c: (_gst_event_copy):
2262 Fix gst_mini_object_make_writable() and gst_event_copy() for events
2263 with event structures by setting the parent refcount address of the
2264 copied structure to the address of the refcount member of the newly
2265 copied event rather than the address of the refcount member of the
2266 original event. Fixes #358737.
2268 * tests/check/gst/gstevent.c: (GST_START_TEST):
2269 Unit test for the above.
2271 2006-09-29 Stefan Kost <ensonic@users.sf.net>
2273 * docs/design/Makefile.am:
2274 Dist some more files.
2276 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2278 * tests/check/libs/controller.c: (GST_START_TEST),
2279 (gst_controller_suite):
2280 Add test for the previous fix; add some more tests
2281 for correct refcounting behaviour; fix a few leaks
2282 in test cases; call gst_controller_init() at start
2285 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2287 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2288 (gst_controller_set_from_list):
2289 Don't g_return_val_if_fail() on timed values with invalid timestamps
2290 inside a critical section without unlocking the mutex. Spotted by
2291 René Stadler. (#357617)
2292 Also, fix up refcounting properly: when returning an existing
2293 controller, we should increase the reference only once and not
2294 once per property and when trying to control a property again
2295 we should also increase the refcount.
2297 2006-09-29 Wim Taymans <wim@fluendo.com>
2299 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2300 * libs/gst/net/gstnettimeprovider.c:
2301 (gst_net_time_provider_thread):
2302 Stop reading commands when EOF as well.
2304 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2305 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2306 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2307 Unify description of the dump property.
2309 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2311 * tests/examples/manual/.cvsignore:
2312 OK, so it's actually cvsignore that needs changing. Stop laughing.
2314 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2316 * tests/examples/manual/Makefile.am:
2317 Gah, declare vars *before* using them
2319 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2321 * gst/gst.c: (init_pre), (scan_and_update_registry),
2322 (ensure_current_registry_nonforking),
2323 (ensure_current_registry_forking), (ensure_current_registry),
2324 (init_post), (gst_debug_help), (gst_deinit):
2325 * gst/gst_private.h:
2326 * gst/gstregistry.c: (gst_registry_finalize),
2327 (gst_registry_remove_features_for_plugin_unlocked),
2328 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2329 (gst_registry_scan_path),
2330 (_priv_gst_registry_remove_cache_plugins),
2331 (_priv_gst_registry_cleanup):
2332 * gst/gstregistry.h:
2333 Re-commit the registry changes, along with an extra fix:
2334 When a cached plugin is encountered at a different file path,
2335 update the stored path in the registry cache so that the parent
2336 process knows where it actually is now when it re-reads the registry
2337 cache. Fixes the thing that broke distcheck with the previous commit.
2339 * tests/check/Makefile.am:
2340 Clean up files named 'core' too when running make clean.
2342 * tests/examples/manual/Makefile.am:
2343 Set up a registry path for running these tests, and clean it properly
2346 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2349 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2350 want gmodule-no-export-2.0.pc instead so that we don't drag in
2351 --export-dynamic on every project that links to GStreamer.
2353 Also, make our export regex only match the start of symbols, rather
2354 than any symbol that contains '_gst' somewhere.
2356 * libs/gst/check/Makefile.am:
2357 The libgstcheck we build does however need export-dynamic, as it
2358 produces some symbols that don't match our _gst... style regex.
2361 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2363 * gst/gst.c: (init_pre), (scan_and_update_registry),
2364 (ensure_current_registry_nonforking),
2365 (ensure_current_registry_forking), (ensure_current_registry),
2366 (init_post), (gst_debug_help), (gst_deinit):
2367 * gst/gst_private.h:
2368 * gst/gstregistry.c: (gst_registry_finalize),
2369 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2370 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2371 (_gst_registry_cleanup):
2372 * gst/gstregistry.h:
2373 Revert previous change until I figure out why it breaks distcheck.
2375 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2377 * gst/gst.c: (init_pre), (scan_and_update_registry),
2378 (ensure_current_registry_nonforking),
2379 (ensure_current_registry_forking), (ensure_current_registry),
2380 (init_post), (gst_debug_help), (gst_deinit):
2382 Make init_pre and init_post take the full complement of GOptionFunc
2383 args so they can return useful GErrors. Make the registry updating
2386 Call _priv_gst_registry_remove_cache_plugins after scanning files to
2387 ensure that the registry we're about to write out doesn't contain
2388 stale information about old-deleted plugin files.
2390 Make _priv_gst_registry_remove_cache_plugins return a boolean so
2391 that deletion of plugin files is considered a registry change.
2393 * gst/gst_private.h:
2394 * gst/gstregistry.c: (gst_registry_finalize),
2395 (gst_registry_remove_features_for_plugin_unlocked),
2396 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2397 (gst_registry_scan_path),
2398 (_priv_gst_registry_remove_cache_plugins),
2399 (_priv_gst_registry_cleanup):
2400 * gst/gstregistry.h:
2401 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
2402 by adding _priv prefix, so that they won't appear in the global
2403 symbol table. They still do atm though because of #318031. Move the
2404 prototypes to gst_private.h
2406 When removing a plugin, remove all features for that plugin too.
2409 2006-09-27 Wim Taymans <wim@fluendo.com>
2411 * docs/random/moving-plugins:
2412 Make it clear that the "compiled-in descriptions" really mean
2413 the element details.
2415 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2416 (gst_base_sink_wait_preroll):
2419 * docs/libs/gstreamer-libs-sections.txt:
2420 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2421 (gst_base_src_get_range), (gst_base_src_activate_push):
2422 * libs/gst/base/gstbasesrc.h:
2423 Added function to block while waiting for PLAYING, this function
2424 is used by live sources that block on the clock.
2425 API: gst_base_src_wait_playing()
2427 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
2429 Patch by: Peter Kjellerstedt <pkj at axis com>
2432 gst-element-check.m4 is generated and should therefore be
2433 copied from the build dir rather than the source dir (#357593).
2434 'make distcheck' hasn't noticed this because we were disting
2435 the file as well, so stop doing that.
2437 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
2439 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2440 Add some tests for gst_caps_intersect().
2442 * tools/gst-launch.c: (event_loop):
2443 Print all buffering percentages we get, even the 100% one.
2445 2006-09-26 Wim Taymans <wim@fluendo.com>
2447 * tools/gst-inspect.c: (print_element_properties_info),
2448 (print_signal_info):
2449 Fix printing of flags to match the look of enums.
2451 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2453 * gst/gstelementfactory.c:
2454 Fix typo in docs blurb.
2456 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2458 * gst/gsturi.c: (search_by_entry):
2459 Don't assert/crash here if a uri handler doesn't return any
2460 supported protocols. The list of protocols could be generated
2461 dynamically at runtime or at plugin registration, and an error
2462 in the underlying library shouldn't be fatal (#353301).
2464 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2467 Fix warning if HAVE_PRINTF_EXTENSION is undefined
2468 (spotted by Peter Kjellerstedt).
2470 2006-09-23 Wim Taymans <wim@fluendo.com>
2472 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
2474 * libs/gst/base/gstbasesrc.c:
2475 (gst_base_src_default_check_get_range), (gst_base_src_start),
2476 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2477 (gst_base_src_change_state):
2478 Match _start/_stop calls in the activate functions. Remove redundant
2479 _stop call from the state change function. Fixes #356910.
2480 Turn failure DEBUG into ERROR.
2482 2006-09-22 Wim Taymans <wim@fluendo.com>
2484 * docs/design/part-buffering.txt:
2485 * gst/gstmessage.c: (gst_message_new_buffering),
2486 (gst_message_parse_buffering):
2487 Update docs about buffering.
2489 * docs/design/part-trickmodes.txt:
2492 2006-09-22 Stefan Kost <ensonic@users.sf.net>
2494 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2495 (gst_controller_new_list):
2496 Ref instances when returning them again (fixes #357180)
2498 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
2500 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
2501 Don't forget to release proxy lock when there's an error.
2503 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
2506 Add extra initialisers for Caps things, to fix some plugin warnings
2509 2006-09-18 Wim Taymans <wim@fluendo.com>
2511 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2512 Also set template on the internal pad so that a getcaps from the
2513 target pad returns the template caps.
2515 2006-09-18 Wim Taymans <wim@fluendo.com>
2517 * gst/gstelement.c: (gst_element_post_message),
2518 (gst_element_dispose):
2519 Use _DEBUG_OBJECT some more.
2521 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2524 * tools/gst-launch.c: (main):
2525 If the toplevel element is not a GstPipeline, it must be put in a
2526 pipeline so that a bus and clock is selected.
2528 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
2530 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2531 JITTER, RATE, and LATENCY query should be handled by the
2532 default case and not by the CONVERT query code.
2534 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
2536 * gst/gstformat.c: (gst_format_register):
2537 Fix locking order (must take lock before using n_values).
2539 * gst/gstvalue.c: (gst_value_serialize_enum),
2540 (gst_value_deserialize_enum_iter_cmp),
2541 (gst_value_deserialize_enum):
2542 Fix serialisation/deserialisation of custom registered GstFormats.
2544 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2545 Unit test for custom format serialisation/deserialisation.
2547 2006-09-17 Stefan Kost <ensonic@users.sf.net>
2549 * docs/pwg/building-boiler.xml:
2550 * plugins/elements/gstcapsfilter.c:
2551 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
2554 2006-09-16 Edward Hervey <edward@fluendo.com>
2556 * libs/gst/base/gstbasetransform.c:
2557 (gst_base_transform_buffer_alloc):
2558 Check if requested caps are the same as the sinks caps IF
2559 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
2561 This fixes the renegotiation issues stated in #352827.
2563 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2566 * docs/manual/advanced-autoplugging.xml:
2567 * tests/examples/Makefile.am:
2568 * tests/examples/manual/.cvsignore:
2569 * tests/examples/manual/Makefile.am:
2570 * tests/examples/manual/extract.pl:
2571 Extract the manual examples again like we used to do.
2574 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2576 * win32/common/config.h:
2579 2006-09-16 Stefan Kost <ensonic@users.sf.net>
2582 Documents how to receive errors.
2584 2006-09-15 Wim Taymans <wim@fluendo.com>
2586 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
2587 (event_loop), (main):
2588 Added some comments here and there.
2589 Post an application message when an interrupt is caught instead of doing
2590 an uncontrolled state change.
2591 Clean up the event loop.
2592 Handle buffering messages, pause/resume the pipeline.
2593 Make shutdown because of an interrupt more reliable.
2595 2006-09-15 Wim Taymans <wim@fluendo.com>
2597 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2598 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
2599 (gst_base_sink_preroll_object):
2600 Make sure that our internal state is correct when we commit our state
2601 asynchronously. This solves a race where a state change to PLAYING
2602 could cause the sink to remain blocked in preroll in some situations.
2604 2006-09-15 Wim Taymans <wim@fluendo.com>
2606 * tools/gst-inspect.c: (print_element_properties_info),
2607 (print_signal_info):
2608 List flags as hex so it's easier to deal with.
2610 2006-09-15 Wim Taymans <wim@fluendo.com>
2612 * docs/libs/gstreamer-libs-sections.txt:
2613 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
2614 (gst_base_sink_do_sync):
2615 * libs/gst/base/gstbasesink.h:
2616 Expose logic to wait for preroll so that subclasses such as audiosink
2617 can also use this method.
2618 API: gst_base_sink_wait_preroll()
2620 2006-09-15 Wim Taymans <wim@fluendo.com>
2622 * gst/gstobject.c: (gst_object_set_parent):
2623 * gst/gstpipeline.c: (do_pipeline_seek):
2624 Small cleanups in docs and code.
2626 * gst/gstsegment.c: (gst_segment_clip):
2627 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2628 if stop == start and start is in the segment, no clipping should be
2629 done. Also add a test for this.
2631 2006-09-15 Wim Taymans <wim@fluendo.com>
2633 * docs/design/part-buffering.txt:
2634 * docs/gst/gstreamer-sections.txt:
2635 * gst/gstmessage.c: (gst_message_new_buffering),
2636 (gst_message_parse_buffering):
2638 Added methods to create and parse BUFFERING messages.
2639 Added preliminary docs about buffering.
2640 API: gst_message_new_buffering
2641 API: gst_message_parse_buffering
2643 2006-09-06 Wim Taymans <wim@fluendo.com>
2646 Update documentation.
2648 * gst/gstelement.c: (gst_element_class_init),
2649 (gst_element_release_request_pad), (gst_element_set_clock),
2650 (gst_element_get_index), (gst_element_add_pad),
2651 (gst_element_remove_pad), (gst_element_get_random_pad),
2652 (gst_element_send_event), (gst_element_get_query_types),
2653 (gst_element_query), (gst_element_post_message),
2654 (gst_element_message_full), (gst_element_continue_state),
2655 (gst_element_lost_state), (gst_element_save_thyself),
2656 (gst_element_restore_thyself):
2657 Documentation updates.
2658 Rename last bit of the new-pad -> pad-added signal rename.
2659 Fix the case where an element query would only work if the source
2661 Avoid some useless type checking in message handling.
2666 Documentation updates.
2668 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
2670 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2671 add an INFO line for when we actually update the fd
2673 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
2678 === release 0.10.10 ===
2680 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
2683 releasing 0.10.10, "Pais"
2685 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
2687 * docs/manual/advanced-position.xml:
2688 Fix typo in sample code.
2690 2006-09-05 Wim Taymans <wim@fluendo.com>
2692 * libs/gst/net/gstnetclientclock.c: (inet_aton),
2693 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
2694 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
2695 * libs/gst/net/gstnetclientclock.h:
2696 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2697 * libs/gst/net/gstnettimepacket.h:
2698 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
2699 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
2700 (gst_net_time_provider_thread), (gst_net_time_provider_new):
2701 * libs/gst/net/gstnettimeprovider.h:
2702 Make stuff compile on windows. Fixes #345295.
2704 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
2706 * gst/gst.c: (ensure_current_registry_forking):
2707 Print better details when child was terminated by signal.
2709 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
2711 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
2712 Print a warning rather than g_assert() if a plugin feature
2713 is a URI handler but returns no protocols (#353976).
2715 2006-09-02 Stefan Kost <ensonic@users.sf.net>
2717 * docs/random/moving-plugins:
2720 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
2722 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
2723 Fix locking order, handle NULL function values properly.
2728 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2729 Initialise variable before using it and fix debug statement to
2730 print the address of the function rather than the address of the
2731 variable on the stack holding the address of the function.
2733 2006-09-01 Wim Taymans <wim@fluendo.com>
2735 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
2736 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
2737 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
2738 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
2739 (gst_ghost_pad_parent_unset),
2740 (gst_ghost_pad_internal_do_activate_push),
2741 (gst_ghost_pad_internal_do_activate_pull),
2742 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2743 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2744 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
2745 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
2746 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
2747 (gst_ghost_pad_new_no_target_from_template),
2748 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
2750 Avoid needless typechecking in macros.
2751 Since the internal pad is always present and never changes, there is
2752 no need to locking or ref when retrieving it.
2753 Improve debugging a bit.
2754 Handle link errors when setting the target. Fixes #341029.
2756 2006-09-01 Wim Taymans <wim@fluendo.com>
2758 * docs/libs/gstreamer-libs-sections.txt:
2759 * docs/plugins/gstreamer-plugins-sections.txt:
2762 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2763 (gst_collect_pads_event):
2764 * libs/gst/base/gstcollectpads.h:
2765 Documentation updates.
2766 Free queued buffer when removing a pad.
2768 2006-08-31 Michael Smith <msmith@fluendo.com>
2770 * gst/gstutils.c: (gst_element_link_pads),
2771 (gst_element_link_pads_filtered):
2772 Ensure that we set a capsfilter to NULL if we failed to link it
2773 when doing filtered linking, to avoid criticals.
2775 No need to check for unreffing srcpad, which is explicly NULLed
2776 above (a trivial code cleanup).
2778 2006-08-31 Wim Taymans <wim@fluendo.com>
2780 * docs/design/part-gstghostpad.txt:
2781 Update ascii art in documentation.
2783 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
2784 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
2785 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2786 (gst_ghost_pad_internal_do_activate_push),
2787 (gst_ghost_pad_internal_do_activate_pull),
2788 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2789 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2790 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
2791 (gst_ghost_pad_set_target):
2792 Small cleanups and leak fixes.
2793 Remove some checks now that the internal pad is never NULL.
2794 Fix the case where linking pads without a target would create nasty
2795 criticals. Fixes #341029.
2796 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
2797 value of _set_target().
2799 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2800 (gst_ghost_pad_suite):
2801 Some more tests for creating and linking untargeted ghostpads.
2803 2006-08-31 Edward Hervey <edward@fluendo.com>
2805 * docs/gst/gstreamer-sections.txt:
2806 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
2807 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2808 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
2809 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
2810 (gst_ghost_pad_new_from_template),
2811 (gst_ghost_pad_new_no_target_from_template):
2812 * gst/gstghostpad.h:
2813 Refactored *_new() functions.
2814 Templates are now used as a g_object_new() parameter.
2815 Use template in _do_getcaps() if we don't have a target.
2816 Small documentation cleanups.
2817 Added two new constructors:
2818 gst_ghost_pad_new_from_template()
2819 gst_ghost_pad_new_no_target_from_template()
2820 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2821 (gst_ghost_pad_suite):
2822 Added tests for new ghostpad instanciation functions.
2824 API additions: gst_ghost_pad_new_from_template,
2825 gst_ghost_pad_new_no_target_from_template
2827 2006-08-30 Stefan Kost <ensonic@users.sf.net>
2829 * docs/random/ensonic/profiling.txt:
2830 Ideas about qos profiling.
2832 2006-08-29 Wim Taymans <wim@fluendo.com>
2834 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
2838 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
2841 Improve and detypofy docs.
2843 * tests/check/Makefile.am:
2844 * tests/check/gst/.cvsignore:
2845 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
2846 Add a basic test suite for GstXML.
2848 2006-08-29 Wim Taymans <wim@fluendo.com>
2850 * gst/gstelement.c: (activate_pads), (clear_caps),
2851 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2852 Clear the pad caps when the element shut down all of the pads and
2853 is not streaming data that could modify the caps.
2856 2006-08-28 Michael Smith <msmith@fluendo.com>
2858 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2859 Revert previous change; I misunderstood single-segment mode.
2861 2006-08-28 Michael Smith <msmith@fluendo.com>
2863 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2864 Unset DISCONT on buffers when using single-segment mode.
2866 2006-08-28 Wim Taymans <wim@fluendo.com>
2868 * gst/gstcaps.c: (gst_caps_merge_structure):
2870 Fix docs and indentation again.
2872 * tests/check/gst/gstquery.c: (GST_START_TEST):
2873 Fix leak in tests and add some more tests.
2875 2006-08-28 Edward Hervey <edward@fluendo.com>
2877 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2878 Inform GstSegment of the last stop position in order for the current
2879 segment to have a proper duration if it doesn't have a specific stop
2880 position from which a duration could be calculated.
2881 This bug was noticeable when a non-flushing, non-update new segment was
2882 followed by another segment (all buffers from the new segment were being
2885 2006-08-28 Wim Taymans <wim@fluendo.com>
2887 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2888 Small comment update.
2890 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2891 (gst_identity_transform_ip):
2892 Drop-probability is broken, mention this in the code with a
2893 FIXME and also in the property description.
2894 Make silent also be silent about the drop messages.
2896 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
2898 * docs/manual/appendix-win32.xml:
2899 Remove mention of popt, we don't depend on that any
2900 longer (#353136). Add some comments pointing out that
2901 this section is slightly outdated.
2903 2006-08-28 Wim Taymans <wim@fluendo.com>
2905 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
2907 * gst/gstquery.c: (gst_query_new_segment):
2908 * tests/check/gst/gstquery.c: (GST_START_TEST):
2909 Initialize variables when creating a new segment query.
2912 2006-08-28 Wim Taymans <wim@fluendo.com>
2914 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
2916 * gst/gstelement.c: (gst_element_get_bus):
2917 * tests/check/gst/gstelement.c: (GST_START_TEST):
2918 Check for NULL before _reffing the bus. Fixes #353122.
2920 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
2922 * docs/manual/basics-bus.xml:
2923 Docs update: fix wrong callback return value explanation; add
2924 some lines about the implicit relationship between main loop
2925 and main context; remove duplicate main loop variable declaration.
2927 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
2929 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2930 Don't leak caps in unit test; add a few more simple
2933 2006-08-24 Stefan Kost <ensonic@users.sf.net>
2935 * docs/gst/gstreamer-sections.txt:
2936 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
2937 (gst_caps_structure_is_subset), (gst_caps_merge),
2938 (gst_caps_merge_structure):
2940 * libs/gst/base/gstbasetransform.c:
2941 (gst_base_transform_transform_caps):
2942 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2943 implement caps merging (fixes #352580)
2945 2006-08-23 Stefan Kost <ensonic@users.sf.net>
2947 * tools/Makefile.am:
2948 * tools/gst-plot-timeline.py:
2949 add debug-log plotting developer tool (#340674)
2951 2006-08-23 Wim Taymans <wim@fluendo.com>
2953 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
2954 (gst_pad_stop_task):
2955 Improve debugging for task functions.
2957 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
2958 (gst_task_start), (gst_task_pause), (gst_task_join):
2959 Make sure that the task function started and finished after a
2961 Don't try to push the task function on the threadpool multiple
2963 Improve the g_warning message with some useful suggestions
2964 about how to fix the problem.
2966 2006-08-23 Wim Taymans <wim@fluendo.com>
2968 * gst/gstutils.c: (gst_pad_proxy_getcaps):
2969 Handle RESYNC correctly in _proxy_getcaps.
2971 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
2973 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
2974 (gst_xml_parse_memory), (gst_xml_get_element):
2975 Chain up to parent class in dispose function and also
2976 unref the elements in the toplevel_elements GList.
2977 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
2978 Always return a reference in gst_xml_get_element() rather
2979 than only sometimes.
2981 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
2982 Don't leak GstXml object.
2984 2006-08-21 Stefan Kost <ensonic@users.sf.net>
2986 * docs/gst/gstreamer-sections.txt:
2987 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
2990 * libs/gst/base/gstbasetransform.c:
2991 (gst_base_transform_transform_caps):
2992 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
2995 2006-08-21 Edward Hervey <edward@fluendo.com>
2997 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
2998 Implement GObject::dispose virtual method in GstXML so we can free the
3001 2006-08-21 Wim Taymans <wim@fluendo.com>
3003 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3004 (gst_buffer_create_sub):
3005 Copy duration/offset_end/caps when creating a subbuffer of the
3007 Make the subbuffer read-only when we make the metadata writable for
3010 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3011 Added check for metadata copy when creating subbuffers.
3013 2006-08-21 Edward Hervey <edward@fluendo.com>
3015 * libs/gst/base/gstbasetransform.c:
3016 (gst_base_transform_buffer_alloc):
3017 Only call downstream buffer_alloc if transform element is passthrough
3018 or always_in_place. Closes #350449.
3020 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3023 ChangeLog surgery to add comments to previous changes
3025 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3030 * gst/gstpad.c: (gst_pad_set_active):
3031 Be more verbose in the log
3033 * libs/gst/base/gstbasetransform.c:
3034 (gst_base_transform_transform_caps):
3035 Simplify caps to get rid of duplicates, fixes #345444
3037 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3041 Use these optimizations only internally.
3043 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3045 * gst/gstvalue.c: (gst_value_compare_list),
3046 (gst_value_compare_fraction_range),
3047 (gst_value_intersect_fraction_fraction_range),
3048 (gst_value_intersect_fraction_range_fraction_range),
3049 (gst_value_subtract_fraction_fraction_range),
3050 (gst_value_subtract_fraction_range_fraction_range),
3051 (gst_value_get_compare_func), (gst_value_compare),
3052 (gst_value_compare_with_func):
3054 Saves the expensive lookup of the compare function in many cases
3057 2006-08-18 Edward Hervey <edward@fluendo.com>
3059 * tests/check/gst/gstinfo.c: (gst_info_suite):
3060 Disable test that require gstdebug if it wasn't built in core.
3062 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3064 * docs/random/ensonic/logging.txt:
3067 * gst/gstinfo.c: (gst_debug_log_default):
3068 reorder fields, save some columns, add optional color codes for log
3071 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3073 * docs/random/ensonic/logging.txt:
3074 add ideas about making the logs a bit more useful
3076 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3078 * docs/pwg/advanced-events.xml:
3079 * docs/pwg/titlepage.xml:
3080 Update for 0.10 API (#340627). Add myself
3083 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3085 * docs/libs/gstreamer-libs-docs.sgml:
3086 * docs/libs/gstreamer-libs-sections.txt:
3087 * libs/gst/check/gstbufferstraw.c:
3088 Make gstcheck stuff show up in docs (still needs to
3089 be documented properly though).
3091 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3093 * docs/gst/gstreamer-sections.txt:
3095 * gst/gst.c: (init_post):
3096 * gst/gst_private.h:
3097 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3099 * gst/gstquery.c: (gst_query_new_position),
3100 (gst_query_set_position), (gst_query_parse_position),
3101 (gst_query_new_duration), (gst_query_set_duration),
3102 (gst_query_parse_duration), (gst_query_new_convert),
3103 (gst_query_set_convert), (gst_query_parse_convert),
3104 (gst_query_new_segment), (gst_query_set_segment),
3105 (gst_query_parse_segment), (gst_query_new_seeking),
3106 (gst_query_set_seeking), (gst_query_parse_seeking):
3107 Add internal helpers for pre-registering quarks from static strings
3108 and using the quark values directly instead of looking them up when
3109 creating and parsing queries. Can be used for event construction too.
3112 2006-08-16 Wim Taymans <wim@fluendo.com>
3117 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3119 * gst/gstutils.c: (gst_util_set_value_from_string):
3120 Fix memleak (#351502).
3122 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3123 Add unit test for most of gst_util_set_value_from_string()
3124 (not that one would want to encourage use of this function).
3126 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3128 * libs/gst/check/gstcheck.h:
3129 Use const gchar * variables in fail_unless_equals_string
3130 macro to avoid compiler warnings (and don't use tabs for
3133 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3135 * tools/gst-launch.c: (print_tag):
3136 More space on the left for the tag names, to cater
3137 for the 'extended comment' tag (not touching the
3138 string for the first line since it's translated).
3140 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3142 * libs/gst/check/gstcheck.h:
3143 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3144 print something when they fail.
3146 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3148 * docs/gst/gstreamer-sections.txt:
3149 * gst/gsttaglist.c: (_gst_tag_initialize):
3151 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3152 Also change merge function for GST_TAG_COMMENT to
3155 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3157 * gst/gstinfo.c: (gst_debug_print_object):
3158 Make GST_PTR_FORMAT print messages as well.
3160 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3161 (GST_START_TEST), (gst_info_suite):
3164 2006-08-14 Edward Hervey <edward@fluendo.com>
3166 * gst/gstelementfactory.c: (gst_element_register):
3167 If the GstElementClass doesn't have a GstElementDetails with all fields
3168 filled up correctly (longname, description AND author), then error out
3169 nicely instead of crashing.
3171 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3173 * gst/gststructure.c:
3174 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3177 Expand on the difference between arrays and lists as we use them.
3179 2006-08-14 Wim Taymans <wim@fluendo.com>
3181 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3182 If the parent state change function failed, don't assume we can safely
3183 stop the source, this will be done when the pads are deactivated.
3185 2006-08-14 Wim Taymans <wim@fluendo.com>
3188 * gst/gsttask.c: (gst_task_join):
3191 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3192 (gst_pad_stop_task):
3193 When pad (de)activation failed for some reason, restore the old
3194 activation mode and set the pad to flushing instead of assuming the
3196 If the _task_join() failed, reinstall the task on the pad so that it can
3197 be stopped later and return an error.
3199 2006-08-11 Andy Wingo <wingo@pobox.com>
3202 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3203 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3204 is only for users of API that don't want to see deprecated
3205 functions in the headers; people that want to compile out
3206 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3207 CFLAGS. Fixes the build of multifdsink, or will soon..
3209 2006-08-11 Wim Taymans <wim@fluendo.com>
3211 * docs/gst/gstreamer-sections.txt:
3212 Add GstClockClass vmethod docs.
3215 Mark #endif with comment for associated #if
3217 * gst/gstclock.c: (gst_clock_id_wait):
3219 Add vmethod wait_jitter to avoid an unneeded _get_time() for
3220 most clock implementations.
3222 Flesh out docs about resolution methods.
3223 API: GstClockClass::wait_jitter
3225 * gst/gstsystemclock.c: (gst_system_clock_class_init),
3226 (gst_system_clock_async_thread),
3227 (gst_system_clock_id_wait_jitter_unlocked),
3228 (gst_system_clock_id_wait_jitter):
3229 Use base class wait_jitter variant for improved performance
3230 due to less clock polling.
3232 2006-08-11 Edward Hervey <edward@fluendo.com>
3234 * gst/gst.c: (gst_init_check), (init_post):
3235 Set gst as being initialized before scanning/updating the registry,
3236 since there might be my python plugin loader that calls gst_init() and
3237 we don't want to loop back in.
3240 2006-08-11 Wim Taymans <wim@fluendo.com>
3242 * docs/design/part-qos.txt:
3243 Bring docs in line with the code. Mostly the sign of the jitter was
3244 wrong in the docs. Fixes #349943.
3247 Fix the docs for the jitter.
3249 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3250 (gst_event_parse_tag), (gst_event_new_buffer_size),
3251 (gst_event_parse_buffer_size), (gst_event_parse_qos),
3252 (gst_event_new_seek), (gst_event_parse_seek),
3253 (gst_event_new_navigation):
3254 Make sure the GstStructure has no parent when creating custom
3256 Add some more argument checking so that we avoid 0.0 rates.
3257 Flesh out the docs for the QoS event some more.
3259 2006-08-11 Wim Taymans <wim@fluendo.com>
3261 * docs/gst/gstreamer-sections.txt:
3262 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3263 (ensure_current_registry_forking), (ensure_current_registry),
3264 (parse_one_option), (parse_goption_arg), (gst_deinit),
3265 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3268 Added API and command line option to disable registry forking in
3269 addition to the environment variable.
3270 Constify some static arrays.
3271 Added some more debug.
3273 API: gst_registry_fork_is_enabled()
3274 API: gst_registry_fork_set_enabled()
3275 API: --gst-disable-registry-fork command line option
3278 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
3280 * gst/gst.c: (gst_init):
3281 Fix typo in error message.
3283 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3285 * libs/gst/controller/gstcontroller.h:
3286 fix ABI size-correction
3288 * tests/check/libs/gdp.c: (gst_dp_suite):
3289 make tests that use deprecated API conditional
3291 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3293 * docs/libs/gstreamer-libs-sections.txt:
3294 * libs/gst/controller/gstcontroller.c:
3295 (_gst_controller_get_property), (_gst_controller_set_property),
3296 (_gst_controller_init), (_gst_controller_class_init):
3297 * libs/gst/controller/gstcontroller.h:
3298 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3299 (gst_object_set_control_rate):
3300 API: add gst_object_{s,g}et_control_rate(), add private data section,
3303 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3304 * libs/gst/dataprotocol/dataprotocol.h:
3305 add deprecation guards to make gtk-doc happy and allow disabling cruft
3307 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
3309 * tests/check/Makefile.am:
3310 * tests/check/gst/.cvsignore:
3311 Let's enable the new unit test as well.
3313 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
3316 * docs/gst/gstreamer-sections.txt:
3317 * gst/gstconfig.h.in:
3318 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3319 (_gst_info_printf_extension_ptr),
3320 (_gst_info_printf_extension_segment):
3321 API: add GST_SEGMENT_FORMAT, which is a printf extension we
3322 register that lets us easily dump GstSegments into debug
3325 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3326 (info_segment_format_printf_extension), (gst_info_suite):
3327 Add simple unit test that logs a bunch of different segments (not
3328 valgrinded at the moment because of leaks in
3329 gst_debug_add_log_function).
3331 2006-08-09 Edward Hervey <edward@fluendo.com>
3333 * libs/gst/base/gstbasetransform.c:
3334 (gst_base_transform_buffer_alloc):
3335 Even if we can't figure out the proper format to request downstream,
3336 call buffer_alloc() downstream with the input parameters without setting
3337 the caps on the srcpad. This will force negotiation in the chain
3341 2006-08-08 Edward Hervey <edward@fluendo.com>
3343 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3344 Unlinking from a pad without a target is now a perfectly valid case
3345 which should NOT raise an assertion.
3346 This case would happen if a linked ghostpad its target set to NULL after
3347 it was previously linked.
3349 2006-08-08 Edward Hervey <edward@fluendo.com>
3351 * tests/check/libs/gdp.c:
3352 Also comment out the test (see below).
3354 2006-08-08 Edward Hervey <edward@fluendo.com>
3356 * tests/check/libs/gdp.c: (gst_dp_suite):
3357 Use the architecture information from config.h and not gcc macros
3358 in order to properly disable a test that fails on PPC64.
3360 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
3362 * gst/gstelement.c: (gst_element_remove_pad):
3363 Don't crash printing the warning if the pad has no parent.
3365 2006-08-02 Wim Taymans <wim@fluendo.com>
3367 * libs/gst/dataprotocol/dataprotocol.c:
3368 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3369 (gst_dp_crc), (gst_dp_header_payload_length),
3370 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3371 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3372 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3373 (gst_dp_event_from_packet), (gst_dp_validate_header),
3374 (gst_dp_validate_payload):
3375 Make debug category static
3376 Constify the crc table.
3377 Do some more arg checking in public functions.
3378 Fix some docs and do some small cleanups.
3380 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
3381 Add some more checks to see if GDP deals with bogus input.
3383 2006-07-31 Wim Taymans <wim@fluendo.com>
3385 * gst/gstvalue.c: (gst_value_compare_list):
3386 Fix GstValueList comparison code. Fixes #347293.
3388 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3389 Check to test GstValueList comparison.
3391 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3393 * gst/gstelementfactory.c: (gst_element_factory_create):
3394 Remove unnecessary ref/unref pair
3396 * gst/parse/grammar.y:
3397 Make sure to free the parse buffer on all code paths.
3398 Move a g_free up to the error handler where it's easier to see.
3400 * tests/check/gst/gstevent.c: (test_event):
3401 Extending timeout for downstream travelling events to 10 seconds to
3402 hopefully avoid intermittent failure on the buildbots.
3404 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
3405 Don't manually set the state of the src element - it will happen as a
3406 natural consequence of the pipeline changing state, and that way it
3407 will do it in the right order too.
3409 2006-07-31 Wim Taymans <wim@fluendo.com>
3411 * libs/gst/base/gstbasetransform.c:
3412 (gst_base_transform_buffer_alloc):
3413 Use OBJECT_LOCK and refcounting to get the pad caps in the
3414 buffer_alloc function because the caps could change while we are
3415 busy with them. Fixes #349105
3417 2006-07-31 Wim Taymans <wim@fluendo.com>
3419 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
3420 Protect _PAD_CAPS with OBJECT_LOCK.
3422 2006-07-31 Wim Taymans <wim@fluendo.com>
3424 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3425 (gst_pad_get_property), (gst_pad_activate_pull),
3426 (gst_pad_activate_push), (gst_pad_set_blocked_async),
3427 (gst_pad_set_activate_function),
3428 (gst_pad_set_activatepull_function),
3429 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
3430 (gst_pad_set_getrange_function),
3431 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
3432 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3433 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
3434 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
3435 (gst_pad_set_acceptcaps_function),
3436 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
3437 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
3438 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
3439 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
3440 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
3441 (gst_pad_configure_sink), (gst_pad_configure_src),
3442 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
3443 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
3444 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
3445 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
3446 (gst_pad_send_event):
3447 Use _DEBUG_OBJECT when it makes sense.
3448 Protect GST_PAD_CAPS with the OBJECT_LOCK.
3449 Small cleanups and code reflows.
3450 Avoid caps refcounting in _accept_caps.
3451 Refactor alloc_buffer so that the code performed on the peer is in a
3452 separate function. Also if the pad does not implement a buffer alloc
3453 function, we should still check if the pad is flushing before falling
3454 back to the default allocator.
3456 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3458 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3459 Make all uses of identity and fakesink have silent=true to avoid
3460 serialising every passing data structure, which is breaking tests
3461 on FC4 for some unknown reason.
3463 2006-07-30 Stefan Kost <ensonic@users.sf.net>
3465 * gst/parse/Makefile.am:
3466 * gst/parse/grammar.y:
3467 * gst/parse/parse.l:
3468 Reverted previous patch as it required to bump the flex dependency to
3469 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
3471 2006-07-30 Stefan Kost <ensonic@users.sf.net>
3473 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
3475 * gst/parse/Makefile.am:
3476 * gst/parse/grammar.y:
3477 * gst/parse/parse.l:
3478 push & pop the state of the lexer for reentrant use case
3481 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
3483 * libs/gst/base/gstbasesrc.h:
3484 Note in the docs that the ::newsegment vfunc is not actually used by
3487 2006-07-28 Wim Taymans <wim@fluendo.com>
3489 * libs/gst/base/gstcollectpads.c:
3490 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
3491 (gst_collect_pads_clear), (gst_collect_pads_flush),
3492 (gst_collect_pads_event), (gst_collect_pads_chain):
3493 When flushing a pad, also clear the queued buffer so that we don't
3494 accidentally use it when we shouldn't.
3495 Fix leaks by inreffing incomming buffer.
3496 Flush out queued buffers in case of errors.
3499 2006-07-28 Wim Taymans <wim@fluendo.com>
3501 * docs/random/phonon-gst:
3502 Random notes about a Phonon backend.
3504 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3506 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3508 * tests/check/libs/gdp.c: (gst_dp_suite):
3509 Take a whack at fixing the ppc compile using a different define to
3510 disable the broken test.
3512 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3513 Remove excess g_print()
3515 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3517 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3518 Oops, meant to uncomment this line too to dampen the noise a bit.
3520 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3522 * gst/parse/grammar.y:
3523 * gst/parse/parse.l:
3524 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
3525 (GST_START_TEST), (parse_suite):
3526 Fix some of the leaks exposed by extending the parse-launch testsuite,
3527 and move the 3 I can't figure out into a separate test that won't run
3528 the pipelines unless the appropriate line is uncommented.
3530 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
3532 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3533 Requesting 0 bytes before the end of the file should result in
3534 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
3537 2006-07-27 Wim Taymans <wim@fluendo.com>
3539 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
3540 Fix useless assert, a uint is always positive.
3542 * gst/gststructure.c: (gst_structure_nth_field_name),
3543 (gst_structure_foreach), (gst_structure_map_in_place):
3544 Check input arguments for public functions to avoid obvious crashes.
3546 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
3547 * plugins/elements/gstfakesink.h:
3548 Do less useless typechecking.
3550 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
3552 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3553 Do not use mmap() by default since there are a number of error
3554 conditions that we would like to handle in a non-fatal way that
3555 will result in a SIGBUS if we use mmap(). Examples: external
3556 devices (USB harddrive, portable music player) being unplugged
3557 while in use; file on mounted CD/DVD that can't be read because
3558 the medium is partly damaged. Fixes #348455 and #348475.
3560 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3563 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
3566 2006-07-26 Stefan Kost <ensonic@users.sf.net>
3568 * gst/gstregistry.c:
3569 Move big documentation comment into class section header, so that it
3570 appears in the API docs.
3572 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3574 * docs/gst/gstreamer-sections.txt:
3575 Oops. Commit the docs additions too for new API.
3576 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
3578 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3580 * gst/gststructure.c: (gst_structure_id_set),
3581 (gst_structure_id_set_valist):
3582 * gst/gststructure.h:
3583 Add API for setting values into structures without performing
3584 a quark lookup, if the appropriate quark is already known.
3586 API: gst_structure_id_set
3587 API: gst_structure_id_set_valist
3589 * gst/parse/grammar.y:
3590 * gst/parse/parse.l:
3591 Remove some dead code shown by the coverage information.
3592 Don't throw a critical g_warning when encountering a syntax error,
3593 just warn and let the normal error path handle it.
3595 * plugins/elements/gstelements.c:
3596 Bump the rank of filesink up to PRIMARY so that it is preferred over
3597 gnomevfssink for file:// sink uri's
3599 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
3600 (GST_START_TEST), (run_delayed_test),
3601 (gst_parse_test_element_base_init),
3602 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
3603 (gst_parse_test_element_change_state),
3604 (gst_register_parse_element), (parse_suite):
3605 Beef up the tests for parse syntax to check that more error cases
3606 fail as they are supposed to. Increases the test coverage a bit.
3608 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
3610 * docs/manual/basics-elements.xml:
3611 Fix gst_element_link() example.
3614 Mention in API docs that one should usually gst_bin_add()
3615 elements to a bin or pipeline before doing the linking.
3617 2006-07-26 Wim Taymans <wim@fluendo.com>
3619 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
3620 (gst_subbuffer_get_type), (gst_buffer_create_sub):
3621 Avoid function call for known types by keeping the buffer and
3622 subbuffer GType global.
3624 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3625 Random silly optimisations in read() path.
3627 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3629 * tools/gst-launch.c: (main):
3630 If the top-level of the parse is a normal bin, it doesn't do the
3631 right logic to run as a top-level element, so place it inside a
3634 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
3636 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
3637 Remove superfluous g_object_notify() calls, GObject does
3638 that for us automatically.
3640 2006-07-25 Stefan Kost <ensonic@users.sf.net>
3643 on Win32, use dllspec to export the debug category symbols
3645 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
3647 * gst/gsttaglist.c: (_gst_tag_initialize):
3648 Allow more than one GST_TAG_IMAGE per taglist.
3650 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
3652 * gst/gstminiobject.c:
3654 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
3655 (gst_fd_src_create):
3656 log recurring events at LOG level
3657 add more debug for when the fd gets set
3659 2006-07-21 Stefan Kost <ensonic@users.sf.net>
3661 * gst/gstparse.c: (gst_parse_launch):
3662 Also remove reentrance checks if flex is MT safe (#348179)
3663 Fix my empty ChangeLog entry below
3665 2006-07-21 Andy Wingo <wingo@pobox.com>
3667 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
3669 * libs/gst/check/Makefile.am
3670 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
3671 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
3672 * libs/gst/check/gstbufferstraw.h:
3673 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
3674 functions, thus proving I am still a GStreamer haxor. OK I wrote
3675 them a long time ago, but anyways.
3677 2006-07-21 Stefan Kost <ensonic@users.sf.net>
3680 * gst/gstparse.c: (gst_parse_launch):
3681 Check for flex version and omit mutex if we have a MT save flex
3684 2006-07-21 Wim Taymans <wim@fluendo.com>
3686 * gst/gstparse.c: (gst_parse_launch):
3687 Protect recursive calls to _parse with a recursive mutex
3690 2006-07-21 Wim Taymans <wim@fluendo.com>
3692 * tests/check/gst/gstpad.c: (GST_START_TEST):
3695 2006-07-20 Stefan Kost <ensonic@users.sf.net>
3697 * gst/gstparse.c: (gst_parse_launch):
3698 Do not hang on recursive usage of gst_parse_launch()
3700 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
3703 Add some more docs, comments and FIXME 0.11s here and there
3704 and also fix some typos.
3706 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
3709 Convert tabs to spaces for better readability.
3711 2006-07-20 Edward Hervey <edward@fluendo.com>
3713 * tests/check/libs/gdp.c: (gst_dp_suite):
3714 the test_buffer test fails at line 140 on ppc64 at the following
3716 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
3717 GST_BUFFER_FLAG_IN_CAPS),
3718 "GST_BUFFER_IN_CAPS flag should have been copied !");
3719 See bug #348114 for more details.
3721 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
3723 * docs/pwg/advanced-scheduling.xml:
3725 Fix typos (#348000).
3727 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
3729 * docs/pwg/intro-basics.xml:
3730 Fix wrong links (#347927).
3732 2006-07-18 Stefan Kost <ensonic@users.sf.net>
3734 * gst/gstregistry.h:
3735 * gst/gstregistryxml.c: (load_feature),
3736 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
3737 * win32/common/config.h:
3738 make --disable-index work (#342564)
3740 2006-07-18 Wim Taymans <wim@fluendo.com>
3742 Patch by: Peter Kjellerstedt <pkj at axis dot com>
3746 The attached patch adds two missing defines to gsttrace.h when tracing
3747 is disabled. It also corrects one existing define.
3750 2006-07-17 Wim Taymans <wim@fluendo.com>
3752 * docs/gst/gstreamer-sections.txt:
3753 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
3755 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
3756 Add two functions to check and change the SIGSEGV behaviour
3757 when loading plugins.
3758 Don't mess with the SIGSEGV handler when we were told not to.
3760 API: gst_segtrap_is_enabled
3761 API: gst_segtrap_set_enabled
3763 2006-07-14 Wim Taymans <wim@fluendo.com>
3765 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3766 * tests/check/elements/filesrc.c: (GST_START_TEST):
3767 Revert fix for regression in #347408 after release.
3769 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
3771 Patch by: Antoine Tremblay <hexa00 at gmail com>
3773 * gst/gstutils.c: (gst_element_unlink):
3774 Free iterator when done (#347311).
3776 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3777 And add a test case for this.
3779 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
3782 Bump nano back to CVS
3784 === release 0.10.9 ===
3786 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3789 releasing 0.10.9, "On the road again"
3791 2006-07-13 Wim Taymans <wim@fluendo.com>
3793 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3794 * tests/check/elements/filesrc.c: (GST_START_TEST):
3795 Revert pull-0 fix for release. Disable check. Fixes #347408.
3797 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
3799 * libs/gst/dataprotocol/dataprotocol.c:
3800 (gst_dp_event_from_packet_1_0):
3801 Fixes #347337: failure to deserialize event packets with
3802 empty payload (only event type)
3804 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
3807 do not install a .c file in the header directory
3809 2006-07-13 Edward Hervey <edward@fluendo.com>
3811 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3812 GhostPad no longer implicitely use the padtemplates of the targets.
3815 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
3817 * gst/gstvalue.c: (gst_value_compare_list),
3818 (gst_value_compare_array), (_gst_value_initialize):
3819 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3820 Make GstValueArray comparison be order dependent as designed.
3821 Add checks for value lists and value array comparisons.
3824 2006-07-11 Edward Hervey <edward@fluendo.com>
3826 * gst/gstbin.c: (activate_pads),
3827 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
3828 (gst_bin_change_state_func):
3829 (de)activate src pads before calling state_change on the childs.
3830 This is to avoid the case where a src ghostpad is blocked (holding the
3831 stream lock), which would block the deactivation of the ghostpad's
3833 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
3834 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
3835 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
3836 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3837 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3838 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3839 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3840 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
3841 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
3842 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3843 (gst_ghost_pad_class_init),
3844 (gst_ghost_pad_internal_do_activate_push),
3845 (gst_ghost_pad_internal_do_activate_pull),
3846 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3847 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3848 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
3849 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
3850 GhostPads now create their internal GstProxyPad at creation (and not
3851 when they're linked, as it was being done previously).
3852 The internal and target pads are linked straight away.
3853 The data will also travel through the other pad in order to make
3854 pad blocking and probes non-hackish (the probe/block now really happens
3855 on the GhostPad and not on the target).
3856 * gst/gstpad.c: (gst_pad_set_blocked_async),
3857 (gst_pad_link_prepare), (gst_pad_push_event):
3858 Remove previous ghostpad cruft.
3859 * gst/gstutils.c: (gst_pad_add_data_probe),
3860 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3861 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3862 (gst_pad_remove_buffer_probe):
3863 Remove previous ghost pad cruft.
3864 Added more detailed debug statements.
3865 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3866 Fix the testsuite for refcounting changes.
3867 The comments about who has references were correct, but the refcount
3868 being checked wasn't the same (!?!).
3872 2006-07-10 Stefan Kost <ensonic@users.sf.net>
3874 * docs/gst/gstreamer-sections.txt:
3875 * gst/gstconfig.h.in:
3876 More docs for configuration options, add docs to gtk-doc.
3878 2006-07-10 Stefan Kost <ensonic@users.sf.net>
3881 * gst/gstconfig.h.in:
3882 * win32/common/config.h:
3883 Fix build when disabling tracing (fixes #344016). Also start to document
3884 the defines that disable the sub-systems.
3886 2006-07-10 Edward Hervey <edward@fluendo.com>
3888 * gst/gst.c: (ensure_current_registry_forking):
3889 let's make valgrind happy...
3891 2006-07-09 Wim Taymans <wim@fluendo.com>
3893 * gst/gstelement.c: (activate_pads),
3894 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3895 Better pad activation code: Reset the collect value too on resync.
3898 2006-07-09 Wim Taymans <wim@fluendo.com>
3900 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
3901 (gst_pad_activate_push):
3902 Use some more macros where it makes sense.
3903 Allow pad mode switching instead of asserting. When a pad
3904 is activated in one mode and we activate it in another,
3905 deactivate it first before activating it in a different mode.
3908 2006-07-08 Andy Wingo <wingo@pobox.com>
3910 * tools/gst-launch.c (main): Handle err == NULL.
3912 * gst/gst.c (init_post, ensure_current_registry)
3913 (ensure_current_registry_forking)
3914 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
3915 factoring out the registry scanning into separate functions. Don't
3916 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
3917 Better environment var name/interface suggestions accepted.
3919 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
3921 * gst/gstobject.c: (gst_object_set_name_default),
3922 (gst_object_set_name):
3923 Random micro-optimisation: don't use a hash table
3924 with strings as keys and the usual strdup/strcmp
3925 involved, but rather just use the GQuark of the
3926 type name as key, since it needs to be looked up
3927 anyway to get the type name string.
3929 * tests/check/gst/gstobject.c: (GST_START_TEST):
3932 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
3934 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
3935 (gst_bin_iterate_all_by_interface):
3936 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
3937 GTypes are gulongs and thus the top 4 bytes might be cut
3938 off on some platforms when doing GPOINTER_TO_INT, leading
3939 to invalid GTypes and bad things happening (see RH bug #179654).
3940 Also add a check to make sure the type passed in is really
3943 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
3948 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
3952 * gst-element-check.m4:
3953 * gst-element-check.m4.in:
3954 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
3955 instead of the unversioned gst-inspect (#324176, #168659).
3957 2006-07-06 Wim Taymans <wim@fluendo.com>
3960 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
3963 2006-07-06 Wim Taymans <wim@fluendo.com>
3965 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3966 (gst_base_src_wait), (gst_base_src_update_length),
3967 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
3968 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
3969 (gst_base_src_loop), (gst_base_src_start),
3970 (gst_base_src_activate_pull):
3972 blocksize == 0 now means the default blocksize when working in push
3974 Remove some pointless asserts in _wait function.
3975 Fix offset/length calculations and EOS handling. We can now pull 0
3976 bytes as well, which is allowed.
3977 use _check_get_range() to decide if we can operate in _pull based
3979 Fix refcounting leak when check_get_range function was not
3981 API GstBaseSrc::blocksize range can be 0 too now (default)
3983 * tests/check/elements/filesrc.c: (GST_START_TEST),
3985 Added check to test _get_range() behaviour.
3987 2006-07-06 Wim Taymans <wim@fluendo.com>
3989 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
3990 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
3991 (gst_pad_pull_range):
3993 Lots of comments and docs added to the pad functions.
3994 Flesh out the expected behaviour of the get_range() functions.
3996 2006-07-06 Wim Taymans <wim@fluendo.com>
4001 * gst/gstiterator.h:
4005 Remove comma at end of enumerator list.
4007 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4009 * win32/common/libgstbase.def:
4010 * win32/common/libgstdataprotocol.def:
4011 * win32/common/libsgtreamer.def:
4012 Add new exported functions.
4014 2006-07-05 Wim Taymans <wim@fluendo.com>
4016 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4017 Add some more docs here and there.
4019 2006-07-05 Wim Taymans <wim@fluendo.com>
4021 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4022 (gst_base_sink_loop), (gst_base_sink_get_position):
4023 When operating in pull mode update the offset so that we
4026 2006-07-05 Wim Taymans <wim@fluendo.com>
4028 * gst/gstregistryxml.c: (read_string):
4029 Avoid strdup. (will happen in libxml, but hey!)
4034 2006-07-05 Wim Taymans <wim@fluendo.com>
4036 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4037 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4039 No point in checking if the size of the subbuffer > 0, the
4040 code handles it correclty as demonstrated by unit test.
4041 Also add a unit test for the zero sized _new_and_alloc and
4042 _copy. Fixes #346663.
4044 2006-07-05 Wim Taymans <wim@fluendo.com>
4046 * libs/gst/base/gstbasetransform.c:
4047 (gst_base_transform_prepare_output_buffer),
4048 (gst_base_transform_buffer_alloc),
4049 (gst_base_transform_handle_buffer):
4050 Make sure the buffer we pass to transform_ip has a refcount of
4051 1 and thus is writable. Fixes #343196
4053 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4055 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4056 (gst_file_src_init), (gst_file_src_set_property),
4057 (gst_file_src_get_property), (gst_file_src_map_region):
4058 * plugins/elements/gstfilesrc.h:
4059 Add "sequential" property, off by default, to use madvise and hint
4060 to the kernel that sequential access is desired.
4061 Touch all retrieved pages by default to ensure they are pulled
4062 into memory. (Closes #345720)
4064 2006-07-03 Wim Taymans <wim@fluendo.com>
4066 * docs/design/part-block.txt:
4067 * docs/design/part-dynamic.txt:
4070 2006-07-03 Wim Taymans <wim@fluendo.com>
4072 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4073 (gst_caps_unref), (gst_static_caps_get),
4074 (gst_caps_append_structure):
4075 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4076 Use GSlice when the glib we build against is >= 2.10
4078 2006-07-03 Wim Taymans <wim@fluendo.com>
4080 * gst/gstelement.c: (gst_element_pads_activate):
4081 Small cleanup in pad activation code.
4083 2006-07-03 Wim Taymans <wim@fluendo.com>
4085 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4087 * gst/gst-i18n-app.h:
4088 * gst/gst-i18n-lib.h:
4089 * tools/gst-inspect.c: (print_signal_info):
4090 The attached patch will make the inclusion of gettext.h unconditional in
4091 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4092 libintl.h in tools/gst-inspect.c.
4093 This allows use of --disable-nls again and fixes #344642.
4095 2006-07-03 Edward Hervey <edward@fluendo.com>
4097 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4098 Implement pad blocking on events according to part-block.txt.
4099 More comments on behaviour.
4100 * tests/check/gst/gstevent.c: (test_event):
4101 Send event to peer pad of blocked pad (else it will block).
4103 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4105 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4106 (gst_check_run_suite):
4107 if we get the wrong message, give us the types as string
4108 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4110 * tests/check/elements/filesrc.c: (GST_START_TEST):
4111 add a test for trying to open a non-existing file
4113 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4115 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4116 add a test for adding self
4118 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4120 * libs/gst/check/gstcheck.h:
4121 add some assert_ as alias for fail_unless_*
4122 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4123 increase test coverage
4125 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4128 include lcov.mak for lcov coverage generation
4129 * tools/Makefile.am:
4132 2006-07-02 Edward Hervey <edward@fluendo.com>
4134 * tests/check/elements/.cvsignore:
4137 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4140 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4141 * tests/check/Makefile.am:
4144 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4146 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4147 remove gst_caps_simplify; it was not declared and not used
4148 and deprecated in 0.8
4150 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4152 * docs/faq/gst-uninstalled:
4153 don't put empty paths on PYTHONPATH
4154 * docs/gst/gstreamer-sections.txt:
4155 remove some symbols that are not there
4157 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4159 * gst/gstcaps.c: (gst_caps_compare_structures):
4161 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4162 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4165 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4167 * libs/gst/dataprotocol/Makefile.am:
4168 build dataprotocol test by linking to the lib, instead of
4169 compiling the source, so we get coverage
4170 * tests/check/Makefile.am:
4171 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4172 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4173 add a test for filesrc
4175 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4177 * tests/check/gst/gststructure.c: (GST_START_TEST),
4178 (gst_structure_suite):
4179 Push coverage from 59.04% to 70.00%
4181 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4183 * tests/check/Makefile.am:
4184 gst-inspect every element; this makes sure that we also get
4185 coverage on element's get/set functions
4187 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4190 set CFLAGS and friends to -O0 if gcov is being used
4193 * libs/gst/base/Makefile.am:
4194 * libs/gst/check/Makefile.am:
4195 * libs/gst/controller/Makefile.am:
4196 * libs/gst/dataprotocol/Makefile.am:
4197 * libs/gst/net/Makefile.am:
4198 * plugins/elements/Makefile.am:
4199 * plugins/indexers/Makefile.am:
4200 add makefile rules to generate gcov data and clean up
4201 * tests/check/Makefile.am:
4202 add a coverage target that generates an html overview
4205 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4207 * tests/check/elements/fakesink.c:
4208 * tests/check/elements/fakesrc.c:
4209 * tests/check/elements/fdsrc.c:
4210 * tests/check/elements/identity.c:
4211 * tests/check/generic/sinks.c: (gst_sinks_suite):
4212 * tests/check/generic/states.c:
4213 * tests/check/gst/gst.c:
4214 * tests/check/gst/gstabi.c:
4215 * tests/check/gst/gstbin.c:
4216 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4217 * tests/check/gst/gstbus.c: (gst_bus_suite):
4218 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4219 * tests/check/gst/gstelement.c:
4220 * tests/check/gst/gstevent.c: (gst_event_suite):
4221 * tests/check/gst/gstghostpad.c:
4222 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4223 * tests/check/gst/gstmessage.c: (gst_message_suite):
4224 * tests/check/gst/gstminiobject.c:
4225 * tests/check/gst/gstobject.c:
4226 * tests/check/gst/gstpad.c:
4227 * tests/check/gst/gstpipeline.c:
4228 * tests/check/gst/gstplugin.c:
4229 * tests/check/gst/gstquery.c: (gst_query_suite):
4230 * tests/check/gst/gstsegment.c: (gst_segment_suite):
4231 * tests/check/gst/gststructure.c:
4232 * tests/check/gst/gstsystemclock.c:
4233 * tests/check/gst/gsttag.c:
4234 * tests/check/gst/gsttask.c: (gst_task_suite):
4235 * tests/check/gst/gstutils.c:
4236 * tests/check/gst/gstvalue.c:
4237 * tests/check/libs/adapter.c:
4238 * tests/check/libs/basesrc.c:
4239 * tests/check/libs/collectpads.c:
4240 * tests/check/libs/controller.c:
4241 * tests/check/libs/gdp.c: (gst_dp_suite):
4242 * tests/check/libs/gstnetclientclock.c:
4243 * tests/check/libs/gstnettimeprovider.c:
4244 * tests/check/libs/libsabi.c: (libsabi_suite):
4245 * tests/check/libs/typefindhelper.c:
4246 * tests/check/pipelines/cleanup.c:
4247 * tests/check/pipelines/parse-launch.c:
4248 * tests/check/pipelines/simple-launch-lines.c:
4249 * tests/check/pipelines/stress.c: (stress_suite):
4252 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4254 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4255 * libs/gst/check/gstcheck.h:
4256 create a macro and function so that the simple unit test
4257 case can be just one macro to create main()
4259 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
4261 * gst/gstbin.c: (gst_bin_restore_thyself):
4262 * gst/gstxml.c: (gst_xml_make_element):
4263 Fix deserialisation from XML. Set parent manually
4264 instead of using gst_bin_add(), since gst_bin_add()
4265 will unlink all pads of the element being added.
4268 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
4270 Patch by: Peter Kjellerstedt <pkj at axis com>
4272 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4273 Fix missing g_strdup() and double free when using the
4274 --gst-plugin-load command line option (#346097).
4276 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4279 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4281 * libs/gst/net/gstnetclientclock.c:
4282 * libs/gst/net/gstnettimeprovider.c:
4283 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4285 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4287 * docs/manual/advanced-dataaccess.xml:
4288 Fix buffer probe example compilation in
4291 2006-06-22 Edward Hervey <edward@fluendo.com>
4293 * gst/gstelement.c: (gst_element_pads_activate):
4294 We need to deactivate src pads first and then sink pads.
4295 The reason is the src pads might be blocking while holding the streaming
4296 lock, so we need to deactivate them first so that deactivating the sink
4297 pads doesn't block (since it will require the streaming lock).
4299 2006-06-22 Wim Taymans <wim@fluendo.com>
4301 * libs/gst/base/gstbasetransform.c:
4302 (gst_base_transform_buffer_alloc):
4303 Forgot to remove two unneeded unrefs.
4304 Simplify a check _is_equal allready checks the obvious case.
4306 2006-06-22 Wim Taymans <wim@fluendo.com>
4308 * docs/design/part-block.txt:
4309 Some docs about what pad_block should do.
4311 2006-06-22 Wim Taymans <wim@fluendo.com>
4313 * gst/gstcaps.c: (gst_caps_replace):
4314 Fix crasher when passed NULL. Doc clarification.
4315 Optimize for the trivial case.
4317 * gst/gstpipeline.c: (gst_pipeline_change_state):
4320 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4321 Small documentation cleanup.
4323 * libs/gst/base/gstbasetransform.c:
4324 (gst_base_transform_buffer_alloc):
4325 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4326 is what we need and it avoids a whole lot of redundant
4327 refcount operations.
4329 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
4331 Patch by: Philip Jägenstedt <philip at lysator liu se>
4333 * docs/manual/advanced-dataaccess.xml:
4334 Fix 'Embedding static elements' section to use
4335 GST_PLUGIN_DEFINE_STATIC (#345607).
4337 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4339 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4340 Attempt to 'fix' spuriously failing test case: it seems like the
4341 timeout of half a second is simply too small when the system is under
4342 load otherwise, and the timeout doesn't really seem to serve any
4343 particular purpose here. Give the pipeline a few seconds to preroll
4344 first, and then give it another half a second to go from PAUSED to
4345 PLAYING and marshal the message into the main thread.
4347 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4349 * tools/gst-feedback-m.m:
4350 Don't only use unversioned tools, try versioned tools as well
4353 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4355 * gst/gstbus.c: (gst_bus_class_init):
4356 Fix some typos, make docs more explicit.
4358 2006-06-20 Wim Taymans <wim@fluendo.com>
4360 * tests/check/gst/gstghostpad.c: (block_callback),
4361 (GST_START_TEST), (gst_ghost_pad_suite):
4362 Added some more ghostpad tests, mainly blocking
4365 2006-06-16 Wim Taymans <wim@fluendo.com>
4367 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4368 (gst_file_sink_close_file), (gst_file_sink_do_seek),
4369 (gst_file_sink_event), (gst_file_sink_render):
4370 * plugins/elements/gstfilesink.h:
4371 Check if we can seek in the file instead of assuming
4372 we always can. Post an error when we are asked to seek in a
4373 non-seekable file (like a fifo). Fixes #343312.
4376 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4378 * tools/gst-launch.1.in:
4379 Un-garble (fourcc) bit in filtered caps section.
4381 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4383 * docs/manual/advanced-autoplugging.xml:
4384 * docs/manual/basics-helloworld.xml:
4385 * docs/manual/highlevel-components.xml:
4386 Don't leak bus reference in sample code.
4388 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
4391 Add default for new --enable-plugin-docs switch.
4394 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
4398 Use new ENABLE_PLUGIN_DOCS conditional.
4400 2006-06-14 Wim Taymans <wim@fluendo.com>
4402 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
4403 Make it clear with a FIXME and a real define what the #if 0
4404 previously disabled.
4406 2006-06-14 Wim Taymans <wim@fluendo.com>
4408 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4409 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
4410 * libs/gst/base/gstbasetransform.c:
4411 (gst_base_transform_sink_eventfunc):
4412 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4413 Don't randomly and silently reset a segment when the format
4414 changes as this is a bug somewhere upstream. Fixes #330379.
4416 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
4418 Patch by: Wouter Paesen <wouter at kangaroot net>
4420 * libs/gst/controller/gstcontroller.c:
4421 (gst_controlled_property_new):
4422 Fix controlling of float properties (#344849).
4424 * tests/check/libs/controller.c:
4425 (gst_test_mono_source_get_property),
4426 (gst_test_mono_source_set_property),
4427 (gst_test_mono_source_class_init), (GST_START_TEST):
4428 While we're at it, add some float stuff to unit test.
4430 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
4433 * docs/images/gdp-header.svg:
4435 * docs/libs/Makefile.am:
4436 * docs/libs/gdp-header.png:
4437 * libs/gst/dataprotocol/dataprotocol.c:
4438 add it to the API docs
4439 * docs/manual/intro-motivation.xml:
4442 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
4444 * gst/gst.c: (scan_and_update_registry), (init_post):
4445 If the fork()'ed child process can't write the updated registry cache
4446 file to disk for some reason, make it exit with a failure exit code,
4447 so that the parent can then re-scan the plugins itself and update the
4448 registry structures in memory and work with that (rather than failing
4449 when creating elements because seemingly no plugins are available).
4450 Refactor registry scanning code into separate function for this and
4451 also separate fork() and non-fork() code paths. Fixes #344748.
4453 2006-06-13 Wim Taymans <wim@fluendo.com>
4455 * docs/manual/advanced-dataaccess.xml:
4456 Fix wrong PluginDesc. Fixes #344755.
4458 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
4460 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
4461 Fix silly bug that prevented us from creating
4462 ~/.gstreamer-0.10 and writing the registry in one
4463 go (the first call to g_mkstemp() would overwrite the
4464 placeholder in the template string, so the second call
4465 to g_mkstemp() after creating the missing directory
4466 would then error out with 'invalid argument').
4468 2006-06-13 Edward Hervey <edward@fluendo.com>
4470 * gst/gst.c: (init_post):
4473 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
4475 * gst/glib-compat-private.h:
4476 * gst/glib-compat.c:
4477 * gst/glib-compat.h:
4478 * gst/gstvalue.c: (gst_value_serialize_flags):
4479 remove GLib 2.6 compatibility code
4481 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
4483 * gst/parse/Makefile.am:
4484 Fix build with 'make -j N' even more (#340016).
4486 2006-06-12 Wim Taymans <wim@fluendo.com>
4488 * docs/gst/gstreamer-sections.txt:
4491 2006-06-12 Wim Taymans <wim@fluendo.com>
4493 * gst/gstsegment.c: (gst_segment_set_duration),
4494 (gst_segment_set_last_stop), (gst_segment_set_seek),
4495 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4496 (gst_segment_to_running_time), (gst_segment_clip):
4497 Use G_UNLIKELY to help the compiler a bit.
4499 2006-06-12 Wim Taymans <wim@fluendo.com>
4501 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4503 * gst/gstevent.c: (gst_event_get_type):
4505 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4507 constify quark registration strings. Fixes #344115
4508 Avoid unneeded type checking is _pad_push() by internally
4509 calling gst_pad_chain_unchecked().
4511 2006-06-12 Wim Taymans <wim@fluendo.com>
4513 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
4514 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
4515 (gst_subbuffer_finalize), (gst_buffer_create_sub),
4516 (gst_buffer_is_span_fast), (gst_buffer_span):
4517 Init _type for consistency.
4518 Use _FLAGS macro to avoid type check.
4519 Avoid unneeded type checks in subbufer code.
4521 2006-06-12 Wim Taymans <wim@fluendo.com>
4523 * gst/gst.c: (gst_debug_help):
4524 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
4525 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4526 (gst_plugin_feature_list_free):
4527 * gst/gstregistry.c: (gst_registry_add_plugin),
4528 (gst_registry_add_feature), (gst_registry_plugin_filter),
4529 (gst_registry_feature_filter), (gst_registry_find_plugin),
4530 (gst_registry_find_feature), (gst_registry_get_plugin_list),
4531 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
4532 * gst/gstregistryxml.c: (load_feature),
4533 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
4534 * gst/gstminiobject.c: (gst_mini_object_unref),
4535 (gst_mini_object_replace), (gst_value_mini_object_free),
4536 (gst_value_mini_object_copy):
4537 Use _CAST macros to avoid unneeded type checking.
4538 Added some more G_UNLIKELY.
4540 2006-06-12 Wim Taymans <wim@fluendo.com>
4543 Avoid unneeded type checking.
4544 API: GST_BUFFER_IS_DISCONT
4546 * gst/gstminiobject.h:
4547 Avoid type check in flag accessor.
4549 * gst/gstelementfactory.h:
4551 * gst/gstpluginfeature.h:
4553 API: GST_ELEMENT_FACTORY_CAST
4554 API: GST_PLUGIN_CAST
4555 API: GST_PLUGIN_FEATURE_CAST
4557 2006-06-12 Wim Taymans <wim@fluendo.com>
4559 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
4561 Add G_UNLIKELY in type registration.
4562 Avoid type check in _ref/_unref since that is also
4565 2006-06-12 Wim Taymans <wim@fluendo.com>
4567 * gst/gsterror.c: (gst_g_error_get_type):
4568 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4569 (gst_static_pad_template_get_type):
4570 * gst/gsttaglist.c: (gst_tag_list_get_type):
4571 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
4572 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
4573 * gst/gsturi.c: (gst_uri_handler_get_type):
4574 * gst/gstvalue.c: (gst_date_get_type):
4575 * gst/gstxml.c: (gst_xml_get_type):
4576 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4577 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
4578 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
4579 Add G_UNLIKELY in type registration.
4581 2006-06-12 Wim Taymans <wim@fluendo.com>
4583 * tools/gst-inspect.c: (print_signal_info):
4584 Properly print enum values.
4586 2006-06-12 Wim Taymans <wim@fluendo.com>
4588 * gst/gstinfo.c: (gst_debug_set_active),
4589 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
4591 Add some G_[UN]LIKELY.
4592 Maintain __gst_debug_min to avoid formatting the arguments of
4593 debug messages that will be dropped anyway to avoid a lot of
4594 overhead from the debugging system.
4596 2006-06-11 Stefan Kost <ensonic@users.sf.net>
4600 add missing files containing translatable strings, tell intltool about
4603 2006-06-11 Stefan Kost <ensonic@users.sf.net>
4605 * tests/check/libs/.cvsignore:
4606 add test-binary to ignore list
4608 2006-06-11 Stefan Kost <ensonic@users.sf.net>
4610 * docs/libs/gstreamer-libs-docs.sgml:
4611 reorder (put dp into a chapter) and indent
4613 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
4618 === release 0.10.8 ===
4620 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
4623 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
4625 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
4627 * gst/gst.c: (init_post):
4628 move pid declaration to declaration block
4630 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
4632 * gst/gst.c: (init_post):
4633 use _exit() instead of exit() in our forked child; this ensures
4634 that none of the registered exit handlers from whatever is using
4635 GStreamer get executed. This fixes gnome-mixer-applet failing
4636 to load, because ORBit would shut down.
4637 Spotted by: Edward Hervey <edward@fluendo.com>
4638 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
4641 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4646 === release 0.10.7 ===
4648 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4651 releasing 0.10.7, "Soepeke, ik zie ou"
4653 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
4676 * win32/common/config.h:
4679 2006-06-07 Wim Taymans <wim@fluendo.com>
4681 * gst/gstindex.c: (gst_index_gtype_resolver):
4682 * tools/gst-xmlinspect.c: (print_plugin_info):
4683 Fix leak spotted by coverity checker. Fixes #343827
4684 Fix another other leak found by paolo borelli.
4686 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
4688 * libs/gst/dataprotocol/dataprotocol.c:
4689 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4690 (gst_dp_version_get_type), (gst_dp_init),
4691 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
4692 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
4693 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
4694 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
4695 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
4696 (gst_dp_packetizer_free):
4697 * libs/gst/dataprotocol/dataprotocol.h:
4698 API: add a GstDPPacketizer object, and create/free functions
4699 API: add GstDPVersion enum
4700 Add 1.0 event function that uses the string serialization
4701 Serialize more useful buffer flags
4704 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
4706 * tests/check/Makefile.am:
4707 * tests/check/gst/gstabi.c:
4708 * tests/check/gst/struct_ppc64.h:
4709 * tests/check/libs/libsabi.c:
4710 * tests/check/libs/struct_ppc64.h:
4711 add ppc64 structure sizes
4713 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
4715 * tests/check/Makefile.am:
4716 * tests/check/gst/gstabi.c:
4717 * tests/check/gst/struct_x86_64.h:
4718 * tests/check/libs/libsabi.c:
4719 * tests/check/libs/struct_x86_64.h:
4720 generate and add structure size lists for x86_64
4722 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
4724 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4725 * libs/gst/check/gstcheck.h:
4726 factor out the method from tests that checks size of structures,
4727 and add code to generate the header containing these sizes
4728 * tests/check/gst/gstabi.c: (GST_START_TEST):
4729 * tests/check/gst/struct_i386.h:
4730 * tests/check/libs/libsabi.c: (GST_START_TEST):
4731 * tests/check/libs/struct_i386.h:
4734 2006-06-06 Michael Smith <msmith@fluendo.com>
4737 Don't use c++-style comments, fixes #343929
4739 2006-06-05 Edward Hervey <edward@fluendo.com>
4742 plugin_paths is not used if we build without registry support.
4744 * gst/gstsegment.c: (gst_segment_copy):
4745 _copy() was always returning NULL...
4747 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
4749 * libs/gst/dataprotocol/dataprotocol.c:
4750 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4751 (gst_dp_packet_from_event):
4754 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
4756 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
4757 make sure we unset caps
4759 2006-06-02 Michael Smith <msmith@fluendo.com>
4761 * libs/gst/check/gstcheck.c: (gst_check_init),
4762 (gst_check_chain_func):
4763 * libs/gst/check/gstcheck.h:
4764 Add a cond/mutex to the check support lib, signal this whenever we
4765 add to the buffers list. This will allow tests to not busy-wait on
4768 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
4770 * libs/gst/dataprotocol/dataprotocol.c:
4771 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4772 (gst_dp_packet_from_event):
4773 factor out some common header init code
4775 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
4777 * docs/libs/gstreamer-libs-sections.txt:
4778 * docs/libs/tmpl/gstdataprotocol.sgml:
4779 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
4780 * libs/gst/dataprotocol/dataprotocol.h:
4781 API: make gst_dp_crc() public
4783 2006-06-01 Stefan Kost <ensonic@users.sf.net>
4785 * plugins/indexers/gstindexers.c: (plugin_init):
4786 conditionally register fileindexer (fixes #343598)
4788 2006-06-01 Stefan Kost <ensonic@users.sf.net>
4790 * gst/gsttagsetter.h:
4791 Can't cast ifaces to a class
4793 * libs/gst/net/gstnetclientclock.h:
4794 * libs/gst/net/gstnettimeprovider.h:
4795 * plugins/elements/gstfakesink.h:
4796 * plugins/elements/gstfakesrc.h:
4797 * plugins/elements/gstfdsink.h:
4798 * plugins/elements/gstfdsrc.h:
4799 * plugins/elements/gstfilesink.h:
4800 * plugins/elements/gstfilesrc.h:
4801 * plugins/elements/gstidentity.h:
4802 * plugins/elements/gstqueue.h:
4803 * plugins/elements/gsttee.h:
4804 * plugins/indexers/gstfileindex.c:
4805 * plugins/indexers/gstmemindex.c:
4806 * tests/old/examples/plugins/example.h:
4807 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
4809 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
4811 * libs/gst/dataprotocol/dataprotocol.c:
4812 (gst_dp_header_from_buffer):
4813 make sure we zero the whole ABI-compatible area
4815 2006-06-01 Wim Taymans <wim@fluendo.com>
4817 Patch by: Alessandro Decina <alessandro at nnva dot org>
4819 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
4820 Make sure the EOS flag is cleared from pads after a flush
4821 or stop. Fixes #343538.
4823 * tests/check/libs/collectpads.c: (GST_START_TEST),
4824 (gst_collect_pads_suite):
4825 Added test for collectpads reusage after EOS.
4827 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
4830 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
4831 * win32/common/libgstbase.def:
4832 export gst_collect_pads_set_flushing
4833 * win32/common/libgstreamer.def:
4834 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
4835 gst_value_fraction_multiply
4836 * win32/vs6/gst_inspect.dsp:
4837 add a link to intl.lib
4839 2006-05-30 Wim Taymans <wim@fluendo.com>
4841 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4842 (gst_collect_pads_chain):
4843 Handle the case where a pad is removed from the collection
4844 that could cause the other pads to become collectable.
4846 2006-05-30 Wim Taymans <wim@fluendo.com>
4849 Clarify the use of _release_request_pad() and
4850 _get_request_pad() a bit better.
4852 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
4853 (gst_adapter_take_buffer):
4854 Fix some doc and comment typos.
4856 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4858 * docs/gst/gstreamer-sections.txt:
4859 * docs/libs/gstreamer-libs-sections.txt:
4860 add declared symbols
4862 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
4864 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
4865 Add debug that can be enabled using a #define at the top of the file,
4866 for dumping stats about how late/early we were when waking up from
4867 waiting on the clock.
4869 2006-05-30 Wim Taymans <wim@fluendo.com>
4871 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
4872 When rebuilding the pad list, don't leak the previous list.
4874 2006-05-30 Wim Taymans <wim@fluendo.com>
4876 Patch by: Lutz Mueller <lutz at topfrose dot de>
4878 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4879 (gst_base_src_get_query_types), (gst_base_src_update_length):
4880 Publish supported query types.
4881 Update last_stop field in get_range mode so the position
4882 query works. Fixes #342321.
4884 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
4886 * docs/gst/gstreamer-sections.txt:
4887 * gst/gsttaglist.c: (_gst_tag_initialize):
4889 API: add GST_TAG_PREVIEW_IMAGE (#343341).
4891 2006-05-30 Wim Taymans <wim@fluendo.com>
4893 Patch by: Alessandro Decina <alessandro at nnva dot org>
4895 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4896 Unlock mutex when removing an unknown pad.
4899 * tests/check/Makefile.am:
4900 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
4901 (push_event), (setup), (teardown), (GST_START_TEST),
4902 (gst_collect_pads_suite), (main):
4903 Added collecpads check, disabled for now as check crashes for
4906 2006-05-29 Wim Taymans <wim@fluendo.com>
4908 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
4909 Don't leak pads lists.
4911 2006-05-29 Wim Taymans <wim@fluendo.com>
4913 * docs/libs/gstreamer-libs-sections.txt:
4914 * libs/gst/base/gstcollectpads.c:
4915 (gst_collect_pads_set_flushing_unlocked),
4916 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
4917 (gst_collect_pads_stop):
4918 * libs/gst/base/gstcollectpads.h:
4919 API: gst_collect_pads_set_flushing()
4920 Added api to set the pads to flushing, useful for seeking
4921 code in elements using collectpads.
4922 Clear segment when receiving a flush.
4924 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
4926 * gst/gst.c: (add_path_func), (init_post):
4927 Don't scan registry paths passed via --gst-plugin-path immediately
4928 (will crash, because absolutely nothing is set up and no types are
4929 registered etc.); do this later in init_post(). Fixes #343057.
4931 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
4933 * gst/gst.c: (init_post):
4934 if we have fork, fork while reading/rebuilding the registry
4935 so the parent doesn't take the hit of having all plugins loaded
4936 in memory. Fixes #342777.
4938 Check if we have fork()
4939 * win32/common/config.h.in:
4942 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
4944 * plugins/elements/gstelements.c:
4945 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4946 (gst_file_src_init), (gst_file_src_set_property),
4947 (gst_file_src_get_property), (gst_file_src_start):
4948 * plugins/elements/gstfilesrc.h:
4949 API: GstFileSrc::use-mmap
4951 Add a use-mmap property to enable easier testing of all code paths.
4952 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
4953 in the absence of gnomevfssrc. (Closes #340501)
4955 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4957 * tools/gst-inspect.c:
4958 Add missing include, removes warning of ngettext not being defined on
4961 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
4963 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4964 Handle NULL input and output pointers silently as a failed conversion,
4965 rather than g_warnings.
4967 2006-05-25 Wim Taymans <wim@fluendo.com>
4969 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
4970 Initialize variable before using. Fixes #342820.
4972 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
4974 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
4975 Fix off-by-one bug that would only allow peeks of N-1 bytes
4976 from the start even if the buffer to typefind on contains
4977 in fact N bytes of data (makes vorbis typefinding from a
4978 vorbis identification header buffer work).
4980 * tests/check/Makefile.am:
4981 * tests/check/libs/.cvsignore:
4982 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
4983 (gst_typefindhelper_suite), (main), (foobar_typefind),
4985 Add very basic unit test for gst_type_find_helper_for_buffer()
4986 that checks for the problem fixed above.
4988 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
4990 * tools/gst-inspect.c: (print_interfaces),
4991 (print_element_properties_info), (print_element_list), (main):
4992 add more translatable strings
4994 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
4996 Patch by: Julien Moutte <julien at moutte net>
4998 * docs/gst/gstreamer-sections.txt:
4999 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5001 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5002 (gst_fake_sink_preroll):
5003 * plugins/elements/gstfakesink.h:
5004 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5006 2006-05-23 Wim Taymans <wim@fluendo.com>
5008 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5010 Added _CUSTOM error and success GstFlowReturn that can be
5011 used be elements internally.
5012 Added macro to check for SUCCESS flowreturns.
5013 API: GST_FLOW_CUSTOM_SUCCESS
5014 API: GST_FLOW_CUSTOM_ERROR
5015 API: GST_FLOW_IS_SUCCESS
5017 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5018 Added check for GstFlowReturn sanity.
5020 2006-05-23 Wim Taymans <wim@fluendo.com>
5022 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5024 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5025 (gst_collect_pads_event):
5026 clear/reset segment info in FLUSH_STOP.
5029 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5031 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5032 (gst_collect_pads_check_collected):
5033 Flush queued buffer on _stop(), fixes playing again (#342454)
5035 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5037 * tests/check/gst/gststructure.c: (GST_START_TEST),
5038 (gst_structure_suite):
5039 add a test for a complete structure
5041 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5043 * docs/faq/developing.xml:
5045 * docs/faq/troubleshooting.xml:
5046 * docs/faq/using.xml:
5047 Some minor FAQ updates that won't change the fact that
5048 our FAQ is badly structured, full of information hardly
5049 anyone new to GStreamer needs to know and lacking lots
5050 of information people constantly ask for.
5052 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5054 * gst/gstpad.c: (gst_pad_set_caps):
5055 Short-circuit gst_pad_set_caps if setting the existing
5056 caps pointer again, and avoid printing debug and
5057 reffing/unreffing the caps.
5059 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5060 There's actually no need to set the caps before pushing -
5061 the acceptcaps method will handle it anyway.
5063 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5065 * docs/gst/gstreamer-sections.txt:
5066 * win32/common/libgstreamer.def:
5067 * gst/gstutils.c: (gst_element_seek_simple):
5069 API: add gst_element_seek_simple() (#342238).
5071 2006-05-18 Edward Hervey <edward@fluendo.com>
5073 * gst/gsttypefind.c: (gst_type_find_get_type):
5074 * gst/gsttypefind.h:
5075 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5076 registered for GstTypeFind pointers. This allows wrapping the structure
5077 in bindings (i.e. gst-python).
5079 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5081 * gst/gsttagsetter.c:
5082 Docs additions and fixes (see #339918).
5084 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5086 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5087 The caps intersection algorithm can produce multiple copies of the
5088 caps. Until that is fixed, we need to simplify the result to be
5089 sure whether the allowed caps are fixed or not.
5091 * plugins/elements/gstqueue.c: (gst_queue_init),
5092 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5093 (gst_queue_push_one):
5094 Proxied buffer alloc should not set the caps on the source pad.
5095 When pushing buffers, we always accept the caps change that triggers.
5096 This prevents negotiation errors caused by caps changing mid-stream
5097 and then being refused on our source pad (because upstream is now
5098 refusing those caps).
5100 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5102 * tests/examples/helloworld/helloworld.c: (main):
5103 Must plug audioconvert and audioresample between decoder
5106 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5108 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5109 (load_feature), (load_plugin):
5110 Allow empty strings for some of the plugin fields so we don't
5111 drop valid plugin entries that were written out correctly
5114 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5116 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5117 Use g_remove and g_rename instead of remove and rename that don't
5118 handle utf8 characters. rename was failing for users who had specific
5119 characters in their name then the registry was built at each
5121 * win32/vs6/gst_inspect.dsp:
5122 * win32/vs6/gst_launch.dsp:
5123 * win32/vs6/libgstbase.dsp:
5124 * win32/vs6/libgstcoreelements.dsp:
5125 * win32/vs6/libgstreamer.dsp:
5126 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5127 build of libgstreamer and clean unused libraries in projects link
5130 2006-05-17 Edward Hervey <edward@fluendo.com>
5132 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5133 The queue is not responsible for pushing an EOS when receiving a fatal
5134 flow error. It's up to the real element driving the pipeline to do that.
5136 2006-05-16 Edward Hervey <edward@fluendo.com>
5138 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5139 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5140 buffer returned a fatal error. It should just send an EOS and stop
5142 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5143 when pushing buffers on the queue and will be able to handle the event.
5145 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5147 * docs/manual/basics-bins.xml:
5148 * docs/manual/basics-init.xml:
5149 Fix typos and minor errors in sample code (#341856).
5151 2006-05-16 Wim Taymans <wim@fluendo.com>
5153 * docs/design/part-qos.txt:
5154 Fix indexes in formulas to make more sense.
5156 2006-05-15 Wim Taymans <wim@fluendo.com>
5158 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5159 Don't report POSITION based on clock time if sync is
5162 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5165 Add cast to make compiler happy - refcount variable was a gint
5166 in GstObject but is a guint in GObject and g_atomic_int_get()
5169 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5171 * gst/parse/Makefile.am:
5172 chain commands using &&, which also makes parallel make work
5174 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5176 * docs/gst/gstreamer-sections.txt:
5182 === release 0.10.6 ===
5184 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5187 releasing 0.10.6, "Take the cannoli"
5189 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5191 * tools/gst-launch.c: (print_tag):
5192 Fix use of uninitialized variable in the hypothetical
5193 case that some broken plugin creates a GST_TAG_IMAGE
5194 tag containing a NULL buffer (#341667).
5196 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5198 * tools/gst-launch.c: (print_tag):
5199 Print something more intelligible for image tags when
5200 using the -t switch (#341556).
5202 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
5207 define GST_MAJORMINOR so we have it available in win32/common/config.h
5208 Possibly remove it from our Makefile.am files later
5209 * win32/common/config.h:
5210 * win32/common/config.h.in:
5211 added GST_MAJORMINOR
5212 * win32/common/gstenumtypes.c: (register_gst_resource_error):
5213 * win32/common/gstversion.h:
5216 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
5219 Update win32 files listing.
5220 * win32/common/gstversion.h:
5221 Add GST_MAJORMINOR definition.
5222 * win32/common/libgstreamer.def:
5223 Add new exported functions.
5225 2006-05-12 Michael Smith <msmith@fluendo.com>
5227 * gst/gstplugin.c: (gst_plugin_load_file):
5228 If an so file has no plugin entry point, unload the module.
5230 2006-05-11 Wim Taymans <wim@fluendo.com>
5232 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5233 (gst_queue_set_property):
5234 Don't forget to signal the _chain or _loop function
5235 when the queue size or thresholds change since that might
5236 cause them to make progres again.
5238 2006-05-11 Stefan Kost <ensonic@users.sf.net>
5240 * gst/gstclock.c: (gst_clock_class_init):
5241 * gst/gstindex.c: (gst_index_class_init):
5242 * gst/gstobject.c: (gst_object_class_init):
5243 * gst/gstpad.c: (gst_pad_class_init):
5244 * gst/gstpipeline.c: (gst_pipeline_class_init):
5245 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5246 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5247 * libs/gst/base/gstbasetransform.c:
5248 (gst_base_transform_class_init):
5249 * libs/gst/net/gstnetclientclock.c:
5250 (gst_net_client_clock_class_init):
5251 * libs/gst/net/gstnettimeprovider.c:
5252 (gst_net_time_provider_class_init):
5253 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5254 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5255 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5256 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5257 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5258 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5259 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5260 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5261 * plugins/elements/gsttee.c: (gst_tee_class_init):
5262 * tests/old/examples/plugins/example.c: (gst_example_class_init):
5263 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5264 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5266 2006-05-11 Wim Taymans <wim@fluendo.com>
5268 * gst/gstbuffer.c: (_gst_buffer_initialize):
5269 Register subbufer along with the buffer type so that
5270 it does not accidentally gets registered from N
5271 different streaming threads in a non threadsafe way.
5273 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5278 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5279 gst_event_ref() and gst_message_ref() functions again
5280 (ugly hack, please do fix if there's a better way besides
5281 overrides.txt, which doesn't seem to work).
5283 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5285 * libs/gst/check/gstcheck.h:
5286 add an assert for setting state to avoid lots of repetitive code
5289 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5291 * gst/gstvalue.c: (gst_value_serialize_flags):
5292 fix a leak if no flags are set
5293 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5296 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5298 * docs/manual/basics-pads.xml:
5299 Expand a bit on caps and filtered links and update
5300 examples that were still using the no longer existing
5301 gst_pad_link_filtered() (#338206).
5303 2006-05-10 Wim Taymans <wim@fluendo.com>
5305 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5306 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5307 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5308 (gst_collect_pads_stop):
5309 * libs/gst/base/gstcollectpads.h:
5310 No need to call _stop in _finalize.
5311 Iterate the main pad list in _finalize.
5312 Added some more debug.
5313 Free lists and data in the right order.
5314 Also free data whem doing _remove_pad when stopped for
5315 backward compatibility protect ::started with PAD_LOCK as
5318 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5320 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5321 (gst_structure_parse_value):
5323 rename a method so that it actually says what it does better
5325 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5327 * gst/gstevent.c: (_gst_event_initialize):
5328 * gst/gstformat.c: (_gst_format_initialize):
5329 make sure some essential types used by events are registered
5330 as part of gst_init()
5331 * gst/gstvalue.c: (gst_value_serialize_flags):
5332 if no flags are set, serialize them to a value that represents NONE
5333 so that deserializing them works
5334 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5335 add tests for serialization and deserialization of flags
5337 2006-05-10 Wim Taymans <wim@fluendo.com>
5339 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5340 (gst_collect_pads_collect_range), (gst_collect_pads_available),
5341 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5342 (gst_collect_pads_event), (gst_collect_pads_chain):
5345 Catch and return errors from the collect function
5346 Refuse data on eos pads.
5348 2006-05-10 Edward Hervey <edward@fluendo.com>
5350 * gst/gstinterface.h:
5351 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5352 GInterface type checking.
5353 They were previously using non-defined macros.
5355 2006-05-09 Wim Taymans <wim@fluendo.com>
5357 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5358 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5359 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5360 (gst_collect_pads_start), (gst_collect_pads_stop),
5361 (gst_collect_pads_peek), (gst_collect_pads_pop),
5362 (gst_collect_pads_available), (gst_collect_pads_read),
5363 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5364 (gst_collect_pads_is_collected), (gst_collect_pads_event),
5365 (gst_collect_pads_chain):
5366 * libs/gst/base/gstcollectpads.h:
5367 Clean up the mess that is collectpads, add comments and
5368 FIXMEs where needed.
5369 Maintain a separate pad list so we can add pads while
5370 collecting the other ones. For this we need a new separate
5372 Fix memory leak in finalize.
5373 Refactor some weird code to set/unset pad flushing flags, mark
5375 Don't crash in _available, _read, _flush when we're EOS.
5377 * tests/check/libs/.cvsignore:
5378 Ignore adapter check binary.
5380 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5382 * gst/gstindex.c: (gst_index_resolver_get_type):
5383 * plugins/elements/gstfakesink.c:
5384 (gst_fake_sink_state_error_get_type):
5385 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5386 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
5387 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5388 Const-ify GEnumValue arrays.
5390 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5392 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5393 Add test case for flags + gst_buffer_make_metadata_writable().
5395 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5397 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
5398 gst_buffer_make_metadata_writable() should maintain the
5399 buffer flags (those that make sense at least) (see #340859).
5401 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5403 * tools/gst-inspect.c:
5404 * tools/gst-launch.c:
5405 * tools/gst-typefind.c:
5406 * tools/gst-xmlinspect.c:
5408 Fix up includes: need to include stdlib.h in tools.h for exit().
5410 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5412 * gst/gsttaglist.c: (_gst_tag_initialize):
5414 API: add GST_TAG_IMAGE tag (#340721).
5416 2006-05-08 Wim Taymans <wim@fluendo.com>
5419 Added some docs for the segment query.
5421 2006-05-08 Wim Taymans <wim@fluendo.com>
5423 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5424 (gst_base_src_loop), (gst_base_src_change_state):
5425 Always push non-flushing serialized events in the streaming
5428 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
5430 * gst/gsterror.c: (_gst_stream_errors_init):
5431 Add a missing error string.
5433 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
5435 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
5436 Add applied_rate to the debug
5438 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5439 Copy applied_rate into the outgoing NEWSEGMENT event
5441 2006-05-08 Wim Taymans <wim@fluendo.com>
5443 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
5445 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5446 (gst_base_sink_change_state):
5447 call ::unlock before taking the PREROLL_LOCK so we can safely
5448 handle elements that lock in ::render.
5451 2006-05-08 Edward Hervey <edward@fluendo.com>
5453 * autogen.sh: (CONFIGURE_DEF_OPT):
5454 Darwin's libtoolize is in fact called glibtoolize.
5455 Adding glibtoolize to the list of accepted names for libtoolize.
5457 2006-05-08 Wim Taymans <wim@fluendo.com>
5459 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5460 Unify error handling, don't post an error message
5461 when a push() returns EOS but perform our normal EOS
5462 handling code. Fixes #340772.
5464 2006-05-08 Wim Taymans <wim@fluendo.com>
5466 * docs/design/part-overview.txt:
5467 Make upsteam/downstream concepts more clear.
5468 Give an example of serialized/non-serialized events.
5470 * docs/design/part-events.txt:
5471 * docs/design/part-streams.txt:
5472 Mention applied_rate.
5474 * docs/design/part-trickmodes.txt:
5475 Mention applied rate, flesh out some more use cases.
5477 * gst/gstevent.c: (gst_event_new_new_segment),
5478 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
5479 (gst_event_parse_new_segment_full), (gst_event_new_tag),
5480 (gst_event_parse_tag), (gst_event_new_buffer_size),
5481 (gst_event_parse_buffer_size), (gst_event_new_qos),
5482 (gst_event_parse_qos), (gst_event_parse_seek),
5483 (gst_event_new_navigation):
5485 Add applied_rate field to NEWSEGMENT event.
5486 API: gst_event_new_new_segment_full()
5487 API: gst_event_parse_new_segment_full()
5489 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
5490 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
5491 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5493 Add applied_rate to GstSegment structure.
5494 Make calculation of stream_time and running_time more correct
5495 wrt rate/applied_rate.
5497 API: GstSegment::applied_rate field
5498 API: gst_segment_set_newsegment_full();
5500 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5501 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
5502 * libs/gst/base/gstbasetransform.c:
5503 (gst_base_transform_sink_eventfunc),
5504 (gst_base_transform_handle_buffer):
5505 Parse and use applied_rate in the GstSegment field.
5507 * tests/check/gst/gstevent.c: (GST_START_TEST):
5508 Add check for applied_rate field.
5510 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5511 (gstsegments_suite):
5512 Add more checks for various GstSegment operations.
5514 2006-05-08 Wim Taymans <wim@fluendo.com>
5516 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5517 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
5518 (gst_base_sink_get_position), (gst_base_sink_change_state):
5519 Store the sync time of the buffer end position separatly in a
5520 new variable eos_rtime so we can properly sync the EOS event.
5522 Fix the docs for gst_base_sink_set_qos_enabled().
5523 Don't set segment start to invalid value when we receive a
5524 non TIME newsegment.
5525 get closer to handling position reporting for negative rates
5528 2006-05-07 Stefan Kost <ensonic@users.sf.net>
5531 Docs about how to print caps for debug purposes.
5533 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
5534 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
5536 2006-05-07 Stefan Kost <ensonic@users.sf.net>
5539 use full enum names and preprend a '%' in docs strings to make recent
5540 gtk-doc turn that into a link
5542 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5544 * docs/manual/basics-bins.xml:
5545 * docs/manual/basics-bus.xml:
5546 * docs/manual/basics-pads.xml:
5547 Some typo fixes, some additions, some clarifications.
5549 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5551 * tools/gst-inspect.c: (main):
5552 * tools/gst-launch.c: (main):
5553 * tools/gst-run.c: (main):
5554 * tools/gst-typefind.c: (main):
5555 * tools/gst-xmlinspect.c: (main):
5556 Use the string passed to g_option_context_new() for
5557 what it's intended for - the program name is already
5560 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5562 * tools/Makefile.am:
5563 * tools/gst-inspect.c: (main):
5564 * tools/gst-launch.c: (main):
5565 * tools/gst-xmlinspect.c: (main):
5567 Add back --version command line option (#340460).
5569 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
5570 Add --version option and use GOption for argument parsing; refactor a
5571 bit; accept directories as arguments and recurse into them; lastly,
5572 print a decent error message when things go wrong.
5574 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
5576 * docs/manual/basics-bins.xml:
5577 Don't mention GstThread (#340611)
5578 * docs/manual/basics-elements.xml:
5579 Update link to GObject tutorial (#340607)
5581 2006-05-05 Wim Taymans <wim@fluendo.com>
5584 * gst/gstminiobject.c:
5585 Add note about refcounting and miniobject/buffer writeability
5586 to docs. Fixes #340604
5588 * gst/gstelementfactory.h:
5589 Added some explanation about @klass.
5591 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
5593 * docs/manual/intro-motivation.xml:
5594 * docs/manual/manual.xml:
5595 Avoid CORBA & Bonobo references (#340598)
5597 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
5599 * docs/manual/basics-bus.xml:
5600 * docs/manual/basics-pads.xml:
5601 Fix up some inaccuracies and omissions (#340609)
5603 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
5605 * gst/gstghostpad.c:
5606 Small typo in docs (#340625)
5608 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5610 * gst/parse/Makefile.am:
5611 Make 'make -j' proof (see #340698).
5613 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5616 Require GLib-2.8 here as well.
5618 2006-05-05 Wim Taymans <wim@fluendo.com>
5620 * gst/glib-compat.c:
5621 * gst/gst.c: (init_pre):
5622 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
5623 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
5624 (gst_object_dispatch_properties_changed):
5626 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
5627 * gst/gststructure.c: (gst_structure_set_valist):
5628 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5629 Remove pre glib2.8 compatibility, fixes #340508
5631 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
5634 Mention type of tags in doc blurbs.
5636 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
5638 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
5639 (gst_pad_configure_src), (gst_pad_push):
5640 Restore acceptcaps checking behaviour now that good plugins have
5643 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
5645 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
5656 * gst/parse/Makefile.am:
5657 * libs/gst/base/gstadapter.c:
5658 * libs/gst/base/gstbasesrc.c:
5659 * libs/gst/base/gstpushsrc.c:
5660 * libs/gst/base/gsttypefindhelper.c:
5661 * plugins/elements/gstfakesrc.c:
5662 * plugins/elements/gstidentity.c:
5663 Make sure gstprivate.h and/or config.h are
5664 always included first, otherwise some of our
5665 defines (like _FILE_OFFSET_BITS) might be
5666 redefined in the system headers. Fixes build
5667 on opensolaris (#340016).
5669 2006-05-04 Wim Taymans <wim@fluendo.com>
5671 * docs/libs/gstreamer-libs-sections.txt:
5672 API: addition: gst_adapter_take_buffer()
5674 * libs/gst/base/gstadapter.c: (gst_adapter_push),
5675 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
5676 (gst_adapter_available_fast):
5677 * libs/gst/base/gstadapter.h:
5678 Prepare for optimizing the hell out of this hugely inefficient
5680 Added gst_adapter_take_buffer() so we can at least start thinking
5681 about subbuffering and merging.
5682 Added some comments.
5684 * tests/check/Makefile.am:
5685 * tests/check/libs/adapter.c: (GST_START_TEST),
5686 (gst_adapter_suite), (main):
5687 Added GstAdapter check.
5689 2006-05-04 Wim Taymans <wim@fluendo.com>
5691 * docs/design/part-overview.txt:
5692 Fix some typos, add blurb about buffer flags.
5694 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
5696 * docs/libs/gstreamer-libs-sections.txt:
5697 make sure GstBaseTransformClass shows up in the docs
5698 * libs/gst/base/gstbasetransform.c:
5699 * libs/gst/base/gstbasetransform.h:
5700 move docs so gtk-doc picks it up now
5702 2006-05-02 Stefan Kost <ensonic@users.sf.net>
5704 * docs/libs/gstreamer-libs-sections.txt:
5705 add missing symbols to docs
5707 2006-05-02 Stefan Kost <ensonic@users.sf.net>
5709 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5710 back out the newsegment handling change, see #340060 for ongoing
5713 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
5715 * tools/gst-run.c: (get_candidates), (main):
5716 Fix wrong g_file_test() usage (see glib docs for why it doesn't
5717 work); fix typo in error message. Fixes #340079.
5719 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
5721 * common/Makefile.am:
5723 * docs/faq/Makefile.am:
5724 * docs/gst/Makefile.am:
5725 * docs/libs/Makefile.am:
5726 * docs/manual/Makefile.am:
5727 * docs/plugins/Makefile.am:
5728 * docs/pwg/Makefile.am:
5729 * docs/slides/Makefile.am:
5731 * common/upload.mak:
5732 move upload.mak to common
5734 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
5736 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5737 add more asserts on refcounts
5738 do more cleanup at end of tests
5739 fix test leaks showing in FC5
5741 2006-04-29 Stefan Kost <ensonic@users.sf.net>
5743 * plugins/elements/gsttypefindelement.c:
5744 (gst_type_find_element_handle_event):
5745 reverted wrong change and reflowed code to avoid others falling into
5748 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5750 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5751 fix changelog entry about last collectpads change,
5752 add notes about proper fix
5754 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5757 * gst/gstregistry.c: (gst_registry_scan_path_level),
5758 (gst_registry_scan_path):
5759 * gst/gstregistry.h:
5760 only write out registry if it has changed, fixes #338339
5762 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5765 * gst/gstpipeline.c:
5766 * plugins/elements/gstcapsfilter.c:
5767 * plugins/elements/gstfakesink.c:
5768 * plugins/elements/gstfakesrc.c:
5769 * plugins/elements/gstfdsink.c:
5770 * plugins/elements/gstfdsrc.c:
5771 * plugins/elements/gstfilesink.c:
5772 * plugins/elements/gstfilesrc.c:
5773 * plugins/elements/gstidentity.c:
5774 * plugins/elements/gstqueue.c:
5775 * plugins/elements/gsttee.c:
5776 * plugins/elements/gsttypefindelement.c:
5777 (gst_type_find_element_handle_event):
5778 make GstElementDetails const
5780 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5782 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5783 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5784 (gst_collect_pads_is_collected), (gst_collect_pads_event):
5785 more detailed debug and formatting cleanup,
5786 forward newsegments to src-pad (so that e.g. adder not eats them)
5788 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5790 * gst/gstutils.c: (gst_element_link_pads):
5793 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5795 * libs/gst/controller/gstcontroller.c:
5796 (gst_controller_sync_values):
5798 * tests/check/libs/controller.c: (GST_START_TEST),
5799 (gst_controller_suite):
5800 a new test for live value handling
5802 2006-04-28 Wim Taymans <wim@fluendo.com>
5804 * gst/gstutils.c: (push_and_ref):
5805 Added some more docs.
5806 Fix refcount issue whith gst_element_found_tags() helper
5807 function. Fixes #338335
5809 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5810 Added testsuite for gst_element_found_tags().
5812 2006-04-28 Michael Smith <msmith@fluendo.com>
5814 * gst/gstvalue.c: (gst_value_serialize_flags):
5815 Avoid NULL dereference when trying to serialize flags containing
5818 2006-04-28 Michael Smith <msmith@fluendo.com>
5820 * plugins/elements/gsttypefindelement.c:
5821 (gst_type_find_element_handle_event):
5822 If we get EOS before any data is accumulated, don't use
5823 uninitialised local variables.
5825 2006-04-28 Michael Smith <msmith@fluendo.com>
5827 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5828 (gst_dp_event_from_packet):
5829 Fixes in reading/writing events over GDP (not currently used?) -
5830 dereferencing NULL events for unknown/invalid event types, memory
5831 leak, and change g_warning to GST_WARNING.
5833 2006-04-28 Wim Taymans <wim@fluendo.com>
5835 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
5836 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
5837 (gst_base_sink_get_position), (gst_base_sink_change_state):
5838 When frame dropping is enabled, we should not ignore frames
5840 Update some documentation.
5842 2006-04-28 Wim Taymans <wim@fluendo.com>
5844 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5845 (gst_base_src_send_event), (gst_base_src_change_state):
5846 Documentation updates.
5848 2006-04-28 Wim Taymans <wim@fluendo.com>
5850 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
5851 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
5852 handle EAGAIN, EINTR and short writes correctly. Also clean
5853 up some error cases, avoid a deadlock on bad file descriptors and
5854 use GST_DEBUG_OBJECT.
5857 2006-04-28 Wim Taymans <wim@fluendo.com>
5859 * gst/gstvalue.c: (gst_value_serialize_buffer),
5860 (gst_value_deserialize_buffer):
5861 Don't try to serialize a GValue with a NULL buffer.
5864 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5865 Added check for serialisation of NULL buffers.
5867 2006-04-28 Wim Taymans <wim@fluendo.com>
5869 * gst/gstminiobject.c: (gst_value_take_mini_object):
5870 Taking a NULL miniobject is valid, fix the case where
5871 we try to unref the NULL miniobject.
5873 2006-04-28 Wim Taymans <wim@fluendo.com>
5875 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5877 * gst/gstbin.c: (gst_bin_handle_message_func):
5879 Don't leak bin refcount when a state recalc is
5880 in progress and we delay another one #339808.
5882 2006-04-28 Wim Taymans <wim@fluendo.com>
5884 * docs/design/part-TODO.txt:
5885 Mention QoS as an ongoing work item.
5887 * docs/design/part-buffering.txt:
5888 New doc about buffering that needs to be fleshed out
5891 * docs/design/part-qos.txt:
5892 More QoS policy for decoders/demuxers/transforms
5894 * docs/design/part-trickmodes.txt:
5897 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
5902 === release 0.10.5 ===
5904 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
5907 releasing 0.10.5, "Fogo"
5909 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
5911 patch by: Wim Taymans
5913 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
5914 (gst_pad_configure_src), (gst_pad_push):
5915 * gst/gstpipeline.c: (gst_pipeline_init):
5916 Fix internal data flow errors. Fixes #338711.
5918 2006-04-12 Wim Taymans <wim@fluendo.com>
5920 * tests/check/gst/gstelement.c: (GST_START_TEST):
5921 Don't leak the factory.
5923 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
5926 * win32/common/config.h:
5929 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
5931 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5932 (gst_controller_unset_all):
5933 Free allocated GstTimedValues when freeing list nodes.
5934 Should fix leaks 'make check-valgrind' complains about.
5936 * win32/common/libgstcontroller.def:
5937 Add gst_controller_unset_all.
5939 2006-04-11 Stefan Kost <ensonic@users.sf.net>
5941 * docs/libs/gstreamer-libs-sections.txt:
5942 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5943 (gst_controller_unset_all):
5944 * libs/gst/controller/gstcontroller.h:
5945 API: Added new method gst_controller_unset_all()
5946 fixed gst_controller_unset()
5947 * tests/check/libs/controller.c: (GST_START_TEST),
5948 (gst_controller_suite):
5949 Added two testcases for new and fixed method
5951 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
5953 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5954 MSG_DONTWAIT is not defined on Cygwin, so work
5955 around that (fixes #317048).
5957 2006-04-11 Wim Taymans <wim@fluendo.com>
5959 * gst/gstelementfactory.c: (gst_element_register),
5960 (gst_element_factory_create), (gst_element_factory_make):
5963 Updated docs (Fixes #131079)
5965 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5968 * tests/check/gst/gstelement.c: (GST_START_TEST),
5969 (gst_element_suite):
5970 Added testcase for elementfactory class field.
5972 2006-04-10 Wim Taymans <wim@fluendo.com>
5975 Added some more docs.
5977 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
5978 (gst_base_sink_reset_qos):
5979 Calculate more accurate rate values.
5981 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
5983 * gst/gst_private.h:
5984 add a new #ifdef to use __declspec(dllimport) only for
5985 other modules and not for gstreamer core
5986 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
5987 use gst_guint64_to_gdouble for conversion
5988 * win32/common/libgstreamer.def:
5989 add new exported functions
5990 * win32/vs6/gst_inspect.dsp:
5991 * win32/vs6/gst_launch.dsp:
5992 * win32/vs6/libgstbase.dsp:
5993 * win32/vs6/libgstcontroller.dsp:
5994 * win32/vs6/libgstcoreelements.dsp:
5995 * win32/vs6/libgstdataprotocol.dsp:
5996 * win32/vs6/libgstnet.dsp:
5997 update project files
5999 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6001 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6002 * gst/gstclock.c: (gst_clock_class_init):
6003 * gst/gstelement.c: (gst_element_class_init):
6004 * gst/gstindex.c: (gst_index_class_init):
6005 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6006 * gst/gstobject.c: (gst_object_class_init),
6007 (gst_signal_object_class_init):
6008 * gst/gstpad.c: (gst_pad_class_init):
6009 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6010 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6011 * gst/gstregistry.c: (gst_registry_class_init):
6012 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6013 * gst/gsttask.c: (gst_task_class_init):
6014 * gst/gstxml.c: (gst_xml_class_init):
6015 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6016 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6017 (gst_base_src_loop):
6018 * libs/gst/controller/gstcontroller.c:/
6019 (_gst_controller_class_init):
6020 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6021 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6022 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6023 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6024 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6025 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6027 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6029 * gst/gstpad.c: (gst_pad_link):
6030 Must set peer pads before calling the link function, otherwise
6031 a task started from a link function might get a flow-not-linked
6032 result when trying to push because the other thread where the
6033 linking happens hasn't had a chance to set the peers yet. This
6034 might happen for example when a queue gets linked to a downstream
6035 element, as queue starts a streaming task when its source pad
6036 gets linked. Happens in real life when playing back flac/musepack
6037 files in playbin (#332390).
6039 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6043 * libs/gst/base/gstadapter.h:
6044 * libs/gst/base/gstbasesink.h:
6045 * libs/gst/base/gstbasesrc.h:
6046 * libs/gst/base/gstbasetransform.h:
6047 * libs/gst/base/gstcollectpads.h:
6048 * libs/gst/base/gstpushsrc.h:
6049 Fix broken GObject macros
6051 2006-04-07 Wim Taymans <wim@fluendo.com>
6053 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6054 Initialize start and stop times, thanks valgrind.
6056 2006-04-07 Wim Taymans <wim@fluendo.com>
6058 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6059 Be a bit nicer to badly behaving upstream elements that expect
6060 us to deal with non TIME segments and timestamps (such as fakesrc
6063 2006-04-07 Wim Taymans <wim@fluendo.com>
6066 Small documentation clarification about the signal watch.
6068 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6069 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6070 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6071 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6072 (gst_base_sink_get_position_last),
6073 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6074 Convert and store timestamps in stream time and running time, the
6075 raw timestamps are not useful, also document this better.
6076 Use different window sizes for good and bad QoS observations so
6077 we react to badness a little quicker.
6078 Keep track of the amount of rendered and dropped buffers.
6079 Send QoS timestamps in running time.
6081 * libs/gst/base/gstbasetransform.c:
6082 (gst_base_transform_sink_eventfunc),
6083 (gst_base_transform_handle_buffer):
6084 Compare QoS timestamps against running time.
6086 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6091 2006-04-06 Michael Smith <msmith@fluendo.com>
6093 * gst/gstpad.c: (gst_pad_set_property):
6094 Use g_value_get_object() instead of g_value_dup_gst_object(),
6095 to avoid double-reffing the pad template (which we then sink,
6096 so this worked previously if (and only if) the pad template
6099 * gst/gstpadtemplate.c: (gst_pad_template_init),
6100 (gst_pad_template_pad_created):
6101 Never return floating references to pad templates, create
6102 them as initially-sunken.
6104 Document an extra function (and make this stop sinking our
6105 pad template, since that is now guaranteed to do nothing,
6106 since we created it sunken).
6108 * gst/gstghostpad.c:
6111 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6113 * gst/gstinfo.c: (__gst_in_valgrind):
6116 * plugins/elements/gsttypefindelement.c:
6117 (gst_type_find_element_chain):
6118 Don't leak buffer caps.
6120 2006-04-06 Michael Smith <msmith@fluendo.com>
6122 * gst/parse/grammar.y:
6123 Fix a leak in parse-launch for any source-or-sink named element
6126 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6127 Unref the pipeline if it exists after we've failed parsing.
6129 2006-04-05 Michael Smith <msmith@fluendo.com>
6131 * gst/gstpipeline.c: (gst_pipeline_init):
6132 When we create a pipeline bus, initially create it in flushing mode.
6133 Fixes leaks in at least one test, and makes a new pipeline work the
6134 same as one that has gone to READY and then back to NULL.
6139 2006-04-05 Michael Smith <msmith@fluendo.com>
6141 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6142 Unref a pad we reffed.
6143 * tests/check/gst/gstutils.c: (GST_START_TEST):
6146 2006-04-05 Michael Smith <msmith@fluendo.com>
6148 * gst/gstquery.c: (gst_query_set_formats),
6149 (gst_query_set_formatsv):
6150 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6152 2006-04-05 Michael Smith <msmith@fluendo.com>
6154 * tests/check/generic/sinks.c: (GST_START_TEST):
6155 Fix a variety of memleaks in sinks check, which are only sometimes
6156 shown by running the tests under valgrind (weird?).
6158 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6160 * docs/version.entities.in:
6161 Fix the substituted entity name after thomas' changes on the
6164 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6166 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6169 2006-04-05 Andy Wingo <wingo@pobox.com>
6171 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6173 * libs/gst/base/gstbasetransform.c
6174 (gst_base_transform_sink_eventfunc): When resetting our segment on
6175 FLUSH_STOP, also update the flag saying we haven't seen a
6178 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6180 Patch by: Paolo Borelli <pborelli at katamail dot com>
6182 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6183 (gst_plugin_check_license):
6184 minor clean-ups: G_DEFINE_TYPE already takes care of the
6185 parent_class stuff, no need to do it twice. Mark array of
6186 license strings as constant. (#337103)
6188 2006-04-04 Michael Smith <msmith@fluendo.com>
6190 * tools/gst-inspect.c: (print_element_list):
6191 Free the right plugin list; fixes a memory leak.
6193 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6195 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6197 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6198 Don't error out on empty buffers (#336945).
6200 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6202 * docs/libs/gstreamer-libs-sections.txt:
6204 * libs/gst/base/gstbasesink.c:
6205 * libs/gst/base/gstbasesink.h:
6206 * libs/gst/base/gstbasesrc.c:
6207 * libs/gst/base/gstbasesrc.h:
6208 Documentation updates. Make BaseSink and BaseSrc docs contain the
6209 class structure so that people can actually see the prototypes for
6210 virtual functions they're supposed to be overriding.
6212 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6214 * plugins/elements/gsttypefindelement.c:
6215 (gst_type_find_element_chain):
6216 More debug info; when skipping typefinding, send cached
6217 events in all cases.
6219 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
6222 use new AS_VERSION and AS_NANO macros
6223 * gst/gst-i18n-lib.h:
6226 * gst/gstversion.h.in:
6227 * win32/common/config.h:
6228 * win32/common/config.h.in:
6231 2006-03-31 Michael Smith <msmith@fluendo.com>
6233 * plugins/elements/gsttypefindelement.c:
6234 (gst_type_find_element_chain):
6235 Do not typefind content if the buffers already have caps.
6236 Neccesary for icydemux (#333657), and the right thing to do anyway.
6238 2006-03-30 Wim Taymans <wim@fluendo.com>
6240 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6241 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6242 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6243 (gst_base_sink_record_qos_observation),
6244 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6245 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6246 (gst_base_sink_change_state):
6247 More QoS measurements as described in the design doc.
6248 Get rid of ringbuffer with observations, running average is
6249 more simple and equally good.
6250 Calculates valid proportion now.
6251 Added beginning of flood measurement.
6253 2006-03-29 Wim Taymans <wim@fluendo.com>
6255 * docs/design/part-qos.txt:
6257 Small documentation updates and additions.
6259 2006-03-29 Wim Taymans <wim@fluendo.com>
6261 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6262 (gst_base_src_send_event), (gst_base_src_loop),
6263 (gst_base_src_change_state):
6264 Perform the EOS logic when we reach the segment stop position.
6265 Fix compilation on gcc4.1
6267 2006-03-29 Wim Taymans <wim@fluendo.com>
6269 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6271 * plugins/elements/gstqueue.c: (gst_queue_init),
6272 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6273 (gst_queue_set_property):
6274 * plugins/elements/gstqueue.h:
6275 In queue, when EOS is received, if minimum threshold > max_size -
6276 current_level, there is chance that queue blocks forever in conditional
6277 item del wait. This is because the queue is not emptied completely due
6278 to minimum threshold. Here is another approach. Instead of setting
6279 cur_levels to max in EOS, just zero all minimum threshold levels. This
6280 should make sure that queue gives out all data. When going to READY
6281 (stop) state, just reset the original minimum threshold levels.
6284 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
6286 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6287 (gst_type_find_element_handle_event),
6288 (gst_type_find_element_send_cached_events),
6289 (gst_type_find_element_change_state):
6290 * plugins/elements/gsttypefindelement.h:
6291 When typefinding is done in push mode, we should cache
6292 events we receive during typefinding instead of just
6293 dropping them (e.g. newsegment, custom events from
6294 dvdreadsrc etc.) and then send them out once we've
6295 determined the type of the stream (and decodebin
6296 has had a chance to plug in a decoder/demuxer).
6298 2006-03-27 Wim Taymans <wim@fluendo.com>
6300 * docs/design/part-qos.txt:
6303 2006-03-27 Wim Taymans <wim@fluendo.com>
6305 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6307 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6308 (gst_base_src_send_event), (gst_base_src_change_state):
6309 Handle element seek correctly when we are streaming.
6312 2006-03-24 Michael Smith <msmith@fluendo.com>
6314 * docs/faq/gst-uninstalled:
6315 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6316 allow you to correctly run intalled applications built against old
6317 core, using plugins that require updated core (e.g. running
6318 installed totem against a full uninstalled gstreamer stack)
6320 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6322 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6325 2006-03-24 Wim Taymans <wim@fluendo.com>
6327 * docs/gst/gstreamer-sections.txt:
6328 Rearrange the order of the methods so that related methods
6329 are grouped together in sections.
6331 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6334 Little clarification in the docs
6336 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6340 * plugins/elements/gstidentity.c:
6341 * plugins/elements/gstqueue.c:
6342 * plugins/elements/gsttee.c:
6343 * plugins/elements/gsttypefindelement.c:
6344 GST_ELEMENT_DETAILS formatting
6346 2006-03-24 Wim Taymans <wim@fluendo.com>
6348 * libs/gst/base/gstbasesink.h:
6349 Only add fields, not insert or we break ABI.
6351 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6353 * win32/common/libgstbase.def:
6354 * win32/common/libgstreamer.def:
6355 Update, add recently added functions.
6357 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6359 * docs/gst/gstreamer-sections.txt:
6360 * gst/gstutils.c: (gst_pad_query_peer_position),
6361 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6363 API: add some new utility functions:
6364 - gst_pad_query_peer_position()
6365 - gst_pad_query_peer_duration()
6366 - gst_pad_query_peer_convert()
6368 2006-03-23 Wim Taymans <wim@fluendo.com>
6370 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6371 (gst_base_sink_init), (gst_base_sink_finalize),
6372 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6373 (gst_base_sink_set_property), (gst_base_sink_get_property),
6374 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6375 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6376 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6377 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6378 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6379 (gst_base_sink_preroll_object), (gst_base_sink_event),
6380 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
6381 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6382 (gst_base_sink_query), (gst_base_sink_change_state):
6383 Decouple max-lateness and the fact that QoS messages are generated
6384 with a new property (qos).
6385 added API: GstBaseSink::async_play()
6386 Add vmethod so subclasses can be notified of ASYNC playing
6388 Collect timestamp start and stop to report better current
6389 position in EOS/PLAYING/PAUSED/READY/NULL.
6390 Refactor QoS/frame dropping and other measurements.
6391 API: GstBaseSrc::qos
6394 * libs/gst/base/gstbasesink.h:
6395 Added Private struct.
6396 API: gst_base_sink_set_qos_enabled()
6397 API: gst_base_sink_is_qos_enabled()
6399 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6401 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6402 If compiling against GLib-2.8 or newer, try to read the
6403 registry file using GMappedFile first before falling back
6404 to fopen() + fread() (#332151).
6406 2006-03-22 Wim Taymans <wim@fluendo.com>
6408 * gst/gstinfo.c: (gst_debug_set_active),
6409 (gst_debug_category_set_threshold):
6410 Disable debugging unless explicitly activated.
6413 2006-03-22 Wim Taymans <wim@fluendo.com>
6415 * gst/gstelement.c: (gst_element_set_locked_state),
6416 (gst_element_dispose):
6417 Cleanup the error case.
6419 * gst/gstobject.c: (gst_object_dispose):
6420 print a critical when some object was disposed with
6421 a parent, also revive the object since it might
6424 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
6426 * tools/gst-launch.1.in:
6429 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
6432 * tests/check/Makefile.am:
6433 disable some tests when we don't have a registry
6434 * tests/check/gst/gstutils.c: (gst_utils_suite):
6435 don't build the part that needs parsing
6437 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
6440 * tests/examples/Makefile.am:
6441 fix --disable-parse build
6443 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6445 * tools/gst-feedback.1.in:
6446 Fix typo: s/feeback/feedback/ (#133494).
6448 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6450 * tools/Makefile.am:
6451 * tools/gst-launch.1.in:
6452 Add FILES section and correct entry about GST_REGISTRY_PATH
6453 environment variable (#133495; #133494).
6455 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6457 * tools/Makefile.am:
6458 * tools/gst-md5sum.1.in:
6459 * tools/gst-md5sum.c:
6460 Remove gst-md5sum and man page (the md5sink element
6461 required was removed ages ago)
6463 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6465 * gst/gststructure.c: (gst_structure_id_set_value):
6466 Make sure that string fields in structures/taglists
6467 contain valid UTF-8 - we don't want to pass rubbish to
6468 applications because of a buggy plugin (cp. #334167).
6470 2006-03-21 Edward Hervey <edward@fluendo.com>
6472 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6473 (gst_bin_handle_message_func):
6474 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
6475 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
6476 (gst_element_set_bus_func):
6477 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
6478 * gst/gstminiobject.c: (gst_value_set_mini_object),
6479 (gst_value_take_mini_object):
6480 * gst/gstpad.c: (gst_pad_set_pad_template):
6481 * gst/gstpipeline.c: (gst_pipeline_dispose),
6482 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
6483 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
6484 (gst_collect_pads_chain):
6485 * libs/gst/net/gstnettimeprovider.c:
6486 (gst_net_time_provider_set_property):
6487 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
6488 It's in fact all issues with gst_*object_replace().
6490 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6492 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
6494 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6495 * pkgconfig/gstreamer-check.pc.in:
6496 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
6498 2006-03-21 Edward Hervey <edward@fluendo.com>
6503 gst_[buffer|event|message]_ref() macros are replaced by a static
6504 inline functions because gcc-4.1 will about if the return value
6506 * tests/check/gst/gstevent.c: (event_probe):
6507 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
6509 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
6512 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
6513 the type' case. (Closes: #335195 for now). In the future, when we
6514 depend on GLib 2.10, we could also intern the type name using
6515 g_intern_static_string()
6517 2006-03-20 Wim Taymans <wim@fluendo.com>
6519 * gst/gstbin.c: (gst_bin_handle_message_func),
6520 (bin_query_max_init), (bin_query_position_fold),
6521 (bin_query_position_done), (gst_bin_query):
6522 Position query should also take max of all streams.
6524 2006-03-20 Wim Taymans <wim@fluendo.com>
6526 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6527 (gst_fake_src_finalize):
6528 Fix leaks in fakesrc.
6530 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6531 Fix leaks in the testcase.
6533 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
6535 * gst/gst_private.h:
6536 add win32 specific import decoration(__declspec(dllimport))
6537 for all extern GstDebugCategory * variables
6538 * win32/common/libgstbase.def:
6539 * win32/common/libgstcontroller.def:
6540 * win32/common/libgstreamer.def:
6541 Add some exports, remove empty lines
6542 * win32/common/libgstdataprotocol.def:
6543 * win32/common/libgstdataprotocol.dsp:
6544 * win32/common/libgstnet.def:
6545 * win32/common/libgstnet.dsp:
6546 new project files and exportation files added
6548 2006-03-19 Wim Taymans <wim@fluendo.com>
6550 * tests/check/libs/basesrc.c: (eos_event_counter):
6551 Use proper return value for probe.
6553 2006-03-17 Wim Taymans <wim@fluendo.com>
6555 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
6557 Don't leak buffers, caps and pads on negotiation errors.
6559 2006-03-16 Stefan Kost <ensonic@users.sf.net>
6562 * docs/faq/dependencies.xml:
6563 * docs/faq/developing.xml:
6565 * docs/faq/general.xml:
6566 * docs/faq/getting.xml:
6567 * docs/faq/legal.xml:
6568 * docs/faq/troubleshooting.xml:
6569 * docs/faq/using.xml:
6570 Faq review and update.
6572 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
6574 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
6576 Don't pound the cpu to pieces by checking get_caps when accept_caps
6577 is called with the same caps as the pad already has.
6578 Use GST_DEBUG_OBJECT when outputting caps change information.
6580 2006-03-15 Wim Taymans <wim@fluendo.com>
6582 * gst/gstclock.c: (gst_clock_class_init):
6585 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
6590 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
6591 (gst_pad_accept_caps), (gst_pad_configure_sink),
6592 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
6593 Make the default acceptcaps behaviour be to check the requested
6594 caps against the gst_pad_get_caps output.
6596 Ensure that gst_pad_accept_caps is used to check caps when a pad
6597 doesn't have a setcaps function, so that pads automatically refuse
6598 caps that they don't allow in their pad template. (Fixes #332986)
6600 When a buffer with attached caps is pushed, ensure that the source
6601 pad receives those caps even if the element didn't call
6602 gst_pad_set_caps first.
6604 2006-03-15 Wim Taymans <wim@fluendo.com>
6606 * libs/gst/base/gstadapter.c:
6609 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
6611 * win32/common/libgstbase.def:
6612 * win32/common/libgstcontroller.def:
6613 * win32/common/libgstreamer.def:
6614 Add a whole bunch of missing functions (#334434).
6616 2006-03-14 Wim Taymans <wim@fluendo.com>
6618 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6619 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
6620 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
6621 Better debug info when we receive a segment event.
6622 Reorganize a bit so we can pass the get_times() results around.
6623 Use the segment format when calculating the running time.
6624 Don't do QoS is sync is disabled or we have no clock or the
6625 element does not want us to sync to the clock.
6626 Don't drop buffers if QoS is disabled for now.
6628 2006-03-14 Wim Taymans <wim@fluendo.com>
6630 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
6631 Marked the stats property as unimplemented so people don't get
6633 Add debug message when regression goes wrong.
6634 Added some more docs.
6636 2006-03-14 Wim Taymans <wim@fluendo.com>
6638 * gst/gstsegment.c: (gst_segment_to_stream_time):
6639 Return correct return type in case of errors.
6641 2006-03-14 Wim Taymans <wim@fluendo.com>
6643 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
6644 Don't segfault on invalid formats.
6646 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
6648 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6649 Can't use gst_segment_to_running_time() when the segment
6650 is not in GST_TIME_FORMAT (like with filesink, for example).
6651 Stops flac encoding pipelines from spewing critical warnings
6654 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
6656 * gst/gstpipeline.c: (gst_pipeline_class_init):
6657 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
6659 * plugins/elements/gsttypefindelement.c:
6660 (gst_type_find_element_handle_event):
6661 Don't try to typefind empty streams.
6663 2006-03-14 Wim Taymans <wim@fluendo.com>
6665 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
6666 (gst_base_sink_do_qos):
6667 Separate QoS calculation.
6668 Only drop buffers when lateness is bigger than the
6669 duration of the buffer.
6671 2006-03-13 Wim Taymans <wim@fluendo.com>
6673 * gst/gstpipeline.c: (gst_pipeline_set_property),
6674 (gst_pipeline_get_property), (do_pipeline_seek),
6675 (gst_pipeline_change_state), (gst_pipeline_set_delay),
6676 (gst_pipeline_get_delay):
6677 Don't deadlock when reading properties.
6679 2006-03-13 Wim Taymans <wim@fluendo.com>
6681 * libs/gst/base/gstbasetransform.c:
6682 (gst_base_transform_class_init), (gst_base_transform_init),
6683 (gst_base_transform_sink_event),
6684 (gst_base_transform_sink_eventfunc),
6685 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
6686 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6687 (gst_base_transform_set_property),
6688 (gst_base_transform_get_property),
6689 (gst_base_transform_change_state), (gst_base_transform_update_qos),
6690 (gst_base_transform_set_qos_enabled),
6691 (gst_base_transform_is_qos_enabled):
6692 * libs/gst/base/gstbasetransform.h:
6693 Make basetransform virtual method for src events too.
6694 Handle QOS in basetransform.
6695 API: gst_base_transform_update_qos()
6696 API: gst_base_transform_set_qos_enabled()
6697 API: gst_base_transform_is_qos_enabled()
6699 2006-03-13 Wim Taymans <wim@fluendo.com>
6701 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6702 (gst_base_sink_do_sync):
6704 Use QOS debug category.
6706 2006-03-13 Wim Taymans <wim@fluendo.com>
6708 * plugins/elements/gstqueue.c:
6709 Very small doc update.
6711 2006-03-13 Wim Taymans <wim@fluendo.com>
6713 * gst/gst_private.h:
6714 * gst/gstinfo.c: (_gst_debug_init):
6715 Added QOS debug category
6717 2006-03-13 Wim Taymans <wim@fluendo.com>
6719 * docs/gst/gstreamer-sections.txt:
6720 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
6722 * gst/gstbus.c: (gst_bus_class_init):
6725 * gst/gstelement.c: (gst_element_set_locked_state):
6727 Documentation updates.
6729 * gst/gstpipeline.c: (gst_pipeline_get_type),
6730 (gst_pipeline_class_init), (gst_pipeline_init),
6731 (gst_pipeline_dispose), (gst_pipeline_set_property),
6732 (gst_pipeline_get_property), (do_pipeline_seek),
6733 (gst_pipeline_send_event), (gst_pipeline_change_state),
6734 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
6735 (gst_pipeline_get_delay):
6736 * gst/gstpipeline.h:
6737 Added methods for setting the delay.
6738 API: gst_pipeline_set_delay()
6739 API: gst_pipeline_get_delay()
6740 Add pipeline debug category
6743 Don't reset stream time when seek failed.
6745 2006-03-13 Wim Taymans <wim@fluendo.com>
6747 * docs/design/draft-klass.txt:
6748 * docs/design/part-clocks.txt:
6749 * docs/design/part-events.txt:
6750 * docs/design/part-gstbin.txt:
6751 * docs/design/part-gstpipeline.txt:
6752 * docs/design/part-messages.txt:
6753 * docs/design/part-negotiation.txt:
6754 * docs/design/part-overview.txt:
6755 * docs/design/part-preroll.txt:
6756 * docs/design/part-seeking.txt:
6757 * docs/design/part-states.txt:
6758 * docs/design/part-streams.txt:
6759 Documentation updates.
6761 2006-03-12 Julien MOUTTE <julien@moutte.net>
6763 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
6764 us to leak strings...
6766 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
6768 * libs/gst/net/gstnettimeprovider.c:
6770 * win32/common/config.h:
6773 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
6775 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
6778 Don't check for libgnomeui (leftover from old examples
6779 that aren't built or disted any longer) (#334303).
6781 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
6783 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
6784 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6785 Emit RESOURCE_NO_SPACE_LEFT error here as well when
6786 there's no space left on the device.
6788 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
6791 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
6792 to cast the input to GstClockTime before comparing with
6793 another GstClockTime value.
6795 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
6800 === release 0.10.4 ===
6802 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
6805 releasing 0.10.4, "Light"
6807 2006-03-10 Michael Smith <msmith@fluendo.com>
6809 * libs/gst/dataprotocol/dataprotocol.c:
6810 Fix docs for dataprocotol to not get the return types completely
6811 wrong for a few functions.
6813 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
6815 * docs/gst/gstreamer-sections.txt:
6816 * gst/gstpipeline.c: (gst_pipeline_class_init),
6817 (gst_pipeline_init), (gst_pipeline_set_property),
6818 (gst_pipeline_get_property), (gst_pipeline_change_state),
6819 (gst_pipeline_set_auto_flush_bus),
6820 (gst_pipeline_get_auto_flush_bus):
6821 * gst/gstpipeline.h:
6822 Add new API: gst_pipeline_set_auto_flush_bus() and
6823 gst_pipeline_get_auto_flush_bus() to disable automatic
6824 flushing of the pipeline's GstBus when going from READY
6825 to NULL state (#332045).
6827 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
6829 * docs/gst/gstreamer-sections.txt:
6830 * gst/gsturi.c: (gst_uri_has_protocol):
6832 Add new API: gst_uri_has_protocol() (#333779).
6834 2006-03-09 Wim Taymans <wim@fluendo.com>
6836 * gst/gstclock.c: (gst_clock_entry_new),
6837 (gst_clock_id_compare_func), (gst_clock_id_wait),
6838 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
6839 (gst_clock_init), (gst_clock_get_internal_time),
6840 (gst_clock_set_master), (do_linear_regression),
6841 (gst_clock_add_observation), (gst_clock_set_property):
6845 Fix a possible segfault when the window-size is made smaller.
6846 Calculate jitter before performing the clock wait. Ideally
6847 the clock implementation should calculate jitter but we need
6848 API breakage for that.
6850 * gst/gstsystemclock.c: (gst_system_clock_init):
6853 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6854 Remove leftover else
6856 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
6857 (gst_systemclock_suite):
6858 Added check to test GST_CLOCK_DIFF.
6860 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
6862 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
6863 (gst_type_find_helper_get_range):
6864 If we are provided with the size, we should implement
6865 GstTypeFind::get_length, so that typefind functions who
6866 want to can actually peek at the middle of a file.
6868 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
6870 * docs/manual/advanced-dataaccess.xml:
6871 Add some very very basic error checking.
6873 * docs/pwg/appendix-checklist.xml:
6874 Some updates to the list of things to check when writing an element.
6876 2006-03-08 Wim Taymans <wim@fluendo.com>
6878 * docs/design/part-element-transform.txt:
6879 Added some docs about the design of tranform elements.
6881 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6882 (gst_base_src_loop), (gst_base_src_change_state):
6883 Mark buffers with the DISCONT flag.
6885 2006-03-08 Michael Smith <msmith@fluendo.com>
6887 * gst/gstregistry.h:
6888 * gst/gstregistryxml.c: (gst_registry_save),
6889 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
6890 (gst_registry_xml_save_pad_template),
6891 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
6892 (gst_registry_xml_write_cache):
6893 Rewrite registry-saving to avoid race conditions and check for
6896 2006-03-08 Wim Taymans <wim@fluendo.com>
6898 * libs/gst/base/gstbasetransform.c:
6899 (gst_base_transform_transform_caps),
6900 (gst_base_transform_transform_size),
6901 (gst_base_transform_prepare_output_buffer),
6902 (gst_base_transform_get_unit_size),
6903 (gst_base_transform_buffer_alloc),
6904 (gst_base_transform_handle_buffer),
6905 (gst_base_transform_change_state):
6906 Cleanups, separate normal flow from errors, add sensible
6908 Don't try to renegotiate when allocating an output buffer.
6909 Also copy DISCONT buffer flag when copying a buffer.
6910 Reset the transform after we finish streaming, not during.
6912 2006-03-08 Wim Taymans <wim@fluendo.com>
6914 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6915 Use last buffer timestamp in qos message.
6917 2006-03-07 Wim Taymans <wim@fluendo.com>
6919 Patch by: Christophe Fergeau
6921 * docs/pwg/advanced-tagging.xml:
6922 * docs/pwg/building-pads.xml:
6925 2006-03-07 Wim Taymans <wim@fluendo.com>
6927 * docs/libs/gstreamer-libs-sections.txt:
6928 Added basesink new methods.
6932 Docs updates. Flesh out the QoS docs.
6934 * libs/gst/base/gstadapter.c:
6935 Small doc clarification about ownership and flushing.
6937 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
6938 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6939 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
6940 (gst_base_sink_get_property), (gst_base_sink_do_sync):
6941 * libs/gst/base/gstbasesink.h:
6943 Added new methods to allow subclass to control max-lateness
6945 Generate very basic QoS events based on last sync observation.
6946 Updated docs, fix typo, added some QoS blurb.
6948 * libs/gst/base/gstbasesrc.c:
6949 Remove obsolete _get_state() calls from docs.
6951 2006-03-07 Wim Taymans <wim@fluendo.com>
6953 * docs/libs/gstreamer-libs-sections.txt:
6954 * libs/gst/base/gstbasetransform.h:
6955 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
6956 Fix docs for GstBaseSrc.
6958 2006-03-07 Wim Taymans <wim@fluendo.com>
6960 * docs/gst/gstreamer-sections.txt:
6963 * libs/gst/base/gstbasetransform.h:
6964 Small documentation fixes.
6966 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
6969 Document thread-unsafety of gst_value_register_foo_func()
6970 when used at the same time as gst_value_foo() (#322628).
6972 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
6974 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
6975 (gst_push_src_check_get_range):
6976 Push sources don't support pull mode by default.
6978 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
6980 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6981 (gst_base_src_init), (gst_base_src_pad_check_get_range),
6982 (gst_base_src_default_check_get_range):
6983 * libs/gst/base/gstbasesrc.h:
6984 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
6985 provide default implementation, and rename
6986 gst_base_src_check_get_range() to
6987 gst_base_src_pad_check_get_range() for clarity.
6989 2006-03-06 Wim Taymans <wim@fluendo.com>
6991 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6992 Make property overridable.
6994 2006-03-06 Wim Taymans <wim@fluendo.com>
6996 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6997 (gst_base_sink_init), (gst_base_sink_set_property),
6998 (gst_base_sink_get_property), (gst_base_sink_do_sync):
6999 * libs/gst/base/gstbasesink.h:
7000 API addition: Make max-lateness a property.
7002 2006-03-06 Wim Taymans <wim@fluendo.com>
7004 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7005 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7006 Don't ever draw a frame that is >10ms late.
7008 2006-03-06 Michael Smith <msmith@fluendo.com>
7010 * gst/gstmessage.c: (_gst_message_copy):
7011 When copying a message, set the parent_refcount of the enclosed
7012 structure to point at the copy, not the original message.
7014 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7016 Patch by: Christophe Fergeau
7019 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7020 usable in c++ code (#333417)
7022 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7025 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7027 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7029 * libs/gst/base/gstbasetransform.c:
7030 (gst_base_transform_transform_caps):
7031 Make sure caps are writable before passing them to
7034 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7037 Fix some minor docs errors.
7039 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7041 Patch by: Ross Burton <ross at burtonini dot com>
7043 * gst/gsterror.c: (_gst_resource_errors_init):
7045 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7047 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7050 Add a check and output a g_warning when GStreamer is built
7051 against GLib 2.6 but running against 2.8 or higher, and vice
7052 versa. (Closes: #323542)
7054 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7056 * gst/parse/parse.l:
7057 Commit patch for parse_launch syntax from #331255. Removes
7058 support for quoted strings and mimetypes when writing filtered
7059 caps. See the bug report for more details - I'm pretty sure this
7060 obscure feature is not in use by _anyone_ anywhere.
7062 With this simple change, the size of the gstreamer.so here
7063 drops from 2193KB to 1565KB.
7065 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7067 * plugins/elements/gsttypefindelement.h:
7068 * plugins/elements/gsttypefindelement.c:
7069 (gst_type_find_element_src_event), (start_typefinding),
7070 (stop_typefinding), (gst_type_find_element_handle_event),
7071 (gst_type_find_element_chain),
7072 (gst_type_find_element_chain_do_typefinding):
7073 Use gst_type_find_helper_for_buffer() for chain-based
7076 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7078 * plugins/elements/gsttypefindelement.c:
7079 (gst_type_find_element_class_init),
7080 (gst_type_find_element_set_property),
7081 (gst_type_find_element_get_property):
7082 Deprecate "maximum" property (not only was it only taken into
7083 account for typefinding in push-mode anyway, it also was never
7084 actually possible to set it in the first place because the
7085 property was registered with the numeric property ID for the
7086 "minimum" property). Register "maximum" property correctly,
7087 for the sake of future copy'n'pasters. Remove some cruft
7088 from property get/set functions.
7090 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7092 * plugins/elements/gsttypefindelement.c:
7093 (gst_type_find_element_activate):
7094 Use gst_type_find_helper_get_range() here, so we
7095 can honour the "minimum" property and also emit
7096 the signal with the correct probability of the found caps.
7098 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7100 * docs/libs/gstreamer-libs-sections.txt:
7101 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7102 (helper_find_suggest), (gst_type_find_helper_get_range),
7103 (gst_type_find_helper):
7104 * libs/gst/base/gsttypefindhelper.h:
7105 New API: gst_type_find_helper_get_range() (#333042).
7107 2006-03-02 Michael Smith <msmith@fluendo.com>
7109 * gst/gstregistryxml.c: (load_feature):
7110 Asserting on a failure to read part of the registry is Not Cool.
7111 Just log a warning and return NULL (which is already handled)
7113 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7115 * win32/common/libgstbase.def:
7116 added export of gst_type_find_helper_for_buffer
7117 * win32/common/libgstbase.def:
7118 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7119 gst_ghost_pad_get_target
7121 2006-02-28 Wim Taymans <wim@fluendo.com>
7123 * docs/design/draft-klass.txt:
7125 Added Connector to mark elements that are only used to
7126 allow pipeline connections.
7127 Moved Debug to extra feature since most of them are
7128 functionally something else.
7130 2006-02-28 Wim Taymans <wim@fluendo.com>
7132 * docs/design/draft-klass.txt:
7133 Some updates and clarifications.
7135 2006-02-28 Wim Taymans <wim@fluendo.com>
7137 * docs/design/draft-klass.txt:
7138 Proposal for klass field values.
7140 * docs/design/part-streams.txt:
7141 Start of a doc describing stream anatomy.
7143 2006-02-28 Wim Taymans <wim@fluendo.com>
7145 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7146 Help the compiler a bit with type registration.
7147 Use existing forward cod path instead of duplicating it when
7150 * gst/gstbus.c: (gst_bus_get_type):
7151 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7152 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7153 * gst/gstclock.c: (gst_clock_get_type):
7154 * gst/gstelement.c: (gst_element_get_type),
7155 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7156 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7157 * gst/gstminiobject.c: (gst_mini_object_get_type):
7158 * gst/gstpad.c: (gst_pad_get_type):
7159 * gst/gstsegment.c: (gst_segment_get_type):
7160 * gst/gststructure.c: (gst_structure_get_type):
7161 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7162 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7164 Help compiler with type registration.
7166 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7169 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7171 * plugins/elements/gsttypefindelement.c:
7172 (gst_type_find_element_handle_event):
7173 When we get an EOS event and have not found a type yet
7174 (most likely because we had not yet accumulated
7175 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7176 type given the data we have so far. Fixes typefinding
7177 for very short streams again, most notably quicktime
7178 redirections as used on Apple's trailer site (#331701).
7180 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7182 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7183 (gst_type_find_helper):
7184 Try typefinding factories with the highest rank first.
7186 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7188 * docs/libs/gstreamer-libs-docs.sgml:
7189 * docs/libs/gstreamer-libs-sections.txt:
7190 * libs/gst/base/gsttypefindhelper.c:
7191 Add section for typefind helper and add documentation
7192 for the old and the new function.
7194 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7196 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7197 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7198 (gst_type_find_helper_for_buffer):
7199 * libs/gst/base/gsttypefindhelper.h:
7200 New API: gst_type_find_helper_for_buffer() (#332723).
7202 2006-02-27 Michael Smith <msmith@fluendo.com>
7204 Patch by: Loïc Minier
7208 * docs/slides/Makefile.am:
7209 prevent CVS directories getting disted.
7211 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7213 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7214 Use the REFCOUNTING category for caps refcounting.
7216 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7218 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7219 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7221 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7223 * plugins/elements/gsttypefindelement.c:
7224 (gst_type_find_element_activate):
7225 Use gst_pad_check_pull_range() before _activate_pull()
7226 to avoid unnecessary open/close (see #331690).
7228 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7231 Docs enhancement: make it crystal clear what the
7232 gst_pad_add_*_probe() callbacks should look like.
7234 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7236 * libs/gst/base/gstbasesrc.c:
7237 Document how applications can stop recording from
7238 live sources (see #330996).
7240 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7242 * tests/check/Makefile.am:
7243 * tests/check/libs/basesrc.c: (eos_event_counter),
7244 (basesrc_eos_events_pull), (basesrc_eos_events_push),
7245 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7246 (gst_basesrc_suite), (main):
7247 ... and add some tests for the base source EOS stuff.
7249 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7251 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7252 Test case originally showed the problem fixed below,
7253 but was then amended. Add checks back at the place
7254 where they used to be.
7256 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7258 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7259 (gst_base_src_init), (gst_base_src_loop),
7260 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7261 (gst_base_src_change_state):
7262 * libs/gst/base/gstbasesrc.h:
7263 Don't unconditionally send EOS when going from PAUSED to
7264 READY state, esp. make sure we don't send two EOS events
7265 in some cases (e.g. one when reaching EOS and one when
7266 going from PAUSED to READY). Also, we don't want to send
7267 EOS events when operating in pull mode. However, we do
7268 want to send an EOS event when shutting down a live
7269 source explicitly, for example (fixes #330996).
7271 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7273 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7274 Update src->read_position after a seek when not using mmap.
7275 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7277 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
7283 Make things work with --disable-parse as they do with
7284 --disable-load-save - the symbols involved disappear, but the
7285 header is still installed and GST_DISABLE_PARSE is included via
7288 2006-02-20 Julien MOUTTE <julien@moutte.net>
7290 * libs/gst/base/gstbasetransform.c:
7291 (gst_base_transform_change_state): Fix a stupid bug. I was
7292 sure I compiled that.
7294 2006-02-20 Julien MOUTTE <julien@moutte.net>
7296 * gst/gstpad.c: (gst_pad_set_blocked_async):
7297 * gst/gstutils.c: (gst_pad_add_data_probe),
7298 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7299 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7300 (gst_pad_remove_buffer_probe): Make those function act on the
7301 ghostpad target when it's a ghostpad. (Closes #331727)
7303 2006-02-20 Julien MOUTTE <julien@moutte.net>
7305 * libs/gst/base/gstbasetransform.c:
7306 (gst_base_transform_change_state): Make basetransform reusable.
7309 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
7311 * docs/random/release:
7312 Move the current documentation of how to do a release to the top
7315 * gst/gstbin.c: (gst_bin_class_init),
7316 (gst_bin_handle_message_func):
7317 Allow multiple state-recalculation threads. (Closes #328873)
7319 2006-02-19 Julien MOUTTE <julien@moutte.net>
7321 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7322 * gst/gstpad.c: (gst_pad_set_event_function),
7323 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7324 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7325 2 strings. You can't use the STR_NULL macro on that.
7327 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
7329 * gst/gstpad.c: (gst_pad_set_event_function),
7330 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7331 (gst_pad_set_getcaps_function)
7332 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7333 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7334 So now, we can use --gst-debug-level=5 on Windows
7335 * win32/common/libgstcontroller.def:
7336 Added export of gst_controller_init
7337 * win32/vs6/libgstcontroller.dsp:
7338 Fixed Release post build configuration
7340 2006-02-17 Wim Taymans <wim@fluendo.com>
7342 * tests/check/gst/gstquery.c: (GST_START_TEST):
7343 Added another check.
7345 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
7347 * plugins/elements/gsttypefindelement.c: (find_peek):
7348 We can do peeks at non-zero offsets, as long as they
7349 fall within the buffer we have.
7351 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
7353 * tests/check/Makefile.am:
7354 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7355 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7356 (parse_suite), (main):
7357 Add testsuite for parse launch syntax
7359 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
7361 * plugins/elements/gsttypefindelement.c:
7362 (gst_type_find_element_chain):
7363 When typefinding is unsuccessful in the chain function, don't
7364 error out immediately. Only error out with NO_CAPS_FOUND if
7365 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7366 otherwise simply wait for more data so we can try typefinding
7367 again with more data later. Also, don't attempt to typefind
7368 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7369 this should improve typefinding from network sources where the
7370 size of the first buffer can be somewhat random.
7372 2006-02-14 Wim Taymans <wim@fluendo.com>
7374 * docs/gst/gstreamer-sections.txt:
7375 * gst/gstpadtemplate.c:
7376 * gst/gstpadtemplate.h:
7377 Fix padtemplate docs, fixes #328805.
7379 2006-02-14 Wim Taymans <wim@fluendo.com>
7381 * tools/gst-launch.c: (main):
7382 NO_PREROLL is not an ERROR so don't send confusing messages
7385 2006-02-14 Wim Taymans <wim@fluendo.com>
7387 Patch by: Torsten Schoenfeld
7389 * gst/gstregistry.c: (gst_registry_get_default),
7390 (_gst_registry_cleanup):
7391 Protect default registry with lock and ref/sink it.
7394 2006-02-14 Wim Taymans <wim@fluendo.com>
7397 * gst/gstquery.c: (gst_query_list_add_format),
7398 (gst_query_set_formatsv), (gst_query_parse_formats_length),
7399 (gst_query_parse_formats_nth):
7400 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7403 2006-02-14 Wim Taymans <wim@fluendo.com>
7405 * docs/gst/gstreamer-sections.txt:
7406 Reworked query docs.
7408 * gst/gstquery.c: (gst_query_new_formats),
7409 (gst_query_list_add_format), (gst_query_set_formats),
7410 (gst_query_set_formatsv), (gst_query_parse_formats_length),
7411 (gst_query_parse_formats_nth):
7413 Flesh out formats query, added some new methods.
7414 Fix part of #324398.
7416 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
7417 Added query creation tests.
7419 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
7421 * gst/gstpad.c: (fixate_value):
7422 Add a default fixation for fraction lists.
7424 2006-02-13 Wim Taymans <wim@fluendo.com>
7426 * gst/gsttask.c: (gst_task_init), (gst_task_func),
7427 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
7430 Detect and warn for obvious deadlocks. fixes #320340
7431 Fix error case where lock was not released.
7433 * tests/check/Makefile.am:
7434 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
7435 (task_func), (gst_element_suite), (main):
7438 2006-02-13 Wim Taymans <wim@fluendo.com>
7440 * docs/gst/gstreamer-sections.txt:
7442 Add new functions to docs.
7444 2006-02-13 Wim Taymans <wim@fluendo.com>
7446 * docs/design/part-TODO.txt:
7447 Updated TODO list, basesrc supports seeking to non-bytes
7450 * docs/design/part-element-sink.txt:
7453 * gst/gstbin.c: (bin_replace_message),
7454 (gst_bin_handle_message_func):
7455 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
7456 * gst/gstevent.c: (gst_event_finalize):
7457 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7458 (gst_pad_send_event):
7459 Use shiny new _TYPE_NAME macros.
7461 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7462 Move debug statement up.
7464 * gst/gstelement.c: (gst_element_set_locked_state):
7467 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
7469 * docs/gst/gstreamer-sections.txt:
7472 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
7473 macros (#330906). Also, document the already existing
7474 GST_QUERY_TYPE macro.
7476 2006-02-13 Wim Taymans <wim@fluendo.com>
7478 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
7479 (event_probe), (GST_START_TEST):
7480 Only events up to the pipeline EOS are counted, there are
7481 some more when going to NULL currently which we don't care
7484 2006-02-13 Wim Taymans <wim@fluendo.com>
7486 * gst/gstpad.c: (gst_pad_send_event):
7487 Correctly check flushing and emit probes. fixes #330125
7489 2006-02-10 Andy Wingo <wingo@pobox.com>
7491 * gst/gstbus.c (gst_bus_class_init): Declare our private data
7493 (gst_bus_init): Cache the location of the private data in the
7495 (gst_bus_enable_sync_message_emission)
7496 (gst_bus_disable_sync_message_emission): Implement new public
7498 (gst_bus_post): Emit the sync-message signal if the user asked for
7501 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
7502 location of the bus-private structure.
7503 (gst_bus_enable_sync_message_emission)
7504 (gst_bus_disable_sync_message_emission): API addition
7506 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
7508 Patch by: Vincent Torri
7510 * docs/pwg/building-boiler.xml:
7511 PWG patch from #326800
7513 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
7517 * docs/design/Makefile.am:
7520 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7525 === release 0.10.3 ===
7527 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7530 releasing 0.10.3, "Like a virgin"
7532 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7535 2nd prerelease of 0.10.3
7536 Bump libtool versioning.
7538 2006-02-07 Andy Wingo <wingo@pobox.com>
7540 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
7541 update last_stop if we're in TIME format and the timestamp is
7544 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
7545 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
7546 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
7547 If we get a new newsegment with a different format, adapt
7550 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
7551 of 0. Not a problem, really.
7553 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
7556 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
7561 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
7564 project files updated to the default vs7 configuration
7565 * win32/common/libgstbase.def:
7566 * win32/common/libgstreamer.def:
7568 removed empty lines,
7569 sorted all exported symbols alphabetically
7570 * win32/common/dirent.c:
7571 * win32/common/dirent.h:
7572 * win32/common/gchar.h:
7573 use windows line end.
7575 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
7577 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7578 Send EOS event when stopping.
7580 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
7583 Tell folks what to do if the plugin-foobar.xml file
7584 hasn't been generated for a newly-added plugin.
7586 2006-02-05 Julien MOUTTE <julien@moutte.net>
7588 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7589 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7590 (gst_collect_pads_start), (gst_collect_pads_stop),
7591 (gst_collect_pads_event): Collectpads now holds a reference
7592 to the GstPad that was added. Indeed we don't want to look
7593 at pads that might just go away with no warning...
7595 2006-02-05 Julien MOUTTE <julien@moutte.net>
7597 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7598 (gst_collect_pads_start), (gst_collect_pads_stop),
7599 (gst_collect_pads_event), (gst_collect_pads_chain):
7600 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
7601 Mark Nauwelaerts's patch on bug #328491.
7603 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
7605 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
7607 Add some simple tests for gst_parse_bin_from_description() and
7608 gst_bin_find_unconnected_pad() (#329069).
7610 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
7612 * tools/gst-launch.c: (event_loop), (main):
7613 Catch errors during preroll (#320084).
7615 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
7617 * plugins/elements/gsttypefindelement.c:
7618 (gst_type_find_element_activate):
7619 Post TYPE_NOT_FOUND error message when typefinding
7620 is unsuccessful in the activate function as well.
7622 2006-02-02 Wim Taymans <wim@fluendo.com>
7624 * docs/design/part-element-sink.txt:
7627 2006-02-02 Wim Taymans <wim@fluendo.com>
7629 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7630 (gst_base_sink_render_object),
7631 (gst_base_sink_queue_object_unlocked):
7632 Only keep track of prerollable items when we are
7634 Before rendering after preroll, always check if we
7636 Added some more debugging.
7638 2006-02-02 Wim Taymans <wim@fluendo.com>
7640 * gst/gstelement.c: (gst_element_continue_state),
7641 (gst_element_set_state_func), (gst_element_change_state):
7642 Fixed #326576, been running this for quite some time with
7643 no regressions at all.
7645 2006-02-02 Wim Taymans <wim@fluendo.com>
7648 Added more suppressions
7650 2006-02-02 Wim Taymans <wim@fluendo.com>
7652 * docs/design/part-element-sink.txt:
7655 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7656 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
7657 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
7658 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7659 (gst_base_sink_do_sync), (gst_base_sink_render_object),
7660 (gst_base_sink_preroll_object),
7661 (gst_base_sink_queue_object_unlocked),
7662 (gst_base_sink_queue_object), (gst_base_sink_event),
7663 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
7664 (gst_base_sink_loop), (gst_base_sink_activate_pull),
7665 (gst_base_sink_get_position), (gst_base_sink_change_state):
7666 * libs/gst/base/gstbasesink.h:
7667 Totally refactored matching the design doc.
7668 Use two segments, one to clip incomming buffers and another to
7670 Handle queueing correctly, bypass the queue when playing.
7671 Make EOS cancelable.
7672 Handle errors correctly when operating in pull based mode.
7674 * tests/check/elements/fakesink.c: (GST_START_TEST),
7676 Added new check for sinks.
7678 2006-02-02 Wim Taymans <wim@fluendo.com>
7680 * gst/gstsegment.c: (gst_segment_clip):
7681 No reason to refuse to clip when start == -1
7683 2006-02-02 Stefan Kost <ensonic@users.sf.net>
7686 * docs/manual/intro-basics.xml:
7687 * docs/manual/intro-preface.xml:
7688 * docs/manual/manual.xml:
7689 * docs/pwg/advanced-dparams.xml:
7690 * docs/pwg/intro-basics.xml:
7691 * docs/pwg/intro-preface.xml:
7693 describe dparams (controller) for plugins
7694 unify docs a little more
7696 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
7698 * docs/gst/gstreamer-sections.txt:
7699 * gst/gstutils.c: (element_find_unconnected_pad),
7700 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
7702 Add new API: gst_parse_bin_from_description() and
7703 gst_bin_find_unconnected_pad() (#329069).
7705 2006-02-01 Stefan Kost <ensonic@users.sf.net>
7707 * docs/manual/README:
7708 uncover a nasty detail of the docs build
7710 2006-01-31 Wim Taymans <wim@fluendo.com>
7712 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
7713 Don't cache duration messages if we're not going to use or
7716 2006-01-31 Stefan Kost <ensonic@users.sf.net>
7718 * docs/manual/advanced-dparams.xml:
7719 * docs/pwg/advanced-dparams.xml:
7723 * libs/gst/controller/lib.c: (gst_controller_init):
7726 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
7728 * gst/gstelement.c: (gst_element_message_full):
7729 also show file/line/func if no additional debug was given
7731 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
7733 * win32/vs7/grammar.vcproj:
7734 activate copy of autogenerated files for Release mode
7736 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
7738 * win32/common/libgstreamer.def:
7739 export gst_value_compare
7741 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
7743 * plugins/elements/Makefile.am:
7744 * plugins/elements/gstelements.c:
7745 * plugins/elements/gstfdsink.c: (_do_init),
7746 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
7747 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
7748 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
7749 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
7750 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
7751 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
7752 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
7753 * plugins/elements/gstfdsink.h:
7754 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
7756 2006-01-30 Stefan Kost <ensonic@users.sf.net>
7758 * docs/manual/advanced-dparams.xml:
7760 * docs/manual/advanced-position.xml:
7761 * docs/manual/basics-init.xml:
7762 * docs/manual/manual.xml:
7763 * docs/manual/titlepage.xml:
7765 * docs/pwg/titlepage.xml:
7766 cleanup xml (more to come)
7767 * libs/gst/controller/gstcontroller.c:
7770 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
7772 * win32/vs6/grammar.dsp:
7773 add autogen of gstmarshal.c,h for Release mode
7775 2006-01-30 Wim Taymans <wim@fluendo.com>
7777 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7778 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
7779 (gst_base_sink_handle_object), (gst_base_sink_event),
7780 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
7781 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7782 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
7783 (gst_base_sink_deactivate), (gst_base_sink_activate),
7784 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
7785 (gst_base_sink_query), (gst_base_sink_change_state):
7786 Basesink cleanups, remove some old code.
7787 Handle the case where a subclass can preroll in the render
7788 method (mostly audiosinks).
7790 Remove some locks around variables that are now protected
7791 with the PREROLL_LOCK (clock_id, flushing, ..).
7792 Optimize position query some more, do correct locking.
7793 Remove old code to push queue in state change, this is not
7794 needed anymore since preroll blocks on all prerollable items
7796 Almost implemented as described in design doc.
7798 2006-01-30 Wim Taymans <wim@fluendo.com>
7800 * tests/check/gst/gstbin.c: (GST_START_TEST):
7801 Wait for refcount to settle down before checking.
7803 2006-01-30 Wim Taymans <wim@fluendo.com>
7805 * docs/design/part-element-sink.txt:
7806 Pseudo code overview of desired sink behaviour regarding
7809 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
7810 * win32/vs6/grammar.dsp:
7811 fix some bugs in Release mode for autogenerated files
7813 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
7814 * win32/common/libgstbase.def:
7815 * win32/common/libgstreamer.def:
7816 export some new symbols: gst_base_src_set_format,
7817 gst_iterator_next, gst_structure_set_valist
7819 2006-01-29 Julien MOUTTE <julien@moutte.net>
7821 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7822 Set pad functions unconditionally. Fixes #329105.
7824 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
7826 add vs8 project files created by Sergey Scobich
7828 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
7830 * gst/gstutils.c: (gst_element_unlink_pads):
7831 Don't leak pad references.
7833 * tests/check/elements/fakesink.c: (GST_START_TEST):
7834 * tests/check/generic/sinks.c: (GST_START_TEST):
7835 * tests/check/generic/states.c: (GST_START_TEST):
7836 * tests/check/gst/gstbin.c: (GST_START_TEST):
7837 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7838 * tests/check/gst/gstelement.c: (GST_START_TEST):
7839 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7840 * tests/check/gst/gstiterator.c: (GST_START_TEST):
7841 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7842 Fix a bunch of leaks. Make generic/sinks.c
7843 use a bit less cpu by slowing the buffer rate
7844 between fakesrc and fakesink.
7846 2006-01-27 Stefan Kost <ensonic@users.sf.net>
7848 * gst/gstelement.c: (gst_element_send_event):
7851 * gst/gstiterator.c:
7852 * gst/gstiterator.h:
7853 * gst/gstpad.c: (gst_pad_send_event):
7854 * gst/gststructure.c:
7858 * libs/gst/base/gstadapter.c:
7859 doc fixes, to link to function, just write gst_cool_function(), don't
7862 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
7864 * plugins/elements/gsttee.c: (gst_tee_do_push),
7865 (gst_tee_handle_buffer):
7866 Always prefer an actual return value from a src
7867 pad in place of NOT_LINKED. This means we return
7868 WRONG_STATE when all src pads are WRONG_STATE
7869 instead of NOT_LINKED.
7871 Lock when replacing the last message to prevent
7872 racing with the get_property method.
7876 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
7878 * tests/check/Makefile.am:
7879 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
7881 Add a very simple check that should have caught the memleak I fixed
7882 last night (if not for the slice allocator hiding it)
7884 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
7886 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7887 (gst_bin_remove_func), (gst_bin_handle_message_func),
7888 (bin_query_duration_fold), (bin_query_generic_fold):
7889 Clean up references to the clock provider when disposed or when
7890 handling a clock-lost message from it.
7892 Unref sinks when performing a query via gst_iterator_fold, as the
7893 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
7895 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
7896 (gst_clock_set_master):
7897 Drop our reference to the master clock, if any, when we are disposed.
7899 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
7900 Chain up in dispose.
7902 2006-01-26 Wim Taymans <wim@fluendo.com>
7904 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7907 2006-01-26 Julien MOUTTE <julien@moutte.net>
7909 * plugins/elements/gsttee.c: (gst_tee_do_push),
7910 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
7911 handles pad being NOT_LINKED or in WRONG_STATE.
7913 2006-01-26 Stefan Kost <ensonic@users.sf.net>
7918 2006-01-26 Stefan Kost <ensonic@users.sf.net>
7921 remove obsolete entry
7923 2006-01-26 Stefan Kost <ensonic@users.sf.net>
7925 * docs/gst/gstreamer-sections.txt:
7926 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
7927 (gst_bin_iterate_sources), (gst_bin_send_event):
7929 * gst/gstelement.c: (gst_element_send_event):
7931 * gst/gstpad.c: (gst_pad_send_event):
7932 added code for downstream events, reviewed docs in gstevent.c
7934 2006-01-25 Julien MOUTTE <julien@moutte.net>
7936 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7937 We only query position using the clock in the playing state.
7938 Query peer in the other cases.
7939 * win32/common/config.h: Updates.
7941 2006-01-24 Wim Taymans <wim@fluendo.com>
7943 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7944 A clock entry that is scheduled for the exact time of the
7945 clock is still in time.
7947 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7948 (gst_base_sink_do_sync):
7949 Add some more debug info.
7951 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
7954 Add new vs7 project files and solution.
7956 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
7959 all files removed as they were out-dated.
7961 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
7963 * docs/random/release:
7965 * gst/gstbin.c: (gst_bin_init):
7966 * gst/gstbus.c: (gst_bus_new):
7968 * gst/gstpipeline.c: (gst_pipeline_init):
7969 use gst_bus_new(), improve logging, fix docs
7970 * win32/common/config.h:
7971 update for cvs build
7973 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
7976 up required version of automake to 1.7
7978 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
7980 * win32/common/libgstreamer.def:
7981 export gst_buffer_is_metadata_writable
7983 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
7985 * docs/gst/gstreamer-sections.txt:
7987 Add gst_event_replace() (#327001)
7989 2006-01-20 Wim Taymans <wim@fluendo.com>
7991 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7992 Make it actually compile too..
7994 2006-01-20 Wim Taymans <wim@fluendo.com>
7997 Clarify behaviour of _is_equal() when passing NULL parameters.
7999 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8001 Cleanups. Don't unref NULL caps.
8002 When setting the same caps, protect caps of the pad with
8004 Use full functionality of _is_equal() when comparing caps.
8006 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8008 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8009 Don't loop infinitely if there are no buffers to present. Partially
8010 fixes #327197, but collectpads is just broken for reusing elements
8011 to do multiple encodes atm.
8013 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8015 * tools/gst-inspect.c: (print_element_features):
8016 * tools/gst-xmlinspect.c: (main):
8017 URL_HANDLER is not a plugin feature we can search for in
8020 2006-01-19 Edward Hervey <edward@fluendo.com>
8022 * gst/gstelement.c: (gst_element_pads_activate):
8023 When activating, do src pads first, then sink pads.
8024 When de-activating, do sink pads first, then src pads.
8026 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8028 * docs/gst/gstreamer-sections.txt:
8029 Add gst_index_add_associationv to the docs
8031 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8036 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8037 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8038 Do some refactoring. Doesn't actually change functionality,
8039 but makes landing the DRAIN event easier later.
8041 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8043 * docs/pwg/advanced-scheduling.xml:
8044 Update from 0.9.x to 0.10 API and make example a bit
8047 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8049 * docs/gst/gstreamer-sections.txt:
8050 Add gst_buffer_(is|make)_metadata_writable methods.
8052 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8054 * docs/design/part-sparsestreams.txt:
8055 Update sparse streams doc, hopefully for greater clarity
8057 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8059 * docs/design/part-events.txt:
8060 Remove mention of FILLER events.
8063 * docs/design/part-sparsestreams.txt:
8064 Write some things about using NEWSEGMENT to keep sparse streams
8067 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8069 * gst/gstbin.c: (gst_bin_dispose):
8070 Guard gst_object_unref call against a NULL object (dispose
8071 can theoretically be called multiple times).
8073 2006-01-18 Wim Taymans <wim@fluendo.com>
8075 * gst/gstbin.c: (gst_bin_element_set_state):
8076 * gst/gstclock.c: (gst_clock_id_wait):
8077 Added some more debug info.
8079 * libs/gst/base/gstadapter.c:
8082 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8083 (gst_base_sink_do_sync), (gst_base_sink_chain):
8084 Added some comments.
8086 2006-01-18 Wim Taymans <wim@fluendo.com>
8088 * tests/check/Makefile.am:
8089 * tests/check/elements/fakesink.c: (chain_async_buffer),
8090 (chain_async), (chain_async_return), (GST_START_TEST),
8091 (fakesink_suite), (main):
8092 Added fakesink test that checks prerolling and clipping
8095 * tests/check/gst/gstutils.c: (GST_START_TEST):
8096 Make check run faster so that buildbots don't timeout.
8098 2006-01-18 Wim Taymans <wim@fluendo.com>
8100 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8101 (gst_base_sink_do_sync):
8103 When the sink finishes blocking on the preroll buffer, it can
8104 immediatly render it instead of rendering when the next buffer
8107 2006-01-18 Wim Taymans <wim@fluendo.com>
8109 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8110 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8111 (gst_base_sink_chain):
8113 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8114 Don't store _last_stop if the buffer is dropped.
8116 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8118 * plugins/elements/gsttypefindelement.c:
8119 (gst_type_find_element_class_init):
8120 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8121 object method handler that sets the caps on the pad and we want
8122 that to happen before we emit the signal (fixes e.g. feeding a
8123 plain text file to decodebin).
8125 2006-01-18 Christian Schaller <Christian@fluendo.com>
8127 * gst/gstplugin.c: Add MPL and Proprietary as license options
8129 2006-01-18 Andy Wingo <wingo@pobox.com>
8131 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8132 symbol was exported before, it appears this was just an oversight.
8134 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8136 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8137 prototype to gint. OK since this prototype was not in the header.
8139 2006-01-17 Andy Wingo <wingo@pobox.com>
8141 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8142 registry while we remove plugins.
8144 * tools/gst-inspect.c (print_element_info): Don't unref the
8145 factory arg, that should be the responsibility of whatever code
8146 received the ref. Fixes a double-free when called from
8147 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8148 (main): Unref the factory if we have one.
8149 (print_element_list): No change -- relies on the
8150 plugin_feature_list_free to free the list of features.
8152 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8154 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8155 (gst_buffer_make_metadata_writable):
8157 * libs/gst/base/gstbasetransform.c:
8158 (gst_base_transform_prepare_output_buf):
8159 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8160 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8161 Replace gst_buffer_(make|is)_metadata_writable patch now
8162 that the release is out.
8164 2006-01-17 Andy Wingo <wingo@pobox.com>
8166 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8167 in the present tense without reference to versions.
8169 * gst/gstregistry.c (gst_registry_add_plugin)
8170 (gst_registry_remove_plugin, gst_registry_remove_feature)
8171 (gst_registry_find_feature, gst_registry_get_feature_list)
8172 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8173 (gst_registry_lookup, gst_registry_scan_path)
8174 (_gst_registry_remove_cache_plugins)
8175 (gst_registry_get_feature_list_by_plugin): Add argument
8178 === release 0.10.2 ===
8180 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8183 releasing 0.10.2, "If man is five"
8185 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8189 * libs/gst/base/gstbasetransform.c:
8190 (gst_base_transform_prepare_output_buf):
8191 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8192 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8193 Back out patch until after the release.
8195 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8197 * gst/gstminiobject.c:
8198 Spelling fix in docs.
8199 * ChangeLog - remove conflict indicator
8201 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8203 Reviewed By: Andy Wingo
8205 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8206 (gst_buffer_make_metadata_writable):
8208 Add gst_buffer_(is|make)_metadata_writable as analogues of
8209 gst_buffer_(is|make)_writable.
8211 * libs/gst/base/gstbasetransform.c:
8212 (gst_base_transform_prepare_output_buf):
8213 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8214 Use name gst_buffer_(is|make)_metadata_writable functions.
8216 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8217 Test gst_buffer_(is|make)_metadata_writable
8221 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
8223 * docs/manual/Makefile.am:
8224 don't do parallel make
8227 * win32/common/config.h.in:
8228 add generations for HOST_CPU and GST_MAJORMINOR
8229 * win32/common/config.h:
8230 commit generated result
8232 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
8234 * docs/manual/appendix-integration.xml:
8235 Update GNOME integration section to use gst_init_get_option_group()
8236 instead of the old popt stuff (#322911). Also, GNOME applications
8237 should now use gconf*sink and gconf*src instead of the old gconf
8240 2006-01-13 Stefan Kost <ensonic@users.sf.net>
8243 * docs/gst/gstreamer-docs.sgml:
8244 * docs/gst/gstreamer-sections.txt:
8245 * docs/libs/gstreamer-libs-sections.txt:
8246 add new API entries to the docs
8247 * libs/gst/controller/Makefile.am:
8248 * libs/gst/controller/gstcontroller.c:
8249 * libs/gst/controller/gstcontroller.h:
8250 * libs/gst/controller/gstcontrollerprivate.h:
8251 * libs/gst/controller/gsthelper.c:
8252 * libs/gst/controller/gstinterpolation.c:
8253 move private structs to private header
8255 gstreamer-0.7 -> gstreamer-0.10
8256 * tests/check/libs/struct_i386.h:
8257 remove private structs
8259 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8261 * plugins/indexers/Makefile.am:
8262 Fixes as part of #317048
8264 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8266 * plugins/indexers/Makefile.am:
8267 fix #316086 - compilation when mmap is missing
8269 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
8271 * libs/gst/base/gstbasesink.c:
8272 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
8273 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8274 * win32/common/config.h:
8275 added some defines GST_MAJORMINOR and HOST_CPU
8276 * win32/common/libgstbase.def:
8277 * win32/common/libgstreamer.def:
8278 added some exported functions.
8280 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8282 * libs/gst/controller/gstcontroller.c:
8283 (gst_controlled_property_set_interpolation_mode),
8284 (gst_controlled_property_new):
8285 * libs/gst/controller/gstcontroller.h:
8286 * libs/gst/controller/gstinterpolation.c:
8287 (interpolate_none_get_string_value_array):
8288 make G_TYPE_STRING controlable
8290 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8293 * tools/gst-feedback.1.in:
8294 * tools/gst-inspect.1.in:
8295 * tools/gst-launch.1.in:
8296 * tools/gst-md5sum.1.in:
8297 * tools/gst-typefind.1.in:
8298 * tools/gst-xmlinspect.1.in:
8299 * tools/gst-xmllaunch.1.in:
8300 cleanup man-pages, remove reference to gst-register, document env-vars
8302 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
8304 * gst/gstbuffer.c: (gst_buffer_span):
8305 gst_buffer_span should copy the timestamp of the first buffer
8306 if they were both originally overlapping subbuffers of the
8307 same parent, using the same logic as the 'slow copy' case.
8309 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
8311 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8312 Need to awaken ALL the pads when we pop a buffer, otherwise
8313 collectpads only works when there is 2 input streams.
8315 2006-01-11 Stefan Kost <ensonic@users.sf.net>
8317 * docs/random/ensonic/media-device-daemon.txt:
8320 fix doc example, add clarification
8321 * tools/gst-launch.1.in:
8322 add initial info about GST_PLUGIN_PATH, needs more work
8324 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
8326 * docs/manual/basics-bins.xml:
8327 * docs/manual/basics-elements.xml:
8328 * docs/manual/intro-basics.xml:
8329 Some more minor docs additions and updates.
8331 2006-01-11 Wim Taymans <wim@fluendo.com>
8333 * docs/manual/basics-bins.xml:
8334 * docs/manual/basics-elements.xml:
8335 Some small fixes as pointed out by Ser-ver on IRC.
8337 2006-01-10 Edward Hervey <edward@fluendo.com>
8339 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8340 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8341 the single-segment mode.
8343 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
8345 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8347 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8348 (gst_base_src_perform_seek), (gst_base_src_send_event),
8349 (gst_base_src_set_property), (gst_base_src_get_property),
8350 (gst_base_src_loop), (gst_base_src_start),
8351 (gst_base_src_activate_push):
8352 * libs/gst/base/gstbasesrc.h:
8353 Name (private) union; makes Sun's Forte compiler happy (#324900).
8355 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
8358 gst-register is gone.
8360 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
8362 * gst/gstvalue.c: (_gst_value_initialize):
8363 make the G_TYPE_DATE instantiation work if debug is disabled
8365 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
8367 * gst/gstmessage.c: (gst_message_parse_tag),
8368 (gst_message_parse_error), (gst_message_parse_warning):
8369 Don't crash when return location for error/warning debug
8370 string is NULL; add fact that return locations can be
8371 NULL to docs where appropriate.
8373 2006-01-05 Wim Taymans <wim@fluendo.com>
8375 * gst/gstplugin.c: (gst_plugin_load_file):
8376 Replace strdup by g_strdup.
8378 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8380 * docs/pwg/advanced-types.xml:
8383 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8385 submitted by: Abel Cheung
8389 Added Chinese (traditional) translation
8391 2006-01-04 Wim Taymans <wim@fluendo.com>
8393 * docs/manual/basics-pads.xml:
8394 * docs/plugins/Makefile.am:
8395 * docs/plugins/gstreamer-plugins-docs.sgml:
8396 * docs/plugins/gstreamer-plugins-sections.txt:
8397 * docs/pwg/advanced-clock.xml:
8398 * docs/pwg/advanced-scheduling.xml:
8399 * docs/pwg/advanced-types.xml:
8400 * plugins/elements/gstfdsink.c:
8401 * plugins/elements/gstfdsrc.c:
8402 * plugins/elements/gstfdsrc.h:
8403 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8404 * plugins/elements/gstidentity.h:
8405 * plugins/elements/gstqueue.h:
8406 * plugins/elements/gsttee.c:
8407 * plugins/elements/gsttee.h:
8408 * plugins/elements/gsttypefindelement.c:
8409 (gst_type_find_element_class_init):
8410 * plugins/elements/gsttypefindelement.h:
8411 Small updates to various docs.
8412 Added core plugins to docs.
8414 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8417 add a suppression for liboil's uninitialized variable
8419 2006-01-02 James Livingston <jrl at ids dot org dot au>
8421 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8424 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
8425 macro, so that gcc doesn't complain if the -Wmissing-prototypes
8426 compiler switch is being used (#325429).
8428 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
8430 * gst/gstbin.c: (gst_bin_query):
8431 Disable duration query caching in bins until it gets
8432 fixed (see #324807).
8434 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
8436 * tools/gst-inspect.c: (print_element_properties_info):
8437 Handle properties of POINTER and BOXED type.
8439 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
8441 * gst/gst.c: (init_post):
8442 Init tags stuff and some other things before loading
8443 any static plugins (there may be other static plugins
8444 than just the GStreamer ones, and they may want to
8445 register their own tags or formats or whatever, and
8446 preferably without segfaulting).
8448 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
8449 Print at least a warning in the debug logs if we drop a
8450 query just because we don't know how to adjust the value
8451 in the particular format.
8453 2005-12-24 David Schleef <ds@schleef.org>
8455 * tools/gstreamer-completion:
8456 Replacement for gst-complete written in sh and sed. Only
8457 completes names of features, but that's 90% of what I want
8458 it for. Properties are not available in registry.xml. (Maybe
8461 === release 0.10.1 ===
8463 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
8466 releasing 0.10.1, "Nollaig chridheil"
8468 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
8471 Add missing quote, should be make ERROR_CFLAGS="".
8473 2005-12-20 Wim Taymans <wim@fluendo.com>
8475 * docs/design/part-trickmodes.txt:
8476 More documentation on trickmodes.
8478 2005-12-20 Edward Hervey <edward@fluendo.com>
8480 * gst/gstcaps.c: (gst_static_caps_get_type):
8482 API addition: GST_TYPE_STATIC_CAPS
8483 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
8484 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
8485 * gst/gstpadtemplate.h:
8486 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
8487 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
8490 2005-12-18 Wim Taymans <wim@fluendo.com>
8492 * libs/gst/base/gstadapter.c:
8493 * libs/gst/base/gstadapter.h:
8494 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8495 (gst_base_sink_get_position):
8496 * libs/gst/base/gstbasesink.h:
8497 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8498 (gst_base_src_default_query), (gst_base_src_default_do_seek),
8499 (gst_base_src_do_seek), (gst_base_src_perform_seek),
8500 (gst_base_src_send_event), (gst_base_src_update_length),
8501 (gst_base_src_get_range), (gst_base_src_loop),
8502 (gst_base_src_start):
8503 * libs/gst/base/gstbasesrc.h:
8504 * libs/gst/base/gstbasetransform.h:
8505 * libs/gst/base/gstcollectpads.h:
8506 * libs/gst/base/gstpushsrc.c:
8507 * libs/gst/base/gstpushsrc.h:
8508 * libs/gst/dataprotocol/dataprotocol.c:
8509 * libs/gst/dataprotocol/dataprotocol.h:
8510 * libs/gst/net/gstnetclientclock.h:
8511 * libs/gst/net/gstnettimeprovider.h:
8512 Documentation updates.
8514 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
8516 * docs/manual/basics-helloworld.xml:
8517 Remove superfluous closing bracket in helloworld example.
8519 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
8521 * tools/gst-launch.1.in:
8522 Update gst-launch man page; add a section with useful
8523 environment variables. Fixes #323882.
8525 2005-12-16 Stefan Kost <ensonic@users.sf.net>
8528 * gst/gst_private.h:
8529 change some char* into char[]
8531 2005-12-16 Wim Taymans <wim@fluendo.com>
8533 * gst/gstregistryxml.c: (load_feature):
8535 Don't use g_object_unref on GstObjects so that we avoid
8536 leaks on unsafe glibs.
8538 2005-12-16 Wim Taymans <wim@fluendo.com>
8540 * gst/gstbin.c: (gst_bin_recalc_state):
8543 2005-12-16 Wim Taymans <wim@fluendo.com>
8546 Added make forever target for check.
8548 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
8550 * gst/gst.c: (init_post):
8551 make the registry cache file HOST_CPU-dependent
8553 2005-12-16 Andy Wingo <wingo@pobox.com>
8555 * plugins/elements/gstbufferstore.c
8556 (gst_buffer_store_cleared_func): Pay attention to g_list_append
8559 * tests/check/gst/gstobject.c
8560 (test_fake_object_name_threaded_unique): Pay attention to
8561 g_list_sort return value.
8563 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
8565 * tools/gst-feedback-m.m:
8566 Update for 0.9/0.10 (fixes #323870).
8568 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
8570 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
8571 Fix lcopy for mini objects, the mini object needs to be ref'ed.
8573 * tests/check/gst/gstminiobject.c: (my_foo_init),
8574 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
8575 (test_value_collection), (gst_mini_object_suite):
8576 Add test to ensure refcounts end up as expected when passing
8577 GstMiniObjects through g_object_get() and g_object_set().
8579 2005-12-14 Julien MOUTTE <julien@moutte.net>
8581 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8582 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
8583 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
8584 of collectpads. This version removes a lot of races without
8585 touching API/ABI. Yay !
8587 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
8589 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
8590 Don't allow activation of a srcpad in pull_range if it has no
8592 Change some debug statements to be a little clearer
8594 * plugins/elements/gsttypefindelement.c:
8595 (gst_type_find_handle_src_query):
8596 Check that we have a peer before executing queries thereupon.
8598 * tests/examples/metadata/read-metadata.c: (message_loop):
8599 Use gst_bus_pop instead of gst_bus_poll when we just want it to
8600 immediately return us any available message with 0 timeout.
8602 2005-12-12 Michael Smith <msmith@fluendo.com>
8604 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8605 Don't unref factories after calling them.
8606 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
8607 * plugins/elements/gsttypefindelement.c:
8608 (gst_type_find_element_chain):
8609 Free lists of factories after using them. Fixing typefinding memory
8612 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8614 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8615 (gst_plugin_feature_load):
8616 more meaningful debug output
8618 * tests/Makefile.am:
8619 * tests/old/examples/Makefile.am:
8620 make make distcheck happy again
8622 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
8624 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8625 Catch the special case where we are operating chain-based,
8626 but the downstream peer pad has no chain function. Emit a
8627 custom error message in this case instead of letting the
8628 core generate one implying that this is some sort of core
8629 bug. It's not, it just means that whatever got plugged
8630 into the pipeline downstream when we announced the type
8631 can only operate pull-based, while our source can only
8632 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
8633 Error string has not been marked for translation yet, as
8634 it probably needs some more work first.
8636 (gst_type_find_element_get_best_possibility):
8637 Add helper function to find the best of all available
8638 found possibilities that qualify given the min. threshold.
8640 (gst_type_find_element_handle_event):
8641 Fix the case where we get an EOS while still in TYPEFIND
8642 mode (we want to chose the best of all possible types,
8643 not just the first type that happens to be in our unsorted
8644 list of possible types).
8646 (gst_type_find_element_chain):
8647 Make sure we return GST_FLOW_ERROR when we errored out
8648 in stop_typefinding(); also, don't just find the best of
8649 all found type entries and then use the last examined
8650 type entry, but actually use the best entry.
8652 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
8654 * tests/examples/typefind/typefind.c: (type_found):
8655 * tests/examples/xml/runxml.c: (xml_loaded):
8656 More gcc4 fixes and a mem leak fix.
8658 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8660 * tests/examples/xml/createxml.c: (object_saved):
8663 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8665 * tests/Makefile.am:
8666 enable the examples even more
8668 2005-12-12 Andy Wingo <wingo@pobox.com>
8670 * libs/gst/net/gstnettimeprovider.c
8671 (gst_net_time_provider_class_init, gst_net_time_provider_init)
8672 (gst_net_time_provider_set_property)
8673 (gst_net_time_provider_get_property):
8674 API addition: Export "active" as a GObject property.
8675 (gst_net_time_provider_thread): Only respond to time queries if
8676 the time provider is active.
8678 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
8679 NetTimeProvider, preserving binary compat.
8681 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8683 * tests/examples/controller/audio-example.c: (main):
8684 * tests/examples/launch/Makefile.am:
8685 convert comments again
8687 2005-12-12 Wim Taymans <wim@fluendo.com>
8689 * libs/gst/base/gstpushsrc.c:
8692 2005-12-12 Wim Taymans <wim@fluendo.com>
8694 * docs/libs/gstreamer-libs-sections.txt:
8695 Added new symbol to docs.
8697 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8698 (gst_base_src_init), (gst_base_src_set_format),
8699 (gst_base_src_default_query), (gst_base_src_query),
8700 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
8701 (gst_base_src_perform_seek), (gst_base_src_send_event),
8702 (gst_base_src_default_event), (gst_base_src_event_handler),
8703 (gst_base_src_set_property), (gst_base_src_get_property),
8704 (gst_base_src_wait), (gst_base_src_do_sync),
8705 (gst_base_src_update_length), (gst_base_src_get_range),
8706 (gst_base_src_check_get_range), (gst_base_src_loop),
8707 (gst_base_src_default_negotiate), (gst_base_src_start),
8708 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8709 (gst_base_src_change_state):
8710 * libs/gst/base/gstbasesrc.h:
8711 Implement seeking to other formats than _BYTES.
8712 Implement more seeking methods correctly.
8714 Added query vmethod.
8715 Added do_seek vmethod to make life easier for subclasses
8717 API addition: gst_base_src_set_format()
8719 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8721 * tests/examples/Makefile.am:
8724 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8727 * docs/random/ensonic/media-device-daemon.txt:
8728 * tests/examples/controller/.cvsignore:
8729 * tests/examples/controller/Makefile.am:
8730 * tests/examples/controller/audio-example.c: (main):
8731 * tests/examples/helloworld/.cvsignore:
8732 * tests/examples/helloworld/Makefile.am:
8733 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
8734 * tests/examples/launch/.cvsignore:
8735 * tests/examples/launch/Makefile.am:
8736 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
8737 * tests/examples/metadata/.cvsignore:
8738 * tests/examples/metadata/Makefile.am:
8739 * tests/examples/metadata/read-metadata.c: (message_loop),
8740 (make_pipeline), (print_tag), (main):
8741 * tests/examples/queue/.cvsignore:
8742 * tests/examples/queue/Makefile.am:
8743 * tests/examples/queue/queue.c: (event_loop), (main):
8744 * tests/examples/typefind/.cvsignore:
8745 * tests/examples/typefind/Makefile.am:
8746 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
8748 * tests/examples/xml/.cvsignore:
8749 * tests/examples/xml/Makefile.am:
8750 * tests/examples/xml/createxml.c: (object_saved), (main):
8751 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
8752 * tests/old/examples/Makefile.am:
8753 * tests/old/examples/TODO:
8754 * tests/old/examples/controller/.cvsignore:
8755 * tests/old/examples/controller/Makefile.am:
8756 * tests/old/examples/controller/audio-example.c:
8757 * tests/old/examples/helloworld/.cvsignore:
8758 * tests/old/examples/helloworld/Makefile.am:
8759 * tests/old/examples/helloworld/helloworld.c:
8760 * tests/old/examples/launch/.cvsignore:
8761 * tests/old/examples/launch/Makefile.am:
8762 * tests/old/examples/launch/mp3parselaunch.c:
8763 * tests/old/examples/launch/mp3play:
8764 * tests/old/examples/manual/Makefile.am:
8765 * tests/old/examples/metadata/Makefile.am:
8766 * tests/old/examples/metadata/read-metadata.c:
8767 * tests/old/examples/queue/.cvsignore:
8768 * tests/old/examples/queue/Makefile.am:
8769 * tests/old/examples/queue/queue.c:
8770 * tests/old/examples/typefind/.cvsignore:
8771 * tests/old/examples/typefind/Makefile.am:
8772 * tests/old/examples/typefind/typefind.c:
8773 * tests/old/examples/xml/.cvsignore:
8774 * tests/old/examples/xml/Makefile.am:
8775 * tests/old/examples/xml/createxml.c:
8776 * tests/old/examples/xml/runxml.c:
8777 applied some simple fixing to some examples
8778 re-enabled the working examples
8780 2005-12-12 Wim Taymans <wim@fluendo.com>
8782 * gst/gstsegment.c: (gst_segment_init),
8783 (gst_segment_set_last_stop), (gst_segment_set_seek),
8784 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8785 (gst_segment_to_running_time):
8786 Added more documentation.
8787 Make sure the last_pos value is updated properly.
8788 Make sure to_stream_time and to_running_time don't
8789 operate on wrong values.
8791 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8794 2005-12-12 Michael Smith <msmith@fluendo.com>
8796 * plugins/elements/gsttypefindelement.c: (free_entry),
8797 (gst_type_find_element_chain):
8798 Now that we're not leaking factories, make sure we keep references
8799 to them while we need them.
8801 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
8803 * tests/check/gst/struct_i386.h:
8804 ifdef out the XML structs
8806 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
8808 * gst/gstvalue.c: (gst_value_transform_double_fraction):
8809 floor is not needed, F is always positive; this obviates the
8810 need for adding -lm when building without libxml
8812 2005-12-12 Wim Taymans <wim@fluendo.com>
8814 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8815 Take current playback rate into account when reporting
8818 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
8820 * docs/manual/mime-world.fig:
8821 Let's try this again, this time with a file that is
8822 actually in XFig format.
8824 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
8826 * docs/manual/mime-world.fig:
8827 Add audioconvert element to diagram so that it
8828 matches the text and the code (fixes #319526).
8830 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
8832 * docs/pwg/building-chainfn.xml:
8833 * docs/pwg/building-pads.xml:
8834 * docs/pwg/building-state.xml:
8835 * docs/pwg/other-source.xml:
8836 Update state change stuff for 0.10 (fixes #322969).
8838 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
8840 * docs/manual/advanced-dataaccess.xml:
8841 * docs/manual/appendix-checklist.xml:
8842 * docs/manual/appendix-programs.xml:
8843 * docs/manual/basics-pads.xml:
8844 * docs/manual/highlevel-components.xml:
8845 * docs/manual/manual.xml:
8846 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
8847 add converters in front of pipelines; remove curly
8848 brackets for threads stuff, they no longer exist; use
8849 GST_TYPE_FRACTION for framerates; update some pieces of
8850 code to 0.10, but there's plenty more to do.
8852 * docs/manual/appendix-porting.xml:
8853 Expand on asynchroneous state changes; s/0.9/0.10/;
8854 mention disappearance of gst_init_get_popt_table()
8857 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
8859 * docs/faq/using.xml:
8860 Spider no longer exists, and neither does gst-launch-ext.
8861 Update examples to use decodebin and playbin and put
8862 converters in front of sinks (fixes #323726).
8864 2005-12-09 Michael Smith <msmith@fluendo.com>
8866 * plugins/elements/gsttypefindelement.c: (find_peek),
8867 (gst_type_find_element_chain):
8868 Fix leaking element factories in typefinding.
8869 Fix problem where we forgot about a probable type on non-seekable
8870 files, and thus later mis-typefound it.
8872 2005-12-09 Michael Smith <msmith@fluendo.com>
8874 * common/m4/gst-makecontext.m4:
8875 * common/m4/gst-mcsc.m4:
8877 * win32/common/config.h:
8878 * win32/common/config.h.in:
8879 Remove makecontext stuff; not used in 0.10 and causes problems on
8880 HPUX according to bug #322441
8882 2005-12-07 Wim Taymans <wim@fluendo.com>
8884 * tests/check/Makefile.am:
8885 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
8887 * tests/check/libs/struct_i386.h:
8888 Added ABI check for libs
8890 2005-12-07 Wim Taymans <wim@fluendo.com>
8892 * tests/check/Makefile.am:
8893 And add the struct_i386.h to dist.
8895 2005-12-07 Wim Taymans <wim@fluendo.com>
8897 * tests/check/Makefile.am:
8898 * tests/check/gst/.cvsignore:
8899 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
8901 * tests/check/gst/struct_i386.h:
8902 Added check for ABI compatibility.
8904 2005-12-07 Wim Taymans <wim@fluendo.com>
8906 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8907 (gst_fake_src_get_times), (gst_fake_src_create):
8908 Fix broken sync option, fixes #323259
8910 2005-12-07 Wim Taymans <wim@fluendo.com>
8915 * gst/gstcaps.c: (gst_caps_is_equal):
8916 Don't assert on NULL <--> X. Fixes #323260
8918 * gst/gstminiobject.c: (gst_mini_object_replace):
8919 If we're doing atomic operations, we might just as well use
8920 the proper way to get an atomic pointer.
8922 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8925 2005-12-07 Michael Smith <msmith@fluendo.com>
8927 * gst/parse/grammar.y:
8928 Remove handling of { } for threads.
8930 2005-12-06 David Schleef <ds@schleef.org>
8932 * libs/gst/base/gstbasetransform.c: speling fix.
8934 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
8936 * docs/libs/tmpl/gstdataprotocol.sgml:
8937 * docs/random/omega/testing/gstobject.c:
8941 * gst/gstelementfactory.c:
8944 * gst/gstghostpad.c:
8946 * gst/gstpadtemplate.c:
8947 * gst/gstregistryxml.c:
8949 * gst/gsttagsetter.c:
8950 * gst/gsttypefind.c:
8952 * libs/gst/base/gstbasesrc.c:
8953 * libs/gst/net/gstnetclientclock.c:
8954 * libs/gst/net/gstnettimeprovider.c:
8955 * plugins/elements/gstfakesrc.c:
8956 * plugins/elements/gstfdsrc.c:
8957 * plugins/elements/gstfilesrc.c:
8958 * plugins/elements/gstidentity.c:
8959 * plugins/elements/gstqueue.c:
8960 * plugins/elements/gsttypefindelement.c:
8961 * plugins/indexers/gstfileindex.c:
8962 * plugins/indexers/gstmemindex.c:
8963 * tests/check/gst/gsttag.c:
8964 * tests/old/examples/cutter/cutter.c:
8965 * tests/old/examples/mixer/mixer.c:
8966 * tests/old/examples/xml/runxml.c: (main):
8967 * tests/old/testsuite/caps/normalisation.c:
8968 * tests/old/testsuite/debug/global.c:
8969 * tests/old/testsuite/parse/parse1.c:
8970 * tools/gst-xmlinspect.c:
8971 * win32/common/dirent.c:
8974 === release 0.10.0 ===
8976 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8979 releasing 0.10.0, "Maroilles"
8981 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
8983 submitted by: Funda Wang <fundawang@linux.net.cn>
8987 added Chinese (Traditional) translation
8989 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
8991 * docs/gst/gstreamer-sections.txt:
8992 * docs/libs/tmpl/gstdataprotocol.sgml:
8993 * docs/random/thomasvs/TODO:
8998 2005-12-05 Andy Wingo <wingo@pobox.com>
9000 patch by: Wim Taymans <wim@fluendo.com>
9002 * libs/gst/base/gstbasetransform.c
9003 (gst_base_transform_prepare_output_buf)
9004 (gst_base_transform_buffer_alloc):
9005 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9006 alloc_buffer_and_set_caps.
9008 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9009 set_caps on the source pad.
9010 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9011 alloc_buffer used to do. Fixes #322874.
9013 * docs/gst/gstreamer-sections.txt:
9014 * docs/design/part-negotiation.txt:
9015 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9018 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9020 patch by: Sebastien Moutte
9023 * win32/common/config.h.in:
9024 * win32/vs6/libgstcontroller.dsp:
9027 2005-12-05 Wim Taymans <wim@fluendo.com>
9029 * gst/gstcaps.c: (gst_caps_is_equal):
9030 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9031 (gst_fake_src_create):
9032 Back out previous code changes, leave doc updates, file bugs
9035 2005-12-05 Wim Taymans <wim@fluendo.com>
9037 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9038 (gst_fake_src_get_times), (gst_fake_src_create):
9039 * plugins/elements/gstfakesrc.h:
9040 Fix broken sync code.
9042 2005-12-05 Wim Taymans <wim@fluendo.com>
9044 * gst/gstcaps.c: (gst_caps_is_equal):
9045 Comparing NULL against !NULL yields different caps, not a
9048 2005-12-05 Wim Taymans <wim@fluendo.com>
9050 * gst/gstpipeline.c:
9051 Fix small typo in docs.
9053 2005-12-05 Andy Wingo <wingo@pobox.com>
9055 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9057 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9058 registries/plugins with a MAJORMINOR one.
9059 (plugin_desc): Rename library from gstcoreleements to
9060 staticelements. Fixes #323222.
9062 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9064 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9065 Change debug category to 'collectpads' from 'collect_pads'
9068 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9070 patch by: Sebastien Moutte
9072 * libs/gst/controller/gstinterpolation.c:
9073 use convert function for uint64/double
9074 * win32/vs6/libgstcontroller.dsp:
9077 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9079 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9080 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9082 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9083 add tests that seem to show that the guint64/gdouble conversions
9086 2005-12-02 Wim Taymans <wim@fluendo.com>
9088 * gst/gstregistry.c: (gst_registry_add_path):
9089 * gst/gstregistry.h:
9090 * gst/gstregistryxml.c:
9093 2005-12-02 Wim Taymans <wim@fluendo.com>
9095 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9096 (gst_util_uint64_scale_int):
9099 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9102 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9105 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9108 * win32/common/config.h:
9109 * win32/vs6/gstreamer.dsw:
9110 * win32/vs6/libgstcoreelements.dsp:
9111 * win32/vs6/libgstelements.dsp:
9112 renamed core elements plugin
9114 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9116 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9118 do piece-wise major/minor comparison so 0.9 < 0.10
9119 also allow .exe extensions for tools
9121 2005-12-02 Michael Smith <msmith@fluendo.com>
9124 Escape a % to make gtkdoc happier; bug 322958.
9126 === release 0.9.7 ===
9128 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9131 releasing 0.9.7, "My Dog Has No Nose"
9133 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9135 * common/gst-xmlinspect.py:
9137 * docs/libs/tmpl/gstdataprotocol.sgml:
9138 * docs/random/release:
9157 * win32/common/config.h:
9158 * win32/common/config.h.in:
9159 * win32/vs6/gst_inspect.dsp:
9160 * win32/vs6/gst_launch.dsp:
9161 * win32/vs6/libgstbase.dsp:
9162 * win32/vs6/libgstelements.dsp:
9163 * win32/vs6/libgstreamer.dsp:
9164 * win32/vs7/GStreamer.vcproj:
9165 * win32/vs7/gst-inspect.vcproj:
9166 * win32/vs7/gst-launch.vcproj:
9167 * win32/vs7/libgstbase.vcproj:
9168 bump GST_MAJORMINOR to 0.10
9169 reset libtool version
9171 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9175 Added Bulgarian translation by (Alexander Shopov)
9177 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9179 * tests/check/gst/gstplugin.c:
9182 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9184 * common/gst-xmlinspect.py:
9185 * common/gtk-doc-plugins.mak:
9188 * docs/gst/Makefile.am:
9189 * docs/gst/gstreamer-docs.sgml:
9190 * docs/gst/gstreamer-sections.txt:
9191 * docs/gst/gstreamer.types:
9192 * docs/gst/gstreamer.types.in:
9193 * docs/plugins/Makefile.am:
9194 * docs/plugins/gstreamer-plugins-docs.sgml:
9195 * docs/plugins/gstreamer-plugins-sections.txt:
9196 * docs/plugins/gstreamer-plugins.types:
9197 * docs/plugins/inspect.stamp:
9198 * docs/plugins/inspect/plugin-coreelements.xml:
9199 * docs/plugins/inspect/plugin-coreindexers.xml:
9200 * docs/plugins/scanobj-build.stamp:
9201 * gstreamer.spec.in:
9202 * plugins/elements/Makefile.am:
9203 * plugins/elements/gstelements.c:
9204 * plugins/elements/gstfakesink.c:
9205 * plugins/elements/gstfakesrc.c:
9206 * plugins/elements/gstfilesink.c:
9207 * plugins/elements/gstfilesrc.c:
9208 * plugins/elements/gstqueue.c:
9209 * plugins/indexers/Makefile.am:
9210 * plugins/indexers/gstindexers.c:
9211 document core plugins in a separate document just like all the
9213 rename these plugins to something starting with core
9215 2005-12-01 Andy Wingo <wingo@pobox.com>
9217 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9218 padding here before, but it missed the commit.
9220 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9222 * libs/gst/controller/gstinterpolation.c:
9223 whitespace prices have crashed, we should feel free to use some now
9224 use gst_guint64_to_gdouble
9226 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9228 * libs/gst/controller/gstcontroller.c:
9229 * libs/gst/controller/gsthelper.c:
9230 * libs/gst/controller/gstinterpolation.c:
9231 * libs/gst/controller/lib.c:
9232 wrap config.h include
9234 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9236 * docs/gst/gstreamer-sections.txt:
9239 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9241 * plugins/elements/gstelements.c:
9242 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9243 (gst_fd_sink__class_init), (gst_fd_sink__init),
9244 (gst_fd_sink__chain), (gst_fd_sink__set_property),
9245 (gst_fd_sink__get_property):
9246 * plugins/elements/gstfdsink.h:
9247 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9248 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9249 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9250 (gst_fd_src_unlock), (gst_fd_src_set_property),
9251 (gst_fd_src_get_property), (gst_fd_src_create),
9252 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9253 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9254 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9255 (gst_fd_src_uri_handler_init):
9256 * plugins/elements/gstfdsrc.h:
9257 * plugins/elements/gstqueue.c: (gst_queue_get_type):
9260 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9262 * docs/gst/Makefile.am:
9263 * docs/gst/gstreamer.types.in:
9267 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9273 * gst/gstregistry.h:
9274 * tests/benchmarks/complexity.c:
9275 * tests/benchmarks/mass-elements.c:
9276 * tests/check/Makefile.am:
9277 * tools/Makefile.am:
9278 * tools/gst-inspect.c:
9279 * tools/gst-xmlinspect.c:
9280 various fixes to make
9281 --disable-nls --disable-registry --disable-loadsave
9282 --disable-parse --disable-gst-debug
9283 work and get the core .so down to 360444 bytes after stripping
9285 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9290 * docs/random/thomasvs/TODO:
9291 * tests/Makefile.am:
9295 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9297 * win32/GStreamer.vcproj:
9300 * win32/Makefile.inspect:
9301 * win32/Makefile.launch:
9302 * win32/Makefile.register:
9304 * win32/gst-inspect.vcproj:
9305 * win32/gst-launch.vcproj:
9306 * win32/gst-register.vcproj:
9307 * win32/gstelements.vcproj:
9308 * win32/gstgetbits.def:
9309 * win32/gstgetbits.vcproj:
9310 * win32/gstreamer-dbg.def:
9311 * win32/gstreamer.def:
9312 * win32/libgstbase.def:
9313 * win32/libgstbase.vcproj:
9314 * win32/link_oldruntime.c:
9319 move even more stuff, win32/ is nice and clean now
9321 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9323 * libs/gst/control/.cvsignore:
9328 * win32/gstbytestream.def:
9329 * win32/gstbytestream.vcproj:
9330 * win32/gstconfig.h:
9331 * win32/gstenumtypes.c:
9332 * win32/gstenumtypes.h:
9333 * win32/gstoptimalscheduler.vcproj:
9334 * win32/gstversion.h:
9336 * win32/testsuite/bins.vcproj:
9337 * win32/testsuite/bytestream.vcproj:
9338 * win32/testsuite/caps.vcproj:
9339 * win32/testsuite/cleanup.vcproj:
9340 * win32/testsuite/clock.vcproj:
9341 * win32/testsuite/debug.vcproj:
9342 * win32/testsuite/dlopen.vcproj:
9343 * win32/testsuite/dynparams.vcproj:
9344 * win32/testsuite/elements.vcproj:
9345 * win32/testsuite/ghostpads.vcproj:
9346 * win32/testsuite/indexers.vcproj:
9347 * win32/testsuite/negotiation.vcproj:
9348 * win32/testsuite/parse.vcproj:
9349 * win32/testsuite/plugin.vcproj:
9350 * win32/testsuite/refcounting.vcproj:
9351 * win32/testsuite/schedulers.vcproj:
9352 * win32/testsuite/states.vcproj:
9353 * win32/testsuite/tags.vcproj:
9354 * win32/testsuite/threads.vcproj:
9355 remove old win32 stuff that isn't maintained and should be
9358 2005-11-30 Andy Wingo <wingo@pobox.com>
9360 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9361 loading the gst.interfaces python module bork.
9363 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9364 available since GLib 2.2. Fixes #318031.
9366 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9370 * check/Makefile.am:
9371 * check/elements/.cvsignore:
9372 * check/elements/fakesrc.c:
9373 * check/elements/fdsrc.c:
9374 * check/elements/identity.c:
9375 * check/generic/.cvsignore:
9376 * check/generic/states.c:
9377 * check/gst-libs/.cvsignore:
9378 * check/gst-libs/controller.c:
9379 * check/gst-libs/gdp.c:
9380 * check/gst/.cvsignore:
9381 * check/gst/capslist.h:
9383 * check/gst/gstbin.c:
9384 * check/gst/gstbuffer.c:
9385 * check/gst/gstbus.c:
9386 * check/gst/gstcaps.c:
9387 * check/gst/gstelement.c:
9388 * check/gst/gstevent.c:
9389 * check/gst/gstghostpad.c:
9390 * check/gst/gstiterator.c:
9391 * check/gst/gstmessage.c:
9392 * check/gst/gstminiobject.c:
9393 * check/gst/gstobject.c:
9394 * check/gst/gstpad.c:
9395 * check/gst/gstpipeline.c:
9396 * check/gst/gstplugin.c:
9397 * check/gst/gstsegment.c:
9398 * check/gst/gststructure.c:
9399 * check/gst/gstsystemclock.c:
9400 * check/gst/gsttag.c:
9401 * check/gst/gstutils.c:
9402 * check/gst/gstvalue.c:
9403 * check/net/.cvsignore:
9404 * check/net/gstnetclientclock.c:
9405 * check/net/gstnettimeprovider.c:
9406 * check/pipelines/.cvsignore:
9407 * check/pipelines/cleanup.c:
9408 * check/pipelines/simple_launch_lines.c:
9409 * check/pipelines/stress.c:
9410 * check/states/.cvsignore:
9411 * check/states/sinks.c:
9413 * examples/Makefile.am:
9414 * examples/appreader/.cvsignore:
9415 * examples/appreader/Makefile.am:
9416 * examples/appreader/appreader.c:
9417 * examples/controller/.cvsignore:
9418 * examples/controller/Makefile.am:
9419 * examples/controller/audio-example.c:
9420 * examples/cutter/.cvsignore:
9421 * examples/cutter/Makefile.am:
9422 * examples/cutter/cutter.c:
9423 * examples/cutter/cutter.h:
9424 * examples/events/Makefile.am:
9425 * examples/events/seek.c:
9426 * examples/helloworld/.cvsignore:
9427 * examples/helloworld/Makefile.am:
9428 * examples/helloworld/helloworld.c:
9429 * examples/helloworld2/.cvsignore:
9430 * examples/helloworld2/Makefile.am:
9431 * examples/helloworld2/helloworld2.c:
9432 * examples/launch/.cvsignore:
9433 * examples/launch/Makefile.am:
9434 * examples/launch/mp3parselaunch.c:
9435 * examples/launch/mp3play:
9436 * examples/manual/.cvsignore:
9437 * examples/manual/Makefile.am:
9438 * examples/manual/extract.pl:
9439 * examples/metadata/Makefile.am:
9440 * examples/metadata/read-metadata.c:
9441 * examples/mixer/.cvsignore:
9442 * examples/mixer/Makefile.am:
9443 * examples/mixer/mixer.c:
9444 * examples/mixer/mixer.h:
9445 * examples/pingpong/.cvsignore:
9446 * examples/pingpong/Makefile.am:
9447 * examples/pingpong/pingpong.c:
9448 * examples/plugins/.cvsignore:
9449 * examples/plugins/Makefile.am:
9450 * examples/plugins/example.c:
9451 * examples/plugins/example.h:
9452 * examples/pwg/.cvsignore:
9453 * examples/pwg/Makefile.am:
9454 * examples/pwg/extract.pl:
9455 * examples/queue/.cvsignore:
9456 * examples/queue/Makefile.am:
9457 * examples/queue/queue.c:
9458 * examples/queue2/.cvsignore:
9459 * examples/queue2/Makefile.am:
9460 * examples/queue2/queue2.c:
9461 * examples/queue3/.cvsignore:
9462 * examples/queue3/Makefile.am:
9463 * examples/queue3/queue3.c:
9464 * examples/queue4/.cvsignore:
9465 * examples/queue4/Makefile.am:
9466 * examples/queue4/queue4.c:
9467 * examples/retag/.cvsignore:
9468 * examples/retag/Makefile.am:
9469 * examples/retag/retag.c:
9470 * examples/retag/transcode.c:
9471 * examples/thread/.cvsignore:
9472 * examples/thread/Makefile.am:
9473 * examples/thread/thread.c:
9474 * examples/typefind/.cvsignore:
9475 * examples/typefind/Makefile.am:
9476 * examples/typefind/typefind.c:
9477 * examples/xml/.cvsignore:
9478 * examples/xml/Makefile.am:
9479 * examples/xml/createxml.c:
9480 * examples/xml/runxml.c:
9481 * tests/Makefile.am:
9482 * tests/check/Makefile.am:
9483 * testsuite/.cvsignore:
9484 * testsuite/Makefile.am:
9486 * testsuite/caps/.cvsignore:
9487 * testsuite/caps/Makefile.am:
9488 * testsuite/caps/app_fixate.c:
9489 * testsuite/caps/audioscale.c:
9490 * testsuite/caps/caps.c:
9491 * testsuite/caps/caps.h:
9492 * testsuite/caps/caps_strings:
9493 * testsuite/caps/compatibility.c:
9494 * testsuite/caps/deserialize.c:
9495 * testsuite/caps/enumcaps.c:
9496 * testsuite/caps/eratosthenes.c:
9497 * testsuite/caps/filtercaps.c:
9498 * testsuite/caps/fixed.c:
9499 * testsuite/caps/fraction-convert.c:
9500 * testsuite/caps/fraction-multiply-and-zero.c:
9501 * testsuite/caps/intersect2.c:
9502 * testsuite/caps/intersection.c:
9503 * testsuite/caps/normalisation.c:
9504 * testsuite/caps/random.c:
9505 * testsuite/caps/renegotiate.c:
9506 * testsuite/caps/sets.c:
9507 * testsuite/caps/simplify.c:
9508 * testsuite/caps/string-conversions.c:
9509 * testsuite/caps/structure.c:
9510 * testsuite/caps/subtract.c:
9511 * testsuite/caps/union.c:
9512 * testsuite/debug/.cvsignore:
9513 * testsuite/debug/Makefile.am:
9514 * testsuite/debug/category.c:
9515 * testsuite/debug/commandline.c:
9516 * testsuite/debug/global.c:
9517 * testsuite/debug/output.c:
9518 * testsuite/debug/printf_extension.c:
9519 * testsuite/dlopen/.cvsignore:
9520 * testsuite/dlopen/Makefile.am:
9521 * testsuite/dlopen/dlopen_gst.c:
9522 * testsuite/dlopen/loadgst.c:
9523 * testsuite/elements/.cvsignore:
9524 * testsuite/elements/Makefile.am:
9525 * testsuite/elements/gst-inspect-check.in:
9526 * testsuite/elements/struct_i386.h:
9527 * testsuite/elements/struct_size.c:
9528 * testsuite/indexers/.cvsignore:
9529 * testsuite/indexers/Makefile.am:
9530 * testsuite/indexers/cache1.c:
9531 * testsuite/indexers/indexdump.c:
9532 * testsuite/parse/.cvsignore:
9533 * testsuite/parse/Makefile.am:
9534 * testsuite/parse/parse1.c:
9535 * testsuite/parse/parse2.c:
9536 * testsuite/plugin/.cvsignore:
9537 * testsuite/plugin/Makefile.am:
9538 * testsuite/plugin/README:
9539 * testsuite/plugin/dynamic.c:
9540 * testsuite/plugin/linked.c:
9541 * testsuite/plugin/loading.c:
9542 * testsuite/plugin/registry.c:
9543 * testsuite/plugin/static.c:
9544 * testsuite/plugin/static2.c:
9545 * testsuite/plugin/testplugin.c:
9546 * testsuite/plugin/testplugin2.c:
9547 * testsuite/plugin/testplugin2_s.c:
9548 * testsuite/plugin/testplugin_s.c:
9549 * testsuite/refcounting/.cvsignore:
9550 * testsuite/refcounting/Makefile.am:
9551 * testsuite/refcounting/bin.c:
9552 * testsuite/refcounting/element.c:
9553 * testsuite/refcounting/element_pad.c:
9554 * testsuite/refcounting/mainloop.c:
9555 * testsuite/refcounting/mem.c:
9556 * testsuite/refcounting/mem.h:
9557 * testsuite/refcounting/object.c:
9558 * testsuite/refcounting/pad.c:
9559 * testsuite/refcounting/sched.c:
9560 * testsuite/refcounting/thread.c:
9561 * testsuite/states/.cvsignore:
9562 * testsuite/states/Makefile.am:
9563 * testsuite/states/bin.c:
9564 * testsuite/states/locked.c:
9565 * testsuite/states/parent.c:
9566 * testsuite/threads/.cvsignore:
9567 * testsuite/threads/159566.c:
9568 * testsuite/threads/159852.c:
9569 * testsuite/threads/Makefile.am:
9570 * testsuite/threads/queue.c:
9571 * testsuite/threads/signals.c:
9572 * testsuite/threads/staticrec.c:
9573 * testsuite/threads/thread.c:
9574 * testsuite/threads/threadb.c:
9575 * testsuite/threads/threadc.c:
9576 * testsuite/threads/threadd.c:
9577 * testsuite/threads/threade.c:
9578 * testsuite/threads/threadf.c:
9579 * testsuite/threads/threadg.c:
9580 * testsuite/threads/threadh.c:
9581 * testsuite/threads/threadi.c:
9582 move all of these under tests
9584 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9587 * tests/Makefile.am:
9590 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9592 * docs/gst/gstreamer-sections.txt:
9593 * tests/sched/.cvsignore:
9594 * tests/sched/Makefile.am:
9595 * tests/sched/cases/(fs-fs).xml:
9596 * tests/sched/cases/(fs-i-fs).xml:
9597 * tests/sched/cases/(fs-i-i-fs).xml:
9598 * tests/sched/cases/(fs-i-q[i-fs]).xml:
9599 * tests/sched/dynamic-pipeline.c:
9600 * tests/sched/interrupt1.c:
9601 * tests/sched/interrupt2.c:
9602 * tests/sched/interrupt3.c:
9603 * tests/sched/runtestcases:
9604 * tests/sched/runxml.c:
9605 * tests/sched/sched-stress.c:
9606 * tests/sched/sort.c:
9607 * tests/sched/testcases:
9608 * tests/sched/testcases1.tc:
9609 * tests/seeking/.cvsignore:
9610 * tests/seeking/Makefile.am:
9611 * tests/seeking/seeking1.c:
9612 * tests/threadstate/.cvsignore:
9613 * tests/threadstate/Makefile.am:
9614 * tests/threadstate/test1.c:
9615 * tests/threadstate/test2.c:
9616 * tests/threadstate/threadstate1.c:
9617 * tests/threadstate/threadstate2.c:
9618 * tests/threadstate/threadstate3.c:
9619 * tests/threadstate/threadstate4.c:
9620 * tests/threadstate/threadstate5.c:
9621 remove obsolete tests
9623 * tests/bench-complexity.scm:
9624 * tests/bench-mass_elements.scm:
9625 * tests/complexity.c:
9626 * tests/complexity.gnuplot:
9627 * tests/instantiate/.cvsignore:
9628 * tests/instantiate/Makefile.am:
9629 * tests/instantiate/caps.c:
9630 * tests/mass_elements.c:
9631 * tests/network-clock-utils.scm:
9632 * tests/network-clock.scm:
9634 First pass at cleaning up tests/ dir before moving the rest
9635 Combined with CVS surgery
9637 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9640 queue has moved, update
9642 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9644 * docs/gst/gstreamer-sections.txt:
9645 remove double entries from the docs
9646 * gst/gst_private.h:
9647 * gst/gstinfo.c: (_gst_debug_init):
9648 remove the THREAD debug category
9652 * docs/gst/gstreamer.types:
9653 * plugins/elements/gstqueue.c: (gst_queue_get_type),
9654 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
9655 completely move queue and fix up debugging categories
9657 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9659 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9660 make initialization portable, using LL is not
9662 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9664 * win32/common/gstconfig.h:
9667 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9669 * win32/common/libgstreamer.def:
9670 rename symbols; sort base section
9672 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9674 * gst/gstclock.c: (do_linear_regression):
9675 remove crack non-portable handrolled DEBUG macro
9677 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9679 * docs/random/release:
9681 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9682 (gst_object_flags_get_type), (register_gst_bin_flags),
9683 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9684 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9685 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9686 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
9687 (gst_caps_flags_get_type), (register_gst_clock_return),
9688 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9689 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9690 (gst_clock_flags_get_type), (register_gst_state),
9691 (gst_state_get_type), (register_gst_state_change_return),
9692 (gst_state_change_return_get_type), (register_gst_state_change),
9693 (gst_state_change_get_type), (register_gst_element_flags),
9694 (gst_element_flags_get_type), (register_gst_core_error),
9695 (gst_core_error_get_type), (register_gst_library_error),
9696 (gst_library_error_get_type), (register_gst_resource_error),
9697 (gst_resource_error_get_type), (register_gst_stream_error),
9698 (gst_stream_error_get_type), (register_gst_event_type_flags),
9699 (gst_event_type_flags_get_type), (register_gst_event_type),
9700 (gst_event_type_get_type), (register_gst_seek_type),
9701 (gst_seek_type_get_type), (register_gst_seek_flags),
9702 (gst_seek_flags_get_type), (register_gst_format),
9703 (gst_format_get_type), (register_gst_index_certainty),
9704 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9705 (gst_index_entry_type_get_type),
9706 (register_gst_index_lookup_method),
9707 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9708 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9709 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9710 (gst_index_flags_get_type), (register_gst_debug_level),
9711 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9712 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9713 (gst_iterator_result_get_type), (register_gst_iterator_item),
9714 (gst_iterator_item_get_type), (register_gst_message_type),
9715 (gst_message_type_get_type), (register_gst_mini_object_flags),
9716 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9717 (gst_pad_link_return_get_type), (register_gst_flow_return),
9718 (gst_flow_return_get_type), (register_gst_activate_mode),
9719 (gst_activate_mode_get_type), (register_gst_pad_direction),
9720 (gst_pad_direction_get_type), (register_gst_pad_flags),
9721 (gst_pad_flags_get_type), (register_gst_pad_presence),
9722 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9723 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9724 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9725 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9726 (gst_plugin_flags_get_type), (register_gst_rank),
9727 (gst_rank_get_type), (register_gst_query_type),
9728 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9729 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9730 (gst_tag_flag_get_type), (register_gst_task_state),
9731 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9732 (gst_alloc_trace_flags_get_type),
9733 (register_gst_type_find_probability),
9734 (gst_type_find_probability_get_type), (register_gst_uri_type),
9735 (gst_uri_type_get_type), (register_gst_parse_error),
9736 (gst_parse_error_get_type):
9737 * win32/common/gstenumtypes.h:
9738 * win32/common/gstversion.h:
9739 update visual studio generated files
9741 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9743 * win32/vs6/libgstbase.dsp:
9744 * win32/vs6/libgstelements.dsp:
9745 update project files for new locations
9747 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9752 reinstate and update
9757 * docs/random/LICENSE:
9760 2005-11-30 Edward Hervey <edward@fluendo.com>
9762 * gst/gsttypefind.c: (gst_type_find_register):
9763 * gst/gsttypefind.h:
9764 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
9765 (gst_type_find_factory_dispose):
9766 * gst/gsttypefindfactory.h:
9767 Fix memory leak in GstTypeFindFactory.
9769 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9772 * plugins/elements/Makefile.am:
9773 * plugins/elements/gstelements.c:
9774 * plugins/elements/gstqueue.c:
9775 move queue from core to the elements plugin
9777 2005-11-29 Andy Wingo <wingo@pobox.com>
9779 * libs/gst/base/gstbasetransform.h:
9780 * libs/gst/base/gstbasesrc.h:
9781 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
9783 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
9784 of pointers by which to pad very extensible base classes (like the
9785 ones in libs/gst/base).
9787 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9789 * docs/gst/gstreamer-docs.sgml:
9790 * docs/gst/gstreamer-sections.txt:
9791 * docs/libs/gstreamer-libs-docs.sgml:
9792 * docs/libs/gstreamer-libs-sections.txt:
9793 moving documentation from core to lib
9795 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9797 * check/Makefile.am:
9799 * docs/gst/Makefile.am:
9801 * gst/base/.cvsignore:
9802 * gst/base/Makefile.am:
9804 * gst/base/gstadapter.c:
9805 * gst/base/gstadapter.h:
9806 * gst/base/gstbasesink.c:
9807 * gst/base/gstbasesink.h:
9808 * gst/base/gstbasesrc.c:
9809 * gst/base/gstbasesrc.h:
9810 * gst/base/gstbasetransform.c:
9811 * gst/base/gstbasetransform.h:
9812 * gst/base/gstcollectpads.c:
9813 * gst/base/gstcollectpads.h:
9814 * gst/base/gstpushsrc.c:
9815 * gst/base/gstpushsrc.h:
9816 * gst/base/gsttypefindhelper.c:
9817 * gst/base/gsttypefindhelper.h:
9818 * gst/check/Makefile.am:
9819 * gst/check/gstcheck.c:
9820 * gst/check/gstcheck.h:
9821 * gst/net/Makefile.am:
9823 * gst/net/gstnetclientclock.c:
9824 * gst/net/gstnetclientclock.h:
9825 * gst/net/gstnettimepacket.c:
9826 * gst/net/gstnettimepacket.h:
9827 * gst/net/gstnettimeprovider.c:
9828 * gst/net/gstnettimeprovider.h:
9829 * libs/gst/Makefile.am:
9830 * libs/gst/base/Makefile.am:
9831 * libs/gst/base/gstbasetransform.c:
9832 * libs/gst/check/Makefile.am:
9833 * plugins/elements/Makefile.am:
9835 CVS surgery + support to move base, check, and net out of gst
9838 2005-11-29 Andy Wingo <wingo@pobox.com>
9840 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
9842 * gst/gststructure.h (struct _GstStructure): Only one pointer of
9845 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
9847 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
9849 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
9851 * gst/gstobject.h: (struct _GstObject): Only one pointer of
9852 padding; reduces object size by about 30%. We don't expect
9853 anything else to go into gstobject.
9855 * gst/gstminiobject.h (struct _GstMiniObject)
9856 (struct _GstMiniObjectClass): Only one pointer of padding; the
9857 payload is only a pointer and two ints anyway. For the class there
9858 are only two methods as well.
9860 * gst/gstelement.h (struct _GstElementClass): Removed
9861 the state_changed signal callback, it is not used.
9863 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
9865 * docs/gst/gstreamer.types:
9866 fix includes, though they are a little dinky
9868 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9870 * check/Makefile.am:
9871 look in the right place for elements, a lot more chance of
9874 remove indexers and elements subdirs
9875 * plugins/Makefile.am:
9876 make indexers conditional
9878 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9882 * plugins/elements/Makefile.am:
9883 * plugins/elements/gstcapsfilter.c:
9884 * plugins/elements/gstfilesink.c:
9885 * plugins/elements/gstfilesrc.c:
9886 * plugins/elements/gstidentity.c:
9887 * plugins/indexers/Makefile.am:
9888 do CVS surgery and related build fixery to move elements
9889 and indexers in a new gstreamer/plugins directory, out of the
9892 2005-11-29 Andy Wingo <wingo@pobox.com>
9894 * check/Makefile.am:
9895 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9896 * pkgconfig/gstreamer-net.pc.in:
9897 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
9900 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
9902 * tools/Makefile.am:
9903 * tools/gst-complete.1.in:
9904 * tools/gst-complete.c:
9905 * tools/gst-compprep.1.in:
9906 * tools/gst-compprep.c:
9907 removing -compprep and -complete
9909 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
9911 * gst/gstevent.c: (gst_event_new_new_segment),
9912 (gst_event_parse_new_segment):
9914 fix #320529 - clean up new_segment API and structure.
9915 Let's hope everyone was using the methods, and not the structure.
9917 2005-11-29 Edward Hervey <edward@fluendo.com>
9919 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9920 (gst_base_sink_event), (gst_base_sink_do_sync),
9921 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9922 Properly handle non GST_FORMAT_TIME segment
9923 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9924 Properly handle non GST_FORMAT_TIME segment
9926 This function is valid if the accumulator is 0 and the format
9927 is different from the requested format.
9929 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9931 * docs/gst/gstreamer-sections.txt:
9932 Add gst_query_new_seeking and gst_query_parse_seeking to the
9935 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9937 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
9938 Treat a pad alloc with new caps the same as if we were not
9939 negotiated, in order to allow a changing upstream output
9940 to produce a new format of data.
9942 2005-11-29 Edward Hervey <edward@fluendo.com>
9944 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9945 (gst_base_transform_event), (gst_base_transform_eventfunc):
9946 The event virtual method is now properly implemented, with a default
9948 Sub classes should call the parent_class event method. They should
9949 return FALSE if they had a problem handling the given event, or don't
9950 want GstBaseTransform to send that even downstream
9951 * gst/elements/gstidentity.c: (gst_identity_class_init),
9952 (gst_identity_init), (gst_identity_event),
9953 (gst_identity_transform_ip), (gst_identity_set_property),
9954 (gst_identity_get_property):
9955 * gst/elements/gstidentity.h:
9956 Added the single-segment boolean property.
9957 If set to TRUE, it will output a single segment of data, starting from
9958 0, will eat up all incoming newsegment, and modify the timestamp of the
9961 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
9963 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
9964 Don't ref NULL target pad (#322751). Improve docs.
9966 2005-11-29 Michael Smith <msmith@fluendo.com>
9968 * gst/gstregistryxml.c: (load_plugin):
9969 Don't crash if we failed to load a feature from a plugin.
9971 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
9973 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9975 use more check API and less GLib API
9977 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
9980 don't run checks if we don't have check
9982 remove the registry when running make torture
9983 * docs/gst/gstreamer-sections.txt:
9984 remove second multiply
9985 * gst/gstqueue.c: (gst_queue_loop):
9986 fix a compile warning when disabling debug
9988 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
9991 Hey! Let's print the pad name if the pointer != NULL instead
9992 of when it == NULL :-)
9994 2005-11-28 Wim Taymans <wim@fluendo.com>
9996 * check/gst/gstutils.c: (GST_START_TEST):
9997 Updated check, add some scaling accuracy checking code.
9999 * gst/gstutils.c: (gst_util_div128_64),
10000 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10001 (gst_util_uint64_scale_int):
10002 Fix 6 times faster division code. Optimize for common
10003 1/1 and less common X/1 cases.
10005 2005-11-28 Wim Taymans <wim@fluendo.com>
10007 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10010 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10011 (do_linear_regression), (gst_clock_add_observation):
10013 Release lock when the clock cannot be slaved.
10014 Catch the case where the regression returned an invalid denominator.
10016 * gst/gstutils.c: (gst_util_div128_64_iterate),
10017 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10018 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10019 Add protentially more performant non-iterative 128/64 divide function
10020 that unfortunatly does not work yet.
10021 Shortcut the trivial 0/X = 0 case.
10022 Remove the warnings on overflow.
10024 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10026 * gst/gstplugin.c: (gst_plugin_register_func):
10027 everything causing a plugin not to load should be at least a WARNING
10029 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10031 * docs/random/ensonic/dparams.txt:
10032 some TODOs for the next dev cycle
10033 * libs/gst/controller/gstcontroller.c:
10034 (gst_controlled_property_set_interpolation_mode),
10035 (gst_controlled_property_new):
10036 * libs/gst/controller/gstcontroller.h:
10037 use base type to assign acccessor functions
10039 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10041 * check/Makefile.am:
10042 Oops, that should have been top_srcdir
10044 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10046 * check/Makefile.am:
10047 * check/elements/fdsrc.c: (GST_START_TEST):
10048 Use a cmdline define to specify the location of a file to use for
10049 testing, to avoid breaking distcheck.
10051 2005-11-28 Andy Wingo <wingo@pobox.com>
10053 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10055 2005-11-28 Edward Hervey <edward@fluendo.com>
10057 * tools/gst-launch.c: (main):
10058 Clarify the output strings, makes it easier to translate.
10061 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10064 don't try and build net if we don't even have <sys/socket.h>
10066 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10068 * check/Makefile.am:
10069 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10070 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10071 Add tests for fdsrc seekability
10073 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10074 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10075 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10076 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10077 * gst/elements/gstfdsrc.h:
10078 fdsrc should not be a 'live' source.
10079 Implement seeking on seekable fd's.
10081 * gst/gstquery.c: (gst_query_new_seeking),
10082 (gst_query_parse_seeking):
10084 Implement SEEKING query functions:
10085 *_new_seeking and *_parse_seeking
10087 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10089 * gst/gstelement.c: (gst_element_dispose):
10092 * gst/gstiterator.c:
10093 * gst/gststructure.c:
10096 * libs/gst/controller/gstcontroller.c:
10097 (gst_controlled_property_set_interpolation_mode):
10098 * libs/gst/controller/gstcontroller.h:
10099 * libs/gst/controller/gstinterpolation.c:
10100 (interpolate_none_get_enum_value_array):
10101 support controlling enums
10103 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10106 Improve documentation for gst_value_union().
10109 Change return value for union, intersect and subtract functions
10110 from gint to gboolean.
10112 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10114 * gst/gstvalue.c: (gst_value_serialize_any_list),
10115 (gst_value_transform_any_list_string),
10116 (gst_value_deserialize_list), (gst_value_deserialize_array),
10117 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10118 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10119 (gst_value_set_fraction_range_full),
10120 (gst_value_deserialize_fraction_range),
10121 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10122 (gst_value_deserialize_boolean),
10123 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10124 (gst_value_serialize_float), (gst_value_deserialize_float),
10125 (gst_string_wrap), (gst_value_deserialize_string),
10126 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10127 (gst_value_union_int_range_int_range),
10128 (gst_value_intersect_int_range_int_range),
10129 (gst_value_intersect_double_range_double_range),
10130 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10131 (gst_value_subtract_int_range_int_range),
10132 (gst_value_subtract_double_double_range),
10133 (gst_value_subtract_double_range_double_range),
10134 (gst_value_deserialize_fraction):
10136 Use gint, gdouble and gchar in our API instead of int, double and
10137 char (and make usage in gstvalue.c more consistent).
10139 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10141 * check/Makefile.am:
10142 * libs/gst/controller/Makefile.am:
10143 * libs/gst/dataprotocol/Makefile.am:
10144 fix up Makefile.am and remove GST_ENABLE_NEW
10146 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10150 * gst/base/Makefile.am:
10151 * gst/check/Makefile.am:
10152 * gst/elements/Makefile.am:
10153 * gst/net/Makefile.am:
10154 update LDFLAGS use some more
10156 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10158 * common/m4/gst-doc.m4:
10161 2005-11-26 Edward Hervey <edward@fluendo.com>
10163 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10164 This shouldn't issue a g_warning since it returns NULL if it
10165 couldn't find the plugin, and all functions using this behave
10166 properly on a NULL return. Switching to a GST_WARNING.
10168 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10170 * gst/gstbin.c: (gst_bin_handle_message_func):
10171 Don't leak clock messages.
10173 2005-11-25 Wim Taymans <wim@fluendo.com>
10175 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10176 (gst_util_uint64_scale_int):
10177 Optimisations, remove unneeded vars.
10179 2005-11-25 Wim Taymans <wim@fluendo.com>
10181 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10182 Added more checks for the high precision uint64 cases.
10184 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10185 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10186 Implement high precision (guint64 * guint64) / guint64.
10188 2005-11-24 Wim Taymans <wim@fluendo.com>
10190 * gst/base/gstbasesrc.c: (gst_base_src_query):
10191 Fix wrong percentage query.
10193 * gst/gstutils.c: (gst_util_uint64_scale),
10194 (gst_util_uint64_scale_int):
10195 Add some more common cases that can be handled
10196 efficiently to _scale.
10198 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10200 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10201 (gst_mini_object_suite):
10202 don't use check calls from threads; check probably isn't
10203 threadsafe and using a lock to make it threadsafe would
10204 defeat the purpose of this check
10205 * gst/check/gstcheck.c:
10206 * gst/check/gstcheck.h:
10207 use GST_DEBUG some more
10209 2005-11-24 Wim Taymans <wim@fluendo.com>
10211 * gst/gstutils.c: (gst_util_uint64_scale),
10212 (gst_util_uint64_scale_int):
10213 Chain trivial case to _scale_int.
10215 2005-11-24 Wim Taymans <wim@fluendo.com>
10217 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10218 Added test for scaling.
10223 * gst/gstutils.c: (gst_util_uint64_scale_int):
10224 Implemented high precision scaling code.
10226 2005-11-24 Stefan Kost <ensonic@users.sf.net>
10229 do not crash on pad==NULL
10231 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10233 Patch by: Stefan Kost
10235 * common/gtk-doc.mak:
10236 * docs/gst/Makefile.am:
10237 * docs/libs/Makefile.am:
10238 Fix distcheck issues for the libraries docs build
10241 2005-11-24 Michael Smith <msmith@fluendo.com>
10243 * docs/manual/basics-helloworld.xml:
10244 Fix bug #315027: memory leak in example code in docs.
10246 2005-11-24 Michael Smith <msmith@fluendo.com>
10248 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10249 Unlock the PREROLL_LOCK in a failure case.
10251 2005-11-24 Wim Taymans <wim@fluendo.com>
10253 * docs/gst/gstreamer-sections.txt:
10254 * gst/base/gstadapter.h:
10255 * gst/base/gstbasesink.h:
10256 * gst/base/gstbasesrc.h:
10257 * gst/base/gstbasetransform.h:
10258 * gst/base/gstpushsrc.h:
10259 * gst/elements/gstfakesink.h:
10260 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10261 * gst/elements/gstfakesrc.h:
10262 * gst/elements/gstfilesink.h:
10263 * gst/elements/gstfilesrc.h:
10266 * gst/gstbuffer.c: (_gst_buffer_copy):
10269 * gst/gstchildproxy.c:
10271 * gst/gstelement.c:
10272 * gst/gstelementfactory.c:
10273 * gst/gstelementfactory.h:
10275 * gst/gstghostpad.h:
10277 * gst/gstinterface.h:
10278 * gst/gstminiobject.c:
10279 * gst/gstminiobject.h:
10282 * gst/gstpadtemplate.h:
10283 * gst/gstpipeline.h:
10284 * gst/gstpluginfeature.h:
10287 * gst/gsttaglist.c:
10288 * gst/gsttaglist.h:
10289 * gst/gsttagsetter.c:
10290 * gst/gsttagsetter.h:
10293 * gst/gsttypefind.h:
10296 * gst/net/gstnetclientclock.c:
10297 * gst/net/gstnetclientclock.h:
10298 * gst/net/gstnettimepacket.c:
10299 * gst/net/gstnettimeprovider.c:
10300 * gst/net/gstnettimeprovider.h:
10303 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10305 * configure.ac: back to HEAD
10307 === release 0.9.6 ===
10309 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10312 releasing 0.9.6, "Always On Time"
10314 2005-11-23 Wim Taymans <wim@fluendo.com>
10316 * docs/gst/gstreamer-sections.txt:
10317 * gst/glib-compat.c:
10318 * gst/gsttagsetter.c:
10320 * gst/net/gstnetclientclock.c:
10321 * gst/net/gstnettimepacket.h:
10324 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10326 * docs/faq/using.xml:
10327 * docs/libs/tmpl/gstcontrol.sgml:
10328 * docs/manual/advanced-dparams.xml:
10329 * docs/manual/appendix-checklist.xml:
10330 * docs/manual/basics-elements.xml:
10331 * docs/pwg/other-source.xml:
10332 * docs/random/moving-plugins:
10334 * tools/gst-launch.1.in:
10335 remove mentions of sinesrc
10337 2005-11-23 Michael Smith <msmith@fluendo.com>
10339 * docs/gst/gstreamer-sections.txt:
10340 Update for new API and API changes.
10342 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10344 Documentation typo fix.
10345 * gst/net/gstnettimepacket.c:
10346 Documentation fixes for arguments.
10348 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
10350 * gst/gststructure.c: (gst_structure_get_fraction),
10351 (gst_structure_parse_value),
10352 (gst_structure_fixate_field_nearest_fraction):
10353 * gst/gststructure.h:
10354 * gst/gstutils.c: (gst_util_uint64_scale_int):
10356 * scripts/update-funcnames:
10358 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10359 Make gst_structure_fixate_field_nearest_fraction take a numerator
10360 and denominator argument instead of a GValue
10361 add gst_structure_get_fraction helper function.
10363 2005-11-23 Wim Taymans <wim@fluendo.com>
10365 * docs/design/part-TODO.txt:
10368 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10369 * gst/net/gstnetclientclock.h:
10370 Use parent fields for timeout and window_size.
10372 2005-11-23 Andy Wingo <wingo@pobox.com>
10374 * check/net/gstnetclientclock.c (test_functioning): Adjust to
10375 rate_num/rate_denom change.
10377 * gst/net/gstnetclientclock.c
10378 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10379 OBJECT_LOCK. Don't call add_observation with the lock.
10381 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
10383 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
10385 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
10386 deal with rate as a fraction whose numerator and denominator are
10387 GstClockTime values.
10388 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
10389 master; the other fields are protected by the SLAVE_LOCK.
10390 (do_linear_regression): Note that this must be called with the
10392 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
10393 OBJECT_LOCK. Call set_calibration instead of touching the
10394 variables directly.
10395 (gst_clock_set_property, gst_clock_get_property): Protect
10396 master/slave parameters with the SLAVE_LOCK.
10398 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
10399 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
10400 note that all of the instance variables that add_observation and
10401 the set_master functions use are protected by that lock and not
10403 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
10405 * gst/gstclock.c (gst_clock_add_observation): No longer requires
10406 the caller to take the object lock.
10408 2005-11-23 Wim Taymans <wim@fluendo.com>
10410 * gst/gsterror.c: (_gst_core_errors_init):
10412 Add error for clock stuff.
10414 * gst/gstpipeline.c: (gst_pipeline_change_state),
10415 (gst_pipeline_set_clock):
10416 Post clock error when clock cannot be used in a pipeline.
10418 2005-11-23 Stefan Kost <ensonic@users.sf.net>
10420 * docs/gst/gstreamer-sections.txt:
10421 make two symbols from gstinfo private for the docs
10422 * gst/base/gstcollectpads.h:
10424 fix doc typos, update docs
10426 2005-11-22 Wim Taymans <wim@fluendo.com>
10428 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10429 (gst_base_sink_wait), (gst_base_sink_do_sync),
10430 (gst_base_sink_handle_event):
10431 * gst/base/gstbasesink.h:
10432 No need to store the clock, the parent element class already
10435 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
10436 Updates for clock_set returning a gboolean
10438 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
10439 (gst_clock_id_wait_async), (gst_clock_class_init),
10440 (gst_clock_init), (gst_clock_finalize),
10441 (gst_clock_get_internal_time), (gst_clock_get_time),
10442 (gst_clock_slave_callback), (gst_clock_set_master),
10443 (gst_clock_get_master), (do_linear_regression),
10444 (gst_clock_add_observation), (gst_clock_set_property),
10445 (gst_clock_get_property):
10447 Implement master/slave. When setting a clock as a slave, a
10448 periodic timeout is scheduled to sample master and slave times.
10449 Then the slave clock is recalibrated to match offset and rate
10450 of the master clock.
10451 Update logging a bit.
10452 Add flag so that a clock can state that is cannot be slaved to
10455 * gst/gstelement.c: (gst_element_set_clock):
10456 * gst/gstelement.h:
10457 The set clock returns a gboolean for when an element cannot
10458 deal with the selected clock in the pipeline.
10460 * gst/gstpipeline.c: (gst_pipeline_change_state),
10461 (gst_pipeline_set_clock):
10462 * gst/gstpipeline.h:
10463 Handle the case where the selected clock cannot be set on
10466 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
10467 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10468 (gst_net_client_clock_set_property),
10469 (gst_net_client_clock_get_property),
10470 (gst_net_client_clock_observe_times):
10471 * gst/net/gstnetclientclock.h:
10472 Use regression code in GstClock parent, remove duplicated
10475 2005-11-22 Michael Smith <msmith@fluendo.com>
10477 * gst/gstutils.c: (gst_util_clock_time_scale):
10479 * docs/gst/gstreamer-sections.txt:
10480 Rename method to have extra underscore.
10482 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
10484 * gst/elements/Makefile.am:
10485 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
10486 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10487 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
10488 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
10489 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
10490 * gst/elements/gstfakesrc.h:
10491 * gst/gstqueue.c: (queue_leaky_get_type):
10492 correctly fix GEnumValues so that nick is the short lowercase
10494 * tools/gst-inspect.c: (print_element_properties_info):
10495 also show the nick, since it's useful to use from parse_launch
10499 2005-11-22 Michael Smith <msmith@fluendo.com>
10501 * gst/gstutils.c: (gst_util_clocktime_scale):
10503 * docs/gst/gstreamer-sections.txt:
10504 Add util method for scaling a clocktime by a fraction. Useful
10505 implementation is left as an exercise for the reader.
10507 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10509 * gst/gstvalue.c: (gst_value_collect_fraction_range):
10510 If needed, allocate storage in the destination value during
10513 2005-11-22 Edward Hervey <edward@fluendo.com>
10515 * docs/gst/gstreamer-sections.txt:
10518 * gst/gsturitype.c:
10519 * gst/gsturitype.h:
10520 * gst/gstutils.c: (gst_util_set_object_arg):
10521 * tools/gst-compprep.c: (main):
10522 * tools/gst-inspect.c: (print_element_properties_info):
10523 Removed GstURI, closes bug #321061
10525 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10527 * check/gst/gststructure.c: (GST_START_TEST):
10528 * gst/gststructure.c: (gst_structure_parse_value):
10529 Oops, broke automatic string type parsing.
10530 Add a test to catch it in future.
10532 2005-11-22 Andy Wingo <wingo@pobox.com>
10534 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
10535 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
10536 Actually rename the function implementations. Grr.
10538 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10540 * check/gst/capslist.h:
10542 * check/gst/gststructure.c: (GST_START_TEST),
10543 (gst_structure_suite):
10544 Test automatic value type detection in gst_structure_from_string.
10545 * gst/gststructure.c: (gst_structure_parse_value):
10546 Add fraction as a type we try and guess automatically in
10547 caps/structure strings.
10549 2005-11-22 Andy Wingo <wingo@pobox.com>
10551 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
10553 * gst/gsttagsetter.h:
10554 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
10555 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
10556 (gst_tag_setter_add_tag_valist)
10557 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
10558 _add_values, _add_valist, and _add_valist_values. Since this is an
10559 interface the function suffixes should be more explicit so
10560 language binding don't end up with element.add_valist ->
10561 gst_tag_setter_add_valist, for example. Fixes #322069.
10563 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10565 * check/gst/gstcaps.c: (GST_START_TEST):
10566 Extend caps string tests to check that a caps to string
10567 conversion is reversible and produces the same caps.
10569 * gst/gststructure.c: (gst_structure_value_get_generic_type):
10570 Output "fraction" as the generic type fraction range, so caps
10571 serialisation and deserialisation works.
10572 * check/gst/capslist.h:
10573 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10574 Support 'MIN' and 'MAX' for deserialising fractions.
10576 2005-11-22 Andy Wingo <wingo@pobox.com>
10578 * gst/gstevent.h (gst_event_new_new_segment)
10579 (gst_event_parse_new_segment, gst_event_new_buffer_size)
10580 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
10581 Renamed from *_newsegment, *_buffersize, *_notarget.
10583 * scripts/update-funcnames: New script, performs the changes
10586 2005-11-22 Wim Taymans <wim@fluendo.com>
10588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10589 Make sure the GstFlowReturn is returned.
10591 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
10592 (gst_bus_add_signal_watch):
10594 add gst_bus_add_signal_watch_full.
10596 * gst/gstplugin.c: (gst_plugin_load_file):
10597 Small style cleanup.
10599 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10601 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
10602 Block the fakesrc srcpad when we send an event, to avoid
10603 contention on the stream_lock causing random test failures.
10605 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10607 * check/gst/gstvalue.c: (GST_START_TEST):
10608 * gst/gstvalue.c: (gst_value_fraction_subtract):
10611 2005-11-22 Stefan Kost <ensonic@users.sf.net>
10614 include "gstchildproxy.h"
10615 * gst/gstchildproxy.h:
10616 * libs/gst/controller/gstcontroller.h:
10617 use G_GNUC_NULL_TERMINATED
10619 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10621 * check/gst/capslist.h:
10622 * check/gst/gstcaps.c: (GST_START_TEST):
10623 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10624 * gst/gststructure.c: (gst_structure_parse_range),
10625 (gst_structure_fixate_field_nearest_fraction):
10626 * gst/gststructure.h:
10627 * gst/gstvalue.c: (gst_value_init_fraction_range),
10628 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
10629 (gst_value_collect_fraction_range),
10630 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
10631 (gst_value_set_fraction_range_full),
10632 (gst_value_get_fraction_range_min),
10633 (gst_value_get_fraction_range_max),
10634 (gst_value_serialize_fraction_range),
10635 (gst_value_transform_fraction_range_string),
10636 (gst_value_compare_fraction_range),
10637 (gst_value_deserialize_fraction_range),
10638 (gst_value_intersect_fraction_fraction_range),
10639 (gst_value_intersect_fraction_range_fraction_range),
10640 (gst_value_subtract_fraction_fraction_range),
10641 (gst_value_subtract_fraction_range_fraction),
10642 (gst_value_subtract_fraction_range_fraction_range),
10643 (gst_value_collect_fraction), (gst_value_fraction_multiply),
10644 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
10645 (gst_value_transform_string_fraction), (_gst_value_initialize):
10647 Implement fraction ranges and extend GstFraction to support
10648 arithmetic subtraction, as well as deserialization from integer
10649 strings such as "100"
10650 Add a testsuite as for int and double range set operations
10652 2005-11-21 Andy Wingo <wingo@pobox.com>
10654 * gst/gsttaglist.h:
10656 * gst/gststructure.h: Add glib-compat.h.
10658 2005-11-21 Wim Taymans <wim@fluendo.com>
10660 * gst/gstbin.c: (gst_bin_change_state_func):
10663 2005-11-21 Wim Taymans <wim@fluendo.com>
10665 * gst/gstsegment.h:
10666 And add a nice define too.
10668 2005-11-21 Wim Taymans <wim@fluendo.com>
10670 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
10671 (gst_segment_new), (gst_segment_free), (gst_segment_init),
10672 (gst_segment_set_duration), (gst_segment_set_last_stop),
10673 (gst_segment_set_seek), (gst_segment_set_newsegment),
10674 (gst_segment_to_stream_time), (gst_segment_to_running_time),
10675 (gst_segment_clip):
10676 * gst/gstsegment.h:
10677 Make binding friendly.
10679 2005-11-21 Andy Wingo <wingo@pobox.com>
10681 * gst/gsttagsetter.h:
10682 * gst/gsttaglist.h:
10683 * gst/gststructure.h:
10685 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
10688 * gst/gsterror.c (_gst_core_errors_init):
10689 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
10692 * gst/Makefile.am (gst_headers): Add glib-compat.h.
10693 (noinst_HEADERS): noinst the -private.
10695 2005-11-21 Michael Smith <msmith@fluendo.com>
10698 * gst/gstregistry.h:
10699 Remove unimplemented declarations for which we can see no sensible
10702 2005-11-21 Andy Wingo <wingo@pobox.com>
10704 * gst/gst.h: Include glib-compat.h.
10706 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
10708 * gst/glib-compat.c: Include the public and the private header.
10710 * gst/glib-compat-private.h: Copied here from glib-compat.h.
10714 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
10716 * check/gst/gstevent.c (create_custom_events): Check that
10717 FLUSH_STOP is serialized.
10719 * check/elements/identity.c (event_func):
10720 * check/elements/fakesrc.c (event_func): No stream lock, the core
10723 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
10724 stream lock taking, yay.
10726 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
10727 ensure that core takes the stream lock.
10729 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
10732 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
10733 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
10734 it already. For the flush start we do take it though so we get the
10735 right preroll state change messages.
10737 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
10738 the stream lock here, the core does it for us.
10740 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
10741 GST_STREAM_GET_LOCK.
10742 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
10743 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
10744 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
10745 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
10746 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
10747 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
10749 * gst/gstpad.c: Update for stream lock name change.
10751 * gst/base/gstbasesink.c: Update for preroll lock name change.
10753 2005-11-21 Wim Taymans <wim@fluendo.com>
10755 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
10756 (gst_clock_get_master):
10758 * gst/gstsystemclock.c: (gst_system_clock_init):
10759 Convert Clock flags to object flags.
10760 Added methods to manage master/slave clocks.
10762 2005-11-21 Wim Taymans <wim@fluendo.com>
10764 * check/gst/gstsegment.c: (GST_START_TEST):
10765 * docs/design/part-TODO.txt:
10766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10767 (gst_base_sink_event), (gst_base_sink_do_sync),
10768 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10769 (gst_base_sink_query), (gst_base_sink_change_state):
10770 * gst/base/gstbasesink.h:
10771 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10772 (gst_base_src_default_newsegment),
10773 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10774 (gst_base_src_get_range), (gst_base_src_loop),
10775 (gst_base_src_change_state):
10776 * gst/base/gstbasesrc.h:
10777 * gst/base/gstbasetransform.c:
10778 (gst_base_transform_prepare_output_buf),
10779 (gst_base_transform_event), (gst_base_transform_change_state):
10780 * gst/base/gstbasetransform.h:
10781 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10782 (gst_collect_pads_event):
10783 * gst/base/gstcollectpads.h:
10784 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
10785 (gst_fake_src_create):
10786 * gst/elements/gstfakesrc.h:
10787 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10788 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
10789 (gst_segment_set_last_stop), (gst_segment_set_seek),
10790 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10791 (gst_segment_to_running_time), (gst_segment_clip):
10792 * gst/gstsegment.h:
10793 More segment updates, replace code in plugins with segment
10796 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
10798 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
10799 Don't ignore sscanf results
10801 2005-11-21 Andy Wingo <wingo@pobox.com>
10803 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
10806 * *.c: Ran scripts/update-macros. Oh yes.
10808 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
10809 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
10812 * scripts/update-macros: New script. Run it on your files to
10813 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
10816 2005-11-21 Stefan Kost <ensonic@users.sf.net>
10818 * docs/gst/Makefile.am:
10819 * docs/gst/gstreamer-docs.sgml:
10820 * docs/gst/gstreamer-sections.txt:
10821 * docs/gst/gstreamer.types:
10823 more docs fixes, add new api to the docs
10825 2005-11-21 Andy Wingo <wingo@pobox.com>
10827 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
10828 state_broadcast call.
10830 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
10832 2005-11-21 Julien MOUTTE <julien@moutte.net>
10834 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
10835 function calls for arrays.
10837 2005-11-21 Stefan Kost <ensonic@users.sf.net>
10839 * docs/random/ensonic/media-device-daemon.txt:
10840 wild idea, can this be done?
10841 * docs/gst/gstreamer-sections.txt:
10846 * gst/gstpluginfeature.c:
10850 doc fixes and additions
10852 2005-11-21 Andy Wingo <wingo@pobox.com>
10854 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
10855 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
10856 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
10857 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
10858 private to the basesrc implementation.
10860 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
10861 behalf of event function if necessary. It should no longer be
10862 necessary to take the stream lock in pad's event functions. Fixes
10865 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
10866 * docs/gst/gstreamer-sections.txt:
10867 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
10868 (gst_structure_fixate_field_nearest_double),
10869 (gst_structure_fixate_field_boolean):
10870 * gst/gststructure.h:
10871 * win32/common/libgstreamer.def:
10872 * win32/gstreamer.def:
10874 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
10877 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
10879 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
10880 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
10881 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
10882 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
10883 (gst_fdsrc_uri_handler_init):
10884 * gst/elements/gstfdsrc.h:
10885 Port fd:// URI handler from 0.8 to fdsrc
10887 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
10889 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
10890 (gst_value_serialize_fourcc):
10892 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
10893 consistent with our other format defines (#320324).
10895 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
10897 * gst/gstvalue.c: (gst_value_is_fixed):
10898 Revert previous commit. Value lists are by definition
10899 not fixed, as they are a list of possible values.
10901 2005-11-21 Andy Wingo <wingo@pobox.com>
10903 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
10904 during the stable series if we need it. Fixes #319178.
10906 * gst/gstevent.c (gst_event_new_filler): Removed.
10908 * check/gst/gstevent.c: Update comment about filler events.
10910 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
10912 * gst/gstvalue.c: (gst_value_is_fixed):
10913 Should handle both value arrays and value lists.
10915 2005-11-21 Andy Wingo <wingo@pobox.com>
10917 patch by: Alessandro Dessina <alessandro nnva org>
10919 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
10920 functions to access arrays. Fixes #321962.
10922 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
10924 * docs/gst/gstreamer.types:
10925 gst_collectpads_get_type => gst_collect_pads_get_type.
10927 * gst/base/gstbasetransform.c:
10928 Remove unused SIGNAL_HANDOFF enum.
10930 2005-11-21 Andy Wingo <wingo@pobox.com>
10932 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
10933 the event type (upstream, downstream, serialized). Renamed
10934 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
10935 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
10936 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
10938 * gst/gstevent.c: Update for new CUSTOM event names.
10940 * check/gst/gstevent.c: Update check for new CUSTOM event names.
10943 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
10946 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
10948 * docs/gst/gstreamer-sections.txt:
10949 * win32/common/libgstbase.def:
10950 * win32/libgstbase.def:
10951 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10952 (gst_collect_pads_class_init), (gst_collect_pads_init),
10953 (gst_collect_pads_finalize), (gst_collect_pads_new),
10954 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
10955 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
10956 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
10957 (gst_collect_pads_start), (gst_collect_pads_stop),
10958 (gst_collect_pads_peek), (gst_collect_pads_pop),
10959 (gst_collect_pads_available), (gst_collect_pads_read),
10960 (gst_collect_pads_flush), (gst_collect_pads_event),
10961 (gst_collect_pads_chain):
10962 * gst/base/gstcollectpads.h:
10963 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
10964 unimplemented functions as unimplemented. Add padding to
10965 GstCollectData. (#320766, #320423)
10967 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
10969 * gst/gstmessage.c:
10970 Improve docs for DURATION message (usage of duration parameter)
10973 2005-11-20 Wim Taymans <wim@fluendo.com>
10975 * check/Makefile.am:
10976 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
10980 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
10981 (gst_segment_set_seek), (gst_segment_set_newsegment),
10982 (gst_segment_to_stream_time), (gst_segment_to_running_time),
10983 (gst_segment_clip):
10984 * gst/gstsegment.h:
10985 Added segment helper structure and methods. Not fully implemented
10987 Added segment check.
10989 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
10991 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10992 Add a deserialisation test for fractions
10993 * examples/metadata/read-metadata.c: (message_loop),
10994 (make_pipeline), (main):
10995 Fix up metadata reading sample.
10996 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10998 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
10999 Don't try and fixate empty caps
11000 * gst/gst_private.h:
11001 Wrap in G_BEGIN_DECLS/G_END_DECLS
11002 * gst/gstvalue.c: (gst_value_collect_fraction),
11003 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11004 (gst_value_transform_string_fraction),
11005 (gst_value_compare_fraction):
11006 Add some extra guards to ensure that we don't end up
11007 with an invalid denominator of 0 in a gstfraction and
11008 that fractions always get reduced.
11010 2005-11-20 Wim Taymans <wim@fluendo.com>
11012 * docs/gst/gstreamer-sections.txt:
11014 * gst/gstelement.c:
11023 2005-11-20 Wim Taymans <wim@fluendo.com>
11025 * docs/design/part-TODO.txt:
11027 Make a proper enum of the flag.
11029 2005-11-19 Wim Taymans <wim@fluendo.com>
11031 * docs/design/part-TODO.txt:
11032 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11033 (gst_format_to_quark), (gst_format_register):
11035 * gst/gstquery.c: (_gst_query_initialize),
11036 (gst_query_type_get_name), (gst_query_type_to_quark),
11037 (gst_query_type_register):
11039 Add type to quark and type to string conversions.
11041 2005-11-19 Andy Wingo <wingo@pobox.com>
11043 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11046 2005-11-19 Wim Taymans <wim@fluendo.com>
11048 * docs/design/part-TODO.txt:
11049 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11050 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11051 (gst_bin_handle_message_func):
11053 Make message handling overridable.
11055 2005-11-19 Andy Wingo <wingo@pobox.com>
11057 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11060 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11062 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11063 is a GstClockTime. Fixes #321710.
11065 * gst/gstclock.h (GstClock): Remove offset property. Add
11066 internal_calibration and external_calibration. Fix padding. Pad
11067 also by GstClockTime so we don't run into problems.
11069 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11070 (gst_clock_get_rate_offset): Remove.
11071 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11074 * gst/gstutils.c (g_static_rec_cond_wait)
11075 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11077 * gst/gstbin.c: Remove terrible continue_state prototype.
11079 * gst/gstelement.h (gst_element_continue_state): Make public.
11081 * gst/gstelement.h:
11082 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11083 by continue_state. Fixes #319389.
11085 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11086 Really fixes #168438. However I don't see anywhere where the
11087 filter function is called... stupid GStreamer...
11089 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11090 don't have a dispose function, so it won't get called when the
11091 object is unreffed, but oh well!
11093 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11094 allows a destroy function to be set so user_data can be freed.
11096 (gst_index_set_filter): Call gst_index_set_filter_full.
11098 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11100 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11101 string should produce an error, given the lack of a way to
11102 represent NULL strings. Fixes #165650.
11105 * gst/gstvalue.c (gst_value_array_append_value)
11106 (gst_value_array_prepend_value, gst_value_array_get_size)
11107 (gst_value_array_get_value): New API, copied from
11108 gst_value_list_*, only operates on arrays.
11109 (gst_value_list_append_value, gst_value_list_prepend_value)
11110 (gst_value_list_concat, gst_value_list_get_size)
11111 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11113 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11114 init_list, because it works on both.
11115 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11116 (gst_value_copy_list_or_array): Renamed from copy_list.
11117 (gst_value_free_list_or_array): Renamed from free_list.
11118 (gst_value_collect_list_or_array): Renamed from collect_list.
11119 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11120 (gst_value_list_or_array_peek_pointer): Renamed from
11122 (_gst_value_array_value_table, _gst_value_list_value_table):
11123 Update value table functions.
11124 (gst_value_compare_list_or_array): Renamed from compare_list.
11126 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11129 * gst/gsttaglist.c:
11130 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11131 GstTagList*. Fixes #143472.
11133 * gst/gststructure.h: Clarify what the foreach/map functions can
11134 or can't do to their arguments.
11136 2005-11-18 Wim Taymans <wim@fluendo.com>
11138 * gst/gstclock.c: (gst_clock_set_calibration),
11139 (gst_clock_get_calibration):
11141 Calibration can be set with internal time equal to current
11144 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11150 2005-11-18 Andy Wingo <wingo@pobox.com>
11153 * pkgconfig/gstreamer-net.pc.in:
11154 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11155 * pkgconfig/Makefile.am: Add net pkgconfig files.
11157 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11160 * gst/gstghostpad.c:
11166 2005-11-18 Andy Wingo <wingo@pobox.com>
11168 * gst/net/gstnetclientclock.c: Turn off debugging.
11170 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11171 times connverge somewhat. Can't make a real test.
11173 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11174 integer arithmetic. Return the minimum of the domain, which can be
11175 set as "internal" for gst_clock_set_calibration.
11176 (gst_net_client_clock_observe_times): Call _set_calibration.
11177 (gst_net_client_clock_new): Call _set_calibration instead of
11180 * check/net/gstnetclientclock.c (test_functioning): Use the right
11184 * gst/gstclock.c (gst_clock_get_calibration)
11185 (gst_clock_set_calibration): New functions, obsolete the ones I
11186 added yesterday. Doh. Precision issues mean we have to extrapolate
11187 from a point in the more recent past than 1970.
11188 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11190 (gst_clock_adjust_unlocked): Use the right calibration data.
11192 2005-11-18 Edward Hervey <edward@fluendo.com>
11194 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11195 Also reset the ->current_* values in READY->PAUSED
11197 2005-11-18 Andy Wingo <wingo@pobox.com>
11199 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11200 Whoops, check the right fd. Also add some debugging.
11201 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11202 (do_linear_regression): Add a crapload of debugging. Subtract off
11203 the minimum values from the input series to discard unneeded bits.
11204 Use only int arithmetic. There is still double arithmetic when
11205 calculating the intercept that needs fixing. Return boolean to
11206 indicate success; FALSE would mean the domain or range is too
11207 great. Still needs fixes.
11209 2005-11-18 Wim Taymans <wim@fluendo.com>
11211 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11212 For the current position in stream time, we need to subtract
11215 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11216 Release lock before calling the callback function of async
11219 2005-11-18 Andy Wingo <wingo@pobox.com>
11221 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11222 Port goes all the way to MAXUINT16.
11224 * gst/net/gstnettimeprovider.c: Make the port range the same as
11225 for the kernel: 0 assigns, otherwise ports are less than
11228 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11231 * check/net/gstnetclientclock.c (test_functioning): Add the start
11234 2005-11-18 Wim Taymans <wim@fluendo.com>
11236 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11237 (gst_bin_remove_func), (bin_bus_handler):
11239 Removing a clock provider from a bin, triggers a clock lost message
11240 so that a new clock will be selected.
11241 Adding a clock to a bin triggers a clock provider message.
11242 Make sure we reselect a clock when we received a clock lost message.
11243 Keep a reference to the element that provided the clock.
11245 2005-11-18 Andy Wingo <wingo@pobox.com>
11247 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11248 the clock initially so it produces values around the base time.
11249 (gst_net_client_clock_class_init): Typo fix.
11250 (gst_net_client_clock_thread): Add note on when the socket gets
11253 2005-11-17 Wim Taymans <wim@fluendo.com>
11255 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11256 Free remote and local time arrays.
11258 2005-11-17 Wim Taymans <wim@fluendo.com>
11260 * gst/net/gstnetclientclock.c: (do_linear_regression),
11261 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11262 Fix compilation, uninitialized vars and a forgotten continue.
11264 2005-11-17 Andy Wingo <wingo@pobox.com>
11266 * check/Makefile.am (check_PROGRAMS):
11267 * check/net/gstnetclientclock.c: Add a most minimal test for the
11268 net client clock. More to come later.
11270 * gst/net/gstnet.h:
11271 * gst/net/Makefile.am: Add netclientclock.
11273 * gst/net/gstnetclientclock.h:
11274 * gst/net/gstnetclientclock.c: New files, implement an untested
11275 GstClock that takes its time from a network time provider.
11276 Implements the algorithm in network-clock.scm.
11278 * tests/network-clock.scm (*window-size*): Rename from
11280 * tests/network-clock.scm (network-time):
11281 * tests/network-clock-utils.scm (q-push): Update callers.
11283 2005-11-17 Wim Taymans <wim@fluendo.com>
11285 * gst/gstbin.c: (gst_bin_provide_clock_func),
11286 (gst_bin_sort_iterator_new):
11287 And unref the child too..
11289 2005-11-17 Wim Taymans <wim@fluendo.com>
11291 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11292 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11293 Refactor the sort iterator so it can be used while holding the
11295 Make clock selection select a clock closest to the source.
11297 2005-11-17 Michael Smith <msmith@fluendo.com>
11299 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11300 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11302 Anonymous structs are a gcc (and some other compilers) extension, so
11303 don't use them. Since this is only for ABI-compatibility, and our
11304 API/ABI freeze is over in a few days, this whole thing will only
11305 last a few days, so don't bother trying to think up a meaningful
11306 name for the struct.
11308 2005-11-17 Andy Wingo <wingo@pobox.com>
11310 * gst/gstclock.h (GstClock): Add rate and offset properties,
11311 preserving ABI stability. Add rate/offset accessors. Will file bug
11312 for the freeze break.
11314 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11315 and offset, trying to keep precision and avoiding
11316 underflow/overflow.
11317 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11318 functions. Make gst_clock_set_time_adjust obsolete.
11319 (gst_clock_set_time_adjust): Note that this function is obsolete.
11320 Will file bug soon.
11322 * gst/base/gstbasetransform.h: Make the ABI-stability hack
11323 greppable by using GST_PADDING-1+1.
11325 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
11327 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11329 * gst/gstmessage.c: (gst_message_parse_clock_lost):
11330 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11332 * gst/gstpadtemplate.h:
11333 * gst/gstpluginfeature.h:
11334 Don't use c++ style comments in headers (#321638).
11336 2005-11-16 Andy Wingo <wingo@pobox.com>
11338 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11341 * check/net/gstnettimeprovider.c: Check to see that the time
11342 provider actually provides times. Works, yo!
11344 2005-11-16 Wim Taymans <wim@fluendo.com>
11346 * check/Makefile.am:
11349 * check/elements/fakesrc.c: (GST_START_TEST):
11350 Set element to NULL before disposing it.
11352 2005-11-16 Andy Wingo <wingo@pobox.com>
11354 * gst/net/Makefile.am:
11355 * gst/net/gstnet.h:
11356 * gst/net/gstnettimeprovider.c:
11357 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11358 provider, include it from gstnet.h, and add it to the build.
11360 * gst/net/gstnettimepacket.h:
11361 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11362 sending and receiving.
11364 2005-11-16 Wim Taymans <wim@fluendo.com>
11366 * check/Makefile.am:
11367 Enable valgrind check.
11369 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11370 (gst_fake_src_alloc_buffer):
11373 2005-11-16 Wim Taymans <wim@fluendo.com>
11375 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11376 Call parent finalize too.
11378 2005-11-16 Wim Taymans <wim@fluendo.com>
11380 * check/Makefile.am:
11381 Enable valgrind check that should work fine now.
11383 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11384 * gst/gstqueue.c: (gst_queue_init):
11385 Fix memleaks in pad allocation.
11387 2005-11-16 Andy Wingo <wingo@pobox.com>
11389 * gst/net/Makefile.am:
11390 * gst/net/gstnet.h: New part of core to hold network elements and
11391 objects. Put in core because it exposes API that applications want
11392 to use. The library is named libgstnet-tempname right now because
11393 of the existing libgstnet in gst-plugins-base. Solution is
11394 probably to rename the one in plugins-base; will file a bug for
11397 * gst/net/gstnettimeprovider.c:
11398 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
11399 get_time call over the network.
11402 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
11404 * check/Makefile.am:
11405 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
11406 get additions shortly.
11408 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11410 * gst/gstpad.c: (gst_pad_new_from_static_template):
11412 add gst_pad_new_from_static_template functions
11413 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
11414 (gst_check_setup_sink_pad):
11415 * gst/elements/gsttee.c: (gst_tee_init):
11418 2005-11-16 Wim Taymans <wim@fluendo.com>
11420 * gst/gstpad.c: (gst_pad_pause_task):
11421 Removed warning, it's not really an error either.
11423 2005-11-16 Wim Taymans <wim@fluendo.com>
11425 * gst/base/gstbasetransform.c:
11426 (gst_base_transform_prepare_output_buf),
11427 (gst_base_transform_event):
11428 Check if the caps are NULL, this can happen if the element
11429 is shutting down and the pad caps are set to NULL.
11431 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11433 * gst/elements/gsttee.c: (gst_tee_init):
11434 fix pad template leak in tee
11436 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11438 * gst/glib-compat.c: (g_value_dup_gst_object):
11439 * gst/glib-compat.h:
11440 * gst/gstpad.c: (gst_pad_set_property):
11441 use gst_object_ref when setting the pad template; this will
11442 trigger the pad template leaks on GLib 2.6 and the slaves
11444 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11446 * gst/glib-compat.c: (gst_flags_get_first_value):
11447 * gst/glib-compat.h:
11448 * gst/gstregistryxml.c:
11449 remove functions copied from GLib 2.6
11451 2005-11-16 Michael Smith <msmith@fluendo.com>
11454 Don't link against VALGRIND_LIBS. That was always the wrong thing to
11455 do, but only breaks with newer valgrind versions. We're not a
11456 valgrind tool, we have no link-time dependencies on libcoregrind.
11458 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11460 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11462 * gst/gstmessage.h:
11465 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11467 * gst/base/gstbasesrc.c: (gst_base_src_init):
11468 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11469 * gst/gstqueue.c: (gst_queue_init):
11470 * gst/gstregistryxml.c: (load_feature):
11471 Revert all these unrefs, they don't even pass make check !
11473 2005-11-15 Johan Dahlin <johan@gnome.org>
11475 * gst/base/gstbasesrc.c: (gst_base_src_init):
11476 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11477 * gst/gstqueue.c: (gst_queue_init):
11478 Free pad templates, fixes a couple of leaks.
11480 2005-11-15 Daniel Fischer <dan at f3c dot com>
11482 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11484 * gst/gstpad.c: (gst_pad_get_property):
11485 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
11486 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
11489 2005-11-15 Wim Taymans <wim@fluendo.com>
11494 2005-11-15 Andy Wingo <wingo@pobox.com>
11496 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
11498 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
11499 using GST_CLOCK_TIME_NONE to disable base time management.
11500 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
11501 time if it was NONE before.
11502 (gst_pipeline_change_state): Only munge the base time if
11503 stream_time != GST_CLOCK_TIME_NONE.
11505 * check/gst/gstpipeline.c (test_base_time): Punt around the
11506 problem of the probe not being called, because that's not the
11507 issue I'm looking at. Add a check that setting stream_time to NONE
11508 disables base time management.
11510 2005-11-15 Wim Taymans <wim@fluendo.com>
11512 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11513 segment_stop == -1 at startup.
11515 * gst/base/gstbasetransform.c: (gst_base_transform_event),
11516 (gst_base_transform_change_state):
11517 Init segment values at start.
11519 2005-11-15 Wim Taymans <wim@fluendo.com>
11521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11522 0 segment values are 0 in any format.
11524 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11525 * gst/base/gstbasetransform.h:
11526 Parse newsegment correctly in basetransform
11528 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11529 Sync to clock using updated segment values.
11531 2005-11-15 Andy Wingo <wingo@pobox.com>
11533 * check/gst/gstpipeline.c (test_base_time): Add check that the
11534 base time and stream time are reset correctly.
11536 2005-11-15 Wim Taymans <wim@fluendo.com>
11538 * docs/design/part-TODO.txt:
11539 Some more TODO items.
11541 2005-11-15 Andy Wingo <wingo@pobox.com>
11543 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
11544 error if the user selected "no clock" as the clocking method.
11546 * check/gst/gstpipeline.c (test_base_time): New test for buffer
11547 timestamps with live capture.
11549 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
11550 is 0 but we are a live source, timestamp the buffers using the
11553 2005-11-14 Stefan Kost <ensonic@users.sf.net>
11555 * docs/gst/gstreamer-sections.txt:
11557 * gst/gstghostpad.c:
11562 2005-11-14 Wim Taymans <wim@fluendo.com>
11565 add suppressions from Wim's Debian machine
11567 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
11570 add suppressions from Andy's AMD64 Ubuntu machine
11572 2005-11-14 Andy Wingo <wingo@pobox.com>
11574 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
11575 STATE_LOCK not necessary. Fixes #311489.
11577 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
11580 * gst/gstindex.c (gst_index_add_object): Note in the docs that
11581 this function is not implemented.
11583 2005-11-14 Julien MOUTTE <julien@moutte.net>
11585 * gst/base/gstbasetransform.c:
11586 (gst_base_transform_prepare_output_buf):
11587 Ref the source pad caps while we need them.
11590 2005-11-11 Wim Taymans <wim@fluendo.com>
11592 * docs/gst/gstreamer-sections.txt:
11593 Added some docs for GstCollectData.
11595 * gst/base/gstadapter.c:
11596 Some small code example fix.
11598 * gst/base/gstcollectpads.c:
11599 * gst/base/gstcollectpads.h:
11600 Document some more.
11602 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
11604 * configure.ac: back to HEAD
11606 === release 0.9.5 ===
11608 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
11611 releasing 0.9.5, "Bike Lunch Day"
11613 2005-11-11 Wim Taymans <wim@fluendo.com>
11615 * gst/gstbuffer.c: (_gst_buffer_copy):
11618 * gst/gstcaps.c: (gst_caps_is_equal):
11620 Make _is_equal fast in the trivial cases.
11622 * gst/gstminiobject.c:
11623 * gst/gstminiobject.h:
11624 More docs. Spifify .h file.
11629 2005-11-11 Wim Taymans <wim@fluendo.com>
11631 * gst/base/gstbasetransform.c:
11632 (gst_base_transform_prepare_output_buf),
11633 (gst_base_transform_handle_buffer):
11635 If we're processing a buffer and need to allocate an output
11636 buffer, we cannot accept a format change. If we did get a
11637 format change, we have to alloc a buffer ourselves of the
11640 2005-11-11 Wim Taymans <wim@fluendo.com>
11642 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
11643 While checking the flag for reentrancy in the gstcaps function
11644 is nice to detect recursive invocations, it also makes it
11645 impossible to call getcaps from multiple threads, which must be
11646 possible. So, checking for recursive calls has to go.
11648 2005-11-11 Michael Smith <msmith@fluendo.com>
11650 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11651 Don't sync on buffers that fall partially outside our current
11652 segment. Prevents an assertion failure/abort playing some files.
11654 2005-11-10 Andy Wingo <wingo@pobox.com>
11656 * check/gst/gstbin.c (test_message_state_changed_children): Style
11659 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
11660 gst_bus_poll with the signal watch. Ensures that poll and a signal
11661 watch see the same messages.
11663 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
11664 a poll and a watch at the same time get the same messages.
11666 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
11668 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
11669 * gst/gstcaps.c: (gst_caps_intersect):
11670 Don't call gst_caps_do_simplify - it doesn't respect order of caps
11671 and it's not needed.
11673 2005-11-10 Wim Taymans <wim@fluendo.com>
11675 * docs/design/part-TODO.txt:
11678 2005-11-10 Wim Taymans <wim@fluendo.com>
11680 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11681 * gst/base/gstbasesrc.c: (gst_base_src_wait),
11682 (gst_base_src_do_sync), (gst_base_src_get_range):
11683 Implement clock sync in base class.
11685 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
11687 patch by: Tim-Philipp Müller <tim at centricular dot net>
11689 * gst/gststructure.c: (gst_structure_parse_field),
11690 (gst_structure_from_string):
11691 Forward-port a 0.8 patch to handle escaped spaces in structure string,
11692 so that gst_parse_launch() can deal with spaces in filtered link
11693 caps (fixes #164479)
11694 * check/gst/capslist.h:
11695 * check/gst/gststructure.c: (GST_START_TEST):
11696 add unit tests for this change
11698 2005-11-10 Wim Taymans <wim@fluendo.com>
11700 * docs/gst/gstreamer-sections.txt:
11701 * gst/gstelement.c:
11702 * gst/gstelement.h:
11703 Fix docs, move some STATE macros to private.
11705 2005-11-10 Wim Taymans <wim@fluendo.com>
11707 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
11708 Added check for bug #317341
11712 Some more spiffifying.
11714 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
11715 Call peer linkfunction if we are a source pad. Totally fixes
11719 Update docs, source pads should call the peer linkfunction
11720 so they can atomically perform the pad link.
11722 2005-11-09 Wim Taymans <wim@fluendo.com>
11726 Uber-spiffy-spiffify some more.
11728 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
11730 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
11731 * gst/elements/gstfilesink.c: (gst_file_sink_init):
11732 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11733 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
11734 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
11735 * gst/gstpad.c: (gst_pad_init):
11736 Use GST_DEBUG_FUNCPTR() more extensively.
11738 2005-11-09 Wim Taymans <wim@fluendo.com>
11740 * gst/gstobject.c: (gst_object_class_init):
11742 Documentation fixes.
11744 2005-11-09 Edward Hervey <edward@fluendo.com>
11746 * gst/gsttypefindfactory.c:
11749 2005-11-09 Edward Hervey <edward@fluendo.com>
11751 * gst/base/gsttypefindhelper.c:
11752 * gst/gsttypefind.c:
11753 * gst/gsttypefind.h:
11756 2005-11-09 Wim Taymans <wim@fluendo.com>
11758 * gst/gstiterator.c:
11765 2005-11-09 Wim Taymans <wim@fluendo.com>
11771 2005-11-09 Wim Taymans <wim@fluendo.com>
11773 * docs/gst/gstreamer-sections.txt:
11774 Moved the message async delivery private lock and cond
11775 to the private section.
11777 * gst/gstmessage.c:
11778 * gst/gstmessage.h:
11781 2005-11-09 Edward Hervey <edward@fluendo.com>
11783 * docs/gst/gstreamer-sections.txt:
11786 Document GstURIHandler
11788 2005-11-09 Wim Taymans <wim@fluendo.com>
11790 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
11791 (gst_iterator_find_custom):
11792 * gst/gstiterator.h:
11795 2005-11-09 Wim Taymans <wim@fluendo.com>
11798 Document another field.
11800 * gst/gststructure.c:
11801 * gst/gststructure.h:
11804 2005-11-09 Wim Taymans <wim@fluendo.com>
11807 Documented structs.
11809 2005-11-09 Wim Taymans <wim@fluendo.com>
11811 * docs/gst/gstreamer-sections.txt:
11812 Added some new macros.
11819 2005-11-09 Wim Taymans <wim@fluendo.com>
11821 * docs/design/part-TODO.txt:
11822 Some more items for the TODO
11828 2005-11-09 Andy Wingo <wingo@pobox.com>
11830 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
11831 to work on something else now tho...
11833 * gst/base/gstadapter.c: More adapter docs.
11835 * gst/elements/gstfilesink.c (gst_file_sink_start)
11836 (gst_file_sink_stop): New functions, replace the state change
11838 (gst_file_sink_class_init): Hook up the start and stop functions.
11839 (gst_file_sink_base_init): Don't set the state change handler any
11840 more. It was a bit ugly too, being set from here...
11841 (gst_file_sink_get_property, gst_file_sink_set_property):
11843 (gst_file_sink_set_location): More robust check that doesn't call
11844 GST_STATE. Ugggggg.
11846 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
11848 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11849 Hold STREAM_LOCK while pushing newsegment or tag events as well.
11851 2005-11-08 Wim Taymans <wim@fluendo.com>
11853 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
11854 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11855 (gst_base_sink_chain), (gst_base_sink_change_state):
11856 * gst/base/gstbasesink.h:
11857 * gst/base/gstbasesrc.h:
11858 * gst/gstelement.h:
11860 Avoid excessive typechecking in macros.
11862 * gst/gstminiobject.c: (gst_mini_object_get_type),
11863 (gst_mini_object_init), (gst_mini_object_new),
11864 (gst_mini_object_free):
11865 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11866 (gst_object_finalize):
11867 Remove cruft code, optimize alloc_trace.
11869 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
11871 * docs/faq/gst-uninstalled:
11872 fix up PS1 for systems that try to reset it
11874 2005-11-07 Wim Taymans <wim@fluendo.com>
11876 * gst/base/gstbasesrc.c: (gst_base_src_init),
11877 (gst_base_src_get_range):
11878 Set the segment_end to -1 initially. Fixed typefind.
11880 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
11882 * gst/base/gstadapter.c:
11883 Debug category should be 'adapter', not 'GstAdapter'.
11885 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
11886 (gst_collectpads_class_init), (gst_collectpads_init),
11887 (gst_collectpads_peek), (gst_collectpads_pop),
11888 (gst_collectpads_event), (gst_collectpads_chain):
11889 Add debug category and some debugging output. Use boilerplate
11890 macros. Remove some extraneous words from docs.
11892 2005-11-05 Andy Wingo <wingo@pobox.com>
11894 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
11897 2005-11-04 Stefan Kost <ensonic@users.sf.net>
11899 * docs/gst/gstreamer-sections.txt:
11902 * gst/gstminiobject.h:
11907 2005-11-04 Wim Taymans <wim@fluendo.com>
11909 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11910 Small update to stop at the configured segment_end
11913 2005-11-04 Stefan Kost <ensonic@users.sf.net>
11915 * gst/gstregistry.c:
11916 * gst/gstregistry.h:
11919 2005-11-04 Edward Hervey <edward@fluendo.com>
11921 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11922 Check if we are doing a segment seek and have arrived at the
11923 end of that segment.
11925 2005-11-04 Wim Taymans <wim@fluendo.com>
11927 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
11928 Don't leak a mutex unlock in case of an error.
11933 2005-11-04 Wim Taymans <wim@fluendo.com>
11935 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
11937 Get the context to wake up only once.
11939 2005-11-03 Wim Taymans <wim@fluendo.com>
11941 * check/states/sinks.c: (GST_START_TEST):
11942 Uncomment fixed check.
11944 * docs/design/part-TODO.txt:
11947 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11948 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
11949 (gst_base_sink_get_position):
11950 If we are going to PLAYING, post the right pending state
11951 when we post the intermediate paused message.
11953 * gst/gstelement.c: (gst_element_continue_state),
11954 (gst_element_set_state_func), (gst_element_change_state):
11955 Don't post state changes that were between the same state
11956 and were not ASYNC.
11958 2005-11-03 Stefan Kost <ensonic@users.sf.net>
11960 * docs/gst/gstreamer-sections.txt:
11963 * gst/gstminiobject.h:
11966 more docs and doc style fixes
11968 2005-11-03 Stefan Kost <ensonic@users.sf.net>
11970 * docs/gst/gstreamer-sections.txt:
11971 * gst/gstelement.c:
11972 * gst/gstminiobject.c:
11975 2005-11-03 Andy Wingo <wingo@pobox.com>
11977 * check/states/sinks.c (test_livesrc_sink): Add checks that the
11978 state-changed messages actually have the right order and the right
11981 2005-11-03 Wim Taymans <wim@fluendo.com>
11983 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11984 Added some more checks. Specifically the case where NO_PREROLL
11985 elements are in the pipeline.
11987 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11988 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
11989 (gst_base_sink_get_position):
11990 Post READY->PAUSED state change messages too.
11991 Fix bug where VOID was posted as pending state...
11993 * gst/gstbin.c: (gst_bin_recalc_state):
11994 use _element_continue_state() to continue the state change.
11996 * gst/gstelement.c: (gst_element_continue_state),
11997 (gst_element_commit_state), (gst_element_set_state_func),
11998 (gst_element_change_state), (gst_element_change_state_func):
11999 Lots of state change cleanups, assign the STATE_RETURN in
12000 a new continue_state() function that also propagates the
12001 last return value from a state change to the app.
12002 Update some debug statements with proper category.
12004 2005-11-03 Wim Taymans <wim@fluendo.com>
12006 * docs/design/part-events.txt:
12007 * docs/design/part-gstpipeline.txt:
12008 * docs/design/part-messages.txt:
12009 * docs/design/part-overview.txt:
12010 * docs/design/part-seeking.txt:
12011 * docs/design/part-states.txt:
12012 * docs/design/part-trickmodes.txt:
12013 * docs/manual/advanced-position.xml:
12014 Small docs updates.
12017 People think !! is ugly, this looks better.
12019 * gst/gstpad.c: (gst_pad_set_blocked_async):
12020 Remove !! since it's fixed elsewhere now.
12022 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12024 * gst/gstminiobject.h:
12026 Add !! to _FLAG_IS_SET macros to make the result boolean.
12028 2005-11-03 Edward Hervey <edward@fluendo.com>
12030 * gst/gstpad.c: (gst_pad_set_blocked_async):
12031 comparing a flag and a gboolean rarely returns coherent results...
12032 Added two characters (!!) to make that work correctly.
12034 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12036 * gst/gstbus.c: (gst_bus_class_init):
12039 * gst/gstqueue.c: (gst_queue_loop):
12040 Don't assume a miniobject that isn't a buffer is an
12041 event (it could be that there is a refcounting
12042 problem somewhere and the pointer is stale and
12043 refers to an already destroyed miniobject).
12045 2005-11-03 Julien MOUTTE <julien@moutte.net>
12047 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12049 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12051 * docs/manual/advanced-position.xml:
12052 Update seek example and explanations to current 0.9 API.
12054 * gst/elements/gsttypefindelement.c:
12055 (gst_type_find_element_activate):
12056 Remove FIXME comment now that the found caps
12059 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12061 * gst/gstregistryxml.c: (load_feature):
12062 Add another GST_STR_NULL instance
12064 2005-11-02 Edward Hervey <edward@fluendo.com>
12066 * gst/gstpad.c: (handle_pad_block):
12067 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12069 2005-11-02 Wim Taymans <wim@fluendo.com>
12074 * gst/gstelement.c: (gst_element_commit_state):
12075 Remove unused value.
12077 * gst/gstiterator.c:
12078 Mention that the returned element is reffed in the docs.
12080 2005-11-02 Wim Taymans <wim@fluendo.com>
12082 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12083 (gst_pad_push), (gst_pad_push_event):
12084 Unlock blocked pads when they are flushed.
12086 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12089 * docs/gst/gstreamer-sections.txt:
12092 * gst/gstregistry.c: (gst_registry_scan_path_level):
12093 fix for a nasty little missed situation where an installed plug-in
12094 which was in the cache did not get overridden by an uninstalled one
12095 which was earlier in the plugin path because the newly created plugin
12096 for the uninstalled one (not in the registry) didn't get its
12097 ->registered set to TRUE
12099 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12101 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12102 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12103 (gst_collectpads_is_active), (gst_collectpads_collect),
12104 (gst_collectpads_collect_range), (gst_collectpads_start),
12105 (gst_collectpads_stop), (gst_collectpads_peek),
12106 (gst_collectpads_pop), (gst_collectpads_available),
12107 (gst_collectpads_read), (gst_collectpads_flush):
12108 Guard public API with assertions.
12111 Fix docs for gst_pad_set_link_function().
12113 2005-11-02 Johan Dahlin <johan@gnome.org>
12115 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12116 Unref found_caps after we used it.
12118 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12120 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12121 Don't try to ref NULL.
12123 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12125 * win32/common/config.h.in:
12126 provide a GST_FUNCTION that just gives a string for now
12128 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12130 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12131 (gst_object_flags_get_type), (register_gst_bin_flags),
12132 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12133 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12134 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12135 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12136 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12137 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12138 (gst_clock_flags_get_type), (register_gst_state),
12139 (gst_state_get_type), (register_gst_state_change_return),
12140 (gst_state_change_return_get_type), (register_gst_state_change),
12141 (gst_state_change_get_type), (register_gst_element_flags),
12142 (gst_element_flags_get_type), (register_gst_core_error),
12143 (gst_core_error_get_type), (register_gst_library_error),
12144 (gst_library_error_get_type), (register_gst_resource_error),
12145 (gst_resource_error_get_type), (register_gst_stream_error),
12146 (gst_stream_error_get_type), (register_gst_event_type),
12147 (gst_event_type_get_type), (register_gst_seek_type),
12148 (gst_seek_type_get_type), (register_gst_seek_flags),
12149 (gst_seek_flags_get_type), (register_gst_format),
12150 (gst_format_get_type), (register_gst_index_certainty),
12151 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12152 (gst_index_entry_type_get_type),
12153 (register_gst_index_lookup_method),
12154 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12155 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12156 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12157 (gst_index_flags_get_type), (register_gst_debug_level),
12158 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12159 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12160 (gst_iterator_result_get_type), (register_gst_iterator_item),
12161 (gst_iterator_item_get_type), (register_gst_message_type),
12162 (gst_message_type_get_type), (register_gst_mini_object_flags),
12163 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12164 (gst_pad_link_return_get_type), (register_gst_flow_return),
12165 (gst_flow_return_get_type), (register_gst_activate_mode),
12166 (gst_activate_mode_get_type), (register_gst_pad_direction),
12167 (gst_pad_direction_get_type), (register_gst_pad_flags),
12168 (gst_pad_flags_get_type), (register_gst_pad_presence),
12169 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12170 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12171 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12172 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12173 (gst_plugin_flags_get_type), (register_gst_rank),
12174 (gst_rank_get_type), (register_gst_query_type),
12175 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12176 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12177 (gst_tag_flag_get_type), (register_gst_task_state),
12178 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12179 (gst_alloc_trace_flags_get_type),
12180 (register_gst_type_find_probability),
12181 (gst_type_find_probability_get_type), (register_gst_uri_type),
12182 (gst_uri_type_get_type), (register_gst_parse_error),
12183 (gst_parse_error_get_type):
12184 * win32/common/gstversion.h:
12185 update win32 copies
12187 2005-11-01 Luca Ognibene <luogni@tin.it>
12190 fix docs. popt is dead, long live GOption.
12192 2005-10-31 Wim Taymans <wim@fluendo.com>
12197 2005-10-31 Andy Wingo <wingo@pobox.com>
12201 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12203 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12204 need to serialize property notifications on GLib 2.8. GLib 2.6 has
12205 the possibility of deadlocks here if code calling notify() or
12206 set() has a lock that can be taken in another notify handler (ABBA
12207 with class lock and e.g. python GIL state lock).
12209 2005-10-28 Julien MOUTTE <julien@moutte.net>
12211 * gst/gstbus.c: Doc updates.
12213 2005-10-28 Wim Taymans <wim@fluendo.com>
12215 * docs/design/part-TODO.txt:
12216 * gst/gstiterator.c:
12217 * gst/gstsystemclock.c:
12218 * gst/gstsystemclock.h:
12221 2005-10-28 Edward Hervey <edward@fluendo.com>
12223 * docs/gst/gstreamer-docs.sgml:
12224 * docs/gst/gstreamer-sections.txt:
12225 the GstURIType documentation page is private, it only defines GstURIType
12226 which should be defined in the GstURIHandler page
12228 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
12230 * gst/gstbin.c: (gst_bin_class_init):
12233 Documentation updates.
12235 2005-10-28 Wim Taymans <wim@fluendo.com>
12237 * docs/gst/gstreamer-sections.txt:
12240 Documented the clocks.
12242 2005-10-28 Stefan Kost <ensonic@users.sf.net>
12244 * docs/gst/gstreamer-sections.txt:
12245 move some macros to private sections
12246 * gst/gstminiobject.c:
12247 * gst/gstminiobject.h:
12248 add descriptions provided by ds and some more
12250 mark macro as to be removed
12252 2005-10-28 Wim Taymans <wim@fluendo.com>
12254 * docs/design/part-TODO.txt:
12255 Add an item to TODO.
12257 * gst/gstiterator.c: (gst_iterator_fold),
12258 (gst_iterator_find_custom):
12259 * gst/gstiterator.h:
12262 2005-10-28 Wim Taymans <wim@fluendo.com>
12264 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12265 (gst_base_transform_init):
12268 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12269 An EOS event marks the queue as completely filled.
12271 2005-10-27 Wim Taymans <wim@fluendo.com>
12273 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12274 (gst_base_sink_do_sync), (gst_base_sink_get_position):
12275 Some more debugging.
12277 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12278 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12279 (gst_base_transform_event), (gst_base_transform_getrange),
12280 (gst_base_transform_chain):
12281 * gst/base/gstbasetransform.h:
12283 Protect transform and concurrent buffer alloc with a new lock.
12284 Try not to break ABI/API.
12286 2005-10-27 Wim Taymans <wim@fluendo.com>
12288 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12289 (gst_base_src_init), (gst_base_src_query),
12290 (gst_base_src_default_newsegment),
12291 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12292 (gst_base_src_send_event), (gst_base_src_event_handler),
12293 (gst_base_src_pad_get_range), (gst_base_src_loop),
12294 (gst_base_src_unlock), (gst_base_src_default_negotiate),
12295 (gst_base_src_start), (gst_base_src_deactivate),
12296 (gst_base_src_activate_push), (gst_base_src_change_state):
12297 Move some stuff around and cleanup things.
12299 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
12301 * gst/base/gstbasesrc.c: (gst_base_src_query):
12302 Add missing break statements.
12304 2005-10-27 Wim Taymans <wim@fluendo.com>
12306 * check/gst/gstbin.c: (GST_START_TEST):
12307 An extra refcount is taken in basesrc.
12309 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12310 (gst_base_src_get_range), (gst_base_src_pad_get_range),
12311 (gst_base_src_loop):
12312 Small cleanups, check for flushing after being unlocked from the
12313 LIVE_LOCK. take refcounts correctly (not yet everywhere).
12314 Don't send out EOS when going to READY.
12316 2005-10-27 Wim Taymans <wim@fluendo.com>
12318 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12319 (gst_base_sink_get_position):
12322 * gst/gstbin.c: (message_check), (bin_replace_message),
12323 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12324 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12325 (bin_query_duration_init), (bin_query_duration_fold),
12326 (bin_query_duration_done), (bin_query_generic_fold),
12328 * tools/gst-launch.c: (main):
12331 2005-10-26 Stefan Kost <ensonic@users.sf.net>
12333 * examples/controller/audio-example.c: (main):
12334 * examples/queue/queue.c: (event_loop):
12335 * gst/base/gstbasetransform.h:
12336 * gst/gstelement.c: (gst_element_send_event):
12338 * gst/gstpad.c: (gst_pad_send_event):
12341 changing log priority in error situations
12343 2005-10-25 Wim Taymans <wim@fluendo.com>
12345 * gst/gstbin.c: (message_check), (bin_replace_message),
12346 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12347 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12348 (bin_query_duration_init), (bin_query_duration_fold),
12349 (bin_query_duration_done), (bin_query_generic_fold),
12351 Some doc and debug updates.
12352 Cache previously requested query DURATION for speed. invalidate
12353 cached duration if element posts a DURATION message.
12355 2005-10-25 Wim Taymans <wim@fluendo.com>
12357 * docs/design/part-TODO.txt:
12360 * gst/gstbin.c: (message_check), (bin_replace_message),
12361 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12362 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12363 (bin_query_duration_init), (bin_query_duration_fold),
12364 (bin_query_duration_done), (bin_query_generic_fold),
12366 Handle SEGMENT_START/DONE messages correctly.
12367 More evolved query algorithm that handles duration queries
12370 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12371 (gst_element_get_state_func), (gst_element_abort_state),
12372 (gst_element_commit_state), (gst_element_lost_state):
12373 Some more debugging.
12375 * gst/gstmessage.h:
12378 2005-10-25 Wim Taymans <wim@fluendo.com>
12380 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12381 Don't use invalid stream_time.
12383 * gst/gstevent.c: (gst_event_new_newsegment):
12384 stream_time in newsegment cannot be undefined.
12386 2005-10-24 Wim Taymans <wim@fluendo.com>
12391 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12393 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
12395 2005-10-24 Stefan Kost <ensonic@users.sf.net>
12397 * docs/libs/tmpl/gstdparam.sgml:
12398 * docs/libs/tmpl/gstdplinint.sgml:
12399 * docs/libs/tmpl/gstdpman.sgml:
12400 * docs/libs/tmpl/gstdpsmooth.sgml:
12401 * docs/libs/tmpl/gstunitconvert.sgml:
12404 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
12409 === release 0.9.4 ===
12411 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
12414 releasing 0.9.4, "Tyrannosaurus Rex"
12416 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
12418 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
12419 (gst_file_sink_get_current_offset):
12420 Use fseeko() and ftello() if available. When falling back on
12421 lseek() to get the current offset, fflush() first to make sure
12422 everything is up-to-date and we get the right offset.
12424 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
12426 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12427 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12428 * gst/gsterror.c: (_gst_stream_errors_init):
12430 * gst/gstqueue.c: (gst_queue_loop):
12432 remove prematurely added error category and clean up the instances
12434 2005-10-21 Wim Taymans <wim@fluendo.com>
12436 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12437 (gst_base_sink_get_position), (gst_base_sink_query),
12438 (gst_base_sink_change_state):
12439 Simply set the right flag when going to playing, that's all
12440 we need to do instead of calling a function inside the object
12441 lock (that could take the lock as well and deadlock)
12443 2005-10-21 Wim Taymans <wim@fluendo.com>
12445 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
12446 (gst_base_src_loop):
12447 Don't warn, the peer element knows what to do best when
12448 the seek failed, it might try something else.
12450 2005-10-21 Wim Taymans <wim@fluendo.com>
12452 * gst/base/gstbasesrc.c: (gst_base_src_init),
12453 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
12456 2005-10-21 Wim Taymans <wim@fluendo.com>
12458 * docs/design/part-segments.txt:
12461 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12462 Correctly set caps, even on the subbufer.
12464 2005-10-21 Wim Taymans <wim@fluendo.com>
12466 * docs/gst/gstreamer-docs.sgml:
12467 * docs/gst/gstreamer-sections.txt:
12468 * gst/gstelement.h:
12471 * gst/gstmessage.h:
12474 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
12478 And 2% more doc coverage.
12480 2005-10-21 Andy Wingo <wingo@pobox.com>
12482 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
12483 position reporting.
12485 2005-10-20 Wim Taymans <wim@fluendo.com>
12487 * gst/gsterror.c: (gst_error_get_message):
12490 * gst/gststructure.c:
12495 2005-10-20 Wim Taymans <wim@fluendo.com>
12500 Another 1% more coverage.
12502 2005-10-20 Wim Taymans <wim@fluendo.com>
12504 * docs/gst/gstreamer-sections.txt:
12505 * gst/gstelement.c: (gst_element_get_state_func),
12506 (gst_element_abort_state), (gst_element_commit_state),
12507 (gst_element_lost_state):
12509 * gst/gstquery.c: (gst_query_set_position),
12510 (gst_query_parse_position), (gst_query_set_duration),
12511 (gst_query_parse_duration), (gst_query_new_convert):
12513 Yay! 1% more docs coverage.
12515 2005-10-20 Wim Taymans <wim@fluendo.com>
12518 * gst/gstquery.c: (gst_query_set_position),
12519 (gst_query_parse_position), (gst_query_set_duration),
12520 (gst_query_parse_duration), (gst_query_new_convert):
12522 * gst/gstutils.c: (gst_element_query_convert):
12524 Docs and consistency fixes.
12526 2005-10-20 Wim Taymans <wim@fluendo.com>
12532 2005-10-20 Wim Taymans <wim@fluendo.com>
12534 * gst/gstbin.c: (message_check), (bin_replace_message),
12535 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12536 (update_degree), (gst_bin_sort_iterator_next),
12537 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
12538 Reworked the message handling a bit, cache the messages instead of
12539 only the senders. alows us to do more in the future.
12541 2005-10-20 Wim Taymans <wim@fluendo.com>
12543 * docs/design/part-TODO.txt:
12546 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
12547 (gst_base_sink_query):
12548 Don't use clock time to report position when in EOS.
12550 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
12552 * tools/gst-inspect.c: (print_interfaces),
12553 (print_element_properties_info), (print_element_info):
12554 Fix interface output with gst-inspect -a; don't print
12555 newlines after double/float properties.
12557 2005-10-20 Wim Taymans <wim@fluendo.com>
12559 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
12560 (gst_base_sink_query):
12561 Speed up current position calculation.
12563 * gst/base/gstbasesrc.c: (gst_base_src_query),
12564 (gst_base_src_default_newsegment):
12565 Correctly set stream position in newsegment.
12567 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
12568 (update_degree), (gst_bin_sort_iterator_next),
12569 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
12570 * gst/gstmessage.c: (gst_message_new_custom):
12571 Clean up debugging info
12573 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
12574 (gst_queue_loop), (gst_queue_handle_src_query):
12577 2005-10-19 Wim Taymans <wim@fluendo.com>
12579 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12580 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
12581 Fix query handling again.
12583 2005-10-19 Wim Taymans <wim@fluendo.com>
12585 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12586 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
12587 * gst/base/gstbasesrc.c: (gst_base_src_query):
12588 * gst/elements/gstfilesink.c: (gst_file_sink_query):
12589 * gst/elements/gsttypefindelement.c:
12590 (gst_type_find_handle_src_query), (find_element_get_length),
12591 (gst_type_find_element_activate):
12594 * gst/gstquery.c: (gst_query_new_position),
12595 (gst_query_set_position), (gst_query_parse_position),
12596 (gst_query_new_duration), (gst_query_set_duration),
12597 (gst_query_parse_duration), (gst_query_set_segment),
12598 (gst_query_parse_segment):
12600 Bundling query position/duration is not a good idea since duration
12601 does not change much and we don't want to recalculate it for every
12602 position query, so they are separated again..
12603 Base value in segment query is not needed.
12605 * gst/gstqueue.c: (gst_queue_handle_src_query):
12606 * gst/gstutils.c: (gst_element_query_position),
12607 (gst_element_query_duration), (gst_pad_query_position),
12608 (gst_pad_query_duration):
12610 Updates for query API change.
12611 Added some docs here and there.
12613 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
12615 * check/gst/gstbin.c: (GST_START_TEST):
12616 * check/gst/gstghostpad.c: (GST_START_TEST):
12617 * check/pipelines/cleanup.c: (GST_START_TEST):
12618 wait on thread to die so we can check refcount correctly
12620 2005-10-18 Wim Taymans <wim@fluendo.com>
12622 * check/pipelines/stress.c: (GST_START_TEST):
12623 Make check a little more time consuming.
12625 2005-10-18 Wim Taymans <wim@fluendo.com>
12627 * check/Makefile.am:
12628 * check/pipelines/stress.c: (GST_START_TEST),
12629 (simple_launch_lines_suite), (main):
12630 Small state change torture test.
12632 * docs/design/part-states.txt:
12633 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12634 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
12635 (gst_base_sink_change_state):
12636 Never take state lock from streaming thread, clean up ugly
12637 hacks. Unfortunatly core does not yet support nice ways to
12638 async commit state.
12640 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
12642 Start state recalc if a STATE_DIRTY message is posted, but only
12643 on the toplevel bin.
12645 * gst/gstelement.c: (gst_element_sync_state_with_parent),
12646 (gst_element_get_state_func), (gst_element_abort_state),
12647 (gst_element_commit_state), (gst_element_lost_state),
12648 (gst_element_set_state_func), (gst_element_change_state):
12649 * gst/gstelement.h:
12650 State variables are now protected with the LOCK, the state
12651 lock is only used to serialize _set_state().
12653 2005-10-18 Wim Taymans <wim@fluendo.com>
12655 * check/gst/gstbin.c: (GST_START_TEST):
12656 * check/gst/gstmessage.c: (GST_START_TEST):
12657 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12658 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
12660 * gst/gstelement.c: (gst_element_abort_state),
12661 (gst_element_commit_state), (gst_element_lost_state):
12662 * gst/gstmessage.c: (gst_message_new_state_changed),
12663 (gst_message_new_state_dirty), (gst_message_new_segment_start),
12664 (gst_message_new_segment_done), (gst_message_new_duration),
12665 (gst_message_parse_state_changed),
12666 (gst_message_parse_segment_start),
12667 (gst_message_parse_segment_done), (gst_message_parse_duration):
12668 * gst/gstmessage.h:
12669 * tools/gst-launch.c: (event_loop):
12670 Seriously, this is better than a previous commit as we only need
12671 to notify the fact that an element changed state in a streaming
12672 thread, marking the state of the parents dirty, hence the
12673 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
12676 2005-10-18 Wim Taymans <wim@fluendo.com>
12678 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
12679 (gst_bin_recalc_func):
12680 * gst/gstelement.c: (gst_element_set_clock),
12681 (gst_element_abort_state), (gst_element_lost_state):
12682 Cleanups, prepare for state change fixes.
12684 2005-10-18 Wim Taymans <wim@fluendo.com>
12687 * gst/gstelement.c: (gst_element_class_init),
12688 (gst_element_set_state), (gst_element_set_state_func):
12689 * gst/gstelement.h:
12690 Pending ABI changes.
12691 GThreadPool in GstBinClass to monitor async state changes.
12692 state_cookie in GstElement to detect concurrent gst/set state.
12693 set_state is now virtual too in case a very complicated element
12694 has to be constructed.
12696 2005-10-18 Wim Taymans <wim@fluendo.com>
12698 * check/gst/gstbin.c: (GST_START_TEST):
12699 * check/gst/gstmessage.c: (GST_START_TEST):
12700 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12701 * gst/gstbin.c: (bin_bus_handler):
12702 * gst/gstelement.c: (gst_element_commit_state),
12703 (gst_element_lost_state):
12704 * gst/gstmessage.c: (gst_message_new_state_changed),
12705 (gst_message_new_segment_start), (gst_message_new_segment_done),
12706 (gst_message_new_duration), (gst_message_parse_state_changed),
12707 (gst_message_parse_segment_start),
12708 (gst_message_parse_segment_done), (gst_message_parse_duration):
12709 * gst/gstmessage.h:
12710 * tools/gst-launch.c: (event_loop):
12711 Make messages future proof.
12712 state-change gets a flag if it was a message comming from the
12714 segment-start/stop can also be specified in other formats.
12715 A message to notify an app that a pipeline changed playback
12717 Also fix a GstMessage leak in -launch
12719 2005-10-18 Andy Wingo <wingo@pobox.com>
12721 * gst/gstelement.c (gst_element_dispose): More helpful message.
12723 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
12725 reviewed by: <delete if not using a buddy>
12727 * common/gtk-doc.mak:
12729 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
12731 * gst/gstregistry.c: (gst_registry_scan_path_level):
12732 unref a plug-in we get that was already initialized
12734 2005-10-18 Stefan Kost <ensonic@users.sf.net>
12736 * docs/gst/gstreamer-sections.txt:
12737 * docs/libs/gstreamer-libs-sections.txt:
12738 * gst/gstelement.h:
12739 add new api entries
12740 hide internal macro
12742 2005-10-17 Andy Wingo <wingo@pobox.com>
12744 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
12747 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
12749 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
12751 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
12752 (gst_element_get_state_func): Better debug message.
12753 (gst_element_commit_state): s/INFO/DEBUG/.
12754 (gst_element_lost_state, gst_element_change_state):
12756 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
12757 (gst_message_new_custom): s/INFO/LOG/.
12759 2005-10-17 Michael Smith <msmith@fluendo.com>
12761 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12762 Check if end time is valid using end time, not start time.
12764 2005-10-17 Stefan Kost <ensonic@users.sf.net>
12766 * check/gst-libs/controller.c: (GST_START_TEST),
12767 (gst_controller_suite):
12768 * libs/gst/controller/gstcontroller.c:
12769 (gst_controlled_property_set_interpolation_mode):
12770 * libs/gst/controller/gstcontroller.h:
12771 * libs/gst/controller/gstinterpolation.c:
12772 * testsuite/controller/.cvsignore:
12773 * testsuite/controller/Makefile.am:
12774 * testsuite/controller/interpolator.c:
12775 merge controller testsuites
12777 remove mem-chunk from docs
12779 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
12781 * gst/gstmemchunk.c:
12782 * gst/gstmemchunk.h:
12783 * gst/gsttrashstack.c:
12784 * gst/gsttrashstack.h:
12785 out. get out. you're fired. to the Attic !
12787 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
12789 * gst/gstcaps.c: (gst_caps_intersect):
12790 fix signedness issues in a (hopefully) correct way
12791 * gst/gstelement.c: (gst_element_pads_activate):
12793 * gst/gstobject.c: (gst_object_set_parent):
12796 2005-10-17 Julien MOUTTE <julien@moutte.net>
12798 * gst/gstvalue.h: Fix prototypes.
12800 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12802 * docs/gst/gstreamer-sections.txt:
12803 * gst/gst.c: (gst_version_string):
12805 * gst/gstversion.h.in:
12806 * win32/common/libgstreamer.def:
12807 add gst_version_string ()
12809 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12813 * gst/gst.c: (init_post):
12814 * win32/common/config.h.in:
12816 * gst/gstcaps.c: (gst_caps_intersect):
12817 use gint64, the range could be bigger than a guint
12819 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12822 document potential problem in 2038
12824 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12826 * gst/gstcaps.c: (gst_caps_intersect):
12827 Fix guint j diving under 0
12829 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12832 * win32/common/config.h:
12833 * win32/common/config.h.in:
12834 check for process.h, declares getpid() on Windows
12836 include process.h if we have it
12837 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
12838 * gst/gstmemchunk.h:
12839 fix signedness issues
12840 * win32/common/libgstreamer.def:
12843 2005-10-16 Julien MOUTTE <julien@moutte.net>
12845 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
12846 fix. Because of unsigned ints, caps intersection was going nuts and
12847 trying to access structures with G_MAXUINT index. That fixes
12848 videotestsrc ! ffmpegcolorspace ! fakesink
12849 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
12852 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12855 use the gettext macro
12856 * gst/elements/gstelements.c:
12858 * gst/indexers/gstindexers.c:
12859 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
12860 * win32/common/config.h:
12862 * win32/common/config.h.in:
12863 add the template to generate config.h
12864 * win32/common/gstenumtypes.c:
12865 * win32/common/gstversion.h:
12868 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12870 * gst/gst.c: (gst_version):
12871 * gst/gstversion.h.in:
12874 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
12877 Oops, add missing closing bracket.
12879 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
12882 use common m4's for argument checking
12884 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
12886 * docs/gst/gstreamer-sections.txt:
12888 Add GST_EVENT_TYPE_NAME() macro.
12890 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
12893 * gst/gstpluginfeature.c:
12895 privatize more symbols
12897 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
12900 add srcdir, builddir includes to GST_ALL_CFLAGS, since
12901 everything that uses GStreamer API should have the includes
12903 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
12905 * docs/gst/gstreamer-sections.txt:
12906 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
12908 give each value a _get_type, removes the DATA exports
12910 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
12914 remove _gst_registry_auto_load, not used anymore
12915 * gst/gstbin.c: (gst_bin_get_type):
12917 * gst/gstelement.c: (gst_element_get_type):
12918 * gst/gstelement.h:
12919 * gst/gstobject.c: (gst_object_get_type):
12921 * gst/gstpad.c: (gst_pad_get_type):
12923 make _get_type functions similar, fixes data export from library
12925 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
12928 correctly make conditionals
12929 * gst/elements/Makefile.am:
12930 * gst/elements/gstelements.c:
12931 fix typo causing fdsrc not to build
12933 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
12935 * testsuite/Makefile.am:
12936 * testsuite/bytestream/.cvsignore:
12937 * testsuite/bytestream/Makefile.am:
12938 * testsuite/bytestream/filepadsink.c:
12939 * testsuite/bytestream/gstbstest.c:
12940 * testsuite/bytestream/test1.c:
12941 * testsuite/bytestream/testfile1:
12942 * testsuite/caps/normalisation.c:
12943 * testsuite/caps/random.c: (main):
12944 * testsuite/cleanup/.cvsignore:
12945 * testsuite/cleanup/Makefile.am:
12946 * testsuite/cleanup/cleanup1.c:
12947 * testsuite/cleanup/cleanup2.c:
12948 * testsuite/cleanup/cleanup3.c:
12949 * testsuite/cleanup/cleanup4.c:
12950 * testsuite/cleanup/cleanup5.c:
12951 * testsuite/controller/interpolator.c:
12952 * testsuite/debug/printf_extension.c: (main):
12953 * testsuite/elements/tee.c:
12954 * testsuite/negotiation/.cvsignore:
12955 * testsuite/negotiation/Makefile.am:
12956 * testsuite/negotiation/pad_link.c:
12957 * testsuite/pad/Makefile.am:
12958 * testsuite/pad/chainnopull.c:
12959 * testsuite/pad/getnopush.c:
12960 * testsuite/pad/link.c:
12961 * testsuite/refcounting/sched.c: (create_pipeline):
12962 * testsuite/registry/Makefile.am:
12963 * testsuite/registry/gst-print-formats.c:
12964 * testsuite/schedulers/.cvsignore:
12965 * testsuite/schedulers/142183-2.c:
12966 * testsuite/schedulers/142183.c:
12967 * testsuite/schedulers/143777-2.c:
12968 * testsuite/schedulers/143777.c:
12969 * testsuite/schedulers/147713.c:
12970 * testsuite/schedulers/147819.c:
12971 * testsuite/schedulers/147894-2.c:
12972 * testsuite/schedulers/147894.c:
12973 * testsuite/schedulers/Makefile.am:
12974 * testsuite/schedulers/group_link.c:
12975 * testsuite/schedulers/queue_link.c:
12976 * testsuite/schedulers/relink.c:
12977 * testsuite/schedulers/unlink.c:
12978 * testsuite/schedulers/unref.c:
12979 * testsuite/schedulers/useless_iteration.c:
12980 * testsuite/states/bin.c:
12981 clean out/remove some stuff from the testsuite directories
12983 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
12986 check for some headers
12987 * gst/elements/Makefile.am:
12988 * gst/elements/gstelements.c:
12989 don't compile fdsrc without sys/socket.h
12990 * gst/indexers/Makefile.am:
12991 * gst/indexers/gstindexers.c: (plugin_init):
12992 don't compile fileindex without mmap
12994 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13001 * check/Makefile.am:
13002 * docs/gst/Makefile.am:
13003 * examples/helloworld/Makefile.am:
13005 * gst/base/Makefile.am:
13006 * gst/check/Makefile.am:
13007 * gst/elements/Makefile.am:
13008 * gst/indexers/Makefile.am:
13009 * gst/parse/Makefile.am:
13010 * libs/gst/controller/Makefile.am:
13011 * libs/gst/dataprotocol/Makefile.am:
13012 * examples/helloworld/helloworld.c: (event_loop):
13013 compile fixes, though it's not being compiled currently
13015 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13017 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13018 Add some simple tests for the new taglist date API.
13020 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13022 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13023 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13024 Beautify 'last-message' output: print 'none' for buffer timestamps
13025 and durations if none is set; improve alignment with next messages.
13027 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13029 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13030 * gst/gstpluginfeature.h:
13031 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13032 * gst/gstregistry.h:
13033 * docs/gst/gstreamer-sections.txt:
13034 Add new API to check plugin feature version requirements.
13036 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13037 Some basic tests for the above.
13039 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13041 * gst/gststructure.c: (gst_structure_to_string):
13042 guard against NULL printf - happens when for example
13043 a message structure with GstClock gets serialized
13045 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13047 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13048 Fix presumable copy'n'pasto.
13050 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13052 * gst/elements/gstfakesrc.h:
13053 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13054 * gst/elements/gsttypefindelement.c:
13055 fix some signedness
13056 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13057 I wonder if this could actually write +2GB files before
13059 2005-10-13 Andy Wingo <wingo@pobox.com>
13061 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13062 Fix Timmeke Waymans bug.
13063 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13064 string of the proper length to gst_caps_from_string. There's a
13065 potential for, before this fix, that this could cause someone
13066 connecting over the network to cause a segfault if the payload is
13067 not NUL-terminated.
13069 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13071 * docs/design/draft-push-pull.txt:
13072 * docs/design/part-overview.txt:
13073 * docs/random/TODO-pre-0.9:
13074 * docs/random/old/ChangeLog.gstreamer:
13075 * gst/base/gstpushsrc.c:
13079 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13081 * gst/glib-compat.c: (gst_flags_get_first_value):
13082 * gst/glib-compat.h:
13083 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13084 (gst_value_compare_double), (gst_value_serialize_flags):
13085 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13088 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13091 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13093 * tools/gst-launch.c: (event_loop):
13094 print out clock nicely
13096 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13098 * docs/gst/gstreamer-sections.txt:
13099 * gst/gsttaglist.h:
13100 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13101 (gst_tag_list_get_date_index):
13102 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13103 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13105 2005-10-13 Julien MOUTTE <julien@moutte.net>
13107 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13108 (gst_collectpads_chain):
13109 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13112 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13114 * docs/gst/gstreamer-sections.txt:
13117 * tools/gst-inspect.c: (main):
13118 * tools/gst-launch.c: (main):
13119 * tools/gst-run.c: (main):
13120 * tools/gst-xmlinspect.c: (main):
13121 fix GOption context leaks
13124 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13128 * win32/common/config.h:
13130 * win32/vs6/grammar.dsp:
13131 * win32/vs6/libgstelements.dsp:
13132 * win32/vs6/libgstreamer.dsp:
13135 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13137 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13138 * gst/base/gstbasesrc.c: (gst_base_src_query):
13139 fix more guint64<->gdouble conversions
13141 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13144 add win32-update target
13145 * win32/common/gstconfig.h:
13146 * win32/common/gstenumtypes.c:
13147 * win32/common/gstenumtypes.h:
13148 * win32/common/gstversion.h:
13149 add files that visual studio can't generate
13151 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13154 add a win32-update target
13157 2005-10-12 Wim Taymans <wim@fluendo.com>
13159 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13160 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13161 * gst/gstelement.c: (gst_element_commit_state),
13162 (gst_element_set_state):
13163 Protect flags with proper lock.
13164 unref provided cached clock in dispose.
13166 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13169 * gst/gstminiobject.h:
13171 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13172 removed unused flags from miniobject
13175 2005-10-12 Wim Taymans <wim@fluendo.com>
13177 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13178 (gst_file_sink_event), (gst_file_sink_render):
13179 Flush before seeking.
13181 2005-10-12 Andy Wingo <wingo@pobox.com>
13183 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13184 always been the case.
13186 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13188 * check/gst/gstbin.c: (GST_START_TEST):
13189 * docs/gst/gstreamer-sections.txt:
13190 * gst/base/gstbasesink.c: (gst_base_sink_init):
13191 * gst/base/gstbasesrc.c: (gst_base_src_init),
13192 (gst_base_src_get_range), (gst_base_src_check_get_range),
13193 (gst_base_src_start), (gst_base_src_stop):
13194 * gst/base/gstbasesrc.h:
13195 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13196 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13197 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13201 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13203 * gst/gstelement.c: (gst_element_is_locked_state),
13204 (gst_element_set_locked_state), (gst_element_commit_state),
13205 (gst_element_set_state):
13206 * gst/gstelement.h:
13207 * gst/gstindex.c: (gst_index_init):
13209 * gst/gstminiobject.h:
13210 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13211 (gst_object_set_parent):
13213 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13214 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13216 * gst/gstpadtemplate.h:
13217 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13218 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13219 * gst/gstpipeline.h:
13220 * gst/indexers/gstfileindex.c: (gst_file_index_load),
13221 (gst_file_index_commit):
13222 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13223 * testsuite/pad/link.c: (gst_test_src_init),
13224 (gst_test_filter_init), (gst_test_sink_init):
13225 * testsuite/states/locked.c: (main):
13226 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13227 moved bitshift from macro to enum definition
13229 2005-10-12 Wim Taymans <wim@fluendo.com>
13231 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13232 * gst/elements/gstfilesink.c: (gst_file_sink_event),
13233 (gst_file_sink_render):
13234 Some more debugging info.
13236 2005-10-12 Wim Taymans <wim@fluendo.com>
13238 * docs/design/part-states.txt:
13239 * tools/gst-launch.c: (main):
13241 Revert non-intentional change.
13243 2005-10-12 Wim Taymans <wim@fluendo.com>
13245 * check/gst/gstbin.c: (GST_START_TEST):
13246 * check/gst/gstelement.c: (GST_START_TEST):
13247 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13248 * check/gst/gstghostpad.c: (GST_START_TEST):
13249 * check/gst/gstpipeline.c: (GST_START_TEST):
13250 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13251 * check/states/sinks.c: (GST_START_TEST):
13252 * gst/elements/gsttypefindelement.c: (stop_typefinding):
13253 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13254 (gst_bin_remove_func), (gst_bin_get_state_func),
13255 (gst_bin_recalc_state), (gst_bin_change_state_func),
13257 * gst/gstelement.c: (gst_element_get_state_func),
13258 (gst_element_get_state), (gst_element_abort_state),
13259 (gst_element_commit_state), (gst_element_set_state),
13260 (gst_element_change_state), (gst_element_change_state_func):
13261 * gst/gstelement.h:
13262 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13263 (gst_pipeline_provide_clock_func):
13264 * gst/gstutils.c: (gst_element_link_pads_filtered):
13265 * tools/gst-launch.c: (main):
13266 * tools/gst-typefind.c: (main):
13267 Use GstClockTime in _get_state() instead of GTimeVal.
13268 Remove old code in gstutils.c
13270 2005-10-12 Andy Wingo <wingo@pobox.com>
13272 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13275 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13276 there is no task. Shouldn't affect any code, as nothing in our
13277 plugins checks this return value.
13278 (gst_pad_stop_task): Also take the stream lock if the pad has no
13279 task. Docs updated.
13281 2005-10-12 Wim Taymans <wim@fluendo.com>
13283 * gst/gstpad.c: (pre_activate), (post_activate),
13284 (gst_pad_activate_pull), (gst_pad_activate_push):
13285 Cleanup activation code. Reset old state if
13288 2005-10-12 Wim Taymans <wim@fluendo.com>
13290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13291 (gst_base_sink_change_state):
13292 No need to prerol after receiving EOS.
13294 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13295 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13296 * gst/elements/gstidentity.c: (gst_identity_event):
13297 Print events more verbosely.
13299 2005-10-12 Wim Taymans <wim@fluendo.com>
13301 * check/Makefile.am:
13302 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13303 * check/states/sinks2.c:
13304 Moved sinks2 testcode in sinks check.
13306 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13307 (gst_bin_remove_func), (gst_bin_recalc_state),
13308 (gst_bin_change_state_func), (bin_bus_handler):
13309 Fix potential race condition when _get_state() iterated over an
13310 ASYNC element right before it posted a state completion.
13313 Do proper cast here.
13315 * gst/gstevent.c: (gst_event_new_newsegment),
13316 (gst_event_parse_newsegment):
13317 A playback rate of 0.0 is not allowed.
13319 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13321 * win32/common/config.h:
13322 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13323 (_trewinddir), (_ttelldir), (_tseekdir):
13324 * win32/common/dirent.h:
13325 * win32/common/gtchar.h:
13326 * win32/common/libgstbase.def:
13327 * win32/common/libgstreamer.def:
13328 * win32/vs6/grammar.dsp:
13329 * win32/vs6/gst_inspect.dsp:
13330 * win32/vs6/gst_launch.dsp:
13331 * win32/vs6/gstreamer.dsw:
13332 * win32/vs6/libgstbase.dsp:
13333 * win32/vs6/libgstelements.dsp:
13334 * win32/vs6/libgstreamer.dsp:
13335 Visual Studio 6 project files, and a new common directory.
13338 2005-10-11 Wim Taymans <wim@fluendo.com>
13340 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13341 (gst_base_sink_do_sync), (gst_base_sink_query),
13342 (gst_base_sink_change_state):
13343 * gst/base/gstbasesink.h:
13344 Correctly parse newsegment info.
13346 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13348 * gst/gst.c: (init_post):
13349 split plugin paths correctly
13351 2005-10-11 Wim Taymans <wim@fluendo.com>
13353 * check/gst/gstevent.c: (GST_START_TEST):
13354 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13355 (gst_base_sink_change_state):
13356 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13357 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13358 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13359 * gst/gstevent.c: (gst_event_new_newsegment),
13360 (gst_event_parse_newsegment):
13362 Added extra flag to newsegment for future API freeze.
13363 Updated check and base elements.
13365 2005-10-11 Julien MOUTTE <julien@moutte.net>
13367 * gst/base/gstcollectpads.c: (gst_collectpads_init),
13368 (gst_collectpads_add_pad), (gst_collectpads_pop),
13369 (gst_collectpads_event), (gst_collectpads_chain):
13370 * gst/base/gstcollectpads.h: Handle EOS correctly.
13372 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13374 * tools/gst-launch.c: (main):
13375 more null protecting
13377 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13379 * gst/gst-i18n-lib.h:
13380 check for ENABLE_NLS, not GETTEXT_PACKAGE
13381 * gst/gstregistry.c: (gst_registry_add_plugin),
13382 (gst_registry_scan_path_level),
13383 (_gst_registry_remove_cache_plugins):
13384 protect possibly NULL strings
13385 * gst/parse/types.h:
13386 config.h already included before
13387 * tools/gst-inspect.c: (main):
13388 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
13389 check for ENABLE_NLS, not GETTEXT_PACKAGE
13390 * tools/gst-launch.c: (main):
13391 check for ENABLE_NLS, not GETTEXT_PACKAGE
13393 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13396 if we don't have glib, fail before testing 2.8
13397 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
13398 fix a leak, should fix plugins-base testsuite
13400 2005-10-11 Andy Wingo <wingo@pobox.com>
13402 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
13403 take the mode we're going to as an arg. Go head and set the mode
13404 and flushing flags now, so that if the activate function starts a
13405 thread all the flags will be in the right state.
13406 (post_activate): Renamed also. Just handle making sure streaming
13407 finishes for the deactivation case, and setting the deactivated
13409 (gst_pad_set_active): Complain loudly if deactivation fails.
13410 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
13411 (gst_pad_activate_push): Adapt to pre/post_activate changes,
13412 remove the terrible hack.
13414 2005-10-11 Wim Taymans <wim@fluendo.com>
13416 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13417 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
13418 (gst_bin_recalc_state), (gst_bin_change_state_func),
13419 (gst_bin_dispose), (bin_bus_handler):
13421 Prepare to make current EOS message queue more generic.
13424 * gst/gstevent.c: (gst_event_new_newsegment),
13425 (gst_event_parse_newsegment):
13427 Rename base to stream_time.
13429 * gst/gstmessage.h:
13432 2005-10-11 Wim Taymans <wim@fluendo.com>
13434 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13435 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
13436 (gst_bin_change_state_func), (bin_bus_handler):
13438 Work on proper clock selection.
13440 2005-10-11 Edward Hervey <edward@fluendo.com>
13442 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
13443 * libs/gst/controller/gstcontroller.h:
13444 Added GList* version of _remove_properties() in order to be able to wrap
13447 2005-10-11 Wim Taymans <wim@fluendo.com>
13449 * docs/design/part-states.txt:
13452 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
13453 (gst_bin_change_state_func), (bin_bus_handler):
13454 Doc updates. Don't distribute the same clock over and over again.
13460 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
13461 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
13462 (gst_pad_send_event):
13464 Make probe emission threadsafe again.
13465 Register quarks and move _get_name() from utils.
13468 * gst/gstpipeline.c: (gst_pipeline_class_init),
13469 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
13470 Only redistribute the clock of it changed.
13472 * gst/gstsystemclock.h:
13477 Moved the _flow_get_name() to GstPad.
13479 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13481 * check/gst-libs/gdp.c: (GST_START_TEST):
13482 * check/gst/gstcaps.c: (GST_START_TEST):
13483 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
13484 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
13485 (gst_dp_packet_from_caps):
13486 fix more valgrind warnings before turning up the heat
13488 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13490 * gst/parse/grammar.y:
13491 some cleanup before the hacking
13493 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13495 * gst/base/gstbasesrc.c: (gst_base_src_query):
13497 * gst/gstutils.c: (gst_guint64_to_gdouble),
13498 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
13500 externalize, basesrc uses it
13501 obviously the implementation needs testing
13503 2005-10-10 Wim Taymans <wim@fluendo.com>
13505 * tests/sched/Makefile.am:
13506 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
13507 (make_pipeline3), (make_pipeline4), (print_elem), (main):
13509 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13511 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
13512 apparently converting from guint64 to double is not implemented
13515 2005-10-10 Wim Taymans <wim@fluendo.com>
13517 * check/Makefile.am:
13518 * check/generic/states.c: (GST_START_TEST):
13519 * check/gst/gstbin.c: (GST_START_TEST):
13520 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13521 * check/states/sinks.c: (GST_START_TEST):
13522 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
13524 Check fixes, use API as stated in design docs, remove hacks.
13526 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13527 (gst_base_sink_change_state):
13528 Catch stopping our task while we're shutting down.
13530 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
13531 (gst_bin_remove_func), (gst_bin_get_state_func),
13532 (gst_bin_recalc_state), (gst_bin_change_state_func),
13535 * gst/gstelement.c: (gst_element_init),
13536 (gst_element_get_state_func), (gst_element_abort_state),
13537 (gst_element_commit_state), (gst_element_lost_state),
13538 (gst_element_set_state), (gst_element_change_state),
13539 (gst_element_change_state_func):
13540 * gst/gstelement.h:
13541 New state change algorithm (see #318116)
13543 * gst/gstpipeline.c: (gst_pipeline_class_init),
13544 (gst_pipeline_init), (gst_pipeline_set_property),
13545 (gst_pipeline_get_property), (do_pipeline_seek),
13546 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
13547 * gst/gstpipeline.h:
13548 Remove crude state change hacks.
13551 Remove crude hacks.
13553 * tools/gst-launch.c: (main):
13554 Fixes for state change. Needs some more work to fully use the
13557 2005-10-10 Andy Wingo <wingo@pobox.com>
13559 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
13561 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
13562 this flag, but it's not even in GLib 2.6. Odd. Hack around the
13565 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
13567 * gst/gstiterator.c: (gst_iterator_new):
13568 Fix my previous commit: GTypes passed to gst_iterator_new()
13569 can be fundamental types.
13571 2005-10-10 Wim Taymans <wim@fluendo.com>
13573 * gst/gstelement.c: (gst_element_iterate_pad_list),
13574 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
13575 (gst_element_iterate_sink_pads):
13576 Use src/sink pads lists for the respective iterators instead
13579 2005-10-10 Andy Wingo <wingo@pobox.com>
13581 Merged in popt removal + GOption addition patch from Ronald, bug
13584 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
13585 GstElement macros around, remove popt-related symbols, add goption
13588 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
13590 * docs/gst/Makefile.am:
13591 * docs/libs/Makefile.am: No POPT_CFLAGS.
13593 * examples/manual/Makefile.am:
13594 * docs/manual/basics-init.xml: Doc updates with an example.
13596 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13597 (gst_init), (parse_one_option), (parse_goption_arg):
13598 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
13599 bit of hand merging and debugging to get the GOption stuff working
13602 * tests/Makefile.am:
13603 * tools/Makefile.am:
13604 * tools/gst-inspect.c: (main):
13605 * tools/gst-launch.c: (main):
13606 * tools/gst-run.c: (main):
13607 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
13609 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
13611 * gst/gstiterator.c: (gst_iterator_new):
13612 Add assertions to make sure passed GType is likely to really
13613 be a GType (as the compiler won't catch it if the size and
13614 GType arguments get mixed up, see #318447).
13616 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
13618 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13620 * gst/gstbin.c: (gst_bin_iterate_sorted):
13621 Pass GType and size arguments to gst_iterator_new() in the right
13622 order (maybe we should make _new() take the GType as first argument
13623 just like _new_list()?) (#318447).
13626 2005-10-10 Wim Taymans <wim@fluendo.com>
13628 * gst/gstelement.c: (gst_element_finalize):
13629 And free the GStaticRecMutex too
13631 2005-10-10 Andy Wingo <wingo@pobox.com>
13633 * gst/gstelement.c (gst_element_init, gst_element_finalize):
13634 Allocate and free the mutex properly.
13636 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
13638 (GstElement): The state_lock is now recursive. Rebuild your
13639 plugins, suckers. Old macros adapted.
13641 * docs/gst/gstreamer-sections.txt: Doc updates.
13644 * gst/gstutils.c (g_static_rec_cond_timed_wait)
13645 (g_static_rec_cond_wait): Ported from state changes patch, while
13646 we wait on bug #317802 to be solved in a well-distributed GLib.
13648 * gst/gstelement.c (gst_element_change_state_func): Renamed from
13649 gst_element_change_state, variable name changes.
13650 (gst_element_change_state): Split out of gst_element_set_state in
13651 preparation for the state change merge. Doesn't pay attention to
13652 the 'transition' argument.
13653 (gst_element_set_state): Updates, hopefully purely cosmetic.
13654 (gst_element_sync_state_with_parent): MT-safety. Ported from the
13655 state change patch.
13656 (gst_element_get_state_func): Renamed from get_state, cosmetic
13659 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13661 * gst/elements/gstelements.c:
13662 * win32/GStreamer.vcproj:
13664 * win32/dirent.c: (_tseekdir):
13665 * win32/gst-inspect.vcproj:
13666 * win32/gst-launch.vcproj:
13667 * win32/gstconfig.h:
13668 * win32/gstelements.vcproj:
13669 * win32/gstenumtypes.c: (gst_object_flags_get_type):
13670 * win32/gstreamer.def:
13671 * win32/msvc71.sln:
13672 updates for the win32 build (patch from Sebastien Moutte)
13674 2005-10-10 Andy Wingo <wingo@pobox.com>
13676 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
13677 gst_bin_get_state, cleaned up (but no logic changes).
13678 (bin_element_is_sink): Comment updates.
13679 (sink_iterator_filter): Remove needless cast.
13680 (gst_bin_iterate_sinks): Doc update.
13681 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
13682 cleaned up (but no logic changes).
13684 * check/states/sinks.c (test_src_sink): Cleanups from the state
13686 (test_livesrc_sink): Sync on the state.
13688 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
13689 the state change patch.
13691 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
13694 * check/gst/gstbin.c: Merge in some style fixes and additional
13695 checks from Wim's state change patch.
13697 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
13699 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13700 (gst_type_find_helper):
13701 Check whether we have the requested data already in our list of
13702 cached buffers before pulling a new buffer; also make the buffer
13703 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
13705 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13710 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
13711 don't use long long, it's not portable. Replacing with
13712 gint64 seems to work; let's hope no skeletons fall out of the closet.
13714 2005-10-10 Andy Wingo <wingo@pobox.com>
13716 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
13718 2005-10-09 Stefan Kost <ensonic@users.sf.net>
13720 * docs/gst/gstreamer-sections.txt:
13725 * gst/gstmessage.c: (gst_message_parse_state_changed):
13728 more docs, fix compilation
13730 2005-10-09 Philippe Khalaf <burger@speedy.org>
13731 * gst/gstmessage.c:
13732 Fixed a few forgotten variables on previous commit
13734 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
13736 * gst/base/gsttypefindhelper.c: (helper_find_peek):
13737 Fix evil typefind crasher: getrange() might return a short
13738 buffer at the end of a file, but gst_type_find_peek() must
13739 either return the full data as requested or NULL, but
13740 never a short buffer.
13742 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
13744 * gst/gstmessage.c: (gst_message_new_state_changed),
13745 (gst_message_parse_state_changed):
13746 * gst/gstmessage.h:
13747 don't use "new", it's a C++ keyword
13749 2005-10-08 Wim Taymans <wim@fluendo.com>
13751 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
13752 * gst/gstelement.c: (gst_element_post_message):
13753 * gst/gstpipeline.c: (gst_pipeline_change_state):
13754 Small docs and debug updates.
13756 2005-10-08 Stefan Kost <ensonic@users.sf.net>
13758 * docs/gst/gstreamer-sections.txt:
13759 * gst/gstelementfactory.c:
13761 * gst/gsttaglist.c:
13764 2005-10-08 Wim Taymans <wim@fluendo.com>
13766 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
13767 (gst_bin_dispose), (bin_bus_handler):
13768 Fix typos, add comments.
13769 Clear EOS list when going to PAUSED from any direction and do it
13770 in a threadsafe way.
13771 Get base time in a threadsafe way too.
13772 Fix confusing debug in the change_state function.
13773 Various other small cleanups.
13775 * gst/gstelement.c: (gst_element_post_message):
13776 Fix very verbose bus posting code.
13778 * gst/gstpipeline.c: (gst_pipeline_class_init),
13779 (gst_pipeline_set_property), (gst_pipeline_get_property),
13780 (gst_pipeline_change_state):
13781 Small ARG_ -> PROP_ cleanup
13783 2005-10-08 Wim Taymans <wim@fluendo.com>
13785 * gst/gstbin.c: (is_eos), (bin_bus_handler):
13786 Do a less CPU demanding EOS check because we can.
13788 2005-10-08 Wim Taymans <wim@fluendo.com>
13790 * libs/gst/dataprotocol/dataprotocol.c:
13791 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13792 (gst_dp_packet_from_event):
13793 * libs/gst/dataprotocol/dataprotocol.h:
13794 * libs/gst/dataprotocol/dp-private.h:
13795 It's about time we bump the version number.
13796 Since event types don't fit in the guint8 anymore describing
13797 the payload type, make payload type 16 bits wide.
13799 2005-10-08 Wim Taymans <wim@fluendo.com>
13801 * docs/design/part-TODO.txt:
13802 * docs/design/part-clocks.txt:
13803 * docs/design/part-events.txt:
13804 * docs/design/part-gstbin.txt:
13805 * docs/design/part-gstelement.txt:
13806 * docs/design/part-gstpipeline.txt:
13807 * docs/design/part-live-source.txt:
13808 * docs/design/part-messages.txt:
13809 * docs/design/part-overview.txt:
13810 * docs/design/part-states.txt:
13813 2005-10-08 Wim Taymans <wim@fluendo.com>
13817 Fix event quark registration.
13818 Add some space between events so we can insert them in the
13821 2005-10-08 Wim Taymans <wim@fluendo.com>
13823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13824 (gst_base_sink_handle_buffer):
13825 Better log message.
13828 * gst/gstelement.h:
13831 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13832 (gst_queue_set_property), (gst_queue_get_property):
13834 Remove old unused properties.
13836 2005-10-08 Stefan Kost <ensonic@users.sf.net>
13837 * docs/gst/gstreamer-sections.txt:
13838 * gst/gstmessage.c:
13839 * gst/gstmessage.h:
13840 * gst/gstminiobject.c:
13841 * gst/gstminiobject.h:
13845 lots of new docs and doc fixes
13847 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
13849 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
13851 * gst/gstregistry.c: (gst_registry_lookup_locked),
13852 (gst_registry_scan_path_level):
13853 * gst/gstregistryxml.c: (load_plugin):
13854 Only ever load one plugin for a given plugin basename.
13855 This ensures correct overriding of GST_PLUGIN_PATH over
13856 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
13857 system installed plugins.
13859 2005-10-08 Wim Taymans <wim@fluendo.com>
13861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13862 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
13863 Prepare for doing QOS.
13865 2005-10-08 Wim Taymans <wim@fluendo.com>
13867 * check/gst/gstbin.c: (GST_START_TEST):
13868 * check/pipelines/cleanup.c: (GST_START_TEST):
13869 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13870 Allow new clock message too.
13872 2005-10-08 Wim Taymans <wim@fluendo.com>
13874 * gst/gstmessage.c: (gst_message_new_error),
13875 (gst_message_new_warning), (gst_message_new_tag),
13876 (gst_message_new_state_changed), (gst_message_new_clock_provide),
13877 (gst_message_new_clock_lost), (gst_message_new_new_clock),
13878 (gst_message_new_segment_start), (gst_message_new_segment_done),
13879 (gst_message_parse_state_changed),
13880 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
13881 (gst_message_parse_new_clock):
13882 * gst/gstmessage.h:
13883 Also carry the clock in question.
13885 2005-10-08 Wim Taymans <wim@fluendo.com>
13887 * gst/gstmessage.c: (gst_message_new_custom),
13888 (gst_message_new_eos), (gst_message_new_error),
13889 (gst_message_new_warning), (gst_message_new_tag),
13890 (gst_message_new_state_changed), (gst_message_new_clock_provide),
13891 (gst_message_new_new_clock), (gst_message_new_segment_start),
13892 (gst_message_new_segment_done), (gst_message_parse_state_changed),
13893 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
13894 * gst/gstmessage.h:
13896 Added clock related messages.
13898 * gst/gstpipeline.c: (gst_pipeline_change_state):
13899 Post message when the clock changed.
13901 * tools/gst-launch.c: (event_loop):
13904 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
13906 * tools/gst-inspect.c: (print_element_properties_info):
13907 Can't pass NULL strings to g_print() on windows.
13909 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
13911 * docs/Makefile.am:
13912 * docs/gst/Makefile.am:
13913 * docs/gst/gstreamer-docs.sgml:
13914 * docs/gst/running.xml:
13915 * docs/version.entities.in:
13916 add a chapter on running GStreamer.
13917 document GST_DEBUG and GST_PLUGIN* env vars
13919 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
13924 remove PLUGINS_BUILDDIR stuff
13925 * gst/gst.c: (init_post):
13926 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
13928 remove, it was condescending and not needed
13930 2005-10-08 Wim Taymans <wim@fluendo.com>
13932 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
13933 (gst_base_sink_handle_object), (gst_base_sink_event),
13934 (gst_base_sink_wait), (gst_base_sink_handle_event),
13935 (gst_base_sink_change_state):
13936 * gst/base/gstbasesink.h:
13937 Repost EOS message while going to PLAYING if still EOS.
13938 Make sure that when receiving a FLUSH_START we don't attempt
13939 to sync on the clock anymore.
13941 2005-10-08 Wim Taymans <wim@fluendo.com>
13943 * tools/gst-launch.c: (event_loop):
13944 Better message printout.
13946 2005-10-08 Wim Taymans <wim@fluendo.com>
13948 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
13949 (gst_bin_child_proxy_get_children_count):
13950 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
13951 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
13952 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
13953 (gst_child_proxy_set_valist):
13954 * gst/parse/grammar.y:
13955 Make ChildProxy threadsafe and fix mem leaks.
13957 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
13959 * gst/gst.c: (init_post):
13960 debug the GST_PLUGIN_ env vars
13962 2005-10-08 Wim Taymans <wim@fluendo.com>
13964 * check/gst/gstbin.c: (GST_START_TEST):
13965 * check/gst/gstmessage.c: (GST_START_TEST):
13966 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13967 * gst/gstelement.c: (gst_element_commit_state),
13968 (gst_element_lost_state):
13969 * gst/gstmessage.c: (gst_message_new_state_changed),
13970 (gst_message_parse_state_changed):
13971 * gst/gstmessage.h:
13972 * tools/gst-launch.c: (event_loop):
13973 Added extra field to STATE_CHANGE message with the pending
13974 state, which will be different from the new state soon.
13976 2005-10-08 Wim Taymans <wim@fluendo.com>
13978 * gst/gstbus.c: (gst_bus_pop):
13980 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13981 Small cleanups and doc updates.
13983 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
13985 * gst/gst.c: (init_pre):
13986 * gst/gstbin.c: (gst_bin_add_func):
13987 log distributing clocks and base time
13988 * gst/gstregistry.c: (gst_registry_add_plugin),
13989 (gst_registry_scan_path_level), (gst_registry_scan_path):
13990 clean up the debugging output a little
13991 * gst/gstutils.c: (gst_element_state_get_name):
13992 warn about a memleak (I've actually seen this be used, though
13993 it was probably a bug)
13995 2005-10-07 Wim Taymans <wim@fluendo.com>
13997 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13998 (gst_base_src_init), (gst_base_src_default_newsegment),
13999 (gst_base_src_newsegment), (gst_base_src_do_seek),
14000 (gst_base_src_loop), (gst_base_src_start):
14001 * gst/base/gstbasesrc.h:
14002 Make the newsegment event customizable by subclasses.
14004 2005-10-07 Wim Taymans <wim@fluendo.com>
14006 * gst/gstevent.c: (gst_event_new_buffersize),
14007 (gst_event_parse_buffersize):
14009 New event for future idea.
14011 2005-10-07 Andy Wingo <wingo@pobox.com>
14013 * gst/gstelement.c (gst_element_post_message): Doc update.
14015 * docs/gst/gstreamer-sections.txt: Update.
14017 * gst/gstmessage.c (gst_message_new_application): Made into a
14018 function like honest API calls.
14019 (gst_message_new_element): New message type.
14021 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14023 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14024 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14027 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14028 NO_PREROLL from gst_element_change_state to fall through.
14030 2005-10-07 Wim Taymans <wim@fluendo.com>
14032 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14033 (gst_ghost_pad_do_activate_push):
14034 Activating a ghostpad with no internal pad in push mode
14037 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14040 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14041 Fixes compilation on Windows.
14043 2005-10-07 Michael Smith <msmith@fluendo.com>
14045 * tools/gst-inspect.c:
14046 Print out feature and plugin count at the end when printing out
14049 2005-10-04 Michael Smith <msmith@fluendo.com>
14051 * gst/gsterror.c: (_gst_stream_errors_init):
14052 Add another error string used in a few existing plugins.
14055 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14056 * tools/gst-inspect.c: (print_element_info):
14057 When a feature disappears from a plugin (and the feature exists in
14058 the cached registry file), things went horribly wrong. This isn't a
14059 complete fix, we should actually be removing the 'missing' features
14060 from the features list when we load the actual plugin. That's not
14063 2005-10-04 Johan Dahlin <johan@gnome.org>
14065 * check/gst/gstiterator.c: (GST_START_TEST):
14066 * gst/gstbin.c: (gst_bin_iterate_elements),
14067 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14068 * gst/gstelement.c: (gst_element_iterate_pads):
14069 * gst/gstformat.c: (gst_format_iterate_definitions):
14070 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14071 (gst_iterator_new_list), (gst_iterator_filter):
14072 * gst/gstiterator.h:
14073 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14074 Add a GType to GstIterator, update callsites and tests.
14076 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14078 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14079 give events a chance to be handled by event probes when the pad
14082 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14084 * gst/gstevent.c: (gst_event_type_get_name),
14085 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14087 add string representations for event types
14089 2005-10-06 Wim Taymans <wim@fluendo.com>
14091 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14092 Don't use NULL pointers.
14094 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14096 * gst/gst_private.h:
14098 * gst/gstelement.c:
14100 * gst/gstpluginfeature.c:
14101 widen the debug category in output to fit the biggest one we have
14102 add a bus category and use it
14103 play with the colors
14104 fix up some categories
14106 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14108 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14109 add push activation of sink ghost pads.
14110 Andye, please verify
14112 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14114 * gst/gstutils.c: (gst_element_link_pads):
14115 fix a bug in the case where neither element has a pad
14116 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14117 add a test for that case
14119 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14121 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14122 emit have-data before checking for peers. This allows
14123 for probe handlers to connect elements. This helps autopluggers.
14124 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14126 add six checks, linked/unlinked with no/true/false probe
14128 2005-10-04 Wim Taymans <wim@fluendo.com>
14130 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14131 (gst_fake_sink_event), (gst_fake_sink_preroll),
14132 (gst_fake_sink_render), (gst_fake_sink_change_state):
14133 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14134 (gst_fake_src_get_property), (gst_fake_src_create),
14135 (gst_fake_src_stop):
14136 * gst/elements/gstidentity.c: (gst_identity_stop):
14137 Protect last_message with lock.
14139 2005-10-04 Edward Hervey <edward@fluendo.com>
14142 Added precision in the comments for GST_FORMAT_DEFAULT
14144 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14146 * tools/gst-launch.c: (main):
14147 Don't try to run erroneous pipelines.
14149 2005-10-04 Julien MOUTTE <julien@moutte.net>
14151 * gst/gstbus.c: We don't need this header.
14153 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14156 back to development
14158 === release 0.9.3 ===
14160 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14164 Releasing 0.9.3, "Unregistered"
14166 2005-10-03 Andy Wingo <wingo@pobox.com>
14168 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14169 whereby calling a pad's activatepush() function can start a thread
14170 that starts to push or pull before the pad gets the FLUSHING flag
14171 unset. Hack around it by holding the stream lock until the flag is
14172 set. Need to replace this with a proper solution. Together with
14173 the ghost pad fixes, this fixes mp3 playing/tagreading.
14175 * docs/design/part-gstghostpad.txt: Add a note about activation of
14176 proxy pads outside of ghost pads.
14178 * gst/gstghostpad.c: Implement the ghost pad activation design.
14180 2005-10-02 Andy Wingo <wingo@pobox.com>
14182 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14183 It is volatile, after all.
14185 * docs/design/part-gstghostpad.txt: Flesh out activation with
14188 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14191 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14194 Fix (unused) AM_CONDITIONAL tests.
14196 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14198 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14200 * gst/gstutils.c: (gst_pad_query_convert):
14201 Add assertion that makes sure src_val is >=0, just like
14202 gst_query_new_convert() has. (#315895)
14204 2005-09-30 Edward Hervey <edward@fluendo.com>
14206 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14207 Let's not iterate pads we're not interested in, it avoids getting
14208 sky-high refcounts on sinkpad.
14210 2005-09-30 Wim Taymans <wim@fluendo.com>
14212 * gst/gstelement.c: (gst_element_set_state),
14213 (gst_element_change_state):
14214 Small tweak, element in ASYNC remains ASYNC.
14216 2005-09-30 Wim Taymans <wim@fluendo.com>
14218 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14219 Only error is an error.
14221 * gst/gstbin.c: (gst_bin_change_state):
14224 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14225 Also call pad_block in pad alloc.
14227 * gst/gstutils.c: (gst_flow_get_name):
14230 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14232 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14233 (gst_base_src_get_range):
14234 Fix documentation typos. Add some more debug info.
14236 2005-09-29 David Schleef <ds@schleef.org>
14238 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14239 more end-user friendly.
14240 * tools/gst-inspect.c: (main): Check if command-line argument is
14241 a file and attempt to load that file as a plugin.
14243 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14245 * check/gst/gstbin.c:
14246 * check/states/sinks.c:
14247 fix tests for the new warning
14248 * check/gst/gstpipeline.c:
14249 add a test for pipeline and bus interaction
14250 * gst/gstelement.c:
14251 elements should be NULL if they get disposed; add a warning if not
14253 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14256 for 2.6 refcounting, make debug log more correct by printing
14257 the actual refcounts at the time of swap (Wim)
14259 2005-09-29 Andy Wingo <wingo@pobox.com>
14261 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14262 removes signal watches previously added via
14263 gst_bus_add_signal_watch.
14264 (gst_bus_add_signal_watch): Don't return the source id, just store
14265 it on the bus if there wasn't an id already.
14267 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14268 add_signal_watch and remove_signal_watch.
14270 2005-09-29 Edward Hervey <edward@fluendo.com>
14272 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
14273 Better if we actually iterate the list :)
14275 2005-09-29 Wim Taymans <wim@fluendo.com>
14277 * check/gst/gstbin.c: (GST_START_TEST):
14278 Change for new bus API.
14280 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14281 (send_messages), (GST_START_TEST), (gstbus_suite):
14282 Change for new bus signal API.
14284 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14285 (gst_bus_source_prepare), (gst_bus_source_check),
14286 (gst_bus_create_watch), (gst_bus_add_watch_full),
14287 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14288 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14290 Remove support for multiple GSources operating on different
14291 message types as it is too complex and unneeded when using
14293 Added support for receiving signals from the bus.
14295 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14297 * docs/libs/tmpl/gstdataprotocol.sgml:
14298 * docs/manual/advanced-dataaccess.xml:
14299 * gst/elements/gstcapsfilter.c:
14301 rename filter-caps to caps property
14303 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14305 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14306 More robust fraction string parsing.
14308 * docs/pwg/appendix-porting.xml:
14309 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14311 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14313 * gst/gstcaps.c: (gst_caps_do_simplify):
14314 Thou shalt not free a structure and then continue using it
14315 in the next loop iteration.
14317 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14319 Add test case for caps simplification.
14321 2005-09-29 Wim Taymans <wim@fluendo.com>
14323 * check/gst/gstbin.c: (GST_START_TEST):
14326 2005-09-29 Wim Taymans <wim@fluendo.com>
14328 * check/gst/gstbin.c: (GST_START_TEST):
14331 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14332 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14333 (find_element), (gst_bin_sort_iterator_next),
14334 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14335 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14336 (gst_bin_change_state), (gst_bin_dispose):
14337 A bin does not have a bus, it gets the bus from the parent.
14339 * gst/gstelement.c: (gst_element_requires_clock),
14340 (gst_element_provides_clock), (gst_element_is_indexable),
14341 (gst_element_is_locked_state), (gst_element_change_state),
14342 (gst_element_set_bus_func):
14345 * gst/gstpipeline.c: (gst_pipeline_class_init),
14346 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14347 The pipeline provides a bus.
14349 2005-09-28 Johan Dahlin <johan@gnome.org>
14351 * gst/gstmessage.c (gst_message_parse_state_changed): Use
14352 gst_structure_get_enum instead of gst_structure_get_int
14354 * gst/gststructure.c (gst_structure_get_enum): Impl.
14356 * gst/gststructure.h (gst_structure_get_enum): Add
14358 * docs/gst/gstreamer-sections.txt: Ditto
14360 * gst/gstmessage.c (gst_message_new_state_changed): Use
14361 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14362 which does introspection.
14363 Reviewed by Christian Schaller
14365 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14367 * gst/gstinfo.c: (gst_debug_log_default):
14368 don't do dummy g_strdup()s
14369 * libs/gst/controller/gstcontroller.c:
14370 (on_object_controlled_property_changed),
14371 (gst_controlled_property_new), (gst_controller_new_valist),
14372 (gst_controller_new_list),
14373 (gst_controller_remove_properties_valist), (gst_controller_set),
14374 (gst_controller_get), (gst_controller_sync_values),
14375 (gst_controller_get_value_array), (_gst_controller_class_init),
14376 (gst_controller_get_type):
14377 * libs/gst/controller/gstcontroller.h:
14378 * libs/gst/controller/gstinterpolation.c:
14379 (gst_controlled_property_find_timed_value_node):
14380 convert // to /**/ comments
14382 2005-09-28 Wim Taymans <wim@fluendo.com>
14384 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
14385 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
14386 (gst_bus_sync_signal_handler):
14388 Added async-message and sync-message signals to the bus.
14389 Added helper BusFunc to emit signals for all posted messages.
14391 * gst/gstmessage.c: (gst_message_type_get_name),
14392 (gst_message_type_to_quark), (gst_message_get_type):
14393 * gst/gstmessage.h:
14394 Register quarks for message names.
14396 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14398 * docs/libs/gstreamer-libs-sections.txt:
14399 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
14400 (gst_controller_new_list):
14401 * libs/gst/controller/gstcontroller.h:
14402 added another constructor for language bindings
14404 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
14406 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14410 * gst/gstinfo.c: (_gst_debug_init):
14411 slightly more readable color for refcount debugging
14413 2005-09-28 Wim Taymans <wim@fluendo.com>
14415 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14416 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14417 (find_element), (gst_bin_sort_iterator_next),
14418 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14419 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14420 (gst_bin_change_state), (gst_bin_dispose):
14421 Small doc fixes. get_clock -> provide_clock.
14423 * gst/gstelement.c: (gst_element_class_init),
14424 (gst_element_provides_clock), (gst_element_provide_clock),
14425 (gst_element_get_clock), (gst_element_commit_state),
14426 (gst_element_lost_state):
14427 * gst/gstelement.h:
14428 Make get/set_clock() symetric. Add provide_clock vmethod since
14429 that is actually what this function does.
14431 * gst/gstpipeline.c: (gst_pipeline_class_init),
14432 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
14433 (gst_pipeline_get_clock):
14434 get_clock -> provide_clock.
14436 2005-09-28 Andy Wingo <wingo@pobox.com>
14438 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
14439 lieu of real docs...
14441 * gst/elements/gstfdsrc.c: Cleaned up a bit.
14443 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
14445 * gst/elements/gstcapsfilter.c:
14446 * gst/elements/gstfakesink.c:
14447 * gst/elements/gstfakesrc.c:
14448 * gst/elements/gstfdsink.c:
14449 * gst/elements/gstfdsrc.c:
14450 * gst/elements/gstfilesink.c:
14451 * gst/elements/gstfilesrc.c:
14452 * gst/elements/gstidentity.c:
14453 * gst/elements/gsttee.c:
14454 * gst/elements/gsttypefindelement.c:
14455 Make element details static.
14457 2005-09-28 Wim Taymans <wim@fluendo.com>
14459 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14460 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14461 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14462 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14463 (gst_bin_change_state), (gst_bin_dispose):
14464 Some documentation updates.
14465 Clean up dispose handlers.
14467 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
14468 * gst/gstpad.c: (gst_pad_dispose):
14469 Clean up dispose handler.
14471 * gst/gstpipeline.c: (gst_pipeline_change_state):
14472 Removed spurious UNLOCK.
14474 2005-09-27 Stefan Kost <ensonic@users.sf.net>
14476 * docs/gst/gstreamer-sections.txt:
14477 * gst/base/gstbasesrc.h:
14478 * gst/gstelement.h:
14482 * gst/gstpipeline.c:
14483 * gst/gstpipeline.h:
14486 added two new functions to the docs
14487 documents all undocumented GstXXXFlags
14488 completed some incomplete docs
14490 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
14492 * gst/gstbin.c: (gst_bin_dispose):
14493 * gst/gstelement.c: (gst_element_dispose):
14494 remove now useless and leaky resurrection code in dispose
14495 * gst/base/gstbasesrc.c: (gst_base_src_init):
14496 * gst/gstelementfactory.c: (gst_element_factory_create):
14497 * gst/gstobject.c: (gst_object_set_parent):
14500 2005-09-27 Wim Taymans <wim@fluendo.com>
14502 * docs/design/part-TODO.txt:
14505 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14506 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14507 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14508 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14509 (gst_bin_change_state):
14510 * gst/gstelement.h:
14511 Remove element variable, we keep element info in the iterator now.
14513 2005-09-27 Andy Wingo <wingo@pobox.com>
14515 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
14518 2005-09-27 Wim Taymans <wim@fluendo.com>
14520 * check/gst/gstbin.c: (GST_START_TEST):
14521 Enable check that works now.
14523 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14524 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14525 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14526 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14527 (gst_bin_change_state):
14529 Redid the state change algorithm using a topological sort algo.
14530 Handles all cases correctly.
14531 Exposed iterator for state change order.
14533 * gst/gstelement.h:
14534 Temp storage for state changes. Need to get rid of this soon.
14536 2005-09-27 Wim Taymans <wim@fluendo.com>
14538 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
14539 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
14540 (link_fold_func), (gst_pad_proxy_setcaps):
14541 Leak fixes, the fold functions need to unref the passed object and
14542 _get_parent_*() returns ref to parent.
14544 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
14546 * check/gst/gstbuffer.c: (test_make_writable):
14547 Plug leak in test case and fix 'make check-valgrind'
14549 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
14551 * gst/gstbuffer.c: (gst_subbuffer_init):
14552 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
14553 works correctly in all circumstances (we could have just copied
14554 the parent buffer's readonly flag, but conceptually it seems
14555 cleaner to mark all subbuffers as read-only). (based on patch
14556 by Alessandro Decina, #314710).
14558 * check/gst/gstbuffer.c: (create_read_only_buffer),
14559 (test_make_writable), (test_subbuffer_make_writable),
14561 Add some tests for gst_buffer_make_writable().
14563 2005-09-27 Wim Taymans <wim@fluendo.com>
14565 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
14566 use gst_object_has_ancestor().
14568 * gst/gstobject.c: (gst_object_has_ancestor):
14570 gst_object_has_ancestor() copied from gstbin.c as it is a
14573 * tests/instantiate/create.c: (create_all_elements):
14574 * tests/lat.c: (handoff_src), (handoff_sink):
14575 * tests/sched/runxml.c: (main):
14576 * tests/seeking/seeking1.c: (main):
14577 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
14579 Fix compilation of some tests.
14581 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
14584 Remove comment. GST_TYPE_G_ERROR is here to stay,
14585 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
14586 (#316961, #300610).
14588 2005-09-26 Wim Taymans <wim@fluendo.com>
14590 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14591 Added check that shows error in state change order.
14593 2005-09-26 Wim Taymans <wim@fluendo.com>
14595 * gst/gstbin.c: (gst_bin_change_state):
14596 Make state change function use 3 queues again, we were
14597 adding elements in the wrong order.
14599 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
14602 * gst/gstpad.c: (gst_pad_dispose):
14603 Added some debug info first.
14605 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
14607 * docs/design/draft-push-pull.txt:
14608 * docs/design/part-events.txt:
14609 * docs/design/part-overview.txt:
14610 * docs/design/part-scheduling.txt:
14611 Replace all _pull_region() with _pull_range()
14613 2005-09-26 Andy Wingo <wingo@pobox.com>
14615 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
14617 * check/gst-libs/controller.c: Update for controller api change.
14620 * tests/Makefile.am:
14621 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
14622 over by GLib bug 118439.
14624 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
14625 routines to a function.
14627 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
14629 * libs/gst/controller/gsthelper.c:
14630 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
14631 (gst_object_sync_values): Renamed from sink_values. Ugh.
14633 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
14635 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
14636 Renamed from controller_key, as it is exported.
14638 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
14640 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
14645 * gst/gstpadtemplate.h:
14648 * gst/gstqueryutils.c:
14649 * gst/gstqueryutils.h:
14650 remove queryutils headers after moving the two used functions
14651 to gstquery. also fixes build problem for gstsiddec
14653 2005-09-26 Michael Smith <msmith@fluendo.com>
14655 * tools/gst-launch.1.in:
14656 Correct documentation in manpage of debug syntax
14658 2005-09-26 Wim Taymans <wim@fluendo.com>
14660 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14661 (gst_base_src_is_seekable), (gst_base_src_change_state):
14662 Some more debugging info.
14664 2005-09-25 Stefan Kost <ensonic@users.sf.net>
14666 * docs/gst/gstreamer-sections.txt:
14667 * gst/base/gstbasetransform.h:
14671 2005-09-25 Stefan Kost <ensonic@users.sf.net>
14673 * docs/gst/.cvsignore:
14674 * docs/gst/tmpl/.cvsignore:
14675 * docs/gst/tmpl/gstpipeline.sgml:
14676 * docs/gst/tmpl/gstplugin.sgml:
14677 * gst/gstpipeline.c:
14680 inlined the last two docs files
14681 removed the tmpl directory from cvs (no more conflicts here!)
14683 2005-09-25 Stefan Kost <ensonic@users.sf.net>
14685 * docs/gst/gstreamer-sections.txt:
14686 * docs/gst/tmpl/.cvsignore:
14687 * docs/gst/tmpl/gstpad.sgml:
14688 * docs/gst/tmpl/gstpadtemplate.sgml:
14690 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
14691 (gst_pad_finalize), (gst_pad_set_pad_template):
14693 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14694 (gst_pad_template_class_init), (gst_pad_template_init),
14695 (gst_pad_template_dispose), (name_is_valid),
14696 (gst_static_pad_template_get), (gst_pad_template_new),
14697 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
14698 (gst_pad_template_pad_created):
14699 * gst/gstpadtemplate.h:
14700 inlined two more docs
14701 factored gstpadtemplate out of gstpad
14703 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
14705 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
14706 (test_children_state_change_order_semi_sink):
14707 Fix test case: we can't rely on a fixed state change order when
14708 going from READY => PAUSED because the sink might commit its
14709 new state first when the first buffer created by the source
14710 reaches the sink before the source has finished its change state.
14711 (Test case still fails at times, see #316856, comment 5 onwards)
14713 2005-09-24 Wim Taymans <wim@fluendo.com>
14715 * docs/design/part-events.txt:
14716 * docs/design/part-gstbus.txt:
14717 * docs/design/part-gstpipeline.txt:
14718 * docs/design/part-messages.txt:
14719 * docs/design/part-overview.txt:
14720 * docs/design/part-segments.txt:
14724 * gst/gstelement.c:
14727 * gst/gstiterator.c:
14728 Various documentation updates.
14730 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
14733 Well, that's embarassing. Luckily we weren't using
14734 GST_CLOCK_DIFF anywhere.
14736 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
14738 * common/gtk-doc.mak:
14739 don't fail on building XML, FC4 slave shows a bunch of doc
14740 missing bits that I don't get
14742 * gst/gstpipeline.c:
14743 * gst/gststructure.c:
14746 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
14748 * docs/design/part-gstbin.txt:
14749 * docs/design/part-gstbus.txt:
14751 Add blurb about how the bus goes into flushing mode and
14752 drops all messages when its bin goes from READY into NULL
14755 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
14757 * docs/gst/gstreamer-sections.txt:
14758 * gst/gststructure.c: (gst_structure_get_clock_time):
14759 * gst/gststructure.h:
14760 add a method to get a GstClockTime out of a structure
14762 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
14764 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
14765 (test_children_state_change_order_semi_sink), (gst_bin_suite):
14766 Added test to check state change order in bins (can still be made
14767 to fail here under heavy disk load; bails out with 'Push on pad
14768 fakesink:sink0, but it was not activated in push mode').
14770 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
14771 Fix state change order when there is only a semi sink (#316856)
14773 * gst/gstbus.c: (gst_bus_class_init):
14774 Use _class_peek_parent(), not _class_ref(); fix docs to say
14775 'default main context' instead of 'mainloop' where that is
14778 * gst/gstelement.c: (gst_element_commit_state),
14779 (gst_element_set_state):
14780 Fix typos in debug messages
14782 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
14785 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
14786 * gst/gstpluginfeature.c:
14788 various doc updates
14789 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14790 change an assert into an error until it gets fixed properly
14792 2005-09-23 Stefan Kost <ensonic@users.sf.net>
14794 * docs/gst/gstreamer-sections.txt:
14795 * docs/gst/tmpl/.cvsignore:
14796 * docs/gst/tmpl/gstelement.sgml:
14797 * docs/gst/tmpl/gstinfo.sgml:
14798 * docs/gst/tmpl/gstobject.sgml:
14799 * gst/gstelement.c:
14800 * gst/gstelement.h:
14803 * gst/gstobject.c: (gst_object_class_init):
14805 inlined 3 more biiiig doc files and added some missing docs on the fly
14807 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
14809 * check/gst/.cvsignore:
14810 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
14811 * gst/gstregistryxml.c: (load_plugin),
14812 (gst_registry_xml_save_plugin):
14813 put back source in registry. add checks for find_plugin.
14814 * testsuite/states/bin.c: (assert_state), (empty_bin),
14815 (test_adding_one_element), (main):
14816 * testsuite/states/locked.c: (main):
14817 some compile/run fixes
14819 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
14821 * check/gst/gstvalue.c: (GST_START_TEST):
14822 fix leaks in the test itself
14824 2005-09-22 Wim Taymans <wim@fluendo.com>
14826 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14827 (gst_base_sink_send_event), (gst_base_sink_peer_query),
14828 (gst_base_sink_query):
14829 Prepare for more accurate position reporting and query
14832 * gst/gstelement.c: (gst_element_send_event),
14833 (gst_element_set_state):
14836 2005-09-22 Wim Taymans <wim@fluendo.com>
14838 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
14839 (gst_query_parse_segment):
14841 More documentation.
14842 Add segment query for future use.
14844 2005-09-22 Wim Taymans <wim@fluendo.com>
14846 * gst/gstbin.c: (gst_bin_add_func):
14847 Some more debug info.
14849 * gst/gstelement.c: (gst_element_send_event):
14850 Simplify send_event
14852 * gst/gstelement.h:
14853 Don't know how flags got broken.
14858 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
14860 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
14861 Add simplistic test suite for GST_TYPE_DATE serialisation and
14864 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
14866 * docs/gst/gstreamer-sections.txt:
14867 * gst/gststructure.c: (gst_structure_set_valist),
14868 (gst_structure_get_date):
14869 * gst/gststructure.h:
14870 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
14871 (gst_date_copy), (gst_value_compare_date),
14872 (gst_value_serialize_date), (gst_value_deserialize_date),
14873 (gst_value_transform_date_string),
14874 (gst_value_transform_string_date), (_gst_value_initialize):
14876 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
14877 bunch of utility functions along with a hack that checks that
14878 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
14879 is required. Part of the grand scheme in #170777.
14881 2005-09-22 Andy Wingo <wingo@pobox.com>
14883 * gst/gstconfig.h.in: Psych out gtk-doc.
14885 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
14887 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
14889 * tools/gst-inspect.c (print_element_list): Plug some
14890 inconsequential leaks.
14892 * gst/gstregistry.c (gst_registry_get_default): Doc.
14894 * check/gst/gstplugin.c:
14895 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
14896 * gst/gstelementfactory.c (gst_element_factory_create):
14897 * gst/gstindexfactory.c (gst_index_factory_create): Update for
14900 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
14901 (gst_plugin_feature_load): Doc, don't eat refs.
14903 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
14904 (gst_plugin_list_free): Doc.
14905 (gst_plugin_load_file): Doc updates.
14907 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
14908 accessors returning refcounted objects, return a ref.
14910 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
14911 accessor for caps. IDEMPOTENCE. Oh yes.
14913 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
14915 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14917 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
14918 (_gst_debug_register_funcptr):
14919 Add mutex to serialise access to the hash table with
14920 the function pointer => function name string mapping;
14921 make that hash table static scope (#316809).
14923 * gst/registries/.cvsignore:
14924 Remove left-over file.
14926 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
14928 * docs/pwg/appendix-porting.xml:
14929 And something about newsegment events and caps-on-buffers to
14930 the porting guide (feel free to improve).
14932 2005-09-21 Andy Wingo <wingo@pobox.com>
14934 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
14935 data and event probes on the same pad.
14936 (test_buffer_probe_once): Test that removing probes from within
14937 the probe functions works.
14939 2005-09-21 Andy Wingo <wingo@pobox.com>
14941 * check/gst/gstutils.c: New file.
14942 (test_buffer_probe_n_times): A simple buffer probe test. More to
14945 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
14946 have-data::buffer, not have-data.
14947 (gst_pad_add_event_probe): Likewise for have-data::event.
14948 (gst_pad_add_data_probe): More docs. The part about 'resolving the
14949 peer' isn't quite right yet though.
14950 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
14951 (gst_pad_remove_data_probe): Change to take the guint handler_id
14952 as their arg, not the function+data, which is more glib-like.
14954 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
14955 the signal emission to indicate if the data is a buffer or an
14957 (gst_pad_get_type): Initialize buffer and event quarks.
14958 (gst_pad_class_init): have-data is now a detailed signal, yes it
14961 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
14963 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14964 * gst/gstutils.c: (gst_util_set_value_from_string),
14965 (gst_util_set_object_arg):
14966 Don't put functional code in g_return_if_fail() or
14967 g_return_val_if_fail() statements, otherwise things will
14968 break when G_DISABLE_CHECKS is defined during compilation.
14970 2005-09-21 Stefan Kost <ensonic@users.sf.net>
14972 * docs/gst/tmpl/.cvsignore:
14973 * docs/gst/tmpl/gstvalue.sgml:
14976 inlied another one and added some obvious docs
14978 2005-09-21 Wim Taymans <wim@fluendo.com>
14980 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14981 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
14982 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
14983 (gst_fdsrc_get_property), (gst_fdsrc_create):
14984 * gst/elements/gstfdsrc.h:
14985 Properly implement fdsrc. Removed signal and timeout,
14986 better implemented somewhere else.
14988 2005-09-21 Stefan Kost <ensonic@users.sf.net>
14990 * docs/gst/tmpl/.cvsignore:
14991 * docs/gst/tmpl/gstimplementsinterface.sgml:
14992 * gst/gstinterface.c:
14995 2005-09-21 Stefan Kost <ensonic@users.sf.net>
14997 * docs/gst/gstreamer-sections.txt:
14998 * docs/gst/tmpl/.cvsignore:
14999 * docs/gst/tmpl/gstenumtypes.sgml:
15000 remove obsolete doc file
15002 2005-09-21 David Schleef <ds@schleef.org>
15004 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15005 little beer, fix a little leak.
15007 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15009 * docs/gst/gstreamer-docs.sgml:
15010 * docs/gst/gstreamer-sections.txt:
15011 * docs/gst/tmpl/.cvsignore:
15015 * gst/gstelement.h:
15016 * gst/gstindex.c: (gst_index_class_init):
15018 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15019 (gst_index_factory_class_init), (gst_index_factory_init),
15020 (gst_index_factory_finalize), (gst_index_factory_new),
15021 (gst_index_factory_destroy), (gst_index_factory_find),
15022 (gst_index_factory_create), (gst_index_factory_make):
15023 * gst/gstindexfactory.h:
15024 * gst/gstpluginfeature.c:
15025 * gst/gstpluginfeature.h:
15026 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15027 more docs inlined, splitted gstindex.{c,h}
15029 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15031 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15034 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15036 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15037 Set sync to FALSE by default.
15039 2005-09-20 Wim Taymans <wim@fluendo.com>
15041 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15042 (gst_base_sink_init):
15043 Make sync property settable from subclass.
15045 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15046 (gst_fake_sink_change_state):
15047 Set sync to FALSE by default.
15049 2005-09-20 Wim Taymans <wim@fluendo.com>
15051 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15052 * tools/gst-launch.c: (main):
15053 The timeout handler should have lower priority than the source
15054 so we don't timeout before popping a message with 0 timeout.
15055 Dump error messages after failed state change.
15057 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15059 * tools/gst-inspect.c: (print_element_properties_info):
15062 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15064 * check/gst/gstevent.c:
15065 * gst/elements/gstfakesink.c:
15066 * gst/elements/gstfakesink.h:
15067 remove the sync property from fakesink.
15068 has the side effect of setting sync TRUE
15069 for fakesink, which is a change. Anyone who knows how
15070 to fix this nicely in a GObject-y way, feel free.
15072 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15074 * docs/gst/gstreamer-docs.sgml:
15075 remove probe refsection
15077 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15079 * check/Makefile.am:
15080 disable valgrinding the controller test again
15081 * docs/gst/gstreamer-sections.txt:
15082 update for api-changes
15084 2005-09-20 Wim Taymans <wim@fluendo.com>
15086 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15087 (gst_base_sink_set_property), (gst_base_sink_get_property),
15088 (gst_base_sink_do_sync):
15089 * gst/base/gstbasesink.h:
15090 Added sync property to basesink to disable clock sync.
15092 2005-09-20 Andy Wingo <wingo@pobox.com>
15094 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15095 eating the caller's refcount.
15097 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15098 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15101 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15102 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15103 of GLib 2.8 public, so we can know which refcount to check in
15106 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15107 (gst_object_init): Only set the gst refcount if we're going ahead
15108 with the refcount hack.
15110 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15112 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15113 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15114 more leaks plumbed, added more debug-logging
15118 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15120 * gst/gstmessage.c:
15121 remove include of gstmemchunk.h
15123 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15125 * gst/gstclock.c: (_gst_clock_id_free):
15126 Commit from the Political Party For More Atomic CVS Commits,
15127 so that people don't waste too much of their day fishing
15128 out obvious leaks out of massive commits.
15129 Oh, and fix a pretty damn obvious leak in the memchunk
15132 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15134 * check/Makefile.am:
15135 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15136 plug mem-leak, re-add to valgrindable tests
15138 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15141 unbreak the build for those who have chronic arthritis
15142 and typing "make check" is just too taxing on the hands
15144 2005-09-20 Andy Wingo <wingo@pobox.com>
15146 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15147 really want it out, you should fix plugins at the same time.
15149 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15152 * docs/gst/gstreamer-sections.txt:
15154 added missing symbols to api docs
15155 disable ref-count hack if we have glib >= 2.8
15157 2005-09-19 David Schleef <ds@schleef.org>
15159 * docs/gst/Makefile.am: Ignore a few more internal headers
15160 * docs/gst/gstreamer-docs.sgml: Remove old sections
15161 * docs/gst/gstreamer-sections.txt: Remove old sections
15162 * docs/gst/tmpl/gstobject.sgml: update
15163 * docs/gst/tmpl/gstplugin.sgml: update
15164 * docs/gst/tmpl/gstpluginfeature.sgml: update
15165 * docs/random/ds/0.9-suggested-changes: update.
15166 * gst/Makefile.am: remove memchunk and trashstack, since they're
15168 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15169 * gst/gst.h: don't include some headers
15170 * gst/gstchildproxy.c: add gstmarshal.h
15171 * gst/gstclock.c: Don't use memchunks
15172 * gst/gstminiobject.c: Add some docs
15173 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15174 * gst/gstobject.h: same
15175 * gst/gstplugin.c: include gstmacros.h
15176 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15177 * gst/gstquery.c: don't use memchunks
15178 * gst/gstregistry.c: rename gst_registry_deinit()
15179 * gst/gstregistry.h: same
15181 2005-09-19 David Schleef <ds@schleef.org>
15183 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15184 * docs/libs/gstreamer-libs-sections.txt:
15185 * docs/libs/tmpl/gstgetbits.sgml:
15186 * docs/libs/tmpl/gstputbits.sgml:
15188 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15190 * win32/gstenumtypes.c:
15191 * win32/gstenumtypes.h:
15194 2005-09-19 Wim Taymans <wim@fluendo.com>
15196 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15197 Automatically PAUSE and RESUME a pipeline when a flushing seek
15200 2005-09-19 Andy Wingo <wingo@pobox.com>
15202 * gst/gstregistry.h: Spacing fixen.
15204 2005-09-19 Wim Taymans <wim@fluendo.com>
15206 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15207 Handle state change failure more correctly.
15209 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15211 * check/Makefile.am:
15212 * check/pipelines/cleanup.c: (run_pipeline):
15213 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15215 enable cleanup again after fixing the leak
15217 some more info on docs
15219 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15221 * check/Makefile.am:
15222 re-enable tests now that leaks are plugged
15224 * check/gst/gstbin.c:
15225 * check/gst/gstpipeline.c:
15226 add some more tests while fixing leaks
15227 * common/check.mak:
15228 make sure binaries are uptodate when valgrinding/gdbing
15230 * gst/gstelementfactory.c:
15231 remove a ref too many, and add a FIXME for when we get
15232 round to disposing of classes
15234 fix the refcounting when loading a plugin from a file and
15235 the code pretends that the pointer is the same even though
15236 of course it can change
15237 * gst/gstpluginfeature.c:
15238 unref plugins marked cached (a bit confusing as a name)
15239 as the docs state should be done
15240 various doc additions to explain refcounting
15241 * gst/gstregistry.c:
15242 * gst/gstregistryxml.c:
15245 2005-09-19 Wim Taymans <wim@fluendo.com>
15247 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15248 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15249 (send_messages), (GST_START_TEST), (gstbus_suite):
15250 * check/gst/gstpipeline.c: (GST_START_TEST):
15251 * check/pipelines/cleanup.c: (run_pipeline):
15252 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15254 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15255 (gst_bus_source_check), (gst_bus_source_dispatch),
15256 (gst_bus_create_watch), (gst_bus_add_watch_full),
15257 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15259 * tools/gst-launch.c: (event_loop):
15260 * tools/gst-md5sum.c: (event_loop):
15261 GstBusHandler -> GstBusFunc, return value has the same meaning as
15262 any other GSource (FALSE == remove source).
15263 _add_watch() and _add_watch_full() now take a MessageType mask to
15264 only handle specific types of messages.
15265 _poll() returns the GstMessage instead of the message type to avoid
15267 _have_pending() takes a MessageType mask now too.
15268 Added testsuite for multiple bus watches.
15269 Fix testsuites and applications for new bus API.
15271 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15273 * check/Makefile.am:
15274 mark a bunch of the tests as to fix until we fix them
15276 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15278 * common/check.mak:
15279 use GST_PLUGIN settings for valgrind tests as well, so we're
15280 valgrinding the correct thing
15281 * gst/gst.c: (init_post):
15284 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15286 * gst/gst.c: (init_post), (gst_deinit):
15287 * gst/gstelementfactory.c: (gst_element_factory_class_init),
15288 (gst_element_factory_finalize), (gst_element_factory_cleanup):
15289 * gst/gstindex.c: (gst_index_factory_class_init),
15290 (gst_index_factory_finalize):
15291 * gst/gstobject.c: (gst_object_dispose):
15292 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15293 (gst_plugin_load_file), (gst_plugin_desc_free):
15294 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15295 (gst_plugin_feature_finalize):
15296 * gst/gstregistry.c: (gst_registry_class_init),
15297 (gst_registry_init), (gst_registry_finalize),
15298 (gst_registry_get_default), (gst_registry_deinit):
15299 * gst/gstregistry.h:
15300 * gst/gstregistryxml.c: (load_feature), (load_plugin):
15301 various cleanups and memleak plugging. make valgrind is happy now.
15303 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15305 * common/check.mak:
15306 add a check-valgrind target
15308 2005-09-18 David Schleef <ds@schleef.org>
15310 * tools/gst-inspect.c: Revert the GOption code.
15312 2005-09-17 David Schleef <ds@schleef.org>
15314 * check/Makefile.am: Fix environment variables.
15315 * check/gst/gstplugin.c: Fix for API changes.
15316 * tools/gst-inspect.c: Fix for API changes.
15317 * tools/gst-xmlinspect.c: Fix for API changes.
15318 * gst/gstelementfactory.c:
15321 * gst/gstpluginfeature.c:
15322 * gst/gstpluginfeature.h:
15323 * gst/gstregistry.c:
15324 * gst/gstregistry.h:
15325 * gst/gstregistryxml.c:
15326 * gst/gsttypefind.c:
15327 * gst/gsttypefindfactory.c:
15328 * gst/indexers/gstfileindex.c:
15329 * gst/indexers/gstmemindex.c:
15330 * gst/schedulers/Makefile.am:
15331 Change registry to keep track of both plugins and features,
15332 removing the feature tracking from plugins themselves.
15334 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
15336 * check/Makefile.am:
15337 * tools/gst-register.1.in:
15338 remove gst-register
15340 2005-09-15 David Schleef <ds@schleef.org>
15342 * check/gst/gstplugin.c:
15343 * gst/gstelementfactory.c:
15345 * gst/gstpluginfeature.c:
15346 * gst/gstregistry.c:
15347 Getting tired of debugging. Disabled all the unreffing of
15348 plugins and features, which fixes the segfaults, but of
15349 course leaks like crazy. At least playbin works.
15351 2005-09-15 David Schleef <ds@schleef.org>
15353 * check/gst/gstplugin.c: (register_check_elements),
15354 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15356 * gst/elements/gsttypefindelement.c: Fix refcounting.
15357 * gst/gsttypefind.c:
15358 * gst/gsttypefindfactory.c:
15359 * gst/gsttypefindfactory.h:
15361 2005-09-15 David Schleef <ds@schleef.org>
15363 * gst/gstindex.c: get refcounting correct.
15364 * gst/gstregistry.c: Handle the case where a feature/plugin is
15367 2005-09-15 David Schleef <ds@schleef.org>
15369 * check/Makefile.am:
15370 * check/gst/gstplugin.c: Add test
15371 * gst/gstplugin.c: Fix problems noticed by testsuite
15373 * gst/gstregistry.c:
15374 * gst/gstregistry.h:
15376 2005-09-15 David Schleef <ds@schleef.org>
15378 * gst/gstplugin.c: Implement semi-decent recounting and locking
15379 in plugins and plugin features.
15381 * gst/gstpluginfeature.c:
15382 * gst/gstpluginfeature.h:
15383 * gst/gstregistry.c:
15385 2005-09-15 Michael Smith <msmith@fluendo.com>
15387 * gst/gstregistry.c: (gst_registry_get_feature_list):
15388 Implement this. Makes oggdemux work; decodebin still broken.
15390 2005-09-14 David Schleef <ds@schleef.org>
15392 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
15394 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
15395 * gst/check/Makefile.am:
15396 * libs/gst/controller/Makefile.am:
15397 * libs/gst/dataprotocol/Makefile.am:
15399 2005-09-14 David Schleef <ds@schleef.org>
15401 * configure.ac: Remove getbits library. Nothing uses it, and
15402 it should be in something like liboil if someone did want
15404 * libs/gst/Makefile.am:
15405 * libs/gst/getbits/Makefile.am:
15406 * libs/gst/getbits/gbtest.c:
15407 * libs/gst/getbits/getbits.c:
15408 * libs/gst/getbits/getbits.h:
15409 * libs/gst/getbits/gstgetbits_generic.c:
15410 * libs/gst/getbits/gstgetbits_i386.s:
15411 * libs/gst/getbits/gstgetbits_inl.h:
15413 2005-09-14 David Schleef <ds@schleef.org>
15415 * gst/Makefile.am: Dist glib-compat.h
15417 2005-09-14 David Schleef <ds@schleef.org>
15419 * configure.ac: Remove gst/registries, since it's no longer used.
15420 * gst/registries/Makefile.am:
15421 * gst/registries/gstlibxmlregistry.c:
15422 * gst/registries/gstlibxmlregistry.h:
15423 * gst/registries/gstxmlregistry.c:
15424 * gst/registries/gstxmlregistry.h:
15425 * gst/registries/registrytest.c:
15427 2005-09-14 David Schleef <ds@schleef.org>
15429 * gst/glib-compat.h:
15430 * gst/gstregistryxml.c:
15431 Convergence is near. Seriously.
15433 2005-09-14 David Schleef <ds@schleef.org>
15435 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15436 * gst/glib-compat.h:
15437 Attempt #4 to appease the buildbots.
15439 2005-09-14 David Schleef <ds@schleef.org>
15441 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15444 2005-09-14 David Schleef <ds@schleef.org>
15446 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15449 2005-09-14 David Schleef <ds@schleef.org>
15451 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
15454 2005-09-14 David Schleef <ds@schleef.org>
15456 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15457 * gst/glib-compat.h: Add some functions that are in newer versions
15458 of glib than we care to require.
15459 * gst/gstregistryxml.c: Use them.
15461 2005-09-14 David Schleef <ds@schleef.org>
15463 * po/POTFILES.in: remove gst-register.c
15465 2005-09-14 David Schleef <ds@schleef.org>
15467 * docs/gst/gstreamer-docs.sgml:
15468 * docs/gst/gstreamer-sections.txt:
15469 * docs/gst/gstreamer.types:
15470 * docs/gst/tmpl/gstelement.sgml:
15471 * docs/gst/tmpl/gstplugin.sgml:
15472 * docs/gst/tmpl/gstpluginfeature.sgml:
15473 Documentation updates for registry changes.
15475 2005-09-14 David Schleef <ds@schleef.org>
15477 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
15478 because we don't require glib-2.8.
15480 2005-09-14 David Schleef <ds@schleef.org>
15482 * gst/gstregistryxml.c: Added. Essentially moved out of the
15483 registries directory.
15485 2005-09-14 David Schleef <ds@schleef.org>
15487 * check/Makefile.am:
15488 * check/generic/states.c:
15492 * gst/gst_private.h:
15493 * gst/gstelementfactory.c:
15498 * gst/gstpluginfeature.c:
15499 * gst/gstpluginfeature.h:
15500 * gst/gstregistry.c:
15501 * gst/gstregistry.h:
15502 * gst/gstregistrypool.c: remove
15503 * gst/gstregistrypool.h: remove
15504 * gst/gsttypefind.c:
15505 * gst/gsttypefindfactory.c:
15507 * tools/Makefile.am:
15508 * tools/gst-compprep.c:
15509 * tools/gst-inspect.c:
15510 * tools/gst-register.c: remove
15511 * tools/gst-xmlinspect.c:
15512 Registry rewrite. Changes registry from being a file created
15513 by a tool into a simple cache file created automatically by
15514 libgstreamer. Removed gst-register (because it's no longer
15515 needed). Remove registry pools, because we only have one
15516 registry implementation (XML). Fix up other subsystems as
15519 2005-09-13 Michael Smith <msmith@fluendo.com>
15521 * gst/gstconfig.h.in:
15522 Don't Use windows linking attributes for MinGW. Fixes #316157
15524 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
15526 * gst/gstutils.c: (set_state_async_thread_func),
15527 (gst_element_set_state_async):
15528 Apparently people think it's better if this function doesn't
15529 try to set the state to whatever state was asked for on the first
15530 call to this function for any object. Seriously.
15532 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15534 * check/gst/gstpipeline.c: (GST_START_TEST):
15535 * docs/gst/gstreamer-sections.txt:
15536 * gst/gstutils.c: (set_state_async_thread_func),
15537 (gst_element_set_state_async):
15539 add a "gst_element_set_state_async" method that
15540 sets the state and starts a thread to make sure the state
15541 change completes as best as it can
15543 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15545 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15546 codify design+behaviour in testsuite after discussion
15548 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15550 * docs/gst/tmpl/gstelement.sgml:
15551 * docs/manual/appendix-quotes.xml:
15553 * gst/gstelement.c: (gst_element_set_state):
15556 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
15558 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15559 (gst_base_transform_prepare_output_buf),
15560 (gst_base_transform_handle_buffer):
15561 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
15562 (gst_capsfilter_prepare_buf):
15563 Remove the requirement for sub-classes to call the parent
15564 implementation of prepare_output_buffer with a wrapper function.
15566 * gst/gsttaglist.h:
15567 * gst/gsttagsetter.h:
15568 Fix #define wrapper
15570 2005-09-11 Stefan Kost <ensonic@users.sf.net>
15572 * docs/gst/gstreamer-sections.txt:
15575 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
15577 * docs/gst/gstreamer-sections.txt:
15578 * docs/gst/tmpl/gstelement.sgml:
15579 * docs/gst/tmpl/gstplugin.sgml:
15580 * gst/gstminiobject.c:
15582 docs now stop throwing warnings
15584 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
15586 * docs/gst/gstreamer-sections.txt:
15587 * docs/gst/gstreamer.types:
15588 * docs/gst/tmpl/gstpad.sgml:
15589 * docs/gst/tmpl/gsttypes.sgml:
15590 * gst/base/gstadapter.h:
15591 * gst/base/gstbasesink.h:
15592 * gst/base/gstbasesrc.h:
15598 * gst/gstelement.h:
15600 * gst/gstmessage.h:
15602 * gst/gststructure.c:
15603 * gst/registries/gstlibxmlregistry.h:
15604 various documentation fixes
15606 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
15608 * docs/gst/gstreamer-sections.txt:
15609 * docs/gst/tmpl/gstvalue.sgml:
15610 rearrange gstvalue section
15611 * gst/gstutils.c: (gst_element_state_get_name):
15613 * gst/gstvalue.c: (_gst_value_initialize):
15617 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
15619 * check/gst-libs/controller.c:
15620 Header include fix.
15621 * gst/base/gstbasetransform.c:
15622 (gst_base_transform_default_prepare_buf),
15623 (gst_base_transform_handle_buffer):
15624 * gst/base/gstbasetransform.h:
15625 Some more basetransform changes and fixes to enable sub-classes
15626 that modify buffer metadata only.
15627 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15628 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
15629 (gst_capsfilter_prepare_buf):
15630 If the output pad has fixed allowed caps and input buffers
15631 don't have any, set the fixed caps on outgoing buffers.
15633 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
15634 * check/elements/identity.c: (GST_START_TEST):
15635 Make the error a little clearer when the test fails because
15636 identity made a copy of the buffer.
15637 * docs/gst/gstreamer-sections.txt:
15638 New symbols in gstbasetransform.h
15639 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15640 (gst_base_transform_init), (gst_base_transform_transform_size),
15641 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15642 (gst_base_transform_default_prepare_buf),
15643 (gst_base_transform_get_unit_size),
15644 (gst_base_transform_buffer_alloc),
15645 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15646 (gst_base_transform_change_state),
15647 (gst_base_transform_set_passthrough),
15648 (gst_base_transform_set_in_place),
15649 (gst_base_transform_is_in_place):
15650 * gst/base/gstbasetransform.h:
15651 Change BaseTransform to separate in_place operate from same_caps
15652 output. in_place implies that the element can perform the transform
15653 on incoming buffers in-place, even if the caps on the output are
15655 Sub-class elements can now implement special buffer allocation
15656 methods for outgoing buffers if they wish to.
15657 Big documentation addition.
15658 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
15659 * gst/elements/gstelements.c:
15660 Changes for basetransform modifications.
15661 * gst/elements/Makefile.am:
15662 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
15663 Compile fix. Extra debug output.
15665 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
15667 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
15669 add tests for valid pad naming
15670 * gst/check/gstcheck.c: (gst_check_log_message_func),
15671 (gst_check_log_critical_func):
15673 remove printing of code, it is fragile when the code contains
15674 % and the line number is enough info
15675 * gst/check/gstcheck.h:
15676 * gst/gstpad.c: (gst_pad_template_new):
15679 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
15682 say what CHECK flags we use
15683 * docs/libs/gstreamer-libs.types:
15684 * libs/gst/controller/Makefile.am:
15685 * libs/gst/controller/gst-controller.c:
15686 * libs/gst/controller/gst-controller.h:
15687 * libs/gst/controller/gst-helper.c:
15688 * libs/gst/controller/gst-interpolation.c:
15689 * libs/gst/controller/gstcontroller.c:
15690 * libs/gst/controller/gsthelper.c:
15691 * libs/gst/controller/gstinterpolation.c:
15692 * tools/gst-inspect.c: (print_plugin_info):
15693 we don't use dashes in header names
15695 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
15697 * check/Makefile.am:
15698 * check/gst/.cvsignore:
15699 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
15700 (gst_pipeline_suite), (main):
15701 adding a test for pipelines and state changes
15702 * gst/gstutils.c: (get_state_func):
15704 * gstreamer.spec.in:
15707 2005-09-08 Michael Smith <msmith@fluendo.com>
15709 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
15710 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
15711 (gst_file_src_is_seekable), (gst_file_src_get_size),
15712 (gst_file_src_start):
15713 * gst/elements/gstfilesrc.h:
15714 Various fixes for unseekable, unmmapable, and non-normal files, so
15715 that fallback to read() rather than mmap() works.
15716 * gst/gstevent.c: (gst_event_new_newsegment):
15717 Allow newsegment events with segment_start == segment_end, as will
15718 correctly happen if you use filesrc on a zero-size file, for
15721 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
15723 * gst/gstplugin.c: (gst_plugin_load_file):
15724 Call g_module_close when we don't load the module
15726 * gst/registries/gstlibxmlregistry.c:
15727 (gst_xml_registry_get_property):
15728 Port leak fix from 0.8
15730 2005-09-07 Stefan Kost <ensonic@users.sf.net>
15732 * docs/gst/gstreamer-docs.sgml:
15733 * docs/gst/tmpl/.cvsignore:
15734 * docs/gst/tmpl/gsttrace.sgml:
15735 * docs/gst/tmpl/gsttrashstack.sgml:
15738 * gst/gstelement.h:
15740 * gst/gstmessage.c:
15741 * gst/gstmessage.h:
15744 * gst/gsttaginterface.c:
15745 * gst/gsttaginterface.h:
15746 * gst/gsttaglist.c:
15747 * gst/gsttaglist.h:
15748 * gst/gsttagsetter.c:
15749 * gst/gsttagsetter.h:
15752 * gst/gsttrashstack.c:
15753 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
15754 inlined docs for gsttrace, gsttrashstack
15756 2005-09-07 Stefan Kost <ensonic@users.sf.net>
15759 * gst/elements/gstbufferstore.h:
15760 * gst/elements/gsttypefindelement.c:
15761 * gst/elements/gsttypefindelement.h:
15763 * gst/gsttypefind.c:
15764 * gst/gsttypefind.h:
15765 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
15766 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
15767 (gst_type_find_factory_dispose),
15768 (gst_type_find_factory_unload_thyself),
15769 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
15770 (gst_type_find_factory_get_caps),
15771 (gst_type_find_factory_get_extensions),
15772 (gst_type_find_factory_call_function):
15773 * gst/gsttypefindfactory.h:
15774 * gst/registries/gstlibxmlregistry.c:
15775 * gst/registries/gstxmlregistry.c:
15776 splitted gsttypefind into gsttypefind, gsttypefindfactory
15778 2005-09-07 Andy Wingo <wingo@pobox.com>
15780 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
15781 condition whereby the pad's task function is entered before the
15782 pad_mode variable was set.
15784 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
15786 * gst/gstpad.c: (gst_pad_alloc_buffer):
15787 Catch misbehaving pad_alloc functions that don't
15788 set up caps and do it for them.
15790 2005-09-07 Stefan Kost <ensonic@users.sf.net>
15792 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15793 test for pipe!=NULL
15794 * docs/gst/tmpl/.cvsignore:
15795 * docs/gst/tmpl/gstmemchunk.sgml:
15796 * docs/gst/tmpl/gstparse.sgml:
15797 * docs/gst/tmpl/gsttaglist.sgml:
15798 * docs/gst/tmpl/gsttagsetter.sgml:
15799 * docs/gst/tmpl/gsttypefind.sgml:
15800 * docs/gst/tmpl/gsttypefindfactory.sgml:
15801 * gst/gstmemchunk.c:
15804 * gst/gsttaginterface.c:
15805 * gst/gsttypefind.c:
15806 * gst/gsttypefind.h:
15809 === release 0.9.2 ===
15811 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
15816 releasing 0.9.2, "South"
15818 2005-09-05 Andy Wingo <wingo@pobox.com>
15820 * gst/registries/gstxmlregistry.h:
15821 * gst/registries/gstxmlregistry.c: Um... resurrect...
15823 * gst/registries/gstxmlregistry.h:
15824 * gst/registries/gstxmlregistry.c: and update to newer API.
15825 Incidentally they should be a bit faster now that they don't have
15828 2005-09-05 Andy Wingo <wingo@pobox.com>
15830 * gst/registries/gstxmlregistry.h:
15831 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
15832 replaced by the libxml registry a while back
15834 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
15836 * docs/gst/tmpl/gstplugin.sgml:
15837 * gst/elements/gstelements.c:
15839 * gst/gstplugin.c: (gst_plugin_register_func),
15840 (gst_plugin_desc_copy), (gst_plugin_desc_free),
15841 (gst_plugin_get_source):
15843 * gst/registries/gstlibxmlregistry.c: (load_plugin),
15844 (gst_xml_registry_save_plugin):
15845 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
15846 (gst_xml_registry_save_plugin):
15847 * tools/gst-inspect.c: (print_plugin_info):
15848 add a "source" plugin description field, to represent the source
15849 module this plugin is a part of. By default GST_PLUGIN_DEFINE
15850 will set it to PACKAGE, which is automake's idea of the name of
15851 the source project.
15853 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
15858 * docs/Makefile.am:
15859 * docs/faq/Makefile.am:
15860 * docs/gst/tmpl/gstelement.sgml:
15861 * docs/gst/tmpl/gsttypes.sgml:
15862 * docs/htmlinstall.mak:
15863 * docs/manual/Makefile.am:
15864 * docs/pwg/Makefile.am:
15865 reorganize doc build a little
15866 split out docbook and gtk-doc stuff
15867 have two separate --enable's and enable them through autogen
15868 but disable by default in configure (to be similar to other
15870 * gstreamer.spec.in:
15871 clean up docs install
15889 translation updates
15891 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
15893 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
15896 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15897 (gst_fake_sink_change_state):
15898 Make state change function thread-safe.
15900 * gst/gstpad.c: (gst_pad_alloc_buffer):
15901 Set offset on generic buffer allocated by fallback.
15903 2005-09-03 Stefan Kost <ensonic@users.sf.net>
15905 * docs/gst/gstreamer-sections.txt:
15906 * docs/gst/tmpl/gstelement.sgml:
15908 * libs/gst/controller/gst-controller.c:
15909 (gst_controlled_property_set_interpolation_mode),
15910 (gst_controlled_property_new),
15911 (gst_controller_find_controlled_property):
15912 run the wingo-magic script against the docs
15914 2005-09-02 Stefan Kost <ensonic@users.sf.net>
15916 * docs/gst/gstreamer-docs.sgml:
15917 * docs/gst/gstreamer-sections.txt:
15918 * docs/gst/tmpl/.cvsignore:
15919 * docs/gst/tmpl/gstelementdetails.sgml:
15920 * docs/gst/tmpl/gstelementfactory.sgml:
15923 * gst/gstelementfactory.c:
15924 * gst/gstelementfactory.h:
15925 merged elementdetails docs into elementfactory docs
15928 2005-09-02 Andy Wingo <wingo@pobox.com>
15930 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
15931 consider this enum an enum and not a flags.
15933 2005-09-02 Stefan Kost <ensonic@users.sf.net>
15935 * docs/gst/gstreamer-docs.sgml:
15936 * docs/gst/tmpl/.cvsignore:
15937 * docs/gst/tmpl/gstghostpad.sgml:
15938 * docs/gst/tmpl/gstiterator.sgml:
15939 * docs/gst/tmpl/gstmacros.sgml:
15940 * docs/gst/tmpl/gstrealpad.sgml:
15941 * docs/gst/tmpl/gstregistry.sgml:
15942 * docs/gst/tmpl/gstregistrypool.sgml:
15943 * docs/gst/tmpl/gststructure.sgml:
15944 * docs/gst/tmpl/gstsystemclock.sgml:
15945 * docs/gst/tmpl/gsttrace.sgml:
15946 * gst/gstghostpad.c:
15948 * gst/gstmemchunk.c:
15949 * gst/gstmemchunk.h:
15951 * gst/gstregistry.c:
15952 * gst/gstregistrypool.c:
15953 * gst/gststructure.c:
15954 * gst/gstsystemclock.c:
15957 2005-09-02 Andy Wingo <wingo@pobox.com>
15959 * gst/gstelement.h (GstState): Renamed from GstElementState,
15960 changed to be a normal enum instead of flags.
15961 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
15962 munged to be GST_STATE_CHANGE_*.
15963 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
15964 work with the new state representation.
15965 (GstStateChange): New enumeration of possible state transitions.
15966 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
15967 (GstElementClass::change_state): Pass the GstStateChange along as
15968 an argument. Helps language bindings, so they don't have to use
15969 tricky lock-needing macros like GST_STATE_CHANGE ().
15971 * scripts/update-states (file): New script. Run it on a file to
15972 update it for state naming and API changes. Updates files in
15975 * All files updated for the new API.
15977 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
15979 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
15980 * gst/gstutils.c: (gst_util_set_value_from_string),
15981 (gst_util_set_object_arg):
15982 fix a bunch of unchecked return values
15983 * tools/gst-complete.c: (main):
15984 * gstreamer.spec.in:
15987 2005-09-01 Wim Taymans <wim@fluendo.com>
15989 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15990 (gst_base_sink_event), (gst_base_sink_do_sync),
15991 (gst_base_sink_handle_event):
15992 * gst/base/gstbasesink.h:
15993 Handle newsegments more correctly.
15998 * gst/gstevent.c: (gst_event_new_newsegment):
15999 A newsegment cannot have a start_time of -1
16001 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16003 * win32/gstenumtypes.c:
16004 * win32/gstenumtypes.h:
16007 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16009 * libs/gst/controller/gst-controller.c:
16010 (gst_controlled_property_set_interpolation_mode),
16011 (gst_controlled_property_new):
16012 fixed boolean again
16014 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16016 * docs/faq/gst-uninstalled:
16021 * gst/gstutils.c: (gst_element_link_filtered):
16023 add gst_element_link_filtered
16025 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16027 * docs/gst/gstreamer-docs.sgml:
16028 * docs/gst/gstreamer-sections.txt:
16029 * docs/gst/tmpl/.cvsignore:
16030 * docs/gst/tmpl/gsterror.sgml:
16031 * docs/gst/tmpl/gstfilter.sgml:
16032 * docs/gst/tmpl/gsturihandler.sgml:
16033 * docs/gst/tmpl/gsturitype.sgml:
16034 * docs/gst/tmpl/gstutils.sgml:
16035 * docs/gst/tmpl/gstxml.sgml:
16040 * gst/gsturitype.c:
16043 inlined more docs, fixed double id-ref
16045 2005-08-31 Wim Taymans <wim@fluendo.com>
16047 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16048 (gst_base_transform_handle_buffer):
16049 Passthrough elements don't need the caps as they don't care.
16051 2005-08-31 Wim Taymans <wim@fluendo.com>
16053 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16054 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16055 Don't leak refcounts on buffers.
16057 2005-08-31 Wim Taymans <wim@fluendo.com>
16059 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16060 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16061 (gst_base_transform_chain), (gst_base_transform_change_state):
16062 * gst/base/gstbasetransform.h:
16063 Handle the case where we are not negotiated more gracefully.
16065 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16067 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16068 (gst_file_src_map_region):
16069 Set READONLY flag on mmap'ed buffers, otherwise
16070 gst_buffer_make_writable() won't work properly (#314708).
16072 2005-08-31 Wim Taymans <wim@fluendo.com>
16074 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16075 passthrough elements can even do inplace on non writable
16076 buffers (as they don't touch them).
16078 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16080 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16081 (gst_test_mono_source_set_property),
16082 (gst_test_mono_source_class_init), (GST_START_TEST),
16083 (gst_controller_suite):
16084 more tests (hehe I have the most)
16086 describe popping messages whenusing mulltiple sources
16087 * libs/gst/controller/gst-controller.c:
16088 (gst_controlled_property_set_interpolation_mode),
16089 (gst_controlled_property_new):
16090 * libs/gst/controller/gst-controller.h:
16091 * libs/gst/controller/gst-interpolation.c:
16092 implement boolean properties
16094 2005-08-31 Wim Taymans <wim@fluendo.com>
16096 * gst/gstminiobject.c: (gst_mini_object_ref):
16097 Cannot assert that the refcount has to be positive
16098 since a disposed object can be resurrected.
16100 2005-08-31 Wim Taymans <wim@fluendo.com>
16102 * gst/gstpad.c: (gst_pad_init):
16103 Revert change, need to first fix badly behaving
16106 2005-08-30 Wim Taymans <wim@fluendo.com>
16108 * check/elements/fakesrc.c: (setup_fakesrc):
16109 * check/elements/identity.c: (setup_identity):
16110 Activate pads before using them.
16112 2005-08-30 Wim Taymans <wim@fluendo.com>
16114 * gst/base/gstadapter.c: (gst_adapter_flush):
16115 Flushing out 0 bytes is ok for this function.
16117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16118 no newsegment gives a warning and sets the start/stop to
16121 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16122 (gst_base_transform_set_passthrough):
16125 * gst/gstminiobject.c: (gst_mini_object_ref):
16126 Check refcount here too.
16128 * gst/gstpad.c: (gst_pad_init):
16129 Pads are initially flushing and refusing data.
16131 * gst/gstutils.c: (gst_element_link_pads_filtered):
16132 When adding a capsfilter element make sure it has the
16133 same state as the parent bin.
16135 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16137 * docs/gst/tmpl/.cvsignore:
16138 * docs/gst/tmpl/gstformat.sgml:
16139 * docs/gst/tmpl/gstversion.sgml:
16143 * gst/gstversion.h.in:
16144 more docs and two more inlined
16146 2005-08-30 Wim Taymans <wim@fluendo.com>
16148 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16149 Don't sync to clock.
16151 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16153 * docs/gst/gstreamer-sections.txt:
16154 ultral33t func10ns deserve to appear in the docs actually
16155 * docs/gst/tmpl/.cvsignore:
16156 * docs/gst/tmpl/gstcompat.sgml:
16157 * docs/gst/tmpl/gstconfig.sgml:
16158 * gst/check/gstcheck.c:
16160 * gst/gstconfig.h.in:
16163 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16165 * docs/gst/tmpl/.cvsignore:
16166 * docs/gst/tmpl/gstquery.sgml:
16167 * docs/gst/tmpl/gstutils.sgml:
16170 inlined and extended docs
16172 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16174 * check/gst-libs/controller.c: (GST_START_TEST),
16175 (gst_controller_suite):
16177 * docs/gst/tmpl/gstutils.sgml:
16178 * docs/libs/gstreamer-libs-sections.txt:
16179 * docs/libs/tmpl/gstdataprotocol.sgml:
16181 * examples/controller/audio-example.c: (main):
16182 controller example works now
16185 * tools/gst-inspect.c: (print_element_properties_info):
16186 show param spec flags
16188 2005-08-29 Andy Wingo <wingo@pobox.com>
16190 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16192 2005-08-28 Andy Wingo <wingo@pobox.com>
16194 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16195 as having two arguments instead of just one. Allows superclasses
16196 to access information on subclasses -- see the terrible for() loop
16197 in gtype.c:g_type_create_instance for the reason why. All callers
16200 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16202 * docs/design/part-messages.txt:
16204 * docs/gst/tmpl/.cvsignore:
16205 * docs/gst/tmpl/gstcaps.sgml:
16206 * docs/gst/tmpl/gstclock.sgml:
16212 * gst/gstmessage.c:
16213 added descriptions for bus and message
16214 inline caps and clock docs
16216 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16218 * gst/gstmessage.c:
16219 * gst/gstmessage.h:
16222 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16224 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16227 2005-08-26 Andy Wingo <wingo@pobox.com>
16229 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16230 element_set_state's return val.
16231 (test_2_elements): Add test that's been disabled for months.
16233 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16234 can-activate-pull properties.
16236 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16237 can-activate-pull properties. Implement is_seekable so fakesrc can
16238 operate in pull mode.
16240 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16242 (gst_base_sink_activate, gst_base_sink_activate_pull)
16243 (gst_base_sink_activate_push): Make activation mode choosing work.
16245 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16246 is right. Make pull mode work. Post an eos before pausing in pull
16248 (gst_base_sink_change_state): Pay attention to the core's
16249 change_state() return val.
16251 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16252 has-getrange properties. Cleanups.
16254 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16255 has_getrange and replace with can_activate_pull and
16258 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16259 locking comments. Remove has_loop, has_chain and replace with
16260 can_activate_pull and can_activate_push.
16262 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
16265 * examples/Makefile.am:
16266 * examples/metadata/Makefile.am:
16267 * examples/metadata/read-metadata.c: (message_loop),
16268 (have_pad_handler), (make_pipeline), (print_tag), (main):
16269 Add metadata reading example that loops over a list of filenames,
16270 dumping any tags found.
16272 * gst/gstbus.c: (gst_bus_dispose):
16273 * gst/gstelement.c: (gst_element_dispose):
16274 Release a few potentially-held references in dispose.
16276 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16278 * docs/gst/tmpl/gstminiobject.sgml:
16279 do *not* add tmpl/*.sgml files to CVS!
16281 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16283 * libs/gst/bytestream/.cvsignore:
16284 * libs/gst/bytestream/Makefile.am:
16285 * libs/gst/bytestream/adapter.c:
16286 * libs/gst/bytestream/adapter.h:
16287 * libs/gst/bytestream/bytestream.c:
16288 * libs/gst/bytestream/bytestream.h:
16289 * libs/gst/bytestream/filepad.c:
16290 * libs/gst/bytestream/filepad.h:
16291 removing obsolete files
16293 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16295 * docs/gst/gstreamer-docs.sgml:
16296 * docs/libs/gstreamer-libs-docs.sgml:
16297 disabed additional index entries again, as this makes docs-gen just
16298 slow and they aren't useful yet
16299 * docs/libs/gstreamer-libs-sections.txt:
16300 little -section.txt cleanup for libs
16302 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
16304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16305 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16306 fix up some debugging
16307 (gst_base_transform_get_unit_size),
16308 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16309 (gst_base_transform_handle_buffer):
16310 * gst/base/gstbasetransform.h:
16311 handle and store timed NEWSEGMENT events so that subclasses that
16312 calculate time by counting samples have a segment_start time they
16313 need to add to their timestamps - see audioresample
16315 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16318 removed ';' from the end of macro defs
16319 * docs/gst/gstreamer-docs.sgml:
16320 * docs/gst/gstreamer-sections.txt:
16321 * docs/gst/tmpl/.cvsignore:
16323 * gst/gstelement.c: (gst_element_class_init),
16324 (gst_element_set_state), (activate_pads),
16325 (gst_element_save_thyself):
16326 * gst/gstevent.c: (gst_event_new_newsegment):
16328 * gst/gstiterator.c:
16329 * gst/gstiterator.h:
16332 * gst/gstutils.c: (gst_pad_query_convert):
16334 fixed parameter name mismatches between source, header and docs
16335 added some more docs, resolved the last batch of unused elements in
16336 docs (now someone needs to doc them)
16338 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16340 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16341 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16342 don't walk through the plugins backwards. Where is all this
16343 reversed logic coming from ?
16345 2005-08-25 Wim Taymans <wim@fluendo.com>
16347 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16348 (gst_base_transform_transform_size),
16349 (gst_base_transform_configure_caps),
16350 (gst_base_transform_get_unit_size),
16351 (gst_base_transform_buffer_alloc),
16352 (gst_base_transform_change_state):
16353 * gst/base/gstbasetransform.h:
16354 Cache caps unit_size.
16355 Make sure we cannot negotiate up and downstream at the
16358 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16360 * gst/gst.c: (init_pre), (init_post):
16361 register the installed plugin path after the env var
16362 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16363 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16364 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16365 directories, so the tests can prefer uninstalled over installed
16367 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16369 * gst/base/gstbasetransform.h:
16374 2005-08-25 Wim Taymans <wim@fluendo.com>
16376 * gst/gstbin.c: (bin_bus_handler):
16377 Be a bit more conservative about the posted message.
16379 * gst/gstbus.c: (gst_bus_post):
16380 Some cleanups, warn wrong return values.
16382 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
16384 * check/gst/gstbin.c: (GST_START_TEST):
16385 * gst/gstbin.c: (bin_bus_handler):
16386 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16387 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16388 (gst_message_new_warning), (gst_message_new_tag),
16389 (gst_message_new_state_changed), (gst_message_new_segment_start),
16390 (gst_message_new_segment_done), (gst_message_new_custom):
16391 * gst/gstmessage.h:
16392 * tools/gst-launch.c: (event_loop):
16393 * tools/gst-md5sum.c: (event_loop):
16394 Revert unpopular change for GST_MESSAGE_SRC to GObject.
16396 2005-08-25 Wim Taymans <wim@fluendo.com>
16398 * check/generic/states.c: (GST_START_TEST):
16399 Cleanup can be done at the end.
16401 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
16402 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16403 (gst_task_get_state), (gst_task_start), (gst_task_pause):
16404 Oh boy.. Thanks for finding this, Thomas.
16406 2005-08-25 Stefan Kost <ensonic@users.sf.net>
16408 * docs/gst/gstreamer.types:
16409 added missing types
16411 2005-08-25 Stefan Kost <ensonic@users.sf.net>
16413 * docs/gst/gstreamer-docs.sgml:
16414 * docs/gst/gstreamer-sections.txt:
16415 * docs/gst/tmpl/.cvsignore:
16417 * gst/gstiterator.c:
16419 * gst/registries/gstxmlregistry.h:
16420 added missing classes and symbols (123 more to go)
16421 removed removed symbols from section file
16422 fixed many doc-comments
16424 2005-08-24 Wim Taymans <wim@fluendo.com>
16426 * check/generic/states.c: (GST_START_TEST):
16427 Make sure all tasks are stopped.
16429 * check/gst/gstbin.c: (GST_START_TEST):
16430 Unref after usage for proper valgrinding.
16432 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
16433 Really wait for the task to stop before destroying the
16436 * gst/gstqueue.c: (gst_queue_sink_activate_push),
16437 (gst_queue_src_activate_push):
16438 Small cleanups. Don't stop the task when we did not start
16441 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
16442 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16443 (gst_task_get_state), (gst_task_start), (gst_task_pause),
16446 Protect the stream lock with the object lock.
16447 Disallow setting the stream lock when running.
16448 Add cleanup_all to wait for the threadpool to finish.
16449 Remove code to autoallocate a mutex if none was provided.
16450 Add _join() to wait for a task to stop.
16451 Protect the thread pool with a global lock.
16453 2005-08-24 Wim Taymans <wim@fluendo.com>
16455 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16456 (gst_base_sink_get_times), (gst_base_sink_do_sync),
16457 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
16458 * gst/base/gstbasesink.h:
16459 Handle newsegment events correctly.
16460 Drop buffers out of the segment range.
16462 2005-08-22 Andy Wingo <wingo@pobox.com>
16464 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
16465 macro, implements an interface and gstimplementsinterface for a
16468 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
16470 * check/Makefile.am:
16471 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
16472 add a test that does a bunch of state changes on elements
16473 needs some fixing for valgrind
16474 * check/states/sinks.c: (gst_object_suite):
16477 add prototype for gst_caps_is_equal_fixed
16479 * gst/gstregistrypool.c:
16482 2005-08-24 Andy Wingo <wingo@pobox.com>
16484 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
16485 convert a negative value. Doesn't make much sense. Mostly this is
16486 here to force callers to ensure -1 maps to -1.
16488 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
16490 * docs/pwg/advanced-types.xml:
16491 Well done to Michael for catching my deliberate introduction
16492 of this spelling mistake.
16493 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
16494 * gst/gstelement.h:
16495 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
16496 unlink pads before removing the element from the bin.
16498 2005-08-24 Andy Wingo <wingo@pobox.com>
16500 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
16501 the same thing as GST_DEBUG=*:4.
16502 (parse_debug_level, parse_debug_category): New helper parsers.
16504 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
16506 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16507 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
16508 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
16509 (gst_base_transform_buffer_alloc),
16510 (gst_base_transform_handle_buffer):
16511 use gboolean return values and pointers to size so we can use the
16512 full GST_BUFFER_SIZE range (guint) for buffer sizes
16513 use GstPadDirection for transform_caps
16514 * gst/base/gstbasetransform.h:
16515 rename get_size to get_unit_size since that's what it is
16516 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
16517 use GstPadDirection for transform_caps
16518 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
16520 cleanup and debugging
16522 2005-08-24 Stefan Kost <ensonic@users.sf.net>
16524 * gst/gstelement.c: (gst_element_class_init),
16525 (gst_element_set_state), (activate_pads),
16526 (gst_element_save_thyself):
16527 * tools/gst-compprep.c: (main):
16528 * tools/gst-inspect.c: (print_element_properties_info):
16529 * tools/gst-xmlinspect.c: (print_element_properties):
16530 Fixed long standing mem-leak
16532 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
16534 * check/gst/gstbin.c: (GST_START_TEST):
16535 * gst/gstbin.c: (bin_bus_handler):
16536 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16537 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16538 (gst_message_new_warning), (gst_message_new_tag),
16539 (gst_message_new_state_changed), (gst_message_new_segment_start),
16540 (gst_message_new_segment_done), (gst_message_new_custom):
16541 * gst/gstmessage.h:
16542 * tools/gst-launch.c: (event_loop):
16543 * tools/gst-md5sum.c: (event_loop):
16544 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
16545 that applications can sensibly post custom messages with references
16546 to their own objects.
16548 2005-08-24 Andy Wingo <wingo@pobox.com>
16550 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
16553 2005-08-24 Wim Taymans <wim@fluendo.com>
16555 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16556 (gst_base_transform_transform_caps),
16557 (gst_base_transform_transform_size),
16558 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16559 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16560 (gst_base_transform_handle_buffer):
16561 * gst/base/gstbasetransform.h:
16562 Many fixes and new features added by Thomas. Can now also do
16563 transforms with variable sizes and a custom fixate_caps function.
16565 2005-08-24 Wim Taymans <wim@fluendo.com>
16567 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
16571 Cast to ClockTime before formatting to time.
16576 2005-08-24 Stefan Kost <ensonic@users.sf.net>
16578 * check/gst-libs/controller.c: (GST_START_TEST),
16579 (gst_controller_suite):
16580 * docs/gst/tmpl/gstcaps.sgml:
16581 * docs/gst/tmpl/gstghostpad.sgml:
16582 * docs/gst/tmpl/gstquery.sgml:
16583 * docs/gst/tmpl/gstutils.sgml:
16584 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
16585 (gst_object_sink_values), (gst_object_get_value_arrays),
16586 (gst_object_get_value_array):
16587 gracefully handle helper method calls to objects that are not beeing
16588 controlled, added test case for that
16590 2005-08-23 Wim Taymans <wim@fluendo.com>
16592 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
16593 (gst_event_new_newsegment), (gst_event_parse_newsegment),
16594 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
16595 (gst_event_parse_qos), (gst_event_new_seek),
16596 (gst_event_parse_seek):
16598 Some more debugging output and doc cleanups.
16600 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16601 Fix possible deadlock.
16603 2005-08-23 Stefan Kost <ensonic@users.sf.net>
16605 * docs/gst/gstreamer-docs.sgml:
16606 * docs/gst/gstreamer-sections.txt:
16607 * docs/gst/gstreamer.types:
16608 * docs/gst/tmpl/.cvsignore:
16611 * gst/gstelement.c:
16613 added 100 symbols from gstreamer-unused.txt to the right sections
16614 fixed more broken comments
16615 added GstBus to docs
16617 2005-08-23 Stefan Kost <ensonic@users.sf.net>
16619 * docs/gst/gstreamer-sections.txt:
16620 * docs/gst/tmpl/.cvsignore:
16621 * docs/gst/tmpl/gstbin.sgml:
16622 * docs/gst/tmpl/gstbuffer.sgml:
16623 * gst/base/gstbasesrc.c:
16624 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
16627 * tools/gst-launch.1.in:
16628 inlined more doc comments, added missing comments and fixed comments
16631 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
16633 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
16637 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
16639 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
16640 * gst/gststructure.h:
16641 add a fixate function for booleans; add a FIXME that these func
16642 names should probably be gst_structure_fixate_*
16644 2005-08-23 Stefan Kost <ensonic@users.sf.net>
16646 * docs/gst/gstreamer-docs.sgml:
16647 * docs/gst/gstreamer-sections.txt:
16649 * gst/gstbin.c: (gst_bin_get_type),
16650 (gst_bin_child_proxy_get_child_by_index),
16651 (gst_bin_child_proxy_get_children_count),
16652 (gst_bin_child_proxy_init):
16653 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16654 (gst_child_proxy_get_child_by_index),
16655 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
16656 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
16657 (gst_child_proxy_get), (gst_child_proxy_set_property),
16658 (gst_child_proxy_set_valist), (gst_child_proxy_set),
16659 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
16660 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
16661 * gst/gstchildproxy.h:
16662 * gst/parse/grammar.y:
16663 * tools/gst-inspect.c: (print_interfaces),
16664 (print_element_properties_info), (print_element_info):
16665 ported gstchildproxy over from 0.8
16666 ported gst-inspect fixes and enhancements over from 0.8
16668 2005-08-22 Wim Taymans <wim@fluendo.com>
16670 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16671 (gst_base_transform_handle_buffer):
16672 Also call the transform function if we have ANY caps.
16674 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
16677 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
16679 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
16680 Don't pretend to handle seek events if the source is not seekable
16682 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
16684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16685 Remove extra parameter to debug output
16687 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16688 (gst_base_src_do_seek), (gst_base_src_activate_push):
16689 Fix seek event handling.
16691 * gst/gstpipeline.c: (gst_pipeline_change_state):
16692 * gst/gstqueue.c: (gst_queue_handle_sink_event),
16693 (gst_queue_src_activate_push):
16694 Don't start the src pad task on FLUSH_STOP if the pad
16698 2005-08-22 Wim Taymans <wim@fluendo.com>
16700 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
16701 Added check for gst_static_caps_get() refcounting.
16703 2005-08-22 Wim Taymans <wim@fluendo.com>
16705 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
16706 Make _static_caps_get() refcounting sane.
16708 * gst/gstelement.c: (gst_element_set_state):
16709 Add g_return_val_if_fail() to protect against segfaults.
16711 2005-08-22 Stefan Kost <ensonic@users.sf.net>
16713 * docs/gst/tmpl/gstevent.sgml:
16716 inlined remaining docs, added missing doc comments
16718 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
16720 * check/gst/gstbin.c: (GST_START_TEST):
16721 since we don't know when preroll is done, use refcount range
16723 * gst/check/gstcheck.h:
16724 add macro for checking refcount range
16726 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
16728 * check/Makefile.am:
16729 clean up environment for when registry gets built versus
16730 when actual tests are run; valgrind seems to not report
16731 leaks if GST_PLUGIN_PATH is set to some specific values
16732 * check/gst/gstbin.c: (GST_START_TEST):
16733 add more refcounting checks; maybe this exposes a
16735 * common/check.mak:
16736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16737 * gst/check/gstcheck.h:
16738 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
16739 (gst_bin_change_state):
16740 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
16741 add/fix debugging/whitespace
16743 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
16745 * check/gst/gstevent.c: (event_probe), (test_event),
16747 Er, don't call gst_bin_watch_for_state_change you idiot.
16749 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
16751 * check/Makefile.am:
16752 Use CHECK_CFLAGS and CHECK_LIBS
16753 * check/gst/gstevent.c: (event_probe), (test_event),
16756 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16757 (gst_base_src_start), (gst_base_src_stop),
16758 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16759 (gst_base_src_change_state):
16760 Sprinkle gst_base_src_stop liberally around error paths to fix
16761 problems reusing a source after failed state changes.
16762 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16763 (helper_find_suggest), (gst_type_find_helper):
16764 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
16766 * docs/gst/tmpl/gstevent.sgml:
16767 Migrate part of the docs from the SGML file. Wait for ensonic to
16768 tell me how I did it wrong ;)
16769 * tools/gst-typefind.c: (main):
16770 Extra robustness to state changes between files.
16772 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
16774 * check/Makefile.am:
16775 don't valgrind the controller test - it's leaking - Stefan, HELP
16776 * gst/check/gstcheck.c: (gst_check_message_error),
16777 (gst_check_chain_func), (gst_check_setup_element),
16778 (gst_check_teardown_element), (gst_check_setup_src_pad),
16779 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
16780 (gst_check_teardown_sink_pad):
16781 * gst/check/gstcheck.h:
16782 add a bunch of methods to set up elements, and src and sink pads
16783 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
16784 * check/elements/identity.c: (setup_identity), (cleanup_identity),
16787 * gst/gstmessage.c:
16789 whitespace/doc fixes
16791 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16793 * gst/gstelement.h:
16794 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
16795 be handled by the application and not always printed as well
16797 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16799 * check/Makefile.am:
16801 * gst/check/gstcheck.c: (gst_check_message_error):
16802 * gst/check/gstcheck.h:
16803 add a fail_unless_equals_int
16804 add fail_unless for error messages
16806 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16808 * check/Makefile.am:
16810 * common/Makefile.am:
16811 * common/check.mak:
16813 factor out some of the common stuff so we can use it
16815 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16817 * check/Makefile.am:
16818 * check/gst/gstiterator.c: (GST_START_TEST):
16819 * check/gst/gstsystemclock.c: (GST_START_TEST),
16820 (gst_systemclock_suite):
16821 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16823 valgrind more tests
16825 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16827 * check/elements/.cvsignore:
16828 * check/elements/gstfakesrc.c:
16829 rename to name of element
16830 * check/elements/identity.c: (chain_func), (event_func),
16831 (setup_identity), (cleanup_identity), (GST_START_TEST),
16832 (identity_suite), (main):
16833 add a test for identity
16834 * check/Makefile.am:
16835 * pkgconfig/Makefile.am:
16836 * pkgconfig/gstreamer-check.pc.in:
16837 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16841 move the check stuff to a library that gets installed
16842 * check/gst-libs/controller.c: (GST_START_TEST):
16843 * check/gst-libs/gdp.c:
16844 * check/gst/gst.c: (GST_START_TEST):
16845 * check/gst/gstbin.c:
16846 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16847 * check/gst/gstbus.c:
16848 * check/gst/gstcaps.c: (GST_START_TEST):
16849 * check/gst/gstelement.c:
16850 * check/gst/gstghostpad.c:
16851 * check/gst/gstiterator.c:
16852 * check/gst/gstmessage.c:
16853 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
16854 * check/gst/gstobject.c:
16855 * check/gst/gstpad.c: (GST_START_TEST):
16856 * check/gst/gststructure.c: (GST_START_TEST):
16857 * check/gst/gstsystemclock.c: (GST_START_TEST),
16858 (gst_systemclock_suite):
16859 * check/gst/gsttag.c: (gst_tag_suite):
16860 * check/gst/gstvalue.c:
16861 * check/pipelines/cleanup.c:
16862 * check/pipelines/simple_launch_lines.c:
16863 * check/states/sinks.c:
16864 change include statement
16866 * docs/gst/gstreamer-sections.txt:
16867 * docs/gst/tmpl/gstpad.sgml:
16868 document more pad stuff
16869 * gst/gstminiobject.c: (gst_mini_object_ref),
16870 (gst_mini_object_unref):
16873 2005-08-19 Stefan Kost <ensonic@users.sf.net>
16875 * docs/gst/tmpl/gst.sgml:
16877 eliminate another tmpl file, fix spelling in the long-description
16879 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
16881 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
16882 (test_event), (timediff), (gstevents_suite):
16883 Should fix build on 64-bit arch's
16885 2005-08-18 Andy Wingo <wingo@pobox.com>
16887 Make sure that when a pipeline goes to PLAYING, that data has
16888 actually hit the sink.
16890 * check/states/sinks.c (test_sink): A sink that doesn't get any
16891 data shouldn't return SUCCESS for going to either PLAYING or
16892 PAUSED. Test also the return values on the way back down.
16894 * gst/gstelement.c (gst_element_set_state): When changing the
16895 state of an element currently changing state asynchronously, go to
16896 lost-state after commiting the pending state. Makes future calls
16897 to get_state continue to return ASYNC.
16899 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
16900 ASYNC when going to PLAYING if we still don't have preroll, as can
16901 happen with live sources.
16903 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
16905 * docs/pwg/advanced-types.xml:
16906 Hack long paragraph into 2 chunks as a workaround for buggy
16907 jadetex version in sid and breezy that loops infinitely and
16910 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
16912 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
16913 (test_event), (timediff), (gstevents_suite):
16914 Provide more error margin in clock measurements to allow for
16915 g_get_current_time inaccuracies.
16917 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
16919 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
16920 (test_event), (timediff), (gstevents_suite):
16921 Fix error message output so I might be able to tell why the
16922 test works here but fails on the build farm.
16924 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
16926 * check/Makefile.am:
16927 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
16928 (test_event), (timediff), (gstevents_suite), (main):
16931 * docs/design/part-seeking.txt:
16932 Spelling correction
16934 * docs/gst/tmpl/gstevent.sgml:
16935 * docs/gst/tmpl/gstfakesrc.sgml:
16938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16939 Treat a buffer-without-newsegment the same as a receiving
16940 a newsegment not in time format, and disable syncing to the clock
16943 * gst/gstbus.c: (gst_bus_set_sync_handler):
16944 Assert if anyone tries to replace the existing sync_handler for bus,
16945 as only the owner should be setting it.
16948 Have a fixed set of custom event enums with events identified by
16949 their structure name (as in 0.8), rather than a free-for-all
16950 allowing collisions between enum values from different plugins.
16952 * gst/gstpad.c: (gst_pad_class_init):
16955 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16956 Handle out-of-band downstream events from the sending thread.
16958 2005-08-17 Andy Wingo <wingo@pobox.com>
16960 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
16961 play-timeout==0 to mean no timeout at all. In that case, don't
16962 bother with a get_state or a warning, just return directly, even
16965 * gst/base/gstbasetransform.c: Debug changes.
16968 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
16969 ensure bins post state change messages. A bit of a hack but I can't
16970 think of a way to avoid it.
16972 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
16974 2005-08-16 Andy Wingo <wingo@pobox.com>
16976 * gst/base/gstadapter.h:
16977 * gst/base/gstadapter.c (gst_adapter_take): New function, like
16978 peek() but you own the data. Not terribly efficient atm.
16980 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16982 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
16983 (gst_element_found_tags):
16985 Add two utility functions for tag handling.
16987 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16989 * docs/manual/advanced-dataaccess.xml:
16990 * docs/manual/basics-helloworld.xml:
16991 Fix docs to use _bin_add() before _link(), which fixes the examples
16992 with recent core versions (reported by Madhan Raj M
16993 <raj_madan@rediffmail.com>, #313199).
16995 2005-08-16 Wim Taymans <wim@fluendo.com>
16997 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16998 Added subtract checks.
17000 * docs/design/part-events.txt:
17001 Some more docs about newsegment
17003 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17006 * gst/gstcaps.c: (gst_caps_to_string):
17007 Add comments, cleanups.
17009 * gst/gstelement.c: (gst_element_save_thyself):
17012 * gst/gstvalue.c: (gst_value_collect_int_range),
17013 (gst_string_unwrap), (gst_value_union_int_int_range),
17014 (gst_value_union_int_range_int_range),
17015 (gst_value_intersect_int_int_range),
17016 (gst_value_intersect_int_range_int_range),
17017 (gst_value_intersect_double_double_range),
17018 (gst_value_intersect_double_range_double_range),
17019 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17020 (gst_value_subtract_int_range_int),
17021 (gst_value_subtract_double_range_double),
17022 (gst_value_subtract_double_range_double_range),
17023 (gst_value_subtract_from_list), (gst_value_subtract_list),
17024 (gst_value_can_compare), (gst_value_compare_fraction):
17025 Cleanups, add comments, remove unneeded asserts.
17027 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17029 * tools/gst-launch.c: (event_loop):
17030 don't convert NULL structures to strings
17032 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17034 * docs/gst/gstreamer-sections.txt:
17035 made some defines private
17036 * docs/gst/tmpl/gstconfig.sgml:
17037 * docs/gst/tmpl/gstqueue.sgml:
17038 * docs/gst/tmpl/gsttaglist.sgml:
17039 * docs/gst/tmpl/gsttypes.sgml:
17040 * docs/gst/tmpl/gstutils.sgml:
17041 * docs/pwg/appendix-porting.xml:
17042 * gst/base/gstbasesink.h:
17043 * gst/base/gstbasesrc.c:
17044 * gst/base/gstbasesrc.h:
17045 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17046 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17047 * gst/gstelement.c: (gst_element_class_init):
17048 * gst/gstpad.c: (gst_pad_class_init):
17049 * gst/gstqueue.c: (gst_queue_class_init):
17050 * gst/gstxml.c: (gst_xml_class_init):
17051 documented all undocumented signal inline
17052 * libs/gst/controller/gst-controller.h:
17055 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17057 * docs/pwg/appendix-porting.xml:
17058 Document _set_link_function -> _set_setcaps_function.
17060 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17062 * check/Makefile.am:
17063 add a .check target for running the check
17064 * check/gst-libs/controller.c: (GST_START_TEST):
17066 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17067 complete checks for gstbuffer; would be nice if I could get the
17068 gcov stuff to work so I can see if I actually completed gstbuffer.c
17069 * check/gstcheck.h:
17070 add ASSERT_BUFFER_REFCOUNT
17072 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17074 * docs/gst/gstreamer-sections.txt:
17075 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17077 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17078 spew out a warning if a tag that is already registered
17079 is re-registered, unless it is re-registered with a
17080 different type (#308438).
17082 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17084 * docs/pwg/appendix-porting.xml:
17085 * docs/pwg/building-state.xml:
17086 Add some paragraphs about state changes in 0.9 to the PWG
17087 and the porting guide, in particular about the new meaning
17088 of GST_STATE_PAUSED and how to write state change functions
17089 with concurrent access by multiple threads in mind.
17091 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17093 * docs/gst/gstreamer-docs.sgml:
17094 * docs/libs/gstreamer-libs-docs.sgml:
17095 added deprecation and since indexes
17096 * libs/gst/controller/gst-controller.c:
17097 * libs/gst/controller/gst-helper.c:
17101 2005-08-11 Wim Taymans <wim@fluendo.com>
17103 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17104 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17105 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17106 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17107 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17108 (gst_ghost_pad_set_target):
17109 Actually implement (re)setting the target on a ghostpad
17110 as described in the docs.
17112 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17114 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17115 Check whether GST_DEBUG_NO_COLOR environment variable is
17116 set and disable coloured debug output if that is the case.
17118 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17120 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17121 (gst_type_find_helper):
17122 The memory returned by gst_type_find_peek() needs to
17123 stay valid until the end of a typefind function, and
17124 typefind functions may keep results from different
17125 offsets around, so we can't just unref the buffer from
17126 the previous _peek(), but have to save all buffers
17127 returned by _peek() until typefinding is done and only
17130 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17132 * docs/gst/gstreamer-sections.txt:
17134 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17136 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17138 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17139 Fix a pretty good memleak.
17141 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17143 * gst/gstiterator.h:
17144 Fix wrong include and 'make distcheck'.
17146 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17148 * gst/gstbin.c: (bin_bus_handler):
17149 Use gst_element_post_message() instead.
17151 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17153 * gst/base/gstadapter.h:
17154 * gst/base/gstbasesink.h:
17155 * gst/base/gstbasesrc.h:
17156 * gst/base/gstbasetransform.h:
17157 * gst/base/gstcollectpads.h:
17158 * gst/base/gstpushsrc.h:
17159 * gst/gstiterator.h:
17160 Add padding to our base elements' class and instance structs and
17161 to GstIterator (you will need to rebuild all plugins and apps!)
17163 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17165 * gst/gstbin.c: (bin_bus_handler):
17166 Make default message forwarding from child->bus to bin->bus
17167 threadsafe and make it not emit warnings if the parent has no bus.
17169 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17171 * gst/gstelement.c: (activate_pads):
17172 On paused->ready, set pad->caps to NULL, as is the documented
17173 behaviour in this state change. Fixes playback of series of
17174 media files when visualization is enabled in Totem.
17176 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17178 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17179 Allow NULL as filter-caps (which means "any").
17181 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17183 * docs/libs/gstreamer-libs-sections.txt:
17184 * libs/gst/controller/gst-controller.c:
17185 * libs/gst/controller/gst-controller.h:
17186 * libs/gst/controller/gst-helper.c:
17187 adding more entries to the docs and fix small doc-bugs
17189 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17191 * docs/gst/gstreamer-docs.sgml:
17192 * docs/gst/gstreamer-sections.txt:
17193 * docs/gst/gstreamer.types:
17194 * docs/gst/tmpl/gstbasesink.sgml:
17195 * docs/gst/tmpl/gstbasesrc.sgml:
17196 * docs/gst/tmpl/gstbasetransform.sgml:
17197 * docs/gst/tmpl/gstfakesrc.sgml:
17198 * gst/base/gstcollectpads.c:
17199 * gst/base/gstcollectpads.h:
17200 * libs/gst/controller/gst-controller.c:
17201 * libs/gst/controller/gst-controller.h:
17202 * libs/gst/controller/gst-helper.c:
17203 * libs/gst/controller/gst-interpolation.c:
17204 * libs/gst/controller/lib.c:
17205 added long/short desc for controller docs
17206 added collectpads base class docs
17207 added correct includes to base-class docs
17209 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17211 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17212 (gst_test_mono_source_set_property),
17213 (gst_test_mono_source_class_init), (GST_START_TEST),
17214 (gst_controller_suite):
17215 * docs/gst/gstreamer-docs.sgml:
17216 * docs/gst/gstreamer-sections.txt:
17217 * docs/gst/gstreamer.types:
17218 * docs/libs/gstreamer-libs-docs.sgml:
17219 * docs/libs/gstreamer-libs-sections.txt:
17220 * gst/base/gstadapter.c:
17221 * libs/gst/controller/gst-controller.c:
17222 (gst_controlled_property_new), (gst_controlled_property_free),
17223 (gst_controller_new_valist),
17224 (gst_controller_remove_properties_valist),
17225 (gst_controller_sink_values), (_gst_controller_finalize):
17226 * libs/gst/controller/gst-controller.h:
17227 * libs/gst/controller/gst-helper.c:
17228 (gst_object_control_properties), (gst_object_uncontrol_properties),
17229 (gst_object_get_controller), (gst_object_set_controller),
17230 (gst_object_sink_values), (gst_object_get_value_arrays),
17231 (gst_object_get_value_array):
17232 more tests (and fixes) for the controller
17233 more docs for the controller
17234 integrated companies docs for the adapter
17236 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
17238 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17239 (GST_START_TEST), (fakesrc_suite):
17240 add tests for sizetype
17242 2005-08-04 Andy Wingo <wingo@pobox.com>
17244 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17245 fixes buffer_alloc proxying among other things.
17247 * gst/base/gstbasetransform.c:
17248 * gst/base/gstbasetransform.h:
17249 Revert patch to gstbasetransform from 7-28 removing
17252 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17253 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17254 Semantics changed, should return not the size of the output buffer
17255 but the byte size of a buffer with a given caps.
17257 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17259 (gst_base_transform_configure_caps): Don't set out_size here: (in,
17260 out) are not the pad caps until setcaps finishes.
17261 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17262 not-in-place case as well. Deal with changing from in-place to
17263 not-in-place within calling pad_alloc_buffer. Still a bit
17264 concerned about the overhead here...
17266 2005-08-03 Andy Wingo <wingo@pobox.com>
17268 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17269 fixating is an error.
17271 2005-08-04 Edward Hervey <edward@fluendo.com>
17273 * gst/base/gstadapter.h:
17274 Added gst_adapter_get_type() to the header
17276 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17278 * check/Makefile.am:
17279 * check/gst-libs/controller.c:
17280 * libs/gst/controller/gst-controller.c:
17281 (gst_controller_new_valist):
17282 added check test suite for the controller
17283 * gst/base/gstpushsrc.c:
17286 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17288 * docs/gst/Makefile.am:
17289 * docs/gst/gstreamer-docs.sgml:
17290 * docs/gst/gstreamer-sections.txt:
17291 * docs/gst/gstreamer.types:
17292 * docs/gst/tmpl/gstfakesrc.sgml:
17294 * gst/base/gstbasesink.c:
17295 * gst/base/gstbasesink.h:
17296 * gst/base/gstbasesrc.c:
17297 * gst/base/gstbasesrc.h:
17298 * gst/base/gstbasetransform.c:
17299 * gst/base/gstpushsrc.c:
17300 * gst/base/gstpushsrc.h:
17301 add short/long description docs to base classes
17302 add pushsrc to the docs
17303 remove consolidated doc fragments
17305 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17308 * docs/libs/Makefile.am:
17309 * docs/libs/gstreamer-libs-docs.sgml:
17310 * docs/libs/gstreamer-libs-sections.txt:
17311 * docs/libs/gstreamer-libs.types:
17312 * examples/Makefile.am:
17313 * examples/controller/.cvsignore:
17314 * examples/controller/Makefile.am:
17315 * examples/controller/audio-example.c: (main):
17316 * libs/gst/Makefile.am:
17317 * libs/gst/controller/.cvsignore:
17318 * libs/gst/controller/Makefile.am:
17319 * libs/gst/controller/gst-controller.c:
17320 (on_object_controlled_property_changed), (gst_timed_value_compare),
17321 (gst_timed_value_find),
17322 (gst_controlled_property_set_interpolation_mode),
17323 (gst_controlled_property_new), (gst_controlled_property_free),
17324 (gst_controller_find_controlled_property),
17325 (gst_controller_new_valist), (gst_controller_new),
17326 (gst_controller_remove_properties_valist),
17327 (gst_controller_remove_properties), (gst_controller_set),
17328 (gst_controller_set_from_list), (gst_controller_unset),
17329 (gst_controller_get), (gst_controller_get_all),
17330 (gst_controller_sink_values), (gst_controller_get_value_arrays),
17331 (gst_controller_get_value_array),
17332 (gst_controller_set_interpolation_mode),
17333 (_gst_controller_finalize), (_gst_controller_init),
17334 (_gst_controller_class_init), (gst_controller_get_type):
17335 * libs/gst/controller/gst-controller.h:
17336 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17337 (g_object_uncontrol_properties), (g_object_get_controller),
17338 (g_object_set_controller), (g_object_sink_values),
17339 (g_object_get_value_arrays), (g_object_get_value_array):
17340 * libs/gst/controller/gst-interpolation.c:
17341 (gst_controlled_property_find_timed_value_node),
17342 (interpolate_none_get), (interpolate_trigger_get),
17343 (interpolate_trigger_get_value_array):
17344 * libs/gst/controller/lib.c: (gst_controller_init):
17345 * pkgconfig/Makefile.am:
17346 * pkgconfig/gstreamer-control-uninstalled.pc.in:
17347 * pkgconfig/gstreamer-control.pc.in:
17348 * testsuite/Makefile.am:
17349 * testsuite/controller/.cvsignore:
17350 * testsuite/controller/Makefile.am:
17351 * testsuite/controller/interpolator.c: (main):
17352 added controller code
17353 removed dparam pc files
17355 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17356 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17357 (gst_collectpads_stop):
17358 Broadcast the condition when shutting down, to make sure we wake all
17359 threads up. Shut down pads on finalize, for safety.
17361 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17362 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17363 (gst_base_transform_handle_buffer),
17364 (gst_base_transform_change_state):
17365 Handle PAUSED->READY->PAUSED transition after negotiation
17367 * gst/gstmessage.c: (gst_message_init):
17368 Extra piece of debug for new messages.
17370 2005-08-01 Stefan Kost <ensonic@users.sf.net>
17373 * docs/gst/tmpl/gstbasesrc.sgml:
17374 * docs/gst/tmpl/gstelement.sgml:
17375 * docs/gst/tmpl/gstevent.sgml:
17376 * docs/gst/tmpl/gstfakesrc.sgml:
17377 * docs/gst/tmpl/gstformat.sgml:
17378 * docs/gst/tmpl/gstghostpad.sgml:
17379 * docs/gst/tmpl/gstpad.sgml:
17380 * docs/gst/tmpl/gstquery.sgml:
17381 * docs/gst/tmpl/gststructure.sgml:
17382 * docs/gst/tmpl/gsttaglist.sgml:
17383 * docs/gst/tmpl/gstvalue.sgml:
17384 * docs/libs/gstreamer-libs-docs.sgml:
17385 * docs/libs/gstreamer-libs-sections.txt:
17386 * docs/libs/gstreamer-libs.types:
17387 * libs/gst/Makefile.am:
17388 * libs/gst/control/.cvsignore:
17389 * libs/gst/control/Makefile.am:
17390 * libs/gst/control/control.c:
17391 * libs/gst/control/control.h:
17392 * libs/gst/control/dparam.c:
17393 * libs/gst/control/dparam.h:
17394 * libs/gst/control/dparam_smooth.c:
17395 * libs/gst/control/dparam_smooth.h:
17396 * libs/gst/control/dparamcommon.h:
17397 * libs/gst/control/dparammanager.c:
17398 * libs/gst/control/dparammanager.h:
17399 * libs/gst/control/dplinearinterp.c:
17400 * libs/gst/control/dplinearinterp.h:
17401 * libs/gst/control/unitconvert.c:
17402 * libs/gst/control/unitconvert.h:
17403 * testsuite/Makefile.am:
17404 * testsuite/dynparams/.cvsignore:
17405 * testsuite/dynparams/Makefile.am:
17406 * testsuite/dynparams/dparamstest.c:
17407 * tools/Makefile.am:
17408 * tools/gst-inspect.c: (print_element_info), (main):
17409 * tools/gst-xmlinspect.c: (print_element_info), (main):
17410 deactivate and remove dparams (libgstcontrol)
17412 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17414 * gst/elements/gsttypefindelement.c:
17415 (gst_type_find_element_have_type), (gst_type_find_element_init),
17416 (stop_typefinding), (gst_type_find_element_handle_event),
17417 (gst_type_find_element_chain), (gst_type_find_element_getrange):
17418 * gst/elements/gsttypefindelement.h:
17419 Set caps on all outgoing buffers, not just the first one.
17421 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17423 * gst/elements/gsttypefindelement.c:
17424 (gst_type_find_element_have_type),
17425 (gst_type_find_element_check_set_buffer_caps),
17426 (gst_type_find_element_init), (stop_typefinding),
17427 (gst_type_find_element_handle_event),
17428 (gst_type_find_element_chain), (gst_type_find_element_getrange):
17429 * gst/elements/gsttypefindelement.h:
17430 Set caps on first outgoing buffer when we've found the type.
17432 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17434 * docs/gst/gstreamer-docs.sgml:
17435 * docs/gst/gstreamer-sections.txt:
17436 * docs/gst/tmpl/gstscheduler.sgml:
17437 * docs/gst/tmpl/gstschedulerfactory.sgml:
17438 Remove some old cruft from docs.
17440 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
17443 Fix inline docs for GstPadLinkReturn.
17445 * gst/gststructure.c: (gst_structure_has_name):
17446 * gst/gststructure.h:
17447 * docs/gst/gstreamer-sections.txt:
17448 New API: gst_structure_has_name().
17450 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
17453 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
17454 and _LARGEFILE_SOURCE in config.h as required. Do not
17455 export those flags in our .pc files any longer (#142209).
17457 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
17459 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
17460 (gst_file_sink_do_seek), (gst_file_sink_event),
17461 (gst_file_sink_get_current_offset), (gst_file_sink_render):
17462 Redo seek/tell calls with large file support in mind; add some
17463 debugging messages; add log message that tells us when large
17464 file support is unavailable or not enabled for some reason.
17466 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
17467 Add log message that tells us when large file support
17468 is unavailable or not enabled for some reason.
17470 2005-07-29 Wim Taymans <wim@fluendo.com>
17472 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17473 Added test for removing an element with ghostpad from a bin.
17474 Fixed test as current implementation does the right thing.
17476 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
17477 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
17478 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
17479 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
17480 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
17481 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
17482 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
17483 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17484 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
17485 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
17486 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
17487 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
17488 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
17489 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
17490 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
17491 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
17492 * gst/gstghostpad.h:
17493 Clean up ghostpads, remove properties for internal stuff.
17496 Prepare for switching targets, not all use cases work yet.
17498 2005-07-29 Wim Taymans <wim@fluendo.com>
17500 * docs/design/part-gstghostpad.txt:
17503 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
17504 (gst_bin_remove_func):
17505 Unlinking pads while holding the bin LOCK is not a good
17508 * gst/gstpad.c: (gst_pad_class_init),
17509 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
17510 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
17511 No prob setting template after creating the pad.
17513 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
17515 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
17516 (gst_bus_peek), (gst_bus_source_dispatch),
17517 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
17518 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
17519 gst_bus_poll may be called from other threads. Handle
17520 this nicely by not making poll_data disappear off the
17521 stack once gst_bus_poll returns.
17522 gst_bus_peek now increments the refcount on the returned
17525 2005-07-29 Wim Taymans <wim@fluendo.com>
17527 * docs/design/part-gstghostpad.txt:
17528 Overview of current GhostPad datastructures and use
17529 cases for changing the target.
17531 2005-07-28 Wim Taymans <wim@fluendo.com>
17533 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17534 Added checks for hierarchy consistency whan adding linked
17537 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17538 Added check to test element scheduling without bin/pipeline.
17540 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17541 First add elements to bin, then link.
17543 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
17544 (gst_bin_remove_func):
17545 Unlink pads from elements added/removed from bin to maintain
17546 hierarchy consistency.
17548 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17550 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17551 (gst_base_transform_handle_buffer):
17552 * gst/base/gstbasetransform.h:
17553 Remove broken delay_configure (fixes renegotiation of software
17554 scaling pipelines); remove some leftover printf()s.
17556 2005-07-28 Wim Taymans <wim@fluendo.com>
17558 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17559 Added some more tests for wrong hierarchy
17561 * docs/design/part-overview.txt:
17564 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
17567 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
17568 (gst_element_dispose):
17569 Some more cleanups.
17571 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17572 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
17573 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
17574 (gst_pad_set_caps), (gst_pad_send_event):
17575 Check for correct hierarchy when linking pads. Moving to
17576 strict requirement for ghostpads when linking elements in
17580 Clean ups. Added WRONG_HIERARCHY return value.
17582 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17584 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
17585 Better debug if no transform is possible.
17587 2005-07-27 Wim Taymans <wim@fluendo.com>
17589 * docs/random/wtay/network-transp:
17590 Some old doc I had.
17592 2005-07-27 Wim Taymans <wim@fluendo.com>
17594 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17595 (gst_dp_event_from_packet):
17596 Fix serialization of seek events.
17598 2005-07-27 Wim Taymans <wim@fluendo.com>
17600 * check/gst-libs/gdp.c: (GST_START_TEST):
17601 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17602 Fix compilation and fix event serialization.
17604 2005-07-27 Wim Taymans <wim@fluendo.com>
17607 * docs/design/part-TODO.txt:
17608 * docs/design/part-events.txt:
17611 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17612 (gst_base_sink_event), (gst_base_sink_do_sync),
17613 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
17614 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17615 (gst_base_src_do_seek), (gst_base_src_event_handler),
17616 (gst_base_src_loop):
17617 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17618 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17619 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17620 (gst_base_transform_event), (gst_base_transform_handle_buffer),
17621 (gst_base_transform_set_passthrough),
17622 (gst_base_transform_is_passthrough):
17623 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17624 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17630 * gst/gstelement.c: (gst_element_seek):
17631 * gst/gstelement.h:
17632 Update gst_element_seek.
17634 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
17635 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
17636 (gst_event_new_flush_start), (gst_event_new_flush_stop),
17637 (gst_event_new_eos), (gst_event_new_newsegment),
17638 (gst_event_parse_newsegment), (gst_event_new_tag),
17639 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
17640 (gst_event_parse_qos), (gst_event_new_seek),
17641 (gst_event_parse_seek), (gst_event_new_navigation):
17643 Make GstEvent use GstStructure. Add parsing code, make sure the
17644 API is sufficiently generic.
17645 Mark possible directions of events and serialization.
17647 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
17648 (_gst_message_copy), (gst_message_new_segment_start),
17649 (gst_message_new_segment_done), (gst_message_new_custom),
17650 (gst_message_parse_segment_start),
17651 (gst_message_parse_segment_done):
17654 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
17655 (gst_pad_set_caps), (gst_pad_send_event):
17656 Update for new events.
17657 Catch events sent in wrong directions.
17659 * gst/gstqueue.c: (gst_queue_link_src),
17660 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17661 (gst_queue_handle_src_query):
17666 Remove event code from this file.
17668 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17669 (gst_dp_event_from_packet):
17672 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17674 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
17675 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17676 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
17677 Make debugging actually useful.
17679 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17681 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
17682 (gst_pad_fixate_caps):
17683 Implement default fixation once again, so that gst_pad_fixate()
17684 actually does anything at all. This probably needs to be some
17685 sort of a last resort, and use profile-based fixation first, but
17686 since that doesn't exist yet, this is the best we have. Fixes
17687 visualization in Totem.
17689 2005-07-22 Wim Taymans <wim@fluendo.com>
17691 * docs/design/part-events.txt:
17694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17695 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
17696 (gst_base_sink_activate_pull):
17697 Some more comments.
17699 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
17700 (gst_fake_src_create):
17701 Fix handoff marshall.
17703 * gst/elements/gstidentity.c: (gst_identity_class_init),
17704 (gst_identity_transform_ip):
17705 We're a real inplace element.
17707 * gst/gstbus.c: (gst_bus_post):
17708 Added some comments.
17710 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
17711 * tests/muxing/case1.c: (main):
17712 * tests/sched/dynamic-pipeline.c: (main):
17713 * tests/sched/interrupt1.c: (main):
17714 * tests/sched/interrupt2.c: (main):
17715 * tests/sched/interrupt3.c: (main):
17716 * tests/sched/runxml.c: (main):
17717 * tests/sched/sched-stress.c: (main):
17718 * tests/seeking/seeking1.c: (event_received), (main):
17719 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17721 * tests/threadstate/threadstate3.c: (main):
17722 * tests/threadstate/threadstate4.c: (main):
17723 * tests/threadstate/threadstate5.c: (main):
17726 2005-07-21 Wim Taymans <wim@fluendo.com>
17728 * docs/design/part-seeking.txt:
17729 Some small additions.
17731 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17732 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17733 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
17734 * gst/base/gstbasesink.h:
17735 discont values are gint64, handle the math correctly.
17737 * gst/base/gstbasesrc.c: (gst_base_src_loop):
17738 Make the basesrc report error if the source pad is not linked.
17740 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17741 (gst_queue_loop), (gst_queue_handle_src_query),
17742 (gst_queue_src_activate_push):
17743 Make queue collect data even if the srcpad is not linked.
17744 Start pushing out data as soon as it is linked.
17746 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
17748 Added gst_flow_get_name() to ease error reporting.
17750 2005-07-20 Wim Taymans <wim@fluendo.com>
17752 * gst/gstmessage.c: (gst_message_new_segment_start),
17753 (gst_message_new_segment_done), (gst_message_parse_segment_start),
17754 (gst_message_parse_segment_done):
17755 * gst/gstmessage.h:
17756 Added a bunch of messages for advanced seeking.
17758 * gst/parse/grammar.y:
17759 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
17760 (gst_dpman_state_changed):
17761 Fix some new-pad -> pad-added signals
17763 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17765 * docs/manual/appendix-porting.xml:
17766 * docs/pwg/appendix-porting.xml:
17767 Document new-pad/state-change signal renames and the FixedList
17770 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17772 * docs/manual/advanced-autoplugging.xml:
17773 * docs/manual/basics-helloworld.xml:
17774 * docs/manual/basics-pads.xml:
17775 * docs/random/ds/0.9-suggested-changes:
17776 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
17777 * gst/gstelement.h:
17781 * gst/gststructure.c: (gst_structure_value_get_generic_type),
17782 (gst_structure_parse_array), (gst_structure_parse_value):
17783 * gst/gstvalue.c: (gst_type_is_fixed),
17784 (gst_value_list_prepend_value), (gst_value_list_append_value),
17785 (gst_value_list_get_size), (gst_value_list_get_value),
17786 (gst_value_transform_array_string), (gst_value_serialize_array),
17787 (gst_value_deserialize_array), (gst_value_intersect_array),
17788 (gst_value_is_fixed), (_gst_value_initialize):
17790 GstElement::new-pad -> pad-added, GstElement::state-change ->
17791 state-changed, GstValueFixedList -> GstValueArray, add format and
17792 flags as their own arguments in gst_element_seek() (should improve
17793 "bindeability"), remove function generators since they don't work
17794 under a whole bunch of compilers (they were deprecated already
17797 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17799 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17800 (_gst_debug_register_funcptr):
17802 Fix illegal cast on some platforms (#309253).
17804 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17806 * gst/gstmessage.c: (gst_message_new_custom):
17807 * gst/gstmessage.h:
17808 Add _new_custom, make _new_application a macro to _new_custom.
17810 2005-07-20 Wim Taymans <wim@fluendo.com>
17812 * gst/base/gstbasesrc.c: (gst_base_src_init),
17813 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17814 * gst/base/gstbasesrc.h:
17815 Add a gboolean to decide when to push out a discont.
17817 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17818 (gst_queue_loop), (gst_queue_handle_src_query),
17819 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
17820 (gst_queue_set_property), (gst_queue_get_property):
17823 * tests/threadstate/threadstate1.c: (main):
17824 Make a thread test compile and run... very silly..
17827 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17829 * docs/manual/appendix-porting.xml:
17830 Mention removal of libgstgconf-0.9.la and existence of gconf
17833 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17835 * docs/pwg/advanced-clock.xml:
17836 * docs/pwg/appendix-porting.xml:
17837 * docs/pwg/intro-preface.xml:
17838 * docs/pwg/other-base.xml:
17839 * docs/pwg/other-manager.xml:
17840 * docs/pwg/other-nton.xml:
17841 * docs/pwg/other-ntoone.xml:
17842 * docs/pwg/other-oneton.xml:
17843 * docs/pwg/pwg.xml:
17844 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
17845 demuxer), remove n-to-n (was never written), fix some code examples
17846 and links and update the porting section to include all this.
17848 2005-07-19 Wim Taymans <wim@fluendo.com>
17850 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
17851 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
17852 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
17853 (gst_queue_src_activate_push), (gst_queue_change_state),
17854 (gst_queue_get_property):
17856 Propagate GstFlowReturn more intelligently upstream and output
17857 an ERROR/EOS when streaming stopped due to fatal error.
17859 2005-07-19 Wim Taymans <wim@fluendo.com>
17861 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17862 Don't block forever for the state change to complete, the
17863 pipeline already did with a sensible timeout.
17865 2005-07-19 Wim Taymans <wim@fluendo.com>
17867 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17868 Make sure we never call the create function is we
17871 2005-07-19 Andy Wingo <wingo@pobox.com>
17873 * gst/parse/parse.l: Attempt to solve bug #172815.
17875 2005-07-19 Wim Taymans <wim@fluendo.com>
17877 * docs/design/part-clocks.txt:
17878 * docs/design/part-events.txt:
17879 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
17880 Small docs updates.
17881 Only update the seeking values when we are not
17884 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
17886 * gst/base/gstbasesrc.c: (gst_base_src_loop):
17887 Oops, ignore the result of gst_pad_push_event here.
17889 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
17891 * gst/base/gstbasesrc.c: (gst_base_src_loop),
17892 (gst_base_src_activate_push):
17893 Send discont event from the loop function, as pads
17894 aren't activated yet in the activate_push handler.
17896 * gst/gstbin.c: (bin_bus_handler):
17897 Don't leak element name.
17899 2005-07-18 Andy Wingo <wingo@pobox.com>
17901 * configure.ac: Use AS_LIBTOOL_TAGS.
17903 2005-07-18 Wim Taymans <wim@fluendo.com>
17905 * docs/gst/gstreamer.types:
17906 Remove deleted types.
17908 2005-07-18 Wim Taymans <wim@fluendo.com>
17910 * check/elements/gstfakesrc.c: (GST_START_TEST):
17913 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
17914 (init_popt_callback):
17916 * gst/gst_private.h:
17917 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
17918 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
17921 * gst/gstconfig.h.in:
17922 * gst/gstelement.c: (gst_element_class_init),
17923 (gst_element_set_base_time), (gst_element_get_base_time),
17924 (iterator_fold_with_resync), (gst_element_change_state),
17925 (gst_element_dispose), (gst_element_get_bus):
17926 * gst/gstelement.h:
17927 * gst/gstelementfactory.h:
17928 * gst/gsterror.c: (_gst_core_errors_init):
17931 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
17933 * gst/gstinfo.c: (_gst_debug_init):
17934 * gst/gstmessage.c: (_gst_message_copy):
17935 * gst/gstmessage.h:
17936 * gst/gstminiobject.h:
17939 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
17940 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
17943 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
17944 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
17945 (gst_pipeline_get_last_stream_time):
17946 * gst/gstpipeline.h:
17947 * gst/gstpluginfeature.h:
17949 * gst/gstscheduler.c:
17950 * gst/gstscheduler.h:
17951 * gst/gststructure.h:
17952 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17953 (gst_task_finalize), (gst_task_func), (gst_task_create),
17954 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
17955 (gst_task_stop), (gst_task_pause):
17957 * gst/gsttypefind.h:
17959 * gst/registries/gstlibxmlregistry.c: (load_feature),
17960 (gst_xml_registry_load), (gst_xml_registry_save_feature):
17961 * gst/registries/gstxmlregistry.c:
17962 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
17963 * gst/schedulers/threadscheduler.c:
17964 * libs/gst/control/dparammanager.h:
17965 * tools/gst-inspect.c: (print_element_list),
17966 (print_plugin_features), (print_element_features):
17967 * tools/gst-xmlinspect.c: (print_element_list),
17968 (print_plugin_info), (main):
17969 Removed plugable schedulers.
17970 Removed Scheduler/Manager from elements.
17971 Removed gsttypes.h, rearranged includes.
17972 Removed dependency pad<->element, element<>pipeline, and
17973 various others, fix includes.
17974 implement gst_pad_get_parent() with gst_object_get_parent()
17975 Make GstTask sefcontained.
17976 Fix _get_state() on GstBin, it did not return ASYNC with a 0
17978 Fix endless loop in iterator_fold_with_resync.
17981 2005-07-18 Wim Taymans <wim@fluendo.com>
17987 2005-07-18 Wim Taymans <wim@fluendo.com>
17990 No more cothreads.h
17992 2005-07-18 Wim Taymans <wim@fluendo.com>
17996 Let's remove these.
17998 2005-07-18 Wim Taymans <wim@fluendo.com>
18000 * docs/design/part-dynamic.txt:
18001 * docs/design/part-events.txt:
18002 * docs/design/part-seeking.txt:
18003 Some more docs in the works.
18005 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18006 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18007 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18008 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18009 (gst_base_transform_handle_buffer),
18010 (gst_base_transform_sink_activate_push),
18011 (gst_base_transform_src_activate_pull),
18012 (gst_base_transform_set_passthrough),
18013 (gst_base_transform_is_passthrough):
18016 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18019 * gst/gstevent.c: (gst_event_finalize):
18022 * gst/gstutils.c: (gst_element_unlink),
18023 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18024 (gst_pad_proxy_setcaps):
18026 Add _get_parent_element() to get a pads parent as an element.
18028 2005-07-18 Wim Taymans <wim@fluendo.com>
18030 * check/gst/gstbin.c: (GST_START_TEST):
18033 2005-07-18 Wim Taymans <wim@fluendo.com>
18035 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18036 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18037 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18038 (gst_base_sink_event), (gst_base_sink_do_sync),
18039 (gst_base_sink_chain), (gst_base_sink_loop),
18040 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18041 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18043 Fix logic for returning ASYNC when not prerolled.
18045 2005-07-18 Wim Taymans <wim@fluendo.com>
18047 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18048 Fix nasty refcount bug.
18050 2005-07-16 Philippe Khalaf <burger@speedy.org>
18052 * gst/elements/gstfdsrc.c:
18053 * gst/elements/gstfdsrc.h:
18054 * gst/elements/gstelements.c:
18055 * gst/elements/Makefile.am:
18056 Ported fdsrc to 0.9.
18058 2005-07-16 Wim Taymans <wim@fluendo.com>
18060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18061 (gst_base_sink_do_sync):
18064 2005-07-16 Wim Taymans <wim@fluendo.com>
18066 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18067 (gst_base_sink_event), (gst_base_sink_get_times),
18068 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18069 * gst/base/gstbasesink.h:
18070 Store and use discont values when syncing buffers as described
18073 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18074 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18075 (gst_base_src_activate_push):
18076 Push discont event when starting.
18078 * gst/elements/gstidentity.c: (gst_identity_transform):
18081 * gst/gstbin.c: (gst_bin_change_state):
18082 Small cleanups in base_time distribution.
18084 * gst/gstelement.c: (gst_element_set_base_time),
18085 (gst_element_get_base_time), (gst_element_change_state):
18086 * gst/gstelement.h:
18087 Added methods for the base_time of the element.
18090 * gst/gstpipeline.c: (gst_pipeline_send_event),
18091 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18092 (gst_pipeline_get_last_stream_time):
18093 * gst/gstpipeline.h:
18095 Handle seeking as described in design doc, remove stream_time
18097 Cleanups clock and stream_time selection code. Added accessors
18098 for the stream_time.
18101 2005-07-16 Andy Wingo <wingo@pobox.com>
18103 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18106 2005-07-16 Wim Taymans <wim@fluendo.com>
18108 * check/gst/gstbin.c: (GST_START_TEST):
18109 Make elements silent as the deep_notify refs the
18110 parent, which might make the test fail.
18112 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18113 Don't hold the lock for too long.
18115 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18117 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18118 Don't unref the caps we passed to gst_caps_make_writable() after
18119 passing them. gst_caps_make_writable() will do that for us.
18121 2005-07-15 Andy Wingo <wingo@pobox.com>
18123 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18126 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18127 own marshalling function for the handoff signal. Properly type the
18128 buffer as a buffer. Fixes some warnings. Should do a more general
18130 (gst_identity_class_init): Plug into the right marshaller.
18132 2005-07-15 Wim Taymans <wim@fluendo.com>
18134 * docs/design/part-TODO.txt:
18135 * docs/design/part-clocks.txt:
18136 * docs/design/part-element-sink.txt:
18137 * docs/design/part-events.txt:
18138 * docs/design/part-gstpipeline.txt:
18139 Updated docs, mostly DISCONT related.
18141 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18143 * docs/pwg/building-pads.xml:
18144 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18146 2005-07-15 Andy Wingo <wingo@pobox.com>
18148 * tools/gst-typefind.c: Update, add copyright block.
18150 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18151 Normalize and truncate caps before fixation.
18154 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18155 discards all but the first structure from its argument.
18157 2005-07-15 Wim Taymans <wim@fluendo.com>
18159 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18160 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18161 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18162 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18163 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18164 (gst_base_transform_chain), (gst_base_transform_change_state),
18165 (gst_base_transform_set_passthrough),
18166 (gst_base_transform_is_passthrough):
18167 * gst/base/gstbasetransform.h:
18168 Make passthrough work using the bufferpools.
18169 Changed API a bit, subclasses have to write into a buffer
18170 provided by the base class.
18171 More debug info in nego functions.
18173 * gst/elements/gstidentity.c: (gst_identity_init),
18174 (gst_identity_transform):
18175 Port to new base class.
18177 2005-07-15 Wim Taymans <wim@fluendo.com>
18179 * gst/gstmessage.c: (gst_message_new_state_changed):
18180 * tools/gst-launch.c: (event_loop), (main):
18181 Totally dump messages in -launch with the -m option.
18182 Fix message name for State messages,
18184 2005-07-14 Wim Taymans <wim@fluendo.com>
18186 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18187 Post error messages on errors.
18189 2005-07-14 Wim Taymans <wim@fluendo.com>
18191 * gst/gstcaps.c: (gst_caps_do_simplify):
18195 Define error for stream stopped.
18197 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18198 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18199 Do proper return values.
18201 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18202 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18203 (gst_pad_get_range):
18204 Better return values.
18207 Reorganise return values, add macro to check for fatal errors.
18209 * gst/gstqueue.c: (gst_queue_chain):
18210 Return proper GstFlowReturn values,
18212 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
18214 * docs/gst/gstreamer-sections.txt:
18215 * docs/gst/gstreamer.types:
18216 * docs/gst/tmpl/gst.sgml:
18217 * docs/gst/tmpl/gstbasesink.sgml:
18218 * docs/gst/tmpl/gstbasesrc.sgml:
18219 * docs/gst/tmpl/gstbasetransform.sgml:
18220 * docs/gst/tmpl/gstbin.sgml:
18221 * docs/gst/tmpl/gstbuffer.sgml:
18222 * docs/gst/tmpl/gstcaps.sgml:
18223 * docs/gst/tmpl/gstclock.sgml:
18224 * docs/gst/tmpl/gstcompat.sgml:
18225 * docs/gst/tmpl/gstconfig.sgml:
18226 * docs/gst/tmpl/gstelement.sgml:
18227 * docs/gst/tmpl/gstelementdetails.sgml:
18228 * docs/gst/tmpl/gstelementfactory.sgml:
18229 * docs/gst/tmpl/gstenumtypes.sgml:
18230 * docs/gst/tmpl/gsterror.sgml:
18231 * docs/gst/tmpl/gstevent.sgml:
18232 * docs/gst/tmpl/gstfakesink.sgml:
18233 * docs/gst/tmpl/gstfakesrc.sgml:
18234 * docs/gst/tmpl/gstfilesink.sgml:
18235 * docs/gst/tmpl/gstfilesrc.sgml:
18236 * docs/gst/tmpl/gstfilter.sgml:
18237 * docs/gst/tmpl/gstformat.sgml:
18238 * docs/gst/tmpl/gstghostpad.sgml:
18239 * docs/gst/tmpl/gstimplementsinterface.sgml:
18240 * docs/gst/tmpl/gstindex.sgml:
18241 * docs/gst/tmpl/gstindexfactory.sgml:
18242 * docs/gst/tmpl/gstinfo.sgml:
18243 * docs/gst/tmpl/gstiterator.sgml:
18244 * docs/gst/tmpl/gstmacros.sgml:
18245 * docs/gst/tmpl/gstmemchunk.sgml:
18246 * docs/gst/tmpl/gstminiobject.sgml:
18247 * docs/gst/tmpl/gstobject.sgml:
18248 * docs/gst/tmpl/gstpad.sgml:
18249 * docs/gst/tmpl/gstpadtemplate.sgml:
18250 * docs/gst/tmpl/gstparse.sgml:
18251 * docs/gst/tmpl/gstpipeline.sgml:
18252 * docs/gst/tmpl/gstplugin.sgml:
18253 * docs/gst/tmpl/gstpluginfeature.sgml:
18254 * docs/gst/tmpl/gstquery.sgml:
18255 * docs/gst/tmpl/gstqueue.sgml:
18256 * docs/gst/tmpl/gstregistry.sgml:
18257 * docs/gst/tmpl/gstregistrypool.sgml:
18258 * docs/gst/tmpl/gstscheduler.sgml:
18259 * docs/gst/tmpl/gstschedulerfactory.sgml:
18260 * docs/gst/tmpl/gststructure.sgml:
18261 * docs/gst/tmpl/gstsystemclock.sgml:
18262 * docs/gst/tmpl/gsttaglist.sgml:
18263 * docs/gst/tmpl/gsttagsetter.sgml:
18264 * docs/gst/tmpl/gsttrace.sgml:
18265 * docs/gst/tmpl/gsttrashstack.sgml:
18266 * docs/gst/tmpl/gsttypefind.sgml:
18267 * docs/gst/tmpl/gsttypefindfactory.sgml:
18268 * docs/gst/tmpl/gsttypes.sgml:
18269 * docs/gst/tmpl/gsturihandler.sgml:
18270 * docs/gst/tmpl/gsturitype.sgml:
18271 * docs/gst/tmpl/gstutils.sgml:
18272 * docs/gst/tmpl/gstvalue.sgml:
18273 * docs/gst/tmpl/gstversion.sgml:
18274 * docs/gst/tmpl/gstxml.sgml:
18275 * docs/libs/tmpl/gstcontrol.sgml:
18276 * docs/libs/tmpl/gstdataprotocol.sgml:
18277 * docs/libs/tmpl/gstdparam.sgml:
18278 * docs/libs/tmpl/gstdplinint.sgml:
18279 * docs/libs/tmpl/gstdpman.sgml:
18280 * docs/libs/tmpl/gstdpsmooth.sgml:
18281 * docs/libs/tmpl/gstgetbits.sgml:
18282 * docs/libs/tmpl/gstunitconvert.sgml:
18283 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18284 (gst_push_src_base_init), (gst_push_src_class_init),
18285 (gst_push_src_init), (gst_push_src_create):
18286 * gst/base/gstpushsrc.h:
18287 * gst/elements/gstelements.c:
18288 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18289 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18290 (gst_fake_sink_init), (gst_fake_sink_set_property),
18291 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18292 (gst_fake_sink_event), (gst_fake_sink_preroll),
18293 (gst_fake_sink_render), (gst_fake_sink_change_state):
18294 * gst/elements/gstfakesink.h:
18295 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18296 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18297 (gst_fake_src_base_init), (gst_fake_src_class_init),
18298 (gst_fake_src_init), (gst_fake_src_event_handler),
18299 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18300 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18301 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18302 (gst_fake_src_create_buffer), (gst_fake_src_create),
18303 (gst_fake_src_start), (gst_fake_src_stop):
18304 * gst/elements/gstfakesrc.h:
18305 * gst/elements/gstfilesink.c: (_do_init),
18306 (gst_file_sink_base_init), (gst_file_sink_class_init),
18307 (gst_file_sink_init), (gst_file_sink_dispose),
18308 (gst_file_sink_set_location), (gst_file_sink_set_property),
18309 (gst_file_sink_get_property), (gst_file_sink_open_file),
18310 (gst_file_sink_close_file), (gst_file_sink_query),
18311 (gst_file_sink_event), (gst_file_sink_render),
18312 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18313 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18314 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18315 * gst/elements/gstfilesink.h:
18316 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18317 (gst_file_src_class_init), (gst_file_src_init),
18318 (gst_file_src_finalize), (gst_file_src_set_location),
18319 (gst_file_src_set_property), (gst_file_src_get_property),
18320 (gst_file_src_map_region), (gst_file_src_map_small_region),
18321 (gst_file_src_create_mmap), (gst_file_src_create_read),
18322 (gst_file_src_create), (gst_file_src_is_seekable),
18323 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18324 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18325 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18326 (gst_file_src_uri_handler_init):
18327 * gst/elements/gstfilesrc.h:
18328 more autistic cleanliness in functions/names/defines
18330 2005-07-13 Andy Wingo <wingo@pobox.com>
18332 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18333 source couldn't negotiate.
18335 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18339 * gst/gstutils.c (gst_element_link_pads_filtered): New old
18340 function. I am channeling Hades. Put your boots on suckers!!!
18342 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
18344 * testsuite/caps/Makefile.am:
18345 * testsuite/caps/value_compare.c:
18346 * testsuite/caps/value_intersect.c:
18347 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18348 move two testsuite apps over to the check dir
18350 2005-07-12 Wim Taymans <wim@fluendo.com>
18352 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18353 Added more debug info in the negotiate process.
18355 * gst/gstmessage.h:
18356 Prepare for segment playback.
18358 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18364 * tools/gst-launch.c: (main):
18365 NULL pipeline on errors.
18367 2005-07-12 Andy Wingo <wingo@pobox.com>
18369 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18370 not it comes from a malloc region. Make sure our copy gets freed.
18372 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18374 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18375 * check/gst/gstmessage.c: (GST_START_TEST):
18376 * check/gst/gststructure.c: (GST_START_TEST),
18377 (gst_structure_suite), (main):
18379 * gst/gstelement.c: (gst_element_message_full):
18380 clean up GError and debug string now that they get copied
18381 * gst/gstmessage.c: (gst_message_new_error),
18382 (gst_message_new_warning), (gst_message_parse_error),
18383 (gst_message_parse_warning):
18384 use GST_TYPE_G_ERROR for structure_new, and take copies of
18385 arguments, so that we don't mess up refcounting
18387 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18389 * check/Makefile.am:
18390 add per-test valgrind targets
18391 * check/gst-libs/gdp.c: (GST_START_TEST),
18392 (gst_data_protocol_suite), (main):
18395 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18397 * check/Makefile.am:
18398 instate more valgrindable tests
18399 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18400 (GST_START_TEST), (fakesrc_suite):
18401 * check/gst/gstpad.c: (GST_START_TEST):
18402 * check/gst/gststructure.c: (GST_START_TEST):
18404 * docs/gst/tmpl/gstminiobject.sgml:
18405 * gst/gstpad.c: (gst_pad_finalize):
18406 fix the static mutex leak
18408 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18410 * check/Makefile.am:
18411 add two more tests for valgrinding
18412 * check/gst/gstvalue.c: (GST_START_TEST):
18413 test refcount of deserialized buffer, found a leak
18414 * docs/gst/gstreamer-docs.sgml:
18415 * docs/gst/gstreamer-sections.txt:
18416 * docs/gst/gstreamer.types:
18417 * docs/gst/tmpl/gstminiobject.sgml:
18418 add miniobject to docs
18419 * gst/gstminiobject.c:
18421 * gst/gstvalue.c: (gst_value_deserialize_buffer),
18422 (gst_string_unwrap):
18423 fix a hard-to-find invalid write for one of the tests
18424 fix a leak for deserialized buffers
18426 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18428 * docs/pwg/advanced-events.xml:
18429 * docs/pwg/advanced-request.xml:
18430 * docs/pwg/advanced-scheduling.xml:
18431 * docs/pwg/appendix-porting.xml:
18432 * docs/pwg/building-boiler.xml:
18433 * docs/pwg/intro-preface.xml:
18434 * docs/pwg/other-ntoone.xml:
18435 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
18436 of example code and explanation for pad activation, loop() and
18437 getrange() functions and a bit more. Remove old comments pointing
18439 * examples/pwg/Makefile.am:
18440 Add loop/getrange examples.
18442 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18445 check for valgrind binary + some fixes
18447 valgrind suppressions for the tests
18448 * check/Makefile.am:
18449 add a valgrind: target that valgrinds the unit tests
18450 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
18451 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18452 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18453 * check/gst/gstghostpad.c:
18455 * check/gst/gstdata.c:
18457 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
18458 (thread_unref), (gst_mini_object_suite), (main):
18460 * gst/gst.c: (gst_deinit):
18462 add a method to clean up.
18463 * gst/gstsystemclock.c: (gst_system_clock_dispose),
18464 (gst_system_clock_obtain):
18465 allow for disposing the system clock.
18466 * tools/gst-launch.c: (main):
18469 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18471 * docs/gst/tmpl/gstbasesrc.sgml:
18472 * docs/gst/tmpl/gstfakesrc.sgml:
18473 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18474 (gst_base_src_init), (gst_base_src_set_property),
18475 (gst_base_src_get_property), (gst_base_src_get_range),
18476 (gst_base_src_start):
18477 * gst/base/gstbasesrc.h:
18478 add num-buffers property
18479 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18480 (gst_fakesrc_init), (gst_fakesrc_set_property),
18481 (gst_fakesrc_get_property), (gst_fakesrc_create),
18482 (gst_fakesrc_start):
18483 remove num-buffers property
18485 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18487 * docs/gst/gstreamer-sections.txt:
18488 * docs/gst/tmpl/gstbasesink.sgml:
18489 * docs/gst/tmpl/gstbasesrc.sgml:
18490 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18491 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18492 (gst_base_sink_finalize), (gst_base_sink_set_clock),
18493 (gst_base_sink_set_property), (gst_base_sink_get_property),
18494 (gst_base_sink_handle_object), (gst_base_sink_event),
18495 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18496 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
18497 (gst_base_sink_loop), (gst_base_sink_deactivate),
18498 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
18499 (gst_base_sink_change_state):
18500 * gst/base/gstbasesink.h:
18501 * gst/base/gstbasesrc.h:
18502 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
18503 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18504 (gst_filesink_init):
18505 more macro splitting
18507 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18509 * gst/gstelement.c: (gst_element_get_bus):
18511 * tools/gst-launch.c: (check_intr), (event_loop):
18514 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18516 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18519 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18521 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18522 (gst_base_src_finalize):
18523 add finalize method and clean up properly
18524 * gst/gstpipeline.c: (gst_pipeline_dispose):
18527 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
18529 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
18531 add more things to check
18532 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18533 * gst/gstelement.c:
18536 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
18538 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18539 (GST_START_TEST), (fakesrc_suite):
18540 * check/gst-libs/gdp.c: (GST_START_TEST):
18541 * check/gst/gst.c: (GST_START_TEST):
18542 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18543 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18544 * check/gst/gstbus.c: (GST_START_TEST):
18545 * check/gst/gstcaps.c: (GST_START_TEST):
18546 * check/gst/gstdata.c: (GST_START_TEST):
18547 * check/gst/gstelement.c: (GST_START_TEST):
18548 * check/gst/gstghostpad.c: (GST_START_TEST):
18549 * check/gst/gstiterator.c: (GST_START_TEST):
18550 * check/gst/gstmessage.c: (GST_START_TEST):
18551 * check/gst/gstobject.c: (GST_START_TEST):
18552 * check/gst/gstpad.c: (GST_START_TEST):
18553 * check/gst/gststructure.c: (GST_START_TEST):
18554 * check/gst/gstsystemclock.c: (GST_START_TEST),
18555 (gst_systemclock_suite):
18556 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18557 * check/gst/gstvalue.c: (GST_START_TEST):
18558 * check/pipelines/cleanup.c: (GST_START_TEST):
18559 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18560 * check/states/sinks.c: (GST_START_TEST):
18561 * check/gstcheck.c: (gst_check_init):
18562 * check/gstcheck.h:
18563 add debugging category
18564 use GST_START_TEST now, so we add a debug line
18566 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
18568 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
18569 add test for state change message on a bin
18570 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
18572 * gst/gstbin.c: (gst_bin_init):
18573 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
18574 * gst/gstelement.c: (gst_element_post_message),
18575 (gst_element_set_state):
18576 * gst/gstelementfactory.c: (gst_element_factory_create):
18577 * gst/gstmessage.c: (gst_message_new):
18578 * gst/gstscheduler.c:
18579 various debugging additions and cleanups
18581 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18583 * check/Makefile.am:
18584 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
18586 adding tests for elements
18587 * gst/gstelement.c: (gst_element_dispose):
18589 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18591 * gst/registries/gstlibxmlregistry.c: (load_feature):
18592 plug more leaks. A simple gst_init() now is leakfree, yay.
18594 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18596 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
18597 (gst_xml_registry_load):
18598 plug another memleak
18600 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18603 use GST_SET_ERROR_CFLAGS
18604 * docs/faq/cvs.xml:
18605 change to ERROR_CFLAGS
18607 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18610 make GST_ERROR_CFLAGS overridable and re-enable Werror
18611 * docs/faq/cvs.xml:
18612 add a note about error CFLAGS
18613 * docs/gst/tmpl/gstfakesrc.sgml:
18614 * gst/elements/gstfakesrc.c:
18615 comment out some unused code
18616 * gst/gst.c: (split_and_iterate):
18617 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
18621 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
18623 * common/Makefile.am:
18624 * common/gtk-doc.mak:
18625 * docs/gst/Makefile.am:
18626 factor out gtk-doc.mak
18628 2005-07-07 Wim Taymans <wim@fluendo.com>
18630 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
18631 (gst_thread_scheduler_dispose):
18632 Unlock the STREAM_LOCK completely.
18634 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
18636 * check/Makefile.am:
18637 * check/elements/.cvsignore:
18638 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18639 (START_TEST), (fakesrc_suite), (main):
18640 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18641 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18642 (gst_fakesrc_create), (gst_fakesrc_start):
18643 * gst/elements/gstfakesrc.h:
18644 adding a first element test
18646 2005-07-07 Andy Wingo <wingo@pobox.com>
18648 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
18651 2005-07-07 Wim Taymans <wim@fluendo.com>
18657 2005-07-07 Wim Taymans <wim@fluendo.com>
18659 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18660 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
18661 Allow subclasses to implement their own negotiation.
18663 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
18665 * docs/design/part-gstbin.txt:
18666 * docs/design/part-gstpipeline.txt:
18667 Update design notes to reflect the movement of
18668 responsibility for bus handling from GstPipeline to
18671 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
18674 Remove unnecessary queue2/3/4 examples.
18676 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
18678 * examples/Makefile.am:
18679 * examples/helloworld/helloworld.c: (event_loop), (main):
18680 * examples/queue/queue.c: (event_loop), (main):
18681 * examples/queue2/queue2.c: (main):
18682 Update a couple of the examples to work again.
18684 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18685 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
18686 Spelling corrections and extra debug.
18688 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
18689 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
18690 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
18692 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18693 (gst_pipeline_change_state):
18694 * gst/gstpipeline.h:
18695 Move the bus handler for children to the GstBin, and create a
18696 separate bus for receiving messages from children to the one the
18697 bus sends 'upwards' on.
18699 2005-07-06 Wim Taymans <wim@fluendo.com>
18702 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18703 (gst_base_sink_handle_object), (gst_base_sink_loop),
18704 (gst_base_sink_change_state):
18705 * gst/base/gstbasesink.h:
18706 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18707 (gst_base_src_init), (gst_base_src_setcaps),
18708 (gst_base_src_getcaps), (gst_base_src_loop),
18709 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
18710 (gst_base_src_start), (gst_base_src_change_state):
18711 * gst/base/gstbasesrc.h:
18712 Make basesrc negotiate.
18713 Handle the case where preroll fails in basesink.
18716 2005-07-06 Wim Taymans <wim@fluendo.com>
18718 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
18719 Implement the fixate function.
18720 Clean up acceptcaps.
18722 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18724 * docs/pwg/building-filterfactory.xml:
18725 * docs/pwg/pwg.xml:
18726 Remove never-written filter-factory chapter; I'll add the various
18727 base classes to part 4 ("other element types") later on.
18729 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18731 * docs/pwg/advanced-negotiation.xml:
18732 * docs/pwg/building-boiler.xml:
18733 * docs/pwg/building-pads.xml:
18734 * docs/pwg/pwg.xml:
18735 * examples/pwg/Makefile.am:
18736 Add a chapter on caps negotiation, simplify the original code
18737 samples a bit w.r.t. caps negotiation, add link to the advanced
18738 section. Add a bunch of examples showing different use cases of
18739 different types of caps negotiation. Upstream renegotiation isn't
18740 fully documented yet since nobody knows how that works.
18742 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
18744 * check/gst/gstpad.c:
18745 * check/gstcheck.c:
18746 * gst/gstpad.c: (gst_pad_get_internal_links_default):
18747 if pad has no parent, return NULL as list of internal links
18749 2005-07-05 Andy Wingo <wingo@pobox.com>
18751 * gst/elements/gstfilesrc.c:
18752 * gst/elements/gstfakesrc.c:
18753 * gst/base/gstpushsrc.c:
18754 * gst/base/gstbasesrc.h:
18755 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
18757 2005-07-05 Stefan Kost <ensonic@users.sf.net>
18760 better report generation target (lcov needs a patch)
18762 2005-07-05 Andy Wingo <wingo@pobox.com>
18764 * gst/elements, testsuite: Null if we got it...
18766 2005-07-05 Wim Taymans <wim@fluendo.com>
18769 * libs/gst/dataprotocol/Makefile.am:
18770 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
18771 * libs/gst/dataprotocol/dataprotocol.h:
18772 * pkgconfig/Makefile.am:
18773 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
18774 * pkgconfig/gstreamer-dataprotocol.pc.in:
18775 Ported dataprotol to 0.9.
18776 Added pkgconfig files.
18778 2005-07-05 Andy Wingo <wingo@pobox.com>
18780 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
18781 Default to returning TRUE for the case when tranform_caps returns
18782 a fixed caps, like for identity or volume.
18784 * check/gst/gstbus.c (pound_bus_with_messages):
18785 * check/gst/gstmessage.c (START_TEST):
18786 * check/pipelines/simple_launch_lines.c (got_handoff): Application
18787 message API change.
18789 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
18790 logic weaks here: always run transform_caps, trying passthrough
18791 operation only if the original caps intersects with the transform.
18793 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
18794 source and sink caps.
18796 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
18797 Intersect the peer caps with the pad template before going into
18799 (gst_base_transform_transform_caps): More debugging.
18801 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
18804 2005-07-04 Edward Hervey <edward@fluendo.com>
18808 (gst_pad_add_*_probe): now returns the signal id for better wrapping
18811 2005-07-04 Andy Wingo <wingo@pobox.com>
18813 * check/gst/gstpad.c: Only set explicit caps on pads.
18815 2005-07-01 Andy Wingo <wingo@pobox.com>
18817 * tests/network-clock.scm: Commentary update.
18819 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
18820 Didn't really make sense, not implementable with basetransform,
18822 (gst_identity_transform): Unref inbuf via make_writable. Feeble
18823 attempt at implementing the sync property, needs an unlock method.
18825 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
18826 New func, by default returns the same caps (the identity
18828 (gst_base_transform_getcaps): Uses transform_caps to return
18829 something sensible.
18830 (gst_base_transform_setcaps): Complicated logic to get caps on
18831 both pads, even if they are different, and to call set_caps once
18832 for every time both pads get their caps set.
18833 (gst_base_transform_handle_buffer): Give the ref to the transform
18834 function. Allows in-place modification of the buffer.
18836 * gst/base/gstbasetransform.h (transform_caps): New class method.
18837 Given caps on one side, what can I do on the other.
18838 (set_caps): Take two caps, one for each side of the element.
18841 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
18842 caps in place. This is safe because we can check the mutability of
18843 the caps, and a good idea because fixate functions are just called
18844 as a matter of last resort. (Not actually implemented.)
18845 (gst_pad_set_caps): If the caps we're setting is actually the same
18846 as the existing pad caps, just update the pointer without calling
18847 setcaps. Assert that caps is either NULL or fixed, as per the
18850 * gst/gstghostpad.c: Update for fixate changes.
18852 2005-07-02 Andy Wingo <wingo@pobox.com>
18855 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
18856 two refcounts makes it immutable, which is enough. Doc more.
18858 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
18860 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
18861 Put the mini_object into GValue as a mini_object,
18862 not a gpointer, since that's how we declared
18865 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18867 * examples/pwg/Makefile.am:
18868 Fix buildbot again.
18870 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18872 * docs/pwg/building-testapp.xml:
18874 * examples/pwg/Makefile.am:
18877 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18880 * examples/Makefile.am:
18881 * examples/pwg/Makefile.am:
18882 * examples/pwg/extract.pl:
18883 Enable building the PWG examples.
18884 * docs/pwg/advanced-interfaces.xml:
18885 Add URI interface stub.
18886 * docs/pwg/advanced-types.xml:
18887 * docs/pwg/other-autoplugger.xml:
18888 * docs/pwg/appendix-porting.xml:
18889 * docs/pwg/pwg.xml:
18890 Add porting guide (mostly stubs), remove autoplugging (see ADM).
18891 * docs/pwg/building-boiler.xml:
18892 * docs/pwg/building-chainfn.xml:
18893 * docs/pwg/building-pads.xml:
18894 * docs/pwg/building-props.xml:
18895 * docs/pwg/building-state.xml:
18896 * docs/pwg/building-testapp.xml:
18897 Update the building-*.xml parts for 0.9 changes. All examples
18898 code blocks compile in examples/pwg/*.
18900 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18902 * docs/manual/advanced-autoplugging.xml:
18903 * docs/manual/appendix-checklist.xml:
18904 * docs/manual/appendix-integration.xml:
18905 * docs/manual/highlevel-components.xml:
18906 Fix playbin/decodebin examples, update docs a bit, mention bus
18907 instead of signals in various places, mention kmplayer and
18908 kaffeine since they have a working GStreamer backend in the KDE
18911 2005-06-30 Wim Taymans <wim@fluendo.com>
18914 * docs/design/draft-ghostpads.txt:
18915 * docs/design/draft-push-pull.txt:
18916 * docs/design/draft-query.txt:
18917 * docs/design/part-TODO.txt:
18918 * docs/design/part-query.txt:
18919 Added CHANGES-0.9 doc, updated status of other docs.
18924 2005-06-30 Wim Taymans <wim@fluendo.com>
18926 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18927 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18928 (gst_base_sink_change_state):
18929 * gst/base/gstbasesink.h:
18930 Some tweaks, only EOS and a buffer complete a preroll.
18932 2005-06-30 Andy Wingo <wingo@pobox.com>
18934 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
18935 activate_push down to the internal pad as well.
18937 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
18939 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18941 * gst/gsttaginterface.c:
18942 Some documentation fixes (#307394 and #307397).
18944 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
18946 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18948 * gst/gstvalue.c: (gst_value_intersect_list):
18949 Fix memleak (#309125).
18951 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18953 * docs/manual/advanced-dataaccess.xml:
18954 Fix fakesrc example to compile; doesn't work, bug somewhere...?
18955 * docs/manual/basics-pads.xml:
18956 Add reference for filtered caps to above chapter.
18958 2005-06-30 Wim Taymans <wim@fluendo.com>
18960 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
18961 (gst_bin_change_state):
18963 Lame attempt at making the state change function a bit
18966 2005-06-30 Wim Taymans <wim@fluendo.com>
18968 * docs/design/part-clocks.txt:
18969 * docs/design/part-element-sink.txt:
18970 * docs/design/part-events.txt:
18971 * docs/design/part-preroll.txt:
18972 * docs/design/part-states.txt:
18973 Some more tweeks and additions to the docs.
18975 2005-06-30 Wim Taymans <wim@fluendo.com>
18977 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
18978 (default_have_data), (gst_pad_class_init), (gst_pad_init),
18979 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
18980 (gst_pad_check_pull_range), (gst_pad_get_range),
18981 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
18983 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
18984 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
18985 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
18986 (gst_pad_remove_buffer_probe):
18987 Removed atomic operations, use existing LOCK.
18988 Move exception handling out of main code path.
18990 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18992 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
18993 (silly_return_true_function), (gst_pad_class_init),
18994 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
18995 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
18996 (gst_pad_send_event):
18997 Fix accumulator, add default value by using _emitv() instead
18998 of _emit() for signal emission.
19000 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19002 * docs/manual/advanced-dataaccess.xml:
19003 * examples/manual/Makefile.am:
19005 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19008 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19010 * gst/elements/gstfilesink.c: (gst_filesink_render):
19011 Simplify code so that we don't have to handle short
19012 writes and return GST_FLOW_ERROR if an error occured.
19014 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19016 * docs/gst/gstreamer-docs.sgml:
19017 Remove probes more.
19019 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19021 * docs/gst/gstreamer-sections.txt:
19022 * docs/gst/tmpl/gstpad.sgml:
19023 * docs/gst/tmpl/gstprobe.sgml:
19025 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19026 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19027 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19028 (gst_pad_push_event), (gst_pad_send_event):
19030 * gst/gstutils.c: (gst_pad_add_data_probe),
19031 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19032 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19033 (gst_pad_remove_buffer_probe):
19035 Remove old probes, add new g-signal-based probes and some utility
19038 2005-06-29 Edward Hervey <edward@fluendo.com>
19040 * gst/gstelementfactory.c:
19043 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19044 the definition to the header file.
19046 2005-06-29 Andy Wingo <wingo@pobox.com>
19048 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19049 plugins from the source directory.
19051 2005-06-29 Wim Taymans <wim@fluendo.com>
19053 * docs/gst/tmpl/gstbuffer.sgml:
19054 * docs/gst/tmpl/gstclock.sgml:
19055 Some fixings for blantently wrong text.
19057 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19059 * check/Makefile.am:
19060 * gst/gst.c: (add_path_func), (init_pre):
19061 * gst/gstregistry.c: (gst_registry_add_path):
19062 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19063 only scan the GST_PLUGIN_PATH locations, and not add
19066 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19068 * docs/gst/gstreamer-sections.txt:
19069 * docs/gst/tmpl/gstbasesrc.sgml:
19070 * gst/gstelement.c:
19071 * gst/gstelement.h:
19076 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19078 * docs/manual/advanced-autoplugging.xml:
19079 Fix autoplugging example.
19081 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19083 * docs/manual/advanced-autoplugging.xml:
19084 * docs/manual/mime-world.fig:
19085 Try to get autoplugging working, fix type detection. Fix text
19086 in hello-world image.
19088 2005-06-29 Wim Taymans <wim@fluendo.com>
19090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19091 (gst_base_sink_change_state):
19095 map SIGNAL and BROADCAST to the right function.
19098 Remove redundant braces.
19100 * gst/gstpad.c: (gst_pad_set_caps):
19101 Don't call setcaps function when reseting caps to NULL.
19103 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19104 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19105 (gst_system_clock_id_unschedule):
19106 Use BROADCAST as this is what we do.
19108 2005-06-29 Wim Taymans <wim@fluendo.com>
19110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19111 We are actually prerolling before commiting the state
19114 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19116 * docs/manual/advanced-clocks.xml:
19117 * docs/manual/advanced-interfaces.xml:
19118 * docs/manual/advanced-metadata.xml:
19119 * docs/manual/advanced-position.xml:
19120 * docs/manual/advanced-schedulers.xml:
19121 * docs/manual/advanced-threads.xml:
19122 * docs/manual/appendix-porting.xml:
19123 * docs/manual/basics-bins.xml:
19124 * docs/manual/basics-bus.xml:
19125 * docs/manual/basics-elements.xml:
19126 * docs/manual/basics-helloworld.xml:
19127 * docs/manual/basics-pads.xml:
19128 * docs/manual/highlevel-components.xml:
19129 * docs/manual/manual.xml:
19130 * docs/manual/thread.fig:
19131 Update (until threads/scheduling) Application Development Manual;
19132 remove GstThread, add GstBus, add simple porting checklist, add
19133 documentation for tag writing, clocks, make all examples until this
19134 part compile and run.
19135 * examples/manual/Makefile.am:
19136 Update from changes to Application Development Manual; add bus
19137 example, remove thread example.
19139 2005-06-28 Wim Taymans <wim@fluendo.com>
19141 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19142 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19143 (gst_bus_source_dispatch):
19144 Add debugging messages.
19145 Make internal methods static.
19146 Handle the case where the bus is flushed in the handler.
19148 * gst/gstelement.c: (gst_element_get_bus):
19149 Fix refcount in _get_bus();
19151 * gst/gstpipeline.c: (gst_pipeline_change_state),
19152 (gst_pipeline_get_clock_func):
19153 Clock refcounting fixes.
19154 Handle the case where preroll timed out more gracefully.
19156 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19157 Clean up the internal thread in dispose. This is needed
19158 for subclasses that actually get disposed.
19160 * gst/schedulers/threadscheduler.c:
19161 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19162 (gst_thread_scheduler_dispose):
19163 Free thread pool in dispose.
19165 2005-06-28 Andy Wingo <wingo@pobox.com>
19167 * tests/network-clock-utils.scm (debug, print-event): New utils.
19169 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19170 (*packet-loss*): Unified loss probability.
19171 (network-time): Report out-of-band events.
19173 * tests/plot-data: Add support for out-of-band events. Hack it
19174 into this script instead of passing it down the pipe; should fix
19177 2005-06-28 Wim Taymans <wim@fluendo.com>
19179 * docs/gst/gstreamer.types:
19180 * docs/gst/tmpl/gstbasesrc.sgml:
19181 * docs/gst/tmpl/gstpad.sgml:
19184 2005-06-28 Wim Taymans <wim@fluendo.com>
19186 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19187 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19188 (gst_proxy_pad_do_fixatecaps):
19189 Correctly proxy the check_pull_range function.
19191 2005-06-28 Andy Wingo <wingo@pobox.com>
19193 * tests/network-clock.scm: Removed need for slib.
19195 2005-06-28 Wim Taymans <wim@fluendo.com>
19197 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19198 (gst_basesink_preroll_queue_flush):
19199 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19200 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19201 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19202 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19203 (gst_proxy_pad_set_property):
19206 * gst/gstqueue.c: (gst_queue_init):
19207 The deprecated pad loop function is removed now.
19209 2005-06-28 Andy Wingo <wingo@pobox.com>
19211 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19212 New parameters, simulate network packet loss.
19214 * tests/network-clock-utils.scm: Initialize the RNG.
19216 2005-06-28 Wim Taymans <wim@fluendo.com>
19218 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19219 (gst_basesink_event), (gst_basesink_deactivate):
19220 Flushing the preroll queue always needs to unlock the waiters.
19222 2005-06-28 Edward Hervey <edward@fluendo.com>
19224 * gst/gstpipeline.c: (gst_pipeline_send_event):
19225 Wheen a seek was successful on a pipeline, set the stream_time to the
19226 seek offset in order to have a synchronized stream_time.
19228 2005-06-28 Wim Taymans <wim@fluendo.com>
19230 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19231 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19232 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19233 (gst_proxy_pad_do_fixatecaps):
19234 Call wrapper function instead of just calling the function
19235 pointers. This takes care of any locking and whatmore.
19237 2005-06-28 Wim Taymans <wim@fluendo.com>
19239 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19240 (gst_pad_pull_range):
19242 CONNECTED -> LINKED.
19244 2005-06-28 Andy Wingo <wingo@pobox.com>
19246 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19247 source-munging commit!!!
19249 * gst/gstobject.c (gst_object_unref, gst_object_ref)
19250 (gst_object_sink): Take gpointer arguments, not GstObject --
19251 avoids casts. Like GLib.
19253 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19256 2005-06-27 Andy Wingo <wingo@pobox.com>
19258 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19261 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19262 returns a sorted copy of the trace list.
19263 (gst_alloc_trace_print_live): New API, only prints traces with
19264 live objects. Sort the list.
19265 (gst_alloc_trace_print_all): Sort the list.
19266 (gst_alloc_trace_print): Align columns.
19268 * gst/elements/gstttypefindelement.c:
19269 * gst/elements/gsttee.c:
19270 * gst/base/gstbasesrc.c:
19271 * gst/base/gstbasesink.c:
19272 * gst/base/gstbasetransform.c:
19273 * gst/gstqueue.c: Adapt for pad activation changes.
19275 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19277 (gst_pipeline_dispose): Drop ref on sched.
19279 * gst/gstpad.c (gst_pad_init): Set the default activate func.
19280 (gst_pad_activate_default): Push mode by default.
19281 (pre_activate_switch, post_activate_switch): New stubs, things to
19282 do before and after switching activation modes on pads.
19283 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19284 the pad's activate function to choose which mode to activate.
19285 Shortcut on deactivation and call the right function directly.
19286 (gst_pad_activate_pull): New API, (de)activates a pad in pull
19288 (gst_pad_activate_push): New API, same for push mode.
19289 (gst_pad_set_activate_function)
19290 (gst_pad_set_activatepull_function)
19291 (gst_pad_set_activatepush_function): Setters for new API.
19293 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19294 Trace all miniobjects.
19295 (gst_mini_object_make_writable): Unref the arg if we copy, like
19296 gst_caps_make_writable.
19298 * gst/gstmessage.c (_gst_message_initialize): No trace init.
19300 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
19301 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19302 Adapt for new pad API.
19304 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19306 * gst/gstelement.h:
19307 * gst/gstelement.c (gst_element_iterate_src_pads)
19308 (gst_element_iterate_sink_pads): New API functions.
19310 * gst/gstelement.c (iterator_fold_with_resync): New utility,
19311 should fold into gstiterator.c in some form.
19312 (gst_element_pads_activate): Simplified via use of fold and
19313 delegation of decisions to gstpad->activate.
19315 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19318 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19319 class once in init, like gstmessage. Didn't run into this issue
19320 but it seems correct. Don't initialize a trace, gstminiobject does
19323 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19324 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19326 (assert_live_count): New util function, uses alloc traces to check
19329 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19330 To be modified when unlink drops the internal pad.
19332 2005-06-27 Wim Taymans <wim@fluendo.com>
19334 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19335 (gst_bin_change_state):
19336 Cleanup the get_state() function a little, make sure it
19337 iterates the same set of elements.
19338 Added stub iterate_state_order().
19340 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
19342 * docs/gst/gstreamer-docs.sgml:
19343 * docs/gst/gstreamer-sections.txt:
19344 * docs/gst/gstreamer.types:
19345 * docs/gst/tmpl/gstbasesink.sgml:
19346 * docs/gst/tmpl/gstbasesrc.sgml:
19347 * docs/gst/tmpl/gstbasetransform.sgml:
19348 * docs/gst/tmpl/gstelement.sgml:
19349 * docs/gst/tmpl/gstiterator.sgml:
19350 * gst/base/gstbasesrc.c:
19351 * gst/base/gstbasesrc.h:
19352 * gst/base/gstbasetransform.h:
19353 * gst/gstelement.c:
19354 * gst/gstiterator.h:
19355 adding basetransform and iterator docs
19357 2005-06-27 Andy Wingo <wingo@pobox.com>
19359 * docs/design/part-activation.txt: Notes on how activation should
19360 work -- not quite implemented yet.
19362 2005-06-25 Wim Taymans <wim@fluendo.com>
19364 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19365 At least get the chain function correct, needs more
19368 2005-06-25 Wim Taymans <wim@fluendo.com>
19370 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19371 (gst_basesink_handle_object), (gst_basesink_event),
19372 (gst_basesink_do_sync), (gst_basesink_handle_event),
19373 (gst_basesink_change_state):
19375 Right, two problems here: ghostpads don't take locks and
19376 glib _rec_mutex_lock_full() with depth==0 still locks.
19377 Catch illegal locking and g_warn them.
19379 2005-06-25 Wim Taymans <wim@fluendo.com>
19381 * check/states/sinks.c: (START_TEST), (gst_object_suite):
19382 Have to check for completion now...
19384 2005-06-25 Wim Taymans <wim@fluendo.com>
19386 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19387 (gst_basesink_handle_object), (gst_basesink_event),
19388 (gst_basesink_do_sync), (gst_basesink_handle_event),
19389 (gst_basesink_change_state):
19391 Unlock STREAM_LOCK whatever the recursion was.
19393 2005-06-25 Wim Taymans <wim@fluendo.com>
19395 * gst/base/gstbasesink.c: (gst_basesink_set_property),
19396 (gst_basesink_preroll_queue_empty),
19397 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
19398 (gst_basesink_event), (gst_basesink_do_sync),
19399 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
19400 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
19401 (gst_basesink_change_state):
19402 Reworked the base sink, handle event and buffer serialisation
19403 correctly and removed possible deadlock.
19404 Handle EOS correctly.
19406 2005-06-25 Wim Taymans <wim@fluendo.com>
19408 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
19409 (gst_pipeline_change_state):
19410 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19411 Allow elements to post EOS in the state change function.
19412 Fix up -launch, make it exit the poll loop when the
19413 pipeline actually changed state.
19414 Fix up warning parsing in -launch.
19416 2005-06-25 Wim Taymans <wim@fluendo.com>
19418 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
19419 (gst_tee_sink_activate):
19420 Core takes STREAM_LOCK for us now.
19422 2005-06-25 Wim Taymans <wim@fluendo.com>
19424 * gst/gstelement.c: (gst_element_get_state_func),
19425 (gst_element_set_state):
19426 * gst/gstelement.h:
19427 * gst/gstmessage.c: (gst_message_parse_error),
19428 (gst_message_parse_warning):
19429 Keep track of current target state while performing a state
19430 change so that subclasses can do something interesting.
19431 Fix parsing of warning/error messages when GError is NULL.
19433 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
19435 * docs/gst/Makefile.am:
19436 * docs/gst/gstreamer-docs.sgml:
19437 * docs/gst/gstreamer-sections.txt:
19438 * docs/gst/gstreamer.types:
19439 * docs/gst/tmpl/gstbasesink.sgml:
19440 * docs/gst/tmpl/gstbasesrc.sgml:
19441 * docs/gst/tmpl/gstbin.sgml:
19442 * docs/gst/tmpl/gstcompat.sgml:
19443 * docs/gst/tmpl/gstfakesink.sgml:
19444 * docs/gst/tmpl/gstfakesrc.sgml:
19445 * docs/gst/tmpl/gstfilesink.sgml:
19446 * docs/gst/tmpl/gstfilesrc.sgml:
19447 * docs/gst/tmpl/gstindex.sgml:
19448 * docs/manual/appendix-quotes.xml:
19449 * gst/base/gstbasesrc.h:
19450 * gst/elements/gstfakesrc.h:
19451 * gst/gstmessage.h:
19452 start pulling in base classes and elements in our docs
19454 2005-06-24 Stefan Kost <ensonic@users.sf.net>
19456 * docs/gst/Makefile.am:
19457 * docs/libs/Makefile.am:
19458 fixed make distcheck with gtk-doc 1.3
19460 2005-06-23 Wim Taymans <wim@fluendo.com>
19462 * gst/gstelement.c: (gst_element_get_state_func),
19463 (gst_element_set_state), (gst_element_change_state):
19464 When the state did not change, also report NO_PREROLL
19467 2005-06-23 Wim Taymans <wim@fluendo.com>
19469 * gst/gstpad.c: (gst_pad_event_default):
19470 * gst/gstqueue.c: (gst_queue_loop):
19471 No unsafe task pausing please.
19473 2005-06-23 Wim Taymans <wim@fluendo.com>
19475 * gst/schedulers/threadscheduler.c:
19476 (gst_thread_scheduler_task_start),
19477 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
19478 Ref the task before pushing it on the threadpool. This
19479 makes sure that we have a ref when the threadfunction is
19482 2005-06-23 Andy Wingo <wingo@pobox.com>
19484 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
19485 offset is greater than the file's size.
19487 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
19488 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
19489 * gst/gstobject.c (gst_object_class_init): Make the class lock
19490 recursive. Wim won't let me drop deep_notify. Decodebin works
19491 again, whoopdy doo.
19493 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
19494 internal pad, and hacks accordingly. Doesn't do it on the target
19495 pad because we change its caps. Probably catches all cases of
19497 (gst_ghost_pad_set_property): Connect to notify::caps as
19500 * tests/network-clock.scm (plot-simulation): Pipe data to the
19501 elite python skript.
19503 * tests/network-clock-utils.scm (define-parameter): New macro,
19504 defines a parameter that can be set via the command line.
19505 (set-parameter!, parse-parameter-arguments): Command line args
19508 * tests/plot-data: Simple matplotlib-based plotter, takes input on
19511 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
19513 * gst/elements/gsttypefindelement.c:
19514 (gst_type_find_element_handle_event):
19515 Don't restart typefinding on a discont.
19516 * gst/gstelement.c: (gst_element_set_state):
19517 Debug spelling fix.
19518 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
19519 Allow changing mode of an active pad.
19520 Debug output fixes.
19521 * gst/registries/gstlibxmlregistry.c: (load_feature):
19522 Don't cast a static pad template to a normal pad template.
19524 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
19526 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
19527 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19528 remove gst_strtoll completely, since it didn't actually do
19529 anything more than what g_ascii_strtoull already does.
19530 check for range errors when deserializing
19531 do a cast for the unsigned cases; but further fixing needs
19532 a decision on what the interpretation of "(int)" and
19533 deserialization should be for values that fall outside the
19534 type's boundaries (ie, refuse, or interpret as casting)
19536 2005-06-23 Wim Taymans <wim@fluendo.com>
19538 * check/Makefile.am:
19539 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
19540 * docs/design/part-live-source.txt:
19541 * docs/design/part-states.txt:
19542 * gst/base/gstbasesrc.c: (gst_basesrc_init),
19543 (gst_basesrc_set_live), (gst_basesrc_is_live),
19544 (gst_basesrc_get_range), (gst_basesrc_activate),
19545 (gst_basesrc_change_state):
19546 * gst/base/gstbasesrc.h:
19547 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19548 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19549 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
19550 * gst/gstelement.c: (gst_element_get_state_func),
19551 (gst_element_set_state):
19552 * gst/gstelement.h:
19554 * tools/gst-launch.c: (event_loop), (main):
19555 Added support for live sources and other elements that
19557 Updated design docs, added live-source design doc.
19558 Implemented live source functionality in basesrc
19559 Fix error condition in _bin_get_state()
19560 Implement live source handling in -launch.
19561 Added check for live sources.
19562 Fixed case in GstBin where elements were changed state
19566 2005-06-23 Andy Wingo <wingo@pobox.com>
19568 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
19569 borken refcounting.
19571 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
19572 gst_caps_replace takes care of this for us.
19574 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
19575 gst_pad_set_caps on the target, not just its setcaps() function.
19577 * tests/network-clock.scm:
19578 * tests/network-clock-utils.scm: A network clock simulator.
19579 Something of an algorithmic testbed before doing something in C.
19581 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
19583 * check/Makefile.am:
19584 * check/gst/capslist.h:
19585 copy over from 0.8, and add two with bitmasks specified with
19587 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
19588 add test to parse everything from capslist.h
19589 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
19591 add test for structure deserialization
19592 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
19593 add tests for deserialization of strings to int types
19594 * gst/gststructure.c: (gst_structure_nth_field_name):
19595 * gst/gststructure.h:
19596 add a way to get the name of a field referenced by index
19597 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19598 instead of checking if the resulting long long lies between
19599 min and max, we check if the long long would fit into
19600 a number of bytes for the final type.
19601 This fixes cases where a string represents 2^32 - 1, which
19602 when cast to int would be the (valid) -1, but is bigger than
19605 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
19607 * gst/parse/grammar.y:
19608 add a log line for type deserialization
19610 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
19612 * check/gst/gstvalue.c: (START_TEST):
19613 * gst/gstvalue.c: (gst_value_deserialize):
19614 return long long, not int, so gint64 deserialization actually
19615 works. Is there any flag that makes the compiler check this ?
19618 2005-06-22 Wim Taymans <wim@fluendo.com>
19621 Added convenience macros for setting buffers in GValue.
19623 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
19625 * check/gst/.cvsignore:
19626 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
19627 add a test deserializing int64, and comment part out because
19630 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
19632 * check/Makefile.am:
19633 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
19634 * testsuite/Makefile.am:
19635 * testsuite/caps/Makefile.am:
19636 * testsuite/caps/value_serialize.c:
19637 * testsuite/test_gst_init.c:
19638 move a value_serialize test over
19640 2005-06-20 Wim Taymans <wim@fluendo.com>
19645 * gst/gstvalue.c: (gst_value_compare_buffer),
19646 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
19647 (gst_value_compare_flags), (gst_value_serialize_flags),
19648 (gst_value_deserialize_flags), (_gst_value_initialize):
19649 Fix serialisation of buffers, they are not boxed types anymore
19651 2005-06-20 Wim Taymans <wim@fluendo.com>
19653 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
19654 Testcase to show error in buffer-on-caps serialisation.
19656 2005-06-20 Andy Wingo <wingo@pobox.com>
19658 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
19659 will be adding to later.
19661 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
19662 if its socks fill with rocks.
19663 (gst_system_clock_obtain): Set the name on object construction.
19664 Avoid double-checked locking.
19666 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
19668 * gst/gsturi.c: (gst_element_make_from_uri):
19669 Fix potential endless loop.
19671 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
19673 * check/Makefile.am:
19675 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
19677 move over from testsuite dir and clean up
19680 * testsuite/Makefile.am:
19681 * testsuite/tags/.cvsignore:
19682 * testsuite/tags/Makefile.am:
19683 * testsuite/tags/merge.c:
19684 remove testsuite/tags
19686 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
19688 * docs/gst/gstreamer-sections.txt:
19689 * docs/gst/tmpl/gstenumtypes.sgml:
19690 * win32/gstenumtypes.c:
19691 clean up documentation build a little
19693 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
19695 * check/gstcheck.h:
19696 add macros for checking refcounts on objects and caps
19697 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
19698 add some more unit tests
19699 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
19700 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
19701 fix leaked refcounts (I hope :)) so unittest works
19705 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
19707 * configure.ac: back to HEAD
19709 === release 0.9.1 ===
19711 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
19717 2005-06-17 Andy Wingo <wingo@pobox.com>
19719 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
19720 assert; it's always possible that the pad gets deactivated in
19721 between the checks in gstpad.c and the implementation. Rely on
19722 finish_preroll() to return a FLUSHING or similar instead of on the
19725 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
19726 clock and post an EOS message if we come out of finish_preroll in
19729 2005-06-16 David Schleef <ds@schleef.org>
19731 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19732 (gst_capsfilter_set_property): Allow NULL as possible value
19733 for filter_caps property, indicating GST_CAPS_ANY.
19735 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
19737 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
19739 * gst/schedulers/Makefile.am:
19741 * gstreamer.spec.in:
19744 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
19746 * gstreamer.spec.in:
19749 2005-06-08 Andy Wingo <wingo@pobox.com>
19751 * gst/gstutils.c: RPAD fixes all around.
19752 (gst_element_link_pads): Refcounting fixes.
19754 * tools/gst-inspect.c:
19755 * tools/gst-xmlinspect.c:
19757 * gst/base/gsttypefindhelper.c:
19758 * gst/base/gstbasesink.c:
19759 * gst/gstqueue.c: RPAD fixes.
19761 * gst/gstghostpad.h:
19762 * gst/gstghostpad.c: New ghost pad implementation as full proxy
19763 pads. The tricky thing is they provide both source and sink
19764 interfaces, since they proxy the internal pad for the external
19765 pad, and vice versa. Implement with lower-level ProxyPad objects,
19766 with the interior proxy pad as a child of the exterior ghost pad.
19767 Should write a doc on this.
19769 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
19770 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
19773 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
19774 pads are real pads. No ghost pads in this file. Not documenting
19775 the myriad s/RPAD/PAD/ and REALIZE fixes.
19776 (gst_pad_class_init): Add properties for "direction" and
19777 "template". Both are construct-only, so they can't change during
19778 the life of the pad. Fixes properly deriving from GstPad.
19779 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
19780 derived objects, just set properties when creating the objects via
19782 (gst_pad_get_parent): Implement as a function, return NULL if the
19783 parent is not an element.
19784 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
19785 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
19787 * gst/gstobject.c (gst_object_class_init): Make name a construct
19788 property. Don't set it in the object init.
19790 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
19791 with UNKNOWN direction.
19792 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
19793 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
19794 (gst_element_remove_pad): Remove ghost-pad special cases.
19795 (gst_element_pads_activate): Remove rpad cruft.
19797 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
19798 catch the pad's-parent-not-an-element case.
19800 * gst/gst.h: Include gstghostpad.h.
19802 * gst/gst.c (init_post): No more real, ghost pads.
19804 * gst/Makefile.am: Add gstghostpad.[ch].
19806 * check/Makefile.am:
19807 * check/gst/gstbin.c:
19808 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
19809 into a bin creates ghost pads, and that the refcounts are right.
19810 Partly moved from gstbin.c.
19812 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
19814 * check/gst-libs/.cvsignore:
19815 * check/gst/.cvsignore:
19816 * check/pipelines/.cvsignore:
19818 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
19819 (START_TEST), (cleanup_suite), (main):
19820 add some tests related to cleanup after running pipelines
19822 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
19824 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
19825 add a testsuite for GstBuffer
19827 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
19829 * gst/gstminiobject.h:
19830 add defines for accessing the refcount
19832 2005-06-03 Stefan Kost <ensonic@users.sf.net>
19834 * Makefile.am: added support for html unit test coverage reports
19836 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
19838 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19839 Free existing caps if the capsfilter changes. Add a FIXME about
19840 setting those caps on the pads.
19842 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
19843 Before adding a ghost pad to a parent bin, check that there isn't
19844 already one for the element on the bin. Prevents infinite recursion
19845 when using decodebin in parse pipelines. Andy says he'll rewrite the
19846 way this works anyway, so ignore the hack.
19848 2005-06-02 Andy Wingo <wingo@pobox.com>
19850 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
19851 file size, pass it on to the type find helper.
19853 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
19854 segment_start and segment_end properly according to the seek
19855 method. Segment_end is still a bit flaky because offset can be
19856 negative for CUR and END cases, but it takes -1 as an "unset"
19859 2005-06-02 Wim Taymans <wim@fluendo.com>
19861 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
19862 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
19863 (gst_basesink_activate):
19864 * gst/base/gstbasesink.h:
19865 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
19866 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
19867 (gst_pad_query), (gst_pad_start_task):
19869 * gst/gstqueue.c: (gst_queue_bufferalloc),
19870 (gst_queue_handle_sink_event), (gst_queue_chain):
19871 Bufferalloc: return GstFlowReturn to more accuratly report
19872 why allocation failed.
19874 2005-06-02 Wim Taymans <wim@fluendo.com>
19876 * gst/gstpipeline.c: (gst_pipeline_send_event):
19877 Take snapshot of state without blocking.
19879 2005-06-02 Wim Taymans <wim@fluendo.com>
19881 * docs/design/part-TODO.txt:
19882 * docs/design/part-caps.txt:
19883 * docs/design/part-clocks.txt:
19884 * docs/design/part-negotiation.txt:
19885 * docs/design/part-preroll.txt:
19888 2005-05-30 Wim Taymans <wim@fluendo.com>
19890 * gst/elements/gstidentity.c: (gst_identity_event),
19891 (gst_identity_transform), (gst_identity_get_property):
19892 Protect last_message property as it is accessed from
19895 2005-05-30 Wim Taymans <wim@fluendo.com>
19897 * gst/gstelement.c: (gst_element_init),
19898 (gst_element_pads_activate), (gst_element_change_state):
19899 Slicker pad activation code.
19901 2005-05-30 Wim Taymans <wim@fluendo.com>
19904 * gst/gstelement.h:
19905 * gst/gstelementfactory.h:
19907 Move elementfactory methods to separate .h file.
19909 2005-05-30 Wim Taymans <wim@fluendo.com>
19911 * docs/design/part-overview.txt:
19912 * gst/gstsystemclock.h:
19913 Small typo fixes, doc updates.
19915 2005-05-30 Wim Taymans <wim@fluendo.com>
19917 * gst/gst.c: (gst_init_get_popt_table), (init_post),
19918 (init_popt_callback):
19919 Remove cpu-opt flag.
19921 2005-05-30 Wim Taymans <wim@fluendo.com>
19923 * gst/gstbuffer.c: (gst_subbuffer_finalize),
19924 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
19926 Avoid typechecking in places where not needed.
19927 Added accessor for malloc_data.
19929 2005-05-30 Wim Taymans <wim@fluendo.com>
19931 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
19932 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
19933 (gst_pad_configure_sink), (gst_pad_configure_src),
19934 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
19935 (gst_pad_start_task):
19936 Propagate errors from _set_caps() in configure_src/sink
19937 functions instead of returning TRUE.
19938 FLUSH events can travel up and downstream
19941 2005-05-30 Wim Taymans <wim@fluendo.com>
19943 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
19944 (gst_basesink_activate):
19945 Handle EOS in preroll.
19947 2005-05-30 Wim Taymans <wim@fluendo.com>
19949 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19950 (gst_queue_loop), (gst_queue_handle_src_event):
19951 Remove old pieces of code
19952 Flushing the queue in an upstream event is a very bad idea.
19954 2005-05-26 Andy Wingo <wingo@pobox.com>
19956 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
19957 gst_value_set_mini_object so as to add a ref on the object (which
19958 will be removed when the value is unset).
19960 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
19961 arg type in ::handoff.
19963 * gst/gstelement.c (gst_element_change_state): Also deactivate
19964 pads in READY->NULL, just in case the element didn't make it to
19965 PAUSED. Wingo tested, Wim approved.
19967 2005-05-26 Wim Taymans <wim@fluendo.com>
19969 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
19970 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
19971 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
19972 A flushing pad cannot be used to alloc_buffer from.
19974 2005-05-26 Wim Taymans <wim@fluendo.com>
19976 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
19977 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
19978 (gst_bus_source_dispatch), (gst_bus_source_finalize),
19979 (gst_bus_create_watch), (gst_bus_add_watch_full):
19981 Implement a real GSource and use g_main_context_wakeup() to
19982 signal new messages instead of the socketpair.
19984 2005-05-25 Wim Taymans <wim@fluendo.com>
19986 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
19987 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
19988 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
19989 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
19990 (gst_pad_send_event), (gst_pad_start_task):
19991 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
19992 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
19993 (gst_queue_sink_activate), (gst_queue_src_activate),
19994 (gst_queue_change_state):
19996 Fix state changes for non sinks. We now change sinks, then elements
19997 with unconnected srcpads, then the rest.
19998 More efficient queue unlocking in flush and state changes.
19999 Set the pad activate mode even if it does not have an activate
20002 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20004 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20005 Don't go in pull mode for non-seekable sources.
20006 * gst/elements/gsttypefindelement.h:
20007 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20008 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20009 (free_entry), (stop_typefinding),
20010 (gst_type_find_element_handle_event), (find_peek),
20011 (gst_type_find_element_chain), (do_pull_typefind),
20012 (gst_type_find_element_change_state):
20013 Allow typefinding (w/o seeking) in push-mode, simplified version
20014 of what was in 0.8.
20015 * gst/gstutils.c: (gst_buffer_join):
20017 gst_buffer_join() from 0.8.
20019 2005-05-25 Wim Taymans <wim@fluendo.com>
20021 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20022 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20023 (gst_pad_send_event), (gst_pad_start_task):
20024 Disable attempt at mode switching until it is figured out.
20026 2005-05-25 Wim Taymans <wim@fluendo.com>
20028 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20029 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20030 (gst_basesink_finish_preroll), (gst_basesink_chain),
20031 (gst_basesink_loop), (gst_basesink_activate),
20032 (gst_basesink_change_state):
20033 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20034 (gst_basesrc_get_range), (gst_basesrc_loop),
20035 (gst_basesrc_activate):
20036 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20037 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20038 (gst_real_pad_init), (gst_real_pad_set_property),
20039 (gst_real_pad_get_property), (gst_pad_set_active),
20040 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20041 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20042 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20043 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20044 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20045 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20046 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20047 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20048 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20049 (gst_pad_stop_task):
20051 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20052 (gst_queue_loop), (gst_queue_src_activate):
20053 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20054 (gst_task_get_state):
20056 * gst/schedulers/threadscheduler.c:
20057 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20058 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20060 Remove ACTIVE pad flag, use FLUSHING everywhere
20061 Added _pad_chain(), _pad_get_range() to call chain/getrange
20063 Add locks around IS_FLUSHING when reading.
20064 Take STREAM lock in chain(), get_range() functions so plugins
20065 don't need to take it anymore.
20069 2005-05-25 Wim Taymans <wim@fluendo.com>
20071 * tools/gst-launch.c: (event_loop):
20072 Unref message after using its contents instead of
20075 2005-05-24 Wim Taymans <wim@fluendo.com>
20077 * docs/design/draft-ghostpads.txt:
20078 * docs/design/draft-push-pull.txt:
20079 * docs/design/draft-query.txt:
20080 * docs/design/part-overview.txt:
20081 Docs updates, added general overview doc.
20083 2005-05-21 David Schleef <ds@schleef.org>
20085 * docs/gst/tmpl/old/GstBin.sgml:
20086 * docs/gst/tmpl/old/GstBuffer.sgml:
20087 * docs/gst/tmpl/old/GstCaps.sgml:
20088 * docs/gst/tmpl/old/GstClock.sgml:
20089 * docs/gst/tmpl/old/GstCompat.sgml:
20090 * docs/gst/tmpl/old/GstData.sgml:
20091 * docs/gst/tmpl/old/GstElement.sgml:
20092 * docs/gst/tmpl/old/GstEvent.sgml:
20093 * docs/gst/tmpl/old/GstIndex.sgml:
20094 * docs/gst/tmpl/old/GstStructure.sgml:
20095 * docs/gst/tmpl/old/GstTag.sgml:
20096 * docs/gst/tmpl/old/cothreads.sgml:
20097 * docs/gst/tmpl/old/cothreads_compat.sgml:
20098 * docs/gst/tmpl/old/gettext.sgml:
20099 * docs/gst/tmpl/old/gobject2gtk.sgml:
20100 * docs/gst/tmpl/old/grammar.tab.sgml:
20101 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20102 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20103 * docs/gst/tmpl/old/gst_private.sgml:
20104 * docs/gst/tmpl/old/gstaggregator.sgml:
20105 * docs/gst/tmpl/old/gstarch.sgml:
20106 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20107 * docs/gst/tmpl/old/gstbufferstore.sgml:
20108 * docs/gst/tmpl/old/gstdata_private.sgml:
20109 * docs/gst/tmpl/old/gstdisksink.sgml:
20110 * docs/gst/tmpl/old/gstdisksrc.sgml:
20111 * docs/gst/tmpl/old/gstelementfactory.sgml:
20112 * docs/gst/tmpl/old/gstextratypes.sgml:
20113 * docs/gst/tmpl/old/gstfakesink.sgml:
20114 * docs/gst/tmpl/old/gstfakesrc.sgml:
20115 * docs/gst/tmpl/old/gstfdsink.sgml:
20116 * docs/gst/tmpl/old/gstfdsrc.sgml:
20117 * docs/gst/tmpl/old/gstfilesink.sgml:
20118 * docs/gst/tmpl/old/gstfilesrc.sgml:
20119 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20120 * docs/gst/tmpl/old/gstidentity.sgml:
20121 * docs/gst/tmpl/old/gstindexfactory.sgml:
20122 * docs/gst/tmpl/old/gstmarshal.sgml:
20123 * docs/gst/tmpl/old/gstmd5sink.sgml:
20124 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20125 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20126 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20127 * docs/gst/tmpl/old/gstpipefilter.sgml:
20128 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20129 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20130 * docs/gst/tmpl/old/gstshaper.sgml:
20131 * docs/gst/tmpl/old/gstspider.sgml:
20132 * docs/gst/tmpl/old/gstspideridentity.sgml:
20133 * docs/gst/tmpl/old/gststatistics.sgml:
20134 * docs/gst/tmpl/old/gsttee.sgml:
20135 * docs/gst/tmpl/old/gsttimecache.sgml:
20136 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20137 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20138 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20139 * docs/gst/tmpl/old/types.sgml:
20140 I didn't intend to add these or check them in.
20142 2005-05-19 David Schleef <ds@schleef.org>
20144 * configure.ac: Use -no-common everywhere. In a sane world, it
20145 would be the default in libtool, because without it, you can't
20146 build DLLs on Windows.
20147 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20148 * docs/gst/gstreamer-sections.txt:
20149 * docs/gst/tmpl/gstcpu.sgml:
20150 * docs/gst/tmpl/gstdata.sgml:
20151 * docs/gst/tmpl/gstthread.sgml:
20153 2005-05-19 David Schleef <ds@schleef.org>
20155 * gst/gstminiobject.c: (gst_value_set_mini_object),
20156 (gst_value_take_mini_object), (gst_value_get_mini_object):
20157 * gst/gstminiobject.h: Add GValue set/get functions.
20159 2005-05-19 Wim Taymans <wim@fluendo.com>
20161 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20162 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20163 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20165 * gst/gstbus.c: (gst_bus_post):
20166 * gst/gstelement.c: (gst_element_get_random_pad):
20167 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20168 Make subbufer unref the parent in finalize.
20169 some more debugging info.
20172 2005-05-19 Wim Taymans <wim@fluendo.com>
20174 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20175 (gst_basesink_init), (gst_basesink_finalize),
20176 (gst_basesink_activate), (gst_basesink_change_state):
20177 Don't free preroll queue too early.
20179 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20183 Hi, I'm outdated. Please shoot me.
20185 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20187 * gst/gstpipeline.c: (gst_pipeline_send_event):
20188 Do not access variables after they have been deleted.
20190 2005-05-19 Wim Taymans <wim@fluendo.com>
20192 * tools/gst-inspect.c: (print_plugin_features):
20193 A plugin feature does unfortunatly not use the
20196 2005-05-18 Wim Taymans <wim@fluendo.com>
20198 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20199 Port _span() functions to new subbuffers.
20201 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20203 * gst/gstbin.c: (gst_bin_add_func):
20204 Fix clock settery in bins when adding kids after the clock has
20207 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20209 * gst/elements/gstidentity.c: (gst_identity_class_init):
20210 Workaround until signals support GstMiniObject.
20212 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
20215 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20217 2005-05-18 Wim Taymans <wim@fluendo.com>
20219 * gst/base/Makefile.am:
20220 * gst/base/gstadapter.c: (gst_adapter_base_init),
20221 (gst_adapter_class_init), (gst_adapter_init),
20222 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20223 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20224 (gst_adapter_flush), (gst_adapter_available),
20225 (gst_adapter_available_fast):
20226 * gst/base/gstadapter.h:
20227 Ported and added adapter to the base classes.
20229 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20232 * gst/gstmessage.c:
20233 Make sure the class is reffed/unreffed once before threads can be
20234 used. Fixes #304551.
20236 2005-05-17 Wim Taymans <wim@fluendo.com>
20238 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20239 (gst_basesink_chain_unlocked), (gst_basesink_activate):
20240 * gst/gstminiobject.c: (gst_mini_object_get_type),
20241 (gst_mini_object_free):
20242 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20243 (gst_pad_push), (gst_pad_push_event):
20244 * gst/gstqueue.c: (gst_queue_change_state):
20245 Don't queue buffers in basesink when we are flushing.
20246 Unref buffer when flushing in basesink.
20247 Flush queue when going to READY
20248 Unref buffer when _push() returns an error.
20249 Don't free MiniObject instance when refcount is incremented
20250 in _finalize() so that we can recover objects.
20252 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
20254 * docs/manual/advanced-schedulers.xml:
20255 * docs/manual/appendix-checklist.xml:
20256 * docs/pwg/advanced-clock.xml:
20257 * docs/pwg/advanced-interfaces.xml:
20258 * docs/pwg/advanced-request.xml:
20259 * docs/pwg/advanced-types.xml:
20260 * docs/pwg/intro-preface.xml:
20261 * examples/plugins/example.c: (gst_example_get_type),
20262 (gst_example_class_init), (gst_example_chain),
20263 (gst_example_set_property), (gst_example_get_property),
20264 (gst_example_change_state), (plugin_init):
20265 * examples/plugins/example.h:
20268 2005-05-17 Wim Taymans <wim@fluendo.com>
20270 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20271 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20272 * gst/gstqueue.c: (gst_queue_change_state):
20273 Clear queue when going to READY.
20274 Remove IN_SETCAPS flag too.
20276 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
20278 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20279 Remove implicit cast from gboolean to GstElementStateReturn;
20280 make sure we still return failure in paused => ready case if
20281 the parent class fails to change state and our own stop
20284 2005-05-17 Wim Taymans <wim@fluendo.com>
20286 * tools/gst-launch.c: (event_loop):
20287 Message was unreffed too soon.
20289 2005-05-16 Andy Wingo <wingo@pobox.com>
20291 * gst/gstbin.c (sink_iterator_filter): Err... um...
20293 * check/gst/gstbin.c (test_ghost_pads): New test for the
20294 ghosting-if-elements-not-in-same-bin behavior.
20296 2005-05-16 David Schleef <ds@schleef.org>
20298 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20299 accessing refcount directly.
20301 2005-05-15 David Schleef <ds@schleef.org>
20303 * check/Makefile.am: remove GstData checks
20304 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20305 * gst/Makefile.am: add miniobject, remove data
20306 * gst/gst.h: add miniobject, remove data
20307 * gst/gstdata.c: remove
20308 * gst/gstdata.h: remove
20309 * gst/gstdata_private.h: remove
20310 * gst/gsttypes.h: remove GstEvent and GstMessage
20311 * gst/gstelement.c: (gst_element_post_message): fix for API changes
20312 * gst/gstmarshal.list: change BOXED -> OBJECT
20314 Implement GstMiniObject.
20315 * gst/gstminiobject.c:
20316 * gst/gstminiobject.h:
20318 Modify to be subclasses of GstMiniObject.
20319 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20320 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20321 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20322 (gst_subbuffer_get_type), (gst_subbuffer_init),
20323 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20326 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20327 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20328 (_gst_event_copy), (gst_event_new):
20330 * gst/gstmessage.c: (_gst_message_initialize),
20331 (gst_message_get_type), (gst_message_class_init),
20332 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20333 (gst_message_new), (gst_message_new_error),
20334 (gst_message_new_warning), (gst_message_new_tag),
20335 (gst_message_new_state_changed), (gst_message_new_application):
20336 * gst/gstmessage.h:
20337 * gst/gstprobe.c: (gst_probe_perform),
20338 (gst_probe_dispatcher_dispatch):
20340 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20341 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20342 (_gst_query_copy), (gst_query_new):
20344 Update elements for GstData -> GstMiniObject changes
20346 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20347 (gst_queue_chain), (gst_queue_loop):
20348 * gst/elements/gstbufferstore.c:
20349 (gst_buffer_store_add_buffer_func),
20350 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20351 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20352 (gst_fakesink_render):
20353 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20354 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20355 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20356 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20357 (gst_filesrc_create_read):
20358 * gst/elements/gstidentity.c: (gst_identity_class_init):
20359 * gst/elements/gsttypefindelement.c:
20360 (gst_type_find_element_src_event), (free_entry_buffers),
20361 (gst_type_find_element_handle_event):
20362 * libs/gst/dataprotocol/dataprotocol.c:
20363 (gst_dp_header_from_buffer):
20364 * libs/gst/dataprotocol/dataprotocol.h:
20365 * libs/gst/dataprotocol/dp-private.h:
20367 2005-05-15 David Schleef <ds@schleef.org>
20369 * gst/elements/gstelements.c: Don't include headers that were
20372 2005-05-15 David Schleef <ds@schleef.org>
20374 * gst/elements/Makefile.am: Remove some elements that don't
20375 need to be in the core (or even exist at all).
20376 * gst/elements/gstaggregator.c:
20377 * gst/elements/gstaggregator.h:
20378 * gst/elements/gstmd5sink.c:
20379 * gst/elements/gstmd5sink.h:
20380 * gst/elements/gstmultifilesrc.c:
20381 * gst/elements/gstmultifilesrc.h:
20382 * gst/elements/gstpipefilter.c:
20383 * gst/elements/gstpipefilter.h:
20384 * gst/elements/gstshaper.c:
20385 * gst/elements/gstshaper.h:
20386 * gst/elements/gststatistics.c:
20387 * gst/elements/gststatistics.h:
20388 * po/POTFILES.in: Remove above files.
20390 2005-05-14 Andy Wingo <wingo@pobox.com>
20392 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
20393 so as to get the refs right.
20394 (sink_iterator_filter): New function, wraps bin_element_is_sink,
20395 unreffing objects that don't pass the filter.
20397 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
20398 gst_element_set_bus.
20399 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
20400 normal cases, this will destroy the bus.
20402 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
20405 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
20408 2005-05-13 Andy Wingo <wingo@pobox.com>
20410 * gst/gstutils.c (gst_element_link_pads): Instead of calling
20411 gst_pad_link, call pad_link_maybe_ghosting,
20412 (pad_link_maybe_ghosting): Links pads, making sure that the
20413 elements being linked are in the same bin.
20414 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
20415 Helpers for pad_link_maybe_ghosting.
20417 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
20420 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
20422 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
20424 * docs/design/part-element-source.txt:
20427 2005-05-12 Wim Taymans <wim@fluendo.com>
20429 * gst/base/gstbasesink.c: (gst_basesink_init),
20430 (gst_basesink_activate):
20431 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
20432 (gst_basesrc_is_seekable):
20433 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20434 (bin_element_is_sink), (gst_bin_change_state):
20435 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20436 * gst/gstelement.h:
20437 Identify sinks by their flag to avoid overly complicated
20439 Do state changes even for elements not reachable from the
20441 BaseSink is a sink now :)
20442 Some more debugging info in the basesrc.
20445 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20447 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
20448 Implement _query on a bin, similar to _send_event.
20450 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
20452 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
20453 Discont event offset format should be GST_FORMAT_BYTES,
20454 not GST_FORMAT_TIME.
20456 2005-05-12 Wim Taymans <wim@fluendo.com>
20458 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
20459 Same fix as Ronald's but without the signal.
20461 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20463 * gst/gstutils.c: (gst_element_query_position):
20464 No, an element is not a pad.
20466 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20468 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
20469 (gst_bin_get_state):
20470 If a child is removed from a bin while we remove the child from
20471 the bin and while we're retrieving its state, signal this to the
20472 get_state function so we abort the wait (instead of waiting for
20473 a timeout) and can immediately re-iterate over all other elements.
20475 2005-05-12 Wim Taymans <wim@fluendo.com>
20477 * gst/base/Makefile.am:
20478 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
20479 (gst_basesrc_start):
20480 * gst/base/gstbasesrc.h:
20481 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
20482 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
20483 (gst_pushsrc_init), (gst_pushsrc_create):
20484 * gst/base/gstpushsrc.h:
20485 Added is_seekable to BaseSrc
20486 Added simple PushSrc.
20488 2005-05-11 Wim Taymans <wim@fluendo.com>
20490 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20491 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20492 (gst_element_link_pads), (gst_element_query_position),
20493 (gst_element_query_convert), (intersect_caps_func),
20494 (gst_pad_query_position), (gst_pad_query_convert):
20495 Fix refcounting in utils function.
20496 No point in trying to activate a pad when it's added, it could
20497 be added from the state change function and then we deadlock, the
20498 element has to decide what to do.
20500 2005-05-10 Andy Wingo <wingo@pobox.com>
20502 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
20503 *all* the arguments.
20505 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
20506 stream lock if it's a FLUSH_DONE; normal flushes don't get the
20507 lock (according to the docs -- if this is wrong change the docs).
20509 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
20510 flush messages in the NULL state.
20512 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
20513 message immediately and return.
20514 (gst_bus_set_flushing): New function. If a bus is flushing, it
20515 flushes out any queued messages and immediately unrefs new
20516 messages. This is so when an element goes to NULL, all of the
20517 unhandled messages coming from it can be freed, and their
20518 references to the element dropped. In other words: message source
20519 ref considered harmful :P
20521 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
20522 we're finished with it.
20524 * gst/gstmessage.c (gst_message_new_state_changed):
20526 2005-05-10 Wim Taymans <wim@fluendo.com>
20528 * gst/gstvalue.c: (gst_value_compare_flags),
20529 (gst_value_serialize_flags), (gst_value_deserialize_flags),
20530 (_gst_value_initialize):
20531 Added flags serialize/deserialize/compare code.
20533 2005-05-09 Andy Wingo <wingo@pobox.com>
20535 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
20536 Intersect the peer's caps with our caps.
20538 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20540 * gst/base/gsttypefindhelper.c: (helper_find_peek):
20541 * gst/elements/gsttypefindelement.c: (find_peek):
20542 Handle negative offsets better. Fixes decodebin.
20544 2005-05-09 Wim Taymans <wim@fluendo.com>
20546 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
20547 (gst_base_transform_event):
20548 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
20549 Implement accept_caps.
20550 Fix silly lock/unlock mismatch in base class.
20552 2005-05-09 Wim Taymans <wim@fluendo.com>
20554 * docs/design/draft-push-pull.txt:
20555 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
20556 * gst/elements/gstfilesink.c: (gst_filesink_init),
20557 (gst_filesink_query):
20558 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20559 (gst_type_find_handle_src_query), (find_element_get_length):
20560 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
20561 * gst/gstelement.h:
20562 * gst/gstmessage.c:
20563 * gst/gstmessage.h:
20564 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
20565 (gst_real_pad_get_caps_unlocked),
20566 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
20567 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20568 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
20569 (gst_real_pad_dispose), (gst_real_pad_finalize),
20570 (gst_pad_load_and_link), (gst_pad_save_thyself),
20571 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
20572 (gst_pad_check_pull_range), (gst_pad_pull_range),
20573 (gst_pad_template_get_type), (gst_pad_template_class_init),
20574 (gst_pad_template_init), (gst_pad_template_dispose),
20575 (name_is_valid), (gst_static_pad_template_get),
20576 (gst_pad_template_new), (gst_static_pad_template_get_caps),
20577 (gst_pad_template_get_caps), (gst_pad_set_element_private),
20578 (gst_pad_get_element_private), (gst_pad_start_task),
20579 (gst_pad_pause_task), (gst_pad_stop_task),
20580 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
20581 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
20582 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
20583 (gst_ghost_pad_new):
20585 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
20586 (gst_query_new_position), (gst_query_set_position),
20587 (gst_query_parse_position), (gst_query_new_convert),
20588 (gst_query_set_convert), (gst_query_parse_convert):
20590 * gst/gstqueryutils.c:
20591 * gst/gstqueryutils.h:
20592 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
20593 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
20594 (gst_queue_handle_src_query):
20595 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20596 (gst_element_query_position), (gst_element_query_convert),
20597 (intersect_caps_func), (gst_pad_query_position),
20598 (gst_pad_query_convert):
20600 * tools/gst-inspect.c: (print_pad_info):
20601 * tools/gst-xmlinspect.c: (print_element_info):
20602 Remove old query functions. Ported old code.
20603 Added position/convert helper functions to gstutils.
20604 Reordered gstpad.c code, grouping relevant things.
20605 Remove gst_message_new(), always need to speficy a specific
20609 2005-05-09 Andy Wingo <wingo@pobox.com>
20611 * gst/gstiterator.h: Add some includes.
20613 * gst/gstqueryutils.h: Include more headers.
20616 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
20617 some uses of gst_pad_query.
20619 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
20620 NULL out parameters.
20621 (gst_query_new_position): New proc, allocates a new position
20624 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
20625 gstqueryutils.c to the build.
20627 * gst/gststructure.c (gst_structure_set_valist): Implement with
20628 the generic G_VALUE_COLLECT.
20630 2005-05-08 Edward Hervey <bilboed@bilboed.com>
20632 * gst/Makefile.am: (gst_headers):
20633 Added gstqueryutils.h to the list of headers to install, that was
20634 a 'nachty' move wingo :)
20636 2005-05-06 Andy Wingo <wingo@pobox.com>
20639 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
20640 GstData, init a memchunk.
20641 (standard_definitions): Add a few query types, deprecate a few.
20642 (gst_query_get_type): New proc.
20643 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
20645 (gst_query_new_application, gst_query_get_structure): New public
20648 * docs/design/draft-query.txt: Removed LINKS from the query types,
20649 because all the rest can be dispatched to other pads -- seemed
20650 ugly to have a query that couldn't be dispatched. internal_links
20651 is fine as a pad method.
20653 * gst/gstpad.h: Add query2 as a pad method, add the new functions
20654 in gstpad.c, but maintain binary compatibility for the moment.
20655 Will fix before 0.9 is out.
20657 * gst/gstqueryutils.c:
20658 * gst/gstqueryutils.h: New files, implement 3 methods for each
20659 query type: parse_query, parse_response, and set. Probably need an
20662 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
20664 * gst/elements/gstfilesink.c (gst_filesink_query2):
20665 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
20666 query_types, and formats methods.
20668 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
20669 (gst_pad_set_query2_function): New functions.
20670 (gst_real_pad_init): Set query2_default as the default query2
20671 function. Basically just dispatches to internally linked pads.
20675 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
20676 without using the atomic operations. Only one thread can possibly
20677 be accessing the data at this point. Changed so as to avoid
20678 gst_atomic operations.
20680 2005-05-06 Wim Taymans <wim@fluendo.com>
20682 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
20683 Also set caps if we use the fallback buffer alloc.
20685 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
20687 * docs/gst/Makefile.am:
20688 * docs/gst/gstreamer-docs.sgml:
20689 * docs/gst/gstreamer-sections.txt:
20690 * docs/gst/tmpl/gstatomic.sgml:
20691 * docs/gst/tmpl/gstmemchunk.sgml:
20692 * testsuite/elements/struct_i386.h:
20693 * win32/GStreamer.vcproj:
20695 Purge GstAtomic stuff from docs and win32 makefiles as well
20697 2005-05-06 Wim Taymans <wim@fluendo.com>
20699 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
20700 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
20701 * gst/gstpad.c: (gst_pad_peer_get_caps):
20702 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
20703 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
20704 (gst_queue_src_activate), (gst_queue_change_state):
20706 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20707 (intersect_caps_func):
20708 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
20709 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
20710 Some fixes for the peer_get_caps() change.
20712 2005-05-06 Wim Taymans <wim@fluendo.com>
20714 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20715 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
20716 (gst_basesink_activate):
20717 Actually do something with error codes returned from the push
20720 2005-05-06 Wim Taymans <wim@fluendo.com>
20722 * docs/design/part-element-sink.txt:
20723 * docs/design/part-element-source.txt:
20724 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20725 (gst_basesink_event), (gst_basesink_activate):
20726 * gst/base/gstbasesink.h:
20727 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
20728 (gst_basesrc_activate):
20729 * gst/base/gstbasesrc.h:
20730 * gst/gstelement.c: (gst_element_pads_activate):
20731 Some more documentation.
20732 Fixed scheduling decision in _pads_activate().
20734 2005-05-05 Andy Wingo <wingo@pobox.com>
20736 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
20739 2005-05-05 Wim Taymans <wim@fluendo.com>
20741 * gst/base/Makefile.am:
20742 * gst/base/gstbasesink.h:
20743 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20744 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
20745 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
20746 (gst_collectpads_class_init), (gst_collectpads_init),
20747 (gst_collectpads_finalize), (gst_collectpads_new),
20748 (gst_collectpads_set_function), (gst_collectpads_add_pad),
20749 (find_pad), (gst_collectpads_remove_pad),
20750 (gst_collectpads_is_active), (gst_collectpads_collect),
20751 (gst_collectpads_collect_range), (gst_collectpads_start),
20752 (gst_collectpads_stop), (gst_collectpads_peek),
20753 (gst_collectpads_pop), (gst_collectpads_available),
20754 (gst_collectpads_read), (gst_collectpads_flush),
20755 (gst_collectpads_chain):
20756 * gst/base/gstcollectpads.h:
20757 * gst/elements/Makefile.am:
20758 * gst/elements/gstelements.c:
20759 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20760 (gst_fakesink_get_times), (gst_fakesink_event),
20761 (gst_fakesink_preroll), (gst_fakesink_render):
20762 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20763 (gst_filesink_init), (gst_filesink_set_location),
20764 (gst_filesink_open_file), (gst_filesink_close_file),
20765 (gst_filesink_pad_query), (gst_filesink_event),
20766 (gst_filesink_render), (gst_filesink_change_state):
20767 * gst/elements/gstfilesink.h:
20768 Added object to help in making collect pad based elements.
20770 Make event function in sink baseclass return gboolean.
20772 2005-05-05 Wim Taymans <wim@fluendo.com>
20774 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
20775 (gst_bin_get_by_name):
20777 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
20778 (gst_clock_finalize):
20779 * gst/gstdata.c: (gst_data_replace):
20781 * gst/gstelement.c: (gst_element_request_pad),
20782 (gst_element_pads_activate):
20783 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
20784 (gst_object_unref):
20785 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20786 (gst_pad_set_checkgetrange_function),
20787 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
20788 (gst_pad_check_pull_range), (gst_pad_pull_range),
20789 (gst_static_pad_template_get_caps), (gst_pad_start_task),
20790 (gst_pad_pause_task), (gst_pad_stop_task):
20791 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20792 (gst_element_request_pad), (gst_pad_proxy_getcaps):
20793 Fix name lookup in GstBin.
20794 Added _data_replace() function and _buffer_replace()
20795 Use finalize method to clean up clock.
20796 Fix refcounting on request pads.
20797 Fix pad schedule mode error.
20798 Some more object refcounting debug info,
20801 2005-05-04 Andy Wingo <wingo@pobox.com>
20803 * check/Makefile.am:
20804 * docs/gst/tmpl/gstatomic.sgml:
20805 * docs/gst/tmpl/gstplugin.sgml:
20806 * gst/base/gstbasesink.c: (gst_basesink_activate):
20807 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
20808 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
20809 (gst_basesrc_query), (gst_basesrc_set_property),
20810 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
20811 (gst_basesrc_activate):
20812 * gst/base/gstbasesrc.h:
20813 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
20814 (gst_base_transform_src_activate):
20815 * gst/elements/gstelements.c:
20816 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20817 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20818 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20819 * gst/elements/gsttypefindelement.c: (find_element_get_length),
20820 (gst_type_find_element_checkgetrange),
20821 (gst_type_find_element_activate):
20822 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
20823 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
20824 (gst_caps_load_thyself):
20825 * gst/gstelement.c: (gst_element_pads_activate),
20826 (gst_element_save_thyself), (gst_element_restore_thyself):
20827 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
20828 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
20830 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
20831 (gst_xml_parse_file), (gst_xml_parse_memory),
20832 (gst_xml_get_element), (gst_xml_make_element):
20833 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20834 (_file_index_id_save_xml), (gst_file_index_commit):
20835 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
20836 (read_enum), (load_pad_template), (load_feature), (load_plugin),
20838 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
20839 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
20840 * tools/gst-complete.c: (main):
20841 * tools/gst-compprep.c: (main):
20842 * tools/gst-inspect.c: (print_element_properties_info):
20843 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
20844 * tools/gst-xmlinspect.c: (print_element_properties):
20847 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
20849 * gst/gstplugin.c: (gst_plugin_check_module),
20850 (gst_plugin_check_file), (gst_plugin_load_file):
20851 apply patch from #172526 to make register work on MacOSX
20853 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
20855 * docs/gst/tmpl/gstconfig.sgml:
20856 * gst/gstconfig.h.in:
20857 move documentation for some symbols. Add doc for GST_PTR_FORMAT
20858 * testsuite/debug/printf_extension.c: (main):
20859 Do not use GST_PTR_FORMAT on pointers to types with
20860 sizeof < sizeof(gpointer). Fixes test on 64-bit
20861 * testsuite/elements/property.h:
20862 use correct printf format
20864 2005-05-02 Wim Taymans <wim@fluendo.com>
20866 * docs/design/draft-push-pull.txt:
20867 * docs/design/draft-query.txt:
20868 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
20869 (gst_basesrc_start):
20870 Added draft for new query API.
20871 Added draft for better selecting scheduling methods.
20872 Make basesrc ignore length if the subclass does not support
20875 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
20878 possible fixes for automake-1.5 - _LIBADD is reserved
20880 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
20882 * docs/faq/Makefile.am:
20883 * docs/manual/Makefile.am:
20884 * docs/manuals.mak:
20885 * docs/pwg/Makefile.am:
20887 possible fixes for automake-1.5
20889 2005-04-28 Wim Taymans <wim@fluendo.com>
20891 * gst/base/gstbasesink.c: (gst_basesink_base_init),
20892 (gst_basesink_pad_getcaps), (gst_basesink_init),
20893 (gst_basesink_do_sync):
20894 * gst/gstclock.c: (gst_clock_entry_new):
20895 * gst/gstevent.c: (gst_event_discont_get_value):
20896 * gst/gstpipeline.c: (pipeline_bus_handler),
20897 (gst_pipeline_change_state):
20898 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
20899 Better debugging of clocking info.
20900 Allow NULL values when getting discont values.
20902 2005-04-27 Wim Taymans <wim@fluendo.com>
20904 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20905 * check/gst/gstpad.c: (gst_pad_suite):
20906 Increase timeout for checks.
20908 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20910 * check/Makefile.am:
20911 fix the broken rule for cleanup. Apparently this rule is
20912 only needed on FC2, so maybe this warrants further autotool
20915 2005-04-26 Wim Taymans <wim@fluendo.com>
20917 * gst/gsttrashstack.h:
20918 Ooohh. a nasty one! After having a failed pop() from the stack,
20919 it's possible that the stack is empty. In that case, don't
20920 follow the NULL pointer.
20922 2005-04-25 Wim Taymans <wim@fluendo.com>
20924 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20925 (gst_pad_set_checkgetrange_function),
20926 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
20927 (gst_pad_check_pull_range), (gst_pad_pull_range),
20928 (gst_static_pad_template_get_caps), (gst_pad_start_task),
20929 (gst_pad_pause_task), (gst_pad_stop_task):
20930 * gst/gstplugin.c: (gst_plugin_load):
20932 Remove gst_library_load as it does more harm than good with
20933 the new g_module flags.
20934 Revert bogus caps template check in pad linking, pad caps
20935 are important when linking not the template, which is more
20936 general than the current caps.
20938 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20940 * gst/autoplug/.cvsignore:
20941 * gst/autoplug/Makefile.am:
20942 * gst/autoplug/gstsearchfuncs.c:
20943 * gst/autoplug/gstsearchfuncs.h:
20944 * gst/autoplug/gstspider.c:
20945 * gst/autoplug/gstspider.h:
20946 * gst/autoplug/gstspideridentity.c:
20947 * gst/autoplug/gstspideridentity.h:
20948 * gst/autoplug/spidertest.c:
20951 2005-04-25 Wim Taymans <wim@fluendo.com>
20953 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20954 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
20955 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
20956 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
20958 Added stubs for unimplemented functions.
20960 2005-04-24 David Schleef <ds@schleef.org>
20962 * gst/gstpad.h: Disable some unimplemented functions. Wim,
20965 2005-04-24 David Schleef <ds@schleef.org>
20967 Convert everything from GstAtomicInt to g_atomic_int_*, and
20972 * gst/gstatomic_impl.h:
20980 * gst/gstdata_private.h:
20984 * gst/gstmessage.c:
20987 * gst/gststructure.c:
20988 * gst/gststructure.h:
20989 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
20992 2005-04-24 David Schleef <ds@schleef.org>
20994 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
20995 make the regressions tests work. Remove some code that is no
20997 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
20998 Disable warning for pads without templates.
21000 2005-04-24 David Schleef <ds@schleef.org>
21002 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21003 functions that handle filtered links.
21004 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21006 * gst/gstutils.c: Fix/remove utility functions that handle
21009 * gst/gstvalue.c: Add serialization/deserialization of caps
21010 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21011 requires fixing so that the filter caps notation creates
21012 a capsfilter element and sets the filter_caps property. I
21013 think everyone probably wants to keep the shorthand notation.
21014 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21015 * docs/gst/tmpl/gstpad.sgml:
21017 * gst/elements/gstelements.c: Register capsfilter element.
21018 * gst/Makefile.am: fix spacing
21019 * docs/random/ds/0.9-suggested-changes: random
21021 2005-04-23 David Schleef <ds@schleef.org>
21023 * gst/elements/Makefile.am:
21024 * gst/elements/gstcapsfilter.c: New element that acts like an
21025 identity, but filters caps. Will eventually replace filtered
21026 caps in pad linking.
21027 * gst/gstutils.c: (gst_element_create_all_pads): New function
21028 to create all the ALWAYS pads that are registered with an
21029 element class. This functionality should eventually be
21030 merged in with GstElement initialization.
21032 * testsuite/trigger/README: part of trigger test code that should
21033 have been checked in a long time ago.
21035 2005-04-23 David Schleef <ds@schleef.org>
21037 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21038 needed with new versions of libtool (nobody will confirm this),
21039 and hard to carry around.
21040 * gst/autoplug/Makefile.am:
21041 * gst/base/Makefile.am:
21042 * gst/elements/Makefile.am:
21043 * gst/indexers/Makefile.am:
21044 * gst/schedulers/Makefile.am:
21045 * libs/gst/bytestream/Makefile.am:
21046 * libs/gst/control/Makefile.am:
21047 * libs/gst/dataprotocol/Makefile.am:
21048 * libs/gst/getbits/Makefile.am:
21050 2005-04-21 Wim Taymans <wim@fluendo.com>
21052 * docs/design/draft-push-pull.txt:
21053 * docs/design/part-MT-refcounting.txt:
21054 * docs/design/part-TODO.txt:
21055 * docs/design/part-caps.txt:
21056 * docs/design/part-events.txt:
21057 * docs/design/part-gstbus.txt:
21058 * docs/design/part-gstpipeline.txt:
21059 * docs/design/part-messages.txt:
21060 * docs/design/part-push-pull.txt:
21061 * docs/design/part-query.txt:
21064 2005-04-21 Wim Taymans <wim@fluendo.com>
21066 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21067 (gst_message_new), (gst_message_new_error),
21068 (gst_message_new_warning), (gst_message_new_tag),
21069 (gst_message_new_state_changed), (gst_message_new_application),
21070 (gst_message_get_structure):
21071 * gst/gstmessage.h:
21072 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21073 (gst_structure_copy_conditional):
21074 Use parent refcount in GstMessage to ensure GstStructure
21076 Cleaned up headers a bit.
21079 2005-04-20 Wim Taymans <wim@fluendo.com>
21081 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21082 (gst_basesink_pad_getcaps), (gst_basesink_init),
21083 (gst_basesink_chain_unlocked):
21084 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21085 (gst_type_find_helper):
21086 * gst/elements/gsttypefindelement.c:
21087 (gst_type_find_element_have_type), (gst_type_find_element_init),
21088 (stop_typefinding), (gst_type_find_element_handle_event),
21089 (find_suggest), (gst_type_find_element_chain),
21090 (gst_type_find_element_checkgetrange),
21091 (gst_type_find_element_getrange), (do_typefind),
21092 (gst_type_find_element_activate):
21093 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21094 (gst_buffer_default_free), (gst_buffer_default_copy),
21095 (gst_buffer_set_caps):
21096 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21097 (gst_caps_replace):
21098 * gst/gstmessage.c: (gst_message_new),
21099 (gst_message_new_state_changed):
21100 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21101 (gst_pad_set_checkgetrange_function),
21102 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21103 (gst_pad_set_caps), (gst_pad_check_pull_range),
21104 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21106 * gst/gsttypefind.c: (gst_type_find_register):
21107 Make gst_caps_replace() work like other _replace() functions.
21108 Use _caps_replace() where possible.
21109 Make sure _message_new() initialises its field.
21110 Add gst_static_pad_template_get_caps()
21113 2005-04-18 Andy Wingo <wingo@pobox.com>
21115 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21116 on the peer, not the pad. I think that was a typo. Pass an extra
21117 arg to see if random access is possible. Activate the pads as
21118 PULL_RANGE if possible.
21120 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21122 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21123 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21126 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21128 * docs/faq/using.xml:
21129 Add note on gstreamer-properties (#154996).
21131 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21133 * docs/random/bbb/optional-properties:
21134 Some analysis on optional properties.
21136 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21138 * docs/gst/tmpl/gstelementfactory.sgml:
21139 * gst/gstelement.h:
21140 * gst/gstelementfactory.c: (gst_element_factory_init),
21141 (gst_element_factory_cleanup), (gst_element_register),
21142 (__gst_element_factory_add_static_pad_template),
21143 (gst_element_factory_get_static_pad_templates),
21144 (gst_element_factory_can_src_caps),
21145 (gst_element_factory_can_sink_caps):
21146 * gst/registries/Makefile.am:
21147 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21148 (gst_xml_registry_class_init), (gst_xml_registry_init),
21149 (gst_xml_registry_new), (gst_xml_registry_set_property),
21150 (gst_xml_registry_get_property), (get_time), (make_dir),
21151 (gst_xml_registry_get_perms_func),
21152 (plugin_times_older_than_recurse), (plugin_times_older_than),
21153 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21154 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21155 (add_to_char_array), (read_string), (read_uint), (read_enum),
21156 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21157 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21158 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21159 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21160 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21161 (gst_xml_registry_rebuild):
21162 * gst/registries/gstlibxmlregistry.h:
21163 * tools/gst-compprep.c: (main):
21164 * tools/gst-inspect.c: (print_pad_templates_info):
21165 * tools/gst-xmlinspect.c: (print_element_info):
21166 Use libxml2 for registry parsing, use staticpadtemplates in
21167 elementfactories. Makes gst_init() +/- 10x faster.
21169 2005-04-12 Wim Taymans <wim@fluendo.com>
21171 * gst/base/Makefile.am:
21172 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21173 (gst_basesink_pad_getcaps), (gst_basesink_init),
21174 (gst_basesink_event), (gst_basesink_change_state):
21175 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21176 (gst_basesrc_init), (gst_basesrc_query),
21177 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21178 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21179 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21180 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21181 (gst_basesrc_stop), (gst_basesrc_activate),
21182 (gst_basesrc_change_state):
21183 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21184 (helper_find_suggest), (gst_type_find_helper):
21185 * gst/base/gsttypefindhelper.h:
21186 * gst/elements/Makefile.am:
21187 * gst/elements/gstelements.c:
21188 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21189 (gst_fakesink_get_times), (gst_fakesink_event),
21190 (gst_fakesink_preroll), (gst_fakesink_render):
21191 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21192 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21193 (gst_fakesrc_get_property), (gst_fakesrc_create),
21194 (gst_fakesrc_start), (gst_fakesrc_stop):
21195 * gst/elements/gstfakesrc.h:
21196 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21197 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21198 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21199 (gst_filesrc_create_read), (gst_filesrc_create),
21200 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21201 (gst_filesrc_start):
21202 * gst/elements/gsttypefindelement.c:
21203 (gst_type_find_element_have_type), (gst_type_find_element_init),
21204 (start_typefinding), (stop_typefinding), (push_buffer_store),
21205 (gst_type_find_element_handle_event),
21206 (gst_type_find_element_chain),
21207 (gst_type_find_element_checkgetrange),
21208 (gst_type_find_element_getrange), (do_typefind),
21209 (gst_type_find_element_activate),
21210 (gst_type_find_element_change_state):
21211 * gst/elements/gsttypefindelement.h:
21212 * gst/gstpipeline.c: (pipeline_bus_handler):
21213 Added typefind helper.
21214 Small preroll fix in the base sink.
21215 Disable typefind code in basesrc.
21216 Crude port of typefindelement.
21220 2005-04-11 Wim Taymans <wim@fluendo.com>
21222 * check/gst/gstbus.c: (gstbus_suite):
21223 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21224 * check/gstcheck.h:
21225 Fix up the timeout so that the test does not fail.
21227 2005-04-06 Wim Taymans <wim@fluendo.com>
21230 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21231 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21232 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21233 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21234 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21235 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21236 (gst_basesrc_stop), (gst_basesrc_activate),
21237 (gst_basesrc_change_state), (basesrc_find_peek),
21238 (basesrc_find_suggest), (gst_basesrc_type_find):
21239 * gst/base/gstbasesrc.h:
21240 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21241 (gst_filesrc_class_init), (gst_filesrc_init),
21242 (gst_filesrc_finalize), (gst_filesrc_set_location),
21243 (gst_filesrc_set_property), (gst_filesrc_get_property),
21244 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21245 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21246 (gst_filesrc_create_read), (gst_filesrc_create),
21247 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21248 * gst/elements/gstfilesrc.h:
21249 * gst/gstelement.c: (gst_element_get_state_func),
21250 (gst_element_lost_state), (gst_element_pads_activate):
21251 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21252 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21253 (gst_pad_pull_range):
21255 More work on the generic source base class, implement seeking,
21257 Make filesrc extend the base source class.
21258 Added gst_pad_set_checkgetrange_function to GstPad.
21260 2005-04-06 Andy Wingo <wingo@pobox.com>
21262 * pkgconfig/gstreamer-base.pc.in:
21263 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21265 * pkgconfig/Makefile.am:
21266 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21268 2005-04-04 Wim Taymans <wim@fluendo.com>
21270 * gst/base/Makefile.am:
21272 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21273 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21274 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21275 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21276 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21277 (gst_basesrc_base_init), (gst_basesrc_class_init),
21278 (gst_basesrc_init), (gst_basesrc_get_formats),
21279 (gst_basesrc_get_query_types), (gst_basesrc_query),
21280 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21281 (gst_basesrc_set_property), (gst_basesrc_get_property),
21282 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21283 (gst_basesrc_loop), (gst_basesrc_activate),
21284 (gst_basesrc_change_state):
21285 * gst/base/gstbasesrc.h:
21286 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21287 (gst_fakesrc_class_init), (gst_fakesrc_init),
21288 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21289 (gst_fakesrc_get_property), (gst_fakesrc_create):
21290 * gst/elements/gstfakesrc.h:
21291 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21292 (gst_filesrc_open_file), (gst_filesrc_loop),
21293 (gst_filesrc_activate), (filesrc_find_peek),
21294 (gst_filesrc_type_find):
21295 Made base source class, make fakesrc extend it.
21296 Add comments to basesink class.
21297 Some filesrc cleanup.
21299 2005-03-31 David Schleef <ds@schleef.org>
21301 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21302 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21303 expected to link against libgstreamer.
21304 * gst/base/Makefile.am: link against libgstreamer
21305 * gst/elements/Makefile.am: same
21307 2005-03-31 Andy Wingo <wingo@pobox.com>
21309 * tests/instantiate/Makefile.am:
21310 * tests/instantiate/caps.c: Add test to test speed of caps copy
21313 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21314 GMemChunk to be fair.
21316 * gst/gsttrashstack.h: Remove warning about using the fallback
21317 trash stack implementation, it's still faster than malloc.
21319 2005-03-30 Andy Wingo <wingo@pobox.com>
21321 * tests/complexity.c: Add a copyright.
21323 2005-03-31 Wim Taymans <wim@fluendo.com>
21325 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21326 (gst_base_transform_class_init), (gst_base_transform_init),
21327 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21328 (gst_base_transform_get_property),
21329 (gst_base_transform_sink_activate),
21330 (gst_base_transform_src_activate),
21331 (gst_base_transform_change_state):
21332 * gst/base/gstbasetransform.h:
21333 * gst/elements/gstidentity.c: (gst_identity_class_init),
21334 (gst_identity_event), (gst_identity_check_perfect),
21335 (gst_identity_transform), (gst_identity_start),
21336 (gst_identity_stop):
21337 Added start/stop methods to transform base class so subclasses
21338 don't need to deal with state changes even.
21340 2005-03-31 Wim Taymans <wim@fluendo.com>
21342 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21343 (gst_event_new_discontinuous), (gst_event_discont_get_value):
21345 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21346 (gst_pad_pull_range):
21347 Added rate to the discont event to prepare for variable speed
21348 and reverse playback.
21350 2005-03-29 David Schleef <ds@schleef.org>
21353 * testsuite/trigger/Makefile.am:
21354 * testsuite/trigger/trigger.c: A little example program to show
21355 how trigger-based elements can work.
21357 2005-03-29 Wim Taymans <wim@fluendo.com>
21359 * gst/base/Makefile.am:
21361 * gst/base/gstbasesink.c: (gst_basesink_get_type),
21362 (gst_basesink_base_init), (gst_basesink_class_init),
21363 (gst_basesink_pad_getcaps), (gst_basesink_init),
21364 (gst_basesink_activate), (gst_basesink_change_state):
21365 * gst/base/gstbasesink.h:
21366 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21367 (gst_base_transform_base_init), (gst_base_transform_finalize),
21368 (gst_base_transform_class_init), (gst_base_transform_init),
21369 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21370 (gst_base_transform_event), (gst_base_transform_getrange),
21371 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21372 (gst_base_transform_set_property),
21373 (gst_base_transform_get_property),
21374 (gst_base_transform_sink_activate),
21375 (gst_base_transform_src_activate),
21376 (gst_base_transform_change_state):
21377 * gst/base/gstbasetransform.h:
21378 * gst/elements/gstidentity.c: (gst_identity_finalize),
21379 (gst_identity_class_init), (gst_identity_init),
21380 (gst_identity_event), (gst_identity_check_perfect),
21381 (gst_identity_transform), (gst_identity_set_property),
21382 (gst_identity_get_property), (gst_identity_change_state):
21383 * gst/elements/gstidentity.h:
21384 * gst/gstelement.c: (gst_element_get_state_func),
21385 (gst_element_lost_state), (gst_element_pads_activate):
21386 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21387 (gst_pad_check_pull_range), (gst_pad_pull_range):
21389 Simplify pad activation.
21390 Added function to check if pull_range can be performed.
21391 Error out when pulling inactive or flushing pads.
21392 Removed const from refcounted types as it does not make sense.
21393 Simplify pad templates in basesink
21394 Added base class for simple 1-to-1 transforms.
21395 Make identity subclass the base transform.
21397 2005-03-29 Andy Wingo <wingo@pobox.com>
21399 * docs/libs/gstreamer-libs-overrides.txt:
21400 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
21401 really don't understand what's going on, but like whatever. I want
21404 * docs/gst/Makefile.am:
21405 * docs/libs/Makefile.am: Dist the overrides files.
21407 * check/Makefile.am (clean-local): Remove .libs directories.
21409 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
21410 elements to EXTRA_DIST, so po/ files are happy.
21412 * po/POTFILES.in: Er, remove it here.
21414 * po/POTFILES: Remove gstspider.c.
21416 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
21418 * docs/libs/gstreamer-libs-docs.sgml:
21419 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
21422 * tests/complexity.c (main): Set the length of the preroll queue
21423 on the sinks to prevent a lockup.
21425 * libs/gst/dataprotocol/Makefile.am:
21426 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
21427 the same as the one in check/gst-libs/gdp.c.
21429 * po/, docs/gst/: Commit automatic changes to docs and po files.
21431 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
21432 the versioned libgstbase.
21434 * check/Makefile.am: Depend on an unversioned gst-register, seems
21435 to make autoconf happier.
21437 * gst/base/Makefile.am: Make libgstbase a versioned lib.
21439 2005-03-28 Wim Taymans <wim@fluendo.com>
21442 * docs/design/part-gstelement.txt:
21443 * docs/design/part-negotiation.txt:
21444 * docs/design/part-preroll.txt:
21445 * docs/design/part-scheduling.txt:
21446 * docs/design/part-states.txt:
21448 * gst/base/Makefile.am:
21450 * gst/base/gstbasesink.c: (gst_basesink_get_template),
21451 (gst_basesink_base_init), (gst_basesink_class_init),
21452 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21453 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21454 (gst_basesink_set_pad_functions),
21455 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
21456 (gst_basesink_set_property), (gst_basesink_get_property),
21457 (gst_base_sink_get_template), (gst_base_sink_get_caps),
21458 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
21459 (gst_basesink_preroll_queue_push),
21460 (gst_basesink_preroll_queue_empty),
21461 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
21462 (gst_basesink_event), (gst_basesink_get_times),
21463 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
21464 (gst_basesink_chain_unlocked), (gst_basesink_chain),
21465 (gst_basesink_loop), (gst_basesink_activate),
21466 (gst_basesink_change_state):
21467 * gst/base/gstbasesink.h:
21468 * gst/elements/Makefile.am:
21469 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
21470 (gst_fakesink_class_init), (gst_fakesink_init),
21471 (gst_fakesink_set_property), (gst_fakesink_get_property),
21472 (gst_fakesink_get_times), (gst_fakesink_event),
21473 (gst_fakesink_preroll), (gst_fakesink_render),
21474 (gst_fakesink_change_state):
21475 * gst/elements/gstfakesink.h:
21476 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
21477 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
21478 * gst/gstelement.c: (gst_element_add_pad),
21479 (gst_element_get_state_func), (gst_element_abort_state),
21480 (gst_element_commit_state), (gst_element_lost_state),
21481 (gst_element_set_state), (gst_element_pads_activate):
21482 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
21483 * gst/gstpipeline.c: (gst_pipeline_send_event),
21484 (gst_pipeline_change_state):
21485 Added state change code.
21486 Added/updated docs.
21487 Added sink base class, make fakesink extend the base class.
21488 Small cleanups in GstPipeline.
21490 2005-03-26 David Schleef <ds@schleef.org>
21492 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
21493 is broken and should be implemented in a different library.
21494 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
21495 * gst/gst.h: remove gstcpu.h
21496 * gst/gstcpu.c: remove
21497 * gst/gstcpu.h: remove
21498 * gst/Makefile.am.future: Remove this file. It's ancient.
21500 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21502 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
21503 (gst_bin_send_event):
21504 Add default event/set_manager handlers. The set_manager handler
21505 takes care that the manager is distributed over kids that were
21506 already in the bin before the manager was set. The event handler
21507 is a utility virtual function that sends the event over all sinks,
21508 so that gst_element_send_event (bin, event); has the expected
21510 * gst/gstpad.c: (gst_pad_event_default):
21511 Re-install default event handling for discontinuities, so that
21512 seeking works without requiring hacks in applications or extra
21514 * gst/gstpipeline.c: (gst_pipeline_class_init),
21515 (gst_pipeline_send_event):
21516 Half hack, half utility: set a pipeline to PAUSED for seek events,
21517 since that is the only way we can guarantee a/v sync. Means that
21518 you can do gst_element_seek (pipeline, method, pos); on a pipeline
21519 and it "just works".
21521 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21523 * gst/gstpipeline.c: (gst_pipeline_use_clock):
21524 Lock/unlock mismatch.
21526 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
21528 * docs/faq/gst-uninstalled:
21529 add gst-plugins-base
21530 * docs/gst/Makefile.am:
21531 don't error out until docs are fixed
21532 * docs/gst/gstreamer.types:
21535 2005-03-22 Wim Taymans <wim@fluendo.com>
21537 * check/Makefile.am:
21538 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
21539 * gst/gststructure.c: (gst_structure_set_valist),
21540 (gst_structure_copy_conditional):
21541 Activated more tests.
21542 Added message test.
21543 Added G_TYPE_POINTER to GstStructure.
21546 2005-03-22 Wim Taymans <wim@fluendo.com>
21548 * docs/design/part-TODO.txt:
21549 * docs/design/part-events.txt:
21550 * docs/design/part-gstbin.txt:
21551 * docs/design/part-gstbus.txt:
21552 * docs/design/part-gstpipeline.txt:
21553 * docs/design/part-messages.txt:
21555 * gst/gstmessage.c:
21558 2005-03-21 Wim Taymans <wim@fluendo.com>
21560 * gst/gstbus.c: (gst_bus_post):
21561 Fix copy-and-paste error.
21563 2005-03-21 Wim Taymans <wim@fluendo.com>
21565 * check/Makefile.am:
21567 * gst/elements/Makefile.am:
21568 * gst/elements/gstelements.c:
21569 * gst/elements/gstfakesink.c: (gst_fakesink_init),
21570 (gst_fakesink_event), (gst_fakesink_chain):
21571 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21572 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
21573 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
21574 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
21575 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21576 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
21577 (gst_fakesrc_loop), (gst_fakesrc_activate),
21578 (gst_fakesrc_change_state):
21579 * gst/elements/gstfakesrc.h:
21580 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
21581 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
21582 (gst_filesrc_open_file), (gst_filesrc_loop),
21583 (gst_filesrc_activate), (gst_filesrc_change_state),
21584 (filesrc_find_peek), (filesrc_find_suggest),
21585 (gst_filesrc_type_find):
21586 * gst/elements/gstidentity.c: (gst_identity_finalize),
21587 (gst_identity_class_init), (gst_identity_init),
21588 (gst_identity_proxy_getcaps), (identity_queue_push),
21589 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
21590 (gst_identity_getrange), (gst_identity_chain),
21591 (gst_identity_sink_loop), (gst_identity_src_loop),
21592 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
21593 (gst_identity_set_property), (gst_identity_get_property),
21594 (gst_identity_change_state):
21595 * gst/elements/gstidentity.h:
21596 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
21597 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
21598 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
21599 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
21600 (gst_tee_sink_activate):
21601 * gst/elements/gsttee.h:
21602 * gst/gst.c: (gst_register_core_elements), (init_post):
21604 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
21605 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
21606 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
21607 (gst_bin_change_state):
21609 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
21610 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
21611 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
21612 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
21613 (gst_bus_set_sync_handler), (gst_bus_create_watch),
21614 (bus_watch_callback), (bus_watch_destroy),
21615 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
21616 (poll_timeout), (gst_bus_poll):
21620 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
21621 (gst_element_post_message), (gst_element_message_full),
21622 (gst_element_get_state_func), (gst_element_get_state),
21623 (gst_element_abort_state), (gst_element_commit_state),
21624 (gst_element_lost_state), (gst_element_set_state),
21625 (gst_element_pads_activate), (gst_element_change_state),
21626 (gst_element_dispose), (gst_element_set_manager_func),
21627 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
21628 (gst_element_set_manager), (gst_element_get_manager),
21629 (gst_element_set_bus), (gst_element_get_bus),
21630 (gst_element_set_scheduler), (gst_element_get_scheduler):
21631 * gst/gstelement.h:
21632 * gst/gstevent.c: (gst_event_new_segment_seek),
21633 (gst_event_new_flush):
21635 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
21636 (_gst_message_free), (gst_message_get_type), (gst_message_new),
21637 (gst_message_new_eos), (gst_message_new_error),
21638 (gst_message_new_warning), (gst_message_new_tag),
21639 (gst_message_new_state_changed), (gst_message_new_application),
21640 (gst_message_get_structure), (gst_message_parse_tag),
21641 (gst_message_parse_state_changed), (gst_message_parse_error),
21642 (gst_message_parse_warning):
21643 * gst/gstmessage.h:
21644 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
21645 (gst_real_pad_set_property), (gst_pad_set_active),
21646 (gst_pad_is_active), (gst_pad_set_blocked_async),
21647 (gst_pad_set_blocked), (gst_pad_is_blocked),
21648 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
21649 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
21650 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
21651 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
21652 (gst_pad_link_filtered), (gst_pad_relink_filtered),
21653 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
21654 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
21655 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
21656 (gst_pad_set_caps), (gst_pad_configure_sink),
21657 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
21658 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
21659 (gst_real_pad_dispose), (gst_real_pad_finalize),
21660 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
21661 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21662 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
21664 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
21665 (pipeline_bus_handler), (gst_pipeline_change_state),
21666 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
21667 * gst/gstpipeline.h:
21669 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21670 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
21671 (gst_queue_link_src), (gst_queue_bufferalloc),
21672 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
21673 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
21674 (gst_queue_loop), (gst_queue_handle_src_event),
21675 (gst_queue_handle_src_query), (gst_queue_src_activate),
21676 (gst_queue_change_state):
21678 * gst/gstscheduler.c: (gst_scheduler_init),
21679 (gst_scheduler_dispose), (gst_scheduler_create_task),
21680 (gst_scheduler_factory_create):
21681 * gst/gstscheduler.h:
21682 * gst/gststructure.c: (gst_structure_get_type),
21683 (gst_structure_copy_conditional):
21684 * gst/gststructure.h:
21685 * gst/gsttaginterface.h:
21686 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21687 (gst_task_init), (gst_task_dispose), (gst_task_create),
21688 (gst_task_get_state), (gst_task_start), (gst_task_stop),
21694 * gst/schedulers/Makefile.am:
21695 * gst/schedulers/cothreads_compat.h:
21696 * gst/schedulers/entryscheduler.c:
21697 * gst/schedulers/faircothreads.c:
21698 * gst/schedulers/faircothreads.h:
21699 * gst/schedulers/fairscheduler.c:
21700 * gst/schedulers/gstbasicscheduler.c:
21701 * gst/schedulers/gstoptimalscheduler.c:
21702 * gst/schedulers/gthread-cothreads.h:
21703 * gst/schedulers/threadscheduler.c:
21704 (gst_thread_scheduler_task_get_type),
21705 (gst_thread_scheduler_task_class_init),
21706 (gst_thread_scheduler_task_init),
21707 (gst_thread_scheduler_task_start),
21708 (gst_thread_scheduler_task_stop),
21709 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
21710 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21711 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
21712 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
21714 * libs/gst/Makefile.am:
21715 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
21716 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
21717 (gst_file_pad_parent_set):
21718 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21719 (gst_dp_event_from_packet):
21720 * tests/complexity.c: (main):
21721 * tests/mass_elements.c: (main):
21722 * testsuite/states/locked.c: (message_received), (main):
21723 * testsuite/states/parent.c: (main):
21724 * tools/gst-inspect.c: (print_element_flag_info),
21725 (print_implementation_info), (print_pad_info):
21726 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
21728 * tools/gst-md5sum.c: (event_loop), (main):
21729 * tools/gst-typefind.c: (main):
21730 * tools/gst-xmlinspect.c: (print_element_info):
21732 Added GstBus for mainloop integration.
21733 Added GstMessage for sending notifications on the bus.
21734 Added GstTask as an abstraction for pipeline entry points.
21736 Removed Schedulers.
21737 Simplified GstQueue for multithreaded core.
21738 Made _link threadsafe, removed old capsnego.
21739 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
21740 Added pad blocking functions.
21741 Reworked scheduling functions in GstPad to prepare for
21742 scheduling updates soon.
21743 Moved events out of data stream.
21744 Simplified GstEvent types.
21745 Added return values to push/pull.
21746 Removed clocking from GstElement.
21747 Added prototypes for state change function for next merge.
21748 Removed iterate from bins and state change management.
21749 Fixed some elements, disabled others for now.
21750 Fixed -inspect and -launch.
21751 Added check for GstBus.
21753 2005-03-10 Wim Taymans <wim@fluendo.com>
21755 * docs/design/part-MT-refcounting.txt:
21756 * docs/design/part-clocks.txt:
21757 * docs/design/part-gstelement.txt:
21758 * docs/design/part-gstobject.txt:
21759 * docs/design/part-standards.txt:
21760 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
21761 (gst_bin_remove_func), (gst_bin_remove):
21765 * testsuite/clock/clock1.c: (main):
21766 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
21768 * testsuite/dlopen/loadgst.c: (do_test):
21769 * testsuite/refcounting/bin.c: (add_remove_test1),
21770 (add_remove_test2), (main):
21771 * testsuite/refcounting/element.c: (main):
21772 * testsuite/refcounting/element_pad.c: (main):
21773 * testsuite/refcounting/pad.c: (main):
21774 * tools/gst-launch.c: (sigint_handler_sighandler):
21775 * tools/gst-typefind.c: (main):
21777 Added doc about clock.
21778 removed gst_bin_iterate_recurse_up(), marked methods
21780 Fix more testsuites.
21782 2005-03-09 Wim Taymans <wim@fluendo.com>
21784 * gst/gstpad.c: (gst_pad_get_direction),
21785 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
21786 (gst_pad_collect_valist):
21787 * testsuite/bins/interface.c: (main):
21788 * testsuite/caps/audioscale.c: (test_caps):
21789 * testsuite/caps/caps.c: (test1), (test2), (test3):
21790 * testsuite/caps/deserialize.c: (main):
21791 * testsuite/caps/enumcaps.c: (main):
21792 * testsuite/caps/filtercaps.c: (main):
21793 * testsuite/caps/intersect2.c: (main):
21794 * testsuite/caps/random.c: (main):
21795 * testsuite/caps/renegotiate.c: (my_fixate), (main):
21796 * testsuite/caps/sets.c: (check_caps):
21797 * testsuite/caps/simplify.c: (check_caps), (main):
21798 * testsuite/caps/subtract.c: (check_caps):
21799 Fix _pad_get_direction wrt ghostpads.
21800 Fix caps testsuite.
21802 2005-03-09 Wim Taymans <wim@fluendo.com>
21804 * check/Makefile.am:
21805 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
21806 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
21807 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
21808 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
21809 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
21810 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
21811 (gst_bin_remove), (gst_bin_iterate_recurse_up),
21812 (bin_element_is_sink), (gst_bin_iterate_sinks),
21813 (gst_bin_iterate_all_by_interface):
21815 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
21816 (gst_element_change_state), (gst_element_dispose),
21817 (gst_element_finalize), (gst_element_set_loop_function):
21818 * gst/gstelement.h:
21819 * gst/gstiterator.c: (find_custom_fold_func):
21820 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
21821 (gst_pad_collectv), (gst_pad_collect_valist),
21822 (gst_pad_template_new):
21823 * gst/gstpipeline.c: (gst_pipeline_class_init),
21824 (gst_pipeline_dispose), (gst_pipeline_set_property),
21825 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
21826 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
21827 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
21829 * gst/schedulers/entryscheduler.c:
21830 * gst/schedulers/gstbasicscheduler.c:
21831 (gst_basic_scheduler_cothreaded_chain),
21832 (gst_basic_scheduler_chain_add_element):
21833 * testsuite/bins/interface.c: (main):
21835 Added GstSystemClock test.
21836 Implemented clock distribution code in GstBin.
21837 Implemented iterate sinks method for future use.
21838 Rearranged gstelement.h
21839 Fix GstIterator comparison bug.
21840 Moved some code to GstPipeline, mostly clocking related.
21842 2005-03-09 Wim Taymans <wim@fluendo.com>
21845 * gst/gst_private.h:
21846 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
21847 (gst_bin_remove_func), (gst_bin_remove),
21848 (gst_bin_get_by_name_recurse_up):
21849 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
21850 (gst_clock_id_compare_func), (gst_clock_id_wait),
21851 (gst_clock_id_wait_async), (gst_clock_init),
21852 (gst_clock_adjust_unlocked), (gst_clock_get_time):
21853 * gst/gstelement.h:
21854 * gst/gstinfo.c: (_gst_debug_init):
21856 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
21857 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
21859 Bump version number, we're now 0.9.0
21860 Add future debugging category.
21861 Fix NULL _unref() in _get_by_name_recurse_up
21862 Rearrange gstpad.h.
21865 2005-03-08 Wim Taymans <wim@fluendo.com>
21867 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
21868 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
21869 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21870 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
21871 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
21872 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
21873 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
21874 * gst/elements/gstidentity.c: (gst_identity_class_init):
21875 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
21876 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
21877 * gst/elements/gstshaper.c: (gst_shaper_class_init):
21878 * gst/elements/gststatistics.c: (gst_statistics_class_init):
21879 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
21881 * gst/gstelement.c: (gst_element_class_init),
21882 (gst_element_base_class_init), (gst_element_init),
21883 (gst_element_get_random_pad), (gst_element_wait_state_change),
21884 (gst_element_change_state), (gst_element_dispose),
21885 (gst_element_finalize), (gst_element_set_loop_function):
21886 * gst/gstelement.h:
21887 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
21888 * gst/gstthread.c: (gst_thread_class_init),
21889 (gst_thread_release_children_locks), (gst_thread_change_state):
21890 * gst/schedulers/gstbasicscheduler.c:
21891 (gst_basic_scheduler_loopfunc_wrapper),
21892 (gst_basic_scheduler_chain_wrapper),
21893 (gst_basic_scheduler_src_wrapper),
21894 (gst_basic_scheduler_remove_element):
21895 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
21896 Remove threadsafe properties. Fix elements because GObject
21897 complains when installing a property before declaring a
21898 set/get_property handler.
21899 Rearrange gstelement.h file, use STATE macros for state locks.
21900 Free mutexes in the finalize method instead of dispose.
21902 2005-03-08 Wim Taymans <wim@fluendo.com>
21904 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21905 * gst/gstthread.c: (gst_thread_release_children_locks):
21906 Added parentage check.
21907 Fix build og GstThread again.
21909 2005-03-08 Wim Taymans <wim@fluendo.com>
21911 * docs/design/part-MT-refcounting.txt:
21912 * docs/design/part-conventions.txt:
21913 * docs/design/part-gstobject.txt:
21914 * docs/design/part-relations.txt:
21915 * docs/design/part-standards.txt:
21916 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
21917 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
21918 (gst_bin_get_by_name), (gst_bin_get_by_interface),
21919 (gst_bin_iterate_all_by_interface):
21922 * gst/gstelement.c: (gst_element_class_init),
21923 (gst_element_change_state), (gst_element_set_loop_function):
21924 * gst/gstelement.h:
21925 * gst/gstiterator.c:
21926 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
21927 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
21928 (gst_object_dispatch_properties_changed), (gst_object_set_name),
21929 (gst_object_set_parent), (gst_object_unparent),
21930 (gst_object_check_uniqueness):
21932 Docs updates, clean up some headers.
21934 2005-03-07 Wim Taymans <wim@fluendo.com>
21936 * check/.cvsignore:
21937 * check/Makefile.am:
21938 * check/gst-libs/.cvsignore:
21939 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
21940 * check/gst/.cvsignore:
21941 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
21942 (START_TEST), (gstbus_suite), (main):
21943 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
21944 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
21945 (gst_data_suite), (main):
21946 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
21947 (add_fold_func), (gstiterator_suite), (main):
21948 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
21949 (thread_name_object), (thread_name_object_default),
21950 (gst_object_name_compare), (gst_object_suite), (main):
21951 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
21952 (gst_pad_suite), (main):
21953 * check/gstcheck.c: (gst_check_log_message_func),
21954 (gst_check_log_critical_func), (gst_check_init):
21955 * check/gstcheck.h:
21956 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
21957 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
21960 2005-03-07 Wim Taymans <wim@fluendo.com>
21962 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21963 (gst_list_iterator_next), (gst_list_iterator_resync),
21964 (gst_list_iterator_free), (gst_iterator_new_list),
21965 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
21966 (gst_iterator_free), (gst_iterator_push), (filter_next),
21967 (filter_resync), (filter_uninit), (filter_free),
21968 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
21969 (gst_iterator_foreach), (find_custom_fold_func),
21970 (gst_iterator_find_custom):
21971 * gst/gstiterator.h:
21972 Added missing files.
21974 2005-03-07 Wim Taymans <wim@fluendo.com>
21978 * docs/design/part-MT-refcounting.txt:
21979 * docs/design/part-conventions.txt:
21980 * docs/design/part-gstobject.txt:
21981 * docs/design/part-relations.txt:
21982 * examples/mixer/mixer.c: (main):
21983 * examples/thread/thread.c: (eos), (main):
21985 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
21986 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
21987 (gst_spider_plug_from_srcpad):
21988 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
21989 (gst_spider_identity_change_state),
21990 (gst_spider_identity_sink_loop_type_finding):
21991 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
21992 * gst/elements/gstidentity.c: (gst_identity_init):
21993 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
21994 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
21995 * gst/elements/gsttypefindelement.c: (free_entry):
21998 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
21999 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22000 (gst_bin_set_index), (gst_bin_set_element_sched),
22001 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22002 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22003 (gst_bin_iterate_elements), (iterate_child_recurse),
22004 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22005 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22006 (compare_interface), (gst_bin_get_by_interface),
22007 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22009 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22010 (gst_buffer_default_free), (gst_buffer_default_copy),
22011 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22012 (gst_buffer_create_sub):
22014 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22015 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22016 (gst_caps_unref), (gst_static_caps_get),
22017 (gst_caps_remove_and_get_structure), (gst_caps_append),
22018 (gst_caps_append_structure), (gst_caps_remove_structure),
22019 (gst_caps_copy_nth), (gst_caps_set_simple),
22020 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22021 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22022 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22023 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22024 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22025 (gst_caps_structure_figure_out_union),
22026 (gst_caps_switch_structures), (gst_caps_do_simplify),
22027 (gst_caps_replace), (gst_caps_from_string),
22028 (gst_caps_copy_conditional):
22030 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22031 (_gst_clock_id_free), (gst_clock_id_unref),
22032 (gst_clock_id_compare_func), (gst_clock_id_wait),
22033 (gst_clock_id_wait_async), (gst_clock_class_init),
22034 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22035 (gst_clock_get_time), (gst_clock_set_time_adjust),
22036 (gst_clock_set_property), (gst_clock_get_property):
22039 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22040 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22042 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22043 (gst_element_requires_clock), (gst_element_provides_clock),
22044 (gst_element_set_clock), (gst_element_clock_wait),
22045 (gst_element_wait), (gst_element_set_time_delay),
22046 (gst_element_is_indexable), (gst_element_add_pad),
22047 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22048 (pad_compare_name), (gst_element_get_static_pad),
22049 (gst_element_request_pad), (gst_element_get_request_pad),
22050 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22051 (gst_element_class_get_pad_template_list),
22052 (gst_element_class_get_pad_template), (gst_element_error_func),
22053 (gst_element_get_random_pad), (gst_element_get_event_masks),
22054 (gst_element_send_event), (gst_element_seek),
22055 (gst_element_get_query_types), (gst_element_query),
22056 (gst_element_get_formats), (gst_element_convert),
22057 (gst_element_is_locked_state), (gst_element_set_locked_state),
22058 (gst_element_sync_state_with_parent), (gst_element_change_state),
22059 (gst_element_finalize), (gst_element_yield),
22060 (gst_element_interrupt), (gst_element_set_scheduler),
22061 (gst_element_get_scheduler), (gst_element_set_loop_function):
22062 * gst/gstelement.h:
22064 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22065 (gst_format_get_by_nick), (gst_format_get_details),
22066 (gst_format_iterate_definitions):
22068 * gst/gstindex.c: (gst_index_gtype_resolver):
22071 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22072 (gst_mem_chunk_free):
22073 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22074 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22075 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22076 (gst_object_dispatch_properties_changed),
22077 (gst_object_set_name_default), (gst_object_set_name),
22078 (gst_object_get_name), (gst_object_set_name_prefix),
22079 (gst_object_get_name_prefix), (gst_object_set_parent),
22080 (gst_object_get_parent), (gst_object_unparent),
22081 (gst_object_check_uniqueness), (gst_object_save_thyself),
22082 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22083 (gst_object_set_property), (gst_object_get_property),
22084 (gst_object_get_path_string):
22086 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22087 (gst_real_pad_init), (gst_real_pad_get_property),
22088 (gst_pad_custom_new), (gst_pad_get_direction),
22089 (gst_pad_set_active), (gst_pad_is_active),
22090 (gst_pad_set_event_function), (gst_pad_is_linked),
22091 (gst_pad_link_free), (gst_pad_link_intersect),
22092 (gst_pad_link_fixate), (gst_pad_set_caps),
22093 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22094 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22095 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22096 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22097 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22098 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22099 (gst_pad_realize), (gst_pad_get_allowed_caps),
22100 (gst_real_pad_dispose), (gst_real_pad_finalize),
22101 (gst_pad_collectv), (gst_pad_collect_valist),
22102 (gst_pad_template_dispose), (gst_pad_template_new),
22103 (gst_pad_get_internal_links):
22105 * gst/gstpipeline.c: (gst_pipeline_dispose),
22106 (gst_pipeline_change_state):
22107 * gst/gstpipeline.h:
22109 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22110 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22111 * gst/gstpluginfeature.h:
22112 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22113 * gst/gstquery.c: (_gst_query_type_initialize),
22114 (gst_query_type_register), (gst_query_type_get_by_nick),
22115 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22117 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22118 * gst/gstscheduler.c: (gst_scheduler_add_element),
22119 (gst_scheduler_factory_create):
22120 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22121 (gst_structure_free), (gst_structure_set_name),
22122 (gst_structure_id_set_value), (gst_structure_set_value),
22123 (gst_structure_set_valist), (gst_structure_remove_field),
22124 (gst_structure_remove_fields),
22125 (gst_structure_remove_fields_valist),
22126 (gst_structure_remove_all_fields), (gst_structure_foreach),
22127 (gst_structure_map_in_place),
22128 (gst_caps_structure_fixate_field_nearest_int),
22129 (gst_caps_structure_fixate_field_nearest_double):
22130 * gst/gststructure.h:
22131 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22132 (gst_system_clock_init), (gst_system_clock_dispose),
22133 (gst_system_clock_async_thread),
22134 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22135 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22136 * gst/gstsystemclock.h:
22137 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22138 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22139 * gst/gsttaginterface.c:
22140 * gst/gstthread.c: (gst_thread_dispose),
22141 (gst_thread_release_children_locks), (gst_thread_change_state),
22142 (gst_thread_main_loop):
22143 * gst/gsttrashstack.h:
22144 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22146 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22147 (gst_element_request_pad), (gst_element_get_pad_from_template),
22148 (gst_element_request_compatible_pad),
22149 (gst_element_get_compatible_pad_filtered),
22150 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22151 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22152 (gst_element_link_many), (gst_element_link),
22153 (gst_element_link_pads), (gst_element_unlink_pads),
22154 (gst_element_unlink_many), (gst_element_unlink),
22155 (gst_pad_can_link_filtered), (gst_pad_can_link),
22156 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22157 (gst_object_default_error), (gst_bin_add_many),
22158 (gst_bin_remove_many), (gst_element_populate_std_props),
22159 (gst_element_class_install_std_props), (gst_buffer_merge),
22160 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22161 (link_fold_func), (gst_pad_proxy_setcaps):
22163 * gst/gstvalue.c: (gst_value_deserialize_string):
22164 * gst/parse/grammar.y:
22165 * gst/schedulers/gstbasicscheduler.c:
22166 (gst_basic_scheduler_cothreaded_chain),
22167 (gst_basic_scheduler_chain_recursive_add),
22168 (gst_basic_scheduler_pad_link):
22169 * gst/schedulers/gstoptimalscheduler.c:
22170 (get_group_schedule_function),
22171 (gst_opt_scheduler_state_transition),
22172 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22173 * libs/gst/bytestream/bytestream.c:
22174 * libs/gst/dataprotocol/dataprotocol.c:
22175 (gst_dp_header_from_buffer):
22178 * tests/threadstate/threadstate2.c: (eos):
22179 * tools/gst-compprep.c: (main):
22180 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22181 (print_pad_info), (print_children_info):
22182 * tools/gst-launch.c: (idle_func), (main):
22183 * tools/gst-md5sum.c: (idle_func), (main):
22184 * tools/gst-xmlinspect.c: (print_element_info):
22185 First THREADED backport attempt, focusing on adding locks and
22186 making sure the API is threadsafe. Needs more work. More docs
22189 2005-02-24 Andy Wingo <wingo@pobox.com>
22191 * tests/bench-complexity.scm:
22192 * tests/complexity.gnuplot: New files, good for running complexity
22195 * tests/Makefile.am:
22196 * tests/complexity.c: New test, sets up N elements, at each level
22197 teeing into M streams per element. Eeeenteresting.
22199 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22200 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22201 running bench-mass_elements.scm.
22203 * tests/bench-mass_elements.scm: New script, runs mass_elements
22204 for various numbers of identities, outputting the results to a
22205 file. Requires guile 1.6. Just for testing.
22207 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
22209 * gst/schedulers/fairscheduler.c:
22210 compile with debug disabled
22212 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
22215 hunting season on 0.9 is now OPEN