1 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4 (gst_identity_init), (gst_identity_check_perfect),
5 (gst_identity_check_imperfect_timestamp),
6 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7 (gst_identity_set_property), (gst_identity_get_property):
8 * plugins/elements/gstidentity.h:
9 Separate out check-imperfect-timestamp and check-imperfect-offset.
10 Put back check-perfect as it was to keep compatibility.
12 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
14 * gst/gstelement.c: (gst_element_dispose):
15 There's no need to warn if VOID_PENDING is not NONE here, as
16 long as the state is NULL it's ok, and that's checked immediately
19 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
21 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
22 Fix check for perfect stream to ignore buffers with -1
23 offsets/offset ends when checking data contiguity.
25 2007-03-08 Wim Taymans <wim@fluendo.com>
27 * tools/gst-launch.c: (event_loop):
30 2007-03-08 Wim Taymans <wim@fluendo.com>
32 * libs/gst/base/gstbasetransform.c:
33 (gst_base_transform_sink_eventfunc),
34 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
35 (gst_base_transform_activate):
36 * libs/gst/base/gstbasetransform.h:
37 Add support for dropping buffers with custom GstFlowReturn.
38 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
39 buffers or dropped buffers.
41 * docs/libs/gstreamer-libs-sections.txt:
42 docs for new custom return code.
44 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
45 Use drop support in base class to implement drop-probability.
47 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
49 * gst/gst.c: (load_plugin_func):
50 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
51 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
52 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
53 Remove newlines at end of debug log strings.
55 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
57 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
58 Only post bus message at max, once per buffer received.
60 2007-03-07 Wim Taymans <wim@fluendo.com>
62 * docs/design/Makefile.am:
63 * docs/design/part-synchronisation.txt:
64 Add doc about synchronisation
66 * docs/design/draft-latency.txt:
67 * docs/design/part-TODO.txt:
68 * docs/design/part-clocks.txt:
69 * docs/design/part-events.txt:
70 * docs/design/part-gstbus.txt:
71 * docs/design/part-gstpipeline.txt:
72 * docs/design/part-live-source.txt:
73 * docs/design/part-messages.txt:
74 * docs/design/part-overview.txt:
75 * docs/design/part-streams.txt:
76 * docs/design/part-trickmodes.txt:
77 Documentation updates.
79 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
84 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
86 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
87 Rename non-perfect to imperfect for Mike and for the sanctity of the
89 Also make sure bus message gets emitted for data-incontiguities.
91 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
93 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
95 * plugins/elements/gstidentity.h:
96 Emit bus message if check-perfect is true and we encounter a
97 non-perfect stream between 2 consecutive buffers.
100 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
105 === release 0.10.12 ===
107 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
110 releasing 0.10.12, "Inevitable Demise"
112 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
115 Version 0.10.11.2 (0.10.12 pre-release)
116 Bump libtool versioning.
118 2007-03-01 Stefan Kost <ensonic@users.sf.net>
120 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
121 Log flow-names and not numbers.
123 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
126 Convert to new AG_GST style.
128 2007-02-28 Wim Taymans <wim@fluendo.com>
130 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
131 Don't unref query twice.
133 2007-02-28 Wim Taymans <wim@fluendo.com>
135 * gst/gstvalue.c: (gst_value_transform_object_string),
136 (_gst_value_initialize):
137 Implement GstObject -> string transform so we print object names
138 when serializing GValues containing GstObjects.
140 2007-02-28 Wim Taymans <wim@fluendo.com>
142 * docs/gst/gstreamer-sections.txt:
143 Add new stuff to docs.
145 2007-02-28 Wim Taymans <wim@fluendo.com>
147 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
148 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
149 (gst_base_sink_change_state):
150 Improve latency query code.
151 Don't leak latency events.
153 * tests/check/gst/gstbin.c: (GST_START_TEST):
156 2007-02-28 Wim Taymans <wim@fluendo.com>
158 * gst/gstelement.c: (gst_element_message_full),
159 (gst_element_get_state_func):
161 Improve docs a little. Added Since: for new macro.
163 * gst/gstobject.c: (gst_object_sink):
164 * gst/gstpipeline.c: (gst_pipeline_change_state),
165 (gst_pipeline_set_new_stream_time):
167 Improve debugging and docs.
169 * gst/gstutils.c: (gst_element_state_change_return_get_name):
172 2007-02-28 Wim Taymans <wim@fluendo.com>
174 * gst/gstelement.c: (gst_element_message_full),
175 (gst_element_set_locked_state), (gst_element_get_state_func),
176 (gst_element_change_state):
177 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
178 Documentation updates.
181 * gst/gstmessage.c: (gst_message_new_info),
182 (gst_message_parse_info):
184 API: gst_message_new_info()
185 API: gst_message_parse_info()
186 Add INFO message create and parse code.
188 2007-02-28 Wim Taymans <wim@fluendo.com>
190 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
191 (bin_query_latency_done):
192 Also report the live parameter of a latency query.
194 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
196 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
197 Copy the current generic/states example from -base and adapt so
198 we can use the exact same code everywhere.
199 Check a STATES_IGNORE_ELEMENTS env var which can be used
200 to ignore certain element factories for this test, which is
201 what is being done in -base
202 * tests/check/Makefile.am:
203 Mention this environment variable.
205 2007-02-27 Wim Taymans <wim@fluendo.com>
207 * docs/gst/gstreamer-sections.txt:
208 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
209 (gst_bus_timed_pop), (gst_bus_pop):
211 API: gst_bus_timed_pop()
212 Implement gst_bus_timed_pop() to do a blocking timed wait for a
213 message to arrive on the bus.
215 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
217 Two unit tests for new _timed_pop() function.
219 2007-02-23 Wim Taymans <wim@fluendo.com>
221 * gst/gstpipeline.c: (gst_pipeline_change_state),
222 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
223 Don't ref a NULL clock in _provide_clock_func().
224 Don't allow an INVALID delay.
225 Don't try to calculate base_time with an invalid start_time.
226 Also distribute and notify a NULL clock when it was selected.
228 * tools/gst-launch.c: (event_loop):
229 Don't crash when a NULL clock was selected in the pipeline.
231 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
233 * docs/design/Makefile.am:
234 * docs/design/draft-missing-plugins.txt:
235 * docs/random/draft-missing-plugins.txt:
236 Some small updates: update plugin system identifier prefix
237 ('gstreamer.net' to 'gstreamer'), mention our new install
238 API in libgstbaseutils rather than libgimme-codec, add
239 reference to the online docs.
241 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
243 * win32/common/config.h:
244 Pretty sure Bill never made a powerpc version. Powerpc hackers,
245 use moap cl ci to only check in what is mentioned in the ChangeLog.
247 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
249 * docs/gst/gstreamer-sections.txt:
251 Fix up documentation to link to the correct GstGError section.
252 Add GST_ELEMENT_INFO macro since someone else added a Info message.
254 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
256 * tools/gst-launch.c: (event_loop):
257 Make sure that we actually show the important message part of a
259 No need to check if the gerror is not NULL to free; first of all
260 g_free accepts NULL; and second the default error handler would
261 segfault if gerror was NULL.
263 2007-02-21 Wim Taymans <wim@fluendo.com>
265 * docs/gst/gstreamer-sections.txt:
266 Removed docs as well.
268 2007-02-21 Wim Taymans <wim@fluendo.com>
270 * gst/gstmessage.c: (gst_message_parse_duration):
272 Remove new messages for release.
274 2007-02-20 Wim Taymans <wim@fluendo.com>
276 * docs/design/part-gstghostpad.txt:
277 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
278 (gst_ghost_pad_new_full):
279 Make the ghostpad a parent of the internal pad again for better backward
280 compatibility. Don't write code that relies on this however.
282 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
283 (gst_pad_link_check_hierarchy):
284 Require that parents should be GstElements in the hierarchy check.
286 2007-02-20 Wim Taymans <wim@fluendo.com>
288 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
289 (gst_bin_change_state_func), (bin_query_min_max_init),
290 (bin_query_latency_fold), (bin_query_latency_done),
293 Implement latency query.
295 2007-02-20 Wim Taymans <wim@fluendo.com>
297 * docs/design/part-gstghostpad.txt:
298 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
299 (gst_ghost_pad_internal_do_activate_push),
300 (gst_ghost_pad_internal_do_activate_pull),
301 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
302 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
303 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
304 Do not set the internal pad as a parent anymore so we can avoid
305 hierarchy linking errors when the ghostpad has no parent yet. This also
306 fixes failed activation because of unlinked internal pads, which in
307 turn fixes the impossible case where you have to activate a pad before
308 you can add it to a running element.
311 * gst/gstpad.c: (pre_activate), (post_activate),
312 (gst_pad_set_active), (gst_pad_activate_pull),
313 (gst_pad_activate_push), (gst_pad_check_pull_range):
314 Add some more debug info.
315 Mark activation mode in pre_activate so that we don't try to activate in
316 endless loops. Fixes #385084.
318 2007-02-19 Wim Taymans <wim@fluendo.com>
320 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
321 (gst_base_transform_check_get_range):
322 Implement a checkgetrange function instead of relying on the default
323 core behaviour that assumes we can operate in pull mode if we have a
324 getrange function. First step at fixing #385084.
326 2007-02-15 Stefan Kost <ensonic@users.sf.net>
328 * gst/gstchildproxy.h:
329 * libs/gst/base/gstbasesink.h:
330 * libs/gst/base/gstbasesrc.h:
331 * libs/gst/base/gstbasetransform.h:
332 More docs coverage and some ChangeLog surgery (add missing names)
334 2007-02-15 Wim Taymans <wim@fluendo.com>
336 * docs/design/part-TODO.txt:
337 * docs/design/part-activation.txt:
338 * docs/design/part-block.txt:
339 * docs/design/part-buffering.txt:
340 * docs/design/part-clocks.txt:
341 * docs/design/part-element-source.txt:
342 * docs/design/part-events.txt:
343 * docs/design/part-gstbin.txt:
344 * docs/design/part-gstbus.txt:
345 * docs/design/part-gstpipeline.txt:
346 * docs/design/part-live-source.txt:
347 * docs/design/part-messages.txt:
348 * docs/design/part-overview.txt:
349 * docs/design/part-qos.txt:
350 * docs/design/part-query.txt:
351 * docs/design/part-states.txt:
352 * docs/design/part-trickmodes.txt:
353 Some doc updates. Start renaming from stream_time to running_time where
356 2007-02-15 Wim Taymans <wim@fluendo.com>
358 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
359 Answer LATENCY query.
361 2007-02-15 Wim Taymans <wim@fluendo.com>
363 * tests/check/gst/gstevent.c: (event_probe), (test_event),
367 2007-02-15 Wim Taymans <wim@fluendo.com>
369 * gst/gstpad.c: (gst_pad_get_internal_links_default),
370 (gst_pad_dispatcher):
371 Improve debugging of default pad dispatcher and query functions.
373 2007-02-15 Wim Taymans <wim@fluendo.com>
375 * docs/gst/gstreamer-sections.txt:
376 Remove old unused method.
378 2007-02-13 Wim Taymans <wim@fluendo.com>
380 * tests/check/gst/gstsegment.c: (GST_START_TEST):
383 2007-02-13 Wim Taymans <wim@fluendo.com>
385 * docs/design/part-seeking.txt:
388 * gst/gstsegment.c: (gst_segment_set_seek):
389 Revert old bogus change that should make seeking work again.
391 2007-02-13 Stefan Kost <ensonic@users.sf.net>
393 * docs/random/ensonic/dynlink.txt:
394 * docs/random/ensonic/interfaces.txt:
395 * docs/random/ensonic/receipies.txt:
396 Possible dynamic reconnection api, plus some type fixes the other two
399 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
401 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
402 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
403 Also check for an absolute path following file:// in the filesrc
404 element. Remove redundant check and call g_path_is_absolute() on the
407 2007-02-13 Stefan Kost <ensonic@users.sf.net>
409 * docs/design/draft-klass.txt:
410 Add existing category analysis.
413 Fix doc example, framerate is a fraction.
415 2007-02-12 Stefan Kost <ensonic@users.sf.net>
418 * docs/gst/Makefile.am:
419 * docs/libs/Makefile.am:
420 * docs/plugins/Makefile.am:
421 Add crossreferences to glib/gobject docs.
423 2007-02-12 Wim Taymans <wim@fluendo.com>
425 * docs/design/draft-latency.txt:
428 * docs/libs/gstreamer-libs-sections.txt:
429 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
430 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
431 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
432 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
433 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
434 (gst_base_sink_get_position), (gst_base_sink_query),
435 (gst_base_sink_change_state):
436 * libs/gst/base/gstbasesink.h:
437 API: gst_base_sink_query_latency() to let subclasses query the upstream
439 API: gst_base_sink_get_latency() to let subclasses query the configured
441 Implement query and set latency.
443 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
444 don't continue preroll when we are flushing. Fixes #405284.
446 * tests/check/pipelines/stress.c: (change_state_timeout),
447 (quit_timeout), (GST_START_TEST), (stress_suite):
450 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
452 Patch by: René Stadler <mail at renestadler de>
454 * docs/gst/gstreamer-sections.txt:
455 * gst/gsttaglist.c: (_gst_tag_initialize):
457 API: add GST_TAG_REFERENCE_LEVEL (#403597).
459 2007-02-11 Stefan Kost <ensonic@users.sf.net>
461 * docs/libs/Makefile.am:
462 Fix path to core docs.
464 * gst/gstbin.c: (gst_bin_get_by_interface),
465 (gst_bin_iterate_all_by_interface):
466 Refix docs by also renaming 'interface' to 'iface' in implementation.
468 * docs/gst/gstreamer-sections.txt:
470 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
471 * gst/gstchildproxy.h:
472 * gst/gstelementfactory.c:
473 * gst/gstpadtemplate.h:
474 * libs/gst/controller/gstcontroller.c:
475 (gst_controlled_property_new):
478 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
480 * gst/gstbin.h:(gst_bin_get_by_interface),
481 (gst_bin_iterate_all_by_interface):
482 Replace interface parameter name by iface as interface is
483 a reserved keyword in Visual Studio for C++ projects so it removes
484 a build error for application developpers using VS.
485 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
486 Fix a bug on Windows in uri format check. Now the prefix checked
487 is file:// and next we check if the path after file:// is absolute.
488 * win32/common/libgstbase.def:
489 * win32/common/libgstdataprotocol.def:
490 * win32/common/libgstgstreamer.def:
491 Add new exported functions.
493 2007-02-09 Andy Wingo <wingo@pobox.com>
495 * tests/check/pipelines/simple-launch-lines.c
496 (simple_launch_lines_suite, test_tee): Disable tee test until I
497 have time to fix it :-(
499 * tests/check/Makefile.am (noinst_HEADERS):
500 * tests/check/libs/libsabi.c:
501 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
502 * tests/check/gst/gstabi.c:
503 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
505 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
506 tests for push and pull tee behavior.
508 * plugins/elements/gsttee.h:
509 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
510 mark as deprecated as well as unimplemented. It was a crack idea.
511 Add support for tee operating in pull mode, off by default.
513 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
514 normal-case logs down to LOG, raise errors to WARNING.
515 (gst_registry_xml_read_cache): Don't log before calling a function
518 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
519 exit (registry finalize).
520 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
521 DEBUG log when we emit signals that people don't even have the
522 chance to connect to.
523 (gst_registry_scan_path_level): Less logging in the normal case.
525 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
527 Patch by: Michal Benes <michal dot benes at itonis dot tv>
529 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
530 Correctly generate EOS for non-seekable files. We don't have a total
531 length for them and would get an unexpected end of file if we only
532 special-cased for regular files. (Fixes: #404569)
534 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
536 * tests/check/elements/filesrc.c: (GST_START_TEST),
538 Add unit test for the GstURIHandler interface in filesrc. This also
539 tests the newly added file://localhost/foo/bar support.
541 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
543 * gst/gstelementfactory.h:
544 The klass string is not a hierarchy. Add reference to the design doc
545 for more information and common types.
547 2007-02-02 Wim Taymans <wim@fluendo.com>
549 * gst/gstquery.c: (gst_query_new_latency):
550 Remove old structure field.
552 2007-02-02 Stefan Kost <ensonic@users.sf.net>
554 * tools/gst-launch.1.in:
555 Give example for network streaming (#351998)
557 2007-02-02 Wim Taymans <wim@fluendo.com>
559 * docs/gst/gstreamer-sections.txt:
560 Add docs for new methods.
562 * gst/gstevent.c: (gst_event_new_latency),
563 (gst_event_parse_latency):
565 Add new LATENCY event to configure latency in a pipeline.
566 API: gst_event_new_latency
567 API: gst_event_parse_latency
569 * gst/gstmessage.c: (gst_message_new_buffering),
570 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
571 (gst_message_new_latency), (gst_message_parse_buffering),
572 (gst_message_parse_lost_preroll):
574 Added messages used in draft-latency.
575 API: gst_message_new_lost_preroll
576 API: gst_message_parse_lost_preroll
577 API: gst_message_new_prerolled
578 API: gst_message_new_latency
580 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
581 (gst_query_parse_latency):
583 Implemented new latency query as in design doc.
584 API: gst_query_new_latency
585 API: gst_query_set_latency
586 API: gst_query_parse_latency
588 2007-02-02 Wim Taymans <wim@fluendo.com>
590 * docs/design/draft-latency.txt:
591 Slight redesign to allow for dynamic latency adjustments.
593 * docs/design/part-negotiation.txt:
596 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
598 reviewed by: Wim Taymans <wim@fluendo.com>
600 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
601 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
602 Allow file://localhost/foo/bar URLs and correctly fail for every other
603 hostname that one sets. This was gnomevfssrc is linked for those if
604 installed as it can handle it (#403172)
606 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
608 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
610 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
611 (unref_data), (gst_collect_pads_add_pad_full):
612 * libs/gst/base/gstcollectpads.h:
613 Don't put the previously added destroy notify in the GstCollectData
614 struct as all it's padding is already used and we don't want to break
615 ABI. Instead put in the pad's GObject data for now. This should be
616 cleaned up for 0.11 (#402393).
618 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
620 reviewed by: Wim Taymans <wim@fluendo.com>
622 * docs/libs/gstreamer-libs-sections.txt:
623 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
624 (unref_data), (gst_collect_pads_add_pad),
625 (gst_collect_pads_add_pad_full):
626 * libs/gst/base/gstcollectpads.h:
627 API: Add function to specify a destroy notification for custom
628 GstCollectData when adding new pads in GstCollectPads (#402393).
630 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
633 Update Swedish translation (#378255).
635 2007-01-31 Stefan Kost <ensonic@users.sf.net>
637 * docs/design/draft-klass.txt:
638 Fix the previous change, this is a list of categories and not a hierarchy.
640 2007-01-31 Stefan Kost <ensonic@users.sf.net>
642 * docs/design/draft-klass.txt:
643 Add info about how to get a list of used classes.
645 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
647 * plugins/elements/gsttypefindelement.c:
648 (gst_type_find_element_chain_do_typefinding),
649 (gst_type_find_element_change_state):
650 Don't leak found caps in chain function (no idea why that never
651 showed up as a leak anywhere).
653 2007-01-30 Stefan Kost <ensonic@users.sf.net>
656 Fix and expand GstPluginDesc API docs.
658 2007-01-29 Stefan Kost <ensonic@users.sf.net>
661 * gst/gstelementfactory.c:
662 * gst/gstpadtemplate.h:
665 * libs/gst/controller/gstcontroller.c:
666 (gst_controlled_property_new):
667 * tests/examples/controller/audio-example.c:
670 2007-01-29 Stefan Kost <ensonic@users.sf.net>
673 comment about refining the xml deps
676 comments about moving away from jade for docs
679 recommit the ifdefs to use the binary registry
681 * gst/gstbin.c: (gst_bin_change_state_func):
682 this break is obsolete
684 * gst/gstelementfactory.h:
685 better GST_ELEMENT_DETAILS docs, add comment about translation
690 * gst/gstobject.c: (gst_signal_object_get_type):
691 add G_UNLIKELY as usual
693 * gst/gstpad.c: (gst_pad_event_default):
694 add fall trhu comment
696 * gst/gstregistrybinary.c: (gst_registry_binary_write),
697 (gst_registry_binary_initialize_magic),
698 (gst_registry_binary_save_string),
699 (gst_registry_binary_save_pad_template),
700 (gst_registry_binary_save_feature),
701 (gst_registry_binary_save_plugin),
702 (gst_registry_binary_write_cache),
703 (gst_registry_binary_check_magic),
704 (gst_registry_binary_load_pad_template),
705 (gst_registry_binary_load_feature),
706 (gst_registry_binary_load_plugin),
707 (gst_registry_binary_read_cache):
708 comment typo and formatting
710 * gst/gstutils.c: (gst_element_state_get_name),
711 (gst_element_state_change_return_get_name):
712 remove obsolete breaks
714 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
715 add FIXME 0.11 and remove cpp comment
717 2007-01-29 Edward Hervey <edward@fluendo.com>
719 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
720 Fix print statement in an even more portable way.
722 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
724 * docs/gst/gstreamer-sections.txt:
726 API: add GST_ROUND_DOWN_* macros (#401781).
728 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
730 * docs/gst/gstreamer.types.in:
731 * gst/gstregistry.c: (gst_registry_class_init):
732 Document registry signals and make gtk-doc pick them up (#401381).
734 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
736 * docs/pwg/building-testapp.xml:
737 Add some audioconverts and audioresample to the pipeline, and some
738 more comments and error handling.
740 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
742 * docs/manual/manual.xml:
746 2007-01-26 Wim Taymans <wim@fluendo.com>
748 * gst/gstcaps.c: (gst_static_caps_get):
751 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
753 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
755 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
756 If not using mmap'ed files try to seek to the end instead of the
757 start to determine whether we can seek at all. This fixes the case
758 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
759 seeks for everything afterwards fail. Fixes #400656
761 2007-01-25 Wim Taymans <wim@fluendo.com>
763 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
764 Add some refcount debugging.
765 Make gst_static_caps_get threadsafe, which is needed when autoplugging
766 in multiple streaming threads.
768 2007-01-25 Wim Taymans <wim@fluendo.com>
770 Patch by: David Schleef <ds at schleef dot org>
772 * docs/libs/gstreamer-libs-sections.txt:
773 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
774 * libs/gst/base/gstadapter.h:
775 API: gst_adapter_copy() that can reduce the amount of memcpy when
776 getting data from the adapter. Fixes #388201.
778 2007-01-25 Edward Hervey <edward@fluendo.com>
780 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
781 In print statements, "%x" is for guint. Fixes build on macosx.
783 2007-01-24 Edward Hervey <edward@fluendo.com>
785 * plugins/elements/gstmultiqueue.c:
786 (gst_multi_queue_loop):
788 (single_queue_overrun_cb), (single_queue_underrun_cb),
789 (single_queue_check_full), (gst_single_queue_new):
790 Implement single queue growth system.
791 This uses the extra-size properties, and will grow single queues by
792 that much if one goes full whereas there are others empty. This is
793 called extra-mode in the code.
794 When a single queue's levels go back below the initial max-size
795 limits, it is no longer in extra-mode. This is to ensure we don't
796 consume too much memory.
799 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
801 * gst/gst.c: (gst_init_get_option_group):
802 Make warning about late g_thread_init() calls a bit more explicit,
803 so that it's more obvious to application developers what they need
804 to do if a user files a bug against their application.
806 2007-01-22 Edward Hervey <edward@fluendo.com>
808 * plugins/elements/gstmultiqueue.c:
809 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
810 Remove previous hack of unsetting the flushing flag for the source pad
811 instead of activating it. Instead, fix the source pad activate function
812 so that it no longer depends on having a parent set or not.
814 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
816 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
818 * docs/manual/basics-bus.xml:
819 Fix example code, gst_element_unref() doesn't exist any longer.
821 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
823 Patch by: Mark Nauwelaerts <manauw at skynet be>
826 Fix two docs typoes (#399094).
828 2007-01-19 Edward Hervey <edward@fluendo.com>
830 * docs/faq/gst-uninstalled:
831 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
832 depending on libgstbaseutils can work in uninstalled environment.
834 2007-01-18 Stefan Kost <ensonic@users.sf.net>
837 * gst/gsttagsetter.c:
838 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
839 statement for new tag.
841 2007-01-17 Edward Hervey <edward@fluendo.com>
843 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
844 When dynamically creating single queues, activate sinkpad before adding
846 We should be doing the same thing for the source pad, but we can't
847 since it would call a method which needs the parent to be set in order
848 to work propertly. Instead of activating the source pad, we just unset
849 the flushing flag, which is the minimal requirement for adding a pad
850 to an element in a state greater than READY.
852 2007-01-17 Edward Hervey <edward@fluendo.com>
854 * docs/faq/gst-uninstalled:
855 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
858 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
860 * tests/check/gst/gstabi.c:
861 * tests/check/gst/struct_hppa.h:
862 * tests/check/libs/libsabi.c:
863 * tests/check/libs/struct_hppa.h:
864 Add ABI structs for HPPA (see #393796).
866 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
868 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
869 Actually write ABI structs to the file specified in the GST_ABI
870 environment variable, as the message we print claims we would.
872 2007-01-15 Stefan Kost <ensonic@users.sf.net>
874 * tests/check/gst/gsttask.c:
877 2007-01-15 Stefan Kost <ensonic@users.sf.net>
879 * gst/gsttaglist.c: (_gst_tag_initialize):
880 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
881 previous two entries.
883 2007-01-15 Stefan Kost <ensonic@users.sf.net>
885 * docs/gst/gstreamer-sections.txt:
886 * gst/gsttaglist.c: (_gst_tag_initialize):
888 Add tag support for beat-per-minute.
890 2007-01-15 Stefan Kost <ensonic@users.sf.net>
892 * gst/gstregistrybinary.c: (gst_registry_binary_write),
893 (gst_registry_binary_initialize_magic),
894 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
895 (gst_registry_binary_save_pad_template),
896 (gst_registry_binary_save_feature),
897 (gst_registry_binary_save_plugin),
898 (gst_registry_binary_write_cache),
899 (gst_registry_binary_check_magic),
900 (gst_registry_binary_load_pad_template),
901 (gst_registry_binary_load_feature),
902 (gst_registry_binary_load_plugin),
903 (gst_registry_binary_read_cache):
904 * gst/gstregistrybinary.h:
905 Use glib types, cleanup comments, impement interfaces and uri-types.
907 2007-01-13 Andy Wingo <wingo@pobox.com>
909 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
910 getrange() to return buffers with other caps, while we fix
911 demuxers and typefind, or otherwise change part-negotiation.txt.
913 2007-01-12 Andy Wingo <wingo@pobox.com>
915 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
916 Factor start/stop into this private function instead of partially
917 in activate functions and partially in the change_state function.
918 Fixes setup before the element has changed from READY->PAUSED, as
919 is the case in pull-mode pipelines.
920 (gst_base_transform_sink_activate_push)
921 (gst_base_transform_src_activate_pull): Refactor to use
922 gst_base_transform_activate().
923 (gst_base_transform_change_state): Removed, not needed any more.
925 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
926 Truncate before fixating.
928 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
929 Don't set_caps() if the result of fixating is ANY, as it's not
930 supported, and not necessary in the case of a link with no
931 template caps on either side. Fixes tests/check/libs/basesrc in
932 some pull-mode tests.
934 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
935 (gst_base_transform_init, gst_base_transform_sink_activate_push)
936 (gst_base_transform_src_activate_pull):
937 Track the activation mode.
938 (gst_base_transform_setcaps): In pull mode, when activating the
939 src pad, after activating the sink pad, activate the sink pad's
940 peer, as discussed in part-negotiation.txt.
942 * libs/gst/base/gstbasesrc.h:
943 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
944 vmethod, as in basesink.
946 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
948 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
949 mode, first proxy the setcaps to the peer pad.
950 (gst_base_sink_pad_fixate): Add a fixate function that calls the
952 (gst_base_sink_default_activate_pull): Rename from
953 gst_base_sink_activate_pull.
954 (gst_base_sink_negotiate_pull): New function, performs negotiation
955 in pull mode before calling ::activate_pull().
956 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
957 vmethod instead of the default implementation. I have no idea how
958 this worked before. Negotiate before calling activate_pull.
960 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
961 sink pads in pull mode. In addition to being correct, fixes
962 filesrc ! decodebin ! identity ! fakesink.
963 (gst_pad_get_range, gst_pad_pull_range): Don't call
964 gst_pad_set_caps() if the caps changes; instead error out with
965 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
967 2007-01-12 Andy Wingo <wingo@pobox.com>
969 * docs/design/part-negotiation.txt: Update with more policy.
971 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
973 * libs/gst/check/gstbufferstraw.h:
974 * libs/gst/check/gstcheck.h:
975 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
978 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
980 * tests/check/Makefile.am:
981 * tests/check/gst/.cvsignore:
982 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
983 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
984 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
985 (GST_START_TEST), (gst_tag_setter_suite):
986 Add minimal unit test for beforementioned GstTagSetter bug.
988 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
990 Patch by: René Stadler <mail at renestadler dot de>
992 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
993 gst_tag_list_merge() returns a new list, so it's not the best idea
994 to ingore its return value. Effectively meant that tags could only
995 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
996 Also add function guard to require a non-NULL taglist as input (has
997 always been so due to gst_tag_list_copy(), just making it explicit).
999 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1001 * docs/random/draft-missing-plugins.txt:
1002 Some additions: mention new API that is supposed to be used at the
1003 various stages; short blob about new gst-inspect introspection
1004 option; mention potential future problem with plugins that have
1005 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1007 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1009 * tools/gst-inspect.c:
1010 (print_plugin_automatic_install_info_codecs),
1011 (print_plugin_automatic_install_info_protocols),
1012 (print_plugin_automatic_install_info), (main):
1013 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1014 introspect plugin files and get machine-parsable output that corresponds
1015 to the last bit of the missing-plugin installer string (small gotcha:
1016 doesn't take into account ranks).
1018 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1021 * docs/gst/gstreamer-sections.txt:
1023 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1024 (gst_registry_lookup_locked):
1025 * gst/gstregistry.h:
1026 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1027 (gst_registry_binary_initialize_magic),
1028 (gst_registry_binary_save_string),
1029 (gst_registry_binary_save_pad_template),
1030 (gst_registry_binary_save_feature),
1031 (gst_registry_binary_save_plugin),
1032 (gst_registry_binary_write_cache),
1033 (gst_registry_binary_check_magic),
1034 (gst_registry_binary_load_pad_template),
1035 (gst_registry_binary_load_feature),
1036 (gst_registry_binary_load_plugin),
1037 (gst_registry_binary_read_cache):
1038 * gst/gstregistrybinary.h:
1039 * gst/gstregistryxml.c: (load_feature),
1040 (gst_registry_xml_read_cache):
1041 commit binary registry (disabled by default, see #359653)
1043 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1045 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1046 Fix 'make check' too.
1048 2007-01-10 Andy Wingo <wingo@pobox.com>
1050 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1053 * docs/design/part-negotiation.txt: Update with, um, one way that
1054 pull-mode negotiation might work?
1057 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1058 that the pad must be a src pad; makes sense to call it the other
1059 way in pull mode, and the logic is symmetric anyway.
1061 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1063 * plugins/elements/gstfilesink.c:
1064 Include <stdio.h> for fseeko().
1066 2007-01-10 Wim Taymans <wim@fluendo.com>
1070 Reserve LATENCY event.
1072 2007-01-09 Wim Taymans <wim@fluendo.com>
1074 * docs/design/draft-latency.txt:
1077 2007-01-09 Wim Taymans <wim@fluendo.com>
1079 * docs/design/draft-latency.txt:
1083 * gst/gststructure.c:
1087 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1089 * tests/check/.cvsignore:
1090 Ignore test-registry.xml as well.
1092 2007-01-09 Wim Taymans <wim@fluendo.com>
1094 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1095 unref data at the end when we are done with the pad.
1097 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1099 * docs/gst/gstreamer-sections.txt:
1100 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1101 (init_post), (gst_deinit), (gst_update_registry):
1103 API: add gst_update_registry() (#391296).
1105 * tests/check/Makefile.am:
1106 * tests/check/gst/gstregistry.c:
1107 * tests/check/gst/.cvsignore:
1108 Simple unit test for the above.
1110 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1112 * gst/gstregistry.c: (gst_registry_scan_path_level):
1113 Plugin extension on HP-UX is .sl, add that to the list of approved
1114 plugin extensions (see #393796).
1116 * tests/check/gst/gstpad.c: (GST_START_TEST):
1117 ulong => gulong. Fixes compilation with HP-UX compiler.
1119 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1120 Fix compilation if valgrind headers are not available.
1122 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1124 * win32/common/libgstreamer.def:
1125 Add new exported function.
1126 * win32/vs6/libgstbase.dsp:
1127 Add gstdataqueue.c to the build.
1128 * win32/vs6/libgstcoreelements.dsp:
1129 Add gstmultiqueue.c to the build.
1131 2007-01-06 Andy Wingo <wingo@pobox.com>
1133 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1134 activate_pull(), providing for a way to specialize the process of
1135 spawning a thread to pull on the sink pad. There is a default
1138 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1139 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1140 (gst_base_sink_init): Renamed pad activation functions (inserting
1141 "_pad" in their names). Refactor to use the new activate_pull
1142 vmethod, as appropriate.
1143 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1144 default activate_pull function to start a task pulling from the
1145 sink pad, as before.
1147 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1148 on the pads if necessary, as in push()/chain(). Update docs.
1149 Shouldn't affect existing pull() usage as it is currently only
1150 being used on buffers without caps.
1152 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1154 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1156 Call g_thread_init() first thing in gst_init() / gst_check_init().
1157 When initialisation is done via gst_init_get_option_group() and
1158 GOption parsing, issue a warning if the GLib thread system has not
1159 been initialised yet by the time gst_init_get_option_group() is
1160 called, as it's quite likely other GLib functions such as
1161 g_option_context_new() have been called already then, and
1162 g_thread_init() must be called before any other GLib function. The
1163 application in question must be fixed in that case, since memory
1164 corruption might happen otherwise.
1165 We issue the warning because even if the GLib folks decide to work
1166 around the problem on their end in future, this is still an issue
1167 with all GLib versions >= 2.10.0, so we should warn until we depend
1168 on a GLib version we know to be safe.
1169 Update documentation as well.
1172 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1174 * tools/gst-inspect.c: (main):
1175 * tools/gst-launch.c: (main):
1176 * tools/gst-typefind.c: (main):
1177 * tools/gst-xmlinspect.c: (main):
1178 Call g_thread_init() really really early, before any other GLib
1179 function (see #342564 and recent discussion on gtk-devel-list).
1181 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1183 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1185 * gst/gst_private.h:
1186 * gst/gstconfig.h.in:
1188 On win32, all the __declspec stuff for symbol exporting is
1189 apparently only needed with MSVC, but doesn't work with MingW.
1190 Fixes compilation with MingW and #391909.
1192 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1194 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1195 Change some GST_ERROR_OBJECT that aren't really errors to
1196 GST_WARNING_OBJECT in order to reduce terminal spam.
1198 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1200 * tests/check/Makefile.am:
1201 disable test again, as there seem to be still race problems
1203 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1205 * tests/check/Makefile.am:
1206 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1207 (GST_START_TEST), (queue_suite):
1208 enable queue test again, add tests for the leaky behaviour
1210 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1213 * tests/examples/Makefile.am:
1214 Compile adapter test/example only if the required headers are
1215 available (fixes #391915).
1217 2007-01-01 David Schleef <ds@schleef.org>
1220 Restore the previous signal handler for SIGSEGV instead of
1221 setting to default, since we may have stolen it away from
1222 someone. (i.e., Mono)
1224 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1226 * docs/random/draft-missing-plugins.txt:
1227 Some small additions and clarifications.
1229 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1231 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1232 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1233 since that can lead to random memory corruptions and crashes
1234 (may or may not be related to #383244, #386711, and #386711).
1236 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1238 * tests/check/.cvsignore:
1239 * tests/check/Makefile.am:
1240 sync .cvsignome and CLEANFILES
1242 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1244 * tests/check/Makefile.am:
1247 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1249 * docs/design/part-states.txt:
1250 two tiny additional comments
1252 * gst/gststructure.c:
1255 * tests/check/Makefile.am:
1256 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1258 disable test for now, unless it gets fixed
1260 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1262 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1264 fix race in underrun test
1266 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1268 * tests/check/elements/.cvsignore:
1271 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1273 try to narrow test failure
1275 2006-12-21 David Schleef <ds@schleef.org>
1277 * plugins/elements/gstfakesrc.c:
1278 Use g_random_int_range(), since it produces better random
1279 numbers in a range than almost-correct floating point code.
1281 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1283 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1284 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1285 (gst_check_teardown_sink_pad):
1286 do not automatically (de)activate pads
1288 * tests/check/Makefile.am:
1289 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1290 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1291 add new, yet simple tests for queue
1293 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1294 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1295 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1297 * tests/check/elements/identity.c: (cleanup_identity):
1298 consistent pad (de)activation
1300 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1302 Patch by: Sebastian Dröge <slomo ubuntu com>
1304 * libs/gst/base/gstcollectpads.c:
1305 Fix two doc typos (#387866).
1307 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1309 * docs/manual/advanced-dparams.xml:
1310 Fix typo (g_object_control_properties() doesn't exist).
1312 2006-12-19 Edward Hervey <edward@fluendo.com>
1314 * gst/gstsegment.c: (gst_segment_set_seek):
1315 Fine tune the cases where the segment start/stop values are really
1317 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1318 Add tests for the return values of gst_segment_set_seek().
1320 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
1325 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1327 Fix incorrect documentation and flesh it out a bit more.
1328 Set default values for the max properties on the GParamSpec as well,
1329 so it shows up correctly in gst-inspect.
1331 2006-12-18 Stefan Kost <ensonic@users.sf.net>
1333 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1334 Correct docs of queue, add more detail and crosslink it more.
1336 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1338 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1339 Print additional debug info when the stream isn't perfectly
1340 timestamped; don't try to use invalid durations.
1342 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
1344 * docs/design/Makefile.am:
1345 Dist new design docs.
1347 2006-12-16 Wim Taymans <wim@fluendo.com>
1349 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1351 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1352 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1353 (gst_collect_pads_stop), (gst_collect_pads_event),
1354 (gst_collect_pads_chain):
1355 * libs/gst/base/gstcollectpads.h:
1356 Add refcounting to the collectpads data so we can track when it's safe
1357 to free the data. Fixes #383382.
1359 2006-12-15 Wim Taymans <wim@fluendo.com>
1361 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1362 (gst_collect_pads_remove_pad):
1363 Automatically activate/deactivate pads when they are added to a
1364 started/stoped collectpads.
1366 2006-12-15 Wim Taymans <wim@fluendo.com>
1368 * gst/gstelement.c: (gst_element_add_pad):
1369 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1370 * gst/gstpad.c: (gst_pad_init):
1371 Set pads to FLUSHING when they are created. Check, warn and fix when a
1372 demuxer adds an inactive pad to itself when running. Fixes #339326.
1374 2006-12-15 Wim Taymans <wim@fluendo.com>
1376 * gst/gstelement.c: (gst_element_class_init),
1377 (gst_element_default_send_event), (gst_element_send_event),
1378 (gst_element_default_query), (gst_element_query):
1379 Expose default element send_event and query handling as vmethods that
1380 subclasses can chain up to.
1382 2006-12-15 Wim Taymans <wim@fluendo.com>
1384 * gst/gstelement.c: (gst_element_set_state_func):
1385 Small documentation fixes.
1387 2006-12-15 Wim Taymans <wim@fluendo.com>
1389 * docs/design/draft-latency.txt:
1390 Checked in draft for handling latency in pipelines.
1392 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
1396 * gstreamer.spec.in:
1399 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
1401 * gst/gst.c: (init_pre), (init_post):
1402 init_pre() and init_post() might be called via our GOptionGroup or
1403 from gst_init(), and we should skip both of them if we've already
1404 been initialised, otherwise we will init some things twice or add
1405 two default log functions.
1407 2006-12-13 Edward Hervey <edward@fluendo.com>
1409 * docs/manual/basics-bus.xml:
1410 No, gst_main_loop does not exist. Its g_main_loop.
1411 Discovered by somebody who abused the copy-paste technique of coding :)
1413 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
1415 * gst/gstghostpad.c:
1416 Log ghostpad debug stuff to the GST_PADS category as well rather
1417 than just to the default category.
1419 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
1422 * gst/gst.c: (init_pre):
1423 Add some basic system details such as OS and architecture
1424 to the debug output if possible, courtesy of uname().
1426 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
1428 * docs/gst/running.xml:
1429 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1430 environment variables.
1432 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1434 * tests/check/gst/gstbin.c: (GST_START_TEST):
1435 It is acceptable to have a refcount of 2 or 3 at this point in the
1436 test, because the pipeline might be just posting its state_change
1437 message. The next line then waits for that message to appear using
1438 bus_poll, so that should be fine too.
1440 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
1442 * gst/gst.c: (ensure_current_registry_forking):
1443 Ignore EINTR when reading from the child registry pipe.
1444 Explicitly ignore the return value from close, since it makes no
1447 * gst/gstminiobject.c: (gst_mini_object_ref),
1448 (gst_mini_object_unref):
1449 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1451 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1452 When removing cached plugins, remove their features too, so they're
1453 not visible after they've disappeared.
1455 * gst/gstutils.c: (prepare_link_maybe_ghosting):
1456 In the unlikely case that we are linking pads with no parents, don't
1457 crash trying to get the non-existent parent bin.
1459 * gst/parse/grammar.y:
1460 Output debug in the PIPELINE category
1462 2005-03-08 Wim Taymans <wim@fluendo.com>
1464 Patch by: René Stadler <mail at renestadler dot de>
1466 * gst/gstclock.c: (gst_clock_new_periodic_id):
1467 Reject invalid clock times for interval of periodic ids.
1470 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1472 * gst/gstelementfactory.c: (gst_element_factory_create):
1473 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1474 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1475 * tools/gst-inspect.c: (print_element_info):
1476 Fix refcounting of gst_plugin_feature_load to match the docs.
1479 2006-12-07 Wim Taymans <wim@fluendo.com>
1481 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1482 (gst_base_sink_get_position):
1483 Improve debugging of events.
1485 2006-12-07 Wim Taymans <wim@fluendo.com>
1487 Patch by: René Stadler <mail at renestadler dot de>
1489 * gst/gstclock.c: (gst_clock_id_wait):
1490 Make period ids add the interval to the origial requested time instead
1491 of the possibly updated time which can be wrong when there are multiple
1492 waiters for the same id. Fixes #382592.
1494 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1495 (gst_system_clock_id_wait_jitter_unlocked),
1496 (gst_system_clock_id_wait_jitter):
1497 Fix restart in the async notify thread when an async entry is added to
1498 the front of the list. Fixes #381492.
1500 * tests/check/gst/gstsystemclock.c: (store_callback),
1501 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1502 Added test for multiple async waits.
1503 Added test for async wait order.
1505 2006-12-07 Wim Taymans <wim@fluendo.com>
1507 * gst/gstbin.c: (gst_bin_query):
1508 Add some more docs about the POSITION query.
1510 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
1513 Bump version nano - back to CVS.
1515 === release 0.10.11 ===
1517 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
1520 releasing 0.10.11, "Love never runs on time"
1522 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
1524 * win32/common/libgstbase.def:
1525 * win32/common/libgstreamer.def:
1526 * win32/vs8/libgstbase.vcproj:
1527 * win32/vs8/libgstcoreelements.vcproj:
1528 * win32/vs8/libgstreamer.vcproj:
1529 Fix compilation on win32 under VS8
1530 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1531 Partially fixes #381175
1533 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1535 * gst/gstvalue.c: (gst_value_compare_fraction):
1536 If someone is foolish enough to compare 2 fractions with denominator =
1537 0, return UNORDERED rather than aborting.
1539 2006-11-28 Edward Hervey <edward@fluendo.com>
1541 * libs/gst/base/Makefile.am:
1542 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1543 (gst_data_queue_base_init), (gst_data_queue_class_init),
1544 (gst_data_queue_init), (gst_data_queue_new),
1545 (gst_data_queue_cleanup), (gst_data_queue_finalize),
1546 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1547 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1548 (gst_data_queue_is_empty), (gst_data_queue_is_full),
1549 (gst_data_queue_set_flushing), (gst_data_queue_push),
1550 (gst_data_queue_pop), (gst_data_queue_drop_head),
1551 (gst_data_queue_set_property), (gst_data_queue_get_property):
1552 * libs/gst/base/gstdataqueue.h:
1553 New GstDataQueue object for threadsafe queueing. Most useful for
1554 elements that need some queueing functionnality.
1555 * docs/libs/gstreamer-libs-docs.sgml:
1556 * docs/libs/gstreamer-libs-sections.txt:
1557 Insert documentation for GstDataQueue
1558 * plugins/elements/Makefile.am:
1559 * plugins/elements/gstelements.c:
1560 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1561 (gst_multi_queue_class_init), (gst_multi_queue_init),
1562 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1563 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
1564 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
1565 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1566 (gst_multi_queue_loop), (gst_multi_queue_chain),
1567 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1568 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
1569 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
1570 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
1571 (wake_up_next_non_linked), (compute_next_non_linked),
1572 (single_queue_overrun_cb), (single_queue_underrun_cb),
1573 (single_queue_check_full), (gst_single_queue_new):
1574 * plugins/elements/gstmultiqueue.h:
1575 New multiqueue element, using GstDataQueue. Used for queuing multiple
1577 Closes #344639 and #347785
1579 2006-11-22 Stefan Kost <ensonic@users.sf.net>
1581 * docs/pwg/advanced-types.xml:
1582 add more missing type details
1584 * tools/gst-run.c: (main):
1585 remove unused variable
1587 2006-11-21 Stefan Kost <ensonic@users.sf.net>
1589 * docs/libs/Makefile.am:
1590 * docs/libs/gstreamer-libs.types:
1591 add types of base classes to enable gobject specific stuff in the docs
1593 * docs/random/ensonic/embedded.txt:
1594 more ideas about isolating platform specific things
1596 2006-11-20 Wim Taymans <wim@fluendo.com>
1598 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
1600 * libs/gst/check/gstcheck.h:
1601 Fix compilation and running against 0.9.4. Fixes #377332.
1603 2006-11-20 Wim Taymans <wim@fluendo.com>
1605 * gst/gstsegment.c: (gst_segment_set_seek),
1606 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1607 (gst_segment_to_running_time):
1608 Fix boundary checking in to_running_time() and to_stream_time().
1611 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1612 stream and running time can now be calculated for the complete
1615 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
1617 * gst/gstpad.c: (gst_pad_push_event):
1618 Can't access event structure after giving away ownership of
1621 2006-11-15 Stefan Kost <ensonic@users.sf.net>
1623 * docs/random/ensonic/embedded.txt:
1624 * docs/random/ensonic/profiling.txt:
1625 * docs/random/ensonic/receipies.txt:
1628 2006-11-13 Wim Taymans <wim@fluendo.com>
1630 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1633 Fix documentation for gst_pad_dispatcher. Fixes #374475.
1635 2006-11-13 Wim Taymans <wim@fluendo.com>
1637 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
1639 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1640 Store new length in segment duration so we don't keep on calling the
1641 potentially expensize get_size() call. Fixes #370865.
1643 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
1645 Patch by: Sergey Scobich <sergey.scobich at gmail com>
1647 * win32/common/libgstreamer.def:
1648 Add two missing symbols (#366492).
1650 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
1652 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
1653 (gst_adapter_take_buffer):
1654 Fix format string to use all its arguments.
1655 Remove useless >= check on a guint
1657 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1659 * tests/examples/adapter/.cvsignore:
1660 Ignore build file as commanded by the build-bot
1662 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1664 * tests/examples/adapter/Makefile.am:
1665 * tests/examples/adapter/adapter_test.c: (run_test_take),
1666 (run_test_take_buffer), (run_tests), (main):
1668 Add new files from the previous commit
1670 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
1674 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
1675 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
1676 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
1677 * libs/gst/base/gstadapter.h:
1678 * tests/check/libs/adapter.c: (create_and_fill_adapter),
1679 (GST_START_TEST), (gst_adapter_suite):
1680 * tests/examples/Makefile.am:
1681 Do some optimisation work in GstAdapter to avoid copies in more cases.
1682 It could still do slightly better by merging buffers when
1683 gst_buffer_is_span_fast is true, but is already faster.
1685 Also, avoid traversing a single-linked list to append each incoming
1686 buffer inside the adapter.
1688 Add simple test app that times the adapter behaviour in different
1689 situations, and extend the unit test to check that bytes enter and
1690 exit the adapter in their original order.
1692 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
1694 * docs/random/draft-missing-plugins.txt:
1695 Update: use element message instead of adding a new message
1696 type to the core; don't provide GStreamer API to initiate the
1697 plugin download, just provide API to compose the strings needed
1698 and let an external libgimmestuff handle the rest.
1700 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
1702 * tools/gst-inspect.c: (print_element_properties_info):
1703 Print a string instead of 'unknown type' for GValueArray properties
1705 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
1707 * docs/random/draft-missing-plugins.txt:
1710 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
1712 * tests/examples/typefind/typefind.c: (type_found), (main):
1713 Make typefind element example work again (#371894); add a
1716 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
1718 * docs/random/draft-missing-plugins.txt:
1719 Commit initial draft about how to deal with missing plugins,
1720 needs work (API too).
1722 2006-11-07 Stefan Kost <ensonic@users.sf.net>
1724 * docs/pwg/advanced-types.xml:
1725 documents the new caps elements (see #363118)
1727 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
1729 * gst/gstplugin.c: (gst_plugin_load_file):
1730 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
1731 (gst_file_src_map_region), (gst_file_src_start):
1732 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
1733 (gst_file_index_commit):
1734 Use g_strerror() instead of strerror() - we want UTF-8.
1736 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
1738 Patch by: Peter Kjellerstedt <pkj at axis com>
1740 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1741 Another printf fix (#371493).
1743 2006-11-06 Stefan Kost <ensonic@users.sf.net>
1745 * tests/check/gst/gsttag.c:
1746 relicence (okay with author=company)
1748 2006-11-06 Stefan Kost <ensonic@users.sf.net>
1750 * gst/gstpad.c: (gst_pad_event_default_dispatch),
1751 (gst_pad_push_event):
1752 Enhance debug and improve docs
1757 2006-11-06 Stefan Kost <ensonic@users.sf.net>
1759 * docs/random/ensonic/distributed.txt:
1760 * docs/random/ensonic/profiling.txt:
1763 2006-11-06 Stefan Kost <ensonic@users.sf.net>
1765 * docs/gst/gstreamer-sections.txt:
1766 add new API and fix the build
1768 * gst/gstbin.c: (gst_bin_recalc_state):
1769 * gst/gstelement.c: (gst_element_message_full),
1770 (gst_element_get_state_func), (gst_element_set_state_func):
1771 use new API and improve logging
1773 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1775 API: add function to get StateChangereturn names to improve logs
1777 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
1779 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1780 I'm considering shooting the next person to put strerror stuff
1781 in the translateable part of the message.
1783 2006-11-03 Wim Taymans <wim@fluendo.com>
1785 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1786 Get the type and printf conversion specifiers right.
1788 2006-11-03 Wim Taymans <wim@fluendo.com>
1790 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1792 * gst/gstpad.c: (gst_pad_init), (pre_activate),
1793 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
1794 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
1795 Some small cleanups. Improve debugging.
1797 Signal all waiting threads with a broadcast instead of just one.
1800 2006-11-03 Wim Taymans <wim@fluendo.com>
1802 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
1803 (gst_fd_src_create):
1805 Only update fd when it's different from the old.
1807 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
1809 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
1810 Printf fixes for PPC/OSX, take two (#369366).
1812 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
1814 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
1816 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1817 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1818 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1819 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
1820 don't cast to long long for portability reasons, but use
1821 GLib's types instead.
1823 2006-10-30 Michael Smith <msmith@fluendo.com>
1825 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1826 Get the arguments to lseek() the right way around.
1829 2006-10-30 Wim Taymans <wim@fluendo.com>
1831 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
1834 _declspec should be __declspec (two underscores, not one). Fixes 366572.
1836 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
1838 Patch by: Kjartan Maraas <kmaraas at gnome org>
1840 * docs/design/part-MT-refcounting.txt:
1841 * docs/random/wtay/capsnego2-docs:
1844 Typo fixes (#366212).
1846 2006-10-28 Wim Taymans <wim@fluendo.com>
1848 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1851 * win32/common/libgstbase.def:
1852 * win32/common/libgstreamer.def:
1853 * win32/vs8/libgstbase.vcproj:
1854 * win32/vs8/libgstcontroller.vcproj:
1855 Add needed entries in .def files.
1857 Rearrange def files in vs8 solutions. Fixes #366286.
1859 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
1861 * win32/common/gstconfig.h:
1862 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
1863 hand-made win32 gstconfig.h. Fixes #366321.
1865 2006-10-27 Wim Taymans <wim@fluendo.com>
1867 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
1868 (gst_ghost_pad_new_full):
1869 Make acceptcaps return TRUE when we don't have a target, just like
1872 2006-10-27 Wim Taymans <wim@fluendo.com>
1874 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1875 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
1877 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
1879 * gst/gststructure.c: (gst_structure_id_set_value):
1880 If someone tries to set a non-UTF8 string field on a structure,
1881 don't just print a warning, but also ignore the request and do
1882 not change/add that field to the structure.
1884 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
1887 2006-10-25 David Schleef <ds@schleef.org>
1890 g_hash_table_insert() needs a cast to a non-const pointer duh.
1892 2006-10-25 David Schleef <ds@schleef.org>
1896 Change name parameter of _gst_debug_register_funcptr to const
1897 to reflect the constness of its use in the function as well
1898 as to quiet a gcc warning.
1900 2006-10-25 Edward Hervey <edward@fluendo.com>
1902 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1903 Don't push the buffer if it's empty.
1906 2006-10-24 Wim Taymans <wim@fluendo.com>
1911 * libs/gst/base/gstbasetransform.c:
1912 (gst_base_transform_sink_eventfunc):
1913 Debug segment values *after* updating them as this is more
1916 2006-10-23 Wim Taymans <wim@fluendo.com>
1918 * docs/design/part-events.txt:
1921 * docs/design/part-block.txt:
1922 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
1923 (gst_pad_push_event):
1924 Revert BLOCKING patch, it tries to be smart without really having a
1925 clear idea what or how. So, now we discard all FLUSHING events again on
1926 a blocking pad. Should fix gnonlin again.
1928 2006-10-23 Wim Taymans <wim@fluendo.com>
1930 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1932 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1933 (gst_base_src_start), (gst_base_src_activate_push):
1934 Make sure size is always initialized. Fixes #364388.
1936 2006-10-20 Stefan Kost <ensonic@users.sf.net>
1938 * docs/random/ensonic/distributed.txt:
1939 add some ideas about doing distributed processing
1941 * docs/random/ensonic/profiling.txt:
1942 get_rusage look promising
1944 2006-10-18 Stefan Kost <ensonic@users.sf.net>
1946 * docs/manual/basics-helloworld.xml:
1947 Add a cast in example to fix compile warning
1949 2006-10-18 Wim Taymans <wim@fluendo.com>
1951 * gst/gstsegment.c: (gst_segment_set_last_stop),
1952 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
1953 Relax arg checking again, -1 is allowed.
1955 2006-10-18 Wim Taymans <wim@fluendo.com>
1957 * gst/gstsegment.c: (gst_segment_set_last_stop),
1958 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
1959 _set_last_stop() must be with a value != -1
1960 A _TYPE_SET to -1 means seek to 0.
1961 Calc last_stop correctly for negative rates.
1962 Make sure we work with positive durations when updating a segment.
1964 2006-10-18 Wim Taymans <wim@fluendo.com>
1966 * docs/design/part-live-source.txt:
1970 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
1973 Add an explicit cast to GstBuffer** to keep old code that added an
1974 explicit cast to GstMiniObject** for gst_mini_object_replace()
1975 compiling without warning.
1977 2006-10-18 Stefan Kost <ensonic@users.sf.net>
1979 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
1980 check for validity of dates
1982 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
1984 * docs/gst/gstreamer-sections.txt:
1985 Forgot this one, makes gtk-doc shut up.
1987 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
1989 Patch by: Peter Kjellerstedt <pkj at axis com>
1992 Don't define xmlNodePtr to gpointer if the core was built with
1993 --disable-loadsave and --disable-registry, this will break
1994 applications that want to use libxml2 but are buildling against a
1995 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
1996 instead so we don't have to mess with the libxml2 namespace
1999 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2002 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2003 type-punned pointer warnings.
2005 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2008 Add casts to the correct return type to state <=> state transition
2011 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2013 * docs/design/part-live-source.txt:
2014 describe howto handle latency
2016 * docs/random/ensonic/profiling.txt:
2019 * tools/gst-plot-timeline.py:
2020 fix log parsing for solaris, remove unused function
2022 2006-10-16 Wim Taymans <wim@fluendo.com>
2024 * docs/design/part-trickmodes.txt:
2026 Update some docs regarding reverse playback.
2028 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2030 Patch by: Marcus Granado <mrc dot gran at gmail com>
2032 * win32/vs8/grammar.vcproj:
2033 Error out with a warning if glib-genmarshal.exe is not in path,
2034 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2036 2006-10-13 Wim Taymans <wim@fluendo.com>
2038 * gst/gstsegment.c: (gst_segment_set_seek):
2039 When seeking to stop -1, set last_stop (current position) to the
2040 duration of the segment.
2042 2006-10-13 Wim Taymans <wim@fluendo.com>
2045 Clarify _NO_PREROLL a bit more.
2050 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2051 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2052 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2053 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2054 due to wrong locking order. Fixes #361769.
2055 Remove some redundant/misplaced checks in pad_block.
2057 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2058 For negative rates, count backwards from the duration.
2060 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2062 * gst/gsterror.c: (_gst_library_errors_init):
2063 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2064 up with something better).
2066 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2068 * win32/vs6/libgstreamer.dsp:
2069 * win32/vs7/libgstreamer.vcproj:
2070 * win32/vs8/libgstreamer.vcproj:
2071 Don't reference glib-compat.c which is currently not used and not
2072 disted; add gstquark.c which was recently added. Fixes #361730.
2074 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2076 * win32/common/libgstbase.def:
2077 * win32/common/libgstcontroller.def:
2078 * win32/common/libgstreamer.def:
2079 Add gst_caps_merge() and a bunch of other recently-added functions.
2082 2006-10-11 Wim Taymans <wim@fluendo.com>
2084 * docs/plugins/gstreamer-plugins.args:
2085 * docs/plugins/inspect/plugin-coreelements.xml:
2086 * docs/plugins/inspect/plugin-coreindexers.xml:
2087 Update element args.
2089 * gst/gstsystemclock.c:
2090 Small comment update.
2092 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2093 (gst_tee_request_new_pad), (gst_tee_release_pad),
2094 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2095 (gst_tee_sink_activate_pull):
2096 * plugins/elements/gsttee.h:
2098 Add default property defines.
2099 Implement release pad function.
2100 Give properties better blubs etc.
2101 Activate pads before adding them to a running tee.
2102 Do simple buffer_alloc on the first requested pad.
2103 Post error when activation fails.
2105 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2107 * gst/gst.c: (ensure_current_registry_forking):
2108 Check return value of write() to make compiler happy.
2110 2006-10-11 Wim Taymans <wim@fluendo.com>
2112 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2114 * plugins/elements/gstqueue.c: (gst_queue_chain):
2115 Recheck queue filledness after signalling the overrun when we're about
2116 to leak downstream because we released the lock when emitting the signal
2117 and the queue could be empty again. Fixes #352345.
2119 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2121 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2122 Fix refcounting here too, just like we did for _new_valist() a few
2123 days ago (#357180) (thanks to René Stadler). Also remove all those
2124 'Since: 0.9' from the gtk-doc blobs.
2126 * tests/check/libs/controller.c: (controller_refcount_new_list),
2127 (gst_controller_suite):
2128 Unit test for the above.
2130 2006-10-10 Wim Taymans <wim@fluendo.com>
2132 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2134 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2135 (gst_pad_save_thyself):
2137 Write pad direction in XML output. Fixes #345496.
2139 2006-10-10 Wim Taymans <wim@fluendo.com>
2141 Patch by: René Stadler <mail at renestadler dot de>
2143 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2144 (gst_controller_new_list), (_gst_controller_dispose),
2145 (_gst_controller_finalize), (_gst_controller_class_init):
2146 Take ref to controlled object so that it cannot disappear.
2149 2006-10-10 Wim Taymans <wim@fluendo.com>
2151 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2152 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2153 (gst_check_teardown_sink_pad):
2154 Activate/deactivate pads in setup/teardown respectively.
2156 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2158 Patch by: Josep Torre Valles <josep@fluendo.com>
2161 Cast values when making gstenumtypes.h. This pacifies Forte
2162 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2165 2006-10-09 Wim Taymans <wim@fluendo.com>
2167 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2168 Rename some more @cur to @start to fix docs.
2170 * gst/gstsegment.c: (gst_segment_set_seek):
2172 time and start must always stay in sync as defined in design doc.
2174 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2175 Rename param to fix docs.
2177 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2178 Check that start and time are in sync.
2180 * tests/check/pipelines/parse-launch.c:
2181 (gst_parse_test_element_change_state):
2182 Activate pad before adding to the element.
2184 2006-10-09 Wim Taymans <wim@fluendo.com>
2186 * docs/design/part-qos.txt:
2191 Update seek event docs regarding negative rates.
2192 Rename @cur to @start.
2194 * gst/gstsegment.c: (gst_segment_set_seek):
2196 Update set_seek docs regarding negative rates.
2197 Correctly update last_stop to @stop when dealing with negative
2199 Rename @cur to @start.
2201 * tests/check/gst/gstpad.c: (GST_START_TEST):
2202 Activate pads before trying to use them.
2204 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2205 (gst_segment_suite):
2206 Add simple check for segments and negative rates.
2208 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2210 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2212 * docs/gst/gstreamer-sections.txt:
2213 API: add gst_tag_list_is_empty() (#360467).
2215 * tests/check/gst/gsttag.c: (GST_START_TEST):
2218 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2221 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2222 a value that doesn't fit on enumeration.
2224 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2226 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2227 Remove local debugging system and use Gstreamer's instead.
2229 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2231 Patch by: Josep Torre Valles <josep@fluendo.com>
2233 * common/m4/gst-error.m4:
2234 Disable warning of statement not reached on Forte.
2236 Fix warning on Forte (value doesn't fit on enumeration).
2237 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2238 Fix warning on Forte (value doesn't fit on enumeration).
2239 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2240 DEBUG macro says it takes minimum of 2 args and so Forte
2241 complains about the use with just 1 arg.
2242 * plugins/elements/gstfdsink.c:
2243 * plugins/elements/gstfdsrc.c:
2244 * plugins/elements/gstfilesink.c:
2245 * plugins/elements/gstfilesrc.c:
2246 Use correct return type for the uri handler implementations.
2248 All these fix warnings in Forte. Fixes bug #360860.
2250 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2253 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2254 format string, so don't use G_GNUC_PRINTF for those versions.
2256 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2258 * gst/gsttaglist.c: (gst_is_tag_list):
2260 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2262 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2263 Small test for the above.
2265 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2268 Less tabs, more spaces.
2270 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2273 Those two function declarations do actually belong there, revert
2274 commit from yesterday that turned them intro macros.
2276 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2278 Patch by: Josep Torre Valles <josep@fluendo.com>
2280 * gst/gst.c: (gst_init_get_option_group):
2281 Fix empty declaration and type mismatch.
2282 * gst/gstbin.c: (gst_bin_change_state_func):
2284 * gst/gstelement.c: (gst_element_continue_state),
2285 (gst_element_set_state_func), (gst_element_change_state),
2286 (gst_element_change_state_func):
2287 Fix type mismatches.
2288 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2289 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2290 Cast as appropriate.
2291 * gst/gstobject.c: (gst_class_signal_connect):
2292 Cast as appropriate. The function pointer parameter really
2293 has the wrong type but would break API if we change it.
2295 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2296 order of including string.h.
2297 * gst/gstutils.c: (gst_element_state_get_name):
2298 Remove unreachable line.
2299 * gst/gstxml.c: (gst_xml_parse_doc):
2301 All these caught by Forte.
2303 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2305 Patch by: Josep Torre Valles <josep@fluendo.com>
2307 * common/m4/gst-error.m4:
2309 We need to disable warnings on Forte for empty declarations
2310 due to gst-indent adding ;s to lines that just use macros
2311 where the macro actually doesn't need a ; at end to end
2314 2006-10-06 Wim Taymans <wim@fluendo.com>
2316 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2317 (gst_file_sink_close_file), (gst_file_sink_event),
2318 (gst_file_sink_render):
2319 Add some FIXME for the NEWSEGMENT handling.
2321 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2323 * gst/parse/grammar.y:
2324 Remove static function gst_parse_element_lock as all it does
2325 is return. Looks like cruft from 0.8.
2327 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2329 Patch by: Josep Torre Valles <josep@fluendo.com>
2331 * common/m4/gst-error.m4:
2333 * libs/gst/net/Makefile.am:
2334 Fix a compilation issue with Forte on Solaris. inet_aton is in
2337 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2339 * gst/gstpad.c: (pre_activate):
2340 * gst/gstregistry.c: (gst_registry_scan_path_level):
2341 * gst/gstregistryxml.c: (load_plugin):
2342 * libs/gst/controller/gstcontroller.c:
2343 (gst_controlled_property_set_interpolation_mode):
2344 * libs/gst/dataprotocol/dataprotocol.c:
2345 (gst_dp_packet_from_event_1_0):
2346 * libs/gst/net/gstnetclientclock.c:
2347 (gst_net_client_clock_observe_times):
2348 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2351 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
2354 * docs/gst/gstreamer-sections.txt:
2355 * gst/gstconfig.h.in:
2358 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2359 whether we can use G_GNUC_PRINTF in other header files and at
2360 least check the printf format/arguments of debug messages and
2361 GST_ELEMENT_ERROR messages when the printf extension is not
2363 Replace more tabs with spaces in gstinfo.h and remove two spurious
2364 function declarations in GST_DISABLE_DEBUG part with macros.
2366 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
2368 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2369 More docs for the sync-message signal (mention that it is not
2370 emitted by default); log message structures of messages posted on
2373 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
2375 * gst/gst.c: (ensure_current_registry_forking):
2376 Use a pipe pair to receive status results from the forked child, and
2377 ignore the result from waitpid. Fixes #355499
2379 2006-10-02 Wim Taymans <wim@fluendo.com>
2381 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2382 (gst_ghost_pad_suite):
2385 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2388 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2390 2006-10-02 Edward Hervey <edward@fluendo.com>
2392 * docs/design/part-block.txt:
2393 Further explain the use of flushing on blocked pads.
2394 * docs/gst/gstreamer-sections.txt:
2395 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2396 (gst_pad_push_event):
2398 Added new GstPadFlag : GST_PAD_BLOCKING.
2399 Adds the notion of pads really blocking, which enables to properly
2400 handle FLUSH_START/FLUSH_STOP events on blocked pads.
2402 API: gst_pad_is_blocking()
2403 API: GST_PAD_IS_BLOCKING() macro
2404 API: GST_PAD_BLOCKING GstPadFlag
2406 2006-10-02 Wim Taymans <wim@fluendo.com>
2408 Patch by: mrcgran <mrc.gran at gmail dot com>
2410 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2411 Filter the proxied caps against the padtemplate if we have one.
2413 * gst/gstquery.c: (gst_query_new_segment):
2414 Add include for gstinfo.h so that compilation with
2415 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2417 2006-10-02 Wim Taymans <wim@fluendo.com>
2419 Patch by: Alessandro Decina <alessandro at nnva org>
2421 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2422 (gst_file_sink_set_location), (gst_file_sink_open_file),
2423 (gst_file_sink_close_file), (gst_file_sink_event),
2424 (gst_file_sink_render):
2425 Set file to NULL when closing filesink so that we can set a new filename
2426 in READY. Fixes #358613.
2428 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
2430 Patch by: Alessandro Decina <alessandro at nnva org>
2432 * gst/gstevent.c: (_gst_event_copy):
2433 Fix gst_mini_object_make_writable() and gst_event_copy() for events
2434 with event structures by setting the parent refcount address of the
2435 copied structure to the address of the refcount member of the newly
2436 copied event rather than the address of the refcount member of the
2437 original event. Fixes #358737.
2439 * tests/check/gst/gstevent.c: (GST_START_TEST):
2440 Unit test for the above.
2442 2006-09-29 Stefan Kost <ensonic@users.sf.net>
2444 * docs/design/Makefile.am:
2445 Dist some more files.
2447 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2449 * tests/check/libs/controller.c: (GST_START_TEST),
2450 (gst_controller_suite):
2451 Add test for the previous fix; add some more tests
2452 for correct refcounting behaviour; fix a few leaks
2453 in test cases; call gst_controller_init() at start
2456 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
2458 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2459 (gst_controller_set_from_list):
2460 Don't g_return_val_if_fail() on timed values with invalid timestamps
2461 inside a critical section without unlocking the mutex. Spotted by
2462 René Stadler. (#357617)
2463 Also, fix up refcounting properly: when returning an existing
2464 controller, we should increase the reference only once and not
2465 once per property and when trying to control a property again
2466 we should also increase the refcount.
2468 2006-09-29 Wim Taymans <wim@fluendo.com>
2470 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2471 * libs/gst/net/gstnettimeprovider.c:
2472 (gst_net_time_provider_thread):
2473 Stop reading commands when EOF as well.
2475 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2476 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2477 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2478 Unify description of the dump property.
2480 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2482 * tests/examples/manual/.cvsignore:
2483 OK, so it's actually cvsignore that needs changing. Stop laughing.
2485 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2487 * tests/examples/manual/Makefile.am:
2488 Gah, declare vars *before* using them
2490 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2492 * gst/gst.c: (init_pre), (scan_and_update_registry),
2493 (ensure_current_registry_nonforking),
2494 (ensure_current_registry_forking), (ensure_current_registry),
2495 (init_post), (gst_debug_help), (gst_deinit):
2496 * gst/gst_private.h:
2497 * gst/gstregistry.c: (gst_registry_finalize),
2498 (gst_registry_remove_features_for_plugin_unlocked),
2499 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2500 (gst_registry_scan_path),
2501 (_priv_gst_registry_remove_cache_plugins),
2502 (_priv_gst_registry_cleanup):
2503 * gst/gstregistry.h:
2504 Re-commit the registry changes, along with an extra fix:
2505 When a cached plugin is encountered at a different file path,
2506 update the stored path in the registry cache so that the parent
2507 process knows where it actually is now when it re-reads the registry
2508 cache. Fixes the thing that broke distcheck with the previous commit.
2510 * tests/check/Makefile.am:
2511 Clean up files named 'core' too when running make clean.
2513 * tests/examples/manual/Makefile.am:
2514 Set up a registry path for running these tests, and clean it properly
2517 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
2520 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2521 want gmodule-no-export-2.0.pc instead so that we don't drag in
2522 --export-dynamic on every project that links to GStreamer.
2524 Also, make our export regex only match the start of symbols, rather
2525 than any symbol that contains '_gst' somewhere.
2527 * libs/gst/check/Makefile.am:
2528 The libgstcheck we build does however need export-dynamic, as it
2529 produces some symbols that don't match our _gst... style regex.
2532 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2534 * gst/gst.c: (init_pre), (scan_and_update_registry),
2535 (ensure_current_registry_nonforking),
2536 (ensure_current_registry_forking), (ensure_current_registry),
2537 (init_post), (gst_debug_help), (gst_deinit):
2538 * gst/gst_private.h:
2539 * gst/gstregistry.c: (gst_registry_finalize),
2540 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2541 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2542 (_gst_registry_cleanup):
2543 * gst/gstregistry.h:
2544 Revert previous change until I figure out why it breaks distcheck.
2546 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
2548 * gst/gst.c: (init_pre), (scan_and_update_registry),
2549 (ensure_current_registry_nonforking),
2550 (ensure_current_registry_forking), (ensure_current_registry),
2551 (init_post), (gst_debug_help), (gst_deinit):
2553 Make init_pre and init_post take the full complement of GOptionFunc
2554 args so they can return useful GErrors. Make the registry updating
2557 Call _priv_gst_registry_remove_cache_plugins after scanning files to
2558 ensure that the registry we're about to write out doesn't contain
2559 stale information about old-deleted plugin files.
2561 Make _priv_gst_registry_remove_cache_plugins return a boolean so
2562 that deletion of plugin files is considered a registry change.
2564 * gst/gst_private.h:
2565 * gst/gstregistry.c: (gst_registry_finalize),
2566 (gst_registry_remove_features_for_plugin_unlocked),
2567 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2568 (gst_registry_scan_path),
2569 (_priv_gst_registry_remove_cache_plugins),
2570 (_priv_gst_registry_cleanup):
2571 * gst/gstregistry.h:
2572 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
2573 by adding _priv prefix, so that they won't appear in the global
2574 symbol table. They still do atm though because of #318031. Move the
2575 prototypes to gst_private.h
2577 When removing a plugin, remove all features for that plugin too.
2580 2006-09-27 Wim Taymans <wim@fluendo.com>
2582 * docs/random/moving-plugins:
2583 Make it clear that the "compiled-in descriptions" really mean
2584 the element details.
2586 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2587 (gst_base_sink_wait_preroll):
2590 * docs/libs/gstreamer-libs-sections.txt:
2591 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2592 (gst_base_src_get_range), (gst_base_src_activate_push):
2593 * libs/gst/base/gstbasesrc.h:
2594 Added function to block while waiting for PLAYING, this function
2595 is used by live sources that block on the clock.
2596 API: gst_base_src_wait_playing()
2598 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
2600 Patch by: Peter Kjellerstedt <pkj at axis com>
2603 gst-element-check.m4 is generated and should therefore be
2604 copied from the build dir rather than the source dir (#357593).
2605 'make distcheck' hasn't noticed this because we were disting
2606 the file as well, so stop doing that.
2608 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
2610 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2611 Add some tests for gst_caps_intersect().
2613 * tools/gst-launch.c: (event_loop):
2614 Print all buffering percentages we get, even the 100% one.
2616 2006-09-26 Wim Taymans <wim@fluendo.com>
2618 * tools/gst-inspect.c: (print_element_properties_info),
2619 (print_signal_info):
2620 Fix printing of flags to match the look of enums.
2622 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2624 * gst/gstelementfactory.c:
2625 Fix typo in docs blurb.
2627 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2629 * gst/gsturi.c: (search_by_entry):
2630 Don't assert/crash here if a uri handler doesn't return any
2631 supported protocols. The list of protocols could be generated
2632 dynamically at runtime or at plugin registration, and an error
2633 in the underlying library shouldn't be fatal (#353301).
2635 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
2638 Fix warning if HAVE_PRINTF_EXTENSION is undefined
2639 (spotted by Peter Kjellerstedt).
2641 2006-09-23 Wim Taymans <wim@fluendo.com>
2643 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
2645 * libs/gst/base/gstbasesrc.c:
2646 (gst_base_src_default_check_get_range), (gst_base_src_start),
2647 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2648 (gst_base_src_change_state):
2649 Match _start/_stop calls in the activate functions. Remove redundant
2650 _stop call from the state change function. Fixes #356910.
2651 Turn failure DEBUG into ERROR.
2653 2006-09-22 Wim Taymans <wim@fluendo.com>
2655 * docs/design/part-buffering.txt:
2656 * gst/gstmessage.c: (gst_message_new_buffering),
2657 (gst_message_parse_buffering):
2658 Update docs about buffering.
2660 * docs/design/part-trickmodes.txt:
2663 2006-09-22 Stefan Kost <ensonic@users.sf.net>
2665 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2666 (gst_controller_new_list):
2667 Ref instances when returning them again (fixes #357180)
2669 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
2671 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
2672 Don't forget to release proxy lock when there's an error.
2674 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
2677 Add extra initialisers for Caps things, to fix some plugin warnings
2680 2006-09-18 Wim Taymans <wim@fluendo.com>
2682 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2683 Also set template on the internal pad so that a getcaps from the
2684 target pad returns the template caps.
2686 2006-09-18 Wim Taymans <wim@fluendo.com>
2688 * gst/gstelement.c: (gst_element_post_message),
2689 (gst_element_dispose):
2690 Use _DEBUG_OBJECT some more.
2692 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2695 * tools/gst-launch.c: (main):
2696 If the toplevel element is not a GstPipeline, it must be put in a
2697 pipeline so that a bus and clock is selected.
2699 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
2701 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2702 JITTER, RATE, and LATENCY query should be handled by the
2703 default case and not by the CONVERT query code.
2705 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
2707 * gst/gstformat.c: (gst_format_register):
2708 Fix locking order (must take lock before using n_values).
2710 * gst/gstvalue.c: (gst_value_serialize_enum),
2711 (gst_value_deserialize_enum_iter_cmp),
2712 (gst_value_deserialize_enum):
2713 Fix serialisation/deserialisation of custom registered GstFormats.
2715 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2716 Unit test for custom format serialisation/deserialisation.
2718 2006-09-17 Stefan Kost <ensonic@users.sf.net>
2720 * docs/pwg/building-boiler.xml:
2721 * plugins/elements/gstcapsfilter.c:
2722 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
2725 2006-09-16 Edward Hervey <edward@fluendo.com>
2727 * libs/gst/base/gstbasetransform.c:
2728 (gst_base_transform_buffer_alloc):
2729 Check if requested caps are the same as the sinks caps IF
2730 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
2732 This fixes the renegotiation issues stated in #352827.
2734 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2737 * docs/manual/advanced-autoplugging.xml:
2738 * tests/examples/Makefile.am:
2739 * tests/examples/manual/.cvsignore:
2740 * tests/examples/manual/Makefile.am:
2741 * tests/examples/manual/extract.pl:
2742 Extract the manual examples again like we used to do.
2745 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2747 * win32/common/config.h:
2750 2006-09-16 Stefan Kost <ensonic@users.sf.net>
2753 Documents how to receive errors.
2755 2006-09-15 Wim Taymans <wim@fluendo.com>
2757 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
2758 (event_loop), (main):
2759 Added some comments here and there.
2760 Post an application message when an interrupt is caught instead of doing
2761 an uncontrolled state change.
2762 Clean up the event loop.
2763 Handle buffering messages, pause/resume the pipeline.
2764 Make shutdown because of an interrupt more reliable.
2766 2006-09-15 Wim Taymans <wim@fluendo.com>
2768 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2769 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
2770 (gst_base_sink_preroll_object):
2771 Make sure that our internal state is correct when we commit our state
2772 asynchronously. This solves a race where a state change to PLAYING
2773 could cause the sink to remain blocked in preroll in some situations.
2775 2006-09-15 Wim Taymans <wim@fluendo.com>
2777 * tools/gst-inspect.c: (print_element_properties_info),
2778 (print_signal_info):
2779 List flags as hex so it's easier to deal with.
2781 2006-09-15 Wim Taymans <wim@fluendo.com>
2783 * docs/libs/gstreamer-libs-sections.txt:
2784 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
2785 (gst_base_sink_do_sync):
2786 * libs/gst/base/gstbasesink.h:
2787 Expose logic to wait for preroll so that subclasses such as audiosink
2788 can also use this method.
2789 API: gst_base_sink_wait_preroll()
2791 2006-09-15 Wim Taymans <wim@fluendo.com>
2793 * gst/gstobject.c: (gst_object_set_parent):
2794 * gst/gstpipeline.c: (do_pipeline_seek):
2795 Small cleanups in docs and code.
2797 * gst/gstsegment.c: (gst_segment_clip):
2798 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2799 if stop == start and start is in the segment, no clipping should be
2800 done. Also add a test for this.
2802 2006-09-15 Wim Taymans <wim@fluendo.com>
2804 * docs/design/part-buffering.txt:
2805 * docs/gst/gstreamer-sections.txt:
2806 * gst/gstmessage.c: (gst_message_new_buffering),
2807 (gst_message_parse_buffering):
2809 Added methods to create and parse BUFFERING messages.
2810 Added preliminary docs about buffering.
2811 API: gst_message_new_buffering
2812 API: gst_message_parse_buffering
2814 2006-09-06 Wim Taymans <wim@fluendo.com>
2817 Update documentation.
2819 * gst/gstelement.c: (gst_element_class_init),
2820 (gst_element_release_request_pad), (gst_element_set_clock),
2821 (gst_element_get_index), (gst_element_add_pad),
2822 (gst_element_remove_pad), (gst_element_get_random_pad),
2823 (gst_element_send_event), (gst_element_get_query_types),
2824 (gst_element_query), (gst_element_post_message),
2825 (gst_element_message_full), (gst_element_continue_state),
2826 (gst_element_lost_state), (gst_element_save_thyself),
2827 (gst_element_restore_thyself):
2828 Documentation updates.
2829 Rename last bit of the new-pad -> pad-added signal rename.
2830 Fix the case where an element query would only work if the source
2832 Avoid some useless type checking in message handling.
2837 Documentation updates.
2839 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
2841 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2842 add an INFO line for when we actually update the fd
2844 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
2849 === release 0.10.10 ===
2851 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
2854 releasing 0.10.10, "Pais"
2856 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
2858 * docs/manual/advanced-position.xml:
2859 Fix typo in sample code.
2861 2006-09-05 Wim Taymans <wim@fluendo.com>
2863 * libs/gst/net/gstnetclientclock.c: (inet_aton),
2864 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
2865 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
2866 * libs/gst/net/gstnetclientclock.h:
2867 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2868 * libs/gst/net/gstnettimepacket.h:
2869 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
2870 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
2871 (gst_net_time_provider_thread), (gst_net_time_provider_new):
2872 * libs/gst/net/gstnettimeprovider.h:
2873 Make stuff compile on windows. Fixes #345295.
2875 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
2877 * gst/gst.c: (ensure_current_registry_forking):
2878 Print better details when child was terminated by signal.
2880 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
2882 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
2883 Print a warning rather than g_assert() if a plugin feature
2884 is a URI handler but returns no protocols (#353976).
2886 2006-09-02 Stefan Kost <ensonic@users.sf.net>
2888 * docs/random/moving-plugins:
2891 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
2893 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
2894 Fix locking order, handle NULL function values properly.
2899 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2900 Initialise variable before using it and fix debug statement to
2901 print the address of the function rather than the address of the
2902 variable on the stack holding the address of the function.
2904 2006-09-01 Wim Taymans <wim@fluendo.com>
2906 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
2907 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
2908 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
2909 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
2910 (gst_ghost_pad_parent_unset),
2911 (gst_ghost_pad_internal_do_activate_push),
2912 (gst_ghost_pad_internal_do_activate_pull),
2913 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2914 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2915 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
2916 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
2917 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
2918 (gst_ghost_pad_new_no_target_from_template),
2919 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
2921 Avoid needless typechecking in macros.
2922 Since the internal pad is always present and never changes, there is
2923 no need to locking or ref when retrieving it.
2924 Improve debugging a bit.
2925 Handle link errors when setting the target. Fixes #341029.
2927 2006-09-01 Wim Taymans <wim@fluendo.com>
2929 * docs/libs/gstreamer-libs-sections.txt:
2930 * docs/plugins/gstreamer-plugins-sections.txt:
2933 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2934 (gst_collect_pads_event):
2935 * libs/gst/base/gstcollectpads.h:
2936 Documentation updates.
2937 Free queued buffer when removing a pad.
2939 2006-08-31 Michael Smith <msmith@fluendo.com>
2941 * gst/gstutils.c: (gst_element_link_pads),
2942 (gst_element_link_pads_filtered):
2943 Ensure that we set a capsfilter to NULL if we failed to link it
2944 when doing filtered linking, to avoid criticals.
2946 No need to check for unreffing srcpad, which is explicly NULLed
2947 above (a trivial code cleanup).
2949 2006-08-31 Wim Taymans <wim@fluendo.com>
2951 * docs/design/part-gstghostpad.txt:
2952 Update ascii art in documentation.
2954 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
2955 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
2956 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2957 (gst_ghost_pad_internal_do_activate_push),
2958 (gst_ghost_pad_internal_do_activate_pull),
2959 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2960 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2961 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
2962 (gst_ghost_pad_set_target):
2963 Small cleanups and leak fixes.
2964 Remove some checks now that the internal pad is never NULL.
2965 Fix the case where linking pads without a target would create nasty
2966 criticals. Fixes #341029.
2967 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
2968 value of _set_target().
2970 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2971 (gst_ghost_pad_suite):
2972 Some more tests for creating and linking untargeted ghostpads.
2974 2006-08-31 Edward Hervey <edward@fluendo.com>
2976 * docs/gst/gstreamer-sections.txt:
2977 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
2978 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2979 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
2980 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
2981 (gst_ghost_pad_new_from_template),
2982 (gst_ghost_pad_new_no_target_from_template):
2983 * gst/gstghostpad.h:
2984 Refactored *_new() functions.
2985 Templates are now used as a g_object_new() parameter.
2986 Use template in _do_getcaps() if we don't have a target.
2987 Small documentation cleanups.
2988 Added two new constructors:
2989 gst_ghost_pad_new_from_template()
2990 gst_ghost_pad_new_no_target_from_template()
2991 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2992 (gst_ghost_pad_suite):
2993 Added tests for new ghostpad instanciation functions.
2995 API additions: gst_ghost_pad_new_from_template,
2996 gst_ghost_pad_new_no_target_from_template
2998 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3000 * docs/random/ensonic/profiling.txt:
3001 Ideas about qos profiling.
3003 2006-08-29 Wim Taymans <wim@fluendo.com>
3005 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3009 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3012 Improve and detypofy docs.
3014 * tests/check/Makefile.am:
3015 * tests/check/gst/.cvsignore:
3016 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3017 Add a basic test suite for GstXML.
3019 2006-08-29 Wim Taymans <wim@fluendo.com>
3021 * gst/gstelement.c: (activate_pads), (clear_caps),
3022 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3023 Clear the pad caps when the element shut down all of the pads and
3024 is not streaming data that could modify the caps.
3027 2006-08-28 Michael Smith <msmith@fluendo.com>
3029 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3030 Revert previous change; I misunderstood single-segment mode.
3032 2006-08-28 Michael Smith <msmith@fluendo.com>
3034 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3035 Unset DISCONT on buffers when using single-segment mode.
3037 2006-08-28 Wim Taymans <wim@fluendo.com>
3039 * gst/gstcaps.c: (gst_caps_merge_structure):
3041 Fix docs and indentation again.
3043 * tests/check/gst/gstquery.c: (GST_START_TEST):
3044 Fix leak in tests and add some more tests.
3046 2006-08-28 Edward Hervey <edward@fluendo.com>
3048 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3049 Inform GstSegment of the last stop position in order for the current
3050 segment to have a proper duration if it doesn't have a specific stop
3051 position from which a duration could be calculated.
3052 This bug was noticeable when a non-flushing, non-update new segment was
3053 followed by another segment (all buffers from the new segment were being
3056 2006-08-28 Wim Taymans <wim@fluendo.com>
3058 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3059 Small comment update.
3061 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3062 (gst_identity_transform_ip):
3063 Drop-probability is broken, mention this in the code with a
3064 FIXME and also in the property description.
3065 Make silent also be silent about the drop messages.
3067 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3069 * docs/manual/appendix-win32.xml:
3070 Remove mention of popt, we don't depend on that any
3071 longer (#353136). Add some comments pointing out that
3072 this section is slightly outdated.
3074 2006-08-28 Wim Taymans <wim@fluendo.com>
3076 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3078 * gst/gstquery.c: (gst_query_new_segment):
3079 * tests/check/gst/gstquery.c: (GST_START_TEST):
3080 Initialize variables when creating a new segment query.
3083 2006-08-28 Wim Taymans <wim@fluendo.com>
3085 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3087 * gst/gstelement.c: (gst_element_get_bus):
3088 * tests/check/gst/gstelement.c: (GST_START_TEST):
3089 Check for NULL before _reffing the bus. Fixes #353122.
3091 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3093 * docs/manual/basics-bus.xml:
3094 Docs update: fix wrong callback return value explanation; add
3095 some lines about the implicit relationship between main loop
3096 and main context; remove duplicate main loop variable declaration.
3098 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3100 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3101 Don't leak caps in unit test; add a few more simple
3104 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3106 * docs/gst/gstreamer-sections.txt:
3107 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3108 (gst_caps_structure_is_subset), (gst_caps_merge),
3109 (gst_caps_merge_structure):
3111 * libs/gst/base/gstbasetransform.c:
3112 (gst_base_transform_transform_caps):
3113 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3114 implement caps merging (fixes #352580)
3116 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3118 * tools/Makefile.am:
3119 * tools/gst-plot-timeline.py:
3120 add debug-log plotting developer tool (#340674)
3122 2006-08-23 Wim Taymans <wim@fluendo.com>
3124 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3125 (gst_pad_stop_task):
3126 Improve debugging for task functions.
3128 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3129 (gst_task_start), (gst_task_pause), (gst_task_join):
3130 Make sure that the task function started and finished after a
3132 Don't try to push the task function on the threadpool multiple
3134 Improve the g_warning message with some useful suggestions
3135 about how to fix the problem.
3137 2006-08-23 Wim Taymans <wim@fluendo.com>
3139 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3140 Handle RESYNC correctly in _proxy_getcaps.
3142 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3144 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3145 (gst_xml_parse_memory), (gst_xml_get_element):
3146 Chain up to parent class in dispose function and also
3147 unref the elements in the toplevel_elements GList.
3148 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3149 Always return a reference in gst_xml_get_element() rather
3150 than only sometimes.
3152 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3153 Don't leak GstXml object.
3155 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3157 * docs/gst/gstreamer-sections.txt:
3158 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3161 * libs/gst/base/gstbasetransform.c:
3162 (gst_base_transform_transform_caps):
3163 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3166 2006-08-21 Edward Hervey <edward@fluendo.com>
3168 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3169 Implement GObject::dispose virtual method in GstXML so we can free the
3172 2006-08-21 Wim Taymans <wim@fluendo.com>
3174 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3175 (gst_buffer_create_sub):
3176 Copy duration/offset_end/caps when creating a subbuffer of the
3178 Make the subbuffer read-only when we make the metadata writable for
3181 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3182 Added check for metadata copy when creating subbuffers.
3184 2006-08-21 Edward Hervey <edward@fluendo.com>
3186 * libs/gst/base/gstbasetransform.c:
3187 (gst_base_transform_buffer_alloc):
3188 Only call downstream buffer_alloc if transform element is passthrough
3189 or always_in_place. Closes #350449.
3191 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3194 ChangeLog surgery to add comments to previous changes
3196 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3201 * gst/gstpad.c: (gst_pad_set_active):
3202 Be more verbose in the log
3204 * libs/gst/base/gstbasetransform.c:
3205 (gst_base_transform_transform_caps):
3206 Simplify caps to get rid of duplicates, fixes #345444
3208 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3212 Use these optimizations only internally.
3214 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3216 * gst/gstvalue.c: (gst_value_compare_list),
3217 (gst_value_compare_fraction_range),
3218 (gst_value_intersect_fraction_fraction_range),
3219 (gst_value_intersect_fraction_range_fraction_range),
3220 (gst_value_subtract_fraction_fraction_range),
3221 (gst_value_subtract_fraction_range_fraction_range),
3222 (gst_value_get_compare_func), (gst_value_compare),
3223 (gst_value_compare_with_func):
3225 Saves the expensive lookup of the compare function in many cases
3228 2006-08-18 Edward Hervey <edward@fluendo.com>
3230 * tests/check/gst/gstinfo.c: (gst_info_suite):
3231 Disable test that require gstdebug if it wasn't built in core.
3233 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3235 * docs/random/ensonic/logging.txt:
3238 * gst/gstinfo.c: (gst_debug_log_default):
3239 reorder fields, save some columns, add optional color codes for log
3242 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3244 * docs/random/ensonic/logging.txt:
3245 add ideas about making the logs a bit more useful
3247 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3249 * docs/pwg/advanced-events.xml:
3250 * docs/pwg/titlepage.xml:
3251 Update for 0.10 API (#340627). Add myself
3254 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3256 * docs/libs/gstreamer-libs-docs.sgml:
3257 * docs/libs/gstreamer-libs-sections.txt:
3258 * libs/gst/check/gstbufferstraw.c:
3259 Make gstcheck stuff show up in docs (still needs to
3260 be documented properly though).
3262 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3264 * docs/gst/gstreamer-sections.txt:
3266 * gst/gst.c: (init_post):
3267 * gst/gst_private.h:
3268 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3270 * gst/gstquery.c: (gst_query_new_position),
3271 (gst_query_set_position), (gst_query_parse_position),
3272 (gst_query_new_duration), (gst_query_set_duration),
3273 (gst_query_parse_duration), (gst_query_new_convert),
3274 (gst_query_set_convert), (gst_query_parse_convert),
3275 (gst_query_new_segment), (gst_query_set_segment),
3276 (gst_query_parse_segment), (gst_query_new_seeking),
3277 (gst_query_set_seeking), (gst_query_parse_seeking):
3278 Add internal helpers for pre-registering quarks from static strings
3279 and using the quark values directly instead of looking them up when
3280 creating and parsing queries. Can be used for event construction too.
3283 2006-08-16 Wim Taymans <wim@fluendo.com>
3288 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3290 * gst/gstutils.c: (gst_util_set_value_from_string):
3291 Fix memleak (#351502).
3293 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3294 Add unit test for most of gst_util_set_value_from_string()
3295 (not that one would want to encourage use of this function).
3297 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3299 * libs/gst/check/gstcheck.h:
3300 Use const gchar * variables in fail_unless_equals_string
3301 macro to avoid compiler warnings (and don't use tabs for
3304 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3306 * tools/gst-launch.c: (print_tag):
3307 More space on the left for the tag names, to cater
3308 for the 'extended comment' tag (not touching the
3309 string for the first line since it's translated).
3311 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3313 * libs/gst/check/gstcheck.h:
3314 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3315 print something when they fail.
3317 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3319 * docs/gst/gstreamer-sections.txt:
3320 * gst/gsttaglist.c: (_gst_tag_initialize):
3322 API: add GST_TAG_EXTENDED_COMMENT (#350935).
3323 Also change merge function for GST_TAG_COMMENT to
3326 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3328 * gst/gstinfo.c: (gst_debug_print_object):
3329 Make GST_PTR_FORMAT print messages as well.
3331 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3332 (GST_START_TEST), (gst_info_suite):
3335 2006-08-14 Edward Hervey <edward@fluendo.com>
3337 * gst/gstelementfactory.c: (gst_element_register):
3338 If the GstElementClass doesn't have a GstElementDetails with all fields
3339 filled up correctly (longname, description AND author), then error out
3340 nicely instead of crashing.
3342 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
3344 * gst/gststructure.c:
3345 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3348 Expand on the difference between arrays and lists as we use them.
3350 2006-08-14 Wim Taymans <wim@fluendo.com>
3352 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3353 If the parent state change function failed, don't assume we can safely
3354 stop the source, this will be done when the pads are deactivated.
3356 2006-08-14 Wim Taymans <wim@fluendo.com>
3359 * gst/gsttask.c: (gst_task_join):
3362 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3363 (gst_pad_stop_task):
3364 When pad (de)activation failed for some reason, restore the old
3365 activation mode and set the pad to flushing instead of assuming the
3367 If the _task_join() failed, reinstall the task on the pad so that it can
3368 be stopped later and return an error.
3370 2006-08-11 Andy Wingo <wingo@pobox.com>
3373 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3374 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3375 is only for users of API that don't want to see deprecated
3376 functions in the headers; people that want to compile out
3377 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3378 CFLAGS. Fixes the build of multifdsink, or will soon..
3380 2006-08-11 Wim Taymans <wim@fluendo.com>
3382 * docs/gst/gstreamer-sections.txt:
3383 Add GstClockClass vmethod docs.
3386 Mark #endif with comment for associated #if
3388 * gst/gstclock.c: (gst_clock_id_wait):
3390 Add vmethod wait_jitter to avoid an unneeded _get_time() for
3391 most clock implementations.
3393 Flesh out docs about resolution methods.
3394 API: GstClockClass::wait_jitter
3396 * gst/gstsystemclock.c: (gst_system_clock_class_init),
3397 (gst_system_clock_async_thread),
3398 (gst_system_clock_id_wait_jitter_unlocked),
3399 (gst_system_clock_id_wait_jitter):
3400 Use base class wait_jitter variant for improved performance
3401 due to less clock polling.
3403 2006-08-11 Edward Hervey <edward@fluendo.com>
3405 * gst/gst.c: (gst_init_check), (init_post):
3406 Set gst as being initialized before scanning/updating the registry,
3407 since there might be my python plugin loader that calls gst_init() and
3408 we don't want to loop back in.
3411 2006-08-11 Wim Taymans <wim@fluendo.com>
3413 * docs/design/part-qos.txt:
3414 Bring docs in line with the code. Mostly the sign of the jitter was
3415 wrong in the docs. Fixes #349943.
3418 Fix the docs for the jitter.
3420 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3421 (gst_event_parse_tag), (gst_event_new_buffer_size),
3422 (gst_event_parse_buffer_size), (gst_event_parse_qos),
3423 (gst_event_new_seek), (gst_event_parse_seek),
3424 (gst_event_new_navigation):
3425 Make sure the GstStructure has no parent when creating custom
3427 Add some more argument checking so that we avoid 0.0 rates.
3428 Flesh out the docs for the QoS event some more.
3430 2006-08-11 Wim Taymans <wim@fluendo.com>
3432 * docs/gst/gstreamer-sections.txt:
3433 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3434 (ensure_current_registry_forking), (ensure_current_registry),
3435 (parse_one_option), (parse_goption_arg), (gst_deinit),
3436 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3439 Added API and command line option to disable registry forking in
3440 addition to the environment variable.
3441 Constify some static arrays.
3442 Added some more debug.
3444 API: gst_registry_fork_is_enabled()
3445 API: gst_registry_fork_set_enabled()
3446 API: --gst-disable-registry-fork command line option
3449 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
3451 * gst/gst.c: (gst_init):
3452 Fix typo in error message.
3454 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3456 * libs/gst/controller/gstcontroller.h:
3457 fix ABI size-correction
3459 * tests/check/libs/gdp.c: (gst_dp_suite):
3460 make tests that use deprecated API conditional
3462 2006-08-10 Stefan Kost <ensonic@users.sf.net>
3464 * docs/libs/gstreamer-libs-sections.txt:
3465 * libs/gst/controller/gstcontroller.c:
3466 (_gst_controller_get_property), (_gst_controller_set_property),
3467 (_gst_controller_init), (_gst_controller_class_init):
3468 * libs/gst/controller/gstcontroller.h:
3469 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3470 (gst_object_set_control_rate):
3471 API: add gst_object_{s,g}et_control_rate(), add private data section,
3474 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3475 * libs/gst/dataprotocol/dataprotocol.h:
3476 add deprecation guards to make gtk-doc happy and allow disabling cruft
3478 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
3480 * tests/check/Makefile.am:
3481 * tests/check/gst/.cvsignore:
3482 Let's enable the new unit test as well.
3484 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
3487 * docs/gst/gstreamer-sections.txt:
3488 * gst/gstconfig.h.in:
3489 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3490 (_gst_info_printf_extension_ptr),
3491 (_gst_info_printf_extension_segment):
3492 API: add GST_SEGMENT_FORMAT, which is a printf extension we
3493 register that lets us easily dump GstSegments into debug
3496 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3497 (info_segment_format_printf_extension), (gst_info_suite):
3498 Add simple unit test that logs a bunch of different segments (not
3499 valgrinded at the moment because of leaks in
3500 gst_debug_add_log_function).
3502 2006-08-09 Edward Hervey <edward@fluendo.com>
3504 * libs/gst/base/gstbasetransform.c:
3505 (gst_base_transform_buffer_alloc):
3506 Even if we can't figure out the proper format to request downstream,
3507 call buffer_alloc() downstream with the input parameters without setting
3508 the caps on the srcpad. This will force negotiation in the chain
3512 2006-08-08 Edward Hervey <edward@fluendo.com>
3514 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3515 Unlinking from a pad without a target is now a perfectly valid case
3516 which should NOT raise an assertion.
3517 This case would happen if a linked ghostpad its target set to NULL after
3518 it was previously linked.
3520 2006-08-08 Edward Hervey <edward@fluendo.com>
3522 * tests/check/libs/gdp.c:
3523 Also comment out the test (see below).
3525 2006-08-08 Edward Hervey <edward@fluendo.com>
3527 * tests/check/libs/gdp.c: (gst_dp_suite):
3528 Use the architecture information from config.h and not gcc macros
3529 in order to properly disable a test that fails on PPC64.
3531 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
3533 * gst/gstelement.c: (gst_element_remove_pad):
3534 Don't crash printing the warning if the pad has no parent.
3536 2006-08-02 Wim Taymans <wim@fluendo.com>
3538 * libs/gst/dataprotocol/dataprotocol.c:
3539 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3540 (gst_dp_crc), (gst_dp_header_payload_length),
3541 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3542 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3543 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3544 (gst_dp_event_from_packet), (gst_dp_validate_header),
3545 (gst_dp_validate_payload):
3546 Make debug category static
3547 Constify the crc table.
3548 Do some more arg checking in public functions.
3549 Fix some docs and do some small cleanups.
3551 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
3552 Add some more checks to see if GDP deals with bogus input.
3554 2006-07-31 Wim Taymans <wim@fluendo.com>
3556 * gst/gstvalue.c: (gst_value_compare_list):
3557 Fix GstValueList comparison code. Fixes #347293.
3559 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3560 Check to test GstValueList comparison.
3562 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3564 * gst/gstelementfactory.c: (gst_element_factory_create):
3565 Remove unnecessary ref/unref pair
3567 * gst/parse/grammar.y:
3568 Make sure to free the parse buffer on all code paths.
3569 Move a g_free up to the error handler where it's easier to see.
3571 * tests/check/gst/gstevent.c: (test_event):
3572 Extending timeout for downstream travelling events to 10 seconds to
3573 hopefully avoid intermittent failure on the buildbots.
3575 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
3576 Don't manually set the state of the src element - it will happen as a
3577 natural consequence of the pipeline changing state, and that way it
3578 will do it in the right order too.
3580 2006-07-31 Wim Taymans <wim@fluendo.com>
3582 * libs/gst/base/gstbasetransform.c:
3583 (gst_base_transform_buffer_alloc):
3584 Use OBJECT_LOCK and refcounting to get the pad caps in the
3585 buffer_alloc function because the caps could change while we are
3586 busy with them. Fixes #349105
3588 2006-07-31 Wim Taymans <wim@fluendo.com>
3590 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
3591 Protect _PAD_CAPS with OBJECT_LOCK.
3593 2006-07-31 Wim Taymans <wim@fluendo.com>
3595 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3596 (gst_pad_get_property), (gst_pad_activate_pull),
3597 (gst_pad_activate_push), (gst_pad_set_blocked_async),
3598 (gst_pad_set_activate_function),
3599 (gst_pad_set_activatepull_function),
3600 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
3601 (gst_pad_set_getrange_function),
3602 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
3603 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3604 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
3605 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
3606 (gst_pad_set_acceptcaps_function),
3607 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
3608 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
3609 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
3610 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
3611 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
3612 (gst_pad_configure_sink), (gst_pad_configure_src),
3613 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
3614 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
3615 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
3616 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
3617 (gst_pad_send_event):
3618 Use _DEBUG_OBJECT when it makes sense.
3619 Protect GST_PAD_CAPS with the OBJECT_LOCK.
3620 Small cleanups and code reflows.
3621 Avoid caps refcounting in _accept_caps.
3622 Refactor alloc_buffer so that the code performed on the peer is in a
3623 separate function. Also if the pad does not implement a buffer alloc
3624 function, we should still check if the pad is flushing before falling
3625 back to the default allocator.
3627 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3629 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3630 Make all uses of identity and fakesink have silent=true to avoid
3631 serialising every passing data structure, which is breaking tests
3632 on FC4 for some unknown reason.
3634 2006-07-30 Stefan Kost <ensonic@users.sf.net>
3636 * gst/parse/Makefile.am:
3637 * gst/parse/grammar.y:
3638 * gst/parse/parse.l:
3639 Reverted previous patch as it required to bump the flex dependency to
3640 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
3642 2006-07-30 Stefan Kost <ensonic@users.sf.net>
3644 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
3646 * gst/parse/Makefile.am:
3647 * gst/parse/grammar.y:
3648 * gst/parse/parse.l:
3649 push & pop the state of the lexer for reentrant use case
3652 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
3654 * libs/gst/base/gstbasesrc.h:
3655 Note in the docs that the ::newsegment vfunc is not actually used by
3658 2006-07-28 Wim Taymans <wim@fluendo.com>
3660 * libs/gst/base/gstcollectpads.c:
3661 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
3662 (gst_collect_pads_clear), (gst_collect_pads_flush),
3663 (gst_collect_pads_event), (gst_collect_pads_chain):
3664 When flushing a pad, also clear the queued buffer so that we don't
3665 accidentally use it when we shouldn't.
3666 Fix leaks by inreffing incomming buffer.
3667 Flush out queued buffers in case of errors.
3670 2006-07-28 Wim Taymans <wim@fluendo.com>
3672 * docs/random/phonon-gst:
3673 Random notes about a Phonon backend.
3675 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3677 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3679 * tests/check/libs/gdp.c: (gst_dp_suite):
3680 Take a whack at fixing the ppc compile using a different define to
3681 disable the broken test.
3683 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3684 Remove excess g_print()
3686 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3688 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3689 Oops, meant to uncomment this line too to dampen the noise a bit.
3691 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3693 * gst/parse/grammar.y:
3694 * gst/parse/parse.l:
3695 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
3696 (GST_START_TEST), (parse_suite):
3697 Fix some of the leaks exposed by extending the parse-launch testsuite,
3698 and move the 3 I can't figure out into a separate test that won't run
3699 the pipelines unless the appropriate line is uncommented.
3701 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
3703 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3704 Requesting 0 bytes before the end of the file should result in
3705 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
3708 2006-07-27 Wim Taymans <wim@fluendo.com>
3710 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
3711 Fix useless assert, a uint is always positive.
3713 * gst/gststructure.c: (gst_structure_nth_field_name),
3714 (gst_structure_foreach), (gst_structure_map_in_place):
3715 Check input arguments for public functions to avoid obvious crashes.
3717 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
3718 * plugins/elements/gstfakesink.h:
3719 Do less useless typechecking.
3721 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
3723 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3724 Do not use mmap() by default since there are a number of error
3725 conditions that we would like to handle in a non-fatal way that
3726 will result in a SIGBUS if we use mmap(). Examples: external
3727 devices (USB harddrive, portable music player) being unplugged
3728 while in use; file on mounted CD/DVD that can't be read because
3729 the medium is partly damaged. Fixes #348455 and #348475.
3731 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3734 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
3737 2006-07-26 Stefan Kost <ensonic@users.sf.net>
3739 * gst/gstregistry.c:
3740 Move big documentation comment into class section header, so that it
3741 appears in the API docs.
3743 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3745 * docs/gst/gstreamer-sections.txt:
3746 Oops. Commit the docs additions too for new API.
3747 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
3749 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3751 * gst/gststructure.c: (gst_structure_id_set),
3752 (gst_structure_id_set_valist):
3753 * gst/gststructure.h:
3754 Add API for setting values into structures without performing
3755 a quark lookup, if the appropriate quark is already known.
3757 API: gst_structure_id_set
3758 API: gst_structure_id_set_valist
3760 * gst/parse/grammar.y:
3761 * gst/parse/parse.l:
3762 Remove some dead code shown by the coverage information.
3763 Don't throw a critical g_warning when encountering a syntax error,
3764 just warn and let the normal error path handle it.
3766 * plugins/elements/gstelements.c:
3767 Bump the rank of filesink up to PRIMARY so that it is preferred over
3768 gnomevfssink for file:// sink uri's
3770 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
3771 (GST_START_TEST), (run_delayed_test),
3772 (gst_parse_test_element_base_init),
3773 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
3774 (gst_parse_test_element_change_state),
3775 (gst_register_parse_element), (parse_suite):
3776 Beef up the tests for parse syntax to check that more error cases
3777 fail as they are supposed to. Increases the test coverage a bit.
3779 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
3781 * docs/manual/basics-elements.xml:
3782 Fix gst_element_link() example.
3785 Mention in API docs that one should usually gst_bin_add()
3786 elements to a bin or pipeline before doing the linking.
3788 2006-07-26 Wim Taymans <wim@fluendo.com>
3790 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
3791 (gst_subbuffer_get_type), (gst_buffer_create_sub):
3792 Avoid function call for known types by keeping the buffer and
3793 subbuffer GType global.
3795 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3796 Random silly optimisations in read() path.
3798 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3800 * tools/gst-launch.c: (main):
3801 If the top-level of the parse is a normal bin, it doesn't do the
3802 right logic to run as a top-level element, so place it inside a
3805 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
3807 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
3808 Remove superfluous g_object_notify() calls, GObject does
3809 that for us automatically.
3811 2006-07-25 Stefan Kost <ensonic@users.sf.net>
3814 on Win32, use dllspec to export the debug category symbols
3816 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
3818 * gst/gsttaglist.c: (_gst_tag_initialize):
3819 Allow more than one GST_TAG_IMAGE per taglist.
3821 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
3823 * gst/gstminiobject.c:
3825 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
3826 (gst_fd_src_create):
3827 log recurring events at LOG level
3828 add more debug for when the fd gets set
3830 2006-07-21 Stefan Kost <ensonic@users.sf.net>
3832 * gst/gstparse.c: (gst_parse_launch):
3833 Also remove reentrance checks if flex is MT safe (#348179)
3834 Fix my empty ChangeLog entry below
3836 2006-07-21 Andy Wingo <wingo@pobox.com>
3838 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
3840 * libs/gst/check/Makefile.am
3841 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
3842 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
3843 * libs/gst/check/gstbufferstraw.h:
3844 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
3845 functions, thus proving I am still a GStreamer haxor. OK I wrote
3846 them a long time ago, but anyways.
3848 2006-07-21 Stefan Kost <ensonic@users.sf.net>
3851 * gst/gstparse.c: (gst_parse_launch):
3852 Check for flex version and omit mutex if we have a MT save flex
3855 2006-07-21 Wim Taymans <wim@fluendo.com>
3857 * gst/gstparse.c: (gst_parse_launch):
3858 Protect recursive calls to _parse with a recursive mutex
3861 2006-07-21 Wim Taymans <wim@fluendo.com>
3863 * tests/check/gst/gstpad.c: (GST_START_TEST):
3866 2006-07-20 Stefan Kost <ensonic@users.sf.net>
3868 * gst/gstparse.c: (gst_parse_launch):
3869 Do not hang on recursive usage of gst_parse_launch()
3871 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
3874 Add some more docs, comments and FIXME 0.11s here and there
3875 and also fix some typos.
3877 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
3880 Convert tabs to spaces for better readability.
3882 2006-07-20 Edward Hervey <edward@fluendo.com>
3884 * tests/check/libs/gdp.c: (gst_dp_suite):
3885 the test_buffer test fails at line 140 on ppc64 at the following
3887 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
3888 GST_BUFFER_FLAG_IN_CAPS),
3889 "GST_BUFFER_IN_CAPS flag should have been copied !");
3890 See bug #348114 for more details.
3892 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
3894 * docs/pwg/advanced-scheduling.xml:
3896 Fix typos (#348000).
3898 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
3900 * docs/pwg/intro-basics.xml:
3901 Fix wrong links (#347927).
3903 2006-07-18 Stefan Kost <ensonic@users.sf.net>
3905 * gst/gstregistry.h:
3906 * gst/gstregistryxml.c: (load_feature),
3907 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
3908 * win32/common/config.h:
3909 make --disable-index work (#342564)
3911 2006-07-18 Wim Taymans <wim@fluendo.com>
3913 Patch by: Peter Kjellerstedt <pkj at axis dot com>
3917 The attached patch adds two missing defines to gsttrace.h when tracing
3918 is disabled. It also corrects one existing define.
3921 2006-07-17 Wim Taymans <wim@fluendo.com>
3923 * docs/gst/gstreamer-sections.txt:
3924 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
3926 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
3927 Add two functions to check and change the SIGSEGV behaviour
3928 when loading plugins.
3929 Don't mess with the SIGSEGV handler when we were told not to.
3931 API: gst_segtrap_is_enabled
3932 API: gst_segtrap_set_enabled
3934 2006-07-14 Wim Taymans <wim@fluendo.com>
3936 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3937 * tests/check/elements/filesrc.c: (GST_START_TEST):
3938 Revert fix for regression in #347408 after release.
3940 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
3942 Patch by: Antoine Tremblay <hexa00 at gmail com>
3944 * gst/gstutils.c: (gst_element_unlink):
3945 Free iterator when done (#347311).
3947 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3948 And add a test case for this.
3950 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
3953 Bump nano back to CVS
3955 === release 0.10.9 ===
3957 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3960 releasing 0.10.9, "On the road again"
3962 2006-07-13 Wim Taymans <wim@fluendo.com>
3964 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3965 * tests/check/elements/filesrc.c: (GST_START_TEST):
3966 Revert pull-0 fix for release. Disable check. Fixes #347408.
3968 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
3970 * libs/gst/dataprotocol/dataprotocol.c:
3971 (gst_dp_event_from_packet_1_0):
3972 Fixes #347337: failure to deserialize event packets with
3973 empty payload (only event type)
3975 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
3978 do not install a .c file in the header directory
3980 2006-07-13 Edward Hervey <edward@fluendo.com>
3982 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3983 GhostPad no longer implicitely use the padtemplates of the targets.
3986 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
3988 * gst/gstvalue.c: (gst_value_compare_list),
3989 (gst_value_compare_array), (_gst_value_initialize):
3990 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3991 Make GstValueArray comparison be order dependent as designed.
3992 Add checks for value lists and value array comparisons.
3995 2006-07-11 Edward Hervey <edward@fluendo.com>
3997 * gst/gstbin.c: (activate_pads),
3998 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
3999 (gst_bin_change_state_func):
4000 (de)activate src pads before calling state_change on the childs.
4001 This is to avoid the case where a src ghostpad is blocked (holding the
4002 stream lock), which would block the deactivation of the ghostpad's
4004 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4005 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4006 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4007 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4008 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4009 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4010 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4011 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4012 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4013 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4014 (gst_ghost_pad_class_init),
4015 (gst_ghost_pad_internal_do_activate_push),
4016 (gst_ghost_pad_internal_do_activate_pull),
4017 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4018 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4019 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4020 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4021 GhostPads now create their internal GstProxyPad at creation (and not
4022 when they're linked, as it was being done previously).
4023 The internal and target pads are linked straight away.
4024 The data will also travel through the other pad in order to make
4025 pad blocking and probes non-hackish (the probe/block now really happens
4026 on the GhostPad and not on the target).
4027 * gst/gstpad.c: (gst_pad_set_blocked_async),
4028 (gst_pad_link_prepare), (gst_pad_push_event):
4029 Remove previous ghostpad cruft.
4030 * gst/gstutils.c: (gst_pad_add_data_probe),
4031 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4032 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4033 (gst_pad_remove_buffer_probe):
4034 Remove previous ghost pad cruft.
4035 Added more detailed debug statements.
4036 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4037 Fix the testsuite for refcounting changes.
4038 The comments about who has references were correct, but the refcount
4039 being checked wasn't the same (!?!).
4043 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4045 * docs/gst/gstreamer-sections.txt:
4046 * gst/gstconfig.h.in:
4047 More docs for configuration options, add docs to gtk-doc.
4049 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4052 * gst/gstconfig.h.in:
4053 * win32/common/config.h:
4054 Fix build when disabling tracing (fixes #344016). Also start to document
4055 the defines that disable the sub-systems.
4057 2006-07-10 Edward Hervey <edward@fluendo.com>
4059 * gst/gst.c: (ensure_current_registry_forking):
4060 let's make valgrind happy...
4062 2006-07-09 Wim Taymans <wim@fluendo.com>
4064 * gst/gstelement.c: (activate_pads),
4065 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4066 Better pad activation code: Reset the collect value too on resync.
4069 2006-07-09 Wim Taymans <wim@fluendo.com>
4071 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4072 (gst_pad_activate_push):
4073 Use some more macros where it makes sense.
4074 Allow pad mode switching instead of asserting. When a pad
4075 is activated in one mode and we activate it in another,
4076 deactivate it first before activating it in a different mode.
4079 2006-07-08 Andy Wingo <wingo@pobox.com>
4081 * tools/gst-launch.c (main): Handle err == NULL.
4083 * gst/gst.c (init_post, ensure_current_registry)
4084 (ensure_current_registry_forking)
4085 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4086 factoring out the registry scanning into separate functions. Don't
4087 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4088 Better environment var name/interface suggestions accepted.
4090 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4092 * gst/gstobject.c: (gst_object_set_name_default),
4093 (gst_object_set_name):
4094 Random micro-optimisation: don't use a hash table
4095 with strings as keys and the usual strdup/strcmp
4096 involved, but rather just use the GQuark of the
4097 type name as key, since it needs to be looked up
4098 anyway to get the type name string.
4100 * tests/check/gst/gstobject.c: (GST_START_TEST):
4103 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4105 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4106 (gst_bin_iterate_all_by_interface):
4107 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4108 GTypes are gulongs and thus the top 4 bytes might be cut
4109 off on some platforms when doing GPOINTER_TO_INT, leading
4110 to invalid GTypes and bad things happening (see RH bug #179654).
4111 Also add a check to make sure the type passed in is really
4114 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4119 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4123 * gst-element-check.m4:
4124 * gst-element-check.m4.in:
4125 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4126 instead of the unversioned gst-inspect (#324176, #168659).
4128 2006-07-06 Wim Taymans <wim@fluendo.com>
4131 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4134 2006-07-06 Wim Taymans <wim@fluendo.com>
4136 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4137 (gst_base_src_wait), (gst_base_src_update_length),
4138 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4139 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4140 (gst_base_src_loop), (gst_base_src_start),
4141 (gst_base_src_activate_pull):
4143 blocksize == 0 now means the default blocksize when working in push
4145 Remove some pointless asserts in _wait function.
4146 Fix offset/length calculations and EOS handling. We can now pull 0
4147 bytes as well, which is allowed.
4148 use _check_get_range() to decide if we can operate in _pull based
4150 Fix refcounting leak when check_get_range function was not
4152 API GstBaseSrc::blocksize range can be 0 too now (default)
4154 * tests/check/elements/filesrc.c: (GST_START_TEST),
4156 Added check to test _get_range() behaviour.
4158 2006-07-06 Wim Taymans <wim@fluendo.com>
4160 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4161 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4162 (gst_pad_pull_range):
4164 Lots of comments and docs added to the pad functions.
4165 Flesh out the expected behaviour of the get_range() functions.
4167 2006-07-06 Wim Taymans <wim@fluendo.com>
4172 * gst/gstiterator.h:
4176 Remove comma at end of enumerator list.
4178 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4180 * win32/common/libgstbase.def:
4181 * win32/common/libgstdataprotocol.def:
4182 * win32/common/libsgtreamer.def:
4183 Add new exported functions.
4185 2006-07-05 Wim Taymans <wim@fluendo.com>
4187 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4188 Add some more docs here and there.
4190 2006-07-05 Wim Taymans <wim@fluendo.com>
4192 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4193 (gst_base_sink_loop), (gst_base_sink_get_position):
4194 When operating in pull mode update the offset so that we
4197 2006-07-05 Wim Taymans <wim@fluendo.com>
4199 * gst/gstregistryxml.c: (read_string):
4200 Avoid strdup. (will happen in libxml, but hey!)
4205 2006-07-05 Wim Taymans <wim@fluendo.com>
4207 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4208 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4210 No point in checking if the size of the subbuffer > 0, the
4211 code handles it correclty as demonstrated by unit test.
4212 Also add a unit test for the zero sized _new_and_alloc and
4213 _copy. Fixes #346663.
4215 2006-07-05 Wim Taymans <wim@fluendo.com>
4217 * libs/gst/base/gstbasetransform.c:
4218 (gst_base_transform_prepare_output_buffer),
4219 (gst_base_transform_buffer_alloc),
4220 (gst_base_transform_handle_buffer):
4221 Make sure the buffer we pass to transform_ip has a refcount of
4222 1 and thus is writable. Fixes #343196
4224 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4226 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4227 (gst_file_src_init), (gst_file_src_set_property),
4228 (gst_file_src_get_property), (gst_file_src_map_region):
4229 * plugins/elements/gstfilesrc.h:
4230 Add "sequential" property, off by default, to use madvise and hint
4231 to the kernel that sequential access is desired.
4232 Touch all retrieved pages by default to ensure they are pulled
4233 into memory. (Closes #345720)
4235 2006-07-03 Wim Taymans <wim@fluendo.com>
4237 * docs/design/part-block.txt:
4238 * docs/design/part-dynamic.txt:
4241 2006-07-03 Wim Taymans <wim@fluendo.com>
4243 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4244 (gst_caps_unref), (gst_static_caps_get),
4245 (gst_caps_append_structure):
4246 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4247 Use GSlice when the glib we build against is >= 2.10
4249 2006-07-03 Wim Taymans <wim@fluendo.com>
4251 * gst/gstelement.c: (gst_element_pads_activate):
4252 Small cleanup in pad activation code.
4254 2006-07-03 Wim Taymans <wim@fluendo.com>
4256 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4258 * gst/gst-i18n-app.h:
4259 * gst/gst-i18n-lib.h:
4260 * tools/gst-inspect.c: (print_signal_info):
4261 The attached patch will make the inclusion of gettext.h unconditional in
4262 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4263 libintl.h in tools/gst-inspect.c.
4264 This allows use of --disable-nls again and fixes #344642.
4266 2006-07-03 Edward Hervey <edward@fluendo.com>
4268 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4269 Implement pad blocking on events according to part-block.txt.
4270 More comments on behaviour.
4271 * tests/check/gst/gstevent.c: (test_event):
4272 Send event to peer pad of blocked pad (else it will block).
4274 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4276 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4277 (gst_check_run_suite):
4278 if we get the wrong message, give us the types as string
4279 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4281 * tests/check/elements/filesrc.c: (GST_START_TEST):
4282 add a test for trying to open a non-existing file
4284 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4286 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4287 add a test for adding self
4289 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4291 * libs/gst/check/gstcheck.h:
4292 add some assert_ as alias for fail_unless_*
4293 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4294 increase test coverage
4296 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4299 include lcov.mak for lcov coverage generation
4300 * tools/Makefile.am:
4303 2006-07-02 Edward Hervey <edward@fluendo.com>
4305 * tests/check/elements/.cvsignore:
4308 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4311 don't set CFLAGS and friends for gcov, done from GST_GCOV now
4312 * tests/check/Makefile.am:
4315 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4317 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4318 remove gst_caps_simplify; it was not declared and not used
4319 and deprecated in 0.8
4321 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4323 * docs/faq/gst-uninstalled:
4324 don't put empty paths on PYTHONPATH
4325 * docs/gst/gstreamer-sections.txt:
4326 remove some symbols that are not there
4328 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4330 * gst/gstcaps.c: (gst_caps_compare_structures):
4332 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4333 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4336 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4338 * libs/gst/dataprotocol/Makefile.am:
4339 build dataprotocol test by linking to the lib, instead of
4340 compiling the source, so we get coverage
4341 * tests/check/Makefile.am:
4342 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4343 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4344 add a test for filesrc
4346 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4348 * tests/check/gst/gststructure.c: (GST_START_TEST),
4349 (gst_structure_suite):
4350 Push coverage from 59.04% to 70.00%
4352 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4354 * tests/check/Makefile.am:
4355 gst-inspect every element; this makes sure that we also get
4356 coverage on element's get/set functions
4358 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4361 set CFLAGS and friends to -O0 if gcov is being used
4364 * libs/gst/base/Makefile.am:
4365 * libs/gst/check/Makefile.am:
4366 * libs/gst/controller/Makefile.am:
4367 * libs/gst/dataprotocol/Makefile.am:
4368 * libs/gst/net/Makefile.am:
4369 * plugins/elements/Makefile.am:
4370 * plugins/indexers/Makefile.am:
4371 add makefile rules to generate gcov data and clean up
4372 * tests/check/Makefile.am:
4373 add a coverage target that generates an html overview
4376 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4378 * tests/check/elements/fakesink.c:
4379 * tests/check/elements/fakesrc.c:
4380 * tests/check/elements/fdsrc.c:
4381 * tests/check/elements/identity.c:
4382 * tests/check/generic/sinks.c: (gst_sinks_suite):
4383 * tests/check/generic/states.c:
4384 * tests/check/gst/gst.c:
4385 * tests/check/gst/gstabi.c:
4386 * tests/check/gst/gstbin.c:
4387 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4388 * tests/check/gst/gstbus.c: (gst_bus_suite):
4389 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4390 * tests/check/gst/gstelement.c:
4391 * tests/check/gst/gstevent.c: (gst_event_suite):
4392 * tests/check/gst/gstghostpad.c:
4393 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4394 * tests/check/gst/gstmessage.c: (gst_message_suite):
4395 * tests/check/gst/gstminiobject.c:
4396 * tests/check/gst/gstobject.c:
4397 * tests/check/gst/gstpad.c:
4398 * tests/check/gst/gstpipeline.c:
4399 * tests/check/gst/gstplugin.c:
4400 * tests/check/gst/gstquery.c: (gst_query_suite):
4401 * tests/check/gst/gstsegment.c: (gst_segment_suite):
4402 * tests/check/gst/gststructure.c:
4403 * tests/check/gst/gstsystemclock.c:
4404 * tests/check/gst/gsttag.c:
4405 * tests/check/gst/gsttask.c: (gst_task_suite):
4406 * tests/check/gst/gstutils.c:
4407 * tests/check/gst/gstvalue.c:
4408 * tests/check/libs/adapter.c:
4409 * tests/check/libs/basesrc.c:
4410 * tests/check/libs/collectpads.c:
4411 * tests/check/libs/controller.c:
4412 * tests/check/libs/gdp.c: (gst_dp_suite):
4413 * tests/check/libs/gstnetclientclock.c:
4414 * tests/check/libs/gstnettimeprovider.c:
4415 * tests/check/libs/libsabi.c: (libsabi_suite):
4416 * tests/check/libs/typefindhelper.c:
4417 * tests/check/pipelines/cleanup.c:
4418 * tests/check/pipelines/parse-launch.c:
4419 * tests/check/pipelines/simple-launch-lines.c:
4420 * tests/check/pipelines/stress.c: (stress_suite):
4423 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4425 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4426 * libs/gst/check/gstcheck.h:
4427 create a macro and function so that the simple unit test
4428 case can be just one macro to create main()
4430 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
4432 * gst/gstbin.c: (gst_bin_restore_thyself):
4433 * gst/gstxml.c: (gst_xml_make_element):
4434 Fix deserialisation from XML. Set parent manually
4435 instead of using gst_bin_add(), since gst_bin_add()
4436 will unlink all pads of the element being added.
4439 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
4441 Patch by: Peter Kjellerstedt <pkj at axis com>
4443 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4444 Fix missing g_strdup() and double free when using the
4445 --gst-plugin-load command line option (#346097).
4447 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4450 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4452 * libs/gst/net/gstnetclientclock.c:
4453 * libs/gst/net/gstnettimeprovider.c:
4454 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4456 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
4458 * docs/manual/advanced-dataaccess.xml:
4459 Fix buffer probe example compilation in
4462 2006-06-22 Edward Hervey <edward@fluendo.com>
4464 * gst/gstelement.c: (gst_element_pads_activate):
4465 We need to deactivate src pads first and then sink pads.
4466 The reason is the src pads might be blocking while holding the streaming
4467 lock, so we need to deactivate them first so that deactivating the sink
4468 pads doesn't block (since it will require the streaming lock).
4470 2006-06-22 Wim Taymans <wim@fluendo.com>
4472 * libs/gst/base/gstbasetransform.c:
4473 (gst_base_transform_buffer_alloc):
4474 Forgot to remove two unneeded unrefs.
4475 Simplify a check _is_equal allready checks the obvious case.
4477 2006-06-22 Wim Taymans <wim@fluendo.com>
4479 * docs/design/part-block.txt:
4480 Some docs about what pad_block should do.
4482 2006-06-22 Wim Taymans <wim@fluendo.com>
4484 * gst/gstcaps.c: (gst_caps_replace):
4485 Fix crasher when passed NULL. Doc clarification.
4486 Optimize for the trivial case.
4488 * gst/gstpipeline.c: (gst_pipeline_change_state):
4491 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4492 Small documentation cleanup.
4494 * libs/gst/base/gstbasetransform.c:
4495 (gst_base_transform_buffer_alloc):
4496 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4497 is what we need and it avoids a whole lot of redundant
4498 refcount operations.
4500 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
4502 Patch by: Philip Jägenstedt <philip at lysator liu se>
4504 * docs/manual/advanced-dataaccess.xml:
4505 Fix 'Embedding static elements' section to use
4506 GST_PLUGIN_DEFINE_STATIC (#345607).
4508 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4510 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4511 Attempt to 'fix' spuriously failing test case: it seems like the
4512 timeout of half a second is simply too small when the system is under
4513 load otherwise, and the timeout doesn't really seem to serve any
4514 particular purpose here. Give the pipeline a few seconds to preroll
4515 first, and then give it another half a second to go from PAUSED to
4516 PLAYING and marshal the message into the main thread.
4518 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4520 * tools/gst-feedback-m.m:
4521 Don't only use unversioned tools, try versioned tools as well
4524 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
4526 * gst/gstbus.c: (gst_bus_class_init):
4527 Fix some typos, make docs more explicit.
4529 2006-06-20 Wim Taymans <wim@fluendo.com>
4531 * tests/check/gst/gstghostpad.c: (block_callback),
4532 (GST_START_TEST), (gst_ghost_pad_suite):
4533 Added some more ghostpad tests, mainly blocking
4536 2006-06-16 Wim Taymans <wim@fluendo.com>
4538 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4539 (gst_file_sink_close_file), (gst_file_sink_do_seek),
4540 (gst_file_sink_event), (gst_file_sink_render):
4541 * plugins/elements/gstfilesink.h:
4542 Check if we can seek in the file instead of assuming
4543 we always can. Post an error when we are asked to seek in a
4544 non-seekable file (like a fifo). Fixes #343312.
4547 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4549 * tools/gst-launch.1.in:
4550 Un-garble (fourcc) bit in filtered caps section.
4552 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
4554 * docs/manual/advanced-autoplugging.xml:
4555 * docs/manual/basics-helloworld.xml:
4556 * docs/manual/highlevel-components.xml:
4557 Don't leak bus reference in sample code.
4559 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
4562 Add default for new --enable-plugin-docs switch.
4565 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
4569 Use new ENABLE_PLUGIN_DOCS conditional.
4571 2006-06-14 Wim Taymans <wim@fluendo.com>
4573 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
4574 Make it clear with a FIXME and a real define what the #if 0
4575 previously disabled.
4577 2006-06-14 Wim Taymans <wim@fluendo.com>
4579 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4580 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
4581 * libs/gst/base/gstbasetransform.c:
4582 (gst_base_transform_sink_eventfunc):
4583 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4584 Don't randomly and silently reset a segment when the format
4585 changes as this is a bug somewhere upstream. Fixes #330379.
4587 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
4589 Patch by: Wouter Paesen <wouter at kangaroot net>
4591 * libs/gst/controller/gstcontroller.c:
4592 (gst_controlled_property_new):
4593 Fix controlling of float properties (#344849).
4595 * tests/check/libs/controller.c:
4596 (gst_test_mono_source_get_property),
4597 (gst_test_mono_source_set_property),
4598 (gst_test_mono_source_class_init), (GST_START_TEST):
4599 While we're at it, add some float stuff to unit test.
4601 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
4604 * docs/images/gdp-header.svg:
4606 * docs/libs/Makefile.am:
4607 * docs/libs/gdp-header.png:
4608 * libs/gst/dataprotocol/dataprotocol.c:
4609 add it to the API docs
4610 * docs/manual/intro-motivation.xml:
4613 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
4615 * gst/gst.c: (scan_and_update_registry), (init_post):
4616 If the fork()'ed child process can't write the updated registry cache
4617 file to disk for some reason, make it exit with a failure exit code,
4618 so that the parent can then re-scan the plugins itself and update the
4619 registry structures in memory and work with that (rather than failing
4620 when creating elements because seemingly no plugins are available).
4621 Refactor registry scanning code into separate function for this and
4622 also separate fork() and non-fork() code paths. Fixes #344748.
4624 2006-06-13 Wim Taymans <wim@fluendo.com>
4626 * docs/manual/advanced-dataaccess.xml:
4627 Fix wrong PluginDesc. Fixes #344755.
4629 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
4631 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
4632 Fix silly bug that prevented us from creating
4633 ~/.gstreamer-0.10 and writing the registry in one
4634 go (the first call to g_mkstemp() would overwrite the
4635 placeholder in the template string, so the second call
4636 to g_mkstemp() after creating the missing directory
4637 would then error out with 'invalid argument').
4639 2006-06-13 Edward Hervey <edward@fluendo.com>
4641 * gst/gst.c: (init_post):
4644 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
4646 * gst/glib-compat-private.h:
4647 * gst/glib-compat.c:
4648 * gst/glib-compat.h:
4649 * gst/gstvalue.c: (gst_value_serialize_flags):
4650 remove GLib 2.6 compatibility code
4652 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
4654 * gst/parse/Makefile.am:
4655 Fix build with 'make -j N' even more (#340016).
4657 2006-06-12 Wim Taymans <wim@fluendo.com>
4659 * docs/gst/gstreamer-sections.txt:
4662 2006-06-12 Wim Taymans <wim@fluendo.com>
4664 * gst/gstsegment.c: (gst_segment_set_duration),
4665 (gst_segment_set_last_stop), (gst_segment_set_seek),
4666 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4667 (gst_segment_to_running_time), (gst_segment_clip):
4668 Use G_UNLIKELY to help the compiler a bit.
4670 2006-06-12 Wim Taymans <wim@fluendo.com>
4672 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4674 * gst/gstevent.c: (gst_event_get_type):
4676 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4678 constify quark registration strings. Fixes #344115
4679 Avoid unneeded type checking is _pad_push() by internally
4680 calling gst_pad_chain_unchecked().
4682 2006-06-12 Wim Taymans <wim@fluendo.com>
4684 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
4685 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
4686 (gst_subbuffer_finalize), (gst_buffer_create_sub),
4687 (gst_buffer_is_span_fast), (gst_buffer_span):
4688 Init _type for consistency.
4689 Use _FLAGS macro to avoid type check.
4690 Avoid unneeded type checks in subbufer code.
4692 2006-06-12 Wim Taymans <wim@fluendo.com>
4694 * gst/gst.c: (gst_debug_help):
4695 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
4696 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4697 (gst_plugin_feature_list_free):
4698 * gst/gstregistry.c: (gst_registry_add_plugin),
4699 (gst_registry_add_feature), (gst_registry_plugin_filter),
4700 (gst_registry_feature_filter), (gst_registry_find_plugin),
4701 (gst_registry_find_feature), (gst_registry_get_plugin_list),
4702 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
4703 * gst/gstregistryxml.c: (load_feature),
4704 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
4705 * gst/gstminiobject.c: (gst_mini_object_unref),
4706 (gst_mini_object_replace), (gst_value_mini_object_free),
4707 (gst_value_mini_object_copy):
4708 Use _CAST macros to avoid unneeded type checking.
4709 Added some more G_UNLIKELY.
4711 2006-06-12 Wim Taymans <wim@fluendo.com>
4714 Avoid unneeded type checking.
4715 API: GST_BUFFER_IS_DISCONT
4717 * gst/gstminiobject.h:
4718 Avoid type check in flag accessor.
4720 * gst/gstelementfactory.h:
4722 * gst/gstpluginfeature.h:
4724 API: GST_ELEMENT_FACTORY_CAST
4725 API: GST_PLUGIN_CAST
4726 API: GST_PLUGIN_FEATURE_CAST
4728 2006-06-12 Wim Taymans <wim@fluendo.com>
4730 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
4732 Add G_UNLIKELY in type registration.
4733 Avoid type check in _ref/_unref since that is also
4736 2006-06-12 Wim Taymans <wim@fluendo.com>
4738 * gst/gsterror.c: (gst_g_error_get_type):
4739 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4740 (gst_static_pad_template_get_type):
4741 * gst/gsttaglist.c: (gst_tag_list_get_type):
4742 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
4743 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
4744 * gst/gsturi.c: (gst_uri_handler_get_type):
4745 * gst/gstvalue.c: (gst_date_get_type):
4746 * gst/gstxml.c: (gst_xml_get_type):
4747 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4748 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
4749 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
4750 Add G_UNLIKELY in type registration.
4752 2006-06-12 Wim Taymans <wim@fluendo.com>
4754 * tools/gst-inspect.c: (print_signal_info):
4755 Properly print enum values.
4757 2006-06-12 Wim Taymans <wim@fluendo.com>
4759 * gst/gstinfo.c: (gst_debug_set_active),
4760 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
4762 Add some G_[UN]LIKELY.
4763 Maintain __gst_debug_min to avoid formatting the arguments of
4764 debug messages that will be dropped anyway to avoid a lot of
4765 overhead from the debugging system.
4767 2006-06-11 Stefan Kost <ensonic@users.sf.net>
4771 add missing files containing translatable strings, tell intltool about
4774 2006-06-11 Stefan Kost <ensonic@users.sf.net>
4776 * tests/check/libs/.cvsignore:
4777 add test-binary to ignore list
4779 2006-06-11 Stefan Kost <ensonic@users.sf.net>
4781 * docs/libs/gstreamer-libs-docs.sgml:
4782 reorder (put dp into a chapter) and indent
4784 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
4789 === release 0.10.8 ===
4791 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
4794 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
4796 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
4798 * gst/gst.c: (init_post):
4799 move pid declaration to declaration block
4801 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
4803 * gst/gst.c: (init_post):
4804 use _exit() instead of exit() in our forked child; this ensures
4805 that none of the registered exit handlers from whatever is using
4806 GStreamer get executed. This fixes gnome-mixer-applet failing
4807 to load, because ORBit would shut down.
4808 Spotted by: Edward Hervey <edward@fluendo.com>
4809 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
4812 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4817 === release 0.10.7 ===
4819 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4822 releasing 0.10.7, "Soepeke, ik zie ou"
4824 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
4847 * win32/common/config.h:
4850 2006-06-07 Wim Taymans <wim@fluendo.com>
4852 * gst/gstindex.c: (gst_index_gtype_resolver):
4853 * tools/gst-xmlinspect.c: (print_plugin_info):
4854 Fix leak spotted by coverity checker. Fixes #343827
4855 Fix another other leak found by paolo borelli.
4857 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
4859 * libs/gst/dataprotocol/dataprotocol.c:
4860 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4861 (gst_dp_version_get_type), (gst_dp_init),
4862 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
4863 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
4864 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
4865 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
4866 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
4867 (gst_dp_packetizer_free):
4868 * libs/gst/dataprotocol/dataprotocol.h:
4869 API: add a GstDPPacketizer object, and create/free functions
4870 API: add GstDPVersion enum
4871 Add 1.0 event function that uses the string serialization
4872 Serialize more useful buffer flags
4875 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
4877 * tests/check/Makefile.am:
4878 * tests/check/gst/gstabi.c:
4879 * tests/check/gst/struct_ppc64.h:
4880 * tests/check/libs/libsabi.c:
4881 * tests/check/libs/struct_ppc64.h:
4882 add ppc64 structure sizes
4884 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
4886 * tests/check/Makefile.am:
4887 * tests/check/gst/gstabi.c:
4888 * tests/check/gst/struct_x86_64.h:
4889 * tests/check/libs/libsabi.c:
4890 * tests/check/libs/struct_x86_64.h:
4891 generate and add structure size lists for x86_64
4893 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
4895 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4896 * libs/gst/check/gstcheck.h:
4897 factor out the method from tests that checks size of structures,
4898 and add code to generate the header containing these sizes
4899 * tests/check/gst/gstabi.c: (GST_START_TEST):
4900 * tests/check/gst/struct_i386.h:
4901 * tests/check/libs/libsabi.c: (GST_START_TEST):
4902 * tests/check/libs/struct_i386.h:
4905 2006-06-06 Michael Smith <msmith@fluendo.com>
4908 Don't use c++-style comments, fixes #343929
4910 2006-06-05 Edward Hervey <edward@fluendo.com>
4913 plugin_paths is not used if we build without registry support.
4915 * gst/gstsegment.c: (gst_segment_copy):
4916 _copy() was always returning NULL...
4918 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
4920 * libs/gst/dataprotocol/dataprotocol.c:
4921 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4922 (gst_dp_packet_from_event):
4925 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
4927 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
4928 make sure we unset caps
4930 2006-06-02 Michael Smith <msmith@fluendo.com>
4932 * libs/gst/check/gstcheck.c: (gst_check_init),
4933 (gst_check_chain_func):
4934 * libs/gst/check/gstcheck.h:
4935 Add a cond/mutex to the check support lib, signal this whenever we
4936 add to the buffers list. This will allow tests to not busy-wait on
4939 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
4941 * libs/gst/dataprotocol/dataprotocol.c:
4942 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4943 (gst_dp_packet_from_event):
4944 factor out some common header init code
4946 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
4948 * docs/libs/gstreamer-libs-sections.txt:
4949 * docs/libs/tmpl/gstdataprotocol.sgml:
4950 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
4951 * libs/gst/dataprotocol/dataprotocol.h:
4952 API: make gst_dp_crc() public
4954 2006-06-01 Stefan Kost <ensonic@users.sf.net>
4956 * plugins/indexers/gstindexers.c: (plugin_init):
4957 conditionally register fileindexer (fixes #343598)
4959 2006-06-01 Stefan Kost <ensonic@users.sf.net>
4961 * gst/gsttagsetter.h:
4962 Can't cast ifaces to a class
4964 * libs/gst/net/gstnetclientclock.h:
4965 * libs/gst/net/gstnettimeprovider.h:
4966 * plugins/elements/gstfakesink.h:
4967 * plugins/elements/gstfakesrc.h:
4968 * plugins/elements/gstfdsink.h:
4969 * plugins/elements/gstfdsrc.h:
4970 * plugins/elements/gstfilesink.h:
4971 * plugins/elements/gstfilesrc.h:
4972 * plugins/elements/gstidentity.h:
4973 * plugins/elements/gstqueue.h:
4974 * plugins/elements/gsttee.h:
4975 * plugins/indexers/gstfileindex.c:
4976 * plugins/indexers/gstmemindex.c:
4977 * tests/old/examples/plugins/example.h:
4978 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
4980 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
4982 * libs/gst/dataprotocol/dataprotocol.c:
4983 (gst_dp_header_from_buffer):
4984 make sure we zero the whole ABI-compatible area
4986 2006-06-01 Wim Taymans <wim@fluendo.com>
4988 Patch by: Alessandro Decina <alessandro at nnva dot org>
4990 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
4991 Make sure the EOS flag is cleared from pads after a flush
4992 or stop. Fixes #343538.
4994 * tests/check/libs/collectpads.c: (GST_START_TEST),
4995 (gst_collect_pads_suite):
4996 Added test for collectpads reusage after EOS.
4998 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5001 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5002 * win32/common/libgstbase.def:
5003 export gst_collect_pads_set_flushing
5004 * win32/common/libgstreamer.def:
5005 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5006 gst_value_fraction_multiply
5007 * win32/vs6/gst_inspect.dsp:
5008 add a link to intl.lib
5010 2006-05-30 Wim Taymans <wim@fluendo.com>
5012 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5013 (gst_collect_pads_chain):
5014 Handle the case where a pad is removed from the collection
5015 that could cause the other pads to become collectable.
5017 2006-05-30 Wim Taymans <wim@fluendo.com>
5020 Clarify the use of _release_request_pad() and
5021 _get_request_pad() a bit better.
5023 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5024 (gst_adapter_take_buffer):
5025 Fix some doc and comment typos.
5027 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5029 * docs/gst/gstreamer-sections.txt:
5030 * docs/libs/gstreamer-libs-sections.txt:
5031 add declared symbols
5033 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5035 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5036 Add debug that can be enabled using a #define at the top of the file,
5037 for dumping stats about how late/early we were when waking up from
5038 waiting on the clock.
5040 2006-05-30 Wim Taymans <wim@fluendo.com>
5042 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5043 When rebuilding the pad list, don't leak the previous list.
5045 2006-05-30 Wim Taymans <wim@fluendo.com>
5047 Patch by: Lutz Mueller <lutz at topfrose dot de>
5049 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5050 (gst_base_src_get_query_types), (gst_base_src_update_length):
5051 Publish supported query types.
5052 Update last_stop field in get_range mode so the position
5053 query works. Fixes #342321.
5055 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5057 * docs/gst/gstreamer-sections.txt:
5058 * gst/gsttaglist.c: (_gst_tag_initialize):
5060 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5062 2006-05-30 Wim Taymans <wim@fluendo.com>
5064 Patch by: Alessandro Decina <alessandro at nnva dot org>
5066 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5067 Unlock mutex when removing an unknown pad.
5070 * tests/check/Makefile.am:
5071 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5072 (push_event), (setup), (teardown), (GST_START_TEST),
5073 (gst_collect_pads_suite), (main):
5074 Added collecpads check, disabled for now as check crashes for
5077 2006-05-29 Wim Taymans <wim@fluendo.com>
5079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5080 Don't leak pads lists.
5082 2006-05-29 Wim Taymans <wim@fluendo.com>
5084 * docs/libs/gstreamer-libs-sections.txt:
5085 * libs/gst/base/gstcollectpads.c:
5086 (gst_collect_pads_set_flushing_unlocked),
5087 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5088 (gst_collect_pads_stop):
5089 * libs/gst/base/gstcollectpads.h:
5090 API: gst_collect_pads_set_flushing()
5091 Added api to set the pads to flushing, useful for seeking
5092 code in elements using collectpads.
5093 Clear segment when receiving a flush.
5095 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5097 * gst/gst.c: (add_path_func), (init_post):
5098 Don't scan registry paths passed via --gst-plugin-path immediately
5099 (will crash, because absolutely nothing is set up and no types are
5100 registered etc.); do this later in init_post(). Fixes #343057.
5102 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5104 * gst/gst.c: (init_post):
5105 if we have fork, fork while reading/rebuilding the registry
5106 so the parent doesn't take the hit of having all plugins loaded
5107 in memory. Fixes #342777.
5109 Check if we have fork()
5110 * win32/common/config.h.in:
5113 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5115 * plugins/elements/gstelements.c:
5116 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5117 (gst_file_src_init), (gst_file_src_set_property),
5118 (gst_file_src_get_property), (gst_file_src_start):
5119 * plugins/elements/gstfilesrc.h:
5120 API: GstFileSrc::use-mmap
5122 Add a use-mmap property to enable easier testing of all code paths.
5123 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5124 in the absence of gnomevfssrc. (Closes #340501)
5126 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5128 * tools/gst-inspect.c:
5129 Add missing include, removes warning of ngettext not being defined on
5132 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5134 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5135 Handle NULL input and output pointers silently as a failed conversion,
5136 rather than g_warnings.
5138 2006-05-25 Wim Taymans <wim@fluendo.com>
5140 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5141 Initialize variable before using. Fixes #342820.
5143 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5145 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5146 Fix off-by-one bug that would only allow peeks of N-1 bytes
5147 from the start even if the buffer to typefind on contains
5148 in fact N bytes of data (makes vorbis typefinding from a
5149 vorbis identification header buffer work).
5151 * tests/check/Makefile.am:
5152 * tests/check/libs/.cvsignore:
5153 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5154 (gst_typefindhelper_suite), (main), (foobar_typefind),
5156 Add very basic unit test for gst_type_find_helper_for_buffer()
5157 that checks for the problem fixed above.
5159 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5161 * tools/gst-inspect.c: (print_interfaces),
5162 (print_element_properties_info), (print_element_list), (main):
5163 add more translatable strings
5165 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5167 Patch by: Julien Moutte <julien at moutte net>
5169 * docs/gst/gstreamer-sections.txt:
5170 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5172 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5173 (gst_fake_sink_preroll):
5174 * plugins/elements/gstfakesink.h:
5175 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5177 2006-05-23 Wim Taymans <wim@fluendo.com>
5179 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5181 Added _CUSTOM error and success GstFlowReturn that can be
5182 used be elements internally.
5183 Added macro to check for SUCCESS flowreturns.
5184 API: GST_FLOW_CUSTOM_SUCCESS
5185 API: GST_FLOW_CUSTOM_ERROR
5186 API: GST_FLOW_IS_SUCCESS
5188 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5189 Added check for GstFlowReturn sanity.
5191 2006-05-23 Wim Taymans <wim@fluendo.com>
5193 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5195 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5196 (gst_collect_pads_event):
5197 clear/reset segment info in FLUSH_STOP.
5200 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5202 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5203 (gst_collect_pads_check_collected):
5204 Flush queued buffer on _stop(), fixes playing again (#342454)
5206 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5208 * tests/check/gst/gststructure.c: (GST_START_TEST),
5209 (gst_structure_suite):
5210 add a test for a complete structure
5212 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5214 * docs/faq/developing.xml:
5216 * docs/faq/troubleshooting.xml:
5217 * docs/faq/using.xml:
5218 Some minor FAQ updates that won't change the fact that
5219 our FAQ is badly structured, full of information hardly
5220 anyone new to GStreamer needs to know and lacking lots
5221 of information people constantly ask for.
5223 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5225 * gst/gstpad.c: (gst_pad_set_caps):
5226 Short-circuit gst_pad_set_caps if setting the existing
5227 caps pointer again, and avoid printing debug and
5228 reffing/unreffing the caps.
5230 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5231 There's actually no need to set the caps before pushing -
5232 the acceptcaps method will handle it anyway.
5234 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5236 * docs/gst/gstreamer-sections.txt:
5237 * win32/common/libgstreamer.def:
5238 * gst/gstutils.c: (gst_element_seek_simple):
5240 API: add gst_element_seek_simple() (#342238).
5242 2006-05-18 Edward Hervey <edward@fluendo.com>
5244 * gst/gsttypefind.c: (gst_type_find_get_type):
5245 * gst/gsttypefind.h:
5246 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5247 registered for GstTypeFind pointers. This allows wrapping the structure
5248 in bindings (i.e. gst-python).
5250 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5252 * gst/gsttagsetter.c:
5253 Docs additions and fixes (see #339918).
5255 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5257 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5258 The caps intersection algorithm can produce multiple copies of the
5259 caps. Until that is fixed, we need to simplify the result to be
5260 sure whether the allowed caps are fixed or not.
5262 * plugins/elements/gstqueue.c: (gst_queue_init),
5263 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5264 (gst_queue_push_one):
5265 Proxied buffer alloc should not set the caps on the source pad.
5266 When pushing buffers, we always accept the caps change that triggers.
5267 This prevents negotiation errors caused by caps changing mid-stream
5268 and then being refused on our source pad (because upstream is now
5269 refusing those caps).
5271 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5273 * tests/examples/helloworld/helloworld.c: (main):
5274 Must plug audioconvert and audioresample between decoder
5277 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5279 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5280 (load_feature), (load_plugin):
5281 Allow empty strings for some of the plugin fields so we don't
5282 drop valid plugin entries that were written out correctly
5285 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5287 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5288 Use g_remove and g_rename instead of remove and rename that don't
5289 handle utf8 characters. rename was failing for users who had specific
5290 characters in their name then the registry was built at each
5292 * win32/vs6/gst_inspect.dsp:
5293 * win32/vs6/gst_launch.dsp:
5294 * win32/vs6/libgstbase.dsp:
5295 * win32/vs6/libgstcoreelements.dsp:
5296 * win32/vs6/libgstreamer.dsp:
5297 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5298 build of libgstreamer and clean unused libraries in projects link
5301 2006-05-17 Edward Hervey <edward@fluendo.com>
5303 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5304 The queue is not responsible for pushing an EOS when receiving a fatal
5305 flow error. It's up to the real element driving the pipeline to do that.
5307 2006-05-16 Edward Hervey <edward@fluendo.com>
5309 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5310 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5311 buffer returned a fatal error. It should just send an EOS and stop
5313 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5314 when pushing buffers on the queue and will be able to handle the event.
5316 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
5318 * docs/manual/basics-bins.xml:
5319 * docs/manual/basics-init.xml:
5320 Fix typos and minor errors in sample code (#341856).
5322 2006-05-16 Wim Taymans <wim@fluendo.com>
5324 * docs/design/part-qos.txt:
5325 Fix indexes in formulas to make more sense.
5327 2006-05-15 Wim Taymans <wim@fluendo.com>
5329 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5330 Don't report POSITION based on clock time if sync is
5333 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
5336 Add cast to make compiler happy - refcount variable was a gint
5337 in GstObject but is a guint in GObject and g_atomic_int_get()
5340 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
5342 * gst/parse/Makefile.am:
5343 chain commands using &&, which also makes parallel make work
5345 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
5347 * docs/gst/gstreamer-sections.txt:
5353 === release 0.10.6 ===
5355 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
5358 releasing 0.10.6, "Take the cannoli"
5360 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
5362 * tools/gst-launch.c: (print_tag):
5363 Fix use of uninitialized variable in the hypothetical
5364 case that some broken plugin creates a GST_TAG_IMAGE
5365 tag containing a NULL buffer (#341667).
5367 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
5369 * tools/gst-launch.c: (print_tag):
5370 Print something more intelligible for image tags when
5371 using the -t switch (#341556).
5373 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
5378 define GST_MAJORMINOR so we have it available in win32/common/config.h
5379 Possibly remove it from our Makefile.am files later
5380 * win32/common/config.h:
5381 * win32/common/config.h.in:
5382 added GST_MAJORMINOR
5383 * win32/common/gstenumtypes.c: (register_gst_resource_error):
5384 * win32/common/gstversion.h:
5387 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
5390 Update win32 files listing.
5391 * win32/common/gstversion.h:
5392 Add GST_MAJORMINOR definition.
5393 * win32/common/libgstreamer.def:
5394 Add new exported functions.
5396 2006-05-12 Michael Smith <msmith@fluendo.com>
5398 * gst/gstplugin.c: (gst_plugin_load_file):
5399 If an so file has no plugin entry point, unload the module.
5401 2006-05-11 Wim Taymans <wim@fluendo.com>
5403 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5404 (gst_queue_set_property):
5405 Don't forget to signal the _chain or _loop function
5406 when the queue size or thresholds change since that might
5407 cause them to make progres again.
5409 2006-05-11 Stefan Kost <ensonic@users.sf.net>
5411 * gst/gstclock.c: (gst_clock_class_init):
5412 * gst/gstindex.c: (gst_index_class_init):
5413 * gst/gstobject.c: (gst_object_class_init):
5414 * gst/gstpad.c: (gst_pad_class_init):
5415 * gst/gstpipeline.c: (gst_pipeline_class_init):
5416 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5417 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5418 * libs/gst/base/gstbasetransform.c:
5419 (gst_base_transform_class_init):
5420 * libs/gst/net/gstnetclientclock.c:
5421 (gst_net_client_clock_class_init):
5422 * libs/gst/net/gstnettimeprovider.c:
5423 (gst_net_time_provider_class_init):
5424 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5425 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5426 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5427 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5428 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5429 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5430 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5431 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5432 * plugins/elements/gsttee.c: (gst_tee_class_init):
5433 * tests/old/examples/plugins/example.c: (gst_example_class_init):
5434 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5435 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5437 2006-05-11 Wim Taymans <wim@fluendo.com>
5439 * gst/gstbuffer.c: (_gst_buffer_initialize):
5440 Register subbufer along with the buffer type so that
5441 it does not accidentally gets registered from N
5442 different streaming threads in a non threadsafe way.
5444 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5449 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5450 gst_event_ref() and gst_message_ref() functions again
5451 (ugly hack, please do fix if there's a better way besides
5452 overrides.txt, which doesn't seem to work).
5454 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5456 * libs/gst/check/gstcheck.h:
5457 add an assert for setting state to avoid lots of repetitive code
5460 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5462 * gst/gstvalue.c: (gst_value_serialize_flags):
5463 fix a leak if no flags are set
5464 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5467 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
5469 * docs/manual/basics-pads.xml:
5470 Expand a bit on caps and filtered links and update
5471 examples that were still using the no longer existing
5472 gst_pad_link_filtered() (#338206).
5474 2006-05-10 Wim Taymans <wim@fluendo.com>
5476 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5477 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5478 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5479 (gst_collect_pads_stop):
5480 * libs/gst/base/gstcollectpads.h:
5481 No need to call _stop in _finalize.
5482 Iterate the main pad list in _finalize.
5483 Added some more debug.
5484 Free lists and data in the right order.
5485 Also free data whem doing _remove_pad when stopped for
5486 backward compatibility protect ::started with PAD_LOCK as
5489 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5491 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5492 (gst_structure_parse_value):
5494 rename a method so that it actually says what it does better
5496 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
5498 * gst/gstevent.c: (_gst_event_initialize):
5499 * gst/gstformat.c: (_gst_format_initialize):
5500 make sure some essential types used by events are registered
5501 as part of gst_init()
5502 * gst/gstvalue.c: (gst_value_serialize_flags):
5503 if no flags are set, serialize them to a value that represents NONE
5504 so that deserializing them works
5505 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5506 add tests for serialization and deserialization of flags
5508 2006-05-10 Wim Taymans <wim@fluendo.com>
5510 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5511 (gst_collect_pads_collect_range), (gst_collect_pads_available),
5512 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5513 (gst_collect_pads_event), (gst_collect_pads_chain):
5516 Catch and return errors from the collect function
5517 Refuse data on eos pads.
5519 2006-05-10 Edward Hervey <edward@fluendo.com>
5521 * gst/gstinterface.h:
5522 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5523 GInterface type checking.
5524 They were previously using non-defined macros.
5526 2006-05-09 Wim Taymans <wim@fluendo.com>
5528 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5529 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5530 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5531 (gst_collect_pads_start), (gst_collect_pads_stop),
5532 (gst_collect_pads_peek), (gst_collect_pads_pop),
5533 (gst_collect_pads_available), (gst_collect_pads_read),
5534 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5535 (gst_collect_pads_is_collected), (gst_collect_pads_event),
5536 (gst_collect_pads_chain):
5537 * libs/gst/base/gstcollectpads.h:
5538 Clean up the mess that is collectpads, add comments and
5539 FIXMEs where needed.
5540 Maintain a separate pad list so we can add pads while
5541 collecting the other ones. For this we need a new separate
5543 Fix memory leak in finalize.
5544 Refactor some weird code to set/unset pad flushing flags, mark
5546 Don't crash in _available, _read, _flush when we're EOS.
5548 * tests/check/libs/.cvsignore:
5549 Ignore adapter check binary.
5551 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5553 * gst/gstindex.c: (gst_index_resolver_get_type):
5554 * plugins/elements/gstfakesink.c:
5555 (gst_fake_sink_state_error_get_type):
5556 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5557 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
5558 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5559 Const-ify GEnumValue arrays.
5561 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5563 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5564 Add test case for flags + gst_buffer_make_metadata_writable().
5566 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5568 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
5569 gst_buffer_make_metadata_writable() should maintain the
5570 buffer flags (those that make sense at least) (see #340859).
5572 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5574 * tools/gst-inspect.c:
5575 * tools/gst-launch.c:
5576 * tools/gst-typefind.c:
5577 * tools/gst-xmlinspect.c:
5579 Fix up includes: need to include stdlib.h in tools.h for exit().
5581 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
5583 * gst/gsttaglist.c: (_gst_tag_initialize):
5585 API: add GST_TAG_IMAGE tag (#340721).
5587 2006-05-08 Wim Taymans <wim@fluendo.com>
5590 Added some docs for the segment query.
5592 2006-05-08 Wim Taymans <wim@fluendo.com>
5594 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5595 (gst_base_src_loop), (gst_base_src_change_state):
5596 Always push non-flushing serialized events in the streaming
5599 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
5601 * gst/gsterror.c: (_gst_stream_errors_init):
5602 Add a missing error string.
5604 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
5606 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
5607 Add applied_rate to the debug
5609 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5610 Copy applied_rate into the outgoing NEWSEGMENT event
5612 2006-05-08 Wim Taymans <wim@fluendo.com>
5614 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
5616 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5617 (gst_base_sink_change_state):
5618 call ::unlock before taking the PREROLL_LOCK so we can safely
5619 handle elements that lock in ::render.
5622 2006-05-08 Edward Hervey <edward@fluendo.com>
5624 * autogen.sh: (CONFIGURE_DEF_OPT):
5625 Darwin's libtoolize is in fact called glibtoolize.
5626 Adding glibtoolize to the list of accepted names for libtoolize.
5628 2006-05-08 Wim Taymans <wim@fluendo.com>
5630 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5631 Unify error handling, don't post an error message
5632 when a push() returns EOS but perform our normal EOS
5633 handling code. Fixes #340772.
5635 2006-05-08 Wim Taymans <wim@fluendo.com>
5637 * docs/design/part-overview.txt:
5638 Make upsteam/downstream concepts more clear.
5639 Give an example of serialized/non-serialized events.
5641 * docs/design/part-events.txt:
5642 * docs/design/part-streams.txt:
5643 Mention applied_rate.
5645 * docs/design/part-trickmodes.txt:
5646 Mention applied rate, flesh out some more use cases.
5648 * gst/gstevent.c: (gst_event_new_new_segment),
5649 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
5650 (gst_event_parse_new_segment_full), (gst_event_new_tag),
5651 (gst_event_parse_tag), (gst_event_new_buffer_size),
5652 (gst_event_parse_buffer_size), (gst_event_new_qos),
5653 (gst_event_parse_qos), (gst_event_parse_seek),
5654 (gst_event_new_navigation):
5656 Add applied_rate field to NEWSEGMENT event.
5657 API: gst_event_new_new_segment_full()
5658 API: gst_event_parse_new_segment_full()
5660 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
5661 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
5662 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5664 Add applied_rate to GstSegment structure.
5665 Make calculation of stream_time and running_time more correct
5666 wrt rate/applied_rate.
5668 API: GstSegment::applied_rate field
5669 API: gst_segment_set_newsegment_full();
5671 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5672 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
5673 * libs/gst/base/gstbasetransform.c:
5674 (gst_base_transform_sink_eventfunc),
5675 (gst_base_transform_handle_buffer):
5676 Parse and use applied_rate in the GstSegment field.
5678 * tests/check/gst/gstevent.c: (GST_START_TEST):
5679 Add check for applied_rate field.
5681 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5682 (gstsegments_suite):
5683 Add more checks for various GstSegment operations.
5685 2006-05-08 Wim Taymans <wim@fluendo.com>
5687 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5688 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
5689 (gst_base_sink_get_position), (gst_base_sink_change_state):
5690 Store the sync time of the buffer end position separatly in a
5691 new variable eos_rtime so we can properly sync the EOS event.
5693 Fix the docs for gst_base_sink_set_qos_enabled().
5694 Don't set segment start to invalid value when we receive a
5695 non TIME newsegment.
5696 get closer to handling position reporting for negative rates
5699 2006-05-07 Stefan Kost <ensonic@users.sf.net>
5702 Docs about how to print caps for debug purposes.
5704 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
5705 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
5707 2006-05-07 Stefan Kost <ensonic@users.sf.net>
5710 use full enum names and preprend a '%' in docs strings to make recent
5711 gtk-doc turn that into a link
5713 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5715 * docs/manual/basics-bins.xml:
5716 * docs/manual/basics-bus.xml:
5717 * docs/manual/basics-pads.xml:
5718 Some typo fixes, some additions, some clarifications.
5720 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5722 * tools/gst-inspect.c: (main):
5723 * tools/gst-launch.c: (main):
5724 * tools/gst-run.c: (main):
5725 * tools/gst-typefind.c: (main):
5726 * tools/gst-xmlinspect.c: (main):
5727 Use the string passed to g_option_context_new() for
5728 what it's intended for - the program name is already
5731 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5733 * tools/Makefile.am:
5734 * tools/gst-inspect.c: (main):
5735 * tools/gst-launch.c: (main):
5736 * tools/gst-xmlinspect.c: (main):
5738 Add back --version command line option (#340460).
5740 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
5741 Add --version option and use GOption for argument parsing; refactor a
5742 bit; accept directories as arguments and recurse into them; lastly,
5743 print a decent error message when things go wrong.
5745 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
5747 * docs/manual/basics-bins.xml:
5748 Don't mention GstThread (#340611)
5749 * docs/manual/basics-elements.xml:
5750 Update link to GObject tutorial (#340607)
5752 2006-05-05 Wim Taymans <wim@fluendo.com>
5755 * gst/gstminiobject.c:
5756 Add note about refcounting and miniobject/buffer writeability
5757 to docs. Fixes #340604
5759 * gst/gstelementfactory.h:
5760 Added some explanation about @klass.
5762 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
5764 * docs/manual/intro-motivation.xml:
5765 * docs/manual/manual.xml:
5766 Avoid CORBA & Bonobo references (#340598)
5768 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
5770 * docs/manual/basics-bus.xml:
5771 * docs/manual/basics-pads.xml:
5772 Fix up some inaccuracies and omissions (#340609)
5774 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
5776 * gst/gstghostpad.c:
5777 Small typo in docs (#340625)
5779 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5781 * gst/parse/Makefile.am:
5782 Make 'make -j' proof (see #340698).
5784 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
5787 Require GLib-2.8 here as well.
5789 2006-05-05 Wim Taymans <wim@fluendo.com>
5791 * gst/glib-compat.c:
5792 * gst/gst.c: (init_pre):
5793 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
5794 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
5795 (gst_object_dispatch_properties_changed):
5797 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
5798 * gst/gststructure.c: (gst_structure_set_valist):
5799 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5800 Remove pre glib2.8 compatibility, fixes #340508
5802 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
5805 Mention type of tags in doc blurbs.
5807 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
5809 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
5810 (gst_pad_configure_src), (gst_pad_push):
5811 Restore acceptcaps checking behaviour now that good plugins have
5814 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
5816 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
5827 * gst/parse/Makefile.am:
5828 * libs/gst/base/gstadapter.c:
5829 * libs/gst/base/gstbasesrc.c:
5830 * libs/gst/base/gstpushsrc.c:
5831 * libs/gst/base/gsttypefindhelper.c:
5832 * plugins/elements/gstfakesrc.c:
5833 * plugins/elements/gstidentity.c:
5834 Make sure gstprivate.h and/or config.h are
5835 always included first, otherwise some of our
5836 defines (like _FILE_OFFSET_BITS) might be
5837 redefined in the system headers. Fixes build
5838 on opensolaris (#340016).
5840 2006-05-04 Wim Taymans <wim@fluendo.com>
5842 * docs/libs/gstreamer-libs-sections.txt:
5843 API: addition: gst_adapter_take_buffer()
5845 * libs/gst/base/gstadapter.c: (gst_adapter_push),
5846 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
5847 (gst_adapter_available_fast):
5848 * libs/gst/base/gstadapter.h:
5849 Prepare for optimizing the hell out of this hugely inefficient
5851 Added gst_adapter_take_buffer() so we can at least start thinking
5852 about subbuffering and merging.
5853 Added some comments.
5855 * tests/check/Makefile.am:
5856 * tests/check/libs/adapter.c: (GST_START_TEST),
5857 (gst_adapter_suite), (main):
5858 Added GstAdapter check.
5860 2006-05-04 Wim Taymans <wim@fluendo.com>
5862 * docs/design/part-overview.txt:
5863 Fix some typos, add blurb about buffer flags.
5865 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
5867 * docs/libs/gstreamer-libs-sections.txt:
5868 make sure GstBaseTransformClass shows up in the docs
5869 * libs/gst/base/gstbasetransform.c:
5870 * libs/gst/base/gstbasetransform.h:
5871 move docs so gtk-doc picks it up now
5873 2006-05-02 Stefan Kost <ensonic@users.sf.net>
5875 * docs/libs/gstreamer-libs-sections.txt:
5876 add missing symbols to docs
5878 2006-05-02 Stefan Kost <ensonic@users.sf.net>
5880 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5881 back out the newsegment handling change, see #340060 for ongoing
5884 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
5886 * tools/gst-run.c: (get_candidates), (main):
5887 Fix wrong g_file_test() usage (see glib docs for why it doesn't
5888 work); fix typo in error message. Fixes #340079.
5890 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
5892 * common/Makefile.am:
5894 * docs/faq/Makefile.am:
5895 * docs/gst/Makefile.am:
5896 * docs/libs/Makefile.am:
5897 * docs/manual/Makefile.am:
5898 * docs/plugins/Makefile.am:
5899 * docs/pwg/Makefile.am:
5900 * docs/slides/Makefile.am:
5902 * common/upload.mak:
5903 move upload.mak to common
5905 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
5907 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5908 add more asserts on refcounts
5909 do more cleanup at end of tests
5910 fix test leaks showing in FC5
5912 2006-04-29 Stefan Kost <ensonic@users.sf.net>
5914 * plugins/elements/gsttypefindelement.c:
5915 (gst_type_find_element_handle_event):
5916 reverted wrong change and reflowed code to avoid others falling into
5919 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5921 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5922 fix changelog entry about last collectpads change,
5923 add notes about proper fix
5925 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5928 * gst/gstregistry.c: (gst_registry_scan_path_level),
5929 (gst_registry_scan_path):
5930 * gst/gstregistry.h:
5931 only write out registry if it has changed, fixes #338339
5933 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5936 * gst/gstpipeline.c:
5937 * plugins/elements/gstcapsfilter.c:
5938 * plugins/elements/gstfakesink.c:
5939 * plugins/elements/gstfakesrc.c:
5940 * plugins/elements/gstfdsink.c:
5941 * plugins/elements/gstfdsrc.c:
5942 * plugins/elements/gstfilesink.c:
5943 * plugins/elements/gstfilesrc.c:
5944 * plugins/elements/gstidentity.c:
5945 * plugins/elements/gstqueue.c:
5946 * plugins/elements/gsttee.c:
5947 * plugins/elements/gsttypefindelement.c:
5948 (gst_type_find_element_handle_event):
5949 make GstElementDetails const
5951 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5953 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5954 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5955 (gst_collect_pads_is_collected), (gst_collect_pads_event):
5956 more detailed debug and formatting cleanup,
5957 forward newsegments to src-pad (so that e.g. adder not eats them)
5959 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5961 * gst/gstutils.c: (gst_element_link_pads):
5964 2006-04-28 Stefan Kost <ensonic@users.sf.net>
5966 * libs/gst/controller/gstcontroller.c:
5967 (gst_controller_sync_values):
5969 * tests/check/libs/controller.c: (GST_START_TEST),
5970 (gst_controller_suite):
5971 a new test for live value handling
5973 2006-04-28 Wim Taymans <wim@fluendo.com>
5975 * gst/gstutils.c: (push_and_ref):
5976 Added some more docs.
5977 Fix refcount issue whith gst_element_found_tags() helper
5978 function. Fixes #338335
5980 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5981 Added testsuite for gst_element_found_tags().
5983 2006-04-28 Michael Smith <msmith@fluendo.com>
5985 * gst/gstvalue.c: (gst_value_serialize_flags):
5986 Avoid NULL dereference when trying to serialize flags containing
5989 2006-04-28 Michael Smith <msmith@fluendo.com>
5991 * plugins/elements/gsttypefindelement.c:
5992 (gst_type_find_element_handle_event):
5993 If we get EOS before any data is accumulated, don't use
5994 uninitialised local variables.
5996 2006-04-28 Michael Smith <msmith@fluendo.com>
5998 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5999 (gst_dp_event_from_packet):
6000 Fixes in reading/writing events over GDP (not currently used?) -
6001 dereferencing NULL events for unknown/invalid event types, memory
6002 leak, and change g_warning to GST_WARNING.
6004 2006-04-28 Wim Taymans <wim@fluendo.com>
6006 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6007 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6008 (gst_base_sink_get_position), (gst_base_sink_change_state):
6009 When frame dropping is enabled, we should not ignore frames
6011 Update some documentation.
6013 2006-04-28 Wim Taymans <wim@fluendo.com>
6015 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6016 (gst_base_src_send_event), (gst_base_src_change_state):
6017 Documentation updates.
6019 2006-04-28 Wim Taymans <wim@fluendo.com>
6021 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6022 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6023 handle EAGAIN, EINTR and short writes correctly. Also clean
6024 up some error cases, avoid a deadlock on bad file descriptors and
6025 use GST_DEBUG_OBJECT.
6028 2006-04-28 Wim Taymans <wim@fluendo.com>
6030 * gst/gstvalue.c: (gst_value_serialize_buffer),
6031 (gst_value_deserialize_buffer):
6032 Don't try to serialize a GValue with a NULL buffer.
6035 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6036 Added check for serialisation of NULL buffers.
6038 2006-04-28 Wim Taymans <wim@fluendo.com>
6040 * gst/gstminiobject.c: (gst_value_take_mini_object):
6041 Taking a NULL miniobject is valid, fix the case where
6042 we try to unref the NULL miniobject.
6044 2006-04-28 Wim Taymans <wim@fluendo.com>
6046 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6048 * gst/gstbin.c: (gst_bin_handle_message_func):
6050 Don't leak bin refcount when a state recalc is
6051 in progress and we delay another one #339808.
6053 2006-04-28 Wim Taymans <wim@fluendo.com>
6055 * docs/design/part-TODO.txt:
6056 Mention QoS as an ongoing work item.
6058 * docs/design/part-buffering.txt:
6059 New doc about buffering that needs to be fleshed out
6062 * docs/design/part-qos.txt:
6063 More QoS policy for decoders/demuxers/transforms
6065 * docs/design/part-trickmodes.txt:
6068 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6073 === release 0.10.5 ===
6075 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6078 releasing 0.10.5, "Fogo"
6080 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6082 patch by: Wim Taymans
6084 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6085 (gst_pad_configure_src), (gst_pad_push):
6086 * gst/gstpipeline.c: (gst_pipeline_init):
6087 Fix internal data flow errors. Fixes #338711.
6089 2006-04-12 Wim Taymans <wim@fluendo.com>
6091 * tests/check/gst/gstelement.c: (GST_START_TEST):
6092 Don't leak the factory.
6094 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6097 * win32/common/config.h:
6100 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6102 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6103 (gst_controller_unset_all):
6104 Free allocated GstTimedValues when freeing list nodes.
6105 Should fix leaks 'make check-valgrind' complains about.
6107 * win32/common/libgstcontroller.def:
6108 Add gst_controller_unset_all.
6110 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6112 * docs/libs/gstreamer-libs-sections.txt:
6113 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6114 (gst_controller_unset_all):
6115 * libs/gst/controller/gstcontroller.h:
6116 API: Added new method gst_controller_unset_all()
6117 fixed gst_controller_unset()
6118 * tests/check/libs/controller.c: (GST_START_TEST),
6119 (gst_controller_suite):
6120 Added two testcases for new and fixed method
6122 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6124 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6125 MSG_DONTWAIT is not defined on Cygwin, so work
6126 around that (fixes #317048).
6128 2006-04-11 Wim Taymans <wim@fluendo.com>
6130 * gst/gstelementfactory.c: (gst_element_register),
6131 (gst_element_factory_create), (gst_element_factory_make):
6134 Updated docs (Fixes #131079)
6136 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6139 * tests/check/gst/gstelement.c: (GST_START_TEST),
6140 (gst_element_suite):
6141 Added testcase for elementfactory class field.
6143 2006-04-10 Wim Taymans <wim@fluendo.com>
6146 Added some more docs.
6148 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6149 (gst_base_sink_reset_qos):
6150 Calculate more accurate rate values.
6152 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6154 * gst/gst_private.h:
6155 add a new #ifdef to use __declspec(dllimport) only for
6156 other modules and not for gstreamer core
6157 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6158 use gst_guint64_to_gdouble for conversion
6159 * win32/common/libgstreamer.def:
6160 add new exported functions
6161 * win32/vs6/gst_inspect.dsp:
6162 * win32/vs6/gst_launch.dsp:
6163 * win32/vs6/libgstbase.dsp:
6164 * win32/vs6/libgstcontroller.dsp:
6165 * win32/vs6/libgstcoreelements.dsp:
6166 * win32/vs6/libgstdataprotocol.dsp:
6167 * win32/vs6/libgstnet.dsp:
6168 update project files
6170 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6172 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6173 * gst/gstclock.c: (gst_clock_class_init):
6174 * gst/gstelement.c: (gst_element_class_init):
6175 * gst/gstindex.c: (gst_index_class_init):
6176 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6177 * gst/gstobject.c: (gst_object_class_init),
6178 (gst_signal_object_class_init):
6179 * gst/gstpad.c: (gst_pad_class_init):
6180 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6181 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6182 * gst/gstregistry.c: (gst_registry_class_init):
6183 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6184 * gst/gsttask.c: (gst_task_class_init):
6185 * gst/gstxml.c: (gst_xml_class_init):
6186 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6187 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6188 (gst_base_src_loop):
6189 * libs/gst/controller/gstcontroller.c:/
6190 (_gst_controller_class_init):
6191 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6192 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6193 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6194 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6195 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6196 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6198 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6200 * gst/gstpad.c: (gst_pad_link):
6201 Must set peer pads before calling the link function, otherwise
6202 a task started from a link function might get a flow-not-linked
6203 result when trying to push because the other thread where the
6204 linking happens hasn't had a chance to set the peers yet. This
6205 might happen for example when a queue gets linked to a downstream
6206 element, as queue starts a streaming task when its source pad
6207 gets linked. Happens in real life when playing back flac/musepack
6208 files in playbin (#332390).
6210 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6214 * libs/gst/base/gstadapter.h:
6215 * libs/gst/base/gstbasesink.h:
6216 * libs/gst/base/gstbasesrc.h:
6217 * libs/gst/base/gstbasetransform.h:
6218 * libs/gst/base/gstcollectpads.h:
6219 * libs/gst/base/gstpushsrc.h:
6220 Fix broken GObject macros
6222 2006-04-07 Wim Taymans <wim@fluendo.com>
6224 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6225 Initialize start and stop times, thanks valgrind.
6227 2006-04-07 Wim Taymans <wim@fluendo.com>
6229 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6230 Be a bit nicer to badly behaving upstream elements that expect
6231 us to deal with non TIME segments and timestamps (such as fakesrc
6234 2006-04-07 Wim Taymans <wim@fluendo.com>
6237 Small documentation clarification about the signal watch.
6239 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6240 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6241 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6242 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6243 (gst_base_sink_get_position_last),
6244 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6245 Convert and store timestamps in stream time and running time, the
6246 raw timestamps are not useful, also document this better.
6247 Use different window sizes for good and bad QoS observations so
6248 we react to badness a little quicker.
6249 Keep track of the amount of rendered and dropped buffers.
6250 Send QoS timestamps in running time.
6252 * libs/gst/base/gstbasetransform.c:
6253 (gst_base_transform_sink_eventfunc),
6254 (gst_base_transform_handle_buffer):
6255 Compare QoS timestamps against running time.
6257 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6262 2006-04-06 Michael Smith <msmith@fluendo.com>
6264 * gst/gstpad.c: (gst_pad_set_property):
6265 Use g_value_get_object() instead of g_value_dup_gst_object(),
6266 to avoid double-reffing the pad template (which we then sink,
6267 so this worked previously if (and only if) the pad template
6270 * gst/gstpadtemplate.c: (gst_pad_template_init),
6271 (gst_pad_template_pad_created):
6272 Never return floating references to pad templates, create
6273 them as initially-sunken.
6275 Document an extra function (and make this stop sinking our
6276 pad template, since that is now guaranteed to do nothing,
6277 since we created it sunken).
6279 * gst/gstghostpad.c:
6282 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6284 * gst/gstinfo.c: (__gst_in_valgrind):
6287 * plugins/elements/gsttypefindelement.c:
6288 (gst_type_find_element_chain):
6289 Don't leak buffer caps.
6291 2006-04-06 Michael Smith <msmith@fluendo.com>
6293 * gst/parse/grammar.y:
6294 Fix a leak in parse-launch for any source-or-sink named element
6297 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6298 Unref the pipeline if it exists after we've failed parsing.
6300 2006-04-05 Michael Smith <msmith@fluendo.com>
6302 * gst/gstpipeline.c: (gst_pipeline_init):
6303 When we create a pipeline bus, initially create it in flushing mode.
6304 Fixes leaks in at least one test, and makes a new pipeline work the
6305 same as one that has gone to READY and then back to NULL.
6310 2006-04-05 Michael Smith <msmith@fluendo.com>
6312 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6313 Unref a pad we reffed.
6314 * tests/check/gst/gstutils.c: (GST_START_TEST):
6317 2006-04-05 Michael Smith <msmith@fluendo.com>
6319 * gst/gstquery.c: (gst_query_set_formats),
6320 (gst_query_set_formatsv):
6321 Fix leaking GValues in queries, as shown by valgrind/testsuite.
6323 2006-04-05 Michael Smith <msmith@fluendo.com>
6325 * tests/check/generic/sinks.c: (GST_START_TEST):
6326 Fix a variety of memleaks in sinks check, which are only sometimes
6327 shown by running the tests under valgrind (weird?).
6329 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
6331 * docs/version.entities.in:
6332 Fix the substituted entity name after thomas' changes on the
6335 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6337 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6340 2006-04-05 Andy Wingo <wingo@pobox.com>
6342 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6344 * libs/gst/base/gstbasetransform.c
6345 (gst_base_transform_sink_eventfunc): When resetting our segment on
6346 FLUSH_STOP, also update the flag saying we haven't seen a
6349 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6351 Patch by: Paolo Borelli <pborelli at katamail dot com>
6353 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6354 (gst_plugin_check_license):
6355 minor clean-ups: G_DEFINE_TYPE already takes care of the
6356 parent_class stuff, no need to do it twice. Mark array of
6357 license strings as constant. (#337103)
6359 2006-04-04 Michael Smith <msmith@fluendo.com>
6361 * tools/gst-inspect.c: (print_element_list):
6362 Free the right plugin list; fixes a memory leak.
6364 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6366 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6368 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6369 Don't error out on empty buffers (#336945).
6371 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
6373 * docs/libs/gstreamer-libs-sections.txt:
6375 * libs/gst/base/gstbasesink.c:
6376 * libs/gst/base/gstbasesink.h:
6377 * libs/gst/base/gstbasesrc.c:
6378 * libs/gst/base/gstbasesrc.h:
6379 Documentation updates. Make BaseSink and BaseSrc docs contain the
6380 class structure so that people can actually see the prototypes for
6381 virtual functions they're supposed to be overriding.
6383 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
6385 * plugins/elements/gsttypefindelement.c:
6386 (gst_type_find_element_chain):
6387 More debug info; when skipping typefinding, send cached
6388 events in all cases.
6390 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
6393 use new AS_VERSION and AS_NANO macros
6394 * gst/gst-i18n-lib.h:
6397 * gst/gstversion.h.in:
6398 * win32/common/config.h:
6399 * win32/common/config.h.in:
6402 2006-03-31 Michael Smith <msmith@fluendo.com>
6404 * plugins/elements/gsttypefindelement.c:
6405 (gst_type_find_element_chain):
6406 Do not typefind content if the buffers already have caps.
6407 Neccesary for icydemux (#333657), and the right thing to do anyway.
6409 2006-03-30 Wim Taymans <wim@fluendo.com>
6411 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6412 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6413 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6414 (gst_base_sink_record_qos_observation),
6415 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6416 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6417 (gst_base_sink_change_state):
6418 More QoS measurements as described in the design doc.
6419 Get rid of ringbuffer with observations, running average is
6420 more simple and equally good.
6421 Calculates valid proportion now.
6422 Added beginning of flood measurement.
6424 2006-03-29 Wim Taymans <wim@fluendo.com>
6426 * docs/design/part-qos.txt:
6428 Small documentation updates and additions.
6430 2006-03-29 Wim Taymans <wim@fluendo.com>
6432 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6433 (gst_base_src_send_event), (gst_base_src_loop),
6434 (gst_base_src_change_state):
6435 Perform the EOS logic when we reach the segment stop position.
6436 Fix compilation on gcc4.1
6438 2006-03-29 Wim Taymans <wim@fluendo.com>
6440 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6442 * plugins/elements/gstqueue.c: (gst_queue_init),
6443 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6444 (gst_queue_set_property):
6445 * plugins/elements/gstqueue.h:
6446 In queue, when EOS is received, if minimum threshold > max_size -
6447 current_level, there is chance that queue blocks forever in conditional
6448 item del wait. This is because the queue is not emptied completely due
6449 to minimum threshold. Here is another approach. Instead of setting
6450 cur_levels to max in EOS, just zero all minimum threshold levels. This
6451 should make sure that queue gives out all data. When going to READY
6452 (stop) state, just reset the original minimum threshold levels.
6455 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
6457 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6458 (gst_type_find_element_handle_event),
6459 (gst_type_find_element_send_cached_events),
6460 (gst_type_find_element_change_state):
6461 * plugins/elements/gsttypefindelement.h:
6462 When typefinding is done in push mode, we should cache
6463 events we receive during typefinding instead of just
6464 dropping them (e.g. newsegment, custom events from
6465 dvdreadsrc etc.) and then send them out once we've
6466 determined the type of the stream (and decodebin
6467 has had a chance to plug in a decoder/demuxer).
6469 2006-03-27 Wim Taymans <wim@fluendo.com>
6471 * docs/design/part-qos.txt:
6474 2006-03-27 Wim Taymans <wim@fluendo.com>
6476 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6478 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6479 (gst_base_src_send_event), (gst_base_src_change_state):
6480 Handle element seek correctly when we are streaming.
6483 2006-03-24 Michael Smith <msmith@fluendo.com>
6485 * docs/faq/gst-uninstalled:
6486 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6487 allow you to correctly run intalled applications built against old
6488 core, using plugins that require updated core (e.g. running
6489 installed totem against a full uninstalled gstreamer stack)
6491 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6493 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6496 2006-03-24 Wim Taymans <wim@fluendo.com>
6498 * docs/gst/gstreamer-sections.txt:
6499 Rearrange the order of the methods so that related methods
6500 are grouped together in sections.
6502 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6505 Little clarification in the docs
6507 2006-03-24 Stefan Kost <ensonic@users.sf.net>
6511 * plugins/elements/gstidentity.c:
6512 * plugins/elements/gstqueue.c:
6513 * plugins/elements/gsttee.c:
6514 * plugins/elements/gsttypefindelement.c:
6515 GST_ELEMENT_DETAILS formatting
6517 2006-03-24 Wim Taymans <wim@fluendo.com>
6519 * libs/gst/base/gstbasesink.h:
6520 Only add fields, not insert or we break ABI.
6522 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6524 * win32/common/libgstbase.def:
6525 * win32/common/libgstreamer.def:
6526 Update, add recently added functions.
6528 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6530 * docs/gst/gstreamer-sections.txt:
6531 * gst/gstutils.c: (gst_pad_query_peer_position),
6532 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6534 API: add some new utility functions:
6535 - gst_pad_query_peer_position()
6536 - gst_pad_query_peer_duration()
6537 - gst_pad_query_peer_convert()
6539 2006-03-23 Wim Taymans <wim@fluendo.com>
6541 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6542 (gst_base_sink_init), (gst_base_sink_finalize),
6543 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6544 (gst_base_sink_set_property), (gst_base_sink_get_property),
6545 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6546 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6547 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6548 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6549 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6550 (gst_base_sink_preroll_object), (gst_base_sink_event),
6551 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
6552 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6553 (gst_base_sink_query), (gst_base_sink_change_state):
6554 Decouple max-lateness and the fact that QoS messages are generated
6555 with a new property (qos).
6556 added API: GstBaseSink::async_play()
6557 Add vmethod so subclasses can be notified of ASYNC playing
6559 Collect timestamp start and stop to report better current
6560 position in EOS/PLAYING/PAUSED/READY/NULL.
6561 Refactor QoS/frame dropping and other measurements.
6562 API: GstBaseSrc::qos
6565 * libs/gst/base/gstbasesink.h:
6566 Added Private struct.
6567 API: gst_base_sink_set_qos_enabled()
6568 API: gst_base_sink_is_qos_enabled()
6570 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
6572 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6573 If compiling against GLib-2.8 or newer, try to read the
6574 registry file using GMappedFile first before falling back
6575 to fopen() + fread() (#332151).
6577 2006-03-22 Wim Taymans <wim@fluendo.com>
6579 * gst/gstinfo.c: (gst_debug_set_active),
6580 (gst_debug_category_set_threshold):
6581 Disable debugging unless explicitly activated.
6584 2006-03-22 Wim Taymans <wim@fluendo.com>
6586 * gst/gstelement.c: (gst_element_set_locked_state),
6587 (gst_element_dispose):
6588 Cleanup the error case.
6590 * gst/gstobject.c: (gst_object_dispose):
6591 print a critical when some object was disposed with
6592 a parent, also revive the object since it might
6595 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
6597 * tools/gst-launch.1.in:
6600 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
6603 * tests/check/Makefile.am:
6604 disable some tests when we don't have a registry
6605 * tests/check/gst/gstutils.c: (gst_utils_suite):
6606 don't build the part that needs parsing
6608 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
6611 * tests/examples/Makefile.am:
6612 fix --disable-parse build
6614 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6616 * tools/gst-feedback.1.in:
6617 Fix typo: s/feeback/feedback/ (#133494).
6619 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6621 * tools/Makefile.am:
6622 * tools/gst-launch.1.in:
6623 Add FILES section and correct entry about GST_REGISTRY_PATH
6624 environment variable (#133495; #133494).
6626 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6628 * tools/Makefile.am:
6629 * tools/gst-md5sum.1.in:
6630 * tools/gst-md5sum.c:
6631 Remove gst-md5sum and man page (the md5sink element
6632 required was removed ages ago)
6634 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6636 * gst/gststructure.c: (gst_structure_id_set_value):
6637 Make sure that string fields in structures/taglists
6638 contain valid UTF-8 - we don't want to pass rubbish to
6639 applications because of a buggy plugin (cp. #334167).
6641 2006-03-21 Edward Hervey <edward@fluendo.com>
6643 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6644 (gst_bin_handle_message_func):
6645 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
6646 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
6647 (gst_element_set_bus_func):
6648 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
6649 * gst/gstminiobject.c: (gst_value_set_mini_object),
6650 (gst_value_take_mini_object):
6651 * gst/gstpad.c: (gst_pad_set_pad_template):
6652 * gst/gstpipeline.c: (gst_pipeline_dispose),
6653 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
6654 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
6655 (gst_collect_pads_chain):
6656 * libs/gst/net/gstnettimeprovider.c:
6657 (gst_net_time_provider_set_property):
6658 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
6659 It's in fact all issues with gst_*object_replace().
6661 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
6663 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
6665 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6666 * pkgconfig/gstreamer-check.pc.in:
6667 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
6669 2006-03-21 Edward Hervey <edward@fluendo.com>
6674 gst_[buffer|event|message]_ref() macros are replaced by a static
6675 inline functions because gcc-4.1 will about if the return value
6677 * tests/check/gst/gstevent.c: (event_probe):
6678 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
6680 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
6683 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
6684 the type' case. (Closes: #335195 for now). In the future, when we
6685 depend on GLib 2.10, we could also intern the type name using
6686 g_intern_static_string()
6688 2006-03-20 Wim Taymans <wim@fluendo.com>
6690 * gst/gstbin.c: (gst_bin_handle_message_func),
6691 (bin_query_max_init), (bin_query_position_fold),
6692 (bin_query_position_done), (gst_bin_query):
6693 Position query should also take max of all streams.
6695 2006-03-20 Wim Taymans <wim@fluendo.com>
6697 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6698 (gst_fake_src_finalize):
6699 Fix leaks in fakesrc.
6701 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6702 Fix leaks in the testcase.
6704 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
6706 * gst/gst_private.h:
6707 add win32 specific import decoration(__declspec(dllimport))
6708 for all extern GstDebugCategory * variables
6709 * win32/common/libgstbase.def:
6710 * win32/common/libgstcontroller.def:
6711 * win32/common/libgstreamer.def:
6712 Add some exports, remove empty lines
6713 * win32/common/libgstdataprotocol.def:
6714 * win32/common/libgstdataprotocol.dsp:
6715 * win32/common/libgstnet.def:
6716 * win32/common/libgstnet.dsp:
6717 new project files and exportation files added
6719 2006-03-19 Wim Taymans <wim@fluendo.com>
6721 * tests/check/libs/basesrc.c: (eos_event_counter):
6722 Use proper return value for probe.
6724 2006-03-17 Wim Taymans <wim@fluendo.com>
6726 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
6728 Don't leak buffers, caps and pads on negotiation errors.
6730 2006-03-16 Stefan Kost <ensonic@users.sf.net>
6733 * docs/faq/dependencies.xml:
6734 * docs/faq/developing.xml:
6736 * docs/faq/general.xml:
6737 * docs/faq/getting.xml:
6738 * docs/faq/legal.xml:
6739 * docs/faq/troubleshooting.xml:
6740 * docs/faq/using.xml:
6741 Faq review and update.
6743 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
6745 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
6747 Don't pound the cpu to pieces by checking get_caps when accept_caps
6748 is called with the same caps as the pad already has.
6749 Use GST_DEBUG_OBJECT when outputting caps change information.
6751 2006-03-15 Wim Taymans <wim@fluendo.com>
6753 * gst/gstclock.c: (gst_clock_class_init):
6756 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
6761 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
6762 (gst_pad_accept_caps), (gst_pad_configure_sink),
6763 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
6764 Make the default acceptcaps behaviour be to check the requested
6765 caps against the gst_pad_get_caps output.
6767 Ensure that gst_pad_accept_caps is used to check caps when a pad
6768 doesn't have a setcaps function, so that pads automatically refuse
6769 caps that they don't allow in their pad template. (Fixes #332986)
6771 When a buffer with attached caps is pushed, ensure that the source
6772 pad receives those caps even if the element didn't call
6773 gst_pad_set_caps first.
6775 2006-03-15 Wim Taymans <wim@fluendo.com>
6777 * libs/gst/base/gstadapter.c:
6780 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
6782 * win32/common/libgstbase.def:
6783 * win32/common/libgstcontroller.def:
6784 * win32/common/libgstreamer.def:
6785 Add a whole bunch of missing functions (#334434).
6787 2006-03-14 Wim Taymans <wim@fluendo.com>
6789 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6790 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
6791 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
6792 Better debug info when we receive a segment event.
6793 Reorganize a bit so we can pass the get_times() results around.
6794 Use the segment format when calculating the running time.
6795 Don't do QoS is sync is disabled or we have no clock or the
6796 element does not want us to sync to the clock.
6797 Don't drop buffers if QoS is disabled for now.
6799 2006-03-14 Wim Taymans <wim@fluendo.com>
6801 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
6802 Marked the stats property as unimplemented so people don't get
6804 Add debug message when regression goes wrong.
6805 Added some more docs.
6807 2006-03-14 Wim Taymans <wim@fluendo.com>
6809 * gst/gstsegment.c: (gst_segment_to_stream_time):
6810 Return correct return type in case of errors.
6812 2006-03-14 Wim Taymans <wim@fluendo.com>
6814 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
6815 Don't segfault on invalid formats.
6817 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
6819 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6820 Can't use gst_segment_to_running_time() when the segment
6821 is not in GST_TIME_FORMAT (like with filesink, for example).
6822 Stops flac encoding pipelines from spewing critical warnings
6825 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
6827 * gst/gstpipeline.c: (gst_pipeline_class_init):
6828 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
6830 * plugins/elements/gsttypefindelement.c:
6831 (gst_type_find_element_handle_event):
6832 Don't try to typefind empty streams.
6834 2006-03-14 Wim Taymans <wim@fluendo.com>
6836 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
6837 (gst_base_sink_do_qos):
6838 Separate QoS calculation.
6839 Only drop buffers when lateness is bigger than the
6840 duration of the buffer.
6842 2006-03-13 Wim Taymans <wim@fluendo.com>
6844 * gst/gstpipeline.c: (gst_pipeline_set_property),
6845 (gst_pipeline_get_property), (do_pipeline_seek),
6846 (gst_pipeline_change_state), (gst_pipeline_set_delay),
6847 (gst_pipeline_get_delay):
6848 Don't deadlock when reading properties.
6850 2006-03-13 Wim Taymans <wim@fluendo.com>
6852 * libs/gst/base/gstbasetransform.c:
6853 (gst_base_transform_class_init), (gst_base_transform_init),
6854 (gst_base_transform_sink_event),
6855 (gst_base_transform_sink_eventfunc),
6856 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
6857 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6858 (gst_base_transform_set_property),
6859 (gst_base_transform_get_property),
6860 (gst_base_transform_change_state), (gst_base_transform_update_qos),
6861 (gst_base_transform_set_qos_enabled),
6862 (gst_base_transform_is_qos_enabled):
6863 * libs/gst/base/gstbasetransform.h:
6864 Make basetransform virtual method for src events too.
6865 Handle QOS in basetransform.
6866 API: gst_base_transform_update_qos()
6867 API: gst_base_transform_set_qos_enabled()
6868 API: gst_base_transform_is_qos_enabled()
6870 2006-03-13 Wim Taymans <wim@fluendo.com>
6872 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6873 (gst_base_sink_do_sync):
6875 Use QOS debug category.
6877 2006-03-13 Wim Taymans <wim@fluendo.com>
6879 * plugins/elements/gstqueue.c:
6880 Very small doc update.
6882 2006-03-13 Wim Taymans <wim@fluendo.com>
6884 * gst/gst_private.h:
6885 * gst/gstinfo.c: (_gst_debug_init):
6886 Added QOS debug category
6888 2006-03-13 Wim Taymans <wim@fluendo.com>
6890 * docs/gst/gstreamer-sections.txt:
6891 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
6893 * gst/gstbus.c: (gst_bus_class_init):
6896 * gst/gstelement.c: (gst_element_set_locked_state):
6898 Documentation updates.
6900 * gst/gstpipeline.c: (gst_pipeline_get_type),
6901 (gst_pipeline_class_init), (gst_pipeline_init),
6902 (gst_pipeline_dispose), (gst_pipeline_set_property),
6903 (gst_pipeline_get_property), (do_pipeline_seek),
6904 (gst_pipeline_send_event), (gst_pipeline_change_state),
6905 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
6906 (gst_pipeline_get_delay):
6907 * gst/gstpipeline.h:
6908 Added methods for setting the delay.
6909 API: gst_pipeline_set_delay()
6910 API: gst_pipeline_get_delay()
6911 Add pipeline debug category
6914 Don't reset stream time when seek failed.
6916 2006-03-13 Wim Taymans <wim@fluendo.com>
6918 * docs/design/draft-klass.txt:
6919 * docs/design/part-clocks.txt:
6920 * docs/design/part-events.txt:
6921 * docs/design/part-gstbin.txt:
6922 * docs/design/part-gstpipeline.txt:
6923 * docs/design/part-messages.txt:
6924 * docs/design/part-negotiation.txt:
6925 * docs/design/part-overview.txt:
6926 * docs/design/part-preroll.txt:
6927 * docs/design/part-seeking.txt:
6928 * docs/design/part-states.txt:
6929 * docs/design/part-streams.txt:
6930 Documentation updates.
6932 2006-03-12 Julien MOUTTE <julien@moutte.net>
6934 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
6935 us to leak strings...
6937 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
6939 * libs/gst/net/gstnettimeprovider.c:
6941 * win32/common/config.h:
6944 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
6946 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
6949 Don't check for libgnomeui (leftover from old examples
6950 that aren't built or disted any longer) (#334303).
6952 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
6954 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
6955 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6956 Emit RESOURCE_NO_SPACE_LEFT error here as well when
6957 there's no space left on the device.
6959 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
6962 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
6963 to cast the input to GstClockTime before comparing with
6964 another GstClockTime value.
6966 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
6971 === release 0.10.4 ===
6973 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
6976 releasing 0.10.4, "Light"
6978 2006-03-10 Michael Smith <msmith@fluendo.com>
6980 * libs/gst/dataprotocol/dataprotocol.c:
6981 Fix docs for dataprocotol to not get the return types completely
6982 wrong for a few functions.
6984 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
6986 * docs/gst/gstreamer-sections.txt:
6987 * gst/gstpipeline.c: (gst_pipeline_class_init),
6988 (gst_pipeline_init), (gst_pipeline_set_property),
6989 (gst_pipeline_get_property), (gst_pipeline_change_state),
6990 (gst_pipeline_set_auto_flush_bus),
6991 (gst_pipeline_get_auto_flush_bus):
6992 * gst/gstpipeline.h:
6993 Add new API: gst_pipeline_set_auto_flush_bus() and
6994 gst_pipeline_get_auto_flush_bus() to disable automatic
6995 flushing of the pipeline's GstBus when going from READY
6996 to NULL state (#332045).
6998 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7000 * docs/gst/gstreamer-sections.txt:
7001 * gst/gsturi.c: (gst_uri_has_protocol):
7003 Add new API: gst_uri_has_protocol() (#333779).
7005 2006-03-09 Wim Taymans <wim@fluendo.com>
7007 * gst/gstclock.c: (gst_clock_entry_new),
7008 (gst_clock_id_compare_func), (gst_clock_id_wait),
7009 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7010 (gst_clock_init), (gst_clock_get_internal_time),
7011 (gst_clock_set_master), (do_linear_regression),
7012 (gst_clock_add_observation), (gst_clock_set_property):
7016 Fix a possible segfault when the window-size is made smaller.
7017 Calculate jitter before performing the clock wait. Ideally
7018 the clock implementation should calculate jitter but we need
7019 API breakage for that.
7021 * gst/gstsystemclock.c: (gst_system_clock_init):
7024 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7025 Remove leftover else
7027 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7028 (gst_systemclock_suite):
7029 Added check to test GST_CLOCK_DIFF.
7031 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7033 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7034 (gst_type_find_helper_get_range):
7035 If we are provided with the size, we should implement
7036 GstTypeFind::get_length, so that typefind functions who
7037 want to can actually peek at the middle of a file.
7039 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7041 * docs/manual/advanced-dataaccess.xml:
7042 Add some very very basic error checking.
7044 * docs/pwg/appendix-checklist.xml:
7045 Some updates to the list of things to check when writing an element.
7047 2006-03-08 Wim Taymans <wim@fluendo.com>
7049 * docs/design/part-element-transform.txt:
7050 Added some docs about the design of tranform elements.
7052 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7053 (gst_base_src_loop), (gst_base_src_change_state):
7054 Mark buffers with the DISCONT flag.
7056 2006-03-08 Michael Smith <msmith@fluendo.com>
7058 * gst/gstregistry.h:
7059 * gst/gstregistryxml.c: (gst_registry_save),
7060 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7061 (gst_registry_xml_save_pad_template),
7062 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7063 (gst_registry_xml_write_cache):
7064 Rewrite registry-saving to avoid race conditions and check for
7067 2006-03-08 Wim Taymans <wim@fluendo.com>
7069 * libs/gst/base/gstbasetransform.c:
7070 (gst_base_transform_transform_caps),
7071 (gst_base_transform_transform_size),
7072 (gst_base_transform_prepare_output_buffer),
7073 (gst_base_transform_get_unit_size),
7074 (gst_base_transform_buffer_alloc),
7075 (gst_base_transform_handle_buffer),
7076 (gst_base_transform_change_state):
7077 Cleanups, separate normal flow from errors, add sensible
7079 Don't try to renegotiate when allocating an output buffer.
7080 Also copy DISCONT buffer flag when copying a buffer.
7081 Reset the transform after we finish streaming, not during.
7083 2006-03-08 Wim Taymans <wim@fluendo.com>
7085 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7086 Use last buffer timestamp in qos message.
7088 2006-03-07 Wim Taymans <wim@fluendo.com>
7090 Patch by: Christophe Fergeau
7092 * docs/pwg/advanced-tagging.xml:
7093 * docs/pwg/building-pads.xml:
7096 2006-03-07 Wim Taymans <wim@fluendo.com>
7098 * docs/libs/gstreamer-libs-sections.txt:
7099 Added basesink new methods.
7103 Docs updates. Flesh out the QoS docs.
7105 * libs/gst/base/gstadapter.c:
7106 Small doc clarification about ownership and flushing.
7108 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7109 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7110 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7111 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7112 * libs/gst/base/gstbasesink.h:
7114 Added new methods to allow subclass to control max-lateness
7116 Generate very basic QoS events based on last sync observation.
7117 Updated docs, fix typo, added some QoS blurb.
7119 * libs/gst/base/gstbasesrc.c:
7120 Remove obsolete _get_state() calls from docs.
7122 2006-03-07 Wim Taymans <wim@fluendo.com>
7124 * docs/libs/gstreamer-libs-sections.txt:
7125 * libs/gst/base/gstbasetransform.h:
7126 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7127 Fix docs for GstBaseSrc.
7129 2006-03-07 Wim Taymans <wim@fluendo.com>
7131 * docs/gst/gstreamer-sections.txt:
7134 * libs/gst/base/gstbasetransform.h:
7135 Small documentation fixes.
7137 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7140 Document thread-unsafety of gst_value_register_foo_func()
7141 when used at the same time as gst_value_foo() (#322628).
7143 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7145 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7146 (gst_push_src_check_get_range):
7147 Push sources don't support pull mode by default.
7149 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7151 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7152 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7153 (gst_base_src_default_check_get_range):
7154 * libs/gst/base/gstbasesrc.h:
7155 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7156 provide default implementation, and rename
7157 gst_base_src_check_get_range() to
7158 gst_base_src_pad_check_get_range() for clarity.
7160 2006-03-06 Wim Taymans <wim@fluendo.com>
7162 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7163 Make property overridable.
7165 2006-03-06 Wim Taymans <wim@fluendo.com>
7167 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7168 (gst_base_sink_init), (gst_base_sink_set_property),
7169 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7170 * libs/gst/base/gstbasesink.h:
7171 API addition: Make max-lateness a property.
7173 2006-03-06 Wim Taymans <wim@fluendo.com>
7175 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7176 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7177 Don't ever draw a frame that is >10ms late.
7179 2006-03-06 Michael Smith <msmith@fluendo.com>
7181 * gst/gstmessage.c: (_gst_message_copy):
7182 When copying a message, set the parent_refcount of the enclosed
7183 structure to point at the copy, not the original message.
7185 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7187 Patch by: Christophe Fergeau
7190 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7191 usable in c++ code (#333417)
7193 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7196 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7198 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7200 * libs/gst/base/gstbasetransform.c:
7201 (gst_base_transform_transform_caps):
7202 Make sure caps are writable before passing them to
7205 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7208 Fix some minor docs errors.
7210 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7212 Patch by: Ross Burton <ross at burtonini dot com>
7214 * gst/gsterror.c: (_gst_resource_errors_init):
7216 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7218 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7221 Add a check and output a g_warning when GStreamer is built
7222 against GLib 2.6 but running against 2.8 or higher, and vice
7223 versa. (Closes: #323542)
7225 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7227 * gst/parse/parse.l:
7228 Commit patch for parse_launch syntax from #331255. Removes
7229 support for quoted strings and mimetypes when writing filtered
7230 caps. See the bug report for more details - I'm pretty sure this
7231 obscure feature is not in use by _anyone_ anywhere.
7233 With this simple change, the size of the gstreamer.so here
7234 drops from 2193KB to 1565KB.
7236 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7238 * plugins/elements/gsttypefindelement.h:
7239 * plugins/elements/gsttypefindelement.c:
7240 (gst_type_find_element_src_event), (start_typefinding),
7241 (stop_typefinding), (gst_type_find_element_handle_event),
7242 (gst_type_find_element_chain),
7243 (gst_type_find_element_chain_do_typefinding):
7244 Use gst_type_find_helper_for_buffer() for chain-based
7247 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7249 * plugins/elements/gsttypefindelement.c:
7250 (gst_type_find_element_class_init),
7251 (gst_type_find_element_set_property),
7252 (gst_type_find_element_get_property):
7253 Deprecate "maximum" property (not only was it only taken into
7254 account for typefinding in push-mode anyway, it also was never
7255 actually possible to set it in the first place because the
7256 property was registered with the numeric property ID for the
7257 "minimum" property). Register "maximum" property correctly,
7258 for the sake of future copy'n'pasters. Remove some cruft
7259 from property get/set functions.
7261 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7263 * plugins/elements/gsttypefindelement.c:
7264 (gst_type_find_element_activate):
7265 Use gst_type_find_helper_get_range() here, so we
7266 can honour the "minimum" property and also emit
7267 the signal with the correct probability of the found caps.
7269 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7271 * docs/libs/gstreamer-libs-sections.txt:
7272 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7273 (helper_find_suggest), (gst_type_find_helper_get_range),
7274 (gst_type_find_helper):
7275 * libs/gst/base/gsttypefindhelper.h:
7276 New API: gst_type_find_helper_get_range() (#333042).
7278 2006-03-02 Michael Smith <msmith@fluendo.com>
7280 * gst/gstregistryxml.c: (load_feature):
7281 Asserting on a failure to read part of the registry is Not Cool.
7282 Just log a warning and return NULL (which is already handled)
7284 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7286 * win32/common/libgstbase.def:
7287 added export of gst_type_find_helper_for_buffer
7288 * win32/common/libgstbase.def:
7289 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7290 gst_ghost_pad_get_target
7292 2006-02-28 Wim Taymans <wim@fluendo.com>
7294 * docs/design/draft-klass.txt:
7296 Added Connector to mark elements that are only used to
7297 allow pipeline connections.
7298 Moved Debug to extra feature since most of them are
7299 functionally something else.
7301 2006-02-28 Wim Taymans <wim@fluendo.com>
7303 * docs/design/draft-klass.txt:
7304 Some updates and clarifications.
7306 2006-02-28 Wim Taymans <wim@fluendo.com>
7308 * docs/design/draft-klass.txt:
7309 Proposal for klass field values.
7311 * docs/design/part-streams.txt:
7312 Start of a doc describing stream anatomy.
7314 2006-02-28 Wim Taymans <wim@fluendo.com>
7316 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7317 Help the compiler a bit with type registration.
7318 Use existing forward cod path instead of duplicating it when
7321 * gst/gstbus.c: (gst_bus_get_type):
7322 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7323 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7324 * gst/gstclock.c: (gst_clock_get_type):
7325 * gst/gstelement.c: (gst_element_get_type),
7326 * gst/gstelementfactory.c: (gst_element_factory_get_type):
7327 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7328 * gst/gstminiobject.c: (gst_mini_object_get_type):
7329 * gst/gstpad.c: (gst_pad_get_type):
7330 * gst/gstsegment.c: (gst_segment_get_type):
7331 * gst/gststructure.c: (gst_structure_get_type):
7332 * gst/gstsystemclock.c: (gst_system_clock_get_type):
7333 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7335 Help compiler with type registration.
7337 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7340 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7342 * plugins/elements/gsttypefindelement.c:
7343 (gst_type_find_element_handle_event):
7344 When we get an EOS event and have not found a type yet
7345 (most likely because we had not yet accumulated
7346 TYPE_FIND_MIN_SIZE of data yet), try to determine the
7347 type given the data we have so far. Fixes typefinding
7348 for very short streams again, most notably quicktime
7349 redirections as used on Apple's trailer site (#331701).
7351 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7353 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7354 (gst_type_find_helper):
7355 Try typefinding factories with the highest rank first.
7357 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7359 * docs/libs/gstreamer-libs-docs.sgml:
7360 * docs/libs/gstreamer-libs-sections.txt:
7361 * libs/gst/base/gsttypefindhelper.c:
7362 Add section for typefind helper and add documentation
7363 for the old and the new function.
7365 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7367 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7368 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7369 (gst_type_find_helper_for_buffer):
7370 * libs/gst/base/gsttypefindhelper.h:
7371 New API: gst_type_find_helper_for_buffer() (#332723).
7373 2006-02-27 Michael Smith <msmith@fluendo.com>
7375 Patch by: Loïc Minier
7379 * docs/slides/Makefile.am:
7380 prevent CVS directories getting disted.
7382 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
7384 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7385 Use the REFCOUNTING category for caps refcounting.
7387 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7389 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7390 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7392 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
7394 * plugins/elements/gsttypefindelement.c:
7395 (gst_type_find_element_activate):
7396 Use gst_pad_check_pull_range() before _activate_pull()
7397 to avoid unnecessary open/close (see #331690).
7399 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7402 Docs enhancement: make it crystal clear what the
7403 gst_pad_add_*_probe() callbacks should look like.
7405 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
7407 * libs/gst/base/gstbasesrc.c:
7408 Document how applications can stop recording from
7409 live sources (see #330996).
7411 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7413 * tests/check/Makefile.am:
7414 * tests/check/libs/basesrc.c: (eos_event_counter),
7415 (basesrc_eos_events_pull), (basesrc_eos_events_push),
7416 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7417 (gst_basesrc_suite), (main):
7418 ... and add some tests for the base source EOS stuff.
7420 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7422 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7423 Test case originally showed the problem fixed below,
7424 but was then amended. Add checks back at the place
7425 where they used to be.
7427 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7429 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7430 (gst_base_src_init), (gst_base_src_loop),
7431 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7432 (gst_base_src_change_state):
7433 * libs/gst/base/gstbasesrc.h:
7434 Don't unconditionally send EOS when going from PAUSED to
7435 READY state, esp. make sure we don't send two EOS events
7436 in some cases (e.g. one when reaching EOS and one when
7437 going from PAUSED to READY). Also, we don't want to send
7438 EOS events when operating in pull mode. However, we do
7439 want to send an EOS event when shutting down a live
7440 source explicitly, for example (fixes #330996).
7442 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
7444 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7445 Update src->read_position after a seek when not using mmap.
7446 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7448 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
7454 Make things work with --disable-parse as they do with
7455 --disable-load-save - the symbols involved disappear, but the
7456 header is still installed and GST_DISABLE_PARSE is included via
7459 2006-02-20 Julien MOUTTE <julien@moutte.net>
7461 * libs/gst/base/gstbasetransform.c:
7462 (gst_base_transform_change_state): Fix a stupid bug. I was
7463 sure I compiled that.
7465 2006-02-20 Julien MOUTTE <julien@moutte.net>
7467 * gst/gstpad.c: (gst_pad_set_blocked_async):
7468 * gst/gstutils.c: (gst_pad_add_data_probe),
7469 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7470 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7471 (gst_pad_remove_buffer_probe): Make those function act on the
7472 ghostpad target when it's a ghostpad. (Closes #331727)
7474 2006-02-20 Julien MOUTTE <julien@moutte.net>
7476 * libs/gst/base/gstbasetransform.c:
7477 (gst_base_transform_change_state): Make basetransform reusable.
7480 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
7482 * docs/random/release:
7483 Move the current documentation of how to do a release to the top
7486 * gst/gstbin.c: (gst_bin_class_init),
7487 (gst_bin_handle_message_func):
7488 Allow multiple state-recalculation threads. (Closes #328873)
7490 2006-02-19 Julien MOUTTE <julien@moutte.net>
7492 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7493 * gst/gstpad.c: (gst_pad_set_event_function),
7494 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7495 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7496 2 strings. You can't use the STR_NULL macro on that.
7498 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
7500 * gst/gstpad.c: (gst_pad_set_event_function),
7501 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7502 (gst_pad_set_getcaps_function)
7503 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7504 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7505 So now, we can use --gst-debug-level=5 on Windows
7506 * win32/common/libgstcontroller.def:
7507 Added export of gst_controller_init
7508 * win32/vs6/libgstcontroller.dsp:
7509 Fixed Release post build configuration
7511 2006-02-17 Wim Taymans <wim@fluendo.com>
7513 * tests/check/gst/gstquery.c: (GST_START_TEST):
7514 Added another check.
7516 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
7518 * plugins/elements/gsttypefindelement.c: (find_peek):
7519 We can do peeks at non-zero offsets, as long as they
7520 fall within the buffer we have.
7522 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
7524 * tests/check/Makefile.am:
7525 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7526 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7527 (parse_suite), (main):
7528 Add testsuite for parse launch syntax
7530 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
7532 * plugins/elements/gsttypefindelement.c:
7533 (gst_type_find_element_chain):
7534 When typefinding is unsuccessful in the chain function, don't
7535 error out immediately. Only error out with NO_CAPS_FOUND if
7536 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7537 otherwise simply wait for more data so we can try typefinding
7538 again with more data later. Also, don't attempt to typefind
7539 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7540 this should improve typefinding from network sources where the
7541 size of the first buffer can be somewhat random.
7543 2006-02-14 Wim Taymans <wim@fluendo.com>
7545 * docs/gst/gstreamer-sections.txt:
7546 * gst/gstpadtemplate.c:
7547 * gst/gstpadtemplate.h:
7548 Fix padtemplate docs, fixes #328805.
7550 2006-02-14 Wim Taymans <wim@fluendo.com>
7552 * tools/gst-launch.c: (main):
7553 NO_PREROLL is not an ERROR so don't send confusing messages
7556 2006-02-14 Wim Taymans <wim@fluendo.com>
7558 Patch by: Torsten Schoenfeld
7560 * gst/gstregistry.c: (gst_registry_get_default),
7561 (_gst_registry_cleanup):
7562 Protect default registry with lock and ref/sink it.
7565 2006-02-14 Wim Taymans <wim@fluendo.com>
7568 * gst/gstquery.c: (gst_query_list_add_format),
7569 (gst_query_set_formatsv), (gst_query_parse_formats_length),
7570 (gst_query_parse_formats_nth):
7571 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7574 2006-02-14 Wim Taymans <wim@fluendo.com>
7576 * docs/gst/gstreamer-sections.txt:
7577 Reworked query docs.
7579 * gst/gstquery.c: (gst_query_new_formats),
7580 (gst_query_list_add_format), (gst_query_set_formats),
7581 (gst_query_set_formatsv), (gst_query_parse_formats_length),
7582 (gst_query_parse_formats_nth):
7584 Flesh out formats query, added some new methods.
7585 Fix part of #324398.
7587 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
7588 Added query creation tests.
7590 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
7592 * gst/gstpad.c: (fixate_value):
7593 Add a default fixation for fraction lists.
7595 2006-02-13 Wim Taymans <wim@fluendo.com>
7597 * gst/gsttask.c: (gst_task_init), (gst_task_func),
7598 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
7601 Detect and warn for obvious deadlocks. fixes #320340
7602 Fix error case where lock was not released.
7604 * tests/check/Makefile.am:
7605 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
7606 (task_func), (gst_element_suite), (main):
7609 2006-02-13 Wim Taymans <wim@fluendo.com>
7611 * docs/gst/gstreamer-sections.txt:
7613 Add new functions to docs.
7615 2006-02-13 Wim Taymans <wim@fluendo.com>
7617 * docs/design/part-TODO.txt:
7618 Updated TODO list, basesrc supports seeking to non-bytes
7621 * docs/design/part-element-sink.txt:
7624 * gst/gstbin.c: (bin_replace_message),
7625 (gst_bin_handle_message_func):
7626 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
7627 * gst/gstevent.c: (gst_event_finalize):
7628 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7629 (gst_pad_send_event):
7630 Use shiny new _TYPE_NAME macros.
7632 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7633 Move debug statement up.
7635 * gst/gstelement.c: (gst_element_set_locked_state):
7638 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
7640 * docs/gst/gstreamer-sections.txt:
7643 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
7644 macros (#330906). Also, document the already existing
7645 GST_QUERY_TYPE macro.
7647 2006-02-13 Wim Taymans <wim@fluendo.com>
7649 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
7650 (event_probe), (GST_START_TEST):
7651 Only events up to the pipeline EOS are counted, there are
7652 some more when going to NULL currently which we don't care
7655 2006-02-13 Wim Taymans <wim@fluendo.com>
7657 * gst/gstpad.c: (gst_pad_send_event):
7658 Correctly check flushing and emit probes. fixes #330125
7660 2006-02-10 Andy Wingo <wingo@pobox.com>
7662 * gst/gstbus.c (gst_bus_class_init): Declare our private data
7664 (gst_bus_init): Cache the location of the private data in the
7666 (gst_bus_enable_sync_message_emission)
7667 (gst_bus_disable_sync_message_emission): Implement new public
7669 (gst_bus_post): Emit the sync-message signal if the user asked for
7672 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
7673 location of the bus-private structure.
7674 (gst_bus_enable_sync_message_emission)
7675 (gst_bus_disable_sync_message_emission): API addition
7677 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
7679 Patch by: Vincent Torri
7681 * docs/pwg/building-boiler.xml:
7682 PWG patch from #326800
7684 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
7688 * docs/design/Makefile.am:
7691 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7696 === release 0.10.3 ===
7698 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7701 releasing 0.10.3, "Like a virgin"
7703 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
7706 2nd prerelease of 0.10.3
7707 Bump libtool versioning.
7709 2006-02-07 Andy Wingo <wingo@pobox.com>
7711 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
7712 update last_stop if we're in TIME format and the timestamp is
7715 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
7716 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
7717 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
7718 If we get a new newsegment with a different format, adapt
7721 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
7722 of 0. Not a problem, really.
7724 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
7727 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
7732 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
7735 project files updated to the default vs7 configuration
7736 * win32/common/libgstbase.def:
7737 * win32/common/libgstreamer.def:
7739 removed empty lines,
7740 sorted all exported symbols alphabetically
7741 * win32/common/dirent.c:
7742 * win32/common/dirent.h:
7743 * win32/common/gchar.h:
7744 use windows line end.
7746 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
7748 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7749 Send EOS event when stopping.
7751 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
7754 Tell folks what to do if the plugin-foobar.xml file
7755 hasn't been generated for a newly-added plugin.
7757 2006-02-05 Julien MOUTTE <julien@moutte.net>
7759 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7760 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7761 (gst_collect_pads_start), (gst_collect_pads_stop),
7762 (gst_collect_pads_event): Collectpads now holds a reference
7763 to the GstPad that was added. Indeed we don't want to look
7764 at pads that might just go away with no warning...
7766 2006-02-05 Julien MOUTTE <julien@moutte.net>
7768 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7769 (gst_collect_pads_start), (gst_collect_pads_stop),
7770 (gst_collect_pads_event), (gst_collect_pads_chain):
7771 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
7772 Mark Nauwelaerts's patch on bug #328491.
7774 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
7776 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
7778 Add some simple tests for gst_parse_bin_from_description() and
7779 gst_bin_find_unconnected_pad() (#329069).
7781 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
7783 * tools/gst-launch.c: (event_loop), (main):
7784 Catch errors during preroll (#320084).
7786 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
7788 * plugins/elements/gsttypefindelement.c:
7789 (gst_type_find_element_activate):
7790 Post TYPE_NOT_FOUND error message when typefinding
7791 is unsuccessful in the activate function as well.
7793 2006-02-02 Wim Taymans <wim@fluendo.com>
7795 * docs/design/part-element-sink.txt:
7798 2006-02-02 Wim Taymans <wim@fluendo.com>
7800 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7801 (gst_base_sink_render_object),
7802 (gst_base_sink_queue_object_unlocked):
7803 Only keep track of prerollable items when we are
7805 Before rendering after preroll, always check if we
7807 Added some more debugging.
7809 2006-02-02 Wim Taymans <wim@fluendo.com>
7811 * gst/gstelement.c: (gst_element_continue_state),
7812 (gst_element_set_state_func), (gst_element_change_state):
7813 Fixed #326576, been running this for quite some time with
7814 no regressions at all.
7816 2006-02-02 Wim Taymans <wim@fluendo.com>
7819 Added more suppressions
7821 2006-02-02 Wim Taymans <wim@fluendo.com>
7823 * docs/design/part-element-sink.txt:
7826 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7827 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
7828 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
7829 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7830 (gst_base_sink_do_sync), (gst_base_sink_render_object),
7831 (gst_base_sink_preroll_object),
7832 (gst_base_sink_queue_object_unlocked),
7833 (gst_base_sink_queue_object), (gst_base_sink_event),
7834 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
7835 (gst_base_sink_loop), (gst_base_sink_activate_pull),
7836 (gst_base_sink_get_position), (gst_base_sink_change_state):
7837 * libs/gst/base/gstbasesink.h:
7838 Totally refactored matching the design doc.
7839 Use two segments, one to clip incomming buffers and another to
7841 Handle queueing correctly, bypass the queue when playing.
7842 Make EOS cancelable.
7843 Handle errors correctly when operating in pull based mode.
7845 * tests/check/elements/fakesink.c: (GST_START_TEST),
7847 Added new check for sinks.
7849 2006-02-02 Wim Taymans <wim@fluendo.com>
7851 * gst/gstsegment.c: (gst_segment_clip):
7852 No reason to refuse to clip when start == -1
7854 2006-02-02 Stefan Kost <ensonic@users.sf.net>
7857 * docs/manual/intro-basics.xml:
7858 * docs/manual/intro-preface.xml:
7859 * docs/manual/manual.xml:
7860 * docs/pwg/advanced-dparams.xml:
7861 * docs/pwg/intro-basics.xml:
7862 * docs/pwg/intro-preface.xml:
7864 describe dparams (controller) for plugins
7865 unify docs a little more
7867 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
7869 * docs/gst/gstreamer-sections.txt:
7870 * gst/gstutils.c: (element_find_unconnected_pad),
7871 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
7873 Add new API: gst_parse_bin_from_description() and
7874 gst_bin_find_unconnected_pad() (#329069).
7876 2006-02-01 Stefan Kost <ensonic@users.sf.net>
7878 * docs/manual/README:
7879 uncover a nasty detail of the docs build
7881 2006-01-31 Wim Taymans <wim@fluendo.com>
7883 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
7884 Don't cache duration messages if we're not going to use or
7887 2006-01-31 Stefan Kost <ensonic@users.sf.net>
7889 * docs/manual/advanced-dparams.xml:
7890 * docs/pwg/advanced-dparams.xml:
7894 * libs/gst/controller/lib.c: (gst_controller_init):
7897 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
7899 * gst/gstelement.c: (gst_element_message_full):
7900 also show file/line/func if no additional debug was given
7902 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
7904 * win32/vs7/grammar.vcproj:
7905 activate copy of autogenerated files for Release mode
7907 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
7909 * win32/common/libgstreamer.def:
7910 export gst_value_compare
7912 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
7914 * plugins/elements/Makefile.am:
7915 * plugins/elements/gstelements.c:
7916 * plugins/elements/gstfdsink.c: (_do_init),
7917 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
7918 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
7919 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
7920 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
7921 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
7922 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
7923 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
7924 * plugins/elements/gstfdsink.h:
7925 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
7927 2006-01-30 Stefan Kost <ensonic@users.sf.net>
7929 * docs/manual/advanced-dparams.xml:
7931 * docs/manual/advanced-position.xml:
7932 * docs/manual/basics-init.xml:
7933 * docs/manual/manual.xml:
7934 * docs/manual/titlepage.xml:
7936 * docs/pwg/titlepage.xml:
7937 cleanup xml (more to come)
7938 * libs/gst/controller/gstcontroller.c:
7941 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
7943 * win32/vs6/grammar.dsp:
7944 add autogen of gstmarshal.c,h for Release mode
7946 2006-01-30 Wim Taymans <wim@fluendo.com>
7948 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7949 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
7950 (gst_base_sink_handle_object), (gst_base_sink_event),
7951 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
7952 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7953 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
7954 (gst_base_sink_deactivate), (gst_base_sink_activate),
7955 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
7956 (gst_base_sink_query), (gst_base_sink_change_state):
7957 Basesink cleanups, remove some old code.
7958 Handle the case where a subclass can preroll in the render
7959 method (mostly audiosinks).
7961 Remove some locks around variables that are now protected
7962 with the PREROLL_LOCK (clock_id, flushing, ..).
7963 Optimize position query some more, do correct locking.
7964 Remove old code to push queue in state change, this is not
7965 needed anymore since preroll blocks on all prerollable items
7967 Almost implemented as described in design doc.
7969 2006-01-30 Wim Taymans <wim@fluendo.com>
7971 * tests/check/gst/gstbin.c: (GST_START_TEST):
7972 Wait for refcount to settle down before checking.
7974 2006-01-30 Wim Taymans <wim@fluendo.com>
7976 * docs/design/part-element-sink.txt:
7977 Pseudo code overview of desired sink behaviour regarding
7980 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
7981 * win32/vs6/grammar.dsp:
7982 fix some bugs in Release mode for autogenerated files
7984 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
7985 * win32/common/libgstbase.def:
7986 * win32/common/libgstreamer.def:
7987 export some new symbols: gst_base_src_set_format,
7988 gst_iterator_next, gst_structure_set_valist
7990 2006-01-29 Julien MOUTTE <julien@moutte.net>
7992 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7993 Set pad functions unconditionally. Fixes #329105.
7995 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
7997 add vs8 project files created by Sergey Scobich
7999 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8001 * gst/gstutils.c: (gst_element_unlink_pads):
8002 Don't leak pad references.
8004 * tests/check/elements/fakesink.c: (GST_START_TEST):
8005 * tests/check/generic/sinks.c: (GST_START_TEST):
8006 * tests/check/generic/states.c: (GST_START_TEST):
8007 * tests/check/gst/gstbin.c: (GST_START_TEST):
8008 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8009 * tests/check/gst/gstelement.c: (GST_START_TEST):
8010 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8011 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8012 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8013 Fix a bunch of leaks. Make generic/sinks.c
8014 use a bit less cpu by slowing the buffer rate
8015 between fakesrc and fakesink.
8017 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8019 * gst/gstelement.c: (gst_element_send_event):
8022 * gst/gstiterator.c:
8023 * gst/gstiterator.h:
8024 * gst/gstpad.c: (gst_pad_send_event):
8025 * gst/gststructure.c:
8029 * libs/gst/base/gstadapter.c:
8030 doc fixes, to link to function, just write gst_cool_function(), don't
8033 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8035 * plugins/elements/gsttee.c: (gst_tee_do_push),
8036 (gst_tee_handle_buffer):
8037 Always prefer an actual return value from a src
8038 pad in place of NOT_LINKED. This means we return
8039 WRONG_STATE when all src pads are WRONG_STATE
8040 instead of NOT_LINKED.
8042 Lock when replacing the last message to prevent
8043 racing with the get_property method.
8047 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8049 * tests/check/Makefile.am:
8050 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8052 Add a very simple check that should have caught the memleak I fixed
8053 last night (if not for the slice allocator hiding it)
8055 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8057 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8058 (gst_bin_remove_func), (gst_bin_handle_message_func),
8059 (bin_query_duration_fold), (bin_query_generic_fold):
8060 Clean up references to the clock provider when disposed or when
8061 handling a clock-lost message from it.
8063 Unref sinks when performing a query via gst_iterator_fold, as the
8064 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8066 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8067 (gst_clock_set_master):
8068 Drop our reference to the master clock, if any, when we are disposed.
8070 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8071 Chain up in dispose.
8073 2006-01-26 Wim Taymans <wim@fluendo.com>
8075 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8078 2006-01-26 Julien MOUTTE <julien@moutte.net>
8080 * plugins/elements/gsttee.c: (gst_tee_do_push),
8081 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8082 handles pad being NOT_LINKED or in WRONG_STATE.
8084 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8089 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8092 remove obsolete entry
8094 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8096 * docs/gst/gstreamer-sections.txt:
8097 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8098 (gst_bin_iterate_sources), (gst_bin_send_event):
8100 * gst/gstelement.c: (gst_element_send_event):
8102 * gst/gstpad.c: (gst_pad_send_event):
8103 added code for downstream events, reviewed docs in gstevent.c
8105 2006-01-25 Julien MOUTTE <julien@moutte.net>
8107 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8108 We only query position using the clock in the playing state.
8109 Query peer in the other cases.
8110 * win32/common/config.h: Updates.
8112 2006-01-24 Wim Taymans <wim@fluendo.com>
8114 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8115 A clock entry that is scheduled for the exact time of the
8116 clock is still in time.
8118 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8119 (gst_base_sink_do_sync):
8120 Add some more debug info.
8122 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8125 Add new vs7 project files and solution.
8127 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8130 all files removed as they were out-dated.
8132 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8134 * docs/random/release:
8136 * gst/gstbin.c: (gst_bin_init):
8137 * gst/gstbus.c: (gst_bus_new):
8139 * gst/gstpipeline.c: (gst_pipeline_init):
8140 use gst_bus_new(), improve logging, fix docs
8141 * win32/common/config.h:
8142 update for cvs build
8144 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8147 up required version of automake to 1.7
8149 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8151 * win32/common/libgstreamer.def:
8152 export gst_buffer_is_metadata_writable
8154 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8156 * docs/gst/gstreamer-sections.txt:
8158 Add gst_event_replace() (#327001)
8160 2006-01-20 Wim Taymans <wim@fluendo.com>
8162 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8163 Make it actually compile too..
8165 2006-01-20 Wim Taymans <wim@fluendo.com>
8168 Clarify behaviour of _is_equal() when passing NULL parameters.
8170 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8172 Cleanups. Don't unref NULL caps.
8173 When setting the same caps, protect caps of the pad with
8175 Use full functionality of _is_equal() when comparing caps.
8177 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8179 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8180 Don't loop infinitely if there are no buffers to present. Partially
8181 fixes #327197, but collectpads is just broken for reusing elements
8182 to do multiple encodes atm.
8184 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8186 * tools/gst-inspect.c: (print_element_features):
8187 * tools/gst-xmlinspect.c: (main):
8188 URL_HANDLER is not a plugin feature we can search for in
8191 2006-01-19 Edward Hervey <edward@fluendo.com>
8193 * gst/gstelement.c: (gst_element_pads_activate):
8194 When activating, do src pads first, then sink pads.
8195 When de-activating, do sink pads first, then src pads.
8197 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8199 * docs/gst/gstreamer-sections.txt:
8200 Add gst_index_add_associationv to the docs
8202 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8207 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8208 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8209 Do some refactoring. Doesn't actually change functionality,
8210 but makes landing the DRAIN event easier later.
8212 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8214 * docs/pwg/advanced-scheduling.xml:
8215 Update from 0.9.x to 0.10 API and make example a bit
8218 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8220 * docs/gst/gstreamer-sections.txt:
8221 Add gst_buffer_(is|make)_metadata_writable methods.
8223 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8225 * docs/design/part-sparsestreams.txt:
8226 Update sparse streams doc, hopefully for greater clarity
8228 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8230 * docs/design/part-events.txt:
8231 Remove mention of FILLER events.
8234 * docs/design/part-sparsestreams.txt:
8235 Write some things about using NEWSEGMENT to keep sparse streams
8238 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8240 * gst/gstbin.c: (gst_bin_dispose):
8241 Guard gst_object_unref call against a NULL object (dispose
8242 can theoretically be called multiple times).
8244 2006-01-18 Wim Taymans <wim@fluendo.com>
8246 * gst/gstbin.c: (gst_bin_element_set_state):
8247 * gst/gstclock.c: (gst_clock_id_wait):
8248 Added some more debug info.
8250 * libs/gst/base/gstadapter.c:
8253 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8254 (gst_base_sink_do_sync), (gst_base_sink_chain):
8255 Added some comments.
8257 2006-01-18 Wim Taymans <wim@fluendo.com>
8259 * tests/check/Makefile.am:
8260 * tests/check/elements/fakesink.c: (chain_async_buffer),
8261 (chain_async), (chain_async_return), (GST_START_TEST),
8262 (fakesink_suite), (main):
8263 Added fakesink test that checks prerolling and clipping
8266 * tests/check/gst/gstutils.c: (GST_START_TEST):
8267 Make check run faster so that buildbots don't timeout.
8269 2006-01-18 Wim Taymans <wim@fluendo.com>
8271 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8272 (gst_base_sink_do_sync):
8274 When the sink finishes blocking on the preroll buffer, it can
8275 immediatly render it instead of rendering when the next buffer
8278 2006-01-18 Wim Taymans <wim@fluendo.com>
8280 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8281 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8282 (gst_base_sink_chain):
8284 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8285 Don't store _last_stop if the buffer is dropped.
8287 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8289 * plugins/elements/gsttypefindelement.c:
8290 (gst_type_find_element_class_init):
8291 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8292 object method handler that sets the caps on the pad and we want
8293 that to happen before we emit the signal (fixes e.g. feeding a
8294 plain text file to decodebin).
8296 2006-01-18 Christian Schaller <Christian@fluendo.com>
8298 * gst/gstplugin.c: Add MPL and Proprietary as license options
8300 2006-01-18 Andy Wingo <wingo@pobox.com>
8302 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8303 symbol was exported before, it appears this was just an oversight.
8305 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8307 * gst/gstindex.c (gst_index_add_associationv): Changed int in
8308 prototype to gint. OK since this prototype was not in the header.
8310 2006-01-17 Andy Wingo <wingo@pobox.com>
8312 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8313 registry while we remove plugins.
8315 * tools/gst-inspect.c (print_element_info): Don't unref the
8316 factory arg, that should be the responsibility of whatever code
8317 received the ref. Fixes a double-free when called from
8318 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8319 (main): Unref the factory if we have one.
8320 (print_element_list): No change -- relies on the
8321 plugin_feature_list_free to free the list of features.
8323 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
8325 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8326 (gst_buffer_make_metadata_writable):
8328 * libs/gst/base/gstbasetransform.c:
8329 (gst_base_transform_prepare_output_buf):
8330 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8331 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8332 Replace gst_buffer_(make|is)_metadata_writable patch now
8333 that the release is out.
8335 2006-01-17 Andy Wingo <wingo@pobox.com>
8337 * gst/gstregistry.c: Reflow design comment. Update so as to speak
8338 in the present tense without reference to versions.
8340 * gst/gstregistry.c (gst_registry_add_plugin)
8341 (gst_registry_remove_plugin, gst_registry_remove_feature)
8342 (gst_registry_find_feature, gst_registry_get_feature_list)
8343 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8344 (gst_registry_lookup, gst_registry_scan_path)
8345 (_gst_registry_remove_cache_plugins)
8346 (gst_registry_get_feature_list_by_plugin): Add argument
8349 === release 0.10.2 ===
8351 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
8354 releasing 0.10.2, "If man is five"
8356 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8360 * libs/gst/base/gstbasetransform.c:
8361 (gst_base_transform_prepare_output_buf):
8362 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8363 * tests/check/gst/gstbuffer.c: (gst_test_suite):
8364 Back out patch until after the release.
8366 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8368 * gst/gstminiobject.c:
8369 Spelling fix in docs.
8370 * ChangeLog - remove conflict indicator
8372 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
8374 Reviewed By: Andy Wingo
8376 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8377 (gst_buffer_make_metadata_writable):
8379 Add gst_buffer_(is|make)_metadata_writable as analogues of
8380 gst_buffer_(is|make)_writable.
8382 * libs/gst/base/gstbasetransform.c:
8383 (gst_base_transform_prepare_output_buf):
8384 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8385 Use name gst_buffer_(is|make)_metadata_writable functions.
8387 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8388 Test gst_buffer_(is|make)_metadata_writable
8392 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
8394 * docs/manual/Makefile.am:
8395 don't do parallel make
8398 * win32/common/config.h.in:
8399 add generations for HOST_CPU and GST_MAJORMINOR
8400 * win32/common/config.h:
8401 commit generated result
8403 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
8405 * docs/manual/appendix-integration.xml:
8406 Update GNOME integration section to use gst_init_get_option_group()
8407 instead of the old popt stuff (#322911). Also, GNOME applications
8408 should now use gconf*sink and gconf*src instead of the old gconf
8411 2006-01-13 Stefan Kost <ensonic@users.sf.net>
8414 * docs/gst/gstreamer-docs.sgml:
8415 * docs/gst/gstreamer-sections.txt:
8416 * docs/libs/gstreamer-libs-sections.txt:
8417 add new API entries to the docs
8418 * libs/gst/controller/Makefile.am:
8419 * libs/gst/controller/gstcontroller.c:
8420 * libs/gst/controller/gstcontroller.h:
8421 * libs/gst/controller/gstcontrollerprivate.h:
8422 * libs/gst/controller/gsthelper.c:
8423 * libs/gst/controller/gstinterpolation.c:
8424 move private structs to private header
8426 gstreamer-0.7 -> gstreamer-0.10
8427 * tests/check/libs/struct_i386.h:
8428 remove private structs
8430 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8432 * plugins/indexers/Makefile.am:
8433 Fixes as part of #317048
8435 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
8437 * plugins/indexers/Makefile.am:
8438 fix #316086 - compilation when mmap is missing
8440 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
8442 * libs/gst/base/gstbasesink.c:
8443 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
8444 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8445 * win32/common/config.h:
8446 added some defines GST_MAJORMINOR and HOST_CPU
8447 * win32/common/libgstbase.def:
8448 * win32/common/libgstreamer.def:
8449 added some exported functions.
8451 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8453 * libs/gst/controller/gstcontroller.c:
8454 (gst_controlled_property_set_interpolation_mode),
8455 (gst_controlled_property_new):
8456 * libs/gst/controller/gstcontroller.h:
8457 * libs/gst/controller/gstinterpolation.c:
8458 (interpolate_none_get_string_value_array):
8459 make G_TYPE_STRING controlable
8461 2006-01-12 Stefan Kost <ensonic@users.sf.net>
8464 * tools/gst-feedback.1.in:
8465 * tools/gst-inspect.1.in:
8466 * tools/gst-launch.1.in:
8467 * tools/gst-md5sum.1.in:
8468 * tools/gst-typefind.1.in:
8469 * tools/gst-xmlinspect.1.in:
8470 * tools/gst-xmllaunch.1.in:
8471 cleanup man-pages, remove reference to gst-register, document env-vars
8473 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
8475 * gst/gstbuffer.c: (gst_buffer_span):
8476 gst_buffer_span should copy the timestamp of the first buffer
8477 if they were both originally overlapping subbuffers of the
8478 same parent, using the same logic as the 'slow copy' case.
8480 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
8482 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8483 Need to awaken ALL the pads when we pop a buffer, otherwise
8484 collectpads only works when there is 2 input streams.
8486 2006-01-11 Stefan Kost <ensonic@users.sf.net>
8488 * docs/random/ensonic/media-device-daemon.txt:
8491 fix doc example, add clarification
8492 * tools/gst-launch.1.in:
8493 add initial info about GST_PLUGIN_PATH, needs more work
8495 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
8497 * docs/manual/basics-bins.xml:
8498 * docs/manual/basics-elements.xml:
8499 * docs/manual/intro-basics.xml:
8500 Some more minor docs additions and updates.
8502 2006-01-11 Wim Taymans <wim@fluendo.com>
8504 * docs/manual/basics-bins.xml:
8505 * docs/manual/basics-elements.xml:
8506 Some small fixes as pointed out by Ser-ver on IRC.
8508 2006-01-10 Edward Hervey <edward@fluendo.com>
8510 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8511 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8512 the single-segment mode.
8514 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
8516 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8518 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8519 (gst_base_src_perform_seek), (gst_base_src_send_event),
8520 (gst_base_src_set_property), (gst_base_src_get_property),
8521 (gst_base_src_loop), (gst_base_src_start),
8522 (gst_base_src_activate_push):
8523 * libs/gst/base/gstbasesrc.h:
8524 Name (private) union; makes Sun's Forte compiler happy (#324900).
8526 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
8529 gst-register is gone.
8531 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
8533 * gst/gstvalue.c: (_gst_value_initialize):
8534 make the G_TYPE_DATE instantiation work if debug is disabled
8536 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
8538 * gst/gstmessage.c: (gst_message_parse_tag),
8539 (gst_message_parse_error), (gst_message_parse_warning):
8540 Don't crash when return location for error/warning debug
8541 string is NULL; add fact that return locations can be
8542 NULL to docs where appropriate.
8544 2006-01-05 Wim Taymans <wim@fluendo.com>
8546 * gst/gstplugin.c: (gst_plugin_load_file):
8547 Replace strdup by g_strdup.
8549 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8551 * docs/pwg/advanced-types.xml:
8554 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8556 submitted by: Abel Cheung
8560 Added Chinese (traditional) translation
8562 2006-01-04 Wim Taymans <wim@fluendo.com>
8564 * docs/manual/basics-pads.xml:
8565 * docs/plugins/Makefile.am:
8566 * docs/plugins/gstreamer-plugins-docs.sgml:
8567 * docs/plugins/gstreamer-plugins-sections.txt:
8568 * docs/pwg/advanced-clock.xml:
8569 * docs/pwg/advanced-scheduling.xml:
8570 * docs/pwg/advanced-types.xml:
8571 * plugins/elements/gstfdsink.c:
8572 * plugins/elements/gstfdsrc.c:
8573 * plugins/elements/gstfdsrc.h:
8574 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8575 * plugins/elements/gstidentity.h:
8576 * plugins/elements/gstqueue.h:
8577 * plugins/elements/gsttee.c:
8578 * plugins/elements/gsttee.h:
8579 * plugins/elements/gsttypefindelement.c:
8580 (gst_type_find_element_class_init):
8581 * plugins/elements/gsttypefindelement.h:
8582 Small updates to various docs.
8583 Added core plugins to docs.
8585 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8588 add a suppression for liboil's uninitialized variable
8590 2006-01-02 James Livingston <jrl at ids dot org dot au>
8592 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8595 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
8596 macro, so that gcc doesn't complain if the -Wmissing-prototypes
8597 compiler switch is being used (#325429).
8599 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
8601 * gst/gstbin.c: (gst_bin_query):
8602 Disable duration query caching in bins until it gets
8603 fixed (see #324807).
8605 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
8607 * tools/gst-inspect.c: (print_element_properties_info):
8608 Handle properties of POINTER and BOXED type.
8610 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
8612 * gst/gst.c: (init_post):
8613 Init tags stuff and some other things before loading
8614 any static plugins (there may be other static plugins
8615 than just the GStreamer ones, and they may want to
8616 register their own tags or formats or whatever, and
8617 preferably without segfaulting).
8619 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
8620 Print at least a warning in the debug logs if we drop a
8621 query just because we don't know how to adjust the value
8622 in the particular format.
8624 2005-12-24 David Schleef <ds@schleef.org>
8626 * tools/gstreamer-completion:
8627 Replacement for gst-complete written in sh and sed. Only
8628 completes names of features, but that's 90% of what I want
8629 it for. Properties are not available in registry.xml. (Maybe
8632 === release 0.10.1 ===
8634 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
8637 releasing 0.10.1, "Nollaig chridheil"
8639 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
8642 Add missing quote, should be make ERROR_CFLAGS="".
8644 2005-12-20 Wim Taymans <wim@fluendo.com>
8646 * docs/design/part-trickmodes.txt:
8647 More documentation on trickmodes.
8649 2005-12-20 Edward Hervey <edward@fluendo.com>
8651 * gst/gstcaps.c: (gst_static_caps_get_type):
8653 API addition: GST_TYPE_STATIC_CAPS
8654 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
8655 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
8656 * gst/gstpadtemplate.h:
8657 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
8658 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
8661 2005-12-18 Wim Taymans <wim@fluendo.com>
8663 * libs/gst/base/gstadapter.c:
8664 * libs/gst/base/gstadapter.h:
8665 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8666 (gst_base_sink_get_position):
8667 * libs/gst/base/gstbasesink.h:
8668 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8669 (gst_base_src_default_query), (gst_base_src_default_do_seek),
8670 (gst_base_src_do_seek), (gst_base_src_perform_seek),
8671 (gst_base_src_send_event), (gst_base_src_update_length),
8672 (gst_base_src_get_range), (gst_base_src_loop),
8673 (gst_base_src_start):
8674 * libs/gst/base/gstbasesrc.h:
8675 * libs/gst/base/gstbasetransform.h:
8676 * libs/gst/base/gstcollectpads.h:
8677 * libs/gst/base/gstpushsrc.c:
8678 * libs/gst/base/gstpushsrc.h:
8679 * libs/gst/dataprotocol/dataprotocol.c:
8680 * libs/gst/dataprotocol/dataprotocol.h:
8681 * libs/gst/net/gstnetclientclock.h:
8682 * libs/gst/net/gstnettimeprovider.h:
8683 Documentation updates.
8685 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
8687 * docs/manual/basics-helloworld.xml:
8688 Remove superfluous closing bracket in helloworld example.
8690 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
8692 * tools/gst-launch.1.in:
8693 Update gst-launch man page; add a section with useful
8694 environment variables. Fixes #323882.
8696 2005-12-16 Stefan Kost <ensonic@users.sf.net>
8699 * gst/gst_private.h:
8700 change some char* into char[]
8702 2005-12-16 Wim Taymans <wim@fluendo.com>
8704 * gst/gstregistryxml.c: (load_feature):
8706 Don't use g_object_unref on GstObjects so that we avoid
8707 leaks on unsafe glibs.
8709 2005-12-16 Wim Taymans <wim@fluendo.com>
8711 * gst/gstbin.c: (gst_bin_recalc_state):
8714 2005-12-16 Wim Taymans <wim@fluendo.com>
8717 Added make forever target for check.
8719 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
8721 * gst/gst.c: (init_post):
8722 make the registry cache file HOST_CPU-dependent
8724 2005-12-16 Andy Wingo <wingo@pobox.com>
8726 * plugins/elements/gstbufferstore.c
8727 (gst_buffer_store_cleared_func): Pay attention to g_list_append
8730 * tests/check/gst/gstobject.c
8731 (test_fake_object_name_threaded_unique): Pay attention to
8732 g_list_sort return value.
8734 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
8736 * tools/gst-feedback-m.m:
8737 Update for 0.9/0.10 (fixes #323870).
8739 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
8741 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
8742 Fix lcopy for mini objects, the mini object needs to be ref'ed.
8744 * tests/check/gst/gstminiobject.c: (my_foo_init),
8745 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
8746 (test_value_collection), (gst_mini_object_suite):
8747 Add test to ensure refcounts end up as expected when passing
8748 GstMiniObjects through g_object_get() and g_object_set().
8750 2005-12-14 Julien MOUTTE <julien@moutte.net>
8752 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8753 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
8754 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
8755 of collectpads. This version removes a lot of races without
8756 touching API/ABI. Yay !
8758 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
8760 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
8761 Don't allow activation of a srcpad in pull_range if it has no
8763 Change some debug statements to be a little clearer
8765 * plugins/elements/gsttypefindelement.c:
8766 (gst_type_find_handle_src_query):
8767 Check that we have a peer before executing queries thereupon.
8769 * tests/examples/metadata/read-metadata.c: (message_loop):
8770 Use gst_bus_pop instead of gst_bus_poll when we just want it to
8771 immediately return us any available message with 0 timeout.
8773 2005-12-12 Michael Smith <msmith@fluendo.com>
8775 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8776 Don't unref factories after calling them.
8777 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
8778 * plugins/elements/gsttypefindelement.c:
8779 (gst_type_find_element_chain):
8780 Free lists of factories after using them. Fixing typefinding memory
8783 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8785 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8786 (gst_plugin_feature_load):
8787 more meaningful debug output
8789 * tests/Makefile.am:
8790 * tests/old/examples/Makefile.am:
8791 make make distcheck happy again
8793 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
8795 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8796 Catch the special case where we are operating chain-based,
8797 but the downstream peer pad has no chain function. Emit a
8798 custom error message in this case instead of letting the
8799 core generate one implying that this is some sort of core
8800 bug. It's not, it just means that whatever got plugged
8801 into the pipeline downstream when we announced the type
8802 can only operate pull-based, while our source can only
8803 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
8804 Error string has not been marked for translation yet, as
8805 it probably needs some more work first.
8807 (gst_type_find_element_get_best_possibility):
8808 Add helper function to find the best of all available
8809 found possibilities that qualify given the min. threshold.
8811 (gst_type_find_element_handle_event):
8812 Fix the case where we get an EOS while still in TYPEFIND
8813 mode (we want to chose the best of all possible types,
8814 not just the first type that happens to be in our unsorted
8815 list of possible types).
8817 (gst_type_find_element_chain):
8818 Make sure we return GST_FLOW_ERROR when we errored out
8819 in stop_typefinding(); also, don't just find the best of
8820 all found type entries and then use the last examined
8821 type entry, but actually use the best entry.
8823 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
8825 * tests/examples/typefind/typefind.c: (type_found):
8826 * tests/examples/xml/runxml.c: (xml_loaded):
8827 More gcc4 fixes and a mem leak fix.
8829 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8831 * tests/examples/xml/createxml.c: (object_saved):
8834 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8836 * tests/Makefile.am:
8837 enable the examples even more
8839 2005-12-12 Andy Wingo <wingo@pobox.com>
8841 * libs/gst/net/gstnettimeprovider.c
8842 (gst_net_time_provider_class_init, gst_net_time_provider_init)
8843 (gst_net_time_provider_set_property)
8844 (gst_net_time_provider_get_property):
8845 API addition: Export "active" as a GObject property.
8846 (gst_net_time_provider_thread): Only respond to time queries if
8847 the time provider is active.
8849 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
8850 NetTimeProvider, preserving binary compat.
8852 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8854 * tests/examples/controller/audio-example.c: (main):
8855 * tests/examples/launch/Makefile.am:
8856 convert comments again
8858 2005-12-12 Wim Taymans <wim@fluendo.com>
8860 * libs/gst/base/gstpushsrc.c:
8863 2005-12-12 Wim Taymans <wim@fluendo.com>
8865 * docs/libs/gstreamer-libs-sections.txt:
8866 Added new symbol to docs.
8868 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8869 (gst_base_src_init), (gst_base_src_set_format),
8870 (gst_base_src_default_query), (gst_base_src_query),
8871 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
8872 (gst_base_src_perform_seek), (gst_base_src_send_event),
8873 (gst_base_src_default_event), (gst_base_src_event_handler),
8874 (gst_base_src_set_property), (gst_base_src_get_property),
8875 (gst_base_src_wait), (gst_base_src_do_sync),
8876 (gst_base_src_update_length), (gst_base_src_get_range),
8877 (gst_base_src_check_get_range), (gst_base_src_loop),
8878 (gst_base_src_default_negotiate), (gst_base_src_start),
8879 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8880 (gst_base_src_change_state):
8881 * libs/gst/base/gstbasesrc.h:
8882 Implement seeking to other formats than _BYTES.
8883 Implement more seeking methods correctly.
8885 Added query vmethod.
8886 Added do_seek vmethod to make life easier for subclasses
8888 API addition: gst_base_src_set_format()
8890 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8892 * tests/examples/Makefile.am:
8895 2005-12-12 Stefan Kost <ensonic@users.sf.net>
8898 * docs/random/ensonic/media-device-daemon.txt:
8899 * tests/examples/controller/.cvsignore:
8900 * tests/examples/controller/Makefile.am:
8901 * tests/examples/controller/audio-example.c: (main):
8902 * tests/examples/helloworld/.cvsignore:
8903 * tests/examples/helloworld/Makefile.am:
8904 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
8905 * tests/examples/launch/.cvsignore:
8906 * tests/examples/launch/Makefile.am:
8907 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
8908 * tests/examples/metadata/.cvsignore:
8909 * tests/examples/metadata/Makefile.am:
8910 * tests/examples/metadata/read-metadata.c: (message_loop),
8911 (make_pipeline), (print_tag), (main):
8912 * tests/examples/queue/.cvsignore:
8913 * tests/examples/queue/Makefile.am:
8914 * tests/examples/queue/queue.c: (event_loop), (main):
8915 * tests/examples/typefind/.cvsignore:
8916 * tests/examples/typefind/Makefile.am:
8917 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
8919 * tests/examples/xml/.cvsignore:
8920 * tests/examples/xml/Makefile.am:
8921 * tests/examples/xml/createxml.c: (object_saved), (main):
8922 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
8923 * tests/old/examples/Makefile.am:
8924 * tests/old/examples/TODO:
8925 * tests/old/examples/controller/.cvsignore:
8926 * tests/old/examples/controller/Makefile.am:
8927 * tests/old/examples/controller/audio-example.c:
8928 * tests/old/examples/helloworld/.cvsignore:
8929 * tests/old/examples/helloworld/Makefile.am:
8930 * tests/old/examples/helloworld/helloworld.c:
8931 * tests/old/examples/launch/.cvsignore:
8932 * tests/old/examples/launch/Makefile.am:
8933 * tests/old/examples/launch/mp3parselaunch.c:
8934 * tests/old/examples/launch/mp3play:
8935 * tests/old/examples/manual/Makefile.am:
8936 * tests/old/examples/metadata/Makefile.am:
8937 * tests/old/examples/metadata/read-metadata.c:
8938 * tests/old/examples/queue/.cvsignore:
8939 * tests/old/examples/queue/Makefile.am:
8940 * tests/old/examples/queue/queue.c:
8941 * tests/old/examples/typefind/.cvsignore:
8942 * tests/old/examples/typefind/Makefile.am:
8943 * tests/old/examples/typefind/typefind.c:
8944 * tests/old/examples/xml/.cvsignore:
8945 * tests/old/examples/xml/Makefile.am:
8946 * tests/old/examples/xml/createxml.c:
8947 * tests/old/examples/xml/runxml.c:
8948 applied some simple fixing to some examples
8949 re-enabled the working examples
8951 2005-12-12 Wim Taymans <wim@fluendo.com>
8953 * gst/gstsegment.c: (gst_segment_init),
8954 (gst_segment_set_last_stop), (gst_segment_set_seek),
8955 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8956 (gst_segment_to_running_time):
8957 Added more documentation.
8958 Make sure the last_pos value is updated properly.
8959 Make sure to_stream_time and to_running_time don't
8960 operate on wrong values.
8962 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8965 2005-12-12 Michael Smith <msmith@fluendo.com>
8967 * plugins/elements/gsttypefindelement.c: (free_entry),
8968 (gst_type_find_element_chain):
8969 Now that we're not leaking factories, make sure we keep references
8970 to them while we need them.
8972 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
8974 * tests/check/gst/struct_i386.h:
8975 ifdef out the XML structs
8977 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
8979 * gst/gstvalue.c: (gst_value_transform_double_fraction):
8980 floor is not needed, F is always positive; this obviates the
8981 need for adding -lm when building without libxml
8983 2005-12-12 Wim Taymans <wim@fluendo.com>
8985 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8986 Take current playback rate into account when reporting
8989 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
8991 * docs/manual/mime-world.fig:
8992 Let's try this again, this time with a file that is
8993 actually in XFig format.
8995 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
8997 * docs/manual/mime-world.fig:
8998 Add audioconvert element to diagram so that it
8999 matches the text and the code (fixes #319526).
9001 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9003 * docs/pwg/building-chainfn.xml:
9004 * docs/pwg/building-pads.xml:
9005 * docs/pwg/building-state.xml:
9006 * docs/pwg/other-source.xml:
9007 Update state change stuff for 0.10 (fixes #322969).
9009 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9011 * docs/manual/advanced-dataaccess.xml:
9012 * docs/manual/appendix-checklist.xml:
9013 * docs/manual/appendix-programs.xml:
9014 * docs/manual/basics-pads.xml:
9015 * docs/manual/highlevel-components.xml:
9016 * docs/manual/manual.xml:
9017 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9018 add converters in front of pipelines; remove curly
9019 brackets for threads stuff, they no longer exist; use
9020 GST_TYPE_FRACTION for framerates; update some pieces of
9021 code to 0.10, but there's plenty more to do.
9023 * docs/manual/appendix-porting.xml:
9024 Expand on asynchroneous state changes; s/0.9/0.10/;
9025 mention disappearance of gst_init_get_popt_table()
9028 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9030 * docs/faq/using.xml:
9031 Spider no longer exists, and neither does gst-launch-ext.
9032 Update examples to use decodebin and playbin and put
9033 converters in front of sinks (fixes #323726).
9035 2005-12-09 Michael Smith <msmith@fluendo.com>
9037 * plugins/elements/gsttypefindelement.c: (find_peek),
9038 (gst_type_find_element_chain):
9039 Fix leaking element factories in typefinding.
9040 Fix problem where we forgot about a probable type on non-seekable
9041 files, and thus later mis-typefound it.
9043 2005-12-09 Michael Smith <msmith@fluendo.com>
9045 * common/m4/gst-makecontext.m4:
9046 * common/m4/gst-mcsc.m4:
9048 * win32/common/config.h:
9049 * win32/common/config.h.in:
9050 Remove makecontext stuff; not used in 0.10 and causes problems on
9051 HPUX according to bug #322441
9053 2005-12-07 Wim Taymans <wim@fluendo.com>
9055 * tests/check/Makefile.am:
9056 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9058 * tests/check/libs/struct_i386.h:
9059 Added ABI check for libs
9061 2005-12-07 Wim Taymans <wim@fluendo.com>
9063 * tests/check/Makefile.am:
9064 And add the struct_i386.h to dist.
9066 2005-12-07 Wim Taymans <wim@fluendo.com>
9068 * tests/check/Makefile.am:
9069 * tests/check/gst/.cvsignore:
9070 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9072 * tests/check/gst/struct_i386.h:
9073 Added check for ABI compatibility.
9075 2005-12-07 Wim Taymans <wim@fluendo.com>
9077 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9078 (gst_fake_src_get_times), (gst_fake_src_create):
9079 Fix broken sync option, fixes #323259
9081 2005-12-07 Wim Taymans <wim@fluendo.com>
9086 * gst/gstcaps.c: (gst_caps_is_equal):
9087 Don't assert on NULL <--> X. Fixes #323260
9089 * gst/gstminiobject.c: (gst_mini_object_replace):
9090 If we're doing atomic operations, we might just as well use
9091 the proper way to get an atomic pointer.
9093 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9096 2005-12-07 Michael Smith <msmith@fluendo.com>
9098 * gst/parse/grammar.y:
9099 Remove handling of { } for threads.
9101 2005-12-06 David Schleef <ds@schleef.org>
9103 * libs/gst/base/gstbasetransform.c: speling fix.
9105 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9107 * docs/libs/tmpl/gstdataprotocol.sgml:
9108 * docs/random/omega/testing/gstobject.c:
9112 * gst/gstelementfactory.c:
9115 * gst/gstghostpad.c:
9117 * gst/gstpadtemplate.c:
9118 * gst/gstregistryxml.c:
9120 * gst/gsttagsetter.c:
9121 * gst/gsttypefind.c:
9123 * libs/gst/base/gstbasesrc.c:
9124 * libs/gst/net/gstnetclientclock.c:
9125 * libs/gst/net/gstnettimeprovider.c:
9126 * plugins/elements/gstfakesrc.c:
9127 * plugins/elements/gstfdsrc.c:
9128 * plugins/elements/gstfilesrc.c:
9129 * plugins/elements/gstidentity.c:
9130 * plugins/elements/gstqueue.c:
9131 * plugins/elements/gsttypefindelement.c:
9132 * plugins/indexers/gstfileindex.c:
9133 * plugins/indexers/gstmemindex.c:
9134 * tests/check/gst/gsttag.c:
9135 * tests/old/examples/cutter/cutter.c:
9136 * tests/old/examples/mixer/mixer.c:
9137 * tests/old/examples/xml/runxml.c: (main):
9138 * tests/old/testsuite/caps/normalisation.c:
9139 * tests/old/testsuite/debug/global.c:
9140 * tests/old/testsuite/parse/parse1.c:
9141 * tools/gst-xmlinspect.c:
9142 * win32/common/dirent.c:
9145 === release 0.10.0 ===
9147 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9150 releasing 0.10.0, "Maroilles"
9152 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9154 submitted by: Funda Wang <fundawang@linux.net.cn>
9158 added Chinese (Traditional) translation
9160 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9162 * docs/gst/gstreamer-sections.txt:
9163 * docs/libs/tmpl/gstdataprotocol.sgml:
9164 * docs/random/thomasvs/TODO:
9169 2005-12-05 Andy Wingo <wingo@pobox.com>
9171 patch by: Wim Taymans <wim@fluendo.com>
9173 * libs/gst/base/gstbasetransform.c
9174 (gst_base_transform_prepare_output_buf)
9175 (gst_base_transform_buffer_alloc):
9176 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9177 alloc_buffer_and_set_caps.
9179 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9180 set_caps on the source pad.
9181 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9182 alloc_buffer used to do. Fixes #322874.
9184 * docs/gst/gstreamer-sections.txt:
9185 * docs/design/part-negotiation.txt:
9186 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9189 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9191 patch by: Sebastien Moutte
9194 * win32/common/config.h.in:
9195 * win32/vs6/libgstcontroller.dsp:
9198 2005-12-05 Wim Taymans <wim@fluendo.com>
9200 * gst/gstcaps.c: (gst_caps_is_equal):
9201 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9202 (gst_fake_src_create):
9203 Back out previous code changes, leave doc updates, file bugs
9206 2005-12-05 Wim Taymans <wim@fluendo.com>
9208 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9209 (gst_fake_src_get_times), (gst_fake_src_create):
9210 * plugins/elements/gstfakesrc.h:
9211 Fix broken sync code.
9213 2005-12-05 Wim Taymans <wim@fluendo.com>
9215 * gst/gstcaps.c: (gst_caps_is_equal):
9216 Comparing NULL against !NULL yields different caps, not a
9219 2005-12-05 Wim Taymans <wim@fluendo.com>
9221 * gst/gstpipeline.c:
9222 Fix small typo in docs.
9224 2005-12-05 Andy Wingo <wingo@pobox.com>
9226 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9228 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9229 registries/plugins with a MAJORMINOR one.
9230 (plugin_desc): Rename library from gstcoreleements to
9231 staticelements. Fixes #323222.
9233 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9235 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9236 Change debug category to 'collectpads' from 'collect_pads'
9239 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9241 patch by: Sebastien Moutte
9243 * libs/gst/controller/gstinterpolation.c:
9244 use convert function for uint64/double
9245 * win32/vs6/libgstcontroller.dsp:
9248 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9250 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9251 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9253 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9254 add tests that seem to show that the guint64/gdouble conversions
9257 2005-12-02 Wim Taymans <wim@fluendo.com>
9259 * gst/gstregistry.c: (gst_registry_add_path):
9260 * gst/gstregistry.h:
9261 * gst/gstregistryxml.c:
9264 2005-12-02 Wim Taymans <wim@fluendo.com>
9266 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9267 (gst_util_uint64_scale_int):
9270 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9273 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9276 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9279 * win32/common/config.h:
9280 * win32/vs6/gstreamer.dsw:
9281 * win32/vs6/libgstcoreelements.dsp:
9282 * win32/vs6/libgstelements.dsp:
9283 renamed core elements plugin
9285 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9287 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9289 do piece-wise major/minor comparison so 0.9 < 0.10
9290 also allow .exe extensions for tools
9292 2005-12-02 Michael Smith <msmith@fluendo.com>
9295 Escape a % to make gtkdoc happier; bug 322958.
9297 === release 0.9.7 ===
9299 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9302 releasing 0.9.7, "My Dog Has No Nose"
9304 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9306 * common/gst-xmlinspect.py:
9308 * docs/libs/tmpl/gstdataprotocol.sgml:
9309 * docs/random/release:
9328 * win32/common/config.h:
9329 * win32/common/config.h.in:
9330 * win32/vs6/gst_inspect.dsp:
9331 * win32/vs6/gst_launch.dsp:
9332 * win32/vs6/libgstbase.dsp:
9333 * win32/vs6/libgstelements.dsp:
9334 * win32/vs6/libgstreamer.dsp:
9335 * win32/vs7/GStreamer.vcproj:
9336 * win32/vs7/gst-inspect.vcproj:
9337 * win32/vs7/gst-launch.vcproj:
9338 * win32/vs7/libgstbase.vcproj:
9339 bump GST_MAJORMINOR to 0.10
9340 reset libtool version
9342 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9346 Added Bulgarian translation by (Alexander Shopov)
9348 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9350 * tests/check/gst/gstplugin.c:
9353 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9355 * common/gst-xmlinspect.py:
9356 * common/gtk-doc-plugins.mak:
9359 * docs/gst/Makefile.am:
9360 * docs/gst/gstreamer-docs.sgml:
9361 * docs/gst/gstreamer-sections.txt:
9362 * docs/gst/gstreamer.types:
9363 * docs/gst/gstreamer.types.in:
9364 * docs/plugins/Makefile.am:
9365 * docs/plugins/gstreamer-plugins-docs.sgml:
9366 * docs/plugins/gstreamer-plugins-sections.txt:
9367 * docs/plugins/gstreamer-plugins.types:
9368 * docs/plugins/inspect.stamp:
9369 * docs/plugins/inspect/plugin-coreelements.xml:
9370 * docs/plugins/inspect/plugin-coreindexers.xml:
9371 * docs/plugins/scanobj-build.stamp:
9372 * gstreamer.spec.in:
9373 * plugins/elements/Makefile.am:
9374 * plugins/elements/gstelements.c:
9375 * plugins/elements/gstfakesink.c:
9376 * plugins/elements/gstfakesrc.c:
9377 * plugins/elements/gstfilesink.c:
9378 * plugins/elements/gstfilesrc.c:
9379 * plugins/elements/gstqueue.c:
9380 * plugins/indexers/Makefile.am:
9381 * plugins/indexers/gstindexers.c:
9382 document core plugins in a separate document just like all the
9384 rename these plugins to something starting with core
9386 2005-12-01 Andy Wingo <wingo@pobox.com>
9388 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9389 padding here before, but it missed the commit.
9391 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9393 * libs/gst/controller/gstinterpolation.c:
9394 whitespace prices have crashed, we should feel free to use some now
9395 use gst_guint64_to_gdouble
9397 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9399 * libs/gst/controller/gstcontroller.c:
9400 * libs/gst/controller/gsthelper.c:
9401 * libs/gst/controller/gstinterpolation.c:
9402 * libs/gst/controller/lib.c:
9403 wrap config.h include
9405 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9407 * docs/gst/gstreamer-sections.txt:
9410 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
9412 * plugins/elements/gstelements.c:
9413 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9414 (gst_fd_sink__class_init), (gst_fd_sink__init),
9415 (gst_fd_sink__chain), (gst_fd_sink__set_property),
9416 (gst_fd_sink__get_property):
9417 * plugins/elements/gstfdsink.h:
9418 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9419 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9420 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9421 (gst_fd_src_unlock), (gst_fd_src_set_property),
9422 (gst_fd_src_get_property), (gst_fd_src_create),
9423 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9424 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9425 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9426 (gst_fd_src_uri_handler_init):
9427 * plugins/elements/gstfdsrc.h:
9428 * plugins/elements/gstqueue.c: (gst_queue_get_type):
9431 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9433 * docs/gst/Makefile.am:
9434 * docs/gst/gstreamer.types.in:
9438 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9444 * gst/gstregistry.h:
9445 * tests/benchmarks/complexity.c:
9446 * tests/benchmarks/mass-elements.c:
9447 * tests/check/Makefile.am:
9448 * tools/Makefile.am:
9449 * tools/gst-inspect.c:
9450 * tools/gst-xmlinspect.c:
9451 various fixes to make
9452 --disable-nls --disable-registry --disable-loadsave
9453 --disable-parse --disable-gst-debug
9454 work and get the core .so down to 360444 bytes after stripping
9456 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9461 * docs/random/thomasvs/TODO:
9462 * tests/Makefile.am:
9466 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9468 * win32/GStreamer.vcproj:
9471 * win32/Makefile.inspect:
9472 * win32/Makefile.launch:
9473 * win32/Makefile.register:
9475 * win32/gst-inspect.vcproj:
9476 * win32/gst-launch.vcproj:
9477 * win32/gst-register.vcproj:
9478 * win32/gstelements.vcproj:
9479 * win32/gstgetbits.def:
9480 * win32/gstgetbits.vcproj:
9481 * win32/gstreamer-dbg.def:
9482 * win32/gstreamer.def:
9483 * win32/libgstbase.def:
9484 * win32/libgstbase.vcproj:
9485 * win32/link_oldruntime.c:
9490 move even more stuff, win32/ is nice and clean now
9492 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9494 * libs/gst/control/.cvsignore:
9499 * win32/gstbytestream.def:
9500 * win32/gstbytestream.vcproj:
9501 * win32/gstconfig.h:
9502 * win32/gstenumtypes.c:
9503 * win32/gstenumtypes.h:
9504 * win32/gstoptimalscheduler.vcproj:
9505 * win32/gstversion.h:
9507 * win32/testsuite/bins.vcproj:
9508 * win32/testsuite/bytestream.vcproj:
9509 * win32/testsuite/caps.vcproj:
9510 * win32/testsuite/cleanup.vcproj:
9511 * win32/testsuite/clock.vcproj:
9512 * win32/testsuite/debug.vcproj:
9513 * win32/testsuite/dlopen.vcproj:
9514 * win32/testsuite/dynparams.vcproj:
9515 * win32/testsuite/elements.vcproj:
9516 * win32/testsuite/ghostpads.vcproj:
9517 * win32/testsuite/indexers.vcproj:
9518 * win32/testsuite/negotiation.vcproj:
9519 * win32/testsuite/parse.vcproj:
9520 * win32/testsuite/plugin.vcproj:
9521 * win32/testsuite/refcounting.vcproj:
9522 * win32/testsuite/schedulers.vcproj:
9523 * win32/testsuite/states.vcproj:
9524 * win32/testsuite/tags.vcproj:
9525 * win32/testsuite/threads.vcproj:
9526 remove old win32 stuff that isn't maintained and should be
9529 2005-11-30 Andy Wingo <wingo@pobox.com>
9531 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9532 loading the gst.interfaces python module bork.
9534 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9535 available since GLib 2.2. Fixes #318031.
9537 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9541 * check/Makefile.am:
9542 * check/elements/.cvsignore:
9543 * check/elements/fakesrc.c:
9544 * check/elements/fdsrc.c:
9545 * check/elements/identity.c:
9546 * check/generic/.cvsignore:
9547 * check/generic/states.c:
9548 * check/gst-libs/.cvsignore:
9549 * check/gst-libs/controller.c:
9550 * check/gst-libs/gdp.c:
9551 * check/gst/.cvsignore:
9552 * check/gst/capslist.h:
9554 * check/gst/gstbin.c:
9555 * check/gst/gstbuffer.c:
9556 * check/gst/gstbus.c:
9557 * check/gst/gstcaps.c:
9558 * check/gst/gstelement.c:
9559 * check/gst/gstevent.c:
9560 * check/gst/gstghostpad.c:
9561 * check/gst/gstiterator.c:
9562 * check/gst/gstmessage.c:
9563 * check/gst/gstminiobject.c:
9564 * check/gst/gstobject.c:
9565 * check/gst/gstpad.c:
9566 * check/gst/gstpipeline.c:
9567 * check/gst/gstplugin.c:
9568 * check/gst/gstsegment.c:
9569 * check/gst/gststructure.c:
9570 * check/gst/gstsystemclock.c:
9571 * check/gst/gsttag.c:
9572 * check/gst/gstutils.c:
9573 * check/gst/gstvalue.c:
9574 * check/net/.cvsignore:
9575 * check/net/gstnetclientclock.c:
9576 * check/net/gstnettimeprovider.c:
9577 * check/pipelines/.cvsignore:
9578 * check/pipelines/cleanup.c:
9579 * check/pipelines/simple_launch_lines.c:
9580 * check/pipelines/stress.c:
9581 * check/states/.cvsignore:
9582 * check/states/sinks.c:
9584 * examples/Makefile.am:
9585 * examples/appreader/.cvsignore:
9586 * examples/appreader/Makefile.am:
9587 * examples/appreader/appreader.c:
9588 * examples/controller/.cvsignore:
9589 * examples/controller/Makefile.am:
9590 * examples/controller/audio-example.c:
9591 * examples/cutter/.cvsignore:
9592 * examples/cutter/Makefile.am:
9593 * examples/cutter/cutter.c:
9594 * examples/cutter/cutter.h:
9595 * examples/events/Makefile.am:
9596 * examples/events/seek.c:
9597 * examples/helloworld/.cvsignore:
9598 * examples/helloworld/Makefile.am:
9599 * examples/helloworld/helloworld.c:
9600 * examples/helloworld2/.cvsignore:
9601 * examples/helloworld2/Makefile.am:
9602 * examples/helloworld2/helloworld2.c:
9603 * examples/launch/.cvsignore:
9604 * examples/launch/Makefile.am:
9605 * examples/launch/mp3parselaunch.c:
9606 * examples/launch/mp3play:
9607 * examples/manual/.cvsignore:
9608 * examples/manual/Makefile.am:
9609 * examples/manual/extract.pl:
9610 * examples/metadata/Makefile.am:
9611 * examples/metadata/read-metadata.c:
9612 * examples/mixer/.cvsignore:
9613 * examples/mixer/Makefile.am:
9614 * examples/mixer/mixer.c:
9615 * examples/mixer/mixer.h:
9616 * examples/pingpong/.cvsignore:
9617 * examples/pingpong/Makefile.am:
9618 * examples/pingpong/pingpong.c:
9619 * examples/plugins/.cvsignore:
9620 * examples/plugins/Makefile.am:
9621 * examples/plugins/example.c:
9622 * examples/plugins/example.h:
9623 * examples/pwg/.cvsignore:
9624 * examples/pwg/Makefile.am:
9625 * examples/pwg/extract.pl:
9626 * examples/queue/.cvsignore:
9627 * examples/queue/Makefile.am:
9628 * examples/queue/queue.c:
9629 * examples/queue2/.cvsignore:
9630 * examples/queue2/Makefile.am:
9631 * examples/queue2/queue2.c:
9632 * examples/queue3/.cvsignore:
9633 * examples/queue3/Makefile.am:
9634 * examples/queue3/queue3.c:
9635 * examples/queue4/.cvsignore:
9636 * examples/queue4/Makefile.am:
9637 * examples/queue4/queue4.c:
9638 * examples/retag/.cvsignore:
9639 * examples/retag/Makefile.am:
9640 * examples/retag/retag.c:
9641 * examples/retag/transcode.c:
9642 * examples/thread/.cvsignore:
9643 * examples/thread/Makefile.am:
9644 * examples/thread/thread.c:
9645 * examples/typefind/.cvsignore:
9646 * examples/typefind/Makefile.am:
9647 * examples/typefind/typefind.c:
9648 * examples/xml/.cvsignore:
9649 * examples/xml/Makefile.am:
9650 * examples/xml/createxml.c:
9651 * examples/xml/runxml.c:
9652 * tests/Makefile.am:
9653 * tests/check/Makefile.am:
9654 * testsuite/.cvsignore:
9655 * testsuite/Makefile.am:
9657 * testsuite/caps/.cvsignore:
9658 * testsuite/caps/Makefile.am:
9659 * testsuite/caps/app_fixate.c:
9660 * testsuite/caps/audioscale.c:
9661 * testsuite/caps/caps.c:
9662 * testsuite/caps/caps.h:
9663 * testsuite/caps/caps_strings:
9664 * testsuite/caps/compatibility.c:
9665 * testsuite/caps/deserialize.c:
9666 * testsuite/caps/enumcaps.c:
9667 * testsuite/caps/eratosthenes.c:
9668 * testsuite/caps/filtercaps.c:
9669 * testsuite/caps/fixed.c:
9670 * testsuite/caps/fraction-convert.c:
9671 * testsuite/caps/fraction-multiply-and-zero.c:
9672 * testsuite/caps/intersect2.c:
9673 * testsuite/caps/intersection.c:
9674 * testsuite/caps/normalisation.c:
9675 * testsuite/caps/random.c:
9676 * testsuite/caps/renegotiate.c:
9677 * testsuite/caps/sets.c:
9678 * testsuite/caps/simplify.c:
9679 * testsuite/caps/string-conversions.c:
9680 * testsuite/caps/structure.c:
9681 * testsuite/caps/subtract.c:
9682 * testsuite/caps/union.c:
9683 * testsuite/debug/.cvsignore:
9684 * testsuite/debug/Makefile.am:
9685 * testsuite/debug/category.c:
9686 * testsuite/debug/commandline.c:
9687 * testsuite/debug/global.c:
9688 * testsuite/debug/output.c:
9689 * testsuite/debug/printf_extension.c:
9690 * testsuite/dlopen/.cvsignore:
9691 * testsuite/dlopen/Makefile.am:
9692 * testsuite/dlopen/dlopen_gst.c:
9693 * testsuite/dlopen/loadgst.c:
9694 * testsuite/elements/.cvsignore:
9695 * testsuite/elements/Makefile.am:
9696 * testsuite/elements/gst-inspect-check.in:
9697 * testsuite/elements/struct_i386.h:
9698 * testsuite/elements/struct_size.c:
9699 * testsuite/indexers/.cvsignore:
9700 * testsuite/indexers/Makefile.am:
9701 * testsuite/indexers/cache1.c:
9702 * testsuite/indexers/indexdump.c:
9703 * testsuite/parse/.cvsignore:
9704 * testsuite/parse/Makefile.am:
9705 * testsuite/parse/parse1.c:
9706 * testsuite/parse/parse2.c:
9707 * testsuite/plugin/.cvsignore:
9708 * testsuite/plugin/Makefile.am:
9709 * testsuite/plugin/README:
9710 * testsuite/plugin/dynamic.c:
9711 * testsuite/plugin/linked.c:
9712 * testsuite/plugin/loading.c:
9713 * testsuite/plugin/registry.c:
9714 * testsuite/plugin/static.c:
9715 * testsuite/plugin/static2.c:
9716 * testsuite/plugin/testplugin.c:
9717 * testsuite/plugin/testplugin2.c:
9718 * testsuite/plugin/testplugin2_s.c:
9719 * testsuite/plugin/testplugin_s.c:
9720 * testsuite/refcounting/.cvsignore:
9721 * testsuite/refcounting/Makefile.am:
9722 * testsuite/refcounting/bin.c:
9723 * testsuite/refcounting/element.c:
9724 * testsuite/refcounting/element_pad.c:
9725 * testsuite/refcounting/mainloop.c:
9726 * testsuite/refcounting/mem.c:
9727 * testsuite/refcounting/mem.h:
9728 * testsuite/refcounting/object.c:
9729 * testsuite/refcounting/pad.c:
9730 * testsuite/refcounting/sched.c:
9731 * testsuite/refcounting/thread.c:
9732 * testsuite/states/.cvsignore:
9733 * testsuite/states/Makefile.am:
9734 * testsuite/states/bin.c:
9735 * testsuite/states/locked.c:
9736 * testsuite/states/parent.c:
9737 * testsuite/threads/.cvsignore:
9738 * testsuite/threads/159566.c:
9739 * testsuite/threads/159852.c:
9740 * testsuite/threads/Makefile.am:
9741 * testsuite/threads/queue.c:
9742 * testsuite/threads/signals.c:
9743 * testsuite/threads/staticrec.c:
9744 * testsuite/threads/thread.c:
9745 * testsuite/threads/threadb.c:
9746 * testsuite/threads/threadc.c:
9747 * testsuite/threads/threadd.c:
9748 * testsuite/threads/threade.c:
9749 * testsuite/threads/threadf.c:
9750 * testsuite/threads/threadg.c:
9751 * testsuite/threads/threadh.c:
9752 * testsuite/threads/threadi.c:
9753 move all of these under tests
9755 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9758 * tests/Makefile.am:
9761 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9763 * docs/gst/gstreamer-sections.txt:
9764 * tests/sched/.cvsignore:
9765 * tests/sched/Makefile.am:
9766 * tests/sched/cases/(fs-fs).xml:
9767 * tests/sched/cases/(fs-i-fs).xml:
9768 * tests/sched/cases/(fs-i-i-fs).xml:
9769 * tests/sched/cases/(fs-i-q[i-fs]).xml:
9770 * tests/sched/dynamic-pipeline.c:
9771 * tests/sched/interrupt1.c:
9772 * tests/sched/interrupt2.c:
9773 * tests/sched/interrupt3.c:
9774 * tests/sched/runtestcases:
9775 * tests/sched/runxml.c:
9776 * tests/sched/sched-stress.c:
9777 * tests/sched/sort.c:
9778 * tests/sched/testcases:
9779 * tests/sched/testcases1.tc:
9780 * tests/seeking/.cvsignore:
9781 * tests/seeking/Makefile.am:
9782 * tests/seeking/seeking1.c:
9783 * tests/threadstate/.cvsignore:
9784 * tests/threadstate/Makefile.am:
9785 * tests/threadstate/test1.c:
9786 * tests/threadstate/test2.c:
9787 * tests/threadstate/threadstate1.c:
9788 * tests/threadstate/threadstate2.c:
9789 * tests/threadstate/threadstate3.c:
9790 * tests/threadstate/threadstate4.c:
9791 * tests/threadstate/threadstate5.c:
9792 remove obsolete tests
9794 * tests/bench-complexity.scm:
9795 * tests/bench-mass_elements.scm:
9796 * tests/complexity.c:
9797 * tests/complexity.gnuplot:
9798 * tests/instantiate/.cvsignore:
9799 * tests/instantiate/Makefile.am:
9800 * tests/instantiate/caps.c:
9801 * tests/mass_elements.c:
9802 * tests/network-clock-utils.scm:
9803 * tests/network-clock.scm:
9805 First pass at cleaning up tests/ dir before moving the rest
9806 Combined with CVS surgery
9808 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9811 queue has moved, update
9813 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9815 * docs/gst/gstreamer-sections.txt:
9816 remove double entries from the docs
9817 * gst/gst_private.h:
9818 * gst/gstinfo.c: (_gst_debug_init):
9819 remove the THREAD debug category
9823 * docs/gst/gstreamer.types:
9824 * plugins/elements/gstqueue.c: (gst_queue_get_type),
9825 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
9826 completely move queue and fix up debugging categories
9828 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9830 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9831 make initialization portable, using LL is not
9833 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9835 * win32/common/gstconfig.h:
9838 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9840 * win32/common/libgstreamer.def:
9841 rename symbols; sort base section
9843 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9845 * gst/gstclock.c: (do_linear_regression):
9846 remove crack non-portable handrolled DEBUG macro
9848 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9850 * docs/random/release:
9852 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9853 (gst_object_flags_get_type), (register_gst_bin_flags),
9854 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9855 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9856 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9857 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
9858 (gst_caps_flags_get_type), (register_gst_clock_return),
9859 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9860 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9861 (gst_clock_flags_get_type), (register_gst_state),
9862 (gst_state_get_type), (register_gst_state_change_return),
9863 (gst_state_change_return_get_type), (register_gst_state_change),
9864 (gst_state_change_get_type), (register_gst_element_flags),
9865 (gst_element_flags_get_type), (register_gst_core_error),
9866 (gst_core_error_get_type), (register_gst_library_error),
9867 (gst_library_error_get_type), (register_gst_resource_error),
9868 (gst_resource_error_get_type), (register_gst_stream_error),
9869 (gst_stream_error_get_type), (register_gst_event_type_flags),
9870 (gst_event_type_flags_get_type), (register_gst_event_type),
9871 (gst_event_type_get_type), (register_gst_seek_type),
9872 (gst_seek_type_get_type), (register_gst_seek_flags),
9873 (gst_seek_flags_get_type), (register_gst_format),
9874 (gst_format_get_type), (register_gst_index_certainty),
9875 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9876 (gst_index_entry_type_get_type),
9877 (register_gst_index_lookup_method),
9878 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9879 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9880 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9881 (gst_index_flags_get_type), (register_gst_debug_level),
9882 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9883 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9884 (gst_iterator_result_get_type), (register_gst_iterator_item),
9885 (gst_iterator_item_get_type), (register_gst_message_type),
9886 (gst_message_type_get_type), (register_gst_mini_object_flags),
9887 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9888 (gst_pad_link_return_get_type), (register_gst_flow_return),
9889 (gst_flow_return_get_type), (register_gst_activate_mode),
9890 (gst_activate_mode_get_type), (register_gst_pad_direction),
9891 (gst_pad_direction_get_type), (register_gst_pad_flags),
9892 (gst_pad_flags_get_type), (register_gst_pad_presence),
9893 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9894 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9895 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9896 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9897 (gst_plugin_flags_get_type), (register_gst_rank),
9898 (gst_rank_get_type), (register_gst_query_type),
9899 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9900 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9901 (gst_tag_flag_get_type), (register_gst_task_state),
9902 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9903 (gst_alloc_trace_flags_get_type),
9904 (register_gst_type_find_probability),
9905 (gst_type_find_probability_get_type), (register_gst_uri_type),
9906 (gst_uri_type_get_type), (register_gst_parse_error),
9907 (gst_parse_error_get_type):
9908 * win32/common/gstenumtypes.h:
9909 * win32/common/gstversion.h:
9910 update visual studio generated files
9912 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9914 * win32/vs6/libgstbase.dsp:
9915 * win32/vs6/libgstelements.dsp:
9916 update project files for new locations
9918 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
9923 reinstate and update
9928 * docs/random/LICENSE:
9931 2005-11-30 Edward Hervey <edward@fluendo.com>
9933 * gst/gsttypefind.c: (gst_type_find_register):
9934 * gst/gsttypefind.h:
9935 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
9936 (gst_type_find_factory_dispose):
9937 * gst/gsttypefindfactory.h:
9938 Fix memory leak in GstTypeFindFactory.
9940 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9943 * plugins/elements/Makefile.am:
9944 * plugins/elements/gstelements.c:
9945 * plugins/elements/gstqueue.c:
9946 move queue from core to the elements plugin
9948 2005-11-29 Andy Wingo <wingo@pobox.com>
9950 * libs/gst/base/gstbasetransform.h:
9951 * libs/gst/base/gstbasesrc.h:
9952 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
9954 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
9955 of pointers by which to pad very extensible base classes (like the
9956 ones in libs/gst/base).
9958 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9960 * docs/gst/gstreamer-docs.sgml:
9961 * docs/gst/gstreamer-sections.txt:
9962 * docs/libs/gstreamer-libs-docs.sgml:
9963 * docs/libs/gstreamer-libs-sections.txt:
9964 moving documentation from core to lib
9966 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9968 * check/Makefile.am:
9970 * docs/gst/Makefile.am:
9972 * gst/base/.cvsignore:
9973 * gst/base/Makefile.am:
9975 * gst/base/gstadapter.c:
9976 * gst/base/gstadapter.h:
9977 * gst/base/gstbasesink.c:
9978 * gst/base/gstbasesink.h:
9979 * gst/base/gstbasesrc.c:
9980 * gst/base/gstbasesrc.h:
9981 * gst/base/gstbasetransform.c:
9982 * gst/base/gstbasetransform.h:
9983 * gst/base/gstcollectpads.c:
9984 * gst/base/gstcollectpads.h:
9985 * gst/base/gstpushsrc.c:
9986 * gst/base/gstpushsrc.h:
9987 * gst/base/gsttypefindhelper.c:
9988 * gst/base/gsttypefindhelper.h:
9989 * gst/check/Makefile.am:
9990 * gst/check/gstcheck.c:
9991 * gst/check/gstcheck.h:
9992 * gst/net/Makefile.am:
9994 * gst/net/gstnetclientclock.c:
9995 * gst/net/gstnetclientclock.h:
9996 * gst/net/gstnettimepacket.c:
9997 * gst/net/gstnettimepacket.h:
9998 * gst/net/gstnettimeprovider.c:
9999 * gst/net/gstnettimeprovider.h:
10000 * libs/gst/Makefile.am:
10001 * libs/gst/base/Makefile.am:
10002 * libs/gst/base/gstbasetransform.c:
10003 * libs/gst/check/Makefile.am:
10004 * plugins/elements/Makefile.am:
10006 CVS surgery + support to move base, check, and net out of gst
10009 2005-11-29 Andy Wingo <wingo@pobox.com>
10011 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10013 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10016 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10018 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10020 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10022 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10023 padding; reduces object size by about 30%. We don't expect
10024 anything else to go into gstobject.
10026 * gst/gstminiobject.h (struct _GstMiniObject)
10027 (struct _GstMiniObjectClass): Only one pointer of padding; the
10028 payload is only a pointer and two ints anyway. For the class there
10029 are only two methods as well.
10031 * gst/gstelement.h (struct _GstElementClass): Removed
10032 the state_changed signal callback, it is not used.
10034 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10036 * docs/gst/gstreamer.types:
10037 fix includes, though they are a little dinky
10039 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10041 * check/Makefile.am:
10042 look in the right place for elements, a lot more chance of
10045 remove indexers and elements subdirs
10046 * plugins/Makefile.am:
10047 make indexers conditional
10049 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10053 * plugins/elements/Makefile.am:
10054 * plugins/elements/gstcapsfilter.c:
10055 * plugins/elements/gstfilesink.c:
10056 * plugins/elements/gstfilesrc.c:
10057 * plugins/elements/gstidentity.c:
10058 * plugins/indexers/Makefile.am:
10059 do CVS surgery and related build fixery to move elements
10060 and indexers in a new gstreamer/plugins directory, out of the
10063 2005-11-29 Andy Wingo <wingo@pobox.com>
10065 * check/Makefile.am:
10066 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10067 * pkgconfig/gstreamer-net.pc.in:
10068 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10071 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10073 * tools/Makefile.am:
10074 * tools/gst-complete.1.in:
10075 * tools/gst-complete.c:
10076 * tools/gst-compprep.1.in:
10077 * tools/gst-compprep.c:
10078 removing -compprep and -complete
10080 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10082 * gst/gstevent.c: (gst_event_new_new_segment),
10083 (gst_event_parse_new_segment):
10085 fix #320529 - clean up new_segment API and structure.
10086 Let's hope everyone was using the methods, and not the structure.
10088 2005-11-29 Edward Hervey <edward@fluendo.com>
10090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10091 (gst_base_sink_event), (gst_base_sink_do_sync),
10092 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10093 Properly handle non GST_FORMAT_TIME segment
10094 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10095 Properly handle non GST_FORMAT_TIME segment
10096 * gst/gstsegment.c:
10097 This function is valid if the accumulator is 0 and the format
10098 is different from the requested format.
10100 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10102 * docs/gst/gstreamer-sections.txt:
10103 Add gst_query_new_seeking and gst_query_parse_seeking to the
10106 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10108 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10109 Treat a pad alloc with new caps the same as if we were not
10110 negotiated, in order to allow a changing upstream output
10111 to produce a new format of data.
10113 2005-11-29 Edward Hervey <edward@fluendo.com>
10115 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10116 (gst_base_transform_event), (gst_base_transform_eventfunc):
10117 The event virtual method is now properly implemented, with a default
10119 Sub classes should call the parent_class event method. They should
10120 return FALSE if they had a problem handling the given event, or don't
10121 want GstBaseTransform to send that even downstream
10122 * gst/elements/gstidentity.c: (gst_identity_class_init),
10123 (gst_identity_init), (gst_identity_event),
10124 (gst_identity_transform_ip), (gst_identity_set_property),
10125 (gst_identity_get_property):
10126 * gst/elements/gstidentity.h:
10127 Added the single-segment boolean property.
10128 If set to TRUE, it will output a single segment of data, starting from
10129 0, will eat up all incoming newsegment, and modify the timestamp of the
10130 buffers accordingly
10132 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10134 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10135 Don't ref NULL target pad (#322751). Improve docs.
10137 2005-11-29 Michael Smith <msmith@fluendo.com>
10139 * gst/gstregistryxml.c: (load_plugin):
10140 Don't crash if we failed to load a feature from a plugin.
10142 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10144 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10146 use more check API and less GLib API
10148 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10151 don't run checks if we don't have check
10152 * common/check.mak:
10153 remove the registry when running make torture
10154 * docs/gst/gstreamer-sections.txt:
10155 remove second multiply
10156 * gst/gstqueue.c: (gst_queue_loop):
10157 fix a compile warning when disabling debug
10159 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10162 Hey! Let's print the pad name if the pointer != NULL instead
10163 of when it == NULL :-)
10165 2005-11-28 Wim Taymans <wim@fluendo.com>
10167 * check/gst/gstutils.c: (GST_START_TEST):
10168 Updated check, add some scaling accuracy checking code.
10170 * gst/gstutils.c: (gst_util_div128_64),
10171 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10172 (gst_util_uint64_scale_int):
10173 Fix 6 times faster division code. Optimize for common
10174 1/1 and less common X/1 cases.
10176 2005-11-28 Wim Taymans <wim@fluendo.com>
10178 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10181 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10182 (do_linear_regression), (gst_clock_add_observation):
10184 Release lock when the clock cannot be slaved.
10185 Catch the case where the regression returned an invalid denominator.
10187 * gst/gstutils.c: (gst_util_div128_64_iterate),
10188 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10189 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10190 Add protentially more performant non-iterative 128/64 divide function
10191 that unfortunatly does not work yet.
10192 Shortcut the trivial 0/X = 0 case.
10193 Remove the warnings on overflow.
10195 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10197 * gst/gstplugin.c: (gst_plugin_register_func):
10198 everything causing a plugin not to load should be at least a WARNING
10200 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10202 * docs/random/ensonic/dparams.txt:
10203 some TODOs for the next dev cycle
10204 * libs/gst/controller/gstcontroller.c:
10205 (gst_controlled_property_set_interpolation_mode),
10206 (gst_controlled_property_new):
10207 * libs/gst/controller/gstcontroller.h:
10208 use base type to assign acccessor functions
10210 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10212 * check/Makefile.am:
10213 Oops, that should have been top_srcdir
10215 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10217 * check/Makefile.am:
10218 * check/elements/fdsrc.c: (GST_START_TEST):
10219 Use a cmdline define to specify the location of a file to use for
10220 testing, to avoid breaking distcheck.
10222 2005-11-28 Andy Wingo <wingo@pobox.com>
10224 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10226 2005-11-28 Edward Hervey <edward@fluendo.com>
10228 * tools/gst-launch.c: (main):
10229 Clarify the output strings, makes it easier to translate.
10232 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10235 don't try and build net if we don't even have <sys/socket.h>
10237 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10239 * check/Makefile.am:
10240 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10241 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10242 Add tests for fdsrc seekability
10244 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10245 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10246 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10247 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10248 * gst/elements/gstfdsrc.h:
10249 fdsrc should not be a 'live' source.
10250 Implement seeking on seekable fd's.
10252 * gst/gstquery.c: (gst_query_new_seeking),
10253 (gst_query_parse_seeking):
10255 Implement SEEKING query functions:
10256 *_new_seeking and *_parse_seeking
10258 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10260 * gst/gstelement.c: (gst_element_dispose):
10263 * gst/gstiterator.c:
10264 * gst/gststructure.c:
10267 * libs/gst/controller/gstcontroller.c:
10268 (gst_controlled_property_set_interpolation_mode):
10269 * libs/gst/controller/gstcontroller.h:
10270 * libs/gst/controller/gstinterpolation.c:
10271 (interpolate_none_get_enum_value_array):
10272 support controlling enums
10274 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10277 Improve documentation for gst_value_union().
10280 Change return value for union, intersect and subtract functions
10281 from gint to gboolean.
10283 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10285 * gst/gstvalue.c: (gst_value_serialize_any_list),
10286 (gst_value_transform_any_list_string),
10287 (gst_value_deserialize_list), (gst_value_deserialize_array),
10288 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10289 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10290 (gst_value_set_fraction_range_full),
10291 (gst_value_deserialize_fraction_range),
10292 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10293 (gst_value_deserialize_boolean),
10294 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10295 (gst_value_serialize_float), (gst_value_deserialize_float),
10296 (gst_string_wrap), (gst_value_deserialize_string),
10297 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10298 (gst_value_union_int_range_int_range),
10299 (gst_value_intersect_int_range_int_range),
10300 (gst_value_intersect_double_range_double_range),
10301 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10302 (gst_value_subtract_int_range_int_range),
10303 (gst_value_subtract_double_double_range),
10304 (gst_value_subtract_double_range_double_range),
10305 (gst_value_deserialize_fraction):
10307 Use gint, gdouble and gchar in our API instead of int, double and
10308 char (and make usage in gstvalue.c more consistent).
10310 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10312 * check/Makefile.am:
10313 * libs/gst/controller/Makefile.am:
10314 * libs/gst/dataprotocol/Makefile.am:
10315 fix up Makefile.am and remove GST_ENABLE_NEW
10317 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10321 * gst/base/Makefile.am:
10322 * gst/check/Makefile.am:
10323 * gst/elements/Makefile.am:
10324 * gst/net/Makefile.am:
10325 update LDFLAGS use some more
10327 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
10329 * common/m4/gst-doc.m4:
10332 2005-11-26 Edward Hervey <edward@fluendo.com>
10334 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10335 This shouldn't issue a g_warning since it returns NULL if it
10336 couldn't find the plugin, and all functions using this behave
10337 properly on a NULL return. Switching to a GST_WARNING.
10339 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
10341 * gst/gstbin.c: (gst_bin_handle_message_func):
10342 Don't leak clock messages.
10344 2005-11-25 Wim Taymans <wim@fluendo.com>
10346 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10347 (gst_util_uint64_scale_int):
10348 Optimisations, remove unneeded vars.
10350 2005-11-25 Wim Taymans <wim@fluendo.com>
10352 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10353 Added more checks for the high precision uint64 cases.
10355 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10356 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10357 Implement high precision (guint64 * guint64) / guint64.
10359 2005-11-24 Wim Taymans <wim@fluendo.com>
10361 * gst/base/gstbasesrc.c: (gst_base_src_query):
10362 Fix wrong percentage query.
10364 * gst/gstutils.c: (gst_util_uint64_scale),
10365 (gst_util_uint64_scale_int):
10366 Add some more common cases that can be handled
10367 efficiently to _scale.
10369 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10371 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10372 (gst_mini_object_suite):
10373 don't use check calls from threads; check probably isn't
10374 threadsafe and using a lock to make it threadsafe would
10375 defeat the purpose of this check
10376 * gst/check/gstcheck.c:
10377 * gst/check/gstcheck.h:
10378 use GST_DEBUG some more
10380 2005-11-24 Wim Taymans <wim@fluendo.com>
10382 * gst/gstutils.c: (gst_util_uint64_scale),
10383 (gst_util_uint64_scale_int):
10384 Chain trivial case to _scale_int.
10386 2005-11-24 Wim Taymans <wim@fluendo.com>
10388 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10389 Added test for scaling.
10394 * gst/gstutils.c: (gst_util_uint64_scale_int):
10395 Implemented high precision scaling code.
10397 2005-11-24 Stefan Kost <ensonic@users.sf.net>
10400 do not crash on pad==NULL
10402 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
10404 Patch by: Stefan Kost
10406 * common/gtk-doc.mak:
10407 * docs/gst/Makefile.am:
10408 * docs/libs/Makefile.am:
10409 Fix distcheck issues for the libraries docs build
10412 2005-11-24 Michael Smith <msmith@fluendo.com>
10414 * docs/manual/basics-helloworld.xml:
10415 Fix bug #315027: memory leak in example code in docs.
10417 2005-11-24 Michael Smith <msmith@fluendo.com>
10419 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10420 Unlock the PREROLL_LOCK in a failure case.
10422 2005-11-24 Wim Taymans <wim@fluendo.com>
10424 * docs/gst/gstreamer-sections.txt:
10425 * gst/base/gstadapter.h:
10426 * gst/base/gstbasesink.h:
10427 * gst/base/gstbasesrc.h:
10428 * gst/base/gstbasetransform.h:
10429 * gst/base/gstpushsrc.h:
10430 * gst/elements/gstfakesink.h:
10431 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10432 * gst/elements/gstfakesrc.h:
10433 * gst/elements/gstfilesink.h:
10434 * gst/elements/gstfilesrc.h:
10437 * gst/gstbuffer.c: (_gst_buffer_copy):
10440 * gst/gstchildproxy.c:
10442 * gst/gstelement.c:
10443 * gst/gstelementfactory.c:
10444 * gst/gstelementfactory.h:
10446 * gst/gstghostpad.h:
10448 * gst/gstinterface.h:
10449 * gst/gstminiobject.c:
10450 * gst/gstminiobject.h:
10453 * gst/gstpadtemplate.h:
10454 * gst/gstpipeline.h:
10455 * gst/gstpluginfeature.h:
10458 * gst/gsttaglist.c:
10459 * gst/gsttaglist.h:
10460 * gst/gsttagsetter.c:
10461 * gst/gsttagsetter.h:
10464 * gst/gsttypefind.h:
10467 * gst/net/gstnetclientclock.c:
10468 * gst/net/gstnetclientclock.h:
10469 * gst/net/gstnettimepacket.c:
10470 * gst/net/gstnettimeprovider.c:
10471 * gst/net/gstnettimeprovider.h:
10474 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10476 * configure.ac: back to HEAD
10478 === release 0.9.6 ===
10480 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10483 releasing 0.9.6, "Always On Time"
10485 2005-11-23 Wim Taymans <wim@fluendo.com>
10487 * docs/gst/gstreamer-sections.txt:
10488 * gst/glib-compat.c:
10489 * gst/gsttagsetter.c:
10491 * gst/net/gstnetclientclock.c:
10492 * gst/net/gstnettimepacket.h:
10495 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
10497 * docs/faq/using.xml:
10498 * docs/libs/tmpl/gstcontrol.sgml:
10499 * docs/manual/advanced-dparams.xml:
10500 * docs/manual/appendix-checklist.xml:
10501 * docs/manual/basics-elements.xml:
10502 * docs/pwg/other-source.xml:
10503 * docs/random/moving-plugins:
10505 * tools/gst-launch.1.in:
10506 remove mentions of sinesrc
10508 2005-11-23 Michael Smith <msmith@fluendo.com>
10510 * docs/gst/gstreamer-sections.txt:
10511 Update for new API and API changes.
10513 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10515 Documentation typo fix.
10516 * gst/net/gstnettimepacket.c:
10517 Documentation fixes for arguments.
10519 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
10521 * gst/gststructure.c: (gst_structure_get_fraction),
10522 (gst_structure_parse_value),
10523 (gst_structure_fixate_field_nearest_fraction):
10524 * gst/gststructure.h:
10525 * gst/gstutils.c: (gst_util_uint64_scale_int):
10527 * scripts/update-funcnames:
10529 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10530 Make gst_structure_fixate_field_nearest_fraction take a numerator
10531 and denominator argument instead of a GValue
10532 add gst_structure_get_fraction helper function.
10534 2005-11-23 Wim Taymans <wim@fluendo.com>
10536 * docs/design/part-TODO.txt:
10539 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10540 * gst/net/gstnetclientclock.h:
10541 Use parent fields for timeout and window_size.
10543 2005-11-23 Andy Wingo <wingo@pobox.com>
10545 * check/net/gstnetclientclock.c (test_functioning): Adjust to
10546 rate_num/rate_denom change.
10548 * gst/net/gstnetclientclock.c
10549 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10550 OBJECT_LOCK. Don't call add_observation with the lock.
10552 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
10554 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
10556 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
10557 deal with rate as a fraction whose numerator and denominator are
10558 GstClockTime values.
10559 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
10560 master; the other fields are protected by the SLAVE_LOCK.
10561 (do_linear_regression): Note that this must be called with the
10563 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
10564 OBJECT_LOCK. Call set_calibration instead of touching the
10565 variables directly.
10566 (gst_clock_set_property, gst_clock_get_property): Protect
10567 master/slave parameters with the SLAVE_LOCK.
10569 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
10570 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
10571 note that all of the instance variables that add_observation and
10572 the set_master functions use are protected by that lock and not
10574 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
10576 * gst/gstclock.c (gst_clock_add_observation): No longer requires
10577 the caller to take the object lock.
10579 2005-11-23 Wim Taymans <wim@fluendo.com>
10581 * gst/gsterror.c: (_gst_core_errors_init):
10583 Add error for clock stuff.
10585 * gst/gstpipeline.c: (gst_pipeline_change_state),
10586 (gst_pipeline_set_clock):
10587 Post clock error when clock cannot be used in a pipeline.
10589 2005-11-23 Stefan Kost <ensonic@users.sf.net>
10591 * docs/gst/gstreamer-sections.txt:
10592 make two symbols from gstinfo private for the docs
10593 * gst/base/gstcollectpads.h:
10595 fix doc typos, update docs
10597 2005-11-22 Wim Taymans <wim@fluendo.com>
10599 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10600 (gst_base_sink_wait), (gst_base_sink_do_sync),
10601 (gst_base_sink_handle_event):
10602 * gst/base/gstbasesink.h:
10603 No need to store the clock, the parent element class already
10606 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
10607 Updates for clock_set returning a gboolean
10609 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
10610 (gst_clock_id_wait_async), (gst_clock_class_init),
10611 (gst_clock_init), (gst_clock_finalize),
10612 (gst_clock_get_internal_time), (gst_clock_get_time),
10613 (gst_clock_slave_callback), (gst_clock_set_master),
10614 (gst_clock_get_master), (do_linear_regression),
10615 (gst_clock_add_observation), (gst_clock_set_property),
10616 (gst_clock_get_property):
10618 Implement master/slave. When setting a clock as a slave, a
10619 periodic timeout is scheduled to sample master and slave times.
10620 Then the slave clock is recalibrated to match offset and rate
10621 of the master clock.
10622 Update logging a bit.
10623 Add flag so that a clock can state that is cannot be slaved to
10626 * gst/gstelement.c: (gst_element_set_clock):
10627 * gst/gstelement.h:
10628 The set clock returns a gboolean for when an element cannot
10629 deal with the selected clock in the pipeline.
10631 * gst/gstpipeline.c: (gst_pipeline_change_state),
10632 (gst_pipeline_set_clock):
10633 * gst/gstpipeline.h:
10634 Handle the case where the selected clock cannot be set on
10637 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
10638 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10639 (gst_net_client_clock_set_property),
10640 (gst_net_client_clock_get_property),
10641 (gst_net_client_clock_observe_times):
10642 * gst/net/gstnetclientclock.h:
10643 Use regression code in GstClock parent, remove duplicated
10646 2005-11-22 Michael Smith <msmith@fluendo.com>
10648 * gst/gstutils.c: (gst_util_clock_time_scale):
10650 * docs/gst/gstreamer-sections.txt:
10651 Rename method to have extra underscore.
10653 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
10655 * gst/elements/Makefile.am:
10656 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
10657 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10658 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
10659 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
10660 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
10661 * gst/elements/gstfakesrc.h:
10662 * gst/gstqueue.c: (queue_leaky_get_type):
10663 correctly fix GEnumValues so that nick is the short lowercase
10665 * tools/gst-inspect.c: (print_element_properties_info):
10666 also show the nick, since it's useful to use from parse_launch
10670 2005-11-22 Michael Smith <msmith@fluendo.com>
10672 * gst/gstutils.c: (gst_util_clocktime_scale):
10674 * docs/gst/gstreamer-sections.txt:
10675 Add util method for scaling a clocktime by a fraction. Useful
10676 implementation is left as an exercise for the reader.
10678 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10680 * gst/gstvalue.c: (gst_value_collect_fraction_range):
10681 If needed, allocate storage in the destination value during
10684 2005-11-22 Edward Hervey <edward@fluendo.com>
10686 * docs/gst/gstreamer-sections.txt:
10689 * gst/gsturitype.c:
10690 * gst/gsturitype.h:
10691 * gst/gstutils.c: (gst_util_set_object_arg):
10692 * tools/gst-compprep.c: (main):
10693 * tools/gst-inspect.c: (print_element_properties_info):
10694 Removed GstURI, closes bug #321061
10696 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10698 * check/gst/gststructure.c: (GST_START_TEST):
10699 * gst/gststructure.c: (gst_structure_parse_value):
10700 Oops, broke automatic string type parsing.
10701 Add a test to catch it in future.
10703 2005-11-22 Andy Wingo <wingo@pobox.com>
10705 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
10706 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
10707 Actually rename the function implementations. Grr.
10709 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10711 * check/gst/capslist.h:
10713 * check/gst/gststructure.c: (GST_START_TEST),
10714 (gst_structure_suite):
10715 Test automatic value type detection in gst_structure_from_string.
10716 * gst/gststructure.c: (gst_structure_parse_value):
10717 Add fraction as a type we try and guess automatically in
10718 caps/structure strings.
10720 2005-11-22 Andy Wingo <wingo@pobox.com>
10722 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
10724 * gst/gsttagsetter.h:
10725 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
10726 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
10727 (gst_tag_setter_add_tag_valist)
10728 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
10729 _add_values, _add_valist, and _add_valist_values. Since this is an
10730 interface the function suffixes should be more explicit so
10731 language binding don't end up with element.add_valist ->
10732 gst_tag_setter_add_valist, for example. Fixes #322069.
10734 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10736 * check/gst/gstcaps.c: (GST_START_TEST):
10737 Extend caps string tests to check that a caps to string
10738 conversion is reversible and produces the same caps.
10740 * gst/gststructure.c: (gst_structure_value_get_generic_type):
10741 Output "fraction" as the generic type fraction range, so caps
10742 serialisation and deserialisation works.
10743 * check/gst/capslist.h:
10744 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10745 Support 'MIN' and 'MAX' for deserialising fractions.
10747 2005-11-22 Andy Wingo <wingo@pobox.com>
10749 * gst/gstevent.h (gst_event_new_new_segment)
10750 (gst_event_parse_new_segment, gst_event_new_buffer_size)
10751 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
10752 Renamed from *_newsegment, *_buffersize, *_notarget.
10754 * scripts/update-funcnames: New script, performs the changes
10757 2005-11-22 Wim Taymans <wim@fluendo.com>
10759 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10760 Make sure the GstFlowReturn is returned.
10762 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
10763 (gst_bus_add_signal_watch):
10765 add gst_bus_add_signal_watch_full.
10767 * gst/gstplugin.c: (gst_plugin_load_file):
10768 Small style cleanup.
10770 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10772 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
10773 Block the fakesrc srcpad when we send an event, to avoid
10774 contention on the stream_lock causing random test failures.
10776 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10778 * check/gst/gstvalue.c: (GST_START_TEST):
10779 * gst/gstvalue.c: (gst_value_fraction_subtract):
10782 2005-11-22 Stefan Kost <ensonic@users.sf.net>
10785 include "gstchildproxy.h"
10786 * gst/gstchildproxy.h:
10787 * libs/gst/controller/gstcontroller.h:
10788 use G_GNUC_NULL_TERMINATED
10790 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
10792 * check/gst/capslist.h:
10793 * check/gst/gstcaps.c: (GST_START_TEST):
10794 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10795 * gst/gststructure.c: (gst_structure_parse_range),
10796 (gst_structure_fixate_field_nearest_fraction):
10797 * gst/gststructure.h:
10798 * gst/gstvalue.c: (gst_value_init_fraction_range),
10799 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
10800 (gst_value_collect_fraction_range),
10801 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
10802 (gst_value_set_fraction_range_full),
10803 (gst_value_get_fraction_range_min),
10804 (gst_value_get_fraction_range_max),
10805 (gst_value_serialize_fraction_range),
10806 (gst_value_transform_fraction_range_string),
10807 (gst_value_compare_fraction_range),
10808 (gst_value_deserialize_fraction_range),
10809 (gst_value_intersect_fraction_fraction_range),
10810 (gst_value_intersect_fraction_range_fraction_range),
10811 (gst_value_subtract_fraction_fraction_range),
10812 (gst_value_subtract_fraction_range_fraction),
10813 (gst_value_subtract_fraction_range_fraction_range),
10814 (gst_value_collect_fraction), (gst_value_fraction_multiply),
10815 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
10816 (gst_value_transform_string_fraction), (_gst_value_initialize):
10818 Implement fraction ranges and extend GstFraction to support
10819 arithmetic subtraction, as well as deserialization from integer
10820 strings such as "100"
10821 Add a testsuite as for int and double range set operations
10823 2005-11-21 Andy Wingo <wingo@pobox.com>
10825 * gst/gsttaglist.h:
10827 * gst/gststructure.h: Add glib-compat.h.
10829 2005-11-21 Wim Taymans <wim@fluendo.com>
10831 * gst/gstbin.c: (gst_bin_change_state_func):
10834 2005-11-21 Wim Taymans <wim@fluendo.com>
10836 * gst/gstsegment.h:
10837 And add a nice define too.
10839 2005-11-21 Wim Taymans <wim@fluendo.com>
10841 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
10842 (gst_segment_new), (gst_segment_free), (gst_segment_init),
10843 (gst_segment_set_duration), (gst_segment_set_last_stop),
10844 (gst_segment_set_seek), (gst_segment_set_newsegment),
10845 (gst_segment_to_stream_time), (gst_segment_to_running_time),
10846 (gst_segment_clip):
10847 * gst/gstsegment.h:
10848 Make binding friendly.
10850 2005-11-21 Andy Wingo <wingo@pobox.com>
10852 * gst/gsttagsetter.h:
10853 * gst/gsttaglist.h:
10854 * gst/gststructure.h:
10856 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
10859 * gst/gsterror.c (_gst_core_errors_init):
10860 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
10863 * gst/Makefile.am (gst_headers): Add glib-compat.h.
10864 (noinst_HEADERS): noinst the -private.
10866 2005-11-21 Michael Smith <msmith@fluendo.com>
10869 * gst/gstregistry.h:
10870 Remove unimplemented declarations for which we can see no sensible
10873 2005-11-21 Andy Wingo <wingo@pobox.com>
10875 * gst/gst.h: Include glib-compat.h.
10877 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
10879 * gst/glib-compat.c: Include the public and the private header.
10881 * gst/glib-compat-private.h: Copied here from glib-compat.h.
10885 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
10887 * check/gst/gstevent.c (create_custom_events): Check that
10888 FLUSH_STOP is serialized.
10890 * check/elements/identity.c (event_func):
10891 * check/elements/fakesrc.c (event_func): No stream lock, the core
10894 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
10895 stream lock taking, yay.
10897 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
10898 ensure that core takes the stream lock.
10900 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
10903 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
10904 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
10905 it already. For the flush start we do take it though so we get the
10906 right preroll state change messages.
10908 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
10909 the stream lock here, the core does it for us.
10911 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
10912 GST_STREAM_GET_LOCK.
10913 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
10914 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
10915 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
10916 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
10917 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
10918 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
10920 * gst/gstpad.c: Update for stream lock name change.
10922 * gst/base/gstbasesink.c: Update for preroll lock name change.
10924 2005-11-21 Wim Taymans <wim@fluendo.com>
10926 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
10927 (gst_clock_get_master):
10929 * gst/gstsystemclock.c: (gst_system_clock_init):
10930 Convert Clock flags to object flags.
10931 Added methods to manage master/slave clocks.
10933 2005-11-21 Wim Taymans <wim@fluendo.com>
10935 * check/gst/gstsegment.c: (GST_START_TEST):
10936 * docs/design/part-TODO.txt:
10937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10938 (gst_base_sink_event), (gst_base_sink_do_sync),
10939 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10940 (gst_base_sink_query), (gst_base_sink_change_state):
10941 * gst/base/gstbasesink.h:
10942 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10943 (gst_base_src_default_newsegment),
10944 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10945 (gst_base_src_get_range), (gst_base_src_loop),
10946 (gst_base_src_change_state):
10947 * gst/base/gstbasesrc.h:
10948 * gst/base/gstbasetransform.c:
10949 (gst_base_transform_prepare_output_buf),
10950 (gst_base_transform_event), (gst_base_transform_change_state):
10951 * gst/base/gstbasetransform.h:
10952 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10953 (gst_collect_pads_event):
10954 * gst/base/gstcollectpads.h:
10955 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
10956 (gst_fake_src_create):
10957 * gst/elements/gstfakesrc.h:
10958 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10959 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
10960 (gst_segment_set_last_stop), (gst_segment_set_seek),
10961 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10962 (gst_segment_to_running_time), (gst_segment_clip):
10963 * gst/gstsegment.h:
10964 More segment updates, replace code in plugins with segment
10967 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
10969 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
10970 Don't ignore sscanf results
10972 2005-11-21 Andy Wingo <wingo@pobox.com>
10974 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
10977 * *.c: Ran scripts/update-macros. Oh yes.
10979 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
10980 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
10983 * scripts/update-macros: New script. Run it on your files to
10984 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
10987 2005-11-21 Stefan Kost <ensonic@users.sf.net>
10989 * docs/gst/Makefile.am:
10990 * docs/gst/gstreamer-docs.sgml:
10991 * docs/gst/gstreamer-sections.txt:
10992 * docs/gst/gstreamer.types:
10994 more docs fixes, add new api to the docs
10996 2005-11-21 Andy Wingo <wingo@pobox.com>
10998 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
10999 state_broadcast call.
11001 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11003 2005-11-21 Julien MOUTTE <julien@moutte.net>
11005 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11006 function calls for arrays.
11008 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11010 * docs/random/ensonic/media-device-daemon.txt:
11011 wild idea, can this be done?
11012 * docs/gst/gstreamer-sections.txt:
11017 * gst/gstpluginfeature.c:
11021 doc fixes and additions
11023 2005-11-21 Andy Wingo <wingo@pobox.com>
11025 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11026 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11027 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11028 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11029 private to the basesrc implementation.
11031 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11032 behalf of event function if necessary. It should no longer be
11033 necessary to take the stream lock in pad's event functions. Fixes
11036 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11037 * docs/gst/gstreamer-sections.txt:
11038 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11039 (gst_structure_fixate_field_nearest_double),
11040 (gst_structure_fixate_field_boolean):
11041 * gst/gststructure.h:
11042 * win32/common/libgstreamer.def:
11043 * win32/gstreamer.def:
11045 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11048 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11050 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11051 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11052 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11053 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11054 (gst_fdsrc_uri_handler_init):
11055 * gst/elements/gstfdsrc.h:
11056 Port fd:// URI handler from 0.8 to fdsrc
11058 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11060 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11061 (gst_value_serialize_fourcc):
11063 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11064 consistent with our other format defines (#320324).
11066 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11068 * gst/gstvalue.c: (gst_value_is_fixed):
11069 Revert previous commit. Value lists are by definition
11070 not fixed, as they are a list of possible values.
11072 2005-11-21 Andy Wingo <wingo@pobox.com>
11074 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11075 during the stable series if we need it. Fixes #319178.
11077 * gst/gstevent.c (gst_event_new_filler): Removed.
11079 * check/gst/gstevent.c: Update comment about filler events.
11081 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11083 * gst/gstvalue.c: (gst_value_is_fixed):
11084 Should handle both value arrays and value lists.
11086 2005-11-21 Andy Wingo <wingo@pobox.com>
11088 patch by: Alessandro Dessina <alessandro nnva org>
11090 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11091 functions to access arrays. Fixes #321962.
11093 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11095 * docs/gst/gstreamer.types:
11096 gst_collectpads_get_type => gst_collect_pads_get_type.
11098 * gst/base/gstbasetransform.c:
11099 Remove unused SIGNAL_HANDOFF enum.
11101 2005-11-21 Andy Wingo <wingo@pobox.com>
11103 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11104 the event type (upstream, downstream, serialized). Renamed
11105 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11106 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11107 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11109 * gst/gstevent.c: Update for new CUSTOM event names.
11111 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11114 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11117 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11119 * docs/gst/gstreamer-sections.txt:
11120 * win32/common/libgstbase.def:
11121 * win32/libgstbase.def:
11122 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11123 (gst_collect_pads_class_init), (gst_collect_pads_init),
11124 (gst_collect_pads_finalize), (gst_collect_pads_new),
11125 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11126 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11127 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11128 (gst_collect_pads_start), (gst_collect_pads_stop),
11129 (gst_collect_pads_peek), (gst_collect_pads_pop),
11130 (gst_collect_pads_available), (gst_collect_pads_read),
11131 (gst_collect_pads_flush), (gst_collect_pads_event),
11132 (gst_collect_pads_chain):
11133 * gst/base/gstcollectpads.h:
11134 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11135 unimplemented functions as unimplemented. Add padding to
11136 GstCollectData. (#320766, #320423)
11138 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11140 * gst/gstmessage.c:
11141 Improve docs for DURATION message (usage of duration parameter)
11144 2005-11-20 Wim Taymans <wim@fluendo.com>
11146 * check/Makefile.am:
11147 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11151 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11152 (gst_segment_set_seek), (gst_segment_set_newsegment),
11153 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11154 (gst_segment_clip):
11155 * gst/gstsegment.h:
11156 Added segment helper structure and methods. Not fully implemented
11158 Added segment check.
11160 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11162 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11163 Add a deserialisation test for fractions
11164 * examples/metadata/read-metadata.c: (message_loop),
11165 (make_pipeline), (main):
11166 Fix up metadata reading sample.
11167 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11169 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11170 Don't try and fixate empty caps
11171 * gst/gst_private.h:
11172 Wrap in G_BEGIN_DECLS/G_END_DECLS
11173 * gst/gstvalue.c: (gst_value_collect_fraction),
11174 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11175 (gst_value_transform_string_fraction),
11176 (gst_value_compare_fraction):
11177 Add some extra guards to ensure that we don't end up
11178 with an invalid denominator of 0 in a gstfraction and
11179 that fractions always get reduced.
11181 2005-11-20 Wim Taymans <wim@fluendo.com>
11183 * docs/gst/gstreamer-sections.txt:
11185 * gst/gstelement.c:
11194 2005-11-20 Wim Taymans <wim@fluendo.com>
11196 * docs/design/part-TODO.txt:
11198 Make a proper enum of the flag.
11200 2005-11-19 Wim Taymans <wim@fluendo.com>
11202 * docs/design/part-TODO.txt:
11203 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11204 (gst_format_to_quark), (gst_format_register):
11206 * gst/gstquery.c: (_gst_query_initialize),
11207 (gst_query_type_get_name), (gst_query_type_to_quark),
11208 (gst_query_type_register):
11210 Add type to quark and type to string conversions.
11212 2005-11-19 Andy Wingo <wingo@pobox.com>
11214 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11217 2005-11-19 Wim Taymans <wim@fluendo.com>
11219 * docs/design/part-TODO.txt:
11220 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11221 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11222 (gst_bin_handle_message_func):
11224 Make message handling overridable.
11226 2005-11-19 Andy Wingo <wingo@pobox.com>
11228 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11231 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11233 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11234 is a GstClockTime. Fixes #321710.
11236 * gst/gstclock.h (GstClock): Remove offset property. Add
11237 internal_calibration and external_calibration. Fix padding. Pad
11238 also by GstClockTime so we don't run into problems.
11240 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11241 (gst_clock_get_rate_offset): Remove.
11242 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11245 * gst/gstutils.c (g_static_rec_cond_wait)
11246 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11248 * gst/gstbin.c: Remove terrible continue_state prototype.
11250 * gst/gstelement.h (gst_element_continue_state): Make public.
11252 * gst/gstelement.h:
11253 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11254 by continue_state. Fixes #319389.
11256 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11257 Really fixes #168438. However I don't see anywhere where the
11258 filter function is called... stupid GStreamer...
11260 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11261 don't have a dispose function, so it won't get called when the
11262 object is unreffed, but oh well!
11264 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11265 allows a destroy function to be set so user_data can be freed.
11267 (gst_index_set_filter): Call gst_index_set_filter_full.
11269 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11271 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11272 string should produce an error, given the lack of a way to
11273 represent NULL strings. Fixes #165650.
11276 * gst/gstvalue.c (gst_value_array_append_value)
11277 (gst_value_array_prepend_value, gst_value_array_get_size)
11278 (gst_value_array_get_value): New API, copied from
11279 gst_value_list_*, only operates on arrays.
11280 (gst_value_list_append_value, gst_value_list_prepend_value)
11281 (gst_value_list_concat, gst_value_list_get_size)
11282 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11284 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11285 init_list, because it works on both.
11286 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11287 (gst_value_copy_list_or_array): Renamed from copy_list.
11288 (gst_value_free_list_or_array): Renamed from free_list.
11289 (gst_value_collect_list_or_array): Renamed from collect_list.
11290 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11291 (gst_value_list_or_array_peek_pointer): Renamed from
11293 (_gst_value_array_value_table, _gst_value_list_value_table):
11294 Update value table functions.
11295 (gst_value_compare_list_or_array): Renamed from compare_list.
11297 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11300 * gst/gsttaglist.c:
11301 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11302 GstTagList*. Fixes #143472.
11304 * gst/gststructure.h: Clarify what the foreach/map functions can
11305 or can't do to their arguments.
11307 2005-11-18 Wim Taymans <wim@fluendo.com>
11309 * gst/gstclock.c: (gst_clock_set_calibration),
11310 (gst_clock_get_calibration):
11312 Calibration can be set with internal time equal to current
11315 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
11321 2005-11-18 Andy Wingo <wingo@pobox.com>
11324 * pkgconfig/gstreamer-net.pc.in:
11325 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11326 * pkgconfig/Makefile.am: Add net pkgconfig files.
11328 2005-11-18 Stefan Kost <ensonic@users.sf.net>
11331 * gst/gstghostpad.c:
11337 2005-11-18 Andy Wingo <wingo@pobox.com>
11339 * gst/net/gstnetclientclock.c: Turn off debugging.
11341 * check/net/gstnetclientclock.c (test_functioning): Assert that the
11342 times connverge somewhat. Can't make a real test.
11344 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11345 integer arithmetic. Return the minimum of the domain, which can be
11346 set as "internal" for gst_clock_set_calibration.
11347 (gst_net_client_clock_observe_times): Call _set_calibration.
11348 (gst_net_client_clock_new): Call _set_calibration instead of
11351 * check/net/gstnetclientclock.c (test_functioning): Use the right
11355 * gst/gstclock.c (gst_clock_get_calibration)
11356 (gst_clock_set_calibration): New functions, obsolete the ones I
11357 added yesterday. Doh. Precision issues mean we have to extrapolate
11358 from a point in the more recent past than 1970.
11359 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11361 (gst_clock_adjust_unlocked): Use the right calibration data.
11363 2005-11-18 Edward Hervey <edward@fluendo.com>
11365 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11366 Also reset the ->current_* values in READY->PAUSED
11368 2005-11-18 Andy Wingo <wingo@pobox.com>
11370 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11371 Whoops, check the right fd. Also add some debugging.
11372 (gst_net_client_clock_observe_times): Adjust for int64 offset.
11373 (do_linear_regression): Add a crapload of debugging. Subtract off
11374 the minimum values from the input series to discard unneeded bits.
11375 Use only int arithmetic. There is still double arithmetic when
11376 calculating the intercept that needs fixing. Return boolean to
11377 indicate success; FALSE would mean the domain or range is too
11378 great. Still needs fixes.
11380 2005-11-18 Wim Taymans <wim@fluendo.com>
11382 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11383 For the current position in stream time, we need to subtract
11386 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11387 Release lock before calling the callback function of async
11390 2005-11-18 Andy Wingo <wingo@pobox.com>
11392 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11393 Port goes all the way to MAXUINT16.
11395 * gst/net/gstnettimeprovider.c: Make the port range the same as
11396 for the kernel: 0 assigns, otherwise ports are less than
11399 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11402 * check/net/gstnetclientclock.c (test_functioning): Add the start
11405 2005-11-18 Wim Taymans <wim@fluendo.com>
11407 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11408 (gst_bin_remove_func), (bin_bus_handler):
11410 Removing a clock provider from a bin, triggers a clock lost message
11411 so that a new clock will be selected.
11412 Adding a clock to a bin triggers a clock provider message.
11413 Make sure we reselect a clock when we received a clock lost message.
11414 Keep a reference to the element that provided the clock.
11416 2005-11-18 Andy Wingo <wingo@pobox.com>
11418 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11419 the clock initially so it produces values around the base time.
11420 (gst_net_client_clock_class_init): Typo fix.
11421 (gst_net_client_clock_thread): Add note on when the socket gets
11424 2005-11-17 Wim Taymans <wim@fluendo.com>
11426 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11427 Free remote and local time arrays.
11429 2005-11-17 Wim Taymans <wim@fluendo.com>
11431 * gst/net/gstnetclientclock.c: (do_linear_regression),
11432 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11433 Fix compilation, uninitialized vars and a forgotten continue.
11435 2005-11-17 Andy Wingo <wingo@pobox.com>
11437 * check/Makefile.am (check_PROGRAMS):
11438 * check/net/gstnetclientclock.c: Add a most minimal test for the
11439 net client clock. More to come later.
11441 * gst/net/gstnet.h:
11442 * gst/net/Makefile.am: Add netclientclock.
11444 * gst/net/gstnetclientclock.h:
11445 * gst/net/gstnetclientclock.c: New files, implement an untested
11446 GstClock that takes its time from a network time provider.
11447 Implements the algorithm in network-clock.scm.
11449 * tests/network-clock.scm (*window-size*): Rename from
11451 * tests/network-clock.scm (network-time):
11452 * tests/network-clock-utils.scm (q-push): Update callers.
11454 2005-11-17 Wim Taymans <wim@fluendo.com>
11456 * gst/gstbin.c: (gst_bin_provide_clock_func),
11457 (gst_bin_sort_iterator_new):
11458 And unref the child too..
11460 2005-11-17 Wim Taymans <wim@fluendo.com>
11462 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11463 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11464 Refactor the sort iterator so it can be used while holding the
11466 Make clock selection select a clock closest to the source.
11468 2005-11-17 Michael Smith <msmith@fluendo.com>
11470 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11471 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11473 Anonymous structs are a gcc (and some other compilers) extension, so
11474 don't use them. Since this is only for ABI-compatibility, and our
11475 API/ABI freeze is over in a few days, this whole thing will only
11476 last a few days, so don't bother trying to think up a meaningful
11477 name for the struct.
11479 2005-11-17 Andy Wingo <wingo@pobox.com>
11481 * gst/gstclock.h (GstClock): Add rate and offset properties,
11482 preserving ABI stability. Add rate/offset accessors. Will file bug
11483 for the freeze break.
11485 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11486 and offset, trying to keep precision and avoiding
11487 underflow/overflow.
11488 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11489 functions. Make gst_clock_set_time_adjust obsolete.
11490 (gst_clock_set_time_adjust): Note that this function is obsolete.
11491 Will file bug soon.
11493 * gst/base/gstbasetransform.h: Make the ABI-stability hack
11494 greppable by using GST_PADDING-1+1.
11496 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
11498 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11500 * gst/gstmessage.c: (gst_message_parse_clock_lost):
11501 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11503 * gst/gstpadtemplate.h:
11504 * gst/gstpluginfeature.h:
11505 Don't use c++ style comments in headers (#321638).
11507 2005-11-16 Andy Wingo <wingo@pobox.com>
11509 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11512 * check/net/gstnettimeprovider.c: Check to see that the time
11513 provider actually provides times. Works, yo!
11515 2005-11-16 Wim Taymans <wim@fluendo.com>
11517 * check/Makefile.am:
11520 * check/elements/fakesrc.c: (GST_START_TEST):
11521 Set element to NULL before disposing it.
11523 2005-11-16 Andy Wingo <wingo@pobox.com>
11525 * gst/net/Makefile.am:
11526 * gst/net/gstnet.h:
11527 * gst/net/gstnettimeprovider.c:
11528 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11529 provider, include it from gstnet.h, and add it to the build.
11531 * gst/net/gstnettimepacket.h:
11532 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11533 sending and receiving.
11535 2005-11-16 Wim Taymans <wim@fluendo.com>
11537 * check/Makefile.am:
11538 Enable valgrind check.
11540 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11541 (gst_fake_src_alloc_buffer):
11544 2005-11-16 Wim Taymans <wim@fluendo.com>
11546 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11547 Call parent finalize too.
11549 2005-11-16 Wim Taymans <wim@fluendo.com>
11551 * check/Makefile.am:
11552 Enable valgrind check that should work fine now.
11554 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11555 * gst/gstqueue.c: (gst_queue_init):
11556 Fix memleaks in pad allocation.
11558 2005-11-16 Andy Wingo <wingo@pobox.com>
11560 * gst/net/Makefile.am:
11561 * gst/net/gstnet.h: New part of core to hold network elements and
11562 objects. Put in core because it exposes API that applications want
11563 to use. The library is named libgstnet-tempname right now because
11564 of the existing libgstnet in gst-plugins-base. Solution is
11565 probably to rename the one in plugins-base; will file a bug for
11568 * gst/net/gstnettimeprovider.c:
11569 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
11570 get_time call over the network.
11573 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
11575 * check/Makefile.am:
11576 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
11577 get additions shortly.
11579 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11581 * gst/gstpad.c: (gst_pad_new_from_static_template):
11583 add gst_pad_new_from_static_template functions
11584 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
11585 (gst_check_setup_sink_pad):
11586 * gst/elements/gsttee.c: (gst_tee_init):
11589 2005-11-16 Wim Taymans <wim@fluendo.com>
11591 * gst/gstpad.c: (gst_pad_pause_task):
11592 Removed warning, it's not really an error either.
11594 2005-11-16 Wim Taymans <wim@fluendo.com>
11596 * gst/base/gstbasetransform.c:
11597 (gst_base_transform_prepare_output_buf),
11598 (gst_base_transform_event):
11599 Check if the caps are NULL, this can happen if the element
11600 is shutting down and the pad caps are set to NULL.
11602 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11604 * gst/elements/gsttee.c: (gst_tee_init):
11605 fix pad template leak in tee
11607 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11609 * gst/glib-compat.c: (g_value_dup_gst_object):
11610 * gst/glib-compat.h:
11611 * gst/gstpad.c: (gst_pad_set_property):
11612 use gst_object_ref when setting the pad template; this will
11613 trigger the pad template leaks on GLib 2.6 and the slaves
11615 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11617 * gst/glib-compat.c: (gst_flags_get_first_value):
11618 * gst/glib-compat.h:
11619 * gst/gstregistryxml.c:
11620 remove functions copied from GLib 2.6
11622 2005-11-16 Michael Smith <msmith@fluendo.com>
11625 Don't link against VALGRIND_LIBS. That was always the wrong thing to
11626 do, but only breaks with newer valgrind versions. We're not a
11627 valgrind tool, we have no link-time dependencies on libcoregrind.
11629 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11631 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11633 * gst/gstmessage.h:
11636 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
11638 * gst/base/gstbasesrc.c: (gst_base_src_init):
11639 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11640 * gst/gstqueue.c: (gst_queue_init):
11641 * gst/gstregistryxml.c: (load_feature):
11642 Revert all these unrefs, they don't even pass make check !
11644 2005-11-15 Johan Dahlin <johan@gnome.org>
11646 * gst/base/gstbasesrc.c: (gst_base_src_init):
11647 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11648 * gst/gstqueue.c: (gst_queue_init):
11649 Free pad templates, fixes a couple of leaks.
11651 2005-11-15 Daniel Fischer <dan at f3c dot com>
11653 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11655 * gst/gstpad.c: (gst_pad_get_property):
11656 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
11657 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
11660 2005-11-15 Wim Taymans <wim@fluendo.com>
11665 2005-11-15 Andy Wingo <wingo@pobox.com>
11667 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
11669 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
11670 using GST_CLOCK_TIME_NONE to disable base time management.
11671 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
11672 time if it was NONE before.
11673 (gst_pipeline_change_state): Only munge the base time if
11674 stream_time != GST_CLOCK_TIME_NONE.
11676 * check/gst/gstpipeline.c (test_base_time): Punt around the
11677 problem of the probe not being called, because that's not the
11678 issue I'm looking at. Add a check that setting stream_time to NONE
11679 disables base time management.
11681 2005-11-15 Wim Taymans <wim@fluendo.com>
11683 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11684 segment_stop == -1 at startup.
11686 * gst/base/gstbasetransform.c: (gst_base_transform_event),
11687 (gst_base_transform_change_state):
11688 Init segment values at start.
11690 2005-11-15 Wim Taymans <wim@fluendo.com>
11692 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11693 0 segment values are 0 in any format.
11695 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11696 * gst/base/gstbasetransform.h:
11697 Parse newsegment correctly in basetransform
11699 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11700 Sync to clock using updated segment values.
11702 2005-11-15 Andy Wingo <wingo@pobox.com>
11704 * check/gst/gstpipeline.c (test_base_time): Add check that the
11705 base time and stream time are reset correctly.
11707 2005-11-15 Wim Taymans <wim@fluendo.com>
11709 * docs/design/part-TODO.txt:
11710 Some more TODO items.
11712 2005-11-15 Andy Wingo <wingo@pobox.com>
11714 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
11715 error if the user selected "no clock" as the clocking method.
11717 * check/gst/gstpipeline.c (test_base_time): New test for buffer
11718 timestamps with live capture.
11720 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
11721 is 0 but we are a live source, timestamp the buffers using the
11724 2005-11-14 Stefan Kost <ensonic@users.sf.net>
11726 * docs/gst/gstreamer-sections.txt:
11728 * gst/gstghostpad.c:
11733 2005-11-14 Wim Taymans <wim@fluendo.com>
11736 add suppressions from Wim's Debian machine
11738 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
11741 add suppressions from Andy's AMD64 Ubuntu machine
11743 2005-11-14 Andy Wingo <wingo@pobox.com>
11745 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
11746 STATE_LOCK not necessary. Fixes #311489.
11748 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
11751 * gst/gstindex.c (gst_index_add_object): Note in the docs that
11752 this function is not implemented.
11754 2005-11-14 Julien MOUTTE <julien@moutte.net>
11756 * gst/base/gstbasetransform.c:
11757 (gst_base_transform_prepare_output_buf):
11758 Ref the source pad caps while we need them.
11761 2005-11-11 Wim Taymans <wim@fluendo.com>
11763 * docs/gst/gstreamer-sections.txt:
11764 Added some docs for GstCollectData.
11766 * gst/base/gstadapter.c:
11767 Some small code example fix.
11769 * gst/base/gstcollectpads.c:
11770 * gst/base/gstcollectpads.h:
11771 Document some more.
11773 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
11775 * configure.ac: back to HEAD
11777 === release 0.9.5 ===
11779 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
11782 releasing 0.9.5, "Bike Lunch Day"
11784 2005-11-11 Wim Taymans <wim@fluendo.com>
11786 * gst/gstbuffer.c: (_gst_buffer_copy):
11789 * gst/gstcaps.c: (gst_caps_is_equal):
11791 Make _is_equal fast in the trivial cases.
11793 * gst/gstminiobject.c:
11794 * gst/gstminiobject.h:
11795 More docs. Spifify .h file.
11800 2005-11-11 Wim Taymans <wim@fluendo.com>
11802 * gst/base/gstbasetransform.c:
11803 (gst_base_transform_prepare_output_buf),
11804 (gst_base_transform_handle_buffer):
11806 If we're processing a buffer and need to allocate an output
11807 buffer, we cannot accept a format change. If we did get a
11808 format change, we have to alloc a buffer ourselves of the
11811 2005-11-11 Wim Taymans <wim@fluendo.com>
11813 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
11814 While checking the flag for reentrancy in the gstcaps function
11815 is nice to detect recursive invocations, it also makes it
11816 impossible to call getcaps from multiple threads, which must be
11817 possible. So, checking for recursive calls has to go.
11819 2005-11-11 Michael Smith <msmith@fluendo.com>
11821 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11822 Don't sync on buffers that fall partially outside our current
11823 segment. Prevents an assertion failure/abort playing some files.
11825 2005-11-10 Andy Wingo <wingo@pobox.com>
11827 * check/gst/gstbin.c (test_message_state_changed_children): Style
11830 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
11831 gst_bus_poll with the signal watch. Ensures that poll and a signal
11832 watch see the same messages.
11834 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
11835 a poll and a watch at the same time get the same messages.
11837 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
11839 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
11840 * gst/gstcaps.c: (gst_caps_intersect):
11841 Don't call gst_caps_do_simplify - it doesn't respect order of caps
11842 and it's not needed.
11844 2005-11-10 Wim Taymans <wim@fluendo.com>
11846 * docs/design/part-TODO.txt:
11849 2005-11-10 Wim Taymans <wim@fluendo.com>
11851 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11852 * gst/base/gstbasesrc.c: (gst_base_src_wait),
11853 (gst_base_src_do_sync), (gst_base_src_get_range):
11854 Implement clock sync in base class.
11856 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
11858 patch by: Tim-Philipp Müller <tim at centricular dot net>
11860 * gst/gststructure.c: (gst_structure_parse_field),
11861 (gst_structure_from_string):
11862 Forward-port a 0.8 patch to handle escaped spaces in structure string,
11863 so that gst_parse_launch() can deal with spaces in filtered link
11864 caps (fixes #164479)
11865 * check/gst/capslist.h:
11866 * check/gst/gststructure.c: (GST_START_TEST):
11867 add unit tests for this change
11869 2005-11-10 Wim Taymans <wim@fluendo.com>
11871 * docs/gst/gstreamer-sections.txt:
11872 * gst/gstelement.c:
11873 * gst/gstelement.h:
11874 Fix docs, move some STATE macros to private.
11876 2005-11-10 Wim Taymans <wim@fluendo.com>
11878 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
11879 Added check for bug #317341
11883 Some more spiffifying.
11885 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
11886 Call peer linkfunction if we are a source pad. Totally fixes
11890 Update docs, source pads should call the peer linkfunction
11891 so they can atomically perform the pad link.
11893 2005-11-09 Wim Taymans <wim@fluendo.com>
11897 Uber-spiffy-spiffify some more.
11899 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
11901 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
11902 * gst/elements/gstfilesink.c: (gst_file_sink_init):
11903 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11904 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
11905 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
11906 * gst/gstpad.c: (gst_pad_init):
11907 Use GST_DEBUG_FUNCPTR() more extensively.
11909 2005-11-09 Wim Taymans <wim@fluendo.com>
11911 * gst/gstobject.c: (gst_object_class_init):
11913 Documentation fixes.
11915 2005-11-09 Edward Hervey <edward@fluendo.com>
11917 * gst/gsttypefindfactory.c:
11920 2005-11-09 Edward Hervey <edward@fluendo.com>
11922 * gst/base/gsttypefindhelper.c:
11923 * gst/gsttypefind.c:
11924 * gst/gsttypefind.h:
11927 2005-11-09 Wim Taymans <wim@fluendo.com>
11929 * gst/gstiterator.c:
11936 2005-11-09 Wim Taymans <wim@fluendo.com>
11942 2005-11-09 Wim Taymans <wim@fluendo.com>
11944 * docs/gst/gstreamer-sections.txt:
11945 Moved the message async delivery private lock and cond
11946 to the private section.
11948 * gst/gstmessage.c:
11949 * gst/gstmessage.h:
11952 2005-11-09 Edward Hervey <edward@fluendo.com>
11954 * docs/gst/gstreamer-sections.txt:
11957 Document GstURIHandler
11959 2005-11-09 Wim Taymans <wim@fluendo.com>
11961 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
11962 (gst_iterator_find_custom):
11963 * gst/gstiterator.h:
11966 2005-11-09 Wim Taymans <wim@fluendo.com>
11969 Document another field.
11971 * gst/gststructure.c:
11972 * gst/gststructure.h:
11975 2005-11-09 Wim Taymans <wim@fluendo.com>
11978 Documented structs.
11980 2005-11-09 Wim Taymans <wim@fluendo.com>
11982 * docs/gst/gstreamer-sections.txt:
11983 Added some new macros.
11990 2005-11-09 Wim Taymans <wim@fluendo.com>
11992 * docs/design/part-TODO.txt:
11993 Some more items for the TODO
11999 2005-11-09 Andy Wingo <wingo@pobox.com>
12001 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12002 to work on something else now tho...
12004 * gst/base/gstadapter.c: More adapter docs.
12006 * gst/elements/gstfilesink.c (gst_file_sink_start)
12007 (gst_file_sink_stop): New functions, replace the state change
12009 (gst_file_sink_class_init): Hook up the start and stop functions.
12010 (gst_file_sink_base_init): Don't set the state change handler any
12011 more. It was a bit ugly too, being set from here...
12012 (gst_file_sink_get_property, gst_file_sink_set_property):
12014 (gst_file_sink_set_location): More robust check that doesn't call
12015 GST_STATE. Ugggggg.
12017 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12019 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12020 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12022 2005-11-08 Wim Taymans <wim@fluendo.com>
12024 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12025 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12026 (gst_base_sink_chain), (gst_base_sink_change_state):
12027 * gst/base/gstbasesink.h:
12028 * gst/base/gstbasesrc.h:
12029 * gst/gstelement.h:
12031 Avoid excessive typechecking in macros.
12033 * gst/gstminiobject.c: (gst_mini_object_get_type),
12034 (gst_mini_object_init), (gst_mini_object_new),
12035 (gst_mini_object_free):
12036 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12037 (gst_object_finalize):
12038 Remove cruft code, optimize alloc_trace.
12040 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12042 * docs/faq/gst-uninstalled:
12043 fix up PS1 for systems that try to reset it
12045 2005-11-07 Wim Taymans <wim@fluendo.com>
12047 * gst/base/gstbasesrc.c: (gst_base_src_init),
12048 (gst_base_src_get_range):
12049 Set the segment_end to -1 initially. Fixed typefind.
12051 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12053 * gst/base/gstadapter.c:
12054 Debug category should be 'adapter', not 'GstAdapter'.
12056 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12057 (gst_collectpads_class_init), (gst_collectpads_init),
12058 (gst_collectpads_peek), (gst_collectpads_pop),
12059 (gst_collectpads_event), (gst_collectpads_chain):
12060 Add debug category and some debugging output. Use boilerplate
12061 macros. Remove some extraneous words from docs.
12063 2005-11-05 Andy Wingo <wingo@pobox.com>
12065 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12068 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12070 * docs/gst/gstreamer-sections.txt:
12073 * gst/gstminiobject.h:
12078 2005-11-04 Wim Taymans <wim@fluendo.com>
12080 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12081 Small update to stop at the configured segment_end
12084 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12086 * gst/gstregistry.c:
12087 * gst/gstregistry.h:
12090 2005-11-04 Edward Hervey <edward@fluendo.com>
12092 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12093 Check if we are doing a segment seek and have arrived at the
12094 end of that segment.
12096 2005-11-04 Wim Taymans <wim@fluendo.com>
12098 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12099 Don't leak a mutex unlock in case of an error.
12104 2005-11-04 Wim Taymans <wim@fluendo.com>
12106 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12108 Get the context to wake up only once.
12110 2005-11-03 Wim Taymans <wim@fluendo.com>
12112 * check/states/sinks.c: (GST_START_TEST):
12113 Uncomment fixed check.
12115 * docs/design/part-TODO.txt:
12118 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12119 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12120 (gst_base_sink_get_position):
12121 If we are going to PLAYING, post the right pending state
12122 when we post the intermediate paused message.
12124 * gst/gstelement.c: (gst_element_continue_state),
12125 (gst_element_set_state_func), (gst_element_change_state):
12126 Don't post state changes that were between the same state
12127 and were not ASYNC.
12129 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12131 * docs/gst/gstreamer-sections.txt:
12134 * gst/gstminiobject.h:
12137 more docs and doc style fixes
12139 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12141 * docs/gst/gstreamer-sections.txt:
12142 * gst/gstelement.c:
12143 * gst/gstminiobject.c:
12146 2005-11-03 Andy Wingo <wingo@pobox.com>
12148 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12149 state-changed messages actually have the right order and the right
12152 2005-11-03 Wim Taymans <wim@fluendo.com>
12154 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12155 Added some more checks. Specifically the case where NO_PREROLL
12156 elements are in the pipeline.
12158 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12159 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12160 (gst_base_sink_get_position):
12161 Post READY->PAUSED state change messages too.
12162 Fix bug where VOID was posted as pending state...
12164 * gst/gstbin.c: (gst_bin_recalc_state):
12165 use _element_continue_state() to continue the state change.
12167 * gst/gstelement.c: (gst_element_continue_state),
12168 (gst_element_commit_state), (gst_element_set_state_func),
12169 (gst_element_change_state), (gst_element_change_state_func):
12170 Lots of state change cleanups, assign the STATE_RETURN in
12171 a new continue_state() function that also propagates the
12172 last return value from a state change to the app.
12173 Update some debug statements with proper category.
12175 2005-11-03 Wim Taymans <wim@fluendo.com>
12177 * docs/design/part-events.txt:
12178 * docs/design/part-gstpipeline.txt:
12179 * docs/design/part-messages.txt:
12180 * docs/design/part-overview.txt:
12181 * docs/design/part-seeking.txt:
12182 * docs/design/part-states.txt:
12183 * docs/design/part-trickmodes.txt:
12184 * docs/manual/advanced-position.xml:
12185 Small docs updates.
12188 People think !! is ugly, this looks better.
12190 * gst/gstpad.c: (gst_pad_set_blocked_async):
12191 Remove !! since it's fixed elsewhere now.
12193 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12195 * gst/gstminiobject.h:
12197 Add !! to _FLAG_IS_SET macros to make the result boolean.
12199 2005-11-03 Edward Hervey <edward@fluendo.com>
12201 * gst/gstpad.c: (gst_pad_set_blocked_async):
12202 comparing a flag and a gboolean rarely returns coherent results...
12203 Added two characters (!!) to make that work correctly.
12205 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12207 * gst/gstbus.c: (gst_bus_class_init):
12210 * gst/gstqueue.c: (gst_queue_loop):
12211 Don't assume a miniobject that isn't a buffer is an
12212 event (it could be that there is a refcounting
12213 problem somewhere and the pointer is stale and
12214 refers to an already destroyed miniobject).
12216 2005-11-03 Julien MOUTTE <julien@moutte.net>
12218 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12220 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12222 * docs/manual/advanced-position.xml:
12223 Update seek example and explanations to current 0.9 API.
12225 * gst/elements/gsttypefindelement.c:
12226 (gst_type_find_element_activate):
12227 Remove FIXME comment now that the found caps
12230 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12232 * gst/gstregistryxml.c: (load_feature):
12233 Add another GST_STR_NULL instance
12235 2005-11-02 Edward Hervey <edward@fluendo.com>
12237 * gst/gstpad.c: (handle_pad_block):
12238 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12240 2005-11-02 Wim Taymans <wim@fluendo.com>
12245 * gst/gstelement.c: (gst_element_commit_state):
12246 Remove unused value.
12248 * gst/gstiterator.c:
12249 Mention that the returned element is reffed in the docs.
12251 2005-11-02 Wim Taymans <wim@fluendo.com>
12253 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12254 (gst_pad_push), (gst_pad_push_event):
12255 Unlock blocked pads when they are flushed.
12257 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12260 * docs/gst/gstreamer-sections.txt:
12263 * gst/gstregistry.c: (gst_registry_scan_path_level):
12264 fix for a nasty little missed situation where an installed plug-in
12265 which was in the cache did not get overridden by an uninstalled one
12266 which was earlier in the plugin path because the newly created plugin
12267 for the uninstalled one (not in the registry) didn't get its
12268 ->registered set to TRUE
12270 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12272 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12273 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12274 (gst_collectpads_is_active), (gst_collectpads_collect),
12275 (gst_collectpads_collect_range), (gst_collectpads_start),
12276 (gst_collectpads_stop), (gst_collectpads_peek),
12277 (gst_collectpads_pop), (gst_collectpads_available),
12278 (gst_collectpads_read), (gst_collectpads_flush):
12279 Guard public API with assertions.
12282 Fix docs for gst_pad_set_link_function().
12284 2005-11-02 Johan Dahlin <johan@gnome.org>
12286 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12287 Unref found_caps after we used it.
12289 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12291 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12292 Don't try to ref NULL.
12294 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12296 * win32/common/config.h.in:
12297 provide a GST_FUNCTION that just gives a string for now
12299 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12301 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12302 (gst_object_flags_get_type), (register_gst_bin_flags),
12303 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12304 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12305 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12306 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12307 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12308 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12309 (gst_clock_flags_get_type), (register_gst_state),
12310 (gst_state_get_type), (register_gst_state_change_return),
12311 (gst_state_change_return_get_type), (register_gst_state_change),
12312 (gst_state_change_get_type), (register_gst_element_flags),
12313 (gst_element_flags_get_type), (register_gst_core_error),
12314 (gst_core_error_get_type), (register_gst_library_error),
12315 (gst_library_error_get_type), (register_gst_resource_error),
12316 (gst_resource_error_get_type), (register_gst_stream_error),
12317 (gst_stream_error_get_type), (register_gst_event_type),
12318 (gst_event_type_get_type), (register_gst_seek_type),
12319 (gst_seek_type_get_type), (register_gst_seek_flags),
12320 (gst_seek_flags_get_type), (register_gst_format),
12321 (gst_format_get_type), (register_gst_index_certainty),
12322 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12323 (gst_index_entry_type_get_type),
12324 (register_gst_index_lookup_method),
12325 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12326 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12327 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12328 (gst_index_flags_get_type), (register_gst_debug_level),
12329 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12330 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12331 (gst_iterator_result_get_type), (register_gst_iterator_item),
12332 (gst_iterator_item_get_type), (register_gst_message_type),
12333 (gst_message_type_get_type), (register_gst_mini_object_flags),
12334 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12335 (gst_pad_link_return_get_type), (register_gst_flow_return),
12336 (gst_flow_return_get_type), (register_gst_activate_mode),
12337 (gst_activate_mode_get_type), (register_gst_pad_direction),
12338 (gst_pad_direction_get_type), (register_gst_pad_flags),
12339 (gst_pad_flags_get_type), (register_gst_pad_presence),
12340 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12341 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12342 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12343 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12344 (gst_plugin_flags_get_type), (register_gst_rank),
12345 (gst_rank_get_type), (register_gst_query_type),
12346 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12347 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12348 (gst_tag_flag_get_type), (register_gst_task_state),
12349 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12350 (gst_alloc_trace_flags_get_type),
12351 (register_gst_type_find_probability),
12352 (gst_type_find_probability_get_type), (register_gst_uri_type),
12353 (gst_uri_type_get_type), (register_gst_parse_error),
12354 (gst_parse_error_get_type):
12355 * win32/common/gstversion.h:
12356 update win32 copies
12358 2005-11-01 Luca Ognibene <luogni@tin.it>
12361 fix docs. popt is dead, long live GOption.
12363 2005-10-31 Wim Taymans <wim@fluendo.com>
12368 2005-10-31 Andy Wingo <wingo@pobox.com>
12372 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12374 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12375 need to serialize property notifications on GLib 2.8. GLib 2.6 has
12376 the possibility of deadlocks here if code calling notify() or
12377 set() has a lock that can be taken in another notify handler (ABBA
12378 with class lock and e.g. python GIL state lock).
12380 2005-10-28 Julien MOUTTE <julien@moutte.net>
12382 * gst/gstbus.c: Doc updates.
12384 2005-10-28 Wim Taymans <wim@fluendo.com>
12386 * docs/design/part-TODO.txt:
12387 * gst/gstiterator.c:
12388 * gst/gstsystemclock.c:
12389 * gst/gstsystemclock.h:
12392 2005-10-28 Edward Hervey <edward@fluendo.com>
12394 * docs/gst/gstreamer-docs.sgml:
12395 * docs/gst/gstreamer-sections.txt:
12396 the GstURIType documentation page is private, it only defines GstURIType
12397 which should be defined in the GstURIHandler page
12399 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
12401 * gst/gstbin.c: (gst_bin_class_init):
12404 Documentation updates.
12406 2005-10-28 Wim Taymans <wim@fluendo.com>
12408 * docs/gst/gstreamer-sections.txt:
12411 Documented the clocks.
12413 2005-10-28 Stefan Kost <ensonic@users.sf.net>
12415 * docs/gst/gstreamer-sections.txt:
12416 move some macros to private sections
12417 * gst/gstminiobject.c:
12418 * gst/gstminiobject.h:
12419 add descriptions provided by ds and some more
12421 mark macro as to be removed
12423 2005-10-28 Wim Taymans <wim@fluendo.com>
12425 * docs/design/part-TODO.txt:
12426 Add an item to TODO.
12428 * gst/gstiterator.c: (gst_iterator_fold),
12429 (gst_iterator_find_custom):
12430 * gst/gstiterator.h:
12433 2005-10-28 Wim Taymans <wim@fluendo.com>
12435 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12436 (gst_base_transform_init):
12439 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12440 An EOS event marks the queue as completely filled.
12442 2005-10-27 Wim Taymans <wim@fluendo.com>
12444 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12445 (gst_base_sink_do_sync), (gst_base_sink_get_position):
12446 Some more debugging.
12448 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12449 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12450 (gst_base_transform_event), (gst_base_transform_getrange),
12451 (gst_base_transform_chain):
12452 * gst/base/gstbasetransform.h:
12454 Protect transform and concurrent buffer alloc with a new lock.
12455 Try not to break ABI/API.
12457 2005-10-27 Wim Taymans <wim@fluendo.com>
12459 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12460 (gst_base_src_init), (gst_base_src_query),
12461 (gst_base_src_default_newsegment),
12462 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12463 (gst_base_src_send_event), (gst_base_src_event_handler),
12464 (gst_base_src_pad_get_range), (gst_base_src_loop),
12465 (gst_base_src_unlock), (gst_base_src_default_negotiate),
12466 (gst_base_src_start), (gst_base_src_deactivate),
12467 (gst_base_src_activate_push), (gst_base_src_change_state):
12468 Move some stuff around and cleanup things.
12470 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
12472 * gst/base/gstbasesrc.c: (gst_base_src_query):
12473 Add missing break statements.
12475 2005-10-27 Wim Taymans <wim@fluendo.com>
12477 * check/gst/gstbin.c: (GST_START_TEST):
12478 An extra refcount is taken in basesrc.
12480 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12481 (gst_base_src_get_range), (gst_base_src_pad_get_range),
12482 (gst_base_src_loop):
12483 Small cleanups, check for flushing after being unlocked from the
12484 LIVE_LOCK. take refcounts correctly (not yet everywhere).
12485 Don't send out EOS when going to READY.
12487 2005-10-27 Wim Taymans <wim@fluendo.com>
12489 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12490 (gst_base_sink_get_position):
12493 * gst/gstbin.c: (message_check), (bin_replace_message),
12494 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12495 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12496 (bin_query_duration_init), (bin_query_duration_fold),
12497 (bin_query_duration_done), (bin_query_generic_fold),
12499 * tools/gst-launch.c: (main):
12502 2005-10-26 Stefan Kost <ensonic@users.sf.net>
12504 * examples/controller/audio-example.c: (main):
12505 * examples/queue/queue.c: (event_loop):
12506 * gst/base/gstbasetransform.h:
12507 * gst/gstelement.c: (gst_element_send_event):
12509 * gst/gstpad.c: (gst_pad_send_event):
12512 changing log priority in error situations
12514 2005-10-25 Wim Taymans <wim@fluendo.com>
12516 * gst/gstbin.c: (message_check), (bin_replace_message),
12517 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12518 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12519 (bin_query_duration_init), (bin_query_duration_fold),
12520 (bin_query_duration_done), (bin_query_generic_fold),
12522 Some doc and debug updates.
12523 Cache previously requested query DURATION for speed. invalidate
12524 cached duration if element posts a DURATION message.
12526 2005-10-25 Wim Taymans <wim@fluendo.com>
12528 * docs/design/part-TODO.txt:
12531 * gst/gstbin.c: (message_check), (bin_replace_message),
12532 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12533 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12534 (bin_query_duration_init), (bin_query_duration_fold),
12535 (bin_query_duration_done), (bin_query_generic_fold),
12537 Handle SEGMENT_START/DONE messages correctly.
12538 More evolved query algorithm that handles duration queries
12541 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12542 (gst_element_get_state_func), (gst_element_abort_state),
12543 (gst_element_commit_state), (gst_element_lost_state):
12544 Some more debugging.
12546 * gst/gstmessage.h:
12549 2005-10-25 Wim Taymans <wim@fluendo.com>
12551 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12552 Don't use invalid stream_time.
12554 * gst/gstevent.c: (gst_event_new_newsegment):
12555 stream_time in newsegment cannot be undefined.
12557 2005-10-24 Wim Taymans <wim@fluendo.com>
12562 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12564 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
12566 2005-10-24 Stefan Kost <ensonic@users.sf.net>
12568 * docs/libs/tmpl/gstdparam.sgml:
12569 * docs/libs/tmpl/gstdplinint.sgml:
12570 * docs/libs/tmpl/gstdpman.sgml:
12571 * docs/libs/tmpl/gstdpsmooth.sgml:
12572 * docs/libs/tmpl/gstunitconvert.sgml:
12575 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
12580 === release 0.9.4 ===
12582 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
12585 releasing 0.9.4, "Tyrannosaurus Rex"
12587 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
12589 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
12590 (gst_file_sink_get_current_offset):
12591 Use fseeko() and ftello() if available. When falling back on
12592 lseek() to get the current offset, fflush() first to make sure
12593 everything is up-to-date and we get the right offset.
12595 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
12597 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12598 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12599 * gst/gsterror.c: (_gst_stream_errors_init):
12601 * gst/gstqueue.c: (gst_queue_loop):
12603 remove prematurely added error category and clean up the instances
12605 2005-10-21 Wim Taymans <wim@fluendo.com>
12607 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12608 (gst_base_sink_get_position), (gst_base_sink_query),
12609 (gst_base_sink_change_state):
12610 Simply set the right flag when going to playing, that's all
12611 we need to do instead of calling a function inside the object
12612 lock (that could take the lock as well and deadlock)
12614 2005-10-21 Wim Taymans <wim@fluendo.com>
12616 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
12617 (gst_base_src_loop):
12618 Don't warn, the peer element knows what to do best when
12619 the seek failed, it might try something else.
12621 2005-10-21 Wim Taymans <wim@fluendo.com>
12623 * gst/base/gstbasesrc.c: (gst_base_src_init),
12624 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
12627 2005-10-21 Wim Taymans <wim@fluendo.com>
12629 * docs/design/part-segments.txt:
12632 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12633 Correctly set caps, even on the subbufer.
12635 2005-10-21 Wim Taymans <wim@fluendo.com>
12637 * docs/gst/gstreamer-docs.sgml:
12638 * docs/gst/gstreamer-sections.txt:
12639 * gst/gstelement.h:
12642 * gst/gstmessage.h:
12645 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
12649 And 2% more doc coverage.
12651 2005-10-21 Andy Wingo <wingo@pobox.com>
12653 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
12654 position reporting.
12656 2005-10-20 Wim Taymans <wim@fluendo.com>
12658 * gst/gsterror.c: (gst_error_get_message):
12661 * gst/gststructure.c:
12666 2005-10-20 Wim Taymans <wim@fluendo.com>
12671 Another 1% more coverage.
12673 2005-10-20 Wim Taymans <wim@fluendo.com>
12675 * docs/gst/gstreamer-sections.txt:
12676 * gst/gstelement.c: (gst_element_get_state_func),
12677 (gst_element_abort_state), (gst_element_commit_state),
12678 (gst_element_lost_state):
12680 * gst/gstquery.c: (gst_query_set_position),
12681 (gst_query_parse_position), (gst_query_set_duration),
12682 (gst_query_parse_duration), (gst_query_new_convert):
12684 Yay! 1% more docs coverage.
12686 2005-10-20 Wim Taymans <wim@fluendo.com>
12689 * gst/gstquery.c: (gst_query_set_position),
12690 (gst_query_parse_position), (gst_query_set_duration),
12691 (gst_query_parse_duration), (gst_query_new_convert):
12693 * gst/gstutils.c: (gst_element_query_convert):
12695 Docs and consistency fixes.
12697 2005-10-20 Wim Taymans <wim@fluendo.com>
12703 2005-10-20 Wim Taymans <wim@fluendo.com>
12705 * gst/gstbin.c: (message_check), (bin_replace_message),
12706 (bin_remove_messages), (is_eos), (gst_bin_add_func),
12707 (update_degree), (gst_bin_sort_iterator_next),
12708 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
12709 Reworked the message handling a bit, cache the messages instead of
12710 only the senders. alows us to do more in the future.
12712 2005-10-20 Wim Taymans <wim@fluendo.com>
12714 * docs/design/part-TODO.txt:
12717 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
12718 (gst_base_sink_query):
12719 Don't use clock time to report position when in EOS.
12721 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
12723 * tools/gst-inspect.c: (print_interfaces),
12724 (print_element_properties_info), (print_element_info):
12725 Fix interface output with gst-inspect -a; don't print
12726 newlines after double/float properties.
12728 2005-10-20 Wim Taymans <wim@fluendo.com>
12730 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
12731 (gst_base_sink_query):
12732 Speed up current position calculation.
12734 * gst/base/gstbasesrc.c: (gst_base_src_query),
12735 (gst_base_src_default_newsegment):
12736 Correctly set stream position in newsegment.
12738 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
12739 (update_degree), (gst_bin_sort_iterator_next),
12740 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
12741 * gst/gstmessage.c: (gst_message_new_custom):
12742 Clean up debugging info
12744 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
12745 (gst_queue_loop), (gst_queue_handle_src_query):
12748 2005-10-19 Wim Taymans <wim@fluendo.com>
12750 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12751 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
12752 Fix query handling again.
12754 2005-10-19 Wim Taymans <wim@fluendo.com>
12756 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12757 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
12758 * gst/base/gstbasesrc.c: (gst_base_src_query):
12759 * gst/elements/gstfilesink.c: (gst_file_sink_query):
12760 * gst/elements/gsttypefindelement.c:
12761 (gst_type_find_handle_src_query), (find_element_get_length),
12762 (gst_type_find_element_activate):
12765 * gst/gstquery.c: (gst_query_new_position),
12766 (gst_query_set_position), (gst_query_parse_position),
12767 (gst_query_new_duration), (gst_query_set_duration),
12768 (gst_query_parse_duration), (gst_query_set_segment),
12769 (gst_query_parse_segment):
12771 Bundling query position/duration is not a good idea since duration
12772 does not change much and we don't want to recalculate it for every
12773 position query, so they are separated again..
12774 Base value in segment query is not needed.
12776 * gst/gstqueue.c: (gst_queue_handle_src_query):
12777 * gst/gstutils.c: (gst_element_query_position),
12778 (gst_element_query_duration), (gst_pad_query_position),
12779 (gst_pad_query_duration):
12781 Updates for query API change.
12782 Added some docs here and there.
12784 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
12786 * check/gst/gstbin.c: (GST_START_TEST):
12787 * check/gst/gstghostpad.c: (GST_START_TEST):
12788 * check/pipelines/cleanup.c: (GST_START_TEST):
12789 wait on thread to die so we can check refcount correctly
12791 2005-10-18 Wim Taymans <wim@fluendo.com>
12793 * check/pipelines/stress.c: (GST_START_TEST):
12794 Make check a little more time consuming.
12796 2005-10-18 Wim Taymans <wim@fluendo.com>
12798 * check/Makefile.am:
12799 * check/pipelines/stress.c: (GST_START_TEST),
12800 (simple_launch_lines_suite), (main):
12801 Small state change torture test.
12803 * docs/design/part-states.txt:
12804 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12805 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
12806 (gst_base_sink_change_state):
12807 Never take state lock from streaming thread, clean up ugly
12808 hacks. Unfortunatly core does not yet support nice ways to
12809 async commit state.
12811 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
12813 Start state recalc if a STATE_DIRTY message is posted, but only
12814 on the toplevel bin.
12816 * gst/gstelement.c: (gst_element_sync_state_with_parent),
12817 (gst_element_get_state_func), (gst_element_abort_state),
12818 (gst_element_commit_state), (gst_element_lost_state),
12819 (gst_element_set_state_func), (gst_element_change_state):
12820 * gst/gstelement.h:
12821 State variables are now protected with the LOCK, the state
12822 lock is only used to serialize _set_state().
12824 2005-10-18 Wim Taymans <wim@fluendo.com>
12826 * check/gst/gstbin.c: (GST_START_TEST):
12827 * check/gst/gstmessage.c: (GST_START_TEST):
12828 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12829 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
12831 * gst/gstelement.c: (gst_element_abort_state),
12832 (gst_element_commit_state), (gst_element_lost_state):
12833 * gst/gstmessage.c: (gst_message_new_state_changed),
12834 (gst_message_new_state_dirty), (gst_message_new_segment_start),
12835 (gst_message_new_segment_done), (gst_message_new_duration),
12836 (gst_message_parse_state_changed),
12837 (gst_message_parse_segment_start),
12838 (gst_message_parse_segment_done), (gst_message_parse_duration):
12839 * gst/gstmessage.h:
12840 * tools/gst-launch.c: (event_loop):
12841 Seriously, this is better than a previous commit as we only need
12842 to notify the fact that an element changed state in a streaming
12843 thread, marking the state of the parents dirty, hence the
12844 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
12847 2005-10-18 Wim Taymans <wim@fluendo.com>
12849 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
12850 (gst_bin_recalc_func):
12851 * gst/gstelement.c: (gst_element_set_clock),
12852 (gst_element_abort_state), (gst_element_lost_state):
12853 Cleanups, prepare for state change fixes.
12855 2005-10-18 Wim Taymans <wim@fluendo.com>
12858 * gst/gstelement.c: (gst_element_class_init),
12859 (gst_element_set_state), (gst_element_set_state_func):
12860 * gst/gstelement.h:
12861 Pending ABI changes.
12862 GThreadPool in GstBinClass to monitor async state changes.
12863 state_cookie in GstElement to detect concurrent gst/set state.
12864 set_state is now virtual too in case a very complicated element
12865 has to be constructed.
12867 2005-10-18 Wim Taymans <wim@fluendo.com>
12869 * check/gst/gstbin.c: (GST_START_TEST):
12870 * check/gst/gstmessage.c: (GST_START_TEST):
12871 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12872 * gst/gstbin.c: (bin_bus_handler):
12873 * gst/gstelement.c: (gst_element_commit_state),
12874 (gst_element_lost_state):
12875 * gst/gstmessage.c: (gst_message_new_state_changed),
12876 (gst_message_new_segment_start), (gst_message_new_segment_done),
12877 (gst_message_new_duration), (gst_message_parse_state_changed),
12878 (gst_message_parse_segment_start),
12879 (gst_message_parse_segment_done), (gst_message_parse_duration):
12880 * gst/gstmessage.h:
12881 * tools/gst-launch.c: (event_loop):
12882 Make messages future proof.
12883 state-change gets a flag if it was a message comming from the
12885 segment-start/stop can also be specified in other formats.
12886 A message to notify an app that a pipeline changed playback
12888 Also fix a GstMessage leak in -launch
12890 2005-10-18 Andy Wingo <wingo@pobox.com>
12892 * gst/gstelement.c (gst_element_dispose): More helpful message.
12894 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
12896 reviewed by: <delete if not using a buddy>
12898 * common/gtk-doc.mak:
12900 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
12902 * gst/gstregistry.c: (gst_registry_scan_path_level):
12903 unref a plug-in we get that was already initialized
12905 2005-10-18 Stefan Kost <ensonic@users.sf.net>
12907 * docs/gst/gstreamer-sections.txt:
12908 * docs/libs/gstreamer-libs-sections.txt:
12909 * gst/gstelement.h:
12910 add new api entries
12911 hide internal macro
12913 2005-10-17 Andy Wingo <wingo@pobox.com>
12915 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
12918 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
12920 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
12922 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
12923 (gst_element_get_state_func): Better debug message.
12924 (gst_element_commit_state): s/INFO/DEBUG/.
12925 (gst_element_lost_state, gst_element_change_state):
12927 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
12928 (gst_message_new_custom): s/INFO/LOG/.
12930 2005-10-17 Michael Smith <msmith@fluendo.com>
12932 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12933 Check if end time is valid using end time, not start time.
12935 2005-10-17 Stefan Kost <ensonic@users.sf.net>
12937 * check/gst-libs/controller.c: (GST_START_TEST),
12938 (gst_controller_suite):
12939 * libs/gst/controller/gstcontroller.c:
12940 (gst_controlled_property_set_interpolation_mode):
12941 * libs/gst/controller/gstcontroller.h:
12942 * libs/gst/controller/gstinterpolation.c:
12943 * testsuite/controller/.cvsignore:
12944 * testsuite/controller/Makefile.am:
12945 * testsuite/controller/interpolator.c:
12946 merge controller testsuites
12948 remove mem-chunk from docs
12950 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
12952 * gst/gstmemchunk.c:
12953 * gst/gstmemchunk.h:
12954 * gst/gsttrashstack.c:
12955 * gst/gsttrashstack.h:
12956 out. get out. you're fired. to the Attic !
12958 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
12960 * gst/gstcaps.c: (gst_caps_intersect):
12961 fix signedness issues in a (hopefully) correct way
12962 * gst/gstelement.c: (gst_element_pads_activate):
12964 * gst/gstobject.c: (gst_object_set_parent):
12967 2005-10-17 Julien MOUTTE <julien@moutte.net>
12969 * gst/gstvalue.h: Fix prototypes.
12971 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12973 * docs/gst/gstreamer-sections.txt:
12974 * gst/gst.c: (gst_version_string):
12976 * gst/gstversion.h.in:
12977 * win32/common/libgstreamer.def:
12978 add gst_version_string ()
12980 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12984 * gst/gst.c: (init_post):
12985 * win32/common/config.h.in:
12987 * gst/gstcaps.c: (gst_caps_intersect):
12988 use gint64, the range could be bigger than a guint
12990 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12993 document potential problem in 2038
12995 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
12997 * gst/gstcaps.c: (gst_caps_intersect):
12998 Fix guint j diving under 0
13000 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13003 * win32/common/config.h:
13004 * win32/common/config.h.in:
13005 check for process.h, declares getpid() on Windows
13007 include process.h if we have it
13008 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13009 * gst/gstmemchunk.h:
13010 fix signedness issues
13011 * win32/common/libgstreamer.def:
13014 2005-10-16 Julien MOUTTE <julien@moutte.net>
13016 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13017 fix. Because of unsigned ints, caps intersection was going nuts and
13018 trying to access structures with G_MAXUINT index. That fixes
13019 videotestsrc ! ffmpegcolorspace ! fakesink
13020 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13023 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13026 use the gettext macro
13027 * gst/elements/gstelements.c:
13029 * gst/indexers/gstindexers.c:
13030 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13031 * win32/common/config.h:
13033 * win32/common/config.h.in:
13034 add the template to generate config.h
13035 * win32/common/gstenumtypes.c:
13036 * win32/common/gstversion.h:
13039 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13041 * gst/gst.c: (gst_version):
13042 * gst/gstversion.h.in:
13045 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13048 Oops, add missing closing bracket.
13050 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13053 use common m4's for argument checking
13055 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13057 * docs/gst/gstreamer-sections.txt:
13059 Add GST_EVENT_TYPE_NAME() macro.
13061 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13064 * gst/gstpluginfeature.c:
13066 privatize more symbols
13068 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13071 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13072 everything that uses GStreamer API should have the includes
13074 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13076 * docs/gst/gstreamer-sections.txt:
13077 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13079 give each value a _get_type, removes the DATA exports
13081 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13085 remove _gst_registry_auto_load, not used anymore
13086 * gst/gstbin.c: (gst_bin_get_type):
13088 * gst/gstelement.c: (gst_element_get_type):
13089 * gst/gstelement.h:
13090 * gst/gstobject.c: (gst_object_get_type):
13092 * gst/gstpad.c: (gst_pad_get_type):
13094 make _get_type functions similar, fixes data export from library
13096 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13099 correctly make conditionals
13100 * gst/elements/Makefile.am:
13101 * gst/elements/gstelements.c:
13102 fix typo causing fdsrc not to build
13104 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13106 * testsuite/Makefile.am:
13107 * testsuite/bytestream/.cvsignore:
13108 * testsuite/bytestream/Makefile.am:
13109 * testsuite/bytestream/filepadsink.c:
13110 * testsuite/bytestream/gstbstest.c:
13111 * testsuite/bytestream/test1.c:
13112 * testsuite/bytestream/testfile1:
13113 * testsuite/caps/normalisation.c:
13114 * testsuite/caps/random.c: (main):
13115 * testsuite/cleanup/.cvsignore:
13116 * testsuite/cleanup/Makefile.am:
13117 * testsuite/cleanup/cleanup1.c:
13118 * testsuite/cleanup/cleanup2.c:
13119 * testsuite/cleanup/cleanup3.c:
13120 * testsuite/cleanup/cleanup4.c:
13121 * testsuite/cleanup/cleanup5.c:
13122 * testsuite/controller/interpolator.c:
13123 * testsuite/debug/printf_extension.c: (main):
13124 * testsuite/elements/tee.c:
13125 * testsuite/negotiation/.cvsignore:
13126 * testsuite/negotiation/Makefile.am:
13127 * testsuite/negotiation/pad_link.c:
13128 * testsuite/pad/Makefile.am:
13129 * testsuite/pad/chainnopull.c:
13130 * testsuite/pad/getnopush.c:
13131 * testsuite/pad/link.c:
13132 * testsuite/refcounting/sched.c: (create_pipeline):
13133 * testsuite/registry/Makefile.am:
13134 * testsuite/registry/gst-print-formats.c:
13135 * testsuite/schedulers/.cvsignore:
13136 * testsuite/schedulers/142183-2.c:
13137 * testsuite/schedulers/142183.c:
13138 * testsuite/schedulers/143777-2.c:
13139 * testsuite/schedulers/143777.c:
13140 * testsuite/schedulers/147713.c:
13141 * testsuite/schedulers/147819.c:
13142 * testsuite/schedulers/147894-2.c:
13143 * testsuite/schedulers/147894.c:
13144 * testsuite/schedulers/Makefile.am:
13145 * testsuite/schedulers/group_link.c:
13146 * testsuite/schedulers/queue_link.c:
13147 * testsuite/schedulers/relink.c:
13148 * testsuite/schedulers/unlink.c:
13149 * testsuite/schedulers/unref.c:
13150 * testsuite/schedulers/useless_iteration.c:
13151 * testsuite/states/bin.c:
13152 clean out/remove some stuff from the testsuite directories
13154 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13157 check for some headers
13158 * gst/elements/Makefile.am:
13159 * gst/elements/gstelements.c:
13160 don't compile fdsrc without sys/socket.h
13161 * gst/indexers/Makefile.am:
13162 * gst/indexers/gstindexers.c: (plugin_init):
13163 don't compile fileindex without mmap
13165 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13172 * check/Makefile.am:
13173 * docs/gst/Makefile.am:
13174 * examples/helloworld/Makefile.am:
13176 * gst/base/Makefile.am:
13177 * gst/check/Makefile.am:
13178 * gst/elements/Makefile.am:
13179 * gst/indexers/Makefile.am:
13180 * gst/parse/Makefile.am:
13181 * libs/gst/controller/Makefile.am:
13182 * libs/gst/dataprotocol/Makefile.am:
13183 * examples/helloworld/helloworld.c: (event_loop):
13184 compile fixes, though it's not being compiled currently
13186 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13188 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13189 Add some simple tests for the new taglist date API.
13191 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13193 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13194 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13195 Beautify 'last-message' output: print 'none' for buffer timestamps
13196 and durations if none is set; improve alignment with next messages.
13198 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13200 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13201 * gst/gstpluginfeature.h:
13202 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13203 * gst/gstregistry.h:
13204 * docs/gst/gstreamer-sections.txt:
13205 Add new API to check plugin feature version requirements.
13207 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13208 Some basic tests for the above.
13210 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13212 * gst/gststructure.c: (gst_structure_to_string):
13213 guard against NULL printf - happens when for example
13214 a message structure with GstClock gets serialized
13216 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13218 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13219 Fix presumable copy'n'pasto.
13221 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13223 * gst/elements/gstfakesrc.h:
13224 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13225 * gst/elements/gsttypefindelement.c:
13226 fix some signedness
13227 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13228 I wonder if this could actually write +2GB files before
13230 2005-10-13 Andy Wingo <wingo@pobox.com>
13232 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13233 Fix Timmeke Waymans bug.
13234 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13235 string of the proper length to gst_caps_from_string. There's a
13236 potential for, before this fix, that this could cause someone
13237 connecting over the network to cause a segfault if the payload is
13238 not NUL-terminated.
13240 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13242 * docs/design/draft-push-pull.txt:
13243 * docs/design/part-overview.txt:
13244 * docs/random/TODO-pre-0.9:
13245 * docs/random/old/ChangeLog.gstreamer:
13246 * gst/base/gstpushsrc.c:
13250 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13252 * gst/glib-compat.c: (gst_flags_get_first_value):
13253 * gst/glib-compat.h:
13254 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13255 (gst_value_compare_double), (gst_value_serialize_flags):
13256 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13259 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13262 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13264 * tools/gst-launch.c: (event_loop):
13265 print out clock nicely
13267 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13269 * docs/gst/gstreamer-sections.txt:
13270 * gst/gsttaglist.h:
13271 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13272 (gst_tag_list_get_date_index):
13273 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13274 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13276 2005-10-13 Julien MOUTTE <julien@moutte.net>
13278 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13279 (gst_collectpads_chain):
13280 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13283 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13285 * docs/gst/gstreamer-sections.txt:
13288 * tools/gst-inspect.c: (main):
13289 * tools/gst-launch.c: (main):
13290 * tools/gst-run.c: (main):
13291 * tools/gst-xmlinspect.c: (main):
13292 fix GOption context leaks
13295 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13299 * win32/common/config.h:
13301 * win32/vs6/grammar.dsp:
13302 * win32/vs6/libgstelements.dsp:
13303 * win32/vs6/libgstreamer.dsp:
13306 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13308 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13309 * gst/base/gstbasesrc.c: (gst_base_src_query):
13310 fix more guint64<->gdouble conversions
13312 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13315 add win32-update target
13316 * win32/common/gstconfig.h:
13317 * win32/common/gstenumtypes.c:
13318 * win32/common/gstenumtypes.h:
13319 * win32/common/gstversion.h:
13320 add files that visual studio can't generate
13322 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
13325 add a win32-update target
13328 2005-10-12 Wim Taymans <wim@fluendo.com>
13330 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13331 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13332 * gst/gstelement.c: (gst_element_commit_state),
13333 (gst_element_set_state):
13334 Protect flags with proper lock.
13335 unref provided cached clock in dispose.
13337 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13340 * gst/gstminiobject.h:
13342 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13343 removed unused flags from miniobject
13346 2005-10-12 Wim Taymans <wim@fluendo.com>
13348 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13349 (gst_file_sink_event), (gst_file_sink_render):
13350 Flush before seeking.
13352 2005-10-12 Andy Wingo <wingo@pobox.com>
13354 * gst/gst.c (gst_init_check): Ignore unknown options, as has
13355 always been the case.
13357 2005-10-12 Stefan Kost <ensonic@users.sf.net>
13359 * check/gst/gstbin.c: (GST_START_TEST):
13360 * docs/gst/gstreamer-sections.txt:
13361 * gst/base/gstbasesink.c: (gst_base_sink_init):
13362 * gst/base/gstbasesrc.c: (gst_base_src_init),
13363 (gst_base_src_get_range), (gst_base_src_check_get_range),
13364 (gst_base_src_start), (gst_base_src_stop):
13365 * gst/base/gstbasesrc.h:
13366 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13367 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13368 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13372 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13374 * gst/gstelement.c: (gst_element_is_locked_state),
13375 (gst_element_set_locked_state), (gst_element_commit_state),
13376 (gst_element_set_state):
13377 * gst/gstelement.h:
13378 * gst/gstindex.c: (gst_index_init):
13380 * gst/gstminiobject.h:
13381 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13382 (gst_object_set_parent):
13384 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13385 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13387 * gst/gstpadtemplate.h:
13388 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13389 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13390 * gst/gstpipeline.h:
13391 * gst/indexers/gstfileindex.c: (gst_file_index_load),
13392 (gst_file_index_commit):
13393 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13394 * testsuite/pad/link.c: (gst_test_src_init),
13395 (gst_test_filter_init), (gst_test_sink_init):
13396 * testsuite/states/locked.c: (main):
13397 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13398 moved bitshift from macro to enum definition
13400 2005-10-12 Wim Taymans <wim@fluendo.com>
13402 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13403 * gst/elements/gstfilesink.c: (gst_file_sink_event),
13404 (gst_file_sink_render):
13405 Some more debugging info.
13407 2005-10-12 Wim Taymans <wim@fluendo.com>
13409 * docs/design/part-states.txt:
13410 * tools/gst-launch.c: (main):
13412 Revert non-intentional change.
13414 2005-10-12 Wim Taymans <wim@fluendo.com>
13416 * check/gst/gstbin.c: (GST_START_TEST):
13417 * check/gst/gstelement.c: (GST_START_TEST):
13418 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13419 * check/gst/gstghostpad.c: (GST_START_TEST):
13420 * check/gst/gstpipeline.c: (GST_START_TEST):
13421 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13422 * check/states/sinks.c: (GST_START_TEST):
13423 * gst/elements/gsttypefindelement.c: (stop_typefinding):
13424 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13425 (gst_bin_remove_func), (gst_bin_get_state_func),
13426 (gst_bin_recalc_state), (gst_bin_change_state_func),
13428 * gst/gstelement.c: (gst_element_get_state_func),
13429 (gst_element_get_state), (gst_element_abort_state),
13430 (gst_element_commit_state), (gst_element_set_state),
13431 (gst_element_change_state), (gst_element_change_state_func):
13432 * gst/gstelement.h:
13433 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13434 (gst_pipeline_provide_clock_func):
13435 * gst/gstutils.c: (gst_element_link_pads_filtered):
13436 * tools/gst-launch.c: (main):
13437 * tools/gst-typefind.c: (main):
13438 Use GstClockTime in _get_state() instead of GTimeVal.
13439 Remove old code in gstutils.c
13441 2005-10-12 Andy Wingo <wingo@pobox.com>
13443 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13446 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13447 there is no task. Shouldn't affect any code, as nothing in our
13448 plugins checks this return value.
13449 (gst_pad_stop_task): Also take the stream lock if the pad has no
13450 task. Docs updated.
13452 2005-10-12 Wim Taymans <wim@fluendo.com>
13454 * gst/gstpad.c: (pre_activate), (post_activate),
13455 (gst_pad_activate_pull), (gst_pad_activate_push):
13456 Cleanup activation code. Reset old state if
13459 2005-10-12 Wim Taymans <wim@fluendo.com>
13461 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13462 (gst_base_sink_change_state):
13463 No need to prerol after receiving EOS.
13465 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13466 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13467 * gst/elements/gstidentity.c: (gst_identity_event):
13468 Print events more verbosely.
13470 2005-10-12 Wim Taymans <wim@fluendo.com>
13472 * check/Makefile.am:
13473 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13474 * check/states/sinks2.c:
13475 Moved sinks2 testcode in sinks check.
13477 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13478 (gst_bin_remove_func), (gst_bin_recalc_state),
13479 (gst_bin_change_state_func), (bin_bus_handler):
13480 Fix potential race condition when _get_state() iterated over an
13481 ASYNC element right before it posted a state completion.
13484 Do proper cast here.
13486 * gst/gstevent.c: (gst_event_new_newsegment),
13487 (gst_event_parse_newsegment):
13488 A playback rate of 0.0 is not allowed.
13490 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13492 * win32/common/config.h:
13493 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13494 (_trewinddir), (_ttelldir), (_tseekdir):
13495 * win32/common/dirent.h:
13496 * win32/common/gtchar.h:
13497 * win32/common/libgstbase.def:
13498 * win32/common/libgstreamer.def:
13499 * win32/vs6/grammar.dsp:
13500 * win32/vs6/gst_inspect.dsp:
13501 * win32/vs6/gst_launch.dsp:
13502 * win32/vs6/gstreamer.dsw:
13503 * win32/vs6/libgstbase.dsp:
13504 * win32/vs6/libgstelements.dsp:
13505 * win32/vs6/libgstreamer.dsp:
13506 Visual Studio 6 project files, and a new common directory.
13509 2005-10-11 Wim Taymans <wim@fluendo.com>
13511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13512 (gst_base_sink_do_sync), (gst_base_sink_query),
13513 (gst_base_sink_change_state):
13514 * gst/base/gstbasesink.h:
13515 Correctly parse newsegment info.
13517 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13519 * gst/gst.c: (init_post):
13520 split plugin paths correctly
13522 2005-10-11 Wim Taymans <wim@fluendo.com>
13524 * check/gst/gstevent.c: (GST_START_TEST):
13525 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13526 (gst_base_sink_change_state):
13527 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13528 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13529 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13530 * gst/gstevent.c: (gst_event_new_newsegment),
13531 (gst_event_parse_newsegment):
13533 Added extra flag to newsegment for future API freeze.
13534 Updated check and base elements.
13536 2005-10-11 Julien MOUTTE <julien@moutte.net>
13538 * gst/base/gstcollectpads.c: (gst_collectpads_init),
13539 (gst_collectpads_add_pad), (gst_collectpads_pop),
13540 (gst_collectpads_event), (gst_collectpads_chain):
13541 * gst/base/gstcollectpads.h: Handle EOS correctly.
13543 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13545 * tools/gst-launch.c: (main):
13546 more null protecting
13548 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13550 * gst/gst-i18n-lib.h:
13551 check for ENABLE_NLS, not GETTEXT_PACKAGE
13552 * gst/gstregistry.c: (gst_registry_add_plugin),
13553 (gst_registry_scan_path_level),
13554 (_gst_registry_remove_cache_plugins):
13555 protect possibly NULL strings
13556 * gst/parse/types.h:
13557 config.h already included before
13558 * tools/gst-inspect.c: (main):
13559 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
13560 check for ENABLE_NLS, not GETTEXT_PACKAGE
13561 * tools/gst-launch.c: (main):
13562 check for ENABLE_NLS, not GETTEXT_PACKAGE
13564 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13567 if we don't have glib, fail before testing 2.8
13568 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
13569 fix a leak, should fix plugins-base testsuite
13571 2005-10-11 Andy Wingo <wingo@pobox.com>
13573 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
13574 take the mode we're going to as an arg. Go head and set the mode
13575 and flushing flags now, so that if the activate function starts a
13576 thread all the flags will be in the right state.
13577 (post_activate): Renamed also. Just handle making sure streaming
13578 finishes for the deactivation case, and setting the deactivated
13580 (gst_pad_set_active): Complain loudly if deactivation fails.
13581 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
13582 (gst_pad_activate_push): Adapt to pre/post_activate changes,
13583 remove the terrible hack.
13585 2005-10-11 Wim Taymans <wim@fluendo.com>
13587 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13588 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
13589 (gst_bin_recalc_state), (gst_bin_change_state_func),
13590 (gst_bin_dispose), (bin_bus_handler):
13592 Prepare to make current EOS message queue more generic.
13595 * gst/gstevent.c: (gst_event_new_newsegment),
13596 (gst_event_parse_newsegment):
13598 Rename base to stream_time.
13600 * gst/gstmessage.h:
13603 2005-10-11 Wim Taymans <wim@fluendo.com>
13605 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13606 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
13607 (gst_bin_change_state_func), (bin_bus_handler):
13609 Work on proper clock selection.
13611 2005-10-11 Edward Hervey <edward@fluendo.com>
13613 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
13614 * libs/gst/controller/gstcontroller.h:
13615 Added GList* version of _remove_properties() in order to be able to wrap
13618 2005-10-11 Wim Taymans <wim@fluendo.com>
13620 * docs/design/part-states.txt:
13623 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
13624 (gst_bin_change_state_func), (bin_bus_handler):
13625 Doc updates. Don't distribute the same clock over and over again.
13631 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
13632 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
13633 (gst_pad_send_event):
13635 Make probe emission threadsafe again.
13636 Register quarks and move _get_name() from utils.
13639 * gst/gstpipeline.c: (gst_pipeline_class_init),
13640 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
13641 Only redistribute the clock of it changed.
13643 * gst/gstsystemclock.h:
13648 Moved the _flow_get_name() to GstPad.
13650 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13652 * check/gst-libs/gdp.c: (GST_START_TEST):
13653 * check/gst/gstcaps.c: (GST_START_TEST):
13654 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
13655 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
13656 (gst_dp_packet_from_caps):
13657 fix more valgrind warnings before turning up the heat
13659 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
13661 * gst/parse/grammar.y:
13662 some cleanup before the hacking
13664 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13666 * gst/base/gstbasesrc.c: (gst_base_src_query):
13668 * gst/gstutils.c: (gst_guint64_to_gdouble),
13669 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
13671 externalize, basesrc uses it
13672 obviously the implementation needs testing
13674 2005-10-10 Wim Taymans <wim@fluendo.com>
13676 * tests/sched/Makefile.am:
13677 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
13678 (make_pipeline3), (make_pipeline4), (print_elem), (main):
13680 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13682 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
13683 apparently converting from guint64 to double is not implemented
13686 2005-10-10 Wim Taymans <wim@fluendo.com>
13688 * check/Makefile.am:
13689 * check/generic/states.c: (GST_START_TEST):
13690 * check/gst/gstbin.c: (GST_START_TEST):
13691 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13692 * check/states/sinks.c: (GST_START_TEST):
13693 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
13695 Check fixes, use API as stated in design docs, remove hacks.
13697 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13698 (gst_base_sink_change_state):
13699 Catch stopping our task while we're shutting down.
13701 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
13702 (gst_bin_remove_func), (gst_bin_get_state_func),
13703 (gst_bin_recalc_state), (gst_bin_change_state_func),
13706 * gst/gstelement.c: (gst_element_init),
13707 (gst_element_get_state_func), (gst_element_abort_state),
13708 (gst_element_commit_state), (gst_element_lost_state),
13709 (gst_element_set_state), (gst_element_change_state),
13710 (gst_element_change_state_func):
13711 * gst/gstelement.h:
13712 New state change algorithm (see #318116)
13714 * gst/gstpipeline.c: (gst_pipeline_class_init),
13715 (gst_pipeline_init), (gst_pipeline_set_property),
13716 (gst_pipeline_get_property), (do_pipeline_seek),
13717 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
13718 * gst/gstpipeline.h:
13719 Remove crude state change hacks.
13722 Remove crude hacks.
13724 * tools/gst-launch.c: (main):
13725 Fixes for state change. Needs some more work to fully use the
13728 2005-10-10 Andy Wingo <wingo@pobox.com>
13730 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
13732 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
13733 this flag, but it's not even in GLib 2.6. Odd. Hack around the
13736 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
13738 * gst/gstiterator.c: (gst_iterator_new):
13739 Fix my previous commit: GTypes passed to gst_iterator_new()
13740 can be fundamental types.
13742 2005-10-10 Wim Taymans <wim@fluendo.com>
13744 * gst/gstelement.c: (gst_element_iterate_pad_list),
13745 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
13746 (gst_element_iterate_sink_pads):
13747 Use src/sink pads lists for the respective iterators instead
13750 2005-10-10 Andy Wingo <wingo@pobox.com>
13752 Merged in popt removal + GOption addition patch from Ronald, bug
13755 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
13756 GstElement macros around, remove popt-related symbols, add goption
13759 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
13761 * docs/gst/Makefile.am:
13762 * docs/libs/Makefile.am: No POPT_CFLAGS.
13764 * examples/manual/Makefile.am:
13765 * docs/manual/basics-init.xml: Doc updates with an example.
13767 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13768 (gst_init), (parse_one_option), (parse_goption_arg):
13769 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
13770 bit of hand merging and debugging to get the GOption stuff working
13773 * tests/Makefile.am:
13774 * tools/Makefile.am:
13775 * tools/gst-inspect.c: (main):
13776 * tools/gst-launch.c: (main):
13777 * tools/gst-run.c: (main):
13778 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
13780 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
13782 * gst/gstiterator.c: (gst_iterator_new):
13783 Add assertions to make sure passed GType is likely to really
13784 be a GType (as the compiler won't catch it if the size and
13785 GType arguments get mixed up, see #318447).
13787 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
13789 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13791 * gst/gstbin.c: (gst_bin_iterate_sorted):
13792 Pass GType and size arguments to gst_iterator_new() in the right
13793 order (maybe we should make _new() take the GType as first argument
13794 just like _new_list()?) (#318447).
13797 2005-10-10 Wim Taymans <wim@fluendo.com>
13799 * gst/gstelement.c: (gst_element_finalize):
13800 And free the GStaticRecMutex too
13802 2005-10-10 Andy Wingo <wingo@pobox.com>
13804 * gst/gstelement.c (gst_element_init, gst_element_finalize):
13805 Allocate and free the mutex properly.
13807 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
13809 (GstElement): The state_lock is now recursive. Rebuild your
13810 plugins, suckers. Old macros adapted.
13812 * docs/gst/gstreamer-sections.txt: Doc updates.
13815 * gst/gstutils.c (g_static_rec_cond_timed_wait)
13816 (g_static_rec_cond_wait): Ported from state changes patch, while
13817 we wait on bug #317802 to be solved in a well-distributed GLib.
13819 * gst/gstelement.c (gst_element_change_state_func): Renamed from
13820 gst_element_change_state, variable name changes.
13821 (gst_element_change_state): Split out of gst_element_set_state in
13822 preparation for the state change merge. Doesn't pay attention to
13823 the 'transition' argument.
13824 (gst_element_set_state): Updates, hopefully purely cosmetic.
13825 (gst_element_sync_state_with_parent): MT-safety. Ported from the
13826 state change patch.
13827 (gst_element_get_state_func): Renamed from get_state, cosmetic
13830 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13832 * gst/elements/gstelements.c:
13833 * win32/GStreamer.vcproj:
13835 * win32/dirent.c: (_tseekdir):
13836 * win32/gst-inspect.vcproj:
13837 * win32/gst-launch.vcproj:
13838 * win32/gstconfig.h:
13839 * win32/gstelements.vcproj:
13840 * win32/gstenumtypes.c: (gst_object_flags_get_type):
13841 * win32/gstreamer.def:
13842 * win32/msvc71.sln:
13843 updates for the win32 build (patch from Sebastien Moutte)
13845 2005-10-10 Andy Wingo <wingo@pobox.com>
13847 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
13848 gst_bin_get_state, cleaned up (but no logic changes).
13849 (bin_element_is_sink): Comment updates.
13850 (sink_iterator_filter): Remove needless cast.
13851 (gst_bin_iterate_sinks): Doc update.
13852 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
13853 cleaned up (but no logic changes).
13855 * check/states/sinks.c (test_src_sink): Cleanups from the state
13857 (test_livesrc_sink): Sync on the state.
13859 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
13860 the state change patch.
13862 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
13865 * check/gst/gstbin.c: Merge in some style fixes and additional
13866 checks from Wim's state change patch.
13868 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
13870 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13871 (gst_type_find_helper):
13872 Check whether we have the requested data already in our list of
13873 cached buffers before pulling a new buffer; also make the buffer
13874 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
13876 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
13881 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
13882 don't use long long, it's not portable. Replacing with
13883 gint64 seems to work; let's hope no skeletons fall out of the closet.
13885 2005-10-10 Andy Wingo <wingo@pobox.com>
13887 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
13889 2005-10-09 Stefan Kost <ensonic@users.sf.net>
13891 * docs/gst/gstreamer-sections.txt:
13896 * gst/gstmessage.c: (gst_message_parse_state_changed):
13899 more docs, fix compilation
13901 2005-10-09 Philippe Khalaf <burger@speedy.org>
13902 * gst/gstmessage.c:
13903 Fixed a few forgotten variables on previous commit
13905 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
13907 * gst/base/gsttypefindhelper.c: (helper_find_peek):
13908 Fix evil typefind crasher: getrange() might return a short
13909 buffer at the end of a file, but gst_type_find_peek() must
13910 either return the full data as requested or NULL, but
13911 never a short buffer.
13913 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
13915 * gst/gstmessage.c: (gst_message_new_state_changed),
13916 (gst_message_parse_state_changed):
13917 * gst/gstmessage.h:
13918 don't use "new", it's a C++ keyword
13920 2005-10-08 Wim Taymans <wim@fluendo.com>
13922 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
13923 * gst/gstelement.c: (gst_element_post_message):
13924 * gst/gstpipeline.c: (gst_pipeline_change_state):
13925 Small docs and debug updates.
13927 2005-10-08 Stefan Kost <ensonic@users.sf.net>
13929 * docs/gst/gstreamer-sections.txt:
13930 * gst/gstelementfactory.c:
13932 * gst/gsttaglist.c:
13935 2005-10-08 Wim Taymans <wim@fluendo.com>
13937 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
13938 (gst_bin_dispose), (bin_bus_handler):
13939 Fix typos, add comments.
13940 Clear EOS list when going to PAUSED from any direction and do it
13941 in a threadsafe way.
13942 Get base time in a threadsafe way too.
13943 Fix confusing debug in the change_state function.
13944 Various other small cleanups.
13946 * gst/gstelement.c: (gst_element_post_message):
13947 Fix very verbose bus posting code.
13949 * gst/gstpipeline.c: (gst_pipeline_class_init),
13950 (gst_pipeline_set_property), (gst_pipeline_get_property),
13951 (gst_pipeline_change_state):
13952 Small ARG_ -> PROP_ cleanup
13954 2005-10-08 Wim Taymans <wim@fluendo.com>
13956 * gst/gstbin.c: (is_eos), (bin_bus_handler):
13957 Do a less CPU demanding EOS check because we can.
13959 2005-10-08 Wim Taymans <wim@fluendo.com>
13961 * libs/gst/dataprotocol/dataprotocol.c:
13962 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13963 (gst_dp_packet_from_event):
13964 * libs/gst/dataprotocol/dataprotocol.h:
13965 * libs/gst/dataprotocol/dp-private.h:
13966 It's about time we bump the version number.
13967 Since event types don't fit in the guint8 anymore describing
13968 the payload type, make payload type 16 bits wide.
13970 2005-10-08 Wim Taymans <wim@fluendo.com>
13972 * docs/design/part-TODO.txt:
13973 * docs/design/part-clocks.txt:
13974 * docs/design/part-events.txt:
13975 * docs/design/part-gstbin.txt:
13976 * docs/design/part-gstelement.txt:
13977 * docs/design/part-gstpipeline.txt:
13978 * docs/design/part-live-source.txt:
13979 * docs/design/part-messages.txt:
13980 * docs/design/part-overview.txt:
13981 * docs/design/part-states.txt:
13984 2005-10-08 Wim Taymans <wim@fluendo.com>
13988 Fix event quark registration.
13989 Add some space between events so we can insert them in the
13992 2005-10-08 Wim Taymans <wim@fluendo.com>
13994 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13995 (gst_base_sink_handle_buffer):
13996 Better log message.
13999 * gst/gstelement.h:
14002 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14003 (gst_queue_set_property), (gst_queue_get_property):
14005 Remove old unused properties.
14007 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14008 * docs/gst/gstreamer-sections.txt:
14009 * gst/gstmessage.c:
14010 * gst/gstmessage.h:
14011 * gst/gstminiobject.c:
14012 * gst/gstminiobject.h:
14016 lots of new docs and doc fixes
14018 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14020 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14022 * gst/gstregistry.c: (gst_registry_lookup_locked),
14023 (gst_registry_scan_path_level):
14024 * gst/gstregistryxml.c: (load_plugin):
14025 Only ever load one plugin for a given plugin basename.
14026 This ensures correct overriding of GST_PLUGIN_PATH over
14027 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14028 system installed plugins.
14030 2005-10-08 Wim Taymans <wim@fluendo.com>
14032 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14033 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14034 Prepare for doing QOS.
14036 2005-10-08 Wim Taymans <wim@fluendo.com>
14038 * check/gst/gstbin.c: (GST_START_TEST):
14039 * check/pipelines/cleanup.c: (GST_START_TEST):
14040 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14041 Allow new clock message too.
14043 2005-10-08 Wim Taymans <wim@fluendo.com>
14045 * gst/gstmessage.c: (gst_message_new_error),
14046 (gst_message_new_warning), (gst_message_new_tag),
14047 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14048 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14049 (gst_message_new_segment_start), (gst_message_new_segment_done),
14050 (gst_message_parse_state_changed),
14051 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14052 (gst_message_parse_new_clock):
14053 * gst/gstmessage.h:
14054 Also carry the clock in question.
14056 2005-10-08 Wim Taymans <wim@fluendo.com>
14058 * gst/gstmessage.c: (gst_message_new_custom),
14059 (gst_message_new_eos), (gst_message_new_error),
14060 (gst_message_new_warning), (gst_message_new_tag),
14061 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14062 (gst_message_new_new_clock), (gst_message_new_segment_start),
14063 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14064 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14065 * gst/gstmessage.h:
14067 Added clock related messages.
14069 * gst/gstpipeline.c: (gst_pipeline_change_state):
14070 Post message when the clock changed.
14072 * tools/gst-launch.c: (event_loop):
14075 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14077 * tools/gst-inspect.c: (print_element_properties_info):
14078 Can't pass NULL strings to g_print() on windows.
14080 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14082 * docs/Makefile.am:
14083 * docs/gst/Makefile.am:
14084 * docs/gst/gstreamer-docs.sgml:
14085 * docs/gst/running.xml:
14086 * docs/version.entities.in:
14087 add a chapter on running GStreamer.
14088 document GST_DEBUG and GST_PLUGIN* env vars
14090 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14095 remove PLUGINS_BUILDDIR stuff
14096 * gst/gst.c: (init_post):
14097 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14099 remove, it was condescending and not needed
14101 2005-10-08 Wim Taymans <wim@fluendo.com>
14103 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14104 (gst_base_sink_handle_object), (gst_base_sink_event),
14105 (gst_base_sink_wait), (gst_base_sink_handle_event),
14106 (gst_base_sink_change_state):
14107 * gst/base/gstbasesink.h:
14108 Repost EOS message while going to PLAYING if still EOS.
14109 Make sure that when receiving a FLUSH_START we don't attempt
14110 to sync on the clock anymore.
14112 2005-10-08 Wim Taymans <wim@fluendo.com>
14114 * tools/gst-launch.c: (event_loop):
14115 Better message printout.
14117 2005-10-08 Wim Taymans <wim@fluendo.com>
14119 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14120 (gst_bin_child_proxy_get_children_count):
14121 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14122 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14123 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14124 (gst_child_proxy_set_valist):
14125 * gst/parse/grammar.y:
14126 Make ChildProxy threadsafe and fix mem leaks.
14128 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14130 * gst/gst.c: (init_post):
14131 debug the GST_PLUGIN_ env vars
14133 2005-10-08 Wim Taymans <wim@fluendo.com>
14135 * check/gst/gstbin.c: (GST_START_TEST):
14136 * check/gst/gstmessage.c: (GST_START_TEST):
14137 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14138 * gst/gstelement.c: (gst_element_commit_state),
14139 (gst_element_lost_state):
14140 * gst/gstmessage.c: (gst_message_new_state_changed),
14141 (gst_message_parse_state_changed):
14142 * gst/gstmessage.h:
14143 * tools/gst-launch.c: (event_loop):
14144 Added extra field to STATE_CHANGE message with the pending
14145 state, which will be different from the new state soon.
14147 2005-10-08 Wim Taymans <wim@fluendo.com>
14149 * gst/gstbus.c: (gst_bus_pop):
14151 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14152 Small cleanups and doc updates.
14154 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14156 * gst/gst.c: (init_pre):
14157 * gst/gstbin.c: (gst_bin_add_func):
14158 log distributing clocks and base time
14159 * gst/gstregistry.c: (gst_registry_add_plugin),
14160 (gst_registry_scan_path_level), (gst_registry_scan_path):
14161 clean up the debugging output a little
14162 * gst/gstutils.c: (gst_element_state_get_name):
14163 warn about a memleak (I've actually seen this be used, though
14164 it was probably a bug)
14166 2005-10-07 Wim Taymans <wim@fluendo.com>
14168 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14169 (gst_base_src_init), (gst_base_src_default_newsegment),
14170 (gst_base_src_newsegment), (gst_base_src_do_seek),
14171 (gst_base_src_loop), (gst_base_src_start):
14172 * gst/base/gstbasesrc.h:
14173 Make the newsegment event customizable by subclasses.
14175 2005-10-07 Wim Taymans <wim@fluendo.com>
14177 * gst/gstevent.c: (gst_event_new_buffersize),
14178 (gst_event_parse_buffersize):
14180 New event for future idea.
14182 2005-10-07 Andy Wingo <wingo@pobox.com>
14184 * gst/gstelement.c (gst_element_post_message): Doc update.
14186 * docs/gst/gstreamer-sections.txt: Update.
14188 * gst/gstmessage.c (gst_message_new_application): Made into a
14189 function like honest API calls.
14190 (gst_message_new_element): New message type.
14192 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14194 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14195 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14198 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14199 NO_PREROLL from gst_element_change_state to fall through.
14201 2005-10-07 Wim Taymans <wim@fluendo.com>
14203 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14204 (gst_ghost_pad_do_activate_push):
14205 Activating a ghostpad with no internal pad in push mode
14208 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14211 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14212 Fixes compilation on Windows.
14214 2005-10-07 Michael Smith <msmith@fluendo.com>
14216 * tools/gst-inspect.c:
14217 Print out feature and plugin count at the end when printing out
14220 2005-10-04 Michael Smith <msmith@fluendo.com>
14222 * gst/gsterror.c: (_gst_stream_errors_init):
14223 Add another error string used in a few existing plugins.
14226 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14227 * tools/gst-inspect.c: (print_element_info):
14228 When a feature disappears from a plugin (and the feature exists in
14229 the cached registry file), things went horribly wrong. This isn't a
14230 complete fix, we should actually be removing the 'missing' features
14231 from the features list when we load the actual plugin. That's not
14234 2005-10-04 Johan Dahlin <johan@gnome.org>
14236 * check/gst/gstiterator.c: (GST_START_TEST):
14237 * gst/gstbin.c: (gst_bin_iterate_elements),
14238 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14239 * gst/gstelement.c: (gst_element_iterate_pads):
14240 * gst/gstformat.c: (gst_format_iterate_definitions):
14241 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14242 (gst_iterator_new_list), (gst_iterator_filter):
14243 * gst/gstiterator.h:
14244 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14245 Add a GType to GstIterator, update callsites and tests.
14247 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14249 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14250 give events a chance to be handled by event probes when the pad
14253 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14255 * gst/gstevent.c: (gst_event_type_get_name),
14256 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14258 add string representations for event types
14260 2005-10-06 Wim Taymans <wim@fluendo.com>
14262 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14263 Don't use NULL pointers.
14265 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14267 * gst/gst_private.h:
14269 * gst/gstelement.c:
14271 * gst/gstpluginfeature.c:
14272 widen the debug category in output to fit the biggest one we have
14273 add a bus category and use it
14274 play with the colors
14275 fix up some categories
14277 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14279 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14280 add push activation of sink ghost pads.
14281 Andye, please verify
14283 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14285 * gst/gstutils.c: (gst_element_link_pads):
14286 fix a bug in the case where neither element has a pad
14287 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14288 add a test for that case
14290 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14292 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14293 emit have-data before checking for peers. This allows
14294 for probe handlers to connect elements. This helps autopluggers.
14295 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14297 add six checks, linked/unlinked with no/true/false probe
14299 2005-10-04 Wim Taymans <wim@fluendo.com>
14301 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14302 (gst_fake_sink_event), (gst_fake_sink_preroll),
14303 (gst_fake_sink_render), (gst_fake_sink_change_state):
14304 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14305 (gst_fake_src_get_property), (gst_fake_src_create),
14306 (gst_fake_src_stop):
14307 * gst/elements/gstidentity.c: (gst_identity_stop):
14308 Protect last_message with lock.
14310 2005-10-04 Edward Hervey <edward@fluendo.com>
14313 Added precision in the comments for GST_FORMAT_DEFAULT
14315 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
14317 * tools/gst-launch.c: (main):
14318 Don't try to run erroneous pipelines.
14320 2005-10-04 Julien MOUTTE <julien@moutte.net>
14322 * gst/gstbus.c: We don't need this header.
14324 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14327 back to development
14329 === release 0.9.3 ===
14331 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
14335 Releasing 0.9.3, "Unregistered"
14337 2005-10-03 Andy Wingo <wingo@pobox.com>
14339 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14340 whereby calling a pad's activatepush() function can start a thread
14341 that starts to push or pull before the pad gets the FLUSHING flag
14342 unset. Hack around it by holding the stream lock until the flag is
14343 set. Need to replace this with a proper solution. Together with
14344 the ghost pad fixes, this fixes mp3 playing/tagreading.
14346 * docs/design/part-gstghostpad.txt: Add a note about activation of
14347 proxy pads outside of ghost pads.
14349 * gst/gstghostpad.c: Implement the ghost pad activation design.
14351 2005-10-02 Andy Wingo <wingo@pobox.com>
14353 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14354 It is volatile, after all.
14356 * docs/design/part-gstghostpad.txt: Flesh out activation with
14359 * gst/base/gstbasesrc.c (gst_base_src_init): Use
14362 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
14365 Fix (unused) AM_CONDITIONAL tests.
14367 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
14369 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14371 * gst/gstutils.c: (gst_pad_query_convert):
14372 Add assertion that makes sure src_val is >=0, just like
14373 gst_query_new_convert() has. (#315895)
14375 2005-09-30 Edward Hervey <edward@fluendo.com>
14377 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14378 Let's not iterate pads we're not interested in, it avoids getting
14379 sky-high refcounts on sinkpad.
14381 2005-09-30 Wim Taymans <wim@fluendo.com>
14383 * gst/gstelement.c: (gst_element_set_state),
14384 (gst_element_change_state):
14385 Small tweak, element in ASYNC remains ASYNC.
14387 2005-09-30 Wim Taymans <wim@fluendo.com>
14389 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14390 Only error is an error.
14392 * gst/gstbin.c: (gst_bin_change_state):
14395 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14396 Also call pad_block in pad alloc.
14398 * gst/gstutils.c: (gst_flow_get_name):
14401 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14403 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14404 (gst_base_src_get_range):
14405 Fix documentation typos. Add some more debug info.
14407 2005-09-29 David Schleef <ds@schleef.org>
14409 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14410 more end-user friendly.
14411 * tools/gst-inspect.c: (main): Check if command-line argument is
14412 a file and attempt to load that file as a plugin.
14414 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14416 * check/gst/gstbin.c:
14417 * check/states/sinks.c:
14418 fix tests for the new warning
14419 * check/gst/gstpipeline.c:
14420 add a test for pipeline and bus interaction
14421 * gst/gstelement.c:
14422 elements should be NULL if they get disposed; add a warning if not
14424 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14427 for 2.6 refcounting, make debug log more correct by printing
14428 the actual refcounts at the time of swap (Wim)
14430 2005-09-29 Andy Wingo <wingo@pobox.com>
14432 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14433 removes signal watches previously added via
14434 gst_bus_add_signal_watch.
14435 (gst_bus_add_signal_watch): Don't return the source id, just store
14436 it on the bus if there wasn't an id already.
14438 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14439 add_signal_watch and remove_signal_watch.
14441 2005-09-29 Edward Hervey <edward@fluendo.com>
14443 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
14444 Better if we actually iterate the list :)
14446 2005-09-29 Wim Taymans <wim@fluendo.com>
14448 * check/gst/gstbin.c: (GST_START_TEST):
14449 Change for new bus API.
14451 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14452 (send_messages), (GST_START_TEST), (gstbus_suite):
14453 Change for new bus signal API.
14455 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14456 (gst_bus_source_prepare), (gst_bus_source_check),
14457 (gst_bus_create_watch), (gst_bus_add_watch_full),
14458 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14459 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14461 Remove support for multiple GSources operating on different
14462 message types as it is too complex and unneeded when using
14464 Added support for receiving signals from the bus.
14466 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
14468 * docs/libs/tmpl/gstdataprotocol.sgml:
14469 * docs/manual/advanced-dataaccess.xml:
14470 * gst/elements/gstcapsfilter.c:
14472 rename filter-caps to caps property
14474 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14476 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14477 More robust fraction string parsing.
14479 * docs/pwg/appendix-porting.xml:
14480 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14482 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
14484 * gst/gstcaps.c: (gst_caps_do_simplify):
14485 Thou shalt not free a structure and then continue using it
14486 in the next loop iteration.
14488 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14490 Add test case for caps simplification.
14492 2005-09-29 Wim Taymans <wim@fluendo.com>
14494 * check/gst/gstbin.c: (GST_START_TEST):
14497 2005-09-29 Wim Taymans <wim@fluendo.com>
14499 * check/gst/gstbin.c: (GST_START_TEST):
14502 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14503 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14504 (find_element), (gst_bin_sort_iterator_next),
14505 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14506 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14507 (gst_bin_change_state), (gst_bin_dispose):
14508 A bin does not have a bus, it gets the bus from the parent.
14510 * gst/gstelement.c: (gst_element_requires_clock),
14511 (gst_element_provides_clock), (gst_element_is_indexable),
14512 (gst_element_is_locked_state), (gst_element_change_state),
14513 (gst_element_set_bus_func):
14516 * gst/gstpipeline.c: (gst_pipeline_class_init),
14517 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14518 The pipeline provides a bus.
14520 2005-09-28 Johan Dahlin <johan@gnome.org>
14522 * gst/gstmessage.c (gst_message_parse_state_changed): Use
14523 gst_structure_get_enum instead of gst_structure_get_int
14525 * gst/gststructure.c (gst_structure_get_enum): Impl.
14527 * gst/gststructure.h (gst_structure_get_enum): Add
14529 * docs/gst/gstreamer-sections.txt: Ditto
14531 * gst/gstmessage.c (gst_message_new_state_changed): Use
14532 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14533 which does introspection.
14534 Reviewed by Christian Schaller
14536 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14538 * gst/gstinfo.c: (gst_debug_log_default):
14539 don't do dummy g_strdup()s
14540 * libs/gst/controller/gstcontroller.c:
14541 (on_object_controlled_property_changed),
14542 (gst_controlled_property_new), (gst_controller_new_valist),
14543 (gst_controller_new_list),
14544 (gst_controller_remove_properties_valist), (gst_controller_set),
14545 (gst_controller_get), (gst_controller_sync_values),
14546 (gst_controller_get_value_array), (_gst_controller_class_init),
14547 (gst_controller_get_type):
14548 * libs/gst/controller/gstcontroller.h:
14549 * libs/gst/controller/gstinterpolation.c:
14550 (gst_controlled_property_find_timed_value_node):
14551 convert // to /**/ comments
14553 2005-09-28 Wim Taymans <wim@fluendo.com>
14555 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
14556 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
14557 (gst_bus_sync_signal_handler):
14559 Added async-message and sync-message signals to the bus.
14560 Added helper BusFunc to emit signals for all posted messages.
14562 * gst/gstmessage.c: (gst_message_type_get_name),
14563 (gst_message_type_to_quark), (gst_message_get_type):
14564 * gst/gstmessage.h:
14565 Register quarks for message names.
14567 2005-09-28 Stefan Kost <ensonic@users.sf.net>
14569 * docs/libs/gstreamer-libs-sections.txt:
14570 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
14571 (gst_controller_new_list):
14572 * libs/gst/controller/gstcontroller.h:
14573 added another constructor for language bindings
14575 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
14577 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14581 * gst/gstinfo.c: (_gst_debug_init):
14582 slightly more readable color for refcount debugging
14584 2005-09-28 Wim Taymans <wim@fluendo.com>
14586 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14587 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14588 (find_element), (gst_bin_sort_iterator_next),
14589 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14590 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14591 (gst_bin_change_state), (gst_bin_dispose):
14592 Small doc fixes. get_clock -> provide_clock.
14594 * gst/gstelement.c: (gst_element_class_init),
14595 (gst_element_provides_clock), (gst_element_provide_clock),
14596 (gst_element_get_clock), (gst_element_commit_state),
14597 (gst_element_lost_state):
14598 * gst/gstelement.h:
14599 Make get/set_clock() symetric. Add provide_clock vmethod since
14600 that is actually what this function does.
14602 * gst/gstpipeline.c: (gst_pipeline_class_init),
14603 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
14604 (gst_pipeline_get_clock):
14605 get_clock -> provide_clock.
14607 2005-09-28 Andy Wingo <wingo@pobox.com>
14609 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
14610 lieu of real docs...
14612 * gst/elements/gstfdsrc.c: Cleaned up a bit.
14614 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
14616 * gst/elements/gstcapsfilter.c:
14617 * gst/elements/gstfakesink.c:
14618 * gst/elements/gstfakesrc.c:
14619 * gst/elements/gstfdsink.c:
14620 * gst/elements/gstfdsrc.c:
14621 * gst/elements/gstfilesink.c:
14622 * gst/elements/gstfilesrc.c:
14623 * gst/elements/gstidentity.c:
14624 * gst/elements/gsttee.c:
14625 * gst/elements/gsttypefindelement.c:
14626 Make element details static.
14628 2005-09-28 Wim Taymans <wim@fluendo.com>
14630 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14631 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14632 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14633 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14634 (gst_bin_change_state), (gst_bin_dispose):
14635 Some documentation updates.
14636 Clean up dispose handlers.
14638 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
14639 * gst/gstpad.c: (gst_pad_dispose):
14640 Clean up dispose handler.
14642 * gst/gstpipeline.c: (gst_pipeline_change_state):
14643 Removed spurious UNLOCK.
14645 2005-09-27 Stefan Kost <ensonic@users.sf.net>
14647 * docs/gst/gstreamer-sections.txt:
14648 * gst/base/gstbasesrc.h:
14649 * gst/gstelement.h:
14653 * gst/gstpipeline.c:
14654 * gst/gstpipeline.h:
14657 added two new functions to the docs
14658 documents all undocumented GstXXXFlags
14659 completed some incomplete docs
14661 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
14663 * gst/gstbin.c: (gst_bin_dispose):
14664 * gst/gstelement.c: (gst_element_dispose):
14665 remove now useless and leaky resurrection code in dispose
14666 * gst/base/gstbasesrc.c: (gst_base_src_init):
14667 * gst/gstelementfactory.c: (gst_element_factory_create):
14668 * gst/gstobject.c: (gst_object_set_parent):
14671 2005-09-27 Wim Taymans <wim@fluendo.com>
14673 * docs/design/part-TODO.txt:
14676 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14677 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14678 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14679 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14680 (gst_bin_change_state):
14681 * gst/gstelement.h:
14682 Remove element variable, we keep element info in the iterator now.
14684 2005-09-27 Andy Wingo <wingo@pobox.com>
14686 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
14689 2005-09-27 Wim Taymans <wim@fluendo.com>
14691 * check/gst/gstbin.c: (GST_START_TEST):
14692 Enable check that works now.
14694 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14695 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14696 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14697 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14698 (gst_bin_change_state):
14700 Redid the state change algorithm using a topological sort algo.
14701 Handles all cases correctly.
14702 Exposed iterator for state change order.
14704 * gst/gstelement.h:
14705 Temp storage for state changes. Need to get rid of this soon.
14707 2005-09-27 Wim Taymans <wim@fluendo.com>
14709 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
14710 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
14711 (link_fold_func), (gst_pad_proxy_setcaps):
14712 Leak fixes, the fold functions need to unref the passed object and
14713 _get_parent_*() returns ref to parent.
14715 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
14717 * check/gst/gstbuffer.c: (test_make_writable):
14718 Plug leak in test case and fix 'make check-valgrind'
14720 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
14722 * gst/gstbuffer.c: (gst_subbuffer_init):
14723 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
14724 works correctly in all circumstances (we could have just copied
14725 the parent buffer's readonly flag, but conceptually it seems
14726 cleaner to mark all subbuffers as read-only). (based on patch
14727 by Alessandro Decina, #314710).
14729 * check/gst/gstbuffer.c: (create_read_only_buffer),
14730 (test_make_writable), (test_subbuffer_make_writable),
14732 Add some tests for gst_buffer_make_writable().
14734 2005-09-27 Wim Taymans <wim@fluendo.com>
14736 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
14737 use gst_object_has_ancestor().
14739 * gst/gstobject.c: (gst_object_has_ancestor):
14741 gst_object_has_ancestor() copied from gstbin.c as it is a
14744 * tests/instantiate/create.c: (create_all_elements):
14745 * tests/lat.c: (handoff_src), (handoff_sink):
14746 * tests/sched/runxml.c: (main):
14747 * tests/seeking/seeking1.c: (main):
14748 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
14750 Fix compilation of some tests.
14752 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
14755 Remove comment. GST_TYPE_G_ERROR is here to stay,
14756 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
14757 (#316961, #300610).
14759 2005-09-26 Wim Taymans <wim@fluendo.com>
14761 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14762 Added check that shows error in state change order.
14764 2005-09-26 Wim Taymans <wim@fluendo.com>
14766 * gst/gstbin.c: (gst_bin_change_state):
14767 Make state change function use 3 queues again, we were
14768 adding elements in the wrong order.
14770 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
14773 * gst/gstpad.c: (gst_pad_dispose):
14774 Added some debug info first.
14776 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
14778 * docs/design/draft-push-pull.txt:
14779 * docs/design/part-events.txt:
14780 * docs/design/part-overview.txt:
14781 * docs/design/part-scheduling.txt:
14782 Replace all _pull_region() with _pull_range()
14784 2005-09-26 Andy Wingo <wingo@pobox.com>
14786 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
14788 * check/gst-libs/controller.c: Update for controller api change.
14791 * tests/Makefile.am:
14792 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
14793 over by GLib bug 118439.
14795 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
14796 routines to a function.
14798 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
14800 * libs/gst/controller/gsthelper.c:
14801 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
14802 (gst_object_sync_values): Renamed from sink_values. Ugh.
14804 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
14806 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
14807 Renamed from controller_key, as it is exported.
14809 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
14811 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
14816 * gst/gstpadtemplate.h:
14819 * gst/gstqueryutils.c:
14820 * gst/gstqueryutils.h:
14821 remove queryutils headers after moving the two used functions
14822 to gstquery. also fixes build problem for gstsiddec
14824 2005-09-26 Michael Smith <msmith@fluendo.com>
14826 * tools/gst-launch.1.in:
14827 Correct documentation in manpage of debug syntax
14829 2005-09-26 Wim Taymans <wim@fluendo.com>
14831 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14832 (gst_base_src_is_seekable), (gst_base_src_change_state):
14833 Some more debugging info.
14835 2005-09-25 Stefan Kost <ensonic@users.sf.net>
14837 * docs/gst/gstreamer-sections.txt:
14838 * gst/base/gstbasetransform.h:
14842 2005-09-25 Stefan Kost <ensonic@users.sf.net>
14844 * docs/gst/.cvsignore:
14845 * docs/gst/tmpl/.cvsignore:
14846 * docs/gst/tmpl/gstpipeline.sgml:
14847 * docs/gst/tmpl/gstplugin.sgml:
14848 * gst/gstpipeline.c:
14851 inlined the last two docs files
14852 removed the tmpl directory from cvs (no more conflicts here!)
14854 2005-09-25 Stefan Kost <ensonic@users.sf.net>
14856 * docs/gst/gstreamer-sections.txt:
14857 * docs/gst/tmpl/.cvsignore:
14858 * docs/gst/tmpl/gstpad.sgml:
14859 * docs/gst/tmpl/gstpadtemplate.sgml:
14861 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
14862 (gst_pad_finalize), (gst_pad_set_pad_template):
14864 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14865 (gst_pad_template_class_init), (gst_pad_template_init),
14866 (gst_pad_template_dispose), (name_is_valid),
14867 (gst_static_pad_template_get), (gst_pad_template_new),
14868 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
14869 (gst_pad_template_pad_created):
14870 * gst/gstpadtemplate.h:
14871 inlined two more docs
14872 factored gstpadtemplate out of gstpad
14874 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
14876 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
14877 (test_children_state_change_order_semi_sink):
14878 Fix test case: we can't rely on a fixed state change order when
14879 going from READY => PAUSED because the sink might commit its
14880 new state first when the first buffer created by the source
14881 reaches the sink before the source has finished its change state.
14882 (Test case still fails at times, see #316856, comment 5 onwards)
14884 2005-09-24 Wim Taymans <wim@fluendo.com>
14886 * docs/design/part-events.txt:
14887 * docs/design/part-gstbus.txt:
14888 * docs/design/part-gstpipeline.txt:
14889 * docs/design/part-messages.txt:
14890 * docs/design/part-overview.txt:
14891 * docs/design/part-segments.txt:
14895 * gst/gstelement.c:
14898 * gst/gstiterator.c:
14899 Various documentation updates.
14901 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
14904 Well, that's embarassing. Luckily we weren't using
14905 GST_CLOCK_DIFF anywhere.
14907 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
14909 * common/gtk-doc.mak:
14910 don't fail on building XML, FC4 slave shows a bunch of doc
14911 missing bits that I don't get
14913 * gst/gstpipeline.c:
14914 * gst/gststructure.c:
14917 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
14919 * docs/design/part-gstbin.txt:
14920 * docs/design/part-gstbus.txt:
14922 Add blurb about how the bus goes into flushing mode and
14923 drops all messages when its bin goes from READY into NULL
14926 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
14928 * docs/gst/gstreamer-sections.txt:
14929 * gst/gststructure.c: (gst_structure_get_clock_time):
14930 * gst/gststructure.h:
14931 add a method to get a GstClockTime out of a structure
14933 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
14935 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
14936 (test_children_state_change_order_semi_sink), (gst_bin_suite):
14937 Added test to check state change order in bins (can still be made
14938 to fail here under heavy disk load; bails out with 'Push on pad
14939 fakesink:sink0, but it was not activated in push mode').
14941 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
14942 Fix state change order when there is only a semi sink (#316856)
14944 * gst/gstbus.c: (gst_bus_class_init):
14945 Use _class_peek_parent(), not _class_ref(); fix docs to say
14946 'default main context' instead of 'mainloop' where that is
14949 * gst/gstelement.c: (gst_element_commit_state),
14950 (gst_element_set_state):
14951 Fix typos in debug messages
14953 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
14956 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
14957 * gst/gstpluginfeature.c:
14959 various doc updates
14960 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14961 change an assert into an error until it gets fixed properly
14963 2005-09-23 Stefan Kost <ensonic@users.sf.net>
14965 * docs/gst/gstreamer-sections.txt:
14966 * docs/gst/tmpl/.cvsignore:
14967 * docs/gst/tmpl/gstelement.sgml:
14968 * docs/gst/tmpl/gstinfo.sgml:
14969 * docs/gst/tmpl/gstobject.sgml:
14970 * gst/gstelement.c:
14971 * gst/gstelement.h:
14974 * gst/gstobject.c: (gst_object_class_init):
14976 inlined 3 more biiiig doc files and added some missing docs on the fly
14978 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
14980 * check/gst/.cvsignore:
14981 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
14982 * gst/gstregistryxml.c: (load_plugin),
14983 (gst_registry_xml_save_plugin):
14984 put back source in registry. add checks for find_plugin.
14985 * testsuite/states/bin.c: (assert_state), (empty_bin),
14986 (test_adding_one_element), (main):
14987 * testsuite/states/locked.c: (main):
14988 some compile/run fixes
14990 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
14992 * check/gst/gstvalue.c: (GST_START_TEST):
14993 fix leaks in the test itself
14995 2005-09-22 Wim Taymans <wim@fluendo.com>
14997 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14998 (gst_base_sink_send_event), (gst_base_sink_peer_query),
14999 (gst_base_sink_query):
15000 Prepare for more accurate position reporting and query
15003 * gst/gstelement.c: (gst_element_send_event),
15004 (gst_element_set_state):
15007 2005-09-22 Wim Taymans <wim@fluendo.com>
15009 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15010 (gst_query_parse_segment):
15012 More documentation.
15013 Add segment query for future use.
15015 2005-09-22 Wim Taymans <wim@fluendo.com>
15017 * gst/gstbin.c: (gst_bin_add_func):
15018 Some more debug info.
15020 * gst/gstelement.c: (gst_element_send_event):
15021 Simplify send_event
15023 * gst/gstelement.h:
15024 Don't know how flags got broken.
15029 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15031 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15032 Add simplistic test suite for GST_TYPE_DATE serialisation and
15035 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15037 * docs/gst/gstreamer-sections.txt:
15038 * gst/gststructure.c: (gst_structure_set_valist),
15039 (gst_structure_get_date):
15040 * gst/gststructure.h:
15041 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15042 (gst_date_copy), (gst_value_compare_date),
15043 (gst_value_serialize_date), (gst_value_deserialize_date),
15044 (gst_value_transform_date_string),
15045 (gst_value_transform_string_date), (_gst_value_initialize):
15047 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15048 bunch of utility functions along with a hack that checks that
15049 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15050 is required. Part of the grand scheme in #170777.
15052 2005-09-22 Andy Wingo <wingo@pobox.com>
15054 * gst/gstconfig.h.in: Psych out gtk-doc.
15056 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15058 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15060 * tools/gst-inspect.c (print_element_list): Plug some
15061 inconsequential leaks.
15063 * gst/gstregistry.c (gst_registry_get_default): Doc.
15065 * check/gst/gstplugin.c:
15066 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15067 * gst/gstelementfactory.c (gst_element_factory_create):
15068 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15071 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15072 (gst_plugin_feature_load): Doc, don't eat refs.
15074 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15075 (gst_plugin_list_free): Doc.
15076 (gst_plugin_load_file): Doc updates.
15078 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15079 accessors returning refcounted objects, return a ref.
15081 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15082 accessor for caps. IDEMPOTENCE. Oh yes.
15084 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15086 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15088 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15089 (_gst_debug_register_funcptr):
15090 Add mutex to serialise access to the hash table with
15091 the function pointer => function name string mapping;
15092 make that hash table static scope (#316809).
15094 * gst/registries/.cvsignore:
15095 Remove left-over file.
15097 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15099 * docs/pwg/appendix-porting.xml:
15100 And something about newsegment events and caps-on-buffers to
15101 the porting guide (feel free to improve).
15103 2005-09-21 Andy Wingo <wingo@pobox.com>
15105 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15106 data and event probes on the same pad.
15107 (test_buffer_probe_once): Test that removing probes from within
15108 the probe functions works.
15110 2005-09-21 Andy Wingo <wingo@pobox.com>
15112 * check/gst/gstutils.c: New file.
15113 (test_buffer_probe_n_times): A simple buffer probe test. More to
15116 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15117 have-data::buffer, not have-data.
15118 (gst_pad_add_event_probe): Likewise for have-data::event.
15119 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15120 peer' isn't quite right yet though.
15121 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15122 (gst_pad_remove_data_probe): Change to take the guint handler_id
15123 as their arg, not the function+data, which is more glib-like.
15125 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15126 the signal emission to indicate if the data is a buffer or an
15128 (gst_pad_get_type): Initialize buffer and event quarks.
15129 (gst_pad_class_init): have-data is now a detailed signal, yes it
15132 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15134 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15135 * gst/gstutils.c: (gst_util_set_value_from_string),
15136 (gst_util_set_object_arg):
15137 Don't put functional code in g_return_if_fail() or
15138 g_return_val_if_fail() statements, otherwise things will
15139 break when G_DISABLE_CHECKS is defined during compilation.
15141 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15143 * docs/gst/tmpl/.cvsignore:
15144 * docs/gst/tmpl/gstvalue.sgml:
15147 inlied another one and added some obvious docs
15149 2005-09-21 Wim Taymans <wim@fluendo.com>
15151 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15152 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15153 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15154 (gst_fdsrc_get_property), (gst_fdsrc_create):
15155 * gst/elements/gstfdsrc.h:
15156 Properly implement fdsrc. Removed signal and timeout,
15157 better implemented somewhere else.
15159 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15161 * docs/gst/tmpl/.cvsignore:
15162 * docs/gst/tmpl/gstimplementsinterface.sgml:
15163 * gst/gstinterface.c:
15166 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15168 * docs/gst/gstreamer-sections.txt:
15169 * docs/gst/tmpl/.cvsignore:
15170 * docs/gst/tmpl/gstenumtypes.sgml:
15171 remove obsolete doc file
15173 2005-09-21 David Schleef <ds@schleef.org>
15175 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15176 little beer, fix a little leak.
15178 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15180 * docs/gst/gstreamer-docs.sgml:
15181 * docs/gst/gstreamer-sections.txt:
15182 * docs/gst/tmpl/.cvsignore:
15186 * gst/gstelement.h:
15187 * gst/gstindex.c: (gst_index_class_init):
15189 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15190 (gst_index_factory_class_init), (gst_index_factory_init),
15191 (gst_index_factory_finalize), (gst_index_factory_new),
15192 (gst_index_factory_destroy), (gst_index_factory_find),
15193 (gst_index_factory_create), (gst_index_factory_make):
15194 * gst/gstindexfactory.h:
15195 * gst/gstpluginfeature.c:
15196 * gst/gstpluginfeature.h:
15197 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15198 more docs inlined, splitted gstindex.{c,h}
15200 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15202 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15205 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15207 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15208 Set sync to FALSE by default.
15210 2005-09-20 Wim Taymans <wim@fluendo.com>
15212 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15213 (gst_base_sink_init):
15214 Make sync property settable from subclass.
15216 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15217 (gst_fake_sink_change_state):
15218 Set sync to FALSE by default.
15220 2005-09-20 Wim Taymans <wim@fluendo.com>
15222 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15223 * tools/gst-launch.c: (main):
15224 The timeout handler should have lower priority than the source
15225 so we don't timeout before popping a message with 0 timeout.
15226 Dump error messages after failed state change.
15228 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15230 * tools/gst-inspect.c: (print_element_properties_info):
15233 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15235 * check/gst/gstevent.c:
15236 * gst/elements/gstfakesink.c:
15237 * gst/elements/gstfakesink.h:
15238 remove the sync property from fakesink.
15239 has the side effect of setting sync TRUE
15240 for fakesink, which is a change. Anyone who knows how
15241 to fix this nicely in a GObject-y way, feel free.
15243 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15245 * docs/gst/gstreamer-docs.sgml:
15246 remove probe refsection
15248 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15250 * check/Makefile.am:
15251 disable valgrinding the controller test again
15252 * docs/gst/gstreamer-sections.txt:
15253 update for api-changes
15255 2005-09-20 Wim Taymans <wim@fluendo.com>
15257 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15258 (gst_base_sink_set_property), (gst_base_sink_get_property),
15259 (gst_base_sink_do_sync):
15260 * gst/base/gstbasesink.h:
15261 Added sync property to basesink to disable clock sync.
15263 2005-09-20 Andy Wingo <wingo@pobox.com>
15265 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15266 eating the caller's refcount.
15268 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15269 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15272 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15273 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15274 of GLib 2.8 public, so we can know which refcount to check in
15277 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15278 (gst_object_init): Only set the gst refcount if we're going ahead
15279 with the refcount hack.
15281 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15283 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15284 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15285 more leaks plumbed, added more debug-logging
15289 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15291 * gst/gstmessage.c:
15292 remove include of gstmemchunk.h
15294 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15296 * gst/gstclock.c: (_gst_clock_id_free):
15297 Commit from the Political Party For More Atomic CVS Commits,
15298 so that people don't waste too much of their day fishing
15299 out obvious leaks out of massive commits.
15300 Oh, and fix a pretty damn obvious leak in the memchunk
15303 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15305 * check/Makefile.am:
15306 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15307 plug mem-leak, re-add to valgrindable tests
15309 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15312 unbreak the build for those who have chronic arthritis
15313 and typing "make check" is just too taxing on the hands
15315 2005-09-20 Andy Wingo <wingo@pobox.com>
15317 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15318 really want it out, you should fix plugins at the same time.
15320 2005-09-19 Stefan Kost <ensonic@users.sf.net>
15323 * docs/gst/gstreamer-sections.txt:
15325 added missing symbols to api docs
15326 disable ref-count hack if we have glib >= 2.8
15328 2005-09-19 David Schleef <ds@schleef.org>
15330 * docs/gst/Makefile.am: Ignore a few more internal headers
15331 * docs/gst/gstreamer-docs.sgml: Remove old sections
15332 * docs/gst/gstreamer-sections.txt: Remove old sections
15333 * docs/gst/tmpl/gstobject.sgml: update
15334 * docs/gst/tmpl/gstplugin.sgml: update
15335 * docs/gst/tmpl/gstpluginfeature.sgml: update
15336 * docs/random/ds/0.9-suggested-changes: update.
15337 * gst/Makefile.am: remove memchunk and trashstack, since they're
15339 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15340 * gst/gst.h: don't include some headers
15341 * gst/gstchildproxy.c: add gstmarshal.h
15342 * gst/gstclock.c: Don't use memchunks
15343 * gst/gstminiobject.c: Add some docs
15344 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15345 * gst/gstobject.h: same
15346 * gst/gstplugin.c: include gstmacros.h
15347 * gst/gstplugin.h: don't include gstmacros.h, since it's private
15348 * gst/gstquery.c: don't use memchunks
15349 * gst/gstregistry.c: rename gst_registry_deinit()
15350 * gst/gstregistry.h: same
15352 2005-09-19 David Schleef <ds@schleef.org>
15354 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15355 * docs/libs/gstreamer-libs-sections.txt:
15356 * docs/libs/tmpl/gstgetbits.sgml:
15357 * docs/libs/tmpl/gstputbits.sgml:
15359 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
15361 * win32/gstenumtypes.c:
15362 * win32/gstenumtypes.h:
15365 2005-09-19 Wim Taymans <wim@fluendo.com>
15367 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15368 Automatically PAUSE and RESUME a pipeline when a flushing seek
15371 2005-09-19 Andy Wingo <wingo@pobox.com>
15373 * gst/gstregistry.h: Spacing fixen.
15375 2005-09-19 Wim Taymans <wim@fluendo.com>
15377 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15378 Handle state change failure more correctly.
15380 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15382 * check/Makefile.am:
15383 * check/pipelines/cleanup.c: (run_pipeline):
15384 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15386 enable cleanup again after fixing the leak
15388 some more info on docs
15390 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15392 * check/Makefile.am:
15393 re-enable tests now that leaks are plugged
15395 * check/gst/gstbin.c:
15396 * check/gst/gstpipeline.c:
15397 add some more tests while fixing leaks
15398 * common/check.mak:
15399 make sure binaries are uptodate when valgrinding/gdbing
15401 * gst/gstelementfactory.c:
15402 remove a ref too many, and add a FIXME for when we get
15403 round to disposing of classes
15405 fix the refcounting when loading a plugin from a file and
15406 the code pretends that the pointer is the same even though
15407 of course it can change
15408 * gst/gstpluginfeature.c:
15409 unref plugins marked cached (a bit confusing as a name)
15410 as the docs state should be done
15411 various doc additions to explain refcounting
15412 * gst/gstregistry.c:
15413 * gst/gstregistryxml.c:
15416 2005-09-19 Wim Taymans <wim@fluendo.com>
15418 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15419 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15420 (send_messages), (GST_START_TEST), (gstbus_suite):
15421 * check/gst/gstpipeline.c: (GST_START_TEST):
15422 * check/pipelines/cleanup.c: (run_pipeline):
15423 * check/pipelines/simple_launch_lines.c: (run_pipeline),
15425 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15426 (gst_bus_source_check), (gst_bus_source_dispatch),
15427 (gst_bus_create_watch), (gst_bus_add_watch_full),
15428 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15430 * tools/gst-launch.c: (event_loop):
15431 * tools/gst-md5sum.c: (event_loop):
15432 GstBusHandler -> GstBusFunc, return value has the same meaning as
15433 any other GSource (FALSE == remove source).
15434 _add_watch() and _add_watch_full() now take a MessageType mask to
15435 only handle specific types of messages.
15436 _poll() returns the GstMessage instead of the message type to avoid
15438 _have_pending() takes a MessageType mask now too.
15439 Added testsuite for multiple bus watches.
15440 Fix testsuites and applications for new bus API.
15442 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
15444 * check/Makefile.am:
15445 mark a bunch of the tests as to fix until we fix them
15447 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15449 * common/check.mak:
15450 use GST_PLUGIN settings for valgrind tests as well, so we're
15451 valgrinding the correct thing
15452 * gst/gst.c: (init_post):
15455 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15457 * gst/gst.c: (init_post), (gst_deinit):
15458 * gst/gstelementfactory.c: (gst_element_factory_class_init),
15459 (gst_element_factory_finalize), (gst_element_factory_cleanup):
15460 * gst/gstindex.c: (gst_index_factory_class_init),
15461 (gst_index_factory_finalize):
15462 * gst/gstobject.c: (gst_object_dispose):
15463 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15464 (gst_plugin_load_file), (gst_plugin_desc_free):
15465 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15466 (gst_plugin_feature_finalize):
15467 * gst/gstregistry.c: (gst_registry_class_init),
15468 (gst_registry_init), (gst_registry_finalize),
15469 (gst_registry_get_default), (gst_registry_deinit):
15470 * gst/gstregistry.h:
15471 * gst/gstregistryxml.c: (load_feature), (load_plugin):
15472 various cleanups and memleak plugging. make valgrind is happy now.
15474 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
15476 * common/check.mak:
15477 add a check-valgrind target
15479 2005-09-18 David Schleef <ds@schleef.org>
15481 * tools/gst-inspect.c: Revert the GOption code.
15483 2005-09-17 David Schleef <ds@schleef.org>
15485 * check/Makefile.am: Fix environment variables.
15486 * check/gst/gstplugin.c: Fix for API changes.
15487 * tools/gst-inspect.c: Fix for API changes.
15488 * tools/gst-xmlinspect.c: Fix for API changes.
15489 * gst/gstelementfactory.c:
15492 * gst/gstpluginfeature.c:
15493 * gst/gstpluginfeature.h:
15494 * gst/gstregistry.c:
15495 * gst/gstregistry.h:
15496 * gst/gstregistryxml.c:
15497 * gst/gsttypefind.c:
15498 * gst/gsttypefindfactory.c:
15499 * gst/indexers/gstfileindex.c:
15500 * gst/indexers/gstmemindex.c:
15501 * gst/schedulers/Makefile.am:
15502 Change registry to keep track of both plugins and features,
15503 removing the feature tracking from plugins themselves.
15505 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
15507 * check/Makefile.am:
15508 * tools/gst-register.1.in:
15509 remove gst-register
15511 2005-09-15 David Schleef <ds@schleef.org>
15513 * check/gst/gstplugin.c:
15514 * gst/gstelementfactory.c:
15516 * gst/gstpluginfeature.c:
15517 * gst/gstregistry.c:
15518 Getting tired of debugging. Disabled all the unreffing of
15519 plugins and features, which fixes the segfaults, but of
15520 course leaks like crazy. At least playbin works.
15522 2005-09-15 David Schleef <ds@schleef.org>
15524 * check/gst/gstplugin.c: (register_check_elements),
15525 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15527 * gst/elements/gsttypefindelement.c: Fix refcounting.
15528 * gst/gsttypefind.c:
15529 * gst/gsttypefindfactory.c:
15530 * gst/gsttypefindfactory.h:
15532 2005-09-15 David Schleef <ds@schleef.org>
15534 * gst/gstindex.c: get refcounting correct.
15535 * gst/gstregistry.c: Handle the case where a feature/plugin is
15538 2005-09-15 David Schleef <ds@schleef.org>
15540 * check/Makefile.am:
15541 * check/gst/gstplugin.c: Add test
15542 * gst/gstplugin.c: Fix problems noticed by testsuite
15544 * gst/gstregistry.c:
15545 * gst/gstregistry.h:
15547 2005-09-15 David Schleef <ds@schleef.org>
15549 * gst/gstplugin.c: Implement semi-decent recounting and locking
15550 in plugins and plugin features.
15552 * gst/gstpluginfeature.c:
15553 * gst/gstpluginfeature.h:
15554 * gst/gstregistry.c:
15556 2005-09-15 Michael Smith <msmith@fluendo.com>
15558 * gst/gstregistry.c: (gst_registry_get_feature_list):
15559 Implement this. Makes oggdemux work; decodebin still broken.
15561 2005-09-14 David Schleef <ds@schleef.org>
15563 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
15565 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
15566 * gst/check/Makefile.am:
15567 * libs/gst/controller/Makefile.am:
15568 * libs/gst/dataprotocol/Makefile.am:
15570 2005-09-14 David Schleef <ds@schleef.org>
15572 * configure.ac: Remove getbits library. Nothing uses it, and
15573 it should be in something like liboil if someone did want
15575 * libs/gst/Makefile.am:
15576 * libs/gst/getbits/Makefile.am:
15577 * libs/gst/getbits/gbtest.c:
15578 * libs/gst/getbits/getbits.c:
15579 * libs/gst/getbits/getbits.h:
15580 * libs/gst/getbits/gstgetbits_generic.c:
15581 * libs/gst/getbits/gstgetbits_i386.s:
15582 * libs/gst/getbits/gstgetbits_inl.h:
15584 2005-09-14 David Schleef <ds@schleef.org>
15586 * gst/Makefile.am: Dist glib-compat.h
15588 2005-09-14 David Schleef <ds@schleef.org>
15590 * configure.ac: Remove gst/registries, since it's no longer used.
15591 * gst/registries/Makefile.am:
15592 * gst/registries/gstlibxmlregistry.c:
15593 * gst/registries/gstlibxmlregistry.h:
15594 * gst/registries/gstxmlregistry.c:
15595 * gst/registries/gstxmlregistry.h:
15596 * gst/registries/registrytest.c:
15598 2005-09-14 David Schleef <ds@schleef.org>
15600 * gst/glib-compat.h:
15601 * gst/gstregistryxml.c:
15602 Convergence is near. Seriously.
15604 2005-09-14 David Schleef <ds@schleef.org>
15606 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15607 * gst/glib-compat.h:
15608 Attempt #4 to appease the buildbots.
15610 2005-09-14 David Schleef <ds@schleef.org>
15612 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15615 2005-09-14 David Schleef <ds@schleef.org>
15617 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15620 2005-09-14 David Schleef <ds@schleef.org>
15622 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
15625 2005-09-14 David Schleef <ds@schleef.org>
15627 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15628 * gst/glib-compat.h: Add some functions that are in newer versions
15629 of glib than we care to require.
15630 * gst/gstregistryxml.c: Use them.
15632 2005-09-14 David Schleef <ds@schleef.org>
15634 * po/POTFILES.in: remove gst-register.c
15636 2005-09-14 David Schleef <ds@schleef.org>
15638 * docs/gst/gstreamer-docs.sgml:
15639 * docs/gst/gstreamer-sections.txt:
15640 * docs/gst/gstreamer.types:
15641 * docs/gst/tmpl/gstelement.sgml:
15642 * docs/gst/tmpl/gstplugin.sgml:
15643 * docs/gst/tmpl/gstpluginfeature.sgml:
15644 Documentation updates for registry changes.
15646 2005-09-14 David Schleef <ds@schleef.org>
15648 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
15649 because we don't require glib-2.8.
15651 2005-09-14 David Schleef <ds@schleef.org>
15653 * gst/gstregistryxml.c: Added. Essentially moved out of the
15654 registries directory.
15656 2005-09-14 David Schleef <ds@schleef.org>
15658 * check/Makefile.am:
15659 * check/generic/states.c:
15663 * gst/gst_private.h:
15664 * gst/gstelementfactory.c:
15669 * gst/gstpluginfeature.c:
15670 * gst/gstpluginfeature.h:
15671 * gst/gstregistry.c:
15672 * gst/gstregistry.h:
15673 * gst/gstregistrypool.c: remove
15674 * gst/gstregistrypool.h: remove
15675 * gst/gsttypefind.c:
15676 * gst/gsttypefindfactory.c:
15678 * tools/Makefile.am:
15679 * tools/gst-compprep.c:
15680 * tools/gst-inspect.c:
15681 * tools/gst-register.c: remove
15682 * tools/gst-xmlinspect.c:
15683 Registry rewrite. Changes registry from being a file created
15684 by a tool into a simple cache file created automatically by
15685 libgstreamer. Removed gst-register (because it's no longer
15686 needed). Remove registry pools, because we only have one
15687 registry implementation (XML). Fix up other subsystems as
15690 2005-09-13 Michael Smith <msmith@fluendo.com>
15692 * gst/gstconfig.h.in:
15693 Don't Use windows linking attributes for MinGW. Fixes #316157
15695 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
15697 * gst/gstutils.c: (set_state_async_thread_func),
15698 (gst_element_set_state_async):
15699 Apparently people think it's better if this function doesn't
15700 try to set the state to whatever state was asked for on the first
15701 call to this function for any object. Seriously.
15703 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15705 * check/gst/gstpipeline.c: (GST_START_TEST):
15706 * docs/gst/gstreamer-sections.txt:
15707 * gst/gstutils.c: (set_state_async_thread_func),
15708 (gst_element_set_state_async):
15710 add a "gst_element_set_state_async" method that
15711 sets the state and starts a thread to make sure the state
15712 change completes as best as it can
15714 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15716 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15717 codify design+behaviour in testsuite after discussion
15719 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
15721 * docs/gst/tmpl/gstelement.sgml:
15722 * docs/manual/appendix-quotes.xml:
15724 * gst/gstelement.c: (gst_element_set_state):
15727 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
15729 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15730 (gst_base_transform_prepare_output_buf),
15731 (gst_base_transform_handle_buffer):
15732 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
15733 (gst_capsfilter_prepare_buf):
15734 Remove the requirement for sub-classes to call the parent
15735 implementation of prepare_output_buffer with a wrapper function.
15737 * gst/gsttaglist.h:
15738 * gst/gsttagsetter.h:
15739 Fix #define wrapper
15741 2005-09-11 Stefan Kost <ensonic@users.sf.net>
15743 * docs/gst/gstreamer-sections.txt:
15746 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
15748 * docs/gst/gstreamer-sections.txt:
15749 * docs/gst/tmpl/gstelement.sgml:
15750 * docs/gst/tmpl/gstplugin.sgml:
15751 * gst/gstminiobject.c:
15753 docs now stop throwing warnings
15755 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
15757 * docs/gst/gstreamer-sections.txt:
15758 * docs/gst/gstreamer.types:
15759 * docs/gst/tmpl/gstpad.sgml:
15760 * docs/gst/tmpl/gsttypes.sgml:
15761 * gst/base/gstadapter.h:
15762 * gst/base/gstbasesink.h:
15763 * gst/base/gstbasesrc.h:
15769 * gst/gstelement.h:
15771 * gst/gstmessage.h:
15773 * gst/gststructure.c:
15774 * gst/registries/gstlibxmlregistry.h:
15775 various documentation fixes
15777 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
15779 * docs/gst/gstreamer-sections.txt:
15780 * docs/gst/tmpl/gstvalue.sgml:
15781 rearrange gstvalue section
15782 * gst/gstutils.c: (gst_element_state_get_name):
15784 * gst/gstvalue.c: (_gst_value_initialize):
15788 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
15790 * check/gst-libs/controller.c:
15791 Header include fix.
15792 * gst/base/gstbasetransform.c:
15793 (gst_base_transform_default_prepare_buf),
15794 (gst_base_transform_handle_buffer):
15795 * gst/base/gstbasetransform.h:
15796 Some more basetransform changes and fixes to enable sub-classes
15797 that modify buffer metadata only.
15798 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15799 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
15800 (gst_capsfilter_prepare_buf):
15801 If the output pad has fixed allowed caps and input buffers
15802 don't have any, set the fixed caps on outgoing buffers.
15804 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
15805 * check/elements/identity.c: (GST_START_TEST):
15806 Make the error a little clearer when the test fails because
15807 identity made a copy of the buffer.
15808 * docs/gst/gstreamer-sections.txt:
15809 New symbols in gstbasetransform.h
15810 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15811 (gst_base_transform_init), (gst_base_transform_transform_size),
15812 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15813 (gst_base_transform_default_prepare_buf),
15814 (gst_base_transform_get_unit_size),
15815 (gst_base_transform_buffer_alloc),
15816 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15817 (gst_base_transform_change_state),
15818 (gst_base_transform_set_passthrough),
15819 (gst_base_transform_set_in_place),
15820 (gst_base_transform_is_in_place):
15821 * gst/base/gstbasetransform.h:
15822 Change BaseTransform to separate in_place operate from same_caps
15823 output. in_place implies that the element can perform the transform
15824 on incoming buffers in-place, even if the caps on the output are
15826 Sub-class elements can now implement special buffer allocation
15827 methods for outgoing buffers if they wish to.
15828 Big documentation addition.
15829 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
15830 * gst/elements/gstelements.c:
15831 Changes for basetransform modifications.
15832 * gst/elements/Makefile.am:
15833 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
15834 Compile fix. Extra debug output.
15836 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
15838 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
15840 add tests for valid pad naming
15841 * gst/check/gstcheck.c: (gst_check_log_message_func),
15842 (gst_check_log_critical_func):
15844 remove printing of code, it is fragile when the code contains
15845 % and the line number is enough info
15846 * gst/check/gstcheck.h:
15847 * gst/gstpad.c: (gst_pad_template_new):
15850 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
15853 say what CHECK flags we use
15854 * docs/libs/gstreamer-libs.types:
15855 * libs/gst/controller/Makefile.am:
15856 * libs/gst/controller/gst-controller.c:
15857 * libs/gst/controller/gst-controller.h:
15858 * libs/gst/controller/gst-helper.c:
15859 * libs/gst/controller/gst-interpolation.c:
15860 * libs/gst/controller/gstcontroller.c:
15861 * libs/gst/controller/gsthelper.c:
15862 * libs/gst/controller/gstinterpolation.c:
15863 * tools/gst-inspect.c: (print_plugin_info):
15864 we don't use dashes in header names
15866 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
15868 * check/Makefile.am:
15869 * check/gst/.cvsignore:
15870 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
15871 (gst_pipeline_suite), (main):
15872 adding a test for pipelines and state changes
15873 * gst/gstutils.c: (get_state_func):
15875 * gstreamer.spec.in:
15878 2005-09-08 Michael Smith <msmith@fluendo.com>
15880 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
15881 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
15882 (gst_file_src_is_seekable), (gst_file_src_get_size),
15883 (gst_file_src_start):
15884 * gst/elements/gstfilesrc.h:
15885 Various fixes for unseekable, unmmapable, and non-normal files, so
15886 that fallback to read() rather than mmap() works.
15887 * gst/gstevent.c: (gst_event_new_newsegment):
15888 Allow newsegment events with segment_start == segment_end, as will
15889 correctly happen if you use filesrc on a zero-size file, for
15892 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
15894 * gst/gstplugin.c: (gst_plugin_load_file):
15895 Call g_module_close when we don't load the module
15897 * gst/registries/gstlibxmlregistry.c:
15898 (gst_xml_registry_get_property):
15899 Port leak fix from 0.8
15901 2005-09-07 Stefan Kost <ensonic@users.sf.net>
15903 * docs/gst/gstreamer-docs.sgml:
15904 * docs/gst/tmpl/.cvsignore:
15905 * docs/gst/tmpl/gsttrace.sgml:
15906 * docs/gst/tmpl/gsttrashstack.sgml:
15909 * gst/gstelement.h:
15911 * gst/gstmessage.c:
15912 * gst/gstmessage.h:
15915 * gst/gsttaginterface.c:
15916 * gst/gsttaginterface.h:
15917 * gst/gsttaglist.c:
15918 * gst/gsttaglist.h:
15919 * gst/gsttagsetter.c:
15920 * gst/gsttagsetter.h:
15923 * gst/gsttrashstack.c:
15924 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
15925 inlined docs for gsttrace, gsttrashstack
15927 2005-09-07 Stefan Kost <ensonic@users.sf.net>
15930 * gst/elements/gstbufferstore.h:
15931 * gst/elements/gsttypefindelement.c:
15932 * gst/elements/gsttypefindelement.h:
15934 * gst/gsttypefind.c:
15935 * gst/gsttypefind.h:
15936 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
15937 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
15938 (gst_type_find_factory_dispose),
15939 (gst_type_find_factory_unload_thyself),
15940 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
15941 (gst_type_find_factory_get_caps),
15942 (gst_type_find_factory_get_extensions),
15943 (gst_type_find_factory_call_function):
15944 * gst/gsttypefindfactory.h:
15945 * gst/registries/gstlibxmlregistry.c:
15946 * gst/registries/gstxmlregistry.c:
15947 splitted gsttypefind into gsttypefind, gsttypefindfactory
15949 2005-09-07 Andy Wingo <wingo@pobox.com>
15951 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
15952 condition whereby the pad's task function is entered before the
15953 pad_mode variable was set.
15955 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
15957 * gst/gstpad.c: (gst_pad_alloc_buffer):
15958 Catch misbehaving pad_alloc functions that don't
15959 set up caps and do it for them.
15961 2005-09-07 Stefan Kost <ensonic@users.sf.net>
15963 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15964 test for pipe!=NULL
15965 * docs/gst/tmpl/.cvsignore:
15966 * docs/gst/tmpl/gstmemchunk.sgml:
15967 * docs/gst/tmpl/gstparse.sgml:
15968 * docs/gst/tmpl/gsttaglist.sgml:
15969 * docs/gst/tmpl/gsttagsetter.sgml:
15970 * docs/gst/tmpl/gsttypefind.sgml:
15971 * docs/gst/tmpl/gsttypefindfactory.sgml:
15972 * gst/gstmemchunk.c:
15975 * gst/gsttaginterface.c:
15976 * gst/gsttypefind.c:
15977 * gst/gsttypefind.h:
15980 === release 0.9.2 ===
15982 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
15987 releasing 0.9.2, "South"
15989 2005-09-05 Andy Wingo <wingo@pobox.com>
15991 * gst/registries/gstxmlregistry.h:
15992 * gst/registries/gstxmlregistry.c: Um... resurrect...
15994 * gst/registries/gstxmlregistry.h:
15995 * gst/registries/gstxmlregistry.c: and update to newer API.
15996 Incidentally they should be a bit faster now that they don't have
15999 2005-09-05 Andy Wingo <wingo@pobox.com>
16001 * gst/registries/gstxmlregistry.h:
16002 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16003 replaced by the libxml registry a while back
16005 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16007 * docs/gst/tmpl/gstplugin.sgml:
16008 * gst/elements/gstelements.c:
16010 * gst/gstplugin.c: (gst_plugin_register_func),
16011 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16012 (gst_plugin_get_source):
16014 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16015 (gst_xml_registry_save_plugin):
16016 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16017 (gst_xml_registry_save_plugin):
16018 * tools/gst-inspect.c: (print_plugin_info):
16019 add a "source" plugin description field, to represent the source
16020 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16021 will set it to PACKAGE, which is automake's idea of the name of
16022 the source project.
16024 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16029 * docs/Makefile.am:
16030 * docs/faq/Makefile.am:
16031 * docs/gst/tmpl/gstelement.sgml:
16032 * docs/gst/tmpl/gsttypes.sgml:
16033 * docs/htmlinstall.mak:
16034 * docs/manual/Makefile.am:
16035 * docs/pwg/Makefile.am:
16036 reorganize doc build a little
16037 split out docbook and gtk-doc stuff
16038 have two separate --enable's and enable them through autogen
16039 but disable by default in configure (to be similar to other
16041 * gstreamer.spec.in:
16042 clean up docs install
16060 translation updates
16062 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16064 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16067 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16068 (gst_fake_sink_change_state):
16069 Make state change function thread-safe.
16071 * gst/gstpad.c: (gst_pad_alloc_buffer):
16072 Set offset on generic buffer allocated by fallback.
16074 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16076 * docs/gst/gstreamer-sections.txt:
16077 * docs/gst/tmpl/gstelement.sgml:
16079 * libs/gst/controller/gst-controller.c:
16080 (gst_controlled_property_set_interpolation_mode),
16081 (gst_controlled_property_new),
16082 (gst_controller_find_controlled_property):
16083 run the wingo-magic script against the docs
16085 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16087 * docs/gst/gstreamer-docs.sgml:
16088 * docs/gst/gstreamer-sections.txt:
16089 * docs/gst/tmpl/.cvsignore:
16090 * docs/gst/tmpl/gstelementdetails.sgml:
16091 * docs/gst/tmpl/gstelementfactory.sgml:
16094 * gst/gstelementfactory.c:
16095 * gst/gstelementfactory.h:
16096 merged elementdetails docs into elementfactory docs
16099 2005-09-02 Andy Wingo <wingo@pobox.com>
16101 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16102 consider this enum an enum and not a flags.
16104 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16106 * docs/gst/gstreamer-docs.sgml:
16107 * docs/gst/tmpl/.cvsignore:
16108 * docs/gst/tmpl/gstghostpad.sgml:
16109 * docs/gst/tmpl/gstiterator.sgml:
16110 * docs/gst/tmpl/gstmacros.sgml:
16111 * docs/gst/tmpl/gstrealpad.sgml:
16112 * docs/gst/tmpl/gstregistry.sgml:
16113 * docs/gst/tmpl/gstregistrypool.sgml:
16114 * docs/gst/tmpl/gststructure.sgml:
16115 * docs/gst/tmpl/gstsystemclock.sgml:
16116 * docs/gst/tmpl/gsttrace.sgml:
16117 * gst/gstghostpad.c:
16119 * gst/gstmemchunk.c:
16120 * gst/gstmemchunk.h:
16122 * gst/gstregistry.c:
16123 * gst/gstregistrypool.c:
16124 * gst/gststructure.c:
16125 * gst/gstsystemclock.c:
16128 2005-09-02 Andy Wingo <wingo@pobox.com>
16130 * gst/gstelement.h (GstState): Renamed from GstElementState,
16131 changed to be a normal enum instead of flags.
16132 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16133 munged to be GST_STATE_CHANGE_*.
16134 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16135 work with the new state representation.
16136 (GstStateChange): New enumeration of possible state transitions.
16137 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16138 (GstElementClass::change_state): Pass the GstStateChange along as
16139 an argument. Helps language bindings, so they don't have to use
16140 tricky lock-needing macros like GST_STATE_CHANGE ().
16142 * scripts/update-states (file): New script. Run it on a file to
16143 update it for state naming and API changes. Updates files in
16146 * All files updated for the new API.
16148 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16150 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16151 * gst/gstutils.c: (gst_util_set_value_from_string),
16152 (gst_util_set_object_arg):
16153 fix a bunch of unchecked return values
16154 * tools/gst-complete.c: (main):
16155 * gstreamer.spec.in:
16158 2005-09-01 Wim Taymans <wim@fluendo.com>
16160 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16161 (gst_base_sink_event), (gst_base_sink_do_sync),
16162 (gst_base_sink_handle_event):
16163 * gst/base/gstbasesink.h:
16164 Handle newsegments more correctly.
16169 * gst/gstevent.c: (gst_event_new_newsegment):
16170 A newsegment cannot have a start_time of -1
16172 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16174 * win32/gstenumtypes.c:
16175 * win32/gstenumtypes.h:
16178 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16180 * libs/gst/controller/gst-controller.c:
16181 (gst_controlled_property_set_interpolation_mode),
16182 (gst_controlled_property_new):
16183 fixed boolean again
16185 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16187 * docs/faq/gst-uninstalled:
16192 * gst/gstutils.c: (gst_element_link_filtered):
16194 add gst_element_link_filtered
16196 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16198 * docs/gst/gstreamer-docs.sgml:
16199 * docs/gst/gstreamer-sections.txt:
16200 * docs/gst/tmpl/.cvsignore:
16201 * docs/gst/tmpl/gsterror.sgml:
16202 * docs/gst/tmpl/gstfilter.sgml:
16203 * docs/gst/tmpl/gsturihandler.sgml:
16204 * docs/gst/tmpl/gsturitype.sgml:
16205 * docs/gst/tmpl/gstutils.sgml:
16206 * docs/gst/tmpl/gstxml.sgml:
16211 * gst/gsturitype.c:
16214 inlined more docs, fixed double id-ref
16216 2005-08-31 Wim Taymans <wim@fluendo.com>
16218 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16219 (gst_base_transform_handle_buffer):
16220 Passthrough elements don't need the caps as they don't care.
16222 2005-08-31 Wim Taymans <wim@fluendo.com>
16224 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16225 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16226 Don't leak refcounts on buffers.
16228 2005-08-31 Wim Taymans <wim@fluendo.com>
16230 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16231 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16232 (gst_base_transform_chain), (gst_base_transform_change_state):
16233 * gst/base/gstbasetransform.h:
16234 Handle the case where we are not negotiated more gracefully.
16236 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16238 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16239 (gst_file_src_map_region):
16240 Set READONLY flag on mmap'ed buffers, otherwise
16241 gst_buffer_make_writable() won't work properly (#314708).
16243 2005-08-31 Wim Taymans <wim@fluendo.com>
16245 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16246 passthrough elements can even do inplace on non writable
16247 buffers (as they don't touch them).
16249 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16251 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16252 (gst_test_mono_source_set_property),
16253 (gst_test_mono_source_class_init), (GST_START_TEST),
16254 (gst_controller_suite):
16255 more tests (hehe I have the most)
16257 describe popping messages whenusing mulltiple sources
16258 * libs/gst/controller/gst-controller.c:
16259 (gst_controlled_property_set_interpolation_mode),
16260 (gst_controlled_property_new):
16261 * libs/gst/controller/gst-controller.h:
16262 * libs/gst/controller/gst-interpolation.c:
16263 implement boolean properties
16265 2005-08-31 Wim Taymans <wim@fluendo.com>
16267 * gst/gstminiobject.c: (gst_mini_object_ref):
16268 Cannot assert that the refcount has to be positive
16269 since a disposed object can be resurrected.
16271 2005-08-31 Wim Taymans <wim@fluendo.com>
16273 * gst/gstpad.c: (gst_pad_init):
16274 Revert change, need to first fix badly behaving
16277 2005-08-30 Wim Taymans <wim@fluendo.com>
16279 * check/elements/fakesrc.c: (setup_fakesrc):
16280 * check/elements/identity.c: (setup_identity):
16281 Activate pads before using them.
16283 2005-08-30 Wim Taymans <wim@fluendo.com>
16285 * gst/base/gstadapter.c: (gst_adapter_flush):
16286 Flushing out 0 bytes is ok for this function.
16288 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16289 no newsegment gives a warning and sets the start/stop to
16292 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16293 (gst_base_transform_set_passthrough):
16296 * gst/gstminiobject.c: (gst_mini_object_ref):
16297 Check refcount here too.
16299 * gst/gstpad.c: (gst_pad_init):
16300 Pads are initially flushing and refusing data.
16302 * gst/gstutils.c: (gst_element_link_pads_filtered):
16303 When adding a capsfilter element make sure it has the
16304 same state as the parent bin.
16306 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16308 * docs/gst/tmpl/.cvsignore:
16309 * docs/gst/tmpl/gstformat.sgml:
16310 * docs/gst/tmpl/gstversion.sgml:
16314 * gst/gstversion.h.in:
16315 more docs and two more inlined
16317 2005-08-30 Wim Taymans <wim@fluendo.com>
16319 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16320 Don't sync to clock.
16322 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16324 * docs/gst/gstreamer-sections.txt:
16325 ultral33t func10ns deserve to appear in the docs actually
16326 * docs/gst/tmpl/.cvsignore:
16327 * docs/gst/tmpl/gstcompat.sgml:
16328 * docs/gst/tmpl/gstconfig.sgml:
16329 * gst/check/gstcheck.c:
16331 * gst/gstconfig.h.in:
16334 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16336 * docs/gst/tmpl/.cvsignore:
16337 * docs/gst/tmpl/gstquery.sgml:
16338 * docs/gst/tmpl/gstutils.sgml:
16341 inlined and extended docs
16343 2005-08-30 Stefan Kost <ensonic@users.sf.net>
16345 * check/gst-libs/controller.c: (GST_START_TEST),
16346 (gst_controller_suite):
16348 * docs/gst/tmpl/gstutils.sgml:
16349 * docs/libs/gstreamer-libs-sections.txt:
16350 * docs/libs/tmpl/gstdataprotocol.sgml:
16352 * examples/controller/audio-example.c: (main):
16353 controller example works now
16356 * tools/gst-inspect.c: (print_element_properties_info):
16357 show param spec flags
16359 2005-08-29 Andy Wingo <wingo@pobox.com>
16361 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16363 2005-08-28 Andy Wingo <wingo@pobox.com>
16365 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16366 as having two arguments instead of just one. Allows superclasses
16367 to access information on subclasses -- see the terrible for() loop
16368 in gtype.c:g_type_create_instance for the reason why. All callers
16371 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16373 * docs/design/part-messages.txt:
16375 * docs/gst/tmpl/.cvsignore:
16376 * docs/gst/tmpl/gstcaps.sgml:
16377 * docs/gst/tmpl/gstclock.sgml:
16383 * gst/gstmessage.c:
16384 added descriptions for bus and message
16385 inline caps and clock docs
16387 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16389 * gst/gstmessage.c:
16390 * gst/gstmessage.h:
16393 2005-08-27 Stefan Kost <ensonic@users.sf.net>
16395 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16398 2005-08-26 Andy Wingo <wingo@pobox.com>
16400 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16401 element_set_state's return val.
16402 (test_2_elements): Add test that's been disabled for months.
16404 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16405 can-activate-pull properties.
16407 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16408 can-activate-pull properties. Implement is_seekable so fakesrc can
16409 operate in pull mode.
16411 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16413 (gst_base_sink_activate, gst_base_sink_activate_pull)
16414 (gst_base_sink_activate_push): Make activation mode choosing work.
16416 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16417 is right. Make pull mode work. Post an eos before pausing in pull
16419 (gst_base_sink_change_state): Pay attention to the core's
16420 change_state() return val.
16422 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16423 has-getrange properties. Cleanups.
16425 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16426 has_getrange and replace with can_activate_pull and
16429 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16430 locking comments. Remove has_loop, has_chain and replace with
16431 can_activate_pull and can_activate_push.
16433 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
16436 * examples/Makefile.am:
16437 * examples/metadata/Makefile.am:
16438 * examples/metadata/read-metadata.c: (message_loop),
16439 (have_pad_handler), (make_pipeline), (print_tag), (main):
16440 Add metadata reading example that loops over a list of filenames,
16441 dumping any tags found.
16443 * gst/gstbus.c: (gst_bus_dispose):
16444 * gst/gstelement.c: (gst_element_dispose):
16445 Release a few potentially-held references in dispose.
16447 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16449 * docs/gst/tmpl/gstminiobject.sgml:
16450 do *not* add tmpl/*.sgml files to CVS!
16452 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16454 * libs/gst/bytestream/.cvsignore:
16455 * libs/gst/bytestream/Makefile.am:
16456 * libs/gst/bytestream/adapter.c:
16457 * libs/gst/bytestream/adapter.h:
16458 * libs/gst/bytestream/bytestream.c:
16459 * libs/gst/bytestream/bytestream.h:
16460 * libs/gst/bytestream/filepad.c:
16461 * libs/gst/bytestream/filepad.h:
16462 removing obsolete files
16464 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16466 * docs/gst/gstreamer-docs.sgml:
16467 * docs/libs/gstreamer-libs-docs.sgml:
16468 disabed additional index entries again, as this makes docs-gen just
16469 slow and they aren't useful yet
16470 * docs/libs/gstreamer-libs-sections.txt:
16471 little -section.txt cleanup for libs
16473 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
16475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16476 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16477 fix up some debugging
16478 (gst_base_transform_get_unit_size),
16479 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16480 (gst_base_transform_handle_buffer):
16481 * gst/base/gstbasetransform.h:
16482 handle and store timed NEWSEGMENT events so that subclasses that
16483 calculate time by counting samples have a segment_start time they
16484 need to add to their timestamps - see audioresample
16486 2005-08-26 Stefan Kost <ensonic@users.sf.net>
16489 removed ';' from the end of macro defs
16490 * docs/gst/gstreamer-docs.sgml:
16491 * docs/gst/gstreamer-sections.txt:
16492 * docs/gst/tmpl/.cvsignore:
16494 * gst/gstelement.c: (gst_element_class_init),
16495 (gst_element_set_state), (activate_pads),
16496 (gst_element_save_thyself):
16497 * gst/gstevent.c: (gst_event_new_newsegment):
16499 * gst/gstiterator.c:
16500 * gst/gstiterator.h:
16503 * gst/gstutils.c: (gst_pad_query_convert):
16505 fixed parameter name mismatches between source, header and docs
16506 added some more docs, resolved the last batch of unused elements in
16507 docs (now someone needs to doc them)
16509 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16511 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16512 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16513 don't walk through the plugins backwards. Where is all this
16514 reversed logic coming from ?
16516 2005-08-25 Wim Taymans <wim@fluendo.com>
16518 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16519 (gst_base_transform_transform_size),
16520 (gst_base_transform_configure_caps),
16521 (gst_base_transform_get_unit_size),
16522 (gst_base_transform_buffer_alloc),
16523 (gst_base_transform_change_state):
16524 * gst/base/gstbasetransform.h:
16525 Cache caps unit_size.
16526 Make sure we cannot negotiate up and downstream at the
16529 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16531 * gst/gst.c: (init_pre), (init_post):
16532 register the installed plugin path after the env var
16533 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16534 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16535 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16536 directories, so the tests can prefer uninstalled over installed
16538 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
16540 * gst/base/gstbasetransform.h:
16545 2005-08-25 Wim Taymans <wim@fluendo.com>
16547 * gst/gstbin.c: (bin_bus_handler):
16548 Be a bit more conservative about the posted message.
16550 * gst/gstbus.c: (gst_bus_post):
16551 Some cleanups, warn wrong return values.
16553 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
16555 * check/gst/gstbin.c: (GST_START_TEST):
16556 * gst/gstbin.c: (bin_bus_handler):
16557 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16558 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16559 (gst_message_new_warning), (gst_message_new_tag),
16560 (gst_message_new_state_changed), (gst_message_new_segment_start),
16561 (gst_message_new_segment_done), (gst_message_new_custom):
16562 * gst/gstmessage.h:
16563 * tools/gst-launch.c: (event_loop):
16564 * tools/gst-md5sum.c: (event_loop):
16565 Revert unpopular change for GST_MESSAGE_SRC to GObject.
16567 2005-08-25 Wim Taymans <wim@fluendo.com>
16569 * check/generic/states.c: (GST_START_TEST):
16570 Cleanup can be done at the end.
16572 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
16573 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16574 (gst_task_get_state), (gst_task_start), (gst_task_pause):
16575 Oh boy.. Thanks for finding this, Thomas.
16577 2005-08-25 Stefan Kost <ensonic@users.sf.net>
16579 * docs/gst/gstreamer.types:
16580 added missing types
16582 2005-08-25 Stefan Kost <ensonic@users.sf.net>
16584 * docs/gst/gstreamer-docs.sgml:
16585 * docs/gst/gstreamer-sections.txt:
16586 * docs/gst/tmpl/.cvsignore:
16588 * gst/gstiterator.c:
16590 * gst/registries/gstxmlregistry.h:
16591 added missing classes and symbols (123 more to go)
16592 removed removed symbols from section file
16593 fixed many doc-comments
16595 2005-08-24 Wim Taymans <wim@fluendo.com>
16597 * check/generic/states.c: (GST_START_TEST):
16598 Make sure all tasks are stopped.
16600 * check/gst/gstbin.c: (GST_START_TEST):
16601 Unref after usage for proper valgrinding.
16603 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
16604 Really wait for the task to stop before destroying the
16607 * gst/gstqueue.c: (gst_queue_sink_activate_push),
16608 (gst_queue_src_activate_push):
16609 Small cleanups. Don't stop the task when we did not start
16612 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
16613 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16614 (gst_task_get_state), (gst_task_start), (gst_task_pause),
16617 Protect the stream lock with the object lock.
16618 Disallow setting the stream lock when running.
16619 Add cleanup_all to wait for the threadpool to finish.
16620 Remove code to autoallocate a mutex if none was provided.
16621 Add _join() to wait for a task to stop.
16622 Protect the thread pool with a global lock.
16624 2005-08-24 Wim Taymans <wim@fluendo.com>
16626 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16627 (gst_base_sink_get_times), (gst_base_sink_do_sync),
16628 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
16629 * gst/base/gstbasesink.h:
16630 Handle newsegment events correctly.
16631 Drop buffers out of the segment range.
16633 2005-08-22 Andy Wingo <wingo@pobox.com>
16635 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
16636 macro, implements an interface and gstimplementsinterface for a
16639 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
16641 * check/Makefile.am:
16642 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
16643 add a test that does a bunch of state changes on elements
16644 needs some fixing for valgrind
16645 * check/states/sinks.c: (gst_object_suite):
16648 add prototype for gst_caps_is_equal_fixed
16650 * gst/gstregistrypool.c:
16653 2005-08-24 Andy Wingo <wingo@pobox.com>
16655 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
16656 convert a negative value. Doesn't make much sense. Mostly this is
16657 here to force callers to ensure -1 maps to -1.
16659 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
16661 * docs/pwg/advanced-types.xml:
16662 Well done to Michael for catching my deliberate introduction
16663 of this spelling mistake.
16664 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
16665 * gst/gstelement.h:
16666 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
16667 unlink pads before removing the element from the bin.
16669 2005-08-24 Andy Wingo <wingo@pobox.com>
16671 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
16672 the same thing as GST_DEBUG=*:4.
16673 (parse_debug_level, parse_debug_category): New helper parsers.
16675 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
16677 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16678 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
16679 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
16680 (gst_base_transform_buffer_alloc),
16681 (gst_base_transform_handle_buffer):
16682 use gboolean return values and pointers to size so we can use the
16683 full GST_BUFFER_SIZE range (guint) for buffer sizes
16684 use GstPadDirection for transform_caps
16685 * gst/base/gstbasetransform.h:
16686 rename get_size to get_unit_size since that's what it is
16687 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
16688 use GstPadDirection for transform_caps
16689 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
16691 cleanup and debugging
16693 2005-08-24 Stefan Kost <ensonic@users.sf.net>
16695 * gst/gstelement.c: (gst_element_class_init),
16696 (gst_element_set_state), (activate_pads),
16697 (gst_element_save_thyself):
16698 * tools/gst-compprep.c: (main):
16699 * tools/gst-inspect.c: (print_element_properties_info):
16700 * tools/gst-xmlinspect.c: (print_element_properties):
16701 Fixed long standing mem-leak
16703 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
16705 * check/gst/gstbin.c: (GST_START_TEST):
16706 * gst/gstbin.c: (bin_bus_handler):
16707 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16708 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16709 (gst_message_new_warning), (gst_message_new_tag),
16710 (gst_message_new_state_changed), (gst_message_new_segment_start),
16711 (gst_message_new_segment_done), (gst_message_new_custom):
16712 * gst/gstmessage.h:
16713 * tools/gst-launch.c: (event_loop):
16714 * tools/gst-md5sum.c: (event_loop):
16715 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
16716 that applications can sensibly post custom messages with references
16717 to their own objects.
16719 2005-08-24 Andy Wingo <wingo@pobox.com>
16721 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
16724 2005-08-24 Wim Taymans <wim@fluendo.com>
16726 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16727 (gst_base_transform_transform_caps),
16728 (gst_base_transform_transform_size),
16729 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16730 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16731 (gst_base_transform_handle_buffer):
16732 * gst/base/gstbasetransform.h:
16733 Many fixes and new features added by Thomas. Can now also do
16734 transforms with variable sizes and a custom fixate_caps function.
16736 2005-08-24 Wim Taymans <wim@fluendo.com>
16738 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
16742 Cast to ClockTime before formatting to time.
16747 2005-08-24 Stefan Kost <ensonic@users.sf.net>
16749 * check/gst-libs/controller.c: (GST_START_TEST),
16750 (gst_controller_suite):
16751 * docs/gst/tmpl/gstcaps.sgml:
16752 * docs/gst/tmpl/gstghostpad.sgml:
16753 * docs/gst/tmpl/gstquery.sgml:
16754 * docs/gst/tmpl/gstutils.sgml:
16755 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
16756 (gst_object_sink_values), (gst_object_get_value_arrays),
16757 (gst_object_get_value_array):
16758 gracefully handle helper method calls to objects that are not beeing
16759 controlled, added test case for that
16761 2005-08-23 Wim Taymans <wim@fluendo.com>
16763 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
16764 (gst_event_new_newsegment), (gst_event_parse_newsegment),
16765 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
16766 (gst_event_parse_qos), (gst_event_new_seek),
16767 (gst_event_parse_seek):
16769 Some more debugging output and doc cleanups.
16771 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16772 Fix possible deadlock.
16774 2005-08-23 Stefan Kost <ensonic@users.sf.net>
16776 * docs/gst/gstreamer-docs.sgml:
16777 * docs/gst/gstreamer-sections.txt:
16778 * docs/gst/gstreamer.types:
16779 * docs/gst/tmpl/.cvsignore:
16782 * gst/gstelement.c:
16784 added 100 symbols from gstreamer-unused.txt to the right sections
16785 fixed more broken comments
16786 added GstBus to docs
16788 2005-08-23 Stefan Kost <ensonic@users.sf.net>
16790 * docs/gst/gstreamer-sections.txt:
16791 * docs/gst/tmpl/.cvsignore:
16792 * docs/gst/tmpl/gstbin.sgml:
16793 * docs/gst/tmpl/gstbuffer.sgml:
16794 * gst/base/gstbasesrc.c:
16795 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
16798 * tools/gst-launch.1.in:
16799 inlined more doc comments, added missing comments and fixed comments
16802 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
16804 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
16808 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
16810 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
16811 * gst/gststructure.h:
16812 add a fixate function for booleans; add a FIXME that these func
16813 names should probably be gst_structure_fixate_*
16815 2005-08-23 Stefan Kost <ensonic@users.sf.net>
16817 * docs/gst/gstreamer-docs.sgml:
16818 * docs/gst/gstreamer-sections.txt:
16820 * gst/gstbin.c: (gst_bin_get_type),
16821 (gst_bin_child_proxy_get_child_by_index),
16822 (gst_bin_child_proxy_get_children_count),
16823 (gst_bin_child_proxy_init):
16824 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16825 (gst_child_proxy_get_child_by_index),
16826 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
16827 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
16828 (gst_child_proxy_get), (gst_child_proxy_set_property),
16829 (gst_child_proxy_set_valist), (gst_child_proxy_set),
16830 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
16831 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
16832 * gst/gstchildproxy.h:
16833 * gst/parse/grammar.y:
16834 * tools/gst-inspect.c: (print_interfaces),
16835 (print_element_properties_info), (print_element_info):
16836 ported gstchildproxy over from 0.8
16837 ported gst-inspect fixes and enhancements over from 0.8
16839 2005-08-22 Wim Taymans <wim@fluendo.com>
16841 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16842 (gst_base_transform_handle_buffer):
16843 Also call the transform function if we have ANY caps.
16845 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
16848 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
16850 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
16851 Don't pretend to handle seek events if the source is not seekable
16853 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
16855 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16856 Remove extra parameter to debug output
16858 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16859 (gst_base_src_do_seek), (gst_base_src_activate_push):
16860 Fix seek event handling.
16862 * gst/gstpipeline.c: (gst_pipeline_change_state):
16863 * gst/gstqueue.c: (gst_queue_handle_sink_event),
16864 (gst_queue_src_activate_push):
16865 Don't start the src pad task on FLUSH_STOP if the pad
16869 2005-08-22 Wim Taymans <wim@fluendo.com>
16871 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
16872 Added check for gst_static_caps_get() refcounting.
16874 2005-08-22 Wim Taymans <wim@fluendo.com>
16876 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
16877 Make _static_caps_get() refcounting sane.
16879 * gst/gstelement.c: (gst_element_set_state):
16880 Add g_return_val_if_fail() to protect against segfaults.
16882 2005-08-22 Stefan Kost <ensonic@users.sf.net>
16884 * docs/gst/tmpl/gstevent.sgml:
16887 inlined remaining docs, added missing doc comments
16889 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
16891 * check/gst/gstbin.c: (GST_START_TEST):
16892 since we don't know when preroll is done, use refcount range
16894 * gst/check/gstcheck.h:
16895 add macro for checking refcount range
16897 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
16899 * check/Makefile.am:
16900 clean up environment for when registry gets built versus
16901 when actual tests are run; valgrind seems to not report
16902 leaks if GST_PLUGIN_PATH is set to some specific values
16903 * check/gst/gstbin.c: (GST_START_TEST):
16904 add more refcounting checks; maybe this exposes a
16906 * common/check.mak:
16907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16908 * gst/check/gstcheck.h:
16909 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
16910 (gst_bin_change_state):
16911 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
16912 add/fix debugging/whitespace
16914 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
16916 * check/gst/gstevent.c: (event_probe), (test_event),
16918 Er, don't call gst_bin_watch_for_state_change you idiot.
16920 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
16922 * check/Makefile.am:
16923 Use CHECK_CFLAGS and CHECK_LIBS
16924 * check/gst/gstevent.c: (event_probe), (test_event),
16927 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16928 (gst_base_src_start), (gst_base_src_stop),
16929 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16930 (gst_base_src_change_state):
16931 Sprinkle gst_base_src_stop liberally around error paths to fix
16932 problems reusing a source after failed state changes.
16933 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16934 (helper_find_suggest), (gst_type_find_helper):
16935 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
16937 * docs/gst/tmpl/gstevent.sgml:
16938 Migrate part of the docs from the SGML file. Wait for ensonic to
16939 tell me how I did it wrong ;)
16940 * tools/gst-typefind.c: (main):
16941 Extra robustness to state changes between files.
16943 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
16945 * check/Makefile.am:
16946 don't valgrind the controller test - it's leaking - Stefan, HELP
16947 * gst/check/gstcheck.c: (gst_check_message_error),
16948 (gst_check_chain_func), (gst_check_setup_element),
16949 (gst_check_teardown_element), (gst_check_setup_src_pad),
16950 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
16951 (gst_check_teardown_sink_pad):
16952 * gst/check/gstcheck.h:
16953 add a bunch of methods to set up elements, and src and sink pads
16954 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
16955 * check/elements/identity.c: (setup_identity), (cleanup_identity),
16958 * gst/gstmessage.c:
16960 whitespace/doc fixes
16962 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16964 * gst/gstelement.h:
16965 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
16966 be handled by the application and not always printed as well
16968 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16970 * check/Makefile.am:
16972 * gst/check/gstcheck.c: (gst_check_message_error):
16973 * gst/check/gstcheck.h:
16974 add a fail_unless_equals_int
16975 add fail_unless for error messages
16977 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16979 * check/Makefile.am:
16981 * common/Makefile.am:
16982 * common/check.mak:
16984 factor out some of the common stuff so we can use it
16986 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16988 * check/Makefile.am:
16989 * check/gst/gstiterator.c: (GST_START_TEST):
16990 * check/gst/gstsystemclock.c: (GST_START_TEST),
16991 (gst_systemclock_suite):
16992 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16994 valgrind more tests
16996 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
16998 * check/elements/.cvsignore:
16999 * check/elements/gstfakesrc.c:
17000 rename to name of element
17001 * check/elements/identity.c: (chain_func), (event_func),
17002 (setup_identity), (cleanup_identity), (GST_START_TEST),
17003 (identity_suite), (main):
17004 add a test for identity
17005 * check/Makefile.am:
17006 * pkgconfig/Makefile.am:
17007 * pkgconfig/gstreamer-check.pc.in:
17008 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17012 move the check stuff to a library that gets installed
17013 * check/gst-libs/controller.c: (GST_START_TEST):
17014 * check/gst-libs/gdp.c:
17015 * check/gst/gst.c: (GST_START_TEST):
17016 * check/gst/gstbin.c:
17017 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17018 * check/gst/gstbus.c:
17019 * check/gst/gstcaps.c: (GST_START_TEST):
17020 * check/gst/gstelement.c:
17021 * check/gst/gstghostpad.c:
17022 * check/gst/gstiterator.c:
17023 * check/gst/gstmessage.c:
17024 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17025 * check/gst/gstobject.c:
17026 * check/gst/gstpad.c: (GST_START_TEST):
17027 * check/gst/gststructure.c: (GST_START_TEST):
17028 * check/gst/gstsystemclock.c: (GST_START_TEST),
17029 (gst_systemclock_suite):
17030 * check/gst/gsttag.c: (gst_tag_suite):
17031 * check/gst/gstvalue.c:
17032 * check/pipelines/cleanup.c:
17033 * check/pipelines/simple_launch_lines.c:
17034 * check/states/sinks.c:
17035 change include statement
17037 * docs/gst/gstreamer-sections.txt:
17038 * docs/gst/tmpl/gstpad.sgml:
17039 document more pad stuff
17040 * gst/gstminiobject.c: (gst_mini_object_ref),
17041 (gst_mini_object_unref):
17044 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17046 * docs/gst/tmpl/gst.sgml:
17048 eliminate another tmpl file, fix spelling in the long-description
17050 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17052 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17053 (test_event), (timediff), (gstevents_suite):
17054 Should fix build on 64-bit arch's
17056 2005-08-18 Andy Wingo <wingo@pobox.com>
17058 Make sure that when a pipeline goes to PLAYING, that data has
17059 actually hit the sink.
17061 * check/states/sinks.c (test_sink): A sink that doesn't get any
17062 data shouldn't return SUCCESS for going to either PLAYING or
17063 PAUSED. Test also the return values on the way back down.
17065 * gst/gstelement.c (gst_element_set_state): When changing the
17066 state of an element currently changing state asynchronously, go to
17067 lost-state after commiting the pending state. Makes future calls
17068 to get_state continue to return ASYNC.
17070 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17071 ASYNC when going to PLAYING if we still don't have preroll, as can
17072 happen with live sources.
17074 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17076 * docs/pwg/advanced-types.xml:
17077 Hack long paragraph into 2 chunks as a workaround for buggy
17078 jadetex version in sid and breezy that loops infinitely and
17081 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17083 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17084 (test_event), (timediff), (gstevents_suite):
17085 Provide more error margin in clock measurements to allow for
17086 g_get_current_time inaccuracies.
17088 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17090 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17091 (test_event), (timediff), (gstevents_suite):
17092 Fix error message output so I might be able to tell why the
17093 test works here but fails on the build farm.
17095 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17097 * check/Makefile.am:
17098 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17099 (test_event), (timediff), (gstevents_suite), (main):
17102 * docs/design/part-seeking.txt:
17103 Spelling correction
17105 * docs/gst/tmpl/gstevent.sgml:
17106 * docs/gst/tmpl/gstfakesrc.sgml:
17109 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17110 Treat a buffer-without-newsegment the same as a receiving
17111 a newsegment not in time format, and disable syncing to the clock
17114 * gst/gstbus.c: (gst_bus_set_sync_handler):
17115 Assert if anyone tries to replace the existing sync_handler for bus,
17116 as only the owner should be setting it.
17119 Have a fixed set of custom event enums with events identified by
17120 their structure name (as in 0.8), rather than a free-for-all
17121 allowing collisions between enum values from different plugins.
17123 * gst/gstpad.c: (gst_pad_class_init):
17126 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17127 Handle out-of-band downstream events from the sending thread.
17129 2005-08-17 Andy Wingo <wingo@pobox.com>
17131 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17132 play-timeout==0 to mean no timeout at all. In that case, don't
17133 bother with a get_state or a warning, just return directly, even
17136 * gst/base/gstbasetransform.c: Debug changes.
17139 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17140 ensure bins post state change messages. A bit of a hack but I can't
17141 think of a way to avoid it.
17143 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17145 2005-08-16 Andy Wingo <wingo@pobox.com>
17147 * gst/base/gstadapter.h:
17148 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17149 peek() but you own the data. Not terribly efficient atm.
17151 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17153 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17154 (gst_element_found_tags):
17156 Add two utility functions for tag handling.
17158 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17160 * docs/manual/advanced-dataaccess.xml:
17161 * docs/manual/basics-helloworld.xml:
17162 Fix docs to use _bin_add() before _link(), which fixes the examples
17163 with recent core versions (reported by Madhan Raj M
17164 <raj_madan@rediffmail.com>, #313199).
17166 2005-08-16 Wim Taymans <wim@fluendo.com>
17168 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17169 Added subtract checks.
17171 * docs/design/part-events.txt:
17172 Some more docs about newsegment
17174 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17177 * gst/gstcaps.c: (gst_caps_to_string):
17178 Add comments, cleanups.
17180 * gst/gstelement.c: (gst_element_save_thyself):
17183 * gst/gstvalue.c: (gst_value_collect_int_range),
17184 (gst_string_unwrap), (gst_value_union_int_int_range),
17185 (gst_value_union_int_range_int_range),
17186 (gst_value_intersect_int_int_range),
17187 (gst_value_intersect_int_range_int_range),
17188 (gst_value_intersect_double_double_range),
17189 (gst_value_intersect_double_range_double_range),
17190 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17191 (gst_value_subtract_int_range_int),
17192 (gst_value_subtract_double_range_double),
17193 (gst_value_subtract_double_range_double_range),
17194 (gst_value_subtract_from_list), (gst_value_subtract_list),
17195 (gst_value_can_compare), (gst_value_compare_fraction):
17196 Cleanups, add comments, remove unneeded asserts.
17198 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17200 * tools/gst-launch.c: (event_loop):
17201 don't convert NULL structures to strings
17203 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17205 * docs/gst/gstreamer-sections.txt:
17206 made some defines private
17207 * docs/gst/tmpl/gstconfig.sgml:
17208 * docs/gst/tmpl/gstqueue.sgml:
17209 * docs/gst/tmpl/gsttaglist.sgml:
17210 * docs/gst/tmpl/gsttypes.sgml:
17211 * docs/gst/tmpl/gstutils.sgml:
17212 * docs/pwg/appendix-porting.xml:
17213 * gst/base/gstbasesink.h:
17214 * gst/base/gstbasesrc.c:
17215 * gst/base/gstbasesrc.h:
17216 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17217 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17218 * gst/gstelement.c: (gst_element_class_init):
17219 * gst/gstpad.c: (gst_pad_class_init):
17220 * gst/gstqueue.c: (gst_queue_class_init):
17221 * gst/gstxml.c: (gst_xml_class_init):
17222 documented all undocumented signal inline
17223 * libs/gst/controller/gst-controller.h:
17226 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17228 * docs/pwg/appendix-porting.xml:
17229 Document _set_link_function -> _set_setcaps_function.
17231 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17233 * check/Makefile.am:
17234 add a .check target for running the check
17235 * check/gst-libs/controller.c: (GST_START_TEST):
17237 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17238 complete checks for gstbuffer; would be nice if I could get the
17239 gcov stuff to work so I can see if I actually completed gstbuffer.c
17240 * check/gstcheck.h:
17241 add ASSERT_BUFFER_REFCOUNT
17243 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17245 * docs/gst/gstreamer-sections.txt:
17246 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17248 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17249 spew out a warning if a tag that is already registered
17250 is re-registered, unless it is re-registered with a
17251 different type (#308438).
17253 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17255 * docs/pwg/appendix-porting.xml:
17256 * docs/pwg/building-state.xml:
17257 Add some paragraphs about state changes in 0.9 to the PWG
17258 and the porting guide, in particular about the new meaning
17259 of GST_STATE_PAUSED and how to write state change functions
17260 with concurrent access by multiple threads in mind.
17262 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17264 * docs/gst/gstreamer-docs.sgml:
17265 * docs/libs/gstreamer-libs-docs.sgml:
17266 added deprecation and since indexes
17267 * libs/gst/controller/gst-controller.c:
17268 * libs/gst/controller/gst-helper.c:
17272 2005-08-11 Wim Taymans <wim@fluendo.com>
17274 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17275 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17276 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17277 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17278 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17279 (gst_ghost_pad_set_target):
17280 Actually implement (re)setting the target on a ghostpad
17281 as described in the docs.
17283 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17285 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17286 Check whether GST_DEBUG_NO_COLOR environment variable is
17287 set and disable coloured debug output if that is the case.
17289 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17291 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17292 (gst_type_find_helper):
17293 The memory returned by gst_type_find_peek() needs to
17294 stay valid until the end of a typefind function, and
17295 typefind functions may keep results from different
17296 offsets around, so we can't just unref the buffer from
17297 the previous _peek(), but have to save all buffers
17298 returned by _peek() until typefinding is done and only
17301 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17303 * docs/gst/gstreamer-sections.txt:
17305 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17307 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17309 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17310 Fix a pretty good memleak.
17312 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17314 * gst/gstiterator.h:
17315 Fix wrong include and 'make distcheck'.
17317 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17319 * gst/gstbin.c: (bin_bus_handler):
17320 Use gst_element_post_message() instead.
17322 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
17324 * gst/base/gstadapter.h:
17325 * gst/base/gstbasesink.h:
17326 * gst/base/gstbasesrc.h:
17327 * gst/base/gstbasetransform.h:
17328 * gst/base/gstcollectpads.h:
17329 * gst/base/gstpushsrc.h:
17330 * gst/gstiterator.h:
17331 Add padding to our base elements' class and instance structs and
17332 to GstIterator (you will need to rebuild all plugins and apps!)
17334 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17336 * gst/gstbin.c: (bin_bus_handler):
17337 Make default message forwarding from child->bus to bin->bus
17338 threadsafe and make it not emit warnings if the parent has no bus.
17340 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17342 * gst/gstelement.c: (activate_pads):
17343 On paused->ready, set pad->caps to NULL, as is the documented
17344 behaviour in this state change. Fixes playback of series of
17345 media files when visualization is enabled in Totem.
17347 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17349 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17350 Allow NULL as filter-caps (which means "any").
17352 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17354 * docs/libs/gstreamer-libs-sections.txt:
17355 * libs/gst/controller/gst-controller.c:
17356 * libs/gst/controller/gst-controller.h:
17357 * libs/gst/controller/gst-helper.c:
17358 adding more entries to the docs and fix small doc-bugs
17360 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17362 * docs/gst/gstreamer-docs.sgml:
17363 * docs/gst/gstreamer-sections.txt:
17364 * docs/gst/gstreamer.types:
17365 * docs/gst/tmpl/gstbasesink.sgml:
17366 * docs/gst/tmpl/gstbasesrc.sgml:
17367 * docs/gst/tmpl/gstbasetransform.sgml:
17368 * docs/gst/tmpl/gstfakesrc.sgml:
17369 * gst/base/gstcollectpads.c:
17370 * gst/base/gstcollectpads.h:
17371 * libs/gst/controller/gst-controller.c:
17372 * libs/gst/controller/gst-controller.h:
17373 * libs/gst/controller/gst-helper.c:
17374 * libs/gst/controller/gst-interpolation.c:
17375 * libs/gst/controller/lib.c:
17376 added long/short desc for controller docs
17377 added collectpads base class docs
17378 added correct includes to base-class docs
17380 2005-08-05 Stefan Kost <ensonic@users.sf.net>
17382 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17383 (gst_test_mono_source_set_property),
17384 (gst_test_mono_source_class_init), (GST_START_TEST),
17385 (gst_controller_suite):
17386 * docs/gst/gstreamer-docs.sgml:
17387 * docs/gst/gstreamer-sections.txt:
17388 * docs/gst/gstreamer.types:
17389 * docs/libs/gstreamer-libs-docs.sgml:
17390 * docs/libs/gstreamer-libs-sections.txt:
17391 * gst/base/gstadapter.c:
17392 * libs/gst/controller/gst-controller.c:
17393 (gst_controlled_property_new), (gst_controlled_property_free),
17394 (gst_controller_new_valist),
17395 (gst_controller_remove_properties_valist),
17396 (gst_controller_sink_values), (_gst_controller_finalize):
17397 * libs/gst/controller/gst-controller.h:
17398 * libs/gst/controller/gst-helper.c:
17399 (gst_object_control_properties), (gst_object_uncontrol_properties),
17400 (gst_object_get_controller), (gst_object_set_controller),
17401 (gst_object_sink_values), (gst_object_get_value_arrays),
17402 (gst_object_get_value_array):
17403 more tests (and fixes) for the controller
17404 more docs for the controller
17405 integrated companies docs for the adapter
17407 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
17409 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17410 (GST_START_TEST), (fakesrc_suite):
17411 add tests for sizetype
17413 2005-08-04 Andy Wingo <wingo@pobox.com>
17415 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17416 fixes buffer_alloc proxying among other things.
17418 * gst/base/gstbasetransform.c:
17419 * gst/base/gstbasetransform.h:
17420 Revert patch to gstbasetransform from 7-28 removing
17423 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17424 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17425 Semantics changed, should return not the size of the output buffer
17426 but the byte size of a buffer with a given caps.
17428 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17430 (gst_base_transform_configure_caps): Don't set out_size here: (in,
17431 out) are not the pad caps until setcaps finishes.
17432 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17433 not-in-place case as well. Deal with changing from in-place to
17434 not-in-place within calling pad_alloc_buffer. Still a bit
17435 concerned about the overhead here...
17437 2005-08-03 Andy Wingo <wingo@pobox.com>
17439 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17440 fixating is an error.
17442 2005-08-04 Edward Hervey <edward@fluendo.com>
17444 * gst/base/gstadapter.h:
17445 Added gst_adapter_get_type() to the header
17447 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17449 * check/Makefile.am:
17450 * check/gst-libs/controller.c:
17451 * libs/gst/controller/gst-controller.c:
17452 (gst_controller_new_valist):
17453 added check test suite for the controller
17454 * gst/base/gstpushsrc.c:
17457 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17459 * docs/gst/Makefile.am:
17460 * docs/gst/gstreamer-docs.sgml:
17461 * docs/gst/gstreamer-sections.txt:
17462 * docs/gst/gstreamer.types:
17463 * docs/gst/tmpl/gstfakesrc.sgml:
17465 * gst/base/gstbasesink.c:
17466 * gst/base/gstbasesink.h:
17467 * gst/base/gstbasesrc.c:
17468 * gst/base/gstbasesrc.h:
17469 * gst/base/gstbasetransform.c:
17470 * gst/base/gstpushsrc.c:
17471 * gst/base/gstpushsrc.h:
17472 add short/long description docs to base classes
17473 add pushsrc to the docs
17474 remove consolidated doc fragments
17476 2005-08-03 Stefan Kost <ensonic@users.sf.net>
17479 * docs/libs/Makefile.am:
17480 * docs/libs/gstreamer-libs-docs.sgml:
17481 * docs/libs/gstreamer-libs-sections.txt:
17482 * docs/libs/gstreamer-libs.types:
17483 * examples/Makefile.am:
17484 * examples/controller/.cvsignore:
17485 * examples/controller/Makefile.am:
17486 * examples/controller/audio-example.c: (main):
17487 * libs/gst/Makefile.am:
17488 * libs/gst/controller/.cvsignore:
17489 * libs/gst/controller/Makefile.am:
17490 * libs/gst/controller/gst-controller.c:
17491 (on_object_controlled_property_changed), (gst_timed_value_compare),
17492 (gst_timed_value_find),
17493 (gst_controlled_property_set_interpolation_mode),
17494 (gst_controlled_property_new), (gst_controlled_property_free),
17495 (gst_controller_find_controlled_property),
17496 (gst_controller_new_valist), (gst_controller_new),
17497 (gst_controller_remove_properties_valist),
17498 (gst_controller_remove_properties), (gst_controller_set),
17499 (gst_controller_set_from_list), (gst_controller_unset),
17500 (gst_controller_get), (gst_controller_get_all),
17501 (gst_controller_sink_values), (gst_controller_get_value_arrays),
17502 (gst_controller_get_value_array),
17503 (gst_controller_set_interpolation_mode),
17504 (_gst_controller_finalize), (_gst_controller_init),
17505 (_gst_controller_class_init), (gst_controller_get_type):
17506 * libs/gst/controller/gst-controller.h:
17507 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17508 (g_object_uncontrol_properties), (g_object_get_controller),
17509 (g_object_set_controller), (g_object_sink_values),
17510 (g_object_get_value_arrays), (g_object_get_value_array):
17511 * libs/gst/controller/gst-interpolation.c:
17512 (gst_controlled_property_find_timed_value_node),
17513 (interpolate_none_get), (interpolate_trigger_get),
17514 (interpolate_trigger_get_value_array):
17515 * libs/gst/controller/lib.c: (gst_controller_init):
17516 * pkgconfig/Makefile.am:
17517 * pkgconfig/gstreamer-control-uninstalled.pc.in:
17518 * pkgconfig/gstreamer-control.pc.in:
17519 * testsuite/Makefile.am:
17520 * testsuite/controller/.cvsignore:
17521 * testsuite/controller/Makefile.am:
17522 * testsuite/controller/interpolator.c: (main):
17523 added controller code
17524 removed dparam pc files
17526 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17527 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17528 (gst_collectpads_stop):
17529 Broadcast the condition when shutting down, to make sure we wake all
17530 threads up. Shut down pads on finalize, for safety.
17532 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
17533 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17534 (gst_base_transform_handle_buffer),
17535 (gst_base_transform_change_state):
17536 Handle PAUSED->READY->PAUSED transition after negotiation
17538 * gst/gstmessage.c: (gst_message_init):
17539 Extra piece of debug for new messages.
17541 2005-08-01 Stefan Kost <ensonic@users.sf.net>
17544 * docs/gst/tmpl/gstbasesrc.sgml:
17545 * docs/gst/tmpl/gstelement.sgml:
17546 * docs/gst/tmpl/gstevent.sgml:
17547 * docs/gst/tmpl/gstfakesrc.sgml:
17548 * docs/gst/tmpl/gstformat.sgml:
17549 * docs/gst/tmpl/gstghostpad.sgml:
17550 * docs/gst/tmpl/gstpad.sgml:
17551 * docs/gst/tmpl/gstquery.sgml:
17552 * docs/gst/tmpl/gststructure.sgml:
17553 * docs/gst/tmpl/gsttaglist.sgml:
17554 * docs/gst/tmpl/gstvalue.sgml:
17555 * docs/libs/gstreamer-libs-docs.sgml:
17556 * docs/libs/gstreamer-libs-sections.txt:
17557 * docs/libs/gstreamer-libs.types:
17558 * libs/gst/Makefile.am:
17559 * libs/gst/control/.cvsignore:
17560 * libs/gst/control/Makefile.am:
17561 * libs/gst/control/control.c:
17562 * libs/gst/control/control.h:
17563 * libs/gst/control/dparam.c:
17564 * libs/gst/control/dparam.h:
17565 * libs/gst/control/dparam_smooth.c:
17566 * libs/gst/control/dparam_smooth.h:
17567 * libs/gst/control/dparamcommon.h:
17568 * libs/gst/control/dparammanager.c:
17569 * libs/gst/control/dparammanager.h:
17570 * libs/gst/control/dplinearinterp.c:
17571 * libs/gst/control/dplinearinterp.h:
17572 * libs/gst/control/unitconvert.c:
17573 * libs/gst/control/unitconvert.h:
17574 * testsuite/Makefile.am:
17575 * testsuite/dynparams/.cvsignore:
17576 * testsuite/dynparams/Makefile.am:
17577 * testsuite/dynparams/dparamstest.c:
17578 * tools/Makefile.am:
17579 * tools/gst-inspect.c: (print_element_info), (main):
17580 * tools/gst-xmlinspect.c: (print_element_info), (main):
17581 deactivate and remove dparams (libgstcontrol)
17583 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17585 * gst/elements/gsttypefindelement.c:
17586 (gst_type_find_element_have_type), (gst_type_find_element_init),
17587 (stop_typefinding), (gst_type_find_element_handle_event),
17588 (gst_type_find_element_chain), (gst_type_find_element_getrange):
17589 * gst/elements/gsttypefindelement.h:
17590 Set caps on all outgoing buffers, not just the first one.
17592 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17594 * gst/elements/gsttypefindelement.c:
17595 (gst_type_find_element_have_type),
17596 (gst_type_find_element_check_set_buffer_caps),
17597 (gst_type_find_element_init), (stop_typefinding),
17598 (gst_type_find_element_handle_event),
17599 (gst_type_find_element_chain), (gst_type_find_element_getrange):
17600 * gst/elements/gsttypefindelement.h:
17601 Set caps on first outgoing buffer when we've found the type.
17603 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
17605 * docs/gst/gstreamer-docs.sgml:
17606 * docs/gst/gstreamer-sections.txt:
17607 * docs/gst/tmpl/gstscheduler.sgml:
17608 * docs/gst/tmpl/gstschedulerfactory.sgml:
17609 Remove some old cruft from docs.
17611 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
17614 Fix inline docs for GstPadLinkReturn.
17616 * gst/gststructure.c: (gst_structure_has_name):
17617 * gst/gststructure.h:
17618 * docs/gst/gstreamer-sections.txt:
17619 New API: gst_structure_has_name().
17621 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
17624 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
17625 and _LARGEFILE_SOURCE in config.h as required. Do not
17626 export those flags in our .pc files any longer (#142209).
17628 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
17630 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
17631 (gst_file_sink_do_seek), (gst_file_sink_event),
17632 (gst_file_sink_get_current_offset), (gst_file_sink_render):
17633 Redo seek/tell calls with large file support in mind; add some
17634 debugging messages; add log message that tells us when large
17635 file support is unavailable or not enabled for some reason.
17637 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
17638 Add log message that tells us when large file support
17639 is unavailable or not enabled for some reason.
17641 2005-07-29 Wim Taymans <wim@fluendo.com>
17643 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17644 Added test for removing an element with ghostpad from a bin.
17645 Fixed test as current implementation does the right thing.
17647 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
17648 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
17649 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
17650 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
17651 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
17652 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
17653 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
17654 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17655 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
17656 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
17657 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
17658 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
17659 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
17660 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
17661 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
17662 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
17663 * gst/gstghostpad.h:
17664 Clean up ghostpads, remove properties for internal stuff.
17667 Prepare for switching targets, not all use cases work yet.
17669 2005-07-29 Wim Taymans <wim@fluendo.com>
17671 * docs/design/part-gstghostpad.txt:
17674 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
17675 (gst_bin_remove_func):
17676 Unlinking pads while holding the bin LOCK is not a good
17679 * gst/gstpad.c: (gst_pad_class_init),
17680 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
17681 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
17682 No prob setting template after creating the pad.
17684 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
17686 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
17687 (gst_bus_peek), (gst_bus_source_dispatch),
17688 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
17689 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
17690 gst_bus_poll may be called from other threads. Handle
17691 this nicely by not making poll_data disappear off the
17692 stack once gst_bus_poll returns.
17693 gst_bus_peek now increments the refcount on the returned
17696 2005-07-29 Wim Taymans <wim@fluendo.com>
17698 * docs/design/part-gstghostpad.txt:
17699 Overview of current GhostPad datastructures and use
17700 cases for changing the target.
17702 2005-07-28 Wim Taymans <wim@fluendo.com>
17704 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17705 Added checks for hierarchy consistency whan adding linked
17708 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17709 Added check to test element scheduling without bin/pipeline.
17711 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17712 First add elements to bin, then link.
17714 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
17715 (gst_bin_remove_func):
17716 Unlink pads from elements added/removed from bin to maintain
17717 hierarchy consistency.
17719 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17721 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17722 (gst_base_transform_handle_buffer):
17723 * gst/base/gstbasetransform.h:
17724 Remove broken delay_configure (fixes renegotiation of software
17725 scaling pipelines); remove some leftover printf()s.
17727 2005-07-28 Wim Taymans <wim@fluendo.com>
17729 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17730 Added some more tests for wrong hierarchy
17732 * docs/design/part-overview.txt:
17735 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
17738 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
17739 (gst_element_dispose):
17740 Some more cleanups.
17742 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17743 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
17744 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
17745 (gst_pad_set_caps), (gst_pad_send_event):
17746 Check for correct hierarchy when linking pads. Moving to
17747 strict requirement for ghostpads when linking elements in
17751 Clean ups. Added WRONG_HIERARCHY return value.
17753 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17755 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
17756 Better debug if no transform is possible.
17758 2005-07-27 Wim Taymans <wim@fluendo.com>
17760 * docs/random/wtay/network-transp:
17761 Some old doc I had.
17763 2005-07-27 Wim Taymans <wim@fluendo.com>
17765 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17766 (gst_dp_event_from_packet):
17767 Fix serialization of seek events.
17769 2005-07-27 Wim Taymans <wim@fluendo.com>
17771 * check/gst-libs/gdp.c: (GST_START_TEST):
17772 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17773 Fix compilation and fix event serialization.
17775 2005-07-27 Wim Taymans <wim@fluendo.com>
17778 * docs/design/part-TODO.txt:
17779 * docs/design/part-events.txt:
17782 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17783 (gst_base_sink_event), (gst_base_sink_do_sync),
17784 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
17785 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17786 (gst_base_src_do_seek), (gst_base_src_event_handler),
17787 (gst_base_src_loop):
17788 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17789 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17790 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17791 (gst_base_transform_event), (gst_base_transform_handle_buffer),
17792 (gst_base_transform_set_passthrough),
17793 (gst_base_transform_is_passthrough):
17794 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17795 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17801 * gst/gstelement.c: (gst_element_seek):
17802 * gst/gstelement.h:
17803 Update gst_element_seek.
17805 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
17806 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
17807 (gst_event_new_flush_start), (gst_event_new_flush_stop),
17808 (gst_event_new_eos), (gst_event_new_newsegment),
17809 (gst_event_parse_newsegment), (gst_event_new_tag),
17810 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
17811 (gst_event_parse_qos), (gst_event_new_seek),
17812 (gst_event_parse_seek), (gst_event_new_navigation):
17814 Make GstEvent use GstStructure. Add parsing code, make sure the
17815 API is sufficiently generic.
17816 Mark possible directions of events and serialization.
17818 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
17819 (_gst_message_copy), (gst_message_new_segment_start),
17820 (gst_message_new_segment_done), (gst_message_new_custom),
17821 (gst_message_parse_segment_start),
17822 (gst_message_parse_segment_done):
17825 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
17826 (gst_pad_set_caps), (gst_pad_send_event):
17827 Update for new events.
17828 Catch events sent in wrong directions.
17830 * gst/gstqueue.c: (gst_queue_link_src),
17831 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17832 (gst_queue_handle_src_query):
17837 Remove event code from this file.
17839 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17840 (gst_dp_event_from_packet):
17843 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17845 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
17846 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17847 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
17848 Make debugging actually useful.
17850 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17852 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
17853 (gst_pad_fixate_caps):
17854 Implement default fixation once again, so that gst_pad_fixate()
17855 actually does anything at all. This probably needs to be some
17856 sort of a last resort, and use profile-based fixation first, but
17857 since that doesn't exist yet, this is the best we have. Fixes
17858 visualization in Totem.
17860 2005-07-22 Wim Taymans <wim@fluendo.com>
17862 * docs/design/part-events.txt:
17865 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17866 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
17867 (gst_base_sink_activate_pull):
17868 Some more comments.
17870 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
17871 (gst_fake_src_create):
17872 Fix handoff marshall.
17874 * gst/elements/gstidentity.c: (gst_identity_class_init),
17875 (gst_identity_transform_ip):
17876 We're a real inplace element.
17878 * gst/gstbus.c: (gst_bus_post):
17879 Added some comments.
17881 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
17882 * tests/muxing/case1.c: (main):
17883 * tests/sched/dynamic-pipeline.c: (main):
17884 * tests/sched/interrupt1.c: (main):
17885 * tests/sched/interrupt2.c: (main):
17886 * tests/sched/interrupt3.c: (main):
17887 * tests/sched/runxml.c: (main):
17888 * tests/sched/sched-stress.c: (main):
17889 * tests/seeking/seeking1.c: (event_received), (main):
17890 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17892 * tests/threadstate/threadstate3.c: (main):
17893 * tests/threadstate/threadstate4.c: (main):
17894 * tests/threadstate/threadstate5.c: (main):
17897 2005-07-21 Wim Taymans <wim@fluendo.com>
17899 * docs/design/part-seeking.txt:
17900 Some small additions.
17902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17903 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17904 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
17905 * gst/base/gstbasesink.h:
17906 discont values are gint64, handle the math correctly.
17908 * gst/base/gstbasesrc.c: (gst_base_src_loop):
17909 Make the basesrc report error if the source pad is not linked.
17911 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17912 (gst_queue_loop), (gst_queue_handle_src_query),
17913 (gst_queue_src_activate_push):
17914 Make queue collect data even if the srcpad is not linked.
17915 Start pushing out data as soon as it is linked.
17917 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
17919 Added gst_flow_get_name() to ease error reporting.
17921 2005-07-20 Wim Taymans <wim@fluendo.com>
17923 * gst/gstmessage.c: (gst_message_new_segment_start),
17924 (gst_message_new_segment_done), (gst_message_parse_segment_start),
17925 (gst_message_parse_segment_done):
17926 * gst/gstmessage.h:
17927 Added a bunch of messages for advanced seeking.
17929 * gst/parse/grammar.y:
17930 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
17931 (gst_dpman_state_changed):
17932 Fix some new-pad -> pad-added signals
17934 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17936 * docs/manual/appendix-porting.xml:
17937 * docs/pwg/appendix-porting.xml:
17938 Document new-pad/state-change signal renames and the FixedList
17941 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17943 * docs/manual/advanced-autoplugging.xml:
17944 * docs/manual/basics-helloworld.xml:
17945 * docs/manual/basics-pads.xml:
17946 * docs/random/ds/0.9-suggested-changes:
17947 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
17948 * gst/gstelement.h:
17952 * gst/gststructure.c: (gst_structure_value_get_generic_type),
17953 (gst_structure_parse_array), (gst_structure_parse_value):
17954 * gst/gstvalue.c: (gst_type_is_fixed),
17955 (gst_value_list_prepend_value), (gst_value_list_append_value),
17956 (gst_value_list_get_size), (gst_value_list_get_value),
17957 (gst_value_transform_array_string), (gst_value_serialize_array),
17958 (gst_value_deserialize_array), (gst_value_intersect_array),
17959 (gst_value_is_fixed), (_gst_value_initialize):
17961 GstElement::new-pad -> pad-added, GstElement::state-change ->
17962 state-changed, GstValueFixedList -> GstValueArray, add format and
17963 flags as their own arguments in gst_element_seek() (should improve
17964 "bindeability"), remove function generators since they don't work
17965 under a whole bunch of compilers (they were deprecated already
17968 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17970 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17971 (_gst_debug_register_funcptr):
17973 Fix illegal cast on some platforms (#309253).
17975 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17977 * gst/gstmessage.c: (gst_message_new_custom):
17978 * gst/gstmessage.h:
17979 Add _new_custom, make _new_application a macro to _new_custom.
17981 2005-07-20 Wim Taymans <wim@fluendo.com>
17983 * gst/base/gstbasesrc.c: (gst_base_src_init),
17984 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17985 * gst/base/gstbasesrc.h:
17986 Add a gboolean to decide when to push out a discont.
17988 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17989 (gst_queue_loop), (gst_queue_handle_src_query),
17990 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
17991 (gst_queue_set_property), (gst_queue_get_property):
17994 * tests/threadstate/threadstate1.c: (main):
17995 Make a thread test compile and run... very silly..
17998 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18000 * docs/manual/appendix-porting.xml:
18001 Mention removal of libgstgconf-0.9.la and existence of gconf
18004 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18006 * docs/pwg/advanced-clock.xml:
18007 * docs/pwg/appendix-porting.xml:
18008 * docs/pwg/intro-preface.xml:
18009 * docs/pwg/other-base.xml:
18010 * docs/pwg/other-manager.xml:
18011 * docs/pwg/other-nton.xml:
18012 * docs/pwg/other-ntoone.xml:
18013 * docs/pwg/other-oneton.xml:
18014 * docs/pwg/pwg.xml:
18015 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18016 demuxer), remove n-to-n (was never written), fix some code examples
18017 and links and update the porting section to include all this.
18019 2005-07-19 Wim Taymans <wim@fluendo.com>
18021 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18022 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18023 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18024 (gst_queue_src_activate_push), (gst_queue_change_state),
18025 (gst_queue_get_property):
18027 Propagate GstFlowReturn more intelligently upstream and output
18028 an ERROR/EOS when streaming stopped due to fatal error.
18030 2005-07-19 Wim Taymans <wim@fluendo.com>
18032 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18033 Don't block forever for the state change to complete, the
18034 pipeline already did with a sensible timeout.
18036 2005-07-19 Wim Taymans <wim@fluendo.com>
18038 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18039 Make sure we never call the create function is we
18042 2005-07-19 Andy Wingo <wingo@pobox.com>
18044 * gst/parse/parse.l: Attempt to solve bug #172815.
18046 2005-07-19 Wim Taymans <wim@fluendo.com>
18048 * docs/design/part-clocks.txt:
18049 * docs/design/part-events.txt:
18050 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18051 Small docs updates.
18052 Only update the seeking values when we are not
18055 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18057 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18058 Oops, ignore the result of gst_pad_push_event here.
18060 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18062 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18063 (gst_base_src_activate_push):
18064 Send discont event from the loop function, as pads
18065 aren't activated yet in the activate_push handler.
18067 * gst/gstbin.c: (bin_bus_handler):
18068 Don't leak element name.
18070 2005-07-18 Andy Wingo <wingo@pobox.com>
18072 * configure.ac: Use AS_LIBTOOL_TAGS.
18074 2005-07-18 Wim Taymans <wim@fluendo.com>
18076 * docs/gst/gstreamer.types:
18077 Remove deleted types.
18079 2005-07-18 Wim Taymans <wim@fluendo.com>
18081 * check/elements/gstfakesrc.c: (GST_START_TEST):
18084 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18085 (init_popt_callback):
18087 * gst/gst_private.h:
18088 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18089 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18092 * gst/gstconfig.h.in:
18093 * gst/gstelement.c: (gst_element_class_init),
18094 (gst_element_set_base_time), (gst_element_get_base_time),
18095 (iterator_fold_with_resync), (gst_element_change_state),
18096 (gst_element_dispose), (gst_element_get_bus):
18097 * gst/gstelement.h:
18098 * gst/gstelementfactory.h:
18099 * gst/gsterror.c: (_gst_core_errors_init):
18102 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18104 * gst/gstinfo.c: (_gst_debug_init):
18105 * gst/gstmessage.c: (_gst_message_copy):
18106 * gst/gstmessage.h:
18107 * gst/gstminiobject.h:
18110 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18111 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18114 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18115 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18116 (gst_pipeline_get_last_stream_time):
18117 * gst/gstpipeline.h:
18118 * gst/gstpluginfeature.h:
18120 * gst/gstscheduler.c:
18121 * gst/gstscheduler.h:
18122 * gst/gststructure.h:
18123 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18124 (gst_task_finalize), (gst_task_func), (gst_task_create),
18125 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18126 (gst_task_stop), (gst_task_pause):
18128 * gst/gsttypefind.h:
18130 * gst/registries/gstlibxmlregistry.c: (load_feature),
18131 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18132 * gst/registries/gstxmlregistry.c:
18133 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18134 * gst/schedulers/threadscheduler.c:
18135 * libs/gst/control/dparammanager.h:
18136 * tools/gst-inspect.c: (print_element_list),
18137 (print_plugin_features), (print_element_features):
18138 * tools/gst-xmlinspect.c: (print_element_list),
18139 (print_plugin_info), (main):
18140 Removed plugable schedulers.
18141 Removed Scheduler/Manager from elements.
18142 Removed gsttypes.h, rearranged includes.
18143 Removed dependency pad<->element, element<>pipeline, and
18144 various others, fix includes.
18145 implement gst_pad_get_parent() with gst_object_get_parent()
18146 Make GstTask sefcontained.
18147 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18149 Fix endless loop in iterator_fold_with_resync.
18152 2005-07-18 Wim Taymans <wim@fluendo.com>
18158 2005-07-18 Wim Taymans <wim@fluendo.com>
18161 No more cothreads.h
18163 2005-07-18 Wim Taymans <wim@fluendo.com>
18167 Let's remove these.
18169 2005-07-18 Wim Taymans <wim@fluendo.com>
18171 * docs/design/part-dynamic.txt:
18172 * docs/design/part-events.txt:
18173 * docs/design/part-seeking.txt:
18174 Some more docs in the works.
18176 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18177 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18178 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18179 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18180 (gst_base_transform_handle_buffer),
18181 (gst_base_transform_sink_activate_push),
18182 (gst_base_transform_src_activate_pull),
18183 (gst_base_transform_set_passthrough),
18184 (gst_base_transform_is_passthrough):
18187 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18190 * gst/gstevent.c: (gst_event_finalize):
18193 * gst/gstutils.c: (gst_element_unlink),
18194 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18195 (gst_pad_proxy_setcaps):
18197 Add _get_parent_element() to get a pads parent as an element.
18199 2005-07-18 Wim Taymans <wim@fluendo.com>
18201 * check/gst/gstbin.c: (GST_START_TEST):
18204 2005-07-18 Wim Taymans <wim@fluendo.com>
18206 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18207 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18208 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18209 (gst_base_sink_event), (gst_base_sink_do_sync),
18210 (gst_base_sink_chain), (gst_base_sink_loop),
18211 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18212 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18214 Fix logic for returning ASYNC when not prerolled.
18216 2005-07-18 Wim Taymans <wim@fluendo.com>
18218 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18219 Fix nasty refcount bug.
18221 2005-07-16 Philippe Khalaf <burger@speedy.org>
18223 * gst/elements/gstfdsrc.c:
18224 * gst/elements/gstfdsrc.h:
18225 * gst/elements/gstelements.c:
18226 * gst/elements/Makefile.am:
18227 Ported fdsrc to 0.9.
18229 2005-07-16 Wim Taymans <wim@fluendo.com>
18231 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18232 (gst_base_sink_do_sync):
18235 2005-07-16 Wim Taymans <wim@fluendo.com>
18237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18238 (gst_base_sink_event), (gst_base_sink_get_times),
18239 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18240 * gst/base/gstbasesink.h:
18241 Store and use discont values when syncing buffers as described
18244 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18245 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18246 (gst_base_src_activate_push):
18247 Push discont event when starting.
18249 * gst/elements/gstidentity.c: (gst_identity_transform):
18252 * gst/gstbin.c: (gst_bin_change_state):
18253 Small cleanups in base_time distribution.
18255 * gst/gstelement.c: (gst_element_set_base_time),
18256 (gst_element_get_base_time), (gst_element_change_state):
18257 * gst/gstelement.h:
18258 Added methods for the base_time of the element.
18261 * gst/gstpipeline.c: (gst_pipeline_send_event),
18262 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18263 (gst_pipeline_get_last_stream_time):
18264 * gst/gstpipeline.h:
18266 Handle seeking as described in design doc, remove stream_time
18268 Cleanups clock and stream_time selection code. Added accessors
18269 for the stream_time.
18272 2005-07-16 Andy Wingo <wingo@pobox.com>
18274 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18277 2005-07-16 Wim Taymans <wim@fluendo.com>
18279 * check/gst/gstbin.c: (GST_START_TEST):
18280 Make elements silent as the deep_notify refs the
18281 parent, which might make the test fail.
18283 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18284 Don't hold the lock for too long.
18286 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18288 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18289 Don't unref the caps we passed to gst_caps_make_writable() after
18290 passing them. gst_caps_make_writable() will do that for us.
18292 2005-07-15 Andy Wingo <wingo@pobox.com>
18294 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18297 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18298 own marshalling function for the handoff signal. Properly type the
18299 buffer as a buffer. Fixes some warnings. Should do a more general
18301 (gst_identity_class_init): Plug into the right marshaller.
18303 2005-07-15 Wim Taymans <wim@fluendo.com>
18305 * docs/design/part-TODO.txt:
18306 * docs/design/part-clocks.txt:
18307 * docs/design/part-element-sink.txt:
18308 * docs/design/part-events.txt:
18309 * docs/design/part-gstpipeline.txt:
18310 Updated docs, mostly DISCONT related.
18312 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
18314 * docs/pwg/building-pads.xml:
18315 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18317 2005-07-15 Andy Wingo <wingo@pobox.com>
18319 * tools/gst-typefind.c: Update, add copyright block.
18321 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18322 Normalize and truncate caps before fixation.
18325 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18326 discards all but the first structure from its argument.
18328 2005-07-15 Wim Taymans <wim@fluendo.com>
18330 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18331 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18332 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18333 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18334 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18335 (gst_base_transform_chain), (gst_base_transform_change_state),
18336 (gst_base_transform_set_passthrough),
18337 (gst_base_transform_is_passthrough):
18338 * gst/base/gstbasetransform.h:
18339 Make passthrough work using the bufferpools.
18340 Changed API a bit, subclasses have to write into a buffer
18341 provided by the base class.
18342 More debug info in nego functions.
18344 * gst/elements/gstidentity.c: (gst_identity_init),
18345 (gst_identity_transform):
18346 Port to new base class.
18348 2005-07-15 Wim Taymans <wim@fluendo.com>
18350 * gst/gstmessage.c: (gst_message_new_state_changed):
18351 * tools/gst-launch.c: (event_loop), (main):
18352 Totally dump messages in -launch with the -m option.
18353 Fix message name for State messages,
18355 2005-07-14 Wim Taymans <wim@fluendo.com>
18357 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18358 Post error messages on errors.
18360 2005-07-14 Wim Taymans <wim@fluendo.com>
18362 * gst/gstcaps.c: (gst_caps_do_simplify):
18366 Define error for stream stopped.
18368 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18369 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18370 Do proper return values.
18372 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18373 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18374 (gst_pad_get_range):
18375 Better return values.
18378 Reorganise return values, add macro to check for fatal errors.
18380 * gst/gstqueue.c: (gst_queue_chain):
18381 Return proper GstFlowReturn values,
18383 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
18385 * docs/gst/gstreamer-sections.txt:
18386 * docs/gst/gstreamer.types:
18387 * docs/gst/tmpl/gst.sgml:
18388 * docs/gst/tmpl/gstbasesink.sgml:
18389 * docs/gst/tmpl/gstbasesrc.sgml:
18390 * docs/gst/tmpl/gstbasetransform.sgml:
18391 * docs/gst/tmpl/gstbin.sgml:
18392 * docs/gst/tmpl/gstbuffer.sgml:
18393 * docs/gst/tmpl/gstcaps.sgml:
18394 * docs/gst/tmpl/gstclock.sgml:
18395 * docs/gst/tmpl/gstcompat.sgml:
18396 * docs/gst/tmpl/gstconfig.sgml:
18397 * docs/gst/tmpl/gstelement.sgml:
18398 * docs/gst/tmpl/gstelementdetails.sgml:
18399 * docs/gst/tmpl/gstelementfactory.sgml:
18400 * docs/gst/tmpl/gstenumtypes.sgml:
18401 * docs/gst/tmpl/gsterror.sgml:
18402 * docs/gst/tmpl/gstevent.sgml:
18403 * docs/gst/tmpl/gstfakesink.sgml:
18404 * docs/gst/tmpl/gstfakesrc.sgml:
18405 * docs/gst/tmpl/gstfilesink.sgml:
18406 * docs/gst/tmpl/gstfilesrc.sgml:
18407 * docs/gst/tmpl/gstfilter.sgml:
18408 * docs/gst/tmpl/gstformat.sgml:
18409 * docs/gst/tmpl/gstghostpad.sgml:
18410 * docs/gst/tmpl/gstimplementsinterface.sgml:
18411 * docs/gst/tmpl/gstindex.sgml:
18412 * docs/gst/tmpl/gstindexfactory.sgml:
18413 * docs/gst/tmpl/gstinfo.sgml:
18414 * docs/gst/tmpl/gstiterator.sgml:
18415 * docs/gst/tmpl/gstmacros.sgml:
18416 * docs/gst/tmpl/gstmemchunk.sgml:
18417 * docs/gst/tmpl/gstminiobject.sgml:
18418 * docs/gst/tmpl/gstobject.sgml:
18419 * docs/gst/tmpl/gstpad.sgml:
18420 * docs/gst/tmpl/gstpadtemplate.sgml:
18421 * docs/gst/tmpl/gstparse.sgml:
18422 * docs/gst/tmpl/gstpipeline.sgml:
18423 * docs/gst/tmpl/gstplugin.sgml:
18424 * docs/gst/tmpl/gstpluginfeature.sgml:
18425 * docs/gst/tmpl/gstquery.sgml:
18426 * docs/gst/tmpl/gstqueue.sgml:
18427 * docs/gst/tmpl/gstregistry.sgml:
18428 * docs/gst/tmpl/gstregistrypool.sgml:
18429 * docs/gst/tmpl/gstscheduler.sgml:
18430 * docs/gst/tmpl/gstschedulerfactory.sgml:
18431 * docs/gst/tmpl/gststructure.sgml:
18432 * docs/gst/tmpl/gstsystemclock.sgml:
18433 * docs/gst/tmpl/gsttaglist.sgml:
18434 * docs/gst/tmpl/gsttagsetter.sgml:
18435 * docs/gst/tmpl/gsttrace.sgml:
18436 * docs/gst/tmpl/gsttrashstack.sgml:
18437 * docs/gst/tmpl/gsttypefind.sgml:
18438 * docs/gst/tmpl/gsttypefindfactory.sgml:
18439 * docs/gst/tmpl/gsttypes.sgml:
18440 * docs/gst/tmpl/gsturihandler.sgml:
18441 * docs/gst/tmpl/gsturitype.sgml:
18442 * docs/gst/tmpl/gstutils.sgml:
18443 * docs/gst/tmpl/gstvalue.sgml:
18444 * docs/gst/tmpl/gstversion.sgml:
18445 * docs/gst/tmpl/gstxml.sgml:
18446 * docs/libs/tmpl/gstcontrol.sgml:
18447 * docs/libs/tmpl/gstdataprotocol.sgml:
18448 * docs/libs/tmpl/gstdparam.sgml:
18449 * docs/libs/tmpl/gstdplinint.sgml:
18450 * docs/libs/tmpl/gstdpman.sgml:
18451 * docs/libs/tmpl/gstdpsmooth.sgml:
18452 * docs/libs/tmpl/gstgetbits.sgml:
18453 * docs/libs/tmpl/gstunitconvert.sgml:
18454 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18455 (gst_push_src_base_init), (gst_push_src_class_init),
18456 (gst_push_src_init), (gst_push_src_create):
18457 * gst/base/gstpushsrc.h:
18458 * gst/elements/gstelements.c:
18459 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18460 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18461 (gst_fake_sink_init), (gst_fake_sink_set_property),
18462 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18463 (gst_fake_sink_event), (gst_fake_sink_preroll),
18464 (gst_fake_sink_render), (gst_fake_sink_change_state):
18465 * gst/elements/gstfakesink.h:
18466 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18467 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18468 (gst_fake_src_base_init), (gst_fake_src_class_init),
18469 (gst_fake_src_init), (gst_fake_src_event_handler),
18470 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18471 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18472 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18473 (gst_fake_src_create_buffer), (gst_fake_src_create),
18474 (gst_fake_src_start), (gst_fake_src_stop):
18475 * gst/elements/gstfakesrc.h:
18476 * gst/elements/gstfilesink.c: (_do_init),
18477 (gst_file_sink_base_init), (gst_file_sink_class_init),
18478 (gst_file_sink_init), (gst_file_sink_dispose),
18479 (gst_file_sink_set_location), (gst_file_sink_set_property),
18480 (gst_file_sink_get_property), (gst_file_sink_open_file),
18481 (gst_file_sink_close_file), (gst_file_sink_query),
18482 (gst_file_sink_event), (gst_file_sink_render),
18483 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18484 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18485 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18486 * gst/elements/gstfilesink.h:
18487 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18488 (gst_file_src_class_init), (gst_file_src_init),
18489 (gst_file_src_finalize), (gst_file_src_set_location),
18490 (gst_file_src_set_property), (gst_file_src_get_property),
18491 (gst_file_src_map_region), (gst_file_src_map_small_region),
18492 (gst_file_src_create_mmap), (gst_file_src_create_read),
18493 (gst_file_src_create), (gst_file_src_is_seekable),
18494 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18495 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18496 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18497 (gst_file_src_uri_handler_init):
18498 * gst/elements/gstfilesrc.h:
18499 more autistic cleanliness in functions/names/defines
18501 2005-07-13 Andy Wingo <wingo@pobox.com>
18503 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18504 source couldn't negotiate.
18506 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18510 * gst/gstutils.c (gst_element_link_pads_filtered): New old
18511 function. I am channeling Hades. Put your boots on suckers!!!
18513 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
18515 * testsuite/caps/Makefile.am:
18516 * testsuite/caps/value_compare.c:
18517 * testsuite/caps/value_intersect.c:
18518 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18519 move two testsuite apps over to the check dir
18521 2005-07-12 Wim Taymans <wim@fluendo.com>
18523 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18524 Added more debug info in the negotiate process.
18526 * gst/gstmessage.h:
18527 Prepare for segment playback.
18529 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18535 * tools/gst-launch.c: (main):
18536 NULL pipeline on errors.
18538 2005-07-12 Andy Wingo <wingo@pobox.com>
18540 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18541 not it comes from a malloc region. Make sure our copy gets freed.
18543 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18545 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18546 * check/gst/gstmessage.c: (GST_START_TEST):
18547 * check/gst/gststructure.c: (GST_START_TEST),
18548 (gst_structure_suite), (main):
18550 * gst/gstelement.c: (gst_element_message_full):
18551 clean up GError and debug string now that they get copied
18552 * gst/gstmessage.c: (gst_message_new_error),
18553 (gst_message_new_warning), (gst_message_parse_error),
18554 (gst_message_parse_warning):
18555 use GST_TYPE_G_ERROR for structure_new, and take copies of
18556 arguments, so that we don't mess up refcounting
18558 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18560 * check/Makefile.am:
18561 add per-test valgrind targets
18562 * check/gst-libs/gdp.c: (GST_START_TEST),
18563 (gst_data_protocol_suite), (main):
18566 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
18568 * check/Makefile.am:
18569 instate more valgrindable tests
18570 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18571 (GST_START_TEST), (fakesrc_suite):
18572 * check/gst/gstpad.c: (GST_START_TEST):
18573 * check/gst/gststructure.c: (GST_START_TEST):
18575 * docs/gst/tmpl/gstminiobject.sgml:
18576 * gst/gstpad.c: (gst_pad_finalize):
18577 fix the static mutex leak
18579 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18581 * check/Makefile.am:
18582 add two more tests for valgrinding
18583 * check/gst/gstvalue.c: (GST_START_TEST):
18584 test refcount of deserialized buffer, found a leak
18585 * docs/gst/gstreamer-docs.sgml:
18586 * docs/gst/gstreamer-sections.txt:
18587 * docs/gst/gstreamer.types:
18588 * docs/gst/tmpl/gstminiobject.sgml:
18589 add miniobject to docs
18590 * gst/gstminiobject.c:
18592 * gst/gstvalue.c: (gst_value_deserialize_buffer),
18593 (gst_string_unwrap):
18594 fix a hard-to-find invalid write for one of the tests
18595 fix a leak for deserialized buffers
18597 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18599 * docs/pwg/advanced-events.xml:
18600 * docs/pwg/advanced-request.xml:
18601 * docs/pwg/advanced-scheduling.xml:
18602 * docs/pwg/appendix-porting.xml:
18603 * docs/pwg/building-boiler.xml:
18604 * docs/pwg/intro-preface.xml:
18605 * docs/pwg/other-ntoone.xml:
18606 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
18607 of example code and explanation for pad activation, loop() and
18608 getrange() functions and a bit more. Remove old comments pointing
18610 * examples/pwg/Makefile.am:
18611 Add loop/getrange examples.
18613 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18616 check for valgrind binary + some fixes
18618 valgrind suppressions for the tests
18619 * check/Makefile.am:
18620 add a valgrind: target that valgrinds the unit tests
18621 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
18622 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18623 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18624 * check/gst/gstghostpad.c:
18626 * check/gst/gstdata.c:
18628 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
18629 (thread_unref), (gst_mini_object_suite), (main):
18631 * gst/gst.c: (gst_deinit):
18633 add a method to clean up.
18634 * gst/gstsystemclock.c: (gst_system_clock_dispose),
18635 (gst_system_clock_obtain):
18636 allow for disposing the system clock.
18637 * tools/gst-launch.c: (main):
18640 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
18642 * docs/gst/tmpl/gstbasesrc.sgml:
18643 * docs/gst/tmpl/gstfakesrc.sgml:
18644 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18645 (gst_base_src_init), (gst_base_src_set_property),
18646 (gst_base_src_get_property), (gst_base_src_get_range),
18647 (gst_base_src_start):
18648 * gst/base/gstbasesrc.h:
18649 add num-buffers property
18650 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18651 (gst_fakesrc_init), (gst_fakesrc_set_property),
18652 (gst_fakesrc_get_property), (gst_fakesrc_create),
18653 (gst_fakesrc_start):
18654 remove num-buffers property
18656 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18658 * docs/gst/gstreamer-sections.txt:
18659 * docs/gst/tmpl/gstbasesink.sgml:
18660 * docs/gst/tmpl/gstbasesrc.sgml:
18661 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18662 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18663 (gst_base_sink_finalize), (gst_base_sink_set_clock),
18664 (gst_base_sink_set_property), (gst_base_sink_get_property),
18665 (gst_base_sink_handle_object), (gst_base_sink_event),
18666 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18667 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
18668 (gst_base_sink_loop), (gst_base_sink_deactivate),
18669 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
18670 (gst_base_sink_change_state):
18671 * gst/base/gstbasesink.h:
18672 * gst/base/gstbasesrc.h:
18673 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
18674 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18675 (gst_filesink_init):
18676 more macro splitting
18678 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18680 * gst/gstelement.c: (gst_element_get_bus):
18682 * tools/gst-launch.c: (check_intr), (event_loop):
18685 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18687 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18690 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
18692 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18693 (gst_base_src_finalize):
18694 add finalize method and clean up properly
18695 * gst/gstpipeline.c: (gst_pipeline_dispose):
18698 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
18700 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
18702 add more things to check
18703 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18704 * gst/gstelement.c:
18707 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
18709 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18710 (GST_START_TEST), (fakesrc_suite):
18711 * check/gst-libs/gdp.c: (GST_START_TEST):
18712 * check/gst/gst.c: (GST_START_TEST):
18713 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18714 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18715 * check/gst/gstbus.c: (GST_START_TEST):
18716 * check/gst/gstcaps.c: (GST_START_TEST):
18717 * check/gst/gstdata.c: (GST_START_TEST):
18718 * check/gst/gstelement.c: (GST_START_TEST):
18719 * check/gst/gstghostpad.c: (GST_START_TEST):
18720 * check/gst/gstiterator.c: (GST_START_TEST):
18721 * check/gst/gstmessage.c: (GST_START_TEST):
18722 * check/gst/gstobject.c: (GST_START_TEST):
18723 * check/gst/gstpad.c: (GST_START_TEST):
18724 * check/gst/gststructure.c: (GST_START_TEST):
18725 * check/gst/gstsystemclock.c: (GST_START_TEST),
18726 (gst_systemclock_suite):
18727 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18728 * check/gst/gstvalue.c: (GST_START_TEST):
18729 * check/pipelines/cleanup.c: (GST_START_TEST):
18730 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18731 * check/states/sinks.c: (GST_START_TEST):
18732 * check/gstcheck.c: (gst_check_init):
18733 * check/gstcheck.h:
18734 add debugging category
18735 use GST_START_TEST now, so we add a debug line
18737 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
18739 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
18740 add test for state change message on a bin
18741 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
18743 * gst/gstbin.c: (gst_bin_init):
18744 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
18745 * gst/gstelement.c: (gst_element_post_message),
18746 (gst_element_set_state):
18747 * gst/gstelementfactory.c: (gst_element_factory_create):
18748 * gst/gstmessage.c: (gst_message_new):
18749 * gst/gstscheduler.c:
18750 various debugging additions and cleanups
18752 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18754 * check/Makefile.am:
18755 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
18757 adding tests for elements
18758 * gst/gstelement.c: (gst_element_dispose):
18760 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18762 * gst/registries/gstlibxmlregistry.c: (load_feature):
18763 plug more leaks. A simple gst_init() now is leakfree, yay.
18765 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18767 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
18768 (gst_xml_registry_load):
18769 plug another memleak
18771 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18774 use GST_SET_ERROR_CFLAGS
18775 * docs/faq/cvs.xml:
18776 change to ERROR_CFLAGS
18778 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
18781 make GST_ERROR_CFLAGS overridable and re-enable Werror
18782 * docs/faq/cvs.xml:
18783 add a note about error CFLAGS
18784 * docs/gst/tmpl/gstfakesrc.sgml:
18785 * gst/elements/gstfakesrc.c:
18786 comment out some unused code
18787 * gst/gst.c: (split_and_iterate):
18788 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
18792 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
18794 * common/Makefile.am:
18795 * common/gtk-doc.mak:
18796 * docs/gst/Makefile.am:
18797 factor out gtk-doc.mak
18799 2005-07-07 Wim Taymans <wim@fluendo.com>
18801 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
18802 (gst_thread_scheduler_dispose):
18803 Unlock the STREAM_LOCK completely.
18805 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
18807 * check/Makefile.am:
18808 * check/elements/.cvsignore:
18809 * check/elements/gstfakesrc.c: (chain_func), (event_func),
18810 (START_TEST), (fakesrc_suite), (main):
18811 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18812 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18813 (gst_fakesrc_create), (gst_fakesrc_start):
18814 * gst/elements/gstfakesrc.h:
18815 adding a first element test
18817 2005-07-07 Andy Wingo <wingo@pobox.com>
18819 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
18822 2005-07-07 Wim Taymans <wim@fluendo.com>
18828 2005-07-07 Wim Taymans <wim@fluendo.com>
18830 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18831 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
18832 Allow subclasses to implement their own negotiation.
18834 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
18836 * docs/design/part-gstbin.txt:
18837 * docs/design/part-gstpipeline.txt:
18838 Update design notes to reflect the movement of
18839 responsibility for bus handling from GstPipeline to
18842 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
18845 Remove unnecessary queue2/3/4 examples.
18847 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
18849 * examples/Makefile.am:
18850 * examples/helloworld/helloworld.c: (event_loop), (main):
18851 * examples/queue/queue.c: (event_loop), (main):
18852 * examples/queue2/queue2.c: (main):
18853 Update a couple of the examples to work again.
18855 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18856 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
18857 Spelling corrections and extra debug.
18859 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
18860 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
18861 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
18863 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18864 (gst_pipeline_change_state):
18865 * gst/gstpipeline.h:
18866 Move the bus handler for children to the GstBin, and create a
18867 separate bus for receiving messages from children to the one the
18868 bus sends 'upwards' on.
18870 2005-07-06 Wim Taymans <wim@fluendo.com>
18873 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18874 (gst_base_sink_handle_object), (gst_base_sink_loop),
18875 (gst_base_sink_change_state):
18876 * gst/base/gstbasesink.h:
18877 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18878 (gst_base_src_init), (gst_base_src_setcaps),
18879 (gst_base_src_getcaps), (gst_base_src_loop),
18880 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
18881 (gst_base_src_start), (gst_base_src_change_state):
18882 * gst/base/gstbasesrc.h:
18883 Make basesrc negotiate.
18884 Handle the case where preroll fails in basesink.
18887 2005-07-06 Wim Taymans <wim@fluendo.com>
18889 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
18890 Implement the fixate function.
18891 Clean up acceptcaps.
18893 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18895 * docs/pwg/building-filterfactory.xml:
18896 * docs/pwg/pwg.xml:
18897 Remove never-written filter-factory chapter; I'll add the various
18898 base classes to part 4 ("other element types") later on.
18900 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18902 * docs/pwg/advanced-negotiation.xml:
18903 * docs/pwg/building-boiler.xml:
18904 * docs/pwg/building-pads.xml:
18905 * docs/pwg/pwg.xml:
18906 * examples/pwg/Makefile.am:
18907 Add a chapter on caps negotiation, simplify the original code
18908 samples a bit w.r.t. caps negotiation, add link to the advanced
18909 section. Add a bunch of examples showing different use cases of
18910 different types of caps negotiation. Upstream renegotiation isn't
18911 fully documented yet since nobody knows how that works.
18913 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
18915 * check/gst/gstpad.c:
18916 * check/gstcheck.c:
18917 * gst/gstpad.c: (gst_pad_get_internal_links_default):
18918 if pad has no parent, return NULL as list of internal links
18920 2005-07-05 Andy Wingo <wingo@pobox.com>
18922 * gst/elements/gstfilesrc.c:
18923 * gst/elements/gstfakesrc.c:
18924 * gst/base/gstpushsrc.c:
18925 * gst/base/gstbasesrc.h:
18926 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
18928 2005-07-05 Stefan Kost <ensonic@users.sf.net>
18931 better report generation target (lcov needs a patch)
18933 2005-07-05 Andy Wingo <wingo@pobox.com>
18935 * gst/elements, testsuite: Null if we got it...
18937 2005-07-05 Wim Taymans <wim@fluendo.com>
18940 * libs/gst/dataprotocol/Makefile.am:
18941 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
18942 * libs/gst/dataprotocol/dataprotocol.h:
18943 * pkgconfig/Makefile.am:
18944 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
18945 * pkgconfig/gstreamer-dataprotocol.pc.in:
18946 Ported dataprotol to 0.9.
18947 Added pkgconfig files.
18949 2005-07-05 Andy Wingo <wingo@pobox.com>
18951 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
18952 Default to returning TRUE for the case when tranform_caps returns
18953 a fixed caps, like for identity or volume.
18955 * check/gst/gstbus.c (pound_bus_with_messages):
18956 * check/gst/gstmessage.c (START_TEST):
18957 * check/pipelines/simple_launch_lines.c (got_handoff): Application
18958 message API change.
18960 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
18961 logic weaks here: always run transform_caps, trying passthrough
18962 operation only if the original caps intersects with the transform.
18964 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
18965 source and sink caps.
18967 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
18968 Intersect the peer caps with the pad template before going into
18970 (gst_base_transform_transform_caps): More debugging.
18972 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
18975 2005-07-04 Edward Hervey <edward@fluendo.com>
18979 (gst_pad_add_*_probe): now returns the signal id for better wrapping
18982 2005-07-04 Andy Wingo <wingo@pobox.com>
18984 * check/gst/gstpad.c: Only set explicit caps on pads.
18986 2005-07-01 Andy Wingo <wingo@pobox.com>
18988 * tests/network-clock.scm: Commentary update.
18990 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
18991 Didn't really make sense, not implementable with basetransform,
18993 (gst_identity_transform): Unref inbuf via make_writable. Feeble
18994 attempt at implementing the sync property, needs an unlock method.
18996 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
18997 New func, by default returns the same caps (the identity
18999 (gst_base_transform_getcaps): Uses transform_caps to return
19000 something sensible.
19001 (gst_base_transform_setcaps): Complicated logic to get caps on
19002 both pads, even if they are different, and to call set_caps once
19003 for every time both pads get their caps set.
19004 (gst_base_transform_handle_buffer): Give the ref to the transform
19005 function. Allows in-place modification of the buffer.
19007 * gst/base/gstbasetransform.h (transform_caps): New class method.
19008 Given caps on one side, what can I do on the other.
19009 (set_caps): Take two caps, one for each side of the element.
19012 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19013 caps in place. This is safe because we can check the mutability of
19014 the caps, and a good idea because fixate functions are just called
19015 as a matter of last resort. (Not actually implemented.)
19016 (gst_pad_set_caps): If the caps we're setting is actually the same
19017 as the existing pad caps, just update the pointer without calling
19018 setcaps. Assert that caps is either NULL or fixed, as per the
19021 * gst/gstghostpad.c: Update for fixate changes.
19023 2005-07-02 Andy Wingo <wingo@pobox.com>
19026 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19027 two refcounts makes it immutable, which is enough. Doc more.
19029 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19031 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19032 Put the mini_object into GValue as a mini_object,
19033 not a gpointer, since that's how we declared
19036 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19038 * examples/pwg/Makefile.am:
19039 Fix buildbot again.
19041 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19043 * docs/pwg/building-testapp.xml:
19045 * examples/pwg/Makefile.am:
19048 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19051 * examples/Makefile.am:
19052 * examples/pwg/Makefile.am:
19053 * examples/pwg/extract.pl:
19054 Enable building the PWG examples.
19055 * docs/pwg/advanced-interfaces.xml:
19056 Add URI interface stub.
19057 * docs/pwg/advanced-types.xml:
19058 * docs/pwg/other-autoplugger.xml:
19059 * docs/pwg/appendix-porting.xml:
19060 * docs/pwg/pwg.xml:
19061 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19062 * docs/pwg/building-boiler.xml:
19063 * docs/pwg/building-chainfn.xml:
19064 * docs/pwg/building-pads.xml:
19065 * docs/pwg/building-props.xml:
19066 * docs/pwg/building-state.xml:
19067 * docs/pwg/building-testapp.xml:
19068 Update the building-*.xml parts for 0.9 changes. All examples
19069 code blocks compile in examples/pwg/*.
19071 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19073 * docs/manual/advanced-autoplugging.xml:
19074 * docs/manual/appendix-checklist.xml:
19075 * docs/manual/appendix-integration.xml:
19076 * docs/manual/highlevel-components.xml:
19077 Fix playbin/decodebin examples, update docs a bit, mention bus
19078 instead of signals in various places, mention kmplayer and
19079 kaffeine since they have a working GStreamer backend in the KDE
19082 2005-06-30 Wim Taymans <wim@fluendo.com>
19085 * docs/design/draft-ghostpads.txt:
19086 * docs/design/draft-push-pull.txt:
19087 * docs/design/draft-query.txt:
19088 * docs/design/part-TODO.txt:
19089 * docs/design/part-query.txt:
19090 Added CHANGES-0.9 doc, updated status of other docs.
19095 2005-06-30 Wim Taymans <wim@fluendo.com>
19097 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19098 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19099 (gst_base_sink_change_state):
19100 * gst/base/gstbasesink.h:
19101 Some tweaks, only EOS and a buffer complete a preroll.
19103 2005-06-30 Andy Wingo <wingo@pobox.com>
19105 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19106 activate_push down to the internal pad as well.
19108 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19110 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19112 * gst/gsttaginterface.c:
19113 Some documentation fixes (#307394 and #307397).
19115 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19117 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19119 * gst/gstvalue.c: (gst_value_intersect_list):
19120 Fix memleak (#309125).
19122 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19124 * docs/manual/advanced-dataaccess.xml:
19125 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19126 * docs/manual/basics-pads.xml:
19127 Add reference for filtered caps to above chapter.
19129 2005-06-30 Wim Taymans <wim@fluendo.com>
19131 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19132 (gst_bin_change_state):
19134 Lame attempt at making the state change function a bit
19137 2005-06-30 Wim Taymans <wim@fluendo.com>
19139 * docs/design/part-clocks.txt:
19140 * docs/design/part-element-sink.txt:
19141 * docs/design/part-events.txt:
19142 * docs/design/part-preroll.txt:
19143 * docs/design/part-states.txt:
19144 Some more tweeks and additions to the docs.
19146 2005-06-30 Wim Taymans <wim@fluendo.com>
19148 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19149 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19150 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19151 (gst_pad_check_pull_range), (gst_pad_get_range),
19152 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19154 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19155 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19156 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19157 (gst_pad_remove_buffer_probe):
19158 Removed atomic operations, use existing LOCK.
19159 Move exception handling out of main code path.
19161 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19163 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19164 (silly_return_true_function), (gst_pad_class_init),
19165 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19166 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19167 (gst_pad_send_event):
19168 Fix accumulator, add default value by using _emitv() instead
19169 of _emit() for signal emission.
19171 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19173 * docs/manual/advanced-dataaccess.xml:
19174 * examples/manual/Makefile.am:
19176 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19179 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19181 * gst/elements/gstfilesink.c: (gst_filesink_render):
19182 Simplify code so that we don't have to handle short
19183 writes and return GST_FLOW_ERROR if an error occured.
19185 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19187 * docs/gst/gstreamer-docs.sgml:
19188 Remove probes more.
19190 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19192 * docs/gst/gstreamer-sections.txt:
19193 * docs/gst/tmpl/gstpad.sgml:
19194 * docs/gst/tmpl/gstprobe.sgml:
19196 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19197 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19198 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19199 (gst_pad_push_event), (gst_pad_send_event):
19201 * gst/gstutils.c: (gst_pad_add_data_probe),
19202 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19203 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19204 (gst_pad_remove_buffer_probe):
19206 Remove old probes, add new g-signal-based probes and some utility
19209 2005-06-29 Edward Hervey <edward@fluendo.com>
19211 * gst/gstelementfactory.c:
19214 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19215 the definition to the header file.
19217 2005-06-29 Andy Wingo <wingo@pobox.com>
19219 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19220 plugins from the source directory.
19222 2005-06-29 Wim Taymans <wim@fluendo.com>
19224 * docs/gst/tmpl/gstbuffer.sgml:
19225 * docs/gst/tmpl/gstclock.sgml:
19226 Some fixings for blantently wrong text.
19228 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19230 * check/Makefile.am:
19231 * gst/gst.c: (add_path_func), (init_pre):
19232 * gst/gstregistry.c: (gst_registry_add_path):
19233 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19234 only scan the GST_PLUGIN_PATH locations, and not add
19237 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19239 * docs/gst/gstreamer-sections.txt:
19240 * docs/gst/tmpl/gstbasesrc.sgml:
19241 * gst/gstelement.c:
19242 * gst/gstelement.h:
19247 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19249 * docs/manual/advanced-autoplugging.xml:
19250 Fix autoplugging example.
19252 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19254 * docs/manual/advanced-autoplugging.xml:
19255 * docs/manual/mime-world.fig:
19256 Try to get autoplugging working, fix type detection. Fix text
19257 in hello-world image.
19259 2005-06-29 Wim Taymans <wim@fluendo.com>
19261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19262 (gst_base_sink_change_state):
19266 map SIGNAL and BROADCAST to the right function.
19269 Remove redundant braces.
19271 * gst/gstpad.c: (gst_pad_set_caps):
19272 Don't call setcaps function when reseting caps to NULL.
19274 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19275 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19276 (gst_system_clock_id_unschedule):
19277 Use BROADCAST as this is what we do.
19279 2005-06-29 Wim Taymans <wim@fluendo.com>
19281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19282 We are actually prerolling before commiting the state
19285 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19287 * docs/manual/advanced-clocks.xml:
19288 * docs/manual/advanced-interfaces.xml:
19289 * docs/manual/advanced-metadata.xml:
19290 * docs/manual/advanced-position.xml:
19291 * docs/manual/advanced-schedulers.xml:
19292 * docs/manual/advanced-threads.xml:
19293 * docs/manual/appendix-porting.xml:
19294 * docs/manual/basics-bins.xml:
19295 * docs/manual/basics-bus.xml:
19296 * docs/manual/basics-elements.xml:
19297 * docs/manual/basics-helloworld.xml:
19298 * docs/manual/basics-pads.xml:
19299 * docs/manual/highlevel-components.xml:
19300 * docs/manual/manual.xml:
19301 * docs/manual/thread.fig:
19302 Update (until threads/scheduling) Application Development Manual;
19303 remove GstThread, add GstBus, add simple porting checklist, add
19304 documentation for tag writing, clocks, make all examples until this
19305 part compile and run.
19306 * examples/manual/Makefile.am:
19307 Update from changes to Application Development Manual; add bus
19308 example, remove thread example.
19310 2005-06-28 Wim Taymans <wim@fluendo.com>
19312 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19313 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19314 (gst_bus_source_dispatch):
19315 Add debugging messages.
19316 Make internal methods static.
19317 Handle the case where the bus is flushed in the handler.
19319 * gst/gstelement.c: (gst_element_get_bus):
19320 Fix refcount in _get_bus();
19322 * gst/gstpipeline.c: (gst_pipeline_change_state),
19323 (gst_pipeline_get_clock_func):
19324 Clock refcounting fixes.
19325 Handle the case where preroll timed out more gracefully.
19327 * gst/gstsystemclock.c: (gst_system_clock_dispose):
19328 Clean up the internal thread in dispose. This is needed
19329 for subclasses that actually get disposed.
19331 * gst/schedulers/threadscheduler.c:
19332 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19333 (gst_thread_scheduler_dispose):
19334 Free thread pool in dispose.
19336 2005-06-28 Andy Wingo <wingo@pobox.com>
19338 * tests/network-clock-utils.scm (debug, print-event): New utils.
19340 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19341 (*packet-loss*): Unified loss probability.
19342 (network-time): Report out-of-band events.
19344 * tests/plot-data: Add support for out-of-band events. Hack it
19345 into this script instead of passing it down the pipe; should fix
19348 2005-06-28 Wim Taymans <wim@fluendo.com>
19350 * docs/gst/gstreamer.types:
19351 * docs/gst/tmpl/gstbasesrc.sgml:
19352 * docs/gst/tmpl/gstpad.sgml:
19355 2005-06-28 Wim Taymans <wim@fluendo.com>
19357 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19358 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19359 (gst_proxy_pad_do_fixatecaps):
19360 Correctly proxy the check_pull_range function.
19362 2005-06-28 Andy Wingo <wingo@pobox.com>
19364 * tests/network-clock.scm: Removed need for slib.
19366 2005-06-28 Wim Taymans <wim@fluendo.com>
19368 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19369 (gst_basesink_preroll_queue_flush):
19370 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19371 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19372 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19373 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19374 (gst_proxy_pad_set_property):
19377 * gst/gstqueue.c: (gst_queue_init):
19378 The deprecated pad loop function is removed now.
19380 2005-06-28 Andy Wingo <wingo@pobox.com>
19382 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19383 New parameters, simulate network packet loss.
19385 * tests/network-clock-utils.scm: Initialize the RNG.
19387 2005-06-28 Wim Taymans <wim@fluendo.com>
19389 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19390 (gst_basesink_event), (gst_basesink_deactivate):
19391 Flushing the preroll queue always needs to unlock the waiters.
19393 2005-06-28 Edward Hervey <edward@fluendo.com>
19395 * gst/gstpipeline.c: (gst_pipeline_send_event):
19396 Wheen a seek was successful on a pipeline, set the stream_time to the
19397 seek offset in order to have a synchronized stream_time.
19399 2005-06-28 Wim Taymans <wim@fluendo.com>
19401 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19402 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19403 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19404 (gst_proxy_pad_do_fixatecaps):
19405 Call wrapper function instead of just calling the function
19406 pointers. This takes care of any locking and whatmore.
19408 2005-06-28 Wim Taymans <wim@fluendo.com>
19410 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19411 (gst_pad_pull_range):
19413 CONNECTED -> LINKED.
19415 2005-06-28 Andy Wingo <wingo@pobox.com>
19417 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19418 source-munging commit!!!
19420 * gst/gstobject.c (gst_object_unref, gst_object_ref)
19421 (gst_object_sink): Take gpointer arguments, not GstObject --
19422 avoids casts. Like GLib.
19424 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19427 2005-06-27 Andy Wingo <wingo@pobox.com>
19429 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19432 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19433 returns a sorted copy of the trace list.
19434 (gst_alloc_trace_print_live): New API, only prints traces with
19435 live objects. Sort the list.
19436 (gst_alloc_trace_print_all): Sort the list.
19437 (gst_alloc_trace_print): Align columns.
19439 * gst/elements/gstttypefindelement.c:
19440 * gst/elements/gsttee.c:
19441 * gst/base/gstbasesrc.c:
19442 * gst/base/gstbasesink.c:
19443 * gst/base/gstbasetransform.c:
19444 * gst/gstqueue.c: Adapt for pad activation changes.
19446 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19448 (gst_pipeline_dispose): Drop ref on sched.
19450 * gst/gstpad.c (gst_pad_init): Set the default activate func.
19451 (gst_pad_activate_default): Push mode by default.
19452 (pre_activate_switch, post_activate_switch): New stubs, things to
19453 do before and after switching activation modes on pads.
19454 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19455 the pad's activate function to choose which mode to activate.
19456 Shortcut on deactivation and call the right function directly.
19457 (gst_pad_activate_pull): New API, (de)activates a pad in pull
19459 (gst_pad_activate_push): New API, same for push mode.
19460 (gst_pad_set_activate_function)
19461 (gst_pad_set_activatepull_function)
19462 (gst_pad_set_activatepush_function): Setters for new API.
19464 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19465 Trace all miniobjects.
19466 (gst_mini_object_make_writable): Unref the arg if we copy, like
19467 gst_caps_make_writable.
19469 * gst/gstmessage.c (_gst_message_initialize): No trace init.
19471 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
19472 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19473 Adapt for new pad API.
19475 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19477 * gst/gstelement.h:
19478 * gst/gstelement.c (gst_element_iterate_src_pads)
19479 (gst_element_iterate_sink_pads): New API functions.
19481 * gst/gstelement.c (iterator_fold_with_resync): New utility,
19482 should fold into gstiterator.c in some form.
19483 (gst_element_pads_activate): Simplified via use of fold and
19484 delegation of decisions to gstpad->activate.
19486 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19489 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19490 class once in init, like gstmessage. Didn't run into this issue
19491 but it seems correct. Don't initialize a trace, gstminiobject does
19494 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19495 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19497 (assert_live_count): New util function, uses alloc traces to check
19500 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19501 To be modified when unlink drops the internal pad.
19503 2005-06-27 Wim Taymans <wim@fluendo.com>
19505 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19506 (gst_bin_change_state):
19507 Cleanup the get_state() function a little, make sure it
19508 iterates the same set of elements.
19509 Added stub iterate_state_order().
19511 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
19513 * docs/gst/gstreamer-docs.sgml:
19514 * docs/gst/gstreamer-sections.txt:
19515 * docs/gst/gstreamer.types:
19516 * docs/gst/tmpl/gstbasesink.sgml:
19517 * docs/gst/tmpl/gstbasesrc.sgml:
19518 * docs/gst/tmpl/gstbasetransform.sgml:
19519 * docs/gst/tmpl/gstelement.sgml:
19520 * docs/gst/tmpl/gstiterator.sgml:
19521 * gst/base/gstbasesrc.c:
19522 * gst/base/gstbasesrc.h:
19523 * gst/base/gstbasetransform.h:
19524 * gst/gstelement.c:
19525 * gst/gstiterator.h:
19526 adding basetransform and iterator docs
19528 2005-06-27 Andy Wingo <wingo@pobox.com>
19530 * docs/design/part-activation.txt: Notes on how activation should
19531 work -- not quite implemented yet.
19533 2005-06-25 Wim Taymans <wim@fluendo.com>
19535 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19536 At least get the chain function correct, needs more
19539 2005-06-25 Wim Taymans <wim@fluendo.com>
19541 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19542 (gst_basesink_handle_object), (gst_basesink_event),
19543 (gst_basesink_do_sync), (gst_basesink_handle_event),
19544 (gst_basesink_change_state):
19546 Right, two problems here: ghostpads don't take locks and
19547 glib _rec_mutex_lock_full() with depth==0 still locks.
19548 Catch illegal locking and g_warn them.
19550 2005-06-25 Wim Taymans <wim@fluendo.com>
19552 * check/states/sinks.c: (START_TEST), (gst_object_suite):
19553 Have to check for completion now...
19555 2005-06-25 Wim Taymans <wim@fluendo.com>
19557 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19558 (gst_basesink_handle_object), (gst_basesink_event),
19559 (gst_basesink_do_sync), (gst_basesink_handle_event),
19560 (gst_basesink_change_state):
19562 Unlock STREAM_LOCK whatever the recursion was.
19564 2005-06-25 Wim Taymans <wim@fluendo.com>
19566 * gst/base/gstbasesink.c: (gst_basesink_set_property),
19567 (gst_basesink_preroll_queue_empty),
19568 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
19569 (gst_basesink_event), (gst_basesink_do_sync),
19570 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
19571 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
19572 (gst_basesink_change_state):
19573 Reworked the base sink, handle event and buffer serialisation
19574 correctly and removed possible deadlock.
19575 Handle EOS correctly.
19577 2005-06-25 Wim Taymans <wim@fluendo.com>
19579 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
19580 (gst_pipeline_change_state):
19581 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19582 Allow elements to post EOS in the state change function.
19583 Fix up -launch, make it exit the poll loop when the
19584 pipeline actually changed state.
19585 Fix up warning parsing in -launch.
19587 2005-06-25 Wim Taymans <wim@fluendo.com>
19589 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
19590 (gst_tee_sink_activate):
19591 Core takes STREAM_LOCK for us now.
19593 2005-06-25 Wim Taymans <wim@fluendo.com>
19595 * gst/gstelement.c: (gst_element_get_state_func),
19596 (gst_element_set_state):
19597 * gst/gstelement.h:
19598 * gst/gstmessage.c: (gst_message_parse_error),
19599 (gst_message_parse_warning):
19600 Keep track of current target state while performing a state
19601 change so that subclasses can do something interesting.
19602 Fix parsing of warning/error messages when GError is NULL.
19604 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
19606 * docs/gst/Makefile.am:
19607 * docs/gst/gstreamer-docs.sgml:
19608 * docs/gst/gstreamer-sections.txt:
19609 * docs/gst/gstreamer.types:
19610 * docs/gst/tmpl/gstbasesink.sgml:
19611 * docs/gst/tmpl/gstbasesrc.sgml:
19612 * docs/gst/tmpl/gstbin.sgml:
19613 * docs/gst/tmpl/gstcompat.sgml:
19614 * docs/gst/tmpl/gstfakesink.sgml:
19615 * docs/gst/tmpl/gstfakesrc.sgml:
19616 * docs/gst/tmpl/gstfilesink.sgml:
19617 * docs/gst/tmpl/gstfilesrc.sgml:
19618 * docs/gst/tmpl/gstindex.sgml:
19619 * docs/manual/appendix-quotes.xml:
19620 * gst/base/gstbasesrc.h:
19621 * gst/elements/gstfakesrc.h:
19622 * gst/gstmessage.h:
19623 start pulling in base classes and elements in our docs
19625 2005-06-24 Stefan Kost <ensonic@users.sf.net>
19627 * docs/gst/Makefile.am:
19628 * docs/libs/Makefile.am:
19629 fixed make distcheck with gtk-doc 1.3
19631 2005-06-23 Wim Taymans <wim@fluendo.com>
19633 * gst/gstelement.c: (gst_element_get_state_func),
19634 (gst_element_set_state), (gst_element_change_state):
19635 When the state did not change, also report NO_PREROLL
19638 2005-06-23 Wim Taymans <wim@fluendo.com>
19640 * gst/gstpad.c: (gst_pad_event_default):
19641 * gst/gstqueue.c: (gst_queue_loop):
19642 No unsafe task pausing please.
19644 2005-06-23 Wim Taymans <wim@fluendo.com>
19646 * gst/schedulers/threadscheduler.c:
19647 (gst_thread_scheduler_task_start),
19648 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
19649 Ref the task before pushing it on the threadpool. This
19650 makes sure that we have a ref when the threadfunction is
19653 2005-06-23 Andy Wingo <wingo@pobox.com>
19655 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
19656 offset is greater than the file's size.
19658 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
19659 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
19660 * gst/gstobject.c (gst_object_class_init): Make the class lock
19661 recursive. Wim won't let me drop deep_notify. Decodebin works
19662 again, whoopdy doo.
19664 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
19665 internal pad, and hacks accordingly. Doesn't do it on the target
19666 pad because we change its caps. Probably catches all cases of
19668 (gst_ghost_pad_set_property): Connect to notify::caps as
19671 * tests/network-clock.scm (plot-simulation): Pipe data to the
19672 elite python skript.
19674 * tests/network-clock-utils.scm (define-parameter): New macro,
19675 defines a parameter that can be set via the command line.
19676 (set-parameter!, parse-parameter-arguments): Command line args
19679 * tests/plot-data: Simple matplotlib-based plotter, takes input on
19682 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
19684 * gst/elements/gsttypefindelement.c:
19685 (gst_type_find_element_handle_event):
19686 Don't restart typefinding on a discont.
19687 * gst/gstelement.c: (gst_element_set_state):
19688 Debug spelling fix.
19689 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
19690 Allow changing mode of an active pad.
19691 Debug output fixes.
19692 * gst/registries/gstlibxmlregistry.c: (load_feature):
19693 Don't cast a static pad template to a normal pad template.
19695 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
19697 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
19698 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19699 remove gst_strtoll completely, since it didn't actually do
19700 anything more than what g_ascii_strtoull already does.
19701 check for range errors when deserializing
19702 do a cast for the unsigned cases; but further fixing needs
19703 a decision on what the interpretation of "(int)" and
19704 deserialization should be for values that fall outside the
19705 type's boundaries (ie, refuse, or interpret as casting)
19707 2005-06-23 Wim Taymans <wim@fluendo.com>
19709 * check/Makefile.am:
19710 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
19711 * docs/design/part-live-source.txt:
19712 * docs/design/part-states.txt:
19713 * gst/base/gstbasesrc.c: (gst_basesrc_init),
19714 (gst_basesrc_set_live), (gst_basesrc_is_live),
19715 (gst_basesrc_get_range), (gst_basesrc_activate),
19716 (gst_basesrc_change_state):
19717 * gst/base/gstbasesrc.h:
19718 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19719 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19720 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
19721 * gst/gstelement.c: (gst_element_get_state_func),
19722 (gst_element_set_state):
19723 * gst/gstelement.h:
19725 * tools/gst-launch.c: (event_loop), (main):
19726 Added support for live sources and other elements that
19728 Updated design docs, added live-source design doc.
19729 Implemented live source functionality in basesrc
19730 Fix error condition in _bin_get_state()
19731 Implement live source handling in -launch.
19732 Added check for live sources.
19733 Fixed case in GstBin where elements were changed state
19737 2005-06-23 Andy Wingo <wingo@pobox.com>
19739 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
19740 borken refcounting.
19742 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
19743 gst_caps_replace takes care of this for us.
19745 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
19746 gst_pad_set_caps on the target, not just its setcaps() function.
19748 * tests/network-clock.scm:
19749 * tests/network-clock-utils.scm: A network clock simulator.
19750 Something of an algorithmic testbed before doing something in C.
19752 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
19754 * check/Makefile.am:
19755 * check/gst/capslist.h:
19756 copy over from 0.8, and add two with bitmasks specified with
19758 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
19759 add test to parse everything from capslist.h
19760 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
19762 add test for structure deserialization
19763 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
19764 add tests for deserialization of strings to int types
19765 * gst/gststructure.c: (gst_structure_nth_field_name):
19766 * gst/gststructure.h:
19767 add a way to get the name of a field referenced by index
19768 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19769 instead of checking if the resulting long long lies between
19770 min and max, we check if the long long would fit into
19771 a number of bytes for the final type.
19772 This fixes cases where a string represents 2^32 - 1, which
19773 when cast to int would be the (valid) -1, but is bigger than
19776 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
19778 * gst/parse/grammar.y:
19779 add a log line for type deserialization
19781 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
19783 * check/gst/gstvalue.c: (START_TEST):
19784 * gst/gstvalue.c: (gst_value_deserialize):
19785 return long long, not int, so gint64 deserialization actually
19786 works. Is there any flag that makes the compiler check this ?
19789 2005-06-22 Wim Taymans <wim@fluendo.com>
19792 Added convenience macros for setting buffers in GValue.
19794 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
19796 * check/gst/.cvsignore:
19797 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
19798 add a test deserializing int64, and comment part out because
19801 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
19803 * check/Makefile.am:
19804 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
19805 * testsuite/Makefile.am:
19806 * testsuite/caps/Makefile.am:
19807 * testsuite/caps/value_serialize.c:
19808 * testsuite/test_gst_init.c:
19809 move a value_serialize test over
19811 2005-06-20 Wim Taymans <wim@fluendo.com>
19816 * gst/gstvalue.c: (gst_value_compare_buffer),
19817 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
19818 (gst_value_compare_flags), (gst_value_serialize_flags),
19819 (gst_value_deserialize_flags), (_gst_value_initialize):
19820 Fix serialisation of buffers, they are not boxed types anymore
19822 2005-06-20 Wim Taymans <wim@fluendo.com>
19824 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
19825 Testcase to show error in buffer-on-caps serialisation.
19827 2005-06-20 Andy Wingo <wingo@pobox.com>
19829 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
19830 will be adding to later.
19832 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
19833 if its socks fill with rocks.
19834 (gst_system_clock_obtain): Set the name on object construction.
19835 Avoid double-checked locking.
19837 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
19839 * gst/gsturi.c: (gst_element_make_from_uri):
19840 Fix potential endless loop.
19842 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
19844 * check/Makefile.am:
19846 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
19848 move over from testsuite dir and clean up
19851 * testsuite/Makefile.am:
19852 * testsuite/tags/.cvsignore:
19853 * testsuite/tags/Makefile.am:
19854 * testsuite/tags/merge.c:
19855 remove testsuite/tags
19857 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
19859 * docs/gst/gstreamer-sections.txt:
19860 * docs/gst/tmpl/gstenumtypes.sgml:
19861 * win32/gstenumtypes.c:
19862 clean up documentation build a little
19864 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
19866 * check/gstcheck.h:
19867 add macros for checking refcounts on objects and caps
19868 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
19869 add some more unit tests
19870 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
19871 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
19872 fix leaked refcounts (I hope :)) so unittest works
19876 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
19878 * configure.ac: back to HEAD
19880 === release 0.9.1 ===
19882 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
19888 2005-06-17 Andy Wingo <wingo@pobox.com>
19890 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
19891 assert; it's always possible that the pad gets deactivated in
19892 between the checks in gstpad.c and the implementation. Rely on
19893 finish_preroll() to return a FLUSHING or similar instead of on the
19896 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
19897 clock and post an EOS message if we come out of finish_preroll in
19900 2005-06-16 David Schleef <ds@schleef.org>
19902 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19903 (gst_capsfilter_set_property): Allow NULL as possible value
19904 for filter_caps property, indicating GST_CAPS_ANY.
19906 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
19908 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
19910 * gst/schedulers/Makefile.am:
19912 * gstreamer.spec.in:
19915 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
19917 * gstreamer.spec.in:
19920 2005-06-08 Andy Wingo <wingo@pobox.com>
19922 * gst/gstutils.c: RPAD fixes all around.
19923 (gst_element_link_pads): Refcounting fixes.
19925 * tools/gst-inspect.c:
19926 * tools/gst-xmlinspect.c:
19928 * gst/base/gsttypefindhelper.c:
19929 * gst/base/gstbasesink.c:
19930 * gst/gstqueue.c: RPAD fixes.
19932 * gst/gstghostpad.h:
19933 * gst/gstghostpad.c: New ghost pad implementation as full proxy
19934 pads. The tricky thing is they provide both source and sink
19935 interfaces, since they proxy the internal pad for the external
19936 pad, and vice versa. Implement with lower-level ProxyPad objects,
19937 with the interior proxy pad as a child of the exterior ghost pad.
19938 Should write a doc on this.
19940 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
19941 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
19944 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
19945 pads are real pads. No ghost pads in this file. Not documenting
19946 the myriad s/RPAD/PAD/ and REALIZE fixes.
19947 (gst_pad_class_init): Add properties for "direction" and
19948 "template". Both are construct-only, so they can't change during
19949 the life of the pad. Fixes properly deriving from GstPad.
19950 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
19951 derived objects, just set properties when creating the objects via
19953 (gst_pad_get_parent): Implement as a function, return NULL if the
19954 parent is not an element.
19955 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
19956 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
19958 * gst/gstobject.c (gst_object_class_init): Make name a construct
19959 property. Don't set it in the object init.
19961 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
19962 with UNKNOWN direction.
19963 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
19964 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
19965 (gst_element_remove_pad): Remove ghost-pad special cases.
19966 (gst_element_pads_activate): Remove rpad cruft.
19968 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
19969 catch the pad's-parent-not-an-element case.
19971 * gst/gst.h: Include gstghostpad.h.
19973 * gst/gst.c (init_post): No more real, ghost pads.
19975 * gst/Makefile.am: Add gstghostpad.[ch].
19977 * check/Makefile.am:
19978 * check/gst/gstbin.c:
19979 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
19980 into a bin creates ghost pads, and that the refcounts are right.
19981 Partly moved from gstbin.c.
19983 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
19985 * check/gst-libs/.cvsignore:
19986 * check/gst/.cvsignore:
19987 * check/pipelines/.cvsignore:
19989 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
19990 (START_TEST), (cleanup_suite), (main):
19991 add some tests related to cleanup after running pipelines
19993 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
19995 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
19996 add a testsuite for GstBuffer
19998 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20000 * gst/gstminiobject.h:
20001 add defines for accessing the refcount
20003 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20005 * Makefile.am: added support for html unit test coverage reports
20007 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20009 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20010 Free existing caps if the capsfilter changes. Add a FIXME about
20011 setting those caps on the pads.
20013 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20014 Before adding a ghost pad to a parent bin, check that there isn't
20015 already one for the element on the bin. Prevents infinite recursion
20016 when using decodebin in parse pipelines. Andy says he'll rewrite the
20017 way this works anyway, so ignore the hack.
20019 2005-06-02 Andy Wingo <wingo@pobox.com>
20021 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20022 file size, pass it on to the type find helper.
20024 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20025 segment_start and segment_end properly according to the seek
20026 method. Segment_end is still a bit flaky because offset can be
20027 negative for CUR and END cases, but it takes -1 as an "unset"
20030 2005-06-02 Wim Taymans <wim@fluendo.com>
20032 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20033 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20034 (gst_basesink_activate):
20035 * gst/base/gstbasesink.h:
20036 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20037 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20038 (gst_pad_query), (gst_pad_start_task):
20040 * gst/gstqueue.c: (gst_queue_bufferalloc),
20041 (gst_queue_handle_sink_event), (gst_queue_chain):
20042 Bufferalloc: return GstFlowReturn to more accuratly report
20043 why allocation failed.
20045 2005-06-02 Wim Taymans <wim@fluendo.com>
20047 * gst/gstpipeline.c: (gst_pipeline_send_event):
20048 Take snapshot of state without blocking.
20050 2005-06-02 Wim Taymans <wim@fluendo.com>
20052 * docs/design/part-TODO.txt:
20053 * docs/design/part-caps.txt:
20054 * docs/design/part-clocks.txt:
20055 * docs/design/part-negotiation.txt:
20056 * docs/design/part-preroll.txt:
20059 2005-05-30 Wim Taymans <wim@fluendo.com>
20061 * gst/elements/gstidentity.c: (gst_identity_event),
20062 (gst_identity_transform), (gst_identity_get_property):
20063 Protect last_message property as it is accessed from
20066 2005-05-30 Wim Taymans <wim@fluendo.com>
20068 * gst/gstelement.c: (gst_element_init),
20069 (gst_element_pads_activate), (gst_element_change_state):
20070 Slicker pad activation code.
20072 2005-05-30 Wim Taymans <wim@fluendo.com>
20075 * gst/gstelement.h:
20076 * gst/gstelementfactory.h:
20078 Move elementfactory methods to separate .h file.
20080 2005-05-30 Wim Taymans <wim@fluendo.com>
20082 * docs/design/part-overview.txt:
20083 * gst/gstsystemclock.h:
20084 Small typo fixes, doc updates.
20086 2005-05-30 Wim Taymans <wim@fluendo.com>
20088 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20089 (init_popt_callback):
20090 Remove cpu-opt flag.
20092 2005-05-30 Wim Taymans <wim@fluendo.com>
20094 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20095 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20097 Avoid typechecking in places where not needed.
20098 Added accessor for malloc_data.
20100 2005-05-30 Wim Taymans <wim@fluendo.com>
20102 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20103 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20104 (gst_pad_configure_sink), (gst_pad_configure_src),
20105 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20106 (gst_pad_start_task):
20107 Propagate errors from _set_caps() in configure_src/sink
20108 functions instead of returning TRUE.
20109 FLUSH events can travel up and downstream
20112 2005-05-30 Wim Taymans <wim@fluendo.com>
20114 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20115 (gst_basesink_activate):
20116 Handle EOS in preroll.
20118 2005-05-30 Wim Taymans <wim@fluendo.com>
20120 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20121 (gst_queue_loop), (gst_queue_handle_src_event):
20122 Remove old pieces of code
20123 Flushing the queue in an upstream event is a very bad idea.
20125 2005-05-26 Andy Wingo <wingo@pobox.com>
20127 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20128 gst_value_set_mini_object so as to add a ref on the object (which
20129 will be removed when the value is unset).
20131 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20132 arg type in ::handoff.
20134 * gst/gstelement.c (gst_element_change_state): Also deactivate
20135 pads in READY->NULL, just in case the element didn't make it to
20136 PAUSED. Wingo tested, Wim approved.
20138 2005-05-26 Wim Taymans <wim@fluendo.com>
20140 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20141 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20142 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20143 A flushing pad cannot be used to alloc_buffer from.
20145 2005-05-26 Wim Taymans <wim@fluendo.com>
20147 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20148 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20149 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20150 (gst_bus_create_watch), (gst_bus_add_watch_full):
20152 Implement a real GSource and use g_main_context_wakeup() to
20153 signal new messages instead of the socketpair.
20155 2005-05-25 Wim Taymans <wim@fluendo.com>
20157 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20158 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20159 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20160 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20161 (gst_pad_send_event), (gst_pad_start_task):
20162 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20163 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20164 (gst_queue_sink_activate), (gst_queue_src_activate),
20165 (gst_queue_change_state):
20167 Fix state changes for non sinks. We now change sinks, then elements
20168 with unconnected srcpads, then the rest.
20169 More efficient queue unlocking in flush and state changes.
20170 Set the pad activate mode even if it does not have an activate
20173 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20175 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20176 Don't go in pull mode for non-seekable sources.
20177 * gst/elements/gsttypefindelement.h:
20178 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20179 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20180 (free_entry), (stop_typefinding),
20181 (gst_type_find_element_handle_event), (find_peek),
20182 (gst_type_find_element_chain), (do_pull_typefind),
20183 (gst_type_find_element_change_state):
20184 Allow typefinding (w/o seeking) in push-mode, simplified version
20185 of what was in 0.8.
20186 * gst/gstutils.c: (gst_buffer_join):
20188 gst_buffer_join() from 0.8.
20190 2005-05-25 Wim Taymans <wim@fluendo.com>
20192 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20193 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20194 (gst_pad_send_event), (gst_pad_start_task):
20195 Disable attempt at mode switching until it is figured out.
20197 2005-05-25 Wim Taymans <wim@fluendo.com>
20199 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20200 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20201 (gst_basesink_finish_preroll), (gst_basesink_chain),
20202 (gst_basesink_loop), (gst_basesink_activate),
20203 (gst_basesink_change_state):
20204 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20205 (gst_basesrc_get_range), (gst_basesrc_loop),
20206 (gst_basesrc_activate):
20207 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20208 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20209 (gst_real_pad_init), (gst_real_pad_set_property),
20210 (gst_real_pad_get_property), (gst_pad_set_active),
20211 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20212 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20213 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20214 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20215 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20216 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20217 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20218 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20219 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20220 (gst_pad_stop_task):
20222 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20223 (gst_queue_loop), (gst_queue_src_activate):
20224 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20225 (gst_task_get_state):
20227 * gst/schedulers/threadscheduler.c:
20228 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20229 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20231 Remove ACTIVE pad flag, use FLUSHING everywhere
20232 Added _pad_chain(), _pad_get_range() to call chain/getrange
20234 Add locks around IS_FLUSHING when reading.
20235 Take STREAM lock in chain(), get_range() functions so plugins
20236 don't need to take it anymore.
20240 2005-05-25 Wim Taymans <wim@fluendo.com>
20242 * tools/gst-launch.c: (event_loop):
20243 Unref message after using its contents instead of
20246 2005-05-24 Wim Taymans <wim@fluendo.com>
20248 * docs/design/draft-ghostpads.txt:
20249 * docs/design/draft-push-pull.txt:
20250 * docs/design/draft-query.txt:
20251 * docs/design/part-overview.txt:
20252 Docs updates, added general overview doc.
20254 2005-05-21 David Schleef <ds@schleef.org>
20256 * docs/gst/tmpl/old/GstBin.sgml:
20257 * docs/gst/tmpl/old/GstBuffer.sgml:
20258 * docs/gst/tmpl/old/GstCaps.sgml:
20259 * docs/gst/tmpl/old/GstClock.sgml:
20260 * docs/gst/tmpl/old/GstCompat.sgml:
20261 * docs/gst/tmpl/old/GstData.sgml:
20262 * docs/gst/tmpl/old/GstElement.sgml:
20263 * docs/gst/tmpl/old/GstEvent.sgml:
20264 * docs/gst/tmpl/old/GstIndex.sgml:
20265 * docs/gst/tmpl/old/GstStructure.sgml:
20266 * docs/gst/tmpl/old/GstTag.sgml:
20267 * docs/gst/tmpl/old/cothreads.sgml:
20268 * docs/gst/tmpl/old/cothreads_compat.sgml:
20269 * docs/gst/tmpl/old/gettext.sgml:
20270 * docs/gst/tmpl/old/gobject2gtk.sgml:
20271 * docs/gst/tmpl/old/grammar.tab.sgml:
20272 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20273 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20274 * docs/gst/tmpl/old/gst_private.sgml:
20275 * docs/gst/tmpl/old/gstaggregator.sgml:
20276 * docs/gst/tmpl/old/gstarch.sgml:
20277 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20278 * docs/gst/tmpl/old/gstbufferstore.sgml:
20279 * docs/gst/tmpl/old/gstdata_private.sgml:
20280 * docs/gst/tmpl/old/gstdisksink.sgml:
20281 * docs/gst/tmpl/old/gstdisksrc.sgml:
20282 * docs/gst/tmpl/old/gstelementfactory.sgml:
20283 * docs/gst/tmpl/old/gstextratypes.sgml:
20284 * docs/gst/tmpl/old/gstfakesink.sgml:
20285 * docs/gst/tmpl/old/gstfakesrc.sgml:
20286 * docs/gst/tmpl/old/gstfdsink.sgml:
20287 * docs/gst/tmpl/old/gstfdsrc.sgml:
20288 * docs/gst/tmpl/old/gstfilesink.sgml:
20289 * docs/gst/tmpl/old/gstfilesrc.sgml:
20290 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20291 * docs/gst/tmpl/old/gstidentity.sgml:
20292 * docs/gst/tmpl/old/gstindexfactory.sgml:
20293 * docs/gst/tmpl/old/gstmarshal.sgml:
20294 * docs/gst/tmpl/old/gstmd5sink.sgml:
20295 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20296 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20297 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20298 * docs/gst/tmpl/old/gstpipefilter.sgml:
20299 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20300 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20301 * docs/gst/tmpl/old/gstshaper.sgml:
20302 * docs/gst/tmpl/old/gstspider.sgml:
20303 * docs/gst/tmpl/old/gstspideridentity.sgml:
20304 * docs/gst/tmpl/old/gststatistics.sgml:
20305 * docs/gst/tmpl/old/gsttee.sgml:
20306 * docs/gst/tmpl/old/gsttimecache.sgml:
20307 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20308 * docs/gst/tmpl/old/gstxmlregistry.sgml:
20309 * docs/gst/tmpl/old/gthread-cothreads.sgml:
20310 * docs/gst/tmpl/old/types.sgml:
20311 I didn't intend to add these or check them in.
20313 2005-05-19 David Schleef <ds@schleef.org>
20315 * configure.ac: Use -no-common everywhere. In a sane world, it
20316 would be the default in libtool, because without it, you can't
20317 build DLLs on Windows.
20318 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20319 * docs/gst/gstreamer-sections.txt:
20320 * docs/gst/tmpl/gstcpu.sgml:
20321 * docs/gst/tmpl/gstdata.sgml:
20322 * docs/gst/tmpl/gstthread.sgml:
20324 2005-05-19 David Schleef <ds@schleef.org>
20326 * gst/gstminiobject.c: (gst_value_set_mini_object),
20327 (gst_value_take_mini_object), (gst_value_get_mini_object):
20328 * gst/gstminiobject.h: Add GValue set/get functions.
20330 2005-05-19 Wim Taymans <wim@fluendo.com>
20332 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20333 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20334 (gst_subbuffer_init), (gst_buffer_is_span_fast):
20336 * gst/gstbus.c: (gst_bus_post):
20337 * gst/gstelement.c: (gst_element_get_random_pad):
20338 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20339 Make subbufer unref the parent in finalize.
20340 some more debugging info.
20343 2005-05-19 Wim Taymans <wim@fluendo.com>
20345 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20346 (gst_basesink_init), (gst_basesink_finalize),
20347 (gst_basesink_activate), (gst_basesink_change_state):
20348 Don't free preroll queue too early.
20350 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20354 Hi, I'm outdated. Please shoot me.
20356 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20358 * gst/gstpipeline.c: (gst_pipeline_send_event):
20359 Do not access variables after they have been deleted.
20361 2005-05-19 Wim Taymans <wim@fluendo.com>
20363 * tools/gst-inspect.c: (print_plugin_features):
20364 A plugin feature does unfortunatly not use the
20367 2005-05-18 Wim Taymans <wim@fluendo.com>
20369 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20370 Port _span() functions to new subbuffers.
20372 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20374 * gst/gstbin.c: (gst_bin_add_func):
20375 Fix clock settery in bins when adding kids after the clock has
20378 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20380 * gst/elements/gstidentity.c: (gst_identity_class_init):
20381 Workaround until signals support GstMiniObject.
20383 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
20386 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20388 2005-05-18 Wim Taymans <wim@fluendo.com>
20390 * gst/base/Makefile.am:
20391 * gst/base/gstadapter.c: (gst_adapter_base_init),
20392 (gst_adapter_class_init), (gst_adapter_init),
20393 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20394 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20395 (gst_adapter_flush), (gst_adapter_available),
20396 (gst_adapter_available_fast):
20397 * gst/base/gstadapter.h:
20398 Ported and added adapter to the base classes.
20400 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20403 * gst/gstmessage.c:
20404 Make sure the class is reffed/unreffed once before threads can be
20405 used. Fixes #304551.
20407 2005-05-17 Wim Taymans <wim@fluendo.com>
20409 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20410 (gst_basesink_chain_unlocked), (gst_basesink_activate):
20411 * gst/gstminiobject.c: (gst_mini_object_get_type),
20412 (gst_mini_object_free):
20413 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20414 (gst_pad_push), (gst_pad_push_event):
20415 * gst/gstqueue.c: (gst_queue_change_state):
20416 Don't queue buffers in basesink when we are flushing.
20417 Unref buffer when flushing in basesink.
20418 Flush queue when going to READY
20419 Unref buffer when _push() returns an error.
20420 Don't free MiniObject instance when refcount is incremented
20421 in _finalize() so that we can recover objects.
20423 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
20425 * docs/manual/advanced-schedulers.xml:
20426 * docs/manual/appendix-checklist.xml:
20427 * docs/pwg/advanced-clock.xml:
20428 * docs/pwg/advanced-interfaces.xml:
20429 * docs/pwg/advanced-request.xml:
20430 * docs/pwg/advanced-types.xml:
20431 * docs/pwg/intro-preface.xml:
20432 * examples/plugins/example.c: (gst_example_get_type),
20433 (gst_example_class_init), (gst_example_chain),
20434 (gst_example_set_property), (gst_example_get_property),
20435 (gst_example_change_state), (plugin_init):
20436 * examples/plugins/example.h:
20439 2005-05-17 Wim Taymans <wim@fluendo.com>
20441 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20442 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20443 * gst/gstqueue.c: (gst_queue_change_state):
20444 Clear queue when going to READY.
20445 Remove IN_SETCAPS flag too.
20447 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
20449 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20450 Remove implicit cast from gboolean to GstElementStateReturn;
20451 make sure we still return failure in paused => ready case if
20452 the parent class fails to change state and our own stop
20455 2005-05-17 Wim Taymans <wim@fluendo.com>
20457 * tools/gst-launch.c: (event_loop):
20458 Message was unreffed too soon.
20460 2005-05-16 Andy Wingo <wingo@pobox.com>
20462 * gst/gstbin.c (sink_iterator_filter): Err... um...
20464 * check/gst/gstbin.c (test_ghost_pads): New test for the
20465 ghosting-if-elements-not-in-same-bin behavior.
20467 2005-05-16 David Schleef <ds@schleef.org>
20469 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20470 accessing refcount directly.
20472 2005-05-15 David Schleef <ds@schleef.org>
20474 * check/Makefile.am: remove GstData checks
20475 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20476 * gst/Makefile.am: add miniobject, remove data
20477 * gst/gst.h: add miniobject, remove data
20478 * gst/gstdata.c: remove
20479 * gst/gstdata.h: remove
20480 * gst/gstdata_private.h: remove
20481 * gst/gsttypes.h: remove GstEvent and GstMessage
20482 * gst/gstelement.c: (gst_element_post_message): fix for API changes
20483 * gst/gstmarshal.list: change BOXED -> OBJECT
20485 Implement GstMiniObject.
20486 * gst/gstminiobject.c:
20487 * gst/gstminiobject.h:
20489 Modify to be subclasses of GstMiniObject.
20490 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20491 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20492 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20493 (gst_subbuffer_get_type), (gst_subbuffer_init),
20494 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20497 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20498 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20499 (_gst_event_copy), (gst_event_new):
20501 * gst/gstmessage.c: (_gst_message_initialize),
20502 (gst_message_get_type), (gst_message_class_init),
20503 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20504 (gst_message_new), (gst_message_new_error),
20505 (gst_message_new_warning), (gst_message_new_tag),
20506 (gst_message_new_state_changed), (gst_message_new_application):
20507 * gst/gstmessage.h:
20508 * gst/gstprobe.c: (gst_probe_perform),
20509 (gst_probe_dispatcher_dispatch):
20511 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20512 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20513 (_gst_query_copy), (gst_query_new):
20515 Update elements for GstData -> GstMiniObject changes
20517 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20518 (gst_queue_chain), (gst_queue_loop):
20519 * gst/elements/gstbufferstore.c:
20520 (gst_buffer_store_add_buffer_func),
20521 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20522 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20523 (gst_fakesink_render):
20524 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20525 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20526 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20527 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20528 (gst_filesrc_create_read):
20529 * gst/elements/gstidentity.c: (gst_identity_class_init):
20530 * gst/elements/gsttypefindelement.c:
20531 (gst_type_find_element_src_event), (free_entry_buffers),
20532 (gst_type_find_element_handle_event):
20533 * libs/gst/dataprotocol/dataprotocol.c:
20534 (gst_dp_header_from_buffer):
20535 * libs/gst/dataprotocol/dataprotocol.h:
20536 * libs/gst/dataprotocol/dp-private.h:
20538 2005-05-15 David Schleef <ds@schleef.org>
20540 * gst/elements/gstelements.c: Don't include headers that were
20543 2005-05-15 David Schleef <ds@schleef.org>
20545 * gst/elements/Makefile.am: Remove some elements that don't
20546 need to be in the core (or even exist at all).
20547 * gst/elements/gstaggregator.c:
20548 * gst/elements/gstaggregator.h:
20549 * gst/elements/gstmd5sink.c:
20550 * gst/elements/gstmd5sink.h:
20551 * gst/elements/gstmultifilesrc.c:
20552 * gst/elements/gstmultifilesrc.h:
20553 * gst/elements/gstpipefilter.c:
20554 * gst/elements/gstpipefilter.h:
20555 * gst/elements/gstshaper.c:
20556 * gst/elements/gstshaper.h:
20557 * gst/elements/gststatistics.c:
20558 * gst/elements/gststatistics.h:
20559 * po/POTFILES.in: Remove above files.
20561 2005-05-14 Andy Wingo <wingo@pobox.com>
20563 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
20564 so as to get the refs right.
20565 (sink_iterator_filter): New function, wraps bin_element_is_sink,
20566 unreffing objects that don't pass the filter.
20568 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
20569 gst_element_set_bus.
20570 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
20571 normal cases, this will destroy the bus.
20573 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
20576 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
20579 2005-05-13 Andy Wingo <wingo@pobox.com>
20581 * gst/gstutils.c (gst_element_link_pads): Instead of calling
20582 gst_pad_link, call pad_link_maybe_ghosting,
20583 (pad_link_maybe_ghosting): Links pads, making sure that the
20584 elements being linked are in the same bin.
20585 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
20586 Helpers for pad_link_maybe_ghosting.
20588 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
20591 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
20593 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
20595 * docs/design/part-element-source.txt:
20598 2005-05-12 Wim Taymans <wim@fluendo.com>
20600 * gst/base/gstbasesink.c: (gst_basesink_init),
20601 (gst_basesink_activate):
20602 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
20603 (gst_basesrc_is_seekable):
20604 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20605 (bin_element_is_sink), (gst_bin_change_state):
20606 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20607 * gst/gstelement.h:
20608 Identify sinks by their flag to avoid overly complicated
20610 Do state changes even for elements not reachable from the
20612 BaseSink is a sink now :)
20613 Some more debugging info in the basesrc.
20616 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20618 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
20619 Implement _query on a bin, similar to _send_event.
20621 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
20623 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
20624 Discont event offset format should be GST_FORMAT_BYTES,
20625 not GST_FORMAT_TIME.
20627 2005-05-12 Wim Taymans <wim@fluendo.com>
20629 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
20630 Same fix as Ronald's but without the signal.
20632 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20634 * gst/gstutils.c: (gst_element_query_position):
20635 No, an element is not a pad.
20637 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20639 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
20640 (gst_bin_get_state):
20641 If a child is removed from a bin while we remove the child from
20642 the bin and while we're retrieving its state, signal this to the
20643 get_state function so we abort the wait (instead of waiting for
20644 a timeout) and can immediately re-iterate over all other elements.
20646 2005-05-12 Wim Taymans <wim@fluendo.com>
20648 * gst/base/Makefile.am:
20649 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
20650 (gst_basesrc_start):
20651 * gst/base/gstbasesrc.h:
20652 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
20653 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
20654 (gst_pushsrc_init), (gst_pushsrc_create):
20655 * gst/base/gstpushsrc.h:
20656 Added is_seekable to BaseSrc
20657 Added simple PushSrc.
20659 2005-05-11 Wim Taymans <wim@fluendo.com>
20661 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20662 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20663 (gst_element_link_pads), (gst_element_query_position),
20664 (gst_element_query_convert), (intersect_caps_func),
20665 (gst_pad_query_position), (gst_pad_query_convert):
20666 Fix refcounting in utils function.
20667 No point in trying to activate a pad when it's added, it could
20668 be added from the state change function and then we deadlock, the
20669 element has to decide what to do.
20671 2005-05-10 Andy Wingo <wingo@pobox.com>
20673 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
20674 *all* the arguments.
20676 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
20677 stream lock if it's a FLUSH_DONE; normal flushes don't get the
20678 lock (according to the docs -- if this is wrong change the docs).
20680 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
20681 flush messages in the NULL state.
20683 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
20684 message immediately and return.
20685 (gst_bus_set_flushing): New function. If a bus is flushing, it
20686 flushes out any queued messages and immediately unrefs new
20687 messages. This is so when an element goes to NULL, all of the
20688 unhandled messages coming from it can be freed, and their
20689 references to the element dropped. In other words: message source
20690 ref considered harmful :P
20692 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
20693 we're finished with it.
20695 * gst/gstmessage.c (gst_message_new_state_changed):
20697 2005-05-10 Wim Taymans <wim@fluendo.com>
20699 * gst/gstvalue.c: (gst_value_compare_flags),
20700 (gst_value_serialize_flags), (gst_value_deserialize_flags),
20701 (_gst_value_initialize):
20702 Added flags serialize/deserialize/compare code.
20704 2005-05-09 Andy Wingo <wingo@pobox.com>
20706 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
20707 Intersect the peer's caps with our caps.
20709 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20711 * gst/base/gsttypefindhelper.c: (helper_find_peek):
20712 * gst/elements/gsttypefindelement.c: (find_peek):
20713 Handle negative offsets better. Fixes decodebin.
20715 2005-05-09 Wim Taymans <wim@fluendo.com>
20717 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
20718 (gst_base_transform_event):
20719 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
20720 Implement accept_caps.
20721 Fix silly lock/unlock mismatch in base class.
20723 2005-05-09 Wim Taymans <wim@fluendo.com>
20725 * docs/design/draft-push-pull.txt:
20726 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
20727 * gst/elements/gstfilesink.c: (gst_filesink_init),
20728 (gst_filesink_query):
20729 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20730 (gst_type_find_handle_src_query), (find_element_get_length):
20731 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
20732 * gst/gstelement.h:
20733 * gst/gstmessage.c:
20734 * gst/gstmessage.h:
20735 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
20736 (gst_real_pad_get_caps_unlocked),
20737 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
20738 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20739 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
20740 (gst_real_pad_dispose), (gst_real_pad_finalize),
20741 (gst_pad_load_and_link), (gst_pad_save_thyself),
20742 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
20743 (gst_pad_check_pull_range), (gst_pad_pull_range),
20744 (gst_pad_template_get_type), (gst_pad_template_class_init),
20745 (gst_pad_template_init), (gst_pad_template_dispose),
20746 (name_is_valid), (gst_static_pad_template_get),
20747 (gst_pad_template_new), (gst_static_pad_template_get_caps),
20748 (gst_pad_template_get_caps), (gst_pad_set_element_private),
20749 (gst_pad_get_element_private), (gst_pad_start_task),
20750 (gst_pad_pause_task), (gst_pad_stop_task),
20751 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
20752 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
20753 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
20754 (gst_ghost_pad_new):
20756 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
20757 (gst_query_new_position), (gst_query_set_position),
20758 (gst_query_parse_position), (gst_query_new_convert),
20759 (gst_query_set_convert), (gst_query_parse_convert):
20761 * gst/gstqueryutils.c:
20762 * gst/gstqueryutils.h:
20763 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
20764 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
20765 (gst_queue_handle_src_query):
20766 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20767 (gst_element_query_position), (gst_element_query_convert),
20768 (intersect_caps_func), (gst_pad_query_position),
20769 (gst_pad_query_convert):
20771 * tools/gst-inspect.c: (print_pad_info):
20772 * tools/gst-xmlinspect.c: (print_element_info):
20773 Remove old query functions. Ported old code.
20774 Added position/convert helper functions to gstutils.
20775 Reordered gstpad.c code, grouping relevant things.
20776 Remove gst_message_new(), always need to speficy a specific
20780 2005-05-09 Andy Wingo <wingo@pobox.com>
20782 * gst/gstiterator.h: Add some includes.
20784 * gst/gstqueryutils.h: Include more headers.
20787 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
20788 some uses of gst_pad_query.
20790 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
20791 NULL out parameters.
20792 (gst_query_new_position): New proc, allocates a new position
20795 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
20796 gstqueryutils.c to the build.
20798 * gst/gststructure.c (gst_structure_set_valist): Implement with
20799 the generic G_VALUE_COLLECT.
20801 2005-05-08 Edward Hervey <bilboed@bilboed.com>
20803 * gst/Makefile.am: (gst_headers):
20804 Added gstqueryutils.h to the list of headers to install, that was
20805 a 'nachty' move wingo :)
20807 2005-05-06 Andy Wingo <wingo@pobox.com>
20810 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
20811 GstData, init a memchunk.
20812 (standard_definitions): Add a few query types, deprecate a few.
20813 (gst_query_get_type): New proc.
20814 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
20816 (gst_query_new_application, gst_query_get_structure): New public
20819 * docs/design/draft-query.txt: Removed LINKS from the query types,
20820 because all the rest can be dispatched to other pads -- seemed
20821 ugly to have a query that couldn't be dispatched. internal_links
20822 is fine as a pad method.
20824 * gst/gstpad.h: Add query2 as a pad method, add the new functions
20825 in gstpad.c, but maintain binary compatibility for the moment.
20826 Will fix before 0.9 is out.
20828 * gst/gstqueryutils.c:
20829 * gst/gstqueryutils.h: New files, implement 3 methods for each
20830 query type: parse_query, parse_response, and set. Probably need an
20833 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
20835 * gst/elements/gstfilesink.c (gst_filesink_query2):
20836 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
20837 query_types, and formats methods.
20839 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
20840 (gst_pad_set_query2_function): New functions.
20841 (gst_real_pad_init): Set query2_default as the default query2
20842 function. Basically just dispatches to internally linked pads.
20846 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
20847 without using the atomic operations. Only one thread can possibly
20848 be accessing the data at this point. Changed so as to avoid
20849 gst_atomic operations.
20851 2005-05-06 Wim Taymans <wim@fluendo.com>
20853 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
20854 Also set caps if we use the fallback buffer alloc.
20856 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
20858 * docs/gst/Makefile.am:
20859 * docs/gst/gstreamer-docs.sgml:
20860 * docs/gst/gstreamer-sections.txt:
20861 * docs/gst/tmpl/gstatomic.sgml:
20862 * docs/gst/tmpl/gstmemchunk.sgml:
20863 * testsuite/elements/struct_i386.h:
20864 * win32/GStreamer.vcproj:
20866 Purge GstAtomic stuff from docs and win32 makefiles as well
20868 2005-05-06 Wim Taymans <wim@fluendo.com>
20870 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
20871 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
20872 * gst/gstpad.c: (gst_pad_peer_get_caps):
20873 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
20874 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
20875 (gst_queue_src_activate), (gst_queue_change_state):
20877 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20878 (intersect_caps_func):
20879 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
20880 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
20881 Some fixes for the peer_get_caps() change.
20883 2005-05-06 Wim Taymans <wim@fluendo.com>
20885 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20886 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
20887 (gst_basesink_activate):
20888 Actually do something with error codes returned from the push
20891 2005-05-06 Wim Taymans <wim@fluendo.com>
20893 * docs/design/part-element-sink.txt:
20894 * docs/design/part-element-source.txt:
20895 * gst/base/gstbasesink.c: (gst_basesink_class_init),
20896 (gst_basesink_event), (gst_basesink_activate):
20897 * gst/base/gstbasesink.h:
20898 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
20899 (gst_basesrc_activate):
20900 * gst/base/gstbasesrc.h:
20901 * gst/gstelement.c: (gst_element_pads_activate):
20902 Some more documentation.
20903 Fixed scheduling decision in _pads_activate().
20905 2005-05-05 Andy Wingo <wingo@pobox.com>
20907 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
20910 2005-05-05 Wim Taymans <wim@fluendo.com>
20912 * gst/base/Makefile.am:
20913 * gst/base/gstbasesink.h:
20914 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20915 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
20916 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
20917 (gst_collectpads_class_init), (gst_collectpads_init),
20918 (gst_collectpads_finalize), (gst_collectpads_new),
20919 (gst_collectpads_set_function), (gst_collectpads_add_pad),
20920 (find_pad), (gst_collectpads_remove_pad),
20921 (gst_collectpads_is_active), (gst_collectpads_collect),
20922 (gst_collectpads_collect_range), (gst_collectpads_start),
20923 (gst_collectpads_stop), (gst_collectpads_peek),
20924 (gst_collectpads_pop), (gst_collectpads_available),
20925 (gst_collectpads_read), (gst_collectpads_flush),
20926 (gst_collectpads_chain):
20927 * gst/base/gstcollectpads.h:
20928 * gst/elements/Makefile.am:
20929 * gst/elements/gstelements.c:
20930 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20931 (gst_fakesink_get_times), (gst_fakesink_event),
20932 (gst_fakesink_preroll), (gst_fakesink_render):
20933 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20934 (gst_filesink_init), (gst_filesink_set_location),
20935 (gst_filesink_open_file), (gst_filesink_close_file),
20936 (gst_filesink_pad_query), (gst_filesink_event),
20937 (gst_filesink_render), (gst_filesink_change_state):
20938 * gst/elements/gstfilesink.h:
20939 Added object to help in making collect pad based elements.
20941 Make event function in sink baseclass return gboolean.
20943 2005-05-05 Wim Taymans <wim@fluendo.com>
20945 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
20946 (gst_bin_get_by_name):
20948 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
20949 (gst_clock_finalize):
20950 * gst/gstdata.c: (gst_data_replace):
20952 * gst/gstelement.c: (gst_element_request_pad),
20953 (gst_element_pads_activate):
20954 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
20955 (gst_object_unref):
20956 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20957 (gst_pad_set_checkgetrange_function),
20958 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
20959 (gst_pad_check_pull_range), (gst_pad_pull_range),
20960 (gst_static_pad_template_get_caps), (gst_pad_start_task),
20961 (gst_pad_pause_task), (gst_pad_stop_task):
20962 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20963 (gst_element_request_pad), (gst_pad_proxy_getcaps):
20964 Fix name lookup in GstBin.
20965 Added _data_replace() function and _buffer_replace()
20966 Use finalize method to clean up clock.
20967 Fix refcounting on request pads.
20968 Fix pad schedule mode error.
20969 Some more object refcounting debug info,
20972 2005-05-04 Andy Wingo <wingo@pobox.com>
20974 * check/Makefile.am:
20975 * docs/gst/tmpl/gstatomic.sgml:
20976 * docs/gst/tmpl/gstplugin.sgml:
20977 * gst/base/gstbasesink.c: (gst_basesink_activate):
20978 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
20979 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
20980 (gst_basesrc_query), (gst_basesrc_set_property),
20981 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
20982 (gst_basesrc_activate):
20983 * gst/base/gstbasesrc.h:
20984 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
20985 (gst_base_transform_src_activate):
20986 * gst/elements/gstelements.c:
20987 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20988 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20989 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20990 * gst/elements/gsttypefindelement.c: (find_element_get_length),
20991 (gst_type_find_element_checkgetrange),
20992 (gst_type_find_element_activate):
20993 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
20994 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
20995 (gst_caps_load_thyself):
20996 * gst/gstelement.c: (gst_element_pads_activate),
20997 (gst_element_save_thyself), (gst_element_restore_thyself):
20998 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
20999 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21001 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21002 (gst_xml_parse_file), (gst_xml_parse_memory),
21003 (gst_xml_get_element), (gst_xml_make_element):
21004 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21005 (_file_index_id_save_xml), (gst_file_index_commit):
21006 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21007 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21009 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21010 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21011 * tools/gst-complete.c: (main):
21012 * tools/gst-compprep.c: (main):
21013 * tools/gst-inspect.c: (print_element_properties_info):
21014 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21015 * tools/gst-xmlinspect.c: (print_element_properties):
21018 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21020 * gst/gstplugin.c: (gst_plugin_check_module),
21021 (gst_plugin_check_file), (gst_plugin_load_file):
21022 apply patch from #172526 to make register work on MacOSX
21024 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21026 * docs/gst/tmpl/gstconfig.sgml:
21027 * gst/gstconfig.h.in:
21028 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21029 * testsuite/debug/printf_extension.c: (main):
21030 Do not use GST_PTR_FORMAT on pointers to types with
21031 sizeof < sizeof(gpointer). Fixes test on 64-bit
21032 * testsuite/elements/property.h:
21033 use correct printf format
21035 2005-05-02 Wim Taymans <wim@fluendo.com>
21037 * docs/design/draft-push-pull.txt:
21038 * docs/design/draft-query.txt:
21039 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21040 (gst_basesrc_start):
21041 Added draft for new query API.
21042 Added draft for better selecting scheduling methods.
21043 Make basesrc ignore length if the subclass does not support
21046 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21049 possible fixes for automake-1.5 - _LIBADD is reserved
21051 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21053 * docs/faq/Makefile.am:
21054 * docs/manual/Makefile.am:
21055 * docs/manuals.mak:
21056 * docs/pwg/Makefile.am:
21058 possible fixes for automake-1.5
21060 2005-04-28 Wim Taymans <wim@fluendo.com>
21062 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21063 (gst_basesink_pad_getcaps), (gst_basesink_init),
21064 (gst_basesink_do_sync):
21065 * gst/gstclock.c: (gst_clock_entry_new):
21066 * gst/gstevent.c: (gst_event_discont_get_value):
21067 * gst/gstpipeline.c: (pipeline_bus_handler),
21068 (gst_pipeline_change_state):
21069 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21070 Better debugging of clocking info.
21071 Allow NULL values when getting discont values.
21073 2005-04-27 Wim Taymans <wim@fluendo.com>
21075 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21076 * check/gst/gstpad.c: (gst_pad_suite):
21077 Increase timeout for checks.
21079 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21081 * check/Makefile.am:
21082 fix the broken rule for cleanup. Apparently this rule is
21083 only needed on FC2, so maybe this warrants further autotool
21086 2005-04-26 Wim Taymans <wim@fluendo.com>
21088 * gst/gsttrashstack.h:
21089 Ooohh. a nasty one! After having a failed pop() from the stack,
21090 it's possible that the stack is empty. In that case, don't
21091 follow the NULL pointer.
21093 2005-04-25 Wim Taymans <wim@fluendo.com>
21095 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21096 (gst_pad_set_checkgetrange_function),
21097 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21098 (gst_pad_check_pull_range), (gst_pad_pull_range),
21099 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21100 (gst_pad_pause_task), (gst_pad_stop_task):
21101 * gst/gstplugin.c: (gst_plugin_load):
21103 Remove gst_library_load as it does more harm than good with
21104 the new g_module flags.
21105 Revert bogus caps template check in pad linking, pad caps
21106 are important when linking not the template, which is more
21107 general than the current caps.
21109 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21111 * gst/autoplug/.cvsignore:
21112 * gst/autoplug/Makefile.am:
21113 * gst/autoplug/gstsearchfuncs.c:
21114 * gst/autoplug/gstsearchfuncs.h:
21115 * gst/autoplug/gstspider.c:
21116 * gst/autoplug/gstspider.h:
21117 * gst/autoplug/gstspideridentity.c:
21118 * gst/autoplug/gstspideridentity.h:
21119 * gst/autoplug/spidertest.c:
21122 2005-04-25 Wim Taymans <wim@fluendo.com>
21124 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21125 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21126 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21127 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21129 Added stubs for unimplemented functions.
21131 2005-04-24 David Schleef <ds@schleef.org>
21133 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21136 2005-04-24 David Schleef <ds@schleef.org>
21138 Convert everything from GstAtomicInt to g_atomic_int_*, and
21143 * gst/gstatomic_impl.h:
21151 * gst/gstdata_private.h:
21155 * gst/gstmessage.c:
21158 * gst/gststructure.c:
21159 * gst/gststructure.h:
21160 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21163 2005-04-24 David Schleef <ds@schleef.org>
21165 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21166 make the regressions tests work. Remove some code that is no
21168 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21169 Disable warning for pads without templates.
21171 2005-04-24 David Schleef <ds@schleef.org>
21173 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21174 functions that handle filtered links.
21175 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21177 * gst/gstutils.c: Fix/remove utility functions that handle
21180 * gst/gstvalue.c: Add serialization/deserialization of caps
21181 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21182 requires fixing so that the filter caps notation creates
21183 a capsfilter element and sets the filter_caps property. I
21184 think everyone probably wants to keep the shorthand notation.
21185 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21186 * docs/gst/tmpl/gstpad.sgml:
21188 * gst/elements/gstelements.c: Register capsfilter element.
21189 * gst/Makefile.am: fix spacing
21190 * docs/random/ds/0.9-suggested-changes: random
21192 2005-04-23 David Schleef <ds@schleef.org>
21194 * gst/elements/Makefile.am:
21195 * gst/elements/gstcapsfilter.c: New element that acts like an
21196 identity, but filters caps. Will eventually replace filtered
21197 caps in pad linking.
21198 * gst/gstutils.c: (gst_element_create_all_pads): New function
21199 to create all the ALWAYS pads that are registered with an
21200 element class. This functionality should eventually be
21201 merged in with GstElement initialization.
21203 * testsuite/trigger/README: part of trigger test code that should
21204 have been checked in a long time ago.
21206 2005-04-23 David Schleef <ds@schleef.org>
21208 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21209 needed with new versions of libtool (nobody will confirm this),
21210 and hard to carry around.
21211 * gst/autoplug/Makefile.am:
21212 * gst/base/Makefile.am:
21213 * gst/elements/Makefile.am:
21214 * gst/indexers/Makefile.am:
21215 * gst/schedulers/Makefile.am:
21216 * libs/gst/bytestream/Makefile.am:
21217 * libs/gst/control/Makefile.am:
21218 * libs/gst/dataprotocol/Makefile.am:
21219 * libs/gst/getbits/Makefile.am:
21221 2005-04-21 Wim Taymans <wim@fluendo.com>
21223 * docs/design/draft-push-pull.txt:
21224 * docs/design/part-MT-refcounting.txt:
21225 * docs/design/part-TODO.txt:
21226 * docs/design/part-caps.txt:
21227 * docs/design/part-events.txt:
21228 * docs/design/part-gstbus.txt:
21229 * docs/design/part-gstpipeline.txt:
21230 * docs/design/part-messages.txt:
21231 * docs/design/part-push-pull.txt:
21232 * docs/design/part-query.txt:
21235 2005-04-21 Wim Taymans <wim@fluendo.com>
21237 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21238 (gst_message_new), (gst_message_new_error),
21239 (gst_message_new_warning), (gst_message_new_tag),
21240 (gst_message_new_state_changed), (gst_message_new_application),
21241 (gst_message_get_structure):
21242 * gst/gstmessage.h:
21243 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21244 (gst_structure_copy_conditional):
21245 Use parent refcount in GstMessage to ensure GstStructure
21247 Cleaned up headers a bit.
21250 2005-04-20 Wim Taymans <wim@fluendo.com>
21252 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21253 (gst_basesink_pad_getcaps), (gst_basesink_init),
21254 (gst_basesink_chain_unlocked):
21255 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21256 (gst_type_find_helper):
21257 * gst/elements/gsttypefindelement.c:
21258 (gst_type_find_element_have_type), (gst_type_find_element_init),
21259 (stop_typefinding), (gst_type_find_element_handle_event),
21260 (find_suggest), (gst_type_find_element_chain),
21261 (gst_type_find_element_checkgetrange),
21262 (gst_type_find_element_getrange), (do_typefind),
21263 (gst_type_find_element_activate):
21264 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21265 (gst_buffer_default_free), (gst_buffer_default_copy),
21266 (gst_buffer_set_caps):
21267 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21268 (gst_caps_replace):
21269 * gst/gstmessage.c: (gst_message_new),
21270 (gst_message_new_state_changed):
21271 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21272 (gst_pad_set_checkgetrange_function),
21273 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21274 (gst_pad_set_caps), (gst_pad_check_pull_range),
21275 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21277 * gst/gsttypefind.c: (gst_type_find_register):
21278 Make gst_caps_replace() work like other _replace() functions.
21279 Use _caps_replace() where possible.
21280 Make sure _message_new() initialises its field.
21281 Add gst_static_pad_template_get_caps()
21284 2005-04-18 Andy Wingo <wingo@pobox.com>
21286 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21287 on the peer, not the pad. I think that was a typo. Pass an extra
21288 arg to see if random access is possible. Activate the pads as
21289 PULL_RANGE if possible.
21291 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21293 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21294 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21297 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21299 * docs/faq/using.xml:
21300 Add note on gstreamer-properties (#154996).
21302 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21304 * docs/random/bbb/optional-properties:
21305 Some analysis on optional properties.
21307 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21309 * docs/gst/tmpl/gstelementfactory.sgml:
21310 * gst/gstelement.h:
21311 * gst/gstelementfactory.c: (gst_element_factory_init),
21312 (gst_element_factory_cleanup), (gst_element_register),
21313 (__gst_element_factory_add_static_pad_template),
21314 (gst_element_factory_get_static_pad_templates),
21315 (gst_element_factory_can_src_caps),
21316 (gst_element_factory_can_sink_caps):
21317 * gst/registries/Makefile.am:
21318 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21319 (gst_xml_registry_class_init), (gst_xml_registry_init),
21320 (gst_xml_registry_new), (gst_xml_registry_set_property),
21321 (gst_xml_registry_get_property), (get_time), (make_dir),
21322 (gst_xml_registry_get_perms_func),
21323 (plugin_times_older_than_recurse), (plugin_times_older_than),
21324 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21325 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21326 (add_to_char_array), (read_string), (read_uint), (read_enum),
21327 (load_pad_template), (load_feature), (load_plugin), (load_paths),
21328 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21329 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21330 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21331 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21332 (gst_xml_registry_rebuild):
21333 * gst/registries/gstlibxmlregistry.h:
21334 * tools/gst-compprep.c: (main):
21335 * tools/gst-inspect.c: (print_pad_templates_info):
21336 * tools/gst-xmlinspect.c: (print_element_info):
21337 Use libxml2 for registry parsing, use staticpadtemplates in
21338 elementfactories. Makes gst_init() +/- 10x faster.
21340 2005-04-12 Wim Taymans <wim@fluendo.com>
21342 * gst/base/Makefile.am:
21343 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21344 (gst_basesink_pad_getcaps), (gst_basesink_init),
21345 (gst_basesink_event), (gst_basesink_change_state):
21346 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21347 (gst_basesrc_init), (gst_basesrc_query),
21348 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21349 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21350 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21351 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21352 (gst_basesrc_stop), (gst_basesrc_activate),
21353 (gst_basesrc_change_state):
21354 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21355 (helper_find_suggest), (gst_type_find_helper):
21356 * gst/base/gsttypefindhelper.h:
21357 * gst/elements/Makefile.am:
21358 * gst/elements/gstelements.c:
21359 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21360 (gst_fakesink_get_times), (gst_fakesink_event),
21361 (gst_fakesink_preroll), (gst_fakesink_render):
21362 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21363 (gst_fakesrc_init), (gst_fakesrc_event_handler),
21364 (gst_fakesrc_get_property), (gst_fakesrc_create),
21365 (gst_fakesrc_start), (gst_fakesrc_stop):
21366 * gst/elements/gstfakesrc.h:
21367 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21368 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21369 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21370 (gst_filesrc_create_read), (gst_filesrc_create),
21371 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21372 (gst_filesrc_start):
21373 * gst/elements/gsttypefindelement.c:
21374 (gst_type_find_element_have_type), (gst_type_find_element_init),
21375 (start_typefinding), (stop_typefinding), (push_buffer_store),
21376 (gst_type_find_element_handle_event),
21377 (gst_type_find_element_chain),
21378 (gst_type_find_element_checkgetrange),
21379 (gst_type_find_element_getrange), (do_typefind),
21380 (gst_type_find_element_activate),
21381 (gst_type_find_element_change_state):
21382 * gst/elements/gsttypefindelement.h:
21383 * gst/gstpipeline.c: (pipeline_bus_handler):
21384 Added typefind helper.
21385 Small preroll fix in the base sink.
21386 Disable typefind code in basesrc.
21387 Crude port of typefindelement.
21391 2005-04-11 Wim Taymans <wim@fluendo.com>
21393 * check/gst/gstbus.c: (gstbus_suite):
21394 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21395 * check/gstcheck.h:
21396 Fix up the timeout so that the test does not fail.
21398 2005-04-06 Wim Taymans <wim@fluendo.com>
21401 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21402 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21403 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21404 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21405 (gst_basesrc_check_get_range), (gst_basesrc_loop),
21406 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21407 (gst_basesrc_stop), (gst_basesrc_activate),
21408 (gst_basesrc_change_state), (basesrc_find_peek),
21409 (basesrc_find_suggest), (gst_basesrc_type_find):
21410 * gst/base/gstbasesrc.h:
21411 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21412 (gst_filesrc_class_init), (gst_filesrc_init),
21413 (gst_filesrc_finalize), (gst_filesrc_set_location),
21414 (gst_filesrc_set_property), (gst_filesrc_get_property),
21415 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21416 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21417 (gst_filesrc_create_read), (gst_filesrc_create),
21418 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21419 * gst/elements/gstfilesrc.h:
21420 * gst/gstelement.c: (gst_element_get_state_func),
21421 (gst_element_lost_state), (gst_element_pads_activate):
21422 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21423 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21424 (gst_pad_pull_range):
21426 More work on the generic source base class, implement seeking,
21428 Make filesrc extend the base source class.
21429 Added gst_pad_set_checkgetrange_function to GstPad.
21431 2005-04-06 Andy Wingo <wingo@pobox.com>
21433 * pkgconfig/gstreamer-base.pc.in:
21434 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21436 * pkgconfig/Makefile.am:
21437 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21439 2005-04-04 Wim Taymans <wim@fluendo.com>
21441 * gst/base/Makefile.am:
21443 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21444 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21445 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21446 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21447 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21448 (gst_basesrc_base_init), (gst_basesrc_class_init),
21449 (gst_basesrc_init), (gst_basesrc_get_formats),
21450 (gst_basesrc_get_query_types), (gst_basesrc_query),
21451 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21452 (gst_basesrc_set_property), (gst_basesrc_get_property),
21453 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21454 (gst_basesrc_loop), (gst_basesrc_activate),
21455 (gst_basesrc_change_state):
21456 * gst/base/gstbasesrc.h:
21457 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21458 (gst_fakesrc_class_init), (gst_fakesrc_init),
21459 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21460 (gst_fakesrc_get_property), (gst_fakesrc_create):
21461 * gst/elements/gstfakesrc.h:
21462 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21463 (gst_filesrc_open_file), (gst_filesrc_loop),
21464 (gst_filesrc_activate), (filesrc_find_peek),
21465 (gst_filesrc_type_find):
21466 Made base source class, make fakesrc extend it.
21467 Add comments to basesink class.
21468 Some filesrc cleanup.
21470 2005-03-31 David Schleef <ds@schleef.org>
21472 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21473 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21474 expected to link against libgstreamer.
21475 * gst/base/Makefile.am: link against libgstreamer
21476 * gst/elements/Makefile.am: same
21478 2005-03-31 Andy Wingo <wingo@pobox.com>
21480 * tests/instantiate/Makefile.am:
21481 * tests/instantiate/caps.c: Add test to test speed of caps copy
21484 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21485 GMemChunk to be fair.
21487 * gst/gsttrashstack.h: Remove warning about using the fallback
21488 trash stack implementation, it's still faster than malloc.
21490 2005-03-30 Andy Wingo <wingo@pobox.com>
21492 * tests/complexity.c: Add a copyright.
21494 2005-03-31 Wim Taymans <wim@fluendo.com>
21496 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21497 (gst_base_transform_class_init), (gst_base_transform_init),
21498 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21499 (gst_base_transform_get_property),
21500 (gst_base_transform_sink_activate),
21501 (gst_base_transform_src_activate),
21502 (gst_base_transform_change_state):
21503 * gst/base/gstbasetransform.h:
21504 * gst/elements/gstidentity.c: (gst_identity_class_init),
21505 (gst_identity_event), (gst_identity_check_perfect),
21506 (gst_identity_transform), (gst_identity_start),
21507 (gst_identity_stop):
21508 Added start/stop methods to transform base class so subclasses
21509 don't need to deal with state changes even.
21511 2005-03-31 Wim Taymans <wim@fluendo.com>
21513 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21514 (gst_event_new_discontinuous), (gst_event_discont_get_value):
21516 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21517 (gst_pad_pull_range):
21518 Added rate to the discont event to prepare for variable speed
21519 and reverse playback.
21521 2005-03-29 David Schleef <ds@schleef.org>
21524 * testsuite/trigger/Makefile.am:
21525 * testsuite/trigger/trigger.c: A little example program to show
21526 how trigger-based elements can work.
21528 2005-03-29 Wim Taymans <wim@fluendo.com>
21530 * gst/base/Makefile.am:
21532 * gst/base/gstbasesink.c: (gst_basesink_get_type),
21533 (gst_basesink_base_init), (gst_basesink_class_init),
21534 (gst_basesink_pad_getcaps), (gst_basesink_init),
21535 (gst_basesink_activate), (gst_basesink_change_state):
21536 * gst/base/gstbasesink.h:
21537 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21538 (gst_base_transform_base_init), (gst_base_transform_finalize),
21539 (gst_base_transform_class_init), (gst_base_transform_init),
21540 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21541 (gst_base_transform_event), (gst_base_transform_getrange),
21542 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21543 (gst_base_transform_set_property),
21544 (gst_base_transform_get_property),
21545 (gst_base_transform_sink_activate),
21546 (gst_base_transform_src_activate),
21547 (gst_base_transform_change_state):
21548 * gst/base/gstbasetransform.h:
21549 * gst/elements/gstidentity.c: (gst_identity_finalize),
21550 (gst_identity_class_init), (gst_identity_init),
21551 (gst_identity_event), (gst_identity_check_perfect),
21552 (gst_identity_transform), (gst_identity_set_property),
21553 (gst_identity_get_property), (gst_identity_change_state):
21554 * gst/elements/gstidentity.h:
21555 * gst/gstelement.c: (gst_element_get_state_func),
21556 (gst_element_lost_state), (gst_element_pads_activate):
21557 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21558 (gst_pad_check_pull_range), (gst_pad_pull_range):
21560 Simplify pad activation.
21561 Added function to check if pull_range can be performed.
21562 Error out when pulling inactive or flushing pads.
21563 Removed const from refcounted types as it does not make sense.
21564 Simplify pad templates in basesink
21565 Added base class for simple 1-to-1 transforms.
21566 Make identity subclass the base transform.
21568 2005-03-29 Andy Wingo <wingo@pobox.com>
21570 * docs/libs/gstreamer-libs-overrides.txt:
21571 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
21572 really don't understand what's going on, but like whatever. I want
21575 * docs/gst/Makefile.am:
21576 * docs/libs/Makefile.am: Dist the overrides files.
21578 * check/Makefile.am (clean-local): Remove .libs directories.
21580 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
21581 elements to EXTRA_DIST, so po/ files are happy.
21583 * po/POTFILES.in: Er, remove it here.
21585 * po/POTFILES: Remove gstspider.c.
21587 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
21589 * docs/libs/gstreamer-libs-docs.sgml:
21590 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
21593 * tests/complexity.c (main): Set the length of the preroll queue
21594 on the sinks to prevent a lockup.
21596 * libs/gst/dataprotocol/Makefile.am:
21597 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
21598 the same as the one in check/gst-libs/gdp.c.
21600 * po/, docs/gst/: Commit automatic changes to docs and po files.
21602 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
21603 the versioned libgstbase.
21605 * check/Makefile.am: Depend on an unversioned gst-register, seems
21606 to make autoconf happier.
21608 * gst/base/Makefile.am: Make libgstbase a versioned lib.
21610 2005-03-28 Wim Taymans <wim@fluendo.com>
21613 * docs/design/part-gstelement.txt:
21614 * docs/design/part-negotiation.txt:
21615 * docs/design/part-preroll.txt:
21616 * docs/design/part-scheduling.txt:
21617 * docs/design/part-states.txt:
21619 * gst/base/Makefile.am:
21621 * gst/base/gstbasesink.c: (gst_basesink_get_template),
21622 (gst_basesink_base_init), (gst_basesink_class_init),
21623 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21624 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21625 (gst_basesink_set_pad_functions),
21626 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
21627 (gst_basesink_set_property), (gst_basesink_get_property),
21628 (gst_base_sink_get_template), (gst_base_sink_get_caps),
21629 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
21630 (gst_basesink_preroll_queue_push),
21631 (gst_basesink_preroll_queue_empty),
21632 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
21633 (gst_basesink_event), (gst_basesink_get_times),
21634 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
21635 (gst_basesink_chain_unlocked), (gst_basesink_chain),
21636 (gst_basesink_loop), (gst_basesink_activate),
21637 (gst_basesink_change_state):
21638 * gst/base/gstbasesink.h:
21639 * gst/elements/Makefile.am:
21640 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
21641 (gst_fakesink_class_init), (gst_fakesink_init),
21642 (gst_fakesink_set_property), (gst_fakesink_get_property),
21643 (gst_fakesink_get_times), (gst_fakesink_event),
21644 (gst_fakesink_preroll), (gst_fakesink_render),
21645 (gst_fakesink_change_state):
21646 * gst/elements/gstfakesink.h:
21647 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
21648 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
21649 * gst/gstelement.c: (gst_element_add_pad),
21650 (gst_element_get_state_func), (gst_element_abort_state),
21651 (gst_element_commit_state), (gst_element_lost_state),
21652 (gst_element_set_state), (gst_element_pads_activate):
21653 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
21654 * gst/gstpipeline.c: (gst_pipeline_send_event),
21655 (gst_pipeline_change_state):
21656 Added state change code.
21657 Added/updated docs.
21658 Added sink base class, make fakesink extend the base class.
21659 Small cleanups in GstPipeline.
21661 2005-03-26 David Schleef <ds@schleef.org>
21663 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
21664 is broken and should be implemented in a different library.
21665 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
21666 * gst/gst.h: remove gstcpu.h
21667 * gst/gstcpu.c: remove
21668 * gst/gstcpu.h: remove
21669 * gst/Makefile.am.future: Remove this file. It's ancient.
21671 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21673 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
21674 (gst_bin_send_event):
21675 Add default event/set_manager handlers. The set_manager handler
21676 takes care that the manager is distributed over kids that were
21677 already in the bin before the manager was set. The event handler
21678 is a utility virtual function that sends the event over all sinks,
21679 so that gst_element_send_event (bin, event); has the expected
21681 * gst/gstpad.c: (gst_pad_event_default):
21682 Re-install default event handling for discontinuities, so that
21683 seeking works without requiring hacks in applications or extra
21685 * gst/gstpipeline.c: (gst_pipeline_class_init),
21686 (gst_pipeline_send_event):
21687 Half hack, half utility: set a pipeline to PAUSED for seek events,
21688 since that is the only way we can guarantee a/v sync. Means that
21689 you can do gst_element_seek (pipeline, method, pos); on a pipeline
21690 and it "just works".
21692 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21694 * gst/gstpipeline.c: (gst_pipeline_use_clock):
21695 Lock/unlock mismatch.
21697 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
21699 * docs/faq/gst-uninstalled:
21700 add gst-plugins-base
21701 * docs/gst/Makefile.am:
21702 don't error out until docs are fixed
21703 * docs/gst/gstreamer.types:
21706 2005-03-22 Wim Taymans <wim@fluendo.com>
21708 * check/Makefile.am:
21709 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
21710 * gst/gststructure.c: (gst_structure_set_valist),
21711 (gst_structure_copy_conditional):
21712 Activated more tests.
21713 Added message test.
21714 Added G_TYPE_POINTER to GstStructure.
21717 2005-03-22 Wim Taymans <wim@fluendo.com>
21719 * docs/design/part-TODO.txt:
21720 * docs/design/part-events.txt:
21721 * docs/design/part-gstbin.txt:
21722 * docs/design/part-gstbus.txt:
21723 * docs/design/part-gstpipeline.txt:
21724 * docs/design/part-messages.txt:
21726 * gst/gstmessage.c:
21729 2005-03-21 Wim Taymans <wim@fluendo.com>
21731 * gst/gstbus.c: (gst_bus_post):
21732 Fix copy-and-paste error.
21734 2005-03-21 Wim Taymans <wim@fluendo.com>
21736 * check/Makefile.am:
21738 * gst/elements/Makefile.am:
21739 * gst/elements/gstelements.c:
21740 * gst/elements/gstfakesink.c: (gst_fakesink_init),
21741 (gst_fakesink_event), (gst_fakesink_chain):
21742 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21743 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
21744 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
21745 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
21746 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21747 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
21748 (gst_fakesrc_loop), (gst_fakesrc_activate),
21749 (gst_fakesrc_change_state):
21750 * gst/elements/gstfakesrc.h:
21751 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
21752 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
21753 (gst_filesrc_open_file), (gst_filesrc_loop),
21754 (gst_filesrc_activate), (gst_filesrc_change_state),
21755 (filesrc_find_peek), (filesrc_find_suggest),
21756 (gst_filesrc_type_find):
21757 * gst/elements/gstidentity.c: (gst_identity_finalize),
21758 (gst_identity_class_init), (gst_identity_init),
21759 (gst_identity_proxy_getcaps), (identity_queue_push),
21760 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
21761 (gst_identity_getrange), (gst_identity_chain),
21762 (gst_identity_sink_loop), (gst_identity_src_loop),
21763 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
21764 (gst_identity_set_property), (gst_identity_get_property),
21765 (gst_identity_change_state):
21766 * gst/elements/gstidentity.h:
21767 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
21768 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
21769 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
21770 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
21771 (gst_tee_sink_activate):
21772 * gst/elements/gsttee.h:
21773 * gst/gst.c: (gst_register_core_elements), (init_post):
21775 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
21776 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
21777 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
21778 (gst_bin_change_state):
21780 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
21781 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
21782 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
21783 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
21784 (gst_bus_set_sync_handler), (gst_bus_create_watch),
21785 (bus_watch_callback), (bus_watch_destroy),
21786 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
21787 (poll_timeout), (gst_bus_poll):
21791 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
21792 (gst_element_post_message), (gst_element_message_full),
21793 (gst_element_get_state_func), (gst_element_get_state),
21794 (gst_element_abort_state), (gst_element_commit_state),
21795 (gst_element_lost_state), (gst_element_set_state),
21796 (gst_element_pads_activate), (gst_element_change_state),
21797 (gst_element_dispose), (gst_element_set_manager_func),
21798 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
21799 (gst_element_set_manager), (gst_element_get_manager),
21800 (gst_element_set_bus), (gst_element_get_bus),
21801 (gst_element_set_scheduler), (gst_element_get_scheduler):
21802 * gst/gstelement.h:
21803 * gst/gstevent.c: (gst_event_new_segment_seek),
21804 (gst_event_new_flush):
21806 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
21807 (_gst_message_free), (gst_message_get_type), (gst_message_new),
21808 (gst_message_new_eos), (gst_message_new_error),
21809 (gst_message_new_warning), (gst_message_new_tag),
21810 (gst_message_new_state_changed), (gst_message_new_application),
21811 (gst_message_get_structure), (gst_message_parse_tag),
21812 (gst_message_parse_state_changed), (gst_message_parse_error),
21813 (gst_message_parse_warning):
21814 * gst/gstmessage.h:
21815 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
21816 (gst_real_pad_set_property), (gst_pad_set_active),
21817 (gst_pad_is_active), (gst_pad_set_blocked_async),
21818 (gst_pad_set_blocked), (gst_pad_is_blocked),
21819 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
21820 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
21821 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
21822 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
21823 (gst_pad_link_filtered), (gst_pad_relink_filtered),
21824 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
21825 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
21826 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
21827 (gst_pad_set_caps), (gst_pad_configure_sink),
21828 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
21829 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
21830 (gst_real_pad_dispose), (gst_real_pad_finalize),
21831 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
21832 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21833 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
21835 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
21836 (pipeline_bus_handler), (gst_pipeline_change_state),
21837 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
21838 * gst/gstpipeline.h:
21840 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21841 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
21842 (gst_queue_link_src), (gst_queue_bufferalloc),
21843 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
21844 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
21845 (gst_queue_loop), (gst_queue_handle_src_event),
21846 (gst_queue_handle_src_query), (gst_queue_src_activate),
21847 (gst_queue_change_state):
21849 * gst/gstscheduler.c: (gst_scheduler_init),
21850 (gst_scheduler_dispose), (gst_scheduler_create_task),
21851 (gst_scheduler_factory_create):
21852 * gst/gstscheduler.h:
21853 * gst/gststructure.c: (gst_structure_get_type),
21854 (gst_structure_copy_conditional):
21855 * gst/gststructure.h:
21856 * gst/gsttaginterface.h:
21857 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21858 (gst_task_init), (gst_task_dispose), (gst_task_create),
21859 (gst_task_get_state), (gst_task_start), (gst_task_stop),
21865 * gst/schedulers/Makefile.am:
21866 * gst/schedulers/cothreads_compat.h:
21867 * gst/schedulers/entryscheduler.c:
21868 * gst/schedulers/faircothreads.c:
21869 * gst/schedulers/faircothreads.h:
21870 * gst/schedulers/fairscheduler.c:
21871 * gst/schedulers/gstbasicscheduler.c:
21872 * gst/schedulers/gstoptimalscheduler.c:
21873 * gst/schedulers/gthread-cothreads.h:
21874 * gst/schedulers/threadscheduler.c:
21875 (gst_thread_scheduler_task_get_type),
21876 (gst_thread_scheduler_task_class_init),
21877 (gst_thread_scheduler_task_init),
21878 (gst_thread_scheduler_task_start),
21879 (gst_thread_scheduler_task_stop),
21880 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
21881 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21882 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
21883 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
21885 * libs/gst/Makefile.am:
21886 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
21887 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
21888 (gst_file_pad_parent_set):
21889 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21890 (gst_dp_event_from_packet):
21891 * tests/complexity.c: (main):
21892 * tests/mass_elements.c: (main):
21893 * testsuite/states/locked.c: (message_received), (main):
21894 * testsuite/states/parent.c: (main):
21895 * tools/gst-inspect.c: (print_element_flag_info),
21896 (print_implementation_info), (print_pad_info):
21897 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
21899 * tools/gst-md5sum.c: (event_loop), (main):
21900 * tools/gst-typefind.c: (main):
21901 * tools/gst-xmlinspect.c: (print_element_info):
21903 Added GstBus for mainloop integration.
21904 Added GstMessage for sending notifications on the bus.
21905 Added GstTask as an abstraction for pipeline entry points.
21907 Removed Schedulers.
21908 Simplified GstQueue for multithreaded core.
21909 Made _link threadsafe, removed old capsnego.
21910 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
21911 Added pad blocking functions.
21912 Reworked scheduling functions in GstPad to prepare for
21913 scheduling updates soon.
21914 Moved events out of data stream.
21915 Simplified GstEvent types.
21916 Added return values to push/pull.
21917 Removed clocking from GstElement.
21918 Added prototypes for state change function for next merge.
21919 Removed iterate from bins and state change management.
21920 Fixed some elements, disabled others for now.
21921 Fixed -inspect and -launch.
21922 Added check for GstBus.
21924 2005-03-10 Wim Taymans <wim@fluendo.com>
21926 * docs/design/part-MT-refcounting.txt:
21927 * docs/design/part-clocks.txt:
21928 * docs/design/part-gstelement.txt:
21929 * docs/design/part-gstobject.txt:
21930 * docs/design/part-standards.txt:
21931 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
21932 (gst_bin_remove_func), (gst_bin_remove):
21936 * testsuite/clock/clock1.c: (main):
21937 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
21939 * testsuite/dlopen/loadgst.c: (do_test):
21940 * testsuite/refcounting/bin.c: (add_remove_test1),
21941 (add_remove_test2), (main):
21942 * testsuite/refcounting/element.c: (main):
21943 * testsuite/refcounting/element_pad.c: (main):
21944 * testsuite/refcounting/pad.c: (main):
21945 * tools/gst-launch.c: (sigint_handler_sighandler):
21946 * tools/gst-typefind.c: (main):
21948 Added doc about clock.
21949 removed gst_bin_iterate_recurse_up(), marked methods
21951 Fix more testsuites.
21953 2005-03-09 Wim Taymans <wim@fluendo.com>
21955 * gst/gstpad.c: (gst_pad_get_direction),
21956 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
21957 (gst_pad_collect_valist):
21958 * testsuite/bins/interface.c: (main):
21959 * testsuite/caps/audioscale.c: (test_caps):
21960 * testsuite/caps/caps.c: (test1), (test2), (test3):
21961 * testsuite/caps/deserialize.c: (main):
21962 * testsuite/caps/enumcaps.c: (main):
21963 * testsuite/caps/filtercaps.c: (main):
21964 * testsuite/caps/intersect2.c: (main):
21965 * testsuite/caps/random.c: (main):
21966 * testsuite/caps/renegotiate.c: (my_fixate), (main):
21967 * testsuite/caps/sets.c: (check_caps):
21968 * testsuite/caps/simplify.c: (check_caps), (main):
21969 * testsuite/caps/subtract.c: (check_caps):
21970 Fix _pad_get_direction wrt ghostpads.
21971 Fix caps testsuite.
21973 2005-03-09 Wim Taymans <wim@fluendo.com>
21975 * check/Makefile.am:
21976 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
21977 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
21978 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
21979 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
21980 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
21981 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
21982 (gst_bin_remove), (gst_bin_iterate_recurse_up),
21983 (bin_element_is_sink), (gst_bin_iterate_sinks),
21984 (gst_bin_iterate_all_by_interface):
21986 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
21987 (gst_element_change_state), (gst_element_dispose),
21988 (gst_element_finalize), (gst_element_set_loop_function):
21989 * gst/gstelement.h:
21990 * gst/gstiterator.c: (find_custom_fold_func):
21991 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
21992 (gst_pad_collectv), (gst_pad_collect_valist),
21993 (gst_pad_template_new):
21994 * gst/gstpipeline.c: (gst_pipeline_class_init),
21995 (gst_pipeline_dispose), (gst_pipeline_set_property),
21996 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
21997 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
21998 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22000 * gst/schedulers/entryscheduler.c:
22001 * gst/schedulers/gstbasicscheduler.c:
22002 (gst_basic_scheduler_cothreaded_chain),
22003 (gst_basic_scheduler_chain_add_element):
22004 * testsuite/bins/interface.c: (main):
22006 Added GstSystemClock test.
22007 Implemented clock distribution code in GstBin.
22008 Implemented iterate sinks method for future use.
22009 Rearranged gstelement.h
22010 Fix GstIterator comparison bug.
22011 Moved some code to GstPipeline, mostly clocking related.
22013 2005-03-09 Wim Taymans <wim@fluendo.com>
22016 * gst/gst_private.h:
22017 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22018 (gst_bin_remove_func), (gst_bin_remove),
22019 (gst_bin_get_by_name_recurse_up):
22020 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22021 (gst_clock_id_compare_func), (gst_clock_id_wait),
22022 (gst_clock_id_wait_async), (gst_clock_init),
22023 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22024 * gst/gstelement.h:
22025 * gst/gstinfo.c: (_gst_debug_init):
22027 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22028 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22030 Bump version number, we're now 0.9.0
22031 Add future debugging category.
22032 Fix NULL _unref() in _get_by_name_recurse_up
22033 Rearrange gstpad.h.
22036 2005-03-08 Wim Taymans <wim@fluendo.com>
22038 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22039 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22040 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22041 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22042 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22043 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22044 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22045 * gst/elements/gstidentity.c: (gst_identity_class_init):
22046 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22047 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22048 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22049 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22050 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22052 * gst/gstelement.c: (gst_element_class_init),
22053 (gst_element_base_class_init), (gst_element_init),
22054 (gst_element_get_random_pad), (gst_element_wait_state_change),
22055 (gst_element_change_state), (gst_element_dispose),
22056 (gst_element_finalize), (gst_element_set_loop_function):
22057 * gst/gstelement.h:
22058 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22059 * gst/gstthread.c: (gst_thread_class_init),
22060 (gst_thread_release_children_locks), (gst_thread_change_state):
22061 * gst/schedulers/gstbasicscheduler.c:
22062 (gst_basic_scheduler_loopfunc_wrapper),
22063 (gst_basic_scheduler_chain_wrapper),
22064 (gst_basic_scheduler_src_wrapper),
22065 (gst_basic_scheduler_remove_element):
22066 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22067 Remove threadsafe properties. Fix elements because GObject
22068 complains when installing a property before declaring a
22069 set/get_property handler.
22070 Rearrange gstelement.h file, use STATE macros for state locks.
22071 Free mutexes in the finalize method instead of dispose.
22073 2005-03-08 Wim Taymans <wim@fluendo.com>
22075 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22076 * gst/gstthread.c: (gst_thread_release_children_locks):
22077 Added parentage check.
22078 Fix build og GstThread again.
22080 2005-03-08 Wim Taymans <wim@fluendo.com>
22082 * docs/design/part-MT-refcounting.txt:
22083 * docs/design/part-conventions.txt:
22084 * docs/design/part-gstobject.txt:
22085 * docs/design/part-relations.txt:
22086 * docs/design/part-standards.txt:
22087 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22088 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22089 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22090 (gst_bin_iterate_all_by_interface):
22093 * gst/gstelement.c: (gst_element_class_init),
22094 (gst_element_change_state), (gst_element_set_loop_function):
22095 * gst/gstelement.h:
22096 * gst/gstiterator.c:
22097 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22098 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22099 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22100 (gst_object_set_parent), (gst_object_unparent),
22101 (gst_object_check_uniqueness):
22103 Docs updates, clean up some headers.
22105 2005-03-07 Wim Taymans <wim@fluendo.com>
22107 * check/.cvsignore:
22108 * check/Makefile.am:
22109 * check/gst-libs/.cvsignore:
22110 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22111 * check/gst/.cvsignore:
22112 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22113 (START_TEST), (gstbus_suite), (main):
22114 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22115 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22116 (gst_data_suite), (main):
22117 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22118 (add_fold_func), (gstiterator_suite), (main):
22119 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22120 (thread_name_object), (thread_name_object_default),
22121 (gst_object_name_compare), (gst_object_suite), (main):
22122 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22123 (gst_pad_suite), (main):
22124 * check/gstcheck.c: (gst_check_log_message_func),
22125 (gst_check_log_critical_func), (gst_check_init):
22126 * check/gstcheck.h:
22127 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22128 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22131 2005-03-07 Wim Taymans <wim@fluendo.com>
22133 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22134 (gst_list_iterator_next), (gst_list_iterator_resync),
22135 (gst_list_iterator_free), (gst_iterator_new_list),
22136 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22137 (gst_iterator_free), (gst_iterator_push), (filter_next),
22138 (filter_resync), (filter_uninit), (filter_free),
22139 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22140 (gst_iterator_foreach), (find_custom_fold_func),
22141 (gst_iterator_find_custom):
22142 * gst/gstiterator.h:
22143 Added missing files.
22145 2005-03-07 Wim Taymans <wim@fluendo.com>
22149 * docs/design/part-MT-refcounting.txt:
22150 * docs/design/part-conventions.txt:
22151 * docs/design/part-gstobject.txt:
22152 * docs/design/part-relations.txt:
22153 * examples/mixer/mixer.c: (main):
22154 * examples/thread/thread.c: (eos), (main):
22156 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22157 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22158 (gst_spider_plug_from_srcpad):
22159 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22160 (gst_spider_identity_change_state),
22161 (gst_spider_identity_sink_loop_type_finding):
22162 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22163 * gst/elements/gstidentity.c: (gst_identity_init):
22164 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22165 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22166 * gst/elements/gsttypefindelement.c: (free_entry):
22169 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22170 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22171 (gst_bin_set_index), (gst_bin_set_element_sched),
22172 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22173 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22174 (gst_bin_iterate_elements), (iterate_child_recurse),
22175 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22176 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22177 (compare_interface), (gst_bin_get_by_interface),
22178 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22180 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22181 (gst_buffer_default_free), (gst_buffer_default_copy),
22182 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22183 (gst_buffer_create_sub):
22185 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22186 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22187 (gst_caps_unref), (gst_static_caps_get),
22188 (gst_caps_remove_and_get_structure), (gst_caps_append),
22189 (gst_caps_append_structure), (gst_caps_remove_structure),
22190 (gst_caps_copy_nth), (gst_caps_set_simple),
22191 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22192 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22193 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22194 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22195 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22196 (gst_caps_structure_figure_out_union),
22197 (gst_caps_switch_structures), (gst_caps_do_simplify),
22198 (gst_caps_replace), (gst_caps_from_string),
22199 (gst_caps_copy_conditional):
22201 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22202 (_gst_clock_id_free), (gst_clock_id_unref),
22203 (gst_clock_id_compare_func), (gst_clock_id_wait),
22204 (gst_clock_id_wait_async), (gst_clock_class_init),
22205 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22206 (gst_clock_get_time), (gst_clock_set_time_adjust),
22207 (gst_clock_set_property), (gst_clock_get_property):
22210 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22211 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22213 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22214 (gst_element_requires_clock), (gst_element_provides_clock),
22215 (gst_element_set_clock), (gst_element_clock_wait),
22216 (gst_element_wait), (gst_element_set_time_delay),
22217 (gst_element_is_indexable), (gst_element_add_pad),
22218 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22219 (pad_compare_name), (gst_element_get_static_pad),
22220 (gst_element_request_pad), (gst_element_get_request_pad),
22221 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22222 (gst_element_class_get_pad_template_list),
22223 (gst_element_class_get_pad_template), (gst_element_error_func),
22224 (gst_element_get_random_pad), (gst_element_get_event_masks),
22225 (gst_element_send_event), (gst_element_seek),
22226 (gst_element_get_query_types), (gst_element_query),
22227 (gst_element_get_formats), (gst_element_convert),
22228 (gst_element_is_locked_state), (gst_element_set_locked_state),
22229 (gst_element_sync_state_with_parent), (gst_element_change_state),
22230 (gst_element_finalize), (gst_element_yield),
22231 (gst_element_interrupt), (gst_element_set_scheduler),
22232 (gst_element_get_scheduler), (gst_element_set_loop_function):
22233 * gst/gstelement.h:
22235 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22236 (gst_format_get_by_nick), (gst_format_get_details),
22237 (gst_format_iterate_definitions):
22239 * gst/gstindex.c: (gst_index_gtype_resolver):
22242 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22243 (gst_mem_chunk_free):
22244 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22245 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22246 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22247 (gst_object_dispatch_properties_changed),
22248 (gst_object_set_name_default), (gst_object_set_name),
22249 (gst_object_get_name), (gst_object_set_name_prefix),
22250 (gst_object_get_name_prefix), (gst_object_set_parent),
22251 (gst_object_get_parent), (gst_object_unparent),
22252 (gst_object_check_uniqueness), (gst_object_save_thyself),
22253 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22254 (gst_object_set_property), (gst_object_get_property),
22255 (gst_object_get_path_string):
22257 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22258 (gst_real_pad_init), (gst_real_pad_get_property),
22259 (gst_pad_custom_new), (gst_pad_get_direction),
22260 (gst_pad_set_active), (gst_pad_is_active),
22261 (gst_pad_set_event_function), (gst_pad_is_linked),
22262 (gst_pad_link_free), (gst_pad_link_intersect),
22263 (gst_pad_link_fixate), (gst_pad_set_caps),
22264 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22265 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22266 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22267 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22268 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22269 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22270 (gst_pad_realize), (gst_pad_get_allowed_caps),
22271 (gst_real_pad_dispose), (gst_real_pad_finalize),
22272 (gst_pad_collectv), (gst_pad_collect_valist),
22273 (gst_pad_template_dispose), (gst_pad_template_new),
22274 (gst_pad_get_internal_links):
22276 * gst/gstpipeline.c: (gst_pipeline_dispose),
22277 (gst_pipeline_change_state):
22278 * gst/gstpipeline.h:
22280 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22281 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22282 * gst/gstpluginfeature.h:
22283 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22284 * gst/gstquery.c: (_gst_query_type_initialize),
22285 (gst_query_type_register), (gst_query_type_get_by_nick),
22286 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22288 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22289 * gst/gstscheduler.c: (gst_scheduler_add_element),
22290 (gst_scheduler_factory_create):
22291 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22292 (gst_structure_free), (gst_structure_set_name),
22293 (gst_structure_id_set_value), (gst_structure_set_value),
22294 (gst_structure_set_valist), (gst_structure_remove_field),
22295 (gst_structure_remove_fields),
22296 (gst_structure_remove_fields_valist),
22297 (gst_structure_remove_all_fields), (gst_structure_foreach),
22298 (gst_structure_map_in_place),
22299 (gst_caps_structure_fixate_field_nearest_int),
22300 (gst_caps_structure_fixate_field_nearest_double):
22301 * gst/gststructure.h:
22302 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22303 (gst_system_clock_init), (gst_system_clock_dispose),
22304 (gst_system_clock_async_thread),
22305 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22306 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22307 * gst/gstsystemclock.h:
22308 * gst/gsttag.c: (gst_tag_list_add_value_internal),
22309 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22310 * gst/gsttaginterface.c:
22311 * gst/gstthread.c: (gst_thread_dispose),
22312 (gst_thread_release_children_locks), (gst_thread_change_state),
22313 (gst_thread_main_loop):
22314 * gst/gsttrashstack.h:
22315 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22317 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22318 (gst_element_request_pad), (gst_element_get_pad_from_template),
22319 (gst_element_request_compatible_pad),
22320 (gst_element_get_compatible_pad_filtered),
22321 (gst_element_get_compatible_pad), (gst_element_state_get_name),
22322 (gst_element_link_pads_filtered), (gst_element_link_filtered),
22323 (gst_element_link_many), (gst_element_link),
22324 (gst_element_link_pads), (gst_element_unlink_pads),
22325 (gst_element_unlink_many), (gst_element_unlink),
22326 (gst_pad_can_link_filtered), (gst_pad_can_link),
22327 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22328 (gst_object_default_error), (gst_bin_add_many),
22329 (gst_bin_remove_many), (gst_element_populate_std_props),
22330 (gst_element_class_install_std_props), (gst_buffer_merge),
22331 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22332 (link_fold_func), (gst_pad_proxy_setcaps):
22334 * gst/gstvalue.c: (gst_value_deserialize_string):
22335 * gst/parse/grammar.y:
22336 * gst/schedulers/gstbasicscheduler.c:
22337 (gst_basic_scheduler_cothreaded_chain),
22338 (gst_basic_scheduler_chain_recursive_add),
22339 (gst_basic_scheduler_pad_link):
22340 * gst/schedulers/gstoptimalscheduler.c:
22341 (get_group_schedule_function),
22342 (gst_opt_scheduler_state_transition),
22343 (gst_opt_scheduler_add_element), (element_get_reachables_func):
22344 * libs/gst/bytestream/bytestream.c:
22345 * libs/gst/dataprotocol/dataprotocol.c:
22346 (gst_dp_header_from_buffer):
22349 * tests/threadstate/threadstate2.c: (eos):
22350 * tools/gst-compprep.c: (main):
22351 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22352 (print_pad_info), (print_children_info):
22353 * tools/gst-launch.c: (idle_func), (main):
22354 * tools/gst-md5sum.c: (idle_func), (main):
22355 * tools/gst-xmlinspect.c: (print_element_info):
22356 First THREADED backport attempt, focusing on adding locks and
22357 making sure the API is threadsafe. Needs more work. More docs
22360 2005-02-24 Andy Wingo <wingo@pobox.com>
22362 * tests/bench-complexity.scm:
22363 * tests/complexity.gnuplot: New files, good for running complexity
22366 * tests/Makefile.am:
22367 * tests/complexity.c: New test, sets up N elements, at each level
22368 teeing into M streams per element. Eeeenteresting.
22370 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22371 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22372 running bench-mass_elements.scm.
22374 * tests/bench-mass_elements.scm: New script, runs mass_elements
22375 for various numbers of identities, outputting the results to a
22376 file. Requires guile 1.6. Just for testing.
22378 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
22380 * gst/schedulers/fairscheduler.c:
22381 compile with debug disabled
22383 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
22386 hunting season on 0.9 is now OPEN