1 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
4 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5 * win32/common/libgstbase.def:
6 export gst_collect_pads_set_flushing
7 * win32/common/libgstreamer.def:
8 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9 gst_value_fraction_multiply
10 * win32/vs6/gst_inspect.dsp:
11 add a link to intl.lib
13 2006-05-30 Wim Taymans <wim@fluendo.com>
15 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
16 (gst_collect_pads_chain):
17 Handle the case where a pad is removed from the collection
18 that could cause the other pads to become collectable.
20 2006-05-30 Wim Taymans <wim@fluendo.com>
23 Clarify the use of _release_request_pad() and
24 _get_request_pad() a bit better.
26 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
27 (gst_adapter_take_buffer):
28 Fix some doc and comment typos.
30 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
32 * docs/gst/gstreamer-sections.txt:
33 * docs/libs/gstreamer-libs-sections.txt:
36 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
38 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
39 Add debug that can be enabled using a #define at the top of the file,
40 for dumping stats about how late/early we were when waking up from
43 2006-05-30 Wim Taymans <wim@fluendo.com>
45 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
46 When rebuilding the pad list, don't leak the previous list.
48 2006-05-30 Wim Taymans <wim@fluendo.com>
50 Patch by: Lutz Mueller <lutz at topfrose dot de>
52 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
53 (gst_base_src_get_query_types), (gst_base_src_update_length):
54 Publish supported query types.
55 Update last_stop field in get_range mode so the position
56 query works. Fixes #342321.
58 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
60 * docs/gst/gstreamer-sections.txt:
61 * gst/gsttaglist.c: (_gst_tag_initialize):
63 API: add GST_TAG_PREVIEW_IMAGE (#343341).
65 2006-05-30 Wim Taymans <wim@fluendo.com>
67 Patch by: Alessandro Decina <alessandro at nnva dot org>
69 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
70 Unlock mutex when removing an unknown pad.
73 * tests/check/Makefile.am:
74 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
75 (push_event), (setup), (teardown), (GST_START_TEST),
76 (gst_collect_pads_suite), (main):
77 Added collecpads check, disabled for now as check crashes for
80 2006-05-29 Wim Taymans <wim@fluendo.com>
82 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
83 Don't leak pads lists.
85 2006-05-29 Wim Taymans <wim@fluendo.com>
87 * docs/libs/gstreamer-libs-sections.txt:
88 * libs/gst/base/gstcollectpads.c:
89 (gst_collect_pads_set_flushing_unlocked),
90 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
91 (gst_collect_pads_stop):
92 * libs/gst/base/gstcollectpads.h:
93 API: gst_collect_pads_set_flushing
94 Added api to set the pads to flushing, usefull for seeking
95 code in elements using collectpads.
96 Clear segment when receiving a flush.
98 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
100 * gst/gst.c: (add_path_func), (init_post):
101 Don't scan registry paths passed via --gst-plugin--path immediately
102 (will crash, because absolutely nothing is set up and no types are
103 registered etc.); do this later in init_post(). Fixes #343057.
105 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
107 * gst/gst.c: (init_post):
108 if we have fork, fork while reading/rebuilding the registry
109 so the parent doesn't take the hit of having all plugins loaded
110 in memory. Fixes #342777.
112 Check if we have fork()
113 * win32/common/config.h.in:
116 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
118 * plugins/elements/gstelements.c:
119 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
120 (gst_file_src_init), (gst_file_src_set_property),
121 (gst_file_src_get_property), (gst_file_src_start):
122 * plugins/elements/gstfilesrc.h:
124 Add a use-mmap property to enable easier testing of all code paths.
125 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
126 in the absence of gnomevfssrc. (Closes #340501)
128 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
130 * tools/gst-inspect.c:
131 Add missing include, removes warning of ngettext not being defined on
134 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
136 * gst/gstvalue.c: (gst_value_deserialize_fraction):
137 Handle NULL input and output pointers silently as a failed conversion,
138 rather than g_warnings.
140 2006-05-25 Wim Taymans <wim@fluendo.com>
142 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
143 Initialize variable before using. Fixes #342820.
145 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
147 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
148 Fix off-by-one bug that would only allow peeks of N-1 bytes
149 from the start even if the buffer to typefind on contains
150 in fact N bytes of data (makes vorbis typefinding from a
151 vorbis identification header buffer work).
153 * tests/check/Makefile.am:
154 * tests/check/libs/.cvsignore:
155 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
156 (gst_typefindhelper_suite), (main), (foobar_typefind),
158 Add very basic unit test for gst_type_find_helper_for_buffer()
159 that checks for the problem fixed above.
161 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
163 * tools/gst-inspect.c: (print_interfaces),
164 (print_element_properties_info), (print_element_list), (main):
165 add more translatable strings
167 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
169 Patch by: Julien Moutte <julien at moutte net>
171 * docs/gst/gstreamer-sections.txt:
172 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
174 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
175 (gst_fake_sink_preroll):
176 * plugins/elements/gstfakesink.h:
177 Add new ::preroll-handoff signal (#337100).
179 2006-05-23 Wim Taymans <wim@fluendo.com>
181 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
183 Added _CUSTOM error and success GstFlowReturn that can be
184 used be elements internally.
185 Added macro to check for SUCCESS flowreturns.
186 API: GST_FLOW_CUSTOM_SUCCESS
187 API: GST_FLOW_CUSTOM_ERROR
188 API: GST_FLOW_IS_SUCCESS
190 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
191 Added check for GstFlowReturn sanity.
193 2006-05-23 Wim Taymans <wim@fluendo.com>
195 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
197 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
198 (gst_collect_pads_event):
199 clear/reset segment info in FLUSH_STOP.
202 2006-05-22 Stefan Kost <ensonic@users.sf.net>
204 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
205 (gst_collect_pads_check_collected):
206 Flush queued buffer on _stop(), fixes playing again (#342454)
208 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
210 * tests/check/gst/gststructure.c: (GST_START_TEST),
211 (gst_structure_suite):
212 add a test for a complete structure
214 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
216 * docs/faq/developing.xml:
218 * docs/faq/troubleshooting.xml:
219 * docs/faq/using.xml:
220 Some minor FAQ updates that won't change the fact that
221 our FAQ is badly structured, full of information hardly
222 anyone new to GStreamer needs to know and lacking lots
223 of information people constantly ask for.
225 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
227 * gst/gstpad.c: (gst_pad_set_caps):
228 Short-circuit gst_pad_set_caps if setting the existing
229 caps pointer again, and avoid printing debug and
230 reffing/unreffing the caps.
232 * plugins/elements/gstqueue.c: (gst_queue_push_one):
233 There's actually no need to set the caps before pushing -
234 the acceptcaps method will handle it anyway.
236 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
238 * docs/gst/gstreamer-sections.txt:
239 * win32/common/libgstreamer.def:
240 * gst/gstutils.c: (gst_element_seek_simple):
242 API: add gst_element_seek_simple() (#342238).
244 2006-05-18 Edward Hervey <edward@fluendo.com>
246 * gst/gsttypefind.c: (gst_type_find_get_type):
248 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
249 registered for GstTypeFind pointers. This allows wrapping the structure
250 in bindings (i.e. gst-python).
252 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
254 * gst/gsttagsetter.c:
255 Docs additions and fixes (see #339918).
257 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
259 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
260 The caps intersection algorithm can produce multiple copies of the
261 caps. Until that is fixed, we need to simplify the result to be
262 sure whether the allowed caps are fixed or not.
264 * plugins/elements/gstqueue.c: (gst_queue_init),
265 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
266 (gst_queue_push_one):
267 Proxied buffer alloc should not set the caps on the source pad.
268 When pushing buffers, we always accept the caps change that triggers.
269 This prevents negotiation errors caused by caps changing mid-stream
270 and then being refused on our source pad (because upstream is now
271 refusing those caps).
273 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
275 * tests/examples/helloworld/helloworld.c: (main):
276 Must plug audioconvert and audioresample between decoder
279 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
281 * gst/gstregistryxml.c: (read_string), (load_pad_template),
282 (load_feature), (load_plugin):
283 Allow empty strings for some of the plugin fields so we don't
284 drop valid plugin entries that were written out correctly
287 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
289 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
290 Use g_remove and g_rename instead of remove and rename that don't
291 handle utf8 characters. rename was failing for users who had specific
292 characters in their name then the registry was built at each
294 * win32/vs6/gst_inspect.dsp:
295 * win32/vs6/gst_launch.dsp:
296 * win32/vs6/libgstbase.dsp:
297 * win32/vs6/libgstcoreelements.dsp:
298 * win32/vs6/libgstreamer.dsp:
299 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
300 build of libgstreamer and clean unused libraries in projects link
303 2006-05-17 Edward Hervey <edward@fluendo.com>
305 * plugins/elements/gstqueue.c: (gst_queue_push_one):
306 The queue is not responsible for pushing an EOS when receiving a fatal
307 flow error. It's up to the real element driving the pipeline to do that.
309 2006-05-16 Edward Hervey <edward@fluendo.com>
311 * plugins/elements/gstqueue.c: (gst_queue_push_one):
312 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
313 buffer returned a fatal error. It should just send an EOS and stop
315 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
316 when pushing buffers on the queue and will be able to handle the event.
318 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
320 * docs/manual/basics-bins.xml:
321 * docs/manual/basics-init.xml:
322 Fix typos and minor errors in sample code (#341856).
324 2006-05-16 Wim Taymans <wim@fluendo.com>
326 * docs/design/part-qos.txt:
327 Fix indexes in formulas to make more sense.
329 2006-05-15 Wim Taymans <wim@fluendo.com>
331 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
332 Don't report POSITION based on clock time if sync is
335 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
338 Add cast to make compiler happy - refcount variable was a gint
339 in GstObject but is a guint in GObject and g_atomic_int_get()
342 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
344 * gst/parse/Makefile.am:
345 chain commands using &&, which also makes parallel make work
347 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
349 * docs/gst/gstreamer-sections.txt:
355 === release 0.10.6 ===
357 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
360 releasing 0.10.6, "Take the cannoli"
362 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
364 * tools/gst-launch.c: (print_tag):
365 Fix use of uninitialized variable in the hypothetical
366 case that some broken plugin creates a GST_TAG_IMAGE
367 tag containing a NULL buffer (#341667).
369 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
371 * tools/gst-launch.c: (print_tag):
372 Print something more intelligible for image tags when
373 using the -t switch (#341556).
375 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
380 define GST_MAJORMINOR so we have it available in win32/common/config.h
381 Possibly remove it from our Makefile.am files later
382 * win32/common/config.h:
383 * win32/common/config.h.in:
385 * win32/common/gstenumtypes.c: (register_gst_resource_error):
386 * win32/common/gstversion.h:
389 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
392 Update win32 files listing.
393 * win32/common/gstversion.h:
394 Add GST_MAJORMINOR definition.
395 * win32/common/libgstreamer.def:
396 Add new exported functions.
398 2006-05-12 Michael Smith <msmith@fluendo.com>
400 * gst/gstplugin.c: (gst_plugin_load_file):
401 If an so file has no plugin entry point, unload the module.
403 2006-05-11 Wim Taymans <wim@fluendo.com>
405 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
406 (gst_queue_set_property):
407 Don't forget to signal the _chain or _loop function
408 when the queue size or thresholds change since that might
409 cause them to make progres again.
411 2006-05-11 Stefan Kost <ensonic@users.sf.net>
413 * gst/gstclock.c: (gst_clock_class_init):
414 * gst/gstindex.c: (gst_index_class_init):
415 * gst/gstobject.c: (gst_object_class_init):
416 * gst/gstpad.c: (gst_pad_class_init):
417 * gst/gstpipeline.c: (gst_pipeline_class_init):
418 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
419 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
420 * libs/gst/base/gstbasetransform.c:
421 (gst_base_transform_class_init):
422 * libs/gst/net/gstnetclientclock.c:
423 (gst_net_client_clock_class_init):
424 * libs/gst/net/gstnettimeprovider.c:
425 (gst_net_time_provider_class_init):
426 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
427 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
428 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
429 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
430 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
431 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
432 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
433 * plugins/elements/gstidentity.c: (gst_identity_class_init):
434 * plugins/elements/gsttee.c: (gst_tee_class_init):
435 * tests/old/examples/plugins/example.c: (gst_example_class_init):
436 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
437 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
439 2006-05-11 Wim Taymans <wim@fluendo.com>
441 * gst/gstbuffer.c: (_gst_buffer_initialize):
442 Register subbufer along with the buffer type so that
443 it does not accidentally gets registered from N
444 different streaming threads in a non threadsafe way.
446 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
451 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
452 gst_event_ref() and gst_message_ref() functions again
453 (ugly hack, please do fix if there's a better way besides
454 overrides.txt, which doesn't seem to work).
456 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
458 * libs/gst/check/gstcheck.h:
459 add an assert for setting state to avoid lots of repetitive code
462 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
464 * gst/gstvalue.c: (gst_value_serialize_flags):
465 fix a leak if no flags are set
466 * tests/check/gst/gstvalue.c: (GST_START_TEST):
469 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
471 * docs/manual/basics-pads.xml:
472 Expand a bit on caps and filtered links and update
473 examples that were still using the no longer existing
474 gst_pad_link_filtered() (#338206).
476 2006-05-10 Wim Taymans <wim@fluendo.com>
478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
479 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
480 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
481 (gst_collect_pads_stop):
482 * libs/gst/base/gstcollectpads.h:
483 No need to call _stop in _finalize.
484 Iterate the main pad list in _finalize.
485 Added some more debug.
486 Free lists and data in the right order.
487 Also free data whem doing _remove_pad when stopped for
488 backward compatibility protect ::started with PAD_LOCK as
491 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
493 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
494 (gst_structure_parse_value):
496 rename a method so that it actually says what it does better
498 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
500 * gst/gstevent.c: (_gst_event_initialize):
501 * gst/gstformat.c: (_gst_format_initialize):
502 make sure some essential types used by events are registered
503 as part of gst_init()
504 * gst/gstvalue.c: (gst_value_serialize_flags):
505 if no flags are set, serialize them to a value that represents NONE
506 so that deserializing them works
507 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
508 add tests for serialization and deserialization of flags
510 2006-05-10 Wim Taymans <wim@fluendo.com>
512 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
513 (gst_collect_pads_collect_range), (gst_collect_pads_available),
514 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
515 (gst_collect_pads_event), (gst_collect_pads_chain):
518 Catch and return errors from the collect function
519 Refuse data on eos pads.
521 2006-05-10 Edward Hervey <edward@fluendo.com>
523 * gst/gstinterface.h:
524 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
525 GInterface type checking.
526 They were previously using non-defined macros.
528 2006-05-09 Wim Taymans <wim@fluendo.com>
530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
531 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
532 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
533 (gst_collect_pads_start), (gst_collect_pads_stop),
534 (gst_collect_pads_peek), (gst_collect_pads_pop),
535 (gst_collect_pads_available), (gst_collect_pads_read),
536 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
537 (gst_collect_pads_is_collected), (gst_collect_pads_event),
538 (gst_collect_pads_chain):
539 * libs/gst/base/gstcollectpads.h:
540 Clean up the mess that is collectpads, add comments and
542 Maintain a separate pad list so we can add pads while
543 collecting the other ones. For this we need a new separate
545 Fix memory leak in finalize.
546 Refactor some weird code to set/unset pad flushing flags, mark
548 Don't crash in _available, _read, _flush when we're EOS.
550 * tests/check/libs/.cvsignore:
551 Ignore adapter check binary.
553 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
555 * gst/gstindex.c: (gst_index_resolver_get_type):
556 * plugins/elements/gstfakesink.c:
557 (gst_fake_sink_state_error_get_type):
558 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
559 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
560 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
561 Const-ify GEnumValue arrays.
563 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
565 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
566 Add test case for flags + gst_buffer_make_metadata_writable().
568 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
570 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
571 gst_buffer_make_metadata_writable() should maintain the
572 buffer flags (those that make sense at least) (see #340859).
574 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
576 * tools/gst-inspect.c:
577 * tools/gst-launch.c:
578 * tools/gst-typefind.c:
579 * tools/gst-xmlinspect.c:
581 Fix up includes: need to include stdlib.h in tools.h for exit().
583 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
585 * gst/gsttaglist.c: (_gst_tag_initialize):
587 API: add GST_TAG_IMAGE tag (#340721).
589 2006-05-08 Wim Taymans <wim@fluendo.com>
592 Added some docs for the segment query.
594 2006-05-08 Wim Taymans <wim@fluendo.com>
596 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
597 (gst_base_src_loop), (gst_base_src_change_state):
598 Always push non-flushing serialized events in the streaming
601 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
603 * gst/gsterror.c: (_gst_stream_errors_init):
604 Add a missing error string.
606 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
608 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
609 Add applied_rate to the debug
611 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
612 Copy applied_rate into the outgoing NEWSEGMENT event
614 2006-05-08 Wim Taymans <wim@fluendo.com>
616 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
618 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
619 (gst_base_sink_change_state):
620 call ::unlock before taking the PREROLL_LOCK so we can safely
621 handle elements that lock in ::render.
624 2006-05-08 Edward Hervey <edward@fluendo.com>
626 * autogen.sh: (CONFIGURE_DEF_OPT):
627 Darwin's libtoolize is in fact called glibtoolize.
628 Adding glibtoolize to the list of accepted names for libtoolize.
630 2006-05-08 Wim Taymans <wim@fluendo.com>
632 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
633 Unify error handling, don't post an error message
634 when a push() returns EOS but perform our normal EOS
635 handling code. Fixes #340772.
637 2006-05-08 Wim Taymans <wim@fluendo.com>
639 * docs/design/part-overview.txt:
640 Make upsteam/downstream concepts more clear.
641 Give an example of serialized/non-serialized events.
643 * docs/design/part-events.txt:
644 * docs/design/part-streams.txt:
645 Mention applied_rate.
647 * docs/design/part-trickmodes.txt:
648 Mention applied rate, flesh out some more use cases.
650 * gst/gstevent.c: (gst_event_new_new_segment),
651 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
652 (gst_event_parse_new_segment_full), (gst_event_new_tag),
653 (gst_event_parse_tag), (gst_event_new_buffer_size),
654 (gst_event_parse_buffer_size), (gst_event_new_qos),
655 (gst_event_parse_qos), (gst_event_parse_seek),
656 (gst_event_new_navigation):
658 Add applied_rate field to NEWSEGMENT event.
659 API: gst_event_new_new_segment_full()
660 API: gst_event_parse_new_segment_full()
662 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
663 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
664 (gst_segment_to_stream_time), (gst_segment_to_running_time):
666 Add applied_rate to GstSegment structure.
667 Make calculation of stream_time and running_time more correct
668 wrt rate/applied_rate.
670 API: GstSegment::applied_rate field
671 API: gst_segment_set_newsegment_full();
673 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
674 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
675 * libs/gst/base/gstbasetransform.c:
676 (gst_base_transform_sink_eventfunc),
677 (gst_base_transform_handle_buffer):
678 Parse and use applied_rate in the GstSegment field.
680 * tests/check/gst/gstevent.c: (GST_START_TEST):
681 Add check for applied_rate field.
683 * tests/check/gst/gstsegment.c: (GST_START_TEST),
685 Add more checks for various GstSegment operations.
687 2006-05-08 Wim Taymans <wim@fluendo.com>
689 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
690 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
691 (gst_base_sink_get_position), (gst_base_sink_change_state):
692 Store the sync time of the buffer end position separatly in a
693 new variable eos_rtime so we can properly sync the EOS event.
695 Fix the docs for gst_base_sink_set_qos_enabled().
696 Don't set segment start to invalid value when we receive a
698 get closer to handling position reporting for negative rates
701 2006-05-07 Stefan Kost <ensonic@users.sf.net>
704 Docs about how to print caps for debug purposes.
706 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
707 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
709 2006-05-07 Stefan Kost <ensonic@users.sf.net>
712 use full enum names and preprend a '%' in docs strings to make recent
713 gtk-doc turn that into a link
715 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
717 * docs/manual/basics-bins.xml:
718 * docs/manual/basics-bus.xml:
719 * docs/manual/basics-pads.xml:
720 Some typo fixes, some additions, some clarifications.
722 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
724 * tools/gst-inspect.c: (main):
725 * tools/gst-launch.c: (main):
726 * tools/gst-run.c: (main):
727 * tools/gst-typefind.c: (main):
728 * tools/gst-xmlinspect.c: (main):
729 Use the string passed to g_option_context_new() for
730 what it's intended for - the program name is already
733 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
736 * tools/gst-inspect.c: (main):
737 * tools/gst-launch.c: (main):
738 * tools/gst-xmlinspect.c: (main):
740 Add back --version command line option (#340460).
742 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
743 Add --version option and use GOption for argument parsing; refactor a
744 bit; accept directories as arguments and recurse into them; lastly,
745 print a decent error message when things go wrong.
747 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
749 * docs/manual/basics-bins.xml:
750 Don't mention GstThread (#340611)
751 * docs/manual/basics-elements.xml:
752 Update link to GObject tutorial (#340607)
754 2006-05-05 Wim Taymans <wim@fluendo.com>
757 * gst/gstminiobject.c:
758 Add note about refcounting and miniobject/buffer writeability
759 to docs. Fixes #340604
761 * gst/gstelementfactory.h:
762 Added some explanation about @klass.
764 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
766 * docs/manual/intro-motivation.xml:
767 * docs/manual/manual.xml:
768 Avoid CORBA & Bonobo references (#340598)
770 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
772 * docs/manual/basics-bus.xml:
773 * docs/manual/basics-pads.xml:
774 Fix up some inaccuracies and omissions (#340609)
776 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
779 Small typo in docs (#340625)
781 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
783 * gst/parse/Makefile.am:
784 Make 'make -j' proof (see #340698).
786 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
789 Require GLib-2.8 here as well.
791 2006-05-05 Wim Taymans <wim@fluendo.com>
794 * gst/gst.c: (init_pre):
795 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
796 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
797 (gst_object_dispatch_properties_changed):
799 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
800 * gst/gststructure.c: (gst_structure_set_valist):
801 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
802 Remove pre glib2.8 compatibility, fixes #340508
804 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
807 Mention type of tags in doc blurbs.
809 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
811 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
812 (gst_pad_configure_src), (gst_pad_push):
813 Restore acceptcaps checking behaviour now that good plugins have
816 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
818 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
829 * gst/parse/Makefile.am:
830 * libs/gst/base/gstadapter.c:
831 * libs/gst/base/gstbasesrc.c:
832 * libs/gst/base/gstpushsrc.c:
833 * libs/gst/base/gsttypefindhelper.c:
834 * plugins/elements/gstfakesrc.c:
835 * plugins/elements/gstidentity.c:
836 Make sure gstprivate.h and/or config.h are
837 always included first, otherwise some of our
838 defines (like _FILE_OFFSET_BITS) might be
839 redefined in the system headers. Fixes build
840 on opensolaris (#340016).
842 2006-05-04 Wim Taymans <wim@fluendo.com>
844 * docs/libs/gstreamer-libs-sections.txt:
845 API: addition: gst_adapter_take_buffer()
847 * libs/gst/base/gstadapter.c: (gst_adapter_push),
848 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
849 (gst_adapter_available_fast):
850 * libs/gst/base/gstadapter.h:
851 Prepare for optimizing the hell out of this hugely inefficient
853 Added gst_adapter_take_buffer() so we can at least start thinking
854 about subbuffering and merging.
857 * tests/check/Makefile.am:
858 * tests/check/libs/adapter.c: (GST_START_TEST),
859 (gst_adapter_suite), (main):
860 Added GstAdapter check.
862 2006-05-04 Wim Taymans <wim@fluendo.com>
864 * docs/design/part-overview.txt:
865 Fix some typos, add blurb about buffer flags.
867 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
869 * docs/libs/gstreamer-libs-sections.txt:
870 make sure GstBaseTransformClass shows up in the docs
871 * libs/gst/base/gstbasetransform.c:
872 * libs/gst/base/gstbasetransform.h:
873 move docs so gtk-doc picks it up now
875 2006-05-02 Stefan Kost <ensonic@users.sf.net>
877 * docs/libs/gstreamer-libs-sections.txt:
878 add missing symbols to docs
880 2006-05-02 Stefan Kost <ensonic@users.sf.net>
882 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
883 back out the newsegment handling change, see #340060 for ongoing
886 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
888 * tools/gst-run.c: (get_candidates), (main):
889 Fix wrong g_file_test() usage (see glib docs for why it doesn't
890 work); fix typo in error message. Fixes #340079.
892 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
894 * common/Makefile.am:
896 * docs/faq/Makefile.am:
897 * docs/gst/Makefile.am:
898 * docs/libs/Makefile.am:
899 * docs/manual/Makefile.am:
900 * docs/plugins/Makefile.am:
901 * docs/pwg/Makefile.am:
902 * docs/slides/Makefile.am:
905 move upload.mak to common
907 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
909 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
910 add more asserts on refcounts
911 do more cleanup at end of tests
912 fix test leaks showing in FC5
914 2006-04-29 Stefan Kost <ensonic@users.sf.net>
916 * plugins/elements/gsttypefindelement.c:
917 (gst_type_find_element_handle_event):
918 reverted wrong change and reflowed code to avoid others falling into
921 2006-04-28 Stefan Kost <ensonic@users.sf.net>
923 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
924 fix changelog entry about last collectpads change,
925 add notes about proper fix
927 2006-04-28 Stefan Kost <ensonic@users.sf.net>
930 * gst/gstregistry.c: (gst_registry_scan_path_level),
931 (gst_registry_scan_path):
933 only write out registry if it has changed, fixes #338339
935 2006-04-28 Stefan Kost <ensonic@users.sf.net>
939 * plugins/elements/gstcapsfilter.c:
940 * plugins/elements/gstfakesink.c:
941 * plugins/elements/gstfakesrc.c:
942 * plugins/elements/gstfdsink.c:
943 * plugins/elements/gstfdsrc.c:
944 * plugins/elements/gstfilesink.c:
945 * plugins/elements/gstfilesrc.c:
946 * plugins/elements/gstidentity.c:
947 * plugins/elements/gstqueue.c:
948 * plugins/elements/gsttee.c:
949 * plugins/elements/gsttypefindelement.c:
950 (gst_type_find_element_handle_event):
951 make GstElementDetails const
953 2006-04-28 Stefan Kost <ensonic@users.sf.net>
955 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
957 (gst_collect_pads_is_collected), (gst_collect_pads_event):
958 more detailed debug and formatting cleanup,
959 forward newsegments to src-pad (so that e.g. adder not eats them)
961 2006-04-28 Stefan Kost <ensonic@users.sf.net>
963 * gst/gstutils.c: (gst_element_link_pads):
966 2006-04-28 Stefan Kost <ensonic@users.sf.net>
968 * libs/gst/controller/gstcontroller.c:
969 (gst_controller_sync_values):
971 * tests/check/libs/controller.c: (GST_START_TEST),
972 (gst_controller_suite):
973 a new test for live value handling
975 2006-04-28 Wim Taymans <wim@fluendo.com>
977 * gst/gstutils.c: (push_and_ref):
978 Added some more docs.
979 Fix refcount issue whith gst_element_found_tags() helper
980 function. Fixes #338335
982 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
983 Added testsuite for gst_element_found_tags().
985 2006-04-28 Michael Smith <msmith@fluendo.com>
987 * gst/gstvalue.c: (gst_value_serialize_flags):
988 Avoid NULL dereference when trying to serialize flags containing
991 2006-04-28 Michael Smith <msmith@fluendo.com>
993 * plugins/elements/gsttypefindelement.c:
994 (gst_type_find_element_handle_event):
995 If we get EOS before any data is accumulated, don't use
996 uninitialised local variables.
998 2006-04-28 Michael Smith <msmith@fluendo.com>
1000 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1001 (gst_dp_event_from_packet):
1002 Fixes in reading/writing events over GDP (not currently used?) -
1003 dereferencing NULL events for unknown/invalid event types, memory
1004 leak, and change g_warning to GST_WARNING.
1006 2006-04-28 Wim Taymans <wim@fluendo.com>
1008 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1009 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1010 (gst_base_sink_get_position), (gst_base_sink_change_state):
1011 When frame dropping is enabled, we should not ignore frames
1013 Update some documentation.
1015 2006-04-28 Wim Taymans <wim@fluendo.com>
1017 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1018 (gst_base_src_send_event), (gst_base_src_change_state):
1019 Documentation updates.
1021 2006-04-28 Wim Taymans <wim@fluendo.com>
1023 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1024 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1025 handle EAGAIN, EINTR and short writes correctly. Also clean
1026 up some error cases, avoid a deadlock on bad file descriptors and
1027 use GST_DEBUG_OBJECT.
1030 2006-04-28 Wim Taymans <wim@fluendo.com>
1032 * gst/gstvalue.c: (gst_value_serialize_buffer),
1033 (gst_value_deserialize_buffer):
1034 Don't try to serialize a GValue with a NULL buffer.
1037 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1038 Added check for serialisation of NULL buffers.
1040 2006-04-28 Wim Taymans <wim@fluendo.com>
1042 * gst/gstminiobject.c: (gst_value_take_mini_object):
1043 Taking a NULL miniobject is valid, fix the case where
1044 we try to unref the NULL miniobject.
1046 2006-04-28 Wim Taymans <wim@fluendo.com>
1048 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1050 * gst/gstbin.c: (gst_bin_handle_message_func):
1052 Don't leak bin refcount when a state recalc is
1053 in progress and we delay another one #339808.
1055 2006-04-28 Wim Taymans <wim@fluendo.com>
1057 * docs/design/part-TODO.txt:
1058 Mention QoS as an ongoing work item.
1060 * docs/design/part-buffering.txt:
1061 New doc about buffering that needs to be fleshed out
1064 * docs/design/part-qos.txt:
1065 More QoS policy for decoders/demuxers/transforms
1067 * docs/design/part-trickmodes.txt:
1070 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1075 === release 0.10.5 ===
1077 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1080 releasing 0.10.5, "Fogo"
1082 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
1084 patch by: Wim Taymans
1086 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1087 (gst_pad_configure_src), (gst_pad_push):
1088 * gst/gstpipeline.c: (gst_pipeline_init):
1089 Fix internal data flow errors. Fixes #338711.
1091 2006-04-12 Wim Taymans <wim@fluendo.com>
1093 * tests/check/gst/gstelement.c: (GST_START_TEST):
1094 Don't leak the factory.
1096 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1099 * win32/common/config.h:
1102 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
1104 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1105 (gst_controller_unset_all):
1106 Free allocated GstTimedValues when freeing list nodes.
1107 Should fix leaks 'make check-valgrind' complains about.
1109 * win32/common/libgstcontroller.def:
1110 Add gst_controller_unset_all.
1112 2006-04-11 Stefan Kost <ensonic@users.sf.net>
1114 * docs/libs/gstreamer-libs-sections.txt:
1115 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1116 (gst_controller_unset_all):
1117 * libs/gst/controller/gstcontroller.h:
1118 API: Added new method gst_controller_unset_all()
1119 fixed gst_controller_unset()
1120 * tests/check/libs/controller.c: (GST_START_TEST),
1121 (gst_controller_suite):
1122 Added two testcases for new and fixed method
1124 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
1126 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1127 MSG_DONTWAIT is not defined on Cygwin, so work
1128 around that (fixes #317048).
1130 2006-04-11 Wim Taymans <wim@fluendo.com>
1132 * gst/gstelementfactory.c: (gst_element_register),
1133 (gst_element_factory_create), (gst_element_factory_make):
1136 Updated docs (Fixes #131079)
1138 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1141 * tests/check/gst/gstelement.c: (GST_START_TEST),
1142 (gst_element_suite):
1143 Added testcase for elementfactory class field.
1145 2006-04-10 Wim Taymans <wim@fluendo.com>
1148 Added some more docs.
1150 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1151 (gst_base_sink_reset_qos):
1152 Calculate more accurate rate values.
1154 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
1156 * gst/gst_private.h:
1157 add a new #ifdef to use __declspec(dllimport) only for
1158 other modules and not for gstreamer core
1159 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1160 use gst_guint64_to_gdouble for conversion
1161 * win32/common/libgstreamer.def:
1162 add new exported functions
1163 * win32/vs6/gst_inspect.dsp:
1164 * win32/vs6/gst_launch.dsp:
1165 * win32/vs6/libgstbase.dsp:
1166 * win32/vs6/libgstcontroller.dsp:
1167 * win32/vs6/libgstcoreelements.dsp:
1168 * win32/vs6/libgstdataprotocol.dsp:
1169 * win32/vs6/libgstnet.dsp:
1170 update project files
1172 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1174 * gst/gstbuffer.c: (gst_subbuffer_class_init):
1175 * gst/gstclock.c: (gst_clock_class_init):
1176 * gst/gstelement.c: (gst_element_class_init):
1177 * gst/gstindex.c: (gst_index_class_init):
1178 * gst/gstindexfactory.c: (gst_index_factory_class_init):
1179 * gst/gstobject.c: (gst_object_class_init),
1180 (gst_signal_object_class_init):
1181 * gst/gstpad.c: (gst_pad_class_init):
1182 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1183 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1184 * gst/gstregistry.c: (gst_registry_class_init):
1185 * gst/gstsystemclock.c: (gst_system_clock_class_init):
1186 * gst/gsttask.c: (gst_task_class_init):
1187 * gst/gstxml.c: (gst_xml_class_init):
1188 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1189 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1190 (gst_base_src_loop):
1191 * libs/gst/controller/gstcontroller.c:/
1192 (_gst_controller_class_init):
1193 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1194 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1195 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1196 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1197 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1198 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1200 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
1202 * gst/gstpad.c: (gst_pad_link):
1203 Must set peer pads before calling the link function, otherwise
1204 a task started from a link function might get a flow-not-linked
1205 result when trying to push because the other thread where the
1206 linking happens hasn't had a chance to set the peers yet. This
1207 might happen for example when a queue gets linked to a downstream
1208 element, as queue starts a streaming task when its source pad
1209 gets linked. Happens in real life when playing back flac/musepack
1210 files in playbin (#332390).
1212 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1216 * libs/gst/base/gstadapter.h:
1217 * libs/gst/base/gstbasesink.h:
1218 * libs/gst/base/gstbasesrc.h:
1219 * libs/gst/base/gstbasetransform.h:
1220 * libs/gst/base/gstcollectpads.h:
1221 * libs/gst/base/gstpushsrc.h:
1222 Fix broken GObject macros
1224 2006-04-07 Wim Taymans <wim@fluendo.com>
1226 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1227 Initialize start and stop times, thanks valgrind.
1229 2006-04-07 Wim Taymans <wim@fluendo.com>
1231 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1232 Be a bit nicer to badly behaving upstream elements that expect
1233 us to deal with non TIME segments and timestamps (such as fakesrc
1236 2006-04-07 Wim Taymans <wim@fluendo.com>
1239 Small documentation clarification about the signal watch.
1241 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1242 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1243 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1244 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1245 (gst_base_sink_get_position_last),
1246 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
1247 Convert and store timestamps in stream time and running time, the
1248 raw timestamps are not usefull, also document this better.
1249 Use different window sizes for good and bad QoS observations so
1250 we react to badness a little quicker.
1251 Keep track of the amount of rendered and dropped buffers.
1252 Send QoS timestamps in running time.
1254 * libs/gst/base/gstbasetransform.c:
1255 (gst_base_transform_sink_eventfunc),
1256 (gst_base_transform_handle_buffer):
1257 Compare QoS timestamps against running time.
1259 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1264 2006-04-06 Michael Smith <msmith@fluendo.com>
1266 * gst/gstpad.c: (gst_pad_set_property):
1267 Use g_value_get_object() instead of g_value_dup_gst_object(),
1268 to avoid double-reffing the pad template (which we then sink,
1269 so this worked previously if (and only if) the pad template
1272 * gst/gstpadtemplate.c: (gst_pad_template_init),
1273 (gst_pad_template_pad_created):
1274 Never return floating references to pad templates, create
1275 them as initially-sunken.
1277 Document an extra function (and make this stop sinking our
1278 pad template, since that is now guaranteed to do nothing,
1279 since we created it sunken).
1281 * gst/gstghostpad.c:
1284 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1286 * gst/gstinfo.c: (__gst_in_valgrind):
1289 * plugins/elements/gsttypefindelement.c:
1290 (gst_type_find_element_chain):
1291 Don't leak buffer caps.
1293 2006-04-06 Michael Smith <msmith@fluendo.com>
1295 * gst/parse/grammar.y:
1296 Fix a leak in parse-launch for any source-or-sink named element
1299 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1300 Unref the pipeline if it exists after we've failed parsing.
1302 2006-04-05 Michael Smith <msmith@fluendo.com>
1304 * gst/gstpipeline.c: (gst_pipeline_init):
1305 When we create a pipeline bus, initially create it in flushing mode.
1306 Fixes leaks in at least one test, and makes a new pipeline work the
1307 same as one that has gone to READY and then back to NULL.
1312 2006-04-05 Michael Smith <msmith@fluendo.com>
1314 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1315 Unref a pad we reffed.
1316 * tests/check/gst/gstutils.c: (GST_START_TEST):
1319 2006-04-05 Michael Smith <msmith@fluendo.com>
1321 * gst/gstquery.c: (gst_query_set_formats),
1322 (gst_query_set_formatsv):
1323 Fix leaking GValues in queries, as shown by valgrind/testsuite.
1325 2006-04-05 Michael Smith <msmith@fluendo.com>
1327 * tests/check/generic/sinks.c: (GST_START_TEST):
1328 Fix a variety of memleaks in sinks check, which are only sometimes
1329 shown by running the tests under valgrind (weird?).
1331 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
1333 * docs/version.entities.in:
1334 Fix the substituted entity name after thomas' changes on the
1337 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1339 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
1342 2006-04-05 Andy Wingo <wingo@pobox.com>
1344 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
1346 * libs/gst/base/gstbasetransform.c
1347 (gst_base_transform_sink_eventfunc): When resetting our segment on
1348 FLUSH_STOP, also update the flag saying we haven't seen a
1351 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1353 Patch by: Paolo Borelli <pborelli at katamail dot com>
1355 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1356 (gst_plugin_check_license):
1357 minor clean-ups: G_DEFINE_TYPE already takes care of the
1358 parent_class stuff, no need to do it twice. Mark array of
1359 license strings as constant. (#337103)
1361 2006-04-04 Michael Smith <msmith@fluendo.com>
1363 * tools/gst-inspect.c: (print_element_list):
1364 Free the right plugin list; fixes a memory leak.
1366 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1368 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1370 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1371 Don't error out on empty buffers (#336945).
1373 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
1375 * docs/libs/gstreamer-libs-sections.txt:
1377 * libs/gst/base/gstbasesink.c:
1378 * libs/gst/base/gstbasesink.h:
1379 * libs/gst/base/gstbasesrc.c:
1380 * libs/gst/base/gstbasesrc.h:
1381 Documentation updates. Make BaseSink and BaseSrc docs contain the
1382 class structure so that people can actually see the prototypes for
1383 virtual functions they're supposed to be overriding.
1385 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1387 * plugins/elements/gsttypefindelement.c:
1388 (gst_type_find_element_chain):
1389 More debug info; when skipping typefinding, send cached
1390 events in all cases.
1392 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
1395 use new AS_VERSION and AS_NANO macros
1396 * gst/gst-i18n-lib.h:
1399 * gst/gstversion.h.in:
1400 * win32/common/config.h:
1401 * win32/common/config.h.in:
1404 2006-03-31 Michael Smith <msmith@fluendo.com>
1406 * plugins/elements/gsttypefindelement.c:
1407 (gst_type_find_element_chain):
1408 Do not typefind content if the buffers already have caps.
1409 Neccesary for icydemux (#333657), and the right thing to do anyway.
1411 2006-03-30 Wim Taymans <wim@fluendo.com>
1413 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1414 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
1415 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
1416 (gst_base_sink_record_qos_observation),
1417 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1418 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1419 (gst_base_sink_change_state):
1420 More QoS measurements as described in the design doc.
1421 Get rid of ringbuffer with observations, running average is
1422 more simple and equally good.
1423 Calculates valid proportion now.
1424 Added beginning of flood measurement.
1426 2006-03-29 Wim Taymans <wim@fluendo.com>
1428 * docs/design/part-qos.txt:
1430 Small documentation updates and additions.
1432 2006-03-29 Wim Taymans <wim@fluendo.com>
1434 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1435 (gst_base_src_send_event), (gst_base_src_loop),
1436 (gst_base_src_change_state):
1437 Perform the EOS logic when we reach the segment stop position.
1438 Fix compilation on gcc4.1
1440 2006-03-29 Wim Taymans <wim@fluendo.com>
1442 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1444 * plugins/elements/gstqueue.c: (gst_queue_init),
1445 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
1446 (gst_queue_set_property):
1447 * plugins/elements/gstqueue.h:
1448 In queue, when EOS is received, if minimum threshold > max_size -
1449 current_level, there is chance that queue blocks forever in conditional
1450 item del wait. This is because the queue is not emptied completely due
1451 to minimum threshold. Here is another approach. Instead of setting
1452 cur_levels to max in EOS, just zero all minimum threshold levels. This
1453 should make sure that queue gives out all data. When going to READY
1454 (stop) state, just reset the original minimum threshold levels.
1457 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
1459 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
1460 (gst_type_find_element_handle_event),
1461 (gst_type_find_element_send_cached_events),
1462 (gst_type_find_element_change_state):
1463 * plugins/elements/gsttypefindelement.h:
1464 When typefinding is done in push mode, we should cache
1465 events we receive during typefinding instead of just
1466 dropping them (e.g. newsegment, custom events from
1467 dvdreadsrc etc.) and then send them out once we've
1468 determined the type of the stream (and decodebin
1469 has had a chance to plug in a decoder/demuxer).
1471 2006-03-27 Wim Taymans <wim@fluendo.com>
1473 * docs/design/part-qos.txt:
1476 2006-03-27 Wim Taymans <wim@fluendo.com>
1478 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
1480 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1481 (gst_base_src_send_event), (gst_base_src_change_state):
1482 Handle element seek correctly when we are streaming.
1485 2006-03-24 Michael Smith <msmith@fluendo.com>
1487 * docs/faq/gst-uninstalled:
1488 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
1489 allow you to correctly run intalled applications built against old
1490 core, using plugins that require updated core (e.g. running
1491 installed totem against a full uninstalled gstreamer stack)
1493 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1495 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
1498 2006-03-24 Wim Taymans <wim@fluendo.com>
1500 * docs/gst/gstreamer-sections.txt:
1501 Rearrange the order of the methods so that related methods
1502 are grouped together in sections.
1504 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1507 Little clarification in the docs
1509 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1513 * plugins/elements/gstidentity.c:
1514 * plugins/elements/gstqueue.c:
1515 * plugins/elements/gsttee.c:
1516 * plugins/elements/gsttypefindelement.c:
1517 GST_ELEMENT_DETAILS formatting
1519 2006-03-24 Wim Taymans <wim@fluendo.com>
1521 * libs/gst/base/gstbasesink.h:
1522 Only add fields, not insert or we break ABI.
1524 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1526 * win32/common/libgstbase.def:
1527 * win32/common/libgstreamer.def:
1528 Update, add recently added functions.
1530 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1532 * docs/gst/gstreamer-sections.txt:
1533 * gst/gstutils.c: (gst_pad_query_peer_position),
1534 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
1536 API: add some new utility functions:
1537 - gst_pad_query_peer_position()
1538 - gst_pad_query_peer_duration()
1539 - gst_pad_query_peer_convert()
1541 2006-03-23 Wim Taymans <wim@fluendo.com>
1543 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1544 (gst_base_sink_init), (gst_base_sink_finalize),
1545 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
1546 (gst_base_sink_set_property), (gst_base_sink_get_property),
1547 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
1548 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1549 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
1550 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1551 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1552 (gst_base_sink_preroll_object), (gst_base_sink_event),
1553 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
1554 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1555 (gst_base_sink_query), (gst_base_sink_change_state):
1556 Decouple max-lateness and the fact that QoS messages are generated
1557 with a new property (qos).
1558 added API: GstBaseSink::async_play()
1559 Add vmethod so subclasses can be notified of ASYNC playing
1561 Collect timestamp start and stop to report better current
1562 position in EOS/PLAYING/PAUSED/READY/NULL.
1563 Refactor QoS/frame dropping and other measurements.
1564 API: GstBaseSrc::qos
1567 * libs/gst/base/gstbasesink.h:
1568 Added Private struct.
1569 API: gst_base_sink_set_qos_enabled()
1570 API: gst_base_sink_is_qos_enabled()
1572 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1574 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1575 If compiling against GLib-2.8 or newer, try to read the
1576 registry file using GMappedFile first before falling back
1577 to fopen() + fread() (#332151).
1579 2006-03-22 Wim Taymans <wim@fluendo.com>
1581 * gst/gstinfo.c: (gst_debug_set_active),
1582 (gst_debug_category_set_threshold):
1583 Disable debugging unless explicitly activated.
1586 2006-03-22 Wim Taymans <wim@fluendo.com>
1588 * gst/gstelement.c: (gst_element_set_locked_state),
1589 (gst_element_dispose):
1590 Cleanup the error case.
1592 * gst/gstobject.c: (gst_object_dispose):
1593 print a critical when some object was disposed with
1594 a parent, also revive the object since it might
1597 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
1599 * tools/gst-launch.1.in:
1602 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1605 * tests/check/Makefile.am:
1606 disable some tests when we don't have a registry
1607 * tests/check/gst/gstutils.c: (gst_utils_suite):
1608 don't build the part that needs parsing
1610 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1613 * tests/examples/Makefile.am:
1614 fix --disable-parse build
1616 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1618 * tools/gst-feedback.1.in:
1619 Fix typo: s/feeback/feedback/ (#133494).
1621 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1623 * tools/Makefile.am:
1624 * tools/gst-launch.1.in:
1625 Add FILES section and correct entry about GST_REGISTRY_PATH
1626 environment variable (#133495; #133494).
1628 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1630 * tools/Makefile.am:
1631 * tools/gst-md5sum.1.in:
1632 * tools/gst-md5sum.c:
1633 Remove gst-md5sum and man page (the md5sink element
1634 required was removed ages ago)
1636 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1638 * gst/gststructure.c: (gst_structure_id_set_value):
1639 Make sure that string fields in structures/taglists
1640 contain valid UTF-8 - we don't want to pass rubbish to
1641 applications because of a buggy plugin (cp. #334167).
1643 2006-03-21 Edward Hervey <edward@fluendo.com>
1645 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1646 (gst_bin_handle_message_func):
1647 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
1648 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
1649 (gst_element_set_bus_func):
1650 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
1651 * gst/gstminiobject.c: (gst_value_set_mini_object),
1652 (gst_value_take_mini_object):
1653 * gst/gstpad.c: (gst_pad_set_pad_template):
1654 * gst/gstpipeline.c: (gst_pipeline_dispose),
1655 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1656 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
1657 (gst_collect_pads_chain):
1658 * libs/gst/net/gstnettimeprovider.c:
1659 (gst_net_time_provider_set_property):
1660 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
1661 It's in fact all issues with gst_*object_replace().
1663 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1665 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
1667 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1668 * pkgconfig/gstreamer-check.pc.in:
1669 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
1671 2006-03-21 Edward Hervey <edward@fluendo.com>
1676 gst_[buffer|event|message]_ref() macros are replaced by a static
1677 inline functions because gcc-4.1 will about if the return value
1679 * tests/check/gst/gstevent.c: (event_probe):
1680 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
1682 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
1685 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
1686 the type' case. (Closes: #335195 for now). In the future, when we
1687 depend on GLib 2.10, we could also intern the type name using
1688 g_intern_static_string()
1690 2006-03-20 Wim Taymans <wim@fluendo.com>
1692 * gst/gstbin.c: (gst_bin_handle_message_func),
1693 (bin_query_max_init), (bin_query_position_fold),
1694 (bin_query_position_done), (gst_bin_query):
1695 Position query should also take max of all streams.
1697 2006-03-20 Wim Taymans <wim@fluendo.com>
1699 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1700 (gst_fake_src_finalize):
1701 Fix leaks in fakesrc.
1703 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1704 Fix leaks in the testcase.
1706 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
1708 * gst/gst_private.h:
1709 add win32 specific import decoration(__declspec(dllimport))
1710 for all extern GstDebugCategory * variables
1711 * win32/common/libgstbase.def:
1712 * win32/common/libgstcontroller.def:
1713 * win32/common/libgstreamer.def:
1714 Add some exports, remove empty lines
1715 * win32/common/libgstdataprotocol.def:
1716 * win32/common/libgstdataprotocol.dsp:
1717 * win32/common/libgstnet.def:
1718 * win32/common/libgstnet.dsp:
1719 new project files and exportation files added
1721 2006-03-19 Wim Taymans <wim@fluendo.com>
1723 * tests/check/libs/basesrc.c: (eos_event_counter):
1724 Use proper return value for probe.
1726 2006-03-17 Wim Taymans <wim@fluendo.com>
1728 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1730 Don't leak buffers, caps and pads on negotiation errors.
1732 2006-03-16 Stefan Kost <ensonic@users.sf.net>
1735 * docs/faq/dependencies.xml:
1736 * docs/faq/developing.xml:
1738 * docs/faq/general.xml:
1739 * docs/faq/getting.xml:
1740 * docs/faq/legal.xml:
1741 * docs/faq/troubleshooting.xml:
1742 * docs/faq/using.xml:
1743 Faq review and update.
1745 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
1747 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1749 Don't pound the cpu to pieces by checking get_caps when accept_caps
1750 is called with the same caps as the pad already has.
1751 Use GST_DEBUG_OBJECT when outputting caps change information.
1753 2006-03-15 Wim Taymans <wim@fluendo.com>
1755 * gst/gstclock.c: (gst_clock_class_init):
1758 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
1763 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
1764 (gst_pad_accept_caps), (gst_pad_configure_sink),
1765 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
1766 Make the default acceptcaps behaviour be to check the requested
1767 caps against the gst_pad_get_caps output.
1769 Ensure that gst_pad_accept_caps is used to check caps when a pad
1770 doesn't have a setcaps function, so that pads automatically refuse
1771 caps that they don't allow in their pad template. (Fixes #332986)
1773 When a buffer with attached caps is pushed, ensure that the source
1774 pad receives those caps even if the element didn't call
1775 gst_pad_set_caps first.
1777 2006-03-15 Wim Taymans <wim@fluendo.com>
1779 * libs/gst/base/gstadapter.c:
1782 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
1784 * win32/common/libgstbase.def:
1785 * win32/common/libgstcontroller.def:
1786 * win32/common/libgstreamer.def:
1787 Add a whole bunch of missing functions (#334434).
1789 2006-03-14 Wim Taymans <wim@fluendo.com>
1791 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1792 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
1793 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
1794 Better debug info when we receive a segment event.
1795 Reorganize a bit so we can pass the get_times() results around.
1796 Use the segment format when calculating the running time.
1797 Don't do QoS is sync is disabled or we have no clock or the
1798 element does not want us to sync to the clock.
1799 Don't drop buffers if QoS is disabled for now.
1801 2006-03-14 Wim Taymans <wim@fluendo.com>
1803 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
1804 Marked the stats property as unimplemented so people don't get
1806 Add debug message when regression goes wrong.
1807 Added some more docs.
1809 2006-03-14 Wim Taymans <wim@fluendo.com>
1811 * gst/gstsegment.c: (gst_segment_to_stream_time):
1812 Return correct return type in case of errors.
1814 2006-03-14 Wim Taymans <wim@fluendo.com>
1816 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
1817 Don't segfault on invalid formats.
1819 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
1821 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1822 Can't use gst_segment_to_running_time() when the segment
1823 is not in GST_TIME_FORMAT (like with filesink, for example).
1824 Stops flac encoding pipelines from spewing critical warnings
1827 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
1829 * gst/gstpipeline.c: (gst_pipeline_class_init):
1830 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
1832 * plugins/elements/gsttypefindelement.c:
1833 (gst_type_find_element_handle_event):
1834 Don't try to typefind empty streams.
1836 2006-03-14 Wim Taymans <wim@fluendo.com>
1838 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
1839 (gst_base_sink_do_qos):
1840 Separate QoS calculation.
1841 Only drop buffers when lateness is bigger than the
1842 duration of the buffer.
1844 2006-03-13 Wim Taymans <wim@fluendo.com>
1846 * gst/gstpipeline.c: (gst_pipeline_set_property),
1847 (gst_pipeline_get_property), (do_pipeline_seek),
1848 (gst_pipeline_change_state), (gst_pipeline_set_delay),
1849 (gst_pipeline_get_delay):
1850 Don't deadlock when reading properties.
1852 2006-03-13 Wim Taymans <wim@fluendo.com>
1854 * libs/gst/base/gstbasetransform.c:
1855 (gst_base_transform_class_init), (gst_base_transform_init),
1856 (gst_base_transform_sink_event),
1857 (gst_base_transform_sink_eventfunc),
1858 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
1859 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1860 (gst_base_transform_set_property),
1861 (gst_base_transform_get_property),
1862 (gst_base_transform_change_state), (gst_base_transform_update_qos),
1863 (gst_base_transform_set_qos_enabled),
1864 (gst_base_transform_is_qos_enabled):
1865 * libs/gst/base/gstbasetransform.h:
1866 Make basetransform virtual method for src events too.
1867 Handle QOS in basetransform.
1868 API: gst_base_transform_update_qos()
1869 API: gst_base_transform_set_qos_enabled()
1870 API: gst_base_transform_is_qos_enabled()
1872 2006-03-13 Wim Taymans <wim@fluendo.com>
1874 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1875 (gst_base_sink_do_sync):
1877 Use QOS debug category.
1879 2006-03-13 Wim Taymans <wim@fluendo.com>
1881 * plugins/elements/gstqueue.c:
1882 Very small doc update.
1884 2006-03-13 Wim Taymans <wim@fluendo.com>
1886 * gst/gst_private.h:
1887 * gst/gstinfo.c: (_gst_debug_init):
1888 Added QOS debug category
1890 2006-03-13 Wim Taymans <wim@fluendo.com>
1892 * docs/gst/gstreamer-sections.txt:
1893 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
1895 * gst/gstbus.c: (gst_bus_class_init):
1898 * gst/gstelement.c: (gst_element_set_locked_state):
1900 Documentation updates.
1902 * gst/gstpipeline.c: (gst_pipeline_get_type),
1903 (gst_pipeline_class_init), (gst_pipeline_init),
1904 (gst_pipeline_dispose), (gst_pipeline_set_property),
1905 (gst_pipeline_get_property), (do_pipeline_seek),
1906 (gst_pipeline_send_event), (gst_pipeline_change_state),
1907 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
1908 (gst_pipeline_get_delay):
1909 * gst/gstpipeline.h:
1910 Added methods for setting the delay.
1911 API: gst_pipeline_set_delay()
1912 API: gst_pipeline_get_delay()
1913 Add pipeline debug category
1916 Don't reset stream time when seek failed.
1918 2006-03-13 Wim Taymans <wim@fluendo.com>
1920 * docs/design/draft-klass.txt:
1921 * docs/design/part-clocks.txt:
1922 * docs/design/part-events.txt:
1923 * docs/design/part-gstbin.txt:
1924 * docs/design/part-gstpipeline.txt:
1925 * docs/design/part-messages.txt:
1926 * docs/design/part-negotiation.txt:
1927 * docs/design/part-overview.txt:
1928 * docs/design/part-preroll.txt:
1929 * docs/design/part-seeking.txt:
1930 * docs/design/part-states.txt:
1931 * docs/design/part-streams.txt:
1932 Documentation updates.
1934 2006-03-12 Julien MOUTTE <julien@moutte.net>
1936 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
1937 us to leak strings...
1939 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
1941 * libs/gst/net/gstnettimeprovider.c:
1943 * win32/common/config.h:
1946 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
1948 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
1951 Don't check for libgnomeui (leftover from old examples
1952 that aren't built or disted any longer) (#334303).
1954 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
1956 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1957 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1958 Emit RESOURCE_NO_SPACE_LEFT error here as well when
1959 there's no space left on the device.
1961 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
1964 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
1965 to cast the input to GstClockTime before comparing with
1966 another GstClockTime value.
1968 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
1973 === release 0.10.4 ===
1975 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
1978 releasing 0.10.4, "Light"
1980 2006-03-10 Michael Smith <msmith@fluendo.com>
1982 * libs/gst/dataprotocol/dataprotocol.c:
1983 Fix docs for dataprocotol to not get the return types completely
1984 wrong for a few functions.
1986 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
1988 * docs/gst/gstreamer-sections.txt:
1989 * gst/gstpipeline.c: (gst_pipeline_class_init),
1990 (gst_pipeline_init), (gst_pipeline_set_property),
1991 (gst_pipeline_get_property), (gst_pipeline_change_state),
1992 (gst_pipeline_set_auto_flush_bus),
1993 (gst_pipeline_get_auto_flush_bus):
1994 * gst/gstpipeline.h:
1995 Add new API: gst_pipeline_set_auto_flush_bus() and
1996 gst_pipeline_get_auto_flush_bus() to disable automatic
1997 flushing of the pipeline's GstBus when going from READY
1998 to NULL state (#332045).
2000 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2002 * docs/gst/gstreamer-sections.txt:
2003 * gst/gsturi.c: (gst_uri_has_protocol):
2005 Add new API: gst_uri_has_protocol() (#333779).
2007 2006-03-09 Wim Taymans <wim@fluendo.com>
2009 * gst/gstclock.c: (gst_clock_entry_new),
2010 (gst_clock_id_compare_func), (gst_clock_id_wait),
2011 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2012 (gst_clock_init), (gst_clock_get_internal_time),
2013 (gst_clock_set_master), (do_linear_regression),
2014 (gst_clock_add_observation), (gst_clock_set_property):
2018 Fix a possible segfault when the window-size is made smaller.
2019 Calculate jitter before performing the clock wait. Ideally
2020 the clock implementation should calculate jitter but we need
2021 API breakage for that.
2023 * gst/gstsystemclock.c: (gst_system_clock_init):
2026 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2027 Remove leftover else
2029 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2030 (gst_systemclock_suite):
2031 Added check to test GST_CLOCK_DIFF.
2033 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2035 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2036 (gst_type_find_helper_get_range):
2037 If we are provided with the size, we should implement
2038 GstTypeFind::get_length, so that typefind functions who
2039 want to can actually peek at the middle of a file.
2041 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
2043 * docs/manual/advanced-dataaccess.xml:
2044 Add some very very basic error checking.
2046 * docs/pwg/appendix-checklist.xml:
2047 Some updates to the list of things to check when writing an element.
2049 2006-03-08 Wim Taymans <wim@fluendo.com>
2051 * docs/design/part-element-transform.txt:
2052 Added some docs about the design of tranform elements.
2054 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2055 (gst_base_src_loop), (gst_base_src_change_state):
2056 Mark buffers with the DISCONT flag.
2058 2006-03-08 Michael Smith <msmith@fluendo.com>
2060 * gst/gstregistry.h:
2061 * gst/gstregistryxml.c: (gst_registry_save),
2062 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2063 (gst_registry_xml_save_pad_template),
2064 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2065 (gst_registry_xml_write_cache):
2066 Rewrite registry-saving to avoid race conditions and check for
2069 2006-03-08 Wim Taymans <wim@fluendo.com>
2071 * libs/gst/base/gstbasetransform.c:
2072 (gst_base_transform_transform_caps),
2073 (gst_base_transform_transform_size),
2074 (gst_base_transform_prepare_output_buffer),
2075 (gst_base_transform_get_unit_size),
2076 (gst_base_transform_buffer_alloc),
2077 (gst_base_transform_handle_buffer),
2078 (gst_base_transform_change_state):
2079 Cleanups, separate normal flow from errors, add sensible
2081 Don't try to renegotiate when allocating an output buffer.
2082 Also copy DISCONT buffer flag when copying a buffer.
2083 Reset the transform after we finish streaming, not during.
2085 2006-03-08 Wim Taymans <wim@fluendo.com>
2087 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2088 Use last buffer timestamp in qos message.
2090 2006-03-07 Wim Taymans <wim@fluendo.com>
2092 Patch by: Christophe Fergeau
2094 * docs/pwg/advanced-tagging.xml:
2095 * docs/pwg/building-pads.xml:
2098 2006-03-07 Wim Taymans <wim@fluendo.com>
2100 * docs/libs/gstreamer-libs-sections.txt:
2101 Added basesink new methods.
2105 Docs updates. Flesh out the QoS docs.
2107 * libs/gst/base/gstadapter.c:
2108 Small doc clarification about ownership and flushing.
2110 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2111 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2112 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2113 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2114 * libs/gst/base/gstbasesink.h:
2116 Added new methods to allow subclass to control max-lateness
2118 Generate very basic QoS events based on last sync observation.
2119 Updated docs, fix typo, added some QoS blurb.
2121 * libs/gst/base/gstbasesrc.c:
2122 Remove obsolete _get_state() calls from docs.
2124 2006-03-07 Wim Taymans <wim@fluendo.com>
2126 * docs/libs/gstreamer-libs-sections.txt:
2127 * libs/gst/base/gstbasetransform.h:
2128 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2129 Fix docs for GstBaseSrc.
2131 2006-03-07 Wim Taymans <wim@fluendo.com>
2133 * docs/gst/gstreamer-sections.txt:
2136 * libs/gst/base/gstbasetransform.h:
2137 Small documentation fixes.
2139 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2142 Document thread-unsafety of gst_value_register_foo_func()
2143 when used at the same time as gst_value_foo() (#322628).
2145 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2147 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2148 (gst_push_src_check_get_range):
2149 Push sources don't support pull mode by default.
2151 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2153 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2154 (gst_base_src_init), (gst_base_src_pad_check_get_range),
2155 (gst_base_src_default_check_get_range):
2156 * libs/gst/base/gstbasesrc.h:
2157 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2158 provide default implementation, and rename
2159 gst_base_src_check_get_range() to
2160 gst_base_src_pad_check_get_range() for clarity.
2162 2006-03-06 Wim Taymans <wim@fluendo.com>
2164 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2165 Make property overridable.
2167 2006-03-06 Wim Taymans <wim@fluendo.com>
2169 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2170 (gst_base_sink_init), (gst_base_sink_set_property),
2171 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2172 * libs/gst/base/gstbasesink.h:
2173 API addition: Make max-lateness a property.
2175 2006-03-06 Wim Taymans <wim@fluendo.com>
2177 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2178 (gst_base_sink_do_sync), (gst_base_sink_render_object):
2179 Don't ever draw a frame that is >10ms late.
2181 2006-03-06 Michael Smith <msmith@fluendo.com>
2183 * gst/gstmessage.c: (_gst_message_copy):
2184 When copying a message, set the parent_refcount of the enclosed
2185 structure to point at the copy, not the original message.
2187 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2189 Patch by: Christophe Fergeau
2192 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2193 usable in c++ code (#333417)
2195 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
2198 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2200 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
2202 * libs/gst/base/gstbasetransform.c:
2203 (gst_base_transform_transform_caps):
2204 Make sure caps are writable before passing them to
2207 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2210 Fix some minor docs errors.
2212 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2214 Patch by: Ross Burton <ross at burtonini dot com>
2216 * gst/gsterror.c: (_gst_resource_errors_init):
2218 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2220 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2223 Add a check and output a g_warning when GStreamer is built
2224 against GLib 2.6 but running against 2.8 or higher, and vice
2225 versa. (Closes: #323542)
2227 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2229 * gst/parse/parse.l:
2230 Commit patch for parse_launch syntax from #331255. Removes
2231 support for quoted strings and mimetypes when writing filtered
2232 caps. See the bug report for more details - I'm pretty sure this
2233 obscure feature is not in use by _anyone_ anywhere.
2235 With this simple change, the size of the gstreamer.so here
2236 drops from 2193KB to 1565KB.
2238 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2240 * plugins/elements/gsttypefindelement.h:
2241 * plugins/elements/gsttypefindelement.c:
2242 (gst_type_find_element_src_event), (start_typefinding),
2243 (stop_typefinding), (gst_type_find_element_handle_event),
2244 (gst_type_find_element_chain),
2245 (gst_type_find_element_chain_do_typefinding):
2246 Use gst_type_find_helper_for_buffer() for chain-based
2249 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2251 * plugins/elements/gsttypefindelement.c:
2252 (gst_type_find_element_class_init),
2253 (gst_type_find_element_set_property),
2254 (gst_type_find_element_get_property):
2255 Deprecate "maximum" property (not only was it only taken into
2256 account for typefinding in push-mode anyway, it also was never
2257 actually possible to set it in the first place because the
2258 property was registered with the numeric property ID for the
2259 "minimum" property). Register "maximum" property correctly,
2260 for the sake of future copy'n'pasters. Remove some cruft
2261 from property get/set functions.
2263 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2265 * plugins/elements/gsttypefindelement.c:
2266 (gst_type_find_element_activate):
2267 Use gst_type_find_helper_get_range() here, so we
2268 can honour the "minimum" property and also emit
2269 the signal with the correct probability of the found caps.
2271 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
2273 * docs/libs/gstreamer-libs-sections.txt:
2274 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2275 (helper_find_suggest), (gst_type_find_helper_get_range),
2276 (gst_type_find_helper):
2277 * libs/gst/base/gsttypefindhelper.h:
2278 New API: gst_type_find_helper_get_range() (#333042).
2280 2006-03-02 Michael Smith <msmith@fluendo.com>
2282 * gst/gstregistryxml.c: (load_feature):
2283 Asserting on a failure to read part of the registry is Not Cool.
2284 Just log a warning and return NULL (which is already handled)
2286 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
2288 * win32/common/libgstbase.def:
2289 added export of gst_type_find_helper_for_buffer
2290 * win32/common/libgstbase.def:
2291 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
2292 gst_ghost_pad_get_target
2294 2006-02-28 Wim Taymans <wim@fluendo.com>
2296 * docs/design/draft-klass.txt:
2298 Added Connector to mark elements that are only used to
2299 allow pipeline connections.
2300 Moved Debug to extra feature since most of them are
2301 functionally something else.
2303 2006-02-28 Wim Taymans <wim@fluendo.com>
2305 * docs/design/draft-klass.txt:
2306 Some updates and clarifications.
2308 2006-02-28 Wim Taymans <wim@fluendo.com>
2310 * docs/design/draft-klass.txt:
2311 Proposal for klass field values.
2313 * docs/design/part-streams.txt:
2314 Start of a doc describing stream anatomy.
2316 2006-02-28 Wim Taymans <wim@fluendo.com>
2318 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
2319 Help the compiler a bit with type registration.
2320 Use existing forward cod path instead of duplicating it when
2323 * gst/gstbus.c: (gst_bus_get_type):
2324 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
2325 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
2326 * gst/gstclock.c: (gst_clock_get_type):
2327 * gst/gstelement.c: (gst_element_get_type),
2328 * gst/gstelementfactory.c: (gst_element_factory_get_type):
2329 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2330 * gst/gstminiobject.c: (gst_mini_object_get_type):
2331 * gst/gstpad.c: (gst_pad_get_type):
2332 * gst/gstsegment.c: (gst_segment_get_type):
2333 * gst/gststructure.c: (gst_structure_get_type):
2334 * gst/gstsystemclock.c: (gst_system_clock_get_type):
2335 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
2337 Help compiler with type registration.
2339 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2342 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2344 * plugins/elements/gsttypefindelement.c:
2345 (gst_type_find_element_handle_event):
2346 When we get an EOS event and have not found a type yet
2347 (most likely because we had not yet accumulated
2348 TYPE_FIND_MIN_SIZE of data yet), try to determine the
2349 type given the data we have so far. Fixes typefinding
2350 for very short streams again, most notably quicktime
2351 redirections as used on Apple's trailer site (#331701).
2353 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2355 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
2356 (gst_type_find_helper):
2357 Try typefinding factories with the highest rank first.
2359 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2361 * docs/libs/gstreamer-libs-docs.sgml:
2362 * docs/libs/gstreamer-libs-sections.txt:
2363 * libs/gst/base/gsttypefindhelper.c:
2364 Add section for typefind helper and add documentation
2365 for the old and the new function.
2367 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2369 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
2370 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
2371 (gst_type_find_helper_for_buffer):
2372 * libs/gst/base/gsttypefindhelper.h:
2373 New API: gst_type_find_helper_for_buffer() (#332723).
2375 2006-02-27 Michael Smith <msmith@fluendo.com>
2377 Patch by: Loïc Minier
2381 * docs/slides/Makefile.am:
2382 prevent CVS directories getting disted.
2384 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2386 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
2387 Use the REFCOUNTING category for caps refcounting.
2389 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2391 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
2392 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
2394 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2396 * plugins/elements/gsttypefindelement.c:
2397 (gst_type_find_element_activate):
2398 Use gst_pad_check_pull_range() before _activate_pull()
2399 to avoid unnecessary open/close (see #331690).
2401 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2404 Docs enhancement: make it crystal clear what the
2405 gst_pad_add_*_probe() callbacks should look like.
2407 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2409 * libs/gst/base/gstbasesrc.c:
2410 Document how applications can stop recording from
2411 live sources (see #330996).
2413 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2415 * tests/check/Makefile.am:
2416 * tests/check/libs/basesrc.c: (eos_event_counter),
2417 (basesrc_eos_events_pull), (basesrc_eos_events_push),
2418 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
2419 (gst_basesrc_suite), (main):
2420 ... and add some tests for the base source EOS stuff.
2422 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2424 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
2425 Test case originally showed the problem fixed below,
2426 but was then amended. Add checks back at the place
2427 where they used to be.
2429 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2431 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2432 (gst_base_src_init), (gst_base_src_loop),
2433 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2434 (gst_base_src_change_state):
2435 * libs/gst/base/gstbasesrc.h:
2436 Don't unconditionally send EOS when going from PAUSED to
2437 READY state, esp. make sure we don't send two EOS events
2438 in some cases (e.g. one when reaching EOS and one when
2439 going from PAUSED to READY). Also, we don't want to send
2440 EOS events when operating in pull mode. However, we do
2441 want to send an EOS event when shutting down a live
2442 source explicitly, for example (fixes #330996).
2444 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2446 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2447 Update src->read_position after a seek when not using mmap.
2448 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
2450 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
2456 Make things work with --disable-parse as they do with
2457 --disable-load-save - the symbols involved disappear, but the
2458 header is still installed and GST_DISABLE_PARSE is included via
2461 2006-02-20 Julien MOUTTE <julien@moutte.net>
2463 * libs/gst/base/gstbasetransform.c:
2464 (gst_base_transform_change_state): Fix a stupid bug. I was
2465 sure I compiled that.
2467 2006-02-20 Julien MOUTTE <julien@moutte.net>
2469 * gst/gstpad.c: (gst_pad_set_blocked_async):
2470 * gst/gstutils.c: (gst_pad_add_data_probe),
2471 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2472 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2473 (gst_pad_remove_buffer_probe): Make those function act on the
2474 ghostpad target when it's a ghostpad. (Closes #331727)
2476 2006-02-20 Julien MOUTTE <julien@moutte.net>
2478 * libs/gst/base/gstbasetransform.c:
2479 (gst_base_transform_change_state): Make basetransform reusable.
2482 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
2484 * docs/random/release:
2485 Move the current documentation of how to do a release to the top
2488 * gst/gstbin.c: (gst_bin_class_init),
2489 (gst_bin_handle_message_func):
2490 Allow multiple state-recalculation threads. (Closes #328873)
2492 2006-02-19 Julien MOUTTE <julien@moutte.net>
2494 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
2495 * gst/gstpad.c: (gst_pad_set_event_function),
2496 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2497 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2498 2 strings. You can't use the STR_NULL macro on that.
2500 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
2502 * gst/gstpad.c: (gst_pad_set_event_function),
2503 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2504 (gst_pad_set_getcaps_function)
2505 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
2506 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
2507 So now, we can use --gst-debug-level=5 on Windows
2508 * win32/common/libgstcontroller.def:
2509 Added export of gst_controller_init
2510 * win32/vs6/libgstcontroller.dsp:
2511 Fixed Release post build configuration
2513 2006-02-17 Wim Taymans <wim@fluendo.com>
2515 * tests/check/gst/gstquery.c: (GST_START_TEST):
2516 Added another check.
2518 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
2520 * plugins/elements/gsttypefindelement.c: (find_peek):
2521 We can do peeks at non-zero offsets, as long as they
2522 fall within the buffer we have.
2524 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
2526 * tests/check/Makefile.am:
2527 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
2528 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
2529 (parse_suite), (main):
2530 Add testsuite for parse launch syntax
2532 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
2534 * plugins/elements/gsttypefindelement.c:
2535 (gst_type_find_element_chain):
2536 When typefinding is unsuccessful in the chain function, don't
2537 error out immediately. Only error out with NO_CAPS_FOUND if
2538 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
2539 otherwise simply wait for more data so we can try typefinding
2540 again with more data later. Also, don't attempt to typefind
2541 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
2542 this should improve typefinding from network sources where the
2543 size of the first buffer can be somewhat random.
2545 2006-02-14 Wim Taymans <wim@fluendo.com>
2547 * docs/gst/gstreamer-sections.txt:
2548 * gst/gstpadtemplate.c:
2549 * gst/gstpadtemplate.h:
2550 Fix padtemplate docs, fixes #328805.
2552 2006-02-14 Wim Taymans <wim@fluendo.com>
2554 * tools/gst-launch.c: (main):
2555 NO_PREROLL is not an ERROR so don't send confusing messages
2558 2006-02-14 Wim Taymans <wim@fluendo.com>
2560 Patch by: Torsten Schoenfeld
2562 * gst/gstregistry.c: (gst_registry_get_default),
2563 (_gst_registry_cleanup):
2564 Protect default registry with lock and ref/sink it.
2567 2006-02-14 Wim Taymans <wim@fluendo.com>
2570 * gst/gstquery.c: (gst_query_list_add_format),
2571 (gst_query_set_formatsv), (gst_query_parse_formats_length),
2572 (gst_query_parse_formats_nth):
2573 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2576 2006-02-14 Wim Taymans <wim@fluendo.com>
2578 * docs/gst/gstreamer-sections.txt:
2579 Reworked query docs.
2581 * gst/gstquery.c: (gst_query_new_formats),
2582 (gst_query_list_add_format), (gst_query_set_formats),
2583 (gst_query_set_formatsv), (gst_query_parse_formats_length),
2584 (gst_query_parse_formats_nth):
2586 Flesh out formats query, added some new methods.
2587 Fix part of #324398.
2589 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
2590 Added query creation tests.
2592 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
2594 * gst/gstpad.c: (fixate_value):
2595 Add a default fixation for fraction lists.
2597 2006-02-13 Wim Taymans <wim@fluendo.com>
2599 * gst/gsttask.c: (gst_task_init), (gst_task_func),
2600 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
2603 Detect and warn for obvious deadlocks. fixes #320340
2604 Fix error case where lock was not released.
2606 * tests/check/Makefile.am:
2607 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
2608 (task_func), (gst_element_suite), (main):
2611 2006-02-13 Wim Taymans <wim@fluendo.com>
2613 * docs/gst/gstreamer-sections.txt:
2615 Add new functions to docs.
2617 2006-02-13 Wim Taymans <wim@fluendo.com>
2619 * docs/design/part-TODO.txt:
2620 Updated TODO list, basesrc supports seeking to non-bytes
2623 * docs/design/part-element-sink.txt:
2626 * gst/gstbin.c: (bin_replace_message),
2627 (gst_bin_handle_message_func):
2628 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
2629 * gst/gstevent.c: (gst_event_finalize):
2630 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2631 (gst_pad_send_event):
2632 Use shiny new _TYPE_NAME macros.
2634 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2635 Move debug statement up.
2637 * gst/gstelement.c: (gst_element_set_locked_state):
2640 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
2642 * docs/gst/gstreamer-sections.txt:
2645 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
2646 macros (#330906). Also, document the already existing
2647 GST_QUERY_TYPE macro.
2649 2006-02-13 Wim Taymans <wim@fluendo.com>
2651 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
2652 (event_probe), (GST_START_TEST):
2653 Only events up to the pipeline EOS are counted, there are
2654 some more when going to NULL currently which we don't care
2657 2006-02-13 Wim Taymans <wim@fluendo.com>
2659 * gst/gstpad.c: (gst_pad_send_event):
2660 Correctly check flushing and emit probes. fixes #330125
2662 2006-02-10 Andy Wingo <wingo@pobox.com>
2664 * gst/gstbus.c (gst_bus_class_init): Declare our private data
2666 (gst_bus_init): Cache the location of the private data in the
2668 (gst_bus_enable_sync_message_emission)
2669 (gst_bus_disable_sync_message_emission): Implement new public
2671 (gst_bus_post): Emit the sync-message signal if the user asked for
2674 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
2675 location of the bus-private structure.
2676 (gst_bus_enable_sync_message_emission)
2677 (gst_bus_disable_sync_message_emission): API addition
2679 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
2681 Patch by: Vincent Torri
2683 * docs/pwg/building-boiler.xml:
2684 PWG patch from #326800
2686 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
2690 * docs/design/Makefile.am:
2693 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2698 === release 0.10.3 ===
2700 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2703 releasing 0.10.3, "Like a virgin"
2705 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2708 2nd prerelease of 0.10.3
2709 Bump libtool versioning.
2711 2006-02-07 Andy Wingo <wingo@pobox.com>
2713 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
2714 update last_stop if we're in TIME format and the timestamp is
2717 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
2718 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
2719 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
2720 If we get a new newsegment with a different format, adapt
2723 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
2724 of 0. Not a problem, really.
2726 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
2729 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
2734 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
2737 project files updated to the default vs7 configuration
2738 * win32/common/libgstbase.def:
2739 * win32/common/libgstreamer.def:
2741 removed empty lines,
2742 sorted all exported symbols alphabetically
2743 * win32/common/dirent.c:
2744 * win32/common/dirent.h:
2745 * win32/common/gchar.h:
2746 use windows line end.
2748 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
2750 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2751 Send EOS event when stopping.
2753 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
2756 Tell folks what to do if the plugin-foobar.xml file
2757 hasn't been generated for a newly-added plugin.
2759 2006-02-05 Julien MOUTTE <julien@moutte.net>
2761 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2762 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2763 (gst_collect_pads_start), (gst_collect_pads_stop),
2764 (gst_collect_pads_event): Collectpads now holds a reference
2765 to the GstPad that was added. Indeed we don't want to look
2766 at pads that might just go away with no warning...
2768 2006-02-05 Julien MOUTTE <julien@moutte.net>
2770 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2771 (gst_collect_pads_start), (gst_collect_pads_stop),
2772 (gst_collect_pads_event), (gst_collect_pads_chain):
2773 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
2774 Mark Nauwelaerts's patch on bug #328491.
2776 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
2778 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
2780 Add some simple tests for gst_parse_bin_from_description() and
2781 gst_bin_find_unconnected_pad() (#329069).
2783 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
2785 * tools/gst-launch.c: (event_loop), (main):
2786 Catch errors during preroll (#320084).
2788 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
2790 * plugins/elements/gsttypefindelement.c:
2791 (gst_type_find_element_activate):
2792 Post TYPE_NOT_FOUND error message when typefinding
2793 is unsuccessful in the activate function as well.
2795 2006-02-02 Wim Taymans <wim@fluendo.com>
2797 * docs/design/part-element-sink.txt:
2800 2006-02-02 Wim Taymans <wim@fluendo.com>
2802 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2803 (gst_base_sink_render_object),
2804 (gst_base_sink_queue_object_unlocked):
2805 Only keep track of prerollable items when we are
2807 Before rendering after preroll, always check if we
2809 Added some more debugging.
2811 2006-02-02 Wim Taymans <wim@fluendo.com>
2813 * gst/gstelement.c: (gst_element_continue_state),
2814 (gst_element_set_state_func), (gst_element_change_state):
2815 Fixed #326576, been running this for quite some time with
2816 no regressions at all.
2818 2006-02-02 Wim Taymans <wim@fluendo.com>
2821 Added more suppressions
2823 2006-02-02 Wim Taymans <wim@fluendo.com>
2825 * docs/design/part-element-sink.txt:
2828 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2829 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
2830 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
2831 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2832 (gst_base_sink_do_sync), (gst_base_sink_render_object),
2833 (gst_base_sink_preroll_object),
2834 (gst_base_sink_queue_object_unlocked),
2835 (gst_base_sink_queue_object), (gst_base_sink_event),
2836 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
2837 (gst_base_sink_loop), (gst_base_sink_activate_pull),
2838 (gst_base_sink_get_position), (gst_base_sink_change_state):
2839 * libs/gst/base/gstbasesink.h:
2840 Totally refactored matching the design doc.
2841 Use two segments, one to clip incomming buffers and another to
2843 Handle queueing correctly, bypass the queue when playing.
2844 Make EOS cancelable.
2845 Handle errors correctly when operating in pull based mode.
2847 * tests/check/elements/fakesink.c: (GST_START_TEST),
2849 Added new check for sinks.
2851 2006-02-02 Wim Taymans <wim@fluendo.com>
2853 * gst/gstsegment.c: (gst_segment_clip):
2854 No reason to refuse to clip when start == -1
2856 2006-02-02 Stefan Kost <ensonic@users.sf.net>
2859 * docs/manual/intro-basics.xml:
2860 * docs/manual/intro-preface.xml:
2861 * docs/manual/manual.xml:
2862 * docs/pwg/advanced-dparams.xml:
2863 * docs/pwg/intro-basics.xml:
2864 * docs/pwg/intro-preface.xml:
2866 describe dparams (controller) for plugins
2867 unify docs a little more
2869 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
2871 * docs/gst/gstreamer-sections.txt:
2872 * gst/gstutils.c: (element_find_unconnected_pad),
2873 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
2875 Add new API: gst_parse_bin_from_description() and
2876 gst_bin_find_unconnected_pad() (#329069).
2878 2006-02-01 Stefan Kost <ensonic@users.sf.net>
2880 * docs/manual/README:
2881 uncover a nasty detail of the docs build
2883 2006-01-31 Wim Taymans <wim@fluendo.com>
2885 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
2886 Don't cache duration messages if we're not going to use or
2889 2006-01-31 Stefan Kost <ensonic@users.sf.net>
2891 * docs/manual/advanced-dparams.xml:
2892 * docs/pwg/advanced-dparams.xml:
2896 * libs/gst/controller/lib.c: (gst_controller_init):
2899 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
2901 * gst/gstelement.c: (gst_element_message_full):
2902 also show file/line/func if no additional debug was given
2904 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
2906 * win32/vs7/grammar.vcproj:
2907 activate copy of autogenerated files for Release mode
2909 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
2911 * win32/common/libgstreamer.def:
2912 export gst_value_compare
2914 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
2916 * plugins/elements/Makefile.am:
2917 * plugins/elements/gstelements.c:
2918 * plugins/elements/gstfdsink.c: (_do_init),
2919 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
2920 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
2921 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
2922 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
2923 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
2924 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
2925 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
2926 * plugins/elements/gstfdsink.h:
2927 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
2929 2006-01-30 Stefan Kost <ensonic@users.sf.net>
2931 * docs/manual/advanced-dparams.xml:
2933 * docs/manual/advanced-position.xml:
2934 * docs/manual/basics-init.xml:
2935 * docs/manual/manual.xml:
2936 * docs/manual/titlepage.xml:
2938 * docs/pwg/titlepage.xml:
2939 cleanup xml (more to come)
2940 * libs/gst/controller/gstcontroller.c:
2943 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
2945 * win32/vs6/grammar.dsp:
2946 add autogen of gstmarshal.c,h for Release mode
2948 2006-01-30 Wim Taymans <wim@fluendo.com>
2950 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2951 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
2952 (gst_base_sink_handle_object), (gst_base_sink_event),
2953 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
2954 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2955 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
2956 (gst_base_sink_deactivate), (gst_base_sink_activate),
2957 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2958 (gst_base_sink_query), (gst_base_sink_change_state):
2959 Basesink cleanups, remove some old code.
2960 Handle the case where a subclass can preroll in the render
2961 method (mostly audiosinks).
2963 Remove some locks around variables that are now protected
2964 with the PREROLL_LOCK (clock_id, flushing, ..).
2965 Optimize position query some more, do correct locking.
2966 Remove old code to push queue in state change, this is not
2967 needed anymore since preroll blocks on all prerollable items
2969 Almost implemented as described in design doc.
2971 2006-01-30 Wim Taymans <wim@fluendo.com>
2973 * tests/check/gst/gstbin.c: (GST_START_TEST):
2974 Wait for refcount to settle down before checking.
2976 2006-01-30 Wim Taymans <wim@fluendo.com>
2978 * docs/design/part-element-sink.txt:
2979 Pseudo code overview of desired sink behaviour regarding
2982 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2983 * win32/vs6/grammar.dsp:
2984 fix some bugs in Release mode for autogenerated files
2986 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2987 * win32/common/libgstbase.def:
2988 * win32/common/libgstreamer.def:
2989 export some new symbols: gst_base_src_set_format,
2990 gst_iterator_next, gst_structure_set_valist
2992 2006-01-29 Julien MOUTTE <julien@moutte.net>
2994 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
2995 Set pad functions unconditionally. Fixes #329105.
2997 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2999 add vs8 project files created by Sergey Scobich
3001 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
3003 * gst/gstutils.c: (gst_element_unlink_pads):
3004 Don't leak pad references.
3006 * tests/check/elements/fakesink.c: (GST_START_TEST):
3007 * tests/check/generic/sinks.c: (GST_START_TEST):
3008 * tests/check/generic/states.c: (GST_START_TEST):
3009 * tests/check/gst/gstbin.c: (GST_START_TEST):
3010 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3011 * tests/check/gst/gstelement.c: (GST_START_TEST):
3012 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3013 * tests/check/gst/gstiterator.c: (GST_START_TEST):
3014 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3015 Fix a bunch of leaks. Make generic/sinks.c
3016 use a bit less cpu by slowing the buffer rate
3017 between fakesrc and fakesink.
3019 2006-01-27 Stefan Kost <ensonic@users.sf.net>
3021 * gst/gstelement.c: (gst_element_send_event):
3024 * gst/gstiterator.c:
3025 * gst/gstiterator.h:
3026 * gst/gstpad.c: (gst_pad_send_event):
3027 * gst/gststructure.c:
3031 * libs/gst/base/gstadapter.c:
3032 doc fixes, to link to function, just write gst_cool_function(), don't
3035 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3037 * plugins/elements/gsttee.c: (gst_tee_do_push),
3038 (gst_tee_handle_buffer):
3039 Always prefer an actual return value from a src
3040 pad in place of NOT_LINKED. This means we return
3041 WRONG_STATE when all src pads are WRONG_STATE
3042 instead of NOT_LINKED.
3044 Lock when replacing the last message to prevent
3045 racing with the get_property method.
3049 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3051 * tests/check/Makefile.am:
3052 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3054 Add a very simple check that should have caught the memleak I fixed
3055 last night (if not for the slice allocator hiding it)
3057 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3059 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3060 (gst_bin_remove_func), (gst_bin_handle_message_func),
3061 (bin_query_duration_fold), (bin_query_generic_fold):
3062 Clean up references to the clock provider when disposed or when
3063 handling a clock-lost message from it.
3065 Unref sinks when performing a query via gst_iterator_fold, as the
3066 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3068 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3069 (gst_clock_set_master):
3070 Drop our reference to the master clock, if any, when we are disposed.
3072 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3073 Chain up in dispose.
3075 2006-01-26 Wim Taymans <wim@fluendo.com>
3077 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3080 2006-01-26 Julien MOUTTE <julien@moutte.net>
3082 * plugins/elements/gsttee.c: (gst_tee_do_push),
3083 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3084 handles pad being NOT_LINKED or in WRONG_STATE.
3086 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3091 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3094 remove obsolete entry
3096 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3098 * docs/gst/gstreamer-sections.txt:
3099 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3100 (gst_bin_iterate_sources), (gst_bin_send_event):
3102 * gst/gstelement.c: (gst_element_send_event):
3104 * gst/gstpad.c: (gst_pad_send_event):
3105 added code for downstream events, reviewed docs in gstevent.c
3107 2006-01-25 Julien MOUTTE <julien@moutte.net>
3109 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3110 We only query position using the clock in the playing state.
3111 Query peer in the other cases.
3112 * win32/common/config.h: Updates.
3114 2006-01-24 Wim Taymans <wim@fluendo.com>
3116 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3117 A clock entry that is scheduled for the exact time of the
3118 clock is still in time.
3120 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3121 (gst_base_sink_do_sync):
3122 Add some more debug info.
3124 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3127 Add new vs7 project files and solution.
3129 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3132 all files removed as they were out-dated.
3134 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3136 * docs/random/release:
3138 * gst/gstbin.c: (gst_bin_init):
3139 * gst/gstbus.c: (gst_bus_new):
3141 * gst/gstpipeline.c: (gst_pipeline_init):
3142 use gst_bus_new(), improve logging, fix docs
3143 * win32/common/config.h:
3144 update for cvs build
3146 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3149 up required version of automake to 1.7
3151 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
3153 * win32/common/libgstreamer.def:
3154 export gst_buffer_is_metadata_writable
3156 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
3158 * docs/gst/gstreamer-sections.txt:
3160 Add gst_event_replace() (#327001)
3162 2006-01-20 Wim Taymans <wim@fluendo.com>
3164 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3165 Make it actually compile too..
3167 2006-01-20 Wim Taymans <wim@fluendo.com>
3170 Clarify behaviour of _is_equal() when passing NULL parameters.
3172 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3174 Cleanups. Don't unref NULL caps.
3175 When setting the same caps, protect caps of the pad with
3177 Use full functionality of _is_equal() when comparing caps.
3179 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3181 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3182 Don't loop infinitely if there are no buffers to present. Partially
3183 fixes #327197, but collectpads is just broken for reusing elements
3184 to do multiple encodes atm.
3186 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3188 * tools/gst-inspect.c: (print_element_features):
3189 * tools/gst-xmlinspect.c: (main):
3190 URL_HANDLER is not a plugin feature we can search for in
3193 2006-01-19 Edward Hervey <edward@fluendo.com>
3195 * gst/gstelement.c: (gst_element_pads_activate):
3196 When activating, do src pads first, then sink pads.
3197 When de-activating, do sink pads first, then src pads.
3199 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3201 * docs/gst/gstreamer-sections.txt:
3202 Add gst_index_add_associationv to the docs
3204 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3209 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3210 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3211 Do some refactoring. Doesn't actually change functionality,
3212 but makes landing the DRAIN event easier later.
3214 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
3216 * docs/pwg/advanced-scheduling.xml:
3217 Update from 0.9.x to 0.10 API and make example a bit
3220 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3222 * docs/gst/gstreamer-sections.txt:
3223 Add gst_buffer_(is|make)_metadata_writable methods.
3225 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3227 * docs/design/part-sparsestreams.txt:
3228 Update sparse streams doc, hopefully for greater clarity
3230 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
3232 * docs/design/part-events.txt:
3233 Remove mention of FILLER events.
3236 * docs/design/part-sparsestreams.txt:
3237 Write some things about using NEWSEGMENT to keep sparse streams
3240 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3242 * gst/gstbin.c: (gst_bin_dispose):
3243 Guard gst_object_unref call against a NULL object (dispose
3244 can theoretically be called multiple times).
3246 2006-01-18 Wim Taymans <wim@fluendo.com>
3248 * gst/gstbin.c: (gst_bin_element_set_state):
3249 * gst/gstclock.c: (gst_clock_id_wait):
3250 Added some more debug info.
3252 * libs/gst/base/gstadapter.c:
3255 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3256 (gst_base_sink_do_sync), (gst_base_sink_chain):
3257 Added some comments.
3259 2006-01-18 Wim Taymans <wim@fluendo.com>
3261 * tests/check/Makefile.am:
3262 * tests/check/elements/fakesink.c: (chain_async_buffer),
3263 (chain_async), (chain_async_return), (GST_START_TEST),
3264 (fakesink_suite), (main):
3265 Added fakesink test that checks prerolling and clipping
3268 * tests/check/gst/gstutils.c: (GST_START_TEST):
3269 Make check run faster so that buildbots don't timeout.
3271 2006-01-18 Wim Taymans <wim@fluendo.com>
3273 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3274 (gst_base_sink_do_sync):
3276 When the sink finishes blocking on the preroll buffer, it can
3277 immediatly render it instead of rendering when the next buffer
3280 2006-01-18 Wim Taymans <wim@fluendo.com>
3282 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
3283 (gst_base_sink_get_property), (gst_base_sink_do_sync),
3284 (gst_base_sink_chain):
3286 GST_ELEMENT_CLOCK and sync are protected with LOCK.
3287 Don't store _last_stop if the buffer is dropped.
3289 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3291 * plugins/elements/gsttypefindelement.c:
3292 (gst_type_find_element_class_init):
3293 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
3294 object method handler that sets the caps on the pad and we want
3295 that to happen before we emit the signal (fixes e.g. feeding a
3296 plain text file to decodebin).
3298 2006-01-18 Christian Schaller <Christian@fluendo.com>
3300 * gst/gstplugin.c: Add MPL and Proprietary as license options
3302 2006-01-18 Andy Wingo <wingo@pobox.com>
3304 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
3305 symbol was exported before, it appears this was just an oversight.
3307 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
3309 * gst/gstindex.c (gst_index_add_associationv): Changed int in
3310 prototype to gint. OK since this prototype was not in the header.
3312 2006-01-17 Andy Wingo <wingo@pobox.com>
3314 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
3315 registry while we remove plugins.
3317 * tools/gst-inspect.c (print_element_info): Don't unref the
3318 factory arg, that should be the responsibility of whatever code
3319 received the ref. Fixes a double-free when called from
3320 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
3321 (main): Unref the factory if we have one.
3322 (print_element_list): No change -- relies on the
3323 plugin_feature_list_free to free the list of features.
3325 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
3327 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3328 (gst_buffer_make_metadata_writable):
3330 * libs/gst/base/gstbasetransform.c:
3331 (gst_base_transform_prepare_output_buf):
3332 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3333 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3334 Replace gst_buffer_(make|is)_metadata_writable patch now
3335 that the release is out.
3337 2006-01-17 Andy Wingo <wingo@pobox.com>
3339 * gst/gstregistry.c: Reflow design comment. Update so as to speak
3340 in the present tense without reference to versions.
3342 * gst/gstregistry.c (gst_registry_add_plugin)
3343 (gst_registry_remove_plugin, gst_registry_remove_feature)
3344 (gst_registry_find_feature, gst_registry_get_feature_list)
3345 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
3346 (gst_registry_lookup, gst_registry_scan_path)
3347 (_gst_registry_remove_cache_plugins)
3348 (gst_registry_get_feature_list_by_plugin): Add argument
3351 === release 0.10.2 ===
3353 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
3356 releasing 0.10.2, "If man is five"
3358 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3362 * libs/gst/base/gstbasetransform.c:
3363 (gst_base_transform_prepare_output_buf):
3364 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3365 * tests/check/gst/gstbuffer.c: (gst_test_suite):
3366 Back out patch until after the release.
3368 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3370 * gst/gstminiobject.c:
3371 Spelling fix in docs.
3372 * ChangeLog - remove conflict indicator
3374 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3376 Reviewed By: Andy Wingo
3378 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3379 (gst_buffer_make_metadata_writable):
3381 Add gst_buffer_(is|make)_metadata_writable as analogues of
3382 gst_buffer_(is|make)_writable.
3384 * libs/gst/base/gstbasetransform.c:
3385 (gst_base_transform_prepare_output_buf):
3386 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3387 Use name gst_buffer_(is|make)_metadata_writable functions.
3389 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3390 Test gst_buffer_(is|make)_metadata_writable
3394 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
3396 * docs/manual/Makefile.am:
3397 don't do parallel make
3400 * win32/common/config.h.in:
3401 add generations for HOST_CPU and GST_MAJORMINOR
3402 * win32/common/config.h:
3403 commit generated result
3405 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
3407 * docs/manual/appendix-integration.xml:
3408 Update GNOME integration section to use gst_init_get_option_group()
3409 instead of the old popt stuff (#322911). Also, GNOME applications
3410 should now use gconf*sink and gconf*src instead of the old gconf
3413 2006-01-13 Stefan Kost <ensonic@users.sf.net>
3416 * docs/gst/gstreamer-docs.sgml:
3417 * docs/gst/gstreamer-sections.txt:
3418 * docs/libs/gstreamer-libs-sections.txt:
3419 add new API entries to the docs
3420 * libs/gst/controller/Makefile.am:
3421 * libs/gst/controller/gstcontroller.c:
3422 * libs/gst/controller/gstcontroller.h:
3423 * libs/gst/controller/gstcontrollerprivate.h:
3424 * libs/gst/controller/gsthelper.c:
3425 * libs/gst/controller/gstinterpolation.c:
3426 move private structs to private header
3428 gstreamer-0.7 -> gstreamer-0.10
3429 * tests/check/libs/struct_i386.h:
3430 remove private structs
3432 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3434 * plugins/indexers/Makefile.am:
3435 Fixes as part of #317048
3437 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3439 * plugins/indexers/Makefile.am:
3440 fix #316086 - compilation when mmap is missing
3442 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
3444 * libs/gst/base/gstbasesink.c:
3445 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
3446 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
3447 * win32/common/config.h:
3448 added some defines GST_MAJORMINOR and HOST_CPU
3449 * win32/common/libgstbase.def:
3450 * win32/common/libgstreamer.def:
3451 added some exported functions.
3453 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3455 * libs/gst/controller/gstcontroller.c:
3456 (gst_controlled_property_set_interpolation_mode),
3457 (gst_controlled_property_new):
3458 * libs/gst/controller/gstcontroller.h:
3459 * libs/gst/controller/gstinterpolation.c:
3460 (interpolate_none_get_string_value_array):
3461 make G_TYPE_STRING controlable
3463 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3466 * tools/gst-feedback.1.in:
3467 * tools/gst-inspect.1.in:
3468 * tools/gst-launch.1.in:
3469 * tools/gst-md5sum.1.in:
3470 * tools/gst-typefind.1.in:
3471 * tools/gst-xmlinspect.1.in:
3472 * tools/gst-xmllaunch.1.in:
3473 cleanup man-pages, remove reference to gst-register, document env-vars
3475 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
3477 * gst/gstbuffer.c: (gst_buffer_span):
3478 gst_buffer_span should copy the timestamp of the first buffer
3479 if they were both originally overlapping subbuffers of the
3480 same parent, using the same logic as the 'slow copy' case.
3482 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
3484 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
3485 Need to awaken ALL the pads when we pop a buffer, otherwise
3486 collectpads only works when there is 2 input streams.
3488 2006-01-11 Stefan Kost <ensonic@users.sf.net>
3490 * docs/random/ensonic/media-device-daemon.txt:
3493 fix doc example, add clarification
3494 * tools/gst-launch.1.in:
3495 add initial info about GST_PLUGIN_PATH, needs more work
3497 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
3499 * docs/manual/basics-bins.xml:
3500 * docs/manual/basics-elements.xml:
3501 * docs/manual/intro-basics.xml:
3502 Some more minor docs additions and updates.
3504 2006-01-11 Wim Taymans <wim@fluendo.com>
3506 * docs/manual/basics-bins.xml:
3507 * docs/manual/basics-elements.xml:
3508 Some small fixes as pointed out by Ser-ver on IRC.
3510 2006-01-10 Edward Hervey <edward@fluendo.com>
3512 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3513 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
3514 the single-segment mode.
3516 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
3518 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3520 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
3521 (gst_base_src_perform_seek), (gst_base_src_send_event),
3522 (gst_base_src_set_property), (gst_base_src_get_property),
3523 (gst_base_src_loop), (gst_base_src_start),
3524 (gst_base_src_activate_push):
3525 * libs/gst/base/gstbasesrc.h:
3526 Name (private) union; makes Sun's Forte compiler happy (#324900).
3528 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
3531 gst-register is gone.
3533 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
3535 * gst/gstvalue.c: (_gst_value_initialize):
3536 make the G_TYPE_DATE instantiation work if debug is disabled
3538 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
3540 * gst/gstmessage.c: (gst_message_parse_tag),
3541 (gst_message_parse_error), (gst_message_parse_warning):
3542 Don't crash when return location for error/warning debug
3543 string is NULL; add fact that return locations can be
3544 NULL to docs where appropriate.
3546 2006-01-05 Wim Taymans <wim@fluendo.com>
3548 * gst/gstplugin.c: (gst_plugin_load_file):
3549 Replace strdup by g_strdup.
3551 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3553 * docs/pwg/advanced-types.xml:
3556 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3558 submitted by: Abel Cheung
3562 Added Chinese (traditional) translation
3564 2006-01-04 Wim Taymans <wim@fluendo.com>
3566 * docs/manual/basics-pads.xml:
3567 * docs/plugins/Makefile.am:
3568 * docs/plugins/gstreamer-plugins-docs.sgml:
3569 * docs/plugins/gstreamer-plugins-sections.txt:
3570 * docs/pwg/advanced-clock.xml:
3571 * docs/pwg/advanced-scheduling.xml:
3572 * docs/pwg/advanced-types.xml:
3573 * plugins/elements/gstfdsink.c:
3574 * plugins/elements/gstfdsrc.c:
3575 * plugins/elements/gstfdsrc.h:
3576 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3577 * plugins/elements/gstidentity.h:
3578 * plugins/elements/gstqueue.h:
3579 * plugins/elements/gsttee.c:
3580 * plugins/elements/gsttee.h:
3581 * plugins/elements/gsttypefindelement.c:
3582 (gst_type_find_element_class_init):
3583 * plugins/elements/gsttypefindelement.h:
3584 Small updates to various docs.
3585 Added core plugins to docs.
3587 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3590 add a suppression for liboil's uninitialized variable
3592 2006-01-02 James Livingston <jrl at ids dot org dot au>
3594 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3597 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
3598 macro, so that gcc doesn't complain if the -Wmissing-prototypes
3599 compiler switch is being used (#325429).
3601 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
3603 * gst/gstbin.c: (gst_bin_query):
3604 Disable duration query caching in bins until it gets
3605 fixed (see #324807).
3607 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3609 * tools/gst-inspect.c: (print_element_properties_info):
3610 Handle properties of POINTER and BOXED type.
3612 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3614 * gst/gst.c: (init_post):
3615 Init tags stuff and some other things before loading
3616 any static plugins (there may be other static plugins
3617 than just the GStreamer ones, and they may want to
3618 register their own tags or formats or whatever, and
3619 preferably without segfaulting).
3621 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3622 Print at least a warning in the debug logs if we drop a
3623 query just because we don't know how to adjust the value
3624 in the particular format.
3626 2005-12-24 David Schleef <ds@schleef.org>
3628 * tools/gstreamer-completion:
3629 Replacement for gst-complete written in sh and sed. Only
3630 completes names of features, but that's 90% of what I want
3631 it for. Properties are not available in registry.xml. (Maybe
3634 === release 0.10.1 ===
3636 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
3639 releasing 0.10.1, "Nollaig chridheil"
3641 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
3644 Add missing quote, should be make ERROR_CFLAGS="".
3646 2005-12-20 Wim Taymans <wim@fluendo.com>
3648 * docs/design/part-trickmodes.txt:
3649 More documentation on trickmodes.
3651 2005-12-20 Edward Hervey <edward@fluendo.com>
3653 * gst/gstcaps.c: (gst_static_caps_get_type):
3655 API addition: GST_TYPE_STATIC_CAPS
3656 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
3657 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
3658 * gst/gstpadtemplate.h:
3659 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
3660 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
3663 2005-12-18 Wim Taymans <wim@fluendo.com>
3665 * libs/gst/base/gstadapter.c:
3666 * libs/gst/base/gstadapter.h:
3667 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3668 (gst_base_sink_get_position):
3669 * libs/gst/base/gstbasesink.h:
3670 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3671 (gst_base_src_default_query), (gst_base_src_default_do_seek),
3672 (gst_base_src_do_seek), (gst_base_src_perform_seek),
3673 (gst_base_src_send_event), (gst_base_src_update_length),
3674 (gst_base_src_get_range), (gst_base_src_loop),
3675 (gst_base_src_start):
3676 * libs/gst/base/gstbasesrc.h:
3677 * libs/gst/base/gstbasetransform.h:
3678 * libs/gst/base/gstcollectpads.h:
3679 * libs/gst/base/gstpushsrc.c:
3680 * libs/gst/base/gstpushsrc.h:
3681 * libs/gst/dataprotocol/dataprotocol.c:
3682 * libs/gst/dataprotocol/dataprotocol.h:
3683 * libs/gst/net/gstnetclientclock.h:
3684 * libs/gst/net/gstnettimeprovider.h:
3685 Documentation updates.
3687 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
3689 * docs/manual/basics-helloworld.xml:
3690 Remove superfluous closing bracket in helloworld example.
3692 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
3694 * tools/gst-launch.1.in:
3695 Update gst-launch man page; add a section with useful
3696 environment variables. Fixes #323882.
3698 2005-12-16 Stefan Kost <ensonic@users.sf.net>
3701 * gst/gst_private.h:
3702 change some char* into char[]
3704 2005-12-16 Wim Taymans <wim@fluendo.com>
3706 * gst/gstregistryxml.c: (load_feature):
3708 Don't use g_object_unref on GstObjects so that we avoid
3709 leaks on unsafe glibs.
3711 2005-12-16 Wim Taymans <wim@fluendo.com>
3713 * gst/gstbin.c: (gst_bin_recalc_state):
3716 2005-12-16 Wim Taymans <wim@fluendo.com>
3719 Added make forever target for check.
3721 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
3723 * gst/gst.c: (init_post):
3724 make the registry cache file HOST_CPU-dependent
3726 2005-12-16 Andy Wingo <wingo@pobox.com>
3728 * plugins/elements/gstbufferstore.c
3729 (gst_buffer_store_cleared_func): Pay attention to g_list_append
3732 * tests/check/gst/gstobject.c
3733 (test_fake_object_name_threaded_unique): Pay attention to
3734 g_list_sort return value.
3736 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
3738 * tools/gst-feedback-m.m:
3739 Update for 0.9/0.10 (fixes #323870).
3741 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
3743 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
3744 Fix lcopy for mini objects, the mini object needs to be ref'ed.
3746 * tests/check/gst/gstminiobject.c: (my_foo_init),
3747 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
3748 (test_value_collection), (gst_mini_object_suite):
3749 Add test to ensure refcounts end up as expected when passing
3750 GstMiniObjects through g_object_get() and g_object_set().
3752 2005-12-14 Julien MOUTTE <julien@moutte.net>
3754 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3755 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
3756 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
3757 of collectpads. This version removes a lot of races without
3758 touching API/ABI. Yay !
3760 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
3762 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
3763 Don't allow activation of a srcpad in pull_range if it has no
3765 Change some debug statements to be a little clearer
3767 * plugins/elements/gsttypefindelement.c:
3768 (gst_type_find_handle_src_query):
3769 Check that we have a peer before executing queries thereupon.
3771 * tests/examples/metadata/read-metadata.c: (message_loop):
3772 Use gst_bus_pop instead of gst_bus_poll when we just want it to
3773 immediately return us any available message with 0 timeout.
3775 2005-12-12 Michael Smith <msmith@fluendo.com>
3777 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3778 Don't unref factories after calling them.
3779 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
3780 * plugins/elements/gsttypefindelement.c:
3781 (gst_type_find_element_chain):
3782 Free lists of factories after using them. Fixing typefinding memory
3785 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3787 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3788 (gst_plugin_feature_load):
3789 more meaningful debug output
3791 * tests/Makefile.am:
3792 * tests/old/examples/Makefile.am:
3793 make make distcheck happy again
3795 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
3797 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3798 Catch the special case where we are operating chain-based,
3799 but the downstream peer pad has no chain function. Emit a
3800 custom error message in this case instead of letting the
3801 core generate one implying that this is some sort of core
3802 bug. It's not, it just means that whatever got plugged
3803 into the pipeline downstream when we announced the type
3804 can only operate pull-based, while our source can only
3805 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
3806 Error string has not been marked for translation yet, as
3807 it probably needs some more work first.
3809 (gst_type_find_element_get_best_possibility):
3810 Add helper function to find the best of all available
3811 found possibilities that qualify given the min. threshold.
3813 (gst_type_find_element_handle_event):
3814 Fix the case where we get an EOS while still in TYPEFIND
3815 mode (we want to chose the best of all possible types,
3816 not just the first type that happens to be in our unsorted
3817 list of possible types).
3819 (gst_type_find_element_chain):
3820 Make sure we return GST_FLOW_ERROR when we errored out
3821 in stop_typefinding(); also, don't just find the best of
3822 all found type entries and then use the last examined
3823 type entry, but actually use the best entry.
3825 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
3827 * tests/examples/typefind/typefind.c: (type_found):
3828 * tests/examples/xml/runxml.c: (xml_loaded):
3829 More gcc4 fixes and a mem leak fix.
3831 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3833 * tests/examples/xml/createxml.c: (object_saved):
3836 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3838 * tests/Makefile.am:
3839 enable the examples even more
3841 2005-12-12 Andy Wingo <wingo@pobox.com>
3843 * libs/gst/net/gstnettimeprovider.c
3844 (gst_net_time_provider_class_init, gst_net_time_provider_init)
3845 (gst_net_time_provider_set_property)
3846 (gst_net_time_provider_get_property):
3847 API addition: Export "active" as a GObject property.
3848 (gst_net_time_provider_thread): Only respond to time queries if
3849 the time provider is active.
3851 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
3852 NetTimeProvider, preserving binary compat.
3854 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3856 * tests/examples/controller/audio-example.c: (main):
3857 * tests/examples/launch/Makefile.am:
3858 convert comments again
3860 2005-12-12 Wim Taymans <wim@fluendo.com>
3862 * libs/gst/base/gstpushsrc.c:
3865 2005-12-12 Wim Taymans <wim@fluendo.com>
3867 * docs/libs/gstreamer-libs-sections.txt:
3868 Added new symbol to docs.
3870 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3871 (gst_base_src_init), (gst_base_src_set_format),
3872 (gst_base_src_default_query), (gst_base_src_query),
3873 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
3874 (gst_base_src_perform_seek), (gst_base_src_send_event),
3875 (gst_base_src_default_event), (gst_base_src_event_handler),
3876 (gst_base_src_set_property), (gst_base_src_get_property),
3877 (gst_base_src_wait), (gst_base_src_do_sync),
3878 (gst_base_src_update_length), (gst_base_src_get_range),
3879 (gst_base_src_check_get_range), (gst_base_src_loop),
3880 (gst_base_src_default_negotiate), (gst_base_src_start),
3881 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3882 (gst_base_src_change_state):
3883 * libs/gst/base/gstbasesrc.h:
3884 Implement seeking to other formats than _BYTES.
3885 Implement more seeking methods correctly.
3887 Added query vmethod.
3888 Added do_seek vmethod to make life easier for subclasses
3890 API addition: gst_base_src_set_format()
3892 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3894 * tests/examples/Makefile.am:
3897 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3900 * docs/random/ensonic/media-device-daemon.txt:
3901 * tests/examples/controller/.cvsignore:
3902 * tests/examples/controller/Makefile.am:
3903 * tests/examples/controller/audio-example.c: (main):
3904 * tests/examples/helloworld/.cvsignore:
3905 * tests/examples/helloworld/Makefile.am:
3906 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
3907 * tests/examples/launch/.cvsignore:
3908 * tests/examples/launch/Makefile.am:
3909 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
3910 * tests/examples/metadata/.cvsignore:
3911 * tests/examples/metadata/Makefile.am:
3912 * tests/examples/metadata/read-metadata.c: (message_loop),
3913 (make_pipeline), (print_tag), (main):
3914 * tests/examples/queue/.cvsignore:
3915 * tests/examples/queue/Makefile.am:
3916 * tests/examples/queue/queue.c: (event_loop), (main):
3917 * tests/examples/typefind/.cvsignore:
3918 * tests/examples/typefind/Makefile.am:
3919 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
3921 * tests/examples/xml/.cvsignore:
3922 * tests/examples/xml/Makefile.am:
3923 * tests/examples/xml/createxml.c: (object_saved), (main):
3924 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
3925 * tests/old/examples/Makefile.am:
3926 * tests/old/examples/TODO:
3927 * tests/old/examples/controller/.cvsignore:
3928 * tests/old/examples/controller/Makefile.am:
3929 * tests/old/examples/controller/audio-example.c:
3930 * tests/old/examples/helloworld/.cvsignore:
3931 * tests/old/examples/helloworld/Makefile.am:
3932 * tests/old/examples/helloworld/helloworld.c:
3933 * tests/old/examples/launch/.cvsignore:
3934 * tests/old/examples/launch/Makefile.am:
3935 * tests/old/examples/launch/mp3parselaunch.c:
3936 * tests/old/examples/launch/mp3play:
3937 * tests/old/examples/manual/Makefile.am:
3938 * tests/old/examples/metadata/Makefile.am:
3939 * tests/old/examples/metadata/read-metadata.c:
3940 * tests/old/examples/queue/.cvsignore:
3941 * tests/old/examples/queue/Makefile.am:
3942 * tests/old/examples/queue/queue.c:
3943 * tests/old/examples/typefind/.cvsignore:
3944 * tests/old/examples/typefind/Makefile.am:
3945 * tests/old/examples/typefind/typefind.c:
3946 * tests/old/examples/xml/.cvsignore:
3947 * tests/old/examples/xml/Makefile.am:
3948 * tests/old/examples/xml/createxml.c:
3949 * tests/old/examples/xml/runxml.c:
3950 applied some simple fixing to some examples
3951 re-enabled the working examples
3953 2005-12-12 Wim Taymans <wim@fluendo.com>
3955 * gst/gstsegment.c: (gst_segment_init),
3956 (gst_segment_set_last_stop), (gst_segment_set_seek),
3957 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
3958 (gst_segment_to_running_time):
3959 Added more documentation.
3960 Make sure the last_pos value is updated properly.
3961 Make sure to_stream_time and to_running_time don't
3962 operate on wrong values.
3964 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3967 2005-12-12 Michael Smith <msmith@fluendo.com>
3969 * plugins/elements/gsttypefindelement.c: (free_entry),
3970 (gst_type_find_element_chain):
3971 Now that we're not leaking factories, make sure we keep references
3972 to them while we need them.
3974 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
3976 * tests/check/gst/struct_i386.h:
3977 ifdef out the XML structs
3979 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
3981 * gst/gstvalue.c: (gst_value_transform_double_fraction):
3982 floor is not needed, F is always positive; this obviates the
3983 need for adding -lm when building without libxml
3985 2005-12-12 Wim Taymans <wim@fluendo.com>
3987 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3988 Take current playback rate into account when reporting
3991 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3993 * docs/manual/mime-world.fig:
3994 Let's try this again, this time with a file that is
3995 actually in XFig format.
3997 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3999 * docs/manual/mime-world.fig:
4000 Add audioconvert element to diagram so that it
4001 matches the text and the code (fixes #319526).
4003 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4005 * docs/pwg/building-chainfn.xml:
4006 * docs/pwg/building-pads.xml:
4007 * docs/pwg/building-state.xml:
4008 * docs/pwg/other-source.xml:
4009 Update state change stuff for 0.10 (fixes #322969).
4011 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4013 * docs/manual/advanced-dataaccess.xml:
4014 * docs/manual/appendix-checklist.xml:
4015 * docs/manual/appendix-programs.xml:
4016 * docs/manual/basics-pads.xml:
4017 * docs/manual/highlevel-components.xml:
4018 * docs/manual/manual.xml:
4019 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4020 add converters in front of pipelines; remove curly
4021 brackets for threads stuff, they no longer exist; use
4022 GST_TYPE_FRACTION for framerates; update some pieces of
4023 code to 0.10, but there's plenty more to do.
4025 * docs/manual/appendix-porting.xml:
4026 Expand on asynchroneous state changes; s/0.9/0.10/;
4027 mention disappearance of gst_init_get_popt_table()
4030 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4032 * docs/faq/using.xml:
4033 Spider no longer exists, and neither does gst-launch-ext.
4034 Update examples to use decodebin and playbin and put
4035 converters in front of sinks (fixes #323726).
4037 2005-12-09 Michael Smith <msmith@fluendo.com>
4039 * plugins/elements/gsttypefindelement.c: (find_peek),
4040 (gst_type_find_element_chain):
4041 Fix leaking element factories in typefinding.
4042 Fix problem where we forgot about a probable type on non-seekable
4043 files, and thus later mis-typefound it.
4045 2005-12-09 Michael Smith <msmith@fluendo.com>
4047 * common/m4/gst-makecontext.m4:
4048 * common/m4/gst-mcsc.m4:
4050 * win32/common/config.h:
4051 * win32/common/config.h.in:
4052 Remove makecontext stuff; not used in 0.10 and causes problems on
4053 HPUX according to bug #322441
4055 2005-12-07 Wim Taymans <wim@fluendo.com>
4057 * tests/check/Makefile.am:
4058 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4060 * tests/check/libs/struct_i386.h:
4061 Added ABI check for libs
4063 2005-12-07 Wim Taymans <wim@fluendo.com>
4065 * tests/check/Makefile.am:
4066 And add the struct_i386.h to dist.
4068 2005-12-07 Wim Taymans <wim@fluendo.com>
4070 * tests/check/Makefile.am:
4071 * tests/check/gst/.cvsignore:
4072 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4074 * tests/check/gst/struct_i386.h:
4075 Added check for ABI compatibility.
4077 2005-12-07 Wim Taymans <wim@fluendo.com>
4079 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4080 (gst_fake_src_get_times), (gst_fake_src_create):
4081 Fix broken sync option, fixes #323259
4083 2005-12-07 Wim Taymans <wim@fluendo.com>
4088 * gst/gstcaps.c: (gst_caps_is_equal):
4089 Don't assert on NULL <--> X. Fixes #323260
4091 * gst/gstminiobject.c: (gst_mini_object_replace):
4092 If we're doing atomic operations, we might just as well use
4093 the proper way to get an atomic pointer.
4095 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4098 2005-12-07 Michael Smith <msmith@fluendo.com>
4100 * gst/parse/grammar.y:
4101 Remove handling of { } for threads.
4103 2005-12-06 David Schleef <ds@schleef.org>
4105 * libs/gst/base/gstbasetransform.c: speling fix.
4107 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
4109 * docs/libs/tmpl/gstdataprotocol.sgml:
4110 * docs/random/omega/testing/gstobject.c:
4114 * gst/gstelementfactory.c:
4117 * gst/gstghostpad.c:
4119 * gst/gstpadtemplate.c:
4120 * gst/gstregistryxml.c:
4122 * gst/gsttagsetter.c:
4123 * gst/gsttypefind.c:
4125 * libs/gst/base/gstbasesrc.c:
4126 * libs/gst/net/gstnetclientclock.c:
4127 * libs/gst/net/gstnettimeprovider.c:
4128 * plugins/elements/gstfakesrc.c:
4129 * plugins/elements/gstfdsrc.c:
4130 * plugins/elements/gstfilesrc.c:
4131 * plugins/elements/gstidentity.c:
4132 * plugins/elements/gstqueue.c:
4133 * plugins/elements/gsttypefindelement.c:
4134 * plugins/indexers/gstfileindex.c:
4135 * plugins/indexers/gstmemindex.c:
4136 * tests/check/gst/gsttag.c:
4137 * tests/old/examples/cutter/cutter.c:
4138 * tests/old/examples/mixer/mixer.c:
4139 * tests/old/examples/xml/runxml.c: (main):
4140 * tests/old/testsuite/caps/normalisation.c:
4141 * tests/old/testsuite/debug/global.c:
4142 * tests/old/testsuite/parse/parse1.c:
4143 * tools/gst-xmlinspect.c:
4144 * win32/common/dirent.c:
4147 === release 0.10.0 ===
4149 2005-12-05 <thomas (at) apestaart (dot) org>
4152 releasing 0.10.0, "Maroilles"
4154 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4156 submitted by: Funda Wang <fundawang@linux.net.cn>
4160 added Chinese (Traditional) translation
4162 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4164 * docs/gst/gstreamer-sections.txt:
4165 * docs/libs/tmpl/gstdataprotocol.sgml:
4166 * docs/random/thomasvs/TODO:
4171 2005-12-05 Andy Wingo <wingo@pobox.com>
4173 patch by: Wim Taymans <wim@fluendo.com>
4175 * libs/gst/base/gstbasetransform.c
4176 (gst_base_transform_prepare_output_buf)
4177 (gst_base_transform_buffer_alloc):
4178 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4179 alloc_buffer_and_set_caps.
4181 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4182 set_caps on the source pad.
4183 (gst_pad_alloc_buffer_and_set_caps): New function, does what
4184 alloc_buffer used to do. Fixes #322874.
4186 * docs/gst/gstreamer-sections.txt:
4187 * docs/design/part-negotiation.txt:
4188 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4191 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4193 patch by: Sebastien Moutte
4196 * win32/common/config.h.in:
4197 * win32/vs6/libgstcontroller.dsp:
4200 2005-12-05 Wim Taymans <wim@fluendo.com>
4202 * gst/gstcaps.c: (gst_caps_is_equal):
4203 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4204 (gst_fake_src_create):
4205 Back out previous code changes, leave doc updates, file bugs
4208 2005-12-05 Wim Taymans <wim@fluendo.com>
4210 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4211 (gst_fake_src_get_times), (gst_fake_src_create):
4212 * plugins/elements/gstfakesrc.h:
4213 Fix broken sync code.
4215 2005-12-05 Wim Taymans <wim@fluendo.com>
4217 * gst/gstcaps.c: (gst_caps_is_equal):
4218 Comparing NULL against !NULL yields different caps, not a
4221 2005-12-05 Wim Taymans <wim@fluendo.com>
4223 * gst/gstpipeline.c:
4224 Fix small typo in docs.
4226 2005-12-05 Andy Wingo <wingo@pobox.com>
4228 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
4230 * gst/gst.c (init_post): remove hard-coded 0.9 location for
4231 registries/plugins with a MAJORMINOR one.
4232 (plugin_desc): Rename library from gstcoreleements to
4233 staticelements. Fixes #323222.
4235 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
4237 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4238 Change debug category to 'collectpads' from 'collect_pads'
4241 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4243 patch by: Sebastien Moutte
4245 * libs/gst/controller/gstinterpolation.c:
4246 use convert function for uint64/double
4247 * win32/vs6/libgstcontroller.dsp:
4250 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4252 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
4253 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
4255 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4256 add tests that seem to show that the guint64/gdouble conversions
4259 2005-12-02 Wim Taymans <wim@fluendo.com>
4261 * gst/gstregistry.c: (gst_registry_add_path):
4262 * gst/gstregistry.h:
4263 * gst/gstregistryxml.c:
4266 2005-12-02 Wim Taymans <wim@fluendo.com>
4268 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4269 (gst_util_uint64_scale_int):
4272 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4275 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
4278 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4281 * win32/common/config.h:
4282 * win32/vs6/gstreamer.dsw:
4283 * win32/vs6/libgstcoreelements.dsp:
4284 * win32/vs6/libgstelements.dsp:
4285 renamed core elements plugin
4287 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4289 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
4291 do piece-wise major/minor comparison so 0.9 < 0.10
4292 also allow .exe extensions for tools
4294 2005-12-02 Michael Smith <msmith@fluendo.com>
4297 Escape a % to make gtkdoc happier; bug 322958.
4299 === release 0.9.7 ===
4301 2005-12-01 <thomas (at) apestaart (dot) org>
4304 releasing 0.9.7, "My Dog Has No Nose"
4306 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4308 * common/gst-xmlinspect.py:
4310 * docs/libs/tmpl/gstdataprotocol.sgml:
4311 * docs/random/release:
4330 * win32/common/config.h:
4331 * win32/common/config.h.in:
4332 * win32/vs6/gst_inspect.dsp:
4333 * win32/vs6/gst_launch.dsp:
4334 * win32/vs6/libgstbase.dsp:
4335 * win32/vs6/libgstelements.dsp:
4336 * win32/vs6/libgstreamer.dsp:
4337 * win32/vs7/GStreamer.vcproj:
4338 * win32/vs7/gst-inspect.vcproj:
4339 * win32/vs7/gst-launch.vcproj:
4340 * win32/vs7/libgstbase.vcproj:
4341 bump GST_MAJORMINOR to 0.10
4342 reset libtool version
4344 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4348 Added Bulgarian translation by (Alexander Shopov)
4350 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4352 * tests/check/gst/gstplugin.c:
4355 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4357 * common/gst-xmlinspect.py:
4358 * common/gtk-doc-plugins.mak:
4361 * docs/gst/Makefile.am:
4362 * docs/gst/gstreamer-docs.sgml:
4363 * docs/gst/gstreamer-sections.txt:
4364 * docs/gst/gstreamer.types:
4365 * docs/gst/gstreamer.types.in:
4366 * docs/plugins/Makefile.am:
4367 * docs/plugins/gstreamer-plugins-docs.sgml:
4368 * docs/plugins/gstreamer-plugins-sections.txt:
4369 * docs/plugins/gstreamer-plugins.types:
4370 * docs/plugins/inspect.stamp:
4371 * docs/plugins/inspect/plugin-coreelements.xml:
4372 * docs/plugins/inspect/plugin-coreindexers.xml:
4373 * docs/plugins/scanobj-build.stamp:
4374 * gstreamer.spec.in:
4375 * plugins/elements/Makefile.am:
4376 * plugins/elements/gstelements.c:
4377 * plugins/elements/gstfakesink.c:
4378 * plugins/elements/gstfakesrc.c:
4379 * plugins/elements/gstfilesink.c:
4380 * plugins/elements/gstfilesrc.c:
4381 * plugins/elements/gstqueue.c:
4382 * plugins/indexers/Makefile.am:
4383 * plugins/indexers/gstindexers.c:
4384 document core plugins in a separate document just like all the
4386 rename these plugins to something starting with core
4388 2005-12-01 Andy Wingo <wingo@pobox.com>
4390 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
4391 padding here before, but it missed the commit.
4393 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4395 * libs/gst/controller/gstinterpolation.c:
4396 whitespace prices have crashed, we should feel free to use some now
4397 use gst_guint64_to_gdouble
4399 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4401 * libs/gst/controller/gstcontroller.c:
4402 * libs/gst/controller/gsthelper.c:
4403 * libs/gst/controller/gstinterpolation.c:
4404 * libs/gst/controller/lib.c:
4405 wrap config.h include
4407 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4409 * docs/gst/gstreamer-sections.txt:
4412 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4414 * plugins/elements/gstelements.c:
4415 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
4416 (gst_fd_sink__class_init), (gst_fd_sink__init),
4417 (gst_fd_sink__chain), (gst_fd_sink__set_property),
4418 (gst_fd_sink__get_property):
4419 * plugins/elements/gstfdsink.h:
4420 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
4421 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
4422 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
4423 (gst_fd_src_unlock), (gst_fd_src_set_property),
4424 (gst_fd_src_get_property), (gst_fd_src_create),
4425 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
4426 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
4427 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
4428 (gst_fd_src_uri_handler_init):
4429 * plugins/elements/gstfdsrc.h:
4430 * plugins/elements/gstqueue.c: (gst_queue_get_type):
4433 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4435 * docs/gst/Makefile.am:
4436 * docs/gst/gstreamer.types.in:
4440 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4446 * gst/gstregistry.h:
4447 * tests/benchmarks/complexity.c:
4448 * tests/benchmarks/mass-elements.c:
4449 * tests/check/Makefile.am:
4450 * tools/Makefile.am:
4451 * tools/gst-inspect.c:
4452 * tools/gst-xmlinspect.c:
4453 various fixes to make
4454 --disable-nls --disable-registry --disable-loadsave
4455 --disable-parse --disable-gst-debug
4456 work and get the core .so down to 360444 bytes after stripping
4458 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4463 * docs/random/thomasvs/TODO:
4464 * tests/Makefile.am:
4468 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4470 * win32/GStreamer.vcproj:
4473 * win32/Makefile.inspect:
4474 * win32/Makefile.launch:
4475 * win32/Makefile.register:
4477 * win32/gst-inspect.vcproj:
4478 * win32/gst-launch.vcproj:
4479 * win32/gst-register.vcproj:
4480 * win32/gstelements.vcproj:
4481 * win32/gstgetbits.def:
4482 * win32/gstgetbits.vcproj:
4483 * win32/gstreamer-dbg.def:
4484 * win32/gstreamer.def:
4485 * win32/libgstbase.def:
4486 * win32/libgstbase.vcproj:
4487 * win32/link_oldruntime.c:
4492 move even more stuff, win32/ is nice and clean now
4494 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4496 * libs/gst/control/.cvsignore:
4501 * win32/gstbytestream.def:
4502 * win32/gstbytestream.vcproj:
4503 * win32/gstconfig.h:
4504 * win32/gstenumtypes.c:
4505 * win32/gstenumtypes.h:
4506 * win32/gstoptimalscheduler.vcproj:
4507 * win32/gstversion.h:
4509 * win32/testsuite/bins.vcproj:
4510 * win32/testsuite/bytestream.vcproj:
4511 * win32/testsuite/caps.vcproj:
4512 * win32/testsuite/cleanup.vcproj:
4513 * win32/testsuite/clock.vcproj:
4514 * win32/testsuite/debug.vcproj:
4515 * win32/testsuite/dlopen.vcproj:
4516 * win32/testsuite/dynparams.vcproj:
4517 * win32/testsuite/elements.vcproj:
4518 * win32/testsuite/ghostpads.vcproj:
4519 * win32/testsuite/indexers.vcproj:
4520 * win32/testsuite/negotiation.vcproj:
4521 * win32/testsuite/parse.vcproj:
4522 * win32/testsuite/plugin.vcproj:
4523 * win32/testsuite/refcounting.vcproj:
4524 * win32/testsuite/schedulers.vcproj:
4525 * win32/testsuite/states.vcproj:
4526 * win32/testsuite/tags.vcproj:
4527 * win32/testsuite/threads.vcproj:
4528 remove old win32 stuff that isn't maintained and should be
4531 2005-11-30 Andy Wingo <wingo@pobox.com>
4533 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
4534 loading the gst.interfaces python module bork.
4536 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
4537 available since GLib 2.2. Fixes #318031.
4539 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4543 * check/Makefile.am:
4544 * check/elements/.cvsignore:
4545 * check/elements/fakesrc.c:
4546 * check/elements/fdsrc.c:
4547 * check/elements/identity.c:
4548 * check/generic/.cvsignore:
4549 * check/generic/states.c:
4550 * check/gst-libs/.cvsignore:
4551 * check/gst-libs/controller.c:
4552 * check/gst-libs/gdp.c:
4553 * check/gst/.cvsignore:
4554 * check/gst/capslist.h:
4556 * check/gst/gstbin.c:
4557 * check/gst/gstbuffer.c:
4558 * check/gst/gstbus.c:
4559 * check/gst/gstcaps.c:
4560 * check/gst/gstelement.c:
4561 * check/gst/gstevent.c:
4562 * check/gst/gstghostpad.c:
4563 * check/gst/gstiterator.c:
4564 * check/gst/gstmessage.c:
4565 * check/gst/gstminiobject.c:
4566 * check/gst/gstobject.c:
4567 * check/gst/gstpad.c:
4568 * check/gst/gstpipeline.c:
4569 * check/gst/gstplugin.c:
4570 * check/gst/gstsegment.c:
4571 * check/gst/gststructure.c:
4572 * check/gst/gstsystemclock.c:
4573 * check/gst/gsttag.c:
4574 * check/gst/gstutils.c:
4575 * check/gst/gstvalue.c:
4576 * check/net/.cvsignore:
4577 * check/net/gstnetclientclock.c:
4578 * check/net/gstnettimeprovider.c:
4579 * check/pipelines/.cvsignore:
4580 * check/pipelines/cleanup.c:
4581 * check/pipelines/simple_launch_lines.c:
4582 * check/pipelines/stress.c:
4583 * check/states/.cvsignore:
4584 * check/states/sinks.c:
4586 * examples/Makefile.am:
4587 * examples/appreader/.cvsignore:
4588 * examples/appreader/Makefile.am:
4589 * examples/appreader/appreader.c:
4590 * examples/controller/.cvsignore:
4591 * examples/controller/Makefile.am:
4592 * examples/controller/audio-example.c:
4593 * examples/cutter/.cvsignore:
4594 * examples/cutter/Makefile.am:
4595 * examples/cutter/cutter.c:
4596 * examples/cutter/cutter.h:
4597 * examples/events/Makefile.am:
4598 * examples/events/seek.c:
4599 * examples/helloworld/.cvsignore:
4600 * examples/helloworld/Makefile.am:
4601 * examples/helloworld/helloworld.c:
4602 * examples/helloworld2/.cvsignore:
4603 * examples/helloworld2/Makefile.am:
4604 * examples/helloworld2/helloworld2.c:
4605 * examples/launch/.cvsignore:
4606 * examples/launch/Makefile.am:
4607 * examples/launch/mp3parselaunch.c:
4608 * examples/launch/mp3play:
4609 * examples/manual/.cvsignore:
4610 * examples/manual/Makefile.am:
4611 * examples/manual/extract.pl:
4612 * examples/metadata/Makefile.am:
4613 * examples/metadata/read-metadata.c:
4614 * examples/mixer/.cvsignore:
4615 * examples/mixer/Makefile.am:
4616 * examples/mixer/mixer.c:
4617 * examples/mixer/mixer.h:
4618 * examples/pingpong/.cvsignore:
4619 * examples/pingpong/Makefile.am:
4620 * examples/pingpong/pingpong.c:
4621 * examples/plugins/.cvsignore:
4622 * examples/plugins/Makefile.am:
4623 * examples/plugins/example.c:
4624 * examples/plugins/example.h:
4625 * examples/pwg/.cvsignore:
4626 * examples/pwg/Makefile.am:
4627 * examples/pwg/extract.pl:
4628 * examples/queue/.cvsignore:
4629 * examples/queue/Makefile.am:
4630 * examples/queue/queue.c:
4631 * examples/queue2/.cvsignore:
4632 * examples/queue2/Makefile.am:
4633 * examples/queue2/queue2.c:
4634 * examples/queue3/.cvsignore:
4635 * examples/queue3/Makefile.am:
4636 * examples/queue3/queue3.c:
4637 * examples/queue4/.cvsignore:
4638 * examples/queue4/Makefile.am:
4639 * examples/queue4/queue4.c:
4640 * examples/retag/.cvsignore:
4641 * examples/retag/Makefile.am:
4642 * examples/retag/retag.c:
4643 * examples/retag/transcode.c:
4644 * examples/thread/.cvsignore:
4645 * examples/thread/Makefile.am:
4646 * examples/thread/thread.c:
4647 * examples/typefind/.cvsignore:
4648 * examples/typefind/Makefile.am:
4649 * examples/typefind/typefind.c:
4650 * examples/xml/.cvsignore:
4651 * examples/xml/Makefile.am:
4652 * examples/xml/createxml.c:
4653 * examples/xml/runxml.c:
4654 * tests/Makefile.am:
4655 * tests/check/Makefile.am:
4656 * testsuite/.cvsignore:
4657 * testsuite/Makefile.am:
4659 * testsuite/caps/.cvsignore:
4660 * testsuite/caps/Makefile.am:
4661 * testsuite/caps/app_fixate.c:
4662 * testsuite/caps/audioscale.c:
4663 * testsuite/caps/caps.c:
4664 * testsuite/caps/caps.h:
4665 * testsuite/caps/caps_strings:
4666 * testsuite/caps/compatibility.c:
4667 * testsuite/caps/deserialize.c:
4668 * testsuite/caps/enumcaps.c:
4669 * testsuite/caps/eratosthenes.c:
4670 * testsuite/caps/filtercaps.c:
4671 * testsuite/caps/fixed.c:
4672 * testsuite/caps/fraction-convert.c:
4673 * testsuite/caps/fraction-multiply-and-zero.c:
4674 * testsuite/caps/intersect2.c:
4675 * testsuite/caps/intersection.c:
4676 * testsuite/caps/normalisation.c:
4677 * testsuite/caps/random.c:
4678 * testsuite/caps/renegotiate.c:
4679 * testsuite/caps/sets.c:
4680 * testsuite/caps/simplify.c:
4681 * testsuite/caps/string-conversions.c:
4682 * testsuite/caps/structure.c:
4683 * testsuite/caps/subtract.c:
4684 * testsuite/caps/union.c:
4685 * testsuite/debug/.cvsignore:
4686 * testsuite/debug/Makefile.am:
4687 * testsuite/debug/category.c:
4688 * testsuite/debug/commandline.c:
4689 * testsuite/debug/global.c:
4690 * testsuite/debug/output.c:
4691 * testsuite/debug/printf_extension.c:
4692 * testsuite/dlopen/.cvsignore:
4693 * testsuite/dlopen/Makefile.am:
4694 * testsuite/dlopen/dlopen_gst.c:
4695 * testsuite/dlopen/loadgst.c:
4696 * testsuite/elements/.cvsignore:
4697 * testsuite/elements/Makefile.am:
4698 * testsuite/elements/gst-inspect-check.in:
4699 * testsuite/elements/struct_i386.h:
4700 * testsuite/elements/struct_size.c:
4701 * testsuite/indexers/.cvsignore:
4702 * testsuite/indexers/Makefile.am:
4703 * testsuite/indexers/cache1.c:
4704 * testsuite/indexers/indexdump.c:
4705 * testsuite/parse/.cvsignore:
4706 * testsuite/parse/Makefile.am:
4707 * testsuite/parse/parse1.c:
4708 * testsuite/parse/parse2.c:
4709 * testsuite/plugin/.cvsignore:
4710 * testsuite/plugin/Makefile.am:
4711 * testsuite/plugin/README:
4712 * testsuite/plugin/dynamic.c:
4713 * testsuite/plugin/linked.c:
4714 * testsuite/plugin/loading.c:
4715 * testsuite/plugin/registry.c:
4716 * testsuite/plugin/static.c:
4717 * testsuite/plugin/static2.c:
4718 * testsuite/plugin/testplugin.c:
4719 * testsuite/plugin/testplugin2.c:
4720 * testsuite/plugin/testplugin2_s.c:
4721 * testsuite/plugin/testplugin_s.c:
4722 * testsuite/refcounting/.cvsignore:
4723 * testsuite/refcounting/Makefile.am:
4724 * testsuite/refcounting/bin.c:
4725 * testsuite/refcounting/element.c:
4726 * testsuite/refcounting/element_pad.c:
4727 * testsuite/refcounting/mainloop.c:
4728 * testsuite/refcounting/mem.c:
4729 * testsuite/refcounting/mem.h:
4730 * testsuite/refcounting/object.c:
4731 * testsuite/refcounting/pad.c:
4732 * testsuite/refcounting/sched.c:
4733 * testsuite/refcounting/thread.c:
4734 * testsuite/states/.cvsignore:
4735 * testsuite/states/Makefile.am:
4736 * testsuite/states/bin.c:
4737 * testsuite/states/locked.c:
4738 * testsuite/states/parent.c:
4739 * testsuite/threads/.cvsignore:
4740 * testsuite/threads/159566.c:
4741 * testsuite/threads/159852.c:
4742 * testsuite/threads/Makefile.am:
4743 * testsuite/threads/queue.c:
4744 * testsuite/threads/signals.c:
4745 * testsuite/threads/staticrec.c:
4746 * testsuite/threads/thread.c:
4747 * testsuite/threads/threadb.c:
4748 * testsuite/threads/threadc.c:
4749 * testsuite/threads/threadd.c:
4750 * testsuite/threads/threade.c:
4751 * testsuite/threads/threadf.c:
4752 * testsuite/threads/threadg.c:
4753 * testsuite/threads/threadh.c:
4754 * testsuite/threads/threadi.c:
4755 move all of these under tests
4757 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4760 * tests/Makefile.am:
4763 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4765 * docs/gst/gstreamer-sections.txt:
4766 * tests/sched/.cvsignore:
4767 * tests/sched/Makefile.am:
4768 * tests/sched/cases/(fs-fs).xml:
4769 * tests/sched/cases/(fs-i-fs).xml:
4770 * tests/sched/cases/(fs-i-i-fs).xml:
4771 * tests/sched/cases/(fs-i-q[i-fs]).xml:
4772 * tests/sched/dynamic-pipeline.c:
4773 * tests/sched/interrupt1.c:
4774 * tests/sched/interrupt2.c:
4775 * tests/sched/interrupt3.c:
4776 * tests/sched/runtestcases:
4777 * tests/sched/runxml.c:
4778 * tests/sched/sched-stress.c:
4779 * tests/sched/sort.c:
4780 * tests/sched/testcases:
4781 * tests/sched/testcases1.tc:
4782 * tests/seeking/.cvsignore:
4783 * tests/seeking/Makefile.am:
4784 * tests/seeking/seeking1.c:
4785 * tests/threadstate/.cvsignore:
4786 * tests/threadstate/Makefile.am:
4787 * tests/threadstate/test1.c:
4788 * tests/threadstate/test2.c:
4789 * tests/threadstate/threadstate1.c:
4790 * tests/threadstate/threadstate2.c:
4791 * tests/threadstate/threadstate3.c:
4792 * tests/threadstate/threadstate4.c:
4793 * tests/threadstate/threadstate5.c:
4794 remove obsolete tests
4796 * tests/bench-complexity.scm:
4797 * tests/bench-mass_elements.scm:
4798 * tests/complexity.c:
4799 * tests/complexity.gnuplot:
4800 * tests/instantiate/.cvsignore:
4801 * tests/instantiate/Makefile.am:
4802 * tests/instantiate/caps.c:
4803 * tests/mass_elements.c:
4804 * tests/network-clock-utils.scm:
4805 * tests/network-clock.scm:
4807 First pass at cleaning up tests/ dir before moving the rest
4808 Combined with CVS surgery
4810 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4813 queue has moved, update
4815 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4817 * docs/gst/gstreamer-sections.txt:
4818 remove double entries from the docs
4819 * gst/gst_private.h:
4820 * gst/gstinfo.c: (_gst_debug_init):
4821 remove the THREAD debug category
4825 * docs/gst/gstreamer.types:
4826 * plugins/elements/gstqueue.c: (gst_queue_get_type),
4827 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
4828 completely move queue and fix up debugging categories
4830 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4832 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4833 make initialization portable, using LL is not
4835 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4837 * win32/common/gstconfig.h:
4840 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4842 * win32/common/libgstreamer.def:
4843 rename symbols; sort base section
4845 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4847 * gst/gstclock.c: (do_linear_regression):
4848 remove crack non-portable handrolled DEBUG macro
4850 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4852 * docs/random/release:
4854 * win32/common/gstenumtypes.c: (register_gst_object_flags),
4855 (gst_object_flags_get_type), (register_gst_bin_flags),
4856 (gst_bin_flags_get_type), (register_gst_buffer_flag),
4857 (gst_buffer_flag_get_type), (register_gst_bus_flags),
4858 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
4859 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
4860 (gst_caps_flags_get_type), (register_gst_clock_return),
4861 (gst_clock_return_get_type), (register_gst_clock_entry_type),
4862 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
4863 (gst_clock_flags_get_type), (register_gst_state),
4864 (gst_state_get_type), (register_gst_state_change_return),
4865 (gst_state_change_return_get_type), (register_gst_state_change),
4866 (gst_state_change_get_type), (register_gst_element_flags),
4867 (gst_element_flags_get_type), (register_gst_core_error),
4868 (gst_core_error_get_type), (register_gst_library_error),
4869 (gst_library_error_get_type), (register_gst_resource_error),
4870 (gst_resource_error_get_type), (register_gst_stream_error),
4871 (gst_stream_error_get_type), (register_gst_event_type_flags),
4872 (gst_event_type_flags_get_type), (register_gst_event_type),
4873 (gst_event_type_get_type), (register_gst_seek_type),
4874 (gst_seek_type_get_type), (register_gst_seek_flags),
4875 (gst_seek_flags_get_type), (register_gst_format),
4876 (gst_format_get_type), (register_gst_index_certainty),
4877 (gst_index_certainty_get_type), (register_gst_index_entry_type),
4878 (gst_index_entry_type_get_type),
4879 (register_gst_index_lookup_method),
4880 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
4881 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
4882 (gst_index_resolver_method_get_type), (register_gst_index_flags),
4883 (gst_index_flags_get_type), (register_gst_debug_level),
4884 (gst_debug_level_get_type), (register_gst_debug_color_flags),
4885 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
4886 (gst_iterator_result_get_type), (register_gst_iterator_item),
4887 (gst_iterator_item_get_type), (register_gst_message_type),
4888 (gst_message_type_get_type), (register_gst_mini_object_flags),
4889 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
4890 (gst_pad_link_return_get_type), (register_gst_flow_return),
4891 (gst_flow_return_get_type), (register_gst_activate_mode),
4892 (gst_activate_mode_get_type), (register_gst_pad_direction),
4893 (gst_pad_direction_get_type), (register_gst_pad_flags),
4894 (gst_pad_flags_get_type), (register_gst_pad_presence),
4895 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
4896 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
4897 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
4898 (gst_plugin_error_get_type), (register_gst_plugin_flags),
4899 (gst_plugin_flags_get_type), (register_gst_rank),
4900 (gst_rank_get_type), (register_gst_query_type),
4901 (gst_query_type_get_type), (register_gst_tag_merge_mode),
4902 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
4903 (gst_tag_flag_get_type), (register_gst_task_state),
4904 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
4905 (gst_alloc_trace_flags_get_type),
4906 (register_gst_type_find_probability),
4907 (gst_type_find_probability_get_type), (register_gst_uri_type),
4908 (gst_uri_type_get_type), (register_gst_parse_error),
4909 (gst_parse_error_get_type):
4910 * win32/common/gstenumtypes.h:
4911 * win32/common/gstversion.h:
4912 update visual studio generated files
4914 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4916 * win32/vs6/libgstbase.dsp:
4917 * win32/vs6/libgstelements.dsp:
4918 update project files for new locations
4920 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4925 reinstate and update
4930 * docs/random/LICENSE:
4933 2005-11-30 Edward Hervey <edward@fluendo.com>
4935 * gst/gsttypefind.c: (gst_type_find_register):
4936 * gst/gsttypefind.h:
4937 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
4938 (gst_type_find_factory_dispose):
4939 * gst/gsttypefindfactory.h:
4940 Fix memory leak in GstTypeFindFactory.
4942 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4945 * plugins/elements/Makefile.am:
4946 * plugins/elements/gstelements.c:
4947 * plugins/elements/gstqueue.c:
4948 move queue from core to the elements plugin
4950 2005-11-29 Andy Wingo <wingo@pobox.com>
4952 * libs/gst/base/gstbasetransform.h:
4953 * libs/gst/base/gstbasesrc.h:
4954 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
4956 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
4957 of pointers by which to pad very extensible base classes (like the
4958 ones in libs/gst/base).
4960 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4962 * docs/gst/gstreamer-docs.sgml:
4963 * docs/gst/gstreamer-sections.txt:
4964 * docs/libs/gstreamer-libs-docs.sgml:
4965 * docs/libs/gstreamer-libs-sections.txt:
4966 moving documentation from core to lib
4968 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4970 * check/Makefile.am:
4972 * docs/gst/Makefile.am:
4974 * gst/base/.cvsignore:
4975 * gst/base/Makefile.am:
4977 * gst/base/gstadapter.c:
4978 * gst/base/gstadapter.h:
4979 * gst/base/gstbasesink.c:
4980 * gst/base/gstbasesink.h:
4981 * gst/base/gstbasesrc.c:
4982 * gst/base/gstbasesrc.h:
4983 * gst/base/gstbasetransform.c:
4984 * gst/base/gstbasetransform.h:
4985 * gst/base/gstcollectpads.c:
4986 * gst/base/gstcollectpads.h:
4987 * gst/base/gstpushsrc.c:
4988 * gst/base/gstpushsrc.h:
4989 * gst/base/gsttypefindhelper.c:
4990 * gst/base/gsttypefindhelper.h:
4991 * gst/check/Makefile.am:
4992 * gst/check/gstcheck.c:
4993 * gst/check/gstcheck.h:
4994 * gst/net/Makefile.am:
4996 * gst/net/gstnetclientclock.c:
4997 * gst/net/gstnetclientclock.h:
4998 * gst/net/gstnettimepacket.c:
4999 * gst/net/gstnettimepacket.h:
5000 * gst/net/gstnettimeprovider.c:
5001 * gst/net/gstnettimeprovider.h:
5002 * libs/gst/Makefile.am:
5003 * libs/gst/base/Makefile.am:
5004 * libs/gst/base/gstbasetransform.c:
5005 * libs/gst/check/Makefile.am:
5006 * plugins/elements/Makefile.am:
5008 CVS surgery + support to move base, check, and net out of gst
5011 2005-11-29 Andy Wingo <wingo@pobox.com>
5013 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5015 * gst/gststructure.h (struct _GstStructure): Only one pointer of
5018 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5020 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5022 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5024 * gst/gstobject.h: (struct _GstObject): Only one pointer of
5025 padding; reduces object size by about 30%. We don't expect
5026 anything else to go into gstobject.
5028 * gst/gstminiobject.h (struct _GstMiniObject)
5029 (struct _GstMiniObjectClass): Only one pointer of padding; the
5030 payload is only a pointer and two ints anyway. For the class there
5031 are only two methods as well.
5033 * gst/gstelement.h (struct _GstElementClass): Removed
5034 the state_changed signal callback, it is not used.
5036 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5038 * docs/gst/gstreamer.types:
5039 fix includes, though they are a little dinky
5041 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5043 * check/Makefile.am:
5044 look in the right place for elements, a lot more chance of
5047 remove indexers and elements subdirs
5048 * plugins/Makefile.am:
5049 make indexers conditional
5051 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5055 * plugins/elements/Makefile.am:
5056 * plugins/elements/gstcapsfilter.c:
5057 * plugins/elements/gstfilesink.c:
5058 * plugins/elements/gstfilesrc.c:
5059 * plugins/elements/gstidentity.c:
5060 * plugins/indexers/Makefile.am:
5061 do CVS surgery and related build fixery to move elements
5062 and indexers in a new gstreamer/plugins directory, out of the
5065 2005-11-29 Andy Wingo <wingo@pobox.com>
5067 * check/Makefile.am:
5068 * pkgconfig/gstreamer-net-uninstalled.pc.in:
5069 * pkgconfig/gstreamer-net.pc.in:
5070 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5073 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5075 * tools/Makefile.am:
5076 * tools/gst-complete.1.in:
5077 * tools/gst-complete.c:
5078 * tools/gst-compprep.1.in:
5079 * tools/gst-compprep.c:
5080 removing -compprep and -complete
5082 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5084 * gst/gstevent.c: (gst_event_new_new_segment),
5085 (gst_event_parse_new_segment):
5087 fix #320529 - clean up new_segment API and structure.
5088 Let's hope everyone was using the methods, and not the structure.
5090 2005-11-29 Edward Hervey <edward@fluendo.com>
5092 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5093 (gst_base_sink_event), (gst_base_sink_do_sync),
5094 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5095 Properly handle non GST_FORMAT_TIME segment
5096 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5097 Properly handle non GST_FORMAT_TIME segment
5099 This function is valid if the accumulator is 0 and the format
5100 is different from the requested format.
5102 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5104 * docs/gst/gstreamer-sections.txt:
5105 Add gst_query_new_seeking and gst_query_parse_seeking to the
5108 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5110 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5111 Treat a pad alloc with new caps the same as if we were not
5112 negotiated, in order to allow a changing upstream output
5113 to produce a new format of data.
5115 2005-11-29 Edward Hervey <edward@fluendo.com>
5117 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5118 (gst_base_transform_event), (gst_base_transform_eventfunc):
5119 The event virtual method is now properly implemented, with a default
5121 Sub classes should call the parent_class event method. They should
5122 return FALSE if they had a problem handling the given event, or don't
5123 want GstBaseTransform to send that even downstream
5124 * gst/elements/gstidentity.c: (gst_identity_class_init),
5125 (gst_identity_init), (gst_identity_event),
5126 (gst_identity_transform_ip), (gst_identity_set_property),
5127 (gst_identity_get_property):
5128 * gst/elements/gstidentity.h:
5129 Added the single-segment boolean property.
5130 If set to TRUE, it will output a single segment of data, starting from
5131 0, will eat up all incoming newsegment, and modify the timestamp of the
5134 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
5136 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5137 Don't ref NULL target pad (#322751). Improve docs.
5139 2005-11-29 Michael Smith <msmith@fluendo.com>
5141 * gst/gstregistryxml.c: (load_plugin):
5142 Don't crash if we failed to load a feature from a plugin.
5144 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5146 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5148 use more check API and less GLib API
5150 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5153 don't run checks if we don't have check
5155 remove the registry when running make torture
5156 * docs/gst/gstreamer-sections.txt:
5157 remove second multiply
5158 * gst/gstqueue.c: (gst_queue_loop):
5159 fix a compile warning when disabling debug
5161 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5164 Hey! Let's print the pad name if the pointer != NULL instead
5165 of when it == NULL :-)
5167 2005-11-28 Wim Taymans <wim@fluendo.com>
5169 * check/gst/gstutils.c: (GST_START_TEST):
5170 Updated check, add some scaling accuracy checking code.
5172 * gst/gstutils.c: (gst_util_div128_64),
5173 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5174 (gst_util_uint64_scale_int):
5175 Fix 6 times faster division code. Optimize for common
5176 1/1 and less common X/1 cases.
5178 2005-11-28 Wim Taymans <wim@fluendo.com>
5180 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5183 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5184 (do_linear_regression), (gst_clock_add_observation):
5186 Release lock when the clock cannot be slaved.
5187 Catch the case where the regression returned an invalid denominator.
5189 * gst/gstutils.c: (gst_util_div128_64_iterate),
5190 (gst_util_div128_64), (gst_util_uint64_scale_int64),
5191 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5192 Add protentially more performant non-iterative 128/64 divide function
5193 that unfortunatly does not work yet.
5194 Shortcut the trivial 0/X = 0 case.
5195 Remove the warnings on overflow.
5197 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5199 * gst/gstplugin.c: (gst_plugin_register_func):
5200 everything causing a plugin not to load should be at least a WARNING
5202 2005-11-28 Stefan Kost <ensonic@users.sf.net>
5204 * docs/random/ensonic/dparams.txt:
5205 some TODOs for the next dev cycle
5206 * libs/gst/controller/gstcontroller.c:
5207 (gst_controlled_property_set_interpolation_mode),
5208 (gst_controlled_property_new):
5209 * libs/gst/controller/gstcontroller.h:
5210 use base type to assign acccessor functions
5212 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5214 * check/Makefile.am:
5215 Oops, that should have been top_srcdir
5217 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5219 * check/Makefile.am:
5220 * check/elements/fdsrc.c: (GST_START_TEST):
5221 Use a cmdline define to specify the location of a file to use for
5222 testing, to avoid breaking distcheck.
5224 2005-11-28 Andy Wingo <wingo@pobox.com>
5226 * gst/gstpad.c (fixate_value): Use array functions for arrays.
5228 2005-11-28 Edward Hervey <edward@fluendo.com>
5230 * tools/gst-launch.c: (main):
5231 Clarify the output strings, makes it easier to translate.
5234 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5237 don't try and build net if we don't even have <sys/socket.h>
5239 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
5241 * check/Makefile.am:
5242 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
5243 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
5244 Add tests for fdsrc seekability
5246 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5247 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
5248 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
5249 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
5250 * gst/elements/gstfdsrc.h:
5251 fdsrc should not be a 'live' source.
5252 Implement seeking on seekable fd's.
5254 * gst/gstquery.c: (gst_query_new_seeking),
5255 (gst_query_parse_seeking):
5257 Implement SEEKING query functions:
5258 *_new_seeking and *_parse_seeking
5260 2005-11-27 Stefan Kost <ensonic@users.sf.net>
5262 * gst/gstelement.c: (gst_element_dispose):
5265 * gst/gstiterator.c:
5266 * gst/gststructure.c:
5269 * libs/gst/controller/gstcontroller.c:
5270 (gst_controlled_property_set_interpolation_mode):
5271 * libs/gst/controller/gstcontroller.h:
5272 * libs/gst/controller/gstinterpolation.c:
5273 (interpolate_none_get_enum_value_array):
5274 support controlling enums
5276 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5279 Improve documentation for gst_value_union().
5282 Change return value for union, intersect and subtract functions
5283 from gint to gboolean.
5285 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5287 * gst/gstvalue.c: (gst_value_serialize_any_list),
5288 (gst_value_transform_any_list_string),
5289 (gst_value_deserialize_list), (gst_value_deserialize_array),
5290 (gst_value_set_int_range), (gst_value_deserialize_int_range),
5291 (gst_value_set_double_range), (gst_value_deserialize_double_range),
5292 (gst_value_set_fraction_range_full),
5293 (gst_value_deserialize_fraction_range),
5294 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
5295 (gst_value_deserialize_boolean),
5296 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
5297 (gst_value_serialize_float), (gst_value_deserialize_float),
5298 (gst_string_wrap), (gst_value_deserialize_string),
5299 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
5300 (gst_value_union_int_range_int_range),
5301 (gst_value_intersect_int_range_int_range),
5302 (gst_value_intersect_double_range_double_range),
5303 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
5304 (gst_value_subtract_int_range_int_range),
5305 (gst_value_subtract_double_double_range),
5306 (gst_value_subtract_double_range_double_range),
5307 (gst_value_deserialize_fraction):
5309 Use gint, gdouble and gchar in our API instead of int, double and
5310 char (and make usage in gstvalue.c more consistent).
5312 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5314 * check/Makefile.am:
5315 * libs/gst/controller/Makefile.am:
5316 * libs/gst/dataprotocol/Makefile.am:
5317 fix up Makefile.am and remove GST_ENABLE_NEW
5319 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5323 * gst/base/Makefile.am:
5324 * gst/check/Makefile.am:
5325 * gst/elements/Makefile.am:
5326 * gst/net/Makefile.am:
5327 update LDFLAGS use some more
5329 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5331 * common/m4/gst-doc.m4:
5334 2005-11-26 Edward Hervey <edward@fluendo.com>
5336 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5337 This shouldn't issue a g_warning since it returns NULL if it
5338 couldn't find the plugin, and all functions using this behave
5339 properly on a NULL return. Switching to a GST_WARNING.
5341 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
5343 * gst/gstbin.c: (gst_bin_handle_message_func):
5344 Don't leak clock messages.
5346 2005-11-25 Wim Taymans <wim@fluendo.com>
5348 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5349 (gst_util_uint64_scale_int):
5350 Optimisations, remove unneeded vars.
5352 2005-11-25 Wim Taymans <wim@fluendo.com>
5354 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5355 Added more checks for the high precision uint64 cases.
5357 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5358 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5359 Implement high precision (guint64 * guint64) / guint64.
5361 2005-11-24 Wim Taymans <wim@fluendo.com>
5363 * gst/base/gstbasesrc.c: (gst_base_src_query):
5364 Fix wrong percentage query.
5366 * gst/gstutils.c: (gst_util_uint64_scale),
5367 (gst_util_uint64_scale_int):
5368 Add some more common cases that can be handled
5369 efficiently to _scale.
5371 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5373 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
5374 (gst_mini_object_suite):
5375 don't use check calls from threads; check probably isn't
5376 threadsafe and using a lock to make it threadsafe would
5377 defeat the purpose of this check
5378 * gst/check/gstcheck.c:
5379 * gst/check/gstcheck.h:
5380 use GST_DEBUG some more
5382 2005-11-24 Wim Taymans <wim@fluendo.com>
5384 * gst/gstutils.c: (gst_util_uint64_scale),
5385 (gst_util_uint64_scale_int):
5386 Chain trivial case to _scale_int.
5388 2005-11-24 Wim Taymans <wim@fluendo.com>
5390 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5391 Added test for scaling.
5396 * gst/gstutils.c: (gst_util_uint64_scale_int):
5397 Implemented high precision scaling code.
5399 2005-11-24 Stefan Kost <ensonic@users.sf.net>
5402 do not crash on pad==NULL
5404 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5406 Patch by: Stefan Kost
5408 * common/gtk-doc.mak:
5409 * docs/gst/Makefile.am:
5410 * docs/libs/Makefile.am:
5411 Fix distcheck issues for the libraries docs build
5414 2005-11-24 Michael Smith <msmith@fluendo.com>
5416 * docs/manual/basics-helloworld.xml:
5417 Fix bug #315027: memory leak in example code in docs.
5419 2005-11-24 Michael Smith <msmith@fluendo.com>
5421 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5422 Unlock the PREROLL_LOCK in a failure case.
5424 2005-11-24 Wim Taymans <wim@fluendo.com>
5426 * docs/gst/gstreamer-sections.txt:
5427 * gst/base/gstadapter.h:
5428 * gst/base/gstbasesink.h:
5429 * gst/base/gstbasesrc.h:
5430 * gst/base/gstbasetransform.h:
5431 * gst/base/gstpushsrc.h:
5432 * gst/elements/gstfakesink.h:
5433 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
5434 * gst/elements/gstfakesrc.h:
5435 * gst/elements/gstfilesink.h:
5436 * gst/elements/gstfilesrc.h:
5439 * gst/gstbuffer.c: (_gst_buffer_copy):
5442 * gst/gstchildproxy.c:
5445 * gst/gstelementfactory.c:
5446 * gst/gstelementfactory.h:
5448 * gst/gstghostpad.h:
5450 * gst/gstinterface.h:
5451 * gst/gstminiobject.c:
5452 * gst/gstminiobject.h:
5455 * gst/gstpadtemplate.h:
5456 * gst/gstpipeline.h:
5457 * gst/gstpluginfeature.h:
5462 * gst/gsttagsetter.c:
5463 * gst/gsttagsetter.h:
5466 * gst/gsttypefind.h:
5469 * gst/net/gstnetclientclock.c:
5470 * gst/net/gstnetclientclock.h:
5471 * gst/net/gstnettimepacket.c:
5472 * gst/net/gstnettimeprovider.c:
5473 * gst/net/gstnettimeprovider.h:
5476 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5478 * configure.ac: back to HEAD
5480 === release 0.9.6 ===
5482 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5485 releasing 0.9.6, "Always On Time"
5487 2005-11-23 Wim Taymans <wim@fluendo.com>
5489 * docs/gst/gstreamer-sections.txt:
5490 * gst/glib-compat.c:
5491 * gst/gsttagsetter.c:
5493 * gst/net/gstnetclientclock.c:
5494 * gst/net/gstnettimepacket.h:
5497 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5499 * docs/faq/using.xml:
5500 * docs/libs/tmpl/gstcontrol.sgml:
5501 * docs/manual/advanced-dparams.xml:
5502 * docs/manual/appendix-checklist.xml:
5503 * docs/manual/basics-elements.xml:
5504 * docs/pwg/other-source.xml:
5505 * docs/random/moving-plugins:
5507 * tools/gst-launch.1.in:
5508 remove mentions of sinesrc
5510 2005-11-23 Michael Smith <msmith@fluendo.com>
5512 * docs/gst/gstreamer-sections.txt:
5513 Update for new API and API changes.
5515 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
5517 Documentation typo fix.
5518 * gst/net/gstnettimepacket.c:
5519 Documentation fixes for arguments.
5521 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
5523 * gst/gststructure.c: (gst_structure_get_fraction),
5524 (gst_structure_parse_value),
5525 (gst_structure_fixate_field_nearest_fraction):
5526 * gst/gststructure.h:
5527 * gst/gstutils.c: (gst_util_uint64_scale_int):
5529 * scripts/update-funcnames:
5531 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
5532 Make gst_structure_fixate_field_nearest_fraction take a numerator
5533 and denominator argument instead of a GValue
5534 add gst_structure_get_fraction helper function.
5536 2005-11-23 Wim Taymans <wim@fluendo.com>
5538 * docs/design/part-TODO.txt:
5541 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5542 * gst/net/gstnetclientclock.h:
5543 Use parent fields for timeout and window_size.
5545 2005-11-23 Andy Wingo <wingo@pobox.com>
5547 * check/net/gstnetclientclock.c (test_functioning): Adjust to
5548 rate_num/rate_denom change.
5550 * gst/net/gstnetclientclock.c
5551 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
5552 OBJECT_LOCK. Don't call add_observation with the lock.
5554 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
5556 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
5558 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
5559 deal with rate as a fraction whose numerator and denominator are
5560 GstClockTime values.
5561 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
5562 master; the other fields are protected by the SLAVE_LOCK.
5563 (do_linear_regression): Note that this must be called with the
5565 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
5566 OBJECT_LOCK. Call set_calibration instead of touching the
5568 (gst_clock_set_property, gst_clock_get_property): Protect
5569 master/slave parameters with the SLAVE_LOCK.
5571 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
5572 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
5573 note that all of the instance variables that add_observation and
5574 the set_master functions use are protected by that lock and not
5576 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
5578 * gst/gstclock.c (gst_clock_add_observation): No longer requires
5579 the caller to take the object lock.
5581 2005-11-23 Wim Taymans <wim@fluendo.com>
5583 * gst/gsterror.c: (_gst_core_errors_init):
5585 Add error for clock stuff.
5587 * gst/gstpipeline.c: (gst_pipeline_change_state),
5588 (gst_pipeline_set_clock):
5589 Post clock error when clock cannot be used in a pipeline.
5591 2005-11-23 Stefan Kost <ensonic@users.sf.net>
5593 * docs/gst/gstreamer-sections.txt:
5594 make two symbols from gstinfo private for the docs
5595 * gst/base/gstcollectpads.h:
5597 fix doc typos, update docs
5599 2005-11-22 Wim Taymans <wim@fluendo.com>
5601 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5602 (gst_base_sink_wait), (gst_base_sink_do_sync),
5603 (gst_base_sink_handle_event):
5604 * gst/base/gstbasesink.h:
5605 No need to store the clock, the parent element class already
5608 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
5609 Updates for clock_set returning a gboolean
5611 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
5612 (gst_clock_id_wait_async), (gst_clock_class_init),
5613 (gst_clock_init), (gst_clock_finalize),
5614 (gst_clock_get_internal_time), (gst_clock_get_time),
5615 (gst_clock_slave_callback), (gst_clock_set_master),
5616 (gst_clock_get_master), (do_linear_regression),
5617 (gst_clock_add_observation), (gst_clock_set_property),
5618 (gst_clock_get_property):
5620 Implement master/slave. When setting a clock as a slave, a
5621 periodic timeout is scheduled to sample master and slave times.
5622 Then the slave clock is recalibrated to match offset and rate
5623 of the master clock.
5624 Update logging a bit.
5625 Add flag so that a clock can state that is cannot be slaved to
5628 * gst/gstelement.c: (gst_element_set_clock):
5630 The set clock returns a gboolean for when an element cannot
5631 deal with the selected clock in the pipeline.
5633 * gst/gstpipeline.c: (gst_pipeline_change_state),
5634 (gst_pipeline_set_clock):
5635 * gst/gstpipeline.h:
5636 Handle the case where the selected clock cannot be set on
5639 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
5640 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5641 (gst_net_client_clock_set_property),
5642 (gst_net_client_clock_get_property),
5643 (gst_net_client_clock_observe_times):
5644 * gst/net/gstnetclientclock.h:
5645 Use regression code in GstClock parent, remove duplicated
5648 2005-11-22 Michael Smith <msmith@fluendo.com>
5650 * gst/gstutils.c: (gst_util_clock_time_scale):
5652 * docs/gst/gstreamer-sections.txt:
5653 Rename method to have extra underscore.
5655 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
5657 * gst/elements/Makefile.am:
5658 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
5659 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5660 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5661 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
5662 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
5663 * gst/elements/gstfakesrc.h:
5664 * gst/gstqueue.c: (queue_leaky_get_type):
5665 correctly fix GEnumValues so that nick is the short lowercase
5667 * tools/gst-inspect.c: (print_element_properties_info):
5668 also show the nick, since it's useful to use from parse_launch
5672 2005-11-22 Michael Smith <msmith@fluendo.com>
5674 * gst/gstutils.c: (gst_util_clocktime_scale):
5676 * docs/gst/gstreamer-sections.txt:
5677 Add util method for scaling a clocktime by a fraction. Useful
5678 implementation is left as an exercise for the reader.
5680 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5682 * gst/gstvalue.c: (gst_value_collect_fraction_range):
5683 If needed, allocate storage in the destination value during
5686 2005-11-22 Edward Hervey <edward@fluendo.com>
5688 * docs/gst/gstreamer-sections.txt:
5693 * gst/gstutils.c: (gst_util_set_object_arg):
5694 * tools/gst-compprep.c: (main):
5695 * tools/gst-inspect.c: (print_element_properties_info):
5696 Removed GstURI, closes bug #321061
5698 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5700 * check/gst/gststructure.c: (GST_START_TEST):
5701 * gst/gststructure.c: (gst_structure_parse_value):
5702 Oops, broke automatic string type parsing.
5703 Add a test to catch it in future.
5705 2005-11-22 Andy Wingo <wingo@pobox.com>
5707 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
5708 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
5709 Actually rename the function implementations. Grr.
5711 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5713 * check/gst/capslist.h:
5715 * check/gst/gststructure.c: (GST_START_TEST),
5716 (gst_structure_suite):
5717 Test automatic value type detection in gst_structure_from_string.
5718 * gst/gststructure.c: (gst_structure_parse_value):
5719 Add fraction as a type we try and guess automatically in
5720 caps/structure strings.
5722 2005-11-22 Andy Wingo <wingo@pobox.com>
5724 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
5726 * gst/gsttagsetter.h:
5727 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
5728 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
5729 (gst_tag_setter_add_tag_valist)
5730 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
5731 _add_values, _add_valist, and _add_valist_values. Since this is an
5732 interface the function suffixes should be more explicit so
5733 language binding don't end up with element.add_valist ->
5734 gst_tag_setter_add_valist, for example. Fixes #322069.
5736 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5738 * check/gst/gstcaps.c: (GST_START_TEST):
5739 Extend caps string tests to check that a caps to string
5740 conversion is reversible and produces the same caps.
5742 * gst/gststructure.c: (gst_structure_value_get_generic_type):
5743 Output "fraction" as the generic type fraction range, so caps
5744 serialisation and deserialisation works.
5745 * check/gst/capslist.h:
5746 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5747 Support 'MIN' and 'MAX' for deserialising fractions.
5749 2005-11-22 Andy Wingo <wingo@pobox.com>
5751 * gst/gstevent.h (gst_event_new_new_segment)
5752 (gst_event_parse_new_segment, gst_event_new_buffer_size)
5753 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
5754 Renamed from *_newsegment, *_buffersize, *_notarget.
5756 * scripts/update-funcnames: New script, performs the changes
5759 2005-11-22 Wim Taymans <wim@fluendo.com>
5761 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5762 Make sure the GstFlowReturn is returned.
5764 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
5765 (gst_bus_add_signal_watch):
5767 add gst_bus_add_signal_watch_full.
5769 * gst/gstplugin.c: (gst_plugin_load_file):
5770 Small style cleanup.
5772 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5774 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
5775 Block the fakesrc srcpad when we send an event, to avoid
5776 contention on the stream_lock causing random test failures.
5778 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5780 * check/gst/gstvalue.c: (GST_START_TEST):
5781 * gst/gstvalue.c: (gst_value_fraction_subtract):
5784 2005-11-22 Stefan Kost <ensonic@users.sf.net>
5787 include "gstchildproxy.h"
5788 * gst/gstchildproxy.h:
5789 * libs/gst/controller/gstcontroller.h:
5790 use G_GNUC_NULL_TERMINATED
5792 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5794 * check/gst/capslist.h:
5795 * check/gst/gstcaps.c: (GST_START_TEST):
5796 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5797 * gst/gststructure.c: (gst_structure_parse_range),
5798 (gst_structure_fixate_field_nearest_fraction):
5799 * gst/gststructure.h:
5800 * gst/gstvalue.c: (gst_value_init_fraction_range),
5801 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
5802 (gst_value_collect_fraction_range),
5803 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
5804 (gst_value_set_fraction_range_full),
5805 (gst_value_get_fraction_range_min),
5806 (gst_value_get_fraction_range_max),
5807 (gst_value_serialize_fraction_range),
5808 (gst_value_transform_fraction_range_string),
5809 (gst_value_compare_fraction_range),
5810 (gst_value_deserialize_fraction_range),
5811 (gst_value_intersect_fraction_fraction_range),
5812 (gst_value_intersect_fraction_range_fraction_range),
5813 (gst_value_subtract_fraction_fraction_range),
5814 (gst_value_subtract_fraction_range_fraction),
5815 (gst_value_subtract_fraction_range_fraction_range),
5816 (gst_value_collect_fraction), (gst_value_fraction_multiply),
5817 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
5818 (gst_value_transform_string_fraction), (_gst_value_initialize):
5820 Implement fraction ranges and extend GstFraction to support
5821 arithmetic subtraction, as well as deserialization from integer
5822 strings such as "100"
5823 Add a testsuite as for int and double range set operations
5825 2005-11-21 Andy Wingo <wingo@pobox.com>
5829 * gst/gststructure.h: Add glib-compat.h.
5831 2005-11-21 Wim Taymans <wim@fluendo.com>
5833 * gst/gstbin.c: (gst_bin_change_state_func):
5836 2005-11-21 Wim Taymans <wim@fluendo.com>
5839 And add a nice define too.
5841 2005-11-21 Wim Taymans <wim@fluendo.com>
5843 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
5844 (gst_segment_new), (gst_segment_free), (gst_segment_init),
5845 (gst_segment_set_duration), (gst_segment_set_last_stop),
5846 (gst_segment_set_seek), (gst_segment_set_newsegment),
5847 (gst_segment_to_stream_time), (gst_segment_to_running_time),
5850 Make binding friendly.
5852 2005-11-21 Andy Wingo <wingo@pobox.com>
5854 * gst/gsttagsetter.h:
5856 * gst/gststructure.h:
5858 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
5861 * gst/gsterror.c (_gst_core_errors_init):
5862 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
5865 * gst/Makefile.am (gst_headers): Add glib-compat.h.
5866 (noinst_HEADERS): noinst the -private.
5868 2005-11-21 Michael Smith <msmith@fluendo.com>
5871 * gst/gstregistry.h:
5872 Remove unimplemented declarations for which we can see no sensible
5875 2005-11-21 Andy Wingo <wingo@pobox.com>
5877 * gst/gst.h: Include glib-compat.h.
5879 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
5881 * gst/glib-compat.c: Include the public and the private header.
5883 * gst/glib-compat-private.h: Copied here from glib-compat.h.
5887 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
5889 * check/gst/gstevent.c (create_custom_events): Check that
5890 FLUSH_STOP is serialized.
5892 * check/elements/identity.c (event_func):
5893 * check/elements/fakesrc.c (event_func): No stream lock, the core
5896 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
5897 stream lock taking, yay.
5899 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
5900 ensure that core takes the stream lock.
5902 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
5905 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
5906 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
5907 it already. For the flush start we do take it though so we get the
5908 right preroll state change messages.
5910 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
5911 the stream lock here, the core does it for us.
5913 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
5914 GST_STREAM_GET_LOCK.
5915 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
5916 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
5917 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
5918 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
5919 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
5920 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
5922 * gst/gstpad.c: Update for stream lock name change.
5924 * gst/base/gstbasesink.c: Update for preroll lock name change.
5926 2005-11-21 Wim Taymans <wim@fluendo.com>
5928 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
5929 (gst_clock_get_master):
5931 * gst/gstsystemclock.c: (gst_system_clock_init):
5932 Convert Clock flags to object flags.
5933 Added methods to manage master/slave clocks.
5935 2005-11-21 Wim Taymans <wim@fluendo.com>
5937 * check/gst/gstsegment.c: (GST_START_TEST):
5938 * docs/design/part-TODO.txt:
5939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5940 (gst_base_sink_event), (gst_base_sink_do_sync),
5941 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5942 (gst_base_sink_query), (gst_base_sink_change_state):
5943 * gst/base/gstbasesink.h:
5944 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
5945 (gst_base_src_default_newsegment),
5946 (gst_base_src_configure_segment), (gst_base_src_do_seek),
5947 (gst_base_src_get_range), (gst_base_src_loop),
5948 (gst_base_src_change_state):
5949 * gst/base/gstbasesrc.h:
5950 * gst/base/gstbasetransform.c:
5951 (gst_base_transform_prepare_output_buf),
5952 (gst_base_transform_event), (gst_base_transform_change_state):
5953 * gst/base/gstbasetransform.h:
5954 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5955 (gst_collect_pads_event):
5956 * gst/base/gstcollectpads.h:
5957 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
5958 (gst_fake_src_create):
5959 * gst/elements/gstfakesrc.h:
5960 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5961 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
5962 (gst_segment_set_last_stop), (gst_segment_set_seek),
5963 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
5964 (gst_segment_to_running_time), (gst_segment_clip):
5966 More segment updates, replace code in plugins with segment
5969 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
5971 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
5972 Don't ignore sscanf results
5974 2005-11-21 Andy Wingo <wingo@pobox.com>
5976 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
5979 * *.c: Ran scripts/update-macros. Oh yes.
5981 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
5982 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
5985 * scripts/update-macros: New script. Run it on your files to
5986 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
5989 2005-11-21 Stefan Kost <ensonic@users.sf.net>
5991 * docs/gst/Makefile.am:
5992 * docs/gst/gstreamer-docs.sgml:
5993 * docs/gst/gstreamer-sections.txt:
5994 * docs/gst/gstreamer.types:
5996 more docs fixes, add new api to the docs
5998 2005-11-21 Andy Wingo <wingo@pobox.com>
6000 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6001 state_broadcast call.
6003 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6005 2005-11-21 Julien MOUTTE <julien@moutte.net>
6007 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6008 function calls for arrays.
6010 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6012 * docs/random/ensonic/media-device-daemon.txt:
6013 wild idea, can this be done?
6014 * docs/gst/gstreamer-sections.txt:
6019 * gst/gstpluginfeature.c:
6023 doc fixes and additions
6025 2005-11-21 Andy Wingo <wingo@pobox.com>
6027 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
6028 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
6029 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
6030 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6031 private to the basesrc implementation.
6033 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6034 behalf of event function if necessary. It should no longer be
6035 necessary to take the stream lock in pad's event functions. Fixes
6038 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6039 * docs/gst/gstreamer-sections.txt:
6040 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6041 (gst_structure_fixate_field_nearest_double),
6042 (gst_structure_fixate_field_boolean):
6043 * gst/gststructure.h:
6044 * win32/common/libgstreamer.def:
6045 * win32/gstreamer.def:
6047 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6050 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6052 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6053 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6054 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6055 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6056 (gst_fdsrc_uri_handler_init):
6057 * gst/elements/gstfdsrc.h:
6058 Port fd:// URI handler from 0.8 to fdsrc
6060 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6062 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6063 (gst_value_serialize_fourcc):
6065 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6066 consistent with our other format defines (#320324).
6068 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6070 * gst/gstvalue.c: (gst_value_is_fixed):
6071 Revert previous commit. Value lists are by definition
6072 not fixed, as they are a list of possible values.
6074 2005-11-21 Andy Wingo <wingo@pobox.com>
6076 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6077 during the stable series if we need it. Fixes #319178.
6079 * gst/gstevent.c (gst_event_new_filler): Removed.
6081 * check/gst/gstevent.c: Update comment about filler events.
6083 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6085 * gst/gstvalue.c: (gst_value_is_fixed):
6086 Should handle both value arrays and value lists.
6088 2005-11-21 Andy Wingo <wingo@pobox.com>
6090 patch by: Alessandro Dessina <alessandro nnva org>
6092 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6093 functions to access arrays. Fixes #321962.
6095 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6097 * docs/gst/gstreamer.types:
6098 gst_collectpads_get_type => gst_collect_pads_get_type.
6100 * gst/base/gstbasetransform.c:
6101 Remove unused SIGNAL_HANDOFF enum.
6103 2005-11-21 Andy Wingo <wingo@pobox.com>
6105 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6106 the event type (upstream, downstream, serialized). Renamed
6107 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6108 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6109 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6111 * gst/gstevent.c: Update for new CUSTOM event names.
6113 * check/gst/gstevent.c: Update check for new CUSTOM event names.
6116 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6119 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6121 * docs/gst/gstreamer-sections.txt:
6122 * win32/common/libgstbase.def:
6123 * win32/libgstbase.def:
6124 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6125 (gst_collect_pads_class_init), (gst_collect_pads_init),
6126 (gst_collect_pads_finalize), (gst_collect_pads_new),
6127 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6128 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6129 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6130 (gst_collect_pads_start), (gst_collect_pads_stop),
6131 (gst_collect_pads_peek), (gst_collect_pads_pop),
6132 (gst_collect_pads_available), (gst_collect_pads_read),
6133 (gst_collect_pads_flush), (gst_collect_pads_event),
6134 (gst_collect_pads_chain):
6135 * gst/base/gstcollectpads.h:
6136 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6137 unimplemented functions as unimplemented. Add padding to
6138 GstCollectData. (#320766, #320423)
6140 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6143 Improve docs for DURATION message (usage of duration parameter)
6146 2005-11-20 Wim Taymans <wim@fluendo.com>
6148 * check/Makefile.am:
6149 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6153 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6154 (gst_segment_set_seek), (gst_segment_set_newsegment),
6155 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6158 Added segment helper structure and methods. Not fully implemented
6160 Added segment check.
6162 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
6164 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6165 Add a deserialisation test for fractions
6166 * examples/metadata/read-metadata.c: (message_loop),
6167 (make_pipeline), (main):
6168 Fix up metadata reading sample.
6169 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6171 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6172 Don't try and fixate empty caps
6173 * gst/gst_private.h:
6174 Wrap in G_BEGIN_DECLS/G_END_DECLS
6175 * gst/gstvalue.c: (gst_value_collect_fraction),
6176 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6177 (gst_value_transform_string_fraction),
6178 (gst_value_compare_fraction):
6179 Add some extra guards to ensure that we don't end up
6180 with an invalid denominator of 0 in a gstfraction and
6181 that fractions always get reduced.
6183 2005-11-20 Wim Taymans <wim@fluendo.com>
6185 * docs/gst/gstreamer-sections.txt:
6196 2005-11-20 Wim Taymans <wim@fluendo.com>
6198 * docs/design/part-TODO.txt:
6200 Make a proper enum of the flag.
6202 2005-11-19 Wim Taymans <wim@fluendo.com>
6204 * docs/design/part-TODO.txt:
6205 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6206 (gst_format_to_quark), (gst_format_register):
6208 * gst/gstquery.c: (_gst_query_initialize),
6209 (gst_query_type_get_name), (gst_query_type_to_quark),
6210 (gst_query_type_register):
6212 Add type to quark and type to string conversions.
6214 2005-11-19 Andy Wingo <wingo@pobox.com>
6216 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6219 2005-11-19 Wim Taymans <wim@fluendo.com>
6221 * docs/design/part-TODO.txt:
6222 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6223 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6224 (gst_bin_handle_message_func):
6226 Make message handling overridable.
6228 2005-11-19 Andy Wingo <wingo@pobox.com>
6230 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6233 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6235 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
6236 is a GstClockTime. Fixes #321710.
6238 * gst/gstclock.h (GstClock): Remove offset property. Add
6239 internal_calibration and external_calibration. Fix padding. Pad
6240 also by GstClockTime so we don't run into problems.
6242 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
6243 (gst_clock_get_rate_offset): Remove.
6244 (gst_clock_set_time_adjust): Remove. Fixes #321712.
6247 * gst/gstutils.c (g_static_rec_cond_wait)
6248 (g_static_rec_cond_timed_wait): Removed, no longer needed.
6250 * gst/gstbin.c: Remove terrible continue_state prototype.
6252 * gst/gstelement.h (gst_element_continue_state): Make public.
6255 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
6256 by continue_state. Fixes #319389.
6258 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
6259 Really fixes #168438. However I don't see anywhere where the
6260 filter function is called... stupid GStreamer...
6262 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
6263 don't have a dispose function, so it won't get called when the
6264 object is unreffed, but oh well!
6266 * gst/gstindex.c (gst_index_set_filter_full): New API function,
6267 allows a destroy function to be set so user_data can be freed.
6269 (gst_index_set_filter): Call gst_index_set_filter_full.
6271 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
6273 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6274 string should produce an error, given the lack of a way to
6275 represent NULL strings. Fixes #165650.
6278 * gst/gstvalue.c (gst_value_array_append_value)
6279 (gst_value_array_prepend_value, gst_value_array_get_size)
6280 (gst_value_array_get_value): New API, copied from
6281 gst_value_list_*, only operates on arrays.
6282 (gst_value_list_append_value, gst_value_list_prepend_value)
6283 (gst_value_list_concat, gst_value_list_get_size)
6284 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
6286 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
6287 init_list, because it works on both.
6288 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
6289 (gst_value_copy_list_or_array): Renamed from copy_list.
6290 (gst_value_free_list_or_array): Renamed from free_list.
6291 (gst_value_collect_list_or_array): Renamed from collect_list.
6292 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
6293 (gst_value_list_or_array_peek_pointer): Renamed from
6295 (_gst_value_array_value_table, _gst_value_list_value_table):
6296 Update value table functions.
6297 (gst_value_compare_list_or_array): Renamed from compare_list.
6299 * gsttaglist.h: Whoops, foreach function returns void. Also fix
6303 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
6304 GstTagList*. Fixes #143472.
6306 * gst/gststructure.h: Clarify what the foreach/map functions can
6307 or can't do to their arguments.
6309 2005-11-18 Wim Taymans <wim@fluendo.com>
6311 * gst/gstclock.c: (gst_clock_set_calibration),
6312 (gst_clock_get_calibration):
6314 Calibration can be set with internal time equal to current
6317 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
6323 2005-11-18 Andy Wingo <wingo@pobox.com>
6326 * pkgconfig/gstreamer-net.pc.in:
6327 * pkgconfig/gstreamer-net-uninstalled.pc.in:
6328 * pkgconfig/Makefile.am: Add net pkgconfig files.
6330 2005-11-18 Stefan Kost <ensonic@users.sf.net>
6333 * gst/gstghostpad.c:
6339 2005-11-18 Andy Wingo <wingo@pobox.com>
6341 * gst/net/gstnetclientclock.c: Turn off debugging.
6343 * check/net/gstnetclientclock.c (test_functioning): Assert that the
6344 times connverge somewhat. Can't make a real test.
6346 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
6347 integer arithmetic. Return the minimum of the domain, which can be
6348 set as "internal" for gst_clock_set_calibration.
6349 (gst_net_client_clock_observe_times): Call _set_calibration.
6350 (gst_net_client_clock_new): Call _set_calibration instead of
6353 * check/net/gstnetclientclock.c (test_functioning): Use the right
6357 * gst/gstclock.c (gst_clock_get_calibration)
6358 (gst_clock_set_calibration): New functions, obsolete the ones I
6359 added yesterday. Doh. Precision issues mean we have to extrapolate
6360 from a point in the more recent past than 1970.
6361 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
6363 (gst_clock_adjust_unlocked): Use the right calibration data.
6365 2005-11-18 Edward Hervey <edward@fluendo.com>
6367 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6368 Also reset the ->current_* values in READY->PAUSED
6370 2005-11-18 Andy Wingo <wingo@pobox.com>
6372 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
6373 Whoops, check the right fd. Also add some debugging.
6374 (gst_net_client_clock_observe_times): Adjust for int64 offset.
6375 (do_linear_regression): Add a crapload of debugging. Subtract off
6376 the minimum values from the input series to discard unneeded bits.
6377 Use only int arithmetic. There is still double arithmetic when
6378 calculating the intercept that needs fixing. Return boolean to
6379 indicate success; FALSE would mean the domain or range is too
6380 great. Still needs fixes.
6382 2005-11-18 Wim Taymans <wim@fluendo.com>
6384 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
6385 For the current position in stream time, we need to subtract
6388 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6389 Release lock before calling the callback function of async
6392 2005-11-18 Andy Wingo <wingo@pobox.com>
6394 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
6395 Port goes all the way to MAXUINT16.
6397 * gst/net/gstnettimeprovider.c: Make the port range the same as
6398 for the kernel: 0 assigns, otherwise ports are less than
6401 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
6404 * check/net/gstnetclientclock.c (test_functioning): Add the start
6407 2005-11-18 Wim Taymans <wim@fluendo.com>
6409 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6410 (gst_bin_remove_func), (bin_bus_handler):
6412 Removing a clock provider from a bin, triggers a clock lost message
6413 so that a new clock will be selected.
6414 Adding a clock to a bin triggers a clock provider message.
6415 Make sure we reselect a clock when we received a clock lost message.
6416 Keep a reference to the element that provided the clock.
6418 2005-11-18 Andy Wingo <wingo@pobox.com>
6420 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
6421 the clock initially so it produces values around the base time.
6422 (gst_net_client_clock_class_init): Typo fix.
6423 (gst_net_client_clock_thread): Add note on when the socket gets
6426 2005-11-17 Wim Taymans <wim@fluendo.com>
6428 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
6429 Free remote and local time arrays.
6431 2005-11-17 Wim Taymans <wim@fluendo.com>
6433 * gst/net/gstnetclientclock.c: (do_linear_regression),
6434 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
6435 Fix compilation, uninitialized vars and a forgotten continue.
6437 2005-11-17 Andy Wingo <wingo@pobox.com>
6439 * check/Makefile.am (check_PROGRAMS):
6440 * check/net/gstnetclientclock.c: Add a most minimal test for the
6441 net client clock. More to come later.
6444 * gst/net/Makefile.am: Add netclientclock.
6446 * gst/net/gstnetclientclock.h:
6447 * gst/net/gstnetclientclock.c: New files, implement an untested
6448 GstClock that takes its time from a network time provider.
6449 Implements the algorithm in network-clock.scm.
6451 * tests/network-clock.scm (*window-size*): Rename from
6453 * tests/network-clock.scm (network-time):
6454 * tests/network-clock-utils.scm (q-push): Update callers.
6456 2005-11-17 Wim Taymans <wim@fluendo.com>
6458 * gst/gstbin.c: (gst_bin_provide_clock_func),
6459 (gst_bin_sort_iterator_new):
6460 And unref the child too..
6462 2005-11-17 Wim Taymans <wim@fluendo.com>
6464 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6465 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
6466 Refactor the sort iterator so it can be used while holding the
6468 Make clock selection select a clock closest to the source.
6470 2005-11-17 Michael Smith <msmith@fluendo.com>
6472 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
6473 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
6475 Anonymous structs are a gcc (and some other compilers) extension, so
6476 don't use them. Since this is only for ABI-compatibility, and our
6477 API/ABI freeze is over in a few days, this whole thing will only
6478 last a few days, so don't bother trying to think up a meaningful
6479 name for the struct.
6481 2005-11-17 Andy Wingo <wingo@pobox.com>
6483 * gst/gstclock.h (GstClock): Add rate and offset properties,
6484 preserving ABI stability. Add rate/offset accessors. Will file bug
6485 for the freeze break.
6487 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
6488 and offset, trying to keep precision and avoiding
6490 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
6491 functions. Make gst_clock_set_time_adjust obsolete.
6492 (gst_clock_set_time_adjust): Note that this function is obsolete.
6495 * gst/base/gstbasetransform.h: Make the ABI-stability hack
6496 greppable by using GST_PADDING-1+1.
6498 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
6500 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6502 * gst/gstmessage.c: (gst_message_parse_clock_lost):
6503 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
6505 * gst/gstpadtemplate.h:
6506 * gst/gstpluginfeature.h:
6507 Don't use c++ style comments in headers (#321638).
6509 2005-11-16 Andy Wingo <wingo@pobox.com>
6511 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
6514 * check/net/gstnettimeprovider.c: Check to see that the time
6515 provider actually provides times. Works, yo!
6517 2005-11-16 Wim Taymans <wim@fluendo.com>
6519 * check/Makefile.am:
6522 * check/elements/fakesrc.c: (GST_START_TEST):
6523 Set element to NULL before disposing it.
6525 2005-11-16 Andy Wingo <wingo@pobox.com>
6527 * gst/net/Makefile.am:
6529 * gst/net/gstnettimeprovider.c:
6530 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
6531 provider, include it from gstnet.h, and add it to the build.
6533 * gst/net/gstnettimepacket.h:
6534 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
6535 sending and receiving.
6537 2005-11-16 Wim Taymans <wim@fluendo.com>
6539 * check/Makefile.am:
6540 Enable valgrind check.
6542 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
6543 (gst_fake_src_alloc_buffer):
6546 2005-11-16 Wim Taymans <wim@fluendo.com>
6548 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
6549 Call parent finalize too.
6551 2005-11-16 Wim Taymans <wim@fluendo.com>
6553 * check/Makefile.am:
6554 Enable valgrind check that should work fine now.
6556 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6557 * gst/gstqueue.c: (gst_queue_init):
6558 Fix memleaks in pad allocation.
6560 2005-11-16 Andy Wingo <wingo@pobox.com>
6562 * gst/net/Makefile.am:
6563 * gst/net/gstnet.h: New part of core to hold network elements and
6564 objects. Put in core because it exposes API that applications want
6565 to use. The library is named libgstnet-tempname right now because
6566 of the existing libgstnet in gst-plugins-base. Solution is
6567 probably to rename the one in plugins-base; will file a bug for
6570 * gst/net/gstnettimeprovider.c:
6571 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
6572 get_time call over the network.
6575 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
6577 * check/Makefile.am:
6578 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
6579 get additions shortly.
6581 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6583 * gst/gstpad.c: (gst_pad_new_from_static_template):
6585 add gst_pad_new_from_static_template functions
6586 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
6587 (gst_check_setup_sink_pad):
6588 * gst/elements/gsttee.c: (gst_tee_init):
6591 2005-11-16 Wim Taymans <wim@fluendo.com>
6593 * gst/gstpad.c: (gst_pad_pause_task):
6594 Removed warning, it's not really an error either.
6596 2005-11-16 Wim Taymans <wim@fluendo.com>
6598 * gst/base/gstbasetransform.c:
6599 (gst_base_transform_prepare_output_buf),
6600 (gst_base_transform_event):
6601 Check if the caps are NULL, this can happen if the element
6602 is shutting down and the pad caps are set to NULL.
6604 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6606 * gst/elements/gsttee.c: (gst_tee_init):
6607 fix pad template leak in tee
6609 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6611 * gst/glib-compat.c: (g_value_dup_gst_object):
6612 * gst/glib-compat.h:
6613 * gst/gstpad.c: (gst_pad_set_property):
6614 use gst_object_ref when setting the pad template; this will
6615 trigger the pad template leaks on GLib 2.6 and the slaves
6617 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6619 * gst/glib-compat.c: (gst_flags_get_first_value):
6620 * gst/glib-compat.h:
6621 * gst/gstregistryxml.c:
6622 remove functions copied from GLib 2.6
6624 2005-11-16 Michael Smith <msmith@fluendo.com>
6627 Don't link against VALGRIND_LIBS. That was always the wrong thing to
6628 do, but only breaks with newer valgrind versions. We're not a
6629 valgrind tool, we have no link-time dependencies on libcoregrind.
6631 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6633 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6638 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6640 * gst/base/gstbasesrc.c: (gst_base_src_init):
6641 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6642 * gst/gstqueue.c: (gst_queue_init):
6643 * gst/gstregistryxml.c: (load_feature):
6644 Revert all these unrefs, they don't even pass make check !
6646 2005-11-15 Johan Dahlin <johan@gnome.org>
6648 * gst/base/gstbasesrc.c: (gst_base_src_init):
6649 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6650 * gst/gstqueue.c: (gst_queue_init):
6651 Free pad templates, fixes a couple of leaks.
6653 2005-11-15 Daniel Fischer <dan at f3c dot com>
6655 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6657 * gst/gstpad.c: (gst_pad_get_property):
6658 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
6659 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
6662 2005-11-15 Wim Taymans <wim@fluendo.com>
6667 2005-11-15 Andy Wingo <wingo@pobox.com>
6669 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
6671 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
6672 using GST_CLOCK_TIME_NONE to disable base time management.
6673 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
6674 time if it was NONE before.
6675 (gst_pipeline_change_state): Only munge the base time if
6676 stream_time != GST_CLOCK_TIME_NONE.
6678 * check/gst/gstpipeline.c (test_base_time): Punt around the
6679 problem of the probe not being called, because that's not the
6680 issue I'm looking at. Add a check that setting stream_time to NONE
6681 disables base time management.
6683 2005-11-15 Wim Taymans <wim@fluendo.com>
6685 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6686 segment_stop == -1 at startup.
6688 * gst/base/gstbasetransform.c: (gst_base_transform_event),
6689 (gst_base_transform_change_state):
6690 Init segment values at start.
6692 2005-11-15 Wim Taymans <wim@fluendo.com>
6694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6695 0 segment values are 0 in any format.
6697 * gst/base/gstbasetransform.c: (gst_base_transform_event):
6698 * gst/base/gstbasetransform.h:
6699 Parse newsegment correctly in basetransform
6701 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6702 Sync to clock using updated segment values.
6704 2005-11-15 Andy Wingo <wingo@pobox.com>
6706 * check/gst/gstpipeline.c (test_base_time): Add check that the
6707 base time and stream time are reset correctly.
6709 2005-11-15 Wim Taymans <wim@fluendo.com>
6711 * docs/design/part-TODO.txt:
6712 Some more TODO items.
6714 2005-11-15 Andy Wingo <wingo@pobox.com>
6716 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
6717 error if the user selected "no clock" as the clocking method.
6719 * check/gst/gstpipeline.c (test_base_time): New test for buffer
6720 timestamps with live capture.
6722 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
6723 is 0 but we are a live source, timestamp the buffers using the
6726 2005-11-14 Stefan Kost <ensonic@users.sf.net>
6728 * docs/gst/gstreamer-sections.txt:
6730 * gst/gstghostpad.c:
6735 2005-11-14 Wim Taymans <wim@fluendo.com>
6738 add suppressions from Wim's Debian machine
6740 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
6743 add suppressions from Andy's AMD64 Ubuntu machine
6745 2005-11-14 Andy Wingo <wingo@pobox.com>
6747 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
6748 STATE_LOCK not necessary. Fixes #311489.
6750 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
6753 * gst/gstindex.c (gst_index_add_object): Note in the docs that
6754 this function is not implemented.
6756 2005-11-14 Julien MOUTTE <julien@moutte.net>
6758 * gst/base/gstbasetransform.c:
6759 (gst_base_transform_prepare_output_buf):
6760 Ref the source pad caps while we need them.
6763 2005-11-11 Wim Taymans <wim@fluendo.com>
6765 * docs/gst/gstreamer-sections.txt:
6766 Added some docs for GstCollectData.
6768 * gst/base/gstadapter.c:
6769 Some small code example fix.
6771 * gst/base/gstcollectpads.c:
6772 * gst/base/gstcollectpads.h:
6775 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6777 * configure.ac: back to HEAD
6779 === release 0.9.5 ===
6781 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6784 releasing 0.9.5, "Bike Lunch Day"
6786 2005-11-11 Wim Taymans <wim@fluendo.com>
6788 * gst/gstbuffer.c: (_gst_buffer_copy):
6791 * gst/gstcaps.c: (gst_caps_is_equal):
6793 Make _is_equal fast in the trivial cases.
6795 * gst/gstminiobject.c:
6796 * gst/gstminiobject.h:
6797 More docs. Spifify .h file.
6802 2005-11-11 Wim Taymans <wim@fluendo.com>
6804 * gst/base/gstbasetransform.c:
6805 (gst_base_transform_prepare_output_buf),
6806 (gst_base_transform_handle_buffer):
6808 If we're processing a buffer and need to allocate an output
6809 buffer, we cannot accept a format change. If we did get a
6810 format change, we have to alloc a buffer ourselves of the
6813 2005-11-11 Wim Taymans <wim@fluendo.com>
6815 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
6816 While checking the flag for reentrancy in the gstcaps function
6817 is nice to detect recursive invocations, it also makes it
6818 impossible to call getcaps from multiple threads, which must be
6819 possible. So, checking for recursive calls has to go.
6821 2005-11-11 Michael Smith <msmith@fluendo.com>
6823 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6824 Don't sync on buffers that fall partially outside our current
6825 segment. Prevents an assertion failure/abort playing some files.
6827 2005-11-10 Andy Wingo <wingo@pobox.com>
6829 * check/gst/gstbin.c (test_message_state_changed_children): Style
6832 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
6833 gst_bus_poll with the signal watch. Ensures that poll and a signal
6834 watch see the same messages.
6836 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
6837 a poll and a watch at the same time get the same messages.
6839 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
6841 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
6842 * gst/gstcaps.c: (gst_caps_intersect):
6843 Don't call gst_caps_do_simplify - it doesn't respect order of caps
6844 and it's not needed.
6846 2005-11-10 Wim Taymans <wim@fluendo.com>
6848 * docs/design/part-TODO.txt:
6851 2005-11-10 Wim Taymans <wim@fluendo.com>
6853 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6854 * gst/base/gstbasesrc.c: (gst_base_src_wait),
6855 (gst_base_src_do_sync), (gst_base_src_get_range):
6856 Implement clock sync in base class.
6858 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
6860 patch by: Tim-Philipp Müller <tim at centricular dot net>
6862 * gst/gststructure.c: (gst_structure_parse_field),
6863 (gst_structure_from_string):
6864 Forward-port a 0.8 patch to handle escaped spaces in structure string,
6865 so that gst_parse_launch() can deal with spaces in filtered link
6866 caps (fixes #164479)
6867 * check/gst/capslist.h:
6868 * check/gst/gststructure.c: (GST_START_TEST):
6869 add unit tests for this change
6871 2005-11-10 Wim Taymans <wim@fluendo.com>
6873 * docs/gst/gstreamer-sections.txt:
6876 Fix docs, move some STATE macros to private.
6878 2005-11-10 Wim Taymans <wim@fluendo.com>
6880 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6881 Added check for bug #317341
6885 Some more spiffifying.
6887 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
6888 Call peer linkfunction if we are a source pad. Totally fixes
6892 Update docs, source pads should call the peer linkfunction
6893 so they can atomically perform the pad link.
6895 2005-11-09 Wim Taymans <wim@fluendo.com>
6899 Uber-spiffy-spiffify some more.
6901 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
6903 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
6904 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6905 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6906 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
6907 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
6908 * gst/gstpad.c: (gst_pad_init):
6909 Use GST_DEBUG_FUNCPTR() more extensively.
6911 2005-11-09 Wim Taymans <wim@fluendo.com>
6913 * gst/gstobject.c: (gst_object_class_init):
6915 Documentation fixes.
6917 2005-11-09 Edward Hervey <edward@fluendo.com>
6919 * gst/gsttypefindfactory.c:
6922 2005-11-09 Edward Hervey <edward@fluendo.com>
6924 * gst/base/gsttypefindhelper.c:
6925 * gst/gsttypefind.c:
6926 * gst/gsttypefind.h:
6929 2005-11-09 Wim Taymans <wim@fluendo.com>
6931 * gst/gstiterator.c:
6938 2005-11-09 Wim Taymans <wim@fluendo.com>
6944 2005-11-09 Wim Taymans <wim@fluendo.com>
6946 * docs/gst/gstreamer-sections.txt:
6947 Moved the message async delivery private lock and cond
6948 to the private section.
6954 2005-11-09 Edward Hervey <edward@fluendo.com>
6956 * docs/gst/gstreamer-sections.txt:
6959 Document GstURIHandler
6961 2005-11-09 Wim Taymans <wim@fluendo.com>
6963 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
6964 (gst_iterator_find_custom):
6965 * gst/gstiterator.h:
6968 2005-11-09 Wim Taymans <wim@fluendo.com>
6971 Document another field.
6973 * gst/gststructure.c:
6974 * gst/gststructure.h:
6977 2005-11-09 Wim Taymans <wim@fluendo.com>
6982 2005-11-09 Wim Taymans <wim@fluendo.com>
6984 * docs/gst/gstreamer-sections.txt:
6985 Added some new macros.
6992 2005-11-09 Wim Taymans <wim@fluendo.com>
6994 * docs/design/part-TODO.txt:
6995 Some more items for the TODO
7001 2005-11-09 Andy Wingo <wingo@pobox.com>
7003 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7004 to work on something else now tho...
7006 * gst/base/gstadapter.c: More adapter docs.
7008 * gst/elements/gstfilesink.c (gst_file_sink_start)
7009 (gst_file_sink_stop): New functions, replace the state change
7011 (gst_file_sink_class_init): Hook up the start and stop functions.
7012 (gst_file_sink_base_init): Don't set the state change handler any
7013 more. It was a bit ugly too, being set from here...
7014 (gst_file_sink_get_property, gst_file_sink_set_property):
7016 (gst_file_sink_set_location): More robust check that doesn't call
7019 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
7021 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7022 Hold STREAM_LOCK while pushing newsegment or tag events as well.
7024 2005-11-08 Wim Taymans <wim@fluendo.com>
7026 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7027 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7028 (gst_base_sink_chain), (gst_base_sink_change_state):
7029 * gst/base/gstbasesink.h:
7030 * gst/base/gstbasesrc.h:
7033 Avoid excessive typechecking in macros.
7035 * gst/gstminiobject.c: (gst_mini_object_get_type),
7036 (gst_mini_object_init), (gst_mini_object_new),
7037 (gst_mini_object_free):
7038 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7039 (gst_object_finalize):
7040 Remove cruft code, optimize alloc_trace.
7042 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
7044 * docs/faq/gst-uninstalled:
7045 fix up PS1 for systems that try to reset it
7047 2005-11-07 Wim Taymans <wim@fluendo.com>
7049 * gst/base/gstbasesrc.c: (gst_base_src_init),
7050 (gst_base_src_get_range):
7051 Set the segment_end to -1 initially. Fixed typefind.
7053 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
7055 * gst/base/gstadapter.c:
7056 Debug category should be 'adapter', not 'GstAdapter'.
7058 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7059 (gst_collectpads_class_init), (gst_collectpads_init),
7060 (gst_collectpads_peek), (gst_collectpads_pop),
7061 (gst_collectpads_event), (gst_collectpads_chain):
7062 Add debug category and some debugging output. Use boilerplate
7063 macros. Remove some extraneous words from docs.
7065 2005-11-05 Andy Wingo <wingo@pobox.com>
7067 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7070 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7072 * docs/gst/gstreamer-sections.txt:
7075 * gst/gstminiobject.h:
7080 2005-11-04 Wim Taymans <wim@fluendo.com>
7082 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7083 Small update to stop at the configured segment_end
7086 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7088 * gst/gstregistry.c:
7089 * gst/gstregistry.h:
7092 2005-11-04 Edward Hervey <edward@fluendo.com>
7094 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7095 Check if we are doing a segment seek and have arrived at the
7096 end of that segment.
7098 2005-11-04 Wim Taymans <wim@fluendo.com>
7100 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7101 Don't leak a mutex unlock in case of an error.
7106 2005-11-04 Wim Taymans <wim@fluendo.com>
7108 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7110 Get the context to wake up only once.
7112 2005-11-03 Wim Taymans <wim@fluendo.com>
7114 * check/states/sinks.c: (GST_START_TEST):
7115 Uncomment fixed check.
7117 * docs/design/part-TODO.txt:
7120 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7121 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7122 (gst_base_sink_get_position):
7123 If we are going to PLAYING, post the right pending state
7124 when we post the intermediate paused message.
7126 * gst/gstelement.c: (gst_element_continue_state),
7127 (gst_element_set_state_func), (gst_element_change_state):
7128 Don't post state changes that were between the same state
7131 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7133 * docs/gst/gstreamer-sections.txt:
7136 * gst/gstminiobject.h:
7139 more docs and doc style fixes
7141 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7143 * docs/gst/gstreamer-sections.txt:
7145 * gst/gstminiobject.c:
7148 2005-11-03 Andy Wingo <wingo@pobox.com>
7150 * check/states/sinks.c (test_livesrc_sink): Add checks that the
7151 state-changed messages actually have the right order and the right
7154 2005-11-03 Wim Taymans <wim@fluendo.com>
7156 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7157 Added some more checks. Specifically the case where NO_PREROLL
7158 elements are in the pipeline.
7160 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7161 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7162 (gst_base_sink_get_position):
7163 Post READY->PAUSED state change messages too.
7164 Fix bug where VOID was posted as pending state...
7166 * gst/gstbin.c: (gst_bin_recalc_state):
7167 use _element_continue_state() to continue the state change.
7169 * gst/gstelement.c: (gst_element_continue_state),
7170 (gst_element_commit_state), (gst_element_set_state_func),
7171 (gst_element_change_state), (gst_element_change_state_func):
7172 Lots of state change cleanups, assign the STATE_RETURN in
7173 a new continue_state() function that also propagates the
7174 last return value from a state change to the app.
7175 Update some debug statements with proper category.
7177 2005-11-03 Wim Taymans <wim@fluendo.com>
7179 * docs/design/part-events.txt:
7180 * docs/design/part-gstpipeline.txt:
7181 * docs/design/part-messages.txt:
7182 * docs/design/part-overview.txt:
7183 * docs/design/part-seeking.txt:
7184 * docs/design/part-states.txt:
7185 * docs/design/part-trickmodes.txt:
7186 * docs/manual/advanced-position.xml:
7190 People think !! is ugly, this looks better.
7192 * gst/gstpad.c: (gst_pad_set_blocked_async):
7193 Remove !! since it's fixed elsewhere now.
7195 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7197 * gst/gstminiobject.h:
7199 Add !! to _FLAG_IS_SET macros to make the result boolean.
7201 2005-11-03 Edward Hervey <edward@fluendo.com>
7203 * gst/gstpad.c: (gst_pad_set_blocked_async):
7204 comparing a flag and a gboolean rarely returns coherent results...
7205 Added two characters (!!) to make that work correctly.
7207 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7209 * gst/gstbus.c: (gst_bus_class_init):
7212 * gst/gstqueue.c: (gst_queue_loop):
7213 Don't assume a miniobject that isn't a buffer is an
7214 event (it could be that there is a refcounting
7215 problem somewhere and the pointer is stale and
7216 refers to an already destroyed miniobject).
7218 2005-11-03 Julien MOUTTE <julien@moutte.net>
7220 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7222 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7224 * docs/manual/advanced-position.xml:
7225 Update seek example and explanations to current 0.9 API.
7227 * gst/elements/gsttypefindelement.c:
7228 (gst_type_find_element_activate):
7229 Remove FIXME comment now that the found caps
7232 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
7234 * gst/gstregistryxml.c: (load_feature):
7235 Add another GST_STR_NULL instance
7237 2005-11-02 Edward Hervey <edward@fluendo.com>
7239 * gst/gstpad.c: (handle_pad_block):
7240 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
7242 2005-11-02 Wim Taymans <wim@fluendo.com>
7247 * gst/gstelement.c: (gst_element_commit_state):
7248 Remove unused value.
7250 * gst/gstiterator.c:
7251 Mention that the returned element is reffed in the docs.
7253 2005-11-02 Wim Taymans <wim@fluendo.com>
7255 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
7256 (gst_pad_push), (gst_pad_push_event):
7257 Unlock blocked pads when they are flushed.
7259 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7262 * docs/gst/gstreamer-sections.txt:
7265 * gst/gstregistry.c: (gst_registry_scan_path_level):
7266 fix for a nasty little missed situation where an installed plug-in
7267 which was in the cache did not get overridden by an uninstalled one
7268 which was earlier in the plugin path because the newly created plugin
7269 for the uninstalled one (not in the registry) didn't get its
7270 ->registered set to TRUE
7272 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7274 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
7275 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
7276 (gst_collectpads_is_active), (gst_collectpads_collect),
7277 (gst_collectpads_collect_range), (gst_collectpads_start),
7278 (gst_collectpads_stop), (gst_collectpads_peek),
7279 (gst_collectpads_pop), (gst_collectpads_available),
7280 (gst_collectpads_read), (gst_collectpads_flush):
7281 Guard public API with assertions.
7284 Fix docs for gst_pad_set_link_function().
7286 2005-11-02 Johan Dahlin <johan@gnome.org>
7288 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
7289 Unref found_caps after we used it.
7291 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7293 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
7294 Don't try to ref NULL.
7296 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7298 * win32/common/config.h.in:
7299 provide a GST_FUNCTION that just gives a string for now
7301 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7303 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7304 (gst_object_flags_get_type), (register_gst_bin_flags),
7305 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7306 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7307 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7308 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
7309 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7310 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7311 (gst_clock_flags_get_type), (register_gst_state),
7312 (gst_state_get_type), (register_gst_state_change_return),
7313 (gst_state_change_return_get_type), (register_gst_state_change),
7314 (gst_state_change_get_type), (register_gst_element_flags),
7315 (gst_element_flags_get_type), (register_gst_core_error),
7316 (gst_core_error_get_type), (register_gst_library_error),
7317 (gst_library_error_get_type), (register_gst_resource_error),
7318 (gst_resource_error_get_type), (register_gst_stream_error),
7319 (gst_stream_error_get_type), (register_gst_event_type),
7320 (gst_event_type_get_type), (register_gst_seek_type),
7321 (gst_seek_type_get_type), (register_gst_seek_flags),
7322 (gst_seek_flags_get_type), (register_gst_format),
7323 (gst_format_get_type), (register_gst_index_certainty),
7324 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7325 (gst_index_entry_type_get_type),
7326 (register_gst_index_lookup_method),
7327 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7328 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7329 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7330 (gst_index_flags_get_type), (register_gst_debug_level),
7331 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7332 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7333 (gst_iterator_result_get_type), (register_gst_iterator_item),
7334 (gst_iterator_item_get_type), (register_gst_message_type),
7335 (gst_message_type_get_type), (register_gst_mini_object_flags),
7336 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7337 (gst_pad_link_return_get_type), (register_gst_flow_return),
7338 (gst_flow_return_get_type), (register_gst_activate_mode),
7339 (gst_activate_mode_get_type), (register_gst_pad_direction),
7340 (gst_pad_direction_get_type), (register_gst_pad_flags),
7341 (gst_pad_flags_get_type), (register_gst_pad_presence),
7342 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7343 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7344 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7345 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7346 (gst_plugin_flags_get_type), (register_gst_rank),
7347 (gst_rank_get_type), (register_gst_query_type),
7348 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7349 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7350 (gst_tag_flag_get_type), (register_gst_task_state),
7351 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7352 (gst_alloc_trace_flags_get_type),
7353 (register_gst_type_find_probability),
7354 (gst_type_find_probability_get_type), (register_gst_uri_type),
7355 (gst_uri_type_get_type), (register_gst_parse_error),
7356 (gst_parse_error_get_type):
7357 * win32/common/gstversion.h:
7360 2005-11-01 Luca Ognibene <luogni@tin.it>
7363 fix docs. popt is dead, long live GOption.
7365 2005-10-31 Wim Taymans <wim@fluendo.com>
7370 2005-10-31 Andy Wingo <wingo@pobox.com>
7374 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
7376 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
7377 need to serialize property notifications on GLib 2.8. GLib 2.6 has
7378 the possibility of deadlocks here if code calling notify() or
7379 set() has a lock that can be taken in another notify handler (ABBA
7380 with class lock and e.g. python GIL state lock).
7382 2005-10-28 Julien MOUTTE <julien@moutte.net>
7384 * gst/gstbus.c: Doc updates.
7386 2005-10-28 Wim Taymans <wim@fluendo.com>
7388 * docs/design/part-TODO.txt:
7389 * gst/gstiterator.c:
7390 * gst/gstsystemclock.c:
7391 * gst/gstsystemclock.h:
7394 2005-10-28 Edward Hervey <edward@fluendo.com>
7396 * docs/gst/gstreamer-docs.sgml:
7397 * docs/gst/gstreamer-sections.txt:
7398 the GstURIType documentation page is private, it only defines GstURIType
7399 which should be defined in the GstURIHandler page
7401 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
7403 * gst/gstbin.c: (gst_bin_class_init):
7406 Documentation updates.
7408 2005-10-28 Wim Taymans <wim@fluendo.com>
7410 * docs/gst/gstreamer-sections.txt:
7413 Documented the clocks.
7415 2005-10-28 Stefan Kost <ensonic@users.sf.net>
7417 * docs/gst/gstreamer-sections.txt:
7418 move some macros to private sections
7419 * gst/gstminiobject.c:
7420 * gst/gstminiobject.h:
7421 add descriptions provided by ds and some more
7423 mark macro as to be removed
7425 2005-10-28 Wim Taymans <wim@fluendo.com>
7427 * docs/design/part-TODO.txt:
7428 Add an item to TODO.
7430 * gst/gstiterator.c: (gst_iterator_fold),
7431 (gst_iterator_find_custom):
7432 * gst/gstiterator.h:
7435 2005-10-28 Wim Taymans <wim@fluendo.com>
7437 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7438 (gst_base_transform_init):
7441 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
7442 An EOS event marks the queue as completely filled.
7444 2005-10-27 Wim Taymans <wim@fluendo.com>
7446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7447 (gst_base_sink_do_sync), (gst_base_sink_get_position):
7448 Some more debugging.
7450 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
7451 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
7452 (gst_base_transform_event), (gst_base_transform_getrange),
7453 (gst_base_transform_chain):
7454 * gst/base/gstbasetransform.h:
7456 Protect transform and concurrent buffer alloc with a new lock.
7457 Try not to break ABI/API.
7459 2005-10-27 Wim Taymans <wim@fluendo.com>
7461 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7462 (gst_base_src_init), (gst_base_src_query),
7463 (gst_base_src_default_newsegment),
7464 (gst_base_src_configure_segment), (gst_base_src_do_seek),
7465 (gst_base_src_send_event), (gst_base_src_event_handler),
7466 (gst_base_src_pad_get_range), (gst_base_src_loop),
7467 (gst_base_src_unlock), (gst_base_src_default_negotiate),
7468 (gst_base_src_start), (gst_base_src_deactivate),
7469 (gst_base_src_activate_push), (gst_base_src_change_state):
7470 Move some stuff around and cleanup things.
7472 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
7474 * gst/base/gstbasesrc.c: (gst_base_src_query):
7475 Add missing break statements.
7477 2005-10-27 Wim Taymans <wim@fluendo.com>
7479 * check/gst/gstbin.c: (GST_START_TEST):
7480 An extra refcount is taken in basesrc.
7482 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7483 (gst_base_src_get_range), (gst_base_src_pad_get_range),
7484 (gst_base_src_loop):
7485 Small cleanups, check for flushing after being unlocked from the
7486 LIVE_LOCK. take refcounts correctly (not yet everywhere).
7487 Don't send out EOS when going to READY.
7489 2005-10-27 Wim Taymans <wim@fluendo.com>
7491 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7492 (gst_base_sink_get_position):
7495 * gst/gstbin.c: (message_check), (bin_replace_message),
7496 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7497 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7498 (bin_query_duration_init), (bin_query_duration_fold),
7499 (bin_query_duration_done), (bin_query_generic_fold),
7501 * tools/gst-launch.c: (main):
7504 2005-10-26 Stefan Kost <ensonic@users.sf.net>
7506 * examples/controller/audio-example.c: (main):
7507 * examples/queue/queue.c: (event_loop):
7508 * gst/base/gstbasetransform.h:
7509 * gst/gstelement.c: (gst_element_send_event):
7511 * gst/gstpad.c: (gst_pad_send_event):
7514 changing log priority in error situations
7516 2005-10-25 Wim Taymans <wim@fluendo.com>
7518 * gst/gstbin.c: (message_check), (bin_replace_message),
7519 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7520 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7521 (bin_query_duration_init), (bin_query_duration_fold),
7522 (bin_query_duration_done), (bin_query_generic_fold),
7524 Some doc and debug updates.
7525 Cache previously requested query DURATION for speed. invalidate
7526 cached duration if element posts a DURATION message.
7528 2005-10-25 Wim Taymans <wim@fluendo.com>
7530 * docs/design/part-TODO.txt:
7533 * gst/gstbin.c: (message_check), (bin_replace_message),
7534 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7535 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7536 (bin_query_duration_init), (bin_query_duration_fold),
7537 (bin_query_duration_done), (bin_query_generic_fold),
7539 Handle SEGMENT_START/DONE messages correctly.
7540 More evolved query algorithm that handles duration queries
7543 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
7544 (gst_element_get_state_func), (gst_element_abort_state),
7545 (gst_element_commit_state), (gst_element_lost_state):
7546 Some more debugging.
7551 2005-10-25 Wim Taymans <wim@fluendo.com>
7553 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7554 Don't use invalid stream_time.
7556 * gst/gstevent.c: (gst_event_new_newsegment):
7557 stream_time in newsegment cannot be undefined.
7559 2005-10-24 Wim Taymans <wim@fluendo.com>
7564 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7566 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
7568 2005-10-24 Stefan Kost <ensonic@users.sf.net>
7570 * docs/libs/tmpl/gstdparam.sgml:
7571 * docs/libs/tmpl/gstdplinint.sgml:
7572 * docs/libs/tmpl/gstdpman.sgml:
7573 * docs/libs/tmpl/gstdpsmooth.sgml:
7574 * docs/libs/tmpl/gstunitconvert.sgml:
7577 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
7582 === release 0.9.4 ===
7584 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
7587 releasing 0.9.4, "Tyrannosaurus Rex"
7589 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
7591 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
7592 (gst_file_sink_get_current_offset):
7593 Use fseeko() and ftello() if available. When falling back on
7594 lseek() to get the current offset, fflush() first to make sure
7595 everything is up-to-date and we get the right offset.
7597 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
7599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7600 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7601 * gst/gsterror.c: (_gst_stream_errors_init):
7603 * gst/gstqueue.c: (gst_queue_loop):
7605 remove prematurely added error category and clean up the instances
7607 2005-10-21 Wim Taymans <wim@fluendo.com>
7609 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7610 (gst_base_sink_get_position), (gst_base_sink_query),
7611 (gst_base_sink_change_state):
7612 Simply set the right flag when going to playing, that's all
7613 we need to do instead of calling a function inside the object
7614 lock (that could take the lock as well and deadlock)
7616 2005-10-21 Wim Taymans <wim@fluendo.com>
7618 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
7619 (gst_base_src_loop):
7620 Don't warn, the peer element knows what to do best when
7621 the seek failed, it might try something else.
7623 2005-10-21 Wim Taymans <wim@fluendo.com>
7625 * gst/base/gstbasesrc.c: (gst_base_src_init),
7626 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7629 2005-10-21 Wim Taymans <wim@fluendo.com>
7631 * docs/design/part-segments.txt:
7634 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7635 Correctly set caps, even on the subbufer.
7637 2005-10-21 Wim Taymans <wim@fluendo.com>
7639 * docs/gst/gstreamer-docs.sgml:
7640 * docs/gst/gstreamer-sections.txt:
7647 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
7651 And 2% more doc coverage.
7653 2005-10-21 Andy Wingo <wingo@pobox.com>
7655 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
7658 2005-10-20 Wim Taymans <wim@fluendo.com>
7660 * gst/gsterror.c: (gst_error_get_message):
7663 * gst/gststructure.c:
7668 2005-10-20 Wim Taymans <wim@fluendo.com>
7673 Another 1% more coverage.
7675 2005-10-20 Wim Taymans <wim@fluendo.com>
7677 * docs/gst/gstreamer-sections.txt:
7678 * gst/gstelement.c: (gst_element_get_state_func),
7679 (gst_element_abort_state), (gst_element_commit_state),
7680 (gst_element_lost_state):
7682 * gst/gstquery.c: (gst_query_set_position),
7683 (gst_query_parse_position), (gst_query_set_duration),
7684 (gst_query_parse_duration), (gst_query_new_convert):
7686 Yay! 1% more docs coverage.
7688 2005-10-20 Wim Taymans <wim@fluendo.com>
7691 * gst/gstquery.c: (gst_query_set_position),
7692 (gst_query_parse_position), (gst_query_set_duration),
7693 (gst_query_parse_duration), (gst_query_new_convert):
7695 * gst/gstutils.c: (gst_element_query_convert):
7697 Docs and consistency fixes.
7699 2005-10-20 Wim Taymans <wim@fluendo.com>
7705 2005-10-20 Wim Taymans <wim@fluendo.com>
7707 * gst/gstbin.c: (message_check), (bin_replace_message),
7708 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7709 (update_degree), (gst_bin_sort_iterator_next),
7710 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
7711 Reworked the message handling a bit, cache the messages instead of
7712 only the senders. alows us to do more in the future.
7714 2005-10-20 Wim Taymans <wim@fluendo.com>
7716 * docs/design/part-TODO.txt:
7719 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7720 (gst_base_sink_query):
7721 Don't use clock time to report position when in EOS.
7723 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
7725 * tools/gst-inspect.c: (print_interfaces),
7726 (print_element_properties_info), (print_element_info):
7727 Fix interface output with gst-inspect -a; don't print
7728 newlines after double/float properties.
7730 2005-10-20 Wim Taymans <wim@fluendo.com>
7732 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7733 (gst_base_sink_query):
7734 Speed up current position calculation.
7736 * gst/base/gstbasesrc.c: (gst_base_src_query),
7737 (gst_base_src_default_newsegment):
7738 Correctly set stream position in newsegment.
7740 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
7741 (update_degree), (gst_bin_sort_iterator_next),
7742 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
7743 * gst/gstmessage.c: (gst_message_new_custom):
7744 Clean up debugging info
7746 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7747 (gst_queue_loop), (gst_queue_handle_src_query):
7750 2005-10-19 Wim Taymans <wim@fluendo.com>
7752 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7753 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7754 Fix query handling again.
7756 2005-10-19 Wim Taymans <wim@fluendo.com>
7758 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7759 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7760 * gst/base/gstbasesrc.c: (gst_base_src_query):
7761 * gst/elements/gstfilesink.c: (gst_file_sink_query):
7762 * gst/elements/gsttypefindelement.c:
7763 (gst_type_find_handle_src_query), (find_element_get_length),
7764 (gst_type_find_element_activate):
7767 * gst/gstquery.c: (gst_query_new_position),
7768 (gst_query_set_position), (gst_query_parse_position),
7769 (gst_query_new_duration), (gst_query_set_duration),
7770 (gst_query_parse_duration), (gst_query_set_segment),
7771 (gst_query_parse_segment):
7773 Bundling query position/duration is not a good idea since duration
7774 does not change much and we don't want to recalculate it for every
7775 position query, so they are separated again..
7776 Base value in segment query is not needed.
7778 * gst/gstqueue.c: (gst_queue_handle_src_query):
7779 * gst/gstutils.c: (gst_element_query_position),
7780 (gst_element_query_duration), (gst_pad_query_position),
7781 (gst_pad_query_duration):
7783 Updates for query API change.
7784 Added some docs here and there.
7786 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
7788 * check/gst/gstbin.c: (GST_START_TEST):
7789 * check/gst/gstghostpad.c: (GST_START_TEST):
7790 * check/pipelines/cleanup.c: (GST_START_TEST):
7791 wait on thread to die so we can check refcount correctly
7793 2005-10-18 Wim Taymans <wim@fluendo.com>
7795 * check/pipelines/stress.c: (GST_START_TEST):
7796 Make check a little more time consuming.
7798 2005-10-18 Wim Taymans <wim@fluendo.com>
7800 * check/Makefile.am:
7801 * check/pipelines/stress.c: (GST_START_TEST),
7802 (simple_launch_lines_suite), (main):
7803 Small state change torture test.
7805 * docs/design/part-states.txt:
7806 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7807 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
7808 (gst_base_sink_change_state):
7809 Never take state lock from streaming thread, clean up ugly
7810 hacks. Unfortunatly core does not yet support nice ways to
7813 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
7815 Start state recalc if a STATE_DIRTY message is posted, but only
7816 on the toplevel bin.
7818 * gst/gstelement.c: (gst_element_sync_state_with_parent),
7819 (gst_element_get_state_func), (gst_element_abort_state),
7820 (gst_element_commit_state), (gst_element_lost_state),
7821 (gst_element_set_state_func), (gst_element_change_state):
7823 State variables are now protected with the LOCK, the state
7824 lock is only used to serialize _set_state().
7826 2005-10-18 Wim Taymans <wim@fluendo.com>
7828 * check/gst/gstbin.c: (GST_START_TEST):
7829 * check/gst/gstmessage.c: (GST_START_TEST):
7830 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
7831 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
7833 * gst/gstelement.c: (gst_element_abort_state),
7834 (gst_element_commit_state), (gst_element_lost_state):
7835 * gst/gstmessage.c: (gst_message_new_state_changed),
7836 (gst_message_new_state_dirty), (gst_message_new_segment_start),
7837 (gst_message_new_segment_done), (gst_message_new_duration),
7838 (gst_message_parse_state_changed),
7839 (gst_message_parse_segment_start),
7840 (gst_message_parse_segment_done), (gst_message_parse_duration):
7842 * tools/gst-launch.c: (event_loop):
7843 Seriously, this is better than a previous commit as we only need
7844 to notify the fact that an element changed state in a streaming
7845 thread, marking the state of the parents dirty, hence the
7846 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
7849 2005-10-18 Wim Taymans <wim@fluendo.com>
7851 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
7852 (gst_bin_recalc_func):
7853 * gst/gstelement.c: (gst_element_set_clock),
7854 (gst_element_abort_state), (gst_element_lost_state):
7855 Cleanups, prepare for state change fixes.
7857 2005-10-18 Wim Taymans <wim@fluendo.com>
7860 * gst/gstelement.c: (gst_element_class_init),
7861 (gst_element_set_state), (gst_element_set_state_func):
7863 Pending ABI changes.
7864 GThreadPool in GstBinClass to monitor async state changes.
7865 state_cookie in GstElement to detect concurrent gst/set state.
7866 set_state is now virtual too in case a very complicated element
7867 has to be constructed.
7869 2005-10-18 Wim Taymans <wim@fluendo.com>
7871 * check/gst/gstbin.c: (GST_START_TEST):
7872 * check/gst/gstmessage.c: (GST_START_TEST):
7873 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
7874 * gst/gstbin.c: (bin_bus_handler):
7875 * gst/gstelement.c: (gst_element_commit_state),
7876 (gst_element_lost_state):
7877 * gst/gstmessage.c: (gst_message_new_state_changed),
7878 (gst_message_new_segment_start), (gst_message_new_segment_done),
7879 (gst_message_new_duration), (gst_message_parse_state_changed),
7880 (gst_message_parse_segment_start),
7881 (gst_message_parse_segment_done), (gst_message_parse_duration):
7883 * tools/gst-launch.c: (event_loop):
7884 Make messages future proof.
7885 state-change gets a flag if it was a message comming from the
7887 segment-start/stop can also be specified in other formats.
7888 A message to notify an app that a pipeline changed playback
7890 Also fix a GstMessage leak in -launch
7892 2005-10-18 Andy Wingo <wingo@pobox.com>
7894 * gst/gstelement.c (gst_element_dispose): More helpful message.
7896 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
7898 reviewed by: <delete if not using a buddy>
7900 * common/gtk-doc.mak:
7902 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
7904 * gst/gstregistry.c: (gst_registry_scan_path_level):
7905 unref a plug-in we get that was already initialized
7907 2005-10-18 Stefan Kost <ensonic@users.sf.net>
7909 * docs/gst/gstreamer-sections.txt:
7910 * docs/libs/gstreamer-libs-sections.txt:
7915 2005-10-17 Andy Wingo <wingo@pobox.com>
7917 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
7920 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
7922 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
7924 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
7925 (gst_element_get_state_func): Better debug message.
7926 (gst_element_commit_state): s/INFO/DEBUG/.
7927 (gst_element_lost_state, gst_element_change_state):
7929 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
7930 (gst_message_new_custom): s/INFO/LOG/.
7932 2005-10-17 Michael Smith <msmith@fluendo.com>
7934 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7935 Check if end time is valid using end time, not start time.
7937 2005-10-17 Stefan Kost <ensonic@users.sf.net>
7939 * check/gst-libs/controller.c: (GST_START_TEST),
7940 (gst_controller_suite):
7941 * libs/gst/controller/gstcontroller.c:
7942 (gst_controlled_property_set_interpolation_mode):
7943 * libs/gst/controller/gstcontroller.h:
7944 * libs/gst/controller/gstinterpolation.c:
7945 * testsuite/controller/.cvsignore:
7946 * testsuite/controller/Makefile.am:
7947 * testsuite/controller/interpolator.c:
7948 merge controller testsuites
7950 remove mem-chunk from docs
7952 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
7954 * gst/gstmemchunk.c:
7955 * gst/gstmemchunk.h:
7956 * gst/gsttrashstack.c:
7957 * gst/gsttrashstack.h:
7958 out. get out. you're fired. to the Attic !
7960 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
7962 * gst/gstcaps.c: (gst_caps_intersect):
7963 fix signedness issues in a (hopefully) correct way
7964 * gst/gstelement.c: (gst_element_pads_activate):
7966 * gst/gstobject.c: (gst_object_set_parent):
7969 2005-10-17 Julien MOUTTE <julien@moutte.net>
7971 * gst/gstvalue.h: Fix prototypes.
7973 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7975 * docs/gst/gstreamer-sections.txt:
7976 * gst/gst.c: (gst_version_string):
7978 * gst/gstversion.h.in:
7979 * win32/common/libgstreamer.def:
7980 add gst_version_string ()
7982 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7986 * gst/gst.c: (init_post):
7987 * win32/common/config.h.in:
7989 * gst/gstcaps.c: (gst_caps_intersect):
7990 use gint64, the range could be bigger than a guint
7992 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7995 document potential problem in 2038
7997 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7999 * gst/gstcaps.c: (gst_caps_intersect):
8000 Fix guint j diving under 0
8002 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8005 * win32/common/config.h:
8006 * win32/common/config.h.in:
8007 check for process.h, declares getpid() on Windows
8009 include process.h if we have it
8010 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8011 * gst/gstmemchunk.h:
8012 fix signedness issues
8013 * win32/common/libgstreamer.def:
8016 2005-10-16 Julien MOUTTE <julien@moutte.net>
8018 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8019 fix. Because of unsigned ints, caps intersection was going nuts and
8020 trying to access structures with G_MAXUINT index. That fixes
8021 videotestsrc ! ffmpegcolorspace ! fakesink
8022 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8025 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8028 use the gettext macro
8029 * gst/elements/gstelements.c:
8031 * gst/indexers/gstindexers.c:
8032 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8033 * win32/common/config.h:
8035 * win32/common/config.h.in:
8036 add the template to generate config.h
8037 * win32/common/gstenumtypes.c:
8038 * win32/common/gstversion.h:
8041 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8043 * gst/gst.c: (gst_version):
8044 * gst/gstversion.h.in:
8047 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8050 Oops, add missing closing bracket.
8052 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8055 use common m4's for argument checking
8057 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8059 * docs/gst/gstreamer-sections.txt:
8061 Add GST_EVENT_TYPE_NAME() macro.
8063 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8066 * gst/gstpluginfeature.c:
8068 privatize more symbols
8070 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8073 add srcdir, builddir includes to GST_ALL_CFLAGS, since
8074 everything that uses GStreamer API should have the includes
8076 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8078 * docs/gst/gstreamer-sections.txt:
8079 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8081 give each value a _get_type, removes the DATA exports
8083 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8087 remove _gst_registry_auto_load, not used anymore
8088 * gst/gstbin.c: (gst_bin_get_type):
8090 * gst/gstelement.c: (gst_element_get_type):
8092 * gst/gstobject.c: (gst_object_get_type):
8094 * gst/gstpad.c: (gst_pad_get_type):
8096 make _get_type functions similar, fixes data export from library
8098 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8101 correctly make conditionals
8102 * gst/elements/Makefile.am:
8103 * gst/elements/gstelements.c:
8104 fix typo causing fdsrc not to build
8106 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8108 * testsuite/Makefile.am:
8109 * testsuite/bytestream/.cvsignore:
8110 * testsuite/bytestream/Makefile.am:
8111 * testsuite/bytestream/filepadsink.c:
8112 * testsuite/bytestream/gstbstest.c:
8113 * testsuite/bytestream/test1.c:
8114 * testsuite/bytestream/testfile1:
8115 * testsuite/caps/normalisation.c:
8116 * testsuite/caps/random.c: (main):
8117 * testsuite/cleanup/.cvsignore:
8118 * testsuite/cleanup/Makefile.am:
8119 * testsuite/cleanup/cleanup1.c:
8120 * testsuite/cleanup/cleanup2.c:
8121 * testsuite/cleanup/cleanup3.c:
8122 * testsuite/cleanup/cleanup4.c:
8123 * testsuite/cleanup/cleanup5.c:
8124 * testsuite/controller/interpolator.c:
8125 * testsuite/debug/printf_extension.c: (main):
8126 * testsuite/elements/tee.c:
8127 * testsuite/negotiation/.cvsignore:
8128 * testsuite/negotiation/Makefile.am:
8129 * testsuite/negotiation/pad_link.c:
8130 * testsuite/pad/Makefile.am:
8131 * testsuite/pad/chainnopull.c:
8132 * testsuite/pad/getnopush.c:
8133 * testsuite/pad/link.c:
8134 * testsuite/refcounting/sched.c: (create_pipeline):
8135 * testsuite/registry/Makefile.am:
8136 * testsuite/registry/gst-print-formats.c:
8137 * testsuite/schedulers/.cvsignore:
8138 * testsuite/schedulers/142183-2.c:
8139 * testsuite/schedulers/142183.c:
8140 * testsuite/schedulers/143777-2.c:
8141 * testsuite/schedulers/143777.c:
8142 * testsuite/schedulers/147713.c:
8143 * testsuite/schedulers/147819.c:
8144 * testsuite/schedulers/147894-2.c:
8145 * testsuite/schedulers/147894.c:
8146 * testsuite/schedulers/Makefile.am:
8147 * testsuite/schedulers/group_link.c:
8148 * testsuite/schedulers/queue_link.c:
8149 * testsuite/schedulers/relink.c:
8150 * testsuite/schedulers/unlink.c:
8151 * testsuite/schedulers/unref.c:
8152 * testsuite/schedulers/useless_iteration.c:
8153 * testsuite/states/bin.c:
8154 clean out/remove some stuff from the testsuite directories
8156 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8159 check for some headers
8160 * gst/elements/Makefile.am:
8161 * gst/elements/gstelements.c:
8162 don't compile fdsrc without sys/socket.h
8163 * gst/indexers/Makefile.am:
8164 * gst/indexers/gstindexers.c: (plugin_init):
8165 don't compile fileindex without mmap
8167 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8174 * check/Makefile.am:
8175 * docs/gst/Makefile.am:
8176 * examples/helloworld/Makefile.am:
8178 * gst/base/Makefile.am:
8179 * gst/check/Makefile.am:
8180 * gst/elements/Makefile.am:
8181 * gst/indexers/Makefile.am:
8182 * gst/parse/Makefile.am:
8183 * libs/gst/controller/Makefile.am:
8184 * libs/gst/dataprotocol/Makefile.am:
8185 * examples/helloworld/helloworld.c: (event_loop):
8186 compile fixes, though it's not being compiled currently
8188 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8190 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8191 Add some simple tests for the new taglist date API.
8193 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8195 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8196 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8197 Beautify 'last-message' output: print 'none' for buffer timestamps
8198 and durations if none is set; improve alignment with next messages.
8200 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8202 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8203 * gst/gstpluginfeature.h:
8204 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8205 * gst/gstregistry.h:
8206 * docs/gst/gstreamer-sections.txt:
8207 Add new API to check plugin feature version requirements.
8209 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8210 Some basic tests for the above.
8212 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8214 * gst/gststructure.c: (gst_structure_to_string):
8215 guard against NULL printf - happens when for example
8216 a message structure with GstClock gets serialized
8218 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8220 * gst/base/gstcollectpads.c: (gst_collectpads_event):
8221 Fix presumable copy'n'pasto.
8223 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8225 * gst/elements/gstfakesrc.h:
8226 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8227 * gst/elements/gsttypefindelement.c:
8229 * gst/elements/gstfilesink.c: (gst_file_sink_render):
8230 I wonder if this could actually write +2GB files before
8232 2005-10-13 Andy Wingo <wingo@pobox.com>
8234 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8235 Fix Timmeke Waymans bug.
8236 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
8237 string of the proper length to gst_caps_from_string. There's a
8238 potential for, before this fix, that this could cause someone
8239 connecting over the network to cause a segfault if the payload is
8242 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8244 * docs/design/draft-push-pull.txt:
8245 * docs/design/part-overview.txt:
8246 * docs/random/TODO-pre-0.9:
8247 * docs/random/old/ChangeLog.gstreamer:
8248 * gst/base/gstpushsrc.c:
8252 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8254 * gst/glib-compat.c: (gst_flags_get_first_value):
8255 * gst/glib-compat.h:
8256 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
8257 (gst_value_compare_double), (gst_value_serialize_flags):
8258 GLib 2.6 g_flags_get_first_value has a bug that triggers an
8261 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8264 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8266 * tools/gst-launch.c: (event_loop):
8267 print out clock nicely
8269 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8271 * docs/gst/gstreamer-sections.txt:
8273 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
8274 (gst_tag_list_get_date_index):
8275 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
8276 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
8278 2005-10-13 Julien MOUTTE <julien@moutte.net>
8280 * gst/base/gstcollectpads.c: (gst_collectpads_event),
8281 (gst_collectpads_chain):
8282 * gst/base/gstcollectpads.h: Handle newsegment and store informations
8285 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8287 * docs/gst/gstreamer-sections.txt:
8290 * tools/gst-inspect.c: (main):
8291 * tools/gst-launch.c: (main):
8292 * tools/gst-run.c: (main):
8293 * tools/gst-xmlinspect.c: (main):
8294 fix GOption context leaks
8297 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8301 * win32/common/config.h:
8303 * win32/vs6/grammar.dsp:
8304 * win32/vs6/libgstelements.dsp:
8305 * win32/vs6/libgstreamer.dsp:
8308 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8311 * gst/base/gstbasesrc.c: (gst_base_src_query):
8312 fix more guint64<->gdouble conversions
8314 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8317 add win32-update target
8318 * win32/common/gstconfig.h:
8319 * win32/common/gstenumtypes.c:
8320 * win32/common/gstenumtypes.h:
8321 * win32/common/gstversion.h:
8322 add files that visual studio can't generate
8324 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8327 add a win32-update target
8330 2005-10-12 Wim Taymans <wim@fluendo.com>
8332 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8333 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
8334 * gst/gstelement.c: (gst_element_commit_state),
8335 (gst_element_set_state):
8336 Protect flags with proper lock.
8337 unref provided cached clock in dispose.
8339 2005-10-12 Stefan Kost <ensonic@users.sf.net>
8342 * gst/gstminiobject.h:
8344 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
8345 removed unused flags from miniobject
8348 2005-10-12 Wim Taymans <wim@fluendo.com>
8350 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8351 (gst_file_sink_event), (gst_file_sink_render):
8352 Flush before seeking.
8354 2005-10-12 Andy Wingo <wingo@pobox.com>
8356 * gst/gst.c (gst_init_check): Ignore unknown options, as has
8357 always been the case.
8359 2005-10-12 Stefan Kost <ensonic@users.sf.net>
8361 * check/gst/gstbin.c: (GST_START_TEST):
8362 * docs/gst/gstreamer-sections.txt:
8363 * gst/base/gstbasesink.c: (gst_base_sink_init):
8364 * gst/base/gstbasesrc.c: (gst_base_src_init),
8365 (gst_base_src_get_range), (gst_base_src_check_get_range),
8366 (gst_base_src_start), (gst_base_src_stop):
8367 * gst/base/gstbasesrc.h:
8368 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
8369 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8370 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
8374 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
8376 * gst/gstelement.c: (gst_element_is_locked_state),
8377 (gst_element_set_locked_state), (gst_element_commit_state),
8378 (gst_element_set_state):
8380 * gst/gstindex.c: (gst_index_init):
8382 * gst/gstminiobject.h:
8383 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
8384 (gst_object_set_parent):
8386 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
8387 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
8389 * gst/gstpadtemplate.h:
8390 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
8391 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8392 * gst/gstpipeline.h:
8393 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8394 (gst_file_index_commit):
8395 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
8396 * testsuite/pad/link.c: (gst_test_src_init),
8397 (gst_test_filter_init), (gst_test_sink_init):
8398 * testsuite/states/locked.c: (main):
8399 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
8400 moved bitshift from macro to enum definition
8402 2005-10-12 Wim Taymans <wim@fluendo.com>
8404 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
8405 * gst/elements/gstfilesink.c: (gst_file_sink_event),
8406 (gst_file_sink_render):
8407 Some more debugging info.
8409 2005-10-12 Wim Taymans <wim@fluendo.com>
8411 * docs/design/part-states.txt:
8412 * tools/gst-launch.c: (main):
8414 Revert non-intentional change.
8416 2005-10-12 Wim Taymans <wim@fluendo.com>
8418 * check/gst/gstbin.c: (GST_START_TEST):
8419 * check/gst/gstelement.c: (GST_START_TEST):
8420 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
8421 * check/gst/gstghostpad.c: (GST_START_TEST):
8422 * check/gst/gstpipeline.c: (GST_START_TEST):
8423 * check/pipelines/simple_launch_lines.c: (run_pipeline):
8424 * check/states/sinks.c: (GST_START_TEST):
8425 * gst/elements/gsttypefindelement.c: (stop_typefinding):
8426 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8427 (gst_bin_remove_func), (gst_bin_get_state_func),
8428 (gst_bin_recalc_state), (gst_bin_change_state_func),
8430 * gst/gstelement.c: (gst_element_get_state_func),
8431 (gst_element_get_state), (gst_element_abort_state),
8432 (gst_element_commit_state), (gst_element_set_state),
8433 (gst_element_change_state), (gst_element_change_state_func):
8435 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
8436 (gst_pipeline_provide_clock_func):
8437 * gst/gstutils.c: (gst_element_link_pads_filtered):
8438 * tools/gst-launch.c: (main):
8439 * tools/gst-typefind.c: (main):
8440 Use GstClockTime in _get_state() instead of GTimeVal.
8441 Remove old code in gstutils.c
8443 2005-10-12 Andy Wingo <wingo@pobox.com>
8445 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
8448 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
8449 there is no task. Shouldn't affect any code, as nothing in our
8450 plugins checks this return value.
8451 (gst_pad_stop_task): Also take the stream lock if the pad has no
8454 2005-10-12 Wim Taymans <wim@fluendo.com>
8456 * gst/gstpad.c: (pre_activate), (post_activate),
8457 (gst_pad_activate_pull), (gst_pad_activate_push):
8458 Cleanup activation code. Reset old state if
8461 2005-10-12 Wim Taymans <wim@fluendo.com>
8463 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8464 (gst_base_sink_change_state):
8465 No need to prerol after receiving EOS.
8467 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8468 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
8469 * gst/elements/gstidentity.c: (gst_identity_event):
8470 Print events more verbosely.
8472 2005-10-12 Wim Taymans <wim@fluendo.com>
8474 * check/Makefile.am:
8475 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8476 * check/states/sinks2.c:
8477 Moved sinks2 testcode in sinks check.
8479 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8480 (gst_bin_remove_func), (gst_bin_recalc_state),
8481 (gst_bin_change_state_func), (bin_bus_handler):
8482 Fix potential race condition when _get_state() iterated over an
8483 ASYNC element right before it posted a state completion.
8486 Do proper cast here.
8488 * gst/gstevent.c: (gst_event_new_newsegment),
8489 (gst_event_parse_newsegment):
8490 A playback rate of 0.0 is not allowed.
8492 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8494 * win32/common/config.h:
8495 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
8496 (_trewinddir), (_ttelldir), (_tseekdir):
8497 * win32/common/dirent.h:
8498 * win32/common/gtchar.h:
8499 * win32/common/libgstbase.def:
8500 * win32/common/libgstreamer.def:
8501 * win32/vs6/grammar.dsp:
8502 * win32/vs6/gst_inspect.dsp:
8503 * win32/vs6/gst_launch.dsp:
8504 * win32/vs6/gstreamer.dsw:
8505 * win32/vs6/libgstbase.dsp:
8506 * win32/vs6/libgstelements.dsp:
8507 * win32/vs6/libgstreamer.dsp:
8508 Visual Studio 6 project files, and a new common directory.
8511 2005-10-11 Wim Taymans <wim@fluendo.com>
8513 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8514 (gst_base_sink_do_sync), (gst_base_sink_query),
8515 (gst_base_sink_change_state):
8516 * gst/base/gstbasesink.h:
8517 Correctly parse newsegment info.
8519 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8521 * gst/gst.c: (init_post):
8522 split plugin paths correctly
8524 2005-10-11 Wim Taymans <wim@fluendo.com>
8526 * check/gst/gstevent.c: (GST_START_TEST):
8527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8528 (gst_base_sink_change_state):
8529 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
8530 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8531 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8532 * gst/gstevent.c: (gst_event_new_newsegment),
8533 (gst_event_parse_newsegment):
8535 Added extra flag to newsegment for future API freeze.
8536 Updated check and base elements.
8538 2005-10-11 Julien MOUTTE <julien@moutte.net>
8540 * gst/base/gstcollectpads.c: (gst_collectpads_init),
8541 (gst_collectpads_add_pad), (gst_collectpads_pop),
8542 (gst_collectpads_event), (gst_collectpads_chain):
8543 * gst/base/gstcollectpads.h: Handle EOS correctly.
8545 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8547 * tools/gst-launch.c: (main):
8548 more null protecting
8550 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8552 * gst/gst-i18n-lib.h:
8553 check for ENABLE_NLS, not GETTEXT_PACKAGE
8554 * gst/gstregistry.c: (gst_registry_add_plugin),
8555 (gst_registry_scan_path_level),
8556 (_gst_registry_remove_cache_plugins):
8557 protect possibly NULL strings
8558 * gst/parse/types.h:
8559 config.h already included before
8560 * tools/gst-inspect.c: (main):
8561 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
8562 check for ENABLE_NLS, not GETTEXT_PACKAGE
8563 * tools/gst-launch.c: (main):
8564 check for ENABLE_NLS, not GETTEXT_PACKAGE
8566 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8569 if we don't have glib, fail before testing 2.8
8570 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
8571 fix a leak, should fix plugins-base testsuite
8573 2005-10-11 Andy Wingo <wingo@pobox.com>
8575 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
8576 take the mode we're going to as an arg. Go head and set the mode
8577 and flushing flags now, so that if the activate function starts a
8578 thread all the flags will be in the right state.
8579 (post_activate): Renamed also. Just handle making sure streaming
8580 finishes for the deactivation case, and setting the deactivated
8582 (gst_pad_set_active): Complain loudly if deactivation fails.
8583 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
8584 (gst_pad_activate_push): Adapt to pre/post_activate changes,
8585 remove the terrible hack.
8587 2005-10-11 Wim Taymans <wim@fluendo.com>
8589 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8590 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
8591 (gst_bin_recalc_state), (gst_bin_change_state_func),
8592 (gst_bin_dispose), (bin_bus_handler):
8594 Prepare to make current EOS message queue more generic.
8597 * gst/gstevent.c: (gst_event_new_newsegment),
8598 (gst_event_parse_newsegment):
8600 Rename base to stream_time.
8605 2005-10-11 Wim Taymans <wim@fluendo.com>
8607 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8608 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
8609 (gst_bin_change_state_func), (bin_bus_handler):
8611 Work on proper clock selection.
8613 2005-10-11 Edward Hervey <edward@fluendo.com>
8615 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
8616 * libs/gst/controller/gstcontroller.h:
8617 Added GList* version of _remove_properties() in order to be able to wrap
8620 2005-10-11 Wim Taymans <wim@fluendo.com>
8622 * docs/design/part-states.txt:
8625 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
8626 (gst_bin_change_state_func), (bin_bus_handler):
8627 Doc updates. Don't distribute the same clock over and over again.
8633 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
8634 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
8635 (gst_pad_send_event):
8637 Make probe emission threadsafe again.
8638 Register quarks and move _get_name() from utils.
8641 * gst/gstpipeline.c: (gst_pipeline_class_init),
8642 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8643 Only redistribute the clock of it changed.
8645 * gst/gstsystemclock.h:
8650 Moved the _flow_get_name() to GstPad.
8652 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8654 * check/gst-libs/gdp.c: (GST_START_TEST):
8655 * check/gst/gstcaps.c: (GST_START_TEST):
8656 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
8657 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
8658 (gst_dp_packet_from_caps):
8659 fix more valgrind warnings before turning up the heat
8661 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8663 * gst/parse/grammar.y:
8664 some cleanup before the hacking
8666 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8668 * gst/base/gstbasesrc.c: (gst_base_src_query):
8670 * gst/gstutils.c: (gst_guint64_to_gdouble),
8671 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
8673 externalize, basesrc uses it
8674 obviously the implementation needs testing
8676 2005-10-10 Wim Taymans <wim@fluendo.com>
8678 * tests/sched/Makefile.am:
8679 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
8680 (make_pipeline3), (make_pipeline4), (print_elem), (main):
8682 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8684 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
8685 apparently converting from guint64 to double is not implemented
8688 2005-10-10 Wim Taymans <wim@fluendo.com>
8690 * check/Makefile.am:
8691 * check/generic/states.c: (GST_START_TEST):
8692 * check/gst/gstbin.c: (GST_START_TEST):
8693 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8694 * check/states/sinks.c: (GST_START_TEST):
8695 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
8697 Check fixes, use API as stated in design docs, remove hacks.
8699 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8700 (gst_base_sink_change_state):
8701 Catch stopping our task while we're shutting down.
8703 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8704 (gst_bin_remove_func), (gst_bin_get_state_func),
8705 (gst_bin_recalc_state), (gst_bin_change_state_func),
8708 * gst/gstelement.c: (gst_element_init),
8709 (gst_element_get_state_func), (gst_element_abort_state),
8710 (gst_element_commit_state), (gst_element_lost_state),
8711 (gst_element_set_state), (gst_element_change_state),
8712 (gst_element_change_state_func):
8714 New state change algorithm (see #318116)
8716 * gst/gstpipeline.c: (gst_pipeline_class_init),
8717 (gst_pipeline_init), (gst_pipeline_set_property),
8718 (gst_pipeline_get_property), (do_pipeline_seek),
8719 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8720 * gst/gstpipeline.h:
8721 Remove crude state change hacks.
8726 * tools/gst-launch.c: (main):
8727 Fixes for state change. Needs some more work to fully use the
8730 2005-10-10 Andy Wingo <wingo@pobox.com>
8732 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
8734 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
8735 this flag, but it's not even in GLib 2.6. Odd. Hack around the
8738 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8740 * gst/gstiterator.c: (gst_iterator_new):
8741 Fix my previous commit: GTypes passed to gst_iterator_new()
8742 can be fundamental types.
8744 2005-10-10 Wim Taymans <wim@fluendo.com>
8746 * gst/gstelement.c: (gst_element_iterate_pad_list),
8747 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
8748 (gst_element_iterate_sink_pads):
8749 Use src/sink pads lists for the respective iterators instead
8752 2005-10-10 Andy Wingo <wingo@pobox.com>
8754 Merged in popt removal + GOption addition patch from Ronald, bug
8757 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
8758 GstElement macros around, remove popt-related symbols, add goption
8761 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
8763 * docs/gst/Makefile.am:
8764 * docs/libs/Makefile.am: No POPT_CFLAGS.
8766 * examples/manual/Makefile.am:
8767 * docs/manual/basics-init.xml: Doc updates with an example.
8769 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8770 (gst_init), (parse_one_option), (parse_goption_arg):
8771 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
8772 bit of hand merging and debugging to get the GOption stuff working
8775 * tests/Makefile.am:
8776 * tools/Makefile.am:
8777 * tools/gst-inspect.c: (main):
8778 * tools/gst-launch.c: (main):
8779 * tools/gst-run.c: (main):
8780 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
8782 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8784 * gst/gstiterator.c: (gst_iterator_new):
8785 Add assertions to make sure passed GType is likely to really
8786 be a GType (as the compiler won't catch it if the size and
8787 GType arguments get mixed up, see #318447).
8789 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
8791 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8793 * gst/gstbin.c: (gst_bin_iterate_sorted):
8794 Pass GType and size arguments to gst_iterator_new() in the right
8795 order (maybe we should make _new() take the GType as first argument
8796 just like _new_list()?) (#318447).
8799 2005-10-10 Wim Taymans <wim@fluendo.com>
8801 * gst/gstelement.c: (gst_element_finalize):
8802 And free the GStaticRecMutex too
8804 2005-10-10 Andy Wingo <wingo@pobox.com>
8806 * gst/gstelement.c (gst_element_init, gst_element_finalize):
8807 Allocate and free the mutex properly.
8809 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
8811 (GstElement): The state_lock is now recursive. Rebuild your
8812 plugins, suckers. Old macros adapted.
8814 * docs/gst/gstreamer-sections.txt: Doc updates.
8817 * gst/gstutils.c (g_static_rec_cond_timed_wait)
8818 (g_static_rec_cond_wait): Ported from state changes patch, while
8819 we wait on bug #317802 to be solved in a well-distributed GLib.
8821 * gst/gstelement.c (gst_element_change_state_func): Renamed from
8822 gst_element_change_state, variable name changes.
8823 (gst_element_change_state): Split out of gst_element_set_state in
8824 preparation for the state change merge. Doesn't pay attention to
8825 the 'transition' argument.
8826 (gst_element_set_state): Updates, hopefully purely cosmetic.
8827 (gst_element_sync_state_with_parent): MT-safety. Ported from the
8829 (gst_element_get_state_func): Renamed from get_state, cosmetic
8832 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8834 * gst/elements/gstelements.c:
8835 * win32/GStreamer.vcproj:
8837 * win32/dirent.c: (_tseekdir):
8838 * win32/gst-inspect.vcproj:
8839 * win32/gst-launch.vcproj:
8840 * win32/gstconfig.h:
8841 * win32/gstelements.vcproj:
8842 * win32/gstenumtypes.c: (gst_object_flags_get_type):
8843 * win32/gstreamer.def:
8845 updates for the win32 build (patch from Sebastien Moutte)
8847 2005-10-10 Andy Wingo <wingo@pobox.com>
8849 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
8850 gst_bin_get_state, cleaned up (but no logic changes).
8851 (bin_element_is_sink): Comment updates.
8852 (sink_iterator_filter): Remove needless cast.
8853 (gst_bin_iterate_sinks): Doc update.
8854 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
8855 cleaned up (but no logic changes).
8857 * check/states/sinks.c (test_src_sink): Cleanups from the state
8859 (test_livesrc_sink): Sync on the state.
8861 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
8862 the state change patch.
8864 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
8867 * check/gst/gstbin.c: Merge in some style fixes and additional
8868 checks from Wim's state change patch.
8870 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8872 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8873 (gst_type_find_helper):
8874 Check whether we have the requested data already in our list of
8875 cached buffers before pulling a new buffer; also make the buffer
8876 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
8878 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8883 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8884 don't use long long, it's not portable. Replacing with
8885 gint64 seems to work; let's hope no skeletons fall out of the closet.
8887 2005-10-10 Andy Wingo <wingo@pobox.com>
8889 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
8891 2005-10-09 Stefan Kost <ensonic@users.sf.net>
8893 * docs/gst/gstreamer-sections.txt:
8898 * gst/gstmessage.c: (gst_message_parse_state_changed):
8901 more docs, fix compilation
8903 2005-10-09 Philippe Khalaf <burger@speedy.org>
8905 Fixed a few forgotten variables on previous commit
8907 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
8909 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8910 Fix evil typefind crasher: getrange() might return a short
8911 buffer at the end of a file, but gst_type_find_peek() must
8912 either return the full data as requested or NULL, but
8913 never a short buffer.
8915 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
8917 * gst/gstmessage.c: (gst_message_new_state_changed),
8918 (gst_message_parse_state_changed):
8920 don't use "new", it's a C++ keyword
8922 2005-10-08 Wim Taymans <wim@fluendo.com>
8924 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
8925 * gst/gstelement.c: (gst_element_post_message):
8926 * gst/gstpipeline.c: (gst_pipeline_change_state):
8927 Small docs and debug updates.
8929 2005-10-08 Stefan Kost <ensonic@users.sf.net>
8931 * docs/gst/gstreamer-sections.txt:
8932 * gst/gstelementfactory.c:
8937 2005-10-08 Wim Taymans <wim@fluendo.com>
8939 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
8940 (gst_bin_dispose), (bin_bus_handler):
8941 Fix typos, add comments.
8942 Clear EOS list when going to PAUSED from any direction and do it
8943 in a threadsafe way.
8944 Get base time in a threadsafe way too.
8945 Fix confusing debug in the change_state function.
8946 Various other small cleanups.
8948 * gst/gstelement.c: (gst_element_post_message):
8949 Fix very verbose bus posting code.
8951 * gst/gstpipeline.c: (gst_pipeline_class_init),
8952 (gst_pipeline_set_property), (gst_pipeline_get_property),
8953 (gst_pipeline_change_state):
8954 Small ARG_ -> PROP_ cleanup
8956 2005-10-08 Wim Taymans <wim@fluendo.com>
8958 * gst/gstbin.c: (is_eos), (bin_bus_handler):
8959 Do a less CPU demanding EOS check because we can.
8961 2005-10-08 Wim Taymans <wim@fluendo.com>
8963 * libs/gst/dataprotocol/dataprotocol.c:
8964 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8965 (gst_dp_packet_from_event):
8966 * libs/gst/dataprotocol/dataprotocol.h:
8967 * libs/gst/dataprotocol/dp-private.h:
8968 It's about time we bump the version number.
8969 Since event types don't fit in the guint8 anymore describing
8970 the payload type, make payload type 16 bits wide.
8972 2005-10-08 Wim Taymans <wim@fluendo.com>
8974 * docs/design/part-TODO.txt:
8975 * docs/design/part-clocks.txt:
8976 * docs/design/part-events.txt:
8977 * docs/design/part-gstbin.txt:
8978 * docs/design/part-gstelement.txt:
8979 * docs/design/part-gstpipeline.txt:
8980 * docs/design/part-live-source.txt:
8981 * docs/design/part-messages.txt:
8982 * docs/design/part-overview.txt:
8983 * docs/design/part-states.txt:
8986 2005-10-08 Wim Taymans <wim@fluendo.com>
8990 Fix event quark registration.
8991 Add some space between events so we can insert them in the
8994 2005-10-08 Wim Taymans <wim@fluendo.com>
8996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8997 (gst_base_sink_handle_buffer):
9004 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9005 (gst_queue_set_property), (gst_queue_get_property):
9007 Remove old unused properties.
9009 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9010 * docs/gst/gstreamer-sections.txt:
9013 * gst/gstminiobject.c:
9014 * gst/gstminiobject.h:
9018 lots of new docs and doc fixes
9020 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9022 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9024 * gst/gstregistry.c: (gst_registry_lookup_locked),
9025 (gst_registry_scan_path_level):
9026 * gst/gstregistryxml.c: (load_plugin):
9027 Only ever load one plugin for a given plugin basename.
9028 This ensures correct overriding of GST_PLUGIN_PATH over
9029 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9030 system installed plugins.
9032 2005-10-08 Wim Taymans <wim@fluendo.com>
9034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9035 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9036 Prepare for doing QOS.
9038 2005-10-08 Wim Taymans <wim@fluendo.com>
9040 * check/gst/gstbin.c: (GST_START_TEST):
9041 * check/pipelines/cleanup.c: (GST_START_TEST):
9042 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9043 Allow new clock message too.
9045 2005-10-08 Wim Taymans <wim@fluendo.com>
9047 * gst/gstmessage.c: (gst_message_new_error),
9048 (gst_message_new_warning), (gst_message_new_tag),
9049 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9050 (gst_message_new_clock_lost), (gst_message_new_new_clock),
9051 (gst_message_new_segment_start), (gst_message_new_segment_done),
9052 (gst_message_parse_state_changed),
9053 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9054 (gst_message_parse_new_clock):
9056 Also carry the clock in question.
9058 2005-10-08 Wim Taymans <wim@fluendo.com>
9060 * gst/gstmessage.c: (gst_message_new_custom),
9061 (gst_message_new_eos), (gst_message_new_error),
9062 (gst_message_new_warning), (gst_message_new_tag),
9063 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9064 (gst_message_new_new_clock), (gst_message_new_segment_start),
9065 (gst_message_new_segment_done), (gst_message_parse_state_changed),
9066 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9069 Added clock related messages.
9071 * gst/gstpipeline.c: (gst_pipeline_change_state):
9072 Post message when the clock changed.
9074 * tools/gst-launch.c: (event_loop):
9077 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
9079 * tools/gst-inspect.c: (print_element_properties_info):
9080 Can't pass NULL strings to g_print() on windows.
9082 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9085 * docs/gst/Makefile.am:
9086 * docs/gst/gstreamer-docs.sgml:
9087 * docs/gst/running.xml:
9088 * docs/version.entities.in:
9089 add a chapter on running GStreamer.
9090 document GST_DEBUG and GST_PLUGIN* env vars
9092 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9097 remove PLUGINS_BUILDDIR stuff
9098 * gst/gst.c: (init_post):
9099 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9101 remove, it was condescending and not needed
9103 2005-10-08 Wim Taymans <wim@fluendo.com>
9105 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9106 (gst_base_sink_handle_object), (gst_base_sink_event),
9107 (gst_base_sink_wait), (gst_base_sink_handle_event),
9108 (gst_base_sink_change_state):
9109 * gst/base/gstbasesink.h:
9110 Repost EOS message while going to PLAYING if still EOS.
9111 Make sure that when receiving a FLUSH_START we don't attempt
9112 to sync on the clock anymore.
9114 2005-10-08 Wim Taymans <wim@fluendo.com>
9116 * tools/gst-launch.c: (event_loop):
9117 Better message printout.
9119 2005-10-08 Wim Taymans <wim@fluendo.com>
9121 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9122 (gst_bin_child_proxy_get_children_count):
9123 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9124 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9125 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9126 (gst_child_proxy_set_valist):
9127 * gst/parse/grammar.y:
9128 Make ChildProxy threadsafe and fix mem leaks.
9130 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9132 * gst/gst.c: (init_post):
9133 debug the GST_PLUGIN_ env vars
9135 2005-10-08 Wim Taymans <wim@fluendo.com>
9137 * check/gst/gstbin.c: (GST_START_TEST):
9138 * check/gst/gstmessage.c: (GST_START_TEST):
9139 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9140 * gst/gstelement.c: (gst_element_commit_state),
9141 (gst_element_lost_state):
9142 * gst/gstmessage.c: (gst_message_new_state_changed),
9143 (gst_message_parse_state_changed):
9145 * tools/gst-launch.c: (event_loop):
9146 Added extra field to STATE_CHANGE message with the pending
9147 state, which will be different from the new state soon.
9149 2005-10-08 Wim Taymans <wim@fluendo.com>
9151 * gst/gstbus.c: (gst_bus_pop):
9153 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9154 Small cleanups and doc updates.
9156 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9158 * gst/gst.c: (init_pre):
9159 * gst/gstbin.c: (gst_bin_add_func):
9160 log distributing clocks and base time
9161 * gst/gstregistry.c: (gst_registry_add_plugin),
9162 (gst_registry_scan_path_level), (gst_registry_scan_path):
9163 clean up the debugging output a little
9164 * gst/gstutils.c: (gst_element_state_get_name):
9165 warn about a memleak (I've actually seen this be used, though
9166 it was probably a bug)
9168 2005-10-07 Wim Taymans <wim@fluendo.com>
9170 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9171 (gst_base_src_init), (gst_base_src_default_newsegment),
9172 (gst_base_src_newsegment), (gst_base_src_do_seek),
9173 (gst_base_src_loop), (gst_base_src_start):
9174 * gst/base/gstbasesrc.h:
9175 Make the newsegment event customizable by subclasses.
9177 2005-10-07 Wim Taymans <wim@fluendo.com>
9179 * gst/gstevent.c: (gst_event_new_buffersize),
9180 (gst_event_parse_buffersize):
9182 New event for future idea.
9184 2005-10-07 Andy Wingo <wingo@pobox.com>
9186 * gst/gstelement.c (gst_element_post_message): Doc update.
9188 * docs/gst/gstreamer-sections.txt: Update.
9190 * gst/gstmessage.c (gst_message_new_application): Made into a
9191 function like honest API calls.
9192 (gst_message_new_element): New message type.
9194 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9196 * check/elements/fakesrc.c (test_no_preroll): New check, checks
9197 that setting a live fakesrc to PAUSED returns NO_PREROLL both
9200 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9201 NO_PREROLL from gst_element_change_state to fall through.
9203 2005-10-07 Wim Taymans <wim@fluendo.com>
9205 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9206 (gst_ghost_pad_do_activate_push):
9207 Activating a ghostpad with no internal pad in push mode
9210 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
9213 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9214 Fixes compilation on Windows.
9216 2005-10-07 Michael Smith <msmith@fluendo.com>
9218 * tools/gst-inspect.c:
9219 Print out feature and plugin count at the end when printing out
9222 2005-10-04 Michael Smith <msmith@fluendo.com>
9224 * gst/gsterror.c: (_gst_stream_errors_init):
9225 Add another error string used in a few existing plugins.
9228 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9229 * tools/gst-inspect.c: (print_element_info):
9230 When a feature disappears from a plugin (and the feature exists in
9231 the cached registry file), things went horribly wrong. This isn't a
9232 complete fix, we should actually be removing the 'missing' features
9233 from the features list when we load the actual plugin. That's not
9236 2005-10-04 Johan Dahlin <johan@gnome.org>
9238 * check/gst/gstiterator.c: (GST_START_TEST):
9239 * gst/gstbin.c: (gst_bin_iterate_elements),
9240 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
9241 * gst/gstelement.c: (gst_element_iterate_pads):
9242 * gst/gstformat.c: (gst_format_iterate_definitions):
9243 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9244 (gst_iterator_new_list), (gst_iterator_filter):
9245 * gst/gstiterator.h:
9246 * gst/gstquery.c: (gst_query_type_iterate_definitions):
9247 Add a GType to GstIterator, update callsites and tests.
9249 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9251 * gst/gstpad.c: (gst_pad_event_default_dispatch):
9252 give events a chance to be handled by event probes when the pad
9255 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9257 * gst/gstevent.c: (gst_event_type_get_name),
9258 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
9260 add string representations for event types
9262 2005-10-06 Wim Taymans <wim@fluendo.com>
9264 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
9265 Don't use NULL pointers.
9267 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9269 * gst/gst_private.h:
9273 * gst/gstpluginfeature.c:
9274 widen the debug category in output to fit the biggest one we have
9275 add a bus category and use it
9276 play with the colors
9277 fix up some categories
9279 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9281 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
9282 add push activation of sink ghost pads.
9283 Andye, please verify
9285 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9287 * gst/gstutils.c: (gst_element_link_pads):
9288 fix a bug in the case where neither element has a pad
9289 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9290 add a test for that case
9292 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9294 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
9295 emit have-data before checking for peers. This allows
9296 for probe handlers to connect elements. This helps autopluggers.
9297 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
9299 add six checks, linked/unlinked with no/true/false probe
9301 2005-10-04 Wim Taymans <wim@fluendo.com>
9303 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
9304 (gst_fake_sink_event), (gst_fake_sink_preroll),
9305 (gst_fake_sink_render), (gst_fake_sink_change_state):
9306 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
9307 (gst_fake_src_get_property), (gst_fake_src_create),
9308 (gst_fake_src_stop):
9309 * gst/elements/gstidentity.c: (gst_identity_stop):
9310 Protect last_message with lock.
9312 2005-10-04 Edward Hervey <edward@fluendo.com>
9315 Added precision in the comments for GST_FORMAT_DEFAULT
9317 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
9319 * tools/gst-launch.c: (main):
9320 Don't try to run erroneous pipelines.
9322 2005-10-04 Julien MOUTTE <julien@moutte.net>
9324 * gst/gstbus.c: We don't need this header.
9326 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
9331 === release 0.9.3 ===
9333 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
9337 Releasing 0.9.3, "Unregistered"
9339 2005-10-03 Andy Wingo <wingo@pobox.com>
9341 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
9342 whereby calling a pad's activatepush() function can start a thread
9343 that starts to push or pull before the pad gets the FLUSHING flag
9344 unset. Hack around it by holding the stream lock until the flag is
9345 set. Need to replace this with a proper solution. Together with
9346 the ghost pad fixes, this fixes mp3 playing/tagreading.
9348 * docs/design/part-gstghostpad.txt: Add a note about activation of
9349 proxy pads outside of ghost pads.
9351 * gst/gstghostpad.c: Implement the ghost pad activation design.
9353 2005-10-02 Andy Wingo <wingo@pobox.com>
9355 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
9356 It is volatile, after all.
9358 * docs/design/part-gstghostpad.txt: Flesh out activation with
9361 * gst/base/gstbasesrc.c (gst_base_src_init): Use
9364 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
9367 Fix (unused) AM_CONDITIONAL tests.
9369 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
9371 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9373 * gst/gstutils.c: (gst_pad_query_convert):
9374 Add assertion that makes sure src_val is >=0, just like
9375 gst_query_new_convert() has. (#315895)
9377 2005-09-30 Edward Hervey <edward@fluendo.com>
9379 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
9380 Let's not iterate pads we're not interested in, it avoids getting
9381 sky-high refcounts on sinkpad.
9383 2005-09-30 Wim Taymans <wim@fluendo.com>
9385 * gst/gstelement.c: (gst_element_set_state),
9386 (gst_element_change_state):
9387 Small tweak, element in ASYNC remains ASYNC.
9389 2005-09-30 Wim Taymans <wim@fluendo.com>
9391 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9392 Only error is an error.
9394 * gst/gstbin.c: (gst_bin_change_state):
9397 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
9398 Also call pad_block in pad alloc.
9400 * gst/gstutils.c: (gst_flow_get_name):
9403 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9405 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9406 (gst_base_src_get_range):
9407 Fix documentation typos. Add some more debug info.
9409 2005-09-29 David Schleef <ds@schleef.org>
9411 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
9412 more end-user friendly.
9413 * tools/gst-inspect.c: (main): Check if command-line argument is
9414 a file and attempt to load that file as a plugin.
9416 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9418 * check/gst/gstbin.c:
9419 * check/states/sinks.c:
9420 fix tests for the new warning
9421 * check/gst/gstpipeline.c:
9422 add a test for pipeline and bus interaction
9424 elements should be NULL if they get disposed; add a warning if not
9426 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9429 for 2.6 refcounting, make debug log more correct by printing
9430 the actual refcounts at the time of swap (Wim)
9432 2005-09-29 Andy Wingo <wingo@pobox.com>
9434 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
9435 removes signal watches previously added via
9436 gst_bus_add_signal_watch.
9437 (gst_bus_add_signal_watch): Don't return the source id, just store
9438 it on the bus if there wasn't an id already.
9440 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
9441 add_signal_watch and remove_signal_watch.
9443 2005-09-29 Edward Hervey <edward@fluendo.com>
9445 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9446 Better if we actually iterate the list :)
9448 2005-09-29 Wim Taymans <wim@fluendo.com>
9450 * check/gst/gstbin.c: (GST_START_TEST):
9451 Change for new bus API.
9453 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9454 (send_messages), (GST_START_TEST), (gstbus_suite):
9455 Change for new bus signal API.
9457 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
9458 (gst_bus_source_prepare), (gst_bus_source_check),
9459 (gst_bus_create_watch), (gst_bus_add_watch_full),
9460 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
9461 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
9463 Remove support for multiple GSources operating on different
9464 message types as it is too complex and unneeded when using
9466 Added support for receiving signals from the bus.
9468 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9470 * docs/libs/tmpl/gstdataprotocol.sgml:
9471 * docs/manual/advanced-dataaccess.xml:
9472 * gst/elements/gstcapsfilter.c:
9474 rename filter-caps to caps property
9476 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9478 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9479 More robust fraction string parsing.
9481 * docs/pwg/appendix-porting.xml:
9482 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
9484 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9486 * gst/gstcaps.c: (gst_caps_do_simplify):
9487 Thou shalt not free a structure and then continue using it
9488 in the next loop iteration.
9490 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
9492 Add test case for caps simplification.
9494 2005-09-29 Wim Taymans <wim@fluendo.com>
9496 * check/gst/gstbin.c: (GST_START_TEST):
9499 2005-09-29 Wim Taymans <wim@fluendo.com>
9501 * check/gst/gstbin.c: (GST_START_TEST):
9504 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9505 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9506 (find_element), (gst_bin_sort_iterator_next),
9507 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9508 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9509 (gst_bin_change_state), (gst_bin_dispose):
9510 A bin does not have a bus, it gets the bus from the parent.
9512 * gst/gstelement.c: (gst_element_requires_clock),
9513 (gst_element_provides_clock), (gst_element_is_indexable),
9514 (gst_element_is_locked_state), (gst_element_change_state),
9515 (gst_element_set_bus_func):
9518 * gst/gstpipeline.c: (gst_pipeline_class_init),
9519 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
9520 The pipeline provides a bus.
9522 2005-09-28 Johan Dahlin <johan@gnome.org>
9524 * gst/gstmessage.c (gst_message_parse_state_changed): Use
9525 gst_structure_get_enum instead of gst_structure_get_int
9527 * gst/gststructure.c (gst_structure_get_enum): Impl.
9529 * gst/gststructure.h (gst_structure_get_enum): Add
9531 * docs/gst/gstreamer-sections.txt: Ditto
9533 * gst/gstmessage.c (gst_message_new_state_changed): Use
9534 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
9535 which does introspection.
9536 Reviewed by Christian Schaller
9538 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9540 * gst/gstinfo.c: (gst_debug_log_default):
9541 don't do dummy g_strdup()s
9542 * libs/gst/controller/gstcontroller.c:
9543 (on_object_controlled_property_changed),
9544 (gst_controlled_property_new), (gst_controller_new_valist),
9545 (gst_controller_new_list),
9546 (gst_controller_remove_properties_valist), (gst_controller_set),
9547 (gst_controller_get), (gst_controller_sync_values),
9548 (gst_controller_get_value_array), (_gst_controller_class_init),
9549 (gst_controller_get_type):
9550 * libs/gst/controller/gstcontroller.h:
9551 * libs/gst/controller/gstinterpolation.c:
9552 (gst_controlled_property_find_timed_value_node):
9553 convert // to /**/ comments
9555 2005-09-28 Wim Taymans <wim@fluendo.com>
9557 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
9558 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
9559 (gst_bus_sync_signal_handler):
9561 Added async-message and sync-message signals to the bus.
9562 Added helper BusFunc to emit signals for all posted messages.
9564 * gst/gstmessage.c: (gst_message_type_get_name),
9565 (gst_message_type_to_quark), (gst_message_get_type):
9567 Register quarks for message names.
9569 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9571 * docs/libs/gstreamer-libs-sections.txt:
9572 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9573 (gst_controller_new_list):
9574 * libs/gst/controller/gstcontroller.h:
9575 added another constructor for language bindings
9577 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
9579 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9583 * gst/gstinfo.c: (_gst_debug_init):
9584 slightly more readable color for refcount debugging
9586 2005-09-28 Wim Taymans <wim@fluendo.com>
9588 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9589 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9590 (find_element), (gst_bin_sort_iterator_next),
9591 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9592 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9593 (gst_bin_change_state), (gst_bin_dispose):
9594 Small doc fixes. get_clock -> provide_clock.
9596 * gst/gstelement.c: (gst_element_class_init),
9597 (gst_element_provides_clock), (gst_element_provide_clock),
9598 (gst_element_get_clock), (gst_element_commit_state),
9599 (gst_element_lost_state):
9601 Make get/set_clock() symetric. Add provide_clock vmethod since
9602 that is actually what this function does.
9604 * gst/gstpipeline.c: (gst_pipeline_class_init),
9605 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
9606 (gst_pipeline_get_clock):
9607 get_clock -> provide_clock.
9609 2005-09-28 Andy Wingo <wingo@pobox.com>
9611 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
9612 lieu of real docs...
9614 * gst/elements/gstfdsrc.c: Cleaned up a bit.
9616 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
9618 * gst/elements/gstcapsfilter.c:
9619 * gst/elements/gstfakesink.c:
9620 * gst/elements/gstfakesrc.c:
9621 * gst/elements/gstfdsink.c:
9622 * gst/elements/gstfdsrc.c:
9623 * gst/elements/gstfilesink.c:
9624 * gst/elements/gstfilesrc.c:
9625 * gst/elements/gstidentity.c:
9626 * gst/elements/gsttee.c:
9627 * gst/elements/gsttypefindelement.c:
9628 Make element details static.
9630 2005-09-28 Wim Taymans <wim@fluendo.com>
9632 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9633 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9634 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9635 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9636 (gst_bin_change_state), (gst_bin_dispose):
9637 Some documentation updates.
9638 Clean up dispose handlers.
9640 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
9641 * gst/gstpad.c: (gst_pad_dispose):
9642 Clean up dispose handler.
9644 * gst/gstpipeline.c: (gst_pipeline_change_state):
9645 Removed spurious UNLOCK.
9647 2005-09-27 Stefan Kost <ensonic@users.sf.net>
9649 * docs/gst/gstreamer-sections.txt:
9650 * gst/base/gstbasesrc.h:
9655 * gst/gstpipeline.c:
9656 * gst/gstpipeline.h:
9659 added two new functions to the docs
9660 documents all undocumented GstXXXFlags
9661 completed some incomplete docs
9663 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
9665 * gst/gstbin.c: (gst_bin_dispose):
9666 * gst/gstelement.c: (gst_element_dispose):
9667 remove now useless and leaky resurrection code in dispose
9668 * gst/base/gstbasesrc.c: (gst_base_src_init):
9669 * gst/gstelementfactory.c: (gst_element_factory_create):
9670 * gst/gstobject.c: (gst_object_set_parent):
9673 2005-09-27 Wim Taymans <wim@fluendo.com>
9675 * docs/design/part-TODO.txt:
9678 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9679 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9680 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9681 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9682 (gst_bin_change_state):
9684 Remove element variable, we keep element info in the iterator now.
9686 2005-09-27 Andy Wingo <wingo@pobox.com>
9688 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
9691 2005-09-27 Wim Taymans <wim@fluendo.com>
9693 * check/gst/gstbin.c: (GST_START_TEST):
9694 Enable check that works now.
9696 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9697 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9698 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9699 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9700 (gst_bin_change_state):
9702 Redid the state change algorithm using a topological sort algo.
9703 Handles all cases correctly.
9704 Exposed iterator for state change order.
9707 Temp storage for state changes. Need to get rid of this soon.
9709 2005-09-27 Wim Taymans <wim@fluendo.com>
9711 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
9712 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
9713 (link_fold_func), (gst_pad_proxy_setcaps):
9714 Leak fixes, the fold functions need to unref the passed object and
9715 _get_parent_*() returns ref to parent.
9717 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9719 * check/gst/gstbuffer.c: (test_make_writable):
9720 Plug leak in test case and fix 'make check-valgrind'
9722 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9724 * gst/gstbuffer.c: (gst_subbuffer_init):
9725 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
9726 works correctly in all circumstances (we could have just copied
9727 the parent buffer's readonly flag, but conceptually it seems
9728 cleaner to mark all subbuffers as read-only). (based on patch
9729 by Alessandro Decina, #314710).
9731 * check/gst/gstbuffer.c: (create_read_only_buffer),
9732 (test_make_writable), (test_subbuffer_make_writable),
9734 Add some tests for gst_buffer_make_writable().
9736 2005-09-27 Wim Taymans <wim@fluendo.com>
9738 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
9739 use gst_object_has_ancestor().
9741 * gst/gstobject.c: (gst_object_has_ancestor):
9743 gst_object_has_ancestor() copied from gstbin.c as it is a
9746 * tests/instantiate/create.c: (create_all_elements):
9747 * tests/lat.c: (handoff_src), (handoff_sink):
9748 * tests/sched/runxml.c: (main):
9749 * tests/seeking/seeking1.c: (main):
9750 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9752 Fix compilation of some tests.
9754 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9757 Remove comment. GST_TYPE_G_ERROR is here to stay,
9758 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
9761 2005-09-26 Wim Taymans <wim@fluendo.com>
9763 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9764 Added check that shows error in state change order.
9766 2005-09-26 Wim Taymans <wim@fluendo.com>
9768 * gst/gstbin.c: (gst_bin_change_state):
9769 Make state change function use 3 queues again, we were
9770 adding elements in the wrong order.
9772 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9775 * gst/gstpad.c: (gst_pad_dispose):
9776 Added some debug info first.
9778 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
9780 * docs/design/draft-push-pull.txt:
9781 * docs/design/part-events.txt:
9782 * docs/design/part-overview.txt:
9783 * docs/design/part-scheduling.txt:
9784 Replace all _pull_region() with _pull_range()
9786 2005-09-26 Andy Wingo <wingo@pobox.com>
9788 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
9790 * check/gst-libs/controller.c: Update for controller api change.
9793 * tests/Makefile.am:
9794 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
9795 over by GLib bug 118439.
9797 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
9798 routines to a function.
9800 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
9802 * libs/gst/controller/gsthelper.c:
9803 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
9804 (gst_object_sync_values): Renamed from sink_values. Ugh.
9806 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
9808 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
9809 Renamed from controller_key, as it is exported.
9811 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
9813 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
9818 * gst/gstpadtemplate.h:
9821 * gst/gstqueryutils.c:
9822 * gst/gstqueryutils.h:
9823 remove queryutils headers after moving the two used functions
9824 to gstquery. also fixes build problem for gstsiddec
9826 2005-09-26 Michael Smith <msmith@fluendo.com>
9828 * tools/gst-launch.1.in:
9829 Correct documentation in manpage of debug syntax
9831 2005-09-26 Wim Taymans <wim@fluendo.com>
9833 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9834 (gst_base_src_is_seekable), (gst_base_src_change_state):
9835 Some more debugging info.
9837 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9839 * docs/gst/gstreamer-sections.txt:
9840 * gst/base/gstbasetransform.h:
9844 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9846 * docs/gst/.cvsignore:
9847 * docs/gst/tmpl/.cvsignore:
9848 * docs/gst/tmpl/gstpipeline.sgml:
9849 * docs/gst/tmpl/gstplugin.sgml:
9850 * gst/gstpipeline.c:
9853 inlined the last two docs files
9854 removed the tmpl directory from cvs (no more conflicts here!)
9856 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9858 * docs/gst/gstreamer-sections.txt:
9859 * docs/gst/tmpl/.cvsignore:
9860 * docs/gst/tmpl/gstpad.sgml:
9861 * docs/gst/tmpl/gstpadtemplate.sgml:
9863 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9864 (gst_pad_finalize), (gst_pad_set_pad_template):
9866 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9867 (gst_pad_template_class_init), (gst_pad_template_init),
9868 (gst_pad_template_dispose), (name_is_valid),
9869 (gst_static_pad_template_get), (gst_pad_template_new),
9870 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
9871 (gst_pad_template_pad_created):
9872 * gst/gstpadtemplate.h:
9873 inlined two more docs
9874 factored gstpadtemplate out of gstpad
9876 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
9878 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
9879 (test_children_state_change_order_semi_sink):
9880 Fix test case: we can't rely on a fixed state change order when
9881 going from READY => PAUSED because the sink might commit its
9882 new state first when the first buffer created by the source
9883 reaches the sink before the source has finished its change state.
9884 (Test case still fails at times, see #316856, comment 5 onwards)
9886 2005-09-24 Wim Taymans <wim@fluendo.com>
9888 * docs/design/part-events.txt:
9889 * docs/design/part-gstbus.txt:
9890 * docs/design/part-gstpipeline.txt:
9891 * docs/design/part-messages.txt:
9892 * docs/design/part-overview.txt:
9893 * docs/design/part-segments.txt:
9900 * gst/gstiterator.c:
9901 Various documentation updates.
9903 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
9906 Well, that's embarassing. Luckily we weren't using
9907 GST_CLOCK_DIFF anywhere.
9909 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9911 * common/gtk-doc.mak:
9912 don't fail on building XML, FC4 slave shows a bunch of doc
9913 missing bits that I don't get
9915 * gst/gstpipeline.c:
9916 * gst/gststructure.c:
9919 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
9921 * docs/design/part-gstbin.txt:
9922 * docs/design/part-gstbus.txt:
9924 Add blurb about how the bus goes into flushing mode and
9925 drops all messages when its bin goes from READY into NULL
9928 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9930 * docs/gst/gstreamer-sections.txt:
9931 * gst/gststructure.c: (gst_structure_get_clock_time):
9932 * gst/gststructure.h:
9933 add a method to get a GstClockTime out of a structure
9935 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
9937 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
9938 (test_children_state_change_order_semi_sink), (gst_bin_suite):
9939 Added test to check state change order in bins (can still be made
9940 to fail here under heavy disk load; bails out with 'Push on pad
9941 fakesink:sink0, but it was not activated in push mode').
9943 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
9944 Fix state change order when there is only a semi sink (#316856)
9946 * gst/gstbus.c: (gst_bus_class_init):
9947 Use _class_peek_parent(), not _class_ref(); fix docs to say
9948 'default main context' instead of 'mainloop' where that is
9951 * gst/gstelement.c: (gst_element_commit_state),
9952 (gst_element_set_state):
9953 Fix typos in debug messages
9955 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9958 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
9959 * gst/gstpluginfeature.c:
9962 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9963 change an assert into an error until it gets fixed properly
9965 2005-09-23 Stefan Kost <ensonic@users.sf.net>
9967 * docs/gst/gstreamer-sections.txt:
9968 * docs/gst/tmpl/.cvsignore:
9969 * docs/gst/tmpl/gstelement.sgml:
9970 * docs/gst/tmpl/gstinfo.sgml:
9971 * docs/gst/tmpl/gstobject.sgml:
9976 * gst/gstobject.c: (gst_object_class_init):
9978 inlined 3 more biiiig doc files and added some missing docs on the fly
9980 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9982 * check/gst/.cvsignore:
9983 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
9984 * gst/gstregistryxml.c: (load_plugin),
9985 (gst_registry_xml_save_plugin):
9986 put back source in registry. add checks for find_plugin.
9987 * testsuite/states/bin.c: (assert_state), (empty_bin),
9988 (test_adding_one_element), (main):
9989 * testsuite/states/locked.c: (main):
9990 some compile/run fixes
9992 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
9994 * check/gst/gstvalue.c: (GST_START_TEST):
9995 fix leaks in the test itself
9997 2005-09-22 Wim Taymans <wim@fluendo.com>
9999 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10000 (gst_base_sink_send_event), (gst_base_sink_peer_query),
10001 (gst_base_sink_query):
10002 Prepare for more accurate position reporting and query
10005 * gst/gstelement.c: (gst_element_send_event),
10006 (gst_element_set_state):
10009 2005-09-22 Wim Taymans <wim@fluendo.com>
10011 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10012 (gst_query_parse_segment):
10014 More documentation.
10015 Add segment query for future use.
10017 2005-09-22 Wim Taymans <wim@fluendo.com>
10019 * gst/gstbin.c: (gst_bin_add_func):
10020 Some more debug info.
10022 * gst/gstelement.c: (gst_element_send_event):
10023 Simplify send_event
10025 * gst/gstelement.h:
10026 Don't know how flags got broken.
10031 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10033 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10034 Add simplistic test suite for GST_TYPE_DATE serialisation and
10037 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10039 * docs/gst/gstreamer-sections.txt:
10040 * gst/gststructure.c: (gst_structure_set_valist),
10041 (gst_structure_get_date):
10042 * gst/gststructure.h:
10043 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10044 (gst_date_copy), (gst_value_compare_date),
10045 (gst_value_serialize_date), (gst_value_deserialize_date),
10046 (gst_value_transform_date_string),
10047 (gst_value_transform_string_date), (_gst_value_initialize):
10049 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10050 bunch of utility functions along with a hack that checks that
10051 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10052 is required. Part of the grand scheme in #170777.
10054 2005-09-22 Andy Wingo <wingo@pobox.com>
10056 * gst/gstconfig.h.in: Psych out gtk-doc.
10058 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10060 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10062 * tools/gst-inspect.c (print_element_list): Plug some
10063 inconsequential leaks.
10065 * gst/gstregistry.c (gst_registry_get_default): Doc.
10067 * check/gst/gstplugin.c:
10068 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10069 * gst/gstelementfactory.c (gst_element_factory_create):
10070 * gst/gstindexfactory.c (gst_index_factory_create): Update for
10073 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10074 (gst_plugin_feature_load): Doc, don't eat refs.
10076 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10077 (gst_plugin_list_free): Doc.
10078 (gst_plugin_load_file): Doc updates.
10080 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10081 accessors returning refcounted objects, return a ref.
10083 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10084 accessor for caps. IDEMPOTENCE. Oh yes.
10086 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
10088 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10090 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10091 (_gst_debug_register_funcptr):
10092 Add mutex to serialise access to the hash table with
10093 the function pointer => function name string mapping;
10094 make that hash table static scope (#316809).
10096 * gst/registries/.cvsignore:
10097 Remove left-over file.
10099 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10101 * docs/pwg/appendix-porting.xml:
10102 And something about newsegment events and caps-on-buffers to
10103 the porting guide (feel free to improve).
10105 2005-09-21 Andy Wingo <wingo@pobox.com>
10107 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10108 data and event probes on the same pad.
10109 (test_buffer_probe_once): Test that removing probes from within
10110 the probe functions works.
10112 2005-09-21 Andy Wingo <wingo@pobox.com>
10114 * check/gst/gstutils.c: New file.
10115 (test_buffer_probe_n_times): A simple buffer probe test. More to
10118 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10119 have-data::buffer, not have-data.
10120 (gst_pad_add_event_probe): Likewise for have-data::event.
10121 (gst_pad_add_data_probe): More docs. The part about 'resolving the
10122 peer' isn't quite right yet though.
10123 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
10124 (gst_pad_remove_data_probe): Change to take the guint handler_id
10125 as their arg, not the function+data, which is more glib-like.
10127 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10128 the signal emission to indicate if the data is a buffer or an
10130 (gst_pad_get_type): Initialize buffer and event quarks.
10131 (gst_pad_class_init): have-data is now a detailed signal, yes it
10134 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10136 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10137 * gst/gstutils.c: (gst_util_set_value_from_string),
10138 (gst_util_set_object_arg):
10139 Don't put functional code in g_return_if_fail() or
10140 g_return_val_if_fail() statements, otherwise things will
10141 break when G_DISABLE_CHECKS is defined during compilation.
10143 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10145 * docs/gst/tmpl/.cvsignore:
10146 * docs/gst/tmpl/gstvalue.sgml:
10149 inlied another one and added some obvious docs
10151 2005-09-21 Wim Taymans <wim@fluendo.com>
10153 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10154 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10155 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10156 (gst_fdsrc_get_property), (gst_fdsrc_create):
10157 * gst/elements/gstfdsrc.h:
10158 Properly implement fdsrc. Removed signal and timeout,
10159 better implemented somewhere else.
10161 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10163 * docs/gst/tmpl/.cvsignore:
10164 * docs/gst/tmpl/gstimplementsinterface.sgml:
10165 * gst/gstinterface.c:
10168 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10170 * docs/gst/gstreamer-sections.txt:
10171 * docs/gst/tmpl/.cvsignore:
10172 * docs/gst/tmpl/gstenumtypes.sgml:
10173 remove obsolete doc file
10175 2005-09-21 David Schleef <ds@schleef.org>
10177 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10178 little beer, fix a little leak.
10180 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10182 * docs/gst/gstreamer-docs.sgml:
10183 * docs/gst/gstreamer-sections.txt:
10184 * docs/gst/tmpl/.cvsignore:
10188 * gst/gstelement.h:
10189 * gst/gstindex.c: (gst_index_class_init):
10191 * gst/gstindexfactory.c: (gst_index_factory_get_type),
10192 (gst_index_factory_class_init), (gst_index_factory_init),
10193 (gst_index_factory_finalize), (gst_index_factory_new),
10194 (gst_index_factory_destroy), (gst_index_factory_find),
10195 (gst_index_factory_create), (gst_index_factory_make):
10196 * gst/gstindexfactory.h:
10197 * gst/gstpluginfeature.c:
10198 * gst/gstpluginfeature.h:
10199 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10200 more docs inlined, splitted gstindex.{c,h}
10202 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10204 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10207 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10209 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10210 Set sync to FALSE by default.
10212 2005-09-20 Wim Taymans <wim@fluendo.com>
10214 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10215 (gst_base_sink_init):
10216 Make sync property settable from subclass.
10218 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10219 (gst_fake_sink_change_state):
10220 Set sync to FALSE by default.
10222 2005-09-20 Wim Taymans <wim@fluendo.com>
10224 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10225 * tools/gst-launch.c: (main):
10226 The timeout handler should have lower priority than the source
10227 so we don't timeout before popping a message with 0 timeout.
10228 Dump error messages after failed state change.
10230 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10232 * tools/gst-inspect.c: (print_element_properties_info):
10235 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10237 * check/gst/gstevent.c:
10238 * gst/elements/gstfakesink.c:
10239 * gst/elements/gstfakesink.h:
10240 remove the sync property from fakesink.
10241 has the side effect of setting sync TRUE
10242 for fakesink, which is a change. Anyone who knows how
10243 to fix this nicely in a GObject-y way, feel free.
10245 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10247 * docs/gst/gstreamer-docs.sgml:
10248 remove probe refsection
10250 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10252 * check/Makefile.am:
10253 disable valgrinding the controller test again
10254 * docs/gst/gstreamer-sections.txt:
10255 update for api-changes
10257 2005-09-20 Wim Taymans <wim@fluendo.com>
10259 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10260 (gst_base_sink_set_property), (gst_base_sink_get_property),
10261 (gst_base_sink_do_sync):
10262 * gst/base/gstbasesink.h:
10263 Added sync property to basesink to disable clock sync.
10265 2005-09-20 Andy Wingo <wingo@pobox.com>
10267 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
10268 eating the caller's refcount.
10270 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
10271 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
10274 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
10275 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
10276 of GLib 2.8 public, so we can know which refcount to check in
10279 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
10280 (gst_object_init): Only set the gst refcount if we're going ahead
10281 with the refcount hack.
10283 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10285 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10286 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10287 more leaks plumbed, added more debug-logging
10291 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10293 * gst/gstmessage.c:
10294 remove include of gstmemchunk.h
10296 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10298 * gst/gstclock.c: (_gst_clock_id_free):
10299 Commit from the Political Party For More Atomic CVS Commits,
10300 so that people don't waste too much of their day fishing
10301 out obvious leaks out of massive commits.
10302 Oh, and fix a pretty damn obvious leak in the memchunk
10305 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10307 * check/Makefile.am:
10308 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10309 plug mem-leak, re-add to valgrindable tests
10311 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10314 unbreak the build for those who have chronic arthritis
10315 and typing "make check" is just too taxing on the hands
10317 2005-09-20 Andy Wingo <wingo@pobox.com>
10319 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
10320 really want it out, you should fix plugins at the same time.
10322 2005-09-19 Stefan Kost <ensonic@users.sf.net>
10325 * docs/gst/gstreamer-sections.txt:
10327 added missing symbols to api docs
10328 disable ref-count hack if we have glib >= 2.8
10330 2005-09-19 David Schleef <ds@schleef.org>
10332 * docs/gst/Makefile.am: Ignore a few more internal headers
10333 * docs/gst/gstreamer-docs.sgml: Remove old sections
10334 * docs/gst/gstreamer-sections.txt: Remove old sections
10335 * docs/gst/tmpl/gstobject.sgml: update
10336 * docs/gst/tmpl/gstplugin.sgml: update
10337 * docs/gst/tmpl/gstpluginfeature.sgml: update
10338 * docs/random/ds/0.9-suggested-changes: update.
10339 * gst/Makefile.am: remove memchunk and trashstack, since they're
10341 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
10342 * gst/gst.h: don't include some headers
10343 * gst/gstchildproxy.c: add gstmarshal.h
10344 * gst/gstclock.c: Don't use memchunks
10345 * gst/gstminiobject.c: Add some docs
10346 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
10347 * gst/gstobject.h: same
10348 * gst/gstplugin.c: include gstmacros.h
10349 * gst/gstplugin.h: don't include gstmacros.h, since it's private
10350 * gst/gstquery.c: don't use memchunks
10351 * gst/gstregistry.c: rename gst_registry_deinit()
10352 * gst/gstregistry.h: same
10354 2005-09-19 David Schleef <ds@schleef.org>
10356 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
10357 * docs/libs/gstreamer-libs-sections.txt:
10358 * docs/libs/tmpl/gstgetbits.sgml:
10359 * docs/libs/tmpl/gstputbits.sgml:
10361 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
10363 * win32/gstenumtypes.c:
10364 * win32/gstenumtypes.h:
10367 2005-09-19 Wim Taymans <wim@fluendo.com>
10369 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
10370 Automatically PAUSE and RESUME a pipeline when a flushing seek
10373 2005-09-19 Andy Wingo <wingo@pobox.com>
10375 * gst/gstregistry.h: Spacing fixen.
10377 2005-09-19 Wim Taymans <wim@fluendo.com>
10379 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
10380 Handle state change failure more correctly.
10382 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10384 * check/Makefile.am:
10385 * check/pipelines/cleanup.c: (run_pipeline):
10386 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10388 enable cleanup again after fixing the leak
10390 some more info on docs
10392 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10394 * check/Makefile.am:
10395 re-enable tests now that leaks are plugged
10397 * check/gst/gstbin.c:
10398 * check/gst/gstpipeline.c:
10399 add some more tests while fixing leaks
10400 * common/check.mak:
10401 make sure binaries are uptodate when valgrinding/gdbing
10403 * gst/gstelementfactory.c:
10404 remove a ref too many, and add a FIXME for when we get
10405 round to disposing of classes
10407 fix the refcounting when loading a plugin from a file and
10408 the code pretends that the pointer is the same even though
10409 of course it can change
10410 * gst/gstpluginfeature.c:
10411 unref plugins marked cached (a bit confusing as a name)
10412 as the docs state should be done
10413 various doc additions to explain refcounting
10414 * gst/gstregistry.c:
10415 * gst/gstregistryxml.c:
10418 2005-09-19 Wim Taymans <wim@fluendo.com>
10420 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10421 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10422 (send_messages), (GST_START_TEST), (gstbus_suite):
10423 * check/gst/gstpipeline.c: (GST_START_TEST):
10424 * check/pipelines/cleanup.c: (run_pipeline):
10425 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10427 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
10428 (gst_bus_source_check), (gst_bus_source_dispatch),
10429 (gst_bus_create_watch), (gst_bus_add_watch_full),
10430 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
10432 * tools/gst-launch.c: (event_loop):
10433 * tools/gst-md5sum.c: (event_loop):
10434 GstBusHandler -> GstBusFunc, return value has the same meaning as
10435 any other GSource (FALSE == remove source).
10436 _add_watch() and _add_watch_full() now take a MessageType mask to
10437 only handle specific types of messages.
10438 _poll() returns the GstMessage instead of the message type to avoid
10440 _have_pending() takes a MessageType mask now too.
10441 Added testsuite for multiple bus watches.
10442 Fix testsuites and applications for new bus API.
10444 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10446 * check/Makefile.am:
10447 mark a bunch of the tests as to fix until we fix them
10449 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10451 * common/check.mak:
10452 use GST_PLUGIN settings for valgrind tests as well, so we're
10453 valgrinding the correct thing
10454 * gst/gst.c: (init_post):
10457 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10459 * gst/gst.c: (init_post), (gst_deinit):
10460 * gst/gstelementfactory.c: (gst_element_factory_class_init),
10461 (gst_element_factory_finalize), (gst_element_factory_cleanup):
10462 * gst/gstindex.c: (gst_index_factory_class_init),
10463 (gst_index_factory_finalize):
10464 * gst/gstobject.c: (gst_object_dispose):
10465 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10466 (gst_plugin_load_file), (gst_plugin_desc_free):
10467 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
10468 (gst_plugin_feature_finalize):
10469 * gst/gstregistry.c: (gst_registry_class_init),
10470 (gst_registry_init), (gst_registry_finalize),
10471 (gst_registry_get_default), (gst_registry_deinit):
10472 * gst/gstregistry.h:
10473 * gst/gstregistryxml.c: (load_feature), (load_plugin):
10474 various cleanups and memleak plugging. make valgrind is happy now.
10476 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10478 * common/check.mak:
10479 add a check-valgrind target
10481 2005-09-18 David Schleef <ds@schleef.org>
10483 * tools/gst-inspect.c: Revert the GOption code.
10485 2005-09-17 David Schleef <ds@schleef.org>
10487 * check/Makefile.am: Fix environment variables.
10488 * check/gst/gstplugin.c: Fix for API changes.
10489 * tools/gst-inspect.c: Fix for API changes.
10490 * tools/gst-xmlinspect.c: Fix for API changes.
10491 * gst/gstelementfactory.c:
10494 * gst/gstpluginfeature.c:
10495 * gst/gstpluginfeature.h:
10496 * gst/gstregistry.c:
10497 * gst/gstregistry.h:
10498 * gst/gstregistryxml.c:
10499 * gst/gsttypefind.c:
10500 * gst/gsttypefindfactory.c:
10501 * gst/indexers/gstfileindex.c:
10502 * gst/indexers/gstmemindex.c:
10503 * gst/schedulers/Makefile.am:
10504 Change registry to keep track of both plugins and features,
10505 removing the feature tracking from plugins themselves.
10507 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10509 * check/Makefile.am:
10510 * tools/gst-register.1.in:
10511 remove gst-register
10513 2005-09-15 David Schleef <ds@schleef.org>
10515 * check/gst/gstplugin.c:
10516 * gst/gstelementfactory.c:
10518 * gst/gstpluginfeature.c:
10519 * gst/gstregistry.c:
10520 Getting tired of debugging. Disabled all the unreffing of
10521 plugins and features, which fixes the segfaults, but of
10522 course leaks like crazy. At least playbin works.
10524 2005-09-15 David Schleef <ds@schleef.org>
10526 * check/gst/gstplugin.c: (register_check_elements),
10527 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
10529 * gst/elements/gsttypefindelement.c: Fix refcounting.
10530 * gst/gsttypefind.c:
10531 * gst/gsttypefindfactory.c:
10532 * gst/gsttypefindfactory.h:
10534 2005-09-15 David Schleef <ds@schleef.org>
10536 * gst/gstindex.c: get refcounting correct.
10537 * gst/gstregistry.c: Handle the case where a feature/plugin is
10540 2005-09-15 David Schleef <ds@schleef.org>
10542 * check/Makefile.am:
10543 * check/gst/gstplugin.c: Add test
10544 * gst/gstplugin.c: Fix problems noticed by testsuite
10546 * gst/gstregistry.c:
10547 * gst/gstregistry.h:
10549 2005-09-15 David Schleef <ds@schleef.org>
10551 * gst/gstplugin.c: Implement semi-decent recounting and locking
10552 in plugins and plugin features.
10554 * gst/gstpluginfeature.c:
10555 * gst/gstpluginfeature.h:
10556 * gst/gstregistry.c:
10558 2005-09-15 Michael Smith <msmith@fluendo.com>
10560 * gst/gstregistry.c: (gst_registry_get_feature_list):
10561 Implement this. Makes oggdemux work; decodebin still broken.
10563 2005-09-14 David Schleef <ds@schleef.org>
10565 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
10567 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
10568 * gst/check/Makefile.am:
10569 * libs/gst/controller/Makefile.am:
10570 * libs/gst/dataprotocol/Makefile.am:
10572 2005-09-14 David Schleef <ds@schleef.org>
10574 * configure.ac: Remove getbits library. Nothing uses it, and
10575 it should be in something like liboil if someone did want
10577 * libs/gst/Makefile.am:
10578 * libs/gst/getbits/Makefile.am:
10579 * libs/gst/getbits/gbtest.c:
10580 * libs/gst/getbits/getbits.c:
10581 * libs/gst/getbits/getbits.h:
10582 * libs/gst/getbits/gstgetbits_generic.c:
10583 * libs/gst/getbits/gstgetbits_i386.s:
10584 * libs/gst/getbits/gstgetbits_inl.h:
10586 2005-09-14 David Schleef <ds@schleef.org>
10588 * gst/Makefile.am: Dist glib-compat.h
10590 2005-09-14 David Schleef <ds@schleef.org>
10592 * configure.ac: Remove gst/registries, since it's no longer used.
10593 * gst/registries/Makefile.am:
10594 * gst/registries/gstlibxmlregistry.c:
10595 * gst/registries/gstlibxmlregistry.h:
10596 * gst/registries/gstxmlregistry.c:
10597 * gst/registries/gstxmlregistry.h:
10598 * gst/registries/registrytest.c:
10600 2005-09-14 David Schleef <ds@schleef.org>
10602 * gst/glib-compat.h:
10603 * gst/gstregistryxml.c:
10604 Convergence is near. Seriously.
10606 2005-09-14 David Schleef <ds@schleef.org>
10608 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10609 * gst/glib-compat.h:
10610 Attempt #4 to appease the buildbots.
10612 2005-09-14 David Schleef <ds@schleef.org>
10614 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10617 2005-09-14 David Schleef <ds@schleef.org>
10619 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10622 2005-09-14 David Schleef <ds@schleef.org>
10624 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
10627 2005-09-14 David Schleef <ds@schleef.org>
10629 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10630 * gst/glib-compat.h: Add some functions that are in newer versions
10631 of glib than we care to require.
10632 * gst/gstregistryxml.c: Use them.
10634 2005-09-14 David Schleef <ds@schleef.org>
10636 * po/POTFILES.in: remove gst-register.c
10638 2005-09-14 David Schleef <ds@schleef.org>
10640 * docs/gst/gstreamer-docs.sgml:
10641 * docs/gst/gstreamer-sections.txt:
10642 * docs/gst/gstreamer.types:
10643 * docs/gst/tmpl/gstelement.sgml:
10644 * docs/gst/tmpl/gstplugin.sgml:
10645 * docs/gst/tmpl/gstpluginfeature.sgml:
10646 Documentation updates for registry changes.
10648 2005-09-14 David Schleef <ds@schleef.org>
10650 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
10651 because we don't require glib-2.8.
10653 2005-09-14 David Schleef <ds@schleef.org>
10655 * gst/gstregistryxml.c: Added. Essentially moved out of the
10656 registries directory.
10658 2005-09-14 David Schleef <ds@schleef.org>
10660 * check/Makefile.am:
10661 * check/generic/states.c:
10665 * gst/gst_private.h:
10666 * gst/gstelementfactory.c:
10671 * gst/gstpluginfeature.c:
10672 * gst/gstpluginfeature.h:
10673 * gst/gstregistry.c:
10674 * gst/gstregistry.h:
10675 * gst/gstregistrypool.c: remove
10676 * gst/gstregistrypool.h: remove
10677 * gst/gsttypefind.c:
10678 * gst/gsttypefindfactory.c:
10680 * tools/Makefile.am:
10681 * tools/gst-compprep.c:
10682 * tools/gst-inspect.c:
10683 * tools/gst-register.c: remove
10684 * tools/gst-xmlinspect.c:
10685 Registry rewrite. Changes registry from being a file created
10686 by a tool into a simple cache file created automatically by
10687 libgstreamer. Removed gst-register (because it's no longer
10688 needed). Remove registry pools, because we only have one
10689 registry implementation (XML). Fix up other subsystems as
10692 2005-09-13 Michael Smith <msmith@fluendo.com>
10694 * gst/gstconfig.h.in:
10695 Don't Use windows linking attributes for MinGW. Fixes #316157
10697 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
10699 * gst/gstutils.c: (set_state_async_thread_func),
10700 (gst_element_set_state_async):
10701 Apparently people think it's better if this function doesn't
10702 try to set the state to whatever state was asked for on the first
10703 call to this function for any object. Seriously.
10705 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10707 * check/gst/gstpipeline.c: (GST_START_TEST):
10708 * docs/gst/gstreamer-sections.txt:
10709 * gst/gstutils.c: (set_state_async_thread_func),
10710 (gst_element_set_state_async):
10712 add a "gst_element_set_state_async" method that
10713 sets the state and starts a thread to make sure the state
10714 change completes as best as it can
10716 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10718 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10719 codify design+behaviour in testsuite after discussion
10721 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10723 * docs/gst/tmpl/gstelement.sgml:
10724 * docs/manual/appendix-quotes.xml:
10726 * gst/gstelement.c: (gst_element_set_state):
10729 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
10731 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10732 (gst_base_transform_prepare_output_buf),
10733 (gst_base_transform_handle_buffer):
10734 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
10735 (gst_capsfilter_prepare_buf):
10736 Remove the requirement for sub-classes to call the parent
10737 implementation of prepare_output_buffer with a wrapper function.
10739 * gst/gsttaglist.h:
10740 * gst/gsttagsetter.h:
10741 Fix #define wrapper
10743 2005-09-11 Stefan Kost <ensonic@users.sf.net>
10745 * docs/gst/gstreamer-sections.txt:
10748 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10750 * docs/gst/gstreamer-sections.txt:
10751 * docs/gst/tmpl/gstelement.sgml:
10752 * docs/gst/tmpl/gstplugin.sgml:
10753 * gst/gstminiobject.c:
10755 docs now stop throwing warnings
10757 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10759 * docs/gst/gstreamer-sections.txt:
10760 * docs/gst/gstreamer.types:
10761 * docs/gst/tmpl/gstpad.sgml:
10762 * docs/gst/tmpl/gsttypes.sgml:
10763 * gst/base/gstadapter.h:
10764 * gst/base/gstbasesink.h:
10765 * gst/base/gstbasesrc.h:
10771 * gst/gstelement.h:
10773 * gst/gstmessage.h:
10775 * gst/gststructure.c:
10776 * gst/registries/gstlibxmlregistry.h:
10777 various documentation fixes
10779 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10781 * docs/gst/gstreamer-sections.txt:
10782 * docs/gst/tmpl/gstvalue.sgml:
10783 rearrange gstvalue section
10784 * gst/gstutils.c: (gst_element_state_get_name):
10786 * gst/gstvalue.c: (_gst_value_initialize):
10790 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
10792 * check/gst-libs/controller.c:
10793 Header include fix.
10794 * gst/base/gstbasetransform.c:
10795 (gst_base_transform_default_prepare_buf),
10796 (gst_base_transform_handle_buffer):
10797 * gst/base/gstbasetransform.h:
10798 Some more basetransform changes and fixes to enable sub-classes
10799 that modify buffer metadata only.
10800 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10801 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
10802 (gst_capsfilter_prepare_buf):
10803 If the output pad has fixed allowed caps and input buffers
10804 don't have any, set the fixed caps on outgoing buffers.
10806 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
10807 * check/elements/identity.c: (GST_START_TEST):
10808 Make the error a little clearer when the test fails because
10809 identity made a copy of the buffer.
10810 * docs/gst/gstreamer-sections.txt:
10811 New symbols in gstbasetransform.h
10812 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10813 (gst_base_transform_init), (gst_base_transform_transform_size),
10814 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10815 (gst_base_transform_default_prepare_buf),
10816 (gst_base_transform_get_unit_size),
10817 (gst_base_transform_buffer_alloc),
10818 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10819 (gst_base_transform_change_state),
10820 (gst_base_transform_set_passthrough),
10821 (gst_base_transform_set_in_place),
10822 (gst_base_transform_is_in_place):
10823 * gst/base/gstbasetransform.h:
10824 Change BaseTransform to separate in_place operate from same_caps
10825 output. in_place implies that the element can perform the transform
10826 on incoming buffers in-place, even if the caps on the output are
10828 Sub-class elements can now implement special buffer allocation
10829 methods for outgoing buffers if they wish to.
10830 Big documentation addition.
10831 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
10832 * gst/elements/gstelements.c:
10833 Changes for basetransform modifications.
10834 * gst/elements/Makefile.am:
10835 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
10836 Compile fix. Extra debug output.
10838 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10840 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
10842 add tests for valid pad naming
10843 * gst/check/gstcheck.c: (gst_check_log_message_func),
10844 (gst_check_log_critical_func):
10846 remove printing of code, it is fragile when the code contains
10847 % and the line number is enough info
10848 * gst/check/gstcheck.h:
10849 * gst/gstpad.c: (gst_pad_template_new):
10852 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10855 say what CHECK flags we use
10856 * docs/libs/gstreamer-libs.types:
10857 * libs/gst/controller/Makefile.am:
10858 * libs/gst/controller/gst-controller.c:
10859 * libs/gst/controller/gst-controller.h:
10860 * libs/gst/controller/gst-helper.c:
10861 * libs/gst/controller/gst-interpolation.c:
10862 * libs/gst/controller/gstcontroller.c:
10863 * libs/gst/controller/gsthelper.c:
10864 * libs/gst/controller/gstinterpolation.c:
10865 * tools/gst-inspect.c: (print_plugin_info):
10866 we don't use dashes in header names
10868 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10870 * check/Makefile.am:
10871 * check/gst/.cvsignore:
10872 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
10873 (gst_pipeline_suite), (main):
10874 adding a test for pipelines and state changes
10875 * gst/gstutils.c: (get_state_func):
10877 * gstreamer.spec.in:
10880 2005-09-08 Michael Smith <msmith@fluendo.com>
10882 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
10883 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
10884 (gst_file_src_is_seekable), (gst_file_src_get_size),
10885 (gst_file_src_start):
10886 * gst/elements/gstfilesrc.h:
10887 Various fixes for unseekable, unmmapable, and non-normal files, so
10888 that fallback to read() rather than mmap() works.
10889 * gst/gstevent.c: (gst_event_new_newsegment):
10890 Allow newsegment events with segment_start == segment_end, as will
10891 correctly happen if you use filesrc on a zero-size file, for
10894 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
10896 * gst/gstplugin.c: (gst_plugin_load_file):
10897 Call g_module_close when we don't load the module
10899 * gst/registries/gstlibxmlregistry.c:
10900 (gst_xml_registry_get_property):
10901 Port leak fix from 0.8
10903 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10905 * docs/gst/gstreamer-docs.sgml:
10906 * docs/gst/tmpl/.cvsignore:
10907 * docs/gst/tmpl/gsttrace.sgml:
10908 * docs/gst/tmpl/gsttrashstack.sgml:
10911 * gst/gstelement.h:
10913 * gst/gstmessage.c:
10914 * gst/gstmessage.h:
10917 * gst/gsttaginterface.c:
10918 * gst/gsttaginterface.h:
10919 * gst/gsttaglist.c:
10920 * gst/gsttaglist.h:
10921 * gst/gsttagsetter.c:
10922 * gst/gsttagsetter.h:
10925 * gst/gsttrashstack.c:
10926 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
10927 inlined docs for gsttrace, gsttrashstack
10929 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10932 * gst/elements/gstbufferstore.h:
10933 * gst/elements/gsttypefindelement.c:
10934 * gst/elements/gsttypefindelement.h:
10936 * gst/gsttypefind.c:
10937 * gst/gsttypefind.h:
10938 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
10939 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
10940 (gst_type_find_factory_dispose),
10941 (gst_type_find_factory_unload_thyself),
10942 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
10943 (gst_type_find_factory_get_caps),
10944 (gst_type_find_factory_get_extensions),
10945 (gst_type_find_factory_call_function):
10946 * gst/gsttypefindfactory.h:
10947 * gst/registries/gstlibxmlregistry.c:
10948 * gst/registries/gstxmlregistry.c:
10949 splitted gsttypefind into gsttypefind, gsttypefindfactory
10951 2005-09-07 Andy Wingo <wingo@pobox.com>
10953 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
10954 condition whereby the pad's task function is entered before the
10955 pad_mode variable was set.
10957 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
10959 * gst/gstpad.c: (gst_pad_alloc_buffer):
10960 Catch misbehaving pad_alloc functions that don't
10961 set up caps and do it for them.
10963 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10965 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10966 test for pipe!=NULL
10967 * docs/gst/tmpl/.cvsignore:
10968 * docs/gst/tmpl/gstmemchunk.sgml:
10969 * docs/gst/tmpl/gstparse.sgml:
10970 * docs/gst/tmpl/gsttaglist.sgml:
10971 * docs/gst/tmpl/gsttagsetter.sgml:
10972 * docs/gst/tmpl/gsttypefind.sgml:
10973 * docs/gst/tmpl/gsttypefindfactory.sgml:
10974 * gst/gstmemchunk.c:
10977 * gst/gsttaginterface.c:
10978 * gst/gsttypefind.c:
10979 * gst/gsttypefind.h:
10982 === release 0.9.2 ===
10984 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
10989 releasing 0.9.2, "South"
10991 2005-09-05 Andy Wingo <wingo@pobox.com>
10993 * gst/registries/gstxmlregistry.h:
10994 * gst/registries/gstxmlregistry.c: Um... resurrect...
10996 * gst/registries/gstxmlregistry.h:
10997 * gst/registries/gstxmlregistry.c: and update to newer API.
10998 Incidentally they should be a bit faster now that they don't have
11001 2005-09-05 Andy Wingo <wingo@pobox.com>
11003 * gst/registries/gstxmlregistry.h:
11004 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11005 replaced by the libxml registry a while back
11007 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11009 * docs/gst/tmpl/gstplugin.sgml:
11010 * gst/elements/gstelements.c:
11012 * gst/gstplugin.c: (gst_plugin_register_func),
11013 (gst_plugin_desc_copy), (gst_plugin_desc_free),
11014 (gst_plugin_get_source):
11016 * gst/registries/gstlibxmlregistry.c: (load_plugin),
11017 (gst_xml_registry_save_plugin):
11018 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11019 (gst_xml_registry_save_plugin):
11020 * tools/gst-inspect.c: (print_plugin_info):
11021 add a "source" plugin description field, to represent the source
11022 module this plugin is a part of. By default GST_PLUGIN_DEFINE
11023 will set it to PACKAGE, which is automake's idea of the name of
11024 the source project.
11026 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11031 * docs/Makefile.am:
11032 * docs/faq/Makefile.am:
11033 * docs/gst/tmpl/gstelement.sgml:
11034 * docs/gst/tmpl/gsttypes.sgml:
11035 * docs/htmlinstall.mak:
11036 * docs/manual/Makefile.am:
11037 * docs/pwg/Makefile.am:
11038 reorganize doc build a little
11039 split out docbook and gtk-doc stuff
11040 have two separate --enable's and enable them through autogen
11041 but disable by default in configure (to be similar to other
11043 * gstreamer.spec.in:
11044 clean up docs install
11062 translation updates
11064 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
11066 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11069 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11070 (gst_fake_sink_change_state):
11071 Make state change function thread-safe.
11073 * gst/gstpad.c: (gst_pad_alloc_buffer):
11074 Set offset on generic buffer allocated by fallback.
11076 2005-09-03 Stefan Kost <ensonic@users.sf.net>
11078 * docs/gst/gstreamer-sections.txt:
11079 * docs/gst/tmpl/gstelement.sgml:
11081 * libs/gst/controller/gst-controller.c:
11082 (gst_controlled_property_set_interpolation_mode),
11083 (gst_controlled_property_new),
11084 (gst_controller_find_controlled_property):
11085 run the wingo-magic script against the docs
11087 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11089 * docs/gst/gstreamer-docs.sgml:
11090 * docs/gst/gstreamer-sections.txt:
11091 * docs/gst/tmpl/.cvsignore:
11092 * docs/gst/tmpl/gstelementdetails.sgml:
11093 * docs/gst/tmpl/gstelementfactory.sgml:
11096 * gst/gstelementfactory.c:
11097 * gst/gstelementfactory.h:
11098 merged elementdetails docs into elementfactory docs
11101 2005-09-02 Andy Wingo <wingo@pobox.com>
11103 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11104 consider this enum an enum and not a flags.
11106 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11108 * docs/gst/gstreamer-docs.sgml:
11109 * docs/gst/tmpl/.cvsignore:
11110 * docs/gst/tmpl/gstghostpad.sgml:
11111 * docs/gst/tmpl/gstiterator.sgml:
11112 * docs/gst/tmpl/gstmacros.sgml:
11113 * docs/gst/tmpl/gstrealpad.sgml:
11114 * docs/gst/tmpl/gstregistry.sgml:
11115 * docs/gst/tmpl/gstregistrypool.sgml:
11116 * docs/gst/tmpl/gststructure.sgml:
11117 * docs/gst/tmpl/gstsystemclock.sgml:
11118 * docs/gst/tmpl/gsttrace.sgml:
11119 * gst/gstghostpad.c:
11121 * gst/gstmemchunk.c:
11122 * gst/gstmemchunk.h:
11124 * gst/gstregistry.c:
11125 * gst/gstregistrypool.c:
11126 * gst/gststructure.c:
11127 * gst/gstsystemclock.c:
11130 2005-09-02 Andy Wingo <wingo@pobox.com>
11132 * gst/gstelement.h (GstState): Renamed from GstElementState,
11133 changed to be a normal enum instead of flags.
11134 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11135 munged to be GST_STATE_CHANGE_*.
11136 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11137 work with the new state representation.
11138 (GstStateChange): New enumeration of possible state transitions.
11139 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11140 (GstElementClass::change_state): Pass the GstStateChange along as
11141 an argument. Helps language bindings, so they don't have to use
11142 tricky lock-needing macros like GST_STATE_CHANGE ().
11144 * scripts/update-states (file): New script. Run it on a file to
11145 update it for state naming and API changes. Updates files in
11148 * All files updated for the new API.
11150 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
11152 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11153 * gst/gstutils.c: (gst_util_set_value_from_string),
11154 (gst_util_set_object_arg):
11155 fix a bunch of unchecked return values
11156 * tools/gst-complete.c: (main):
11157 * gstreamer.spec.in:
11160 2005-09-01 Wim Taymans <wim@fluendo.com>
11162 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11163 (gst_base_sink_event), (gst_base_sink_do_sync),
11164 (gst_base_sink_handle_event):
11165 * gst/base/gstbasesink.h:
11166 Handle newsegments more correctly.
11171 * gst/gstevent.c: (gst_event_new_newsegment):
11172 A newsegment cannot have a start_time of -1
11174 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
11176 * win32/gstenumtypes.c:
11177 * win32/gstenumtypes.h:
11180 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11182 * libs/gst/controller/gst-controller.c:
11183 (gst_controlled_property_set_interpolation_mode),
11184 (gst_controlled_property_new):
11185 fixed boolean again
11187 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
11189 * docs/faq/gst-uninstalled:
11194 * gst/gstutils.c: (gst_element_link_filtered):
11196 add gst_element_link_filtered
11198 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11200 * docs/gst/gstreamer-docs.sgml:
11201 * docs/gst/gstreamer-sections.txt:
11202 * docs/gst/tmpl/.cvsignore:
11203 * docs/gst/tmpl/gsterror.sgml:
11204 * docs/gst/tmpl/gstfilter.sgml:
11205 * docs/gst/tmpl/gsturihandler.sgml:
11206 * docs/gst/tmpl/gsturitype.sgml:
11207 * docs/gst/tmpl/gstutils.sgml:
11208 * docs/gst/tmpl/gstxml.sgml:
11213 * gst/gsturitype.c:
11216 inlined more docs, fixed double id-ref
11218 2005-08-31 Wim Taymans <wim@fluendo.com>
11220 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11221 (gst_base_transform_handle_buffer):
11222 Passthrough elements don't need the caps as they don't care.
11224 2005-08-31 Wim Taymans <wim@fluendo.com>
11226 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11227 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11228 Don't leak refcounts on buffers.
11230 2005-08-31 Wim Taymans <wim@fluendo.com>
11232 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11233 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11234 (gst_base_transform_chain), (gst_base_transform_change_state):
11235 * gst/base/gstbasetransform.h:
11236 Handle the case where we are not negotiated more gracefully.
11238 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
11240 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
11241 (gst_file_src_map_region):
11242 Set READONLY flag on mmap'ed buffers, otherwise
11243 gst_buffer_make_writable() won't work properly (#314708).
11245 2005-08-31 Wim Taymans <wim@fluendo.com>
11247 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
11248 passthrough elements can even do inplace on non writable
11249 buffers (as they don't touch them).
11251 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11253 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11254 (gst_test_mono_source_set_property),
11255 (gst_test_mono_source_class_init), (GST_START_TEST),
11256 (gst_controller_suite):
11257 more tests (hehe I have the most)
11259 describe popping messages whenusing mulltiple sources
11260 * libs/gst/controller/gst-controller.c:
11261 (gst_controlled_property_set_interpolation_mode),
11262 (gst_controlled_property_new):
11263 * libs/gst/controller/gst-controller.h:
11264 * libs/gst/controller/gst-interpolation.c:
11265 implement boolean properties
11267 2005-08-31 Wim Taymans <wim@fluendo.com>
11269 * gst/gstminiobject.c: (gst_mini_object_ref):
11270 Cannot assert that the refcount has to be positive
11271 since a disposed object can be resurrected.
11273 2005-08-31 Wim Taymans <wim@fluendo.com>
11275 * gst/gstpad.c: (gst_pad_init):
11276 Revert change, need to first fix badly behaving
11279 2005-08-30 Wim Taymans <wim@fluendo.com>
11281 * check/elements/fakesrc.c: (setup_fakesrc):
11282 * check/elements/identity.c: (setup_identity):
11283 Activate pads before using them.
11285 2005-08-30 Wim Taymans <wim@fluendo.com>
11287 * gst/base/gstadapter.c: (gst_adapter_flush):
11288 Flushing out 0 bytes is ok for this function.
11290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11291 no newsegment gives a warning and sets the start/stop to
11294 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
11295 (gst_base_transform_set_passthrough):
11298 * gst/gstminiobject.c: (gst_mini_object_ref):
11299 Check refcount here too.
11301 * gst/gstpad.c: (gst_pad_init):
11302 Pads are initially flushing and refusing data.
11304 * gst/gstutils.c: (gst_element_link_pads_filtered):
11305 When adding a capsfilter element make sure it has the
11306 same state as the parent bin.
11308 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11310 * docs/gst/tmpl/.cvsignore:
11311 * docs/gst/tmpl/gstformat.sgml:
11312 * docs/gst/tmpl/gstversion.sgml:
11316 * gst/gstversion.h.in:
11317 more docs and two more inlined
11319 2005-08-30 Wim Taymans <wim@fluendo.com>
11321 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
11322 Don't sync to clock.
11324 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11326 * docs/gst/gstreamer-sections.txt:
11327 ultral33t func10ns deserve to appear in the docs actually
11328 * docs/gst/tmpl/.cvsignore:
11329 * docs/gst/tmpl/gstcompat.sgml:
11330 * docs/gst/tmpl/gstconfig.sgml:
11331 * gst/check/gstcheck.c:
11333 * gst/gstconfig.h.in:
11336 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11338 * docs/gst/tmpl/.cvsignore:
11339 * docs/gst/tmpl/gstquery.sgml:
11340 * docs/gst/tmpl/gstutils.sgml:
11343 inlined and extended docs
11345 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11347 * check/gst-libs/controller.c: (GST_START_TEST),
11348 (gst_controller_suite):
11350 * docs/gst/tmpl/gstutils.sgml:
11351 * docs/libs/gstreamer-libs-sections.txt:
11352 * docs/libs/tmpl/gstdataprotocol.sgml:
11354 * examples/controller/audio-example.c: (main):
11355 controller example works now
11358 * tools/gst-inspect.c: (print_element_properties_info):
11359 show param spec flags
11361 2005-08-29 Andy Wingo <wingo@pobox.com>
11363 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
11365 2005-08-28 Andy Wingo <wingo@pobox.com>
11367 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
11368 as having two arguments instead of just one. Allows superclasses
11369 to access information on subclasses -- see the terrible for() loop
11370 in gtype.c:g_type_create_instance for the reason why. All callers
11373 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11375 * docs/design/part-messages.txt:
11377 * docs/gst/tmpl/.cvsignore:
11378 * docs/gst/tmpl/gstcaps.sgml:
11379 * docs/gst/tmpl/gstclock.sgml:
11385 * gst/gstmessage.c:
11386 added descriptions for bus and message
11387 inline caps and clock docs
11389 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11391 * gst/gstmessage.c:
11392 * gst/gstmessage.h:
11395 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11397 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11400 2005-08-26 Andy Wingo <wingo@pobox.com>
11402 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
11403 element_set_state's return val.
11404 (test_2_elements): Add test that's been disabled for months.
11406 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
11407 can-activate-pull properties.
11409 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
11410 can-activate-pull properties. Implement is_seekable so fakesrc can
11411 operate in pull mode.
11413 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
11415 (gst_base_sink_activate, gst_base_sink_activate_pull)
11416 (gst_base_sink_activate_push): Make activation mode choosing work.
11418 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
11419 is right. Make pull mode work. Post an eos before pausing in pull
11421 (gst_base_sink_change_state): Pay attention to the core's
11422 change_state() return val.
11424 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
11425 has-getrange properties. Cleanups.
11427 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
11428 has_getrange and replace with can_activate_pull and
11431 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
11432 locking comments. Remove has_loop, has_chain and replace with
11433 can_activate_pull and can_activate_push.
11435 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
11438 * examples/Makefile.am:
11439 * examples/metadata/Makefile.am:
11440 * examples/metadata/read-metadata.c: (message_loop),
11441 (have_pad_handler), (make_pipeline), (print_tag), (main):
11442 Add metadata reading example that loops over a list of filenames,
11443 dumping any tags found.
11445 * gst/gstbus.c: (gst_bus_dispose):
11446 * gst/gstelement.c: (gst_element_dispose):
11447 Release a few potentially-held references in dispose.
11449 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11451 * docs/gst/tmpl/gstminiobject.sgml:
11452 do *not* add tmpl/*.sgml files to CVS!
11454 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11456 * libs/gst/bytestream/.cvsignore:
11457 * libs/gst/bytestream/Makefile.am:
11458 * libs/gst/bytestream/adapter.c:
11459 * libs/gst/bytestream/adapter.h:
11460 * libs/gst/bytestream/bytestream.c:
11461 * libs/gst/bytestream/bytestream.h:
11462 * libs/gst/bytestream/filepad.c:
11463 * libs/gst/bytestream/filepad.h:
11464 removing obsolete files
11466 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11468 * docs/gst/gstreamer-docs.sgml:
11469 * docs/libs/gstreamer-libs-docs.sgml:
11470 disabed additional index entries again, as this makes docs-gen just
11471 slow and they aren't useful yet
11472 * docs/libs/gstreamer-libs-sections.txt:
11473 little -section.txt cleanup for libs
11475 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
11477 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11478 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
11479 fix up some debugging
11480 (gst_base_transform_get_unit_size),
11481 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
11482 (gst_base_transform_handle_buffer):
11483 * gst/base/gstbasetransform.h:
11484 handle and store timed NEWSEGMENT events so that subclasses that
11485 calculate time by counting samples have a segment_start time they
11486 need to add to their timestamps - see audioresample
11488 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11491 removed ';' from the end of macro defs
11492 * docs/gst/gstreamer-docs.sgml:
11493 * docs/gst/gstreamer-sections.txt:
11494 * docs/gst/tmpl/.cvsignore:
11496 * gst/gstelement.c: (gst_element_class_init),
11497 (gst_element_set_state), (activate_pads),
11498 (gst_element_save_thyself):
11499 * gst/gstevent.c: (gst_event_new_newsegment):
11501 * gst/gstiterator.c:
11502 * gst/gstiterator.h:
11505 * gst/gstutils.c: (gst_pad_query_convert):
11507 fixed parameter name mismatches between source, header and docs
11508 added some more docs, resolved the last batch of unused elements in
11509 docs (now someone needs to doc them)
11511 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11513 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
11514 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
11515 don't walk through the plugins backwards. Where is all this
11516 reversed logic coming from ?
11518 2005-08-25 Wim Taymans <wim@fluendo.com>
11520 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11521 (gst_base_transform_transform_size),
11522 (gst_base_transform_configure_caps),
11523 (gst_base_transform_get_unit_size),
11524 (gst_base_transform_buffer_alloc),
11525 (gst_base_transform_change_state):
11526 * gst/base/gstbasetransform.h:
11527 Cache caps unit_size.
11528 Make sure we cannot negotiate up and downstream at the
11531 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11533 * gst/gst.c: (init_pre), (init_post):
11534 register the installed plugin path after the env var
11535 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
11536 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
11537 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
11538 directories, so the tests can prefer uninstalled over installed
11540 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11542 * gst/base/gstbasetransform.h:
11547 2005-08-25 Wim Taymans <wim@fluendo.com>
11549 * gst/gstbin.c: (bin_bus_handler):
11550 Be a bit more conservative about the posted message.
11552 * gst/gstbus.c: (gst_bus_post):
11553 Some cleanups, warn wrong return values.
11555 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
11557 * check/gst/gstbin.c: (GST_START_TEST):
11558 * gst/gstbin.c: (bin_bus_handler):
11559 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11560 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11561 (gst_message_new_warning), (gst_message_new_tag),
11562 (gst_message_new_state_changed), (gst_message_new_segment_start),
11563 (gst_message_new_segment_done), (gst_message_new_custom):
11564 * gst/gstmessage.h:
11565 * tools/gst-launch.c: (event_loop):
11566 * tools/gst-md5sum.c: (event_loop):
11567 Revert unpopular change for GST_MESSAGE_SRC to GObject.
11569 2005-08-25 Wim Taymans <wim@fluendo.com>
11571 * check/generic/states.c: (GST_START_TEST):
11572 Cleanup can be done at the end.
11574 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
11575 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11576 (gst_task_get_state), (gst_task_start), (gst_task_pause):
11577 Oh boy.. Thanks for finding this, Thomas.
11579 2005-08-25 Stefan Kost <ensonic@users.sf.net>
11581 * docs/gst/gstreamer.types:
11582 added missing types
11584 2005-08-25 Stefan Kost <ensonic@users.sf.net>
11586 * docs/gst/gstreamer-docs.sgml:
11587 * docs/gst/gstreamer-sections.txt:
11588 * docs/gst/tmpl/.cvsignore:
11590 * gst/gstiterator.c:
11592 * gst/registries/gstxmlregistry.h:
11593 added missing classes and symbols (123 more to go)
11594 removed removed symbols from section file
11595 fixed many doc-comments
11597 2005-08-24 Wim Taymans <wim@fluendo.com>
11599 * check/generic/states.c: (GST_START_TEST):
11600 Make sure all tasks are stopped.
11602 * check/gst/gstbin.c: (GST_START_TEST):
11603 Unref after usage for proper valgrinding.
11605 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
11606 Really wait for the task to stop before destroying the
11609 * gst/gstqueue.c: (gst_queue_sink_activate_push),
11610 (gst_queue_src_activate_push):
11611 Small cleanups. Don't stop the task when we did not start
11614 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
11615 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11616 (gst_task_get_state), (gst_task_start), (gst_task_pause),
11619 Protect the stream lock with the object lock.
11620 Disallow setting the stream lock when running.
11621 Add cleanup_all to wait for the threadpool to finish.
11622 Remove code to autoallocate a mutex if none was provided.
11623 Add _join() to wait for a task to stop.
11624 Protect the thread pool with a global lock.
11626 2005-08-24 Wim Taymans <wim@fluendo.com>
11628 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11629 (gst_base_sink_get_times), (gst_base_sink_do_sync),
11630 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
11631 * gst/base/gstbasesink.h:
11632 Handle newsegment events correctly.
11633 Drop buffers out of the segment range.
11635 2005-08-22 Andy Wingo <wingo@pobox.com>
11637 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
11638 macro, implements an interface and gstimplementsinterface for a
11641 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
11643 * check/Makefile.am:
11644 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
11645 add a test that does a bunch of state changes on elements
11646 needs some fixing for valgrind
11647 * check/states/sinks.c: (gst_object_suite):
11650 add prototype for gst_caps_is_equal_fixed
11652 * gst/gstregistrypool.c:
11655 2005-08-24 Andy Wingo <wingo@pobox.com>
11657 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
11658 convert a negative value. Doesn't make much sense. Mostly this is
11659 here to force callers to ensure -1 maps to -1.
11661 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
11663 * docs/pwg/advanced-types.xml:
11664 Well done to Michael for catching my deliberate introduction
11665 of this spelling mistake.
11666 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
11667 * gst/gstelement.h:
11668 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
11669 unlink pads before removing the element from the bin.
11671 2005-08-24 Andy Wingo <wingo@pobox.com>
11673 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
11674 the same thing as GST_DEBUG=*:4.
11675 (parse_debug_level, parse_debug_category): New helper parsers.
11677 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
11679 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11680 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
11681 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
11682 (gst_base_transform_buffer_alloc),
11683 (gst_base_transform_handle_buffer):
11684 use gboolean return values and pointers to size so we can use the
11685 full GST_BUFFER_SIZE range (guint) for buffer sizes
11686 use GstPadDirection for transform_caps
11687 * gst/base/gstbasetransform.h:
11688 rename get_size to get_unit_size since that's what it is
11689 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
11690 use GstPadDirection for transform_caps
11691 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11693 cleanup and debugging
11695 2005-08-24 Stefan Kost <ensonic@users.sf.net>
11697 * gst/gstelement.c: (gst_element_class_init),
11698 (gst_element_set_state), (activate_pads),
11699 (gst_element_save_thyself):
11700 * tools/gst-compprep.c: (main):
11701 * tools/gst-inspect.c: (print_element_properties_info):
11702 * tools/gst-xmlinspect.c: (print_element_properties):
11703 Fixed long standing mem-leak
11705 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
11707 * check/gst/gstbin.c: (GST_START_TEST):
11708 * gst/gstbin.c: (bin_bus_handler):
11709 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11710 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11711 (gst_message_new_warning), (gst_message_new_tag),
11712 (gst_message_new_state_changed), (gst_message_new_segment_start),
11713 (gst_message_new_segment_done), (gst_message_new_custom):
11714 * gst/gstmessage.h:
11715 * tools/gst-launch.c: (event_loop):
11716 * tools/gst-md5sum.c: (event_loop):
11717 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
11718 that applications can sensibly post custom messages with references
11719 to their own objects.
11721 2005-08-24 Andy Wingo <wingo@pobox.com>
11723 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
11726 2005-08-24 Wim Taymans <wim@fluendo.com>
11728 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11729 (gst_base_transform_transform_caps),
11730 (gst_base_transform_transform_size),
11731 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11732 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
11733 (gst_base_transform_handle_buffer):
11734 * gst/base/gstbasetransform.h:
11735 Many fixes and new features added by Thomas. Can now also do
11736 transforms with variable sizes and a custom fixate_caps function.
11738 2005-08-24 Wim Taymans <wim@fluendo.com>
11740 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11744 Cast to ClockTime before formatting to time.
11749 2005-08-24 Stefan Kost <ensonic@users.sf.net>
11751 * check/gst-libs/controller.c: (GST_START_TEST),
11752 (gst_controller_suite):
11753 * docs/gst/tmpl/gstcaps.sgml:
11754 * docs/gst/tmpl/gstghostpad.sgml:
11755 * docs/gst/tmpl/gstquery.sgml:
11756 * docs/gst/tmpl/gstutils.sgml:
11757 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
11758 (gst_object_sink_values), (gst_object_get_value_arrays),
11759 (gst_object_get_value_array):
11760 gracefully handle helper method calls to objects that are not beeing
11761 controlled, added test case for that
11763 2005-08-23 Wim Taymans <wim@fluendo.com>
11765 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
11766 (gst_event_new_newsegment), (gst_event_parse_newsegment),
11767 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
11768 (gst_event_parse_qos), (gst_event_new_seek),
11769 (gst_event_parse_seek):
11771 Some more debugging output and doc cleanups.
11773 * gst/gstqueue.c: (gst_queue_handle_sink_event):
11774 Fix possible deadlock.
11776 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11778 * docs/gst/gstreamer-docs.sgml:
11779 * docs/gst/gstreamer-sections.txt:
11780 * docs/gst/gstreamer.types:
11781 * docs/gst/tmpl/.cvsignore:
11784 * gst/gstelement.c:
11786 added 100 symbols from gstreamer-unused.txt to the right sections
11787 fixed more broken comments
11788 added GstBus to docs
11790 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11792 * docs/gst/gstreamer-sections.txt:
11793 * docs/gst/tmpl/.cvsignore:
11794 * docs/gst/tmpl/gstbin.sgml:
11795 * docs/gst/tmpl/gstbuffer.sgml:
11796 * gst/base/gstbasesrc.c:
11797 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
11800 * tools/gst-launch.1.in:
11801 inlined more doc comments, added missing comments and fixed comments
11804 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
11806 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11810 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
11812 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
11813 * gst/gststructure.h:
11814 add a fixate function for booleans; add a FIXME that these func
11815 names should probably be gst_structure_fixate_*
11817 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11819 * docs/gst/gstreamer-docs.sgml:
11820 * docs/gst/gstreamer-sections.txt:
11822 * gst/gstbin.c: (gst_bin_get_type),
11823 (gst_bin_child_proxy_get_child_by_index),
11824 (gst_bin_child_proxy_get_children_count),
11825 (gst_bin_child_proxy_init):
11826 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11827 (gst_child_proxy_get_child_by_index),
11828 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
11829 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
11830 (gst_child_proxy_get), (gst_child_proxy_set_property),
11831 (gst_child_proxy_set_valist), (gst_child_proxy_set),
11832 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
11833 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
11834 * gst/gstchildproxy.h:
11835 * gst/parse/grammar.y:
11836 * tools/gst-inspect.c: (print_interfaces),
11837 (print_element_properties_info), (print_element_info):
11838 ported gstchildproxy over from 0.8
11839 ported gst-inspect fixes and enhancements over from 0.8
11841 2005-08-22 Wim Taymans <wim@fluendo.com>
11843 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11844 (gst_base_transform_handle_buffer):
11845 Also call the transform function if we have ANY caps.
11847 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
11850 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
11852 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
11853 Don't pretend to handle seek events if the source is not seekable
11855 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
11857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11858 Remove extra parameter to debug output
11860 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
11861 (gst_base_src_do_seek), (gst_base_src_activate_push):
11862 Fix seek event handling.
11864 * gst/gstpipeline.c: (gst_pipeline_change_state):
11865 * gst/gstqueue.c: (gst_queue_handle_sink_event),
11866 (gst_queue_src_activate_push):
11867 Don't start the src pad task on FLUSH_STOP if the pad
11871 2005-08-22 Wim Taymans <wim@fluendo.com>
11873 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11874 Added check for gst_static_caps_get() refcounting.
11876 2005-08-22 Wim Taymans <wim@fluendo.com>
11878 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
11879 Make _static_caps_get() refcounting sane.
11881 * gst/gstelement.c: (gst_element_set_state):
11882 Add g_return_val_if_fail() to protect against segfaults.
11884 2005-08-22 Stefan Kost <ensonic@users.sf.net>
11886 * docs/gst/tmpl/gstevent.sgml:
11889 inlined remaining docs, added missing doc comments
11891 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
11893 * check/gst/gstbin.c: (GST_START_TEST):
11894 since we don't know when preroll is done, use refcount range
11896 * gst/check/gstcheck.h:
11897 add macro for checking refcount range
11899 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
11901 * check/Makefile.am:
11902 clean up environment for when registry gets built versus
11903 when actual tests are run; valgrind seems to not report
11904 leaks if GST_PLUGIN_PATH is set to some specific values
11905 * check/gst/gstbin.c: (GST_START_TEST):
11906 add more refcounting checks; maybe this exposes a
11908 * common/check.mak:
11909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11910 * gst/check/gstcheck.h:
11911 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
11912 (gst_bin_change_state):
11913 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
11914 add/fix debugging/whitespace
11916 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
11918 * check/gst/gstevent.c: (event_probe), (test_event),
11920 Er, don't call gst_bin_watch_for_state_change you idiot.
11922 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
11924 * check/Makefile.am:
11925 Use CHECK_CFLAGS and CHECK_LIBS
11926 * check/gst/gstevent.c: (event_probe), (test_event),
11929 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
11930 (gst_base_src_start), (gst_base_src_stop),
11931 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11932 (gst_base_src_change_state):
11933 Sprinkle gst_base_src_stop liberally around error paths to fix
11934 problems reusing a source after failed state changes.
11935 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11936 (helper_find_suggest), (gst_type_find_helper):
11937 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
11939 * docs/gst/tmpl/gstevent.sgml:
11940 Migrate part of the docs from the SGML file. Wait for ensonic to
11941 tell me how I did it wrong ;)
11942 * tools/gst-typefind.c: (main):
11943 Extra robustness to state changes between files.
11945 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
11947 * check/Makefile.am:
11948 don't valgrind the controller test - it's leaking - Stefan, HELP
11949 * gst/check/gstcheck.c: (gst_check_message_error),
11950 (gst_check_chain_func), (gst_check_setup_element),
11951 (gst_check_teardown_element), (gst_check_setup_src_pad),
11952 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11953 (gst_check_teardown_sink_pad):
11954 * gst/check/gstcheck.h:
11955 add a bunch of methods to set up elements, and src and sink pads
11956 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
11957 * check/elements/identity.c: (setup_identity), (cleanup_identity),
11960 * gst/gstmessage.c:
11962 whitespace/doc fixes
11964 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11966 * gst/gstelement.h:
11967 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
11968 be handled by the application and not always printed as well
11970 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11972 * check/Makefile.am:
11974 * gst/check/gstcheck.c: (gst_check_message_error):
11975 * gst/check/gstcheck.h:
11976 add a fail_unless_equals_int
11977 add fail_unless for error messages
11979 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11981 * check/Makefile.am:
11983 * common/Makefile.am:
11984 * common/check.mak:
11986 factor out some of the common stuff so we can use it
11988 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11990 * check/Makefile.am:
11991 * check/gst/gstiterator.c: (GST_START_TEST):
11992 * check/gst/gstsystemclock.c: (GST_START_TEST),
11993 (gst_systemclock_suite):
11994 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11996 valgrind more tests
11998 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12000 * check/elements/.cvsignore:
12001 * check/elements/gstfakesrc.c:
12002 rename to name of element
12003 * check/elements/identity.c: (chain_func), (event_func),
12004 (setup_identity), (cleanup_identity), (GST_START_TEST),
12005 (identity_suite), (main):
12006 add a test for identity
12007 * check/Makefile.am:
12008 * pkgconfig/Makefile.am:
12009 * pkgconfig/gstreamer-check.pc.in:
12010 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12014 move the check stuff to a library that gets installed
12015 * check/gst-libs/controller.c: (GST_START_TEST):
12016 * check/gst-libs/gdp.c:
12017 * check/gst/gst.c: (GST_START_TEST):
12018 * check/gst/gstbin.c:
12019 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12020 * check/gst/gstbus.c:
12021 * check/gst/gstcaps.c: (GST_START_TEST):
12022 * check/gst/gstelement.c:
12023 * check/gst/gstghostpad.c:
12024 * check/gst/gstiterator.c:
12025 * check/gst/gstmessage.c:
12026 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12027 * check/gst/gstobject.c:
12028 * check/gst/gstpad.c: (GST_START_TEST):
12029 * check/gst/gststructure.c: (GST_START_TEST):
12030 * check/gst/gstsystemclock.c: (GST_START_TEST),
12031 (gst_systemclock_suite):
12032 * check/gst/gsttag.c: (gst_tag_suite):
12033 * check/gst/gstvalue.c:
12034 * check/pipelines/cleanup.c:
12035 * check/pipelines/simple_launch_lines.c:
12036 * check/states/sinks.c:
12037 change include statement
12039 * docs/gst/gstreamer-sections.txt:
12040 * docs/gst/tmpl/gstpad.sgml:
12041 document more pad stuff
12042 * gst/gstminiobject.c: (gst_mini_object_ref),
12043 (gst_mini_object_unref):
12046 2005-08-19 Stefan Kost <ensonic@users.sf.net>
12048 * docs/gst/tmpl/gst.sgml:
12050 eliminate another tmpl file, fix spelling in the long-description
12052 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12054 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12055 (test_event), (timediff), (gstevents_suite):
12056 Should fix build on 64-bit arch's
12058 2005-08-18 Andy Wingo <wingo@pobox.com>
12060 Make sure that when a pipeline goes to PLAYING, that data has
12061 actually hit the sink.
12063 * check/states/sinks.c (test_sink): A sink that doesn't get any
12064 data shouldn't return SUCCESS for going to either PLAYING or
12065 PAUSED. Test also the return values on the way back down.
12067 * gst/gstelement.c (gst_element_set_state): When changing the
12068 state of an element currently changing state asynchronously, go to
12069 lost-state after commiting the pending state. Makes future calls
12070 to get_state continue to return ASYNC.
12072 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12073 ASYNC when going to PLAYING if we still don't have preroll, as can
12074 happen with live sources.
12076 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12078 * docs/pwg/advanced-types.xml:
12079 Hack long paragraph into 2 chunks as a workaround for buggy
12080 jadetex version in sid and breezy that loops infinitely and
12083 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12085 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12086 (test_event), (timediff), (gstevents_suite):
12087 Provide more error margin in clock measurements to allow for
12088 g_get_current_time inaccuracies.
12090 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12092 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12093 (test_event), (timediff), (gstevents_suite):
12094 Fix error message output so I might be able to tell why the
12095 test works here but fails on the build farm.
12097 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12099 * check/Makefile.am:
12100 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12101 (test_event), (timediff), (gstevents_suite), (main):
12104 * docs/design/part-seeking.txt:
12105 Spelling correction
12107 * docs/gst/tmpl/gstevent.sgml:
12108 * docs/gst/tmpl/gstfakesrc.sgml:
12111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12112 Treat a buffer-without-newsegment the same as a receiving
12113 a newsegment not in time format, and disable syncing to the clock
12116 * gst/gstbus.c: (gst_bus_set_sync_handler):
12117 Assert if anyone tries to replace the existing sync_handler for bus,
12118 as only the owner should be setting it.
12121 Have a fixed set of custom event enums with events identified by
12122 their structure name (as in 0.8), rather than a free-for-all
12123 allowing collisions between enum values from different plugins.
12125 * gst/gstpad.c: (gst_pad_class_init):
12128 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12129 Handle out-of-band downstream events from the sending thread.
12131 2005-08-17 Andy Wingo <wingo@pobox.com>
12133 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12134 play-timeout==0 to mean no timeout at all. In that case, don't
12135 bother with a get_state or a warning, just return directly, even
12138 * gst/base/gstbasetransform.c: Debug changes.
12141 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12142 ensure bins post state change messages. A bit of a hack but I can't
12143 think of a way to avoid it.
12145 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12147 2005-08-16 Andy Wingo <wingo@pobox.com>
12149 * gst/base/gstadapter.h:
12150 * gst/base/gstadapter.c (gst_adapter_take): New function, like
12151 peek() but you own the data. Not terribly efficient atm.
12153 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12155 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12156 (gst_element_found_tags):
12158 Add two utility functions for tag handling.
12160 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12162 * docs/manual/advanced-dataaccess.xml:
12163 * docs/manual/basics-helloworld.xml:
12164 Fix docs to use _bin_add() before _link(), which fixes the examples
12165 with recent core versions (reported by Madhan Raj M
12166 <raj_madan@rediffmail.com>, #313199).
12168 2005-08-16 Wim Taymans <wim@fluendo.com>
12170 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12171 Added subtract checks.
12173 * docs/design/part-events.txt:
12174 Some more docs about newsegment
12176 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12179 * gst/gstcaps.c: (gst_caps_to_string):
12180 Add comments, cleanups.
12182 * gst/gstelement.c: (gst_element_save_thyself):
12185 * gst/gstvalue.c: (gst_value_collect_int_range),
12186 (gst_string_unwrap), (gst_value_union_int_int_range),
12187 (gst_value_union_int_range_int_range),
12188 (gst_value_intersect_int_int_range),
12189 (gst_value_intersect_int_range_int_range),
12190 (gst_value_intersect_double_double_range),
12191 (gst_value_intersect_double_range_double_range),
12192 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12193 (gst_value_subtract_int_range_int),
12194 (gst_value_subtract_double_range_double),
12195 (gst_value_subtract_double_range_double_range),
12196 (gst_value_subtract_from_list), (gst_value_subtract_list),
12197 (gst_value_can_compare), (gst_value_compare_fraction):
12198 Cleanups, add comments, remove unneeded asserts.
12200 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12202 * tools/gst-launch.c: (event_loop):
12203 don't convert NULL structures to strings
12205 2005-08-15 Stefan Kost <ensonic@users.sf.net>
12207 * docs/gst/gstreamer-sections.txt:
12208 made some defines private
12209 * docs/gst/tmpl/gstconfig.sgml:
12210 * docs/gst/tmpl/gstqueue.sgml:
12211 * docs/gst/tmpl/gsttaglist.sgml:
12212 * docs/gst/tmpl/gsttypes.sgml:
12213 * docs/gst/tmpl/gstutils.sgml:
12214 * docs/pwg/appendix-porting.xml:
12215 * gst/base/gstbasesink.h:
12216 * gst/base/gstbasesrc.c:
12217 * gst/base/gstbasesrc.h:
12218 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12219 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12220 * gst/gstelement.c: (gst_element_class_init):
12221 * gst/gstpad.c: (gst_pad_class_init):
12222 * gst/gstqueue.c: (gst_queue_class_init):
12223 * gst/gstxml.c: (gst_xml_class_init):
12224 documented all undocumented signal inline
12225 * libs/gst/controller/gst-controller.h:
12228 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12230 * docs/pwg/appendix-porting.xml:
12231 Document _set_link_function -> _set_setcaps_function.
12233 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12235 * check/Makefile.am:
12236 add a .check target for running the check
12237 * check/gst-libs/controller.c: (GST_START_TEST):
12239 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12240 complete checks for gstbuffer; would be nice if I could get the
12241 gcov stuff to work so I can see if I actually completed gstbuffer.c
12242 * check/gstcheck.h:
12243 add ASSERT_BUFFER_REFCOUNT
12245 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
12247 * docs/gst/gstreamer-sections.txt:
12248 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12250 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
12251 spew out a warning if a tag that is already registered
12252 is re-registered, unless it is re-registered with a
12253 different type (#308438).
12255 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
12257 * docs/pwg/appendix-porting.xml:
12258 * docs/pwg/building-state.xml:
12259 Add some paragraphs about state changes in 0.9 to the PWG
12260 and the porting guide, in particular about the new meaning
12261 of GST_STATE_PAUSED and how to write state change functions
12262 with concurrent access by multiple threads in mind.
12264 2005-08-11 Stefan Kost <ensonic@users.sf.net>
12266 * docs/gst/gstreamer-docs.sgml:
12267 * docs/libs/gstreamer-libs-docs.sgml:
12268 added deprecation and since indexes
12269 * libs/gst/controller/gst-controller.c:
12270 * libs/gst/controller/gst-helper.c:
12274 2005-08-11 Wim Taymans <wim@fluendo.com>
12276 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
12277 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
12278 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
12279 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
12280 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
12281 (gst_ghost_pad_set_target):
12282 Actually implement (re)setting the target on a ghostpad
12283 as described in the docs.
12285 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12287 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
12288 Check whether GST_DEBUG_NO_COLOR environment variable is
12289 set and disable coloured debug output if that is the case.
12291 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12293 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12294 (gst_type_find_helper):
12295 The memory returned by gst_type_find_peek() needs to
12296 stay valid until the end of a typefind function, and
12297 typefind functions may keep results from different
12298 offsets around, so we can't just unref the buffer from
12299 the previous _peek(), but have to save all buffers
12300 returned by _peek() until typefinding is done and only
12303 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
12305 * docs/gst/gstreamer-sections.txt:
12307 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
12309 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12311 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12312 Fix a pretty good memleak.
12314 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
12316 * gst/gstiterator.h:
12317 Fix wrong include and 'make distcheck'.
12319 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12321 * gst/gstbin.c: (bin_bus_handler):
12322 Use gst_element_post_message() instead.
12324 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
12326 * gst/base/gstadapter.h:
12327 * gst/base/gstbasesink.h:
12328 * gst/base/gstbasesrc.h:
12329 * gst/base/gstbasetransform.h:
12330 * gst/base/gstcollectpads.h:
12331 * gst/base/gstpushsrc.h:
12332 * gst/gstiterator.h:
12333 Add padding to our base elements' class and instance structs and
12334 to GstIterator (you will need to rebuild all plugins and apps!)
12336 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12338 * gst/gstbin.c: (bin_bus_handler):
12339 Make default message forwarding from child->bus to bin->bus
12340 threadsafe and make it not emit warnings if the parent has no bus.
12342 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12344 * gst/gstelement.c: (activate_pads):
12345 On paused->ready, set pad->caps to NULL, as is the documented
12346 behaviour in this state change. Fixes playback of series of
12347 media files when visualization is enabled in Totem.
12349 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12351 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12352 Allow NULL as filter-caps (which means "any").
12354 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12356 * docs/libs/gstreamer-libs-sections.txt:
12357 * libs/gst/controller/gst-controller.c:
12358 * libs/gst/controller/gst-controller.h:
12359 * libs/gst/controller/gst-helper.c:
12360 adding more entries to the docs and fix small doc-bugs
12362 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12364 * docs/gst/gstreamer-docs.sgml:
12365 * docs/gst/gstreamer-sections.txt:
12366 * docs/gst/gstreamer.types:
12367 * docs/gst/tmpl/gstbasesink.sgml:
12368 * docs/gst/tmpl/gstbasesrc.sgml:
12369 * docs/gst/tmpl/gstbasetransform.sgml:
12370 * docs/gst/tmpl/gstfakesrc.sgml:
12371 * gst/base/gstcollectpads.c:
12372 * gst/base/gstcollectpads.h:
12373 * libs/gst/controller/gst-controller.c:
12374 * libs/gst/controller/gst-controller.h:
12375 * libs/gst/controller/gst-helper.c:
12376 * libs/gst/controller/gst-interpolation.c:
12377 * libs/gst/controller/lib.c:
12378 added long/short desc for controller docs
12379 added collectpads base class docs
12380 added correct includes to base-class docs
12382 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12384 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12385 (gst_test_mono_source_set_property),
12386 (gst_test_mono_source_class_init), (GST_START_TEST),
12387 (gst_controller_suite):
12388 * docs/gst/gstreamer-docs.sgml:
12389 * docs/gst/gstreamer-sections.txt:
12390 * docs/gst/gstreamer.types:
12391 * docs/libs/gstreamer-libs-docs.sgml:
12392 * docs/libs/gstreamer-libs-sections.txt:
12393 * gst/base/gstadapter.c:
12394 * libs/gst/controller/gst-controller.c:
12395 (gst_controlled_property_new), (gst_controlled_property_free),
12396 (gst_controller_new_valist),
12397 (gst_controller_remove_properties_valist),
12398 (gst_controller_sink_values), (_gst_controller_finalize):
12399 * libs/gst/controller/gst-controller.h:
12400 * libs/gst/controller/gst-helper.c:
12401 (gst_object_control_properties), (gst_object_uncontrol_properties),
12402 (gst_object_get_controller), (gst_object_set_controller),
12403 (gst_object_sink_values), (gst_object_get_value_arrays),
12404 (gst_object_get_value_array):
12405 more tests (and fixes) for the controller
12406 more docs for the controller
12407 integrated companies docs for the adapter
12409 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
12411 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
12412 (GST_START_TEST), (fakesrc_suite):
12413 add tests for sizetype
12415 2005-08-04 Andy Wingo <wingo@pobox.com>
12417 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
12418 fixes buffer_alloc proxying among other things.
12420 * gst/base/gstbasetransform.c:
12421 * gst/base/gstbasetransform.h:
12422 Revert patch to gstbasetransform from 7-28 removing
12425 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
12426 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
12427 Semantics changed, should return not the size of the output buffer
12428 but the byte size of a buffer with a given caps.
12430 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
12432 (gst_base_transform_configure_caps): Don't set out_size here: (in,
12433 out) are not the pad caps until setcaps finishes.
12434 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
12435 not-in-place case as well. Deal with changing from in-place to
12436 not-in-place within calling pad_alloc_buffer. Still a bit
12437 concerned about the overhead here...
12439 2005-08-03 Andy Wingo <wingo@pobox.com>
12441 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
12442 fixating is an error.
12444 2005-08-04 Edward Hervey <edward@fluendo.com>
12446 * gst/base/gstadapter.h:
12447 Added gst_adapter_get_type() to the header
12449 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12451 * check/Makefile.am:
12452 * check/gst-libs/controller.c:
12453 * libs/gst/controller/gst-controller.c:
12454 (gst_controller_new_valist):
12455 added check test suite for the controller
12456 * gst/base/gstpushsrc.c:
12459 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12461 * docs/gst/Makefile.am:
12462 * docs/gst/gstreamer-docs.sgml:
12463 * docs/gst/gstreamer-sections.txt:
12464 * docs/gst/gstreamer.types:
12465 * docs/gst/tmpl/gstfakesrc.sgml:
12467 * gst/base/gstbasesink.c:
12468 * gst/base/gstbasesink.h:
12469 * gst/base/gstbasesrc.c:
12470 * gst/base/gstbasesrc.h:
12471 * gst/base/gstbasetransform.c:
12472 * gst/base/gstpushsrc.c:
12473 * gst/base/gstpushsrc.h:
12474 add short/long description docs to base classes
12475 add pushsrc to the docs
12476 remove consolidated doc fragments
12478 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12481 * docs/libs/Makefile.am:
12482 * docs/libs/gstreamer-libs-docs.sgml:
12483 * docs/libs/gstreamer-libs-sections.txt:
12484 * docs/libs/gstreamer-libs.types:
12485 * examples/Makefile.am:
12486 * examples/controller/.cvsignore:
12487 * examples/controller/Makefile.am:
12488 * examples/controller/audio-example.c: (main):
12489 * libs/gst/Makefile.am:
12490 * libs/gst/controller/.cvsignore:
12491 * libs/gst/controller/Makefile.am:
12492 * libs/gst/controller/gst-controller.c:
12493 (on_object_controlled_property_changed), (gst_timed_value_compare),
12494 (gst_timed_value_find),
12495 (gst_controlled_property_set_interpolation_mode),
12496 (gst_controlled_property_new), (gst_controlled_property_free),
12497 (gst_controller_find_controlled_property),
12498 (gst_controller_new_valist), (gst_controller_new),
12499 (gst_controller_remove_properties_valist),
12500 (gst_controller_remove_properties), (gst_controller_set),
12501 (gst_controller_set_from_list), (gst_controller_unset),
12502 (gst_controller_get), (gst_controller_get_all),
12503 (gst_controller_sink_values), (gst_controller_get_value_arrays),
12504 (gst_controller_get_value_array),
12505 (gst_controller_set_interpolation_mode),
12506 (_gst_controller_finalize), (_gst_controller_init),
12507 (_gst_controller_class_init), (gst_controller_get_type):
12508 * libs/gst/controller/gst-controller.h:
12509 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
12510 (g_object_uncontrol_properties), (g_object_get_controller),
12511 (g_object_set_controller), (g_object_sink_values),
12512 (g_object_get_value_arrays), (g_object_get_value_array):
12513 * libs/gst/controller/gst-interpolation.c:
12514 (gst_controlled_property_find_timed_value_node),
12515 (interpolate_none_get), (interpolate_trigger_get),
12516 (interpolate_trigger_get_value_array):
12517 * libs/gst/controller/lib.c: (gst_controller_init):
12518 * pkgconfig/Makefile.am:
12519 * pkgconfig/gstreamer-control-uninstalled.pc.in:
12520 * pkgconfig/gstreamer-control.pc.in:
12521 * testsuite/Makefile.am:
12522 * testsuite/controller/.cvsignore:
12523 * testsuite/controller/Makefile.am:
12524 * testsuite/controller/interpolator.c: (main):
12525 added controller code
12526 removed dparam pc files
12528 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12529 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
12530 (gst_collectpads_stop):
12531 Broadcast the condition when shutting down, to make sure we wake all
12532 threads up. Shut down pads on finalize, for safety.
12534 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12535 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12536 (gst_base_transform_handle_buffer),
12537 (gst_base_transform_change_state):
12538 Handle PAUSED->READY->PAUSED transition after negotiation
12540 * gst/gstmessage.c: (gst_message_init):
12541 Extra piece of debug for new messages.
12543 2005-08-01 Stefan Kost <ensonic@users.sf.net>
12546 * docs/gst/tmpl/gstbasesrc.sgml:
12547 * docs/gst/tmpl/gstelement.sgml:
12548 * docs/gst/tmpl/gstevent.sgml:
12549 * docs/gst/tmpl/gstfakesrc.sgml:
12550 * docs/gst/tmpl/gstformat.sgml:
12551 * docs/gst/tmpl/gstghostpad.sgml:
12552 * docs/gst/tmpl/gstpad.sgml:
12553 * docs/gst/tmpl/gstquery.sgml:
12554 * docs/gst/tmpl/gststructure.sgml:
12555 * docs/gst/tmpl/gsttaglist.sgml:
12556 * docs/gst/tmpl/gstvalue.sgml:
12557 * docs/libs/gstreamer-libs-docs.sgml:
12558 * docs/libs/gstreamer-libs-sections.txt:
12559 * docs/libs/gstreamer-libs.types:
12560 * libs/gst/Makefile.am:
12561 * libs/gst/control/.cvsignore:
12562 * libs/gst/control/Makefile.am:
12563 * libs/gst/control/control.c:
12564 * libs/gst/control/control.h:
12565 * libs/gst/control/dparam.c:
12566 * libs/gst/control/dparam.h:
12567 * libs/gst/control/dparam_smooth.c:
12568 * libs/gst/control/dparam_smooth.h:
12569 * libs/gst/control/dparamcommon.h:
12570 * libs/gst/control/dparammanager.c:
12571 * libs/gst/control/dparammanager.h:
12572 * libs/gst/control/dplinearinterp.c:
12573 * libs/gst/control/dplinearinterp.h:
12574 * libs/gst/control/unitconvert.c:
12575 * libs/gst/control/unitconvert.h:
12576 * testsuite/Makefile.am:
12577 * testsuite/dynparams/.cvsignore:
12578 * testsuite/dynparams/Makefile.am:
12579 * testsuite/dynparams/dparamstest.c:
12580 * tools/Makefile.am:
12581 * tools/gst-inspect.c: (print_element_info), (main):
12582 * tools/gst-xmlinspect.c: (print_element_info), (main):
12583 deactivate and remove dparams (libgstcontrol)
12585 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12587 * gst/elements/gsttypefindelement.c:
12588 (gst_type_find_element_have_type), (gst_type_find_element_init),
12589 (stop_typefinding), (gst_type_find_element_handle_event),
12590 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12591 * gst/elements/gsttypefindelement.h:
12592 Set caps on all outgoing buffers, not just the first one.
12594 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12596 * gst/elements/gsttypefindelement.c:
12597 (gst_type_find_element_have_type),
12598 (gst_type_find_element_check_set_buffer_caps),
12599 (gst_type_find_element_init), (stop_typefinding),
12600 (gst_type_find_element_handle_event),
12601 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12602 * gst/elements/gsttypefindelement.h:
12603 Set caps on first outgoing buffer when we've found the type.
12605 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12607 * docs/gst/gstreamer-docs.sgml:
12608 * docs/gst/gstreamer-sections.txt:
12609 * docs/gst/tmpl/gstscheduler.sgml:
12610 * docs/gst/tmpl/gstschedulerfactory.sgml:
12611 Remove some old cruft from docs.
12613 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
12616 Fix inline docs for GstPadLinkReturn.
12618 * gst/gststructure.c: (gst_structure_has_name):
12619 * gst/gststructure.h:
12620 * docs/gst/gstreamer-sections.txt:
12621 New API: gst_structure_has_name().
12623 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
12626 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
12627 and _LARGEFILE_SOURCE in config.h as required. Do not
12628 export those flags in our .pc files any longer (#142209).
12630 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
12632 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
12633 (gst_file_sink_do_seek), (gst_file_sink_event),
12634 (gst_file_sink_get_current_offset), (gst_file_sink_render):
12635 Redo seek/tell calls with large file support in mind; add some
12636 debugging messages; add log message that tells us when large
12637 file support is unavailable or not enabled for some reason.
12639 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
12640 Add log message that tells us when large file support
12641 is unavailable or not enabled for some reason.
12643 2005-07-29 Wim Taymans <wim@fluendo.com>
12645 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12646 Added test for removing an element with ghostpad from a bin.
12647 Fixed test as current implementation does the right thing.
12649 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
12650 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
12651 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
12652 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
12653 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
12654 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12655 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12656 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12657 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
12658 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
12659 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
12660 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
12661 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12662 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
12663 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
12664 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12665 * gst/gstghostpad.h:
12666 Clean up ghostpads, remove properties for internal stuff.
12669 Prepare for switching targets, not all use cases work yet.
12671 2005-07-29 Wim Taymans <wim@fluendo.com>
12673 * docs/design/part-gstghostpad.txt:
12676 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12677 (gst_bin_remove_func):
12678 Unlinking pads while holding the bin LOCK is not a good
12681 * gst/gstpad.c: (gst_pad_class_init),
12682 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
12683 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
12684 No prob setting template after creating the pad.
12686 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
12688 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
12689 (gst_bus_peek), (gst_bus_source_dispatch),
12690 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
12691 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
12692 gst_bus_poll may be called from other threads. Handle
12693 this nicely by not making poll_data disappear off the
12694 stack once gst_bus_poll returns.
12695 gst_bus_peek now increments the refcount on the returned
12698 2005-07-29 Wim Taymans <wim@fluendo.com>
12700 * docs/design/part-gstghostpad.txt:
12701 Overview of current GhostPad datastructures and use
12702 cases for changing the target.
12704 2005-07-28 Wim Taymans <wim@fluendo.com>
12706 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12707 Added checks for hierarchy consistency whan adding linked
12710 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12711 Added check to test element scheduling without bin/pipeline.
12713 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12714 First add elements to bin, then link.
12716 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12717 (gst_bin_remove_func):
12718 Unlink pads from elements added/removed from bin to maintain
12719 hierarchy consistency.
12721 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12723 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12724 (gst_base_transform_handle_buffer):
12725 * gst/base/gstbasetransform.h:
12726 Remove broken delay_configure (fixes renegotiation of software
12727 scaling pipelines); remove some leftover printf()s.
12729 2005-07-28 Wim Taymans <wim@fluendo.com>
12731 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12732 Added some more tests for wrong hierarchy
12734 * docs/design/part-overview.txt:
12737 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
12740 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
12741 (gst_element_dispose):
12742 Some more cleanups.
12744 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12745 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
12746 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12747 (gst_pad_set_caps), (gst_pad_send_event):
12748 Check for correct hierarchy when linking pads. Moving to
12749 strict requirement for ghostpads when linking elements in
12753 Clean ups. Added WRONG_HIERARCHY return value.
12755 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12757 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12758 Better debug if no transform is possible.
12760 2005-07-27 Wim Taymans <wim@fluendo.com>
12762 * docs/random/wtay/network-transp:
12763 Some old doc I had.
12765 2005-07-27 Wim Taymans <wim@fluendo.com>
12767 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12768 (gst_dp_event_from_packet):
12769 Fix serialization of seek events.
12771 2005-07-27 Wim Taymans <wim@fluendo.com>
12773 * check/gst-libs/gdp.c: (GST_START_TEST):
12774 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12775 Fix compilation and fix event serialization.
12777 2005-07-27 Wim Taymans <wim@fluendo.com>
12780 * docs/design/part-TODO.txt:
12781 * docs/design/part-events.txt:
12784 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12785 (gst_base_sink_event), (gst_base_sink_do_sync),
12786 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12787 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12788 (gst_base_src_do_seek), (gst_base_src_event_handler),
12789 (gst_base_src_loop):
12790 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12791 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12792 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12793 (gst_base_transform_event), (gst_base_transform_handle_buffer),
12794 (gst_base_transform_set_passthrough),
12795 (gst_base_transform_is_passthrough):
12796 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12797 * gst/elements/gstfilesink.c: (gst_file_sink_event):
12803 * gst/gstelement.c: (gst_element_seek):
12804 * gst/gstelement.h:
12805 Update gst_element_seek.
12807 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
12808 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
12809 (gst_event_new_flush_start), (gst_event_new_flush_stop),
12810 (gst_event_new_eos), (gst_event_new_newsegment),
12811 (gst_event_parse_newsegment), (gst_event_new_tag),
12812 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
12813 (gst_event_parse_qos), (gst_event_new_seek),
12814 (gst_event_parse_seek), (gst_event_new_navigation):
12816 Make GstEvent use GstStructure. Add parsing code, make sure the
12817 API is sufficiently generic.
12818 Mark possible directions of events and serialization.
12820 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
12821 (_gst_message_copy), (gst_message_new_segment_start),
12822 (gst_message_new_segment_done), (gst_message_new_custom),
12823 (gst_message_parse_segment_start),
12824 (gst_message_parse_segment_done):
12827 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12828 (gst_pad_set_caps), (gst_pad_send_event):
12829 Update for new events.
12830 Catch events sent in wrong directions.
12832 * gst/gstqueue.c: (gst_queue_link_src),
12833 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
12834 (gst_queue_handle_src_query):
12839 Remove event code from this file.
12841 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12842 (gst_dp_event_from_packet):
12845 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12847 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
12848 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12849 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
12850 Make debugging actually useful.
12852 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12854 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
12855 (gst_pad_fixate_caps):
12856 Implement default fixation once again, so that gst_pad_fixate()
12857 actually does anything at all. This probably needs to be some
12858 sort of a last resort, and use profile-based fixation first, but
12859 since that doesn't exist yet, this is the best we have. Fixes
12860 visualization in Totem.
12862 2005-07-22 Wim Taymans <wim@fluendo.com>
12864 * docs/design/part-events.txt:
12867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12868 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
12869 (gst_base_sink_activate_pull):
12870 Some more comments.
12872 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
12873 (gst_fake_src_create):
12874 Fix handoff marshall.
12876 * gst/elements/gstidentity.c: (gst_identity_class_init),
12877 (gst_identity_transform_ip):
12878 We're a real inplace element.
12880 * gst/gstbus.c: (gst_bus_post):
12881 Added some comments.
12883 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
12884 * tests/muxing/case1.c: (main):
12885 * tests/sched/dynamic-pipeline.c: (main):
12886 * tests/sched/interrupt1.c: (main):
12887 * tests/sched/interrupt2.c: (main):
12888 * tests/sched/interrupt3.c: (main):
12889 * tests/sched/runxml.c: (main):
12890 * tests/sched/sched-stress.c: (main):
12891 * tests/seeking/seeking1.c: (event_received), (main):
12892 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12894 * tests/threadstate/threadstate3.c: (main):
12895 * tests/threadstate/threadstate4.c: (main):
12896 * tests/threadstate/threadstate5.c: (main):
12899 2005-07-21 Wim Taymans <wim@fluendo.com>
12901 * docs/design/part-seeking.txt:
12902 Some small additions.
12904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12905 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12906 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12907 * gst/base/gstbasesink.h:
12908 discont values are gint64, handle the math correctly.
12910 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12911 Make the basesrc report error if the source pad is not linked.
12913 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
12914 (gst_queue_loop), (gst_queue_handle_src_query),
12915 (gst_queue_src_activate_push):
12916 Make queue collect data even if the srcpad is not linked.
12917 Start pushing out data as soon as it is linked.
12919 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
12921 Added gst_flow_get_name() to ease error reporting.
12923 2005-07-20 Wim Taymans <wim@fluendo.com>
12925 * gst/gstmessage.c: (gst_message_new_segment_start),
12926 (gst_message_new_segment_done), (gst_message_parse_segment_start),
12927 (gst_message_parse_segment_done):
12928 * gst/gstmessage.h:
12929 Added a bunch of messages for advanced seeking.
12931 * gst/parse/grammar.y:
12932 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
12933 (gst_dpman_state_changed):
12934 Fix some new-pad -> pad-added signals
12936 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12938 * docs/manual/appendix-porting.xml:
12939 * docs/pwg/appendix-porting.xml:
12940 Document new-pad/state-change signal renames and the FixedList
12943 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12945 * docs/manual/advanced-autoplugging.xml:
12946 * docs/manual/basics-helloworld.xml:
12947 * docs/manual/basics-pads.xml:
12948 * docs/random/ds/0.9-suggested-changes:
12949 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
12950 * gst/gstelement.h:
12954 * gst/gststructure.c: (gst_structure_value_get_generic_type),
12955 (gst_structure_parse_array), (gst_structure_parse_value):
12956 * gst/gstvalue.c: (gst_type_is_fixed),
12957 (gst_value_list_prepend_value), (gst_value_list_append_value),
12958 (gst_value_list_get_size), (gst_value_list_get_value),
12959 (gst_value_transform_array_string), (gst_value_serialize_array),
12960 (gst_value_deserialize_array), (gst_value_intersect_array),
12961 (gst_value_is_fixed), (_gst_value_initialize):
12963 GstElement::new-pad -> pad-added, GstElement::state-change ->
12964 state-changed, GstValueFixedList -> GstValueArray, add format and
12965 flags as their own arguments in gst_element_seek() (should improve
12966 "bindeability"), remove function generators since they don't work
12967 under a whole bunch of compilers (they were deprecated already
12970 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12972 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12973 (_gst_debug_register_funcptr):
12975 Fix illegal cast on some platforms (#309253).
12977 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12979 * gst/gstmessage.c: (gst_message_new_custom):
12980 * gst/gstmessage.h:
12981 Add _new_custom, make _new_application a macro to _new_custom.
12983 2005-07-20 Wim Taymans <wim@fluendo.com>
12985 * gst/base/gstbasesrc.c: (gst_base_src_init),
12986 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
12987 * gst/base/gstbasesrc.h:
12988 Add a gboolean to decide when to push out a discont.
12990 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12991 (gst_queue_loop), (gst_queue_handle_src_query),
12992 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
12993 (gst_queue_set_property), (gst_queue_get_property):
12996 * tests/threadstate/threadstate1.c: (main):
12997 Make a thread test compile and run... very silly..
13000 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13002 * docs/manual/appendix-porting.xml:
13003 Mention removal of libgstgconf-0.9.la and existence of gconf
13006 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13008 * docs/pwg/advanced-clock.xml:
13009 * docs/pwg/appendix-porting.xml:
13010 * docs/pwg/intro-preface.xml:
13011 * docs/pwg/other-base.xml:
13012 * docs/pwg/other-manager.xml:
13013 * docs/pwg/other-nton.xml:
13014 * docs/pwg/other-ntoone.xml:
13015 * docs/pwg/other-oneton.xml:
13016 * docs/pwg/pwg.xml:
13017 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13018 demuxer), remove n-to-n (was never written), fix some code examples
13019 and links and update the porting section to include all this.
13021 2005-07-19 Wim Taymans <wim@fluendo.com>
13023 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13024 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13025 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13026 (gst_queue_src_activate_push), (gst_queue_change_state),
13027 (gst_queue_get_property):
13029 Propagate GstFlowReturn more intelligently upstream and output
13030 an ERROR/EOS when streaming stopped due to fatal error.
13032 2005-07-19 Wim Taymans <wim@fluendo.com>
13034 * tools/gst-launch.c: (check_intr), (event_loop), (main):
13035 Don't block forever for the state change to complete, the
13036 pipeline already did with a sensible timeout.
13038 2005-07-19 Wim Taymans <wim@fluendo.com>
13040 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13041 Make sure we never call the create function is we
13044 2005-07-19 Andy Wingo <wingo@pobox.com>
13046 * gst/parse/parse.l: Attempt to solve bug #172815.
13048 2005-07-19 Wim Taymans <wim@fluendo.com>
13050 * docs/design/part-clocks.txt:
13051 * docs/design/part-events.txt:
13052 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13053 Small docs updates.
13054 Only update the seeking values when we are not
13057 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13059 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13060 Oops, ignore the result of gst_pad_push_event here.
13062 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13064 * gst/base/gstbasesrc.c: (gst_base_src_loop),
13065 (gst_base_src_activate_push):
13066 Send discont event from the loop function, as pads
13067 aren't activated yet in the activate_push handler.
13069 * gst/gstbin.c: (bin_bus_handler):
13070 Don't leak element name.
13072 2005-07-18 Andy Wingo <wingo@pobox.com>
13074 * configure.ac: Use AS_LIBTOOL_TAGS.
13076 2005-07-18 Wim Taymans <wim@fluendo.com>
13078 * docs/gst/gstreamer.types:
13079 Remove deleted types.
13081 2005-07-18 Wim Taymans <wim@fluendo.com>
13083 * check/elements/gstfakesrc.c: (GST_START_TEST):
13086 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13087 (init_popt_callback):
13089 * gst/gst_private.h:
13090 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13091 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13094 * gst/gstconfig.h.in:
13095 * gst/gstelement.c: (gst_element_class_init),
13096 (gst_element_set_base_time), (gst_element_get_base_time),
13097 (iterator_fold_with_resync), (gst_element_change_state),
13098 (gst_element_dispose), (gst_element_get_bus):
13099 * gst/gstelement.h:
13100 * gst/gstelementfactory.h:
13101 * gst/gsterror.c: (_gst_core_errors_init):
13104 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13106 * gst/gstinfo.c: (_gst_debug_init):
13107 * gst/gstmessage.c: (_gst_message_copy):
13108 * gst/gstmessage.h:
13109 * gst/gstminiobject.h:
13112 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13113 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13116 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13117 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13118 (gst_pipeline_get_last_stream_time):
13119 * gst/gstpipeline.h:
13120 * gst/gstpluginfeature.h:
13122 * gst/gstscheduler.c:
13123 * gst/gstscheduler.h:
13124 * gst/gststructure.h:
13125 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13126 (gst_task_finalize), (gst_task_func), (gst_task_create),
13127 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13128 (gst_task_stop), (gst_task_pause):
13130 * gst/gsttypefind.h:
13132 * gst/registries/gstlibxmlregistry.c: (load_feature),
13133 (gst_xml_registry_load), (gst_xml_registry_save_feature):
13134 * gst/registries/gstxmlregistry.c:
13135 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13136 * gst/schedulers/threadscheduler.c:
13137 * libs/gst/control/dparammanager.h:
13138 * tools/gst-inspect.c: (print_element_list),
13139 (print_plugin_features), (print_element_features):
13140 * tools/gst-xmlinspect.c: (print_element_list),
13141 (print_plugin_info), (main):
13142 Removed plugable schedulers.
13143 Removed Scheduler/Manager from elements.
13144 Removed gsttypes.h, rearranged includes.
13145 Removed dependency pad<->element, element<>pipeline, and
13146 various others, fix includes.
13147 implement gst_pad_get_parent() with gst_object_get_parent()
13148 Make GstTask sefcontained.
13149 Fix _get_state() on GstBin, it did not return ASYNC with a 0
13151 Fix endless loop in iterator_fold_with_resync.
13154 2005-07-18 Wim Taymans <wim@fluendo.com>
13160 2005-07-18 Wim Taymans <wim@fluendo.com>
13163 No more cothreads.h
13165 2005-07-18 Wim Taymans <wim@fluendo.com>
13169 Let's remove these.
13171 2005-07-18 Wim Taymans <wim@fluendo.com>
13173 * docs/design/part-dynamic.txt:
13174 * docs/design/part-events.txt:
13175 * docs/design/part-seeking.txt:
13176 Some more docs in the works.
13178 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13179 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13180 (gst_base_transform_setcaps), (gst_base_transform_get_size),
13181 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13182 (gst_base_transform_handle_buffer),
13183 (gst_base_transform_sink_activate_push),
13184 (gst_base_transform_src_activate_pull),
13185 (gst_base_transform_set_passthrough),
13186 (gst_base_transform_is_passthrough):
13189 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13192 * gst/gstevent.c: (gst_event_finalize):
13195 * gst/gstutils.c: (gst_element_unlink),
13196 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13197 (gst_pad_proxy_setcaps):
13199 Add _get_parent_element() to get a pads parent as an element.
13201 2005-07-18 Wim Taymans <wim@fluendo.com>
13203 * check/gst/gstbin.c: (GST_START_TEST):
13206 2005-07-18 Wim Taymans <wim@fluendo.com>
13208 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13209 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13210 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13211 (gst_base_sink_event), (gst_base_sink_do_sync),
13212 (gst_base_sink_chain), (gst_base_sink_loop),
13213 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13214 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13216 Fix logic for returning ASYNC when not prerolled.
13218 2005-07-18 Wim Taymans <wim@fluendo.com>
13220 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13221 Fix nasty refcount bug.
13223 2005-07-16 Philippe Khalaf <burger@speedy.org>
13225 * gst/elements/gstfdsrc.c:
13226 * gst/elements/gstfdsrc.h:
13227 * gst/elements/gstelements.c:
13228 * gst/elements/Makefile.am:
13229 Ported fdsrc to 0.9.
13231 2005-07-16 Wim Taymans <wim@fluendo.com>
13233 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13234 (gst_base_sink_do_sync):
13237 2005-07-16 Wim Taymans <wim@fluendo.com>
13239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13240 (gst_base_sink_event), (gst_base_sink_get_times),
13241 (gst_base_sink_do_sync), (gst_base_sink_change_state):
13242 * gst/base/gstbasesink.h:
13243 Store and use discont values when syncing buffers as described
13246 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13247 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
13248 (gst_base_src_activate_push):
13249 Push discont event when starting.
13251 * gst/elements/gstidentity.c: (gst_identity_transform):
13254 * gst/gstbin.c: (gst_bin_change_state):
13255 Small cleanups in base_time distribution.
13257 * gst/gstelement.c: (gst_element_set_base_time),
13258 (gst_element_get_base_time), (gst_element_change_state):
13259 * gst/gstelement.h:
13260 Added methods for the base_time of the element.
13263 * gst/gstpipeline.c: (gst_pipeline_send_event),
13264 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13265 (gst_pipeline_get_last_stream_time):
13266 * gst/gstpipeline.h:
13268 Handle seeking as described in design doc, remove stream_time
13270 Cleanups clock and stream_time selection code. Added accessors
13271 for the stream_time.
13274 2005-07-16 Andy Wingo <wingo@pobox.com>
13276 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
13279 2005-07-16 Wim Taymans <wim@fluendo.com>
13281 * check/gst/gstbin.c: (GST_START_TEST):
13282 Make elements silent as the deep_notify refs the
13283 parent, which might make the test fail.
13285 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13286 Don't hold the lock for too long.
13288 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
13290 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13291 Don't unref the caps we passed to gst_caps_make_writable() after
13292 passing them. gst_caps_make_writable() will do that for us.
13294 2005-07-15 Andy Wingo <wingo@pobox.com>
13296 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
13299 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
13300 own marshalling function for the handoff signal. Properly type the
13301 buffer as a buffer. Fixes some warnings. Should do a more general
13303 (gst_identity_class_init): Plug into the right marshaller.
13305 2005-07-15 Wim Taymans <wim@fluendo.com>
13307 * docs/design/part-TODO.txt:
13308 * docs/design/part-clocks.txt:
13309 * docs/design/part-element-sink.txt:
13310 * docs/design/part-events.txt:
13311 * docs/design/part-gstpipeline.txt:
13312 Updated docs, mostly DISCONT related.
13314 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
13316 * docs/pwg/building-pads.xml:
13317 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
13319 2005-07-15 Andy Wingo <wingo@pobox.com>
13321 * tools/gst-typefind.c: Update, add copyright block.
13323 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
13324 Normalize and truncate caps before fixation.
13327 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
13328 discards all but the first structure from its argument.
13330 2005-07-15 Wim Taymans <wim@fluendo.com>
13332 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13333 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
13334 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13335 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13336 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
13337 (gst_base_transform_chain), (gst_base_transform_change_state),
13338 (gst_base_transform_set_passthrough),
13339 (gst_base_transform_is_passthrough):
13340 * gst/base/gstbasetransform.h:
13341 Make passthrough work using the bufferpools.
13342 Changed API a bit, subclasses have to write into a buffer
13343 provided by the base class.
13344 More debug info in nego functions.
13346 * gst/elements/gstidentity.c: (gst_identity_init),
13347 (gst_identity_transform):
13348 Port to new base class.
13350 2005-07-15 Wim Taymans <wim@fluendo.com>
13352 * gst/gstmessage.c: (gst_message_new_state_changed):
13353 * tools/gst-launch.c: (event_loop), (main):
13354 Totally dump messages in -launch with the -m option.
13355 Fix message name for State messages,
13357 2005-07-14 Wim Taymans <wim@fluendo.com>
13359 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13360 Post error messages on errors.
13362 2005-07-14 Wim Taymans <wim@fluendo.com>
13364 * gst/gstcaps.c: (gst_caps_do_simplify):
13368 Define error for stream stopped.
13370 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13371 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
13372 Do proper return values.
13374 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13375 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
13376 (gst_pad_get_range):
13377 Better return values.
13380 Reorganise return values, add macro to check for fatal errors.
13382 * gst/gstqueue.c: (gst_queue_chain):
13383 Return proper GstFlowReturn values,
13385 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
13387 * docs/gst/gstreamer-sections.txt:
13388 * docs/gst/gstreamer.types:
13389 * docs/gst/tmpl/gst.sgml:
13390 * docs/gst/tmpl/gstbasesink.sgml:
13391 * docs/gst/tmpl/gstbasesrc.sgml:
13392 * docs/gst/tmpl/gstbasetransform.sgml:
13393 * docs/gst/tmpl/gstbin.sgml:
13394 * docs/gst/tmpl/gstbuffer.sgml:
13395 * docs/gst/tmpl/gstcaps.sgml:
13396 * docs/gst/tmpl/gstclock.sgml:
13397 * docs/gst/tmpl/gstcompat.sgml:
13398 * docs/gst/tmpl/gstconfig.sgml:
13399 * docs/gst/tmpl/gstelement.sgml:
13400 * docs/gst/tmpl/gstelementdetails.sgml:
13401 * docs/gst/tmpl/gstelementfactory.sgml:
13402 * docs/gst/tmpl/gstenumtypes.sgml:
13403 * docs/gst/tmpl/gsterror.sgml:
13404 * docs/gst/tmpl/gstevent.sgml:
13405 * docs/gst/tmpl/gstfakesink.sgml:
13406 * docs/gst/tmpl/gstfakesrc.sgml:
13407 * docs/gst/tmpl/gstfilesink.sgml:
13408 * docs/gst/tmpl/gstfilesrc.sgml:
13409 * docs/gst/tmpl/gstfilter.sgml:
13410 * docs/gst/tmpl/gstformat.sgml:
13411 * docs/gst/tmpl/gstghostpad.sgml:
13412 * docs/gst/tmpl/gstimplementsinterface.sgml:
13413 * docs/gst/tmpl/gstindex.sgml:
13414 * docs/gst/tmpl/gstindexfactory.sgml:
13415 * docs/gst/tmpl/gstinfo.sgml:
13416 * docs/gst/tmpl/gstiterator.sgml:
13417 * docs/gst/tmpl/gstmacros.sgml:
13418 * docs/gst/tmpl/gstmemchunk.sgml:
13419 * docs/gst/tmpl/gstminiobject.sgml:
13420 * docs/gst/tmpl/gstobject.sgml:
13421 * docs/gst/tmpl/gstpad.sgml:
13422 * docs/gst/tmpl/gstpadtemplate.sgml:
13423 * docs/gst/tmpl/gstparse.sgml:
13424 * docs/gst/tmpl/gstpipeline.sgml:
13425 * docs/gst/tmpl/gstplugin.sgml:
13426 * docs/gst/tmpl/gstpluginfeature.sgml:
13427 * docs/gst/tmpl/gstquery.sgml:
13428 * docs/gst/tmpl/gstqueue.sgml:
13429 * docs/gst/tmpl/gstregistry.sgml:
13430 * docs/gst/tmpl/gstregistrypool.sgml:
13431 * docs/gst/tmpl/gstscheduler.sgml:
13432 * docs/gst/tmpl/gstschedulerfactory.sgml:
13433 * docs/gst/tmpl/gststructure.sgml:
13434 * docs/gst/tmpl/gstsystemclock.sgml:
13435 * docs/gst/tmpl/gsttaglist.sgml:
13436 * docs/gst/tmpl/gsttagsetter.sgml:
13437 * docs/gst/tmpl/gsttrace.sgml:
13438 * docs/gst/tmpl/gsttrashstack.sgml:
13439 * docs/gst/tmpl/gsttypefind.sgml:
13440 * docs/gst/tmpl/gsttypefindfactory.sgml:
13441 * docs/gst/tmpl/gsttypes.sgml:
13442 * docs/gst/tmpl/gsturihandler.sgml:
13443 * docs/gst/tmpl/gsturitype.sgml:
13444 * docs/gst/tmpl/gstutils.sgml:
13445 * docs/gst/tmpl/gstvalue.sgml:
13446 * docs/gst/tmpl/gstversion.sgml:
13447 * docs/gst/tmpl/gstxml.sgml:
13448 * docs/libs/tmpl/gstcontrol.sgml:
13449 * docs/libs/tmpl/gstdataprotocol.sgml:
13450 * docs/libs/tmpl/gstdparam.sgml:
13451 * docs/libs/tmpl/gstdplinint.sgml:
13452 * docs/libs/tmpl/gstdpman.sgml:
13453 * docs/libs/tmpl/gstdpsmooth.sgml:
13454 * docs/libs/tmpl/gstgetbits.sgml:
13455 * docs/libs/tmpl/gstunitconvert.sgml:
13456 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
13457 (gst_push_src_base_init), (gst_push_src_class_init),
13458 (gst_push_src_init), (gst_push_src_create):
13459 * gst/base/gstpushsrc.h:
13460 * gst/elements/gstelements.c:
13461 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
13462 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
13463 (gst_fake_sink_init), (gst_fake_sink_set_property),
13464 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
13465 (gst_fake_sink_event), (gst_fake_sink_preroll),
13466 (gst_fake_sink_render), (gst_fake_sink_change_state):
13467 * gst/elements/gstfakesink.h:
13468 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13469 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13470 (gst_fake_src_base_init), (gst_fake_src_class_init),
13471 (gst_fake_src_init), (gst_fake_src_event_handler),
13472 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
13473 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
13474 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
13475 (gst_fake_src_create_buffer), (gst_fake_src_create),
13476 (gst_fake_src_start), (gst_fake_src_stop):
13477 * gst/elements/gstfakesrc.h:
13478 * gst/elements/gstfilesink.c: (_do_init),
13479 (gst_file_sink_base_init), (gst_file_sink_class_init),
13480 (gst_file_sink_init), (gst_file_sink_dispose),
13481 (gst_file_sink_set_location), (gst_file_sink_set_property),
13482 (gst_file_sink_get_property), (gst_file_sink_open_file),
13483 (gst_file_sink_close_file), (gst_file_sink_query),
13484 (gst_file_sink_event), (gst_file_sink_render),
13485 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
13486 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
13487 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
13488 * gst/elements/gstfilesink.h:
13489 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
13490 (gst_file_src_class_init), (gst_file_src_init),
13491 (gst_file_src_finalize), (gst_file_src_set_location),
13492 (gst_file_src_set_property), (gst_file_src_get_property),
13493 (gst_file_src_map_region), (gst_file_src_map_small_region),
13494 (gst_file_src_create_mmap), (gst_file_src_create_read),
13495 (gst_file_src_create), (gst_file_src_is_seekable),
13496 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
13497 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
13498 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
13499 (gst_file_src_uri_handler_init):
13500 * gst/elements/gstfilesrc.h:
13501 more autistic cleanliness in functions/names/defines
13503 2005-07-13 Andy Wingo <wingo@pobox.com>
13505 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
13506 source couldn't negotiate.
13508 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
13512 * gst/gstutils.c (gst_element_link_pads_filtered): New old
13513 function. I am channeling Hades. Put your boots on suckers!!!
13515 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13517 * testsuite/caps/Makefile.am:
13518 * testsuite/caps/value_compare.c:
13519 * testsuite/caps/value_intersect.c:
13520 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13521 move two testsuite apps over to the check dir
13523 2005-07-12 Wim Taymans <wim@fluendo.com>
13525 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13526 Added more debug info in the negotiate process.
13528 * gst/gstmessage.h:
13529 Prepare for segment playback.
13531 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
13537 * tools/gst-launch.c: (main):
13538 NULL pipeline on errors.
13540 2005-07-12 Andy Wingo <wingo@pobox.com>
13542 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
13543 not it comes from a malloc region. Make sure our copy gets freed.
13545 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13547 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13548 * check/gst/gstmessage.c: (GST_START_TEST):
13549 * check/gst/gststructure.c: (GST_START_TEST),
13550 (gst_structure_suite), (main):
13552 * gst/gstelement.c: (gst_element_message_full):
13553 clean up GError and debug string now that they get copied
13554 * gst/gstmessage.c: (gst_message_new_error),
13555 (gst_message_new_warning), (gst_message_parse_error),
13556 (gst_message_parse_warning):
13557 use GST_TYPE_G_ERROR for structure_new, and take copies of
13558 arguments, so that we don't mess up refcounting
13560 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13562 * check/Makefile.am:
13563 add per-test valgrind targets
13564 * check/gst-libs/gdp.c: (GST_START_TEST),
13565 (gst_data_protocol_suite), (main):
13568 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13570 * check/Makefile.am:
13571 instate more valgrindable tests
13572 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13573 (GST_START_TEST), (fakesrc_suite):
13574 * check/gst/gstpad.c: (GST_START_TEST):
13575 * check/gst/gststructure.c: (GST_START_TEST):
13577 * docs/gst/tmpl/gstminiobject.sgml:
13578 * gst/gstpad.c: (gst_pad_finalize):
13579 fix the static mutex leak
13581 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13583 * check/Makefile.am:
13584 add two more tests for valgrinding
13585 * check/gst/gstvalue.c: (GST_START_TEST):
13586 test refcount of deserialized buffer, found a leak
13587 * docs/gst/gstreamer-docs.sgml:
13588 * docs/gst/gstreamer-sections.txt:
13589 * docs/gst/gstreamer.types:
13590 * docs/gst/tmpl/gstminiobject.sgml:
13591 add miniobject to docs
13592 * gst/gstminiobject.c:
13594 * gst/gstvalue.c: (gst_value_deserialize_buffer),
13595 (gst_string_unwrap):
13596 fix a hard-to-find invalid write for one of the tests
13597 fix a leak for deserialized buffers
13599 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13601 * docs/pwg/advanced-events.xml:
13602 * docs/pwg/advanced-request.xml:
13603 * docs/pwg/advanced-scheduling.xml:
13604 * docs/pwg/appendix-porting.xml:
13605 * docs/pwg/building-boiler.xml:
13606 * docs/pwg/intro-preface.xml:
13607 * docs/pwg/other-ntoone.xml:
13608 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
13609 of example code and explanation for pad activation, loop() and
13610 getrange() functions and a bit more. Remove old comments pointing
13612 * examples/pwg/Makefile.am:
13613 Add loop/getrange examples.
13615 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13618 check for valgrind binary + some fixes
13620 valgrind suppressions for the tests
13621 * check/Makefile.am:
13622 add a valgrind: target that valgrinds the unit tests
13623 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
13624 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13625 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13626 * check/gst/gstghostpad.c:
13628 * check/gst/gstdata.c:
13630 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
13631 (thread_unref), (gst_mini_object_suite), (main):
13633 * gst/gst.c: (gst_deinit):
13635 add a method to clean up.
13636 * gst/gstsystemclock.c: (gst_system_clock_dispose),
13637 (gst_system_clock_obtain):
13638 allow for disposing the system clock.
13639 * tools/gst-launch.c: (main):
13642 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13644 * docs/gst/tmpl/gstbasesrc.sgml:
13645 * docs/gst/tmpl/gstfakesrc.sgml:
13646 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13647 (gst_base_src_init), (gst_base_src_set_property),
13648 (gst_base_src_get_property), (gst_base_src_get_range),
13649 (gst_base_src_start):
13650 * gst/base/gstbasesrc.h:
13651 add num-buffers property
13652 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13653 (gst_fakesrc_init), (gst_fakesrc_set_property),
13654 (gst_fakesrc_get_property), (gst_fakesrc_create),
13655 (gst_fakesrc_start):
13656 remove num-buffers property
13658 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13660 * docs/gst/gstreamer-sections.txt:
13661 * docs/gst/tmpl/gstbasesink.sgml:
13662 * docs/gst/tmpl/gstbasesrc.sgml:
13663 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13664 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13665 (gst_base_sink_finalize), (gst_base_sink_set_clock),
13666 (gst_base_sink_set_property), (gst_base_sink_get_property),
13667 (gst_base_sink_handle_object), (gst_base_sink_event),
13668 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13669 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
13670 (gst_base_sink_loop), (gst_base_sink_deactivate),
13671 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
13672 (gst_base_sink_change_state):
13673 * gst/base/gstbasesink.h:
13674 * gst/base/gstbasesrc.h:
13675 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
13676 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
13677 (gst_filesink_init):
13678 more macro splitting
13680 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13682 * gst/gstelement.c: (gst_element_get_bus):
13684 * tools/gst-launch.c: (check_intr), (event_loop):
13687 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13689 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13692 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13694 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13695 (gst_base_src_finalize):
13696 add finalize method and clean up properly
13697 * gst/gstpipeline.c: (gst_pipeline_dispose):
13700 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13702 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
13704 add more things to check
13705 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13706 * gst/gstelement.c:
13709 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13711 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13712 (GST_START_TEST), (fakesrc_suite):
13713 * check/gst-libs/gdp.c: (GST_START_TEST):
13714 * check/gst/gst.c: (GST_START_TEST):
13715 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13716 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13717 * check/gst/gstbus.c: (GST_START_TEST):
13718 * check/gst/gstcaps.c: (GST_START_TEST):
13719 * check/gst/gstdata.c: (GST_START_TEST):
13720 * check/gst/gstelement.c: (GST_START_TEST):
13721 * check/gst/gstghostpad.c: (GST_START_TEST):
13722 * check/gst/gstiterator.c: (GST_START_TEST):
13723 * check/gst/gstmessage.c: (GST_START_TEST):
13724 * check/gst/gstobject.c: (GST_START_TEST):
13725 * check/gst/gstpad.c: (GST_START_TEST):
13726 * check/gst/gststructure.c: (GST_START_TEST):
13727 * check/gst/gstsystemclock.c: (GST_START_TEST),
13728 (gst_systemclock_suite):
13729 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13730 * check/gst/gstvalue.c: (GST_START_TEST):
13731 * check/pipelines/cleanup.c: (GST_START_TEST):
13732 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13733 * check/states/sinks.c: (GST_START_TEST):
13734 * check/gstcheck.c: (gst_check_init):
13735 * check/gstcheck.h:
13736 add debugging category
13737 use GST_START_TEST now, so we add a debug line
13739 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13741 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
13742 add test for state change message on a bin
13743 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
13745 * gst/gstbin.c: (gst_bin_init):
13746 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
13747 * gst/gstelement.c: (gst_element_post_message),
13748 (gst_element_set_state):
13749 * gst/gstelementfactory.c: (gst_element_factory_create):
13750 * gst/gstmessage.c: (gst_message_new):
13751 * gst/gstscheduler.c:
13752 various debugging additions and cleanups
13754 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13756 * check/Makefile.am:
13757 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
13759 adding tests for elements
13760 * gst/gstelement.c: (gst_element_dispose):
13762 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13764 * gst/registries/gstlibxmlregistry.c: (load_feature):
13765 plug more leaks. A simple gst_init() now is leakfree, yay.
13767 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13769 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
13770 (gst_xml_registry_load):
13771 plug another memleak
13773 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13776 use GST_SET_ERROR_CFLAGS
13777 * docs/faq/cvs.xml:
13778 change to ERROR_CFLAGS
13780 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13783 make GST_ERROR_CFLAGS overridable and re-enable Werror
13784 * docs/faq/cvs.xml:
13785 add a note about error CFLAGS
13786 * docs/gst/tmpl/gstfakesrc.sgml:
13787 * gst/elements/gstfakesrc.c:
13788 comment out some unused code
13789 * gst/gst.c: (split_and_iterate):
13790 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
13794 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
13796 * common/Makefile.am:
13797 * common/gtk-doc.mak:
13798 * docs/gst/Makefile.am:
13799 factor out gtk-doc.mak
13801 2005-07-07 Wim Taymans <wim@fluendo.com>
13803 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
13804 (gst_thread_scheduler_dispose):
13805 Unlock the STREAM_LOCK completely.
13807 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
13809 * check/Makefile.am:
13810 * check/elements/.cvsignore:
13811 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13812 (START_TEST), (fakesrc_suite), (main):
13813 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13814 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13815 (gst_fakesrc_create), (gst_fakesrc_start):
13816 * gst/elements/gstfakesrc.h:
13817 adding a first element test
13819 2005-07-07 Andy Wingo <wingo@pobox.com>
13821 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
13824 2005-07-07 Wim Taymans <wim@fluendo.com>
13830 2005-07-07 Wim Taymans <wim@fluendo.com>
13832 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
13833 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
13834 Allow subclasses to implement their own negotiation.
13836 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13838 * docs/design/part-gstbin.txt:
13839 * docs/design/part-gstpipeline.txt:
13840 Update design notes to reflect the movement of
13841 responsibility for bus handling from GstPipeline to
13844 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13847 Remove unnecessary queue2/3/4 examples.
13849 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13851 * examples/Makefile.am:
13852 * examples/helloworld/helloworld.c: (event_loop), (main):
13853 * examples/queue/queue.c: (event_loop), (main):
13854 * examples/queue2/queue2.c: (main):
13855 Update a couple of the examples to work again.
13857 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13858 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
13859 Spelling corrections and extra debug.
13861 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
13862 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
13863 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
13865 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13866 (gst_pipeline_change_state):
13867 * gst/gstpipeline.h:
13868 Move the bus handler for children to the GstBin, and create a
13869 separate bus for receiving messages from children to the one the
13870 bus sends 'upwards' on.
13872 2005-07-06 Wim Taymans <wim@fluendo.com>
13875 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13876 (gst_base_sink_handle_object), (gst_base_sink_loop),
13877 (gst_base_sink_change_state):
13878 * gst/base/gstbasesink.h:
13879 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13880 (gst_base_src_init), (gst_base_src_setcaps),
13881 (gst_base_src_getcaps), (gst_base_src_loop),
13882 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
13883 (gst_base_src_start), (gst_base_src_change_state):
13884 * gst/base/gstbasesrc.h:
13885 Make basesrc negotiate.
13886 Handle the case where preroll fails in basesink.
13889 2005-07-06 Wim Taymans <wim@fluendo.com>
13891 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
13892 Implement the fixate function.
13893 Clean up acceptcaps.
13895 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13897 * docs/pwg/building-filterfactory.xml:
13898 * docs/pwg/pwg.xml:
13899 Remove never-written filter-factory chapter; I'll add the various
13900 base classes to part 4 ("other element types") later on.
13902 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13904 * docs/pwg/advanced-negotiation.xml:
13905 * docs/pwg/building-boiler.xml:
13906 * docs/pwg/building-pads.xml:
13907 * docs/pwg/pwg.xml:
13908 * examples/pwg/Makefile.am:
13909 Add a chapter on caps negotiation, simplify the original code
13910 samples a bit w.r.t. caps negotiation, add link to the advanced
13911 section. Add a bunch of examples showing different use cases of
13912 different types of caps negotiation. Upstream renegotiation isn't
13913 fully documented yet since nobody knows how that works.
13915 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
13917 * check/gst/gstpad.c:
13918 * check/gstcheck.c:
13919 * gst/gstpad.c: (gst_pad_get_internal_links_default):
13920 if pad has no parent, return NULL as list of internal links
13922 2005-07-05 Andy Wingo <wingo@pobox.com>
13924 * gst/elements/gstfilesrc.c:
13925 * gst/elements/gstfakesrc.c:
13926 * gst/base/gstpushsrc.c:
13927 * gst/base/gstbasesrc.h:
13928 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
13930 2005-07-05 Stefan Kost <ensonic@users.sf.net>
13933 better report generation target (lcov needs a patch)
13935 2005-07-05 Andy Wingo <wingo@pobox.com>
13937 * gst/elements, testsuite: Null if we got it...
13939 2005-07-05 Wim Taymans <wim@fluendo.com>
13942 * libs/gst/dataprotocol/Makefile.am:
13943 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
13944 * libs/gst/dataprotocol/dataprotocol.h:
13945 * pkgconfig/Makefile.am:
13946 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
13947 * pkgconfig/gstreamer-dataprotocol.pc.in:
13948 Ported dataprotol to 0.9.
13949 Added pkgconfig files.
13951 2005-07-05 Andy Wingo <wingo@pobox.com>
13953 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
13954 Default to returning TRUE for the case when tranform_caps returns
13955 a fixed caps, like for identity or volume.
13957 * check/gst/gstbus.c (pound_bus_with_messages):
13958 * check/gst/gstmessage.c (START_TEST):
13959 * check/pipelines/simple_launch_lines.c (got_handoff): Application
13960 message API change.
13962 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
13963 logic weaks here: always run transform_caps, trying passthrough
13964 operation only if the original caps intersects with the transform.
13966 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
13967 source and sink caps.
13969 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
13970 Intersect the peer caps with the pad template before going into
13972 (gst_base_transform_transform_caps): More debugging.
13974 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
13977 2005-07-04 Edward Hervey <edward@fluendo.com>
13981 (gst_pad_add_*_probe): now returns the signal id for better wrapping
13984 2005-07-04 Andy Wingo <wingo@pobox.com>
13986 * check/gst/gstpad.c: Only set explicit caps on pads.
13988 2005-07-01 Andy Wingo <wingo@pobox.com>
13990 * tests/network-clock.scm: Commentary update.
13992 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
13993 Didn't really make sense, not implementable with basetransform,
13995 (gst_identity_transform): Unref inbuf via make_writable. Feeble
13996 attempt at implementing the sync property, needs an unlock method.
13998 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
13999 New func, by default returns the same caps (the identity
14001 (gst_base_transform_getcaps): Uses transform_caps to return
14002 something sensible.
14003 (gst_base_transform_setcaps): Complicated logic to get caps on
14004 both pads, even if they are different, and to call set_caps once
14005 for every time both pads get their caps set.
14006 (gst_base_transform_handle_buffer): Give the ref to the transform
14007 function. Allows in-place modification of the buffer.
14009 * gst/base/gstbasetransform.h (transform_caps): New class method.
14010 Given caps on one side, what can I do on the other.
14011 (set_caps): Take two caps, one for each side of the element.
14014 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14015 caps in place. This is safe because we can check the mutability of
14016 the caps, and a good idea because fixate functions are just called
14017 as a matter of last resort. (Not actually implemented.)
14018 (gst_pad_set_caps): If the caps we're setting is actually the same
14019 as the existing pad caps, just update the pointer without calling
14020 setcaps. Assert that caps is either NULL or fixed, as per the
14023 * gst/gstghostpad.c: Update for fixate changes.
14025 2005-07-02 Andy Wingo <wingo@pobox.com>
14028 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14029 two refcounts makes it immutable, which is enough. Doc more.
14031 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
14033 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14034 Put the mini_object into GValue as a mini_object,
14035 not a gpointer, since that's how we declared
14038 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14040 * examples/pwg/Makefile.am:
14041 Fix buildbot again.
14043 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14045 * docs/pwg/building-testapp.xml:
14047 * examples/pwg/Makefile.am:
14050 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14053 * examples/Makefile.am:
14054 * examples/pwg/Makefile.am:
14055 * examples/pwg/extract.pl:
14056 Enable building the PWG examples.
14057 * docs/pwg/advanced-interfaces.xml:
14058 Add URI interface stub.
14059 * docs/pwg/advanced-types.xml:
14060 * docs/pwg/other-autoplugger.xml:
14061 * docs/pwg/appendix-porting.xml:
14062 * docs/pwg/pwg.xml:
14063 Add porting guide (mostly stubs), remove autoplugging (see ADM).
14064 * docs/pwg/building-boiler.xml:
14065 * docs/pwg/building-chainfn.xml:
14066 * docs/pwg/building-pads.xml:
14067 * docs/pwg/building-props.xml:
14068 * docs/pwg/building-state.xml:
14069 * docs/pwg/building-testapp.xml:
14070 Update the building-*.xml parts for 0.9 changes. All examples
14071 code blocks compile in examples/pwg/*.
14073 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14075 * docs/manual/advanced-autoplugging.xml:
14076 * docs/manual/appendix-checklist.xml:
14077 * docs/manual/appendix-integration.xml:
14078 * docs/manual/highlevel-components.xml:
14079 Fix playbin/decodebin examples, update docs a bit, mention bus
14080 instead of signals in various places, mention kmplayer and
14081 kaffeine since they have a working GStreamer backend in the KDE
14084 2005-06-30 Wim Taymans <wim@fluendo.com>
14087 * docs/design/draft-ghostpads.txt:
14088 * docs/design/draft-push-pull.txt:
14089 * docs/design/draft-query.txt:
14090 * docs/design/part-TODO.txt:
14091 * docs/design/part-query.txt:
14092 Added CHANGES-0.9 doc, updated status of other docs.
14097 2005-06-30 Wim Taymans <wim@fluendo.com>
14099 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14100 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14101 (gst_base_sink_change_state):
14102 * gst/base/gstbasesink.h:
14103 Some tweaks, only EOS and a buffer complete a preroll.
14105 2005-06-30 Andy Wingo <wingo@pobox.com>
14107 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14108 activate_push down to the internal pad as well.
14110 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
14112 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14114 * gst/gsttaginterface.c:
14115 Some documentation fixes (#307394 and #307397).
14117 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
14119 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14121 * gst/gstvalue.c: (gst_value_intersect_list):
14122 Fix memleak (#309125).
14124 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14126 * docs/manual/advanced-dataaccess.xml:
14127 Fix fakesrc example to compile; doesn't work, bug somewhere...?
14128 * docs/manual/basics-pads.xml:
14129 Add reference for filtered caps to above chapter.
14131 2005-06-30 Wim Taymans <wim@fluendo.com>
14133 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14134 (gst_bin_change_state):
14136 Lame attempt at making the state change function a bit
14139 2005-06-30 Wim Taymans <wim@fluendo.com>
14141 * docs/design/part-clocks.txt:
14142 * docs/design/part-element-sink.txt:
14143 * docs/design/part-events.txt:
14144 * docs/design/part-preroll.txt:
14145 * docs/design/part-states.txt:
14146 Some more tweeks and additions to the docs.
14148 2005-06-30 Wim Taymans <wim@fluendo.com>
14150 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14151 (default_have_data), (gst_pad_class_init), (gst_pad_init),
14152 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14153 (gst_pad_check_pull_range), (gst_pad_get_range),
14154 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14156 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14157 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14158 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14159 (gst_pad_remove_buffer_probe):
14160 Removed atomic operations, use existing LOCK.
14161 Move exception handling out of main code path.
14163 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14165 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14166 (silly_return_true_function), (gst_pad_class_init),
14167 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14168 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14169 (gst_pad_send_event):
14170 Fix accumulator, add default value by using _emitv() instead
14171 of _emit() for signal emission.
14173 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14175 * docs/manual/advanced-dataaccess.xml:
14176 * examples/manual/Makefile.am:
14178 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14181 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
14183 * gst/elements/gstfilesink.c: (gst_filesink_render):
14184 Simplify code so that we don't have to handle short
14185 writes and return GST_FLOW_ERROR if an error occured.
14187 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14189 * docs/gst/gstreamer-docs.sgml:
14190 Remove probes more.
14192 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14194 * docs/gst/gstreamer-sections.txt:
14195 * docs/gst/tmpl/gstpad.sgml:
14196 * docs/gst/tmpl/gstprobe.sgml:
14198 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14199 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14200 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14201 (gst_pad_push_event), (gst_pad_send_event):
14203 * gst/gstutils.c: (gst_pad_add_data_probe),
14204 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14205 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14206 (gst_pad_remove_buffer_probe):
14208 Remove old probes, add new g-signal-based probes and some utility
14211 2005-06-29 Edward Hervey <edward@fluendo.com>
14213 * gst/gstelementfactory.c:
14216 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14217 the definition to the header file.
14219 2005-06-29 Andy Wingo <wingo@pobox.com>
14221 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14222 plugins from the source directory.
14224 2005-06-29 Wim Taymans <wim@fluendo.com>
14226 * docs/gst/tmpl/gstbuffer.sgml:
14227 * docs/gst/tmpl/gstclock.sgml:
14228 Some fixings for blantently wrong text.
14230 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14232 * check/Makefile.am:
14233 * gst/gst.c: (add_path_func), (init_pre):
14234 * gst/gstregistry.c: (gst_registry_add_path):
14235 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
14236 only scan the GST_PLUGIN_PATH locations, and not add
14239 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14241 * docs/gst/gstreamer-sections.txt:
14242 * docs/gst/tmpl/gstbasesrc.sgml:
14243 * gst/gstelement.c:
14244 * gst/gstelement.h:
14249 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14251 * docs/manual/advanced-autoplugging.xml:
14252 Fix autoplugging example.
14254 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14256 * docs/manual/advanced-autoplugging.xml:
14257 * docs/manual/mime-world.fig:
14258 Try to get autoplugging working, fix type detection. Fix text
14259 in hello-world image.
14261 2005-06-29 Wim Taymans <wim@fluendo.com>
14263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14264 (gst_base_sink_change_state):
14268 map SIGNAL and BROADCAST to the right function.
14271 Remove redundant braces.
14273 * gst/gstpad.c: (gst_pad_set_caps):
14274 Don't call setcaps function when reseting caps to NULL.
14276 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14277 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
14278 (gst_system_clock_id_unschedule):
14279 Use BROADCAST as this is what we do.
14281 2005-06-29 Wim Taymans <wim@fluendo.com>
14283 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14284 We are actually prerolling before commiting the state
14287 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14289 * docs/manual/advanced-clocks.xml:
14290 * docs/manual/advanced-interfaces.xml:
14291 * docs/manual/advanced-metadata.xml:
14292 * docs/manual/advanced-position.xml:
14293 * docs/manual/advanced-schedulers.xml:
14294 * docs/manual/advanced-threads.xml:
14295 * docs/manual/appendix-porting.xml:
14296 * docs/manual/basics-bins.xml:
14297 * docs/manual/basics-bus.xml:
14298 * docs/manual/basics-elements.xml:
14299 * docs/manual/basics-helloworld.xml:
14300 * docs/manual/basics-pads.xml:
14301 * docs/manual/highlevel-components.xml:
14302 * docs/manual/manual.xml:
14303 * docs/manual/thread.fig:
14304 Update (until threads/scheduling) Application Development Manual;
14305 remove GstThread, add GstBus, add simple porting checklist, add
14306 documentation for tag writing, clocks, make all examples until this
14307 part compile and run.
14308 * examples/manual/Makefile.am:
14309 Update from changes to Application Development Manual; add bus
14310 example, remove thread example.
14312 2005-06-28 Wim Taymans <wim@fluendo.com>
14314 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
14315 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
14316 (gst_bus_source_dispatch):
14317 Add debugging messages.
14318 Make internal methods static.
14319 Handle the case where the bus is flushed in the handler.
14321 * gst/gstelement.c: (gst_element_get_bus):
14322 Fix refcount in _get_bus();
14324 * gst/gstpipeline.c: (gst_pipeline_change_state),
14325 (gst_pipeline_get_clock_func):
14326 Clock refcounting fixes.
14327 Handle the case where preroll timed out more gracefully.
14329 * gst/gstsystemclock.c: (gst_system_clock_dispose):
14330 Clean up the internal thread in dispose. This is needed
14331 for subclasses that actually get disposed.
14333 * gst/schedulers/threadscheduler.c:
14334 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14335 (gst_thread_scheduler_dispose):
14336 Free thread pool in dispose.
14338 2005-06-28 Andy Wingo <wingo@pobox.com>
14340 * tests/network-clock-utils.scm (debug, print-event): New utils.
14342 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
14343 (*packet-loss*): Unified loss probability.
14344 (network-time): Report out-of-band events.
14346 * tests/plot-data: Add support for out-of-band events. Hack it
14347 into this script instead of passing it down the pipe; should fix
14350 2005-06-28 Wim Taymans <wim@fluendo.com>
14352 * docs/gst/gstreamer.types:
14353 * docs/gst/tmpl/gstbasesrc.sgml:
14354 * docs/gst/tmpl/gstpad.sgml:
14357 2005-06-28 Wim Taymans <wim@fluendo.com>
14359 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14360 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
14361 (gst_proxy_pad_do_fixatecaps):
14362 Correctly proxy the check_pull_range function.
14364 2005-06-28 Andy Wingo <wingo@pobox.com>
14366 * tests/network-clock.scm: Removed need for slib.
14368 2005-06-28 Wim Taymans <wim@fluendo.com>
14370 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
14371 (gst_basesink_preroll_queue_flush):
14372 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
14373 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
14374 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14375 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14376 (gst_proxy_pad_set_property):
14379 * gst/gstqueue.c: (gst_queue_init):
14380 The deprecated pad loop function is removed now.
14382 2005-06-28 Andy Wingo <wingo@pobox.com>
14384 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
14385 New parameters, simulate network packet loss.
14387 * tests/network-clock-utils.scm: Initialize the RNG.
14389 2005-06-28 Wim Taymans <wim@fluendo.com>
14391 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
14392 (gst_basesink_event), (gst_basesink_deactivate):
14393 Flushing the preroll queue always needs to unlock the waiters.
14395 2005-06-28 Edward Hervey <edward@fluendo.com>
14397 * gst/gstpipeline.c: (gst_pipeline_send_event):
14398 Wheen a seek was successful on a pipeline, set the stream_time to the
14399 seek offset in order to have a synchronized stream_time.
14401 2005-06-28 Wim Taymans <wim@fluendo.com>
14403 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14404 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
14405 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
14406 (gst_proxy_pad_do_fixatecaps):
14407 Call wrapper function instead of just calling the function
14408 pointers. This takes care of any locking and whatmore.
14410 2005-06-28 Wim Taymans <wim@fluendo.com>
14412 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
14413 (gst_pad_pull_range):
14415 CONNECTED -> LINKED.
14417 2005-06-28 Andy Wingo <wingo@pobox.com>
14419 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
14420 source-munging commit!!!
14422 * gst/gstobject.c (gst_object_unref, gst_object_ref)
14423 (gst_object_sink): Take gpointer arguments, not GstObject --
14424 avoids casts. Like GLib.
14426 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
14429 2005-06-27 Andy Wingo <wingo@pobox.com>
14431 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
14434 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
14435 returns a sorted copy of the trace list.
14436 (gst_alloc_trace_print_live): New API, only prints traces with
14437 live objects. Sort the list.
14438 (gst_alloc_trace_print_all): Sort the list.
14439 (gst_alloc_trace_print): Align columns.
14441 * gst/elements/gstttypefindelement.c:
14442 * gst/elements/gsttee.c:
14443 * gst/base/gstbasesrc.c:
14444 * gst/base/gstbasesink.c:
14445 * gst/base/gstbasetransform.c:
14446 * gst/gstqueue.c: Adapt for pad activation changes.
14448 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
14450 (gst_pipeline_dispose): Drop ref on sched.
14452 * gst/gstpad.c (gst_pad_init): Set the default activate func.
14453 (gst_pad_activate_default): Push mode by default.
14454 (pre_activate_switch, post_activate_switch): New stubs, things to
14455 do before and after switching activation modes on pads.
14456 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
14457 the pad's activate function to choose which mode to activate.
14458 Shortcut on deactivation and call the right function directly.
14459 (gst_pad_activate_pull): New API, (de)activates a pad in pull
14461 (gst_pad_activate_push): New API, same for push mode.
14462 (gst_pad_set_activate_function)
14463 (gst_pad_set_activatepull_function)
14464 (gst_pad_set_activatepush_function): Setters for new API.
14466 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
14467 Trace all miniobjects.
14468 (gst_mini_object_make_writable): Unref the arg if we copy, like
14469 gst_caps_make_writable.
14471 * gst/gstmessage.c (_gst_message_initialize): No trace init.
14473 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
14474 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
14475 Adapt for new pad API.
14477 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
14479 * gst/gstelement.h:
14480 * gst/gstelement.c (gst_element_iterate_src_pads)
14481 (gst_element_iterate_sink_pads): New API functions.
14483 * gst/gstelement.c (iterator_fold_with_resync): New utility,
14484 should fold into gstiterator.c in some form.
14485 (gst_element_pads_activate): Simplified via use of fold and
14486 delegation of decisions to gstpad->activate.
14488 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
14491 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
14492 class once in init, like gstmessage. Didn't run into this issue
14493 but it seems correct. Don't initialize a trace, gstminiobject does
14496 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
14497 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
14499 (assert_live_count): New util function, uses alloc traces to check
14502 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
14503 To be modified when unlink drops the internal pad.
14505 2005-06-27 Wim Taymans <wim@fluendo.com>
14507 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
14508 (gst_bin_change_state):
14509 Cleanup the get_state() function a little, make sure it
14510 iterates the same set of elements.
14511 Added stub iterate_state_order().
14513 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
14515 * docs/gst/gstreamer-docs.sgml:
14516 * docs/gst/gstreamer-sections.txt:
14517 * docs/gst/gstreamer.types:
14518 * docs/gst/tmpl/gstbasesink.sgml:
14519 * docs/gst/tmpl/gstbasesrc.sgml:
14520 * docs/gst/tmpl/gstbasetransform.sgml:
14521 * docs/gst/tmpl/gstelement.sgml:
14522 * docs/gst/tmpl/gstiterator.sgml:
14523 * gst/base/gstbasesrc.c:
14524 * gst/base/gstbasesrc.h:
14525 * gst/base/gstbasetransform.h:
14526 * gst/gstelement.c:
14527 * gst/gstiterator.h:
14528 adding basetransform and iterator docs
14530 2005-06-27 Andy Wingo <wingo@pobox.com>
14532 * docs/design/part-activation.txt: Notes on how activation should
14533 work -- not quite implemented yet.
14535 2005-06-25 Wim Taymans <wim@fluendo.com>
14537 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
14538 At least get the chain function correct, needs more
14541 2005-06-25 Wim Taymans <wim@fluendo.com>
14543 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14544 (gst_basesink_handle_object), (gst_basesink_event),
14545 (gst_basesink_do_sync), (gst_basesink_handle_event),
14546 (gst_basesink_change_state):
14548 Right, two problems here: ghostpads don't take locks and
14549 glib _rec_mutex_lock_full() with depth==0 still locks.
14550 Catch illegal locking and g_warn them.
14552 2005-06-25 Wim Taymans <wim@fluendo.com>
14554 * check/states/sinks.c: (START_TEST), (gst_object_suite):
14555 Have to check for completion now...
14557 2005-06-25 Wim Taymans <wim@fluendo.com>
14559 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14560 (gst_basesink_handle_object), (gst_basesink_event),
14561 (gst_basesink_do_sync), (gst_basesink_handle_event),
14562 (gst_basesink_change_state):
14564 Unlock STREAM_LOCK whatever the recursion was.
14566 2005-06-25 Wim Taymans <wim@fluendo.com>
14568 * gst/base/gstbasesink.c: (gst_basesink_set_property),
14569 (gst_basesink_preroll_queue_empty),
14570 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
14571 (gst_basesink_event), (gst_basesink_do_sync),
14572 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
14573 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
14574 (gst_basesink_change_state):
14575 Reworked the base sink, handle event and buffer serialisation
14576 correctly and removed possible deadlock.
14577 Handle EOS correctly.
14579 2005-06-25 Wim Taymans <wim@fluendo.com>
14581 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
14582 (gst_pipeline_change_state):
14583 * tools/gst-launch.c: (check_intr), (event_loop), (main):
14584 Allow elements to post EOS in the state change function.
14585 Fix up -launch, make it exit the poll loop when the
14586 pipeline actually changed state.
14587 Fix up warning parsing in -launch.
14589 2005-06-25 Wim Taymans <wim@fluendo.com>
14591 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
14592 (gst_tee_sink_activate):
14593 Core takes STREAM_LOCK for us now.
14595 2005-06-25 Wim Taymans <wim@fluendo.com>
14597 * gst/gstelement.c: (gst_element_get_state_func),
14598 (gst_element_set_state):
14599 * gst/gstelement.h:
14600 * gst/gstmessage.c: (gst_message_parse_error),
14601 (gst_message_parse_warning):
14602 Keep track of current target state while performing a state
14603 change so that subclasses can do something interesting.
14604 Fix parsing of warning/error messages when GError is NULL.
14606 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
14608 * docs/gst/Makefile.am:
14609 * docs/gst/gstreamer-docs.sgml:
14610 * docs/gst/gstreamer-sections.txt:
14611 * docs/gst/gstreamer.types:
14612 * docs/gst/tmpl/gstbasesink.sgml:
14613 * docs/gst/tmpl/gstbasesrc.sgml:
14614 * docs/gst/tmpl/gstbin.sgml:
14615 * docs/gst/tmpl/gstcompat.sgml:
14616 * docs/gst/tmpl/gstfakesink.sgml:
14617 * docs/gst/tmpl/gstfakesrc.sgml:
14618 * docs/gst/tmpl/gstfilesink.sgml:
14619 * docs/gst/tmpl/gstfilesrc.sgml:
14620 * docs/gst/tmpl/gstindex.sgml:
14621 * docs/manual/appendix-quotes.xml:
14622 * gst/base/gstbasesrc.h:
14623 * gst/elements/gstfakesrc.h:
14624 * gst/gstmessage.h:
14625 start pulling in base classes and elements in our docs
14627 2005-06-24 Stefan Kost <ensonic@users.sf.net>
14629 * docs/gst/Makefile.am:
14630 * docs/libs/Makefile.am:
14631 fixed make distcheck with gtk-doc 1.3
14633 2005-06-23 Wim Taymans <wim@fluendo.com>
14635 * gst/gstelement.c: (gst_element_get_state_func),
14636 (gst_element_set_state), (gst_element_change_state):
14637 When the state did not change, also report NO_PREROLL
14640 2005-06-23 Wim Taymans <wim@fluendo.com>
14642 * gst/gstpad.c: (gst_pad_event_default):
14643 * gst/gstqueue.c: (gst_queue_loop):
14644 No unsafe task pausing please.
14646 2005-06-23 Wim Taymans <wim@fluendo.com>
14648 * gst/schedulers/threadscheduler.c:
14649 (gst_thread_scheduler_task_start),
14650 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
14651 Ref the task before pushing it on the threadpool. This
14652 makes sure that we have a ref when the threadfunction is
14655 2005-06-23 Andy Wingo <wingo@pobox.com>
14657 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
14658 offset is greater than the file's size.
14660 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
14661 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
14662 * gst/gstobject.c (gst_object_class_init): Make the class lock
14663 recursive. Wim won't let me drop deep_notify. Decodebin works
14664 again, whoopdy doo.
14666 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
14667 internal pad, and hacks accordingly. Doesn't do it on the target
14668 pad because we change its caps. Probably catches all cases of
14670 (gst_ghost_pad_set_property): Connect to notify::caps as
14673 * tests/network-clock.scm (plot-simulation): Pipe data to the
14674 elite python skript.
14676 * tests/network-clock-utils.scm (define-parameter): New macro,
14677 defines a parameter that can be set via the command line.
14678 (set-parameter!, parse-parameter-arguments): Command line args
14681 * tests/plot-data: Simple matplotlib-based plotter, takes input on
14684 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
14686 * gst/elements/gsttypefindelement.c:
14687 (gst_type_find_element_handle_event):
14688 Don't restart typefinding on a discont.
14689 * gst/gstelement.c: (gst_element_set_state):
14690 Debug spelling fix.
14691 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
14692 Allow changing mode of an active pad.
14693 Debug output fixes.
14694 * gst/registries/gstlibxmlregistry.c: (load_feature):
14695 Don't cast a static pad template to a normal pad template.
14697 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
14699 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14700 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14701 remove gst_strtoll completely, since it didn't actually do
14702 anything more than what g_ascii_strtoull already does.
14703 check for range errors when deserializing
14704 do a cast for the unsigned cases; but further fixing needs
14705 a decision on what the interpretation of "(int)" and
14706 deserialization should be for values that fall outside the
14707 type's boundaries (ie, refuse, or interpret as casting)
14709 2005-06-23 Wim Taymans <wim@fluendo.com>
14711 * check/Makefile.am:
14712 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
14713 * docs/design/part-live-source.txt:
14714 * docs/design/part-states.txt:
14715 * gst/base/gstbasesrc.c: (gst_basesrc_init),
14716 (gst_basesrc_set_live), (gst_basesrc_is_live),
14717 (gst_basesrc_get_range), (gst_basesrc_activate),
14718 (gst_basesrc_change_state):
14719 * gst/base/gstbasesrc.h:
14720 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14721 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
14722 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
14723 * gst/gstelement.c: (gst_element_get_state_func),
14724 (gst_element_set_state):
14725 * gst/gstelement.h:
14727 * tools/gst-launch.c: (event_loop), (main):
14728 Added support for live sources and other elements that
14730 Updated design docs, added live-source design doc.
14731 Implemented live source functionality in basesrc
14732 Fix error condition in _bin_get_state()
14733 Implement live source handling in -launch.
14734 Added check for live sources.
14735 Fixed case in GstBin where elements were changed state
14739 2005-06-23 Andy Wingo <wingo@pobox.com>
14741 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
14742 borken refcounting.
14744 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
14745 gst_caps_replace takes care of this for us.
14747 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
14748 gst_pad_set_caps on the target, not just its setcaps() function.
14750 * tests/network-clock.scm:
14751 * tests/network-clock-utils.scm: A network clock simulator.
14752 Something of an algorithmic testbed before doing something in C.
14754 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14756 * check/Makefile.am:
14757 * check/gst/capslist.h:
14758 copy over from 0.8, and add two with bitmasks specified with
14760 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14761 add test to parse everything from capslist.h
14762 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
14764 add test for structure deserialization
14765 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14766 add tests for deserialization of strings to int types
14767 * gst/gststructure.c: (gst_structure_nth_field_name):
14768 * gst/gststructure.h:
14769 add a way to get the name of a field referenced by index
14770 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14771 instead of checking if the resulting long long lies between
14772 min and max, we check if the long long would fit into
14773 a number of bytes for the final type.
14774 This fixes cases where a string represents 2^32 - 1, which
14775 when cast to int would be the (valid) -1, but is bigger than
14778 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14780 * gst/parse/grammar.y:
14781 add a log line for type deserialization
14783 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14785 * check/gst/gstvalue.c: (START_TEST):
14786 * gst/gstvalue.c: (gst_value_deserialize):
14787 return long long, not int, so gint64 deserialization actually
14788 works. Is there any flag that makes the compiler check this ?
14791 2005-06-22 Wim Taymans <wim@fluendo.com>
14794 Added convenience macros for setting buffers in GValue.
14796 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
14798 * check/gst/.cvsignore:
14799 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14800 add a test deserializing int64, and comment part out because
14803 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
14805 * check/Makefile.am:
14806 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
14807 * testsuite/Makefile.am:
14808 * testsuite/caps/Makefile.am:
14809 * testsuite/caps/value_serialize.c:
14810 * testsuite/test_gst_init.c:
14811 move a value_serialize test over
14813 2005-06-20 Wim Taymans <wim@fluendo.com>
14818 * gst/gstvalue.c: (gst_value_compare_buffer),
14819 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
14820 (gst_value_compare_flags), (gst_value_serialize_flags),
14821 (gst_value_deserialize_flags), (_gst_value_initialize):
14822 Fix serialisation of buffers, they are not boxed types anymore
14824 2005-06-20 Wim Taymans <wim@fluendo.com>
14826 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14827 Testcase to show error in buffer-on-caps serialisation.
14829 2005-06-20 Andy Wingo <wingo@pobox.com>
14831 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
14832 will be adding to later.
14834 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
14835 if its socks fill with rocks.
14836 (gst_system_clock_obtain): Set the name on object construction.
14837 Avoid double-checked locking.
14839 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
14841 * gst/gsturi.c: (gst_element_make_from_uri):
14842 Fix potential endless loop.
14844 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14846 * check/Makefile.am:
14848 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
14850 move over from testsuite dir and clean up
14853 * testsuite/Makefile.am:
14854 * testsuite/tags/.cvsignore:
14855 * testsuite/tags/Makefile.am:
14856 * testsuite/tags/merge.c:
14857 remove testsuite/tags
14859 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14861 * docs/gst/gstreamer-sections.txt:
14862 * docs/gst/tmpl/gstenumtypes.sgml:
14863 * win32/gstenumtypes.c:
14864 clean up documentation build a little
14866 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14868 * check/gstcheck.h:
14869 add macros for checking refcounts on objects and caps
14870 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
14871 add some more unit tests
14872 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14873 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
14874 fix leaked refcounts (I hope :)) so unittest works
14878 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14880 * configure.ac: back to HEAD
14882 === release 0.9.1 ===
14884 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
14890 2005-06-17 Andy Wingo <wingo@pobox.com>
14892 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
14893 assert; it's always possible that the pad gets deactivated in
14894 between the checks in gstpad.c and the implementation. Rely on
14895 finish_preroll() to return a FLUSHING or similar instead of on the
14898 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
14899 clock and post an EOS message if we come out of finish_preroll in
14902 2005-06-16 David Schleef <ds@schleef.org>
14904 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
14905 (gst_capsfilter_set_property): Allow NULL as possible value
14906 for filter_caps property, indicating GST_CAPS_ANY.
14908 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14910 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
14912 * gst/schedulers/Makefile.am:
14914 * gstreamer.spec.in:
14917 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14919 * gstreamer.spec.in:
14922 2005-06-08 Andy Wingo <wingo@pobox.com>
14924 * gst/gstutils.c: RPAD fixes all around.
14925 (gst_element_link_pads): Refcounting fixes.
14927 * tools/gst-inspect.c:
14928 * tools/gst-xmlinspect.c:
14930 * gst/base/gsttypefindhelper.c:
14931 * gst/base/gstbasesink.c:
14932 * gst/gstqueue.c: RPAD fixes.
14934 * gst/gstghostpad.h:
14935 * gst/gstghostpad.c: New ghost pad implementation as full proxy
14936 pads. The tricky thing is they provide both source and sink
14937 interfaces, since they proxy the internal pad for the external
14938 pad, and vice versa. Implement with lower-level ProxyPad objects,
14939 with the interior proxy pad as a child of the exterior ghost pad.
14940 Should write a doc on this.
14942 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
14943 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
14946 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
14947 pads are real pads. No ghost pads in this file. Not documenting
14948 the myriad s/RPAD/PAD/ and REALIZE fixes.
14949 (gst_pad_class_init): Add properties for "direction" and
14950 "template". Both are construct-only, so they can't change during
14951 the life of the pad. Fixes properly deriving from GstPad.
14952 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
14953 derived objects, just set properties when creating the objects via
14955 (gst_pad_get_parent): Implement as a function, return NULL if the
14956 parent is not an element.
14957 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
14958 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
14960 * gst/gstobject.c (gst_object_class_init): Make name a construct
14961 property. Don't set it in the object init.
14963 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
14964 with UNKNOWN direction.
14965 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
14966 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
14967 (gst_element_remove_pad): Remove ghost-pad special cases.
14968 (gst_element_pads_activate): Remove rpad cruft.
14970 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
14971 catch the pad's-parent-not-an-element case.
14973 * gst/gst.h: Include gstghostpad.h.
14975 * gst/gst.c (init_post): No more real, ghost pads.
14977 * gst/Makefile.am: Add gstghostpad.[ch].
14979 * check/Makefile.am:
14980 * check/gst/gstbin.c:
14981 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
14982 into a bin creates ghost pads, and that the refcounts are right.
14983 Partly moved from gstbin.c.
14985 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
14987 * check/gst-libs/.cvsignore:
14988 * check/gst/.cvsignore:
14989 * check/pipelines/.cvsignore:
14991 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
14992 (START_TEST), (cleanup_suite), (main):
14993 add some tests related to cleanup after running pipelines
14995 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
14997 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
14998 add a testsuite for GstBuffer
15000 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15002 * gst/gstminiobject.h:
15003 add defines for accessing the refcount
15005 2005-06-03 Stefan Kost <ensonic@users.sf.net>
15007 * Makefile.am: added support for html unit test coverage reports
15009 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
15011 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15012 Free existing caps if the capsfilter changes. Add a FIXME about
15013 setting those caps on the pads.
15015 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15016 Before adding a ghost pad to a parent bin, check that there isn't
15017 already one for the element on the bin. Prevents infinite recursion
15018 when using decodebin in parse pipelines. Andy says he'll rewrite the
15019 way this works anyway, so ignore the hack.
15021 2005-06-02 Andy Wingo <wingo@pobox.com>
15023 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15024 file size, pass it on to the type find helper.
15026 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15027 segment_start and segment_end properly according to the seek
15028 method. Segment_end is still a bit flaky because offset can be
15029 negative for CUR and END cases, but it takes -1 as an "unset"
15032 2005-06-02 Wim Taymans <wim@fluendo.com>
15034 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15035 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15036 (gst_basesink_activate):
15037 * gst/base/gstbasesink.h:
15038 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15039 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15040 (gst_pad_query), (gst_pad_start_task):
15042 * gst/gstqueue.c: (gst_queue_bufferalloc),
15043 (gst_queue_handle_sink_event), (gst_queue_chain):
15044 Bufferalloc: return GstFlowReturn to more accuratly report
15045 why allocation failed.
15047 2005-06-02 Wim Taymans <wim@fluendo.com>
15049 * gst/gstpipeline.c: (gst_pipeline_send_event):
15050 Take snapshot of state without blocking.
15052 2005-06-02 Wim Taymans <wim@fluendo.com>
15054 * docs/design/part-TODO.txt:
15055 * docs/design/part-caps.txt:
15056 * docs/design/part-clocks.txt:
15057 * docs/design/part-negotiation.txt:
15058 * docs/design/part-preroll.txt:
15061 2005-05-30 Wim Taymans <wim@fluendo.com>
15063 * gst/elements/gstidentity.c: (gst_identity_event),
15064 (gst_identity_transform), (gst_identity_get_property):
15065 Protect last_message property as it is accessed from
15068 2005-05-30 Wim Taymans <wim@fluendo.com>
15070 * gst/gstelement.c: (gst_element_init),
15071 (gst_element_pads_activate), (gst_element_change_state):
15072 Slicker pad activation code.
15074 2005-05-30 Wim Taymans <wim@fluendo.com>
15077 * gst/gstelement.h:
15078 * gst/gstelementfactory.h:
15080 Move elementfactory methods to separate .h file.
15082 2005-05-30 Wim Taymans <wim@fluendo.com>
15084 * docs/design/part-overview.txt:
15085 * gst/gstsystemclock.h:
15086 Small typo fixes, doc updates.
15088 2005-05-30 Wim Taymans <wim@fluendo.com>
15090 * gst/gst.c: (gst_init_get_popt_table), (init_post),
15091 (init_popt_callback):
15092 Remove cpu-opt flag.
15094 2005-05-30 Wim Taymans <wim@fluendo.com>
15096 * gst/gstbuffer.c: (gst_subbuffer_finalize),
15097 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15099 Avoid typechecking in places where not needed.
15100 Added accessor for malloc_data.
15102 2005-05-30 Wim Taymans <wim@fluendo.com>
15104 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15105 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15106 (gst_pad_configure_sink), (gst_pad_configure_src),
15107 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15108 (gst_pad_start_task):
15109 Propagate errors from _set_caps() in configure_src/sink
15110 functions instead of returning TRUE.
15111 FLUSH events can travel up and downstream
15114 2005-05-30 Wim Taymans <wim@fluendo.com>
15116 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15117 (gst_basesink_activate):
15118 Handle EOS in preroll.
15120 2005-05-30 Wim Taymans <wim@fluendo.com>
15122 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15123 (gst_queue_loop), (gst_queue_handle_src_event):
15124 Remove old pieces of code
15125 Flushing the queue in an upstream event is a very bad idea.
15127 2005-05-26 Andy Wingo <wingo@pobox.com>
15129 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15130 gst_value_set_mini_object so as to add a ref on the object (which
15131 will be removed when the value is unset).
15133 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15134 arg type in ::handoff.
15136 * gst/gstelement.c (gst_element_change_state): Also deactivate
15137 pads in READY->NULL, just in case the element didn't make it to
15138 PAUSED. Wingo tested, Wim approved.
15140 2005-05-26 Wim Taymans <wim@fluendo.com>
15142 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15143 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15144 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15145 A flushing pad cannot be used to alloc_buffer from.
15147 2005-05-26 Wim Taymans <wim@fluendo.com>
15149 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15150 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15151 (gst_bus_source_dispatch), (gst_bus_source_finalize),
15152 (gst_bus_create_watch), (gst_bus_add_watch_full):
15154 Implement a real GSource and use g_main_context_wakeup() to
15155 signal new messages instead of the socketpair.
15157 2005-05-25 Wim Taymans <wim@fluendo.com>
15159 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15160 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15161 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15162 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15163 (gst_pad_send_event), (gst_pad_start_task):
15164 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15165 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15166 (gst_queue_sink_activate), (gst_queue_src_activate),
15167 (gst_queue_change_state):
15169 Fix state changes for non sinks. We now change sinks, then elements
15170 with unconnected srcpads, then the rest.
15171 More efficient queue unlocking in flush and state changes.
15172 Set the pad activate mode even if it does not have an activate
15175 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15177 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15178 Don't go in pull mode for non-seekable sources.
15179 * gst/elements/gsttypefindelement.h:
15180 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15181 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15182 (free_entry), (stop_typefinding),
15183 (gst_type_find_element_handle_event), (find_peek),
15184 (gst_type_find_element_chain), (do_pull_typefind),
15185 (gst_type_find_element_change_state):
15186 Allow typefinding (w/o seeking) in push-mode, simplified version
15187 of what was in 0.8.
15188 * gst/gstutils.c: (gst_buffer_join):
15190 gst_buffer_join() from 0.8.
15192 2005-05-25 Wim Taymans <wim@fluendo.com>
15194 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15195 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15196 (gst_pad_send_event), (gst_pad_start_task):
15197 Disable attempt at mode switching until it is figured out.
15199 2005-05-25 Wim Taymans <wim@fluendo.com>
15201 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15202 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15203 (gst_basesink_finish_preroll), (gst_basesink_chain),
15204 (gst_basesink_loop), (gst_basesink_activate),
15205 (gst_basesink_change_state):
15206 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15207 (gst_basesrc_get_range), (gst_basesrc_loop),
15208 (gst_basesrc_activate):
15209 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15210 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15211 (gst_real_pad_init), (gst_real_pad_set_property),
15212 (gst_real_pad_get_property), (gst_pad_set_active),
15213 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15214 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15215 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15216 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15217 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15218 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15219 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15220 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15221 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15222 (gst_pad_stop_task):
15224 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15225 (gst_queue_loop), (gst_queue_src_activate):
15226 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15227 (gst_task_get_state):
15229 * gst/schedulers/threadscheduler.c:
15230 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15231 Implement gst_pad_pause/start/stop_task(), take STREAM lock
15233 Remove ACTIVE pad flag, use FLUSHING everywhere
15234 Added _pad_chain(), _pad_get_range() to call chain/getrange
15236 Add locks around IS_FLUSHING when reading.
15237 Take STREAM lock in chain(), get_range() functions so plugins
15238 don't need to take it anymore.
15242 2005-05-25 Wim Taymans <wim@fluendo.com>
15244 * tools/gst-launch.c: (event_loop):
15245 Unref message after using its contents instead of
15248 2005-05-24 Wim Taymans <wim@fluendo.com>
15250 * docs/design/draft-ghostpads.txt:
15251 * docs/design/draft-push-pull.txt:
15252 * docs/design/draft-query.txt:
15253 * docs/design/part-overview.txt:
15254 Docs updates, added general overview doc.
15256 2005-05-21 David Schleef <ds@schleef.org>
15258 * docs/gst/tmpl/old/GstBin.sgml:
15259 * docs/gst/tmpl/old/GstBuffer.sgml:
15260 * docs/gst/tmpl/old/GstCaps.sgml:
15261 * docs/gst/tmpl/old/GstClock.sgml:
15262 * docs/gst/tmpl/old/GstCompat.sgml:
15263 * docs/gst/tmpl/old/GstData.sgml:
15264 * docs/gst/tmpl/old/GstElement.sgml:
15265 * docs/gst/tmpl/old/GstEvent.sgml:
15266 * docs/gst/tmpl/old/GstIndex.sgml:
15267 * docs/gst/tmpl/old/GstStructure.sgml:
15268 * docs/gst/tmpl/old/GstTag.sgml:
15269 * docs/gst/tmpl/old/cothreads.sgml:
15270 * docs/gst/tmpl/old/cothreads_compat.sgml:
15271 * docs/gst/tmpl/old/gettext.sgml:
15272 * docs/gst/tmpl/old/gobject2gtk.sgml:
15273 * docs/gst/tmpl/old/grammar.tab.sgml:
15274 * docs/gst/tmpl/old/gst-i18n-app.sgml:
15275 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
15276 * docs/gst/tmpl/old/gst_private.sgml:
15277 * docs/gst/tmpl/old/gstaggregator.sgml:
15278 * docs/gst/tmpl/old/gstarch.sgml:
15279 * docs/gst/tmpl/old/gstatomic_impl.sgml:
15280 * docs/gst/tmpl/old/gstbufferstore.sgml:
15281 * docs/gst/tmpl/old/gstdata_private.sgml:
15282 * docs/gst/tmpl/old/gstdisksink.sgml:
15283 * docs/gst/tmpl/old/gstdisksrc.sgml:
15284 * docs/gst/tmpl/old/gstelementfactory.sgml:
15285 * docs/gst/tmpl/old/gstextratypes.sgml:
15286 * docs/gst/tmpl/old/gstfakesink.sgml:
15287 * docs/gst/tmpl/old/gstfakesrc.sgml:
15288 * docs/gst/tmpl/old/gstfdsink.sgml:
15289 * docs/gst/tmpl/old/gstfdsrc.sgml:
15290 * docs/gst/tmpl/old/gstfilesink.sgml:
15291 * docs/gst/tmpl/old/gstfilesrc.sgml:
15292 * docs/gst/tmpl/old/gsthttpsrc.sgml:
15293 * docs/gst/tmpl/old/gstidentity.sgml:
15294 * docs/gst/tmpl/old/gstindexfactory.sgml:
15295 * docs/gst/tmpl/old/gstmarshal.sgml:
15296 * docs/gst/tmpl/old/gstmd5sink.sgml:
15297 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
15298 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
15299 * docs/gst/tmpl/old/gstpadtemplate.sgml:
15300 * docs/gst/tmpl/old/gstpipefilter.sgml:
15301 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
15302 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
15303 * docs/gst/tmpl/old/gstshaper.sgml:
15304 * docs/gst/tmpl/old/gstspider.sgml:
15305 * docs/gst/tmpl/old/gstspideridentity.sgml:
15306 * docs/gst/tmpl/old/gststatistics.sgml:
15307 * docs/gst/tmpl/old/gsttee.sgml:
15308 * docs/gst/tmpl/old/gsttimecache.sgml:
15309 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
15310 * docs/gst/tmpl/old/gstxmlregistry.sgml:
15311 * docs/gst/tmpl/old/gthread-cothreads.sgml:
15312 * docs/gst/tmpl/old/types.sgml:
15313 I didn't intend to add these or check them in.
15315 2005-05-19 David Schleef <ds@schleef.org>
15317 * configure.ac: Use -no-common everywhere. In a sane world, it
15318 would be the default in libtool, because without it, you can't
15319 build DLLs on Windows.
15320 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
15321 * docs/gst/gstreamer-sections.txt:
15322 * docs/gst/tmpl/gstcpu.sgml:
15323 * docs/gst/tmpl/gstdata.sgml:
15324 * docs/gst/tmpl/gstthread.sgml:
15326 2005-05-19 David Schleef <ds@schleef.org>
15328 * gst/gstminiobject.c: (gst_value_set_mini_object),
15329 (gst_value_take_mini_object), (gst_value_get_mini_object):
15330 * gst/gstminiobject.h: Add GValue set/get functions.
15332 2005-05-19 Wim Taymans <wim@fluendo.com>
15334 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
15335 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
15336 (gst_subbuffer_init), (gst_buffer_is_span_fast):
15338 * gst/gstbus.c: (gst_bus_post):
15339 * gst/gstelement.c: (gst_element_get_random_pad):
15340 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
15341 Make subbufer unref the parent in finalize.
15342 some more debugging info.
15345 2005-05-19 Wim Taymans <wim@fluendo.com>
15347 * gst/base/gstbasesink.c: (gst_basesink_class_init),
15348 (gst_basesink_init), (gst_basesink_finalize),
15349 (gst_basesink_activate), (gst_basesink_change_state):
15350 Don't free preroll queue too early.
15352 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15356 Hi, I'm outdated. Please shoot me.
15358 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15360 * gst/gstpipeline.c: (gst_pipeline_send_event):
15361 Do not access variables after they have been deleted.
15363 2005-05-19 Wim Taymans <wim@fluendo.com>
15365 * tools/gst-inspect.c: (print_plugin_features):
15366 A plugin feature does unfortunatly not use the
15369 2005-05-18 Wim Taymans <wim@fluendo.com>
15371 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
15372 Port _span() functions to new subbuffers.
15374 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15376 * gst/gstbin.c: (gst_bin_add_func):
15377 Fix clock settery in bins when adding kids after the clock has
15380 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15382 * gst/elements/gstidentity.c: (gst_identity_class_init):
15383 Workaround until signals support GstMiniObject.
15385 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15388 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
15390 2005-05-18 Wim Taymans <wim@fluendo.com>
15392 * gst/base/Makefile.am:
15393 * gst/base/gstadapter.c: (gst_adapter_base_init),
15394 (gst_adapter_class_init), (gst_adapter_init),
15395 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
15396 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
15397 (gst_adapter_flush), (gst_adapter_available),
15398 (gst_adapter_available_fast):
15399 * gst/base/gstadapter.h:
15400 Ported and added adapter to the base classes.
15402 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15405 * gst/gstmessage.c:
15406 Make sure the class is reffed/unreffed once before threads can be
15407 used. Fixes #304551.
15409 2005-05-17 Wim Taymans <wim@fluendo.com>
15411 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
15412 (gst_basesink_chain_unlocked), (gst_basesink_activate):
15413 * gst/gstminiobject.c: (gst_mini_object_get_type),
15414 (gst_mini_object_free):
15415 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
15416 (gst_pad_push), (gst_pad_push_event):
15417 * gst/gstqueue.c: (gst_queue_change_state):
15418 Don't queue buffers in basesink when we are flushing.
15419 Unref buffer when flushing in basesink.
15420 Flush queue when going to READY
15421 Unref buffer when _push() returns an error.
15422 Don't free MiniObject instance when refcount is incremented
15423 in _finalize() so that we can recover objects.
15425 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
15427 * docs/manual/advanced-schedulers.xml:
15428 * docs/manual/appendix-checklist.xml:
15429 * docs/pwg/advanced-clock.xml:
15430 * docs/pwg/advanced-interfaces.xml:
15431 * docs/pwg/advanced-request.xml:
15432 * docs/pwg/advanced-types.xml:
15433 * docs/pwg/intro-preface.xml:
15434 * examples/plugins/example.c: (gst_example_get_type),
15435 (gst_example_class_init), (gst_example_chain),
15436 (gst_example_set_property), (gst_example_get_property),
15437 (gst_example_change_state), (plugin_init):
15438 * examples/plugins/example.h:
15441 2005-05-17 Wim Taymans <wim@fluendo.com>
15443 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
15444 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
15445 * gst/gstqueue.c: (gst_queue_change_state):
15446 Clear queue when going to READY.
15447 Remove IN_SETCAPS flag too.
15449 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
15451 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
15452 Remove implicit cast from gboolean to GstElementStateReturn;
15453 make sure we still return failure in paused => ready case if
15454 the parent class fails to change state and our own stop
15457 2005-05-17 Wim Taymans <wim@fluendo.com>
15459 * tools/gst-launch.c: (event_loop):
15460 Message was unreffed too soon.
15462 2005-05-16 Andy Wingo <wingo@pobox.com>
15464 * gst/gstbin.c (sink_iterator_filter): Err... um...
15466 * check/gst/gstbin.c (test_ghost_pads): New test for the
15467 ghosting-if-elements-not-in-same-bin behavior.
15469 2005-05-16 David Schleef <ds@schleef.org>
15471 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
15472 accessing refcount directly.
15474 2005-05-15 David Schleef <ds@schleef.org>
15476 * check/Makefile.am: remove GstData checks
15477 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
15478 * gst/Makefile.am: add miniobject, remove data
15479 * gst/gst.h: add miniobject, remove data
15480 * gst/gstdata.c: remove
15481 * gst/gstdata.h: remove
15482 * gst/gstdata_private.h: remove
15483 * gst/gsttypes.h: remove GstEvent and GstMessage
15484 * gst/gstelement.c: (gst_element_post_message): fix for API changes
15485 * gst/gstmarshal.list: change BOXED -> OBJECT
15487 Implement GstMiniObject.
15488 * gst/gstminiobject.c:
15489 * gst/gstminiobject.h:
15491 Modify to be subclasses of GstMiniObject.
15492 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
15493 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
15494 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
15495 (gst_subbuffer_get_type), (gst_subbuffer_init),
15496 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
15499 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
15500 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
15501 (_gst_event_copy), (gst_event_new):
15503 * gst/gstmessage.c: (_gst_message_initialize),
15504 (gst_message_get_type), (gst_message_class_init),
15505 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
15506 (gst_message_new), (gst_message_new_error),
15507 (gst_message_new_warning), (gst_message_new_tag),
15508 (gst_message_new_state_changed), (gst_message_new_application):
15509 * gst/gstmessage.h:
15510 * gst/gstprobe.c: (gst_probe_perform),
15511 (gst_probe_dispatcher_dispatch):
15513 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
15514 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
15515 (_gst_query_copy), (gst_query_new):
15517 Update elements for GstData -> GstMiniObject changes
15519 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
15520 (gst_queue_chain), (gst_queue_loop):
15521 * gst/elements/gstbufferstore.c:
15522 (gst_buffer_store_add_buffer_func),
15523 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
15524 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15525 (gst_fakesink_render):
15526 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
15527 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
15528 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
15529 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
15530 (gst_filesrc_create_read):
15531 * gst/elements/gstidentity.c: (gst_identity_class_init):
15532 * gst/elements/gsttypefindelement.c:
15533 (gst_type_find_element_src_event), (free_entry_buffers),
15534 (gst_type_find_element_handle_event):
15535 * libs/gst/dataprotocol/dataprotocol.c:
15536 (gst_dp_header_from_buffer):
15537 * libs/gst/dataprotocol/dataprotocol.h:
15538 * libs/gst/dataprotocol/dp-private.h:
15540 2005-05-15 David Schleef <ds@schleef.org>
15542 * gst/elements/gstelements.c: Don't include headers that were
15545 2005-05-15 David Schleef <ds@schleef.org>
15547 * gst/elements/Makefile.am: Remove some elements that don't
15548 need to be in the core (or even exist at all).
15549 * gst/elements/gstaggregator.c:
15550 * gst/elements/gstaggregator.h:
15551 * gst/elements/gstmd5sink.c:
15552 * gst/elements/gstmd5sink.h:
15553 * gst/elements/gstmultifilesrc.c:
15554 * gst/elements/gstmultifilesrc.h:
15555 * gst/elements/gstpipefilter.c:
15556 * gst/elements/gstpipefilter.h:
15557 * gst/elements/gstshaper.c:
15558 * gst/elements/gstshaper.h:
15559 * gst/elements/gststatistics.c:
15560 * gst/elements/gststatistics.h:
15561 * po/POTFILES.in: Remove above files.
15563 2005-05-14 Andy Wingo <wingo@pobox.com>
15565 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
15566 so as to get the refs right.
15567 (sink_iterator_filter): New function, wraps bin_element_is_sink,
15568 unreffing objects that don't pass the filter.
15570 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
15571 gst_element_set_bus.
15572 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
15573 normal cases, this will destroy the bus.
15575 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
15578 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
15581 2005-05-13 Andy Wingo <wingo@pobox.com>
15583 * gst/gstutils.c (gst_element_link_pads): Instead of calling
15584 gst_pad_link, call pad_link_maybe_ghosting,
15585 (pad_link_maybe_ghosting): Links pads, making sure that the
15586 elements being linked are in the same bin.
15587 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
15588 Helpers for pad_link_maybe_ghosting.
15590 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
15593 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
15595 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
15597 * docs/design/part-element-source.txt:
15600 2005-05-12 Wim Taymans <wim@fluendo.com>
15602 * gst/base/gstbasesink.c: (gst_basesink_init),
15603 (gst_basesink_activate):
15604 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
15605 (gst_basesrc_is_seekable):
15606 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15607 (bin_element_is_sink), (gst_bin_change_state):
15608 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15609 * gst/gstelement.h:
15610 Identify sinks by their flag to avoid overly complicated
15612 Do state changes even for elements not reachable from the
15614 BaseSink is a sink now :)
15615 Some more debugging info in the basesrc.
15618 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15620 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
15621 Implement _query on a bin, similar to _send_event.
15623 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
15625 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
15626 Discont event offset format should be GST_FORMAT_BYTES,
15627 not GST_FORMAT_TIME.
15629 2005-05-12 Wim Taymans <wim@fluendo.com>
15631 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
15632 Same fix as Ronald's but without the signal.
15634 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15636 * gst/gstutils.c: (gst_element_query_position):
15637 No, an element is not a pad.
15639 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15641 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
15642 (gst_bin_get_state):
15643 If a child is removed from a bin while we remove the child from
15644 the bin and while we're retrieving its state, signal this to the
15645 get_state function so we abort the wait (instead of waiting for
15646 a timeout) and can immediately re-iterate over all other elements.
15648 2005-05-12 Wim Taymans <wim@fluendo.com>
15650 * gst/base/Makefile.am:
15651 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
15652 (gst_basesrc_start):
15653 * gst/base/gstbasesrc.h:
15654 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
15655 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
15656 (gst_pushsrc_init), (gst_pushsrc_create):
15657 * gst/base/gstpushsrc.h:
15658 Added is_seekable to BaseSrc
15659 Added simple PushSrc.
15661 2005-05-11 Wim Taymans <wim@fluendo.com>
15663 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15664 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15665 (gst_element_link_pads), (gst_element_query_position),
15666 (gst_element_query_convert), (intersect_caps_func),
15667 (gst_pad_query_position), (gst_pad_query_convert):
15668 Fix refcounting in utils function.
15669 No point in trying to activate a pad when it's added, it could
15670 be added from the state change function and then we deadlock, the
15671 element has to decide what to do.
15673 2005-05-10 Andy Wingo <wingo@pobox.com>
15675 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
15676 *all* the arguments.
15678 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
15679 stream lock if it's a FLUSH_DONE; normal flushes don't get the
15680 lock (according to the docs -- if this is wrong change the docs).
15682 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
15683 flush messages in the NULL state.
15685 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
15686 message immediately and return.
15687 (gst_bus_set_flushing): New function. If a bus is flushing, it
15688 flushes out any queued messages and immediately unrefs new
15689 messages. This is so when an element goes to NULL, all of the
15690 unhandled messages coming from it can be freed, and their
15691 references to the element dropped. In other words: message source
15692 ref considered harmful :P
15694 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
15695 we're finished with it.
15697 * gst/gstmessage.c (gst_message_new_state_changed):
15699 2005-05-10 Wim Taymans <wim@fluendo.com>
15701 * gst/gstvalue.c: (gst_value_compare_flags),
15702 (gst_value_serialize_flags), (gst_value_deserialize_flags),
15703 (_gst_value_initialize):
15704 Added flags serialize/deserialize/compare code.
15706 2005-05-09 Andy Wingo <wingo@pobox.com>
15708 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
15709 Intersect the peer's caps with our caps.
15711 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15713 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15714 * gst/elements/gsttypefindelement.c: (find_peek):
15715 Handle negative offsets better. Fixes decodebin.
15717 2005-05-09 Wim Taymans <wim@fluendo.com>
15719 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
15720 (gst_base_transform_event):
15721 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
15722 Implement accept_caps.
15723 Fix silly lock/unlock mismatch in base class.
15725 2005-05-09 Wim Taymans <wim@fluendo.com>
15727 * docs/design/draft-push-pull.txt:
15728 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
15729 * gst/elements/gstfilesink.c: (gst_filesink_init),
15730 (gst_filesink_query):
15731 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15732 (gst_type_find_handle_src_query), (find_element_get_length):
15733 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
15734 * gst/gstelement.h:
15735 * gst/gstmessage.c:
15736 * gst/gstmessage.h:
15737 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
15738 (gst_real_pad_get_caps_unlocked),
15739 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
15740 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15741 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
15742 (gst_real_pad_dispose), (gst_real_pad_finalize),
15743 (gst_pad_load_and_link), (gst_pad_save_thyself),
15744 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
15745 (gst_pad_check_pull_range), (gst_pad_pull_range),
15746 (gst_pad_template_get_type), (gst_pad_template_class_init),
15747 (gst_pad_template_init), (gst_pad_template_dispose),
15748 (name_is_valid), (gst_static_pad_template_get),
15749 (gst_pad_template_new), (gst_static_pad_template_get_caps),
15750 (gst_pad_template_get_caps), (gst_pad_set_element_private),
15751 (gst_pad_get_element_private), (gst_pad_start_task),
15752 (gst_pad_pause_task), (gst_pad_stop_task),
15753 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
15754 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
15755 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
15756 (gst_ghost_pad_new):
15758 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
15759 (gst_query_new_position), (gst_query_set_position),
15760 (gst_query_parse_position), (gst_query_new_convert),
15761 (gst_query_set_convert), (gst_query_parse_convert):
15763 * gst/gstqueryutils.c:
15764 * gst/gstqueryutils.h:
15765 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15766 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15767 (gst_queue_handle_src_query):
15768 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15769 (gst_element_query_position), (gst_element_query_convert),
15770 (intersect_caps_func), (gst_pad_query_position),
15771 (gst_pad_query_convert):
15773 * tools/gst-inspect.c: (print_pad_info):
15774 * tools/gst-xmlinspect.c: (print_element_info):
15775 Remove old query functions. Ported old code.
15776 Added position/convert helper functions to gstutils.
15777 Reordered gstpad.c code, grouping relevant things.
15778 Remove gst_message_new(), always need to speficy a specific
15782 2005-05-09 Andy Wingo <wingo@pobox.com>
15784 * gst/gstiterator.h: Add some includes.
15786 * gst/gstqueryutils.h: Include more headers.
15789 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
15790 some uses of gst_pad_query.
15792 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
15793 NULL out parameters.
15794 (gst_query_new_position): New proc, allocates a new position
15797 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
15798 gstqueryutils.c to the build.
15800 * gst/gststructure.c (gst_structure_set_valist): Implement with
15801 the generic G_VALUE_COLLECT.
15803 2005-05-08 Edward Hervey <bilboed@bilboed.com>
15805 * gst/Makefile.am: (gst_headers):
15806 Added gstqueryutils.h to the list of headers to install, that was
15807 a 'nachty' move wingo :)
15809 2005-05-06 Andy Wingo <wingo@pobox.com>
15812 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
15813 GstData, init a memchunk.
15814 (standard_definitions): Add a few query types, deprecate a few.
15815 (gst_query_get_type): New proc.
15816 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
15818 (gst_query_new_application, gst_query_get_structure): New public
15821 * docs/design/draft-query.txt: Removed LINKS from the query types,
15822 because all the rest can be dispatched to other pads -- seemed
15823 ugly to have a query that couldn't be dispatched. internal_links
15824 is fine as a pad method.
15826 * gst/gstpad.h: Add query2 as a pad method, add the new functions
15827 in gstpad.c, but maintain binary compatibility for the moment.
15828 Will fix before 0.9 is out.
15830 * gst/gstqueryutils.c:
15831 * gst/gstqueryutils.h: New files, implement 3 methods for each
15832 query type: parse_query, parse_response, and set. Probably need an
15835 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
15837 * gst/elements/gstfilesink.c (gst_filesink_query2):
15838 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
15839 query_types, and formats methods.
15841 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
15842 (gst_pad_set_query2_function): New functions.
15843 (gst_real_pad_init): Set query2_default as the default query2
15844 function. Basically just dispatches to internally linked pads.
15848 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
15849 without using the atomic operations. Only one thread can possibly
15850 be accessing the data at this point. Changed so as to avoid
15851 gst_atomic operations.
15853 2005-05-06 Wim Taymans <wim@fluendo.com>
15855 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
15856 Also set caps if we use the fallback buffer alloc.
15858 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
15860 * docs/gst/Makefile.am:
15861 * docs/gst/gstreamer-docs.sgml:
15862 * docs/gst/gstreamer-sections.txt:
15863 * docs/gst/tmpl/gstatomic.sgml:
15864 * docs/gst/tmpl/gstmemchunk.sgml:
15865 * testsuite/elements/struct_i386.h:
15866 * win32/GStreamer.vcproj:
15868 Purge GstAtomic stuff from docs and win32 makefiles as well
15870 2005-05-06 Wim Taymans <wim@fluendo.com>
15872 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
15873 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
15874 * gst/gstpad.c: (gst_pad_peer_get_caps):
15875 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15876 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15877 (gst_queue_src_activate), (gst_queue_change_state):
15879 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15880 (intersect_caps_func):
15881 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
15882 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
15883 Some fixes for the peer_get_caps() change.
15885 2005-05-06 Wim Taymans <wim@fluendo.com>
15887 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15888 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
15889 (gst_basesink_activate):
15890 Actually do something with error codes returned from the push
15893 2005-05-06 Wim Taymans <wim@fluendo.com>
15895 * docs/design/part-element-sink.txt:
15896 * docs/design/part-element-source.txt:
15897 * gst/base/gstbasesink.c: (gst_basesink_class_init),
15898 (gst_basesink_event), (gst_basesink_activate):
15899 * gst/base/gstbasesink.h:
15900 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
15901 (gst_basesrc_activate):
15902 * gst/base/gstbasesrc.h:
15903 * gst/gstelement.c: (gst_element_pads_activate):
15904 Some more documentation.
15905 Fixed scheduling decision in _pads_activate().
15907 2005-05-05 Andy Wingo <wingo@pobox.com>
15909 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
15912 2005-05-05 Wim Taymans <wim@fluendo.com>
15914 * gst/base/Makefile.am:
15915 * gst/base/gstbasesink.h:
15916 * gst/base/gstbasesrc.c: (gst_basesrc_init),
15917 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
15918 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
15919 (gst_collectpads_class_init), (gst_collectpads_init),
15920 (gst_collectpads_finalize), (gst_collectpads_new),
15921 (gst_collectpads_set_function), (gst_collectpads_add_pad),
15922 (find_pad), (gst_collectpads_remove_pad),
15923 (gst_collectpads_is_active), (gst_collectpads_collect),
15924 (gst_collectpads_collect_range), (gst_collectpads_start),
15925 (gst_collectpads_stop), (gst_collectpads_peek),
15926 (gst_collectpads_pop), (gst_collectpads_available),
15927 (gst_collectpads_read), (gst_collectpads_flush),
15928 (gst_collectpads_chain):
15929 * gst/base/gstcollectpads.h:
15930 * gst/elements/Makefile.am:
15931 * gst/elements/gstelements.c:
15932 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15933 (gst_fakesink_get_times), (gst_fakesink_event),
15934 (gst_fakesink_preroll), (gst_fakesink_render):
15935 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15936 (gst_filesink_init), (gst_filesink_set_location),
15937 (gst_filesink_open_file), (gst_filesink_close_file),
15938 (gst_filesink_pad_query), (gst_filesink_event),
15939 (gst_filesink_render), (gst_filesink_change_state):
15940 * gst/elements/gstfilesink.h:
15941 Added object to help in making collect pad based elements.
15943 Make event function in sink baseclass return gboolean.
15945 2005-05-05 Wim Taymans <wim@fluendo.com>
15947 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
15948 (gst_bin_get_by_name):
15950 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
15951 (gst_clock_finalize):
15952 * gst/gstdata.c: (gst_data_replace):
15954 * gst/gstelement.c: (gst_element_request_pad),
15955 (gst_element_pads_activate):
15956 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15957 (gst_object_unref):
15958 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15959 (gst_pad_set_checkgetrange_function),
15960 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
15961 (gst_pad_check_pull_range), (gst_pad_pull_range),
15962 (gst_static_pad_template_get_caps), (gst_pad_start_task),
15963 (gst_pad_pause_task), (gst_pad_stop_task):
15964 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15965 (gst_element_request_pad), (gst_pad_proxy_getcaps):
15966 Fix name lookup in GstBin.
15967 Added _data_replace() function and _buffer_replace()
15968 Use finalize method to clean up clock.
15969 Fix refcounting on request pads.
15970 Fix pad schedule mode error.
15971 Some more object refcounting debug info,
15974 2005-05-04 Andy Wingo <wingo@pobox.com>
15976 * check/Makefile.am:
15977 * docs/gst/tmpl/gstatomic.sgml:
15978 * docs/gst/tmpl/gstplugin.sgml:
15979 * gst/base/gstbasesink.c: (gst_basesink_activate):
15980 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
15981 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
15982 (gst_basesrc_query), (gst_basesrc_set_property),
15983 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
15984 (gst_basesrc_activate):
15985 * gst/base/gstbasesrc.h:
15986 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
15987 (gst_base_transform_src_activate):
15988 * gst/elements/gstelements.c:
15989 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15990 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15991 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15992 * gst/elements/gsttypefindelement.c: (find_element_get_length),
15993 (gst_type_find_element_checkgetrange),
15994 (gst_type_find_element_activate):
15995 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
15996 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
15997 (gst_caps_load_thyself):
15998 * gst/gstelement.c: (gst_element_pads_activate),
15999 (gst_element_save_thyself), (gst_element_restore_thyself):
16000 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16001 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16003 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16004 (gst_xml_parse_file), (gst_xml_parse_memory),
16005 (gst_xml_get_element), (gst_xml_make_element):
16006 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16007 (_file_index_id_save_xml), (gst_file_index_commit):
16008 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16009 (read_enum), (load_pad_template), (load_feature), (load_plugin),
16011 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16012 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16013 * tools/gst-complete.c: (main):
16014 * tools/gst-compprep.c: (main):
16015 * tools/gst-inspect.c: (print_element_properties_info):
16016 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16017 * tools/gst-xmlinspect.c: (print_element_properties):
16020 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
16022 * gst/gstplugin.c: (gst_plugin_check_module),
16023 (gst_plugin_check_file), (gst_plugin_load_file):
16024 apply patch from #172526 to make register work on MacOSX
16026 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16028 * docs/gst/tmpl/gstconfig.sgml:
16029 * gst/gstconfig.h.in:
16030 move documentation for some symbols. Add doc for GST_PTR_FORMAT
16031 * testsuite/debug/printf_extension.c: (main):
16032 Do not use GST_PTR_FORMAT on pointers to types with
16033 sizeof < sizeof(gpointer). Fixes test on 64-bit
16034 * testsuite/elements/property.h:
16035 use correct printf format
16037 2005-05-02 Wim Taymans <wim@fluendo.com>
16039 * docs/design/draft-push-pull.txt:
16040 * docs/design/draft-query.txt:
16041 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16042 (gst_basesrc_start):
16043 Added draft for new query API.
16044 Added draft for better selecting scheduling methods.
16045 Make basesrc ignore length if the subclass does not support
16048 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16051 possible fixes for automake-1.5 - _LIBADD is reserved
16053 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16055 * docs/faq/Makefile.am:
16056 * docs/manual/Makefile.am:
16057 * docs/manuals.mak:
16058 * docs/pwg/Makefile.am:
16060 possible fixes for automake-1.5
16062 2005-04-28 Wim Taymans <wim@fluendo.com>
16064 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16065 (gst_basesink_pad_getcaps), (gst_basesink_init),
16066 (gst_basesink_do_sync):
16067 * gst/gstclock.c: (gst_clock_entry_new):
16068 * gst/gstevent.c: (gst_event_discont_get_value):
16069 * gst/gstpipeline.c: (pipeline_bus_handler),
16070 (gst_pipeline_change_state):
16071 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16072 Better debugging of clocking info.
16073 Allow NULL values when getting discont values.
16075 2005-04-27 Wim Taymans <wim@fluendo.com>
16077 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16078 * check/gst/gstpad.c: (gst_pad_suite):
16079 Increase timeout for checks.
16081 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16083 * check/Makefile.am:
16084 fix the broken rule for cleanup. Apparently this rule is
16085 only needed on FC2, so maybe this warrants further autotool
16088 2005-04-26 Wim Taymans <wim@fluendo.com>
16090 * gst/gsttrashstack.h:
16091 Ooohh. a nasty one! After having a failed pop() from the stack,
16092 it's possible that the stack is empty. In that case, don't
16093 follow the NULL pointer.
16095 2005-04-25 Wim Taymans <wim@fluendo.com>
16097 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16098 (gst_pad_set_checkgetrange_function),
16099 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16100 (gst_pad_check_pull_range), (gst_pad_pull_range),
16101 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16102 (gst_pad_pause_task), (gst_pad_stop_task):
16103 * gst/gstplugin.c: (gst_plugin_load):
16105 Remove gst_library_load as it does more harm than good with
16106 the new g_module flags.
16107 Revert bogus caps template check in pad linking, pad caps
16108 are important when linking not the template, which is more
16109 general than the current caps.
16111 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16113 * gst/autoplug/.cvsignore:
16114 * gst/autoplug/Makefile.am:
16115 * gst/autoplug/gstsearchfuncs.c:
16116 * gst/autoplug/gstsearchfuncs.h:
16117 * gst/autoplug/gstspider.c:
16118 * gst/autoplug/gstspider.h:
16119 * gst/autoplug/gstspideridentity.c:
16120 * gst/autoplug/gstspideridentity.h:
16121 * gst/autoplug/spidertest.c:
16124 2005-04-25 Wim Taymans <wim@fluendo.com>
16126 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16127 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16128 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16129 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16131 Added stubs for unimplemented functions.
16133 2005-04-24 David Schleef <ds@schleef.org>
16135 * gst/gstpad.h: Disable some unimplemented functions. Wim,
16138 2005-04-24 David Schleef <ds@schleef.org>
16140 Convert everything from GstAtomicInt to g_atomic_int_*, and
16145 * gst/gstatomic_impl.h:
16153 * gst/gstdata_private.h:
16157 * gst/gstmessage.c:
16160 * gst/gststructure.c:
16161 * gst/gststructure.h:
16162 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16165 2005-04-24 David Schleef <ds@schleef.org>
16167 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16168 make the regressions tests work. Remove some code that is no
16170 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16171 Disable warning for pads without templates.
16173 2005-04-24 David Schleef <ds@schleef.org>
16175 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
16176 functions that handle filtered links.
16177 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16179 * gst/gstutils.c: Fix/remove utility functions that handle
16182 * gst/gstvalue.c: Add serialization/deserialization of caps
16183 * gst/parse/grammar.y: Ignore filtered caps when linking. This
16184 requires fixing so that the filter caps notation creates
16185 a capsfilter element and sets the filter_caps property. I
16186 think everyone probably wants to keep the shorthand notation.
16187 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16188 * docs/gst/tmpl/gstpad.sgml:
16190 * gst/elements/gstelements.c: Register capsfilter element.
16191 * gst/Makefile.am: fix spacing
16192 * docs/random/ds/0.9-suggested-changes: random
16194 2005-04-23 David Schleef <ds@schleef.org>
16196 * gst/elements/Makefile.am:
16197 * gst/elements/gstcapsfilter.c: New element that acts like an
16198 identity, but filters caps. Will eventually replace filtered
16199 caps in pad linking.
16200 * gst/gstutils.c: (gst_element_create_all_pads): New function
16201 to create all the ALWAYS pads that are registered with an
16202 element class. This functionality should eventually be
16203 merged in with GstElement initialization.
16205 * testsuite/trigger/README: part of trigger test code that should
16206 have been checked in a long time ago.
16208 2005-04-23 David Schleef <ds@schleef.org>
16210 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
16211 needed with new versions of libtool (nobody will confirm this),
16212 and hard to carry around.
16213 * gst/autoplug/Makefile.am:
16214 * gst/base/Makefile.am:
16215 * gst/elements/Makefile.am:
16216 * gst/indexers/Makefile.am:
16217 * gst/schedulers/Makefile.am:
16218 * libs/gst/bytestream/Makefile.am:
16219 * libs/gst/control/Makefile.am:
16220 * libs/gst/dataprotocol/Makefile.am:
16221 * libs/gst/getbits/Makefile.am:
16223 2005-04-21 Wim Taymans <wim@fluendo.com>
16225 * docs/design/draft-push-pull.txt:
16226 * docs/design/part-MT-refcounting.txt:
16227 * docs/design/part-TODO.txt:
16228 * docs/design/part-caps.txt:
16229 * docs/design/part-events.txt:
16230 * docs/design/part-gstbus.txt:
16231 * docs/design/part-gstpipeline.txt:
16232 * docs/design/part-messages.txt:
16233 * docs/design/part-push-pull.txt:
16234 * docs/design/part-query.txt:
16237 2005-04-21 Wim Taymans <wim@fluendo.com>
16239 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
16240 (gst_message_new), (gst_message_new_error),
16241 (gst_message_new_warning), (gst_message_new_tag),
16242 (gst_message_new_state_changed), (gst_message_new_application),
16243 (gst_message_get_structure):
16244 * gst/gstmessage.h:
16245 * gst/gststructure.c: (gst_structure_set_parent_refcount),
16246 (gst_structure_copy_conditional):
16247 Use parent refcount in GstMessage to ensure GstStructure
16249 Cleaned up headers a bit.
16252 2005-04-20 Wim Taymans <wim@fluendo.com>
16254 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16255 (gst_basesink_pad_getcaps), (gst_basesink_init),
16256 (gst_basesink_chain_unlocked):
16257 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
16258 (gst_type_find_helper):
16259 * gst/elements/gsttypefindelement.c:
16260 (gst_type_find_element_have_type), (gst_type_find_element_init),
16261 (stop_typefinding), (gst_type_find_element_handle_event),
16262 (find_suggest), (gst_type_find_element_chain),
16263 (gst_type_find_element_checkgetrange),
16264 (gst_type_find_element_getrange), (do_typefind),
16265 (gst_type_find_element_activate):
16266 * gst/gstbuffer.c: (_gst_buffer_sub_free),
16267 (gst_buffer_default_free), (gst_buffer_default_copy),
16268 (gst_buffer_set_caps):
16269 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
16270 (gst_caps_replace):
16271 * gst/gstmessage.c: (gst_message_new),
16272 (gst_message_new_state_changed):
16273 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16274 (gst_pad_set_checkgetrange_function),
16275 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
16276 (gst_pad_set_caps), (gst_pad_check_pull_range),
16277 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
16279 * gst/gsttypefind.c: (gst_type_find_register):
16280 Make gst_caps_replace() work like other _replace() functions.
16281 Use _caps_replace() where possible.
16282 Make sure _message_new() initialises its field.
16283 Add gst_static_pad_template_get_caps()
16286 2005-04-18 Andy Wingo <wingo@pobox.com>
16288 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
16289 on the peer, not the pad. I think that was a typo. Pass an extra
16290 arg to see if random access is possible. Activate the pads as
16291 PULL_RANGE if possible.
16293 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
16295 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
16296 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
16299 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16301 * docs/faq/using.xml:
16302 Add note on gstreamer-properties (#154996).
16304 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16306 * docs/random/bbb/optional-properties:
16307 Some analysis on optional properties.
16309 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16311 * docs/gst/tmpl/gstelementfactory.sgml:
16312 * gst/gstelement.h:
16313 * gst/gstelementfactory.c: (gst_element_factory_init),
16314 (gst_element_factory_cleanup), (gst_element_register),
16315 (__gst_element_factory_add_static_pad_template),
16316 (gst_element_factory_get_static_pad_templates),
16317 (gst_element_factory_can_src_caps),
16318 (gst_element_factory_can_sink_caps):
16319 * gst/registries/Makefile.am:
16320 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
16321 (gst_xml_registry_class_init), (gst_xml_registry_init),
16322 (gst_xml_registry_new), (gst_xml_registry_set_property),
16323 (gst_xml_registry_get_property), (get_time), (make_dir),
16324 (gst_xml_registry_get_perms_func),
16325 (plugin_times_older_than_recurse), (plugin_times_older_than),
16326 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
16327 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
16328 (add_to_char_array), (read_string), (read_uint), (read_enum),
16329 (load_pad_template), (load_feature), (load_plugin), (load_paths),
16330 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
16331 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
16332 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
16333 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
16334 (gst_xml_registry_rebuild):
16335 * gst/registries/gstlibxmlregistry.h:
16336 * tools/gst-compprep.c: (main):
16337 * tools/gst-inspect.c: (print_pad_templates_info):
16338 * tools/gst-xmlinspect.c: (print_element_info):
16339 Use libxml2 for registry parsing, use staticpadtemplates in
16340 elementfactories. Makes gst_init() +/- 10x faster.
16342 2005-04-12 Wim Taymans <wim@fluendo.com>
16344 * gst/base/Makefile.am:
16345 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16346 (gst_basesink_pad_getcaps), (gst_basesink_init),
16347 (gst_basesink_event), (gst_basesink_change_state):
16348 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16349 (gst_basesrc_init), (gst_basesrc_query),
16350 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16351 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16352 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16353 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16354 (gst_basesrc_stop), (gst_basesrc_activate),
16355 (gst_basesrc_change_state):
16356 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16357 (helper_find_suggest), (gst_type_find_helper):
16358 * gst/base/gsttypefindhelper.h:
16359 * gst/elements/Makefile.am:
16360 * gst/elements/gstelements.c:
16361 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16362 (gst_fakesink_get_times), (gst_fakesink_event),
16363 (gst_fakesink_preroll), (gst_fakesink_render):
16364 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16365 (gst_fakesrc_init), (gst_fakesrc_event_handler),
16366 (gst_fakesrc_get_property), (gst_fakesrc_create),
16367 (gst_fakesrc_start), (gst_fakesrc_stop):
16368 * gst/elements/gstfakesrc.h:
16369 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
16370 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16371 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16372 (gst_filesrc_create_read), (gst_filesrc_create),
16373 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
16374 (gst_filesrc_start):
16375 * gst/elements/gsttypefindelement.c:
16376 (gst_type_find_element_have_type), (gst_type_find_element_init),
16377 (start_typefinding), (stop_typefinding), (push_buffer_store),
16378 (gst_type_find_element_handle_event),
16379 (gst_type_find_element_chain),
16380 (gst_type_find_element_checkgetrange),
16381 (gst_type_find_element_getrange), (do_typefind),
16382 (gst_type_find_element_activate),
16383 (gst_type_find_element_change_state):
16384 * gst/elements/gsttypefindelement.h:
16385 * gst/gstpipeline.c: (pipeline_bus_handler):
16386 Added typefind helper.
16387 Small preroll fix in the base sink.
16388 Disable typefind code in basesrc.
16389 Crude port of typefindelement.
16393 2005-04-11 Wim Taymans <wim@fluendo.com>
16395 * check/gst/gstbus.c: (gstbus_suite):
16396 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
16397 * check/gstcheck.h:
16398 Fix up the timeout so that the test does not fail.
16400 2005-04-06 Wim Taymans <wim@fluendo.com>
16403 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16404 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
16405 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16406 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16407 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16408 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16409 (gst_basesrc_stop), (gst_basesrc_activate),
16410 (gst_basesrc_change_state), (basesrc_find_peek),
16411 (basesrc_find_suggest), (gst_basesrc_type_find):
16412 * gst/base/gstbasesrc.h:
16413 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
16414 (gst_filesrc_class_init), (gst_filesrc_init),
16415 (gst_filesrc_finalize), (gst_filesrc_set_location),
16416 (gst_filesrc_set_property), (gst_filesrc_get_property),
16417 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16418 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16419 (gst_filesrc_create_read), (gst_filesrc_create),
16420 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
16421 * gst/elements/gstfilesrc.h:
16422 * gst/gstelement.c: (gst_element_get_state_func),
16423 (gst_element_lost_state), (gst_element_pads_activate):
16424 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16425 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16426 (gst_pad_pull_range):
16428 More work on the generic source base class, implement seeking,
16430 Make filesrc extend the base source class.
16431 Added gst_pad_set_checkgetrange_function to GstPad.
16433 2005-04-06 Andy Wingo <wingo@pobox.com>
16435 * pkgconfig/gstreamer-base.pc.in:
16436 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
16438 * pkgconfig/Makefile.am:
16439 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
16441 2005-04-04 Wim Taymans <wim@fluendo.com>
16443 * gst/base/Makefile.am:
16445 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16446 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16447 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16448 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
16449 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16450 (gst_basesrc_base_init), (gst_basesrc_class_init),
16451 (gst_basesrc_init), (gst_basesrc_get_formats),
16452 (gst_basesrc_get_query_types), (gst_basesrc_query),
16453 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
16454 (gst_basesrc_set_property), (gst_basesrc_get_property),
16455 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
16456 (gst_basesrc_loop), (gst_basesrc_activate),
16457 (gst_basesrc_change_state):
16458 * gst/base/gstbasesrc.h:
16459 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
16460 (gst_fakesrc_class_init), (gst_fakesrc_init),
16461 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
16462 (gst_fakesrc_get_property), (gst_fakesrc_create):
16463 * gst/elements/gstfakesrc.h:
16464 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
16465 (gst_filesrc_open_file), (gst_filesrc_loop),
16466 (gst_filesrc_activate), (filesrc_find_peek),
16467 (gst_filesrc_type_find):
16468 Made base source class, make fakesrc extend it.
16469 Add comments to basesink class.
16470 Some filesrc cleanup.
16472 2005-03-31 David Schleef <ds@schleef.org>
16474 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
16475 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
16476 expected to link against libgstreamer.
16477 * gst/base/Makefile.am: link against libgstreamer
16478 * gst/elements/Makefile.am: same
16480 2005-03-31 Andy Wingo <wingo@pobox.com>
16482 * tests/instantiate/Makefile.am:
16483 * tests/instantiate/caps.c: Add test to test speed of caps copy
16486 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
16487 GMemChunk to be fair.
16489 * gst/gsttrashstack.h: Remove warning about using the fallback
16490 trash stack implementation, it's still faster than malloc.
16492 2005-03-30 Andy Wingo <wingo@pobox.com>
16494 * tests/complexity.c: Add a copyright.
16496 2005-03-31 Wim Taymans <wim@fluendo.com>
16498 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
16499 (gst_base_transform_class_init), (gst_base_transform_init),
16500 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16501 (gst_base_transform_get_property),
16502 (gst_base_transform_sink_activate),
16503 (gst_base_transform_src_activate),
16504 (gst_base_transform_change_state):
16505 * gst/base/gstbasetransform.h:
16506 * gst/elements/gstidentity.c: (gst_identity_class_init),
16507 (gst_identity_event), (gst_identity_check_perfect),
16508 (gst_identity_transform), (gst_identity_start),
16509 (gst_identity_stop):
16510 Added start/stop methods to transform base class so subclasses
16511 don't need to deal with state changes even.
16513 2005-03-31 Wim Taymans <wim@fluendo.com>
16515 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
16516 (gst_event_new_discontinuous), (gst_event_discont_get_value):
16518 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16519 (gst_pad_pull_range):
16520 Added rate to the discont event to prepare for variable speed
16521 and reverse playback.
16523 2005-03-29 David Schleef <ds@schleef.org>
16526 * testsuite/trigger/Makefile.am:
16527 * testsuite/trigger/trigger.c: A little example program to show
16528 how trigger-based elements can work.
16530 2005-03-29 Wim Taymans <wim@fluendo.com>
16532 * gst/base/Makefile.am:
16534 * gst/base/gstbasesink.c: (gst_basesink_get_type),
16535 (gst_basesink_base_init), (gst_basesink_class_init),
16536 (gst_basesink_pad_getcaps), (gst_basesink_init),
16537 (gst_basesink_activate), (gst_basesink_change_state):
16538 * gst/base/gstbasesink.h:
16539 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
16540 (gst_base_transform_base_init), (gst_base_transform_finalize),
16541 (gst_base_transform_class_init), (gst_base_transform_init),
16542 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
16543 (gst_base_transform_event), (gst_base_transform_getrange),
16544 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
16545 (gst_base_transform_set_property),
16546 (gst_base_transform_get_property),
16547 (gst_base_transform_sink_activate),
16548 (gst_base_transform_src_activate),
16549 (gst_base_transform_change_state):
16550 * gst/base/gstbasetransform.h:
16551 * gst/elements/gstidentity.c: (gst_identity_finalize),
16552 (gst_identity_class_init), (gst_identity_init),
16553 (gst_identity_event), (gst_identity_check_perfect),
16554 (gst_identity_transform), (gst_identity_set_property),
16555 (gst_identity_get_property), (gst_identity_change_state):
16556 * gst/elements/gstidentity.h:
16557 * gst/gstelement.c: (gst_element_get_state_func),
16558 (gst_element_lost_state), (gst_element_pads_activate):
16559 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16560 (gst_pad_check_pull_range), (gst_pad_pull_range):
16562 Simplify pad activation.
16563 Added function to check if pull_range can be performed.
16564 Error out when pulling inactive or flushing pads.
16565 Removed const from refcounted types as it does not make sense.
16566 Simplify pad templates in basesink
16567 Added base class for simple 1-to-1 transforms.
16568 Make identity subclass the base transform.
16570 2005-03-29 Andy Wingo <wingo@pobox.com>
16572 * docs/libs/gstreamer-libs-overrides.txt:
16573 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
16574 really don't understand what's going on, but like whatever. I want
16577 * docs/gst/Makefile.am:
16578 * docs/libs/Makefile.am: Dist the overrides files.
16580 * check/Makefile.am (clean-local): Remove .libs directories.
16582 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
16583 elements to EXTRA_DIST, so po/ files are happy.
16585 * po/POTFILES.in: Er, remove it here.
16587 * po/POTFILES: Remove gstspider.c.
16589 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
16591 * docs/libs/gstreamer-libs-docs.sgml:
16592 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
16595 * tests/complexity.c (main): Set the length of the preroll queue
16596 on the sinks to prevent a lockup.
16598 * libs/gst/dataprotocol/Makefile.am:
16599 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
16600 the same as the one in check/gst-libs/gdp.c.
16602 * po/, docs/gst/: Commit automatic changes to docs and po files.
16604 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
16605 the versioned libgstbase.
16607 * check/Makefile.am: Depend on an unversioned gst-register, seems
16608 to make autoconf happier.
16610 * gst/base/Makefile.am: Make libgstbase a versioned lib.
16612 2005-03-28 Wim Taymans <wim@fluendo.com>
16615 * docs/design/part-gstelement.txt:
16616 * docs/design/part-negotiation.txt:
16617 * docs/design/part-preroll.txt:
16618 * docs/design/part-scheduling.txt:
16619 * docs/design/part-states.txt:
16621 * gst/base/Makefile.am:
16623 * gst/base/gstbasesink.c: (gst_basesink_get_template),
16624 (gst_basesink_base_init), (gst_basesink_class_init),
16625 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16626 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16627 (gst_basesink_set_pad_functions),
16628 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
16629 (gst_basesink_set_property), (gst_basesink_get_property),
16630 (gst_base_sink_get_template), (gst_base_sink_get_caps),
16631 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
16632 (gst_basesink_preroll_queue_push),
16633 (gst_basesink_preroll_queue_empty),
16634 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
16635 (gst_basesink_event), (gst_basesink_get_times),
16636 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
16637 (gst_basesink_chain_unlocked), (gst_basesink_chain),
16638 (gst_basesink_loop), (gst_basesink_activate),
16639 (gst_basesink_change_state):
16640 * gst/base/gstbasesink.h:
16641 * gst/elements/Makefile.am:
16642 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
16643 (gst_fakesink_class_init), (gst_fakesink_init),
16644 (gst_fakesink_set_property), (gst_fakesink_get_property),
16645 (gst_fakesink_get_times), (gst_fakesink_event),
16646 (gst_fakesink_preroll), (gst_fakesink_render),
16647 (gst_fakesink_change_state):
16648 * gst/elements/gstfakesink.h:
16649 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16650 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
16651 * gst/gstelement.c: (gst_element_add_pad),
16652 (gst_element_get_state_func), (gst_element_abort_state),
16653 (gst_element_commit_state), (gst_element_lost_state),
16654 (gst_element_set_state), (gst_element_pads_activate):
16655 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
16656 * gst/gstpipeline.c: (gst_pipeline_send_event),
16657 (gst_pipeline_change_state):
16658 Added state change code.
16659 Added/updated docs.
16660 Added sink base class, make fakesink extend the base class.
16661 Small cleanups in GstPipeline.
16663 2005-03-26 David Schleef <ds@schleef.org>
16665 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
16666 is broken and should be implemented in a different library.
16667 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
16668 * gst/gst.h: remove gstcpu.h
16669 * gst/gstcpu.c: remove
16670 * gst/gstcpu.h: remove
16671 * gst/Makefile.am.future: Remove this file. It's ancient.
16673 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16675 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16676 (gst_bin_send_event):
16677 Add default event/set_manager handlers. The set_manager handler
16678 takes care that the manager is distributed over kids that were
16679 already in the bin before the manager was set. The event handler
16680 is a utility virtual function that sends the event over all sinks,
16681 so that gst_element_send_event (bin, event); has the expected
16683 * gst/gstpad.c: (gst_pad_event_default):
16684 Re-install default event handling for discontinuities, so that
16685 seeking works without requiring hacks in applications or extra
16687 * gst/gstpipeline.c: (gst_pipeline_class_init),
16688 (gst_pipeline_send_event):
16689 Half hack, half utility: set a pipeline to PAUSED for seek events,
16690 since that is the only way we can guarantee a/v sync. Means that
16691 you can do gst_element_seek (pipeline, method, pos); on a pipeline
16692 and it "just works".
16694 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16696 * gst/gstpipeline.c: (gst_pipeline_use_clock):
16697 Lock/unlock mismatch.
16699 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
16701 * docs/faq/gst-uninstalled:
16702 add gst-plugins-base
16703 * docs/gst/Makefile.am:
16704 don't error out until docs are fixed
16705 * docs/gst/gstreamer.types:
16708 2005-03-22 Wim Taymans <wim@fluendo.com>
16710 * check/Makefile.am:
16711 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
16712 * gst/gststructure.c: (gst_structure_set_valist),
16713 (gst_structure_copy_conditional):
16714 Activated more tests.
16715 Added message test.
16716 Added G_TYPE_POINTER to GstStructure.
16719 2005-03-22 Wim Taymans <wim@fluendo.com>
16721 * docs/design/part-TODO.txt:
16722 * docs/design/part-events.txt:
16723 * docs/design/part-gstbin.txt:
16724 * docs/design/part-gstbus.txt:
16725 * docs/design/part-gstpipeline.txt:
16726 * docs/design/part-messages.txt:
16728 * gst/gstmessage.c:
16731 2005-03-21 Wim Taymans <wim@fluendo.com>
16733 * gst/gstbus.c: (gst_bus_post):
16734 Fix copy-and-paste error.
16736 2005-03-21 Wim Taymans <wim@fluendo.com>
16738 * check/Makefile.am:
16740 * gst/elements/Makefile.am:
16741 * gst/elements/gstelements.c:
16742 * gst/elements/gstfakesink.c: (gst_fakesink_init),
16743 (gst_fakesink_event), (gst_fakesink_chain):
16744 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16745 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
16746 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
16747 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
16748 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16749 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
16750 (gst_fakesrc_loop), (gst_fakesrc_activate),
16751 (gst_fakesrc_change_state):
16752 * gst/elements/gstfakesrc.h:
16753 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
16754 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
16755 (gst_filesrc_open_file), (gst_filesrc_loop),
16756 (gst_filesrc_activate), (gst_filesrc_change_state),
16757 (filesrc_find_peek), (filesrc_find_suggest),
16758 (gst_filesrc_type_find):
16759 * gst/elements/gstidentity.c: (gst_identity_finalize),
16760 (gst_identity_class_init), (gst_identity_init),
16761 (gst_identity_proxy_getcaps), (identity_queue_push),
16762 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
16763 (gst_identity_getrange), (gst_identity_chain),
16764 (gst_identity_sink_loop), (gst_identity_src_loop),
16765 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
16766 (gst_identity_set_property), (gst_identity_get_property),
16767 (gst_identity_change_state):
16768 * gst/elements/gstidentity.h:
16769 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
16770 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
16771 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
16772 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
16773 (gst_tee_sink_activate):
16774 * gst/elements/gsttee.h:
16775 * gst/gst.c: (gst_register_core_elements), (init_post):
16777 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
16778 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
16779 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
16780 (gst_bin_change_state):
16782 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
16783 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
16784 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
16785 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
16786 (gst_bus_set_sync_handler), (gst_bus_create_watch),
16787 (bus_watch_callback), (bus_watch_destroy),
16788 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
16789 (poll_timeout), (gst_bus_poll):
16793 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
16794 (gst_element_post_message), (gst_element_message_full),
16795 (gst_element_get_state_func), (gst_element_get_state),
16796 (gst_element_abort_state), (gst_element_commit_state),
16797 (gst_element_lost_state), (gst_element_set_state),
16798 (gst_element_pads_activate), (gst_element_change_state),
16799 (gst_element_dispose), (gst_element_set_manager_func),
16800 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
16801 (gst_element_set_manager), (gst_element_get_manager),
16802 (gst_element_set_bus), (gst_element_get_bus),
16803 (gst_element_set_scheduler), (gst_element_get_scheduler):
16804 * gst/gstelement.h:
16805 * gst/gstevent.c: (gst_event_new_segment_seek),
16806 (gst_event_new_flush):
16808 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
16809 (_gst_message_free), (gst_message_get_type), (gst_message_new),
16810 (gst_message_new_eos), (gst_message_new_error),
16811 (gst_message_new_warning), (gst_message_new_tag),
16812 (gst_message_new_state_changed), (gst_message_new_application),
16813 (gst_message_get_structure), (gst_message_parse_tag),
16814 (gst_message_parse_state_changed), (gst_message_parse_error),
16815 (gst_message_parse_warning):
16816 * gst/gstmessage.h:
16817 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
16818 (gst_real_pad_set_property), (gst_pad_set_active),
16819 (gst_pad_is_active), (gst_pad_set_blocked_async),
16820 (gst_pad_set_blocked), (gst_pad_is_blocked),
16821 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
16822 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
16823 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
16824 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
16825 (gst_pad_link_filtered), (gst_pad_relink_filtered),
16826 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
16827 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
16828 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
16829 (gst_pad_set_caps), (gst_pad_configure_sink),
16830 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
16831 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
16832 (gst_real_pad_dispose), (gst_real_pad_finalize),
16833 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
16834 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16835 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
16837 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
16838 (pipeline_bus_handler), (gst_pipeline_change_state),
16839 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
16840 * gst/gstpipeline.h:
16842 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16843 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
16844 (gst_queue_link_src), (gst_queue_bufferalloc),
16845 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16846 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
16847 (gst_queue_loop), (gst_queue_handle_src_event),
16848 (gst_queue_handle_src_query), (gst_queue_src_activate),
16849 (gst_queue_change_state):
16851 * gst/gstscheduler.c: (gst_scheduler_init),
16852 (gst_scheduler_dispose), (gst_scheduler_create_task),
16853 (gst_scheduler_factory_create):
16854 * gst/gstscheduler.h:
16855 * gst/gststructure.c: (gst_structure_get_type),
16856 (gst_structure_copy_conditional):
16857 * gst/gststructure.h:
16858 * gst/gsttaginterface.h:
16859 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16860 (gst_task_init), (gst_task_dispose), (gst_task_create),
16861 (gst_task_get_state), (gst_task_start), (gst_task_stop),
16867 * gst/schedulers/Makefile.am:
16868 * gst/schedulers/cothreads_compat.h:
16869 * gst/schedulers/entryscheduler.c:
16870 * gst/schedulers/faircothreads.c:
16871 * gst/schedulers/faircothreads.h:
16872 * gst/schedulers/fairscheduler.c:
16873 * gst/schedulers/gstbasicscheduler.c:
16874 * gst/schedulers/gstoptimalscheduler.c:
16875 * gst/schedulers/gthread-cothreads.h:
16876 * gst/schedulers/threadscheduler.c:
16877 (gst_thread_scheduler_task_get_type),
16878 (gst_thread_scheduler_task_class_init),
16879 (gst_thread_scheduler_task_init),
16880 (gst_thread_scheduler_task_start),
16881 (gst_thread_scheduler_task_stop),
16882 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
16883 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16884 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
16885 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
16887 * libs/gst/Makefile.am:
16888 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
16889 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
16890 (gst_file_pad_parent_set):
16891 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16892 (gst_dp_event_from_packet):
16893 * tests/complexity.c: (main):
16894 * tests/mass_elements.c: (main):
16895 * testsuite/states/locked.c: (message_received), (main):
16896 * testsuite/states/parent.c: (main):
16897 * tools/gst-inspect.c: (print_element_flag_info),
16898 (print_implementation_info), (print_pad_info):
16899 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
16901 * tools/gst-md5sum.c: (event_loop), (main):
16902 * tools/gst-typefind.c: (main):
16903 * tools/gst-xmlinspect.c: (print_element_info):
16905 Added GstBus for mainloop integration.
16906 Added GstMessage for sending notifications on the bus.
16907 Added GstTask as an abstraction for pipeline entry points.
16909 Removed Schedulers.
16910 Simplified GstQueue for multithreaded core.
16911 Made _link threadsafe, removed old capsnego.
16912 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
16913 Added pad blocking functions.
16914 Reworked scheduling functions in GstPad to prepare for
16915 scheduling updates soon.
16916 Moved events out of data stream.
16917 Simplified GstEvent types.
16918 Added return values to push/pull.
16919 Removed clocking from GstElement.
16920 Added prototypes for state change function for next merge.
16921 Removed iterate from bins and state change management.
16922 Fixed some elements, disabled others for now.
16923 Fixed -inspect and -launch.
16924 Added check for GstBus.
16926 2005-03-10 Wim Taymans <wim@fluendo.com>
16928 * docs/design/part-MT-refcounting.txt:
16929 * docs/design/part-clocks.txt:
16930 * docs/design/part-gstelement.txt:
16931 * docs/design/part-gstobject.txt:
16932 * docs/design/part-standards.txt:
16933 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
16934 (gst_bin_remove_func), (gst_bin_remove):
16938 * testsuite/clock/clock1.c: (main):
16939 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
16941 * testsuite/dlopen/loadgst.c: (do_test):
16942 * testsuite/refcounting/bin.c: (add_remove_test1),
16943 (add_remove_test2), (main):
16944 * testsuite/refcounting/element.c: (main):
16945 * testsuite/refcounting/element_pad.c: (main):
16946 * testsuite/refcounting/pad.c: (main):
16947 * tools/gst-launch.c: (sigint_handler_sighandler):
16948 * tools/gst-typefind.c: (main):
16950 Added doc about clock.
16951 removed gst_bin_iterate_recurse_up(), marked methods
16953 Fix more testsuites.
16955 2005-03-09 Wim Taymans <wim@fluendo.com>
16957 * gst/gstpad.c: (gst_pad_get_direction),
16958 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
16959 (gst_pad_collect_valist):
16960 * testsuite/bins/interface.c: (main):
16961 * testsuite/caps/audioscale.c: (test_caps):
16962 * testsuite/caps/caps.c: (test1), (test2), (test3):
16963 * testsuite/caps/deserialize.c: (main):
16964 * testsuite/caps/enumcaps.c: (main):
16965 * testsuite/caps/filtercaps.c: (main):
16966 * testsuite/caps/intersect2.c: (main):
16967 * testsuite/caps/random.c: (main):
16968 * testsuite/caps/renegotiate.c: (my_fixate), (main):
16969 * testsuite/caps/sets.c: (check_caps):
16970 * testsuite/caps/simplify.c: (check_caps), (main):
16971 * testsuite/caps/subtract.c: (check_caps):
16972 Fix _pad_get_direction wrt ghostpads.
16973 Fix caps testsuite.
16975 2005-03-09 Wim Taymans <wim@fluendo.com>
16977 * check/Makefile.am:
16978 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
16979 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
16980 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
16981 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
16982 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
16983 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
16984 (gst_bin_remove), (gst_bin_iterate_recurse_up),
16985 (bin_element_is_sink), (gst_bin_iterate_sinks),
16986 (gst_bin_iterate_all_by_interface):
16988 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
16989 (gst_element_change_state), (gst_element_dispose),
16990 (gst_element_finalize), (gst_element_set_loop_function):
16991 * gst/gstelement.h:
16992 * gst/gstiterator.c: (find_custom_fold_func):
16993 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
16994 (gst_pad_collectv), (gst_pad_collect_valist),
16995 (gst_pad_template_new):
16996 * gst/gstpipeline.c: (gst_pipeline_class_init),
16997 (gst_pipeline_dispose), (gst_pipeline_set_property),
16998 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
16999 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17000 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17002 * gst/schedulers/entryscheduler.c:
17003 * gst/schedulers/gstbasicscheduler.c:
17004 (gst_basic_scheduler_cothreaded_chain),
17005 (gst_basic_scheduler_chain_add_element):
17006 * testsuite/bins/interface.c: (main):
17008 Added GstSystemClock test.
17009 Implemented clock distribution code in GstBin.
17010 Implemented iterate sinks method for future use.
17011 Rearranged gstelement.h
17012 Fix GstIterator comparison bug.
17013 Moved some code to GstPipeline, mostly clocking related.
17015 2005-03-09 Wim Taymans <wim@fluendo.com>
17018 * gst/gst_private.h:
17019 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17020 (gst_bin_remove_func), (gst_bin_remove),
17021 (gst_bin_get_by_name_recurse_up):
17022 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17023 (gst_clock_id_compare_func), (gst_clock_id_wait),
17024 (gst_clock_id_wait_async), (gst_clock_init),
17025 (gst_clock_adjust_unlocked), (gst_clock_get_time):
17026 * gst/gstelement.h:
17027 * gst/gstinfo.c: (_gst_debug_init):
17029 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17030 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17032 Bump version number, we're now 0.9.0
17033 Add future debugging category.
17034 Fix NULL _unref() in _get_by_name_recurse_up
17035 Rearrange gstpad.h.
17038 2005-03-08 Wim Taymans <wim@fluendo.com>
17040 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17041 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17042 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17043 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17044 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17045 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17046 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17047 * gst/elements/gstidentity.c: (gst_identity_class_init):
17048 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17049 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17050 * gst/elements/gstshaper.c: (gst_shaper_class_init):
17051 * gst/elements/gststatistics.c: (gst_statistics_class_init):
17052 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17054 * gst/gstelement.c: (gst_element_class_init),
17055 (gst_element_base_class_init), (gst_element_init),
17056 (gst_element_get_random_pad), (gst_element_wait_state_change),
17057 (gst_element_change_state), (gst_element_dispose),
17058 (gst_element_finalize), (gst_element_set_loop_function):
17059 * gst/gstelement.h:
17060 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17061 * gst/gstthread.c: (gst_thread_class_init),
17062 (gst_thread_release_children_locks), (gst_thread_change_state):
17063 * gst/schedulers/gstbasicscheduler.c:
17064 (gst_basic_scheduler_loopfunc_wrapper),
17065 (gst_basic_scheduler_chain_wrapper),
17066 (gst_basic_scheduler_src_wrapper),
17067 (gst_basic_scheduler_remove_element):
17068 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17069 Remove threadsafe properties. Fix elements because GObject
17070 complains when installing a property before declaring a
17071 set/get_property handler.
17072 Rearrange gstelement.h file, use STATE macros for state locks.
17073 Free mutexes in the finalize method instead of dispose.
17075 2005-03-08 Wim Taymans <wim@fluendo.com>
17077 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17078 * gst/gstthread.c: (gst_thread_release_children_locks):
17079 Added parentage check.
17080 Fix build og GstThread again.
17082 2005-03-08 Wim Taymans <wim@fluendo.com>
17084 * docs/design/part-MT-refcounting.txt:
17085 * docs/design/part-conventions.txt:
17086 * docs/design/part-gstobject.txt:
17087 * docs/design/part-relations.txt:
17088 * docs/design/part-standards.txt:
17089 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17090 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17091 (gst_bin_get_by_name), (gst_bin_get_by_interface),
17092 (gst_bin_iterate_all_by_interface):
17095 * gst/gstelement.c: (gst_element_class_init),
17096 (gst_element_change_state), (gst_element_set_loop_function):
17097 * gst/gstelement.h:
17098 * gst/gstiterator.c:
17099 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17100 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17101 (gst_object_dispatch_properties_changed), (gst_object_set_name),
17102 (gst_object_set_parent), (gst_object_unparent),
17103 (gst_object_check_uniqueness):
17105 Docs updates, clean up some headers.
17107 2005-03-07 Wim Taymans <wim@fluendo.com>
17109 * check/.cvsignore:
17110 * check/Makefile.am:
17111 * check/gst-libs/.cvsignore:
17112 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17113 * check/gst/.cvsignore:
17114 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17115 (START_TEST), (gstbus_suite), (main):
17116 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17117 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17118 (gst_data_suite), (main):
17119 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17120 (add_fold_func), (gstiterator_suite), (main):
17121 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17122 (thread_name_object), (thread_name_object_default),
17123 (gst_object_name_compare), (gst_object_suite), (main):
17124 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17125 (gst_pad_suite), (main):
17126 * check/gstcheck.c: (gst_check_log_message_func),
17127 (gst_check_log_critical_func), (gst_check_init):
17128 * check/gstcheck.h:
17129 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17130 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17133 2005-03-07 Wim Taymans <wim@fluendo.com>
17135 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17136 (gst_list_iterator_next), (gst_list_iterator_resync),
17137 (gst_list_iterator_free), (gst_iterator_new_list),
17138 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17139 (gst_iterator_free), (gst_iterator_push), (filter_next),
17140 (filter_resync), (filter_uninit), (filter_free),
17141 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17142 (gst_iterator_foreach), (find_custom_fold_func),
17143 (gst_iterator_find_custom):
17144 * gst/gstiterator.h:
17145 Added missing files.
17147 2005-03-07 Wim Taymans <wim@fluendo.com>
17151 * docs/design/part-MT-refcounting.txt:
17152 * docs/design/part-conventions.txt:
17153 * docs/design/part-gstobject.txt:
17154 * docs/design/part-relations.txt:
17155 * examples/mixer/mixer.c: (main):
17156 * examples/thread/thread.c: (eos), (main):
17158 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17159 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17160 (gst_spider_plug_from_srcpad):
17161 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17162 (gst_spider_identity_change_state),
17163 (gst_spider_identity_sink_loop_type_finding):
17164 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17165 * gst/elements/gstidentity.c: (gst_identity_init):
17166 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17167 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17168 * gst/elements/gsttypefindelement.c: (free_entry):
17171 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17172 (gst_bin_set_clock_func), (gst_bin_auto_clock),
17173 (gst_bin_set_index), (gst_bin_set_element_sched),
17174 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17175 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17176 (gst_bin_iterate_elements), (iterate_child_recurse),
17177 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17178 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17179 (compare_interface), (gst_bin_get_by_interface),
17180 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17182 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17183 (gst_buffer_default_free), (gst_buffer_default_copy),
17184 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17185 (gst_buffer_create_sub):
17187 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17188 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17189 (gst_caps_unref), (gst_static_caps_get),
17190 (gst_caps_remove_and_get_structure), (gst_caps_append),
17191 (gst_caps_append_structure), (gst_caps_remove_structure),
17192 (gst_caps_copy_nth), (gst_caps_set_simple),
17193 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17194 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17195 (gst_caps_structure_intersect_field), (gst_caps_intersect),
17196 (gst_caps_structure_subtract_field), (gst_caps_subtract),
17197 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17198 (gst_caps_structure_figure_out_union),
17199 (gst_caps_switch_structures), (gst_caps_do_simplify),
17200 (gst_caps_replace), (gst_caps_from_string),
17201 (gst_caps_copy_conditional):
17203 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17204 (_gst_clock_id_free), (gst_clock_id_unref),
17205 (gst_clock_id_compare_func), (gst_clock_id_wait),
17206 (gst_clock_id_wait_async), (gst_clock_class_init),
17207 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17208 (gst_clock_get_time), (gst_clock_set_time_adjust),
17209 (gst_clock_set_property), (gst_clock_get_property):
17212 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17213 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17215 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17216 (gst_element_requires_clock), (gst_element_provides_clock),
17217 (gst_element_set_clock), (gst_element_clock_wait),
17218 (gst_element_wait), (gst_element_set_time_delay),
17219 (gst_element_is_indexable), (gst_element_add_pad),
17220 (gst_element_add_ghost_pad), (gst_element_remove_pad),
17221 (pad_compare_name), (gst_element_get_static_pad),
17222 (gst_element_request_pad), (gst_element_get_request_pad),
17223 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17224 (gst_element_class_get_pad_template_list),
17225 (gst_element_class_get_pad_template), (gst_element_error_func),
17226 (gst_element_get_random_pad), (gst_element_get_event_masks),
17227 (gst_element_send_event), (gst_element_seek),
17228 (gst_element_get_query_types), (gst_element_query),
17229 (gst_element_get_formats), (gst_element_convert),
17230 (gst_element_is_locked_state), (gst_element_set_locked_state),
17231 (gst_element_sync_state_with_parent), (gst_element_change_state),
17232 (gst_element_finalize), (gst_element_yield),
17233 (gst_element_interrupt), (gst_element_set_scheduler),
17234 (gst_element_get_scheduler), (gst_element_set_loop_function):
17235 * gst/gstelement.h:
17237 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
17238 (gst_format_get_by_nick), (gst_format_get_details),
17239 (gst_format_iterate_definitions):
17241 * gst/gstindex.c: (gst_index_gtype_resolver):
17244 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
17245 (gst_mem_chunk_free):
17246 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17247 (gst_object_ref), (gst_object_unref), (gst_object_sink),
17248 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
17249 (gst_object_dispatch_properties_changed),
17250 (gst_object_set_name_default), (gst_object_set_name),
17251 (gst_object_get_name), (gst_object_set_name_prefix),
17252 (gst_object_get_name_prefix), (gst_object_set_parent),
17253 (gst_object_get_parent), (gst_object_unparent),
17254 (gst_object_check_uniqueness), (gst_object_save_thyself),
17255 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
17256 (gst_object_set_property), (gst_object_get_property),
17257 (gst_object_get_path_string):
17259 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17260 (gst_real_pad_init), (gst_real_pad_get_property),
17261 (gst_pad_custom_new), (gst_pad_get_direction),
17262 (gst_pad_set_active), (gst_pad_is_active),
17263 (gst_pad_set_event_function), (gst_pad_is_linked),
17264 (gst_pad_link_free), (gst_pad_link_intersect),
17265 (gst_pad_link_fixate), (gst_pad_set_caps),
17266 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
17267 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
17268 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
17269 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
17270 (gst_pad_get_caps), (gst_pad_peer_get_caps),
17271 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
17272 (gst_pad_realize), (gst_pad_get_allowed_caps),
17273 (gst_real_pad_dispose), (gst_real_pad_finalize),
17274 (gst_pad_collectv), (gst_pad_collect_valist),
17275 (gst_pad_template_dispose), (gst_pad_template_new),
17276 (gst_pad_get_internal_links):
17278 * gst/gstpipeline.c: (gst_pipeline_dispose),
17279 (gst_pipeline_change_state):
17280 * gst/gstpipeline.h:
17282 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
17283 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
17284 * gst/gstpluginfeature.h:
17285 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
17286 * gst/gstquery.c: (_gst_query_type_initialize),
17287 (gst_query_type_register), (gst_query_type_get_by_nick),
17288 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
17290 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
17291 * gst/gstscheduler.c: (gst_scheduler_add_element),
17292 (gst_scheduler_factory_create):
17293 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17294 (gst_structure_free), (gst_structure_set_name),
17295 (gst_structure_id_set_value), (gst_structure_set_value),
17296 (gst_structure_set_valist), (gst_structure_remove_field),
17297 (gst_structure_remove_fields),
17298 (gst_structure_remove_fields_valist),
17299 (gst_structure_remove_all_fields), (gst_structure_foreach),
17300 (gst_structure_map_in_place),
17301 (gst_caps_structure_fixate_field_nearest_int),
17302 (gst_caps_structure_fixate_field_nearest_double):
17303 * gst/gststructure.h:
17304 * gst/gstsystemclock.c: (gst_system_clock_class_init),
17305 (gst_system_clock_init), (gst_system_clock_dispose),
17306 (gst_system_clock_async_thread),
17307 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
17308 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
17309 * gst/gstsystemclock.h:
17310 * gst/gsttag.c: (gst_tag_list_add_value_internal),
17311 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
17312 * gst/gsttaginterface.c:
17313 * gst/gstthread.c: (gst_thread_dispose),
17314 (gst_thread_release_children_locks), (gst_thread_change_state),
17315 (gst_thread_main_loop):
17316 * gst/gsttrashstack.h:
17317 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
17319 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17320 (gst_element_request_pad), (gst_element_get_pad_from_template),
17321 (gst_element_request_compatible_pad),
17322 (gst_element_get_compatible_pad_filtered),
17323 (gst_element_get_compatible_pad), (gst_element_state_get_name),
17324 (gst_element_link_pads_filtered), (gst_element_link_filtered),
17325 (gst_element_link_many), (gst_element_link),
17326 (gst_element_link_pads), (gst_element_unlink_pads),
17327 (gst_element_unlink_many), (gst_element_unlink),
17328 (gst_pad_can_link_filtered), (gst_pad_can_link),
17329 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
17330 (gst_object_default_error), (gst_bin_add_many),
17331 (gst_bin_remove_many), (gst_element_populate_std_props),
17332 (gst_element_class_install_std_props), (gst_buffer_merge),
17333 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
17334 (link_fold_func), (gst_pad_proxy_setcaps):
17336 * gst/gstvalue.c: (gst_value_deserialize_string):
17337 * gst/parse/grammar.y:
17338 * gst/schedulers/gstbasicscheduler.c:
17339 (gst_basic_scheduler_cothreaded_chain),
17340 (gst_basic_scheduler_chain_recursive_add),
17341 (gst_basic_scheduler_pad_link):
17342 * gst/schedulers/gstoptimalscheduler.c:
17343 (get_group_schedule_function),
17344 (gst_opt_scheduler_state_transition),
17345 (gst_opt_scheduler_add_element), (element_get_reachables_func):
17346 * libs/gst/bytestream/bytestream.c:
17347 * libs/gst/dataprotocol/dataprotocol.c:
17348 (gst_dp_header_from_buffer):
17351 * tests/threadstate/threadstate2.c: (eos):
17352 * tools/gst-compprep.c: (main):
17353 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
17354 (print_pad_info), (print_children_info):
17355 * tools/gst-launch.c: (idle_func), (main):
17356 * tools/gst-md5sum.c: (idle_func), (main):
17357 * tools/gst-xmlinspect.c: (print_element_info):
17358 First THREADED backport attempt, focusing on adding locks and
17359 making sure the API is threadsafe. Needs more work. More docs
17362 2005-02-24 Andy Wingo <wingo@pobox.com>
17364 * tests/bench-complexity.scm:
17365 * tests/complexity.gnuplot: New files, good for running complexity
17368 * tests/Makefile.am:
17369 * tests/complexity.c: New test, sets up N elements, at each level
17370 teeing into M streams per element. Eeeenteresting.
17372 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
17373 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
17374 running bench-mass_elements.scm.
17376 * tests/bench-mass_elements.scm: New script, runs mass_elements
17377 for various numbers of identities, outputting the results to a
17378 file. Requires guile 1.6. Just for testing.
17380 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
17382 * gst/schedulers/fairscheduler.c:
17383 compile with debug disabled
17385 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
17388 hunting season on 0.9 is now OPEN