1 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
4 Update win32 files listing.
5 * win32/common/gstversion.h:
6 Add GST_MAJORMINOR definition.
7 * win32/common/libgstreamer.def:
8 Add new exported functions.
10 2006-05-12 Michael Smith <msmith@fluendo.com>
12 * gst/gstplugin.c: (gst_plugin_load_file):
13 If an so file has no plugin entry point, unload the module.
15 2006-05-11 Wim Taymans <wim@fluendo.com>
17 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
18 (gst_queue_set_property):
19 Don't forget to signal the _chain or _loop function
20 when the queue size or thresholds change since that might
21 cause them to make progres again.
23 2006-05-11 Stefan Kost <ensonic@users.sf.net>
25 * gst/gstclock.c: (gst_clock_class_init):
26 * gst/gstindex.c: (gst_index_class_init):
27 * gst/gstobject.c: (gst_object_class_init):
28 * gst/gstpad.c: (gst_pad_class_init):
29 * gst/gstpipeline.c: (gst_pipeline_class_init):
30 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
31 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
32 * libs/gst/base/gstbasetransform.c:
33 (gst_base_transform_class_init):
34 * libs/gst/net/gstnetclientclock.c:
35 (gst_net_client_clock_class_init):
36 * libs/gst/net/gstnettimeprovider.c:
37 (gst_net_time_provider_class_init):
38 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
39 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
40 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
41 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
42 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
43 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
44 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
45 * plugins/elements/gstidentity.c: (gst_identity_class_init):
46 * plugins/elements/gsttee.c: (gst_tee_class_init):
47 * tests/old/examples/plugins/example.c: (gst_example_class_init):
48 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
49 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
51 2006-05-11 Wim Taymans <wim@fluendo.com>
53 * gst/gstbuffer.c: (_gst_buffer_initialize):
54 Register subbufer along with the buffer type so that
55 it does not accidentally gets registered from N
56 different streaming threads in a non threadsafe way.
58 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
63 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
64 gst_event_ref() and gst_message_ref() functions again
65 (ugly hack, please do fix if there's a better way besides
66 overrides.txt, which doesn't seem to work).
68 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
70 * libs/gst/check/gstcheck.h:
71 add an assert for setting state to avoid lots of repetitive code
74 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
76 * gst/gstvalue.c: (gst_value_serialize_flags):
77 fix a leak if no flags are set
78 * tests/check/gst/gstvalue.c: (GST_START_TEST):
81 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
83 * docs/manual/basics-pads.xml:
84 Expand a bit on caps and filtered links and update
85 examples that were still using the no longer existing
86 gst_pad_link_filtered() (#338206).
88 2006-05-10 Wim Taymans <wim@fluendo.com>
90 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
91 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
92 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
93 (gst_collect_pads_stop):
94 * libs/gst/base/gstcollectpads.h:
95 No need to call _stop in _finalize.
96 Iterate the main pad list in _finalize.
97 Added some more debug.
98 Free lists and data in the right order.
99 Also free data whem doing _remove_pad when stopped for
100 backward compatibility protect ::started with PAD_LOCK as
103 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
105 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
106 (gst_structure_parse_value):
108 rename a method so that it actually says what it does better
110 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
112 * gst/gstevent.c: (_gst_event_initialize):
113 * gst/gstformat.c: (_gst_format_initialize):
114 make sure some essential types used by events are registered
115 as part of gst_init()
116 * gst/gstvalue.c: (gst_value_serialize_flags):
117 if no flags are set, serialize them to a value that represents NONE
118 so that deserializing them works
119 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
120 add tests for serialization and deserialization of flags
122 2006-05-10 Wim Taymans <wim@fluendo.com>
124 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
125 (gst_collect_pads_collect_range), (gst_collect_pads_available),
126 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
127 (gst_collect_pads_event), (gst_collect_pads_chain):
130 Catch and return errors from the collect function
131 Refuse data on eos pads.
133 2006-05-10 Edward Hervey <edward@fluendo.com>
135 * gst/gstinterface.h:
136 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
137 GInterface type checking.
138 They were previously using non-defined macros.
140 2006-05-09 Wim Taymans <wim@fluendo.com>
142 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
143 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
144 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
145 (gst_collect_pads_start), (gst_collect_pads_stop),
146 (gst_collect_pads_peek), (gst_collect_pads_pop),
147 (gst_collect_pads_available), (gst_collect_pads_read),
148 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
149 (gst_collect_pads_is_collected), (gst_collect_pads_event),
150 (gst_collect_pads_chain):
151 * libs/gst/base/gstcollectpads.h:
152 Clean up the mess that is collectpads, add comments and
154 Maintain a separate pad list so we can add pads while
155 collecting the other ones. For this we need a new separate
157 Fix memory leak in finalize.
158 Refactor some weird code to set/unset pad flushing flags, mark
160 Don't crash in _available, _read, _flush when we're EOS.
162 * tests/check/libs/.cvsignore:
163 Ignore adapter check binary.
165 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
167 * gst/gstindex.c: (gst_index_resolver_get_type):
168 * plugins/elements/gstfakesink.c:
169 (gst_fake_sink_state_error_get_type):
170 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
171 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
172 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
173 Const-ify GEnumValue arrays.
175 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
177 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
178 Add test case for flags + gst_buffer_make_metadata_writable().
180 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
182 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
183 gst_buffer_make_metadata_writable() should maintain the
184 buffer flags (those that make sense at least) (see #340859).
186 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
188 * tools/gst-inspect.c:
189 * tools/gst-launch.c:
190 * tools/gst-typefind.c:
191 * tools/gst-xmlinspect.c:
193 Fix up includes: need to include stdlib.h in tools.h for exit().
195 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
197 * gst/gsttaglist.c: (_gst_tag_initialize):
199 API: add GST_TAG_IMAGE tag (#340721).
201 2006-05-08 Wim Taymans <wim@fluendo.com>
204 Added some docs for the segment query.
206 2006-05-08 Wim Taymans <wim@fluendo.com>
208 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
209 (gst_base_src_loop), (gst_base_src_change_state):
210 Always push non-flushing serialized events in the streaming
213 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
215 * gst/gsterror.c: (_gst_stream_errors_init):
216 Add a missing error string.
218 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
220 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
221 Add applied_rate to the debug
223 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
224 Copy applied_rate into the outgoing NEWSEGMENT event
226 2006-05-08 Wim Taymans <wim@fluendo.com>
228 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
230 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
231 (gst_base_sink_change_state):
232 call ::unlock before taking the PREROLL_LOCK so we can safely
233 handle elements that lock in ::render.
236 2006-05-08 Edward Hervey <edward@fluendo.com>
238 * autogen.sh: (CONFIGURE_DEF_OPT):
239 Darwin's libtoolize is in fact called glibtoolize.
240 Adding glibtoolize to the list of accepted names for libtoolize.
242 2006-05-08 Wim Taymans <wim@fluendo.com>
244 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
245 Unify error handling, don't post an error message
246 when a push() returns EOS but perform our normal EOS
247 handling code. Fixes #340772.
249 2006-05-08 Wim Taymans <wim@fluendo.com>
251 * docs/design/part-overview.txt:
252 Make upsteam/downstream concepts more clear.
253 Give an example of serialized/non-serialized events.
255 * docs/design/part-events.txt:
256 * docs/design/part-streams.txt:
257 Mention applied_rate.
259 * docs/design/part-trickmodes.txt:
260 Mention applied rate, flesh out some more use cases.
262 * gst/gstevent.c: (gst_event_new_new_segment),
263 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
264 (gst_event_parse_new_segment_full), (gst_event_new_tag),
265 (gst_event_parse_tag), (gst_event_new_buffer_size),
266 (gst_event_parse_buffer_size), (gst_event_new_qos),
267 (gst_event_parse_qos), (gst_event_parse_seek),
268 (gst_event_new_navigation):
270 Add applied_rate field to NEWSEGMENT event.
271 API: gst_event_new_new_segment_full()
272 API: gst_event_parse_new_segment_full()
274 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
275 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
276 (gst_segment_to_stream_time), (gst_segment_to_running_time):
278 Add applied_rate to GstSegment structure.
279 Make calculation of stream_time and running_time more correct
280 wrt rate/applied_rate.
282 API: GstSegment::applied_rate field
283 API: gst_segment_set_newsegment_full();
285 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
286 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
287 * libs/gst/base/gstbasetransform.c:
288 (gst_base_transform_sink_eventfunc),
289 (gst_base_transform_handle_buffer):
290 Parse and use applied_rate in the GstSegment field.
292 * tests/check/gst/gstevent.c: (GST_START_TEST):
293 Add check for applied_rate field.
295 * tests/check/gst/gstsegment.c: (GST_START_TEST),
297 Add more checks for various GstSegment operations.
299 2006-05-08 Wim Taymans <wim@fluendo.com>
301 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
302 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
303 (gst_base_sink_get_position), (gst_base_sink_change_state):
304 Store the sync time of the buffer end position separatly in a
305 new variable eos_rtime so we can properly sync the EOS event.
307 Fix the docs for gst_base_sink_set_qos_enabled().
308 Don't set segment start to invalid value when we receive a
310 get closer to handling position reporting for negative rates
313 2006-05-07 Stefan Kost <ensonic@users.sf.net>
316 Docs about how to print caps for debug purposes.
318 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
319 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
321 2006-05-07 Stefan Kost <ensonic@users.sf.net>
324 use full enum names and preprend a '%' in docs strings to make recent
325 gtk-doc turn that into a link
327 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
329 * docs/manual/basics-bins.xml:
330 * docs/manual/basics-bus.xml:
331 * docs/manual/basics-pads.xml:
332 Some typo fixes, some additions, some clarifications.
334 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
336 * tools/gst-inspect.c: (main):
337 * tools/gst-launch.c: (main):
338 * tools/gst-run.c: (main):
339 * tools/gst-typefind.c: (main):
340 * tools/gst-xmlinspect.c: (main):
341 Use the string passed to g_option_context_new() for
342 what it's intended for - the program name is already
345 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
348 * tools/gst-inspect.c: (main):
349 * tools/gst-launch.c: (main):
350 * tools/gst-xmlinspect.c: (main):
352 Add back --version command line option (#340460).
354 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
355 Add --version option and use GOption for argument parsing; refactor a
356 bit; accept directories as arguments and recurse into them; lastly,
357 print a decent error message when things go wrong.
359 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
361 * docs/manual/basics-bins.xml:
362 Don't mention GstThread (#340611)
363 * docs/manual/basics-elements.xml:
364 Update link to GObject tutorial (#340607)
366 2006-05-05 Wim Taymans <wim@fluendo.com>
369 * gst/gstminiobject.c:
370 Add note about refcounting and miniobject/buffer writeability
371 to docs. Fixes #340604
373 * gst/gstelementfactory.h:
374 Added some explanation about @klass.
376 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
378 * docs/manual/intro-motivation.xml:
379 * docs/manual/manual.xml:
380 Avoid CORBA & Bonobo references (#340598)
382 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
384 * docs/manual/basics-bus.xml:
385 * docs/manual/basics-pads.xml:
386 Fix up some inaccuracies and omissions (#340609)
388 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
391 Small typo in docs (#340625)
393 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
395 * gst/parse/Makefile.am:
396 Make 'make -j' proof (see #340698).
398 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
401 Require GLib-2.8 here as well.
403 2006-05-05 Wim Taymans <wim@fluendo.com>
406 * gst/gst.c: (init_pre):
407 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
408 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
409 (gst_object_dispatch_properties_changed):
411 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
412 * gst/gststructure.c: (gst_structure_set_valist):
413 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
414 Remove pre glib2.8 compatibility, fixes #340508
416 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
419 Mention type of tags in doc blurbs.
421 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
423 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
424 (gst_pad_configure_src), (gst_pad_push):
425 Restore acceptcaps checking behaviour now that good plugins have
428 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
430 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
441 * gst/parse/Makefile.am:
442 * libs/gst/base/gstadapter.c:
443 * libs/gst/base/gstbasesrc.c:
444 * libs/gst/base/gstpushsrc.c:
445 * libs/gst/base/gsttypefindhelper.c:
446 * plugins/elements/gstfakesrc.c:
447 * plugins/elements/gstidentity.c:
448 Make sure gstprivate.h and/or config.h are
449 always included first, otherwise some of our
450 defines (like _FILE_OFFSET_BITS) might be
451 redefined in the system headers. Fixes build
452 on opensolaris (#340016).
454 2006-05-04 Wim Taymans <wim@fluendo.com>
456 * docs/libs/gstreamer-libs-sections.txt:
457 API: addition: gst_adapter_take_buffer()
459 * libs/gst/base/gstadapter.c: (gst_adapter_push),
460 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
461 (gst_adapter_available_fast):
462 * libs/gst/base/gstadapter.h:
463 Prepare for optimizing the hell out of this hugely inefficient
465 Added gst_adapter_take_buffer() so we can at least start thinking
466 about subbuffering and merging.
469 * tests/check/Makefile.am:
470 * tests/check/libs/adapter.c: (GST_START_TEST),
471 (gst_adapter_suite), (main):
472 Added GstAdapter check.
474 2006-05-04 Wim Taymans <wim@fluendo.com>
476 * docs/design/part-overview.txt:
477 Fix some typos, add blurb about buffer flags.
479 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
481 * docs/libs/gstreamer-libs-sections.txt:
482 make sure GstBaseTransformClass shows up in the docs
483 * libs/gst/base/gstbasetransform.c:
484 * libs/gst/base/gstbasetransform.h:
485 move docs so gtk-doc picks it up now
487 2006-05-02 Stefan Kost <ensonic@users.sf.net>
489 * docs/libs/gstreamer-libs-sections.txt:
490 add missing symbols to docs
492 2006-05-02 Stefan Kost <ensonic@users.sf.net>
494 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
495 back out the newsegment handling change, see #340060 for ongoing
498 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
500 * tools/gst-run.c: (get_candidates), (main):
501 Fix wrong g_file_test() usage (see glib docs for why it doesn't
502 work); fix typo in error message. Fixes #340079.
504 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
506 * common/Makefile.am:
508 * docs/faq/Makefile.am:
509 * docs/gst/Makefile.am:
510 * docs/libs/Makefile.am:
511 * docs/manual/Makefile.am:
512 * docs/plugins/Makefile.am:
513 * docs/pwg/Makefile.am:
514 * docs/slides/Makefile.am:
517 move upload.mak to common
519 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
521 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
522 add more asserts on refcounts
523 do more cleanup at end of tests
524 fix test leaks showing in FC5
526 2006-04-29 Stefan Kost <ensonic@users.sf.net>
528 * plugins/elements/gsttypefindelement.c:
529 (gst_type_find_element_handle_event):
530 reverted wrong change and reflowed code to avoid others falling into
533 2006-04-28 Stefan Kost <ensonic@users.sf.net>
535 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
536 fix changelog entry about last collectpads change,
537 add notes about proper fix
539 2006-04-28 Stefan Kost <ensonic@users.sf.net>
542 * gst/gstregistry.c: (gst_registry_scan_path_level),
543 (gst_registry_scan_path):
545 only write out registry if it has changed, fixes #338339
547 2006-04-28 Stefan Kost <ensonic@users.sf.net>
551 * plugins/elements/gstcapsfilter.c:
552 * plugins/elements/gstfakesink.c:
553 * plugins/elements/gstfakesrc.c:
554 * plugins/elements/gstfdsink.c:
555 * plugins/elements/gstfdsrc.c:
556 * plugins/elements/gstfilesink.c:
557 * plugins/elements/gstfilesrc.c:
558 * plugins/elements/gstidentity.c:
559 * plugins/elements/gstqueue.c:
560 * plugins/elements/gsttee.c:
561 * plugins/elements/gsttypefindelement.c:
562 (gst_type_find_element_handle_event):
563 make GstElementDetails const
565 2006-04-28 Stefan Kost <ensonic@users.sf.net>
567 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
568 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
569 (gst_collect_pads_is_collected), (gst_collect_pads_event):
570 more detailed debug and formatting cleanup,
571 forward newsegments to src-pad (so that e.g. adder not eats them)
573 2006-04-28 Stefan Kost <ensonic@users.sf.net>
575 * gst/gstutils.c: (gst_element_link_pads):
578 2006-04-28 Stefan Kost <ensonic@users.sf.net>
580 * libs/gst/controller/gstcontroller.c:
581 (gst_controller_sync_values):
583 * tests/check/libs/controller.c: (GST_START_TEST),
584 (gst_controller_suite):
585 a new test for live value handling
587 2006-04-28 Wim Taymans <wim@fluendo.com>
589 * gst/gstutils.c: (push_and_ref):
590 Added some more docs.
591 Fix refcount issue whith gst_element_found_tags() helper
592 function. Fixes #338335
594 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
595 Added testsuite for gst_element_found_tags().
597 2006-04-28 Michael Smith <msmith@fluendo.com>
599 * gst/gstvalue.c: (gst_value_serialize_flags):
600 Avoid NULL dereference when trying to serialize flags containing
603 2006-04-28 Michael Smith <msmith@fluendo.com>
605 * plugins/elements/gsttypefindelement.c:
606 (gst_type_find_element_handle_event):
607 If we get EOS before any data is accumulated, don't use
608 uninitialised local variables.
610 2006-04-28 Michael Smith <msmith@fluendo.com>
612 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
613 (gst_dp_event_from_packet):
614 Fixes in reading/writing events over GDP (not currently used?) -
615 dereferencing NULL events for unknown/invalid event types, memory
616 leak, and change g_warning to GST_WARNING.
618 2006-04-28 Wim Taymans <wim@fluendo.com>
620 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
621 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
622 (gst_base_sink_get_position), (gst_base_sink_change_state):
623 When frame dropping is enabled, we should not ignore frames
625 Update some documentation.
627 2006-04-28 Wim Taymans <wim@fluendo.com>
629 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
630 (gst_base_src_send_event), (gst_base_src_change_state):
631 Documentation updates.
633 2006-04-28 Wim Taymans <wim@fluendo.com>
635 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
636 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
637 handle EAGAIN, EINTR and short writes correctly. Also clean
638 up some error cases, avoid a deadlock on bad file descriptors and
639 use GST_DEBUG_OBJECT.
642 2006-04-28 Wim Taymans <wim@fluendo.com>
644 * gst/gstvalue.c: (gst_value_serialize_buffer),
645 (gst_value_deserialize_buffer):
646 Don't try to serialize a GValue with a NULL buffer.
649 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
650 Added check for serialisation of NULL buffers.
652 2006-04-28 Wim Taymans <wim@fluendo.com>
654 * gst/gstminiobject.c: (gst_value_take_mini_object):
655 Taking a NULL miniobject is valid, fix the case where
656 we try to unref the NULL miniobject.
658 2006-04-28 Wim Taymans <wim@fluendo.com>
660 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
662 * gst/gstbin.c: (gst_bin_handle_message_func):
664 Don't leak bin refcount when a state recalc is
665 in progress and we delay another one #339808.
667 2006-04-28 Wim Taymans <wim@fluendo.com>
669 * docs/design/part-TODO.txt:
670 Mention QoS as an ongoing work item.
672 * docs/design/part-buffering.txt:
673 New doc about buffering that needs to be fleshed out
676 * docs/design/part-qos.txt:
677 More QoS policy for decoders/demuxers/transforms
679 * docs/design/part-trickmodes.txt:
682 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
687 === release 0.10.5 ===
689 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
692 releasing 0.10.5, "Fogo"
694 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
696 patch by: Wim Taymans
698 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
699 (gst_pad_configure_src), (gst_pad_push):
700 * gst/gstpipeline.c: (gst_pipeline_init):
701 Fix internal data flow errors. Fixes #338711.
703 2006-04-12 Wim Taymans <wim@fluendo.com>
705 * tests/check/gst/gstelement.c: (GST_START_TEST):
706 Don't leak the factory.
708 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
711 * win32/common/config.h:
714 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
716 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
717 (gst_controller_unset_all):
718 Free allocated GstTimedValues when freeing list nodes.
719 Should fix leaks 'make check-valgrind' complains about.
721 * win32/common/libgstcontroller.def:
722 Add gst_controller_unset_all.
724 2006-04-11 Stefan Kost <ensonic@users.sf.net>
726 * docs/libs/gstreamer-libs-sections.txt:
727 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
728 (gst_controller_unset_all):
729 * libs/gst/controller/gstcontroller.h:
730 API: Added new method gst_controller_unset_all()
731 fixed gst_controller_unset()
732 * tests/check/libs/controller.c: (GST_START_TEST),
733 (gst_controller_suite):
734 Added two testcases for new and fixed method
736 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
738 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
739 MSG_DONTWAIT is not defined on Cygwin, so work
740 around that (fixes #317048).
742 2006-04-11 Wim Taymans <wim@fluendo.com>
744 * gst/gstelementfactory.c: (gst_element_register),
745 (gst_element_factory_create), (gst_element_factory_make):
748 Updated docs (Fixes #131079)
750 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
753 * tests/check/gst/gstelement.c: (GST_START_TEST),
755 Added testcase for elementfactory class field.
757 2006-04-10 Wim Taymans <wim@fluendo.com>
760 Added some more docs.
762 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
763 (gst_base_sink_reset_qos):
764 Calculate more accurate rate values.
766 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
769 add a new #ifdef to use __declspec(dllimport) only for
770 other modules and not for gstreamer core
771 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
772 use gst_guint64_to_gdouble for conversion
773 * win32/common/libgstreamer.def:
774 add new exported functions
775 * win32/vs6/gst_inspect.dsp:
776 * win32/vs6/gst_launch.dsp:
777 * win32/vs6/libgstbase.dsp:
778 * win32/vs6/libgstcontroller.dsp:
779 * win32/vs6/libgstcoreelements.dsp:
780 * win32/vs6/libgstdataprotocol.dsp:
781 * win32/vs6/libgstnet.dsp:
784 2006-04-08 Stefan Kost <ensonic@users.sf.net>
786 * gst/gstbuffer.c: (gst_subbuffer_class_init):
787 * gst/gstclock.c: (gst_clock_class_init):
788 * gst/gstelement.c: (gst_element_class_init):
789 * gst/gstindex.c: (gst_index_class_init):
790 * gst/gstindexfactory.c: (gst_index_factory_class_init):
791 * gst/gstobject.c: (gst_object_class_init),
792 (gst_signal_object_class_init):
793 * gst/gstpad.c: (gst_pad_class_init):
794 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
795 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
796 * gst/gstregistry.c: (gst_registry_class_init):
797 * gst/gstsystemclock.c: (gst_system_clock_class_init):
798 * gst/gsttask.c: (gst_task_class_init):
799 * gst/gstxml.c: (gst_xml_class_init):
800 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
801 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
803 * libs/gst/controller/gstcontroller.c:/
804 (_gst_controller_class_init):
805 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
806 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
807 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
808 * tests/old/examples/plugins/example.c: (gst_example_class_init):
809 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
810 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
812 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
814 * gst/gstpad.c: (gst_pad_link):
815 Must set peer pads before calling the link function, otherwise
816 a task started from a link function might get a flow-not-linked
817 result when trying to push because the other thread where the
818 linking happens hasn't had a chance to set the peers yet. This
819 might happen for example when a queue gets linked to a downstream
820 element, as queue starts a streaming task when its source pad
821 gets linked. Happens in real life when playing back flac/musepack
822 files in playbin (#332390).
824 2006-04-08 Stefan Kost <ensonic@users.sf.net>
828 * libs/gst/base/gstadapter.h:
829 * libs/gst/base/gstbasesink.h:
830 * libs/gst/base/gstbasesrc.h:
831 * libs/gst/base/gstbasetransform.h:
832 * libs/gst/base/gstcollectpads.h:
833 * libs/gst/base/gstpushsrc.h:
834 Fix broken GObject macros
836 2006-04-07 Wim Taymans <wim@fluendo.com>
838 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
839 Initialize start and stop times, thanks valgrind.
841 2006-04-07 Wim Taymans <wim@fluendo.com>
843 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
844 Be a bit nicer to badly behaving upstream elements that expect
845 us to deal with non TIME segments and timestamps (such as fakesrc
848 2006-04-07 Wim Taymans <wim@fluendo.com>
851 Small documentation clarification about the signal watch.
853 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
854 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
855 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
856 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
857 (gst_base_sink_get_position_last),
858 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
859 Convert and store timestamps in stream time and running time, the
860 raw timestamps are not usefull, also document this better.
861 Use different window sizes for good and bad QoS observations so
862 we react to badness a little quicker.
863 Keep track of the amount of rendered and dropped buffers.
864 Send QoS timestamps in running time.
866 * libs/gst/base/gstbasetransform.c:
867 (gst_base_transform_sink_eventfunc),
868 (gst_base_transform_handle_buffer):
869 Compare QoS timestamps against running time.
871 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
876 2006-04-06 Michael Smith <msmith@fluendo.com>
878 * gst/gstpad.c: (gst_pad_set_property):
879 Use g_value_get_object() instead of g_value_dup_gst_object(),
880 to avoid double-reffing the pad template (which we then sink,
881 so this worked previously if (and only if) the pad template
884 * gst/gstpadtemplate.c: (gst_pad_template_init),
885 (gst_pad_template_pad_created):
886 Never return floating references to pad templates, create
887 them as initially-sunken.
889 Document an extra function (and make this stop sinking our
890 pad template, since that is now guaranteed to do nothing,
891 since we created it sunken).
896 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
898 * gst/gstinfo.c: (__gst_in_valgrind):
901 * plugins/elements/gsttypefindelement.c:
902 (gst_type_find_element_chain):
903 Don't leak buffer caps.
905 2006-04-06 Michael Smith <msmith@fluendo.com>
907 * gst/parse/grammar.y:
908 Fix a leak in parse-launch for any source-or-sink named element
911 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
912 Unref the pipeline if it exists after we've failed parsing.
914 2006-04-05 Michael Smith <msmith@fluendo.com>
916 * gst/gstpipeline.c: (gst_pipeline_init):
917 When we create a pipeline bus, initially create it in flushing mode.
918 Fixes leaks in at least one test, and makes a new pipeline work the
919 same as one that has gone to READY and then back to NULL.
924 2006-04-05 Michael Smith <msmith@fluendo.com>
926 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
927 Unref a pad we reffed.
928 * tests/check/gst/gstutils.c: (GST_START_TEST):
931 2006-04-05 Michael Smith <msmith@fluendo.com>
933 * gst/gstquery.c: (gst_query_set_formats),
934 (gst_query_set_formatsv):
935 Fix leaking GValues in queries, as shown by valgrind/testsuite.
937 2006-04-05 Michael Smith <msmith@fluendo.com>
939 * tests/check/generic/sinks.c: (GST_START_TEST):
940 Fix a variety of memleaks in sinks check, which are only sometimes
941 shown by running the tests under valgrind (weird?).
943 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
945 * docs/version.entities.in:
946 Fix the substituted entity name after thomas' changes on the
949 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
951 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
954 2006-04-05 Andy Wingo <wingo@pobox.com>
956 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
958 * libs/gst/base/gstbasetransform.c
959 (gst_base_transform_sink_eventfunc): When resetting our segment on
960 FLUSH_STOP, also update the flag saying we haven't seen a
963 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
965 Patch by: Paolo Borelli <pborelli at katamail dot com>
967 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
968 (gst_plugin_check_license):
969 minor clean-ups: G_DEFINE_TYPE already takes care of the
970 parent_class stuff, no need to do it twice. Mark array of
971 license strings as constant. (#337103)
973 2006-04-04 Michael Smith <msmith@fluendo.com>
975 * tools/gst-inspect.c: (print_element_list):
976 Free the right plugin list; fixes a memory leak.
978 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
980 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
982 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
983 Don't error out on empty buffers (#336945).
985 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
987 * docs/libs/gstreamer-libs-sections.txt:
989 * libs/gst/base/gstbasesink.c:
990 * libs/gst/base/gstbasesink.h:
991 * libs/gst/base/gstbasesrc.c:
992 * libs/gst/base/gstbasesrc.h:
993 Documentation updates. Make BaseSink and BaseSrc docs contain the
994 class structure so that people can actually see the prototypes for
995 virtual functions they're supposed to be overriding.
997 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
999 * plugins/elements/gsttypefindelement.c:
1000 (gst_type_find_element_chain):
1001 More debug info; when skipping typefinding, send cached
1002 events in all cases.
1004 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
1007 use new AS_VERSION and AS_NANO macros
1008 * gst/gst-i18n-lib.h:
1011 * gst/gstversion.h.in:
1012 * win32/common/config.h:
1013 * win32/common/config.h.in:
1016 2006-03-31 Michael Smith <msmith@fluendo.com>
1018 * plugins/elements/gsttypefindelement.c:
1019 (gst_type_find_element_chain):
1020 Do not typefind content if the buffers already have caps.
1021 Neccesary for icydemux (#333657), and the right thing to do anyway.
1023 2006-03-30 Wim Taymans <wim@fluendo.com>
1025 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1026 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
1027 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
1028 (gst_base_sink_record_qos_observation),
1029 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1030 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1031 (gst_base_sink_change_state):
1032 More QoS measurements as described in the design doc.
1033 Get rid of ringbuffer with observations, running average is
1034 more simple and equally good.
1035 Calculates valid proportion now.
1036 Added beginning of flood measurement.
1038 2006-03-29 Wim Taymans <wim@fluendo.com>
1040 * docs/design/part-qos.txt:
1042 Small documentation updates and additions.
1044 2006-03-29 Wim Taymans <wim@fluendo.com>
1046 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1047 (gst_base_src_send_event), (gst_base_src_loop),
1048 (gst_base_src_change_state):
1049 Perform the EOS logic when we reach the segment stop position.
1050 Fix compilation on gcc4.1
1052 2006-03-29 Wim Taymans <wim@fluendo.com>
1054 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1056 * plugins/elements/gstqueue.c: (gst_queue_init),
1057 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
1058 (gst_queue_set_property):
1059 * plugins/elements/gstqueue.h:
1060 In queue, when EOS is received, if minimum threshold > max_size -
1061 current_level, there is chance that queue blocks forever in conditional
1062 item del wait. This is because the queue is not emptied completely due
1063 to minimum threshold. Here is another approach. Instead of setting
1064 cur_levels to max in EOS, just zero all minimum threshold levels. This
1065 should make sure that queue gives out all data. When going to READY
1066 (stop) state, just reset the original minimum threshold levels.
1069 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
1071 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
1072 (gst_type_find_element_handle_event),
1073 (gst_type_find_element_send_cached_events),
1074 (gst_type_find_element_change_state):
1075 * plugins/elements/gsttypefindelement.h:
1076 When typefinding is done in push mode, we should cache
1077 events we receive during typefinding instead of just
1078 dropping them (e.g. newsegment, custom events from
1079 dvdreadsrc etc.) and then send them out once we've
1080 determined the type of the stream (and decodebin
1081 has had a chance to plug in a decoder/demuxer).
1083 2006-03-27 Wim Taymans <wim@fluendo.com>
1085 * docs/design/part-qos.txt:
1088 2006-03-27 Wim Taymans <wim@fluendo.com>
1090 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
1092 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1093 (gst_base_src_send_event), (gst_base_src_change_state):
1094 Handle element seek correctly when we are streaming.
1097 2006-03-24 Michael Smith <msmith@fluendo.com>
1099 * docs/faq/gst-uninstalled:
1100 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
1101 allow you to correctly run intalled applications built against old
1102 core, using plugins that require updated core (e.g. running
1103 installed totem against a full uninstalled gstreamer stack)
1105 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1107 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
1110 2006-03-24 Wim Taymans <wim@fluendo.com>
1112 * docs/gst/gstreamer-sections.txt:
1113 Rearrange the order of the methods so that related methods
1114 are grouped together in sections.
1116 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1119 Little clarification in the docs
1121 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1125 * plugins/elements/gstidentity.c:
1126 * plugins/elements/gstqueue.c:
1127 * plugins/elements/gsttee.c:
1128 * plugins/elements/gsttypefindelement.c:
1129 GST_ELEMENT_DETAILS formatting
1131 2006-03-24 Wim Taymans <wim@fluendo.com>
1133 * libs/gst/base/gstbasesink.h:
1134 Only add fields, not insert or we break ABI.
1136 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1138 * win32/common/libgstbase.def:
1139 * win32/common/libgstreamer.def:
1140 Update, add recently added functions.
1142 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1144 * docs/gst/gstreamer-sections.txt:
1145 * gst/gstutils.c: (gst_pad_query_peer_position),
1146 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
1148 API: add some new utility functions:
1149 - gst_pad_query_peer_position()
1150 - gst_pad_query_peer_duration()
1151 - gst_pad_query_peer_convert()
1153 2006-03-23 Wim Taymans <wim@fluendo.com>
1155 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1156 (gst_base_sink_init), (gst_base_sink_finalize),
1157 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
1158 (gst_base_sink_set_property), (gst_base_sink_get_property),
1159 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
1160 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1161 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
1162 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1163 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1164 (gst_base_sink_preroll_object), (gst_base_sink_event),
1165 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
1166 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1167 (gst_base_sink_query), (gst_base_sink_change_state):
1168 Decouple max-lateness and the fact that QoS messages are generated
1169 with a new property (qos).
1170 added API: GstBaseSink::async_play()
1171 Add vmethod so subclasses can be notified of ASYNC playing
1173 Collect timestamp start and stop to report better current
1174 position in EOS/PLAYING/PAUSED/READY/NULL.
1175 Refactor QoS/frame dropping and other measurements.
1176 API: GstBaseSrc::qos
1179 * libs/gst/base/gstbasesink.h:
1180 Added Private struct.
1181 API: gst_base_sink_set_qos_enabled()
1182 API: gst_base_sink_is_qos_enabled()
1184 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1186 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1187 If compiling against GLib-2.8 or newer, try to read the
1188 registry file using GMappedFile first before falling back
1189 to fopen() + fread() (#332151).
1191 2006-03-22 Wim Taymans <wim@fluendo.com>
1193 * gst/gstinfo.c: (gst_debug_set_active),
1194 (gst_debug_category_set_threshold):
1195 Disable debugging unless explicitly activated.
1198 2006-03-22 Wim Taymans <wim@fluendo.com>
1200 * gst/gstelement.c: (gst_element_set_locked_state),
1201 (gst_element_dispose):
1202 Cleanup the error case.
1204 * gst/gstobject.c: (gst_object_dispose):
1205 print a critical when some object was disposed with
1206 a parent, also revive the object since it might
1209 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
1211 * tools/gst-launch.1.in:
1214 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1217 * tests/check/Makefile.am:
1218 disable some tests when we don't have a registry
1219 * tests/check/gst/gstutils.c: (gst_utils_suite):
1220 don't build the part that needs parsing
1222 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1225 * tests/examples/Makefile.am:
1226 fix --disable-parse build
1228 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1230 * tools/gst-feedback.1.in:
1231 Fix typo: s/feeback/feedback/ (#133494).
1233 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1235 * tools/Makefile.am:
1236 * tools/gst-launch.1.in:
1237 Add FILES section and correct entry about GST_REGISTRY_PATH
1238 environment variable (#133495; #133494).
1240 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1242 * tools/Makefile.am:
1243 * tools/gst-md5sum.1.in:
1244 * tools/gst-md5sum.c:
1245 Remove gst-md5sum and man page (the md5sink element
1246 required was removed ages ago)
1248 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1250 * gst/gststructure.c: (gst_structure_id_set_value):
1251 Make sure that string fields in structures/taglists
1252 contain valid UTF-8 - we don't want to pass rubbish to
1253 applications because of a buggy plugin (cp. #334167).
1255 2006-03-21 Edward Hervey <edward@fluendo.com>
1257 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1258 (gst_bin_handle_message_func):
1259 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
1260 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
1261 (gst_element_set_bus_func):
1262 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
1263 * gst/gstminiobject.c: (gst_value_set_mini_object),
1264 (gst_value_take_mini_object):
1265 * gst/gstpad.c: (gst_pad_set_pad_template):
1266 * gst/gstpipeline.c: (gst_pipeline_dispose),
1267 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1268 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
1269 (gst_collect_pads_chain):
1270 * libs/gst/net/gstnettimeprovider.c:
1271 (gst_net_time_provider_set_property):
1272 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
1273 It's in fact all issues with gst_*object_replace().
1275 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1277 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
1279 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1280 * pkgconfig/gstreamer-check.pc.in:
1281 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
1283 2006-03-21 Edward Hervey <edward@fluendo.com>
1288 gst_[buffer|event|message]_ref() macros are replaced by a static
1289 inline functions because gcc-4.1 will about if the return value
1291 * tests/check/gst/gstevent.c: (event_probe):
1292 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
1294 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
1297 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
1298 the type' case. (Closes: #335195 for now). In the future, when we
1299 depend on GLib 2.10, we could also intern the type name using
1300 g_intern_static_string()
1302 2006-03-20 Wim Taymans <wim@fluendo.com>
1304 * gst/gstbin.c: (gst_bin_handle_message_func),
1305 (bin_query_max_init), (bin_query_position_fold),
1306 (bin_query_position_done), (gst_bin_query):
1307 Position query should also take max of all streams.
1309 2006-03-20 Wim Taymans <wim@fluendo.com>
1311 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1312 (gst_fake_src_finalize):
1313 Fix leaks in fakesrc.
1315 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1316 Fix leaks in the testcase.
1318 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
1320 * gst/gst_private.h:
1321 add win32 specific import decoration(__declspec(dllimport))
1322 for all extern GstDebugCategory * variables
1323 * win32/common/libgstbase.def:
1324 * win32/common/libgstcontroller.def:
1325 * win32/common/libgstreamer.def:
1326 Add some exports, remove empty lines
1327 * win32/common/libgstdataprotocol.def:
1328 * win32/common/libgstdataprotocol.dsp:
1329 * win32/common/libgstnet.def:
1330 * win32/common/libgstnet.dsp:
1331 new project files and exportation files added
1333 2006-03-19 Wim Taymans <wim@fluendo.com>
1335 * tests/check/libs/basesrc.c: (eos_event_counter):
1336 Use proper return value for probe.
1338 2006-03-17 Wim Taymans <wim@fluendo.com>
1340 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1342 Don't leak buffers, caps and pads on negotiation errors.
1344 2006-03-16 Stefan Kost <ensonic@users.sf.net>
1347 * docs/faq/dependencies.xml:
1348 * docs/faq/developing.xml:
1350 * docs/faq/general.xml:
1351 * docs/faq/getting.xml:
1352 * docs/faq/legal.xml:
1353 * docs/faq/troubleshooting.xml:
1354 * docs/faq/using.xml:
1355 Faq review and update.
1357 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
1359 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1361 Don't pound the cpu to pieces by checking get_caps when accept_caps
1362 is called with the same caps as the pad already has.
1363 Use GST_DEBUG_OBJECT when outputting caps change information.
1365 2006-03-15 Wim Taymans <wim@fluendo.com>
1367 * gst/gstclock.c: (gst_clock_class_init):
1370 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
1375 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
1376 (gst_pad_accept_caps), (gst_pad_configure_sink),
1377 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
1378 Make the default acceptcaps behaviour be to check the requested
1379 caps against the gst_pad_get_caps output.
1381 Ensure that gst_pad_accept_caps is used to check caps when a pad
1382 doesn't have a setcaps function, so that pads automatically refuse
1383 caps that they don't allow in their pad template. (Fixes #332986)
1385 When a buffer with attached caps is pushed, ensure that the source
1386 pad receives those caps even if the element didn't call
1387 gst_pad_set_caps first.
1389 2006-03-15 Wim Taymans <wim@fluendo.com>
1391 * libs/gst/base/gstadapter.c:
1394 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
1396 * win32/common/libgstbase.def:
1397 * win32/common/libgstcontroller.def:
1398 * win32/common/libgstreamer.def:
1399 Add a whole bunch of missing functions (#334434).
1401 2006-03-14 Wim Taymans <wim@fluendo.com>
1403 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1404 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
1405 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
1406 Better debug info when we receive a segment event.
1407 Reorganize a bit so we can pass the get_times() results around.
1408 Use the segment format when calculating the running time.
1409 Don't do QoS is sync is disabled or we have no clock or the
1410 element does not want us to sync to the clock.
1411 Don't drop buffers if QoS is disabled for now.
1413 2006-03-14 Wim Taymans <wim@fluendo.com>
1415 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
1416 Marked the stats property as unimplemented so people don't get
1418 Add debug message when regression goes wrong.
1419 Added some more docs.
1421 2006-03-14 Wim Taymans <wim@fluendo.com>
1423 * gst/gstsegment.c: (gst_segment_to_stream_time):
1424 Return correct return type in case of errors.
1426 2006-03-14 Wim Taymans <wim@fluendo.com>
1428 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
1429 Don't segfault on invalid formats.
1431 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
1433 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1434 Can't use gst_segment_to_running_time() when the segment
1435 is not in GST_TIME_FORMAT (like with filesink, for example).
1436 Stops flac encoding pipelines from spewing critical warnings
1439 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
1441 * gst/gstpipeline.c: (gst_pipeline_class_init):
1442 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
1444 * plugins/elements/gsttypefindelement.c:
1445 (gst_type_find_element_handle_event):
1446 Don't try to typefind empty streams.
1448 2006-03-14 Wim Taymans <wim@fluendo.com>
1450 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
1451 (gst_base_sink_do_qos):
1452 Separate QoS calculation.
1453 Only drop buffers when lateness is bigger than the
1454 duration of the buffer.
1456 2006-03-13 Wim Taymans <wim@fluendo.com>
1458 * gst/gstpipeline.c: (gst_pipeline_set_property),
1459 (gst_pipeline_get_property), (do_pipeline_seek),
1460 (gst_pipeline_change_state), (gst_pipeline_set_delay),
1461 (gst_pipeline_get_delay):
1462 Don't deadlock when reading properties.
1464 2006-03-13 Wim Taymans <wim@fluendo.com>
1466 * libs/gst/base/gstbasetransform.c:
1467 (gst_base_transform_class_init), (gst_base_transform_init),
1468 (gst_base_transform_sink_event),
1469 (gst_base_transform_sink_eventfunc),
1470 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
1471 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1472 (gst_base_transform_set_property),
1473 (gst_base_transform_get_property),
1474 (gst_base_transform_change_state), (gst_base_transform_update_qos),
1475 (gst_base_transform_set_qos_enabled),
1476 (gst_base_transform_is_qos_enabled):
1477 * libs/gst/base/gstbasetransform.h:
1478 Make basetransform virtual method for src events too.
1479 Handle QOS in basetransform.
1480 API: gst_base_transform_update_qos()
1481 API: gst_base_transform_set_qos_enabled()
1482 API: gst_base_transform_is_qos_enabled()
1484 2006-03-13 Wim Taymans <wim@fluendo.com>
1486 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1487 (gst_base_sink_do_sync):
1489 Use QOS debug category.
1491 2006-03-13 Wim Taymans <wim@fluendo.com>
1493 * plugins/elements/gstqueue.c:
1494 Very small doc update.
1496 2006-03-13 Wim Taymans <wim@fluendo.com>
1498 * gst/gst_private.h:
1499 * gst/gstinfo.c: (_gst_debug_init):
1500 Added QOS debug category
1502 2006-03-13 Wim Taymans <wim@fluendo.com>
1504 * docs/gst/gstreamer-sections.txt:
1505 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
1507 * gst/gstbus.c: (gst_bus_class_init):
1510 * gst/gstelement.c: (gst_element_set_locked_state):
1512 Documentation updates.
1514 * gst/gstpipeline.c: (gst_pipeline_get_type),
1515 (gst_pipeline_class_init), (gst_pipeline_init),
1516 (gst_pipeline_dispose), (gst_pipeline_set_property),
1517 (gst_pipeline_get_property), (do_pipeline_seek),
1518 (gst_pipeline_send_event), (gst_pipeline_change_state),
1519 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
1520 (gst_pipeline_get_delay):
1521 * gst/gstpipeline.h:
1522 Added methods for setting the delay.
1523 API: gst_pipeline_set_delay()
1524 API: gst_pipeline_get_delay()
1525 Add pipeline debug category
1528 Don't reset stream time when seek failed.
1530 2006-03-13 Wim Taymans <wim@fluendo.com>
1532 * docs/design/draft-klass.txt:
1533 * docs/design/part-clocks.txt:
1534 * docs/design/part-events.txt:
1535 * docs/design/part-gstbin.txt:
1536 * docs/design/part-gstpipeline.txt:
1537 * docs/design/part-messages.txt:
1538 * docs/design/part-negotiation.txt:
1539 * docs/design/part-overview.txt:
1540 * docs/design/part-preroll.txt:
1541 * docs/design/part-seeking.txt:
1542 * docs/design/part-states.txt:
1543 * docs/design/part-streams.txt:
1544 Documentation updates.
1546 2006-03-12 Julien MOUTTE <julien@moutte.net>
1548 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
1549 us to leak strings...
1551 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
1553 * libs/gst/net/gstnettimeprovider.c:
1555 * win32/common/config.h:
1558 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
1560 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
1563 Don't check for libgnomeui (leftover from old examples
1564 that aren't built or disted any longer) (#334303).
1566 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
1568 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1569 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1570 Emit RESOURCE_NO_SPACE_LEFT error here as well when
1571 there's no space left on the device.
1573 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
1576 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
1577 to cast the input to GstClockTime before comparing with
1578 another GstClockTime value.
1580 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
1585 === release 0.10.4 ===
1587 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
1590 releasing 0.10.4, "Light"
1592 2006-03-10 Michael Smith <msmith@fluendo.com>
1594 * libs/gst/dataprotocol/dataprotocol.c:
1595 Fix docs for dataprocotol to not get the return types completely
1596 wrong for a few functions.
1598 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
1600 * docs/gst/gstreamer-sections.txt:
1601 * gst/gstpipeline.c: (gst_pipeline_class_init),
1602 (gst_pipeline_init), (gst_pipeline_set_property),
1603 (gst_pipeline_get_property), (gst_pipeline_change_state),
1604 (gst_pipeline_set_auto_flush_bus),
1605 (gst_pipeline_get_auto_flush_bus):
1606 * gst/gstpipeline.h:
1607 Add new API: gst_pipeline_set_auto_flush_bus() and
1608 gst_pipeline_get_auto_flush_bus() to disable automatic
1609 flushing of the pipeline's GstBus when going from READY
1610 to NULL state (#332045).
1612 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
1614 * docs/gst/gstreamer-sections.txt:
1615 * gst/gsturi.c: (gst_uri_has_protocol):
1617 Add new API: gst_uri_has_protocol() (#333779).
1619 2006-03-09 Wim Taymans <wim@fluendo.com>
1621 * gst/gstclock.c: (gst_clock_entry_new),
1622 (gst_clock_id_compare_func), (gst_clock_id_wait),
1623 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
1624 (gst_clock_init), (gst_clock_get_internal_time),
1625 (gst_clock_set_master), (do_linear_regression),
1626 (gst_clock_add_observation), (gst_clock_set_property):
1630 Fix a possible segfault when the window-size is made smaller.
1631 Calculate jitter before performing the clock wait. Ideally
1632 the clock implementation should calculate jitter but we need
1633 API breakage for that.
1635 * gst/gstsystemclock.c: (gst_system_clock_init):
1638 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1639 Remove leftover else
1641 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1642 (gst_systemclock_suite):
1643 Added check to test GST_CLOCK_DIFF.
1645 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
1647 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
1648 (gst_type_find_helper_get_range):
1649 If we are provided with the size, we should implement
1650 GstTypeFind::get_length, so that typefind functions who
1651 want to can actually peek at the middle of a file.
1653 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
1655 * docs/manual/advanced-dataaccess.xml:
1656 Add some very very basic error checking.
1658 * docs/pwg/appendix-checklist.xml:
1659 Some updates to the list of things to check when writing an element.
1661 2006-03-08 Wim Taymans <wim@fluendo.com>
1663 * docs/design/part-element-transform.txt:
1664 Added some docs about the design of tranform elements.
1666 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1667 (gst_base_src_loop), (gst_base_src_change_state):
1668 Mark buffers with the DISCONT flag.
1670 2006-03-08 Michael Smith <msmith@fluendo.com>
1672 * gst/gstregistry.h:
1673 * gst/gstregistryxml.c: (gst_registry_save),
1674 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
1675 (gst_registry_xml_save_pad_template),
1676 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
1677 (gst_registry_xml_write_cache):
1678 Rewrite registry-saving to avoid race conditions and check for
1681 2006-03-08 Wim Taymans <wim@fluendo.com>
1683 * libs/gst/base/gstbasetransform.c:
1684 (gst_base_transform_transform_caps),
1685 (gst_base_transform_transform_size),
1686 (gst_base_transform_prepare_output_buffer),
1687 (gst_base_transform_get_unit_size),
1688 (gst_base_transform_buffer_alloc),
1689 (gst_base_transform_handle_buffer),
1690 (gst_base_transform_change_state):
1691 Cleanups, separate normal flow from errors, add sensible
1693 Don't try to renegotiate when allocating an output buffer.
1694 Also copy DISCONT buffer flag when copying a buffer.
1695 Reset the transform after we finish streaming, not during.
1697 2006-03-08 Wim Taymans <wim@fluendo.com>
1699 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1700 Use last buffer timestamp in qos message.
1702 2006-03-07 Wim Taymans <wim@fluendo.com>
1704 Patch by: Christophe Fergeau
1706 * docs/pwg/advanced-tagging.xml:
1707 * docs/pwg/building-pads.xml:
1710 2006-03-07 Wim Taymans <wim@fluendo.com>
1712 * docs/libs/gstreamer-libs-sections.txt:
1713 Added basesink new methods.
1717 Docs updates. Flesh out the QoS docs.
1719 * libs/gst/base/gstadapter.c:
1720 Small doc clarification about ownership and flushing.
1722 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
1723 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1724 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
1725 (gst_base_sink_get_property), (gst_base_sink_do_sync):
1726 * libs/gst/base/gstbasesink.h:
1728 Added new methods to allow subclass to control max-lateness
1730 Generate very basic QoS events based on last sync observation.
1731 Updated docs, fix typo, added some QoS blurb.
1733 * libs/gst/base/gstbasesrc.c:
1734 Remove obsolete _get_state() calls from docs.
1736 2006-03-07 Wim Taymans <wim@fluendo.com>
1738 * docs/libs/gstreamer-libs-sections.txt:
1739 * libs/gst/base/gstbasetransform.h:
1740 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
1741 Fix docs for GstBaseSrc.
1743 2006-03-07 Wim Taymans <wim@fluendo.com>
1745 * docs/gst/gstreamer-sections.txt:
1748 * libs/gst/base/gstbasetransform.h:
1749 Small documentation fixes.
1751 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
1754 Document thread-unsafety of gst_value_register_foo_func()
1755 when used at the same time as gst_value_foo() (#322628).
1757 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
1759 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
1760 (gst_push_src_check_get_range):
1761 Push sources don't support pull mode by default.
1763 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
1765 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1766 (gst_base_src_init), (gst_base_src_pad_check_get_range),
1767 (gst_base_src_default_check_get_range):
1768 * libs/gst/base/gstbasesrc.h:
1769 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
1770 provide default implementation, and rename
1771 gst_base_src_check_get_range() to
1772 gst_base_src_pad_check_get_range() for clarity.
1774 2006-03-06 Wim Taymans <wim@fluendo.com>
1776 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1777 Make property overridable.
1779 2006-03-06 Wim Taymans <wim@fluendo.com>
1781 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1782 (gst_base_sink_init), (gst_base_sink_set_property),
1783 (gst_base_sink_get_property), (gst_base_sink_do_sync):
1784 * libs/gst/base/gstbasesink.h:
1785 API addition: Make max-lateness a property.
1787 2006-03-06 Wim Taymans <wim@fluendo.com>
1789 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
1790 (gst_base_sink_do_sync), (gst_base_sink_render_object):
1791 Don't ever draw a frame that is >10ms late.
1793 2006-03-06 Michael Smith <msmith@fluendo.com>
1795 * gst/gstmessage.c: (_gst_message_copy):
1796 When copying a message, set the parent_refcount of the enclosed
1797 structure to point at the copy, not the original message.
1799 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
1801 Patch by: Christophe Fergeau
1804 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
1805 usable in c++ code (#333417)
1807 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
1810 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
1812 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
1814 * libs/gst/base/gstbasetransform.c:
1815 (gst_base_transform_transform_caps):
1816 Make sure caps are writable before passing them to
1819 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
1822 Fix some minor docs errors.
1824 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
1826 Patch by: Ross Burton <ross at burtonini dot com>
1828 * gst/gsterror.c: (_gst_resource_errors_init):
1830 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
1832 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
1835 Add a check and output a g_warning when GStreamer is built
1836 against GLib 2.6 but running against 2.8 or higher, and vice
1837 versa. (Closes: #323542)
1839 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
1841 * gst/parse/parse.l:
1842 Commit patch for parse_launch syntax from #331255. Removes
1843 support for quoted strings and mimetypes when writing filtered
1844 caps. See the bug report for more details - I'm pretty sure this
1845 obscure feature is not in use by _anyone_ anywhere.
1847 With this simple change, the size of the gstreamer.so here
1848 drops from 2193KB to 1565KB.
1850 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
1852 * plugins/elements/gsttypefindelement.h:
1853 * plugins/elements/gsttypefindelement.c:
1854 (gst_type_find_element_src_event), (start_typefinding),
1855 (stop_typefinding), (gst_type_find_element_handle_event),
1856 (gst_type_find_element_chain),
1857 (gst_type_find_element_chain_do_typefinding):
1858 Use gst_type_find_helper_for_buffer() for chain-based
1861 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
1863 * plugins/elements/gsttypefindelement.c:
1864 (gst_type_find_element_class_init),
1865 (gst_type_find_element_set_property),
1866 (gst_type_find_element_get_property):
1867 Deprecate "maximum" property (not only was it only taken into
1868 account for typefinding in push-mode anyway, it also was never
1869 actually possible to set it in the first place because the
1870 property was registered with the numeric property ID for the
1871 "minimum" property). Register "maximum" property correctly,
1872 for the sake of future copy'n'pasters. Remove some cruft
1873 from property get/set functions.
1875 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
1877 * plugins/elements/gsttypefindelement.c:
1878 (gst_type_find_element_activate):
1879 Use gst_type_find_helper_get_range() here, so we
1880 can honour the "minimum" property and also emit
1881 the signal with the correct probability of the found caps.
1883 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
1885 * docs/libs/gstreamer-libs-sections.txt:
1886 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1887 (helper_find_suggest), (gst_type_find_helper_get_range),
1888 (gst_type_find_helper):
1889 * libs/gst/base/gsttypefindhelper.h:
1890 New API: gst_type_find_helper_get_range() (#333042).
1892 2006-03-02 Michael Smith <msmith@fluendo.com>
1894 * gst/gstregistryxml.c: (load_feature):
1895 Asserting on a failure to read part of the registry is Not Cool.
1896 Just log a warning and return NULL (which is already handled)
1898 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
1900 * win32/common/libgstbase.def:
1901 added export of gst_type_find_helper_for_buffer
1902 * win32/common/libgstbase.def:
1903 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
1904 gst_ghost_pad_get_target
1906 2006-02-28 Wim Taymans <wim@fluendo.com>
1908 * docs/design/draft-klass.txt:
1910 Added Connector to mark elements that are only used to
1911 allow pipeline connections.
1912 Moved Debug to extra feature since most of them are
1913 functionally something else.
1915 2006-02-28 Wim Taymans <wim@fluendo.com>
1917 * docs/design/draft-klass.txt:
1918 Some updates and clarifications.
1920 2006-02-28 Wim Taymans <wim@fluendo.com>
1922 * docs/design/draft-klass.txt:
1923 Proposal for klass field values.
1925 * docs/design/part-streams.txt:
1926 Start of a doc describing stream anatomy.
1928 2006-02-28 Wim Taymans <wim@fluendo.com>
1930 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
1931 Help the compiler a bit with type registration.
1932 Use existing forward cod path instead of duplicating it when
1935 * gst/gstbus.c: (gst_bus_get_type):
1936 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
1937 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
1938 * gst/gstclock.c: (gst_clock_get_type):
1939 * gst/gstelement.c: (gst_element_get_type),
1940 * gst/gstelementfactory.c: (gst_element_factory_get_type):
1941 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1942 * gst/gstminiobject.c: (gst_mini_object_get_type):
1943 * gst/gstpad.c: (gst_pad_get_type):
1944 * gst/gstsegment.c: (gst_segment_get_type):
1945 * gst/gststructure.c: (gst_structure_get_type):
1946 * gst/gstsystemclock.c: (gst_system_clock_get_type):
1947 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
1949 Help compiler with type registration.
1951 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1954 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1956 * plugins/elements/gsttypefindelement.c:
1957 (gst_type_find_element_handle_event):
1958 When we get an EOS event and have not found a type yet
1959 (most likely because we had not yet accumulated
1960 TYPE_FIND_MIN_SIZE of data yet), try to determine the
1961 type given the data we have so far. Fixes typefinding
1962 for very short streams again, most notably quicktime
1963 redirections as used on Apple's trailer site (#331701).
1965 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1967 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
1968 (gst_type_find_helper):
1969 Try typefinding factories with the highest rank first.
1971 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1973 * docs/libs/gstreamer-libs-docs.sgml:
1974 * docs/libs/gstreamer-libs-sections.txt:
1975 * libs/gst/base/gsttypefindhelper.c:
1976 Add section for typefind helper and add documentation
1977 for the old and the new function.
1979 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1981 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
1982 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
1983 (gst_type_find_helper_for_buffer):
1984 * libs/gst/base/gsttypefindhelper.h:
1985 New API: gst_type_find_helper_for_buffer() (#332723).
1987 2006-02-27 Michael Smith <msmith@fluendo.com>
1989 Patch by: Loïc Minier
1993 * docs/slides/Makefile.am:
1994 prevent CVS directories getting disted.
1996 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1998 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
1999 Use the REFCOUNTING category for caps refcounting.
2001 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2003 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
2004 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
2006 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2008 * plugins/elements/gsttypefindelement.c:
2009 (gst_type_find_element_activate):
2010 Use gst_pad_check_pull_range() before _activate_pull()
2011 to avoid unnecessary open/close (see #331690).
2013 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2016 Docs enhancement: make it crystal clear what the
2017 gst_pad_add_*_probe() callbacks should look like.
2019 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2021 * libs/gst/base/gstbasesrc.c:
2022 Document how applications can stop recording from
2023 live sources (see #330996).
2025 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2027 * tests/check/Makefile.am:
2028 * tests/check/libs/basesrc.c: (eos_event_counter),
2029 (basesrc_eos_events_pull), (basesrc_eos_events_push),
2030 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
2031 (gst_basesrc_suite), (main):
2032 ... and add some tests for the base source EOS stuff.
2034 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2036 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
2037 Test case originally showed the problem fixed below,
2038 but was then amended. Add checks back at the place
2039 where they used to be.
2041 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2043 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2044 (gst_base_src_init), (gst_base_src_loop),
2045 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2046 (gst_base_src_change_state):
2047 * libs/gst/base/gstbasesrc.h:
2048 Don't unconditionally send EOS when going from PAUSED to
2049 READY state, esp. make sure we don't send two EOS events
2050 in some cases (e.g. one when reaching EOS and one when
2051 going from PAUSED to READY). Also, we don't want to send
2052 EOS events when operating in pull mode. However, we do
2053 want to send an EOS event when shutting down a live
2054 source explicitly, for example (fixes #330996).
2056 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2058 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2059 Update src->read_position after a seek when not using mmap.
2060 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
2062 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
2068 Make things work with --disable-parse as they do with
2069 --disable-load-save - the symbols involved disappear, but the
2070 header is still installed and GST_DISABLE_PARSE is included via
2073 2006-02-20 Julien MOUTTE <julien@moutte.net>
2075 * libs/gst/base/gstbasetransform.c:
2076 (gst_base_transform_change_state): Fix a stupid bug. I was
2077 sure I compiled that.
2079 2006-02-20 Julien MOUTTE <julien@moutte.net>
2081 * gst/gstpad.c: (gst_pad_set_blocked_async):
2082 * gst/gstutils.c: (gst_pad_add_data_probe),
2083 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2084 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2085 (gst_pad_remove_buffer_probe): Make those function act on the
2086 ghostpad target when it's a ghostpad. (Closes #331727)
2088 2006-02-20 Julien MOUTTE <julien@moutte.net>
2090 * libs/gst/base/gstbasetransform.c:
2091 (gst_base_transform_change_state): Make basetransform reusable.
2094 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
2096 * docs/random/release:
2097 Move the current documentation of how to do a release to the top
2100 * gst/gstbin.c: (gst_bin_class_init),
2101 (gst_bin_handle_message_func):
2102 Allow multiple state-recalculation threads. (Closes #328873)
2104 2006-02-19 Julien MOUTTE <julien@moutte.net>
2106 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
2107 * gst/gstpad.c: (gst_pad_set_event_function),
2108 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2109 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2110 2 strings. You can't use the STR_NULL macro on that.
2112 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
2114 * gst/gstpad.c: (gst_pad_set_event_function),
2115 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2116 (gst_pad_set_getcaps_function)
2117 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
2118 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
2119 So now, we can use --gst-debug-level=5 on Windows
2120 * win32/common/libgstcontroller.def:
2121 Added export of gst_controller_init
2122 * win32/vs6/libgstcontroller.dsp:
2123 Fixed Release post build configuration
2125 2006-02-17 Wim Taymans <wim@fluendo.com>
2127 * tests/check/gst/gstquery.c: (GST_START_TEST):
2128 Added another check.
2130 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
2132 * plugins/elements/gsttypefindelement.c: (find_peek):
2133 We can do peeks at non-zero offsets, as long as they
2134 fall within the buffer we have.
2136 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
2138 * tests/check/Makefile.am:
2139 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
2140 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
2141 (parse_suite), (main):
2142 Add testsuite for parse launch syntax
2144 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
2146 * plugins/elements/gsttypefindelement.c:
2147 (gst_type_find_element_chain):
2148 When typefinding is unsuccessful in the chain function, don't
2149 error out immediately. Only error out with NO_CAPS_FOUND if
2150 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
2151 otherwise simply wait for more data so we can try typefinding
2152 again with more data later. Also, don't attempt to typefind
2153 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
2154 this should improve typefinding from network sources where the
2155 size of the first buffer can be somewhat random.
2157 2006-02-14 Wim Taymans <wim@fluendo.com>
2159 * docs/gst/gstreamer-sections.txt:
2160 * gst/gstpadtemplate.c:
2161 * gst/gstpadtemplate.h:
2162 Fix padtemplate docs, fixes #328805.
2164 2006-02-14 Wim Taymans <wim@fluendo.com>
2166 * tools/gst-launch.c: (main):
2167 NO_PREROLL is not an ERROR so don't send confusing messages
2170 2006-02-14 Wim Taymans <wim@fluendo.com>
2172 Patch by: Torsten Schoenfeld
2174 * gst/gstregistry.c: (gst_registry_get_default),
2175 (_gst_registry_cleanup):
2176 Protect default registry with lock and ref/sink it.
2179 2006-02-14 Wim Taymans <wim@fluendo.com>
2182 * gst/gstquery.c: (gst_query_list_add_format),
2183 (gst_query_set_formatsv), (gst_query_parse_formats_length),
2184 (gst_query_parse_formats_nth):
2185 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2188 2006-02-14 Wim Taymans <wim@fluendo.com>
2190 * docs/gst/gstreamer-sections.txt:
2191 Reworked query docs.
2193 * gst/gstquery.c: (gst_query_new_formats),
2194 (gst_query_list_add_format), (gst_query_set_formats),
2195 (gst_query_set_formatsv), (gst_query_parse_formats_length),
2196 (gst_query_parse_formats_nth):
2198 Flesh out formats query, added some new methods.
2199 Fix part of #324398.
2201 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
2202 Added query creation tests.
2204 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
2206 * gst/gstpad.c: (fixate_value):
2207 Add a default fixation for fraction lists.
2209 2006-02-13 Wim Taymans <wim@fluendo.com>
2211 * gst/gsttask.c: (gst_task_init), (gst_task_func),
2212 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
2215 Detect and warn for obvious deadlocks. fixes #320340
2216 Fix error case where lock was not released.
2218 * tests/check/Makefile.am:
2219 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
2220 (task_func), (gst_element_suite), (main):
2223 2006-02-13 Wim Taymans <wim@fluendo.com>
2225 * docs/gst/gstreamer-sections.txt:
2227 Add new functions to docs.
2229 2006-02-13 Wim Taymans <wim@fluendo.com>
2231 * docs/design/part-TODO.txt:
2232 Updated TODO list, basesrc supports seeking to non-bytes
2235 * docs/design/part-element-sink.txt:
2238 * gst/gstbin.c: (bin_replace_message),
2239 (gst_bin_handle_message_func):
2240 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
2241 * gst/gstevent.c: (gst_event_finalize):
2242 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2243 (gst_pad_send_event):
2244 Use shiny new _TYPE_NAME macros.
2246 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2247 Move debug statement up.
2249 * gst/gstelement.c: (gst_element_set_locked_state):
2252 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
2254 * docs/gst/gstreamer-sections.txt:
2257 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
2258 macros (#330906). Also, document the already existing
2259 GST_QUERY_TYPE macro.
2261 2006-02-13 Wim Taymans <wim@fluendo.com>
2263 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
2264 (event_probe), (GST_START_TEST):
2265 Only events up to the pipeline EOS are counted, there are
2266 some more when going to NULL currently which we don't care
2269 2006-02-13 Wim Taymans <wim@fluendo.com>
2271 * gst/gstpad.c: (gst_pad_send_event):
2272 Correctly check flushing and emit probes. fixes #330125
2274 2006-02-10 Andy Wingo <wingo@pobox.com>
2276 * gst/gstbus.c (gst_bus_class_init): Declare our private data
2278 (gst_bus_init): Cache the location of the private data in the
2280 (gst_bus_enable_sync_message_emission)
2281 (gst_bus_disable_sync_message_emission): Implement new public
2283 (gst_bus_post): Emit the sync-message signal if the user asked for
2286 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
2287 location of the bus-private structure.
2288 (gst_bus_enable_sync_message_emission)
2289 (gst_bus_disable_sync_message_emission): API addition
2291 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
2293 Patch by: Vincent Torri
2295 * docs/pwg/building-boiler.xml:
2296 PWG patch from #326800
2298 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
2302 * docs/design/Makefile.am:
2305 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2310 === release 0.10.3 ===
2312 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2315 releasing 0.10.3, "Like a virgin"
2317 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2320 2nd prerelease of 0.10.3
2321 Bump libtool versioning.
2323 2006-02-07 Andy Wingo <wingo@pobox.com>
2325 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
2326 update last_stop if we're in TIME format and the timestamp is
2329 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
2330 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
2331 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
2332 If we get a new newsegment with a different format, adapt
2335 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
2336 of 0. Not a problem, really.
2338 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
2341 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
2346 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
2349 project files updated to the default vs7 configuration
2350 * win32/common/libgstbase.def:
2351 * win32/common/libgstreamer.def:
2353 removed empty lines,
2354 sorted all exported symbols alphabetically
2355 * win32/common/dirent.c:
2356 * win32/common/dirent.h:
2357 * win32/common/gchar.h:
2358 use windows line end.
2360 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
2362 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2363 Send EOS event when stopping.
2365 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
2368 Tell folks what to do if the plugin-foobar.xml file
2369 hasn't been generated for a newly-added plugin.
2371 2006-02-05 Julien MOUTTE <julien@moutte.net>
2373 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2374 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2375 (gst_collect_pads_start), (gst_collect_pads_stop),
2376 (gst_collect_pads_event): Collectpads now holds a reference
2377 to the GstPad that was added. Indeed we don't want to look
2378 at pads that might just go away with no warning...
2380 2006-02-05 Julien MOUTTE <julien@moutte.net>
2382 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2383 (gst_collect_pads_start), (gst_collect_pads_stop),
2384 (gst_collect_pads_event), (gst_collect_pads_chain):
2385 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
2386 Mark Nauwelaerts's patch on bug #328491.
2388 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
2390 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
2392 Add some simple tests for gst_parse_bin_from_description() and
2393 gst_bin_find_unconnected_pad() (#329069).
2395 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
2397 * tools/gst-launch.c: (event_loop), (main):
2398 Catch errors during preroll (#320084).
2400 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
2402 * plugins/elements/gsttypefindelement.c:
2403 (gst_type_find_element_activate):
2404 Post TYPE_NOT_FOUND error message when typefinding
2405 is unsuccessful in the activate function as well.
2407 2006-02-02 Wim Taymans <wim@fluendo.com>
2409 * docs/design/part-element-sink.txt:
2412 2006-02-02 Wim Taymans <wim@fluendo.com>
2414 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2415 (gst_base_sink_render_object),
2416 (gst_base_sink_queue_object_unlocked):
2417 Only keep track of prerollable items when we are
2419 Before rendering after preroll, always check if we
2421 Added some more debugging.
2423 2006-02-02 Wim Taymans <wim@fluendo.com>
2425 * gst/gstelement.c: (gst_element_continue_state),
2426 (gst_element_set_state_func), (gst_element_change_state):
2427 Fixed #326576, been running this for quite some time with
2428 no regressions at all.
2430 2006-02-02 Wim Taymans <wim@fluendo.com>
2433 Added more suppressions
2435 2006-02-02 Wim Taymans <wim@fluendo.com>
2437 * docs/design/part-element-sink.txt:
2440 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2441 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
2442 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
2443 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2444 (gst_base_sink_do_sync), (gst_base_sink_render_object),
2445 (gst_base_sink_preroll_object),
2446 (gst_base_sink_queue_object_unlocked),
2447 (gst_base_sink_queue_object), (gst_base_sink_event),
2448 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
2449 (gst_base_sink_loop), (gst_base_sink_activate_pull),
2450 (gst_base_sink_get_position), (gst_base_sink_change_state):
2451 * libs/gst/base/gstbasesink.h:
2452 Totally refactored matching the design doc.
2453 Use two segments, one to clip incomming buffers and another to
2455 Handle queueing correctly, bypass the queue when playing.
2456 Make EOS cancelable.
2457 Handle errors correctly when operating in pull based mode.
2459 * tests/check/elements/fakesink.c: (GST_START_TEST),
2461 Added new check for sinks.
2463 2006-02-02 Wim Taymans <wim@fluendo.com>
2465 * gst/gstsegment.c: (gst_segment_clip):
2466 No reason to refuse to clip when start == -1
2468 2006-02-02 Stefan Kost <ensonic@users.sf.net>
2471 * docs/manual/intro-basics.xml:
2472 * docs/manual/intro-preface.xml:
2473 * docs/manual/manual.xml:
2474 * docs/pwg/advanced-dparams.xml:
2475 * docs/pwg/intro-basics.xml:
2476 * docs/pwg/intro-preface.xml:
2478 describe dparams (controller) for plugins
2479 unify docs a little more
2481 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
2483 * docs/gst/gstreamer-sections.txt:
2484 * gst/gstutils.c: (element_find_unconnected_pad),
2485 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
2487 Add new API: gst_parse_bin_from_description() and
2488 gst_bin_find_unconnected_pad() (#329069).
2490 2006-02-01 Stefan Kost <ensonic@users.sf.net>
2492 * docs/manual/README:
2493 uncover a nasty detail of the docs build
2495 2006-01-31 Wim Taymans <wim@fluendo.com>
2497 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
2498 Don't cache duration messages if we're not going to use or
2501 2006-01-31 Stefan Kost <ensonic@users.sf.net>
2503 * docs/manual/advanced-dparams.xml:
2504 * docs/pwg/advanced-dparams.xml:
2508 * libs/gst/controller/lib.c: (gst_controller_init):
2511 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
2513 * gst/gstelement.c: (gst_element_message_full):
2514 also show file/line/func if no additional debug was given
2516 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
2518 * win32/vs7/grammar.vcproj:
2519 activate copy of autogenerated files for Release mode
2521 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
2523 * win32/common/libgstreamer.def:
2524 export gst_value_compare
2526 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
2528 * plugins/elements/Makefile.am:
2529 * plugins/elements/gstelements.c:
2530 * plugins/elements/gstfdsink.c: (_do_init),
2531 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
2532 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
2533 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
2534 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
2535 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
2536 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
2537 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
2538 * plugins/elements/gstfdsink.h:
2539 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
2541 2006-01-30 Stefan Kost <ensonic@users.sf.net>
2543 * docs/manual/advanced-dparams.xml:
2545 * docs/manual/advanced-position.xml:
2546 * docs/manual/basics-init.xml:
2547 * docs/manual/manual.xml:
2548 * docs/manual/titlepage.xml:
2550 * docs/pwg/titlepage.xml:
2551 cleanup xml (more to come)
2552 * libs/gst/controller/gstcontroller.c:
2555 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
2557 * win32/vs6/grammar.dsp:
2558 add autogen of gstmarshal.c,h for Release mode
2560 2006-01-30 Wim Taymans <wim@fluendo.com>
2562 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2563 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
2564 (gst_base_sink_handle_object), (gst_base_sink_event),
2565 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
2566 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2567 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
2568 (gst_base_sink_deactivate), (gst_base_sink_activate),
2569 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2570 (gst_base_sink_query), (gst_base_sink_change_state):
2571 Basesink cleanups, remove some old code.
2572 Handle the case where a subclass can preroll in the render
2573 method (mostly audiosinks).
2575 Remove some locks around variables that are now protected
2576 with the PREROLL_LOCK (clock_id, flushing, ..).
2577 Optimize position query some more, do correct locking.
2578 Remove old code to push queue in state change, this is not
2579 needed anymore since preroll blocks on all prerollable items
2581 Almost implemented as described in design doc.
2583 2006-01-30 Wim Taymans <wim@fluendo.com>
2585 * tests/check/gst/gstbin.c: (GST_START_TEST):
2586 Wait for refcount to settle down before checking.
2588 2006-01-30 Wim Taymans <wim@fluendo.com>
2590 * docs/design/part-element-sink.txt:
2591 Pseudo code overview of desired sink behaviour regarding
2594 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2595 * win32/vs6/grammar.dsp:
2596 fix some bugs in Release mode for autogenerated files
2598 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2599 * win32/common/libgstbase.def:
2600 * win32/common/libgstreamer.def:
2601 export some new symbols: gst_base_src_set_format,
2602 gst_iterator_next, gst_structure_set_valist
2604 2006-01-29 Julien MOUTTE <julien@moutte.net>
2606 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
2607 Set pad functions unconditionally. Fixes #329105.
2609 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2611 add vs8 project files created by Sergey Scobich
2613 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
2615 * gst/gstutils.c: (gst_element_unlink_pads):
2616 Don't leak pad references.
2618 * tests/check/elements/fakesink.c: (GST_START_TEST):
2619 * tests/check/generic/sinks.c: (GST_START_TEST):
2620 * tests/check/generic/states.c: (GST_START_TEST):
2621 * tests/check/gst/gstbin.c: (GST_START_TEST):
2622 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2623 * tests/check/gst/gstelement.c: (GST_START_TEST):
2624 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2625 * tests/check/gst/gstiterator.c: (GST_START_TEST):
2626 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2627 Fix a bunch of leaks. Make generic/sinks.c
2628 use a bit less cpu by slowing the buffer rate
2629 between fakesrc and fakesink.
2631 2006-01-27 Stefan Kost <ensonic@users.sf.net>
2633 * gst/gstelement.c: (gst_element_send_event):
2636 * gst/gstiterator.c:
2637 * gst/gstiterator.h:
2638 * gst/gstpad.c: (gst_pad_send_event):
2639 * gst/gststructure.c:
2643 * libs/gst/base/gstadapter.c:
2644 doc fixes, to link to function, just write gst_cool_function(), don't
2647 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
2649 * plugins/elements/gsttee.c: (gst_tee_do_push),
2650 (gst_tee_handle_buffer):
2651 Always prefer an actual return value from a src
2652 pad in place of NOT_LINKED. This means we return
2653 WRONG_STATE when all src pads are WRONG_STATE
2654 instead of NOT_LINKED.
2656 Lock when replacing the last message to prevent
2657 racing with the get_property method.
2661 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
2663 * tests/check/Makefile.am:
2664 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
2666 Add a very simple check that should have caught the memleak I fixed
2667 last night (if not for the slice allocator hiding it)
2669 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
2671 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2672 (gst_bin_remove_func), (gst_bin_handle_message_func),
2673 (bin_query_duration_fold), (bin_query_generic_fold):
2674 Clean up references to the clock provider when disposed or when
2675 handling a clock-lost message from it.
2677 Unref sinks when performing a query via gst_iterator_fold, as the
2678 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
2680 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
2681 (gst_clock_set_master):
2682 Drop our reference to the master clock, if any, when we are disposed.
2684 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
2685 Chain up in dispose.
2687 2006-01-26 Wim Taymans <wim@fluendo.com>
2689 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2692 2006-01-26 Julien MOUTTE <julien@moutte.net>
2694 * plugins/elements/gsttee.c: (gst_tee_do_push),
2695 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
2696 handles pad being NOT_LINKED or in WRONG_STATE.
2698 2006-01-26 Stefan Kost <ensonic@users.sf.net>
2703 2006-01-26 Stefan Kost <ensonic@users.sf.net>
2706 remove obsolete entry
2708 2006-01-26 Stefan Kost <ensonic@users.sf.net>
2710 * docs/gst/gstreamer-sections.txt:
2711 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
2712 (gst_bin_iterate_sources), (gst_bin_send_event):
2714 * gst/gstelement.c: (gst_element_send_event):
2716 * gst/gstpad.c: (gst_pad_send_event):
2717 added code for downstream events, reviewed docs in gstevent.c
2719 2006-01-25 Julien MOUTTE <julien@moutte.net>
2721 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2722 We only query position using the clock in the playing state.
2723 Query peer in the other cases.
2724 * win32/common/config.h: Updates.
2726 2006-01-24 Wim Taymans <wim@fluendo.com>
2728 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2729 A clock entry that is scheduled for the exact time of the
2730 clock is still in time.
2732 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2733 (gst_base_sink_do_sync):
2734 Add some more debug info.
2736 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
2739 Add new vs7 project files and solution.
2741 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
2744 all files removed as they were out-dated.
2746 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
2748 * docs/random/release:
2750 * gst/gstbin.c: (gst_bin_init):
2751 * gst/gstbus.c: (gst_bus_new):
2753 * gst/gstpipeline.c: (gst_pipeline_init):
2754 use gst_bus_new(), improve logging, fix docs
2755 * win32/common/config.h:
2756 update for cvs build
2758 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
2761 up required version of automake to 1.7
2763 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
2765 * win32/common/libgstreamer.def:
2766 export gst_buffer_is_metadata_writable
2768 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
2770 * docs/gst/gstreamer-sections.txt:
2772 Add gst_event_replace() (#327001)
2774 2006-01-20 Wim Taymans <wim@fluendo.com>
2776 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
2777 Make it actually compile too..
2779 2006-01-20 Wim Taymans <wim@fluendo.com>
2782 Clarify behaviour of _is_equal() when passing NULL parameters.
2784 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
2786 Cleanups. Don't unref NULL caps.
2787 When setting the same caps, protect caps of the pad with
2789 Use full functionality of _is_equal() when comparing caps.
2791 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
2793 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2794 Don't loop infinitely if there are no buffers to present. Partially
2795 fixes #327197, but collectpads is just broken for reusing elements
2796 to do multiple encodes atm.
2798 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
2800 * tools/gst-inspect.c: (print_element_features):
2801 * tools/gst-xmlinspect.c: (main):
2802 URL_HANDLER is not a plugin feature we can search for in
2805 2006-01-19 Edward Hervey <edward@fluendo.com>
2807 * gst/gstelement.c: (gst_element_pads_activate):
2808 When activating, do src pads first, then sink pads.
2809 When de-activating, do sink pads first, then src pads.
2811 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
2813 * docs/gst/gstreamer-sections.txt:
2814 Add gst_index_add_associationv to the docs
2816 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
2821 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
2822 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
2823 Do some refactoring. Doesn't actually change functionality,
2824 but makes landing the DRAIN event easier later.
2826 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
2828 * docs/pwg/advanced-scheduling.xml:
2829 Update from 0.9.x to 0.10 API and make example a bit
2832 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
2834 * docs/gst/gstreamer-sections.txt:
2835 Add gst_buffer_(is|make)_metadata_writable methods.
2837 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
2839 * docs/design/part-sparsestreams.txt:
2840 Update sparse streams doc, hopefully for greater clarity
2842 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
2844 * docs/design/part-events.txt:
2845 Remove mention of FILLER events.
2848 * docs/design/part-sparsestreams.txt:
2849 Write some things about using NEWSEGMENT to keep sparse streams
2852 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
2854 * gst/gstbin.c: (gst_bin_dispose):
2855 Guard gst_object_unref call against a NULL object (dispose
2856 can theoretically be called multiple times).
2858 2006-01-18 Wim Taymans <wim@fluendo.com>
2860 * gst/gstbin.c: (gst_bin_element_set_state):
2861 * gst/gstclock.c: (gst_clock_id_wait):
2862 Added some more debug info.
2864 * libs/gst/base/gstadapter.c:
2867 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2868 (gst_base_sink_do_sync), (gst_base_sink_chain):
2869 Added some comments.
2871 2006-01-18 Wim Taymans <wim@fluendo.com>
2873 * tests/check/Makefile.am:
2874 * tests/check/elements/fakesink.c: (chain_async_buffer),
2875 (chain_async), (chain_async_return), (GST_START_TEST),
2876 (fakesink_suite), (main):
2877 Added fakesink test that checks prerolling and clipping
2880 * tests/check/gst/gstutils.c: (GST_START_TEST):
2881 Make check run faster so that buildbots don't timeout.
2883 2006-01-18 Wim Taymans <wim@fluendo.com>
2885 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2886 (gst_base_sink_do_sync):
2888 When the sink finishes blocking on the preroll buffer, it can
2889 immediatly render it instead of rendering when the next buffer
2892 2006-01-18 Wim Taymans <wim@fluendo.com>
2894 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
2895 (gst_base_sink_get_property), (gst_base_sink_do_sync),
2896 (gst_base_sink_chain):
2898 GST_ELEMENT_CLOCK and sync are protected with LOCK.
2899 Don't store _last_stop if the buffer is dropped.
2901 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
2903 * plugins/elements/gsttypefindelement.c:
2904 (gst_type_find_element_class_init):
2905 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
2906 object method handler that sets the caps on the pad and we want
2907 that to happen before we emit the signal (fixes e.g. feeding a
2908 plain text file to decodebin).
2910 2006-01-18 Christian Schaller <Christian@fluendo.com>
2912 * gst/gstplugin.c: Add MPL and Proprietary as license options
2914 2006-01-18 Andy Wingo <wingo@pobox.com>
2916 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
2917 symbol was exported before, it appears this was just an oversight.
2919 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
2921 * gst/gstindex.c (gst_index_add_associationv): Changed int in
2922 prototype to gint. OK since this prototype was not in the header.
2924 2006-01-17 Andy Wingo <wingo@pobox.com>
2926 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
2927 registry while we remove plugins.
2929 * tools/gst-inspect.c (print_element_info): Don't unref the
2930 factory arg, that should be the responsibility of whatever code
2931 received the ref. Fixes a double-free when called from
2932 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
2933 (main): Unref the factory if we have one.
2934 (print_element_list): No change -- relies on the
2935 plugin_feature_list_free to free the list of features.
2937 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
2939 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
2940 (gst_buffer_make_metadata_writable):
2942 * libs/gst/base/gstbasetransform.c:
2943 (gst_base_transform_prepare_output_buf):
2944 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2945 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2946 Replace gst_buffer_(make|is)_metadata_writable patch now
2947 that the release is out.
2949 2006-01-17 Andy Wingo <wingo@pobox.com>
2951 * gst/gstregistry.c: Reflow design comment. Update so as to speak
2952 in the present tense without reference to versions.
2954 * gst/gstregistry.c (gst_registry_add_plugin)
2955 (gst_registry_remove_plugin, gst_registry_remove_feature)
2956 (gst_registry_find_feature, gst_registry_get_feature_list)
2957 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
2958 (gst_registry_lookup, gst_registry_scan_path)
2959 (_gst_registry_remove_cache_plugins)
2960 (gst_registry_get_feature_list_by_plugin): Add argument
2963 === release 0.10.2 ===
2965 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
2968 releasing 0.10.2, "If man is five"
2970 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
2974 * libs/gst/base/gstbasetransform.c:
2975 (gst_base_transform_prepare_output_buf):
2976 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2977 * tests/check/gst/gstbuffer.c: (gst_test_suite):
2978 Back out patch until after the release.
2980 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
2982 * gst/gstminiobject.c:
2983 Spelling fix in docs.
2984 * ChangeLog - remove conflict indicator
2986 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
2988 Reviewed By: Andy Wingo
2990 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
2991 (gst_buffer_make_metadata_writable):
2993 Add gst_buffer_(is|make)_metadata_writable as analogues of
2994 gst_buffer_(is|make)_writable.
2996 * libs/gst/base/gstbasetransform.c:
2997 (gst_base_transform_prepare_output_buf):
2998 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2999 Use name gst_buffer_(is|make)_metadata_writable functions.
3001 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3002 Test gst_buffer_(is|make)_metadata_writable
3006 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
3008 * docs/manual/Makefile.am:
3009 don't do parallel make
3012 * win32/common/config.h.in:
3013 add generations for HOST_CPU and GST_MAJORMINOR
3014 * win32/common/config.h:
3015 commit generated result
3017 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
3019 * docs/manual/appendix-integration.xml:
3020 Update GNOME integration section to use gst_init_get_option_group()
3021 instead of the old popt stuff (#322911). Also, GNOME applications
3022 should now use gconf*sink and gconf*src instead of the old gconf
3025 2006-01-13 Stefan Kost <ensonic@users.sf.net>
3028 * docs/gst/gstreamer-docs.sgml:
3029 * docs/gst/gstreamer-sections.txt:
3030 * docs/libs/gstreamer-libs-sections.txt:
3031 add new API entries to the docs
3032 * libs/gst/controller/Makefile.am:
3033 * libs/gst/controller/gstcontroller.c:
3034 * libs/gst/controller/gstcontroller.h:
3035 * libs/gst/controller/gstcontrollerprivate.h:
3036 * libs/gst/controller/gsthelper.c:
3037 * libs/gst/controller/gstinterpolation.c:
3038 move private structs to private header
3040 gstreamer-0.7 -> gstreamer-0.10
3041 * tests/check/libs/struct_i386.h:
3042 remove private structs
3044 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3046 * plugins/indexers/Makefile.am:
3047 Fixes as part of #317048
3049 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3051 * plugins/indexers/Makefile.am:
3052 fix #316086 - compilation when mmap is missing
3054 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
3056 * libs/gst/base/gstbasesink.c:
3057 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
3058 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
3059 * win32/common/config.h:
3060 added some defines GST_MAJORMINOR and HOST_CPU
3061 * win32/common/libgstbase.def:
3062 * win32/common/libgstreamer.def:
3063 added some exported functions.
3065 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3067 * libs/gst/controller/gstcontroller.c:
3068 (gst_controlled_property_set_interpolation_mode),
3069 (gst_controlled_property_new):
3070 * libs/gst/controller/gstcontroller.h:
3071 * libs/gst/controller/gstinterpolation.c:
3072 (interpolate_none_get_string_value_array):
3073 make G_TYPE_STRING controlable
3075 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3078 * tools/gst-feedback.1.in:
3079 * tools/gst-inspect.1.in:
3080 * tools/gst-launch.1.in:
3081 * tools/gst-md5sum.1.in:
3082 * tools/gst-typefind.1.in:
3083 * tools/gst-xmlinspect.1.in:
3084 * tools/gst-xmllaunch.1.in:
3085 cleanup man-pages, remove reference to gst-register, document env-vars
3087 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
3089 * gst/gstbuffer.c: (gst_buffer_span):
3090 gst_buffer_span should copy the timestamp of the first buffer
3091 if they were both originally overlapping subbuffers of the
3092 same parent, using the same logic as the 'slow copy' case.
3094 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
3096 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
3097 Need to awaken ALL the pads when we pop a buffer, otherwise
3098 collectpads only works when there is 2 input streams.
3100 2006-01-11 Stefan Kost <ensonic@users.sf.net>
3102 * docs/random/ensonic/media-device-daemon.txt:
3105 fix doc example, add clarification
3106 * tools/gst-launch.1.in:
3107 add initial info about GST_PLUGIN_PATH, needs more work
3109 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
3111 * docs/manual/basics-bins.xml:
3112 * docs/manual/basics-elements.xml:
3113 * docs/manual/intro-basics.xml:
3114 Some more minor docs additions and updates.
3116 2006-01-11 Wim Taymans <wim@fluendo.com>
3118 * docs/manual/basics-bins.xml:
3119 * docs/manual/basics-elements.xml:
3120 Some small fixes as pointed out by Ser-ver on IRC.
3122 2006-01-10 Edward Hervey <edward@fluendo.com>
3124 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3125 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
3126 the single-segment mode.
3128 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
3130 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3132 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
3133 (gst_base_src_perform_seek), (gst_base_src_send_event),
3134 (gst_base_src_set_property), (gst_base_src_get_property),
3135 (gst_base_src_loop), (gst_base_src_start),
3136 (gst_base_src_activate_push):
3137 * libs/gst/base/gstbasesrc.h:
3138 Name (private) union; makes Sun's Forte compiler happy (#324900).
3140 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
3143 gst-register is gone.
3145 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
3147 * gst/gstvalue.c: (_gst_value_initialize):
3148 make the G_TYPE_DATE instantiation work if debug is disabled
3150 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
3152 * gst/gstmessage.c: (gst_message_parse_tag),
3153 (gst_message_parse_error), (gst_message_parse_warning):
3154 Don't crash when return location for error/warning debug
3155 string is NULL; add fact that return locations can be
3156 NULL to docs where appropriate.
3158 2006-01-05 Wim Taymans <wim@fluendo.com>
3160 * gst/gstplugin.c: (gst_plugin_load_file):
3161 Replace strdup by g_strdup.
3163 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3165 * docs/pwg/advanced-types.xml:
3168 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3170 submitted by: Abel Cheung
3174 Added Chinese (traditional) translation
3176 2006-01-04 Wim Taymans <wim@fluendo.com>
3178 * docs/manual/basics-pads.xml:
3179 * docs/plugins/Makefile.am:
3180 * docs/plugins/gstreamer-plugins-docs.sgml:
3181 * docs/plugins/gstreamer-plugins-sections.txt:
3182 * docs/pwg/advanced-clock.xml:
3183 * docs/pwg/advanced-scheduling.xml:
3184 * docs/pwg/advanced-types.xml:
3185 * plugins/elements/gstfdsink.c:
3186 * plugins/elements/gstfdsrc.c:
3187 * plugins/elements/gstfdsrc.h:
3188 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3189 * plugins/elements/gstidentity.h:
3190 * plugins/elements/gstqueue.h:
3191 * plugins/elements/gsttee.c:
3192 * plugins/elements/gsttee.h:
3193 * plugins/elements/gsttypefindelement.c:
3194 (gst_type_find_element_class_init):
3195 * plugins/elements/gsttypefindelement.h:
3196 Small updates to various docs.
3197 Added core plugins to docs.
3199 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3202 add a suppression for liboil's uninitialized variable
3204 2006-01-02 James Livingston <jrl at ids dot org dot au>
3206 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3209 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
3210 macro, so that gcc doesn't complain if the -Wmissing-prototypes
3211 compiler switch is being used (#325429).
3213 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
3215 * gst/gstbin.c: (gst_bin_query):
3216 Disable duration query caching in bins until it gets
3217 fixed (see #324807).
3219 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3221 * tools/gst-inspect.c: (print_element_properties_info):
3222 Handle properties of POINTER and BOXED type.
3224 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3226 * gst/gst.c: (init_post):
3227 Init tags stuff and some other things before loading
3228 any static plugins (there may be other static plugins
3229 than just the GStreamer ones, and they may want to
3230 register their own tags or formats or whatever, and
3231 preferably without segfaulting).
3233 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3234 Print at least a warning in the debug logs if we drop a
3235 query just because we don't know how to adjust the value
3236 in the particular format.
3238 2005-12-24 David Schleef <ds@schleef.org>
3240 * tools/gstreamer-completion:
3241 Replacement for gst-complete written in sh and sed. Only
3242 completes names of features, but that's 90% of what I want
3243 it for. Properties are not available in registry.xml. (Maybe
3246 === release 0.10.1 ===
3248 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
3251 releasing 0.10.1, "Nollaig chridheil"
3253 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
3256 Add missing quote, should be make ERROR_CFLAGS="".
3258 2005-12-20 Wim Taymans <wim@fluendo.com>
3260 * docs/design/part-trickmodes.txt:
3261 More documentation on trickmodes.
3263 2005-12-20 Edward Hervey <edward@fluendo.com>
3265 * gst/gstcaps.c: (gst_static_caps_get_type):
3267 API addition: GST_TYPE_STATIC_CAPS
3268 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
3269 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
3270 * gst/gstpadtemplate.h:
3271 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
3272 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
3275 2005-12-18 Wim Taymans <wim@fluendo.com>
3277 * libs/gst/base/gstadapter.c:
3278 * libs/gst/base/gstadapter.h:
3279 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3280 (gst_base_sink_get_position):
3281 * libs/gst/base/gstbasesink.h:
3282 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3283 (gst_base_src_default_query), (gst_base_src_default_do_seek),
3284 (gst_base_src_do_seek), (gst_base_src_perform_seek),
3285 (gst_base_src_send_event), (gst_base_src_update_length),
3286 (gst_base_src_get_range), (gst_base_src_loop),
3287 (gst_base_src_start):
3288 * libs/gst/base/gstbasesrc.h:
3289 * libs/gst/base/gstbasetransform.h:
3290 * libs/gst/base/gstcollectpads.h:
3291 * libs/gst/base/gstpushsrc.c:
3292 * libs/gst/base/gstpushsrc.h:
3293 * libs/gst/dataprotocol/dataprotocol.c:
3294 * libs/gst/dataprotocol/dataprotocol.h:
3295 * libs/gst/net/gstnetclientclock.h:
3296 * libs/gst/net/gstnettimeprovider.h:
3297 Documentation updates.
3299 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
3301 * docs/manual/basics-helloworld.xml:
3302 Remove superfluous closing bracket in helloworld example.
3304 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
3306 * tools/gst-launch.1.in:
3307 Update gst-launch man page; add a section with useful
3308 environment variables. Fixes #323882.
3310 2005-12-16 Stefan Kost <ensonic@users.sf.net>
3313 * gst/gst_private.h:
3314 change some char* into char[]
3316 2005-12-16 Wim Taymans <wim@fluendo.com>
3318 * gst/gstregistryxml.c: (load_feature):
3320 Don't use g_object_unref on GstObjects so that we avoid
3321 leaks on unsafe glibs.
3323 2005-12-16 Wim Taymans <wim@fluendo.com>
3325 * gst/gstbin.c: (gst_bin_recalc_state):
3328 2005-12-16 Wim Taymans <wim@fluendo.com>
3331 Added make forever target for check.
3333 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
3335 * gst/gst.c: (init_post):
3336 make the registry cache file HOST_CPU-dependent
3338 2005-12-16 Andy Wingo <wingo@pobox.com>
3340 * plugins/elements/gstbufferstore.c
3341 (gst_buffer_store_cleared_func): Pay attention to g_list_append
3344 * tests/check/gst/gstobject.c
3345 (test_fake_object_name_threaded_unique): Pay attention to
3346 g_list_sort return value.
3348 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
3350 * tools/gst-feedback-m.m:
3351 Update for 0.9/0.10 (fixes #323870).
3353 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
3355 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
3356 Fix lcopy for mini objects, the mini object needs to be ref'ed.
3358 * tests/check/gst/gstminiobject.c: (my_foo_init),
3359 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
3360 (test_value_collection), (gst_mini_object_suite):
3361 Add test to ensure refcounts end up as expected when passing
3362 GstMiniObjects through g_object_get() and g_object_set().
3364 2005-12-14 Julien MOUTTE <julien@moutte.net>
3366 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3367 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
3368 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
3369 of collectpads. This version removes a lot of races without
3370 touching API/ABI. Yay !
3372 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
3374 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
3375 Don't allow activation of a srcpad in pull_range if it has no
3377 Change some debug statements to be a little clearer
3379 * plugins/elements/gsttypefindelement.c:
3380 (gst_type_find_handle_src_query):
3381 Check that we have a peer before executing queries thereupon.
3383 * tests/examples/metadata/read-metadata.c: (message_loop):
3384 Use gst_bus_pop instead of gst_bus_poll when we just want it to
3385 immediately return us any available message with 0 timeout.
3387 2005-12-12 Michael Smith <msmith@fluendo.com>
3389 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3390 Don't unref factories after calling them.
3391 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
3392 * plugins/elements/gsttypefindelement.c:
3393 (gst_type_find_element_chain):
3394 Free lists of factories after using them. Fixing typefinding memory
3397 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3399 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3400 (gst_plugin_feature_load):
3401 more meaningful debug output
3403 * tests/Makefile.am:
3404 * tests/old/examples/Makefile.am:
3405 make make distcheck happy again
3407 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
3409 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3410 Catch the special case where we are operating chain-based,
3411 but the downstream peer pad has no chain function. Emit a
3412 custom error message in this case instead of letting the
3413 core generate one implying that this is some sort of core
3414 bug. It's not, it just means that whatever got plugged
3415 into the pipeline downstream when we announced the type
3416 can only operate pull-based, while our source can only
3417 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
3418 Error string has not been marked for translation yet, as
3419 it probably needs some more work first.
3421 (gst_type_find_element_get_best_possibility):
3422 Add helper function to find the best of all available
3423 found possibilities that qualify given the min. threshold.
3425 (gst_type_find_element_handle_event):
3426 Fix the case where we get an EOS while still in TYPEFIND
3427 mode (we want to chose the best of all possible types,
3428 not just the first type that happens to be in our unsorted
3429 list of possible types).
3431 (gst_type_find_element_chain):
3432 Make sure we return GST_FLOW_ERROR when we errored out
3433 in stop_typefinding(); also, don't just find the best of
3434 all found type entries and then use the last examined
3435 type entry, but actually use the best entry.
3437 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
3439 * tests/examples/typefind/typefind.c: (type_found):
3440 * tests/examples/xml/runxml.c: (xml_loaded):
3441 More gcc4 fixes and a mem leak fix.
3443 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3445 * tests/examples/xml/createxml.c: (object_saved):
3448 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3450 * tests/Makefile.am:
3451 enable the examples even more
3453 2005-12-12 Andy Wingo <wingo@pobox.com>
3455 * libs/gst/net/gstnettimeprovider.c
3456 (gst_net_time_provider_class_init, gst_net_time_provider_init)
3457 (gst_net_time_provider_set_property)
3458 (gst_net_time_provider_get_property):
3459 API addition: Export "active" as a GObject property.
3460 (gst_net_time_provider_thread): Only respond to time queries if
3461 the time provider is active.
3463 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
3464 NetTimeProvider, preserving binary compat.
3466 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3468 * tests/examples/controller/audio-example.c: (main):
3469 * tests/examples/launch/Makefile.am:
3470 convert comments again
3472 2005-12-12 Wim Taymans <wim@fluendo.com>
3474 * libs/gst/base/gstpushsrc.c:
3477 2005-12-12 Wim Taymans <wim@fluendo.com>
3479 * docs/libs/gstreamer-libs-sections.txt:
3480 Added new symbol to docs.
3482 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3483 (gst_base_src_init), (gst_base_src_set_format),
3484 (gst_base_src_default_query), (gst_base_src_query),
3485 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
3486 (gst_base_src_perform_seek), (gst_base_src_send_event),
3487 (gst_base_src_default_event), (gst_base_src_event_handler),
3488 (gst_base_src_set_property), (gst_base_src_get_property),
3489 (gst_base_src_wait), (gst_base_src_do_sync),
3490 (gst_base_src_update_length), (gst_base_src_get_range),
3491 (gst_base_src_check_get_range), (gst_base_src_loop),
3492 (gst_base_src_default_negotiate), (gst_base_src_start),
3493 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3494 (gst_base_src_change_state):
3495 * libs/gst/base/gstbasesrc.h:
3496 Implement seeking to other formats than _BYTES.
3497 Implement more seeking methods correctly.
3499 Added query vmethod.
3500 Added do_seek vmethod to make life easier for subclasses
3502 API addition: gst_base_src_set_format()
3504 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3506 * tests/examples/Makefile.am:
3509 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3512 * docs/random/ensonic/media-device-daemon.txt:
3513 * tests/examples/controller/.cvsignore:
3514 * tests/examples/controller/Makefile.am:
3515 * tests/examples/controller/audio-example.c: (main):
3516 * tests/examples/helloworld/.cvsignore:
3517 * tests/examples/helloworld/Makefile.am:
3518 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
3519 * tests/examples/launch/.cvsignore:
3520 * tests/examples/launch/Makefile.am:
3521 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
3522 * tests/examples/metadata/.cvsignore:
3523 * tests/examples/metadata/Makefile.am:
3524 * tests/examples/metadata/read-metadata.c: (message_loop),
3525 (make_pipeline), (print_tag), (main):
3526 * tests/examples/queue/.cvsignore:
3527 * tests/examples/queue/Makefile.am:
3528 * tests/examples/queue/queue.c: (event_loop), (main):
3529 * tests/examples/typefind/.cvsignore:
3530 * tests/examples/typefind/Makefile.am:
3531 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
3533 * tests/examples/xml/.cvsignore:
3534 * tests/examples/xml/Makefile.am:
3535 * tests/examples/xml/createxml.c: (object_saved), (main):
3536 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
3537 * tests/old/examples/Makefile.am:
3538 * tests/old/examples/TODO:
3539 * tests/old/examples/controller/.cvsignore:
3540 * tests/old/examples/controller/Makefile.am:
3541 * tests/old/examples/controller/audio-example.c:
3542 * tests/old/examples/helloworld/.cvsignore:
3543 * tests/old/examples/helloworld/Makefile.am:
3544 * tests/old/examples/helloworld/helloworld.c:
3545 * tests/old/examples/launch/.cvsignore:
3546 * tests/old/examples/launch/Makefile.am:
3547 * tests/old/examples/launch/mp3parselaunch.c:
3548 * tests/old/examples/launch/mp3play:
3549 * tests/old/examples/manual/Makefile.am:
3550 * tests/old/examples/metadata/Makefile.am:
3551 * tests/old/examples/metadata/read-metadata.c:
3552 * tests/old/examples/queue/.cvsignore:
3553 * tests/old/examples/queue/Makefile.am:
3554 * tests/old/examples/queue/queue.c:
3555 * tests/old/examples/typefind/.cvsignore:
3556 * tests/old/examples/typefind/Makefile.am:
3557 * tests/old/examples/typefind/typefind.c:
3558 * tests/old/examples/xml/.cvsignore:
3559 * tests/old/examples/xml/Makefile.am:
3560 * tests/old/examples/xml/createxml.c:
3561 * tests/old/examples/xml/runxml.c:
3562 applied some simple fixing to some examples
3563 re-enabled the working examples
3565 2005-12-12 Wim Taymans <wim@fluendo.com>
3567 * gst/gstsegment.c: (gst_segment_init),
3568 (gst_segment_set_last_stop), (gst_segment_set_seek),
3569 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
3570 (gst_segment_to_running_time):
3571 Added more documentation.
3572 Make sure the last_pos value is updated properly.
3573 Make sure to_stream_time and to_running_time don't
3574 operate on wrong values.
3576 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3579 2005-12-12 Michael Smith <msmith@fluendo.com>
3581 * plugins/elements/gsttypefindelement.c: (free_entry),
3582 (gst_type_find_element_chain):
3583 Now that we're not leaking factories, make sure we keep references
3584 to them while we need them.
3586 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
3588 * tests/check/gst/struct_i386.h:
3589 ifdef out the XML structs
3591 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
3593 * gst/gstvalue.c: (gst_value_transform_double_fraction):
3594 floor is not needed, F is always positive; this obviates the
3595 need for adding -lm when building without libxml
3597 2005-12-12 Wim Taymans <wim@fluendo.com>
3599 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3600 Take current playback rate into account when reporting
3603 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3605 * docs/manual/mime-world.fig:
3606 Let's try this again, this time with a file that is
3607 actually in XFig format.
3609 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3611 * docs/manual/mime-world.fig:
3612 Add audioconvert element to diagram so that it
3613 matches the text and the code (fixes #319526).
3615 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3617 * docs/pwg/building-chainfn.xml:
3618 * docs/pwg/building-pads.xml:
3619 * docs/pwg/building-state.xml:
3620 * docs/pwg/other-source.xml:
3621 Update state change stuff for 0.10 (fixes #322969).
3623 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3625 * docs/manual/advanced-dataaccess.xml:
3626 * docs/manual/appendix-checklist.xml:
3627 * docs/manual/appendix-programs.xml:
3628 * docs/manual/basics-pads.xml:
3629 * docs/manual/highlevel-components.xml:
3630 * docs/manual/manual.xml:
3631 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
3632 add converters in front of pipelines; remove curly
3633 brackets for threads stuff, they no longer exist; use
3634 GST_TYPE_FRACTION for framerates; update some pieces of
3635 code to 0.10, but there's plenty more to do.
3637 * docs/manual/appendix-porting.xml:
3638 Expand on asynchroneous state changes; s/0.9/0.10/;
3639 mention disappearance of gst_init_get_popt_table()
3642 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3644 * docs/faq/using.xml:
3645 Spider no longer exists, and neither does gst-launch-ext.
3646 Update examples to use decodebin and playbin and put
3647 converters in front of sinks (fixes #323726).
3649 2005-12-09 Michael Smith <msmith@fluendo.com>
3651 * plugins/elements/gsttypefindelement.c: (find_peek),
3652 (gst_type_find_element_chain):
3653 Fix leaking element factories in typefinding.
3654 Fix problem where we forgot about a probable type on non-seekable
3655 files, and thus later mis-typefound it.
3657 2005-12-09 Michael Smith <msmith@fluendo.com>
3659 * common/m4/gst-makecontext.m4:
3660 * common/m4/gst-mcsc.m4:
3662 * win32/common/config.h:
3663 * win32/common/config.h.in:
3664 Remove makecontext stuff; not used in 0.10 and causes problems on
3665 HPUX according to bug #322441
3667 2005-12-07 Wim Taymans <wim@fluendo.com>
3669 * tests/check/Makefile.am:
3670 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
3672 * tests/check/libs/struct_i386.h:
3673 Added ABI check for libs
3675 2005-12-07 Wim Taymans <wim@fluendo.com>
3677 * tests/check/Makefile.am:
3678 And add the struct_i386.h to dist.
3680 2005-12-07 Wim Taymans <wim@fluendo.com>
3682 * tests/check/Makefile.am:
3683 * tests/check/gst/.cvsignore:
3684 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
3686 * tests/check/gst/struct_i386.h:
3687 Added check for ABI compatibility.
3689 2005-12-07 Wim Taymans <wim@fluendo.com>
3691 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3692 (gst_fake_src_get_times), (gst_fake_src_create):
3693 Fix broken sync option, fixes #323259
3695 2005-12-07 Wim Taymans <wim@fluendo.com>
3700 * gst/gstcaps.c: (gst_caps_is_equal):
3701 Don't assert on NULL <--> X. Fixes #323260
3703 * gst/gstminiobject.c: (gst_mini_object_replace):
3704 If we're doing atomic operations, we might just as well use
3705 the proper way to get an atomic pointer.
3707 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3710 2005-12-07 Michael Smith <msmith@fluendo.com>
3712 * gst/parse/grammar.y:
3713 Remove handling of { } for threads.
3715 2005-12-06 David Schleef <ds@schleef.org>
3717 * libs/gst/base/gstbasetransform.c: speling fix.
3719 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
3721 * docs/libs/tmpl/gstdataprotocol.sgml:
3722 * docs/random/omega/testing/gstobject.c:
3726 * gst/gstelementfactory.c:
3729 * gst/gstghostpad.c:
3731 * gst/gstpadtemplate.c:
3732 * gst/gstregistryxml.c:
3734 * gst/gsttagsetter.c:
3735 * gst/gsttypefind.c:
3737 * libs/gst/base/gstbasesrc.c:
3738 * libs/gst/net/gstnetclientclock.c:
3739 * libs/gst/net/gstnettimeprovider.c:
3740 * plugins/elements/gstfakesrc.c:
3741 * plugins/elements/gstfdsrc.c:
3742 * plugins/elements/gstfilesrc.c:
3743 * plugins/elements/gstidentity.c:
3744 * plugins/elements/gstqueue.c:
3745 * plugins/elements/gsttypefindelement.c:
3746 * plugins/indexers/gstfileindex.c:
3747 * plugins/indexers/gstmemindex.c:
3748 * tests/check/gst/gsttag.c:
3749 * tests/old/examples/cutter/cutter.c:
3750 * tests/old/examples/mixer/mixer.c:
3751 * tests/old/examples/xml/runxml.c: (main):
3752 * tests/old/testsuite/caps/normalisation.c:
3753 * tests/old/testsuite/debug/global.c:
3754 * tests/old/testsuite/parse/parse1.c:
3755 * tools/gst-xmlinspect.c:
3756 * win32/common/dirent.c:
3759 === release 0.10.0 ===
3761 2005-12-05 <thomas (at) apestaart (dot) org>
3764 releasing 0.10.0, "Maroilles"
3766 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
3768 submitted by: Funda Wang <fundawang@linux.net.cn>
3772 added Chinese (Traditional) translation
3774 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
3776 * docs/gst/gstreamer-sections.txt:
3777 * docs/libs/tmpl/gstdataprotocol.sgml:
3778 * docs/random/thomasvs/TODO:
3783 2005-12-05 Andy Wingo <wingo@pobox.com>
3785 patch by: Wim Taymans <wim@fluendo.com>
3787 * libs/gst/base/gstbasetransform.c
3788 (gst_base_transform_prepare_output_buf)
3789 (gst_base_transform_buffer_alloc):
3790 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
3791 alloc_buffer_and_set_caps.
3793 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
3794 set_caps on the source pad.
3795 (gst_pad_alloc_buffer_and_set_caps): New function, does what
3796 alloc_buffer used to do. Fixes #322874.
3798 * docs/gst/gstreamer-sections.txt:
3799 * docs/design/part-negotiation.txt:
3800 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
3803 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
3805 patch by: Sebastien Moutte
3808 * win32/common/config.h.in:
3809 * win32/vs6/libgstcontroller.dsp:
3812 2005-12-05 Wim Taymans <wim@fluendo.com>
3814 * gst/gstcaps.c: (gst_caps_is_equal):
3815 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3816 (gst_fake_src_create):
3817 Back out previous code changes, leave doc updates, file bugs
3820 2005-12-05 Wim Taymans <wim@fluendo.com>
3822 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3823 (gst_fake_src_get_times), (gst_fake_src_create):
3824 * plugins/elements/gstfakesrc.h:
3825 Fix broken sync code.
3827 2005-12-05 Wim Taymans <wim@fluendo.com>
3829 * gst/gstcaps.c: (gst_caps_is_equal):
3830 Comparing NULL against !NULL yields different caps, not a
3833 2005-12-05 Wim Taymans <wim@fluendo.com>
3835 * gst/gstpipeline.c:
3836 Fix small typo in docs.
3838 2005-12-05 Andy Wingo <wingo@pobox.com>
3840 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
3842 * gst/gst.c (init_post): remove hard-coded 0.9 location for
3843 registries/plugins with a MAJORMINOR one.
3844 (plugin_desc): Rename library from gstcoreleements to
3845 staticelements. Fixes #323222.
3847 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
3849 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
3850 Change debug category to 'collectpads' from 'collect_pads'
3853 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
3855 patch by: Sebastien Moutte
3857 * libs/gst/controller/gstinterpolation.c:
3858 use convert function for uint64/double
3859 * win32/vs6/libgstcontroller.dsp:
3862 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
3864 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
3865 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
3867 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3868 add tests that seem to show that the guint64/gdouble conversions
3871 2005-12-02 Wim Taymans <wim@fluendo.com>
3873 * gst/gstregistry.c: (gst_registry_add_path):
3874 * gst/gstregistry.h:
3875 * gst/gstregistryxml.c:
3878 2005-12-02 Wim Taymans <wim@fluendo.com>
3880 * gst/gstutils.c: (gst_util_uint64_scale_int64),
3881 (gst_util_uint64_scale_int):
3884 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3887 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
3890 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
3893 * win32/common/config.h:
3894 * win32/vs6/gstreamer.dsw:
3895 * win32/vs6/libgstcoreelements.dsp:
3896 * win32/vs6/libgstelements.dsp:
3897 renamed core elements plugin
3899 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
3901 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
3903 do piece-wise major/minor comparison so 0.9 < 0.10
3904 also allow .exe extensions for tools
3906 2005-12-02 Michael Smith <msmith@fluendo.com>
3909 Escape a % to make gtkdoc happier; bug 322958.
3911 === release 0.9.7 ===
3913 2005-12-01 <thomas (at) apestaart (dot) org>
3916 releasing 0.9.7, "My Dog Has No Nose"
3918 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3920 * common/gst-xmlinspect.py:
3922 * docs/libs/tmpl/gstdataprotocol.sgml:
3923 * docs/random/release:
3942 * win32/common/config.h:
3943 * win32/common/config.h.in:
3944 * win32/vs6/gst_inspect.dsp:
3945 * win32/vs6/gst_launch.dsp:
3946 * win32/vs6/libgstbase.dsp:
3947 * win32/vs6/libgstelements.dsp:
3948 * win32/vs6/libgstreamer.dsp:
3949 * win32/vs7/GStreamer.vcproj:
3950 * win32/vs7/gst-inspect.vcproj:
3951 * win32/vs7/gst-launch.vcproj:
3952 * win32/vs7/libgstbase.vcproj:
3953 bump GST_MAJORMINOR to 0.10
3954 reset libtool version
3956 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3960 Added Bulgarian translation by (Alexander Shopov)
3962 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3964 * tests/check/gst/gstplugin.c:
3967 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3969 * common/gst-xmlinspect.py:
3970 * common/gtk-doc-plugins.mak:
3973 * docs/gst/Makefile.am:
3974 * docs/gst/gstreamer-docs.sgml:
3975 * docs/gst/gstreamer-sections.txt:
3976 * docs/gst/gstreamer.types:
3977 * docs/gst/gstreamer.types.in:
3978 * docs/plugins/Makefile.am:
3979 * docs/plugins/gstreamer-plugins-docs.sgml:
3980 * docs/plugins/gstreamer-plugins-sections.txt:
3981 * docs/plugins/gstreamer-plugins.types:
3982 * docs/plugins/inspect.stamp:
3983 * docs/plugins/inspect/plugin-coreelements.xml:
3984 * docs/plugins/inspect/plugin-coreindexers.xml:
3985 * docs/plugins/scanobj-build.stamp:
3986 * gstreamer.spec.in:
3987 * plugins/elements/Makefile.am:
3988 * plugins/elements/gstelements.c:
3989 * plugins/elements/gstfakesink.c:
3990 * plugins/elements/gstfakesrc.c:
3991 * plugins/elements/gstfilesink.c:
3992 * plugins/elements/gstfilesrc.c:
3993 * plugins/elements/gstqueue.c:
3994 * plugins/indexers/Makefile.am:
3995 * plugins/indexers/gstindexers.c:
3996 document core plugins in a separate document just like all the
3998 rename these plugins to something starting with core
4000 2005-12-01 Andy Wingo <wingo@pobox.com>
4002 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
4003 padding here before, but it missed the commit.
4005 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4007 * libs/gst/controller/gstinterpolation.c:
4008 whitespace prices have crashed, we should feel free to use some now
4009 use gst_guint64_to_gdouble
4011 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4013 * libs/gst/controller/gstcontroller.c:
4014 * libs/gst/controller/gsthelper.c:
4015 * libs/gst/controller/gstinterpolation.c:
4016 * libs/gst/controller/lib.c:
4017 wrap config.h include
4019 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4021 * docs/gst/gstreamer-sections.txt:
4024 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4026 * plugins/elements/gstelements.c:
4027 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
4028 (gst_fd_sink__class_init), (gst_fd_sink__init),
4029 (gst_fd_sink__chain), (gst_fd_sink__set_property),
4030 (gst_fd_sink__get_property):
4031 * plugins/elements/gstfdsink.h:
4032 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
4033 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
4034 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
4035 (gst_fd_src_unlock), (gst_fd_src_set_property),
4036 (gst_fd_src_get_property), (gst_fd_src_create),
4037 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
4038 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
4039 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
4040 (gst_fd_src_uri_handler_init):
4041 * plugins/elements/gstfdsrc.h:
4042 * plugins/elements/gstqueue.c: (gst_queue_get_type):
4045 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4047 * docs/gst/Makefile.am:
4048 * docs/gst/gstreamer.types.in:
4052 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4058 * gst/gstregistry.h:
4059 * tests/benchmarks/complexity.c:
4060 * tests/benchmarks/mass-elements.c:
4061 * tests/check/Makefile.am:
4062 * tools/Makefile.am:
4063 * tools/gst-inspect.c:
4064 * tools/gst-xmlinspect.c:
4065 various fixes to make
4066 --disable-nls --disable-registry --disable-loadsave
4067 --disable-parse --disable-gst-debug
4068 work and get the core .so down to 360444 bytes after stripping
4070 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4075 * docs/random/thomasvs/TODO:
4076 * tests/Makefile.am:
4080 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4082 * win32/GStreamer.vcproj:
4085 * win32/Makefile.inspect:
4086 * win32/Makefile.launch:
4087 * win32/Makefile.register:
4089 * win32/gst-inspect.vcproj:
4090 * win32/gst-launch.vcproj:
4091 * win32/gst-register.vcproj:
4092 * win32/gstelements.vcproj:
4093 * win32/gstgetbits.def:
4094 * win32/gstgetbits.vcproj:
4095 * win32/gstreamer-dbg.def:
4096 * win32/gstreamer.def:
4097 * win32/libgstbase.def:
4098 * win32/libgstbase.vcproj:
4099 * win32/link_oldruntime.c:
4104 move even more stuff, win32/ is nice and clean now
4106 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4108 * libs/gst/control/.cvsignore:
4113 * win32/gstbytestream.def:
4114 * win32/gstbytestream.vcproj:
4115 * win32/gstconfig.h:
4116 * win32/gstenumtypes.c:
4117 * win32/gstenumtypes.h:
4118 * win32/gstoptimalscheduler.vcproj:
4119 * win32/gstversion.h:
4121 * win32/testsuite/bins.vcproj:
4122 * win32/testsuite/bytestream.vcproj:
4123 * win32/testsuite/caps.vcproj:
4124 * win32/testsuite/cleanup.vcproj:
4125 * win32/testsuite/clock.vcproj:
4126 * win32/testsuite/debug.vcproj:
4127 * win32/testsuite/dlopen.vcproj:
4128 * win32/testsuite/dynparams.vcproj:
4129 * win32/testsuite/elements.vcproj:
4130 * win32/testsuite/ghostpads.vcproj:
4131 * win32/testsuite/indexers.vcproj:
4132 * win32/testsuite/negotiation.vcproj:
4133 * win32/testsuite/parse.vcproj:
4134 * win32/testsuite/plugin.vcproj:
4135 * win32/testsuite/refcounting.vcproj:
4136 * win32/testsuite/schedulers.vcproj:
4137 * win32/testsuite/states.vcproj:
4138 * win32/testsuite/tags.vcproj:
4139 * win32/testsuite/threads.vcproj:
4140 remove old win32 stuff that isn't maintained and should be
4143 2005-11-30 Andy Wingo <wingo@pobox.com>
4145 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
4146 loading the gst.interfaces python module bork.
4148 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
4149 available since GLib 2.2. Fixes #318031.
4151 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4155 * check/Makefile.am:
4156 * check/elements/.cvsignore:
4157 * check/elements/fakesrc.c:
4158 * check/elements/fdsrc.c:
4159 * check/elements/identity.c:
4160 * check/generic/.cvsignore:
4161 * check/generic/states.c:
4162 * check/gst-libs/.cvsignore:
4163 * check/gst-libs/controller.c:
4164 * check/gst-libs/gdp.c:
4165 * check/gst/.cvsignore:
4166 * check/gst/capslist.h:
4168 * check/gst/gstbin.c:
4169 * check/gst/gstbuffer.c:
4170 * check/gst/gstbus.c:
4171 * check/gst/gstcaps.c:
4172 * check/gst/gstelement.c:
4173 * check/gst/gstevent.c:
4174 * check/gst/gstghostpad.c:
4175 * check/gst/gstiterator.c:
4176 * check/gst/gstmessage.c:
4177 * check/gst/gstminiobject.c:
4178 * check/gst/gstobject.c:
4179 * check/gst/gstpad.c:
4180 * check/gst/gstpipeline.c:
4181 * check/gst/gstplugin.c:
4182 * check/gst/gstsegment.c:
4183 * check/gst/gststructure.c:
4184 * check/gst/gstsystemclock.c:
4185 * check/gst/gsttag.c:
4186 * check/gst/gstutils.c:
4187 * check/gst/gstvalue.c:
4188 * check/net/.cvsignore:
4189 * check/net/gstnetclientclock.c:
4190 * check/net/gstnettimeprovider.c:
4191 * check/pipelines/.cvsignore:
4192 * check/pipelines/cleanup.c:
4193 * check/pipelines/simple_launch_lines.c:
4194 * check/pipelines/stress.c:
4195 * check/states/.cvsignore:
4196 * check/states/sinks.c:
4198 * examples/Makefile.am:
4199 * examples/appreader/.cvsignore:
4200 * examples/appreader/Makefile.am:
4201 * examples/appreader/appreader.c:
4202 * examples/controller/.cvsignore:
4203 * examples/controller/Makefile.am:
4204 * examples/controller/audio-example.c:
4205 * examples/cutter/.cvsignore:
4206 * examples/cutter/Makefile.am:
4207 * examples/cutter/cutter.c:
4208 * examples/cutter/cutter.h:
4209 * examples/events/Makefile.am:
4210 * examples/events/seek.c:
4211 * examples/helloworld/.cvsignore:
4212 * examples/helloworld/Makefile.am:
4213 * examples/helloworld/helloworld.c:
4214 * examples/helloworld2/.cvsignore:
4215 * examples/helloworld2/Makefile.am:
4216 * examples/helloworld2/helloworld2.c:
4217 * examples/launch/.cvsignore:
4218 * examples/launch/Makefile.am:
4219 * examples/launch/mp3parselaunch.c:
4220 * examples/launch/mp3play:
4221 * examples/manual/.cvsignore:
4222 * examples/manual/Makefile.am:
4223 * examples/manual/extract.pl:
4224 * examples/metadata/Makefile.am:
4225 * examples/metadata/read-metadata.c:
4226 * examples/mixer/.cvsignore:
4227 * examples/mixer/Makefile.am:
4228 * examples/mixer/mixer.c:
4229 * examples/mixer/mixer.h:
4230 * examples/pingpong/.cvsignore:
4231 * examples/pingpong/Makefile.am:
4232 * examples/pingpong/pingpong.c:
4233 * examples/plugins/.cvsignore:
4234 * examples/plugins/Makefile.am:
4235 * examples/plugins/example.c:
4236 * examples/plugins/example.h:
4237 * examples/pwg/.cvsignore:
4238 * examples/pwg/Makefile.am:
4239 * examples/pwg/extract.pl:
4240 * examples/queue/.cvsignore:
4241 * examples/queue/Makefile.am:
4242 * examples/queue/queue.c:
4243 * examples/queue2/.cvsignore:
4244 * examples/queue2/Makefile.am:
4245 * examples/queue2/queue2.c:
4246 * examples/queue3/.cvsignore:
4247 * examples/queue3/Makefile.am:
4248 * examples/queue3/queue3.c:
4249 * examples/queue4/.cvsignore:
4250 * examples/queue4/Makefile.am:
4251 * examples/queue4/queue4.c:
4252 * examples/retag/.cvsignore:
4253 * examples/retag/Makefile.am:
4254 * examples/retag/retag.c:
4255 * examples/retag/transcode.c:
4256 * examples/thread/.cvsignore:
4257 * examples/thread/Makefile.am:
4258 * examples/thread/thread.c:
4259 * examples/typefind/.cvsignore:
4260 * examples/typefind/Makefile.am:
4261 * examples/typefind/typefind.c:
4262 * examples/xml/.cvsignore:
4263 * examples/xml/Makefile.am:
4264 * examples/xml/createxml.c:
4265 * examples/xml/runxml.c:
4266 * tests/Makefile.am:
4267 * tests/check/Makefile.am:
4268 * testsuite/.cvsignore:
4269 * testsuite/Makefile.am:
4271 * testsuite/caps/.cvsignore:
4272 * testsuite/caps/Makefile.am:
4273 * testsuite/caps/app_fixate.c:
4274 * testsuite/caps/audioscale.c:
4275 * testsuite/caps/caps.c:
4276 * testsuite/caps/caps.h:
4277 * testsuite/caps/caps_strings:
4278 * testsuite/caps/compatibility.c:
4279 * testsuite/caps/deserialize.c:
4280 * testsuite/caps/enumcaps.c:
4281 * testsuite/caps/eratosthenes.c:
4282 * testsuite/caps/filtercaps.c:
4283 * testsuite/caps/fixed.c:
4284 * testsuite/caps/fraction-convert.c:
4285 * testsuite/caps/fraction-multiply-and-zero.c:
4286 * testsuite/caps/intersect2.c:
4287 * testsuite/caps/intersection.c:
4288 * testsuite/caps/normalisation.c:
4289 * testsuite/caps/random.c:
4290 * testsuite/caps/renegotiate.c:
4291 * testsuite/caps/sets.c:
4292 * testsuite/caps/simplify.c:
4293 * testsuite/caps/string-conversions.c:
4294 * testsuite/caps/structure.c:
4295 * testsuite/caps/subtract.c:
4296 * testsuite/caps/union.c:
4297 * testsuite/debug/.cvsignore:
4298 * testsuite/debug/Makefile.am:
4299 * testsuite/debug/category.c:
4300 * testsuite/debug/commandline.c:
4301 * testsuite/debug/global.c:
4302 * testsuite/debug/output.c:
4303 * testsuite/debug/printf_extension.c:
4304 * testsuite/dlopen/.cvsignore:
4305 * testsuite/dlopen/Makefile.am:
4306 * testsuite/dlopen/dlopen_gst.c:
4307 * testsuite/dlopen/loadgst.c:
4308 * testsuite/elements/.cvsignore:
4309 * testsuite/elements/Makefile.am:
4310 * testsuite/elements/gst-inspect-check.in:
4311 * testsuite/elements/struct_i386.h:
4312 * testsuite/elements/struct_size.c:
4313 * testsuite/indexers/.cvsignore:
4314 * testsuite/indexers/Makefile.am:
4315 * testsuite/indexers/cache1.c:
4316 * testsuite/indexers/indexdump.c:
4317 * testsuite/parse/.cvsignore:
4318 * testsuite/parse/Makefile.am:
4319 * testsuite/parse/parse1.c:
4320 * testsuite/parse/parse2.c:
4321 * testsuite/plugin/.cvsignore:
4322 * testsuite/plugin/Makefile.am:
4323 * testsuite/plugin/README:
4324 * testsuite/plugin/dynamic.c:
4325 * testsuite/plugin/linked.c:
4326 * testsuite/plugin/loading.c:
4327 * testsuite/plugin/registry.c:
4328 * testsuite/plugin/static.c:
4329 * testsuite/plugin/static2.c:
4330 * testsuite/plugin/testplugin.c:
4331 * testsuite/plugin/testplugin2.c:
4332 * testsuite/plugin/testplugin2_s.c:
4333 * testsuite/plugin/testplugin_s.c:
4334 * testsuite/refcounting/.cvsignore:
4335 * testsuite/refcounting/Makefile.am:
4336 * testsuite/refcounting/bin.c:
4337 * testsuite/refcounting/element.c:
4338 * testsuite/refcounting/element_pad.c:
4339 * testsuite/refcounting/mainloop.c:
4340 * testsuite/refcounting/mem.c:
4341 * testsuite/refcounting/mem.h:
4342 * testsuite/refcounting/object.c:
4343 * testsuite/refcounting/pad.c:
4344 * testsuite/refcounting/sched.c:
4345 * testsuite/refcounting/thread.c:
4346 * testsuite/states/.cvsignore:
4347 * testsuite/states/Makefile.am:
4348 * testsuite/states/bin.c:
4349 * testsuite/states/locked.c:
4350 * testsuite/states/parent.c:
4351 * testsuite/threads/.cvsignore:
4352 * testsuite/threads/159566.c:
4353 * testsuite/threads/159852.c:
4354 * testsuite/threads/Makefile.am:
4355 * testsuite/threads/queue.c:
4356 * testsuite/threads/signals.c:
4357 * testsuite/threads/staticrec.c:
4358 * testsuite/threads/thread.c:
4359 * testsuite/threads/threadb.c:
4360 * testsuite/threads/threadc.c:
4361 * testsuite/threads/threadd.c:
4362 * testsuite/threads/threade.c:
4363 * testsuite/threads/threadf.c:
4364 * testsuite/threads/threadg.c:
4365 * testsuite/threads/threadh.c:
4366 * testsuite/threads/threadi.c:
4367 move all of these under tests
4369 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4372 * tests/Makefile.am:
4375 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4377 * docs/gst/gstreamer-sections.txt:
4378 * tests/sched/.cvsignore:
4379 * tests/sched/Makefile.am:
4380 * tests/sched/cases/(fs-fs).xml:
4381 * tests/sched/cases/(fs-i-fs).xml:
4382 * tests/sched/cases/(fs-i-i-fs).xml:
4383 * tests/sched/cases/(fs-i-q[i-fs]).xml:
4384 * tests/sched/dynamic-pipeline.c:
4385 * tests/sched/interrupt1.c:
4386 * tests/sched/interrupt2.c:
4387 * tests/sched/interrupt3.c:
4388 * tests/sched/runtestcases:
4389 * tests/sched/runxml.c:
4390 * tests/sched/sched-stress.c:
4391 * tests/sched/sort.c:
4392 * tests/sched/testcases:
4393 * tests/sched/testcases1.tc:
4394 * tests/seeking/.cvsignore:
4395 * tests/seeking/Makefile.am:
4396 * tests/seeking/seeking1.c:
4397 * tests/threadstate/.cvsignore:
4398 * tests/threadstate/Makefile.am:
4399 * tests/threadstate/test1.c:
4400 * tests/threadstate/test2.c:
4401 * tests/threadstate/threadstate1.c:
4402 * tests/threadstate/threadstate2.c:
4403 * tests/threadstate/threadstate3.c:
4404 * tests/threadstate/threadstate4.c:
4405 * tests/threadstate/threadstate5.c:
4406 remove obsolete tests
4408 * tests/bench-complexity.scm:
4409 * tests/bench-mass_elements.scm:
4410 * tests/complexity.c:
4411 * tests/complexity.gnuplot:
4412 * tests/instantiate/.cvsignore:
4413 * tests/instantiate/Makefile.am:
4414 * tests/instantiate/caps.c:
4415 * tests/mass_elements.c:
4416 * tests/network-clock-utils.scm:
4417 * tests/network-clock.scm:
4419 First pass at cleaning up tests/ dir before moving the rest
4420 Combined with CVS surgery
4422 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4425 queue has moved, update
4427 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4429 * docs/gst/gstreamer-sections.txt:
4430 remove double entries from the docs
4431 * gst/gst_private.h:
4432 * gst/gstinfo.c: (_gst_debug_init):
4433 remove the THREAD debug category
4437 * docs/gst/gstreamer.types:
4438 * plugins/elements/gstqueue.c: (gst_queue_get_type),
4439 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
4440 completely move queue and fix up debugging categories
4442 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4444 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4445 make initialization portable, using LL is not
4447 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4449 * win32/common/gstconfig.h:
4452 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4454 * win32/common/libgstreamer.def:
4455 rename symbols; sort base section
4457 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4459 * gst/gstclock.c: (do_linear_regression):
4460 remove crack non-portable handrolled DEBUG macro
4462 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4464 * docs/random/release:
4466 * win32/common/gstenumtypes.c: (register_gst_object_flags),
4467 (gst_object_flags_get_type), (register_gst_bin_flags),
4468 (gst_bin_flags_get_type), (register_gst_buffer_flag),
4469 (gst_buffer_flag_get_type), (register_gst_bus_flags),
4470 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
4471 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
4472 (gst_caps_flags_get_type), (register_gst_clock_return),
4473 (gst_clock_return_get_type), (register_gst_clock_entry_type),
4474 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
4475 (gst_clock_flags_get_type), (register_gst_state),
4476 (gst_state_get_type), (register_gst_state_change_return),
4477 (gst_state_change_return_get_type), (register_gst_state_change),
4478 (gst_state_change_get_type), (register_gst_element_flags),
4479 (gst_element_flags_get_type), (register_gst_core_error),
4480 (gst_core_error_get_type), (register_gst_library_error),
4481 (gst_library_error_get_type), (register_gst_resource_error),
4482 (gst_resource_error_get_type), (register_gst_stream_error),
4483 (gst_stream_error_get_type), (register_gst_event_type_flags),
4484 (gst_event_type_flags_get_type), (register_gst_event_type),
4485 (gst_event_type_get_type), (register_gst_seek_type),
4486 (gst_seek_type_get_type), (register_gst_seek_flags),
4487 (gst_seek_flags_get_type), (register_gst_format),
4488 (gst_format_get_type), (register_gst_index_certainty),
4489 (gst_index_certainty_get_type), (register_gst_index_entry_type),
4490 (gst_index_entry_type_get_type),
4491 (register_gst_index_lookup_method),
4492 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
4493 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
4494 (gst_index_resolver_method_get_type), (register_gst_index_flags),
4495 (gst_index_flags_get_type), (register_gst_debug_level),
4496 (gst_debug_level_get_type), (register_gst_debug_color_flags),
4497 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
4498 (gst_iterator_result_get_type), (register_gst_iterator_item),
4499 (gst_iterator_item_get_type), (register_gst_message_type),
4500 (gst_message_type_get_type), (register_gst_mini_object_flags),
4501 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
4502 (gst_pad_link_return_get_type), (register_gst_flow_return),
4503 (gst_flow_return_get_type), (register_gst_activate_mode),
4504 (gst_activate_mode_get_type), (register_gst_pad_direction),
4505 (gst_pad_direction_get_type), (register_gst_pad_flags),
4506 (gst_pad_flags_get_type), (register_gst_pad_presence),
4507 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
4508 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
4509 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
4510 (gst_plugin_error_get_type), (register_gst_plugin_flags),
4511 (gst_plugin_flags_get_type), (register_gst_rank),
4512 (gst_rank_get_type), (register_gst_query_type),
4513 (gst_query_type_get_type), (register_gst_tag_merge_mode),
4514 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
4515 (gst_tag_flag_get_type), (register_gst_task_state),
4516 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
4517 (gst_alloc_trace_flags_get_type),
4518 (register_gst_type_find_probability),
4519 (gst_type_find_probability_get_type), (register_gst_uri_type),
4520 (gst_uri_type_get_type), (register_gst_parse_error),
4521 (gst_parse_error_get_type):
4522 * win32/common/gstenumtypes.h:
4523 * win32/common/gstversion.h:
4524 update visual studio generated files
4526 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4528 * win32/vs6/libgstbase.dsp:
4529 * win32/vs6/libgstelements.dsp:
4530 update project files for new locations
4532 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4537 reinstate and update
4542 * docs/random/LICENSE:
4545 2005-11-30 Edward Hervey <edward@fluendo.com>
4547 * gst/gsttypefind.c: (gst_type_find_register):
4548 * gst/gsttypefind.h:
4549 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
4550 (gst_type_find_factory_dispose):
4551 * gst/gsttypefindfactory.h:
4552 Fix memory leak in GstTypeFindFactory.
4554 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4557 * plugins/elements/Makefile.am:
4558 * plugins/elements/gstelements.c:
4559 * plugins/elements/gstqueue.c:
4560 move queue from core to the elements plugin
4562 2005-11-29 Andy Wingo <wingo@pobox.com>
4564 * libs/gst/base/gstbasetransform.h:
4565 * libs/gst/base/gstbasesrc.h:
4566 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
4568 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
4569 of pointers by which to pad very extensible base classes (like the
4570 ones in libs/gst/base).
4572 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4574 * docs/gst/gstreamer-docs.sgml:
4575 * docs/gst/gstreamer-sections.txt:
4576 * docs/libs/gstreamer-libs-docs.sgml:
4577 * docs/libs/gstreamer-libs-sections.txt:
4578 moving documentation from core to lib
4580 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4582 * check/Makefile.am:
4584 * docs/gst/Makefile.am:
4586 * gst/base/.cvsignore:
4587 * gst/base/Makefile.am:
4589 * gst/base/gstadapter.c:
4590 * gst/base/gstadapter.h:
4591 * gst/base/gstbasesink.c:
4592 * gst/base/gstbasesink.h:
4593 * gst/base/gstbasesrc.c:
4594 * gst/base/gstbasesrc.h:
4595 * gst/base/gstbasetransform.c:
4596 * gst/base/gstbasetransform.h:
4597 * gst/base/gstcollectpads.c:
4598 * gst/base/gstcollectpads.h:
4599 * gst/base/gstpushsrc.c:
4600 * gst/base/gstpushsrc.h:
4601 * gst/base/gsttypefindhelper.c:
4602 * gst/base/gsttypefindhelper.h:
4603 * gst/check/Makefile.am:
4604 * gst/check/gstcheck.c:
4605 * gst/check/gstcheck.h:
4606 * gst/net/Makefile.am:
4608 * gst/net/gstnetclientclock.c:
4609 * gst/net/gstnetclientclock.h:
4610 * gst/net/gstnettimepacket.c:
4611 * gst/net/gstnettimepacket.h:
4612 * gst/net/gstnettimeprovider.c:
4613 * gst/net/gstnettimeprovider.h:
4614 * libs/gst/Makefile.am:
4615 * libs/gst/base/Makefile.am:
4616 * libs/gst/base/gstbasetransform.c:
4617 * libs/gst/check/Makefile.am:
4618 * plugins/elements/Makefile.am:
4620 CVS surgery + support to move base, check, and net out of gst
4623 2005-11-29 Andy Wingo <wingo@pobox.com>
4625 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
4627 * gst/gststructure.h (struct _GstStructure): Only one pointer of
4630 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
4632 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
4634 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
4636 * gst/gstobject.h: (struct _GstObject): Only one pointer of
4637 padding; reduces object size by about 30%. We don't expect
4638 anything else to go into gstobject.
4640 * gst/gstminiobject.h (struct _GstMiniObject)
4641 (struct _GstMiniObjectClass): Only one pointer of padding; the
4642 payload is only a pointer and two ints anyway. For the class there
4643 are only two methods as well.
4645 * gst/gstelement.h (struct _GstElementClass): Removed
4646 the state_changed signal callback, it is not used.
4648 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
4650 * docs/gst/gstreamer.types:
4651 fix includes, though they are a little dinky
4653 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4655 * check/Makefile.am:
4656 look in the right place for elements, a lot more chance of
4659 remove indexers and elements subdirs
4660 * plugins/Makefile.am:
4661 make indexers conditional
4663 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4667 * plugins/elements/Makefile.am:
4668 * plugins/elements/gstcapsfilter.c:
4669 * plugins/elements/gstfilesink.c:
4670 * plugins/elements/gstfilesrc.c:
4671 * plugins/elements/gstidentity.c:
4672 * plugins/indexers/Makefile.am:
4673 do CVS surgery and related build fixery to move elements
4674 and indexers in a new gstreamer/plugins directory, out of the
4677 2005-11-29 Andy Wingo <wingo@pobox.com>
4679 * check/Makefile.am:
4680 * pkgconfig/gstreamer-net-uninstalled.pc.in:
4681 * pkgconfig/gstreamer-net.pc.in:
4682 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
4685 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
4687 * tools/Makefile.am:
4688 * tools/gst-complete.1.in:
4689 * tools/gst-complete.c:
4690 * tools/gst-compprep.1.in:
4691 * tools/gst-compprep.c:
4692 removing -compprep and -complete
4694 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
4696 * gst/gstevent.c: (gst_event_new_new_segment),
4697 (gst_event_parse_new_segment):
4699 fix #320529 - clean up new_segment API and structure.
4700 Let's hope everyone was using the methods, and not the structure.
4702 2005-11-29 Edward Hervey <edward@fluendo.com>
4704 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4705 (gst_base_sink_event), (gst_base_sink_do_sync),
4706 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4707 Properly handle non GST_FORMAT_TIME segment
4708 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
4709 Properly handle non GST_FORMAT_TIME segment
4711 This function is valid if the accumulator is 0 and the format
4712 is different from the requested format.
4714 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4716 * docs/gst/gstreamer-sections.txt:
4717 Add gst_query_new_seeking and gst_query_parse_seeking to the
4720 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4722 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4723 Treat a pad alloc with new caps the same as if we were not
4724 negotiated, in order to allow a changing upstream output
4725 to produce a new format of data.
4727 2005-11-29 Edward Hervey <edward@fluendo.com>
4729 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4730 (gst_base_transform_event), (gst_base_transform_eventfunc):
4731 The event virtual method is now properly implemented, with a default
4733 Sub classes should call the parent_class event method. They should
4734 return FALSE if they had a problem handling the given event, or don't
4735 want GstBaseTransform to send that even downstream
4736 * gst/elements/gstidentity.c: (gst_identity_class_init),
4737 (gst_identity_init), (gst_identity_event),
4738 (gst_identity_transform_ip), (gst_identity_set_property),
4739 (gst_identity_get_property):
4740 * gst/elements/gstidentity.h:
4741 Added the single-segment boolean property.
4742 If set to TRUE, it will output a single segment of data, starting from
4743 0, will eat up all incoming newsegment, and modify the timestamp of the
4746 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
4748 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
4749 Don't ref NULL target pad (#322751). Improve docs.
4751 2005-11-29 Michael Smith <msmith@fluendo.com>
4753 * gst/gstregistryxml.c: (load_plugin):
4754 Don't crash if we failed to load a feature from a plugin.
4756 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
4758 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
4760 use more check API and less GLib API
4762 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
4765 don't run checks if we don't have check
4767 remove the registry when running make torture
4768 * docs/gst/gstreamer-sections.txt:
4769 remove second multiply
4770 * gst/gstqueue.c: (gst_queue_loop):
4771 fix a compile warning when disabling debug
4773 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
4776 Hey! Let's print the pad name if the pointer != NULL instead
4777 of when it == NULL :-)
4779 2005-11-28 Wim Taymans <wim@fluendo.com>
4781 * check/gst/gstutils.c: (GST_START_TEST):
4782 Updated check, add some scaling accuracy checking code.
4784 * gst/gstutils.c: (gst_util_div128_64),
4785 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
4786 (gst_util_uint64_scale_int):
4787 Fix 6 times faster division code. Optimize for common
4788 1/1 and less common X/1 cases.
4790 2005-11-28 Wim Taymans <wim@fluendo.com>
4792 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4795 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
4796 (do_linear_regression), (gst_clock_add_observation):
4798 Release lock when the clock cannot be slaved.
4799 Catch the case where the regression returned an invalid denominator.
4801 * gst/gstutils.c: (gst_util_div128_64_iterate),
4802 (gst_util_div128_64), (gst_util_uint64_scale_int64),
4803 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
4804 Add protentially more performant non-iterative 128/64 divide function
4805 that unfortunatly does not work yet.
4806 Shortcut the trivial 0/X = 0 case.
4807 Remove the warnings on overflow.
4809 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
4811 * gst/gstplugin.c: (gst_plugin_register_func):
4812 everything causing a plugin not to load should be at least a WARNING
4814 2005-11-28 Stefan Kost <ensonic@users.sf.net>
4816 * docs/random/ensonic/dparams.txt:
4817 some TODOs for the next dev cycle
4818 * libs/gst/controller/gstcontroller.c:
4819 (gst_controlled_property_set_interpolation_mode),
4820 (gst_controlled_property_new):
4821 * libs/gst/controller/gstcontroller.h:
4822 use base type to assign acccessor functions
4824 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
4826 * check/Makefile.am:
4827 Oops, that should have been top_srcdir
4829 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
4831 * check/Makefile.am:
4832 * check/elements/fdsrc.c: (GST_START_TEST):
4833 Use a cmdline define to specify the location of a file to use for
4834 testing, to avoid breaking distcheck.
4836 2005-11-28 Andy Wingo <wingo@pobox.com>
4838 * gst/gstpad.c (fixate_value): Use array functions for arrays.
4840 2005-11-28 Edward Hervey <edward@fluendo.com>
4842 * tools/gst-launch.c: (main):
4843 Clarify the output strings, makes it easier to translate.
4846 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
4849 don't try and build net if we don't even have <sys/socket.h>
4851 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
4853 * check/Makefile.am:
4854 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
4855 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
4856 Add tests for fdsrc seekability
4858 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4859 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
4860 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
4861 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
4862 * gst/elements/gstfdsrc.h:
4863 fdsrc should not be a 'live' source.
4864 Implement seeking on seekable fd's.
4866 * gst/gstquery.c: (gst_query_new_seeking),
4867 (gst_query_parse_seeking):
4869 Implement SEEKING query functions:
4870 *_new_seeking and *_parse_seeking
4872 2005-11-27 Stefan Kost <ensonic@users.sf.net>
4874 * gst/gstelement.c: (gst_element_dispose):
4877 * gst/gstiterator.c:
4878 * gst/gststructure.c:
4881 * libs/gst/controller/gstcontroller.c:
4882 (gst_controlled_property_set_interpolation_mode):
4883 * libs/gst/controller/gstcontroller.h:
4884 * libs/gst/controller/gstinterpolation.c:
4885 (interpolate_none_get_enum_value_array):
4886 support controlling enums
4888 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
4891 Improve documentation for gst_value_union().
4894 Change return value for union, intersect and subtract functions
4895 from gint to gboolean.
4897 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
4899 * gst/gstvalue.c: (gst_value_serialize_any_list),
4900 (gst_value_transform_any_list_string),
4901 (gst_value_deserialize_list), (gst_value_deserialize_array),
4902 (gst_value_set_int_range), (gst_value_deserialize_int_range),
4903 (gst_value_set_double_range), (gst_value_deserialize_double_range),
4904 (gst_value_set_fraction_range_full),
4905 (gst_value_deserialize_fraction_range),
4906 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
4907 (gst_value_deserialize_boolean),
4908 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
4909 (gst_value_serialize_float), (gst_value_deserialize_float),
4910 (gst_string_wrap), (gst_value_deserialize_string),
4911 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
4912 (gst_value_union_int_range_int_range),
4913 (gst_value_intersect_int_range_int_range),
4914 (gst_value_intersect_double_range_double_range),
4915 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
4916 (gst_value_subtract_int_range_int_range),
4917 (gst_value_subtract_double_double_range),
4918 (gst_value_subtract_double_range_double_range),
4919 (gst_value_deserialize_fraction):
4921 Use gint, gdouble and gchar in our API instead of int, double and
4922 char (and make usage in gstvalue.c more consistent).
4924 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
4926 * check/Makefile.am:
4927 * libs/gst/controller/Makefile.am:
4928 * libs/gst/dataprotocol/Makefile.am:
4929 fix up Makefile.am and remove GST_ENABLE_NEW
4931 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
4935 * gst/base/Makefile.am:
4936 * gst/check/Makefile.am:
4937 * gst/elements/Makefile.am:
4938 * gst/net/Makefile.am:
4939 update LDFLAGS use some more
4941 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
4943 * common/m4/gst-doc.m4:
4946 2005-11-26 Edward Hervey <edward@fluendo.com>
4948 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4949 This shouldn't issue a g_warning since it returns NULL if it
4950 couldn't find the plugin, and all functions using this behave
4951 properly on a NULL return. Switching to a GST_WARNING.
4953 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
4955 * gst/gstbin.c: (gst_bin_handle_message_func):
4956 Don't leak clock messages.
4958 2005-11-25 Wim Taymans <wim@fluendo.com>
4960 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4961 (gst_util_uint64_scale_int):
4962 Optimisations, remove unneeded vars.
4964 2005-11-25 Wim Taymans <wim@fluendo.com>
4966 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4967 Added more checks for the high precision uint64 cases.
4969 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4970 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
4971 Implement high precision (guint64 * guint64) / guint64.
4973 2005-11-24 Wim Taymans <wim@fluendo.com>
4975 * gst/base/gstbasesrc.c: (gst_base_src_query):
4976 Fix wrong percentage query.
4978 * gst/gstutils.c: (gst_util_uint64_scale),
4979 (gst_util_uint64_scale_int):
4980 Add some more common cases that can be handled
4981 efficiently to _scale.
4983 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
4985 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
4986 (gst_mini_object_suite):
4987 don't use check calls from threads; check probably isn't
4988 threadsafe and using a lock to make it threadsafe would
4989 defeat the purpose of this check
4990 * gst/check/gstcheck.c:
4991 * gst/check/gstcheck.h:
4992 use GST_DEBUG some more
4994 2005-11-24 Wim Taymans <wim@fluendo.com>
4996 * gst/gstutils.c: (gst_util_uint64_scale),
4997 (gst_util_uint64_scale_int):
4998 Chain trivial case to _scale_int.
5000 2005-11-24 Wim Taymans <wim@fluendo.com>
5002 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5003 Added test for scaling.
5008 * gst/gstutils.c: (gst_util_uint64_scale_int):
5009 Implemented high precision scaling code.
5011 2005-11-24 Stefan Kost <ensonic@users.sf.net>
5014 do not crash on pad==NULL
5016 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5018 Patch by: Stefan Kost
5020 * common/gtk-doc.mak:
5021 * docs/gst/Makefile.am:
5022 * docs/libs/Makefile.am:
5023 Fix distcheck issues for the libraries docs build
5026 2005-11-24 Michael Smith <msmith@fluendo.com>
5028 * docs/manual/basics-helloworld.xml:
5029 Fix bug #315027: memory leak in example code in docs.
5031 2005-11-24 Michael Smith <msmith@fluendo.com>
5033 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5034 Unlock the PREROLL_LOCK in a failure case.
5036 2005-11-24 Wim Taymans <wim@fluendo.com>
5038 * docs/gst/gstreamer-sections.txt:
5039 * gst/base/gstadapter.h:
5040 * gst/base/gstbasesink.h:
5041 * gst/base/gstbasesrc.h:
5042 * gst/base/gstbasetransform.h:
5043 * gst/base/gstpushsrc.h:
5044 * gst/elements/gstfakesink.h:
5045 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
5046 * gst/elements/gstfakesrc.h:
5047 * gst/elements/gstfilesink.h:
5048 * gst/elements/gstfilesrc.h:
5051 * gst/gstbuffer.c: (_gst_buffer_copy):
5054 * gst/gstchildproxy.c:
5057 * gst/gstelementfactory.c:
5058 * gst/gstelementfactory.h:
5060 * gst/gstghostpad.h:
5062 * gst/gstinterface.h:
5063 * gst/gstminiobject.c:
5064 * gst/gstminiobject.h:
5067 * gst/gstpadtemplate.h:
5068 * gst/gstpipeline.h:
5069 * gst/gstpluginfeature.h:
5074 * gst/gsttagsetter.c:
5075 * gst/gsttagsetter.h:
5078 * gst/gsttypefind.h:
5081 * gst/net/gstnetclientclock.c:
5082 * gst/net/gstnetclientclock.h:
5083 * gst/net/gstnettimepacket.c:
5084 * gst/net/gstnettimeprovider.c:
5085 * gst/net/gstnettimeprovider.h:
5088 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5090 * configure.ac: back to HEAD
5092 === release 0.9.6 ===
5094 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5097 releasing 0.9.6, "Always On Time"
5099 2005-11-23 Wim Taymans <wim@fluendo.com>
5101 * docs/gst/gstreamer-sections.txt:
5102 * gst/glib-compat.c:
5103 * gst/gsttagsetter.c:
5105 * gst/net/gstnetclientclock.c:
5106 * gst/net/gstnettimepacket.h:
5109 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5111 * docs/faq/using.xml:
5112 * docs/libs/tmpl/gstcontrol.sgml:
5113 * docs/manual/advanced-dparams.xml:
5114 * docs/manual/appendix-checklist.xml:
5115 * docs/manual/basics-elements.xml:
5116 * docs/pwg/other-source.xml:
5117 * docs/random/moving-plugins:
5119 * tools/gst-launch.1.in:
5120 remove mentions of sinesrc
5122 2005-11-23 Michael Smith <msmith@fluendo.com>
5124 * docs/gst/gstreamer-sections.txt:
5125 Update for new API and API changes.
5127 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
5129 Documentation typo fix.
5130 * gst/net/gstnettimepacket.c:
5131 Documentation fixes for arguments.
5133 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
5135 * gst/gststructure.c: (gst_structure_get_fraction),
5136 (gst_structure_parse_value),
5137 (gst_structure_fixate_field_nearest_fraction):
5138 * gst/gststructure.h:
5139 * gst/gstutils.c: (gst_util_uint64_scale_int):
5141 * scripts/update-funcnames:
5143 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
5144 Make gst_structure_fixate_field_nearest_fraction take a numerator
5145 and denominator argument instead of a GValue
5146 add gst_structure_get_fraction helper function.
5148 2005-11-23 Wim Taymans <wim@fluendo.com>
5150 * docs/design/part-TODO.txt:
5153 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5154 * gst/net/gstnetclientclock.h:
5155 Use parent fields for timeout and window_size.
5157 2005-11-23 Andy Wingo <wingo@pobox.com>
5159 * check/net/gstnetclientclock.c (test_functioning): Adjust to
5160 rate_num/rate_denom change.
5162 * gst/net/gstnetclientclock.c
5163 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
5164 OBJECT_LOCK. Don't call add_observation with the lock.
5166 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
5168 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
5170 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
5171 deal with rate as a fraction whose numerator and denominator are
5172 GstClockTime values.
5173 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
5174 master; the other fields are protected by the SLAVE_LOCK.
5175 (do_linear_regression): Note that this must be called with the
5177 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
5178 OBJECT_LOCK. Call set_calibration instead of touching the
5180 (gst_clock_set_property, gst_clock_get_property): Protect
5181 master/slave parameters with the SLAVE_LOCK.
5183 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
5184 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
5185 note that all of the instance variables that add_observation and
5186 the set_master functions use are protected by that lock and not
5188 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
5190 * gst/gstclock.c (gst_clock_add_observation): No longer requires
5191 the caller to take the object lock.
5193 2005-11-23 Wim Taymans <wim@fluendo.com>
5195 * gst/gsterror.c: (_gst_core_errors_init):
5197 Add error for clock stuff.
5199 * gst/gstpipeline.c: (gst_pipeline_change_state),
5200 (gst_pipeline_set_clock):
5201 Post clock error when clock cannot be used in a pipeline.
5203 2005-11-23 Stefan Kost <ensonic@users.sf.net>
5205 * docs/gst/gstreamer-sections.txt:
5206 make two symbols from gstinfo private for the docs
5207 * gst/base/gstcollectpads.h:
5209 fix doc typos, update docs
5211 2005-11-22 Wim Taymans <wim@fluendo.com>
5213 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5214 (gst_base_sink_wait), (gst_base_sink_do_sync),
5215 (gst_base_sink_handle_event):
5216 * gst/base/gstbasesink.h:
5217 No need to store the clock, the parent element class already
5220 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
5221 Updates for clock_set returning a gboolean
5223 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
5224 (gst_clock_id_wait_async), (gst_clock_class_init),
5225 (gst_clock_init), (gst_clock_finalize),
5226 (gst_clock_get_internal_time), (gst_clock_get_time),
5227 (gst_clock_slave_callback), (gst_clock_set_master),
5228 (gst_clock_get_master), (do_linear_regression),
5229 (gst_clock_add_observation), (gst_clock_set_property),
5230 (gst_clock_get_property):
5232 Implement master/slave. When setting a clock as a slave, a
5233 periodic timeout is scheduled to sample master and slave times.
5234 Then the slave clock is recalibrated to match offset and rate
5235 of the master clock.
5236 Update logging a bit.
5237 Add flag so that a clock can state that is cannot be slaved to
5240 * gst/gstelement.c: (gst_element_set_clock):
5242 The set clock returns a gboolean for when an element cannot
5243 deal with the selected clock in the pipeline.
5245 * gst/gstpipeline.c: (gst_pipeline_change_state),
5246 (gst_pipeline_set_clock):
5247 * gst/gstpipeline.h:
5248 Handle the case where the selected clock cannot be set on
5251 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
5252 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5253 (gst_net_client_clock_set_property),
5254 (gst_net_client_clock_get_property),
5255 (gst_net_client_clock_observe_times):
5256 * gst/net/gstnetclientclock.h:
5257 Use regression code in GstClock parent, remove duplicated
5260 2005-11-22 Michael Smith <msmith@fluendo.com>
5262 * gst/gstutils.c: (gst_util_clock_time_scale):
5264 * docs/gst/gstreamer-sections.txt:
5265 Rename method to have extra underscore.
5267 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
5269 * gst/elements/Makefile.am:
5270 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
5271 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5272 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5273 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
5274 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
5275 * gst/elements/gstfakesrc.h:
5276 * gst/gstqueue.c: (queue_leaky_get_type):
5277 correctly fix GEnumValues so that nick is the short lowercase
5279 * tools/gst-inspect.c: (print_element_properties_info):
5280 also show the nick, since it's useful to use from parse_launch
5284 2005-11-22 Michael Smith <msmith@fluendo.com>
5286 * gst/gstutils.c: (gst_util_clocktime_scale):
5288 * docs/gst/gstreamer-sections.txt:
5289 Add util method for scaling a clocktime by a fraction. Useful
5290 implementation is left as an exercise for the reader.
5292 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5294 * gst/gstvalue.c: (gst_value_collect_fraction_range):
5295 If needed, allocate storage in the destination value during
5298 2005-11-22 Edward Hervey <edward@fluendo.com>
5300 * docs/gst/gstreamer-sections.txt:
5305 * gst/gstutils.c: (gst_util_set_object_arg):
5306 * tools/gst-compprep.c: (main):
5307 * tools/gst-inspect.c: (print_element_properties_info):
5308 Removed GstURI, closes bug #321061
5310 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5312 * check/gst/gststructure.c: (GST_START_TEST):
5313 * gst/gststructure.c: (gst_structure_parse_value):
5314 Oops, broke automatic string type parsing.
5315 Add a test to catch it in future.
5317 2005-11-22 Andy Wingo <wingo@pobox.com>
5319 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
5320 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
5321 Actually rename the function implementations. Grr.
5323 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5325 * check/gst/capslist.h:
5327 * check/gst/gststructure.c: (GST_START_TEST),
5328 (gst_structure_suite):
5329 Test automatic value type detection in gst_structure_from_string.
5330 * gst/gststructure.c: (gst_structure_parse_value):
5331 Add fraction as a type we try and guess automatically in
5332 caps/structure strings.
5334 2005-11-22 Andy Wingo <wingo@pobox.com>
5336 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
5338 * gst/gsttagsetter.h:
5339 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
5340 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
5341 (gst_tag_setter_add_tag_valist)
5342 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
5343 _add_values, _add_valist, and _add_valist_values. Since this is an
5344 interface the function suffixes should be more explicit so
5345 language binding don't end up with element.add_valist ->
5346 gst_tag_setter_add_valist, for example. Fixes #322069.
5348 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5350 * check/gst/gstcaps.c: (GST_START_TEST):
5351 Extend caps string tests to check that a caps to string
5352 conversion is reversible and produces the same caps.
5354 * gst/gststructure.c: (gst_structure_value_get_generic_type):
5355 Output "fraction" as the generic type fraction range, so caps
5356 serialisation and deserialisation works.
5357 * check/gst/capslist.h:
5358 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5359 Support 'MIN' and 'MAX' for deserialising fractions.
5361 2005-11-22 Andy Wingo <wingo@pobox.com>
5363 * gst/gstevent.h (gst_event_new_new_segment)
5364 (gst_event_parse_new_segment, gst_event_new_buffer_size)
5365 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
5366 Renamed from *_newsegment, *_buffersize, *_notarget.
5368 * scripts/update-funcnames: New script, performs the changes
5371 2005-11-22 Wim Taymans <wim@fluendo.com>
5373 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5374 Make sure the GstFlowReturn is returned.
5376 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
5377 (gst_bus_add_signal_watch):
5379 add gst_bus_add_signal_watch_full.
5381 * gst/gstplugin.c: (gst_plugin_load_file):
5382 Small style cleanup.
5384 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5386 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
5387 Block the fakesrc srcpad when we send an event, to avoid
5388 contention on the stream_lock causing random test failures.
5390 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5392 * check/gst/gstvalue.c: (GST_START_TEST):
5393 * gst/gstvalue.c: (gst_value_fraction_subtract):
5396 2005-11-22 Stefan Kost <ensonic@users.sf.net>
5399 include "gstchildproxy.h"
5400 * gst/gstchildproxy.h:
5401 * libs/gst/controller/gstcontroller.h:
5402 use G_GNUC_NULL_TERMINATED
5404 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5406 * check/gst/capslist.h:
5407 * check/gst/gstcaps.c: (GST_START_TEST):
5408 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5409 * gst/gststructure.c: (gst_structure_parse_range),
5410 (gst_structure_fixate_field_nearest_fraction):
5411 * gst/gststructure.h:
5412 * gst/gstvalue.c: (gst_value_init_fraction_range),
5413 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
5414 (gst_value_collect_fraction_range),
5415 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
5416 (gst_value_set_fraction_range_full),
5417 (gst_value_get_fraction_range_min),
5418 (gst_value_get_fraction_range_max),
5419 (gst_value_serialize_fraction_range),
5420 (gst_value_transform_fraction_range_string),
5421 (gst_value_compare_fraction_range),
5422 (gst_value_deserialize_fraction_range),
5423 (gst_value_intersect_fraction_fraction_range),
5424 (gst_value_intersect_fraction_range_fraction_range),
5425 (gst_value_subtract_fraction_fraction_range),
5426 (gst_value_subtract_fraction_range_fraction),
5427 (gst_value_subtract_fraction_range_fraction_range),
5428 (gst_value_collect_fraction), (gst_value_fraction_multiply),
5429 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
5430 (gst_value_transform_string_fraction), (_gst_value_initialize):
5432 Implement fraction ranges and extend GstFraction to support
5433 arithmetic subtraction, as well as deserialization from integer
5434 strings such as "100"
5435 Add a testsuite as for int and double range set operations
5437 2005-11-21 Andy Wingo <wingo@pobox.com>
5441 * gst/gststructure.h: Add glib-compat.h.
5443 2005-11-21 Wim Taymans <wim@fluendo.com>
5445 * gst/gstbin.c: (gst_bin_change_state_func):
5448 2005-11-21 Wim Taymans <wim@fluendo.com>
5451 And add a nice define too.
5453 2005-11-21 Wim Taymans <wim@fluendo.com>
5455 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
5456 (gst_segment_new), (gst_segment_free), (gst_segment_init),
5457 (gst_segment_set_duration), (gst_segment_set_last_stop),
5458 (gst_segment_set_seek), (gst_segment_set_newsegment),
5459 (gst_segment_to_stream_time), (gst_segment_to_running_time),
5462 Make binding friendly.
5464 2005-11-21 Andy Wingo <wingo@pobox.com>
5466 * gst/gsttagsetter.h:
5468 * gst/gststructure.h:
5470 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
5473 * gst/gsterror.c (_gst_core_errors_init):
5474 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
5477 * gst/Makefile.am (gst_headers): Add glib-compat.h.
5478 (noinst_HEADERS): noinst the -private.
5480 2005-11-21 Michael Smith <msmith@fluendo.com>
5483 * gst/gstregistry.h:
5484 Remove unimplemented declarations for which we can see no sensible
5487 2005-11-21 Andy Wingo <wingo@pobox.com>
5489 * gst/gst.h: Include glib-compat.h.
5491 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
5493 * gst/glib-compat.c: Include the public and the private header.
5495 * gst/glib-compat-private.h: Copied here from glib-compat.h.
5499 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
5501 * check/gst/gstevent.c (create_custom_events): Check that
5502 FLUSH_STOP is serialized.
5504 * check/elements/identity.c (event_func):
5505 * check/elements/fakesrc.c (event_func): No stream lock, the core
5508 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
5509 stream lock taking, yay.
5511 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
5512 ensure that core takes the stream lock.
5514 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
5517 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
5518 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
5519 it already. For the flush start we do take it though so we get the
5520 right preroll state change messages.
5522 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
5523 the stream lock here, the core does it for us.
5525 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
5526 GST_STREAM_GET_LOCK.
5527 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
5528 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
5529 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
5530 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
5531 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
5532 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
5534 * gst/gstpad.c: Update for stream lock name change.
5536 * gst/base/gstbasesink.c: Update for preroll lock name change.
5538 2005-11-21 Wim Taymans <wim@fluendo.com>
5540 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
5541 (gst_clock_get_master):
5543 * gst/gstsystemclock.c: (gst_system_clock_init):
5544 Convert Clock flags to object flags.
5545 Added methods to manage master/slave clocks.
5547 2005-11-21 Wim Taymans <wim@fluendo.com>
5549 * check/gst/gstsegment.c: (GST_START_TEST):
5550 * docs/design/part-TODO.txt:
5551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5552 (gst_base_sink_event), (gst_base_sink_do_sync),
5553 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5554 (gst_base_sink_query), (gst_base_sink_change_state):
5555 * gst/base/gstbasesink.h:
5556 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
5557 (gst_base_src_default_newsegment),
5558 (gst_base_src_configure_segment), (gst_base_src_do_seek),
5559 (gst_base_src_get_range), (gst_base_src_loop),
5560 (gst_base_src_change_state):
5561 * gst/base/gstbasesrc.h:
5562 * gst/base/gstbasetransform.c:
5563 (gst_base_transform_prepare_output_buf),
5564 (gst_base_transform_event), (gst_base_transform_change_state):
5565 * gst/base/gstbasetransform.h:
5566 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5567 (gst_collect_pads_event):
5568 * gst/base/gstcollectpads.h:
5569 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
5570 (gst_fake_src_create):
5571 * gst/elements/gstfakesrc.h:
5572 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5573 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
5574 (gst_segment_set_last_stop), (gst_segment_set_seek),
5575 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
5576 (gst_segment_to_running_time), (gst_segment_clip):
5578 More segment updates, replace code in plugins with segment
5581 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
5583 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
5584 Don't ignore sscanf results
5586 2005-11-21 Andy Wingo <wingo@pobox.com>
5588 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
5591 * *.c: Ran scripts/update-macros. Oh yes.
5593 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
5594 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
5597 * scripts/update-macros: New script. Run it on your files to
5598 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
5601 2005-11-21 Stefan Kost <ensonic@users.sf.net>
5603 * docs/gst/Makefile.am:
5604 * docs/gst/gstreamer-docs.sgml:
5605 * docs/gst/gstreamer-sections.txt:
5606 * docs/gst/gstreamer.types:
5608 more docs fixes, add new api to the docs
5610 2005-11-21 Andy Wingo <wingo@pobox.com>
5612 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
5613 state_broadcast call.
5615 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
5617 2005-11-21 Julien MOUTTE <julien@moutte.net>
5619 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
5620 function calls for arrays.
5622 2005-11-21 Stefan Kost <ensonic@users.sf.net>
5624 * docs/random/ensonic/media-device-daemon.txt:
5625 wild idea, can this be done?
5626 * docs/gst/gstreamer-sections.txt:
5631 * gst/gstpluginfeature.c:
5635 doc fixes and additions
5637 2005-11-21 Andy Wingo <wingo@pobox.com>
5639 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
5640 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
5641 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
5642 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
5643 private to the basesrc implementation.
5645 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
5646 behalf of event function if necessary. It should no longer be
5647 necessary to take the stream lock in pad's event functions. Fixes
5650 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
5651 * docs/gst/gstreamer-sections.txt:
5652 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
5653 (gst_structure_fixate_field_nearest_double),
5654 (gst_structure_fixate_field_boolean):
5655 * gst/gststructure.h:
5656 * win32/common/libgstreamer.def:
5657 * win32/gstreamer.def:
5659 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
5662 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
5664 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
5665 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
5666 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
5667 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
5668 (gst_fdsrc_uri_handler_init):
5669 * gst/elements/gstfdsrc.h:
5670 Port fd:// URI handler from 0.8 to fdsrc
5672 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5674 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
5675 (gst_value_serialize_fourcc):
5677 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
5678 consistent with our other format defines (#320324).
5680 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5682 * gst/gstvalue.c: (gst_value_is_fixed):
5683 Revert previous commit. Value lists are by definition
5684 not fixed, as they are a list of possible values.
5686 2005-11-21 Andy Wingo <wingo@pobox.com>
5688 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
5689 during the stable series if we need it. Fixes #319178.
5691 * gst/gstevent.c (gst_event_new_filler): Removed.
5693 * check/gst/gstevent.c: Update comment about filler events.
5695 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5697 * gst/gstvalue.c: (gst_value_is_fixed):
5698 Should handle both value arrays and value lists.
5700 2005-11-21 Andy Wingo <wingo@pobox.com>
5702 patch by: Alessandro Dessina <alessandro nnva org>
5704 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
5705 functions to access arrays. Fixes #321962.
5707 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5709 * docs/gst/gstreamer.types:
5710 gst_collectpads_get_type => gst_collect_pads_get_type.
5712 * gst/base/gstbasetransform.c:
5713 Remove unused SIGNAL_HANDOFF enum.
5715 2005-11-21 Andy Wingo <wingo@pobox.com>
5717 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
5718 the event type (upstream, downstream, serialized). Renamed
5719 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
5720 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
5721 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
5723 * gst/gstevent.c: Update for new CUSTOM event names.
5725 * check/gst/gstevent.c: Update check for new CUSTOM event names.
5728 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
5731 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5733 * docs/gst/gstreamer-sections.txt:
5734 * win32/common/libgstbase.def:
5735 * win32/libgstbase.def:
5736 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5737 (gst_collect_pads_class_init), (gst_collect_pads_init),
5738 (gst_collect_pads_finalize), (gst_collect_pads_new),
5739 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
5740 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
5741 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
5742 (gst_collect_pads_start), (gst_collect_pads_stop),
5743 (gst_collect_pads_peek), (gst_collect_pads_pop),
5744 (gst_collect_pads_available), (gst_collect_pads_read),
5745 (gst_collect_pads_flush), (gst_collect_pads_event),
5746 (gst_collect_pads_chain):
5747 * gst/base/gstcollectpads.h:
5748 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
5749 unimplemented functions as unimplemented. Add padding to
5750 GstCollectData. (#320766, #320423)
5752 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5755 Improve docs for DURATION message (usage of duration parameter)
5758 2005-11-20 Wim Taymans <wim@fluendo.com>
5760 * check/Makefile.am:
5761 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
5765 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
5766 (gst_segment_set_seek), (gst_segment_set_newsegment),
5767 (gst_segment_to_stream_time), (gst_segment_to_running_time),
5770 Added segment helper structure and methods. Not fully implemented
5772 Added segment check.
5774 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
5776 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5777 Add a deserialisation test for fractions
5778 * examples/metadata/read-metadata.c: (message_loop),
5779 (make_pipeline), (main):
5780 Fix up metadata reading sample.
5781 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5783 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5784 Don't try and fixate empty caps
5785 * gst/gst_private.h:
5786 Wrap in G_BEGIN_DECLS/G_END_DECLS
5787 * gst/gstvalue.c: (gst_value_collect_fraction),
5788 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
5789 (gst_value_transform_string_fraction),
5790 (gst_value_compare_fraction):
5791 Add some extra guards to ensure that we don't end up
5792 with an invalid denominator of 0 in a gstfraction and
5793 that fractions always get reduced.
5795 2005-11-20 Wim Taymans <wim@fluendo.com>
5797 * docs/gst/gstreamer-sections.txt:
5808 2005-11-20 Wim Taymans <wim@fluendo.com>
5810 * docs/design/part-TODO.txt:
5812 Make a proper enum of the flag.
5814 2005-11-19 Wim Taymans <wim@fluendo.com>
5816 * docs/design/part-TODO.txt:
5817 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
5818 (gst_format_to_quark), (gst_format_register):
5820 * gst/gstquery.c: (_gst_query_initialize),
5821 (gst_query_type_get_name), (gst_query_type_to_quark),
5822 (gst_query_type_register):
5824 Add type to quark and type to string conversions.
5826 2005-11-19 Andy Wingo <wingo@pobox.com>
5828 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
5831 2005-11-19 Wim Taymans <wim@fluendo.com>
5833 * docs/design/part-TODO.txt:
5834 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5835 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
5836 (gst_bin_handle_message_func):
5838 Make message handling overridable.
5840 2005-11-19 Andy Wingo <wingo@pobox.com>
5842 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
5845 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
5847 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
5848 is a GstClockTime. Fixes #321710.
5850 * gst/gstclock.h (GstClock): Remove offset property. Add
5851 internal_calibration and external_calibration. Fix padding. Pad
5852 also by GstClockTime so we don't run into problems.
5854 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
5855 (gst_clock_get_rate_offset): Remove.
5856 (gst_clock_set_time_adjust): Remove. Fixes #321712.
5859 * gst/gstutils.c (g_static_rec_cond_wait)
5860 (g_static_rec_cond_timed_wait): Removed, no longer needed.
5862 * gst/gstbin.c: Remove terrible continue_state prototype.
5864 * gst/gstelement.h (gst_element_continue_state): Make public.
5867 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
5868 by continue_state. Fixes #319389.
5870 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
5871 Really fixes #168438. However I don't see anywhere where the
5872 filter function is called... stupid GStreamer...
5874 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
5875 don't have a dispose function, so it won't get called when the
5876 object is unreffed, but oh well!
5878 * gst/gstindex.c (gst_index_set_filter_full): New API function,
5879 allows a destroy function to be set so user_data can be freed.
5881 (gst_index_set_filter): Call gst_index_set_filter_full.
5883 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
5885 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
5886 string should produce an error, given the lack of a way to
5887 represent NULL strings. Fixes #165650.
5890 * gst/gstvalue.c (gst_value_array_append_value)
5891 (gst_value_array_prepend_value, gst_value_array_get_size)
5892 (gst_value_array_get_value): New API, copied from
5893 gst_value_list_*, only operates on arrays.
5894 (gst_value_list_append_value, gst_value_list_prepend_value)
5895 (gst_value_list_concat, gst_value_list_get_size)
5896 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
5898 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
5899 init_list, because it works on both.
5900 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
5901 (gst_value_copy_list_or_array): Renamed from copy_list.
5902 (gst_value_free_list_or_array): Renamed from free_list.
5903 (gst_value_collect_list_or_array): Renamed from collect_list.
5904 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
5905 (gst_value_list_or_array_peek_pointer): Renamed from
5907 (_gst_value_array_value_table, _gst_value_list_value_table):
5908 Update value table functions.
5909 (gst_value_compare_list_or_array): Renamed from compare_list.
5911 * gsttaglist.h: Whoops, foreach function returns void. Also fix
5915 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
5916 GstTagList*. Fixes #143472.
5918 * gst/gststructure.h: Clarify what the foreach/map functions can
5919 or can't do to their arguments.
5921 2005-11-18 Wim Taymans <wim@fluendo.com>
5923 * gst/gstclock.c: (gst_clock_set_calibration),
5924 (gst_clock_get_calibration):
5926 Calibration can be set with internal time equal to current
5929 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
5935 2005-11-18 Andy Wingo <wingo@pobox.com>
5938 * pkgconfig/gstreamer-net.pc.in:
5939 * pkgconfig/gstreamer-net-uninstalled.pc.in:
5940 * pkgconfig/Makefile.am: Add net pkgconfig files.
5942 2005-11-18 Stefan Kost <ensonic@users.sf.net>
5945 * gst/gstghostpad.c:
5951 2005-11-18 Andy Wingo <wingo@pobox.com>
5953 * gst/net/gstnetclientclock.c: Turn off debugging.
5955 * check/net/gstnetclientclock.c (test_functioning): Assert that the
5956 times connverge somewhat. Can't make a real test.
5958 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
5959 integer arithmetic. Return the minimum of the domain, which can be
5960 set as "internal" for gst_clock_set_calibration.
5961 (gst_net_client_clock_observe_times): Call _set_calibration.
5962 (gst_net_client_clock_new): Call _set_calibration instead of
5965 * check/net/gstnetclientclock.c (test_functioning): Use the right
5969 * gst/gstclock.c (gst_clock_get_calibration)
5970 (gst_clock_set_calibration): New functions, obsolete the ones I
5971 added yesterday. Doh. Precision issues mean we have to extrapolate
5972 from a point in the more recent past than 1970.
5973 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
5975 (gst_clock_adjust_unlocked): Use the right calibration data.
5977 2005-11-18 Edward Hervey <edward@fluendo.com>
5979 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5980 Also reset the ->current_* values in READY->PAUSED
5982 2005-11-18 Andy Wingo <wingo@pobox.com>
5984 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
5985 Whoops, check the right fd. Also add some debugging.
5986 (gst_net_client_clock_observe_times): Adjust for int64 offset.
5987 (do_linear_regression): Add a crapload of debugging. Subtract off
5988 the minimum values from the input series to discard unneeded bits.
5989 Use only int arithmetic. There is still double arithmetic when
5990 calculating the intercept that needs fixing. Return boolean to
5991 indicate success; FALSE would mean the domain or range is too
5992 great. Still needs fixes.
5994 2005-11-18 Wim Taymans <wim@fluendo.com>
5996 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
5997 For the current position in stream time, we need to subtract
6000 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6001 Release lock before calling the callback function of async
6004 2005-11-18 Andy Wingo <wingo@pobox.com>
6006 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
6007 Port goes all the way to MAXUINT16.
6009 * gst/net/gstnettimeprovider.c: Make the port range the same as
6010 for the kernel: 0 assigns, otherwise ports are less than
6013 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
6016 * check/net/gstnetclientclock.c (test_functioning): Add the start
6019 2005-11-18 Wim Taymans <wim@fluendo.com>
6021 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6022 (gst_bin_remove_func), (bin_bus_handler):
6024 Removing a clock provider from a bin, triggers a clock lost message
6025 so that a new clock will be selected.
6026 Adding a clock to a bin triggers a clock provider message.
6027 Make sure we reselect a clock when we received a clock lost message.
6028 Keep a reference to the element that provided the clock.
6030 2005-11-18 Andy Wingo <wingo@pobox.com>
6032 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
6033 the clock initially so it produces values around the base time.
6034 (gst_net_client_clock_class_init): Typo fix.
6035 (gst_net_client_clock_thread): Add note on when the socket gets
6038 2005-11-17 Wim Taymans <wim@fluendo.com>
6040 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
6041 Free remote and local time arrays.
6043 2005-11-17 Wim Taymans <wim@fluendo.com>
6045 * gst/net/gstnetclientclock.c: (do_linear_regression),
6046 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
6047 Fix compilation, uninitialized vars and a forgotten continue.
6049 2005-11-17 Andy Wingo <wingo@pobox.com>
6051 * check/Makefile.am (check_PROGRAMS):
6052 * check/net/gstnetclientclock.c: Add a most minimal test for the
6053 net client clock. More to come later.
6056 * gst/net/Makefile.am: Add netclientclock.
6058 * gst/net/gstnetclientclock.h:
6059 * gst/net/gstnetclientclock.c: New files, implement an untested
6060 GstClock that takes its time from a network time provider.
6061 Implements the algorithm in network-clock.scm.
6063 * tests/network-clock.scm (*window-size*): Rename from
6065 * tests/network-clock.scm (network-time):
6066 * tests/network-clock-utils.scm (q-push): Update callers.
6068 2005-11-17 Wim Taymans <wim@fluendo.com>
6070 * gst/gstbin.c: (gst_bin_provide_clock_func),
6071 (gst_bin_sort_iterator_new):
6072 And unref the child too..
6074 2005-11-17 Wim Taymans <wim@fluendo.com>
6076 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6077 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
6078 Refactor the sort iterator so it can be used while holding the
6080 Make clock selection select a clock closest to the source.
6082 2005-11-17 Michael Smith <msmith@fluendo.com>
6084 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
6085 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
6087 Anonymous structs are a gcc (and some other compilers) extension, so
6088 don't use them. Since this is only for ABI-compatibility, and our
6089 API/ABI freeze is over in a few days, this whole thing will only
6090 last a few days, so don't bother trying to think up a meaningful
6091 name for the struct.
6093 2005-11-17 Andy Wingo <wingo@pobox.com>
6095 * gst/gstclock.h (GstClock): Add rate and offset properties,
6096 preserving ABI stability. Add rate/offset accessors. Will file bug
6097 for the freeze break.
6099 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
6100 and offset, trying to keep precision and avoiding
6102 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
6103 functions. Make gst_clock_set_time_adjust obsolete.
6104 (gst_clock_set_time_adjust): Note that this function is obsolete.
6107 * gst/base/gstbasetransform.h: Make the ABI-stability hack
6108 greppable by using GST_PADDING-1+1.
6110 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
6112 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6114 * gst/gstmessage.c: (gst_message_parse_clock_lost):
6115 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
6117 * gst/gstpadtemplate.h:
6118 * gst/gstpluginfeature.h:
6119 Don't use c++ style comments in headers (#321638).
6121 2005-11-16 Andy Wingo <wingo@pobox.com>
6123 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
6126 * check/net/gstnettimeprovider.c: Check to see that the time
6127 provider actually provides times. Works, yo!
6129 2005-11-16 Wim Taymans <wim@fluendo.com>
6131 * check/Makefile.am:
6134 * check/elements/fakesrc.c: (GST_START_TEST):
6135 Set element to NULL before disposing it.
6137 2005-11-16 Andy Wingo <wingo@pobox.com>
6139 * gst/net/Makefile.am:
6141 * gst/net/gstnettimeprovider.c:
6142 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
6143 provider, include it from gstnet.h, and add it to the build.
6145 * gst/net/gstnettimepacket.h:
6146 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
6147 sending and receiving.
6149 2005-11-16 Wim Taymans <wim@fluendo.com>
6151 * check/Makefile.am:
6152 Enable valgrind check.
6154 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
6155 (gst_fake_src_alloc_buffer):
6158 2005-11-16 Wim Taymans <wim@fluendo.com>
6160 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
6161 Call parent finalize too.
6163 2005-11-16 Wim Taymans <wim@fluendo.com>
6165 * check/Makefile.am:
6166 Enable valgrind check that should work fine now.
6168 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6169 * gst/gstqueue.c: (gst_queue_init):
6170 Fix memleaks in pad allocation.
6172 2005-11-16 Andy Wingo <wingo@pobox.com>
6174 * gst/net/Makefile.am:
6175 * gst/net/gstnet.h: New part of core to hold network elements and
6176 objects. Put in core because it exposes API that applications want
6177 to use. The library is named libgstnet-tempname right now because
6178 of the existing libgstnet in gst-plugins-base. Solution is
6179 probably to rename the one in plugins-base; will file a bug for
6182 * gst/net/gstnettimeprovider.c:
6183 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
6184 get_time call over the network.
6187 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
6189 * check/Makefile.am:
6190 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
6191 get additions shortly.
6193 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6195 * gst/gstpad.c: (gst_pad_new_from_static_template):
6197 add gst_pad_new_from_static_template functions
6198 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
6199 (gst_check_setup_sink_pad):
6200 * gst/elements/gsttee.c: (gst_tee_init):
6203 2005-11-16 Wim Taymans <wim@fluendo.com>
6205 * gst/gstpad.c: (gst_pad_pause_task):
6206 Removed warning, it's not really an error either.
6208 2005-11-16 Wim Taymans <wim@fluendo.com>
6210 * gst/base/gstbasetransform.c:
6211 (gst_base_transform_prepare_output_buf),
6212 (gst_base_transform_event):
6213 Check if the caps are NULL, this can happen if the element
6214 is shutting down and the pad caps are set to NULL.
6216 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6218 * gst/elements/gsttee.c: (gst_tee_init):
6219 fix pad template leak in tee
6221 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6223 * gst/glib-compat.c: (g_value_dup_gst_object):
6224 * gst/glib-compat.h:
6225 * gst/gstpad.c: (gst_pad_set_property):
6226 use gst_object_ref when setting the pad template; this will
6227 trigger the pad template leaks on GLib 2.6 and the slaves
6229 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6231 * gst/glib-compat.c: (gst_flags_get_first_value):
6232 * gst/glib-compat.h:
6233 * gst/gstregistryxml.c:
6234 remove functions copied from GLib 2.6
6236 2005-11-16 Michael Smith <msmith@fluendo.com>
6239 Don't link against VALGRIND_LIBS. That was always the wrong thing to
6240 do, but only breaks with newer valgrind versions. We're not a
6241 valgrind tool, we have no link-time dependencies on libcoregrind.
6243 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6245 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6250 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6252 * gst/base/gstbasesrc.c: (gst_base_src_init):
6253 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6254 * gst/gstqueue.c: (gst_queue_init):
6255 * gst/gstregistryxml.c: (load_feature):
6256 Revert all these unrefs, they don't even pass make check !
6258 2005-11-15 Johan Dahlin <johan@gnome.org>
6260 * gst/base/gstbasesrc.c: (gst_base_src_init):
6261 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6262 * gst/gstqueue.c: (gst_queue_init):
6263 Free pad templates, fixes a couple of leaks.
6265 2005-11-15 Daniel Fischer <dan at f3c dot com>
6267 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6269 * gst/gstpad.c: (gst_pad_get_property):
6270 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
6271 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
6274 2005-11-15 Wim Taymans <wim@fluendo.com>
6279 2005-11-15 Andy Wingo <wingo@pobox.com>
6281 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
6283 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
6284 using GST_CLOCK_TIME_NONE to disable base time management.
6285 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
6286 time if it was NONE before.
6287 (gst_pipeline_change_state): Only munge the base time if
6288 stream_time != GST_CLOCK_TIME_NONE.
6290 * check/gst/gstpipeline.c (test_base_time): Punt around the
6291 problem of the probe not being called, because that's not the
6292 issue I'm looking at. Add a check that setting stream_time to NONE
6293 disables base time management.
6295 2005-11-15 Wim Taymans <wim@fluendo.com>
6297 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6298 segment_stop == -1 at startup.
6300 * gst/base/gstbasetransform.c: (gst_base_transform_event),
6301 (gst_base_transform_change_state):
6302 Init segment values at start.
6304 2005-11-15 Wim Taymans <wim@fluendo.com>
6306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6307 0 segment values are 0 in any format.
6309 * gst/base/gstbasetransform.c: (gst_base_transform_event):
6310 * gst/base/gstbasetransform.h:
6311 Parse newsegment correctly in basetransform
6313 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6314 Sync to clock using updated segment values.
6316 2005-11-15 Andy Wingo <wingo@pobox.com>
6318 * check/gst/gstpipeline.c (test_base_time): Add check that the
6319 base time and stream time are reset correctly.
6321 2005-11-15 Wim Taymans <wim@fluendo.com>
6323 * docs/design/part-TODO.txt:
6324 Some more TODO items.
6326 2005-11-15 Andy Wingo <wingo@pobox.com>
6328 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
6329 error if the user selected "no clock" as the clocking method.
6331 * check/gst/gstpipeline.c (test_base_time): New test for buffer
6332 timestamps with live capture.
6334 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
6335 is 0 but we are a live source, timestamp the buffers using the
6338 2005-11-14 Stefan Kost <ensonic@users.sf.net>
6340 * docs/gst/gstreamer-sections.txt:
6342 * gst/gstghostpad.c:
6347 2005-11-14 Wim Taymans <wim@fluendo.com>
6350 add suppressions from Wim's Debian machine
6352 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
6355 add suppressions from Andy's AMD64 Ubuntu machine
6357 2005-11-14 Andy Wingo <wingo@pobox.com>
6359 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
6360 STATE_LOCK not necessary. Fixes #311489.
6362 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
6365 * gst/gstindex.c (gst_index_add_object): Note in the docs that
6366 this function is not implemented.
6368 2005-11-14 Julien MOUTTE <julien@moutte.net>
6370 * gst/base/gstbasetransform.c:
6371 (gst_base_transform_prepare_output_buf):
6372 Ref the source pad caps while we need them.
6375 2005-11-11 Wim Taymans <wim@fluendo.com>
6377 * docs/gst/gstreamer-sections.txt:
6378 Added some docs for GstCollectData.
6380 * gst/base/gstadapter.c:
6381 Some small code example fix.
6383 * gst/base/gstcollectpads.c:
6384 * gst/base/gstcollectpads.h:
6387 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6389 * configure.ac: back to HEAD
6391 === release 0.9.5 ===
6393 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6396 releasing 0.9.5, "Bike Lunch Day"
6398 2005-11-11 Wim Taymans <wim@fluendo.com>
6400 * gst/gstbuffer.c: (_gst_buffer_copy):
6403 * gst/gstcaps.c: (gst_caps_is_equal):
6405 Make _is_equal fast in the trivial cases.
6407 * gst/gstminiobject.c:
6408 * gst/gstminiobject.h:
6409 More docs. Spifify .h file.
6414 2005-11-11 Wim Taymans <wim@fluendo.com>
6416 * gst/base/gstbasetransform.c:
6417 (gst_base_transform_prepare_output_buf),
6418 (gst_base_transform_handle_buffer):
6420 If we're processing a buffer and need to allocate an output
6421 buffer, we cannot accept a format change. If we did get a
6422 format change, we have to alloc a buffer ourselves of the
6425 2005-11-11 Wim Taymans <wim@fluendo.com>
6427 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
6428 While checking the flag for reentrancy in the gstcaps function
6429 is nice to detect recursive invocations, it also makes it
6430 impossible to call getcaps from multiple threads, which must be
6431 possible. So, checking for recursive calls has to go.
6433 2005-11-11 Michael Smith <msmith@fluendo.com>
6435 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6436 Don't sync on buffers that fall partially outside our current
6437 segment. Prevents an assertion failure/abort playing some files.
6439 2005-11-10 Andy Wingo <wingo@pobox.com>
6441 * check/gst/gstbin.c (test_message_state_changed_children): Style
6444 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
6445 gst_bus_poll with the signal watch. Ensures that poll and a signal
6446 watch see the same messages.
6448 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
6449 a poll and a watch at the same time get the same messages.
6451 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
6453 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
6454 * gst/gstcaps.c: (gst_caps_intersect):
6455 Don't call gst_caps_do_simplify - it doesn't respect order of caps
6456 and it's not needed.
6458 2005-11-10 Wim Taymans <wim@fluendo.com>
6460 * docs/design/part-TODO.txt:
6463 2005-11-10 Wim Taymans <wim@fluendo.com>
6465 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6466 * gst/base/gstbasesrc.c: (gst_base_src_wait),
6467 (gst_base_src_do_sync), (gst_base_src_get_range):
6468 Implement clock sync in base class.
6470 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
6472 patch by: Tim-Philipp Müller <tim at centricular dot net>
6474 * gst/gststructure.c: (gst_structure_parse_field),
6475 (gst_structure_from_string):
6476 Forward-port a 0.8 patch to handle escaped spaces in structure string,
6477 so that gst_parse_launch() can deal with spaces in filtered link
6478 caps (fixes #164479)
6479 * check/gst/capslist.h:
6480 * check/gst/gststructure.c: (GST_START_TEST):
6481 add unit tests for this change
6483 2005-11-10 Wim Taymans <wim@fluendo.com>
6485 * docs/gst/gstreamer-sections.txt:
6488 Fix docs, move some STATE macros to private.
6490 2005-11-10 Wim Taymans <wim@fluendo.com>
6492 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6493 Added check for bug #317341
6497 Some more spiffifying.
6499 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
6500 Call peer linkfunction if we are a source pad. Totally fixes
6504 Update docs, source pads should call the peer linkfunction
6505 so they can atomically perform the pad link.
6507 2005-11-09 Wim Taymans <wim@fluendo.com>
6511 Uber-spiffy-spiffify some more.
6513 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
6515 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
6516 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6517 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6518 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
6519 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
6520 * gst/gstpad.c: (gst_pad_init):
6521 Use GST_DEBUG_FUNCPTR() more extensively.
6523 2005-11-09 Wim Taymans <wim@fluendo.com>
6525 * gst/gstobject.c: (gst_object_class_init):
6527 Documentation fixes.
6529 2005-11-09 Edward Hervey <edward@fluendo.com>
6531 * gst/gsttypefindfactory.c:
6534 2005-11-09 Edward Hervey <edward@fluendo.com>
6536 * gst/base/gsttypefindhelper.c:
6537 * gst/gsttypefind.c:
6538 * gst/gsttypefind.h:
6541 2005-11-09 Wim Taymans <wim@fluendo.com>
6543 * gst/gstiterator.c:
6550 2005-11-09 Wim Taymans <wim@fluendo.com>
6556 2005-11-09 Wim Taymans <wim@fluendo.com>
6558 * docs/gst/gstreamer-sections.txt:
6559 Moved the message async delivery private lock and cond
6560 to the private section.
6566 2005-11-09 Edward Hervey <edward@fluendo.com>
6568 * docs/gst/gstreamer-sections.txt:
6571 Document GstURIHandler
6573 2005-11-09 Wim Taymans <wim@fluendo.com>
6575 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
6576 (gst_iterator_find_custom):
6577 * gst/gstiterator.h:
6580 2005-11-09 Wim Taymans <wim@fluendo.com>
6583 Document another field.
6585 * gst/gststructure.c:
6586 * gst/gststructure.h:
6589 2005-11-09 Wim Taymans <wim@fluendo.com>
6594 2005-11-09 Wim Taymans <wim@fluendo.com>
6596 * docs/gst/gstreamer-sections.txt:
6597 Added some new macros.
6604 2005-11-09 Wim Taymans <wim@fluendo.com>
6606 * docs/design/part-TODO.txt:
6607 Some more items for the TODO
6613 2005-11-09 Andy Wingo <wingo@pobox.com>
6615 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
6616 to work on something else now tho...
6618 * gst/base/gstadapter.c: More adapter docs.
6620 * gst/elements/gstfilesink.c (gst_file_sink_start)
6621 (gst_file_sink_stop): New functions, replace the state change
6623 (gst_file_sink_class_init): Hook up the start and stop functions.
6624 (gst_file_sink_base_init): Don't set the state change handler any
6625 more. It was a bit ugly too, being set from here...
6626 (gst_file_sink_get_property, gst_file_sink_set_property):
6628 (gst_file_sink_set_location): More robust check that doesn't call
6631 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
6633 * gst/base/gstbasetransform.c: (gst_base_transform_event):
6634 Hold STREAM_LOCK while pushing newsegment or tag events as well.
6636 2005-11-08 Wim Taymans <wim@fluendo.com>
6638 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6639 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6640 (gst_base_sink_chain), (gst_base_sink_change_state):
6641 * gst/base/gstbasesink.h:
6642 * gst/base/gstbasesrc.h:
6645 Avoid excessive typechecking in macros.
6647 * gst/gstminiobject.c: (gst_mini_object_get_type),
6648 (gst_mini_object_init), (gst_mini_object_new),
6649 (gst_mini_object_free):
6650 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
6651 (gst_object_finalize):
6652 Remove cruft code, optimize alloc_trace.
6654 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
6656 * docs/faq/gst-uninstalled:
6657 fix up PS1 for systems that try to reset it
6659 2005-11-07 Wim Taymans <wim@fluendo.com>
6661 * gst/base/gstbasesrc.c: (gst_base_src_init),
6662 (gst_base_src_get_range):
6663 Set the segment_end to -1 initially. Fixed typefind.
6665 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
6667 * gst/base/gstadapter.c:
6668 Debug category should be 'adapter', not 'GstAdapter'.
6670 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
6671 (gst_collectpads_class_init), (gst_collectpads_init),
6672 (gst_collectpads_peek), (gst_collectpads_pop),
6673 (gst_collectpads_event), (gst_collectpads_chain):
6674 Add debug category and some debugging output. Use boilerplate
6675 macros. Remove some extraneous words from docs.
6677 2005-11-05 Andy Wingo <wingo@pobox.com>
6679 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
6682 2005-11-04 Stefan Kost <ensonic@users.sf.net>
6684 * docs/gst/gstreamer-sections.txt:
6687 * gst/gstminiobject.h:
6692 2005-11-04 Wim Taymans <wim@fluendo.com>
6694 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6695 Small update to stop at the configured segment_end
6698 2005-11-04 Stefan Kost <ensonic@users.sf.net>
6700 * gst/gstregistry.c:
6701 * gst/gstregistry.h:
6704 2005-11-04 Edward Hervey <edward@fluendo.com>
6706 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6707 Check if we are doing a segment seek and have arrived at the
6708 end of that segment.
6710 2005-11-04 Wim Taymans <wim@fluendo.com>
6712 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
6713 Don't leak a mutex unlock in case of an error.
6718 2005-11-04 Wim Taymans <wim@fluendo.com>
6720 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
6722 Get the context to wake up only once.
6724 2005-11-03 Wim Taymans <wim@fluendo.com>
6726 * check/states/sinks.c: (GST_START_TEST):
6727 Uncomment fixed check.
6729 * docs/design/part-TODO.txt:
6732 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6733 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
6734 (gst_base_sink_get_position):
6735 If we are going to PLAYING, post the right pending state
6736 when we post the intermediate paused message.
6738 * gst/gstelement.c: (gst_element_continue_state),
6739 (gst_element_set_state_func), (gst_element_change_state):
6740 Don't post state changes that were between the same state
6743 2005-11-03 Stefan Kost <ensonic@users.sf.net>
6745 * docs/gst/gstreamer-sections.txt:
6748 * gst/gstminiobject.h:
6751 more docs and doc style fixes
6753 2005-11-03 Stefan Kost <ensonic@users.sf.net>
6755 * docs/gst/gstreamer-sections.txt:
6757 * gst/gstminiobject.c:
6760 2005-11-03 Andy Wingo <wingo@pobox.com>
6762 * check/states/sinks.c (test_livesrc_sink): Add checks that the
6763 state-changed messages actually have the right order and the right
6766 2005-11-03 Wim Taymans <wim@fluendo.com>
6768 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
6769 Added some more checks. Specifically the case where NO_PREROLL
6770 elements are in the pipeline.
6772 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6773 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
6774 (gst_base_sink_get_position):
6775 Post READY->PAUSED state change messages too.
6776 Fix bug where VOID was posted as pending state...
6778 * gst/gstbin.c: (gst_bin_recalc_state):
6779 use _element_continue_state() to continue the state change.
6781 * gst/gstelement.c: (gst_element_continue_state),
6782 (gst_element_commit_state), (gst_element_set_state_func),
6783 (gst_element_change_state), (gst_element_change_state_func):
6784 Lots of state change cleanups, assign the STATE_RETURN in
6785 a new continue_state() function that also propagates the
6786 last return value from a state change to the app.
6787 Update some debug statements with proper category.
6789 2005-11-03 Wim Taymans <wim@fluendo.com>
6791 * docs/design/part-events.txt:
6792 * docs/design/part-gstpipeline.txt:
6793 * docs/design/part-messages.txt:
6794 * docs/design/part-overview.txt:
6795 * docs/design/part-seeking.txt:
6796 * docs/design/part-states.txt:
6797 * docs/design/part-trickmodes.txt:
6798 * docs/manual/advanced-position.xml:
6802 People think !! is ugly, this looks better.
6804 * gst/gstpad.c: (gst_pad_set_blocked_async):
6805 Remove !! since it's fixed elsewhere now.
6807 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
6809 * gst/gstminiobject.h:
6811 Add !! to _FLAG_IS_SET macros to make the result boolean.
6813 2005-11-03 Edward Hervey <edward@fluendo.com>
6815 * gst/gstpad.c: (gst_pad_set_blocked_async):
6816 comparing a flag and a gboolean rarely returns coherent results...
6817 Added two characters (!!) to make that work correctly.
6819 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
6821 * gst/gstbus.c: (gst_bus_class_init):
6824 * gst/gstqueue.c: (gst_queue_loop):
6825 Don't assume a miniobject that isn't a buffer is an
6826 event (it could be that there is a refcounting
6827 problem somewhere and the pointer is stale and
6828 refers to an already destroyed miniobject).
6830 2005-11-03 Julien MOUTTE <julien@moutte.net>
6832 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
6834 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
6836 * docs/manual/advanced-position.xml:
6837 Update seek example and explanations to current 0.9 API.
6839 * gst/elements/gsttypefindelement.c:
6840 (gst_type_find_element_activate):
6841 Remove FIXME comment now that the found caps
6844 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
6846 * gst/gstregistryxml.c: (load_feature):
6847 Add another GST_STR_NULL instance
6849 2005-11-02 Edward Hervey <edward@fluendo.com>
6851 * gst/gstpad.c: (handle_pad_block):
6852 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
6854 2005-11-02 Wim Taymans <wim@fluendo.com>
6859 * gst/gstelement.c: (gst_element_commit_state):
6860 Remove unused value.
6862 * gst/gstiterator.c:
6863 Mention that the returned element is reffed in the docs.
6865 2005-11-02 Wim Taymans <wim@fluendo.com>
6867 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
6868 (gst_pad_push), (gst_pad_push_event):
6869 Unlock blocked pads when they are flushed.
6871 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
6874 * docs/gst/gstreamer-sections.txt:
6877 * gst/gstregistry.c: (gst_registry_scan_path_level):
6878 fix for a nasty little missed situation where an installed plug-in
6879 which was in the cache did not get overridden by an uninstalled one
6880 which was earlier in the plugin path because the newly created plugin
6881 for the uninstalled one (not in the registry) didn't get its
6882 ->registered set to TRUE
6884 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
6886 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
6887 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
6888 (gst_collectpads_is_active), (gst_collectpads_collect),
6889 (gst_collectpads_collect_range), (gst_collectpads_start),
6890 (gst_collectpads_stop), (gst_collectpads_peek),
6891 (gst_collectpads_pop), (gst_collectpads_available),
6892 (gst_collectpads_read), (gst_collectpads_flush):
6893 Guard public API with assertions.
6896 Fix docs for gst_pad_set_link_function().
6898 2005-11-02 Johan Dahlin <johan@gnome.org>
6900 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
6901 Unref found_caps after we used it.
6903 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
6905 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
6906 Don't try to ref NULL.
6908 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
6910 * win32/common/config.h.in:
6911 provide a GST_FUNCTION that just gives a string for now
6913 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
6915 * win32/common/gstenumtypes.c: (register_gst_object_flags),
6916 (gst_object_flags_get_type), (register_gst_bin_flags),
6917 (gst_bin_flags_get_type), (register_gst_buffer_flag),
6918 (gst_buffer_flag_get_type), (register_gst_bus_flags),
6919 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
6920 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
6921 (gst_clock_return_get_type), (register_gst_clock_entry_type),
6922 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
6923 (gst_clock_flags_get_type), (register_gst_state),
6924 (gst_state_get_type), (register_gst_state_change_return),
6925 (gst_state_change_return_get_type), (register_gst_state_change),
6926 (gst_state_change_get_type), (register_gst_element_flags),
6927 (gst_element_flags_get_type), (register_gst_core_error),
6928 (gst_core_error_get_type), (register_gst_library_error),
6929 (gst_library_error_get_type), (register_gst_resource_error),
6930 (gst_resource_error_get_type), (register_gst_stream_error),
6931 (gst_stream_error_get_type), (register_gst_event_type),
6932 (gst_event_type_get_type), (register_gst_seek_type),
6933 (gst_seek_type_get_type), (register_gst_seek_flags),
6934 (gst_seek_flags_get_type), (register_gst_format),
6935 (gst_format_get_type), (register_gst_index_certainty),
6936 (gst_index_certainty_get_type), (register_gst_index_entry_type),
6937 (gst_index_entry_type_get_type),
6938 (register_gst_index_lookup_method),
6939 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
6940 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
6941 (gst_index_resolver_method_get_type), (register_gst_index_flags),
6942 (gst_index_flags_get_type), (register_gst_debug_level),
6943 (gst_debug_level_get_type), (register_gst_debug_color_flags),
6944 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
6945 (gst_iterator_result_get_type), (register_gst_iterator_item),
6946 (gst_iterator_item_get_type), (register_gst_message_type),
6947 (gst_message_type_get_type), (register_gst_mini_object_flags),
6948 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
6949 (gst_pad_link_return_get_type), (register_gst_flow_return),
6950 (gst_flow_return_get_type), (register_gst_activate_mode),
6951 (gst_activate_mode_get_type), (register_gst_pad_direction),
6952 (gst_pad_direction_get_type), (register_gst_pad_flags),
6953 (gst_pad_flags_get_type), (register_gst_pad_presence),
6954 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
6955 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
6956 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
6957 (gst_plugin_error_get_type), (register_gst_plugin_flags),
6958 (gst_plugin_flags_get_type), (register_gst_rank),
6959 (gst_rank_get_type), (register_gst_query_type),
6960 (gst_query_type_get_type), (register_gst_tag_merge_mode),
6961 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
6962 (gst_tag_flag_get_type), (register_gst_task_state),
6963 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
6964 (gst_alloc_trace_flags_get_type),
6965 (register_gst_type_find_probability),
6966 (gst_type_find_probability_get_type), (register_gst_uri_type),
6967 (gst_uri_type_get_type), (register_gst_parse_error),
6968 (gst_parse_error_get_type):
6969 * win32/common/gstversion.h:
6972 2005-11-01 Luca Ognibene <luogni@tin.it>
6975 fix docs. popt is dead, long live GOption.
6977 2005-10-31 Wim Taymans <wim@fluendo.com>
6982 2005-10-31 Andy Wingo <wingo@pobox.com>
6986 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
6988 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
6989 need to serialize property notifications on GLib 2.8. GLib 2.6 has
6990 the possibility of deadlocks here if code calling notify() or
6991 set() has a lock that can be taken in another notify handler (ABBA
6992 with class lock and e.g. python GIL state lock).
6994 2005-10-28 Julien MOUTTE <julien@moutte.net>
6996 * gst/gstbus.c: Doc updates.
6998 2005-10-28 Wim Taymans <wim@fluendo.com>
7000 * docs/design/part-TODO.txt:
7001 * gst/gstiterator.c:
7002 * gst/gstsystemclock.c:
7003 * gst/gstsystemclock.h:
7006 2005-10-28 Edward Hervey <edward@fluendo.com>
7008 * docs/gst/gstreamer-docs.sgml:
7009 * docs/gst/gstreamer-sections.txt:
7010 the GstURIType documentation page is private, it only defines GstURIType
7011 which should be defined in the GstURIHandler page
7013 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
7015 * gst/gstbin.c: (gst_bin_class_init):
7018 Documentation updates.
7020 2005-10-28 Wim Taymans <wim@fluendo.com>
7022 * docs/gst/gstreamer-sections.txt:
7025 Documented the clocks.
7027 2005-10-28 Stefan Kost <ensonic@users.sf.net>
7029 * docs/gst/gstreamer-sections.txt:
7030 move some macros to private sections
7031 * gst/gstminiobject.c:
7032 * gst/gstminiobject.h:
7033 add descriptions provided by ds and some more
7035 mark macro as to be removed
7037 2005-10-28 Wim Taymans <wim@fluendo.com>
7039 * docs/design/part-TODO.txt:
7040 Add an item to TODO.
7042 * gst/gstiterator.c: (gst_iterator_fold),
7043 (gst_iterator_find_custom):
7044 * gst/gstiterator.h:
7047 2005-10-28 Wim Taymans <wim@fluendo.com>
7049 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7050 (gst_base_transform_init):
7053 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
7054 An EOS event marks the queue as completely filled.
7056 2005-10-27 Wim Taymans <wim@fluendo.com>
7058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7059 (gst_base_sink_do_sync), (gst_base_sink_get_position):
7060 Some more debugging.
7062 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
7063 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
7064 (gst_base_transform_event), (gst_base_transform_getrange),
7065 (gst_base_transform_chain):
7066 * gst/base/gstbasetransform.h:
7068 Protect transform and concurrent buffer alloc with a new lock.
7069 Try not to break ABI/API.
7071 2005-10-27 Wim Taymans <wim@fluendo.com>
7073 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7074 (gst_base_src_init), (gst_base_src_query),
7075 (gst_base_src_default_newsegment),
7076 (gst_base_src_configure_segment), (gst_base_src_do_seek),
7077 (gst_base_src_send_event), (gst_base_src_event_handler),
7078 (gst_base_src_pad_get_range), (gst_base_src_loop),
7079 (gst_base_src_unlock), (gst_base_src_default_negotiate),
7080 (gst_base_src_start), (gst_base_src_deactivate),
7081 (gst_base_src_activate_push), (gst_base_src_change_state):
7082 Move some stuff around and cleanup things.
7084 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
7086 * gst/base/gstbasesrc.c: (gst_base_src_query):
7087 Add missing break statements.
7089 2005-10-27 Wim Taymans <wim@fluendo.com>
7091 * check/gst/gstbin.c: (GST_START_TEST):
7092 An extra refcount is taken in basesrc.
7094 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7095 (gst_base_src_get_range), (gst_base_src_pad_get_range),
7096 (gst_base_src_loop):
7097 Small cleanups, check for flushing after being unlocked from the
7098 LIVE_LOCK. take refcounts correctly (not yet everywhere).
7099 Don't send out EOS when going to READY.
7101 2005-10-27 Wim Taymans <wim@fluendo.com>
7103 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7104 (gst_base_sink_get_position):
7107 * gst/gstbin.c: (message_check), (bin_replace_message),
7108 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7109 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7110 (bin_query_duration_init), (bin_query_duration_fold),
7111 (bin_query_duration_done), (bin_query_generic_fold),
7113 * tools/gst-launch.c: (main):
7116 2005-10-26 Stefan Kost <ensonic@users.sf.net>
7118 * examples/controller/audio-example.c: (main):
7119 * examples/queue/queue.c: (event_loop):
7120 * gst/base/gstbasetransform.h:
7121 * gst/gstelement.c: (gst_element_send_event):
7123 * gst/gstpad.c: (gst_pad_send_event):
7126 changing log priority in error situations
7128 2005-10-25 Wim Taymans <wim@fluendo.com>
7130 * gst/gstbin.c: (message_check), (bin_replace_message),
7131 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7132 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7133 (bin_query_duration_init), (bin_query_duration_fold),
7134 (bin_query_duration_done), (bin_query_generic_fold),
7136 Some doc and debug updates.
7137 Cache previously requested query DURATION for speed. invalidate
7138 cached duration if element posts a DURATION message.
7140 2005-10-25 Wim Taymans <wim@fluendo.com>
7142 * docs/design/part-TODO.txt:
7145 * gst/gstbin.c: (message_check), (bin_replace_message),
7146 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7147 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7148 (bin_query_duration_init), (bin_query_duration_fold),
7149 (bin_query_duration_done), (bin_query_generic_fold),
7151 Handle SEGMENT_START/DONE messages correctly.
7152 More evolved query algorithm that handles duration queries
7155 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
7156 (gst_element_get_state_func), (gst_element_abort_state),
7157 (gst_element_commit_state), (gst_element_lost_state):
7158 Some more debugging.
7163 2005-10-25 Wim Taymans <wim@fluendo.com>
7165 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7166 Don't use invalid stream_time.
7168 * gst/gstevent.c: (gst_event_new_newsegment):
7169 stream_time in newsegment cannot be undefined.
7171 2005-10-24 Wim Taymans <wim@fluendo.com>
7176 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7178 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
7180 2005-10-24 Stefan Kost <ensonic@users.sf.net>
7182 * docs/libs/tmpl/gstdparam.sgml:
7183 * docs/libs/tmpl/gstdplinint.sgml:
7184 * docs/libs/tmpl/gstdpman.sgml:
7185 * docs/libs/tmpl/gstdpsmooth.sgml:
7186 * docs/libs/tmpl/gstunitconvert.sgml:
7189 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
7194 === release 0.9.4 ===
7196 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
7199 releasing 0.9.4, "Tyrannosaurus Rex"
7201 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
7203 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
7204 (gst_file_sink_get_current_offset):
7205 Use fseeko() and ftello() if available. When falling back on
7206 lseek() to get the current offset, fflush() first to make sure
7207 everything is up-to-date and we get the right offset.
7209 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
7211 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7212 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7213 * gst/gsterror.c: (_gst_stream_errors_init):
7215 * gst/gstqueue.c: (gst_queue_loop):
7217 remove prematurely added error category and clean up the instances
7219 2005-10-21 Wim Taymans <wim@fluendo.com>
7221 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7222 (gst_base_sink_get_position), (gst_base_sink_query),
7223 (gst_base_sink_change_state):
7224 Simply set the right flag when going to playing, that's all
7225 we need to do instead of calling a function inside the object
7226 lock (that could take the lock as well and deadlock)
7228 2005-10-21 Wim Taymans <wim@fluendo.com>
7230 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
7231 (gst_base_src_loop):
7232 Don't warn, the peer element knows what to do best when
7233 the seek failed, it might try something else.
7235 2005-10-21 Wim Taymans <wim@fluendo.com>
7237 * gst/base/gstbasesrc.c: (gst_base_src_init),
7238 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7241 2005-10-21 Wim Taymans <wim@fluendo.com>
7243 * docs/design/part-segments.txt:
7246 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7247 Correctly set caps, even on the subbufer.
7249 2005-10-21 Wim Taymans <wim@fluendo.com>
7251 * docs/gst/gstreamer-docs.sgml:
7252 * docs/gst/gstreamer-sections.txt:
7259 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
7263 And 2% more doc coverage.
7265 2005-10-21 Andy Wingo <wingo@pobox.com>
7267 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
7270 2005-10-20 Wim Taymans <wim@fluendo.com>
7272 * gst/gsterror.c: (gst_error_get_message):
7275 * gst/gststructure.c:
7280 2005-10-20 Wim Taymans <wim@fluendo.com>
7285 Another 1% more coverage.
7287 2005-10-20 Wim Taymans <wim@fluendo.com>
7289 * docs/gst/gstreamer-sections.txt:
7290 * gst/gstelement.c: (gst_element_get_state_func),
7291 (gst_element_abort_state), (gst_element_commit_state),
7292 (gst_element_lost_state):
7294 * gst/gstquery.c: (gst_query_set_position),
7295 (gst_query_parse_position), (gst_query_set_duration),
7296 (gst_query_parse_duration), (gst_query_new_convert):
7298 Yay! 1% more docs coverage.
7300 2005-10-20 Wim Taymans <wim@fluendo.com>
7303 * gst/gstquery.c: (gst_query_set_position),
7304 (gst_query_parse_position), (gst_query_set_duration),
7305 (gst_query_parse_duration), (gst_query_new_convert):
7307 * gst/gstutils.c: (gst_element_query_convert):
7309 Docs and consistency fixes.
7311 2005-10-20 Wim Taymans <wim@fluendo.com>
7317 2005-10-20 Wim Taymans <wim@fluendo.com>
7319 * gst/gstbin.c: (message_check), (bin_replace_message),
7320 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7321 (update_degree), (gst_bin_sort_iterator_next),
7322 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
7323 Reworked the message handling a bit, cache the messages instead of
7324 only the senders. alows us to do more in the future.
7326 2005-10-20 Wim Taymans <wim@fluendo.com>
7328 * docs/design/part-TODO.txt:
7331 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7332 (gst_base_sink_query):
7333 Don't use clock time to report position when in EOS.
7335 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
7337 * tools/gst-inspect.c: (print_interfaces),
7338 (print_element_properties_info), (print_element_info):
7339 Fix interface output with gst-inspect -a; don't print
7340 newlines after double/float properties.
7342 2005-10-20 Wim Taymans <wim@fluendo.com>
7344 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7345 (gst_base_sink_query):
7346 Speed up current position calculation.
7348 * gst/base/gstbasesrc.c: (gst_base_src_query),
7349 (gst_base_src_default_newsegment):
7350 Correctly set stream position in newsegment.
7352 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
7353 (update_degree), (gst_bin_sort_iterator_next),
7354 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
7355 * gst/gstmessage.c: (gst_message_new_custom):
7356 Clean up debugging info
7358 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7359 (gst_queue_loop), (gst_queue_handle_src_query):
7362 2005-10-19 Wim Taymans <wim@fluendo.com>
7364 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7365 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7366 Fix query handling again.
7368 2005-10-19 Wim Taymans <wim@fluendo.com>
7370 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7371 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7372 * gst/base/gstbasesrc.c: (gst_base_src_query):
7373 * gst/elements/gstfilesink.c: (gst_file_sink_query):
7374 * gst/elements/gsttypefindelement.c:
7375 (gst_type_find_handle_src_query), (find_element_get_length),
7376 (gst_type_find_element_activate):
7379 * gst/gstquery.c: (gst_query_new_position),
7380 (gst_query_set_position), (gst_query_parse_position),
7381 (gst_query_new_duration), (gst_query_set_duration),
7382 (gst_query_parse_duration), (gst_query_set_segment),
7383 (gst_query_parse_segment):
7385 Bundling query position/duration is not a good idea since duration
7386 does not change much and we don't want to recalculate it for every
7387 position query, so they are separated again..
7388 Base value in segment query is not needed.
7390 * gst/gstqueue.c: (gst_queue_handle_src_query):
7391 * gst/gstutils.c: (gst_element_query_position),
7392 (gst_element_query_duration), (gst_pad_query_position),
7393 (gst_pad_query_duration):
7395 Updates for query API change.
7396 Added some docs here and there.
7398 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
7400 * check/gst/gstbin.c: (GST_START_TEST):
7401 * check/gst/gstghostpad.c: (GST_START_TEST):
7402 * check/pipelines/cleanup.c: (GST_START_TEST):
7403 wait on thread to die so we can check refcount correctly
7405 2005-10-18 Wim Taymans <wim@fluendo.com>
7407 * check/pipelines/stress.c: (GST_START_TEST):
7408 Make check a little more time consuming.
7410 2005-10-18 Wim Taymans <wim@fluendo.com>
7412 * check/Makefile.am:
7413 * check/pipelines/stress.c: (GST_START_TEST),
7414 (simple_launch_lines_suite), (main):
7415 Small state change torture test.
7417 * docs/design/part-states.txt:
7418 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7419 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
7420 (gst_base_sink_change_state):
7421 Never take state lock from streaming thread, clean up ugly
7422 hacks. Unfortunatly core does not yet support nice ways to
7425 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
7427 Start state recalc if a STATE_DIRTY message is posted, but only
7428 on the toplevel bin.
7430 * gst/gstelement.c: (gst_element_sync_state_with_parent),
7431 (gst_element_get_state_func), (gst_element_abort_state),
7432 (gst_element_commit_state), (gst_element_lost_state),
7433 (gst_element_set_state_func), (gst_element_change_state):
7435 State variables are now protected with the LOCK, the state
7436 lock is only used to serialize _set_state().
7438 2005-10-18 Wim Taymans <wim@fluendo.com>
7440 * check/gst/gstbin.c: (GST_START_TEST):
7441 * check/gst/gstmessage.c: (GST_START_TEST):
7442 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
7443 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
7445 * gst/gstelement.c: (gst_element_abort_state),
7446 (gst_element_commit_state), (gst_element_lost_state):
7447 * gst/gstmessage.c: (gst_message_new_state_changed),
7448 (gst_message_new_state_dirty), (gst_message_new_segment_start),
7449 (gst_message_new_segment_done), (gst_message_new_duration),
7450 (gst_message_parse_state_changed),
7451 (gst_message_parse_segment_start),
7452 (gst_message_parse_segment_done), (gst_message_parse_duration):
7454 * tools/gst-launch.c: (event_loop):
7455 Seriously, this is better than a previous commit as we only need
7456 to notify the fact that an element changed state in a streaming
7457 thread, marking the state of the parents dirty, hence the
7458 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
7461 2005-10-18 Wim Taymans <wim@fluendo.com>
7463 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
7464 (gst_bin_recalc_func):
7465 * gst/gstelement.c: (gst_element_set_clock),
7466 (gst_element_abort_state), (gst_element_lost_state):
7467 Cleanups, prepare for state change fixes.
7469 2005-10-18 Wim Taymans <wim@fluendo.com>
7472 * gst/gstelement.c: (gst_element_class_init),
7473 (gst_element_set_state), (gst_element_set_state_func):
7475 Pending ABI changes.
7476 GThreadPool in GstBinClass to monitor async state changes.
7477 state_cookie in GstElement to detect concurrent gst/set state.
7478 set_state is now virtual too in case a very complicated element
7479 has to be constructed.
7481 2005-10-18 Wim Taymans <wim@fluendo.com>
7483 * check/gst/gstbin.c: (GST_START_TEST):
7484 * check/gst/gstmessage.c: (GST_START_TEST):
7485 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
7486 * gst/gstbin.c: (bin_bus_handler):
7487 * gst/gstelement.c: (gst_element_commit_state),
7488 (gst_element_lost_state):
7489 * gst/gstmessage.c: (gst_message_new_state_changed),
7490 (gst_message_new_segment_start), (gst_message_new_segment_done),
7491 (gst_message_new_duration), (gst_message_parse_state_changed),
7492 (gst_message_parse_segment_start),
7493 (gst_message_parse_segment_done), (gst_message_parse_duration):
7495 * tools/gst-launch.c: (event_loop):
7496 Make messages future proof.
7497 state-change gets a flag if it was a message comming from the
7499 segment-start/stop can also be specified in other formats.
7500 A message to notify an app that a pipeline changed playback
7502 Also fix a GstMessage leak in -launch
7504 2005-10-18 Andy Wingo <wingo@pobox.com>
7506 * gst/gstelement.c (gst_element_dispose): More helpful message.
7508 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
7510 reviewed by: <delete if not using a buddy>
7512 * common/gtk-doc.mak:
7514 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
7516 * gst/gstregistry.c: (gst_registry_scan_path_level):
7517 unref a plug-in we get that was already initialized
7519 2005-10-18 Stefan Kost <ensonic@users.sf.net>
7521 * docs/gst/gstreamer-sections.txt:
7522 * docs/libs/gstreamer-libs-sections.txt:
7527 2005-10-17 Andy Wingo <wingo@pobox.com>
7529 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
7532 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
7534 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
7536 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
7537 (gst_element_get_state_func): Better debug message.
7538 (gst_element_commit_state): s/INFO/DEBUG/.
7539 (gst_element_lost_state, gst_element_change_state):
7541 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
7542 (gst_message_new_custom): s/INFO/LOG/.
7544 2005-10-17 Michael Smith <msmith@fluendo.com>
7546 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7547 Check if end time is valid using end time, not start time.
7549 2005-10-17 Stefan Kost <ensonic@users.sf.net>
7551 * check/gst-libs/controller.c: (GST_START_TEST),
7552 (gst_controller_suite):
7553 * libs/gst/controller/gstcontroller.c:
7554 (gst_controlled_property_set_interpolation_mode):
7555 * libs/gst/controller/gstcontroller.h:
7556 * libs/gst/controller/gstinterpolation.c:
7557 * testsuite/controller/.cvsignore:
7558 * testsuite/controller/Makefile.am:
7559 * testsuite/controller/interpolator.c:
7560 merge controller testsuites
7562 remove mem-chunk from docs
7564 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
7566 * gst/gstmemchunk.c:
7567 * gst/gstmemchunk.h:
7568 * gst/gsttrashstack.c:
7569 * gst/gsttrashstack.h:
7570 out. get out. you're fired. to the Attic !
7572 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
7574 * gst/gstcaps.c: (gst_caps_intersect):
7575 fix signedness issues in a (hopefully) correct way
7576 * gst/gstelement.c: (gst_element_pads_activate):
7578 * gst/gstobject.c: (gst_object_set_parent):
7581 2005-10-17 Julien MOUTTE <julien@moutte.net>
7583 * gst/gstvalue.h: Fix prototypes.
7585 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7587 * docs/gst/gstreamer-sections.txt:
7588 * gst/gst.c: (gst_version_string):
7590 * gst/gstversion.h.in:
7591 * win32/common/libgstreamer.def:
7592 add gst_version_string ()
7594 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7598 * gst/gst.c: (init_post):
7599 * win32/common/config.h.in:
7601 * gst/gstcaps.c: (gst_caps_intersect):
7602 use gint64, the range could be bigger than a guint
7604 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7607 document potential problem in 2038
7609 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7611 * gst/gstcaps.c: (gst_caps_intersect):
7612 Fix guint j diving under 0
7614 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7617 * win32/common/config.h:
7618 * win32/common/config.h.in:
7619 check for process.h, declares getpid() on Windows
7621 include process.h if we have it
7622 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
7623 * gst/gstmemchunk.h:
7624 fix signedness issues
7625 * win32/common/libgstreamer.def:
7628 2005-10-16 Julien MOUTTE <julien@moutte.net>
7630 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
7631 fix. Because of unsigned ints, caps intersection was going nuts and
7632 trying to access structures with G_MAXUINT index. That fixes
7633 videotestsrc ! ffmpegcolorspace ! fakesink
7634 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
7637 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7640 use the gettext macro
7641 * gst/elements/gstelements.c:
7643 * gst/indexers/gstindexers.c:
7644 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
7645 * win32/common/config.h:
7647 * win32/common/config.h.in:
7648 add the template to generate config.h
7649 * win32/common/gstenumtypes.c:
7650 * win32/common/gstversion.h:
7653 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7655 * gst/gst.c: (gst_version):
7656 * gst/gstversion.h.in:
7659 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
7662 Oops, add missing closing bracket.
7664 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7667 use common m4's for argument checking
7669 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
7671 * docs/gst/gstreamer-sections.txt:
7673 Add GST_EVENT_TYPE_NAME() macro.
7675 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7678 * gst/gstpluginfeature.c:
7680 privatize more symbols
7682 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7685 add srcdir, builddir includes to GST_ALL_CFLAGS, since
7686 everything that uses GStreamer API should have the includes
7688 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7690 * docs/gst/gstreamer-sections.txt:
7691 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7693 give each value a _get_type, removes the DATA exports
7695 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7699 remove _gst_registry_auto_load, not used anymore
7700 * gst/gstbin.c: (gst_bin_get_type):
7702 * gst/gstelement.c: (gst_element_get_type):
7704 * gst/gstobject.c: (gst_object_get_type):
7706 * gst/gstpad.c: (gst_pad_get_type):
7708 make _get_type functions similar, fixes data export from library
7710 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7713 correctly make conditionals
7714 * gst/elements/Makefile.am:
7715 * gst/elements/gstelements.c:
7716 fix typo causing fdsrc not to build
7718 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7720 * testsuite/Makefile.am:
7721 * testsuite/bytestream/.cvsignore:
7722 * testsuite/bytestream/Makefile.am:
7723 * testsuite/bytestream/filepadsink.c:
7724 * testsuite/bytestream/gstbstest.c:
7725 * testsuite/bytestream/test1.c:
7726 * testsuite/bytestream/testfile1:
7727 * testsuite/caps/normalisation.c:
7728 * testsuite/caps/random.c: (main):
7729 * testsuite/cleanup/.cvsignore:
7730 * testsuite/cleanup/Makefile.am:
7731 * testsuite/cleanup/cleanup1.c:
7732 * testsuite/cleanup/cleanup2.c:
7733 * testsuite/cleanup/cleanup3.c:
7734 * testsuite/cleanup/cleanup4.c:
7735 * testsuite/cleanup/cleanup5.c:
7736 * testsuite/controller/interpolator.c:
7737 * testsuite/debug/printf_extension.c: (main):
7738 * testsuite/elements/tee.c:
7739 * testsuite/negotiation/.cvsignore:
7740 * testsuite/negotiation/Makefile.am:
7741 * testsuite/negotiation/pad_link.c:
7742 * testsuite/pad/Makefile.am:
7743 * testsuite/pad/chainnopull.c:
7744 * testsuite/pad/getnopush.c:
7745 * testsuite/pad/link.c:
7746 * testsuite/refcounting/sched.c: (create_pipeline):
7747 * testsuite/registry/Makefile.am:
7748 * testsuite/registry/gst-print-formats.c:
7749 * testsuite/schedulers/.cvsignore:
7750 * testsuite/schedulers/142183-2.c:
7751 * testsuite/schedulers/142183.c:
7752 * testsuite/schedulers/143777-2.c:
7753 * testsuite/schedulers/143777.c:
7754 * testsuite/schedulers/147713.c:
7755 * testsuite/schedulers/147819.c:
7756 * testsuite/schedulers/147894-2.c:
7757 * testsuite/schedulers/147894.c:
7758 * testsuite/schedulers/Makefile.am:
7759 * testsuite/schedulers/group_link.c:
7760 * testsuite/schedulers/queue_link.c:
7761 * testsuite/schedulers/relink.c:
7762 * testsuite/schedulers/unlink.c:
7763 * testsuite/schedulers/unref.c:
7764 * testsuite/schedulers/useless_iteration.c:
7765 * testsuite/states/bin.c:
7766 clean out/remove some stuff from the testsuite directories
7768 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7771 check for some headers
7772 * gst/elements/Makefile.am:
7773 * gst/elements/gstelements.c:
7774 don't compile fdsrc without sys/socket.h
7775 * gst/indexers/Makefile.am:
7776 * gst/indexers/gstindexers.c: (plugin_init):
7777 don't compile fileindex without mmap
7779 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7786 * check/Makefile.am:
7787 * docs/gst/Makefile.am:
7788 * examples/helloworld/Makefile.am:
7790 * gst/base/Makefile.am:
7791 * gst/check/Makefile.am:
7792 * gst/elements/Makefile.am:
7793 * gst/indexers/Makefile.am:
7794 * gst/parse/Makefile.am:
7795 * libs/gst/controller/Makefile.am:
7796 * libs/gst/dataprotocol/Makefile.am:
7797 * examples/helloworld/helloworld.c: (event_loop):
7798 compile fixes, though it's not being compiled currently
7800 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
7802 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
7803 Add some simple tests for the new taglist date API.
7805 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
7807 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
7808 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
7809 Beautify 'last-message' output: print 'none' for buffer timestamps
7810 and durations if none is set; improve alignment with next messages.
7812 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
7814 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
7815 * gst/gstpluginfeature.h:
7816 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
7817 * gst/gstregistry.h:
7818 * docs/gst/gstreamer-sections.txt:
7819 Add new API to check plugin feature version requirements.
7821 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
7822 Some basic tests for the above.
7824 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7826 * gst/gststructure.c: (gst_structure_to_string):
7827 guard against NULL printf - happens when for example
7828 a message structure with GstClock gets serialized
7830 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
7832 * gst/base/gstcollectpads.c: (gst_collectpads_event):
7833 Fix presumable copy'n'pasto.
7835 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7837 * gst/elements/gstfakesrc.h:
7838 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
7839 * gst/elements/gsttypefindelement.c:
7841 * gst/elements/gstfilesink.c: (gst_file_sink_render):
7842 I wonder if this could actually write +2GB files before
7844 2005-10-13 Andy Wingo <wingo@pobox.com>
7846 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
7847 Fix Timmeke Waymans bug.
7848 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
7849 string of the proper length to gst_caps_from_string. There's a
7850 potential for, before this fix, that this could cause someone
7851 connecting over the network to cause a segfault if the payload is
7854 2005-10-13 Stefan Kost <ensonic@users.sf.net>
7856 * docs/design/draft-push-pull.txt:
7857 * docs/design/part-overview.txt:
7858 * docs/random/TODO-pre-0.9:
7859 * docs/random/old/ChangeLog.gstreamer:
7860 * gst/base/gstpushsrc.c:
7864 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7866 * gst/glib-compat.c: (gst_flags_get_first_value):
7867 * gst/glib-compat.h:
7868 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
7869 (gst_value_compare_double), (gst_value_serialize_flags):
7870 GLib 2.6 g_flags_get_first_value has a bug that triggers an
7873 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7875 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7876 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7878 * tools/gst-launch.c: (event_loop):
7879 print out clock nicely
7881 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
7883 * docs/gst/gstreamer-sections.txt:
7885 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
7886 (gst_tag_list_get_date_index):
7887 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
7888 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
7890 2005-10-13 Julien MOUTTE <julien@moutte.net>
7892 * gst/base/gstcollectpads.c: (gst_collectpads_event),
7893 (gst_collectpads_chain):
7894 * gst/base/gstcollectpads.h: Handle newsegment and store informations
7897 2005-10-13 Stefan Kost <ensonic@users.sf.net>
7899 * docs/gst/gstreamer-sections.txt:
7902 * tools/gst-inspect.c: (main):
7903 * tools/gst-launch.c: (main):
7904 * tools/gst-run.c: (main):
7905 * tools/gst-xmlinspect.c: (main):
7906 fix GOption context leaks
7909 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7913 * win32/common/config.h:
7915 * win32/vs6/grammar.dsp:
7916 * win32/vs6/libgstelements.dsp:
7917 * win32/vs6/libgstreamer.dsp:
7920 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
7922 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7923 * gst/base/gstbasesrc.c: (gst_base_src_query):
7924 fix more guint64<->gdouble conversions
7926 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
7929 add win32-update target
7930 * win32/common/gstconfig.h:
7931 * win32/common/gstenumtypes.c:
7932 * win32/common/gstenumtypes.h:
7933 * win32/common/gstversion.h:
7934 add files that visual studio can't generate
7936 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
7939 add a win32-update target
7942 2005-10-12 Wim Taymans <wim@fluendo.com>
7944 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7945 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
7946 * gst/gstelement.c: (gst_element_commit_state),
7947 (gst_element_set_state):
7948 Protect flags with proper lock.
7949 unref provided cached clock in dispose.
7951 2005-10-12 Stefan Kost <ensonic@users.sf.net>
7954 * gst/gstminiobject.h:
7956 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
7957 removed unused flags from miniobject
7960 2005-10-12 Wim Taymans <wim@fluendo.com>
7962 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
7963 (gst_file_sink_event), (gst_file_sink_render):
7964 Flush before seeking.
7966 2005-10-12 Andy Wingo <wingo@pobox.com>
7968 * gst/gst.c (gst_init_check): Ignore unknown options, as has
7969 always been the case.
7971 2005-10-12 Stefan Kost <ensonic@users.sf.net>
7973 * check/gst/gstbin.c: (GST_START_TEST):
7974 * docs/gst/gstreamer-sections.txt:
7975 * gst/base/gstbasesink.c: (gst_base_sink_init):
7976 * gst/base/gstbasesrc.c: (gst_base_src_init),
7977 (gst_base_src_get_range), (gst_base_src_check_get_range),
7978 (gst_base_src_start), (gst_base_src_stop):
7979 * gst/base/gstbasesrc.h:
7980 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
7981 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7982 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
7986 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
7988 * gst/gstelement.c: (gst_element_is_locked_state),
7989 (gst_element_set_locked_state), (gst_element_commit_state),
7990 (gst_element_set_state):
7992 * gst/gstindex.c: (gst_index_init):
7994 * gst/gstminiobject.h:
7995 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
7996 (gst_object_set_parent):
7998 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
7999 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
8001 * gst/gstpadtemplate.h:
8002 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
8003 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8004 * gst/gstpipeline.h:
8005 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8006 (gst_file_index_commit):
8007 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
8008 * testsuite/pad/link.c: (gst_test_src_init),
8009 (gst_test_filter_init), (gst_test_sink_init):
8010 * testsuite/states/locked.c: (main):
8011 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
8012 moved bitshift from macro to enum definition
8014 2005-10-12 Wim Taymans <wim@fluendo.com>
8016 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
8017 * gst/elements/gstfilesink.c: (gst_file_sink_event),
8018 (gst_file_sink_render):
8019 Some more debugging info.
8021 2005-10-12 Wim Taymans <wim@fluendo.com>
8023 * docs/design/part-states.txt:
8024 * tools/gst-launch.c: (main):
8026 Revert non-intentional change.
8028 2005-10-12 Wim Taymans <wim@fluendo.com>
8030 * check/gst/gstbin.c: (GST_START_TEST):
8031 * check/gst/gstelement.c: (GST_START_TEST):
8032 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
8033 * check/gst/gstghostpad.c: (GST_START_TEST):
8034 * check/gst/gstpipeline.c: (GST_START_TEST):
8035 * check/pipelines/simple_launch_lines.c: (run_pipeline):
8036 * check/states/sinks.c: (GST_START_TEST):
8037 * gst/elements/gsttypefindelement.c: (stop_typefinding):
8038 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8039 (gst_bin_remove_func), (gst_bin_get_state_func),
8040 (gst_bin_recalc_state), (gst_bin_change_state_func),
8042 * gst/gstelement.c: (gst_element_get_state_func),
8043 (gst_element_get_state), (gst_element_abort_state),
8044 (gst_element_commit_state), (gst_element_set_state),
8045 (gst_element_change_state), (gst_element_change_state_func):
8047 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
8048 (gst_pipeline_provide_clock_func):
8049 * gst/gstutils.c: (gst_element_link_pads_filtered):
8050 * tools/gst-launch.c: (main):
8051 * tools/gst-typefind.c: (main):
8052 Use GstClockTime in _get_state() instead of GTimeVal.
8053 Remove old code in gstutils.c
8055 2005-10-12 Andy Wingo <wingo@pobox.com>
8057 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
8060 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
8061 there is no task. Shouldn't affect any code, as nothing in our
8062 plugins checks this return value.
8063 (gst_pad_stop_task): Also take the stream lock if the pad has no
8066 2005-10-12 Wim Taymans <wim@fluendo.com>
8068 * gst/gstpad.c: (pre_activate), (post_activate),
8069 (gst_pad_activate_pull), (gst_pad_activate_push):
8070 Cleanup activation code. Reset old state if
8073 2005-10-12 Wim Taymans <wim@fluendo.com>
8075 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8076 (gst_base_sink_change_state):
8077 No need to prerol after receiving EOS.
8079 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8080 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
8081 * gst/elements/gstidentity.c: (gst_identity_event):
8082 Print events more verbosely.
8084 2005-10-12 Wim Taymans <wim@fluendo.com>
8086 * check/Makefile.am:
8087 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8088 * check/states/sinks2.c:
8089 Moved sinks2 testcode in sinks check.
8091 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8092 (gst_bin_remove_func), (gst_bin_recalc_state),
8093 (gst_bin_change_state_func), (bin_bus_handler):
8094 Fix potential race condition when _get_state() iterated over an
8095 ASYNC element right before it posted a state completion.
8098 Do proper cast here.
8100 * gst/gstevent.c: (gst_event_new_newsegment),
8101 (gst_event_parse_newsegment):
8102 A playback rate of 0.0 is not allowed.
8104 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8106 * win32/common/config.h:
8107 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
8108 (_trewinddir), (_ttelldir), (_tseekdir):
8109 * win32/common/dirent.h:
8110 * win32/common/gtchar.h:
8111 * win32/common/libgstbase.def:
8112 * win32/common/libgstreamer.def:
8113 * win32/vs6/grammar.dsp:
8114 * win32/vs6/gst_inspect.dsp:
8115 * win32/vs6/gst_launch.dsp:
8116 * win32/vs6/gstreamer.dsw:
8117 * win32/vs6/libgstbase.dsp:
8118 * win32/vs6/libgstelements.dsp:
8119 * win32/vs6/libgstreamer.dsp:
8120 Visual Studio 6 project files, and a new common directory.
8123 2005-10-11 Wim Taymans <wim@fluendo.com>
8125 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8126 (gst_base_sink_do_sync), (gst_base_sink_query),
8127 (gst_base_sink_change_state):
8128 * gst/base/gstbasesink.h:
8129 Correctly parse newsegment info.
8131 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8133 * gst/gst.c: (init_post):
8134 split plugin paths correctly
8136 2005-10-11 Wim Taymans <wim@fluendo.com>
8138 * check/gst/gstevent.c: (GST_START_TEST):
8139 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8140 (gst_base_sink_change_state):
8141 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
8142 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8143 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8144 * gst/gstevent.c: (gst_event_new_newsegment),
8145 (gst_event_parse_newsegment):
8147 Added extra flag to newsegment for future API freeze.
8148 Updated check and base elements.
8150 2005-10-11 Julien MOUTTE <julien@moutte.net>
8152 * gst/base/gstcollectpads.c: (gst_collectpads_init),
8153 (gst_collectpads_add_pad), (gst_collectpads_pop),
8154 (gst_collectpads_event), (gst_collectpads_chain):
8155 * gst/base/gstcollectpads.h: Handle EOS correctly.
8157 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8159 * tools/gst-launch.c: (main):
8160 more null protecting
8162 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8164 * gst/gst-i18n-lib.h:
8165 check for ENABLE_NLS, not GETTEXT_PACKAGE
8166 * gst/gstregistry.c: (gst_registry_add_plugin),
8167 (gst_registry_scan_path_level),
8168 (_gst_registry_remove_cache_plugins):
8169 protect possibly NULL strings
8170 * gst/parse/types.h:
8171 config.h already included before
8172 * tools/gst-inspect.c: (main):
8173 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
8174 check for ENABLE_NLS, not GETTEXT_PACKAGE
8175 * tools/gst-launch.c: (main):
8176 check for ENABLE_NLS, not GETTEXT_PACKAGE
8178 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8181 if we don't have glib, fail before testing 2.8
8182 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
8183 fix a leak, should fix plugins-base testsuite
8185 2005-10-11 Andy Wingo <wingo@pobox.com>
8187 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
8188 take the mode we're going to as an arg. Go head and set the mode
8189 and flushing flags now, so that if the activate function starts a
8190 thread all the flags will be in the right state.
8191 (post_activate): Renamed also. Just handle making sure streaming
8192 finishes for the deactivation case, and setting the deactivated
8194 (gst_pad_set_active): Complain loudly if deactivation fails.
8195 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
8196 (gst_pad_activate_push): Adapt to pre/post_activate changes,
8197 remove the terrible hack.
8199 2005-10-11 Wim Taymans <wim@fluendo.com>
8201 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8202 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
8203 (gst_bin_recalc_state), (gst_bin_change_state_func),
8204 (gst_bin_dispose), (bin_bus_handler):
8206 Prepare to make current EOS message queue more generic.
8209 * gst/gstevent.c: (gst_event_new_newsegment),
8210 (gst_event_parse_newsegment):
8212 Rename base to stream_time.
8217 2005-10-11 Wim Taymans <wim@fluendo.com>
8219 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8220 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
8221 (gst_bin_change_state_func), (bin_bus_handler):
8223 Work on proper clock selection.
8225 2005-10-11 Edward Hervey <edward@fluendo.com>
8227 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
8228 * libs/gst/controller/gstcontroller.h:
8229 Added GList* version of _remove_properties() in order to be able to wrap
8232 2005-10-11 Wim Taymans <wim@fluendo.com>
8234 * docs/design/part-states.txt:
8237 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
8238 (gst_bin_change_state_func), (bin_bus_handler):
8239 Doc updates. Don't distribute the same clock over and over again.
8245 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
8246 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
8247 (gst_pad_send_event):
8249 Make probe emission threadsafe again.
8250 Register quarks and move _get_name() from utils.
8253 * gst/gstpipeline.c: (gst_pipeline_class_init),
8254 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8255 Only redistribute the clock of it changed.
8257 * gst/gstsystemclock.h:
8262 Moved the _flow_get_name() to GstPad.
8264 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8266 * check/gst-libs/gdp.c: (GST_START_TEST):
8267 * check/gst/gstcaps.c: (GST_START_TEST):
8268 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
8269 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
8270 (gst_dp_packet_from_caps):
8271 fix more valgrind warnings before turning up the heat
8273 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8275 * gst/parse/grammar.y:
8276 some cleanup before the hacking
8278 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8280 * gst/base/gstbasesrc.c: (gst_base_src_query):
8282 * gst/gstutils.c: (gst_guint64_to_gdouble),
8283 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
8285 externalize, basesrc uses it
8286 obviously the implementation needs testing
8288 2005-10-10 Wim Taymans <wim@fluendo.com>
8290 * tests/sched/Makefile.am:
8291 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
8292 (make_pipeline3), (make_pipeline4), (print_elem), (main):
8294 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8296 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
8297 apparently converting from guint64 to double is not implemented
8300 2005-10-10 Wim Taymans <wim@fluendo.com>
8302 * check/Makefile.am:
8303 * check/generic/states.c: (GST_START_TEST):
8304 * check/gst/gstbin.c: (GST_START_TEST):
8305 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8306 * check/states/sinks.c: (GST_START_TEST):
8307 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
8309 Check fixes, use API as stated in design docs, remove hacks.
8311 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8312 (gst_base_sink_change_state):
8313 Catch stopping our task while we're shutting down.
8315 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8316 (gst_bin_remove_func), (gst_bin_get_state_func),
8317 (gst_bin_recalc_state), (gst_bin_change_state_func),
8320 * gst/gstelement.c: (gst_element_init),
8321 (gst_element_get_state_func), (gst_element_abort_state),
8322 (gst_element_commit_state), (gst_element_lost_state),
8323 (gst_element_set_state), (gst_element_change_state),
8324 (gst_element_change_state_func):
8326 New state change algorithm (see #318116)
8328 * gst/gstpipeline.c: (gst_pipeline_class_init),
8329 (gst_pipeline_init), (gst_pipeline_set_property),
8330 (gst_pipeline_get_property), (do_pipeline_seek),
8331 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8332 * gst/gstpipeline.h:
8333 Remove crude state change hacks.
8338 * tools/gst-launch.c: (main):
8339 Fixes for state change. Needs some more work to fully use the
8342 2005-10-10 Andy Wingo <wingo@pobox.com>
8344 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
8346 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
8347 this flag, but it's not even in GLib 2.6. Odd. Hack around the
8350 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8352 * gst/gstiterator.c: (gst_iterator_new):
8353 Fix my previous commit: GTypes passed to gst_iterator_new()
8354 can be fundamental types.
8356 2005-10-10 Wim Taymans <wim@fluendo.com>
8358 * gst/gstelement.c: (gst_element_iterate_pad_list),
8359 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
8360 (gst_element_iterate_sink_pads):
8361 Use src/sink pads lists for the respective iterators instead
8364 2005-10-10 Andy Wingo <wingo@pobox.com>
8366 Merged in popt removal + GOption addition patch from Ronald, bug
8369 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
8370 GstElement macros around, remove popt-related symbols, add goption
8373 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
8375 * docs/gst/Makefile.am:
8376 * docs/libs/Makefile.am: No POPT_CFLAGS.
8378 * examples/manual/Makefile.am:
8379 * docs/manual/basics-init.xml: Doc updates with an example.
8381 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8382 (gst_init), (parse_one_option), (parse_goption_arg):
8383 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
8384 bit of hand merging and debugging to get the GOption stuff working
8387 * tests/Makefile.am:
8388 * tools/Makefile.am:
8389 * tools/gst-inspect.c: (main):
8390 * tools/gst-launch.c: (main):
8391 * tools/gst-run.c: (main):
8392 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
8394 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8396 * gst/gstiterator.c: (gst_iterator_new):
8397 Add assertions to make sure passed GType is likely to really
8398 be a GType (as the compiler won't catch it if the size and
8399 GType arguments get mixed up, see #318447).
8401 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
8403 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8405 * gst/gstbin.c: (gst_bin_iterate_sorted):
8406 Pass GType and size arguments to gst_iterator_new() in the right
8407 order (maybe we should make _new() take the GType as first argument
8408 just like _new_list()?) (#318447).
8411 2005-10-10 Wim Taymans <wim@fluendo.com>
8413 * gst/gstelement.c: (gst_element_finalize):
8414 And free the GStaticRecMutex too
8416 2005-10-10 Andy Wingo <wingo@pobox.com>
8418 * gst/gstelement.c (gst_element_init, gst_element_finalize):
8419 Allocate and free the mutex properly.
8421 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
8423 (GstElement): The state_lock is now recursive. Rebuild your
8424 plugins, suckers. Old macros adapted.
8426 * docs/gst/gstreamer-sections.txt: Doc updates.
8429 * gst/gstutils.c (g_static_rec_cond_timed_wait)
8430 (g_static_rec_cond_wait): Ported from state changes patch, while
8431 we wait on bug #317802 to be solved in a well-distributed GLib.
8433 * gst/gstelement.c (gst_element_change_state_func): Renamed from
8434 gst_element_change_state, variable name changes.
8435 (gst_element_change_state): Split out of gst_element_set_state in
8436 preparation for the state change merge. Doesn't pay attention to
8437 the 'transition' argument.
8438 (gst_element_set_state): Updates, hopefully purely cosmetic.
8439 (gst_element_sync_state_with_parent): MT-safety. Ported from the
8441 (gst_element_get_state_func): Renamed from get_state, cosmetic
8444 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8446 * gst/elements/gstelements.c:
8447 * win32/GStreamer.vcproj:
8449 * win32/dirent.c: (_tseekdir):
8450 * win32/gst-inspect.vcproj:
8451 * win32/gst-launch.vcproj:
8452 * win32/gstconfig.h:
8453 * win32/gstelements.vcproj:
8454 * win32/gstenumtypes.c: (gst_object_flags_get_type):
8455 * win32/gstreamer.def:
8457 updates for the win32 build (patch from Sebastien Moutte)
8459 2005-10-10 Andy Wingo <wingo@pobox.com>
8461 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
8462 gst_bin_get_state, cleaned up (but no logic changes).
8463 (bin_element_is_sink): Comment updates.
8464 (sink_iterator_filter): Remove needless cast.
8465 (gst_bin_iterate_sinks): Doc update.
8466 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
8467 cleaned up (but no logic changes).
8469 * check/states/sinks.c (test_src_sink): Cleanups from the state
8471 (test_livesrc_sink): Sync on the state.
8473 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
8474 the state change patch.
8476 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
8479 * check/gst/gstbin.c: Merge in some style fixes and additional
8480 checks from Wim's state change patch.
8482 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8484 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8485 (gst_type_find_helper):
8486 Check whether we have the requested data already in our list of
8487 cached buffers before pulling a new buffer; also make the buffer
8488 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
8490 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8495 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8496 don't use long long, it's not portable. Replacing with
8497 gint64 seems to work; let's hope no skeletons fall out of the closet.
8499 2005-10-10 Andy Wingo <wingo@pobox.com>
8501 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
8503 2005-10-09 Stefan Kost <ensonic@users.sf.net>
8505 * docs/gst/gstreamer-sections.txt:
8510 * gst/gstmessage.c: (gst_message_parse_state_changed):
8513 more docs, fix compilation
8515 2005-10-09 Philippe Khalaf <burger@speedy.org>
8517 Fixed a few forgotten variables on previous commit
8519 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
8521 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8522 Fix evil typefind crasher: getrange() might return a short
8523 buffer at the end of a file, but gst_type_find_peek() must
8524 either return the full data as requested or NULL, but
8525 never a short buffer.
8527 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
8529 * gst/gstmessage.c: (gst_message_new_state_changed),
8530 (gst_message_parse_state_changed):
8532 don't use "new", it's a C++ keyword
8534 2005-10-08 Wim Taymans <wim@fluendo.com>
8536 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
8537 * gst/gstelement.c: (gst_element_post_message):
8538 * gst/gstpipeline.c: (gst_pipeline_change_state):
8539 Small docs and debug updates.
8541 2005-10-08 Stefan Kost <ensonic@users.sf.net>
8543 * docs/gst/gstreamer-sections.txt:
8544 * gst/gstelementfactory.c:
8549 2005-10-08 Wim Taymans <wim@fluendo.com>
8551 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
8552 (gst_bin_dispose), (bin_bus_handler):
8553 Fix typos, add comments.
8554 Clear EOS list when going to PAUSED from any direction and do it
8555 in a threadsafe way.
8556 Get base time in a threadsafe way too.
8557 Fix confusing debug in the change_state function.
8558 Various other small cleanups.
8560 * gst/gstelement.c: (gst_element_post_message):
8561 Fix very verbose bus posting code.
8563 * gst/gstpipeline.c: (gst_pipeline_class_init),
8564 (gst_pipeline_set_property), (gst_pipeline_get_property),
8565 (gst_pipeline_change_state):
8566 Small ARG_ -> PROP_ cleanup
8568 2005-10-08 Wim Taymans <wim@fluendo.com>
8570 * gst/gstbin.c: (is_eos), (bin_bus_handler):
8571 Do a less CPU demanding EOS check because we can.
8573 2005-10-08 Wim Taymans <wim@fluendo.com>
8575 * libs/gst/dataprotocol/dataprotocol.c:
8576 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8577 (gst_dp_packet_from_event):
8578 * libs/gst/dataprotocol/dataprotocol.h:
8579 * libs/gst/dataprotocol/dp-private.h:
8580 It's about time we bump the version number.
8581 Since event types don't fit in the guint8 anymore describing
8582 the payload type, make payload type 16 bits wide.
8584 2005-10-08 Wim Taymans <wim@fluendo.com>
8586 * docs/design/part-TODO.txt:
8587 * docs/design/part-clocks.txt:
8588 * docs/design/part-events.txt:
8589 * docs/design/part-gstbin.txt:
8590 * docs/design/part-gstelement.txt:
8591 * docs/design/part-gstpipeline.txt:
8592 * docs/design/part-live-source.txt:
8593 * docs/design/part-messages.txt:
8594 * docs/design/part-overview.txt:
8595 * docs/design/part-states.txt:
8598 2005-10-08 Wim Taymans <wim@fluendo.com>
8602 Fix event quark registration.
8603 Add some space between events so we can insert them in the
8606 2005-10-08 Wim Taymans <wim@fluendo.com>
8608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8609 (gst_base_sink_handle_buffer):
8616 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8617 (gst_queue_set_property), (gst_queue_get_property):
8619 Remove old unused properties.
8621 2005-10-08 Stefan Kost <ensonic@users.sf.net>
8622 * docs/gst/gstreamer-sections.txt:
8625 * gst/gstminiobject.c:
8626 * gst/gstminiobject.h:
8630 lots of new docs and doc fixes
8632 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8634 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
8636 * gst/gstregistry.c: (gst_registry_lookup_locked),
8637 (gst_registry_scan_path_level):
8638 * gst/gstregistryxml.c: (load_plugin):
8639 Only ever load one plugin for a given plugin basename.
8640 This ensures correct overriding of GST_PLUGIN_PATH over
8641 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
8642 system installed plugins.
8644 2005-10-08 Wim Taymans <wim@fluendo.com>
8646 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8647 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
8648 Prepare for doing QOS.
8650 2005-10-08 Wim Taymans <wim@fluendo.com>
8652 * check/gst/gstbin.c: (GST_START_TEST):
8653 * check/pipelines/cleanup.c: (GST_START_TEST):
8654 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8655 Allow new clock message too.
8657 2005-10-08 Wim Taymans <wim@fluendo.com>
8659 * gst/gstmessage.c: (gst_message_new_error),
8660 (gst_message_new_warning), (gst_message_new_tag),
8661 (gst_message_new_state_changed), (gst_message_new_clock_provide),
8662 (gst_message_new_clock_lost), (gst_message_new_new_clock),
8663 (gst_message_new_segment_start), (gst_message_new_segment_done),
8664 (gst_message_parse_state_changed),
8665 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
8666 (gst_message_parse_new_clock):
8668 Also carry the clock in question.
8670 2005-10-08 Wim Taymans <wim@fluendo.com>
8672 * gst/gstmessage.c: (gst_message_new_custom),
8673 (gst_message_new_eos), (gst_message_new_error),
8674 (gst_message_new_warning), (gst_message_new_tag),
8675 (gst_message_new_state_changed), (gst_message_new_clock_provide),
8676 (gst_message_new_new_clock), (gst_message_new_segment_start),
8677 (gst_message_new_segment_done), (gst_message_parse_state_changed),
8678 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
8681 Added clock related messages.
8683 * gst/gstpipeline.c: (gst_pipeline_change_state):
8684 Post message when the clock changed.
8686 * tools/gst-launch.c: (event_loop):
8689 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
8691 * tools/gst-inspect.c: (print_element_properties_info):
8692 Can't pass NULL strings to g_print() on windows.
8694 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8697 * docs/gst/Makefile.am:
8698 * docs/gst/gstreamer-docs.sgml:
8699 * docs/gst/running.xml:
8700 * docs/version.entities.in:
8701 add a chapter on running GStreamer.
8702 document GST_DEBUG and GST_PLUGIN* env vars
8704 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8709 remove PLUGINS_BUILDDIR stuff
8710 * gst/gst.c: (init_post):
8711 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
8713 remove, it was condescending and not needed
8715 2005-10-08 Wim Taymans <wim@fluendo.com>
8717 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
8718 (gst_base_sink_handle_object), (gst_base_sink_event),
8719 (gst_base_sink_wait), (gst_base_sink_handle_event),
8720 (gst_base_sink_change_state):
8721 * gst/base/gstbasesink.h:
8722 Repost EOS message while going to PLAYING if still EOS.
8723 Make sure that when receiving a FLUSH_START we don't attempt
8724 to sync on the clock anymore.
8726 2005-10-08 Wim Taymans <wim@fluendo.com>
8728 * tools/gst-launch.c: (event_loop):
8729 Better message printout.
8731 2005-10-08 Wim Taymans <wim@fluendo.com>
8733 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
8734 (gst_bin_child_proxy_get_children_count):
8735 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8736 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
8737 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
8738 (gst_child_proxy_set_valist):
8739 * gst/parse/grammar.y:
8740 Make ChildProxy threadsafe and fix mem leaks.
8742 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8744 * gst/gst.c: (init_post):
8745 debug the GST_PLUGIN_ env vars
8747 2005-10-08 Wim Taymans <wim@fluendo.com>
8749 * check/gst/gstbin.c: (GST_START_TEST):
8750 * check/gst/gstmessage.c: (GST_START_TEST):
8751 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8752 * gst/gstelement.c: (gst_element_commit_state),
8753 (gst_element_lost_state):
8754 * gst/gstmessage.c: (gst_message_new_state_changed),
8755 (gst_message_parse_state_changed):
8757 * tools/gst-launch.c: (event_loop):
8758 Added extra field to STATE_CHANGE message with the pending
8759 state, which will be different from the new state soon.
8761 2005-10-08 Wim Taymans <wim@fluendo.com>
8763 * gst/gstbus.c: (gst_bus_pop):
8765 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8766 Small cleanups and doc updates.
8768 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8770 * gst/gst.c: (init_pre):
8771 * gst/gstbin.c: (gst_bin_add_func):
8772 log distributing clocks and base time
8773 * gst/gstregistry.c: (gst_registry_add_plugin),
8774 (gst_registry_scan_path_level), (gst_registry_scan_path):
8775 clean up the debugging output a little
8776 * gst/gstutils.c: (gst_element_state_get_name):
8777 warn about a memleak (I've actually seen this be used, though
8778 it was probably a bug)
8780 2005-10-07 Wim Taymans <wim@fluendo.com>
8782 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8783 (gst_base_src_init), (gst_base_src_default_newsegment),
8784 (gst_base_src_newsegment), (gst_base_src_do_seek),
8785 (gst_base_src_loop), (gst_base_src_start):
8786 * gst/base/gstbasesrc.h:
8787 Make the newsegment event customizable by subclasses.
8789 2005-10-07 Wim Taymans <wim@fluendo.com>
8791 * gst/gstevent.c: (gst_event_new_buffersize),
8792 (gst_event_parse_buffersize):
8794 New event for future idea.
8796 2005-10-07 Andy Wingo <wingo@pobox.com>
8798 * gst/gstelement.c (gst_element_post_message): Doc update.
8800 * docs/gst/gstreamer-sections.txt: Update.
8802 * gst/gstmessage.c (gst_message_new_application): Made into a
8803 function like honest API calls.
8804 (gst_message_new_element): New message type.
8806 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
8808 * check/elements/fakesrc.c (test_no_preroll): New check, checks
8809 that setting a live fakesrc to PAUSED returns NO_PREROLL both
8812 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
8813 NO_PREROLL from gst_element_change_state to fall through.
8815 2005-10-07 Wim Taymans <wim@fluendo.com>
8817 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
8818 (gst_ghost_pad_do_activate_push):
8819 Activating a ghostpad with no internal pad in push mode
8822 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
8825 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
8826 Fixes compilation on Windows.
8828 2005-10-07 Michael Smith <msmith@fluendo.com>
8830 * tools/gst-inspect.c:
8831 Print out feature and plugin count at the end when printing out
8834 2005-10-04 Michael Smith <msmith@fluendo.com>
8836 * gst/gsterror.c: (_gst_stream_errors_init):
8837 Add another error string used in a few existing plugins.
8840 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8841 * tools/gst-inspect.c: (print_element_info):
8842 When a feature disappears from a plugin (and the feature exists in
8843 the cached registry file), things went horribly wrong. This isn't a
8844 complete fix, we should actually be removing the 'missing' features
8845 from the features list when we load the actual plugin. That's not
8848 2005-10-04 Johan Dahlin <johan@gnome.org>
8850 * check/gst/gstiterator.c: (GST_START_TEST):
8851 * gst/gstbin.c: (gst_bin_iterate_elements),
8852 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
8853 * gst/gstelement.c: (gst_element_iterate_pads):
8854 * gst/gstformat.c: (gst_format_iterate_definitions):
8855 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8856 (gst_iterator_new_list), (gst_iterator_filter):
8857 * gst/gstiterator.h:
8858 * gst/gstquery.c: (gst_query_type_iterate_definitions):
8859 Add a GType to GstIterator, update callsites and tests.
8861 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
8863 * gst/gstpad.c: (gst_pad_event_default_dispatch):
8864 give events a chance to be handled by event probes when the pad
8867 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
8869 * gst/gstevent.c: (gst_event_type_get_name),
8870 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
8872 add string representations for event types
8874 2005-10-06 Wim Taymans <wim@fluendo.com>
8876 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
8877 Don't use NULL pointers.
8879 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
8881 * gst/gst_private.h:
8885 * gst/gstpluginfeature.c:
8886 widen the debug category in output to fit the biggest one we have
8887 add a bus category and use it
8888 play with the colors
8889 fix up some categories
8891 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
8893 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
8894 add push activation of sink ghost pads.
8895 Andye, please verify
8897 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
8899 * gst/gstutils.c: (gst_element_link_pads):
8900 fix a bug in the case where neither element has a pad
8901 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8902 add a test for that case
8904 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
8906 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
8907 emit have-data before checking for peers. This allows
8908 for probe handlers to connect elements. This helps autopluggers.
8909 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
8911 add six checks, linked/unlinked with no/true/false probe
8913 2005-10-04 Wim Taymans <wim@fluendo.com>
8915 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
8916 (gst_fake_sink_event), (gst_fake_sink_preroll),
8917 (gst_fake_sink_render), (gst_fake_sink_change_state):
8918 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
8919 (gst_fake_src_get_property), (gst_fake_src_create),
8920 (gst_fake_src_stop):
8921 * gst/elements/gstidentity.c: (gst_identity_stop):
8922 Protect last_message with lock.
8924 2005-10-04 Edward Hervey <edward@fluendo.com>
8927 Added precision in the comments for GST_FORMAT_DEFAULT
8929 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
8931 * tools/gst-launch.c: (main):
8932 Don't try to run erroneous pipelines.
8934 2005-10-04 Julien MOUTTE <julien@moutte.net>
8936 * gst/gstbus.c: We don't need this header.
8938 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
8943 === release 0.9.3 ===
8945 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
8949 Releasing 0.9.3, "Unregistered"
8951 2005-10-03 Andy Wingo <wingo@pobox.com>
8953 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
8954 whereby calling a pad's activatepush() function can start a thread
8955 that starts to push or pull before the pad gets the FLUSHING flag
8956 unset. Hack around it by holding the stream lock until the flag is
8957 set. Need to replace this with a proper solution. Together with
8958 the ghost pad fixes, this fixes mp3 playing/tagreading.
8960 * docs/design/part-gstghostpad.txt: Add a note about activation of
8961 proxy pads outside of ghost pads.
8963 * gst/gstghostpad.c: Implement the ghost pad activation design.
8965 2005-10-02 Andy Wingo <wingo@pobox.com>
8967 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
8968 It is volatile, after all.
8970 * docs/design/part-gstghostpad.txt: Flesh out activation with
8973 * gst/base/gstbasesrc.c (gst_base_src_init): Use
8976 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
8979 Fix (unused) AM_CONDITIONAL tests.
8981 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
8983 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8985 * gst/gstutils.c: (gst_pad_query_convert):
8986 Add assertion that makes sure src_val is >=0, just like
8987 gst_query_new_convert() has. (#315895)
8989 2005-09-30 Edward Hervey <edward@fluendo.com>
8991 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
8992 Let's not iterate pads we're not interested in, it avoids getting
8993 sky-high refcounts on sinkpad.
8995 2005-09-30 Wim Taymans <wim@fluendo.com>
8997 * gst/gstelement.c: (gst_element_set_state),
8998 (gst_element_change_state):
8999 Small tweak, element in ASYNC remains ASYNC.
9001 2005-09-30 Wim Taymans <wim@fluendo.com>
9003 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9004 Only error is an error.
9006 * gst/gstbin.c: (gst_bin_change_state):
9009 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
9010 Also call pad_block in pad alloc.
9012 * gst/gstutils.c: (gst_flow_get_name):
9015 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9017 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9018 (gst_base_src_get_range):
9019 Fix documentation typos. Add some more debug info.
9021 2005-09-29 David Schleef <ds@schleef.org>
9023 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
9024 more end-user friendly.
9025 * tools/gst-inspect.c: (main): Check if command-line argument is
9026 a file and attempt to load that file as a plugin.
9028 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9030 * check/gst/gstbin.c:
9031 * check/states/sinks.c:
9032 fix tests for the new warning
9033 * check/gst/gstpipeline.c:
9034 add a test for pipeline and bus interaction
9036 elements should be NULL if they get disposed; add a warning if not
9038 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9041 for 2.6 refcounting, make debug log more correct by printing
9042 the actual refcounts at the time of swap (Wim)
9044 2005-09-29 Andy Wingo <wingo@pobox.com>
9046 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
9047 removes signal watches previously added via
9048 gst_bus_add_signal_watch.
9049 (gst_bus_add_signal_watch): Don't return the source id, just store
9050 it on the bus if there wasn't an id already.
9052 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
9053 add_signal_watch and remove_signal_watch.
9055 2005-09-29 Edward Hervey <edward@fluendo.com>
9057 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9058 Better if we actually iterate the list :)
9060 2005-09-29 Wim Taymans <wim@fluendo.com>
9062 * check/gst/gstbin.c: (GST_START_TEST):
9063 Change for new bus API.
9065 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9066 (send_messages), (GST_START_TEST), (gstbus_suite):
9067 Change for new bus signal API.
9069 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
9070 (gst_bus_source_prepare), (gst_bus_source_check),
9071 (gst_bus_create_watch), (gst_bus_add_watch_full),
9072 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
9073 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
9075 Remove support for multiple GSources operating on different
9076 message types as it is too complex and unneeded when using
9078 Added support for receiving signals from the bus.
9080 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9082 * docs/libs/tmpl/gstdataprotocol.sgml:
9083 * docs/manual/advanced-dataaccess.xml:
9084 * gst/elements/gstcapsfilter.c:
9086 rename filter-caps to caps property
9088 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9090 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9091 More robust fraction string parsing.
9093 * docs/pwg/appendix-porting.xml:
9094 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
9096 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9098 * gst/gstcaps.c: (gst_caps_do_simplify):
9099 Thou shalt not free a structure and then continue using it
9100 in the next loop iteration.
9102 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
9104 Add test case for caps simplification.
9106 2005-09-29 Wim Taymans <wim@fluendo.com>
9108 * check/gst/gstbin.c: (GST_START_TEST):
9111 2005-09-29 Wim Taymans <wim@fluendo.com>
9113 * check/gst/gstbin.c: (GST_START_TEST):
9116 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9117 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9118 (find_element), (gst_bin_sort_iterator_next),
9119 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9120 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9121 (gst_bin_change_state), (gst_bin_dispose):
9122 A bin does not have a bus, it gets the bus from the parent.
9124 * gst/gstelement.c: (gst_element_requires_clock),
9125 (gst_element_provides_clock), (gst_element_is_indexable),
9126 (gst_element_is_locked_state), (gst_element_change_state),
9127 (gst_element_set_bus_func):
9130 * gst/gstpipeline.c: (gst_pipeline_class_init),
9131 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
9132 The pipeline provides a bus.
9134 2005-09-28 Johan Dahlin <johan@gnome.org>
9136 * gst/gstmessage.c (gst_message_parse_state_changed): Use
9137 gst_structure_get_enum instead of gst_structure_get_int
9139 * gst/gststructure.c (gst_structure_get_enum): Impl.
9141 * gst/gststructure.h (gst_structure_get_enum): Add
9143 * docs/gst/gstreamer-sections.txt: Ditto
9145 * gst/gstmessage.c (gst_message_new_state_changed): Use
9146 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
9147 which does introspection.
9148 Reviewed by Christian Schaller
9150 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9152 * gst/gstinfo.c: (gst_debug_log_default):
9153 don't do dummy g_strdup()s
9154 * libs/gst/controller/gstcontroller.c:
9155 (on_object_controlled_property_changed),
9156 (gst_controlled_property_new), (gst_controller_new_valist),
9157 (gst_controller_new_list),
9158 (gst_controller_remove_properties_valist), (gst_controller_set),
9159 (gst_controller_get), (gst_controller_sync_values),
9160 (gst_controller_get_value_array), (_gst_controller_class_init),
9161 (gst_controller_get_type):
9162 * libs/gst/controller/gstcontroller.h:
9163 * libs/gst/controller/gstinterpolation.c:
9164 (gst_controlled_property_find_timed_value_node):
9165 convert // to /**/ comments
9167 2005-09-28 Wim Taymans <wim@fluendo.com>
9169 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
9170 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
9171 (gst_bus_sync_signal_handler):
9173 Added async-message and sync-message signals to the bus.
9174 Added helper BusFunc to emit signals for all posted messages.
9176 * gst/gstmessage.c: (gst_message_type_get_name),
9177 (gst_message_type_to_quark), (gst_message_get_type):
9179 Register quarks for message names.
9181 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9183 * docs/libs/gstreamer-libs-sections.txt:
9184 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9185 (gst_controller_new_list):
9186 * libs/gst/controller/gstcontroller.h:
9187 added another constructor for language bindings
9189 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
9191 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9195 * gst/gstinfo.c: (_gst_debug_init):
9196 slightly more readable color for refcount debugging
9198 2005-09-28 Wim Taymans <wim@fluendo.com>
9200 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9201 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9202 (find_element), (gst_bin_sort_iterator_next),
9203 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9204 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9205 (gst_bin_change_state), (gst_bin_dispose):
9206 Small doc fixes. get_clock -> provide_clock.
9208 * gst/gstelement.c: (gst_element_class_init),
9209 (gst_element_provides_clock), (gst_element_provide_clock),
9210 (gst_element_get_clock), (gst_element_commit_state),
9211 (gst_element_lost_state):
9213 Make get/set_clock() symetric. Add provide_clock vmethod since
9214 that is actually what this function does.
9216 * gst/gstpipeline.c: (gst_pipeline_class_init),
9217 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
9218 (gst_pipeline_get_clock):
9219 get_clock -> provide_clock.
9221 2005-09-28 Andy Wingo <wingo@pobox.com>
9223 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
9224 lieu of real docs...
9226 * gst/elements/gstfdsrc.c: Cleaned up a bit.
9228 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
9230 * gst/elements/gstcapsfilter.c:
9231 * gst/elements/gstfakesink.c:
9232 * gst/elements/gstfakesrc.c:
9233 * gst/elements/gstfdsink.c:
9234 * gst/elements/gstfdsrc.c:
9235 * gst/elements/gstfilesink.c:
9236 * gst/elements/gstfilesrc.c:
9237 * gst/elements/gstidentity.c:
9238 * gst/elements/gsttee.c:
9239 * gst/elements/gsttypefindelement.c:
9240 Make element details static.
9242 2005-09-28 Wim Taymans <wim@fluendo.com>
9244 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9245 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9246 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9247 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9248 (gst_bin_change_state), (gst_bin_dispose):
9249 Some documentation updates.
9250 Clean up dispose handlers.
9252 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
9253 * gst/gstpad.c: (gst_pad_dispose):
9254 Clean up dispose handler.
9256 * gst/gstpipeline.c: (gst_pipeline_change_state):
9257 Removed spurious UNLOCK.
9259 2005-09-27 Stefan Kost <ensonic@users.sf.net>
9261 * docs/gst/gstreamer-sections.txt:
9262 * gst/base/gstbasesrc.h:
9267 * gst/gstpipeline.c:
9268 * gst/gstpipeline.h:
9271 added two new functions to the docs
9272 documents all undocumented GstXXXFlags
9273 completed some incomplete docs
9275 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
9277 * gst/gstbin.c: (gst_bin_dispose):
9278 * gst/gstelement.c: (gst_element_dispose):
9279 remove now useless and leaky resurrection code in dispose
9280 * gst/base/gstbasesrc.c: (gst_base_src_init):
9281 * gst/gstelementfactory.c: (gst_element_factory_create):
9282 * gst/gstobject.c: (gst_object_set_parent):
9285 2005-09-27 Wim Taymans <wim@fluendo.com>
9287 * docs/design/part-TODO.txt:
9290 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9291 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9292 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9293 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9294 (gst_bin_change_state):
9296 Remove element variable, we keep element info in the iterator now.
9298 2005-09-27 Andy Wingo <wingo@pobox.com>
9300 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
9303 2005-09-27 Wim Taymans <wim@fluendo.com>
9305 * check/gst/gstbin.c: (GST_START_TEST):
9306 Enable check that works now.
9308 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9309 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9310 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9311 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9312 (gst_bin_change_state):
9314 Redid the state change algorithm using a topological sort algo.
9315 Handles all cases correctly.
9316 Exposed iterator for state change order.
9319 Temp storage for state changes. Need to get rid of this soon.
9321 2005-09-27 Wim Taymans <wim@fluendo.com>
9323 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
9324 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
9325 (link_fold_func), (gst_pad_proxy_setcaps):
9326 Leak fixes, the fold functions need to unref the passed object and
9327 _get_parent_*() returns ref to parent.
9329 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9331 * check/gst/gstbuffer.c: (test_make_writable):
9332 Plug leak in test case and fix 'make check-valgrind'
9334 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9336 * gst/gstbuffer.c: (gst_subbuffer_init):
9337 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
9338 works correctly in all circumstances (we could have just copied
9339 the parent buffer's readonly flag, but conceptually it seems
9340 cleaner to mark all subbuffers as read-only). (based on patch
9341 by Alessandro Decina, #314710).
9343 * check/gst/gstbuffer.c: (create_read_only_buffer),
9344 (test_make_writable), (test_subbuffer_make_writable),
9346 Add some tests for gst_buffer_make_writable().
9348 2005-09-27 Wim Taymans <wim@fluendo.com>
9350 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
9351 use gst_object_has_ancestor().
9353 * gst/gstobject.c: (gst_object_has_ancestor):
9355 gst_object_has_ancestor() copied from gstbin.c as it is a
9358 * tests/instantiate/create.c: (create_all_elements):
9359 * tests/lat.c: (handoff_src), (handoff_sink):
9360 * tests/sched/runxml.c: (main):
9361 * tests/seeking/seeking1.c: (main):
9362 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9364 Fix compilation of some tests.
9366 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9369 Remove comment. GST_TYPE_G_ERROR is here to stay,
9370 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
9373 2005-09-26 Wim Taymans <wim@fluendo.com>
9375 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9376 Added check that shows error in state change order.
9378 2005-09-26 Wim Taymans <wim@fluendo.com>
9380 * gst/gstbin.c: (gst_bin_change_state):
9381 Make state change function use 3 queues again, we were
9382 adding elements in the wrong order.
9384 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9387 * gst/gstpad.c: (gst_pad_dispose):
9388 Added some debug info first.
9390 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
9392 * docs/design/draft-push-pull.txt:
9393 * docs/design/part-events.txt:
9394 * docs/design/part-overview.txt:
9395 * docs/design/part-scheduling.txt:
9396 Replace all _pull_region() with _pull_range()
9398 2005-09-26 Andy Wingo <wingo@pobox.com>
9400 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
9402 * check/gst-libs/controller.c: Update for controller api change.
9405 * tests/Makefile.am:
9406 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
9407 over by GLib bug 118439.
9409 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
9410 routines to a function.
9412 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
9414 * libs/gst/controller/gsthelper.c:
9415 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
9416 (gst_object_sync_values): Renamed from sink_values. Ugh.
9418 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
9420 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
9421 Renamed from controller_key, as it is exported.
9423 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
9425 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
9430 * gst/gstpadtemplate.h:
9433 * gst/gstqueryutils.c:
9434 * gst/gstqueryutils.h:
9435 remove queryutils headers after moving the two used functions
9436 to gstquery. also fixes build problem for gstsiddec
9438 2005-09-26 Michael Smith <msmith@fluendo.com>
9440 * tools/gst-launch.1.in:
9441 Correct documentation in manpage of debug syntax
9443 2005-09-26 Wim Taymans <wim@fluendo.com>
9445 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9446 (gst_base_src_is_seekable), (gst_base_src_change_state):
9447 Some more debugging info.
9449 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9451 * docs/gst/gstreamer-sections.txt:
9452 * gst/base/gstbasetransform.h:
9456 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9458 * docs/gst/.cvsignore:
9459 * docs/gst/tmpl/.cvsignore:
9460 * docs/gst/tmpl/gstpipeline.sgml:
9461 * docs/gst/tmpl/gstplugin.sgml:
9462 * gst/gstpipeline.c:
9465 inlined the last two docs files
9466 removed the tmpl directory from cvs (no more conflicts here!)
9468 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9470 * docs/gst/gstreamer-sections.txt:
9471 * docs/gst/tmpl/.cvsignore:
9472 * docs/gst/tmpl/gstpad.sgml:
9473 * docs/gst/tmpl/gstpadtemplate.sgml:
9475 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9476 (gst_pad_finalize), (gst_pad_set_pad_template):
9478 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9479 (gst_pad_template_class_init), (gst_pad_template_init),
9480 (gst_pad_template_dispose), (name_is_valid),
9481 (gst_static_pad_template_get), (gst_pad_template_new),
9482 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
9483 (gst_pad_template_pad_created):
9484 * gst/gstpadtemplate.h:
9485 inlined two more docs
9486 factored gstpadtemplate out of gstpad
9488 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
9490 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
9491 (test_children_state_change_order_semi_sink):
9492 Fix test case: we can't rely on a fixed state change order when
9493 going from READY => PAUSED because the sink might commit its
9494 new state first when the first buffer created by the source
9495 reaches the sink before the source has finished its change state.
9496 (Test case still fails at times, see #316856, comment 5 onwards)
9498 2005-09-24 Wim Taymans <wim@fluendo.com>
9500 * docs/design/part-events.txt:
9501 * docs/design/part-gstbus.txt:
9502 * docs/design/part-gstpipeline.txt:
9503 * docs/design/part-messages.txt:
9504 * docs/design/part-overview.txt:
9505 * docs/design/part-segments.txt:
9512 * gst/gstiterator.c:
9513 Various documentation updates.
9515 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
9518 Well, that's embarassing. Luckily we weren't using
9519 GST_CLOCK_DIFF anywhere.
9521 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9523 * common/gtk-doc.mak:
9524 don't fail on building XML, FC4 slave shows a bunch of doc
9525 missing bits that I don't get
9527 * gst/gstpipeline.c:
9528 * gst/gststructure.c:
9531 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
9533 * docs/design/part-gstbin.txt:
9534 * docs/design/part-gstbus.txt:
9536 Add blurb about how the bus goes into flushing mode and
9537 drops all messages when its bin goes from READY into NULL
9540 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9542 * docs/gst/gstreamer-sections.txt:
9543 * gst/gststructure.c: (gst_structure_get_clock_time):
9544 * gst/gststructure.h:
9545 add a method to get a GstClockTime out of a structure
9547 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
9549 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
9550 (test_children_state_change_order_semi_sink), (gst_bin_suite):
9551 Added test to check state change order in bins (can still be made
9552 to fail here under heavy disk load; bails out with 'Push on pad
9553 fakesink:sink0, but it was not activated in push mode').
9555 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
9556 Fix state change order when there is only a semi sink (#316856)
9558 * gst/gstbus.c: (gst_bus_class_init):
9559 Use _class_peek_parent(), not _class_ref(); fix docs to say
9560 'default main context' instead of 'mainloop' where that is
9563 * gst/gstelement.c: (gst_element_commit_state),
9564 (gst_element_set_state):
9565 Fix typos in debug messages
9567 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9570 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
9571 * gst/gstpluginfeature.c:
9574 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9575 change an assert into an error until it gets fixed properly
9577 2005-09-23 Stefan Kost <ensonic@users.sf.net>
9579 * docs/gst/gstreamer-sections.txt:
9580 * docs/gst/tmpl/.cvsignore:
9581 * docs/gst/tmpl/gstelement.sgml:
9582 * docs/gst/tmpl/gstinfo.sgml:
9583 * docs/gst/tmpl/gstobject.sgml:
9588 * gst/gstobject.c: (gst_object_class_init):
9590 inlined 3 more biiiig doc files and added some missing docs on the fly
9592 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9594 * check/gst/.cvsignore:
9595 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
9596 * gst/gstregistryxml.c: (load_plugin),
9597 (gst_registry_xml_save_plugin):
9598 put back source in registry. add checks for find_plugin.
9599 * testsuite/states/bin.c: (assert_state), (empty_bin),
9600 (test_adding_one_element), (main):
9601 * testsuite/states/locked.c: (main):
9602 some compile/run fixes
9604 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
9606 * check/gst/gstvalue.c: (GST_START_TEST):
9607 fix leaks in the test itself
9609 2005-09-22 Wim Taymans <wim@fluendo.com>
9611 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9612 (gst_base_sink_send_event), (gst_base_sink_peer_query),
9613 (gst_base_sink_query):
9614 Prepare for more accurate position reporting and query
9617 * gst/gstelement.c: (gst_element_send_event),
9618 (gst_element_set_state):
9621 2005-09-22 Wim Taymans <wim@fluendo.com>
9623 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
9624 (gst_query_parse_segment):
9627 Add segment query for future use.
9629 2005-09-22 Wim Taymans <wim@fluendo.com>
9631 * gst/gstbin.c: (gst_bin_add_func):
9632 Some more debug info.
9634 * gst/gstelement.c: (gst_element_send_event):
9638 Don't know how flags got broken.
9643 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
9645 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
9646 Add simplistic test suite for GST_TYPE_DATE serialisation and
9649 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
9651 * docs/gst/gstreamer-sections.txt:
9652 * gst/gststructure.c: (gst_structure_set_valist),
9653 (gst_structure_get_date):
9654 * gst/gststructure.h:
9655 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
9656 (gst_date_copy), (gst_value_compare_date),
9657 (gst_value_serialize_date), (gst_value_deserialize_date),
9658 (gst_value_transform_date_string),
9659 (gst_value_transform_string_date), (_gst_value_initialize):
9661 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
9662 bunch of utility functions along with a hack that checks that
9663 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
9664 is required. Part of the grand scheme in #170777.
9666 2005-09-22 Andy Wingo <wingo@pobox.com>
9668 * gst/gstconfig.h.in: Psych out gtk-doc.
9670 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
9672 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
9674 * tools/gst-inspect.c (print_element_list): Plug some
9675 inconsequential leaks.
9677 * gst/gstregistry.c (gst_registry_get_default): Doc.
9679 * check/gst/gstplugin.c:
9680 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
9681 * gst/gstelementfactory.c (gst_element_factory_create):
9682 * gst/gstindexfactory.c (gst_index_factory_create): Update for
9685 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
9686 (gst_plugin_feature_load): Doc, don't eat refs.
9688 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
9689 (gst_plugin_list_free): Doc.
9690 (gst_plugin_load_file): Doc updates.
9692 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
9693 accessors returning refcounted objects, return a ref.
9695 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
9696 accessor for caps. IDEMPOTENCE. Oh yes.
9698 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
9700 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9702 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9703 (_gst_debug_register_funcptr):
9704 Add mutex to serialise access to the hash table with
9705 the function pointer => function name string mapping;
9706 make that hash table static scope (#316809).
9708 * gst/registries/.cvsignore:
9709 Remove left-over file.
9711 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
9713 * docs/pwg/appendix-porting.xml:
9714 And something about newsegment events and caps-on-buffers to
9715 the porting guide (feel free to improve).
9717 2005-09-21 Andy Wingo <wingo@pobox.com>
9719 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
9720 data and event probes on the same pad.
9721 (test_buffer_probe_once): Test that removing probes from within
9722 the probe functions works.
9724 2005-09-21 Andy Wingo <wingo@pobox.com>
9726 * check/gst/gstutils.c: New file.
9727 (test_buffer_probe_n_times): A simple buffer probe test. More to
9730 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
9731 have-data::buffer, not have-data.
9732 (gst_pad_add_event_probe): Likewise for have-data::event.
9733 (gst_pad_add_data_probe): More docs. The part about 'resolving the
9734 peer' isn't quite right yet though.
9735 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
9736 (gst_pad_remove_data_probe): Change to take the guint handler_id
9737 as their arg, not the function+data, which is more glib-like.
9739 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
9740 the signal emission to indicate if the data is a buffer or an
9742 (gst_pad_get_type): Initialize buffer and event quarks.
9743 (gst_pad_class_init): have-data is now a detailed signal, yes it
9746 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
9748 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
9749 * gst/gstutils.c: (gst_util_set_value_from_string),
9750 (gst_util_set_object_arg):
9751 Don't put functional code in g_return_if_fail() or
9752 g_return_val_if_fail() statements, otherwise things will
9753 break when G_DISABLE_CHECKS is defined during compilation.
9755 2005-09-21 Stefan Kost <ensonic@users.sf.net>
9757 * docs/gst/tmpl/.cvsignore:
9758 * docs/gst/tmpl/gstvalue.sgml:
9761 inlied another one and added some obvious docs
9763 2005-09-21 Wim Taymans <wim@fluendo.com>
9765 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
9766 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
9767 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
9768 (gst_fdsrc_get_property), (gst_fdsrc_create):
9769 * gst/elements/gstfdsrc.h:
9770 Properly implement fdsrc. Removed signal and timeout,
9771 better implemented somewhere else.
9773 2005-09-21 Stefan Kost <ensonic@users.sf.net>
9775 * docs/gst/tmpl/.cvsignore:
9776 * docs/gst/tmpl/gstimplementsinterface.sgml:
9777 * gst/gstinterface.c:
9780 2005-09-21 Stefan Kost <ensonic@users.sf.net>
9782 * docs/gst/gstreamer-sections.txt:
9783 * docs/gst/tmpl/.cvsignore:
9784 * docs/gst/tmpl/gstenumtypes.sgml:
9785 remove obsolete doc file
9787 2005-09-21 David Schleef <ds@schleef.org>
9789 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
9790 little beer, fix a little leak.
9792 2005-09-21 Stefan Kost <ensonic@users.sf.net>
9794 * docs/gst/gstreamer-docs.sgml:
9795 * docs/gst/gstreamer-sections.txt:
9796 * docs/gst/tmpl/.cvsignore:
9801 * gst/gstindex.c: (gst_index_class_init):
9803 * gst/gstindexfactory.c: (gst_index_factory_get_type),
9804 (gst_index_factory_class_init), (gst_index_factory_init),
9805 (gst_index_factory_finalize), (gst_index_factory_new),
9806 (gst_index_factory_destroy), (gst_index_factory_find),
9807 (gst_index_factory_create), (gst_index_factory_make):
9808 * gst/gstindexfactory.h:
9809 * gst/gstpluginfeature.c:
9810 * gst/gstpluginfeature.h:
9811 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
9812 more docs inlined, splitted gstindex.{c,h}
9814 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9816 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
9819 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
9821 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9822 Set sync to FALSE by default.
9824 2005-09-20 Wim Taymans <wim@fluendo.com>
9826 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9827 (gst_base_sink_init):
9828 Make sync property settable from subclass.
9830 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
9831 (gst_fake_sink_change_state):
9832 Set sync to FALSE by default.
9834 2005-09-20 Wim Taymans <wim@fluendo.com>
9836 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
9837 * tools/gst-launch.c: (main):
9838 The timeout handler should have lower priority than the source
9839 so we don't timeout before popping a message with 0 timeout.
9840 Dump error messages after failed state change.
9842 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
9844 * tools/gst-inspect.c: (print_element_properties_info):
9847 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9849 * check/gst/gstevent.c:
9850 * gst/elements/gstfakesink.c:
9851 * gst/elements/gstfakesink.h:
9852 remove the sync property from fakesink.
9853 has the side effect of setting sync TRUE
9854 for fakesink, which is a change. Anyone who knows how
9855 to fix this nicely in a GObject-y way, feel free.
9857 2005-09-20 Stefan Kost <ensonic@users.sf.net>
9859 * docs/gst/gstreamer-docs.sgml:
9860 remove probe refsection
9862 2005-09-20 Stefan Kost <ensonic@users.sf.net>
9864 * check/Makefile.am:
9865 disable valgrinding the controller test again
9866 * docs/gst/gstreamer-sections.txt:
9867 update for api-changes
9869 2005-09-20 Wim Taymans <wim@fluendo.com>
9871 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9872 (gst_base_sink_set_property), (gst_base_sink_get_property),
9873 (gst_base_sink_do_sync):
9874 * gst/base/gstbasesink.h:
9875 Added sync property to basesink to disable clock sync.
9877 2005-09-20 Andy Wingo <wingo@pobox.com>
9879 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
9880 eating the caller's refcount.
9882 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
9883 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
9886 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
9887 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
9888 of GLib 2.8 public, so we can know which refcount to check in
9891 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
9892 (gst_object_init): Only set the gst refcount if we're going ahead
9893 with the refcount hack.
9895 2005-09-20 Stefan Kost <ensonic@users.sf.net>
9897 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
9898 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
9899 more leaks plumbed, added more debug-logging
9903 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9906 remove include of gstmemchunk.h
9908 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9910 * gst/gstclock.c: (_gst_clock_id_free):
9911 Commit from the Political Party For More Atomic CVS Commits,
9912 so that people don't waste too much of their day fishing
9913 out obvious leaks out of massive commits.
9914 Oh, and fix a pretty damn obvious leak in the memchunk
9917 2005-09-20 Stefan Kost <ensonic@users.sf.net>
9919 * check/Makefile.am:
9920 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
9921 plug mem-leak, re-add to valgrindable tests
9923 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9926 unbreak the build for those who have chronic arthritis
9927 and typing "make check" is just too taxing on the hands
9929 2005-09-20 Andy Wingo <wingo@pobox.com>
9931 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
9932 really want it out, you should fix plugins at the same time.
9934 2005-09-19 Stefan Kost <ensonic@users.sf.net>
9937 * docs/gst/gstreamer-sections.txt:
9939 added missing symbols to api docs
9940 disable ref-count hack if we have glib >= 2.8
9942 2005-09-19 David Schleef <ds@schleef.org>
9944 * docs/gst/Makefile.am: Ignore a few more internal headers
9945 * docs/gst/gstreamer-docs.sgml: Remove old sections
9946 * docs/gst/gstreamer-sections.txt: Remove old sections
9947 * docs/gst/tmpl/gstobject.sgml: update
9948 * docs/gst/tmpl/gstplugin.sgml: update
9949 * docs/gst/tmpl/gstpluginfeature.sgml: update
9950 * docs/random/ds/0.9-suggested-changes: update.
9951 * gst/Makefile.am: remove memchunk and trashstack, since they're
9953 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
9954 * gst/gst.h: don't include some headers
9955 * gst/gstchildproxy.c: add gstmarshal.h
9956 * gst/gstclock.c: Don't use memchunks
9957 * gst/gstminiobject.c: Add some docs
9958 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
9959 * gst/gstobject.h: same
9960 * gst/gstplugin.c: include gstmacros.h
9961 * gst/gstplugin.h: don't include gstmacros.h, since it's private
9962 * gst/gstquery.c: don't use memchunks
9963 * gst/gstregistry.c: rename gst_registry_deinit()
9964 * gst/gstregistry.h: same
9966 2005-09-19 David Schleef <ds@schleef.org>
9968 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
9969 * docs/libs/gstreamer-libs-sections.txt:
9970 * docs/libs/tmpl/gstgetbits.sgml:
9971 * docs/libs/tmpl/gstputbits.sgml:
9973 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
9975 * win32/gstenumtypes.c:
9976 * win32/gstenumtypes.h:
9979 2005-09-19 Wim Taymans <wim@fluendo.com>
9981 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
9982 Automatically PAUSE and RESUME a pipeline when a flushing seek
9985 2005-09-19 Andy Wingo <wingo@pobox.com>
9987 * gst/gstregistry.h: Spacing fixen.
9989 2005-09-19 Wim Taymans <wim@fluendo.com>
9991 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
9992 Handle state change failure more correctly.
9994 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
9996 * check/Makefile.am:
9997 * check/pipelines/cleanup.c: (run_pipeline):
9998 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10000 enable cleanup again after fixing the leak
10002 some more info on docs
10004 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10006 * check/Makefile.am:
10007 re-enable tests now that leaks are plugged
10009 * check/gst/gstbin.c:
10010 * check/gst/gstpipeline.c:
10011 add some more tests while fixing leaks
10012 * common/check.mak:
10013 make sure binaries are uptodate when valgrinding/gdbing
10015 * gst/gstelementfactory.c:
10016 remove a ref too many, and add a FIXME for when we get
10017 round to disposing of classes
10019 fix the refcounting when loading a plugin from a file and
10020 the code pretends that the pointer is the same even though
10021 of course it can change
10022 * gst/gstpluginfeature.c:
10023 unref plugins marked cached (a bit confusing as a name)
10024 as the docs state should be done
10025 various doc additions to explain refcounting
10026 * gst/gstregistry.c:
10027 * gst/gstregistryxml.c:
10030 2005-09-19 Wim Taymans <wim@fluendo.com>
10032 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10033 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10034 (send_messages), (GST_START_TEST), (gstbus_suite):
10035 * check/gst/gstpipeline.c: (GST_START_TEST):
10036 * check/pipelines/cleanup.c: (run_pipeline):
10037 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10039 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
10040 (gst_bus_source_check), (gst_bus_source_dispatch),
10041 (gst_bus_create_watch), (gst_bus_add_watch_full),
10042 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
10044 * tools/gst-launch.c: (event_loop):
10045 * tools/gst-md5sum.c: (event_loop):
10046 GstBusHandler -> GstBusFunc, return value has the same meaning as
10047 any other GSource (FALSE == remove source).
10048 _add_watch() and _add_watch_full() now take a MessageType mask to
10049 only handle specific types of messages.
10050 _poll() returns the GstMessage instead of the message type to avoid
10052 _have_pending() takes a MessageType mask now too.
10053 Added testsuite for multiple bus watches.
10054 Fix testsuites and applications for new bus API.
10056 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10058 * check/Makefile.am:
10059 mark a bunch of the tests as to fix until we fix them
10061 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10063 * common/check.mak:
10064 use GST_PLUGIN settings for valgrind tests as well, so we're
10065 valgrinding the correct thing
10066 * gst/gst.c: (init_post):
10069 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10071 * gst/gst.c: (init_post), (gst_deinit):
10072 * gst/gstelementfactory.c: (gst_element_factory_class_init),
10073 (gst_element_factory_finalize), (gst_element_factory_cleanup):
10074 * gst/gstindex.c: (gst_index_factory_class_init),
10075 (gst_index_factory_finalize):
10076 * gst/gstobject.c: (gst_object_dispose):
10077 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10078 (gst_plugin_load_file), (gst_plugin_desc_free):
10079 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
10080 (gst_plugin_feature_finalize):
10081 * gst/gstregistry.c: (gst_registry_class_init),
10082 (gst_registry_init), (gst_registry_finalize),
10083 (gst_registry_get_default), (gst_registry_deinit):
10084 * gst/gstregistry.h:
10085 * gst/gstregistryxml.c: (load_feature), (load_plugin):
10086 various cleanups and memleak plugging. make valgrind is happy now.
10088 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10090 * common/check.mak:
10091 add a check-valgrind target
10093 2005-09-18 David Schleef <ds@schleef.org>
10095 * tools/gst-inspect.c: Revert the GOption code.
10097 2005-09-17 David Schleef <ds@schleef.org>
10099 * check/Makefile.am: Fix environment variables.
10100 * check/gst/gstplugin.c: Fix for API changes.
10101 * tools/gst-inspect.c: Fix for API changes.
10102 * tools/gst-xmlinspect.c: Fix for API changes.
10103 * gst/gstelementfactory.c:
10106 * gst/gstpluginfeature.c:
10107 * gst/gstpluginfeature.h:
10108 * gst/gstregistry.c:
10109 * gst/gstregistry.h:
10110 * gst/gstregistryxml.c:
10111 * gst/gsttypefind.c:
10112 * gst/gsttypefindfactory.c:
10113 * gst/indexers/gstfileindex.c:
10114 * gst/indexers/gstmemindex.c:
10115 * gst/schedulers/Makefile.am:
10116 Change registry to keep track of both plugins and features,
10117 removing the feature tracking from plugins themselves.
10119 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10121 * check/Makefile.am:
10122 * tools/gst-register.1.in:
10123 remove gst-register
10125 2005-09-15 David Schleef <ds@schleef.org>
10127 * check/gst/gstplugin.c:
10128 * gst/gstelementfactory.c:
10130 * gst/gstpluginfeature.c:
10131 * gst/gstregistry.c:
10132 Getting tired of debugging. Disabled all the unreffing of
10133 plugins and features, which fixes the segfaults, but of
10134 course leaks like crazy. At least playbin works.
10136 2005-09-15 David Schleef <ds@schleef.org>
10138 * check/gst/gstplugin.c: (register_check_elements),
10139 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
10141 * gst/elements/gsttypefindelement.c: Fix refcounting.
10142 * gst/gsttypefind.c:
10143 * gst/gsttypefindfactory.c:
10144 * gst/gsttypefindfactory.h:
10146 2005-09-15 David Schleef <ds@schleef.org>
10148 * gst/gstindex.c: get refcounting correct.
10149 * gst/gstregistry.c: Handle the case where a feature/plugin is
10152 2005-09-15 David Schleef <ds@schleef.org>
10154 * check/Makefile.am:
10155 * check/gst/gstplugin.c: Add test
10156 * gst/gstplugin.c: Fix problems noticed by testsuite
10158 * gst/gstregistry.c:
10159 * gst/gstregistry.h:
10161 2005-09-15 David Schleef <ds@schleef.org>
10163 * gst/gstplugin.c: Implement semi-decent recounting and locking
10164 in plugins and plugin features.
10166 * gst/gstpluginfeature.c:
10167 * gst/gstpluginfeature.h:
10168 * gst/gstregistry.c:
10170 2005-09-15 Michael Smith <msmith@fluendo.com>
10172 * gst/gstregistry.c: (gst_registry_get_feature_list):
10173 Implement this. Makes oggdemux work; decodebin still broken.
10175 2005-09-14 David Schleef <ds@schleef.org>
10177 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
10179 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
10180 * gst/check/Makefile.am:
10181 * libs/gst/controller/Makefile.am:
10182 * libs/gst/dataprotocol/Makefile.am:
10184 2005-09-14 David Schleef <ds@schleef.org>
10186 * configure.ac: Remove getbits library. Nothing uses it, and
10187 it should be in something like liboil if someone did want
10189 * libs/gst/Makefile.am:
10190 * libs/gst/getbits/Makefile.am:
10191 * libs/gst/getbits/gbtest.c:
10192 * libs/gst/getbits/getbits.c:
10193 * libs/gst/getbits/getbits.h:
10194 * libs/gst/getbits/gstgetbits_generic.c:
10195 * libs/gst/getbits/gstgetbits_i386.s:
10196 * libs/gst/getbits/gstgetbits_inl.h:
10198 2005-09-14 David Schleef <ds@schleef.org>
10200 * gst/Makefile.am: Dist glib-compat.h
10202 2005-09-14 David Schleef <ds@schleef.org>
10204 * configure.ac: Remove gst/registries, since it's no longer used.
10205 * gst/registries/Makefile.am:
10206 * gst/registries/gstlibxmlregistry.c:
10207 * gst/registries/gstlibxmlregistry.h:
10208 * gst/registries/gstxmlregistry.c:
10209 * gst/registries/gstxmlregistry.h:
10210 * gst/registries/registrytest.c:
10212 2005-09-14 David Schleef <ds@schleef.org>
10214 * gst/glib-compat.h:
10215 * gst/gstregistryxml.c:
10216 Convergence is near. Seriously.
10218 2005-09-14 David Schleef <ds@schleef.org>
10220 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10221 * gst/glib-compat.h:
10222 Attempt #4 to appease the buildbots.
10224 2005-09-14 David Schleef <ds@schleef.org>
10226 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10229 2005-09-14 David Schleef <ds@schleef.org>
10231 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10234 2005-09-14 David Schleef <ds@schleef.org>
10236 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
10239 2005-09-14 David Schleef <ds@schleef.org>
10241 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10242 * gst/glib-compat.h: Add some functions that are in newer versions
10243 of glib than we care to require.
10244 * gst/gstregistryxml.c: Use them.
10246 2005-09-14 David Schleef <ds@schleef.org>
10248 * po/POTFILES.in: remove gst-register.c
10250 2005-09-14 David Schleef <ds@schleef.org>
10252 * docs/gst/gstreamer-docs.sgml:
10253 * docs/gst/gstreamer-sections.txt:
10254 * docs/gst/gstreamer.types:
10255 * docs/gst/tmpl/gstelement.sgml:
10256 * docs/gst/tmpl/gstplugin.sgml:
10257 * docs/gst/tmpl/gstpluginfeature.sgml:
10258 Documentation updates for registry changes.
10260 2005-09-14 David Schleef <ds@schleef.org>
10262 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
10263 because we don't require glib-2.8.
10265 2005-09-14 David Schleef <ds@schleef.org>
10267 * gst/gstregistryxml.c: Added. Essentially moved out of the
10268 registries directory.
10270 2005-09-14 David Schleef <ds@schleef.org>
10272 * check/Makefile.am:
10273 * check/generic/states.c:
10277 * gst/gst_private.h:
10278 * gst/gstelementfactory.c:
10283 * gst/gstpluginfeature.c:
10284 * gst/gstpluginfeature.h:
10285 * gst/gstregistry.c:
10286 * gst/gstregistry.h:
10287 * gst/gstregistrypool.c: remove
10288 * gst/gstregistrypool.h: remove
10289 * gst/gsttypefind.c:
10290 * gst/gsttypefindfactory.c:
10292 * tools/Makefile.am:
10293 * tools/gst-compprep.c:
10294 * tools/gst-inspect.c:
10295 * tools/gst-register.c: remove
10296 * tools/gst-xmlinspect.c:
10297 Registry rewrite. Changes registry from being a file created
10298 by a tool into a simple cache file created automatically by
10299 libgstreamer. Removed gst-register (because it's no longer
10300 needed). Remove registry pools, because we only have one
10301 registry implementation (XML). Fix up other subsystems as
10304 2005-09-13 Michael Smith <msmith@fluendo.com>
10306 * gst/gstconfig.h.in:
10307 Don't Use windows linking attributes for MinGW. Fixes #316157
10309 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
10311 * gst/gstutils.c: (set_state_async_thread_func),
10312 (gst_element_set_state_async):
10313 Apparently people think it's better if this function doesn't
10314 try to set the state to whatever state was asked for on the first
10315 call to this function for any object. Seriously.
10317 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10319 * check/gst/gstpipeline.c: (GST_START_TEST):
10320 * docs/gst/gstreamer-sections.txt:
10321 * gst/gstutils.c: (set_state_async_thread_func),
10322 (gst_element_set_state_async):
10324 add a "gst_element_set_state_async" method that
10325 sets the state and starts a thread to make sure the state
10326 change completes as best as it can
10328 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10330 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10331 codify design+behaviour in testsuite after discussion
10333 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10335 * docs/gst/tmpl/gstelement.sgml:
10336 * docs/manual/appendix-quotes.xml:
10338 * gst/gstelement.c: (gst_element_set_state):
10341 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
10343 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10344 (gst_base_transform_prepare_output_buf),
10345 (gst_base_transform_handle_buffer):
10346 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
10347 (gst_capsfilter_prepare_buf):
10348 Remove the requirement for sub-classes to call the parent
10349 implementation of prepare_output_buffer with a wrapper function.
10351 * gst/gsttaglist.h:
10352 * gst/gsttagsetter.h:
10353 Fix #define wrapper
10355 2005-09-11 Stefan Kost <ensonic@users.sf.net>
10357 * docs/gst/gstreamer-sections.txt:
10360 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10362 * docs/gst/gstreamer-sections.txt:
10363 * docs/gst/tmpl/gstelement.sgml:
10364 * docs/gst/tmpl/gstplugin.sgml:
10365 * gst/gstminiobject.c:
10367 docs now stop throwing warnings
10369 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10371 * docs/gst/gstreamer-sections.txt:
10372 * docs/gst/gstreamer.types:
10373 * docs/gst/tmpl/gstpad.sgml:
10374 * docs/gst/tmpl/gsttypes.sgml:
10375 * gst/base/gstadapter.h:
10376 * gst/base/gstbasesink.h:
10377 * gst/base/gstbasesrc.h:
10383 * gst/gstelement.h:
10385 * gst/gstmessage.h:
10387 * gst/gststructure.c:
10388 * gst/registries/gstlibxmlregistry.h:
10389 various documentation fixes
10391 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10393 * docs/gst/gstreamer-sections.txt:
10394 * docs/gst/tmpl/gstvalue.sgml:
10395 rearrange gstvalue section
10396 * gst/gstutils.c: (gst_element_state_get_name):
10398 * gst/gstvalue.c: (_gst_value_initialize):
10402 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
10404 * check/gst-libs/controller.c:
10405 Header include fix.
10406 * gst/base/gstbasetransform.c:
10407 (gst_base_transform_default_prepare_buf),
10408 (gst_base_transform_handle_buffer):
10409 * gst/base/gstbasetransform.h:
10410 Some more basetransform changes and fixes to enable sub-classes
10411 that modify buffer metadata only.
10412 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10413 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
10414 (gst_capsfilter_prepare_buf):
10415 If the output pad has fixed allowed caps and input buffers
10416 don't have any, set the fixed caps on outgoing buffers.
10418 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
10419 * check/elements/identity.c: (GST_START_TEST):
10420 Make the error a little clearer when the test fails because
10421 identity made a copy of the buffer.
10422 * docs/gst/gstreamer-sections.txt:
10423 New symbols in gstbasetransform.h
10424 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10425 (gst_base_transform_init), (gst_base_transform_transform_size),
10426 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10427 (gst_base_transform_default_prepare_buf),
10428 (gst_base_transform_get_unit_size),
10429 (gst_base_transform_buffer_alloc),
10430 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10431 (gst_base_transform_change_state),
10432 (gst_base_transform_set_passthrough),
10433 (gst_base_transform_set_in_place),
10434 (gst_base_transform_is_in_place):
10435 * gst/base/gstbasetransform.h:
10436 Change BaseTransform to separate in_place operate from same_caps
10437 output. in_place implies that the element can perform the transform
10438 on incoming buffers in-place, even if the caps on the output are
10440 Sub-class elements can now implement special buffer allocation
10441 methods for outgoing buffers if they wish to.
10442 Big documentation addition.
10443 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
10444 * gst/elements/gstelements.c:
10445 Changes for basetransform modifications.
10446 * gst/elements/Makefile.am:
10447 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
10448 Compile fix. Extra debug output.
10450 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10452 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
10454 add tests for valid pad naming
10455 * gst/check/gstcheck.c: (gst_check_log_message_func),
10456 (gst_check_log_critical_func):
10458 remove printing of code, it is fragile when the code contains
10459 % and the line number is enough info
10460 * gst/check/gstcheck.h:
10461 * gst/gstpad.c: (gst_pad_template_new):
10464 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10467 say what CHECK flags we use
10468 * docs/libs/gstreamer-libs.types:
10469 * libs/gst/controller/Makefile.am:
10470 * libs/gst/controller/gst-controller.c:
10471 * libs/gst/controller/gst-controller.h:
10472 * libs/gst/controller/gst-helper.c:
10473 * libs/gst/controller/gst-interpolation.c:
10474 * libs/gst/controller/gstcontroller.c:
10475 * libs/gst/controller/gsthelper.c:
10476 * libs/gst/controller/gstinterpolation.c:
10477 * tools/gst-inspect.c: (print_plugin_info):
10478 we don't use dashes in header names
10480 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10482 * check/Makefile.am:
10483 * check/gst/.cvsignore:
10484 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
10485 (gst_pipeline_suite), (main):
10486 adding a test for pipelines and state changes
10487 * gst/gstutils.c: (get_state_func):
10489 * gstreamer.spec.in:
10492 2005-09-08 Michael Smith <msmith@fluendo.com>
10494 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
10495 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
10496 (gst_file_src_is_seekable), (gst_file_src_get_size),
10497 (gst_file_src_start):
10498 * gst/elements/gstfilesrc.h:
10499 Various fixes for unseekable, unmmapable, and non-normal files, so
10500 that fallback to read() rather than mmap() works.
10501 * gst/gstevent.c: (gst_event_new_newsegment):
10502 Allow newsegment events with segment_start == segment_end, as will
10503 correctly happen if you use filesrc on a zero-size file, for
10506 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
10508 * gst/gstplugin.c: (gst_plugin_load_file):
10509 Call g_module_close when we don't load the module
10511 * gst/registries/gstlibxmlregistry.c:
10512 (gst_xml_registry_get_property):
10513 Port leak fix from 0.8
10515 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10517 * docs/gst/gstreamer-docs.sgml:
10518 * docs/gst/tmpl/.cvsignore:
10519 * docs/gst/tmpl/gsttrace.sgml:
10520 * docs/gst/tmpl/gsttrashstack.sgml:
10523 * gst/gstelement.h:
10525 * gst/gstmessage.c:
10526 * gst/gstmessage.h:
10529 * gst/gsttaginterface.c:
10530 * gst/gsttaginterface.h:
10531 * gst/gsttaglist.c:
10532 * gst/gsttaglist.h:
10533 * gst/gsttagsetter.c:
10534 * gst/gsttagsetter.h:
10537 * gst/gsttrashstack.c:
10538 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
10539 inlined docs for gsttrace, gsttrashstack
10541 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10544 * gst/elements/gstbufferstore.h:
10545 * gst/elements/gsttypefindelement.c:
10546 * gst/elements/gsttypefindelement.h:
10548 * gst/gsttypefind.c:
10549 * gst/gsttypefind.h:
10550 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
10551 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
10552 (gst_type_find_factory_dispose),
10553 (gst_type_find_factory_unload_thyself),
10554 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
10555 (gst_type_find_factory_get_caps),
10556 (gst_type_find_factory_get_extensions),
10557 (gst_type_find_factory_call_function):
10558 * gst/gsttypefindfactory.h:
10559 * gst/registries/gstlibxmlregistry.c:
10560 * gst/registries/gstxmlregistry.c:
10561 splitted gsttypefind into gsttypefind, gsttypefindfactory
10563 2005-09-07 Andy Wingo <wingo@pobox.com>
10565 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
10566 condition whereby the pad's task function is entered before the
10567 pad_mode variable was set.
10569 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
10571 * gst/gstpad.c: (gst_pad_alloc_buffer):
10572 Catch misbehaving pad_alloc functions that don't
10573 set up caps and do it for them.
10575 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10577 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10578 test for pipe!=NULL
10579 * docs/gst/tmpl/.cvsignore:
10580 * docs/gst/tmpl/gstmemchunk.sgml:
10581 * docs/gst/tmpl/gstparse.sgml:
10582 * docs/gst/tmpl/gsttaglist.sgml:
10583 * docs/gst/tmpl/gsttagsetter.sgml:
10584 * docs/gst/tmpl/gsttypefind.sgml:
10585 * docs/gst/tmpl/gsttypefindfactory.sgml:
10586 * gst/gstmemchunk.c:
10589 * gst/gsttaginterface.c:
10590 * gst/gsttypefind.c:
10591 * gst/gsttypefind.h:
10594 === release 0.9.2 ===
10596 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
10601 releasing 0.9.2, "South"
10603 2005-09-05 Andy Wingo <wingo@pobox.com>
10605 * gst/registries/gstxmlregistry.h:
10606 * gst/registries/gstxmlregistry.c: Um... resurrect...
10608 * gst/registries/gstxmlregistry.h:
10609 * gst/registries/gstxmlregistry.c: and update to newer API.
10610 Incidentally they should be a bit faster now that they don't have
10613 2005-09-05 Andy Wingo <wingo@pobox.com>
10615 * gst/registries/gstxmlregistry.h:
10616 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
10617 replaced by the libxml registry a while back
10619 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
10621 * docs/gst/tmpl/gstplugin.sgml:
10622 * gst/elements/gstelements.c:
10624 * gst/gstplugin.c: (gst_plugin_register_func),
10625 (gst_plugin_desc_copy), (gst_plugin_desc_free),
10626 (gst_plugin_get_source):
10628 * gst/registries/gstlibxmlregistry.c: (load_plugin),
10629 (gst_xml_registry_save_plugin):
10630 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
10631 (gst_xml_registry_save_plugin):
10632 * tools/gst-inspect.c: (print_plugin_info):
10633 add a "source" plugin description field, to represent the source
10634 module this plugin is a part of. By default GST_PLUGIN_DEFINE
10635 will set it to PACKAGE, which is automake's idea of the name of
10636 the source project.
10638 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
10643 * docs/Makefile.am:
10644 * docs/faq/Makefile.am:
10645 * docs/gst/tmpl/gstelement.sgml:
10646 * docs/gst/tmpl/gsttypes.sgml:
10647 * docs/htmlinstall.mak:
10648 * docs/manual/Makefile.am:
10649 * docs/pwg/Makefile.am:
10650 reorganize doc build a little
10651 split out docbook and gtk-doc stuff
10652 have two separate --enable's and enable them through autogen
10653 but disable by default in configure (to be similar to other
10655 * gstreamer.spec.in:
10656 clean up docs install
10674 translation updates
10676 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
10678 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
10681 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10682 (gst_fake_sink_change_state):
10683 Make state change function thread-safe.
10685 * gst/gstpad.c: (gst_pad_alloc_buffer):
10686 Set offset on generic buffer allocated by fallback.
10688 2005-09-03 Stefan Kost <ensonic@users.sf.net>
10690 * docs/gst/gstreamer-sections.txt:
10691 * docs/gst/tmpl/gstelement.sgml:
10693 * libs/gst/controller/gst-controller.c:
10694 (gst_controlled_property_set_interpolation_mode),
10695 (gst_controlled_property_new),
10696 (gst_controller_find_controlled_property):
10697 run the wingo-magic script against the docs
10699 2005-09-02 Stefan Kost <ensonic@users.sf.net>
10701 * docs/gst/gstreamer-docs.sgml:
10702 * docs/gst/gstreamer-sections.txt:
10703 * docs/gst/tmpl/.cvsignore:
10704 * docs/gst/tmpl/gstelementdetails.sgml:
10705 * docs/gst/tmpl/gstelementfactory.sgml:
10708 * gst/gstelementfactory.c:
10709 * gst/gstelementfactory.h:
10710 merged elementdetails docs into elementfactory docs
10713 2005-09-02 Andy Wingo <wingo@pobox.com>
10715 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
10716 consider this enum an enum and not a flags.
10718 2005-09-02 Stefan Kost <ensonic@users.sf.net>
10720 * docs/gst/gstreamer-docs.sgml:
10721 * docs/gst/tmpl/.cvsignore:
10722 * docs/gst/tmpl/gstghostpad.sgml:
10723 * docs/gst/tmpl/gstiterator.sgml:
10724 * docs/gst/tmpl/gstmacros.sgml:
10725 * docs/gst/tmpl/gstrealpad.sgml:
10726 * docs/gst/tmpl/gstregistry.sgml:
10727 * docs/gst/tmpl/gstregistrypool.sgml:
10728 * docs/gst/tmpl/gststructure.sgml:
10729 * docs/gst/tmpl/gstsystemclock.sgml:
10730 * docs/gst/tmpl/gsttrace.sgml:
10731 * gst/gstghostpad.c:
10733 * gst/gstmemchunk.c:
10734 * gst/gstmemchunk.h:
10736 * gst/gstregistry.c:
10737 * gst/gstregistrypool.c:
10738 * gst/gststructure.c:
10739 * gst/gstsystemclock.c:
10742 2005-09-02 Andy Wingo <wingo@pobox.com>
10744 * gst/gstelement.h (GstState): Renamed from GstElementState,
10745 changed to be a normal enum instead of flags.
10746 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
10747 munged to be GST_STATE_CHANGE_*.
10748 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
10749 work with the new state representation.
10750 (GstStateChange): New enumeration of possible state transitions.
10751 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
10752 (GstElementClass::change_state): Pass the GstStateChange along as
10753 an argument. Helps language bindings, so they don't have to use
10754 tricky lock-needing macros like GST_STATE_CHANGE ().
10756 * scripts/update-states (file): New script. Run it on a file to
10757 update it for state naming and API changes. Updates files in
10760 * All files updated for the new API.
10762 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
10764 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
10765 * gst/gstutils.c: (gst_util_set_value_from_string),
10766 (gst_util_set_object_arg):
10767 fix a bunch of unchecked return values
10768 * tools/gst-complete.c: (main):
10769 * gstreamer.spec.in:
10772 2005-09-01 Wim Taymans <wim@fluendo.com>
10774 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10775 (gst_base_sink_event), (gst_base_sink_do_sync),
10776 (gst_base_sink_handle_event):
10777 * gst/base/gstbasesink.h:
10778 Handle newsegments more correctly.
10783 * gst/gstevent.c: (gst_event_new_newsegment):
10784 A newsegment cannot have a start_time of -1
10786 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
10788 * win32/gstenumtypes.c:
10789 * win32/gstenumtypes.h:
10792 2005-08-31 Stefan Kost <ensonic@users.sf.net>
10794 * libs/gst/controller/gst-controller.c:
10795 (gst_controlled_property_set_interpolation_mode),
10796 (gst_controlled_property_new):
10797 fixed boolean again
10799 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
10801 * docs/faq/gst-uninstalled:
10806 * gst/gstutils.c: (gst_element_link_filtered):
10808 add gst_element_link_filtered
10810 2005-08-31 Stefan Kost <ensonic@users.sf.net>
10812 * docs/gst/gstreamer-docs.sgml:
10813 * docs/gst/gstreamer-sections.txt:
10814 * docs/gst/tmpl/.cvsignore:
10815 * docs/gst/tmpl/gsterror.sgml:
10816 * docs/gst/tmpl/gstfilter.sgml:
10817 * docs/gst/tmpl/gsturihandler.sgml:
10818 * docs/gst/tmpl/gsturitype.sgml:
10819 * docs/gst/tmpl/gstutils.sgml:
10820 * docs/gst/tmpl/gstxml.sgml:
10825 * gst/gsturitype.c:
10828 inlined more docs, fixed double id-ref
10830 2005-08-31 Wim Taymans <wim@fluendo.com>
10832 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
10833 (gst_base_transform_handle_buffer):
10834 Passthrough elements don't need the caps as they don't care.
10836 2005-08-31 Wim Taymans <wim@fluendo.com>
10838 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
10839 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
10840 Don't leak refcounts on buffers.
10842 2005-08-31 Wim Taymans <wim@fluendo.com>
10844 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
10845 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10846 (gst_base_transform_chain), (gst_base_transform_change_state):
10847 * gst/base/gstbasetransform.h:
10848 Handle the case where we are not negotiated more gracefully.
10850 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
10852 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
10853 (gst_file_src_map_region):
10854 Set READONLY flag on mmap'ed buffers, otherwise
10855 gst_buffer_make_writable() won't work properly (#314708).
10857 2005-08-31 Wim Taymans <wim@fluendo.com>
10859 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
10860 passthrough elements can even do inplace on non writable
10861 buffers (as they don't touch them).
10863 2005-08-31 Stefan Kost <ensonic@users.sf.net>
10865 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
10866 (gst_test_mono_source_set_property),
10867 (gst_test_mono_source_class_init), (GST_START_TEST),
10868 (gst_controller_suite):
10869 more tests (hehe I have the most)
10871 describe popping messages whenusing mulltiple sources
10872 * libs/gst/controller/gst-controller.c:
10873 (gst_controlled_property_set_interpolation_mode),
10874 (gst_controlled_property_new):
10875 * libs/gst/controller/gst-controller.h:
10876 * libs/gst/controller/gst-interpolation.c:
10877 implement boolean properties
10879 2005-08-31 Wim Taymans <wim@fluendo.com>
10881 * gst/gstminiobject.c: (gst_mini_object_ref):
10882 Cannot assert that the refcount has to be positive
10883 since a disposed object can be resurrected.
10885 2005-08-31 Wim Taymans <wim@fluendo.com>
10887 * gst/gstpad.c: (gst_pad_init):
10888 Revert change, need to first fix badly behaving
10891 2005-08-30 Wim Taymans <wim@fluendo.com>
10893 * check/elements/fakesrc.c: (setup_fakesrc):
10894 * check/elements/identity.c: (setup_identity):
10895 Activate pads before using them.
10897 2005-08-30 Wim Taymans <wim@fluendo.com>
10899 * gst/base/gstadapter.c: (gst_adapter_flush):
10900 Flushing out 0 bytes is ok for this function.
10902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10903 no newsegment gives a warning and sets the start/stop to
10906 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
10907 (gst_base_transform_set_passthrough):
10910 * gst/gstminiobject.c: (gst_mini_object_ref):
10911 Check refcount here too.
10913 * gst/gstpad.c: (gst_pad_init):
10914 Pads are initially flushing and refusing data.
10916 * gst/gstutils.c: (gst_element_link_pads_filtered):
10917 When adding a capsfilter element make sure it has the
10918 same state as the parent bin.
10920 2005-08-30 Stefan Kost <ensonic@users.sf.net>
10922 * docs/gst/tmpl/.cvsignore:
10923 * docs/gst/tmpl/gstformat.sgml:
10924 * docs/gst/tmpl/gstversion.sgml:
10928 * gst/gstversion.h.in:
10929 more docs and two more inlined
10931 2005-08-30 Wim Taymans <wim@fluendo.com>
10933 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
10934 Don't sync to clock.
10936 2005-08-30 Stefan Kost <ensonic@users.sf.net>
10938 * docs/gst/gstreamer-sections.txt:
10939 ultral33t func10ns deserve to appear in the docs actually
10940 * docs/gst/tmpl/.cvsignore:
10941 * docs/gst/tmpl/gstcompat.sgml:
10942 * docs/gst/tmpl/gstconfig.sgml:
10943 * gst/check/gstcheck.c:
10945 * gst/gstconfig.h.in:
10948 2005-08-30 Stefan Kost <ensonic@users.sf.net>
10950 * docs/gst/tmpl/.cvsignore:
10951 * docs/gst/tmpl/gstquery.sgml:
10952 * docs/gst/tmpl/gstutils.sgml:
10955 inlined and extended docs
10957 2005-08-30 Stefan Kost <ensonic@users.sf.net>
10959 * check/gst-libs/controller.c: (GST_START_TEST),
10960 (gst_controller_suite):
10962 * docs/gst/tmpl/gstutils.sgml:
10963 * docs/libs/gstreamer-libs-sections.txt:
10964 * docs/libs/tmpl/gstdataprotocol.sgml:
10966 * examples/controller/audio-example.c: (main):
10967 controller example works now
10970 * tools/gst-inspect.c: (print_element_properties_info):
10971 show param spec flags
10973 2005-08-29 Andy Wingo <wingo@pobox.com>
10975 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
10977 2005-08-28 Andy Wingo <wingo@pobox.com>
10979 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
10980 as having two arguments instead of just one. Allows superclasses
10981 to access information on subclasses -- see the terrible for() loop
10982 in gtype.c:g_type_create_instance for the reason why. All callers
10985 2005-08-27 Stefan Kost <ensonic@users.sf.net>
10987 * docs/design/part-messages.txt:
10989 * docs/gst/tmpl/.cvsignore:
10990 * docs/gst/tmpl/gstcaps.sgml:
10991 * docs/gst/tmpl/gstclock.sgml:
10997 * gst/gstmessage.c:
10998 added descriptions for bus and message
10999 inline caps and clock docs
11001 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11003 * gst/gstmessage.c:
11004 * gst/gstmessage.h:
11007 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11009 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11012 2005-08-26 Andy Wingo <wingo@pobox.com>
11014 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
11015 element_set_state's return val.
11016 (test_2_elements): Add test that's been disabled for months.
11018 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
11019 can-activate-pull properties.
11021 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
11022 can-activate-pull properties. Implement is_seekable so fakesrc can
11023 operate in pull mode.
11025 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
11027 (gst_base_sink_activate, gst_base_sink_activate_pull)
11028 (gst_base_sink_activate_push): Make activation mode choosing work.
11030 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
11031 is right. Make pull mode work. Post an eos before pausing in pull
11033 (gst_base_sink_change_state): Pay attention to the core's
11034 change_state() return val.
11036 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
11037 has-getrange properties. Cleanups.
11039 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
11040 has_getrange and replace with can_activate_pull and
11043 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
11044 locking comments. Remove has_loop, has_chain and replace with
11045 can_activate_pull and can_activate_push.
11047 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
11050 * examples/Makefile.am:
11051 * examples/metadata/Makefile.am:
11052 * examples/metadata/read-metadata.c: (message_loop),
11053 (have_pad_handler), (make_pipeline), (print_tag), (main):
11054 Add metadata reading example that loops over a list of filenames,
11055 dumping any tags found.
11057 * gst/gstbus.c: (gst_bus_dispose):
11058 * gst/gstelement.c: (gst_element_dispose):
11059 Release a few potentially-held references in dispose.
11061 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11063 * docs/gst/tmpl/gstminiobject.sgml:
11064 do *not* add tmpl/*.sgml files to CVS!
11066 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11068 * libs/gst/bytestream/.cvsignore:
11069 * libs/gst/bytestream/Makefile.am:
11070 * libs/gst/bytestream/adapter.c:
11071 * libs/gst/bytestream/adapter.h:
11072 * libs/gst/bytestream/bytestream.c:
11073 * libs/gst/bytestream/bytestream.h:
11074 * libs/gst/bytestream/filepad.c:
11075 * libs/gst/bytestream/filepad.h:
11076 removing obsolete files
11078 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11080 * docs/gst/gstreamer-docs.sgml:
11081 * docs/libs/gstreamer-libs-docs.sgml:
11082 disabed additional index entries again, as this makes docs-gen just
11083 slow and they aren't useful yet
11084 * docs/libs/gstreamer-libs-sections.txt:
11085 little -section.txt cleanup for libs
11087 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
11089 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11090 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
11091 fix up some debugging
11092 (gst_base_transform_get_unit_size),
11093 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
11094 (gst_base_transform_handle_buffer):
11095 * gst/base/gstbasetransform.h:
11096 handle and store timed NEWSEGMENT events so that subclasses that
11097 calculate time by counting samples have a segment_start time they
11098 need to add to their timestamps - see audioresample
11100 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11103 removed ';' from the end of macro defs
11104 * docs/gst/gstreamer-docs.sgml:
11105 * docs/gst/gstreamer-sections.txt:
11106 * docs/gst/tmpl/.cvsignore:
11108 * gst/gstelement.c: (gst_element_class_init),
11109 (gst_element_set_state), (activate_pads),
11110 (gst_element_save_thyself):
11111 * gst/gstevent.c: (gst_event_new_newsegment):
11113 * gst/gstiterator.c:
11114 * gst/gstiterator.h:
11117 * gst/gstutils.c: (gst_pad_query_convert):
11119 fixed parameter name mismatches between source, header and docs
11120 added some more docs, resolved the last batch of unused elements in
11121 docs (now someone needs to doc them)
11123 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11125 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
11126 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
11127 don't walk through the plugins backwards. Where is all this
11128 reversed logic coming from ?
11130 2005-08-25 Wim Taymans <wim@fluendo.com>
11132 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11133 (gst_base_transform_transform_size),
11134 (gst_base_transform_configure_caps),
11135 (gst_base_transform_get_unit_size),
11136 (gst_base_transform_buffer_alloc),
11137 (gst_base_transform_change_state):
11138 * gst/base/gstbasetransform.h:
11139 Cache caps unit_size.
11140 Make sure we cannot negotiate up and downstream at the
11143 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11145 * gst/gst.c: (init_pre), (init_post):
11146 register the installed plugin path after the env var
11147 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
11148 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
11149 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
11150 directories, so the tests can prefer uninstalled over installed
11152 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11154 * gst/base/gstbasetransform.h:
11159 2005-08-25 Wim Taymans <wim@fluendo.com>
11161 * gst/gstbin.c: (bin_bus_handler):
11162 Be a bit more conservative about the posted message.
11164 * gst/gstbus.c: (gst_bus_post):
11165 Some cleanups, warn wrong return values.
11167 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
11169 * check/gst/gstbin.c: (GST_START_TEST):
11170 * gst/gstbin.c: (bin_bus_handler):
11171 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11172 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11173 (gst_message_new_warning), (gst_message_new_tag),
11174 (gst_message_new_state_changed), (gst_message_new_segment_start),
11175 (gst_message_new_segment_done), (gst_message_new_custom):
11176 * gst/gstmessage.h:
11177 * tools/gst-launch.c: (event_loop):
11178 * tools/gst-md5sum.c: (event_loop):
11179 Revert unpopular change for GST_MESSAGE_SRC to GObject.
11181 2005-08-25 Wim Taymans <wim@fluendo.com>
11183 * check/generic/states.c: (GST_START_TEST):
11184 Cleanup can be done at the end.
11186 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
11187 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11188 (gst_task_get_state), (gst_task_start), (gst_task_pause):
11189 Oh boy.. Thanks for finding this, Thomas.
11191 2005-08-25 Stefan Kost <ensonic@users.sf.net>
11193 * docs/gst/gstreamer.types:
11194 added missing types
11196 2005-08-25 Stefan Kost <ensonic@users.sf.net>
11198 * docs/gst/gstreamer-docs.sgml:
11199 * docs/gst/gstreamer-sections.txt:
11200 * docs/gst/tmpl/.cvsignore:
11202 * gst/gstiterator.c:
11204 * gst/registries/gstxmlregistry.h:
11205 added missing classes and symbols (123 more to go)
11206 removed removed symbols from section file
11207 fixed many doc-comments
11209 2005-08-24 Wim Taymans <wim@fluendo.com>
11211 * check/generic/states.c: (GST_START_TEST):
11212 Make sure all tasks are stopped.
11214 * check/gst/gstbin.c: (GST_START_TEST):
11215 Unref after usage for proper valgrinding.
11217 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
11218 Really wait for the task to stop before destroying the
11221 * gst/gstqueue.c: (gst_queue_sink_activate_push),
11222 (gst_queue_src_activate_push):
11223 Small cleanups. Don't stop the task when we did not start
11226 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
11227 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11228 (gst_task_get_state), (gst_task_start), (gst_task_pause),
11231 Protect the stream lock with the object lock.
11232 Disallow setting the stream lock when running.
11233 Add cleanup_all to wait for the threadpool to finish.
11234 Remove code to autoallocate a mutex if none was provided.
11235 Add _join() to wait for a task to stop.
11236 Protect the thread pool with a global lock.
11238 2005-08-24 Wim Taymans <wim@fluendo.com>
11240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11241 (gst_base_sink_get_times), (gst_base_sink_do_sync),
11242 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
11243 * gst/base/gstbasesink.h:
11244 Handle newsegment events correctly.
11245 Drop buffers out of the segment range.
11247 2005-08-22 Andy Wingo <wingo@pobox.com>
11249 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
11250 macro, implements an interface and gstimplementsinterface for a
11253 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
11255 * check/Makefile.am:
11256 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
11257 add a test that does a bunch of state changes on elements
11258 needs some fixing for valgrind
11259 * check/states/sinks.c: (gst_object_suite):
11262 add prototype for gst_caps_is_equal_fixed
11264 * gst/gstregistrypool.c:
11267 2005-08-24 Andy Wingo <wingo@pobox.com>
11269 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
11270 convert a negative value. Doesn't make much sense. Mostly this is
11271 here to force callers to ensure -1 maps to -1.
11273 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
11275 * docs/pwg/advanced-types.xml:
11276 Well done to Michael for catching my deliberate introduction
11277 of this spelling mistake.
11278 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
11279 * gst/gstelement.h:
11280 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
11281 unlink pads before removing the element from the bin.
11283 2005-08-24 Andy Wingo <wingo@pobox.com>
11285 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
11286 the same thing as GST_DEBUG=*:4.
11287 (parse_debug_level, parse_debug_category): New helper parsers.
11289 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
11291 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11292 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
11293 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
11294 (gst_base_transform_buffer_alloc),
11295 (gst_base_transform_handle_buffer):
11296 use gboolean return values and pointers to size so we can use the
11297 full GST_BUFFER_SIZE range (guint) for buffer sizes
11298 use GstPadDirection for transform_caps
11299 * gst/base/gstbasetransform.h:
11300 rename get_size to get_unit_size since that's what it is
11301 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
11302 use GstPadDirection for transform_caps
11303 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11305 cleanup and debugging
11307 2005-08-24 Stefan Kost <ensonic@users.sf.net>
11309 * gst/gstelement.c: (gst_element_class_init),
11310 (gst_element_set_state), (activate_pads),
11311 (gst_element_save_thyself):
11312 * tools/gst-compprep.c: (main):
11313 * tools/gst-inspect.c: (print_element_properties_info):
11314 * tools/gst-xmlinspect.c: (print_element_properties):
11315 Fixed long standing mem-leak
11317 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
11319 * check/gst/gstbin.c: (GST_START_TEST):
11320 * gst/gstbin.c: (bin_bus_handler):
11321 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11322 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11323 (gst_message_new_warning), (gst_message_new_tag),
11324 (gst_message_new_state_changed), (gst_message_new_segment_start),
11325 (gst_message_new_segment_done), (gst_message_new_custom):
11326 * gst/gstmessage.h:
11327 * tools/gst-launch.c: (event_loop):
11328 * tools/gst-md5sum.c: (event_loop):
11329 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
11330 that applications can sensibly post custom messages with references
11331 to their own objects.
11333 2005-08-24 Andy Wingo <wingo@pobox.com>
11335 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
11338 2005-08-24 Wim Taymans <wim@fluendo.com>
11340 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11341 (gst_base_transform_transform_caps),
11342 (gst_base_transform_transform_size),
11343 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11344 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
11345 (gst_base_transform_handle_buffer):
11346 * gst/base/gstbasetransform.h:
11347 Many fixes and new features added by Thomas. Can now also do
11348 transforms with variable sizes and a custom fixate_caps function.
11350 2005-08-24 Wim Taymans <wim@fluendo.com>
11352 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11356 Cast to ClockTime before formatting to time.
11361 2005-08-24 Stefan Kost <ensonic@users.sf.net>
11363 * check/gst-libs/controller.c: (GST_START_TEST),
11364 (gst_controller_suite):
11365 * docs/gst/tmpl/gstcaps.sgml:
11366 * docs/gst/tmpl/gstghostpad.sgml:
11367 * docs/gst/tmpl/gstquery.sgml:
11368 * docs/gst/tmpl/gstutils.sgml:
11369 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
11370 (gst_object_sink_values), (gst_object_get_value_arrays),
11371 (gst_object_get_value_array):
11372 gracefully handle helper method calls to objects that are not beeing
11373 controlled, added test case for that
11375 2005-08-23 Wim Taymans <wim@fluendo.com>
11377 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
11378 (gst_event_new_newsegment), (gst_event_parse_newsegment),
11379 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
11380 (gst_event_parse_qos), (gst_event_new_seek),
11381 (gst_event_parse_seek):
11383 Some more debugging output and doc cleanups.
11385 * gst/gstqueue.c: (gst_queue_handle_sink_event):
11386 Fix possible deadlock.
11388 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11390 * docs/gst/gstreamer-docs.sgml:
11391 * docs/gst/gstreamer-sections.txt:
11392 * docs/gst/gstreamer.types:
11393 * docs/gst/tmpl/.cvsignore:
11396 * gst/gstelement.c:
11398 added 100 symbols from gstreamer-unused.txt to the right sections
11399 fixed more broken comments
11400 added GstBus to docs
11402 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11404 * docs/gst/gstreamer-sections.txt:
11405 * docs/gst/tmpl/.cvsignore:
11406 * docs/gst/tmpl/gstbin.sgml:
11407 * docs/gst/tmpl/gstbuffer.sgml:
11408 * gst/base/gstbasesrc.c:
11409 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
11412 * tools/gst-launch.1.in:
11413 inlined more doc comments, added missing comments and fixed comments
11416 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
11418 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11422 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
11424 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
11425 * gst/gststructure.h:
11426 add a fixate function for booleans; add a FIXME that these func
11427 names should probably be gst_structure_fixate_*
11429 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11431 * docs/gst/gstreamer-docs.sgml:
11432 * docs/gst/gstreamer-sections.txt:
11434 * gst/gstbin.c: (gst_bin_get_type),
11435 (gst_bin_child_proxy_get_child_by_index),
11436 (gst_bin_child_proxy_get_children_count),
11437 (gst_bin_child_proxy_init):
11438 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11439 (gst_child_proxy_get_child_by_index),
11440 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
11441 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
11442 (gst_child_proxy_get), (gst_child_proxy_set_property),
11443 (gst_child_proxy_set_valist), (gst_child_proxy_set),
11444 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
11445 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
11446 * gst/gstchildproxy.h:
11447 * gst/parse/grammar.y:
11448 * tools/gst-inspect.c: (print_interfaces),
11449 (print_element_properties_info), (print_element_info):
11450 ported gstchildproxy over from 0.8
11451 ported gst-inspect fixes and enhancements over from 0.8
11453 2005-08-22 Wim Taymans <wim@fluendo.com>
11455 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11456 (gst_base_transform_handle_buffer):
11457 Also call the transform function if we have ANY caps.
11459 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
11462 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
11464 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
11465 Don't pretend to handle seek events if the source is not seekable
11467 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
11469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11470 Remove extra parameter to debug output
11472 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
11473 (gst_base_src_do_seek), (gst_base_src_activate_push):
11474 Fix seek event handling.
11476 * gst/gstpipeline.c: (gst_pipeline_change_state):
11477 * gst/gstqueue.c: (gst_queue_handle_sink_event),
11478 (gst_queue_src_activate_push):
11479 Don't start the src pad task on FLUSH_STOP if the pad
11483 2005-08-22 Wim Taymans <wim@fluendo.com>
11485 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11486 Added check for gst_static_caps_get() refcounting.
11488 2005-08-22 Wim Taymans <wim@fluendo.com>
11490 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
11491 Make _static_caps_get() refcounting sane.
11493 * gst/gstelement.c: (gst_element_set_state):
11494 Add g_return_val_if_fail() to protect against segfaults.
11496 2005-08-22 Stefan Kost <ensonic@users.sf.net>
11498 * docs/gst/tmpl/gstevent.sgml:
11501 inlined remaining docs, added missing doc comments
11503 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
11505 * check/gst/gstbin.c: (GST_START_TEST):
11506 since we don't know when preroll is done, use refcount range
11508 * gst/check/gstcheck.h:
11509 add macro for checking refcount range
11511 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
11513 * check/Makefile.am:
11514 clean up environment for when registry gets built versus
11515 when actual tests are run; valgrind seems to not report
11516 leaks if GST_PLUGIN_PATH is set to some specific values
11517 * check/gst/gstbin.c: (GST_START_TEST):
11518 add more refcounting checks; maybe this exposes a
11520 * common/check.mak:
11521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11522 * gst/check/gstcheck.h:
11523 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
11524 (gst_bin_change_state):
11525 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
11526 add/fix debugging/whitespace
11528 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
11530 * check/gst/gstevent.c: (event_probe), (test_event),
11532 Er, don't call gst_bin_watch_for_state_change you idiot.
11534 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
11536 * check/Makefile.am:
11537 Use CHECK_CFLAGS and CHECK_LIBS
11538 * check/gst/gstevent.c: (event_probe), (test_event),
11541 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
11542 (gst_base_src_start), (gst_base_src_stop),
11543 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11544 (gst_base_src_change_state):
11545 Sprinkle gst_base_src_stop liberally around error paths to fix
11546 problems reusing a source after failed state changes.
11547 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11548 (helper_find_suggest), (gst_type_find_helper):
11549 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
11551 * docs/gst/tmpl/gstevent.sgml:
11552 Migrate part of the docs from the SGML file. Wait for ensonic to
11553 tell me how I did it wrong ;)
11554 * tools/gst-typefind.c: (main):
11555 Extra robustness to state changes between files.
11557 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
11559 * check/Makefile.am:
11560 don't valgrind the controller test - it's leaking - Stefan, HELP
11561 * gst/check/gstcheck.c: (gst_check_message_error),
11562 (gst_check_chain_func), (gst_check_setup_element),
11563 (gst_check_teardown_element), (gst_check_setup_src_pad),
11564 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11565 (gst_check_teardown_sink_pad):
11566 * gst/check/gstcheck.h:
11567 add a bunch of methods to set up elements, and src and sink pads
11568 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
11569 * check/elements/identity.c: (setup_identity), (cleanup_identity),
11572 * gst/gstmessage.c:
11574 whitespace/doc fixes
11576 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11578 * gst/gstelement.h:
11579 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
11580 be handled by the application and not always printed as well
11582 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11584 * check/Makefile.am:
11586 * gst/check/gstcheck.c: (gst_check_message_error):
11587 * gst/check/gstcheck.h:
11588 add a fail_unless_equals_int
11589 add fail_unless for error messages
11591 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11593 * check/Makefile.am:
11595 * common/Makefile.am:
11596 * common/check.mak:
11598 factor out some of the common stuff so we can use it
11600 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11602 * check/Makefile.am:
11603 * check/gst/gstiterator.c: (GST_START_TEST):
11604 * check/gst/gstsystemclock.c: (GST_START_TEST),
11605 (gst_systemclock_suite):
11606 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11608 valgrind more tests
11610 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11612 * check/elements/.cvsignore:
11613 * check/elements/gstfakesrc.c:
11614 rename to name of element
11615 * check/elements/identity.c: (chain_func), (event_func),
11616 (setup_identity), (cleanup_identity), (GST_START_TEST),
11617 (identity_suite), (main):
11618 add a test for identity
11619 * check/Makefile.am:
11620 * pkgconfig/Makefile.am:
11621 * pkgconfig/gstreamer-check.pc.in:
11622 * pkgconfig/gstreamer-check-uninstalled.pc.in:
11626 move the check stuff to a library that gets installed
11627 * check/gst-libs/controller.c: (GST_START_TEST):
11628 * check/gst-libs/gdp.c:
11629 * check/gst/gst.c: (GST_START_TEST):
11630 * check/gst/gstbin.c:
11631 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11632 * check/gst/gstbus.c:
11633 * check/gst/gstcaps.c: (GST_START_TEST):
11634 * check/gst/gstelement.c:
11635 * check/gst/gstghostpad.c:
11636 * check/gst/gstiterator.c:
11637 * check/gst/gstmessage.c:
11638 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
11639 * check/gst/gstobject.c:
11640 * check/gst/gstpad.c: (GST_START_TEST):
11641 * check/gst/gststructure.c: (GST_START_TEST):
11642 * check/gst/gstsystemclock.c: (GST_START_TEST),
11643 (gst_systemclock_suite):
11644 * check/gst/gsttag.c: (gst_tag_suite):
11645 * check/gst/gstvalue.c:
11646 * check/pipelines/cleanup.c:
11647 * check/pipelines/simple_launch_lines.c:
11648 * check/states/sinks.c:
11649 change include statement
11651 * docs/gst/gstreamer-sections.txt:
11652 * docs/gst/tmpl/gstpad.sgml:
11653 document more pad stuff
11654 * gst/gstminiobject.c: (gst_mini_object_ref),
11655 (gst_mini_object_unref):
11658 2005-08-19 Stefan Kost <ensonic@users.sf.net>
11660 * docs/gst/tmpl/gst.sgml:
11662 eliminate another tmpl file, fix spelling in the long-description
11664 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11666 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
11667 (test_event), (timediff), (gstevents_suite):
11668 Should fix build on 64-bit arch's
11670 2005-08-18 Andy Wingo <wingo@pobox.com>
11672 Make sure that when a pipeline goes to PLAYING, that data has
11673 actually hit the sink.
11675 * check/states/sinks.c (test_sink): A sink that doesn't get any
11676 data shouldn't return SUCCESS for going to either PLAYING or
11677 PAUSED. Test also the return values on the way back down.
11679 * gst/gstelement.c (gst_element_set_state): When changing the
11680 state of an element currently changing state asynchronously, go to
11681 lost-state after commiting the pending state. Makes future calls
11682 to get_state continue to return ASYNC.
11684 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
11685 ASYNC when going to PLAYING if we still don't have preroll, as can
11686 happen with live sources.
11688 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11690 * docs/pwg/advanced-types.xml:
11691 Hack long paragraph into 2 chunks as a workaround for buggy
11692 jadetex version in sid and breezy that loops infinitely and
11695 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11697 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
11698 (test_event), (timediff), (gstevents_suite):
11699 Provide more error margin in clock measurements to allow for
11700 g_get_current_time inaccuracies.
11702 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11704 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
11705 (test_event), (timediff), (gstevents_suite):
11706 Fix error message output so I might be able to tell why the
11707 test works here but fails on the build farm.
11709 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11711 * check/Makefile.am:
11712 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
11713 (test_event), (timediff), (gstevents_suite), (main):
11716 * docs/design/part-seeking.txt:
11717 Spelling correction
11719 * docs/gst/tmpl/gstevent.sgml:
11720 * docs/gst/tmpl/gstfakesrc.sgml:
11723 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11724 Treat a buffer-without-newsegment the same as a receiving
11725 a newsegment not in time format, and disable syncing to the clock
11728 * gst/gstbus.c: (gst_bus_set_sync_handler):
11729 Assert if anyone tries to replace the existing sync_handler for bus,
11730 as only the owner should be setting it.
11733 Have a fixed set of custom event enums with events identified by
11734 their structure name (as in 0.8), rather than a free-for-all
11735 allowing collisions between enum values from different plugins.
11737 * gst/gstpad.c: (gst_pad_class_init):
11740 * gst/gstqueue.c: (gst_queue_handle_sink_event):
11741 Handle out-of-band downstream events from the sending thread.
11743 2005-08-17 Andy Wingo <wingo@pobox.com>
11745 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
11746 play-timeout==0 to mean no timeout at all. In that case, don't
11747 bother with a get_state or a warning, just return directly, even
11750 * gst/base/gstbasetransform.c: Debug changes.
11753 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
11754 ensure bins post state change messages. A bit of a hack but I can't
11755 think of a way to avoid it.
11757 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
11759 2005-08-16 Andy Wingo <wingo@pobox.com>
11761 * gst/base/gstadapter.h:
11762 * gst/base/gstadapter.c (gst_adapter_take): New function, like
11763 peek() but you own the data. Not terribly efficient atm.
11765 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11767 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
11768 (gst_element_found_tags):
11770 Add two utility functions for tag handling.
11772 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11774 * docs/manual/advanced-dataaccess.xml:
11775 * docs/manual/basics-helloworld.xml:
11776 Fix docs to use _bin_add() before _link(), which fixes the examples
11777 with recent core versions (reported by Madhan Raj M
11778 <raj_madan@rediffmail.com>, #313199).
11780 2005-08-16 Wim Taymans <wim@fluendo.com>
11782 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11783 Added subtract checks.
11785 * docs/design/part-events.txt:
11786 Some more docs about newsegment
11788 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
11791 * gst/gstcaps.c: (gst_caps_to_string):
11792 Add comments, cleanups.
11794 * gst/gstelement.c: (gst_element_save_thyself):
11797 * gst/gstvalue.c: (gst_value_collect_int_range),
11798 (gst_string_unwrap), (gst_value_union_int_int_range),
11799 (gst_value_union_int_range_int_range),
11800 (gst_value_intersect_int_int_range),
11801 (gst_value_intersect_int_range_int_range),
11802 (gst_value_intersect_double_double_range),
11803 (gst_value_intersect_double_range_double_range),
11804 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
11805 (gst_value_subtract_int_range_int),
11806 (gst_value_subtract_double_range_double),
11807 (gst_value_subtract_double_range_double_range),
11808 (gst_value_subtract_from_list), (gst_value_subtract_list),
11809 (gst_value_can_compare), (gst_value_compare_fraction):
11810 Cleanups, add comments, remove unneeded asserts.
11812 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
11814 * tools/gst-launch.c: (event_loop):
11815 don't convert NULL structures to strings
11817 2005-08-15 Stefan Kost <ensonic@users.sf.net>
11819 * docs/gst/gstreamer-sections.txt:
11820 made some defines private
11821 * docs/gst/tmpl/gstconfig.sgml:
11822 * docs/gst/tmpl/gstqueue.sgml:
11823 * docs/gst/tmpl/gsttaglist.sgml:
11824 * docs/gst/tmpl/gsttypes.sgml:
11825 * docs/gst/tmpl/gstutils.sgml:
11826 * docs/pwg/appendix-porting.xml:
11827 * gst/base/gstbasesink.h:
11828 * gst/base/gstbasesrc.c:
11829 * gst/base/gstbasesrc.h:
11830 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
11831 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
11832 * gst/gstelement.c: (gst_element_class_init):
11833 * gst/gstpad.c: (gst_pad_class_init):
11834 * gst/gstqueue.c: (gst_queue_class_init):
11835 * gst/gstxml.c: (gst_xml_class_init):
11836 documented all undocumented signal inline
11837 * libs/gst/controller/gst-controller.h:
11840 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11842 * docs/pwg/appendix-porting.xml:
11843 Document _set_link_function -> _set_setcaps_function.
11845 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
11847 * check/Makefile.am:
11848 add a .check target for running the check
11849 * check/gst-libs/controller.c: (GST_START_TEST):
11851 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11852 complete checks for gstbuffer; would be nice if I could get the
11853 gcov stuff to work so I can see if I actually completed gstbuffer.c
11854 * check/gstcheck.h:
11855 add ASSERT_BUFFER_REFCOUNT
11857 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
11859 * docs/gst/gstreamer-sections.txt:
11860 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
11862 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
11863 spew out a warning if a tag that is already registered
11864 is re-registered, unless it is re-registered with a
11865 different type (#308438).
11867 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
11869 * docs/pwg/appendix-porting.xml:
11870 * docs/pwg/building-state.xml:
11871 Add some paragraphs about state changes in 0.9 to the PWG
11872 and the porting guide, in particular about the new meaning
11873 of GST_STATE_PAUSED and how to write state change functions
11874 with concurrent access by multiple threads in mind.
11876 2005-08-11 Stefan Kost <ensonic@users.sf.net>
11878 * docs/gst/gstreamer-docs.sgml:
11879 * docs/libs/gstreamer-libs-docs.sgml:
11880 added deprecation and since indexes
11881 * libs/gst/controller/gst-controller.c:
11882 * libs/gst/controller/gst-helper.c:
11886 2005-08-11 Wim Taymans <wim@fluendo.com>
11888 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
11889 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
11890 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
11891 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
11892 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
11893 (gst_ghost_pad_set_target):
11894 Actually implement (re)setting the target on a ghostpad
11895 as described in the docs.
11897 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
11899 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
11900 Check whether GST_DEBUG_NO_COLOR environment variable is
11901 set and disable coloured debug output if that is the case.
11903 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
11905 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11906 (gst_type_find_helper):
11907 The memory returned by gst_type_find_peek() needs to
11908 stay valid until the end of a typefind function, and
11909 typefind functions may keep results from different
11910 offsets around, so we can't just unref the buffer from
11911 the previous _peek(), but have to save all buffers
11912 returned by _peek() until typefinding is done and only
11915 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
11917 * docs/gst/gstreamer-sections.txt:
11919 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
11921 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11923 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11924 Fix a pretty good memleak.
11926 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
11928 * gst/gstiterator.h:
11929 Fix wrong include and 'make distcheck'.
11931 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11933 * gst/gstbin.c: (bin_bus_handler):
11934 Use gst_element_post_message() instead.
11936 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
11938 * gst/base/gstadapter.h:
11939 * gst/base/gstbasesink.h:
11940 * gst/base/gstbasesrc.h:
11941 * gst/base/gstbasetransform.h:
11942 * gst/base/gstcollectpads.h:
11943 * gst/base/gstpushsrc.h:
11944 * gst/gstiterator.h:
11945 Add padding to our base elements' class and instance structs and
11946 to GstIterator (you will need to rebuild all plugins and apps!)
11948 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11950 * gst/gstbin.c: (bin_bus_handler):
11951 Make default message forwarding from child->bus to bin->bus
11952 threadsafe and make it not emit warnings if the parent has no bus.
11954 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11956 * gst/gstelement.c: (activate_pads):
11957 On paused->ready, set pad->caps to NULL, as is the documented
11958 behaviour in this state change. Fixes playback of series of
11959 media files when visualization is enabled in Totem.
11961 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11963 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11964 Allow NULL as filter-caps (which means "any").
11966 2005-08-05 Stefan Kost <ensonic@users.sf.net>
11968 * docs/libs/gstreamer-libs-sections.txt:
11969 * libs/gst/controller/gst-controller.c:
11970 * libs/gst/controller/gst-controller.h:
11971 * libs/gst/controller/gst-helper.c:
11972 adding more entries to the docs and fix small doc-bugs
11974 2005-08-05 Stefan Kost <ensonic@users.sf.net>
11976 * docs/gst/gstreamer-docs.sgml:
11977 * docs/gst/gstreamer-sections.txt:
11978 * docs/gst/gstreamer.types:
11979 * docs/gst/tmpl/gstbasesink.sgml:
11980 * docs/gst/tmpl/gstbasesrc.sgml:
11981 * docs/gst/tmpl/gstbasetransform.sgml:
11982 * docs/gst/tmpl/gstfakesrc.sgml:
11983 * gst/base/gstcollectpads.c:
11984 * gst/base/gstcollectpads.h:
11985 * libs/gst/controller/gst-controller.c:
11986 * libs/gst/controller/gst-controller.h:
11987 * libs/gst/controller/gst-helper.c:
11988 * libs/gst/controller/gst-interpolation.c:
11989 * libs/gst/controller/lib.c:
11990 added long/short desc for controller docs
11991 added collectpads base class docs
11992 added correct includes to base-class docs
11994 2005-08-05 Stefan Kost <ensonic@users.sf.net>
11996 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11997 (gst_test_mono_source_set_property),
11998 (gst_test_mono_source_class_init), (GST_START_TEST),
11999 (gst_controller_suite):
12000 * docs/gst/gstreamer-docs.sgml:
12001 * docs/gst/gstreamer-sections.txt:
12002 * docs/gst/gstreamer.types:
12003 * docs/libs/gstreamer-libs-docs.sgml:
12004 * docs/libs/gstreamer-libs-sections.txt:
12005 * gst/base/gstadapter.c:
12006 * libs/gst/controller/gst-controller.c:
12007 (gst_controlled_property_new), (gst_controlled_property_free),
12008 (gst_controller_new_valist),
12009 (gst_controller_remove_properties_valist),
12010 (gst_controller_sink_values), (_gst_controller_finalize):
12011 * libs/gst/controller/gst-controller.h:
12012 * libs/gst/controller/gst-helper.c:
12013 (gst_object_control_properties), (gst_object_uncontrol_properties),
12014 (gst_object_get_controller), (gst_object_set_controller),
12015 (gst_object_sink_values), (gst_object_get_value_arrays),
12016 (gst_object_get_value_array):
12017 more tests (and fixes) for the controller
12018 more docs for the controller
12019 integrated companies docs for the adapter
12021 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
12023 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
12024 (GST_START_TEST), (fakesrc_suite):
12025 add tests for sizetype
12027 2005-08-04 Andy Wingo <wingo@pobox.com>
12029 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
12030 fixes buffer_alloc proxying among other things.
12032 * gst/base/gstbasetransform.c:
12033 * gst/base/gstbasetransform.h:
12034 Revert patch to gstbasetransform from 7-28 removing
12037 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
12038 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
12039 Semantics changed, should return not the size of the output buffer
12040 but the byte size of a buffer with a given caps.
12042 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
12044 (gst_base_transform_configure_caps): Don't set out_size here: (in,
12045 out) are not the pad caps until setcaps finishes.
12046 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
12047 not-in-place case as well. Deal with changing from in-place to
12048 not-in-place within calling pad_alloc_buffer. Still a bit
12049 concerned about the overhead here...
12051 2005-08-03 Andy Wingo <wingo@pobox.com>
12053 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
12054 fixating is an error.
12056 2005-08-04 Edward Hervey <edward@fluendo.com>
12058 * gst/base/gstadapter.h:
12059 Added gst_adapter_get_type() to the header
12061 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12063 * check/Makefile.am:
12064 * check/gst-libs/controller.c:
12065 * libs/gst/controller/gst-controller.c:
12066 (gst_controller_new_valist):
12067 added check test suite for the controller
12068 * gst/base/gstpushsrc.c:
12071 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12073 * docs/gst/Makefile.am:
12074 * docs/gst/gstreamer-docs.sgml:
12075 * docs/gst/gstreamer-sections.txt:
12076 * docs/gst/gstreamer.types:
12077 * docs/gst/tmpl/gstfakesrc.sgml:
12079 * gst/base/gstbasesink.c:
12080 * gst/base/gstbasesink.h:
12081 * gst/base/gstbasesrc.c:
12082 * gst/base/gstbasesrc.h:
12083 * gst/base/gstbasetransform.c:
12084 * gst/base/gstpushsrc.c:
12085 * gst/base/gstpushsrc.h:
12086 add short/long description docs to base classes
12087 add pushsrc to the docs
12088 remove consolidated doc fragments
12090 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12093 * docs/libs/Makefile.am:
12094 * docs/libs/gstreamer-libs-docs.sgml:
12095 * docs/libs/gstreamer-libs-sections.txt:
12096 * docs/libs/gstreamer-libs.types:
12097 * examples/Makefile.am:
12098 * examples/controller/.cvsignore:
12099 * examples/controller/Makefile.am:
12100 * examples/controller/audio-example.c: (main):
12101 * libs/gst/Makefile.am:
12102 * libs/gst/controller/.cvsignore:
12103 * libs/gst/controller/Makefile.am:
12104 * libs/gst/controller/gst-controller.c:
12105 (on_object_controlled_property_changed), (gst_timed_value_compare),
12106 (gst_timed_value_find),
12107 (gst_controlled_property_set_interpolation_mode),
12108 (gst_controlled_property_new), (gst_controlled_property_free),
12109 (gst_controller_find_controlled_property),
12110 (gst_controller_new_valist), (gst_controller_new),
12111 (gst_controller_remove_properties_valist),
12112 (gst_controller_remove_properties), (gst_controller_set),
12113 (gst_controller_set_from_list), (gst_controller_unset),
12114 (gst_controller_get), (gst_controller_get_all),
12115 (gst_controller_sink_values), (gst_controller_get_value_arrays),
12116 (gst_controller_get_value_array),
12117 (gst_controller_set_interpolation_mode),
12118 (_gst_controller_finalize), (_gst_controller_init),
12119 (_gst_controller_class_init), (gst_controller_get_type):
12120 * libs/gst/controller/gst-controller.h:
12121 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
12122 (g_object_uncontrol_properties), (g_object_get_controller),
12123 (g_object_set_controller), (g_object_sink_values),
12124 (g_object_get_value_arrays), (g_object_get_value_array):
12125 * libs/gst/controller/gst-interpolation.c:
12126 (gst_controlled_property_find_timed_value_node),
12127 (interpolate_none_get), (interpolate_trigger_get),
12128 (interpolate_trigger_get_value_array):
12129 * libs/gst/controller/lib.c: (gst_controller_init):
12130 * pkgconfig/Makefile.am:
12131 * pkgconfig/gstreamer-control-uninstalled.pc.in:
12132 * pkgconfig/gstreamer-control.pc.in:
12133 * testsuite/Makefile.am:
12134 * testsuite/controller/.cvsignore:
12135 * testsuite/controller/Makefile.am:
12136 * testsuite/controller/interpolator.c: (main):
12137 added controller code
12138 removed dparam pc files
12140 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12141 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
12142 (gst_collectpads_stop):
12143 Broadcast the condition when shutting down, to make sure we wake all
12144 threads up. Shut down pads on finalize, for safety.
12146 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12147 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12148 (gst_base_transform_handle_buffer),
12149 (gst_base_transform_change_state):
12150 Handle PAUSED->READY->PAUSED transition after negotiation
12152 * gst/gstmessage.c: (gst_message_init):
12153 Extra piece of debug for new messages.
12155 2005-08-01 Stefan Kost <ensonic@users.sf.net>
12158 * docs/gst/tmpl/gstbasesrc.sgml:
12159 * docs/gst/tmpl/gstelement.sgml:
12160 * docs/gst/tmpl/gstevent.sgml:
12161 * docs/gst/tmpl/gstfakesrc.sgml:
12162 * docs/gst/tmpl/gstformat.sgml:
12163 * docs/gst/tmpl/gstghostpad.sgml:
12164 * docs/gst/tmpl/gstpad.sgml:
12165 * docs/gst/tmpl/gstquery.sgml:
12166 * docs/gst/tmpl/gststructure.sgml:
12167 * docs/gst/tmpl/gsttaglist.sgml:
12168 * docs/gst/tmpl/gstvalue.sgml:
12169 * docs/libs/gstreamer-libs-docs.sgml:
12170 * docs/libs/gstreamer-libs-sections.txt:
12171 * docs/libs/gstreamer-libs.types:
12172 * libs/gst/Makefile.am:
12173 * libs/gst/control/.cvsignore:
12174 * libs/gst/control/Makefile.am:
12175 * libs/gst/control/control.c:
12176 * libs/gst/control/control.h:
12177 * libs/gst/control/dparam.c:
12178 * libs/gst/control/dparam.h:
12179 * libs/gst/control/dparam_smooth.c:
12180 * libs/gst/control/dparam_smooth.h:
12181 * libs/gst/control/dparamcommon.h:
12182 * libs/gst/control/dparammanager.c:
12183 * libs/gst/control/dparammanager.h:
12184 * libs/gst/control/dplinearinterp.c:
12185 * libs/gst/control/dplinearinterp.h:
12186 * libs/gst/control/unitconvert.c:
12187 * libs/gst/control/unitconvert.h:
12188 * testsuite/Makefile.am:
12189 * testsuite/dynparams/.cvsignore:
12190 * testsuite/dynparams/Makefile.am:
12191 * testsuite/dynparams/dparamstest.c:
12192 * tools/Makefile.am:
12193 * tools/gst-inspect.c: (print_element_info), (main):
12194 * tools/gst-xmlinspect.c: (print_element_info), (main):
12195 deactivate and remove dparams (libgstcontrol)
12197 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12199 * gst/elements/gsttypefindelement.c:
12200 (gst_type_find_element_have_type), (gst_type_find_element_init),
12201 (stop_typefinding), (gst_type_find_element_handle_event),
12202 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12203 * gst/elements/gsttypefindelement.h:
12204 Set caps on all outgoing buffers, not just the first one.
12206 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12208 * gst/elements/gsttypefindelement.c:
12209 (gst_type_find_element_have_type),
12210 (gst_type_find_element_check_set_buffer_caps),
12211 (gst_type_find_element_init), (stop_typefinding),
12212 (gst_type_find_element_handle_event),
12213 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12214 * gst/elements/gsttypefindelement.h:
12215 Set caps on first outgoing buffer when we've found the type.
12217 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12219 * docs/gst/gstreamer-docs.sgml:
12220 * docs/gst/gstreamer-sections.txt:
12221 * docs/gst/tmpl/gstscheduler.sgml:
12222 * docs/gst/tmpl/gstschedulerfactory.sgml:
12223 Remove some old cruft from docs.
12225 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
12228 Fix inline docs for GstPadLinkReturn.
12230 * gst/gststructure.c: (gst_structure_has_name):
12231 * gst/gststructure.h:
12232 * docs/gst/gstreamer-sections.txt:
12233 New API: gst_structure_has_name().
12235 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
12238 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
12239 and _LARGEFILE_SOURCE in config.h as required. Do not
12240 export those flags in our .pc files any longer (#142209).
12242 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
12244 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
12245 (gst_file_sink_do_seek), (gst_file_sink_event),
12246 (gst_file_sink_get_current_offset), (gst_file_sink_render):
12247 Redo seek/tell calls with large file support in mind; add some
12248 debugging messages; add log message that tells us when large
12249 file support is unavailable or not enabled for some reason.
12251 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
12252 Add log message that tells us when large file support
12253 is unavailable or not enabled for some reason.
12255 2005-07-29 Wim Taymans <wim@fluendo.com>
12257 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12258 Added test for removing an element with ghostpad from a bin.
12259 Fixed test as current implementation does the right thing.
12261 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
12262 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
12263 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
12264 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
12265 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
12266 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12267 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12268 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12269 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
12270 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
12271 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
12272 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
12273 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12274 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
12275 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
12276 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12277 * gst/gstghostpad.h:
12278 Clean up ghostpads, remove properties for internal stuff.
12281 Prepare for switching targets, not all use cases work yet.
12283 2005-07-29 Wim Taymans <wim@fluendo.com>
12285 * docs/design/part-gstghostpad.txt:
12288 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12289 (gst_bin_remove_func):
12290 Unlinking pads while holding the bin LOCK is not a good
12293 * gst/gstpad.c: (gst_pad_class_init),
12294 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
12295 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
12296 No prob setting template after creating the pad.
12298 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
12300 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
12301 (gst_bus_peek), (gst_bus_source_dispatch),
12302 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
12303 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
12304 gst_bus_poll may be called from other threads. Handle
12305 this nicely by not making poll_data disappear off the
12306 stack once gst_bus_poll returns.
12307 gst_bus_peek now increments the refcount on the returned
12310 2005-07-29 Wim Taymans <wim@fluendo.com>
12312 * docs/design/part-gstghostpad.txt:
12313 Overview of current GhostPad datastructures and use
12314 cases for changing the target.
12316 2005-07-28 Wim Taymans <wim@fluendo.com>
12318 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12319 Added checks for hierarchy consistency whan adding linked
12322 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12323 Added check to test element scheduling without bin/pipeline.
12325 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12326 First add elements to bin, then link.
12328 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12329 (gst_bin_remove_func):
12330 Unlink pads from elements added/removed from bin to maintain
12331 hierarchy consistency.
12333 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12335 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12336 (gst_base_transform_handle_buffer):
12337 * gst/base/gstbasetransform.h:
12338 Remove broken delay_configure (fixes renegotiation of software
12339 scaling pipelines); remove some leftover printf()s.
12341 2005-07-28 Wim Taymans <wim@fluendo.com>
12343 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12344 Added some more tests for wrong hierarchy
12346 * docs/design/part-overview.txt:
12349 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
12352 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
12353 (gst_element_dispose):
12354 Some more cleanups.
12356 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12357 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
12358 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12359 (gst_pad_set_caps), (gst_pad_send_event):
12360 Check for correct hierarchy when linking pads. Moving to
12361 strict requirement for ghostpads when linking elements in
12365 Clean ups. Added WRONG_HIERARCHY return value.
12367 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12369 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12370 Better debug if no transform is possible.
12372 2005-07-27 Wim Taymans <wim@fluendo.com>
12374 * docs/random/wtay/network-transp:
12375 Some old doc I had.
12377 2005-07-27 Wim Taymans <wim@fluendo.com>
12379 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12380 (gst_dp_event_from_packet):
12381 Fix serialization of seek events.
12383 2005-07-27 Wim Taymans <wim@fluendo.com>
12385 * check/gst-libs/gdp.c: (GST_START_TEST):
12386 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12387 Fix compilation and fix event serialization.
12389 2005-07-27 Wim Taymans <wim@fluendo.com>
12392 * docs/design/part-TODO.txt:
12393 * docs/design/part-events.txt:
12396 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12397 (gst_base_sink_event), (gst_base_sink_do_sync),
12398 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12399 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12400 (gst_base_src_do_seek), (gst_base_src_event_handler),
12401 (gst_base_src_loop):
12402 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12403 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12404 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12405 (gst_base_transform_event), (gst_base_transform_handle_buffer),
12406 (gst_base_transform_set_passthrough),
12407 (gst_base_transform_is_passthrough):
12408 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12409 * gst/elements/gstfilesink.c: (gst_file_sink_event):
12415 * gst/gstelement.c: (gst_element_seek):
12416 * gst/gstelement.h:
12417 Update gst_element_seek.
12419 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
12420 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
12421 (gst_event_new_flush_start), (gst_event_new_flush_stop),
12422 (gst_event_new_eos), (gst_event_new_newsegment),
12423 (gst_event_parse_newsegment), (gst_event_new_tag),
12424 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
12425 (gst_event_parse_qos), (gst_event_new_seek),
12426 (gst_event_parse_seek), (gst_event_new_navigation):
12428 Make GstEvent use GstStructure. Add parsing code, make sure the
12429 API is sufficiently generic.
12430 Mark possible directions of events and serialization.
12432 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
12433 (_gst_message_copy), (gst_message_new_segment_start),
12434 (gst_message_new_segment_done), (gst_message_new_custom),
12435 (gst_message_parse_segment_start),
12436 (gst_message_parse_segment_done):
12439 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12440 (gst_pad_set_caps), (gst_pad_send_event):
12441 Update for new events.
12442 Catch events sent in wrong directions.
12444 * gst/gstqueue.c: (gst_queue_link_src),
12445 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
12446 (gst_queue_handle_src_query):
12451 Remove event code from this file.
12453 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12454 (gst_dp_event_from_packet):
12457 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12459 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
12460 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12461 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
12462 Make debugging actually useful.
12464 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12466 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
12467 (gst_pad_fixate_caps):
12468 Implement default fixation once again, so that gst_pad_fixate()
12469 actually does anything at all. This probably needs to be some
12470 sort of a last resort, and use profile-based fixation first, but
12471 since that doesn't exist yet, this is the best we have. Fixes
12472 visualization in Totem.
12474 2005-07-22 Wim Taymans <wim@fluendo.com>
12476 * docs/design/part-events.txt:
12479 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12480 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
12481 (gst_base_sink_activate_pull):
12482 Some more comments.
12484 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
12485 (gst_fake_src_create):
12486 Fix handoff marshall.
12488 * gst/elements/gstidentity.c: (gst_identity_class_init),
12489 (gst_identity_transform_ip):
12490 We're a real inplace element.
12492 * gst/gstbus.c: (gst_bus_post):
12493 Added some comments.
12495 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
12496 * tests/muxing/case1.c: (main):
12497 * tests/sched/dynamic-pipeline.c: (main):
12498 * tests/sched/interrupt1.c: (main):
12499 * tests/sched/interrupt2.c: (main):
12500 * tests/sched/interrupt3.c: (main):
12501 * tests/sched/runxml.c: (main):
12502 * tests/sched/sched-stress.c: (main):
12503 * tests/seeking/seeking1.c: (event_received), (main):
12504 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12506 * tests/threadstate/threadstate3.c: (main):
12507 * tests/threadstate/threadstate4.c: (main):
12508 * tests/threadstate/threadstate5.c: (main):
12511 2005-07-21 Wim Taymans <wim@fluendo.com>
12513 * docs/design/part-seeking.txt:
12514 Some small additions.
12516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12517 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12518 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12519 * gst/base/gstbasesink.h:
12520 discont values are gint64, handle the math correctly.
12522 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12523 Make the basesrc report error if the source pad is not linked.
12525 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
12526 (gst_queue_loop), (gst_queue_handle_src_query),
12527 (gst_queue_src_activate_push):
12528 Make queue collect data even if the srcpad is not linked.
12529 Start pushing out data as soon as it is linked.
12531 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
12533 Added gst_flow_get_name() to ease error reporting.
12535 2005-07-20 Wim Taymans <wim@fluendo.com>
12537 * gst/gstmessage.c: (gst_message_new_segment_start),
12538 (gst_message_new_segment_done), (gst_message_parse_segment_start),
12539 (gst_message_parse_segment_done):
12540 * gst/gstmessage.h:
12541 Added a bunch of messages for advanced seeking.
12543 * gst/parse/grammar.y:
12544 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
12545 (gst_dpman_state_changed):
12546 Fix some new-pad -> pad-added signals
12548 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12550 * docs/manual/appendix-porting.xml:
12551 * docs/pwg/appendix-porting.xml:
12552 Document new-pad/state-change signal renames and the FixedList
12555 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12557 * docs/manual/advanced-autoplugging.xml:
12558 * docs/manual/basics-helloworld.xml:
12559 * docs/manual/basics-pads.xml:
12560 * docs/random/ds/0.9-suggested-changes:
12561 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
12562 * gst/gstelement.h:
12566 * gst/gststructure.c: (gst_structure_value_get_generic_type),
12567 (gst_structure_parse_array), (gst_structure_parse_value):
12568 * gst/gstvalue.c: (gst_type_is_fixed),
12569 (gst_value_list_prepend_value), (gst_value_list_append_value),
12570 (gst_value_list_get_size), (gst_value_list_get_value),
12571 (gst_value_transform_array_string), (gst_value_serialize_array),
12572 (gst_value_deserialize_array), (gst_value_intersect_array),
12573 (gst_value_is_fixed), (_gst_value_initialize):
12575 GstElement::new-pad -> pad-added, GstElement::state-change ->
12576 state-changed, GstValueFixedList -> GstValueArray, add format and
12577 flags as their own arguments in gst_element_seek() (should improve
12578 "bindeability"), remove function generators since they don't work
12579 under a whole bunch of compilers (they were deprecated already
12582 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12584 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12585 (_gst_debug_register_funcptr):
12587 Fix illegal cast on some platforms (#309253).
12589 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12591 * gst/gstmessage.c: (gst_message_new_custom):
12592 * gst/gstmessage.h:
12593 Add _new_custom, make _new_application a macro to _new_custom.
12595 2005-07-20 Wim Taymans <wim@fluendo.com>
12597 * gst/base/gstbasesrc.c: (gst_base_src_init),
12598 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
12599 * gst/base/gstbasesrc.h:
12600 Add a gboolean to decide when to push out a discont.
12602 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12603 (gst_queue_loop), (gst_queue_handle_src_query),
12604 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
12605 (gst_queue_set_property), (gst_queue_get_property):
12608 * tests/threadstate/threadstate1.c: (main):
12609 Make a thread test compile and run... very silly..
12612 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12614 * docs/manual/appendix-porting.xml:
12615 Mention removal of libgstgconf-0.9.la and existence of gconf
12618 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12620 * docs/pwg/advanced-clock.xml:
12621 * docs/pwg/appendix-porting.xml:
12622 * docs/pwg/intro-preface.xml:
12623 * docs/pwg/other-base.xml:
12624 * docs/pwg/other-manager.xml:
12625 * docs/pwg/other-nton.xml:
12626 * docs/pwg/other-ntoone.xml:
12627 * docs/pwg/other-oneton.xml:
12628 * docs/pwg/pwg.xml:
12629 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
12630 demuxer), remove n-to-n (was never written), fix some code examples
12631 and links and update the porting section to include all this.
12633 2005-07-19 Wim Taymans <wim@fluendo.com>
12635 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
12636 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
12637 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
12638 (gst_queue_src_activate_push), (gst_queue_change_state),
12639 (gst_queue_get_property):
12641 Propagate GstFlowReturn more intelligently upstream and output
12642 an ERROR/EOS when streaming stopped due to fatal error.
12644 2005-07-19 Wim Taymans <wim@fluendo.com>
12646 * tools/gst-launch.c: (check_intr), (event_loop), (main):
12647 Don't block forever for the state change to complete, the
12648 pipeline already did with a sensible timeout.
12650 2005-07-19 Wim Taymans <wim@fluendo.com>
12652 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12653 Make sure we never call the create function is we
12656 2005-07-19 Andy Wingo <wingo@pobox.com>
12658 * gst/parse/parse.l: Attempt to solve bug #172815.
12660 2005-07-19 Wim Taymans <wim@fluendo.com>
12662 * docs/design/part-clocks.txt:
12663 * docs/design/part-events.txt:
12664 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
12665 Small docs updates.
12666 Only update the seeking values when we are not
12669 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
12671 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12672 Oops, ignore the result of gst_pad_push_event here.
12674 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
12676 * gst/base/gstbasesrc.c: (gst_base_src_loop),
12677 (gst_base_src_activate_push):
12678 Send discont event from the loop function, as pads
12679 aren't activated yet in the activate_push handler.
12681 * gst/gstbin.c: (bin_bus_handler):
12682 Don't leak element name.
12684 2005-07-18 Andy Wingo <wingo@pobox.com>
12686 * configure.ac: Use AS_LIBTOOL_TAGS.
12688 2005-07-18 Wim Taymans <wim@fluendo.com>
12690 * docs/gst/gstreamer.types:
12691 Remove deleted types.
12693 2005-07-18 Wim Taymans <wim@fluendo.com>
12695 * check/elements/gstfakesrc.c: (GST_START_TEST):
12698 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
12699 (init_popt_callback):
12701 * gst/gst_private.h:
12702 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
12703 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
12706 * gst/gstconfig.h.in:
12707 * gst/gstelement.c: (gst_element_class_init),
12708 (gst_element_set_base_time), (gst_element_get_base_time),
12709 (iterator_fold_with_resync), (gst_element_change_state),
12710 (gst_element_dispose), (gst_element_get_bus):
12711 * gst/gstelement.h:
12712 * gst/gstelementfactory.h:
12713 * gst/gsterror.c: (_gst_core_errors_init):
12716 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
12718 * gst/gstinfo.c: (_gst_debug_init):
12719 * gst/gstmessage.c: (_gst_message_copy):
12720 * gst/gstmessage.h:
12721 * gst/gstminiobject.h:
12724 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12725 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
12728 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
12729 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
12730 (gst_pipeline_get_last_stream_time):
12731 * gst/gstpipeline.h:
12732 * gst/gstpluginfeature.h:
12734 * gst/gstscheduler.c:
12735 * gst/gstscheduler.h:
12736 * gst/gststructure.h:
12737 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12738 (gst_task_finalize), (gst_task_func), (gst_task_create),
12739 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
12740 (gst_task_stop), (gst_task_pause):
12742 * gst/gsttypefind.h:
12744 * gst/registries/gstlibxmlregistry.c: (load_feature),
12745 (gst_xml_registry_load), (gst_xml_registry_save_feature):
12746 * gst/registries/gstxmlregistry.c:
12747 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
12748 * gst/schedulers/threadscheduler.c:
12749 * libs/gst/control/dparammanager.h:
12750 * tools/gst-inspect.c: (print_element_list),
12751 (print_plugin_features), (print_element_features):
12752 * tools/gst-xmlinspect.c: (print_element_list),
12753 (print_plugin_info), (main):
12754 Removed plugable schedulers.
12755 Removed Scheduler/Manager from elements.
12756 Removed gsttypes.h, rearranged includes.
12757 Removed dependency pad<->element, element<>pipeline, and
12758 various others, fix includes.
12759 implement gst_pad_get_parent() with gst_object_get_parent()
12760 Make GstTask sefcontained.
12761 Fix _get_state() on GstBin, it did not return ASYNC with a 0
12763 Fix endless loop in iterator_fold_with_resync.
12766 2005-07-18 Wim Taymans <wim@fluendo.com>
12772 2005-07-18 Wim Taymans <wim@fluendo.com>
12775 No more cothreads.h
12777 2005-07-18 Wim Taymans <wim@fluendo.com>
12781 Let's remove these.
12783 2005-07-18 Wim Taymans <wim@fluendo.com>
12785 * docs/design/part-dynamic.txt:
12786 * docs/design/part-events.txt:
12787 * docs/design/part-seeking.txt:
12788 Some more docs in the works.
12790 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12791 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
12792 (gst_base_transform_setcaps), (gst_base_transform_get_size),
12793 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12794 (gst_base_transform_handle_buffer),
12795 (gst_base_transform_sink_activate_push),
12796 (gst_base_transform_src_activate_pull),
12797 (gst_base_transform_set_passthrough),
12798 (gst_base_transform_is_passthrough):
12801 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
12804 * gst/gstevent.c: (gst_event_finalize):
12807 * gst/gstutils.c: (gst_element_unlink),
12808 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
12809 (gst_pad_proxy_setcaps):
12811 Add _get_parent_element() to get a pads parent as an element.
12813 2005-07-18 Wim Taymans <wim@fluendo.com>
12815 * check/gst/gstbin.c: (GST_START_TEST):
12818 2005-07-18 Wim Taymans <wim@fluendo.com>
12820 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
12821 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
12822 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
12823 (gst_base_sink_event), (gst_base_sink_do_sync),
12824 (gst_base_sink_chain), (gst_base_sink_loop),
12825 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
12826 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12828 Fix logic for returning ASYNC when not prerolled.
12830 2005-07-18 Wim Taymans <wim@fluendo.com>
12832 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12833 Fix nasty refcount bug.
12835 2005-07-16 Philippe Khalaf <burger@speedy.org>
12837 * gst/elements/gstfdsrc.c:
12838 * gst/elements/gstfdsrc.h:
12839 * gst/elements/gstelements.c:
12840 * gst/elements/Makefile.am:
12841 Ported fdsrc to 0.9.
12843 2005-07-16 Wim Taymans <wim@fluendo.com>
12845 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12846 (gst_base_sink_do_sync):
12849 2005-07-16 Wim Taymans <wim@fluendo.com>
12851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12852 (gst_base_sink_event), (gst_base_sink_get_times),
12853 (gst_base_sink_do_sync), (gst_base_sink_change_state):
12854 * gst/base/gstbasesink.h:
12855 Store and use discont values when syncing buffers as described
12858 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12859 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
12860 (gst_base_src_activate_push):
12861 Push discont event when starting.
12863 * gst/elements/gstidentity.c: (gst_identity_transform):
12866 * gst/gstbin.c: (gst_bin_change_state):
12867 Small cleanups in base_time distribution.
12869 * gst/gstelement.c: (gst_element_set_base_time),
12870 (gst_element_get_base_time), (gst_element_change_state):
12871 * gst/gstelement.h:
12872 Added methods for the base_time of the element.
12875 * gst/gstpipeline.c: (gst_pipeline_send_event),
12876 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
12877 (gst_pipeline_get_last_stream_time):
12878 * gst/gstpipeline.h:
12880 Handle seeking as described in design doc, remove stream_time
12882 Cleanups clock and stream_time selection code. Added accessors
12883 for the stream_time.
12886 2005-07-16 Andy Wingo <wingo@pobox.com>
12888 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
12891 2005-07-16 Wim Taymans <wim@fluendo.com>
12893 * check/gst/gstbin.c: (GST_START_TEST):
12894 Make elements silent as the deep_notify refs the
12895 parent, which might make the test fail.
12897 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
12898 Don't hold the lock for too long.
12900 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
12902 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12903 Don't unref the caps we passed to gst_caps_make_writable() after
12904 passing them. gst_caps_make_writable() will do that for us.
12906 2005-07-15 Andy Wingo <wingo@pobox.com>
12908 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
12911 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
12912 own marshalling function for the handoff signal. Properly type the
12913 buffer as a buffer. Fixes some warnings. Should do a more general
12915 (gst_identity_class_init): Plug into the right marshaller.
12917 2005-07-15 Wim Taymans <wim@fluendo.com>
12919 * docs/design/part-TODO.txt:
12920 * docs/design/part-clocks.txt:
12921 * docs/design/part-element-sink.txt:
12922 * docs/design/part-events.txt:
12923 * docs/design/part-gstpipeline.txt:
12924 Updated docs, mostly DISCONT related.
12926 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
12928 * docs/pwg/building-pads.xml:
12929 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
12931 2005-07-15 Andy Wingo <wingo@pobox.com>
12933 * tools/gst-typefind.c: Update, add copyright block.
12935 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
12936 Normalize and truncate caps before fixation.
12939 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
12940 discards all but the first structure from its argument.
12942 2005-07-15 Wim Taymans <wim@fluendo.com>
12944 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12945 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
12946 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12947 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12948 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
12949 (gst_base_transform_chain), (gst_base_transform_change_state),
12950 (gst_base_transform_set_passthrough),
12951 (gst_base_transform_is_passthrough):
12952 * gst/base/gstbasetransform.h:
12953 Make passthrough work using the bufferpools.
12954 Changed API a bit, subclasses have to write into a buffer
12955 provided by the base class.
12956 More debug info in nego functions.
12958 * gst/elements/gstidentity.c: (gst_identity_init),
12959 (gst_identity_transform):
12960 Port to new base class.
12962 2005-07-15 Wim Taymans <wim@fluendo.com>
12964 * gst/gstmessage.c: (gst_message_new_state_changed):
12965 * tools/gst-launch.c: (event_loop), (main):
12966 Totally dump messages in -launch with the -m option.
12967 Fix message name for State messages,
12969 2005-07-14 Wim Taymans <wim@fluendo.com>
12971 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12972 Post error messages on errors.
12974 2005-07-14 Wim Taymans <wim@fluendo.com>
12976 * gst/gstcaps.c: (gst_caps_do_simplify):
12980 Define error for stream stopped.
12982 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
12983 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
12984 Do proper return values.
12986 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12987 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
12988 (gst_pad_get_range):
12989 Better return values.
12992 Reorganise return values, add macro to check for fatal errors.
12994 * gst/gstqueue.c: (gst_queue_chain):
12995 Return proper GstFlowReturn values,
12997 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
12999 * docs/gst/gstreamer-sections.txt:
13000 * docs/gst/gstreamer.types:
13001 * docs/gst/tmpl/gst.sgml:
13002 * docs/gst/tmpl/gstbasesink.sgml:
13003 * docs/gst/tmpl/gstbasesrc.sgml:
13004 * docs/gst/tmpl/gstbasetransform.sgml:
13005 * docs/gst/tmpl/gstbin.sgml:
13006 * docs/gst/tmpl/gstbuffer.sgml:
13007 * docs/gst/tmpl/gstcaps.sgml:
13008 * docs/gst/tmpl/gstclock.sgml:
13009 * docs/gst/tmpl/gstcompat.sgml:
13010 * docs/gst/tmpl/gstconfig.sgml:
13011 * docs/gst/tmpl/gstelement.sgml:
13012 * docs/gst/tmpl/gstelementdetails.sgml:
13013 * docs/gst/tmpl/gstelementfactory.sgml:
13014 * docs/gst/tmpl/gstenumtypes.sgml:
13015 * docs/gst/tmpl/gsterror.sgml:
13016 * docs/gst/tmpl/gstevent.sgml:
13017 * docs/gst/tmpl/gstfakesink.sgml:
13018 * docs/gst/tmpl/gstfakesrc.sgml:
13019 * docs/gst/tmpl/gstfilesink.sgml:
13020 * docs/gst/tmpl/gstfilesrc.sgml:
13021 * docs/gst/tmpl/gstfilter.sgml:
13022 * docs/gst/tmpl/gstformat.sgml:
13023 * docs/gst/tmpl/gstghostpad.sgml:
13024 * docs/gst/tmpl/gstimplementsinterface.sgml:
13025 * docs/gst/tmpl/gstindex.sgml:
13026 * docs/gst/tmpl/gstindexfactory.sgml:
13027 * docs/gst/tmpl/gstinfo.sgml:
13028 * docs/gst/tmpl/gstiterator.sgml:
13029 * docs/gst/tmpl/gstmacros.sgml:
13030 * docs/gst/tmpl/gstmemchunk.sgml:
13031 * docs/gst/tmpl/gstminiobject.sgml:
13032 * docs/gst/tmpl/gstobject.sgml:
13033 * docs/gst/tmpl/gstpad.sgml:
13034 * docs/gst/tmpl/gstpadtemplate.sgml:
13035 * docs/gst/tmpl/gstparse.sgml:
13036 * docs/gst/tmpl/gstpipeline.sgml:
13037 * docs/gst/tmpl/gstplugin.sgml:
13038 * docs/gst/tmpl/gstpluginfeature.sgml:
13039 * docs/gst/tmpl/gstquery.sgml:
13040 * docs/gst/tmpl/gstqueue.sgml:
13041 * docs/gst/tmpl/gstregistry.sgml:
13042 * docs/gst/tmpl/gstregistrypool.sgml:
13043 * docs/gst/tmpl/gstscheduler.sgml:
13044 * docs/gst/tmpl/gstschedulerfactory.sgml:
13045 * docs/gst/tmpl/gststructure.sgml:
13046 * docs/gst/tmpl/gstsystemclock.sgml:
13047 * docs/gst/tmpl/gsttaglist.sgml:
13048 * docs/gst/tmpl/gsttagsetter.sgml:
13049 * docs/gst/tmpl/gsttrace.sgml:
13050 * docs/gst/tmpl/gsttrashstack.sgml:
13051 * docs/gst/tmpl/gsttypefind.sgml:
13052 * docs/gst/tmpl/gsttypefindfactory.sgml:
13053 * docs/gst/tmpl/gsttypes.sgml:
13054 * docs/gst/tmpl/gsturihandler.sgml:
13055 * docs/gst/tmpl/gsturitype.sgml:
13056 * docs/gst/tmpl/gstutils.sgml:
13057 * docs/gst/tmpl/gstvalue.sgml:
13058 * docs/gst/tmpl/gstversion.sgml:
13059 * docs/gst/tmpl/gstxml.sgml:
13060 * docs/libs/tmpl/gstcontrol.sgml:
13061 * docs/libs/tmpl/gstdataprotocol.sgml:
13062 * docs/libs/tmpl/gstdparam.sgml:
13063 * docs/libs/tmpl/gstdplinint.sgml:
13064 * docs/libs/tmpl/gstdpman.sgml:
13065 * docs/libs/tmpl/gstdpsmooth.sgml:
13066 * docs/libs/tmpl/gstgetbits.sgml:
13067 * docs/libs/tmpl/gstunitconvert.sgml:
13068 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
13069 (gst_push_src_base_init), (gst_push_src_class_init),
13070 (gst_push_src_init), (gst_push_src_create):
13071 * gst/base/gstpushsrc.h:
13072 * gst/elements/gstelements.c:
13073 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
13074 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
13075 (gst_fake_sink_init), (gst_fake_sink_set_property),
13076 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
13077 (gst_fake_sink_event), (gst_fake_sink_preroll),
13078 (gst_fake_sink_render), (gst_fake_sink_change_state):
13079 * gst/elements/gstfakesink.h:
13080 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13081 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13082 (gst_fake_src_base_init), (gst_fake_src_class_init),
13083 (gst_fake_src_init), (gst_fake_src_event_handler),
13084 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
13085 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
13086 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
13087 (gst_fake_src_create_buffer), (gst_fake_src_create),
13088 (gst_fake_src_start), (gst_fake_src_stop):
13089 * gst/elements/gstfakesrc.h:
13090 * gst/elements/gstfilesink.c: (_do_init),
13091 (gst_file_sink_base_init), (gst_file_sink_class_init),
13092 (gst_file_sink_init), (gst_file_sink_dispose),
13093 (gst_file_sink_set_location), (gst_file_sink_set_property),
13094 (gst_file_sink_get_property), (gst_file_sink_open_file),
13095 (gst_file_sink_close_file), (gst_file_sink_query),
13096 (gst_file_sink_event), (gst_file_sink_render),
13097 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
13098 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
13099 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
13100 * gst/elements/gstfilesink.h:
13101 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
13102 (gst_file_src_class_init), (gst_file_src_init),
13103 (gst_file_src_finalize), (gst_file_src_set_location),
13104 (gst_file_src_set_property), (gst_file_src_get_property),
13105 (gst_file_src_map_region), (gst_file_src_map_small_region),
13106 (gst_file_src_create_mmap), (gst_file_src_create_read),
13107 (gst_file_src_create), (gst_file_src_is_seekable),
13108 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
13109 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
13110 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
13111 (gst_file_src_uri_handler_init):
13112 * gst/elements/gstfilesrc.h:
13113 more autistic cleanliness in functions/names/defines
13115 2005-07-13 Andy Wingo <wingo@pobox.com>
13117 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
13118 source couldn't negotiate.
13120 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
13124 * gst/gstutils.c (gst_element_link_pads_filtered): New old
13125 function. I am channeling Hades. Put your boots on suckers!!!
13127 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13129 * testsuite/caps/Makefile.am:
13130 * testsuite/caps/value_compare.c:
13131 * testsuite/caps/value_intersect.c:
13132 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13133 move two testsuite apps over to the check dir
13135 2005-07-12 Wim Taymans <wim@fluendo.com>
13137 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13138 Added more debug info in the negotiate process.
13140 * gst/gstmessage.h:
13141 Prepare for segment playback.
13143 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
13149 * tools/gst-launch.c: (main):
13150 NULL pipeline on errors.
13152 2005-07-12 Andy Wingo <wingo@pobox.com>
13154 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
13155 not it comes from a malloc region. Make sure our copy gets freed.
13157 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13159 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13160 * check/gst/gstmessage.c: (GST_START_TEST):
13161 * check/gst/gststructure.c: (GST_START_TEST),
13162 (gst_structure_suite), (main):
13164 * gst/gstelement.c: (gst_element_message_full):
13165 clean up GError and debug string now that they get copied
13166 * gst/gstmessage.c: (gst_message_new_error),
13167 (gst_message_new_warning), (gst_message_parse_error),
13168 (gst_message_parse_warning):
13169 use GST_TYPE_G_ERROR for structure_new, and take copies of
13170 arguments, so that we don't mess up refcounting
13172 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13174 * check/Makefile.am:
13175 add per-test valgrind targets
13176 * check/gst-libs/gdp.c: (GST_START_TEST),
13177 (gst_data_protocol_suite), (main):
13180 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13182 * check/Makefile.am:
13183 instate more valgrindable tests
13184 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13185 (GST_START_TEST), (fakesrc_suite):
13186 * check/gst/gstpad.c: (GST_START_TEST):
13187 * check/gst/gststructure.c: (GST_START_TEST):
13189 * docs/gst/tmpl/gstminiobject.sgml:
13190 * gst/gstpad.c: (gst_pad_finalize):
13191 fix the static mutex leak
13193 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13195 * check/Makefile.am:
13196 add two more tests for valgrinding
13197 * check/gst/gstvalue.c: (GST_START_TEST):
13198 test refcount of deserialized buffer, found a leak
13199 * docs/gst/gstreamer-docs.sgml:
13200 * docs/gst/gstreamer-sections.txt:
13201 * docs/gst/gstreamer.types:
13202 * docs/gst/tmpl/gstminiobject.sgml:
13203 add miniobject to docs
13204 * gst/gstminiobject.c:
13206 * gst/gstvalue.c: (gst_value_deserialize_buffer),
13207 (gst_string_unwrap):
13208 fix a hard-to-find invalid write for one of the tests
13209 fix a leak for deserialized buffers
13211 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13213 * docs/pwg/advanced-events.xml:
13214 * docs/pwg/advanced-request.xml:
13215 * docs/pwg/advanced-scheduling.xml:
13216 * docs/pwg/appendix-porting.xml:
13217 * docs/pwg/building-boiler.xml:
13218 * docs/pwg/intro-preface.xml:
13219 * docs/pwg/other-ntoone.xml:
13220 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
13221 of example code and explanation for pad activation, loop() and
13222 getrange() functions and a bit more. Remove old comments pointing
13224 * examples/pwg/Makefile.am:
13225 Add loop/getrange examples.
13227 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13230 check for valgrind binary + some fixes
13232 valgrind suppressions for the tests
13233 * check/Makefile.am:
13234 add a valgrind: target that valgrinds the unit tests
13235 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
13236 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13237 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13238 * check/gst/gstghostpad.c:
13240 * check/gst/gstdata.c:
13242 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
13243 (thread_unref), (gst_mini_object_suite), (main):
13245 * gst/gst.c: (gst_deinit):
13247 add a method to clean up.
13248 * gst/gstsystemclock.c: (gst_system_clock_dispose),
13249 (gst_system_clock_obtain):
13250 allow for disposing the system clock.
13251 * tools/gst-launch.c: (main):
13254 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13256 * docs/gst/tmpl/gstbasesrc.sgml:
13257 * docs/gst/tmpl/gstfakesrc.sgml:
13258 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13259 (gst_base_src_init), (gst_base_src_set_property),
13260 (gst_base_src_get_property), (gst_base_src_get_range),
13261 (gst_base_src_start):
13262 * gst/base/gstbasesrc.h:
13263 add num-buffers property
13264 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13265 (gst_fakesrc_init), (gst_fakesrc_set_property),
13266 (gst_fakesrc_get_property), (gst_fakesrc_create),
13267 (gst_fakesrc_start):
13268 remove num-buffers property
13270 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13272 * docs/gst/gstreamer-sections.txt:
13273 * docs/gst/tmpl/gstbasesink.sgml:
13274 * docs/gst/tmpl/gstbasesrc.sgml:
13275 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13276 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13277 (gst_base_sink_finalize), (gst_base_sink_set_clock),
13278 (gst_base_sink_set_property), (gst_base_sink_get_property),
13279 (gst_base_sink_handle_object), (gst_base_sink_event),
13280 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13281 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
13282 (gst_base_sink_loop), (gst_base_sink_deactivate),
13283 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
13284 (gst_base_sink_change_state):
13285 * gst/base/gstbasesink.h:
13286 * gst/base/gstbasesrc.h:
13287 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
13288 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
13289 (gst_filesink_init):
13290 more macro splitting
13292 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13294 * gst/gstelement.c: (gst_element_get_bus):
13296 * tools/gst-launch.c: (check_intr), (event_loop):
13299 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13301 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13304 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13306 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13307 (gst_base_src_finalize):
13308 add finalize method and clean up properly
13309 * gst/gstpipeline.c: (gst_pipeline_dispose):
13312 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13314 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
13316 add more things to check
13317 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13318 * gst/gstelement.c:
13321 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13323 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13324 (GST_START_TEST), (fakesrc_suite):
13325 * check/gst-libs/gdp.c: (GST_START_TEST):
13326 * check/gst/gst.c: (GST_START_TEST):
13327 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13328 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13329 * check/gst/gstbus.c: (GST_START_TEST):
13330 * check/gst/gstcaps.c: (GST_START_TEST):
13331 * check/gst/gstdata.c: (GST_START_TEST):
13332 * check/gst/gstelement.c: (GST_START_TEST):
13333 * check/gst/gstghostpad.c: (GST_START_TEST):
13334 * check/gst/gstiterator.c: (GST_START_TEST):
13335 * check/gst/gstmessage.c: (GST_START_TEST):
13336 * check/gst/gstobject.c: (GST_START_TEST):
13337 * check/gst/gstpad.c: (GST_START_TEST):
13338 * check/gst/gststructure.c: (GST_START_TEST):
13339 * check/gst/gstsystemclock.c: (GST_START_TEST),
13340 (gst_systemclock_suite):
13341 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13342 * check/gst/gstvalue.c: (GST_START_TEST):
13343 * check/pipelines/cleanup.c: (GST_START_TEST):
13344 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13345 * check/states/sinks.c: (GST_START_TEST):
13346 * check/gstcheck.c: (gst_check_init):
13347 * check/gstcheck.h:
13348 add debugging category
13349 use GST_START_TEST now, so we add a debug line
13351 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13353 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
13354 add test for state change message on a bin
13355 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
13357 * gst/gstbin.c: (gst_bin_init):
13358 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
13359 * gst/gstelement.c: (gst_element_post_message),
13360 (gst_element_set_state):
13361 * gst/gstelementfactory.c: (gst_element_factory_create):
13362 * gst/gstmessage.c: (gst_message_new):
13363 * gst/gstscheduler.c:
13364 various debugging additions and cleanups
13366 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13368 * check/Makefile.am:
13369 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
13371 adding tests for elements
13372 * gst/gstelement.c: (gst_element_dispose):
13374 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13376 * gst/registries/gstlibxmlregistry.c: (load_feature):
13377 plug more leaks. A simple gst_init() now is leakfree, yay.
13379 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13381 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
13382 (gst_xml_registry_load):
13383 plug another memleak
13385 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13388 use GST_SET_ERROR_CFLAGS
13389 * docs/faq/cvs.xml:
13390 change to ERROR_CFLAGS
13392 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13395 make GST_ERROR_CFLAGS overridable and re-enable Werror
13396 * docs/faq/cvs.xml:
13397 add a note about error CFLAGS
13398 * docs/gst/tmpl/gstfakesrc.sgml:
13399 * gst/elements/gstfakesrc.c:
13400 comment out some unused code
13401 * gst/gst.c: (split_and_iterate):
13402 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
13406 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
13408 * common/Makefile.am:
13409 * common/gtk-doc.mak:
13410 * docs/gst/Makefile.am:
13411 factor out gtk-doc.mak
13413 2005-07-07 Wim Taymans <wim@fluendo.com>
13415 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
13416 (gst_thread_scheduler_dispose):
13417 Unlock the STREAM_LOCK completely.
13419 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
13421 * check/Makefile.am:
13422 * check/elements/.cvsignore:
13423 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13424 (START_TEST), (fakesrc_suite), (main):
13425 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13426 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13427 (gst_fakesrc_create), (gst_fakesrc_start):
13428 * gst/elements/gstfakesrc.h:
13429 adding a first element test
13431 2005-07-07 Andy Wingo <wingo@pobox.com>
13433 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
13436 2005-07-07 Wim Taymans <wim@fluendo.com>
13442 2005-07-07 Wim Taymans <wim@fluendo.com>
13444 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
13445 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
13446 Allow subclasses to implement their own negotiation.
13448 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13450 * docs/design/part-gstbin.txt:
13451 * docs/design/part-gstpipeline.txt:
13452 Update design notes to reflect the movement of
13453 responsibility for bus handling from GstPipeline to
13456 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13459 Remove unnecessary queue2/3/4 examples.
13461 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13463 * examples/Makefile.am:
13464 * examples/helloworld/helloworld.c: (event_loop), (main):
13465 * examples/queue/queue.c: (event_loop), (main):
13466 * examples/queue2/queue2.c: (main):
13467 Update a couple of the examples to work again.
13469 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13470 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
13471 Spelling corrections and extra debug.
13473 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
13474 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
13475 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
13477 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13478 (gst_pipeline_change_state):
13479 * gst/gstpipeline.h:
13480 Move the bus handler for children to the GstBin, and create a
13481 separate bus for receiving messages from children to the one the
13482 bus sends 'upwards' on.
13484 2005-07-06 Wim Taymans <wim@fluendo.com>
13487 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13488 (gst_base_sink_handle_object), (gst_base_sink_loop),
13489 (gst_base_sink_change_state):
13490 * gst/base/gstbasesink.h:
13491 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13492 (gst_base_src_init), (gst_base_src_setcaps),
13493 (gst_base_src_getcaps), (gst_base_src_loop),
13494 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
13495 (gst_base_src_start), (gst_base_src_change_state):
13496 * gst/base/gstbasesrc.h:
13497 Make basesrc negotiate.
13498 Handle the case where preroll fails in basesink.
13501 2005-07-06 Wim Taymans <wim@fluendo.com>
13503 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
13504 Implement the fixate function.
13505 Clean up acceptcaps.
13507 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13509 * docs/pwg/building-filterfactory.xml:
13510 * docs/pwg/pwg.xml:
13511 Remove never-written filter-factory chapter; I'll add the various
13512 base classes to part 4 ("other element types") later on.
13514 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13516 * docs/pwg/advanced-negotiation.xml:
13517 * docs/pwg/building-boiler.xml:
13518 * docs/pwg/building-pads.xml:
13519 * docs/pwg/pwg.xml:
13520 * examples/pwg/Makefile.am:
13521 Add a chapter on caps negotiation, simplify the original code
13522 samples a bit w.r.t. caps negotiation, add link to the advanced
13523 section. Add a bunch of examples showing different use cases of
13524 different types of caps negotiation. Upstream renegotiation isn't
13525 fully documented yet since nobody knows how that works.
13527 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
13529 * check/gst/gstpad.c:
13530 * check/gstcheck.c:
13531 * gst/gstpad.c: (gst_pad_get_internal_links_default):
13532 if pad has no parent, return NULL as list of internal links
13534 2005-07-05 Andy Wingo <wingo@pobox.com>
13536 * gst/elements/gstfilesrc.c:
13537 * gst/elements/gstfakesrc.c:
13538 * gst/base/gstpushsrc.c:
13539 * gst/base/gstbasesrc.h:
13540 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
13542 2005-07-05 Stefan Kost <ensonic@users.sf.net>
13545 better report generation target (lcov needs a patch)
13547 2005-07-05 Andy Wingo <wingo@pobox.com>
13549 * gst/elements, testsuite: Null if we got it...
13551 2005-07-05 Wim Taymans <wim@fluendo.com>
13554 * libs/gst/dataprotocol/Makefile.am:
13555 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
13556 * libs/gst/dataprotocol/dataprotocol.h:
13557 * pkgconfig/Makefile.am:
13558 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
13559 * pkgconfig/gstreamer-dataprotocol.pc.in:
13560 Ported dataprotol to 0.9.
13561 Added pkgconfig files.
13563 2005-07-05 Andy Wingo <wingo@pobox.com>
13565 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
13566 Default to returning TRUE for the case when tranform_caps returns
13567 a fixed caps, like for identity or volume.
13569 * check/gst/gstbus.c (pound_bus_with_messages):
13570 * check/gst/gstmessage.c (START_TEST):
13571 * check/pipelines/simple_launch_lines.c (got_handoff): Application
13572 message API change.
13574 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
13575 logic weaks here: always run transform_caps, trying passthrough
13576 operation only if the original caps intersects with the transform.
13578 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
13579 source and sink caps.
13581 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
13582 Intersect the peer caps with the pad template before going into
13584 (gst_base_transform_transform_caps): More debugging.
13586 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
13589 2005-07-04 Edward Hervey <edward@fluendo.com>
13593 (gst_pad_add_*_probe): now returns the signal id for better wrapping
13596 2005-07-04 Andy Wingo <wingo@pobox.com>
13598 * check/gst/gstpad.c: Only set explicit caps on pads.
13600 2005-07-01 Andy Wingo <wingo@pobox.com>
13602 * tests/network-clock.scm: Commentary update.
13604 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
13605 Didn't really make sense, not implementable with basetransform,
13607 (gst_identity_transform): Unref inbuf via make_writable. Feeble
13608 attempt at implementing the sync property, needs an unlock method.
13610 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
13611 New func, by default returns the same caps (the identity
13613 (gst_base_transform_getcaps): Uses transform_caps to return
13614 something sensible.
13615 (gst_base_transform_setcaps): Complicated logic to get caps on
13616 both pads, even if they are different, and to call set_caps once
13617 for every time both pads get their caps set.
13618 (gst_base_transform_handle_buffer): Give the ref to the transform
13619 function. Allows in-place modification of the buffer.
13621 * gst/base/gstbasetransform.h (transform_caps): New class method.
13622 Given caps on one side, what can I do on the other.
13623 (set_caps): Take two caps, one for each side of the element.
13626 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
13627 caps in place. This is safe because we can check the mutability of
13628 the caps, and a good idea because fixate functions are just called
13629 as a matter of last resort. (Not actually implemented.)
13630 (gst_pad_set_caps): If the caps we're setting is actually the same
13631 as the existing pad caps, just update the pointer without calling
13632 setcaps. Assert that caps is either NULL or fixed, as per the
13635 * gst/gstghostpad.c: Update for fixate changes.
13637 2005-07-02 Andy Wingo <wingo@pobox.com>
13640 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
13641 two refcounts makes it immutable, which is enough. Doc more.
13643 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
13645 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
13646 Put the mini_object into GValue as a mini_object,
13647 not a gpointer, since that's how we declared
13650 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13652 * examples/pwg/Makefile.am:
13653 Fix buildbot again.
13655 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13657 * docs/pwg/building-testapp.xml:
13659 * examples/pwg/Makefile.am:
13662 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13665 * examples/Makefile.am:
13666 * examples/pwg/Makefile.am:
13667 * examples/pwg/extract.pl:
13668 Enable building the PWG examples.
13669 * docs/pwg/advanced-interfaces.xml:
13670 Add URI interface stub.
13671 * docs/pwg/advanced-types.xml:
13672 * docs/pwg/other-autoplugger.xml:
13673 * docs/pwg/appendix-porting.xml:
13674 * docs/pwg/pwg.xml:
13675 Add porting guide (mostly stubs), remove autoplugging (see ADM).
13676 * docs/pwg/building-boiler.xml:
13677 * docs/pwg/building-chainfn.xml:
13678 * docs/pwg/building-pads.xml:
13679 * docs/pwg/building-props.xml:
13680 * docs/pwg/building-state.xml:
13681 * docs/pwg/building-testapp.xml:
13682 Update the building-*.xml parts for 0.9 changes. All examples
13683 code blocks compile in examples/pwg/*.
13685 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13687 * docs/manual/advanced-autoplugging.xml:
13688 * docs/manual/appendix-checklist.xml:
13689 * docs/manual/appendix-integration.xml:
13690 * docs/manual/highlevel-components.xml:
13691 Fix playbin/decodebin examples, update docs a bit, mention bus
13692 instead of signals in various places, mention kmplayer and
13693 kaffeine since they have a working GStreamer backend in the KDE
13696 2005-06-30 Wim Taymans <wim@fluendo.com>
13699 * docs/design/draft-ghostpads.txt:
13700 * docs/design/draft-push-pull.txt:
13701 * docs/design/draft-query.txt:
13702 * docs/design/part-TODO.txt:
13703 * docs/design/part-query.txt:
13704 Added CHANGES-0.9 doc, updated status of other docs.
13709 2005-06-30 Wim Taymans <wim@fluendo.com>
13711 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13712 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13713 (gst_base_sink_change_state):
13714 * gst/base/gstbasesink.h:
13715 Some tweaks, only EOS and a buffer complete a preroll.
13717 2005-06-30 Andy Wingo <wingo@pobox.com>
13719 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
13720 activate_push down to the internal pad as well.
13722 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
13724 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13726 * gst/gsttaginterface.c:
13727 Some documentation fixes (#307394 and #307397).
13729 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
13731 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13733 * gst/gstvalue.c: (gst_value_intersect_list):
13734 Fix memleak (#309125).
13736 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13738 * docs/manual/advanced-dataaccess.xml:
13739 Fix fakesrc example to compile; doesn't work, bug somewhere...?
13740 * docs/manual/basics-pads.xml:
13741 Add reference for filtered caps to above chapter.
13743 2005-06-30 Wim Taymans <wim@fluendo.com>
13745 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
13746 (gst_bin_change_state):
13748 Lame attempt at making the state change function a bit
13751 2005-06-30 Wim Taymans <wim@fluendo.com>
13753 * docs/design/part-clocks.txt:
13754 * docs/design/part-element-sink.txt:
13755 * docs/design/part-events.txt:
13756 * docs/design/part-preroll.txt:
13757 * docs/design/part-states.txt:
13758 Some more tweeks and additions to the docs.
13760 2005-06-30 Wim Taymans <wim@fluendo.com>
13762 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
13763 (default_have_data), (gst_pad_class_init), (gst_pad_init),
13764 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
13765 (gst_pad_check_pull_range), (gst_pad_get_range),
13766 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
13768 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
13769 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13770 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13771 (gst_pad_remove_buffer_probe):
13772 Removed atomic operations, use existing LOCK.
13773 Move exception handling out of main code path.
13775 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13777 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
13778 (silly_return_true_function), (gst_pad_class_init),
13779 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
13780 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
13781 (gst_pad_send_event):
13782 Fix accumulator, add default value by using _emitv() instead
13783 of _emit() for signal emission.
13785 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13787 * docs/manual/advanced-dataaccess.xml:
13788 * examples/manual/Makefile.am:
13790 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
13793 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
13795 * gst/elements/gstfilesink.c: (gst_filesink_render):
13796 Simplify code so that we don't have to handle short
13797 writes and return GST_FLOW_ERROR if an error occured.
13799 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13801 * docs/gst/gstreamer-docs.sgml:
13802 Remove probes more.
13804 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13806 * docs/gst/gstreamer-sections.txt:
13807 * docs/gst/tmpl/gstpad.sgml:
13808 * docs/gst/tmpl/gstprobe.sgml:
13810 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
13811 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
13812 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
13813 (gst_pad_push_event), (gst_pad_send_event):
13815 * gst/gstutils.c: (gst_pad_add_data_probe),
13816 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13817 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13818 (gst_pad_remove_buffer_probe):
13820 Remove old probes, add new g-signal-based probes and some utility
13823 2005-06-29 Edward Hervey <edward@fluendo.com>
13825 * gst/gstelementfactory.c:
13828 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
13829 the definition to the header file.
13831 2005-06-29 Andy Wingo <wingo@pobox.com>
13833 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
13834 plugins from the source directory.
13836 2005-06-29 Wim Taymans <wim@fluendo.com>
13838 * docs/gst/tmpl/gstbuffer.sgml:
13839 * docs/gst/tmpl/gstclock.sgml:
13840 Some fixings for blantently wrong text.
13842 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
13844 * check/Makefile.am:
13845 * gst/gst.c: (add_path_func), (init_pre):
13846 * gst/gstregistry.c: (gst_registry_add_path):
13847 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
13848 only scan the GST_PLUGIN_PATH locations, and not add
13851 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
13853 * docs/gst/gstreamer-sections.txt:
13854 * docs/gst/tmpl/gstbasesrc.sgml:
13855 * gst/gstelement.c:
13856 * gst/gstelement.h:
13861 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13863 * docs/manual/advanced-autoplugging.xml:
13864 Fix autoplugging example.
13866 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13868 * docs/manual/advanced-autoplugging.xml:
13869 * docs/manual/mime-world.fig:
13870 Try to get autoplugging working, fix type detection. Fix text
13871 in hello-world image.
13873 2005-06-29 Wim Taymans <wim@fluendo.com>
13875 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13876 (gst_base_sink_change_state):
13880 map SIGNAL and BROADCAST to the right function.
13883 Remove redundant braces.
13885 * gst/gstpad.c: (gst_pad_set_caps):
13886 Don't call setcaps function when reseting caps to NULL.
13888 * gst/gstsystemclock.c: (gst_system_clock_dispose),
13889 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
13890 (gst_system_clock_id_unschedule):
13891 Use BROADCAST as this is what we do.
13893 2005-06-29 Wim Taymans <wim@fluendo.com>
13895 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13896 We are actually prerolling before commiting the state
13899 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13901 * docs/manual/advanced-clocks.xml:
13902 * docs/manual/advanced-interfaces.xml:
13903 * docs/manual/advanced-metadata.xml:
13904 * docs/manual/advanced-position.xml:
13905 * docs/manual/advanced-schedulers.xml:
13906 * docs/manual/advanced-threads.xml:
13907 * docs/manual/appendix-porting.xml:
13908 * docs/manual/basics-bins.xml:
13909 * docs/manual/basics-bus.xml:
13910 * docs/manual/basics-elements.xml:
13911 * docs/manual/basics-helloworld.xml:
13912 * docs/manual/basics-pads.xml:
13913 * docs/manual/highlevel-components.xml:
13914 * docs/manual/manual.xml:
13915 * docs/manual/thread.fig:
13916 Update (until threads/scheduling) Application Development Manual;
13917 remove GstThread, add GstBus, add simple porting checklist, add
13918 documentation for tag writing, clocks, make all examples until this
13919 part compile and run.
13920 * examples/manual/Makefile.am:
13921 Update from changes to Application Development Manual; add bus
13922 example, remove thread example.
13924 2005-06-28 Wim Taymans <wim@fluendo.com>
13926 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
13927 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
13928 (gst_bus_source_dispatch):
13929 Add debugging messages.
13930 Make internal methods static.
13931 Handle the case where the bus is flushed in the handler.
13933 * gst/gstelement.c: (gst_element_get_bus):
13934 Fix refcount in _get_bus();
13936 * gst/gstpipeline.c: (gst_pipeline_change_state),
13937 (gst_pipeline_get_clock_func):
13938 Clock refcounting fixes.
13939 Handle the case where preroll timed out more gracefully.
13941 * gst/gstsystemclock.c: (gst_system_clock_dispose):
13942 Clean up the internal thread in dispose. This is needed
13943 for subclasses that actually get disposed.
13945 * gst/schedulers/threadscheduler.c:
13946 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13947 (gst_thread_scheduler_dispose):
13948 Free thread pool in dispose.
13950 2005-06-28 Andy Wingo <wingo@pobox.com>
13952 * tests/network-clock-utils.scm (debug, print-event): New utils.
13954 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
13955 (*packet-loss*): Unified loss probability.
13956 (network-time): Report out-of-band events.
13958 * tests/plot-data: Add support for out-of-band events. Hack it
13959 into this script instead of passing it down the pipe; should fix
13962 2005-06-28 Wim Taymans <wim@fluendo.com>
13964 * docs/gst/gstreamer.types:
13965 * docs/gst/tmpl/gstbasesrc.sgml:
13966 * docs/gst/tmpl/gstpad.sgml:
13969 2005-06-28 Wim Taymans <wim@fluendo.com>
13971 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13972 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
13973 (gst_proxy_pad_do_fixatecaps):
13974 Correctly proxy the check_pull_range function.
13976 2005-06-28 Andy Wingo <wingo@pobox.com>
13978 * tests/network-clock.scm: Removed need for slib.
13980 2005-06-28 Wim Taymans <wim@fluendo.com>
13982 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
13983 (gst_basesink_preroll_queue_flush):
13984 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
13985 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
13986 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13987 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13988 (gst_proxy_pad_set_property):
13991 * gst/gstqueue.c: (gst_queue_init):
13992 The deprecated pad loop function is removed now.
13994 2005-06-28 Andy Wingo <wingo@pobox.com>
13996 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
13997 New parameters, simulate network packet loss.
13999 * tests/network-clock-utils.scm: Initialize the RNG.
14001 2005-06-28 Wim Taymans <wim@fluendo.com>
14003 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
14004 (gst_basesink_event), (gst_basesink_deactivate):
14005 Flushing the preroll queue always needs to unlock the waiters.
14007 2005-06-28 Edward Hervey <edward@fluendo.com>
14009 * gst/gstpipeline.c: (gst_pipeline_send_event):
14010 Wheen a seek was successful on a pipeline, set the stream_time to the
14011 seek offset in order to have a synchronized stream_time.
14013 2005-06-28 Wim Taymans <wim@fluendo.com>
14015 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14016 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
14017 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
14018 (gst_proxy_pad_do_fixatecaps):
14019 Call wrapper function instead of just calling the function
14020 pointers. This takes care of any locking and whatmore.
14022 2005-06-28 Wim Taymans <wim@fluendo.com>
14024 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
14025 (gst_pad_pull_range):
14027 CONNECTED -> LINKED.
14029 2005-06-28 Andy Wingo <wingo@pobox.com>
14031 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
14032 source-munging commit!!!
14034 * gst/gstobject.c (gst_object_unref, gst_object_ref)
14035 (gst_object_sink): Take gpointer arguments, not GstObject --
14036 avoids casts. Like GLib.
14038 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
14041 2005-06-27 Andy Wingo <wingo@pobox.com>
14043 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
14046 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
14047 returns a sorted copy of the trace list.
14048 (gst_alloc_trace_print_live): New API, only prints traces with
14049 live objects. Sort the list.
14050 (gst_alloc_trace_print_all): Sort the list.
14051 (gst_alloc_trace_print): Align columns.
14053 * gst/elements/gstttypefindelement.c:
14054 * gst/elements/gsttee.c:
14055 * gst/base/gstbasesrc.c:
14056 * gst/base/gstbasesink.c:
14057 * gst/base/gstbasetransform.c:
14058 * gst/gstqueue.c: Adapt for pad activation changes.
14060 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
14062 (gst_pipeline_dispose): Drop ref on sched.
14064 * gst/gstpad.c (gst_pad_init): Set the default activate func.
14065 (gst_pad_activate_default): Push mode by default.
14066 (pre_activate_switch, post_activate_switch): New stubs, things to
14067 do before and after switching activation modes on pads.
14068 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
14069 the pad's activate function to choose which mode to activate.
14070 Shortcut on deactivation and call the right function directly.
14071 (gst_pad_activate_pull): New API, (de)activates a pad in pull
14073 (gst_pad_activate_push): New API, same for push mode.
14074 (gst_pad_set_activate_function)
14075 (gst_pad_set_activatepull_function)
14076 (gst_pad_set_activatepush_function): Setters for new API.
14078 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
14079 Trace all miniobjects.
14080 (gst_mini_object_make_writable): Unref the arg if we copy, like
14081 gst_caps_make_writable.
14083 * gst/gstmessage.c (_gst_message_initialize): No trace init.
14085 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
14086 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
14087 Adapt for new pad API.
14089 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
14091 * gst/gstelement.h:
14092 * gst/gstelement.c (gst_element_iterate_src_pads)
14093 (gst_element_iterate_sink_pads): New API functions.
14095 * gst/gstelement.c (iterator_fold_with_resync): New utility,
14096 should fold into gstiterator.c in some form.
14097 (gst_element_pads_activate): Simplified via use of fold and
14098 delegation of decisions to gstpad->activate.
14100 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
14103 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
14104 class once in init, like gstmessage. Didn't run into this issue
14105 but it seems correct. Don't initialize a trace, gstminiobject does
14108 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
14109 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
14111 (assert_live_count): New util function, uses alloc traces to check
14114 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
14115 To be modified when unlink drops the internal pad.
14117 2005-06-27 Wim Taymans <wim@fluendo.com>
14119 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
14120 (gst_bin_change_state):
14121 Cleanup the get_state() function a little, make sure it
14122 iterates the same set of elements.
14123 Added stub iterate_state_order().
14125 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
14127 * docs/gst/gstreamer-docs.sgml:
14128 * docs/gst/gstreamer-sections.txt:
14129 * docs/gst/gstreamer.types:
14130 * docs/gst/tmpl/gstbasesink.sgml:
14131 * docs/gst/tmpl/gstbasesrc.sgml:
14132 * docs/gst/tmpl/gstbasetransform.sgml:
14133 * docs/gst/tmpl/gstelement.sgml:
14134 * docs/gst/tmpl/gstiterator.sgml:
14135 * gst/base/gstbasesrc.c:
14136 * gst/base/gstbasesrc.h:
14137 * gst/base/gstbasetransform.h:
14138 * gst/gstelement.c:
14139 * gst/gstiterator.h:
14140 adding basetransform and iterator docs
14142 2005-06-27 Andy Wingo <wingo@pobox.com>
14144 * docs/design/part-activation.txt: Notes on how activation should
14145 work -- not quite implemented yet.
14147 2005-06-25 Wim Taymans <wim@fluendo.com>
14149 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
14150 At least get the chain function correct, needs more
14153 2005-06-25 Wim Taymans <wim@fluendo.com>
14155 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14156 (gst_basesink_handle_object), (gst_basesink_event),
14157 (gst_basesink_do_sync), (gst_basesink_handle_event),
14158 (gst_basesink_change_state):
14160 Right, two problems here: ghostpads don't take locks and
14161 glib _rec_mutex_lock_full() with depth==0 still locks.
14162 Catch illegal locking and g_warn them.
14164 2005-06-25 Wim Taymans <wim@fluendo.com>
14166 * check/states/sinks.c: (START_TEST), (gst_object_suite):
14167 Have to check for completion now...
14169 2005-06-25 Wim Taymans <wim@fluendo.com>
14171 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14172 (gst_basesink_handle_object), (gst_basesink_event),
14173 (gst_basesink_do_sync), (gst_basesink_handle_event),
14174 (gst_basesink_change_state):
14176 Unlock STREAM_LOCK whatever the recursion was.
14178 2005-06-25 Wim Taymans <wim@fluendo.com>
14180 * gst/base/gstbasesink.c: (gst_basesink_set_property),
14181 (gst_basesink_preroll_queue_empty),
14182 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
14183 (gst_basesink_event), (gst_basesink_do_sync),
14184 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
14185 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
14186 (gst_basesink_change_state):
14187 Reworked the base sink, handle event and buffer serialisation
14188 correctly and removed possible deadlock.
14189 Handle EOS correctly.
14191 2005-06-25 Wim Taymans <wim@fluendo.com>
14193 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
14194 (gst_pipeline_change_state):
14195 * tools/gst-launch.c: (check_intr), (event_loop), (main):
14196 Allow elements to post EOS in the state change function.
14197 Fix up -launch, make it exit the poll loop when the
14198 pipeline actually changed state.
14199 Fix up warning parsing in -launch.
14201 2005-06-25 Wim Taymans <wim@fluendo.com>
14203 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
14204 (gst_tee_sink_activate):
14205 Core takes STREAM_LOCK for us now.
14207 2005-06-25 Wim Taymans <wim@fluendo.com>
14209 * gst/gstelement.c: (gst_element_get_state_func),
14210 (gst_element_set_state):
14211 * gst/gstelement.h:
14212 * gst/gstmessage.c: (gst_message_parse_error),
14213 (gst_message_parse_warning):
14214 Keep track of current target state while performing a state
14215 change so that subclasses can do something interesting.
14216 Fix parsing of warning/error messages when GError is NULL.
14218 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
14220 * docs/gst/Makefile.am:
14221 * docs/gst/gstreamer-docs.sgml:
14222 * docs/gst/gstreamer-sections.txt:
14223 * docs/gst/gstreamer.types:
14224 * docs/gst/tmpl/gstbasesink.sgml:
14225 * docs/gst/tmpl/gstbasesrc.sgml:
14226 * docs/gst/tmpl/gstbin.sgml:
14227 * docs/gst/tmpl/gstcompat.sgml:
14228 * docs/gst/tmpl/gstfakesink.sgml:
14229 * docs/gst/tmpl/gstfakesrc.sgml:
14230 * docs/gst/tmpl/gstfilesink.sgml:
14231 * docs/gst/tmpl/gstfilesrc.sgml:
14232 * docs/gst/tmpl/gstindex.sgml:
14233 * docs/manual/appendix-quotes.xml:
14234 * gst/base/gstbasesrc.h:
14235 * gst/elements/gstfakesrc.h:
14236 * gst/gstmessage.h:
14237 start pulling in base classes and elements in our docs
14239 2005-06-24 Stefan Kost <ensonic@users.sf.net>
14241 * docs/gst/Makefile.am:
14242 * docs/libs/Makefile.am:
14243 fixed make distcheck with gtk-doc 1.3
14245 2005-06-23 Wim Taymans <wim@fluendo.com>
14247 * gst/gstelement.c: (gst_element_get_state_func),
14248 (gst_element_set_state), (gst_element_change_state):
14249 When the state did not change, also report NO_PREROLL
14252 2005-06-23 Wim Taymans <wim@fluendo.com>
14254 * gst/gstpad.c: (gst_pad_event_default):
14255 * gst/gstqueue.c: (gst_queue_loop):
14256 No unsafe task pausing please.
14258 2005-06-23 Wim Taymans <wim@fluendo.com>
14260 * gst/schedulers/threadscheduler.c:
14261 (gst_thread_scheduler_task_start),
14262 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
14263 Ref the task before pushing it on the threadpool. This
14264 makes sure that we have a ref when the threadfunction is
14267 2005-06-23 Andy Wingo <wingo@pobox.com>
14269 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
14270 offset is greater than the file's size.
14272 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
14273 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
14274 * gst/gstobject.c (gst_object_class_init): Make the class lock
14275 recursive. Wim won't let me drop deep_notify. Decodebin works
14276 again, whoopdy doo.
14278 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
14279 internal pad, and hacks accordingly. Doesn't do it on the target
14280 pad because we change its caps. Probably catches all cases of
14282 (gst_ghost_pad_set_property): Connect to notify::caps as
14285 * tests/network-clock.scm (plot-simulation): Pipe data to the
14286 elite python skript.
14288 * tests/network-clock-utils.scm (define-parameter): New macro,
14289 defines a parameter that can be set via the command line.
14290 (set-parameter!, parse-parameter-arguments): Command line args
14293 * tests/plot-data: Simple matplotlib-based plotter, takes input on
14296 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
14298 * gst/elements/gsttypefindelement.c:
14299 (gst_type_find_element_handle_event):
14300 Don't restart typefinding on a discont.
14301 * gst/gstelement.c: (gst_element_set_state):
14302 Debug spelling fix.
14303 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
14304 Allow changing mode of an active pad.
14305 Debug output fixes.
14306 * gst/registries/gstlibxmlregistry.c: (load_feature):
14307 Don't cast a static pad template to a normal pad template.
14309 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
14311 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14312 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14313 remove gst_strtoll completely, since it didn't actually do
14314 anything more than what g_ascii_strtoull already does.
14315 check for range errors when deserializing
14316 do a cast for the unsigned cases; but further fixing needs
14317 a decision on what the interpretation of "(int)" and
14318 deserialization should be for values that fall outside the
14319 type's boundaries (ie, refuse, or interpret as casting)
14321 2005-06-23 Wim Taymans <wim@fluendo.com>
14323 * check/Makefile.am:
14324 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
14325 * docs/design/part-live-source.txt:
14326 * docs/design/part-states.txt:
14327 * gst/base/gstbasesrc.c: (gst_basesrc_init),
14328 (gst_basesrc_set_live), (gst_basesrc_is_live),
14329 (gst_basesrc_get_range), (gst_basesrc_activate),
14330 (gst_basesrc_change_state):
14331 * gst/base/gstbasesrc.h:
14332 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14333 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
14334 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
14335 * gst/gstelement.c: (gst_element_get_state_func),
14336 (gst_element_set_state):
14337 * gst/gstelement.h:
14339 * tools/gst-launch.c: (event_loop), (main):
14340 Added support for live sources and other elements that
14342 Updated design docs, added live-source design doc.
14343 Implemented live source functionality in basesrc
14344 Fix error condition in _bin_get_state()
14345 Implement live source handling in -launch.
14346 Added check for live sources.
14347 Fixed case in GstBin where elements were changed state
14351 2005-06-23 Andy Wingo <wingo@pobox.com>
14353 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
14354 borken refcounting.
14356 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
14357 gst_caps_replace takes care of this for us.
14359 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
14360 gst_pad_set_caps on the target, not just its setcaps() function.
14362 * tests/network-clock.scm:
14363 * tests/network-clock-utils.scm: A network clock simulator.
14364 Something of an algorithmic testbed before doing something in C.
14366 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14368 * check/Makefile.am:
14369 * check/gst/capslist.h:
14370 copy over from 0.8, and add two with bitmasks specified with
14372 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14373 add test to parse everything from capslist.h
14374 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
14376 add test for structure deserialization
14377 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14378 add tests for deserialization of strings to int types
14379 * gst/gststructure.c: (gst_structure_nth_field_name):
14380 * gst/gststructure.h:
14381 add a way to get the name of a field referenced by index
14382 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14383 instead of checking if the resulting long long lies between
14384 min and max, we check if the long long would fit into
14385 a number of bytes for the final type.
14386 This fixes cases where a string represents 2^32 - 1, which
14387 when cast to int would be the (valid) -1, but is bigger than
14390 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14392 * gst/parse/grammar.y:
14393 add a log line for type deserialization
14395 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14397 * check/gst/gstvalue.c: (START_TEST):
14398 * gst/gstvalue.c: (gst_value_deserialize):
14399 return long long, not int, so gint64 deserialization actually
14400 works. Is there any flag that makes the compiler check this ?
14403 2005-06-22 Wim Taymans <wim@fluendo.com>
14406 Added convenience macros for setting buffers in GValue.
14408 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
14410 * check/gst/.cvsignore:
14411 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14412 add a test deserializing int64, and comment part out because
14415 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
14417 * check/Makefile.am:
14418 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
14419 * testsuite/Makefile.am:
14420 * testsuite/caps/Makefile.am:
14421 * testsuite/caps/value_serialize.c:
14422 * testsuite/test_gst_init.c:
14423 move a value_serialize test over
14425 2005-06-20 Wim Taymans <wim@fluendo.com>
14430 * gst/gstvalue.c: (gst_value_compare_buffer),
14431 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
14432 (gst_value_compare_flags), (gst_value_serialize_flags),
14433 (gst_value_deserialize_flags), (_gst_value_initialize):
14434 Fix serialisation of buffers, they are not boxed types anymore
14436 2005-06-20 Wim Taymans <wim@fluendo.com>
14438 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14439 Testcase to show error in buffer-on-caps serialisation.
14441 2005-06-20 Andy Wingo <wingo@pobox.com>
14443 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
14444 will be adding to later.
14446 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
14447 if its socks fill with rocks.
14448 (gst_system_clock_obtain): Set the name on object construction.
14449 Avoid double-checked locking.
14451 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
14453 * gst/gsturi.c: (gst_element_make_from_uri):
14454 Fix potential endless loop.
14456 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14458 * check/Makefile.am:
14460 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
14462 move over from testsuite dir and clean up
14465 * testsuite/Makefile.am:
14466 * testsuite/tags/.cvsignore:
14467 * testsuite/tags/Makefile.am:
14468 * testsuite/tags/merge.c:
14469 remove testsuite/tags
14471 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14473 * docs/gst/gstreamer-sections.txt:
14474 * docs/gst/tmpl/gstenumtypes.sgml:
14475 * win32/gstenumtypes.c:
14476 clean up documentation build a little
14478 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14480 * check/gstcheck.h:
14481 add macros for checking refcounts on objects and caps
14482 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
14483 add some more unit tests
14484 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14485 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
14486 fix leaked refcounts (I hope :)) so unittest works
14490 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14492 * configure.ac: back to HEAD
14494 === release 0.9.1 ===
14496 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
14502 2005-06-17 Andy Wingo <wingo@pobox.com>
14504 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
14505 assert; it's always possible that the pad gets deactivated in
14506 between the checks in gstpad.c and the implementation. Rely on
14507 finish_preroll() to return a FLUSHING or similar instead of on the
14510 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
14511 clock and post an EOS message if we come out of finish_preroll in
14514 2005-06-16 David Schleef <ds@schleef.org>
14516 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
14517 (gst_capsfilter_set_property): Allow NULL as possible value
14518 for filter_caps property, indicating GST_CAPS_ANY.
14520 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14522 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
14524 * gst/schedulers/Makefile.am:
14526 * gstreamer.spec.in:
14529 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14531 * gstreamer.spec.in:
14534 2005-06-08 Andy Wingo <wingo@pobox.com>
14536 * gst/gstutils.c: RPAD fixes all around.
14537 (gst_element_link_pads): Refcounting fixes.
14539 * tools/gst-inspect.c:
14540 * tools/gst-xmlinspect.c:
14542 * gst/base/gsttypefindhelper.c:
14543 * gst/base/gstbasesink.c:
14544 * gst/gstqueue.c: RPAD fixes.
14546 * gst/gstghostpad.h:
14547 * gst/gstghostpad.c: New ghost pad implementation as full proxy
14548 pads. The tricky thing is they provide both source and sink
14549 interfaces, since they proxy the internal pad for the external
14550 pad, and vice versa. Implement with lower-level ProxyPad objects,
14551 with the interior proxy pad as a child of the exterior ghost pad.
14552 Should write a doc on this.
14554 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
14555 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
14558 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
14559 pads are real pads. No ghost pads in this file. Not documenting
14560 the myriad s/RPAD/PAD/ and REALIZE fixes.
14561 (gst_pad_class_init): Add properties for "direction" and
14562 "template". Both are construct-only, so they can't change during
14563 the life of the pad. Fixes properly deriving from GstPad.
14564 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
14565 derived objects, just set properties when creating the objects via
14567 (gst_pad_get_parent): Implement as a function, return NULL if the
14568 parent is not an element.
14569 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
14570 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
14572 * gst/gstobject.c (gst_object_class_init): Make name a construct
14573 property. Don't set it in the object init.
14575 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
14576 with UNKNOWN direction.
14577 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
14578 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
14579 (gst_element_remove_pad): Remove ghost-pad special cases.
14580 (gst_element_pads_activate): Remove rpad cruft.
14582 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
14583 catch the pad's-parent-not-an-element case.
14585 * gst/gst.h: Include gstghostpad.h.
14587 * gst/gst.c (init_post): No more real, ghost pads.
14589 * gst/Makefile.am: Add gstghostpad.[ch].
14591 * check/Makefile.am:
14592 * check/gst/gstbin.c:
14593 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
14594 into a bin creates ghost pads, and that the refcounts are right.
14595 Partly moved from gstbin.c.
14597 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
14599 * check/gst-libs/.cvsignore:
14600 * check/gst/.cvsignore:
14601 * check/pipelines/.cvsignore:
14603 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
14604 (START_TEST), (cleanup_suite), (main):
14605 add some tests related to cleanup after running pipelines
14607 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
14609 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
14610 add a testsuite for GstBuffer
14612 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
14614 * gst/gstminiobject.h:
14615 add defines for accessing the refcount
14617 2005-06-03 Stefan Kost <ensonic@users.sf.net>
14619 * Makefile.am: added support for html unit test coverage reports
14621 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
14623 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14624 Free existing caps if the capsfilter changes. Add a FIXME about
14625 setting those caps on the pads.
14627 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
14628 Before adding a ghost pad to a parent bin, check that there isn't
14629 already one for the element on the bin. Prevents infinite recursion
14630 when using decodebin in parse pipelines. Andy says he'll rewrite the
14631 way this works anyway, so ignore the hack.
14633 2005-06-02 Andy Wingo <wingo@pobox.com>
14635 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
14636 file size, pass it on to the type find helper.
14638 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
14639 segment_start and segment_end properly according to the seek
14640 method. Segment_end is still a bit flaky because offset can be
14641 negative for CUR and END cases, but it takes -1 as an "unset"
14644 2005-06-02 Wim Taymans <wim@fluendo.com>
14646 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
14647 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
14648 (gst_basesink_activate):
14649 * gst/base/gstbasesink.h:
14650 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
14651 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
14652 (gst_pad_query), (gst_pad_start_task):
14654 * gst/gstqueue.c: (gst_queue_bufferalloc),
14655 (gst_queue_handle_sink_event), (gst_queue_chain):
14656 Bufferalloc: return GstFlowReturn to more accuratly report
14657 why allocation failed.
14659 2005-06-02 Wim Taymans <wim@fluendo.com>
14661 * gst/gstpipeline.c: (gst_pipeline_send_event):
14662 Take snapshot of state without blocking.
14664 2005-06-02 Wim Taymans <wim@fluendo.com>
14666 * docs/design/part-TODO.txt:
14667 * docs/design/part-caps.txt:
14668 * docs/design/part-clocks.txt:
14669 * docs/design/part-negotiation.txt:
14670 * docs/design/part-preroll.txt:
14673 2005-05-30 Wim Taymans <wim@fluendo.com>
14675 * gst/elements/gstidentity.c: (gst_identity_event),
14676 (gst_identity_transform), (gst_identity_get_property):
14677 Protect last_message property as it is accessed from
14680 2005-05-30 Wim Taymans <wim@fluendo.com>
14682 * gst/gstelement.c: (gst_element_init),
14683 (gst_element_pads_activate), (gst_element_change_state):
14684 Slicker pad activation code.
14686 2005-05-30 Wim Taymans <wim@fluendo.com>
14689 * gst/gstelement.h:
14690 * gst/gstelementfactory.h:
14692 Move elementfactory methods to separate .h file.
14694 2005-05-30 Wim Taymans <wim@fluendo.com>
14696 * docs/design/part-overview.txt:
14697 * gst/gstsystemclock.h:
14698 Small typo fixes, doc updates.
14700 2005-05-30 Wim Taymans <wim@fluendo.com>
14702 * gst/gst.c: (gst_init_get_popt_table), (init_post),
14703 (init_popt_callback):
14704 Remove cpu-opt flag.
14706 2005-05-30 Wim Taymans <wim@fluendo.com>
14708 * gst/gstbuffer.c: (gst_subbuffer_finalize),
14709 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
14711 Avoid typechecking in places where not needed.
14712 Added accessor for malloc_data.
14714 2005-05-30 Wim Taymans <wim@fluendo.com>
14716 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
14717 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
14718 (gst_pad_configure_sink), (gst_pad_configure_src),
14719 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
14720 (gst_pad_start_task):
14721 Propagate errors from _set_caps() in configure_src/sink
14722 functions instead of returning TRUE.
14723 FLUSH events can travel up and downstream
14726 2005-05-30 Wim Taymans <wim@fluendo.com>
14728 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
14729 (gst_basesink_activate):
14730 Handle EOS in preroll.
14732 2005-05-30 Wim Taymans <wim@fluendo.com>
14734 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14735 (gst_queue_loop), (gst_queue_handle_src_event):
14736 Remove old pieces of code
14737 Flushing the queue in an upstream event is a very bad idea.
14739 2005-05-26 Andy Wingo <wingo@pobox.com>
14741 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
14742 gst_value_set_mini_object so as to add a ref on the object (which
14743 will be removed when the value is unset).
14745 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
14746 arg type in ::handoff.
14748 * gst/gstelement.c (gst_element_change_state): Also deactivate
14749 pads in READY->NULL, just in case the element didn't make it to
14750 PAUSED. Wingo tested, Wim approved.
14752 2005-05-26 Wim Taymans <wim@fluendo.com>
14754 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
14755 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
14756 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
14757 A flushing pad cannot be used to alloc_buffer from.
14759 2005-05-26 Wim Taymans <wim@fluendo.com>
14761 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
14762 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
14763 (gst_bus_source_dispatch), (gst_bus_source_finalize),
14764 (gst_bus_create_watch), (gst_bus_add_watch_full):
14766 Implement a real GSource and use g_main_context_wakeup() to
14767 signal new messages instead of the socketpair.
14769 2005-05-25 Wim Taymans <wim@fluendo.com>
14771 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
14772 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
14773 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
14774 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
14775 (gst_pad_send_event), (gst_pad_start_task):
14776 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
14777 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
14778 (gst_queue_sink_activate), (gst_queue_src_activate),
14779 (gst_queue_change_state):
14781 Fix state changes for non sinks. We now change sinks, then elements
14782 with unconnected srcpads, then the rest.
14783 More efficient queue unlocking in flush and state changes.
14784 Set the pad activate mode even if it does not have an activate
14787 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14789 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
14790 Don't go in pull mode for non-seekable sources.
14791 * gst/elements/gsttypefindelement.h:
14792 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
14793 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
14794 (free_entry), (stop_typefinding),
14795 (gst_type_find_element_handle_event), (find_peek),
14796 (gst_type_find_element_chain), (do_pull_typefind),
14797 (gst_type_find_element_change_state):
14798 Allow typefinding (w/o seeking) in push-mode, simplified version
14799 of what was in 0.8.
14800 * gst/gstutils.c: (gst_buffer_join):
14802 gst_buffer_join() from 0.8.
14804 2005-05-25 Wim Taymans <wim@fluendo.com>
14806 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
14807 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
14808 (gst_pad_send_event), (gst_pad_start_task):
14809 Disable attempt at mode switching until it is figured out.
14811 2005-05-25 Wim Taymans <wim@fluendo.com>
14813 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
14814 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
14815 (gst_basesink_finish_preroll), (gst_basesink_chain),
14816 (gst_basesink_loop), (gst_basesink_activate),
14817 (gst_basesink_change_state):
14818 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
14819 (gst_basesrc_get_range), (gst_basesrc_loop),
14820 (gst_basesrc_activate):
14821 * gst/elements/gsttee.c: (gst_tee_sink_activate):
14822 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
14823 (gst_real_pad_init), (gst_real_pad_set_property),
14824 (gst_real_pad_get_property), (gst_pad_set_active),
14825 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
14826 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
14827 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
14828 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
14829 (gst_pad_event_default_dispatch), (gst_pad_event_default),
14830 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
14831 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
14832 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14833 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
14834 (gst_pad_stop_task):
14836 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14837 (gst_queue_loop), (gst_queue_src_activate):
14838 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
14839 (gst_task_get_state):
14841 * gst/schedulers/threadscheduler.c:
14842 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
14843 Implement gst_pad_pause/start/stop_task(), take STREAM lock
14845 Remove ACTIVE pad flag, use FLUSHING everywhere
14846 Added _pad_chain(), _pad_get_range() to call chain/getrange
14848 Add locks around IS_FLUSHING when reading.
14849 Take STREAM lock in chain(), get_range() functions so plugins
14850 don't need to take it anymore.
14854 2005-05-25 Wim Taymans <wim@fluendo.com>
14856 * tools/gst-launch.c: (event_loop):
14857 Unref message after using its contents instead of
14860 2005-05-24 Wim Taymans <wim@fluendo.com>
14862 * docs/design/draft-ghostpads.txt:
14863 * docs/design/draft-push-pull.txt:
14864 * docs/design/draft-query.txt:
14865 * docs/design/part-overview.txt:
14866 Docs updates, added general overview doc.
14868 2005-05-21 David Schleef <ds@schleef.org>
14870 * docs/gst/tmpl/old/GstBin.sgml:
14871 * docs/gst/tmpl/old/GstBuffer.sgml:
14872 * docs/gst/tmpl/old/GstCaps.sgml:
14873 * docs/gst/tmpl/old/GstClock.sgml:
14874 * docs/gst/tmpl/old/GstCompat.sgml:
14875 * docs/gst/tmpl/old/GstData.sgml:
14876 * docs/gst/tmpl/old/GstElement.sgml:
14877 * docs/gst/tmpl/old/GstEvent.sgml:
14878 * docs/gst/tmpl/old/GstIndex.sgml:
14879 * docs/gst/tmpl/old/GstStructure.sgml:
14880 * docs/gst/tmpl/old/GstTag.sgml:
14881 * docs/gst/tmpl/old/cothreads.sgml:
14882 * docs/gst/tmpl/old/cothreads_compat.sgml:
14883 * docs/gst/tmpl/old/gettext.sgml:
14884 * docs/gst/tmpl/old/gobject2gtk.sgml:
14885 * docs/gst/tmpl/old/grammar.tab.sgml:
14886 * docs/gst/tmpl/old/gst-i18n-app.sgml:
14887 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
14888 * docs/gst/tmpl/old/gst_private.sgml:
14889 * docs/gst/tmpl/old/gstaggregator.sgml:
14890 * docs/gst/tmpl/old/gstarch.sgml:
14891 * docs/gst/tmpl/old/gstatomic_impl.sgml:
14892 * docs/gst/tmpl/old/gstbufferstore.sgml:
14893 * docs/gst/tmpl/old/gstdata_private.sgml:
14894 * docs/gst/tmpl/old/gstdisksink.sgml:
14895 * docs/gst/tmpl/old/gstdisksrc.sgml:
14896 * docs/gst/tmpl/old/gstelementfactory.sgml:
14897 * docs/gst/tmpl/old/gstextratypes.sgml:
14898 * docs/gst/tmpl/old/gstfakesink.sgml:
14899 * docs/gst/tmpl/old/gstfakesrc.sgml:
14900 * docs/gst/tmpl/old/gstfdsink.sgml:
14901 * docs/gst/tmpl/old/gstfdsrc.sgml:
14902 * docs/gst/tmpl/old/gstfilesink.sgml:
14903 * docs/gst/tmpl/old/gstfilesrc.sgml:
14904 * docs/gst/tmpl/old/gsthttpsrc.sgml:
14905 * docs/gst/tmpl/old/gstidentity.sgml:
14906 * docs/gst/tmpl/old/gstindexfactory.sgml:
14907 * docs/gst/tmpl/old/gstmarshal.sgml:
14908 * docs/gst/tmpl/old/gstmd5sink.sgml:
14909 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
14910 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
14911 * docs/gst/tmpl/old/gstpadtemplate.sgml:
14912 * docs/gst/tmpl/old/gstpipefilter.sgml:
14913 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
14914 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
14915 * docs/gst/tmpl/old/gstshaper.sgml:
14916 * docs/gst/tmpl/old/gstspider.sgml:
14917 * docs/gst/tmpl/old/gstspideridentity.sgml:
14918 * docs/gst/tmpl/old/gststatistics.sgml:
14919 * docs/gst/tmpl/old/gsttee.sgml:
14920 * docs/gst/tmpl/old/gsttimecache.sgml:
14921 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
14922 * docs/gst/tmpl/old/gstxmlregistry.sgml:
14923 * docs/gst/tmpl/old/gthread-cothreads.sgml:
14924 * docs/gst/tmpl/old/types.sgml:
14925 I didn't intend to add these or check them in.
14927 2005-05-19 David Schleef <ds@schleef.org>
14929 * configure.ac: Use -no-common everywhere. In a sane world, it
14930 would be the default in libtool, because without it, you can't
14931 build DLLs on Windows.
14932 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
14933 * docs/gst/gstreamer-sections.txt:
14934 * docs/gst/tmpl/gstcpu.sgml:
14935 * docs/gst/tmpl/gstdata.sgml:
14936 * docs/gst/tmpl/gstthread.sgml:
14938 2005-05-19 David Schleef <ds@schleef.org>
14940 * gst/gstminiobject.c: (gst_value_set_mini_object),
14941 (gst_value_take_mini_object), (gst_value_get_mini_object):
14942 * gst/gstminiobject.h: Add GValue set/get functions.
14944 2005-05-19 Wim Taymans <wim@fluendo.com>
14946 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
14947 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
14948 (gst_subbuffer_init), (gst_buffer_is_span_fast):
14950 * gst/gstbus.c: (gst_bus_post):
14951 * gst/gstelement.c: (gst_element_get_random_pad):
14952 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
14953 Make subbufer unref the parent in finalize.
14954 some more debugging info.
14957 2005-05-19 Wim Taymans <wim@fluendo.com>
14959 * gst/base/gstbasesink.c: (gst_basesink_class_init),
14960 (gst_basesink_init), (gst_basesink_finalize),
14961 (gst_basesink_activate), (gst_basesink_change_state):
14962 Don't free preroll queue too early.
14964 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14968 Hi, I'm outdated. Please shoot me.
14970 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14972 * gst/gstpipeline.c: (gst_pipeline_send_event):
14973 Do not access variables after they have been deleted.
14975 2005-05-19 Wim Taymans <wim@fluendo.com>
14977 * tools/gst-inspect.c: (print_plugin_features):
14978 A plugin feature does unfortunatly not use the
14981 2005-05-18 Wim Taymans <wim@fluendo.com>
14983 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
14984 Port _span() functions to new subbuffers.
14986 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14988 * gst/gstbin.c: (gst_bin_add_func):
14989 Fix clock settery in bins when adding kids after the clock has
14992 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14994 * gst/elements/gstidentity.c: (gst_identity_class_init):
14995 Workaround until signals support GstMiniObject.
14997 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15000 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
15002 2005-05-18 Wim Taymans <wim@fluendo.com>
15004 * gst/base/Makefile.am:
15005 * gst/base/gstadapter.c: (gst_adapter_base_init),
15006 (gst_adapter_class_init), (gst_adapter_init),
15007 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
15008 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
15009 (gst_adapter_flush), (gst_adapter_available),
15010 (gst_adapter_available_fast):
15011 * gst/base/gstadapter.h:
15012 Ported and added adapter to the base classes.
15014 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15017 * gst/gstmessage.c:
15018 Make sure the class is reffed/unreffed once before threads can be
15019 used. Fixes #304551.
15021 2005-05-17 Wim Taymans <wim@fluendo.com>
15023 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
15024 (gst_basesink_chain_unlocked), (gst_basesink_activate):
15025 * gst/gstminiobject.c: (gst_mini_object_get_type),
15026 (gst_mini_object_free):
15027 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
15028 (gst_pad_push), (gst_pad_push_event):
15029 * gst/gstqueue.c: (gst_queue_change_state):
15030 Don't queue buffers in basesink when we are flushing.
15031 Unref buffer when flushing in basesink.
15032 Flush queue when going to READY
15033 Unref buffer when _push() returns an error.
15034 Don't free MiniObject instance when refcount is incremented
15035 in _finalize() so that we can recover objects.
15037 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
15039 * docs/manual/advanced-schedulers.xml:
15040 * docs/manual/appendix-checklist.xml:
15041 * docs/pwg/advanced-clock.xml:
15042 * docs/pwg/advanced-interfaces.xml:
15043 * docs/pwg/advanced-request.xml:
15044 * docs/pwg/advanced-types.xml:
15045 * docs/pwg/intro-preface.xml:
15046 * examples/plugins/example.c: (gst_example_get_type),
15047 (gst_example_class_init), (gst_example_chain),
15048 (gst_example_set_property), (gst_example_get_property),
15049 (gst_example_change_state), (plugin_init):
15050 * examples/plugins/example.h:
15053 2005-05-17 Wim Taymans <wim@fluendo.com>
15055 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
15056 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
15057 * gst/gstqueue.c: (gst_queue_change_state):
15058 Clear queue when going to READY.
15059 Remove IN_SETCAPS flag too.
15061 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
15063 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
15064 Remove implicit cast from gboolean to GstElementStateReturn;
15065 make sure we still return failure in paused => ready case if
15066 the parent class fails to change state and our own stop
15069 2005-05-17 Wim Taymans <wim@fluendo.com>
15071 * tools/gst-launch.c: (event_loop):
15072 Message was unreffed too soon.
15074 2005-05-16 Andy Wingo <wingo@pobox.com>
15076 * gst/gstbin.c (sink_iterator_filter): Err... um...
15078 * check/gst/gstbin.c (test_ghost_pads): New test for the
15079 ghosting-if-elements-not-in-same-bin behavior.
15081 2005-05-16 David Schleef <ds@schleef.org>
15083 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
15084 accessing refcount directly.
15086 2005-05-15 David Schleef <ds@schleef.org>
15088 * check/Makefile.am: remove GstData checks
15089 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
15090 * gst/Makefile.am: add miniobject, remove data
15091 * gst/gst.h: add miniobject, remove data
15092 * gst/gstdata.c: remove
15093 * gst/gstdata.h: remove
15094 * gst/gstdata_private.h: remove
15095 * gst/gsttypes.h: remove GstEvent and GstMessage
15096 * gst/gstelement.c: (gst_element_post_message): fix for API changes
15097 * gst/gstmarshal.list: change BOXED -> OBJECT
15099 Implement GstMiniObject.
15100 * gst/gstminiobject.c:
15101 * gst/gstminiobject.h:
15103 Modify to be subclasses of GstMiniObject.
15104 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
15105 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
15106 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
15107 (gst_subbuffer_get_type), (gst_subbuffer_init),
15108 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
15111 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
15112 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
15113 (_gst_event_copy), (gst_event_new):
15115 * gst/gstmessage.c: (_gst_message_initialize),
15116 (gst_message_get_type), (gst_message_class_init),
15117 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
15118 (gst_message_new), (gst_message_new_error),
15119 (gst_message_new_warning), (gst_message_new_tag),
15120 (gst_message_new_state_changed), (gst_message_new_application):
15121 * gst/gstmessage.h:
15122 * gst/gstprobe.c: (gst_probe_perform),
15123 (gst_probe_dispatcher_dispatch):
15125 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
15126 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
15127 (_gst_query_copy), (gst_query_new):
15129 Update elements for GstData -> GstMiniObject changes
15131 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
15132 (gst_queue_chain), (gst_queue_loop):
15133 * gst/elements/gstbufferstore.c:
15134 (gst_buffer_store_add_buffer_func),
15135 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
15136 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15137 (gst_fakesink_render):
15138 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
15139 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
15140 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
15141 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
15142 (gst_filesrc_create_read):
15143 * gst/elements/gstidentity.c: (gst_identity_class_init):
15144 * gst/elements/gsttypefindelement.c:
15145 (gst_type_find_element_src_event), (free_entry_buffers),
15146 (gst_type_find_element_handle_event):
15147 * libs/gst/dataprotocol/dataprotocol.c:
15148 (gst_dp_header_from_buffer):
15149 * libs/gst/dataprotocol/dataprotocol.h:
15150 * libs/gst/dataprotocol/dp-private.h:
15152 2005-05-15 David Schleef <ds@schleef.org>
15154 * gst/elements/gstelements.c: Don't include headers that were
15157 2005-05-15 David Schleef <ds@schleef.org>
15159 * gst/elements/Makefile.am: Remove some elements that don't
15160 need to be in the core (or even exist at all).
15161 * gst/elements/gstaggregator.c:
15162 * gst/elements/gstaggregator.h:
15163 * gst/elements/gstmd5sink.c:
15164 * gst/elements/gstmd5sink.h:
15165 * gst/elements/gstmultifilesrc.c:
15166 * gst/elements/gstmultifilesrc.h:
15167 * gst/elements/gstpipefilter.c:
15168 * gst/elements/gstpipefilter.h:
15169 * gst/elements/gstshaper.c:
15170 * gst/elements/gstshaper.h:
15171 * gst/elements/gststatistics.c:
15172 * gst/elements/gststatistics.h:
15173 * po/POTFILES.in: Remove above files.
15175 2005-05-14 Andy Wingo <wingo@pobox.com>
15177 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
15178 so as to get the refs right.
15179 (sink_iterator_filter): New function, wraps bin_element_is_sink,
15180 unreffing objects that don't pass the filter.
15182 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
15183 gst_element_set_bus.
15184 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
15185 normal cases, this will destroy the bus.
15187 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
15190 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
15193 2005-05-13 Andy Wingo <wingo@pobox.com>
15195 * gst/gstutils.c (gst_element_link_pads): Instead of calling
15196 gst_pad_link, call pad_link_maybe_ghosting,
15197 (pad_link_maybe_ghosting): Links pads, making sure that the
15198 elements being linked are in the same bin.
15199 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
15200 Helpers for pad_link_maybe_ghosting.
15202 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
15205 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
15207 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
15209 * docs/design/part-element-source.txt:
15212 2005-05-12 Wim Taymans <wim@fluendo.com>
15214 * gst/base/gstbasesink.c: (gst_basesink_init),
15215 (gst_basesink_activate):
15216 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
15217 (gst_basesrc_is_seekable):
15218 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15219 (bin_element_is_sink), (gst_bin_change_state):
15220 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15221 * gst/gstelement.h:
15222 Identify sinks by their flag to avoid overly complicated
15224 Do state changes even for elements not reachable from the
15226 BaseSink is a sink now :)
15227 Some more debugging info in the basesrc.
15230 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15232 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
15233 Implement _query on a bin, similar to _send_event.
15235 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
15237 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
15238 Discont event offset format should be GST_FORMAT_BYTES,
15239 not GST_FORMAT_TIME.
15241 2005-05-12 Wim Taymans <wim@fluendo.com>
15243 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
15244 Same fix as Ronald's but without the signal.
15246 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15248 * gst/gstutils.c: (gst_element_query_position):
15249 No, an element is not a pad.
15251 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15253 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
15254 (gst_bin_get_state):
15255 If a child is removed from a bin while we remove the child from
15256 the bin and while we're retrieving its state, signal this to the
15257 get_state function so we abort the wait (instead of waiting for
15258 a timeout) and can immediately re-iterate over all other elements.
15260 2005-05-12 Wim Taymans <wim@fluendo.com>
15262 * gst/base/Makefile.am:
15263 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
15264 (gst_basesrc_start):
15265 * gst/base/gstbasesrc.h:
15266 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
15267 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
15268 (gst_pushsrc_init), (gst_pushsrc_create):
15269 * gst/base/gstpushsrc.h:
15270 Added is_seekable to BaseSrc
15271 Added simple PushSrc.
15273 2005-05-11 Wim Taymans <wim@fluendo.com>
15275 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15276 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15277 (gst_element_link_pads), (gst_element_query_position),
15278 (gst_element_query_convert), (intersect_caps_func),
15279 (gst_pad_query_position), (gst_pad_query_convert):
15280 Fix refcounting in utils function.
15281 No point in trying to activate a pad when it's added, it could
15282 be added from the state change function and then we deadlock, the
15283 element has to decide what to do.
15285 2005-05-10 Andy Wingo <wingo@pobox.com>
15287 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
15288 *all* the arguments.
15290 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
15291 stream lock if it's a FLUSH_DONE; normal flushes don't get the
15292 lock (according to the docs -- if this is wrong change the docs).
15294 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
15295 flush messages in the NULL state.
15297 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
15298 message immediately and return.
15299 (gst_bus_set_flushing): New function. If a bus is flushing, it
15300 flushes out any queued messages and immediately unrefs new
15301 messages. This is so when an element goes to NULL, all of the
15302 unhandled messages coming from it can be freed, and their
15303 references to the element dropped. In other words: message source
15304 ref considered harmful :P
15306 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
15307 we're finished with it.
15309 * gst/gstmessage.c (gst_message_new_state_changed):
15311 2005-05-10 Wim Taymans <wim@fluendo.com>
15313 * gst/gstvalue.c: (gst_value_compare_flags),
15314 (gst_value_serialize_flags), (gst_value_deserialize_flags),
15315 (_gst_value_initialize):
15316 Added flags serialize/deserialize/compare code.
15318 2005-05-09 Andy Wingo <wingo@pobox.com>
15320 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
15321 Intersect the peer's caps with our caps.
15323 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15325 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15326 * gst/elements/gsttypefindelement.c: (find_peek):
15327 Handle negative offsets better. Fixes decodebin.
15329 2005-05-09 Wim Taymans <wim@fluendo.com>
15331 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
15332 (gst_base_transform_event):
15333 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
15334 Implement accept_caps.
15335 Fix silly lock/unlock mismatch in base class.
15337 2005-05-09 Wim Taymans <wim@fluendo.com>
15339 * docs/design/draft-push-pull.txt:
15340 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
15341 * gst/elements/gstfilesink.c: (gst_filesink_init),
15342 (gst_filesink_query):
15343 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15344 (gst_type_find_handle_src_query), (find_element_get_length):
15345 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
15346 * gst/gstelement.h:
15347 * gst/gstmessage.c:
15348 * gst/gstmessage.h:
15349 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
15350 (gst_real_pad_get_caps_unlocked),
15351 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
15352 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15353 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
15354 (gst_real_pad_dispose), (gst_real_pad_finalize),
15355 (gst_pad_load_and_link), (gst_pad_save_thyself),
15356 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
15357 (gst_pad_check_pull_range), (gst_pad_pull_range),
15358 (gst_pad_template_get_type), (gst_pad_template_class_init),
15359 (gst_pad_template_init), (gst_pad_template_dispose),
15360 (name_is_valid), (gst_static_pad_template_get),
15361 (gst_pad_template_new), (gst_static_pad_template_get_caps),
15362 (gst_pad_template_get_caps), (gst_pad_set_element_private),
15363 (gst_pad_get_element_private), (gst_pad_start_task),
15364 (gst_pad_pause_task), (gst_pad_stop_task),
15365 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
15366 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
15367 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
15368 (gst_ghost_pad_new):
15370 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
15371 (gst_query_new_position), (gst_query_set_position),
15372 (gst_query_parse_position), (gst_query_new_convert),
15373 (gst_query_set_convert), (gst_query_parse_convert):
15375 * gst/gstqueryutils.c:
15376 * gst/gstqueryutils.h:
15377 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15378 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15379 (gst_queue_handle_src_query):
15380 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15381 (gst_element_query_position), (gst_element_query_convert),
15382 (intersect_caps_func), (gst_pad_query_position),
15383 (gst_pad_query_convert):
15385 * tools/gst-inspect.c: (print_pad_info):
15386 * tools/gst-xmlinspect.c: (print_element_info):
15387 Remove old query functions. Ported old code.
15388 Added position/convert helper functions to gstutils.
15389 Reordered gstpad.c code, grouping relevant things.
15390 Remove gst_message_new(), always need to speficy a specific
15394 2005-05-09 Andy Wingo <wingo@pobox.com>
15396 * gst/gstiterator.h: Add some includes.
15398 * gst/gstqueryutils.h: Include more headers.
15401 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
15402 some uses of gst_pad_query.
15404 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
15405 NULL out parameters.
15406 (gst_query_new_position): New proc, allocates a new position
15409 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
15410 gstqueryutils.c to the build.
15412 * gst/gststructure.c (gst_structure_set_valist): Implement with
15413 the generic G_VALUE_COLLECT.
15415 2005-05-08 Edward Hervey <bilboed@bilboed.com>
15417 * gst/Makefile.am: (gst_headers):
15418 Added gstqueryutils.h to the list of headers to install, that was
15419 a 'nachty' move wingo :)
15421 2005-05-06 Andy Wingo <wingo@pobox.com>
15424 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
15425 GstData, init a memchunk.
15426 (standard_definitions): Add a few query types, deprecate a few.
15427 (gst_query_get_type): New proc.
15428 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
15430 (gst_query_new_application, gst_query_get_structure): New public
15433 * docs/design/draft-query.txt: Removed LINKS from the query types,
15434 because all the rest can be dispatched to other pads -- seemed
15435 ugly to have a query that couldn't be dispatched. internal_links
15436 is fine as a pad method.
15438 * gst/gstpad.h: Add query2 as a pad method, add the new functions
15439 in gstpad.c, but maintain binary compatibility for the moment.
15440 Will fix before 0.9 is out.
15442 * gst/gstqueryutils.c:
15443 * gst/gstqueryutils.h: New files, implement 3 methods for each
15444 query type: parse_query, parse_response, and set. Probably need an
15447 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
15449 * gst/elements/gstfilesink.c (gst_filesink_query2):
15450 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
15451 query_types, and formats methods.
15453 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
15454 (gst_pad_set_query2_function): New functions.
15455 (gst_real_pad_init): Set query2_default as the default query2
15456 function. Basically just dispatches to internally linked pads.
15460 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
15461 without using the atomic operations. Only one thread can possibly
15462 be accessing the data at this point. Changed so as to avoid
15463 gst_atomic operations.
15465 2005-05-06 Wim Taymans <wim@fluendo.com>
15467 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
15468 Also set caps if we use the fallback buffer alloc.
15470 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
15472 * docs/gst/Makefile.am:
15473 * docs/gst/gstreamer-docs.sgml:
15474 * docs/gst/gstreamer-sections.txt:
15475 * docs/gst/tmpl/gstatomic.sgml:
15476 * docs/gst/tmpl/gstmemchunk.sgml:
15477 * testsuite/elements/struct_i386.h:
15478 * win32/GStreamer.vcproj:
15480 Purge GstAtomic stuff from docs and win32 makefiles as well
15482 2005-05-06 Wim Taymans <wim@fluendo.com>
15484 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
15485 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
15486 * gst/gstpad.c: (gst_pad_peer_get_caps):
15487 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15488 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15489 (gst_queue_src_activate), (gst_queue_change_state):
15491 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15492 (intersect_caps_func):
15493 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
15494 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
15495 Some fixes for the peer_get_caps() change.
15497 2005-05-06 Wim Taymans <wim@fluendo.com>
15499 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15500 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
15501 (gst_basesink_activate):
15502 Actually do something with error codes returned from the push
15505 2005-05-06 Wim Taymans <wim@fluendo.com>
15507 * docs/design/part-element-sink.txt:
15508 * docs/design/part-element-source.txt:
15509 * gst/base/gstbasesink.c: (gst_basesink_class_init),
15510 (gst_basesink_event), (gst_basesink_activate):
15511 * gst/base/gstbasesink.h:
15512 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
15513 (gst_basesrc_activate):
15514 * gst/base/gstbasesrc.h:
15515 * gst/gstelement.c: (gst_element_pads_activate):
15516 Some more documentation.
15517 Fixed scheduling decision in _pads_activate().
15519 2005-05-05 Andy Wingo <wingo@pobox.com>
15521 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
15524 2005-05-05 Wim Taymans <wim@fluendo.com>
15526 * gst/base/Makefile.am:
15527 * gst/base/gstbasesink.h:
15528 * gst/base/gstbasesrc.c: (gst_basesrc_init),
15529 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
15530 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
15531 (gst_collectpads_class_init), (gst_collectpads_init),
15532 (gst_collectpads_finalize), (gst_collectpads_new),
15533 (gst_collectpads_set_function), (gst_collectpads_add_pad),
15534 (find_pad), (gst_collectpads_remove_pad),
15535 (gst_collectpads_is_active), (gst_collectpads_collect),
15536 (gst_collectpads_collect_range), (gst_collectpads_start),
15537 (gst_collectpads_stop), (gst_collectpads_peek),
15538 (gst_collectpads_pop), (gst_collectpads_available),
15539 (gst_collectpads_read), (gst_collectpads_flush),
15540 (gst_collectpads_chain):
15541 * gst/base/gstcollectpads.h:
15542 * gst/elements/Makefile.am:
15543 * gst/elements/gstelements.c:
15544 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15545 (gst_fakesink_get_times), (gst_fakesink_event),
15546 (gst_fakesink_preroll), (gst_fakesink_render):
15547 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15548 (gst_filesink_init), (gst_filesink_set_location),
15549 (gst_filesink_open_file), (gst_filesink_close_file),
15550 (gst_filesink_pad_query), (gst_filesink_event),
15551 (gst_filesink_render), (gst_filesink_change_state):
15552 * gst/elements/gstfilesink.h:
15553 Added object to help in making collect pad based elements.
15555 Make event function in sink baseclass return gboolean.
15557 2005-05-05 Wim Taymans <wim@fluendo.com>
15559 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
15560 (gst_bin_get_by_name):
15562 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
15563 (gst_clock_finalize):
15564 * gst/gstdata.c: (gst_data_replace):
15566 * gst/gstelement.c: (gst_element_request_pad),
15567 (gst_element_pads_activate):
15568 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15569 (gst_object_unref):
15570 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15571 (gst_pad_set_checkgetrange_function),
15572 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
15573 (gst_pad_check_pull_range), (gst_pad_pull_range),
15574 (gst_static_pad_template_get_caps), (gst_pad_start_task),
15575 (gst_pad_pause_task), (gst_pad_stop_task):
15576 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15577 (gst_element_request_pad), (gst_pad_proxy_getcaps):
15578 Fix name lookup in GstBin.
15579 Added _data_replace() function and _buffer_replace()
15580 Use finalize method to clean up clock.
15581 Fix refcounting on request pads.
15582 Fix pad schedule mode error.
15583 Some more object refcounting debug info,
15586 2005-05-04 Andy Wingo <wingo@pobox.com>
15588 * check/Makefile.am:
15589 * docs/gst/tmpl/gstatomic.sgml:
15590 * docs/gst/tmpl/gstplugin.sgml:
15591 * gst/base/gstbasesink.c: (gst_basesink_activate):
15592 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
15593 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
15594 (gst_basesrc_query), (gst_basesrc_set_property),
15595 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
15596 (gst_basesrc_activate):
15597 * gst/base/gstbasesrc.h:
15598 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
15599 (gst_base_transform_src_activate):
15600 * gst/elements/gstelements.c:
15601 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15602 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15603 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15604 * gst/elements/gsttypefindelement.c: (find_element_get_length),
15605 (gst_type_find_element_checkgetrange),
15606 (gst_type_find_element_activate):
15607 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
15608 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
15609 (gst_caps_load_thyself):
15610 * gst/gstelement.c: (gst_element_pads_activate),
15611 (gst_element_save_thyself), (gst_element_restore_thyself):
15612 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
15613 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
15615 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
15616 (gst_xml_parse_file), (gst_xml_parse_memory),
15617 (gst_xml_get_element), (gst_xml_make_element):
15618 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15619 (_file_index_id_save_xml), (gst_file_index_commit):
15620 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
15621 (read_enum), (load_pad_template), (load_feature), (load_plugin),
15623 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
15624 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
15625 * tools/gst-complete.c: (main):
15626 * tools/gst-compprep.c: (main):
15627 * tools/gst-inspect.c: (print_element_properties_info):
15628 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
15629 * tools/gst-xmlinspect.c: (print_element_properties):
15632 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15634 * gst/gstplugin.c: (gst_plugin_check_module),
15635 (gst_plugin_check_file), (gst_plugin_load_file):
15636 apply patch from #172526 to make register work on MacOSX
15638 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
15640 * docs/gst/tmpl/gstconfig.sgml:
15641 * gst/gstconfig.h.in:
15642 move documentation for some symbols. Add doc for GST_PTR_FORMAT
15643 * testsuite/debug/printf_extension.c: (main):
15644 Do not use GST_PTR_FORMAT on pointers to types with
15645 sizeof < sizeof(gpointer). Fixes test on 64-bit
15646 * testsuite/elements/property.h:
15647 use correct printf format
15649 2005-05-02 Wim Taymans <wim@fluendo.com>
15651 * docs/design/draft-push-pull.txt:
15652 * docs/design/draft-query.txt:
15653 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
15654 (gst_basesrc_start):
15655 Added draft for new query API.
15656 Added draft for better selecting scheduling methods.
15657 Make basesrc ignore length if the subclass does not support
15660 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
15663 possible fixes for automake-1.5 - _LIBADD is reserved
15665 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
15667 * docs/faq/Makefile.am:
15668 * docs/manual/Makefile.am:
15669 * docs/manuals.mak:
15670 * docs/pwg/Makefile.am:
15672 possible fixes for automake-1.5
15674 2005-04-28 Wim Taymans <wim@fluendo.com>
15676 * gst/base/gstbasesink.c: (gst_basesink_base_init),
15677 (gst_basesink_pad_getcaps), (gst_basesink_init),
15678 (gst_basesink_do_sync):
15679 * gst/gstclock.c: (gst_clock_entry_new):
15680 * gst/gstevent.c: (gst_event_discont_get_value):
15681 * gst/gstpipeline.c: (pipeline_bus_handler),
15682 (gst_pipeline_change_state):
15683 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15684 Better debugging of clocking info.
15685 Allow NULL values when getting discont values.
15687 2005-04-27 Wim Taymans <wim@fluendo.com>
15689 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
15690 * check/gst/gstpad.c: (gst_pad_suite):
15691 Increase timeout for checks.
15693 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15695 * check/Makefile.am:
15696 fix the broken rule for cleanup. Apparently this rule is
15697 only needed on FC2, so maybe this warrants further autotool
15700 2005-04-26 Wim Taymans <wim@fluendo.com>
15702 * gst/gsttrashstack.h:
15703 Ooohh. a nasty one! After having a failed pop() from the stack,
15704 it's possible that the stack is empty. In that case, don't
15705 follow the NULL pointer.
15707 2005-04-25 Wim Taymans <wim@fluendo.com>
15709 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15710 (gst_pad_set_checkgetrange_function),
15711 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
15712 (gst_pad_check_pull_range), (gst_pad_pull_range),
15713 (gst_static_pad_template_get_caps), (gst_pad_start_task),
15714 (gst_pad_pause_task), (gst_pad_stop_task):
15715 * gst/gstplugin.c: (gst_plugin_load):
15717 Remove gst_library_load as it does more harm than good with
15718 the new g_module flags.
15719 Revert bogus caps template check in pad linking, pad caps
15720 are important when linking not the template, which is more
15721 general than the current caps.
15723 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15725 * gst/autoplug/.cvsignore:
15726 * gst/autoplug/Makefile.am:
15727 * gst/autoplug/gstsearchfuncs.c:
15728 * gst/autoplug/gstsearchfuncs.h:
15729 * gst/autoplug/gstspider.c:
15730 * gst/autoplug/gstspider.h:
15731 * gst/autoplug/gstspideridentity.c:
15732 * gst/autoplug/gstspideridentity.h:
15733 * gst/autoplug/spidertest.c:
15736 2005-04-25 Wim Taymans <wim@fluendo.com>
15738 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15739 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
15740 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
15741 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
15743 Added stubs for unimplemented functions.
15745 2005-04-24 David Schleef <ds@schleef.org>
15747 * gst/gstpad.h: Disable some unimplemented functions. Wim,
15750 2005-04-24 David Schleef <ds@schleef.org>
15752 Convert everything from GstAtomicInt to g_atomic_int_*, and
15757 * gst/gstatomic_impl.h:
15765 * gst/gstdata_private.h:
15769 * gst/gstmessage.c:
15772 * gst/gststructure.c:
15773 * gst/gststructure.h:
15774 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
15777 2005-04-24 David Schleef <ds@schleef.org>
15779 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
15780 make the regressions tests work. Remove some code that is no
15782 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
15783 Disable warning for pads without templates.
15785 2005-04-24 David Schleef <ds@schleef.org>
15787 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
15788 functions that handle filtered links.
15789 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
15791 * gst/gstutils.c: Fix/remove utility functions that handle
15794 * gst/gstvalue.c: Add serialization/deserialization of caps
15795 * gst/parse/grammar.y: Ignore filtered caps when linking. This
15796 requires fixing so that the filter caps notation creates
15797 a capsfilter element and sets the filter_caps property. I
15798 think everyone probably wants to keep the shorthand notation.
15799 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
15800 * docs/gst/tmpl/gstpad.sgml:
15802 * gst/elements/gstelements.c: Register capsfilter element.
15803 * gst/Makefile.am: fix spacing
15804 * docs/random/ds/0.9-suggested-changes: random
15806 2005-04-23 David Schleef <ds@schleef.org>
15808 * gst/elements/Makefile.am:
15809 * gst/elements/gstcapsfilter.c: New element that acts like an
15810 identity, but filters caps. Will eventually replace filtered
15811 caps in pad linking.
15812 * gst/gstutils.c: (gst_element_create_all_pads): New function
15813 to create all the ALWAYS pads that are registered with an
15814 element class. This functionality should eventually be
15815 merged in with GstElement initialization.
15817 * testsuite/trigger/README: part of trigger test code that should
15818 have been checked in a long time ago.
15820 2005-04-23 David Schleef <ds@schleef.org>
15822 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
15823 needed with new versions of libtool (nobody will confirm this),
15824 and hard to carry around.
15825 * gst/autoplug/Makefile.am:
15826 * gst/base/Makefile.am:
15827 * gst/elements/Makefile.am:
15828 * gst/indexers/Makefile.am:
15829 * gst/schedulers/Makefile.am:
15830 * libs/gst/bytestream/Makefile.am:
15831 * libs/gst/control/Makefile.am:
15832 * libs/gst/dataprotocol/Makefile.am:
15833 * libs/gst/getbits/Makefile.am:
15835 2005-04-21 Wim Taymans <wim@fluendo.com>
15837 * docs/design/draft-push-pull.txt:
15838 * docs/design/part-MT-refcounting.txt:
15839 * docs/design/part-TODO.txt:
15840 * docs/design/part-caps.txt:
15841 * docs/design/part-events.txt:
15842 * docs/design/part-gstbus.txt:
15843 * docs/design/part-gstpipeline.txt:
15844 * docs/design/part-messages.txt:
15845 * docs/design/part-push-pull.txt:
15846 * docs/design/part-query.txt:
15849 2005-04-21 Wim Taymans <wim@fluendo.com>
15851 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
15852 (gst_message_new), (gst_message_new_error),
15853 (gst_message_new_warning), (gst_message_new_tag),
15854 (gst_message_new_state_changed), (gst_message_new_application),
15855 (gst_message_get_structure):
15856 * gst/gstmessage.h:
15857 * gst/gststructure.c: (gst_structure_set_parent_refcount),
15858 (gst_structure_copy_conditional):
15859 Use parent refcount in GstMessage to ensure GstStructure
15861 Cleaned up headers a bit.
15864 2005-04-20 Wim Taymans <wim@fluendo.com>
15866 * gst/base/gstbasesink.c: (gst_basesink_base_init),
15867 (gst_basesink_pad_getcaps), (gst_basesink_init),
15868 (gst_basesink_chain_unlocked):
15869 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
15870 (gst_type_find_helper):
15871 * gst/elements/gsttypefindelement.c:
15872 (gst_type_find_element_have_type), (gst_type_find_element_init),
15873 (stop_typefinding), (gst_type_find_element_handle_event),
15874 (find_suggest), (gst_type_find_element_chain),
15875 (gst_type_find_element_checkgetrange),
15876 (gst_type_find_element_getrange), (do_typefind),
15877 (gst_type_find_element_activate):
15878 * gst/gstbuffer.c: (_gst_buffer_sub_free),
15879 (gst_buffer_default_free), (gst_buffer_default_copy),
15880 (gst_buffer_set_caps):
15881 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
15882 (gst_caps_replace):
15883 * gst/gstmessage.c: (gst_message_new),
15884 (gst_message_new_state_changed):
15885 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15886 (gst_pad_set_checkgetrange_function),
15887 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
15888 (gst_pad_set_caps), (gst_pad_check_pull_range),
15889 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
15891 * gst/gsttypefind.c: (gst_type_find_register):
15892 Make gst_caps_replace() work like other _replace() functions.
15893 Use _caps_replace() where possible.
15894 Make sure _message_new() initialises its field.
15895 Add gst_static_pad_template_get_caps()
15898 2005-04-18 Andy Wingo <wingo@pobox.com>
15900 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
15901 on the peer, not the pad. I think that was a typo. Pass an extra
15902 arg to see if random access is possible. Activate the pads as
15903 PULL_RANGE if possible.
15905 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
15907 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
15908 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
15911 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15913 * docs/faq/using.xml:
15914 Add note on gstreamer-properties (#154996).
15916 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15918 * docs/random/bbb/optional-properties:
15919 Some analysis on optional properties.
15921 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15923 * docs/gst/tmpl/gstelementfactory.sgml:
15924 * gst/gstelement.h:
15925 * gst/gstelementfactory.c: (gst_element_factory_init),
15926 (gst_element_factory_cleanup), (gst_element_register),
15927 (__gst_element_factory_add_static_pad_template),
15928 (gst_element_factory_get_static_pad_templates),
15929 (gst_element_factory_can_src_caps),
15930 (gst_element_factory_can_sink_caps):
15931 * gst/registries/Makefile.am:
15932 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
15933 (gst_xml_registry_class_init), (gst_xml_registry_init),
15934 (gst_xml_registry_new), (gst_xml_registry_set_property),
15935 (gst_xml_registry_get_property), (get_time), (make_dir),
15936 (gst_xml_registry_get_perms_func),
15937 (plugin_times_older_than_recurse), (plugin_times_older_than),
15938 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
15939 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
15940 (add_to_char_array), (read_string), (read_uint), (read_enum),
15941 (load_pad_template), (load_feature), (load_plugin), (load_paths),
15942 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
15943 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
15944 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
15945 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
15946 (gst_xml_registry_rebuild):
15947 * gst/registries/gstlibxmlregistry.h:
15948 * tools/gst-compprep.c: (main):
15949 * tools/gst-inspect.c: (print_pad_templates_info):
15950 * tools/gst-xmlinspect.c: (print_element_info):
15951 Use libxml2 for registry parsing, use staticpadtemplates in
15952 elementfactories. Makes gst_init() +/- 10x faster.
15954 2005-04-12 Wim Taymans <wim@fluendo.com>
15956 * gst/base/Makefile.am:
15957 * gst/base/gstbasesink.c: (gst_basesink_base_init),
15958 (gst_basesink_pad_getcaps), (gst_basesink_init),
15959 (gst_basesink_event), (gst_basesink_change_state):
15960 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
15961 (gst_basesrc_init), (gst_basesrc_query),
15962 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
15963 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
15964 (gst_basesrc_check_get_range), (gst_basesrc_loop),
15965 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
15966 (gst_basesrc_stop), (gst_basesrc_activate),
15967 (gst_basesrc_change_state):
15968 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15969 (helper_find_suggest), (gst_type_find_helper):
15970 * gst/base/gsttypefindhelper.h:
15971 * gst/elements/Makefile.am:
15972 * gst/elements/gstelements.c:
15973 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15974 (gst_fakesink_get_times), (gst_fakesink_event),
15975 (gst_fakesink_preroll), (gst_fakesink_render):
15976 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15977 (gst_fakesrc_init), (gst_fakesrc_event_handler),
15978 (gst_fakesrc_get_property), (gst_fakesrc_create),
15979 (gst_fakesrc_start), (gst_fakesrc_stop):
15980 * gst/elements/gstfakesrc.h:
15981 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
15982 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
15983 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
15984 (gst_filesrc_create_read), (gst_filesrc_create),
15985 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
15986 (gst_filesrc_start):
15987 * gst/elements/gsttypefindelement.c:
15988 (gst_type_find_element_have_type), (gst_type_find_element_init),
15989 (start_typefinding), (stop_typefinding), (push_buffer_store),
15990 (gst_type_find_element_handle_event),
15991 (gst_type_find_element_chain),
15992 (gst_type_find_element_checkgetrange),
15993 (gst_type_find_element_getrange), (do_typefind),
15994 (gst_type_find_element_activate),
15995 (gst_type_find_element_change_state):
15996 * gst/elements/gsttypefindelement.h:
15997 * gst/gstpipeline.c: (pipeline_bus_handler):
15998 Added typefind helper.
15999 Small preroll fix in the base sink.
16000 Disable typefind code in basesrc.
16001 Crude port of typefindelement.
16005 2005-04-11 Wim Taymans <wim@fluendo.com>
16007 * check/gst/gstbus.c: (gstbus_suite):
16008 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
16009 * check/gstcheck.h:
16010 Fix up the timeout so that the test does not fail.
16012 2005-04-06 Wim Taymans <wim@fluendo.com>
16015 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16016 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
16017 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16018 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16019 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16020 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16021 (gst_basesrc_stop), (gst_basesrc_activate),
16022 (gst_basesrc_change_state), (basesrc_find_peek),
16023 (basesrc_find_suggest), (gst_basesrc_type_find):
16024 * gst/base/gstbasesrc.h:
16025 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
16026 (gst_filesrc_class_init), (gst_filesrc_init),
16027 (gst_filesrc_finalize), (gst_filesrc_set_location),
16028 (gst_filesrc_set_property), (gst_filesrc_get_property),
16029 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16030 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16031 (gst_filesrc_create_read), (gst_filesrc_create),
16032 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
16033 * gst/elements/gstfilesrc.h:
16034 * gst/gstelement.c: (gst_element_get_state_func),
16035 (gst_element_lost_state), (gst_element_pads_activate):
16036 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16037 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16038 (gst_pad_pull_range):
16040 More work on the generic source base class, implement seeking,
16042 Make filesrc extend the base source class.
16043 Added gst_pad_set_checkgetrange_function to GstPad.
16045 2005-04-06 Andy Wingo <wingo@pobox.com>
16047 * pkgconfig/gstreamer-base.pc.in:
16048 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
16050 * pkgconfig/Makefile.am:
16051 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
16053 2005-04-04 Wim Taymans <wim@fluendo.com>
16055 * gst/base/Makefile.am:
16057 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16058 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16059 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16060 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
16061 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16062 (gst_basesrc_base_init), (gst_basesrc_class_init),
16063 (gst_basesrc_init), (gst_basesrc_get_formats),
16064 (gst_basesrc_get_query_types), (gst_basesrc_query),
16065 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
16066 (gst_basesrc_set_property), (gst_basesrc_get_property),
16067 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
16068 (gst_basesrc_loop), (gst_basesrc_activate),
16069 (gst_basesrc_change_state):
16070 * gst/base/gstbasesrc.h:
16071 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
16072 (gst_fakesrc_class_init), (gst_fakesrc_init),
16073 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
16074 (gst_fakesrc_get_property), (gst_fakesrc_create):
16075 * gst/elements/gstfakesrc.h:
16076 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
16077 (gst_filesrc_open_file), (gst_filesrc_loop),
16078 (gst_filesrc_activate), (filesrc_find_peek),
16079 (gst_filesrc_type_find):
16080 Made base source class, make fakesrc extend it.
16081 Add comments to basesink class.
16082 Some filesrc cleanup.
16084 2005-03-31 David Schleef <ds@schleef.org>
16086 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
16087 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
16088 expected to link against libgstreamer.
16089 * gst/base/Makefile.am: link against libgstreamer
16090 * gst/elements/Makefile.am: same
16092 2005-03-31 Andy Wingo <wingo@pobox.com>
16094 * tests/instantiate/Makefile.am:
16095 * tests/instantiate/caps.c: Add test to test speed of caps copy
16098 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
16099 GMemChunk to be fair.
16101 * gst/gsttrashstack.h: Remove warning about using the fallback
16102 trash stack implementation, it's still faster than malloc.
16104 2005-03-30 Andy Wingo <wingo@pobox.com>
16106 * tests/complexity.c: Add a copyright.
16108 2005-03-31 Wim Taymans <wim@fluendo.com>
16110 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
16111 (gst_base_transform_class_init), (gst_base_transform_init),
16112 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16113 (gst_base_transform_get_property),
16114 (gst_base_transform_sink_activate),
16115 (gst_base_transform_src_activate),
16116 (gst_base_transform_change_state):
16117 * gst/base/gstbasetransform.h:
16118 * gst/elements/gstidentity.c: (gst_identity_class_init),
16119 (gst_identity_event), (gst_identity_check_perfect),
16120 (gst_identity_transform), (gst_identity_start),
16121 (gst_identity_stop):
16122 Added start/stop methods to transform base class so subclasses
16123 don't need to deal with state changes even.
16125 2005-03-31 Wim Taymans <wim@fluendo.com>
16127 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
16128 (gst_event_new_discontinuous), (gst_event_discont_get_value):
16130 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16131 (gst_pad_pull_range):
16132 Added rate to the discont event to prepare for variable speed
16133 and reverse playback.
16135 2005-03-29 David Schleef <ds@schleef.org>
16138 * testsuite/trigger/Makefile.am:
16139 * testsuite/trigger/trigger.c: A little example program to show
16140 how trigger-based elements can work.
16142 2005-03-29 Wim Taymans <wim@fluendo.com>
16144 * gst/base/Makefile.am:
16146 * gst/base/gstbasesink.c: (gst_basesink_get_type),
16147 (gst_basesink_base_init), (gst_basesink_class_init),
16148 (gst_basesink_pad_getcaps), (gst_basesink_init),
16149 (gst_basesink_activate), (gst_basesink_change_state):
16150 * gst/base/gstbasesink.h:
16151 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
16152 (gst_base_transform_base_init), (gst_base_transform_finalize),
16153 (gst_base_transform_class_init), (gst_base_transform_init),
16154 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
16155 (gst_base_transform_event), (gst_base_transform_getrange),
16156 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
16157 (gst_base_transform_set_property),
16158 (gst_base_transform_get_property),
16159 (gst_base_transform_sink_activate),
16160 (gst_base_transform_src_activate),
16161 (gst_base_transform_change_state):
16162 * gst/base/gstbasetransform.h:
16163 * gst/elements/gstidentity.c: (gst_identity_finalize),
16164 (gst_identity_class_init), (gst_identity_init),
16165 (gst_identity_event), (gst_identity_check_perfect),
16166 (gst_identity_transform), (gst_identity_set_property),
16167 (gst_identity_get_property), (gst_identity_change_state):
16168 * gst/elements/gstidentity.h:
16169 * gst/gstelement.c: (gst_element_get_state_func),
16170 (gst_element_lost_state), (gst_element_pads_activate):
16171 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16172 (gst_pad_check_pull_range), (gst_pad_pull_range):
16174 Simplify pad activation.
16175 Added function to check if pull_range can be performed.
16176 Error out when pulling inactive or flushing pads.
16177 Removed const from refcounted types as it does not make sense.
16178 Simplify pad templates in basesink
16179 Added base class for simple 1-to-1 transforms.
16180 Make identity subclass the base transform.
16182 2005-03-29 Andy Wingo <wingo@pobox.com>
16184 * docs/libs/gstreamer-libs-overrides.txt:
16185 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
16186 really don't understand what's going on, but like whatever. I want
16189 * docs/gst/Makefile.am:
16190 * docs/libs/Makefile.am: Dist the overrides files.
16192 * check/Makefile.am (clean-local): Remove .libs directories.
16194 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
16195 elements to EXTRA_DIST, so po/ files are happy.
16197 * po/POTFILES.in: Er, remove it here.
16199 * po/POTFILES: Remove gstspider.c.
16201 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
16203 * docs/libs/gstreamer-libs-docs.sgml:
16204 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
16207 * tests/complexity.c (main): Set the length of the preroll queue
16208 on the sinks to prevent a lockup.
16210 * libs/gst/dataprotocol/Makefile.am:
16211 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
16212 the same as the one in check/gst-libs/gdp.c.
16214 * po/, docs/gst/: Commit automatic changes to docs and po files.
16216 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
16217 the versioned libgstbase.
16219 * check/Makefile.am: Depend on an unversioned gst-register, seems
16220 to make autoconf happier.
16222 * gst/base/Makefile.am: Make libgstbase a versioned lib.
16224 2005-03-28 Wim Taymans <wim@fluendo.com>
16227 * docs/design/part-gstelement.txt:
16228 * docs/design/part-negotiation.txt:
16229 * docs/design/part-preroll.txt:
16230 * docs/design/part-scheduling.txt:
16231 * docs/design/part-states.txt:
16233 * gst/base/Makefile.am:
16235 * gst/base/gstbasesink.c: (gst_basesink_get_template),
16236 (gst_basesink_base_init), (gst_basesink_class_init),
16237 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16238 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16239 (gst_basesink_set_pad_functions),
16240 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
16241 (gst_basesink_set_property), (gst_basesink_get_property),
16242 (gst_base_sink_get_template), (gst_base_sink_get_caps),
16243 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
16244 (gst_basesink_preroll_queue_push),
16245 (gst_basesink_preroll_queue_empty),
16246 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
16247 (gst_basesink_event), (gst_basesink_get_times),
16248 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
16249 (gst_basesink_chain_unlocked), (gst_basesink_chain),
16250 (gst_basesink_loop), (gst_basesink_activate),
16251 (gst_basesink_change_state):
16252 * gst/base/gstbasesink.h:
16253 * gst/elements/Makefile.am:
16254 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
16255 (gst_fakesink_class_init), (gst_fakesink_init),
16256 (gst_fakesink_set_property), (gst_fakesink_get_property),
16257 (gst_fakesink_get_times), (gst_fakesink_event),
16258 (gst_fakesink_preroll), (gst_fakesink_render),
16259 (gst_fakesink_change_state):
16260 * gst/elements/gstfakesink.h:
16261 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16262 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
16263 * gst/gstelement.c: (gst_element_add_pad),
16264 (gst_element_get_state_func), (gst_element_abort_state),
16265 (gst_element_commit_state), (gst_element_lost_state),
16266 (gst_element_set_state), (gst_element_pads_activate):
16267 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
16268 * gst/gstpipeline.c: (gst_pipeline_send_event),
16269 (gst_pipeline_change_state):
16270 Added state change code.
16271 Added/updated docs.
16272 Added sink base class, make fakesink extend the base class.
16273 Small cleanups in GstPipeline.
16275 2005-03-26 David Schleef <ds@schleef.org>
16277 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
16278 is broken and should be implemented in a different library.
16279 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
16280 * gst/gst.h: remove gstcpu.h
16281 * gst/gstcpu.c: remove
16282 * gst/gstcpu.h: remove
16283 * gst/Makefile.am.future: Remove this file. It's ancient.
16285 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16287 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16288 (gst_bin_send_event):
16289 Add default event/set_manager handlers. The set_manager handler
16290 takes care that the manager is distributed over kids that were
16291 already in the bin before the manager was set. The event handler
16292 is a utility virtual function that sends the event over all sinks,
16293 so that gst_element_send_event (bin, event); has the expected
16295 * gst/gstpad.c: (gst_pad_event_default):
16296 Re-install default event handling for discontinuities, so that
16297 seeking works without requiring hacks in applications or extra
16299 * gst/gstpipeline.c: (gst_pipeline_class_init),
16300 (gst_pipeline_send_event):
16301 Half hack, half utility: set a pipeline to PAUSED for seek events,
16302 since that is the only way we can guarantee a/v sync. Means that
16303 you can do gst_element_seek (pipeline, method, pos); on a pipeline
16304 and it "just works".
16306 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16308 * gst/gstpipeline.c: (gst_pipeline_use_clock):
16309 Lock/unlock mismatch.
16311 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
16313 * docs/faq/gst-uninstalled:
16314 add gst-plugins-base
16315 * docs/gst/Makefile.am:
16316 don't error out until docs are fixed
16317 * docs/gst/gstreamer.types:
16320 2005-03-22 Wim Taymans <wim@fluendo.com>
16322 * check/Makefile.am:
16323 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
16324 * gst/gststructure.c: (gst_structure_set_valist),
16325 (gst_structure_copy_conditional):
16326 Activated more tests.
16327 Added message test.
16328 Added G_TYPE_POINTER to GstStructure.
16331 2005-03-22 Wim Taymans <wim@fluendo.com>
16333 * docs/design/part-TODO.txt:
16334 * docs/design/part-events.txt:
16335 * docs/design/part-gstbin.txt:
16336 * docs/design/part-gstbus.txt:
16337 * docs/design/part-gstpipeline.txt:
16338 * docs/design/part-messages.txt:
16340 * gst/gstmessage.c:
16343 2005-03-21 Wim Taymans <wim@fluendo.com>
16345 * gst/gstbus.c: (gst_bus_post):
16346 Fix copy-and-paste error.
16348 2005-03-21 Wim Taymans <wim@fluendo.com>
16350 * check/Makefile.am:
16352 * gst/elements/Makefile.am:
16353 * gst/elements/gstelements.c:
16354 * gst/elements/gstfakesink.c: (gst_fakesink_init),
16355 (gst_fakesink_event), (gst_fakesink_chain):
16356 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16357 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
16358 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
16359 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
16360 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16361 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
16362 (gst_fakesrc_loop), (gst_fakesrc_activate),
16363 (gst_fakesrc_change_state):
16364 * gst/elements/gstfakesrc.h:
16365 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
16366 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
16367 (gst_filesrc_open_file), (gst_filesrc_loop),
16368 (gst_filesrc_activate), (gst_filesrc_change_state),
16369 (filesrc_find_peek), (filesrc_find_suggest),
16370 (gst_filesrc_type_find):
16371 * gst/elements/gstidentity.c: (gst_identity_finalize),
16372 (gst_identity_class_init), (gst_identity_init),
16373 (gst_identity_proxy_getcaps), (identity_queue_push),
16374 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
16375 (gst_identity_getrange), (gst_identity_chain),
16376 (gst_identity_sink_loop), (gst_identity_src_loop),
16377 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
16378 (gst_identity_set_property), (gst_identity_get_property),
16379 (gst_identity_change_state):
16380 * gst/elements/gstidentity.h:
16381 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
16382 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
16383 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
16384 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
16385 (gst_tee_sink_activate):
16386 * gst/elements/gsttee.h:
16387 * gst/gst.c: (gst_register_core_elements), (init_post):
16389 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
16390 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
16391 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
16392 (gst_bin_change_state):
16394 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
16395 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
16396 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
16397 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
16398 (gst_bus_set_sync_handler), (gst_bus_create_watch),
16399 (bus_watch_callback), (bus_watch_destroy),
16400 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
16401 (poll_timeout), (gst_bus_poll):
16405 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
16406 (gst_element_post_message), (gst_element_message_full),
16407 (gst_element_get_state_func), (gst_element_get_state),
16408 (gst_element_abort_state), (gst_element_commit_state),
16409 (gst_element_lost_state), (gst_element_set_state),
16410 (gst_element_pads_activate), (gst_element_change_state),
16411 (gst_element_dispose), (gst_element_set_manager_func),
16412 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
16413 (gst_element_set_manager), (gst_element_get_manager),
16414 (gst_element_set_bus), (gst_element_get_bus),
16415 (gst_element_set_scheduler), (gst_element_get_scheduler):
16416 * gst/gstelement.h:
16417 * gst/gstevent.c: (gst_event_new_segment_seek),
16418 (gst_event_new_flush):
16420 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
16421 (_gst_message_free), (gst_message_get_type), (gst_message_new),
16422 (gst_message_new_eos), (gst_message_new_error),
16423 (gst_message_new_warning), (gst_message_new_tag),
16424 (gst_message_new_state_changed), (gst_message_new_application),
16425 (gst_message_get_structure), (gst_message_parse_tag),
16426 (gst_message_parse_state_changed), (gst_message_parse_error),
16427 (gst_message_parse_warning):
16428 * gst/gstmessage.h:
16429 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
16430 (gst_real_pad_set_property), (gst_pad_set_active),
16431 (gst_pad_is_active), (gst_pad_set_blocked_async),
16432 (gst_pad_set_blocked), (gst_pad_is_blocked),
16433 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
16434 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
16435 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
16436 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
16437 (gst_pad_link_filtered), (gst_pad_relink_filtered),
16438 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
16439 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
16440 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
16441 (gst_pad_set_caps), (gst_pad_configure_sink),
16442 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
16443 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
16444 (gst_real_pad_dispose), (gst_real_pad_finalize),
16445 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
16446 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16447 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
16449 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
16450 (pipeline_bus_handler), (gst_pipeline_change_state),
16451 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
16452 * gst/gstpipeline.h:
16454 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16455 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
16456 (gst_queue_link_src), (gst_queue_bufferalloc),
16457 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16458 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
16459 (gst_queue_loop), (gst_queue_handle_src_event),
16460 (gst_queue_handle_src_query), (gst_queue_src_activate),
16461 (gst_queue_change_state):
16463 * gst/gstscheduler.c: (gst_scheduler_init),
16464 (gst_scheduler_dispose), (gst_scheduler_create_task),
16465 (gst_scheduler_factory_create):
16466 * gst/gstscheduler.h:
16467 * gst/gststructure.c: (gst_structure_get_type),
16468 (gst_structure_copy_conditional):
16469 * gst/gststructure.h:
16470 * gst/gsttaginterface.h:
16471 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16472 (gst_task_init), (gst_task_dispose), (gst_task_create),
16473 (gst_task_get_state), (gst_task_start), (gst_task_stop),
16479 * gst/schedulers/Makefile.am:
16480 * gst/schedulers/cothreads_compat.h:
16481 * gst/schedulers/entryscheduler.c:
16482 * gst/schedulers/faircothreads.c:
16483 * gst/schedulers/faircothreads.h:
16484 * gst/schedulers/fairscheduler.c:
16485 * gst/schedulers/gstbasicscheduler.c:
16486 * gst/schedulers/gstoptimalscheduler.c:
16487 * gst/schedulers/gthread-cothreads.h:
16488 * gst/schedulers/threadscheduler.c:
16489 (gst_thread_scheduler_task_get_type),
16490 (gst_thread_scheduler_task_class_init),
16491 (gst_thread_scheduler_task_init),
16492 (gst_thread_scheduler_task_start),
16493 (gst_thread_scheduler_task_stop),
16494 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
16495 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16496 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
16497 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
16499 * libs/gst/Makefile.am:
16500 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
16501 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
16502 (gst_file_pad_parent_set):
16503 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16504 (gst_dp_event_from_packet):
16505 * tests/complexity.c: (main):
16506 * tests/mass_elements.c: (main):
16507 * testsuite/states/locked.c: (message_received), (main):
16508 * testsuite/states/parent.c: (main):
16509 * tools/gst-inspect.c: (print_element_flag_info),
16510 (print_implementation_info), (print_pad_info):
16511 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
16513 * tools/gst-md5sum.c: (event_loop), (main):
16514 * tools/gst-typefind.c: (main):
16515 * tools/gst-xmlinspect.c: (print_element_info):
16517 Added GstBus for mainloop integration.
16518 Added GstMessage for sending notifications on the bus.
16519 Added GstTask as an abstraction for pipeline entry points.
16521 Removed Schedulers.
16522 Simplified GstQueue for multithreaded core.
16523 Made _link threadsafe, removed old capsnego.
16524 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
16525 Added pad blocking functions.
16526 Reworked scheduling functions in GstPad to prepare for
16527 scheduling updates soon.
16528 Moved events out of data stream.
16529 Simplified GstEvent types.
16530 Added return values to push/pull.
16531 Removed clocking from GstElement.
16532 Added prototypes for state change function for next merge.
16533 Removed iterate from bins and state change management.
16534 Fixed some elements, disabled others for now.
16535 Fixed -inspect and -launch.
16536 Added check for GstBus.
16538 2005-03-10 Wim Taymans <wim@fluendo.com>
16540 * docs/design/part-MT-refcounting.txt:
16541 * docs/design/part-clocks.txt:
16542 * docs/design/part-gstelement.txt:
16543 * docs/design/part-gstobject.txt:
16544 * docs/design/part-standards.txt:
16545 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
16546 (gst_bin_remove_func), (gst_bin_remove):
16550 * testsuite/clock/clock1.c: (main):
16551 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
16553 * testsuite/dlopen/loadgst.c: (do_test):
16554 * testsuite/refcounting/bin.c: (add_remove_test1),
16555 (add_remove_test2), (main):
16556 * testsuite/refcounting/element.c: (main):
16557 * testsuite/refcounting/element_pad.c: (main):
16558 * testsuite/refcounting/pad.c: (main):
16559 * tools/gst-launch.c: (sigint_handler_sighandler):
16560 * tools/gst-typefind.c: (main):
16562 Added doc about clock.
16563 removed gst_bin_iterate_recurse_up(), marked methods
16565 Fix more testsuites.
16567 2005-03-09 Wim Taymans <wim@fluendo.com>
16569 * gst/gstpad.c: (gst_pad_get_direction),
16570 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
16571 (gst_pad_collect_valist):
16572 * testsuite/bins/interface.c: (main):
16573 * testsuite/caps/audioscale.c: (test_caps):
16574 * testsuite/caps/caps.c: (test1), (test2), (test3):
16575 * testsuite/caps/deserialize.c: (main):
16576 * testsuite/caps/enumcaps.c: (main):
16577 * testsuite/caps/filtercaps.c: (main):
16578 * testsuite/caps/intersect2.c: (main):
16579 * testsuite/caps/random.c: (main):
16580 * testsuite/caps/renegotiate.c: (my_fixate), (main):
16581 * testsuite/caps/sets.c: (check_caps):
16582 * testsuite/caps/simplify.c: (check_caps), (main):
16583 * testsuite/caps/subtract.c: (check_caps):
16584 Fix _pad_get_direction wrt ghostpads.
16585 Fix caps testsuite.
16587 2005-03-09 Wim Taymans <wim@fluendo.com>
16589 * check/Makefile.am:
16590 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
16591 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
16592 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
16593 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
16594 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
16595 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
16596 (gst_bin_remove), (gst_bin_iterate_recurse_up),
16597 (bin_element_is_sink), (gst_bin_iterate_sinks),
16598 (gst_bin_iterate_all_by_interface):
16600 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
16601 (gst_element_change_state), (gst_element_dispose),
16602 (gst_element_finalize), (gst_element_set_loop_function):
16603 * gst/gstelement.h:
16604 * gst/gstiterator.c: (find_custom_fold_func):
16605 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
16606 (gst_pad_collectv), (gst_pad_collect_valist),
16607 (gst_pad_template_new):
16608 * gst/gstpipeline.c: (gst_pipeline_class_init),
16609 (gst_pipeline_dispose), (gst_pipeline_set_property),
16610 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
16611 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
16612 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
16614 * gst/schedulers/entryscheduler.c:
16615 * gst/schedulers/gstbasicscheduler.c:
16616 (gst_basic_scheduler_cothreaded_chain),
16617 (gst_basic_scheduler_chain_add_element):
16618 * testsuite/bins/interface.c: (main):
16620 Added GstSystemClock test.
16621 Implemented clock distribution code in GstBin.
16622 Implemented iterate sinks method for future use.
16623 Rearranged gstelement.h
16624 Fix GstIterator comparison bug.
16625 Moved some code to GstPipeline, mostly clocking related.
16627 2005-03-09 Wim Taymans <wim@fluendo.com>
16630 * gst/gst_private.h:
16631 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
16632 (gst_bin_remove_func), (gst_bin_remove),
16633 (gst_bin_get_by_name_recurse_up):
16634 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
16635 (gst_clock_id_compare_func), (gst_clock_id_wait),
16636 (gst_clock_id_wait_async), (gst_clock_init),
16637 (gst_clock_adjust_unlocked), (gst_clock_get_time):
16638 * gst/gstelement.h:
16639 * gst/gstinfo.c: (_gst_debug_init):
16641 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
16642 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
16644 Bump version number, we're now 0.9.0
16645 Add future debugging category.
16646 Fix NULL _unref() in _get_by_name_recurse_up
16647 Rearrange gstpad.h.
16650 2005-03-08 Wim Taymans <wim@fluendo.com>
16652 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
16653 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
16654 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16655 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
16656 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
16657 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
16658 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
16659 * gst/elements/gstidentity.c: (gst_identity_class_init):
16660 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
16661 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
16662 * gst/elements/gstshaper.c: (gst_shaper_class_init):
16663 * gst/elements/gststatistics.c: (gst_statistics_class_init):
16664 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
16666 * gst/gstelement.c: (gst_element_class_init),
16667 (gst_element_base_class_init), (gst_element_init),
16668 (gst_element_get_random_pad), (gst_element_wait_state_change),
16669 (gst_element_change_state), (gst_element_dispose),
16670 (gst_element_finalize), (gst_element_set_loop_function):
16671 * gst/gstelement.h:
16672 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
16673 * gst/gstthread.c: (gst_thread_class_init),
16674 (gst_thread_release_children_locks), (gst_thread_change_state):
16675 * gst/schedulers/gstbasicscheduler.c:
16676 (gst_basic_scheduler_loopfunc_wrapper),
16677 (gst_basic_scheduler_chain_wrapper),
16678 (gst_basic_scheduler_src_wrapper),
16679 (gst_basic_scheduler_remove_element):
16680 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
16681 Remove threadsafe properties. Fix elements because GObject
16682 complains when installing a property before declaring a
16683 set/get_property handler.
16684 Rearrange gstelement.h file, use STATE macros for state locks.
16685 Free mutexes in the finalize method instead of dispose.
16687 2005-03-08 Wim Taymans <wim@fluendo.com>
16689 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16690 * gst/gstthread.c: (gst_thread_release_children_locks):
16691 Added parentage check.
16692 Fix build og GstThread again.
16694 2005-03-08 Wim Taymans <wim@fluendo.com>
16696 * docs/design/part-MT-refcounting.txt:
16697 * docs/design/part-conventions.txt:
16698 * docs/design/part-gstobject.txt:
16699 * docs/design/part-relations.txt:
16700 * docs/design/part-standards.txt:
16701 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
16702 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
16703 (gst_bin_get_by_name), (gst_bin_get_by_interface),
16704 (gst_bin_iterate_all_by_interface):
16707 * gst/gstelement.c: (gst_element_class_init),
16708 (gst_element_change_state), (gst_element_set_loop_function):
16709 * gst/gstelement.h:
16710 * gst/gstiterator.c:
16711 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
16712 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
16713 (gst_object_dispatch_properties_changed), (gst_object_set_name),
16714 (gst_object_set_parent), (gst_object_unparent),
16715 (gst_object_check_uniqueness):
16717 Docs updates, clean up some headers.
16719 2005-03-07 Wim Taymans <wim@fluendo.com>
16721 * check/.cvsignore:
16722 * check/Makefile.am:
16723 * check/gst-libs/.cvsignore:
16724 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
16725 * check/gst/.cvsignore:
16726 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
16727 (START_TEST), (gstbus_suite), (main):
16728 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
16729 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
16730 (gst_data_suite), (main):
16731 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
16732 (add_fold_func), (gstiterator_suite), (main):
16733 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
16734 (thread_name_object), (thread_name_object_default),
16735 (gst_object_name_compare), (gst_object_suite), (main):
16736 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
16737 (gst_pad_suite), (main):
16738 * check/gstcheck.c: (gst_check_log_message_func),
16739 (gst_check_log_critical_func), (gst_check_init):
16740 * check/gstcheck.h:
16741 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16742 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
16745 2005-03-07 Wim Taymans <wim@fluendo.com>
16747 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16748 (gst_list_iterator_next), (gst_list_iterator_resync),
16749 (gst_list_iterator_free), (gst_iterator_new_list),
16750 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
16751 (gst_iterator_free), (gst_iterator_push), (filter_next),
16752 (filter_resync), (filter_uninit), (filter_free),
16753 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
16754 (gst_iterator_foreach), (find_custom_fold_func),
16755 (gst_iterator_find_custom):
16756 * gst/gstiterator.h:
16757 Added missing files.
16759 2005-03-07 Wim Taymans <wim@fluendo.com>
16763 * docs/design/part-MT-refcounting.txt:
16764 * docs/design/part-conventions.txt:
16765 * docs/design/part-gstobject.txt:
16766 * docs/design/part-relations.txt:
16767 * examples/mixer/mixer.c: (main):
16768 * examples/thread/thread.c: (eos), (main):
16770 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
16771 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
16772 (gst_spider_plug_from_srcpad):
16773 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
16774 (gst_spider_identity_change_state),
16775 (gst_spider_identity_sink_loop_type_finding):
16776 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
16777 * gst/elements/gstidentity.c: (gst_identity_init):
16778 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
16779 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
16780 * gst/elements/gsttypefindelement.c: (free_entry):
16783 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
16784 (gst_bin_set_clock_func), (gst_bin_auto_clock),
16785 (gst_bin_set_index), (gst_bin_set_element_sched),
16786 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
16787 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
16788 (gst_bin_iterate_elements), (iterate_child_recurse),
16789 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
16790 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
16791 (compare_interface), (gst_bin_get_by_interface),
16792 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
16794 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
16795 (gst_buffer_default_free), (gst_buffer_default_copy),
16796 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
16797 (gst_buffer_create_sub):
16799 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
16800 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
16801 (gst_caps_unref), (gst_static_caps_get),
16802 (gst_caps_remove_and_get_structure), (gst_caps_append),
16803 (gst_caps_append_structure), (gst_caps_remove_structure),
16804 (gst_caps_copy_nth), (gst_caps_set_simple),
16805 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
16806 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
16807 (gst_caps_structure_intersect_field), (gst_caps_intersect),
16808 (gst_caps_structure_subtract_field), (gst_caps_subtract),
16809 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
16810 (gst_caps_structure_figure_out_union),
16811 (gst_caps_switch_structures), (gst_caps_do_simplify),
16812 (gst_caps_replace), (gst_caps_from_string),
16813 (gst_caps_copy_conditional):
16815 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
16816 (_gst_clock_id_free), (gst_clock_id_unref),
16817 (gst_clock_id_compare_func), (gst_clock_id_wait),
16818 (gst_clock_id_wait_async), (gst_clock_class_init),
16819 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
16820 (gst_clock_get_time), (gst_clock_set_time_adjust),
16821 (gst_clock_set_property), (gst_clock_get_property):
16824 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
16825 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
16827 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
16828 (gst_element_requires_clock), (gst_element_provides_clock),
16829 (gst_element_set_clock), (gst_element_clock_wait),
16830 (gst_element_wait), (gst_element_set_time_delay),
16831 (gst_element_is_indexable), (gst_element_add_pad),
16832 (gst_element_add_ghost_pad), (gst_element_remove_pad),
16833 (pad_compare_name), (gst_element_get_static_pad),
16834 (gst_element_request_pad), (gst_element_get_request_pad),
16835 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
16836 (gst_element_class_get_pad_template_list),
16837 (gst_element_class_get_pad_template), (gst_element_error_func),
16838 (gst_element_get_random_pad), (gst_element_get_event_masks),
16839 (gst_element_send_event), (gst_element_seek),
16840 (gst_element_get_query_types), (gst_element_query),
16841 (gst_element_get_formats), (gst_element_convert),
16842 (gst_element_is_locked_state), (gst_element_set_locked_state),
16843 (gst_element_sync_state_with_parent), (gst_element_change_state),
16844 (gst_element_finalize), (gst_element_yield),
16845 (gst_element_interrupt), (gst_element_set_scheduler),
16846 (gst_element_get_scheduler), (gst_element_set_loop_function):
16847 * gst/gstelement.h:
16849 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
16850 (gst_format_get_by_nick), (gst_format_get_details),
16851 (gst_format_iterate_definitions):
16853 * gst/gstindex.c: (gst_index_gtype_resolver):
16856 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
16857 (gst_mem_chunk_free):
16858 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16859 (gst_object_ref), (gst_object_unref), (gst_object_sink),
16860 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
16861 (gst_object_dispatch_properties_changed),
16862 (gst_object_set_name_default), (gst_object_set_name),
16863 (gst_object_get_name), (gst_object_set_name_prefix),
16864 (gst_object_get_name_prefix), (gst_object_set_parent),
16865 (gst_object_get_parent), (gst_object_unparent),
16866 (gst_object_check_uniqueness), (gst_object_save_thyself),
16867 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
16868 (gst_object_set_property), (gst_object_get_property),
16869 (gst_object_get_path_string):
16871 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
16872 (gst_real_pad_init), (gst_real_pad_get_property),
16873 (gst_pad_custom_new), (gst_pad_get_direction),
16874 (gst_pad_set_active), (gst_pad_is_active),
16875 (gst_pad_set_event_function), (gst_pad_is_linked),
16876 (gst_pad_link_free), (gst_pad_link_intersect),
16877 (gst_pad_link_fixate), (gst_pad_set_caps),
16878 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
16879 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
16880 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
16881 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
16882 (gst_pad_get_caps), (gst_pad_peer_get_caps),
16883 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
16884 (gst_pad_realize), (gst_pad_get_allowed_caps),
16885 (gst_real_pad_dispose), (gst_real_pad_finalize),
16886 (gst_pad_collectv), (gst_pad_collect_valist),
16887 (gst_pad_template_dispose), (gst_pad_template_new),
16888 (gst_pad_get_internal_links):
16890 * gst/gstpipeline.c: (gst_pipeline_dispose),
16891 (gst_pipeline_change_state):
16892 * gst/gstpipeline.h:
16894 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
16895 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
16896 * gst/gstpluginfeature.h:
16897 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
16898 * gst/gstquery.c: (_gst_query_type_initialize),
16899 (gst_query_type_register), (gst_query_type_get_by_nick),
16900 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
16902 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
16903 * gst/gstscheduler.c: (gst_scheduler_add_element),
16904 (gst_scheduler_factory_create):
16905 * gst/gststructure.c: (gst_structure_set_parent_refcount),
16906 (gst_structure_free), (gst_structure_set_name),
16907 (gst_structure_id_set_value), (gst_structure_set_value),
16908 (gst_structure_set_valist), (gst_structure_remove_field),
16909 (gst_structure_remove_fields),
16910 (gst_structure_remove_fields_valist),
16911 (gst_structure_remove_all_fields), (gst_structure_foreach),
16912 (gst_structure_map_in_place),
16913 (gst_caps_structure_fixate_field_nearest_int),
16914 (gst_caps_structure_fixate_field_nearest_double):
16915 * gst/gststructure.h:
16916 * gst/gstsystemclock.c: (gst_system_clock_class_init),
16917 (gst_system_clock_init), (gst_system_clock_dispose),
16918 (gst_system_clock_async_thread),
16919 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
16920 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
16921 * gst/gstsystemclock.h:
16922 * gst/gsttag.c: (gst_tag_list_add_value_internal),
16923 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
16924 * gst/gsttaginterface.c:
16925 * gst/gstthread.c: (gst_thread_dispose),
16926 (gst_thread_release_children_locks), (gst_thread_change_state),
16927 (gst_thread_main_loop):
16928 * gst/gsttrashstack.h:
16929 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
16931 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16932 (gst_element_request_pad), (gst_element_get_pad_from_template),
16933 (gst_element_request_compatible_pad),
16934 (gst_element_get_compatible_pad_filtered),
16935 (gst_element_get_compatible_pad), (gst_element_state_get_name),
16936 (gst_element_link_pads_filtered), (gst_element_link_filtered),
16937 (gst_element_link_many), (gst_element_link),
16938 (gst_element_link_pads), (gst_element_unlink_pads),
16939 (gst_element_unlink_many), (gst_element_unlink),
16940 (gst_pad_can_link_filtered), (gst_pad_can_link),
16941 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
16942 (gst_object_default_error), (gst_bin_add_many),
16943 (gst_bin_remove_many), (gst_element_populate_std_props),
16944 (gst_element_class_install_std_props), (gst_buffer_merge),
16945 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
16946 (link_fold_func), (gst_pad_proxy_setcaps):
16948 * gst/gstvalue.c: (gst_value_deserialize_string):
16949 * gst/parse/grammar.y:
16950 * gst/schedulers/gstbasicscheduler.c:
16951 (gst_basic_scheduler_cothreaded_chain),
16952 (gst_basic_scheduler_chain_recursive_add),
16953 (gst_basic_scheduler_pad_link):
16954 * gst/schedulers/gstoptimalscheduler.c:
16955 (get_group_schedule_function),
16956 (gst_opt_scheduler_state_transition),
16957 (gst_opt_scheduler_add_element), (element_get_reachables_func):
16958 * libs/gst/bytestream/bytestream.c:
16959 * libs/gst/dataprotocol/dataprotocol.c:
16960 (gst_dp_header_from_buffer):
16963 * tests/threadstate/threadstate2.c: (eos):
16964 * tools/gst-compprep.c: (main):
16965 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
16966 (print_pad_info), (print_children_info):
16967 * tools/gst-launch.c: (idle_func), (main):
16968 * tools/gst-md5sum.c: (idle_func), (main):
16969 * tools/gst-xmlinspect.c: (print_element_info):
16970 First THREADED backport attempt, focusing on adding locks and
16971 making sure the API is threadsafe. Needs more work. More docs
16974 2005-02-24 Andy Wingo <wingo@pobox.com>
16976 * tests/bench-complexity.scm:
16977 * tests/complexity.gnuplot: New files, good for running complexity
16980 * tests/Makefile.am:
16981 * tests/complexity.c: New test, sets up N elements, at each level
16982 teeing into M streams per element. Eeeenteresting.
16984 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
16985 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
16986 running bench-mass_elements.scm.
16988 * tests/bench-mass_elements.scm: New script, runs mass_elements
16989 for various numbers of identities, outputting the results to a
16990 file. Requires guile 1.6. Just for testing.
16992 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
16994 * gst/schedulers/fairscheduler.c:
16995 compile with debug disabled
16997 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
17000 hunting season on 0.9 is now OPEN