1 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3 * gst/gsterror.c: (_gst_stream_errors_init):
4 Add a missing error string.
6 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
8 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9 Add applied_rate to the debug
11 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12 Copy applied_rate into the outgoing NEWSEGMENT event
14 2006-05-08 Wim Taymans <wim@fluendo.com>
16 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
18 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
19 (gst_base_sink_change_state):
20 call ::unlock before taking the PREROLL_LOCK so we can safely
21 handle elements that lock in ::render.
24 2006-05-08 Edward Hervey <edward@fluendo.com>
26 * autogen.sh: (CONFIGURE_DEF_OPT):
27 Darwin's libtoolize is in fact called glibtoolize.
28 Adding glibtoolize to the list of accepted names for libtoolize.
30 2006-05-08 Wim Taymans <wim@fluendo.com>
32 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
33 Unify error handling, don't post an error message
34 when a push() returns EOS but perform our normal EOS
35 handling code. Fixes #340772.
37 2006-05-08 Wim Taymans <wim@fluendo.com>
39 * docs/design/part-overview.txt:
40 Make upsteam/downstream concepts more clear.
41 Give an example of serialized/non-serialized events.
43 * docs/design/part-events.txt:
44 * docs/design/part-streams.txt:
47 * docs/design/part-trickmodes.txt:
48 Mention applied rate, flesh out some more use cases.
50 * gst/gstevent.c: (gst_event_new_new_segment),
51 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
52 (gst_event_parse_new_segment_full), (gst_event_new_tag),
53 (gst_event_parse_tag), (gst_event_new_buffer_size),
54 (gst_event_parse_buffer_size), (gst_event_new_qos),
55 (gst_event_parse_qos), (gst_event_parse_seek),
56 (gst_event_new_navigation):
58 Add applied_rate field to NEWSEGMENT event.
59 API: gst_event_new_new_segment_full()
60 API: gst_event_parse_new_segment_full()
62 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
63 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
64 (gst_segment_to_stream_time), (gst_segment_to_running_time):
66 Add applied_rate to GstSegment structure.
67 Make calculation of stream_time and running_time more correct
68 wrt rate/applied_rate.
70 API: GstSegment::applied_rate field
71 API: gst_segment_set_newsegment_full();
73 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
74 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
75 * libs/gst/base/gstbasetransform.c:
76 (gst_base_transform_sink_eventfunc),
77 (gst_base_transform_handle_buffer):
78 Parse and use applied_rate in the GstSegment field.
80 * tests/check/gst/gstevent.c: (GST_START_TEST):
81 Add check for applied_rate field.
83 * tests/check/gst/gstsegment.c: (GST_START_TEST),
85 Add more checks for various GstSegment operations.
87 2006-05-08 Wim Taymans <wim@fluendo.com>
89 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
90 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
91 (gst_base_sink_get_position), (gst_base_sink_change_state):
92 Store the sync time of the buffer end position separatly in a
93 new variable eos_rtime so we can properly sync the EOS event.
95 Fix the docs for gst_base_sink_set_qos_enabled().
96 Don't set segment start to invalid value when we receive a
98 get closer to handling position reporting for negative rates
101 2006-05-07 Stefan Kost <ensonic@users.sf.net>
104 Docs about how to print caps for debug purposes.
106 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
107 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
109 2006-05-07 Stefan Kost <ensonic@users.sf.net>
112 use full enum names and preprend a '%' in docs strings to make recent
113 gtk-doc turn that into a link
115 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
117 * docs/manual/basics-bins.xml:
118 * docs/manual/basics-bus.xml:
119 * docs/manual/basics-pads.xml:
120 Some typo fixes, some additions, some clarifications.
122 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
124 * tools/gst-inspect.c: (main):
125 * tools/gst-launch.c: (main):
126 * tools/gst-run.c: (main):
127 * tools/gst-typefind.c: (main):
128 * tools/gst-xmlinspect.c: (main):
129 Use the string passed to g_option_context_new() for
130 what it's intended for - the program name is already
133 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
136 * tools/gst-inspect.c: (main):
137 * tools/gst-launch.c: (main):
138 * tools/gst-xmlinspect.c: (main):
140 Add back --version command line option (#340460).
142 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
143 Add --version option and use GOption for argument parsing; refactor a
144 bit; accept directories as arguments and recurse into them; lastly,
145 print a decent error message when things go wrong.
147 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
149 * docs/manual/basics-bins.xml:
150 Don't mention GstThread (#340611)
151 * docs/manual/basics-elements.xml:
152 Update link to GObject tutorial (#340607)
154 2006-05-05 Wim Taymans <wim@fluendo.com>
157 * gst/gstminiobject.c:
158 Add note about refcounting and miniobject/buffer writeability
159 to docs. Fixes #340604
161 * gst/gstelementfactory.h:
162 Added some explanation about @klass.
164 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
166 * docs/manual/intro-motivation.xml:
167 * docs/manual/manual.xml:
168 Avoid CORBA & Bonobo references (#340598)
170 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
172 * docs/manual/basics-bus.xml:
173 * docs/manual/basics-pads.xml:
174 Fix up some inaccuracies and omissions (#340609)
176 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
179 Small typo in docs (#340625)
181 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
183 * gst/parse/Makefile.am:
184 Make 'make -j' proof (see #340698).
186 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
189 Require GLib-2.8 here as well.
191 2006-05-05 Wim Taymans <wim@fluendo.com>
194 * gst/gst.c: (init_pre):
195 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
196 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
197 (gst_object_dispatch_properties_changed):
199 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
200 * gst/gststructure.c: (gst_structure_set_valist):
201 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
202 Remove pre glib2.8 compatibility, fixes #340508
204 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
207 Mention type of tags in doc blurbs.
209 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
211 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
212 (gst_pad_configure_src), (gst_pad_push):
213 Restore acceptcaps checking behaviour now that good plugins have
216 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
218 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
229 * gst/parse/Makefile.am:
230 * libs/gst/base/gstadapter.c:
231 * libs/gst/base/gstbasesrc.c:
232 * libs/gst/base/gstpushsrc.c:
233 * libs/gst/base/gsttypefindhelper.c:
234 * plugins/elements/gstfakesrc.c:
235 * plugins/elements/gstidentity.c:
236 Make sure gstprivate.h and/or config.h are
237 always included first, otherwise some of our
238 defines (like _FILE_OFFSET_BITS) might be
239 redefined in the system headers. Fixes build
240 on opensolaris (#340016).
242 2006-05-04 Wim Taymans <wim@fluendo.com>
244 * docs/libs/gstreamer-libs-sections.txt:
245 API: addition: gst_adapter_take_buffer()
247 * libs/gst/base/gstadapter.c: (gst_adapter_push),
248 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
249 (gst_adapter_available_fast):
250 * libs/gst/base/gstadapter.h:
251 Prepare for optimizing the hell out of this hugely inefficient
253 Added gst_adapter_take_buffer() so we can at least start thinking
254 about subbuffering and merging.
257 * tests/check/Makefile.am:
258 * tests/check/libs/adapter.c: (GST_START_TEST),
259 (gst_adapter_suite), (main):
260 Added GstAdapter check.
262 2006-05-04 Wim Taymans <wim@fluendo.com>
264 * docs/design/part-overview.txt:
265 Fix some typos, add blurb about buffer flags.
267 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
269 * docs/libs/gstreamer-libs-sections.txt:
270 make sure GstBaseTransformClass shows up in the docs
271 * libs/gst/base/gstbasetransform.c:
272 * libs/gst/base/gstbasetransform.h:
273 move docs so gtk-doc picks it up now
275 2006-05-02 Stefan Kost <ensonic@users.sf.net>
277 * docs/libs/gstreamer-libs-sections.txt:
278 add missing symbols to docs
280 2006-05-02 Stefan Kost <ensonic@users.sf.net>
282 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
283 back out the newsegment handling change, see #340060 for ongoing
286 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
288 * tools/gst-run.c: (get_candidates), (main):
289 Fix wrong g_file_test() usage (see glib docs for why it doesn't
290 work); fix typo in error message. Fixes #340079.
292 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
294 * common/Makefile.am:
296 * docs/faq/Makefile.am:
297 * docs/gst/Makefile.am:
298 * docs/libs/Makefile.am:
299 * docs/manual/Makefile.am:
300 * docs/plugins/Makefile.am:
301 * docs/pwg/Makefile.am:
302 * docs/slides/Makefile.am:
305 move upload.mak to common
307 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
309 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
310 add more asserts on refcounts
311 do more cleanup at end of tests
312 fix test leaks showing in FC5
314 2006-04-29 Stefan Kost <ensonic@users.sf.net>
316 * plugins/elements/gsttypefindelement.c:
317 (gst_type_find_element_handle_event):
318 reverted wrong change and reflowed code to avoid others falling into
321 2006-04-28 Stefan Kost <ensonic@users.sf.net>
323 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
324 fix changelog entry about last collectpads change,
325 add notes about proper fix
327 2006-04-28 Stefan Kost <ensonic@users.sf.net>
330 * gst/gstregistry.c: (gst_registry_scan_path_level),
331 (gst_registry_scan_path):
333 only write out registry if it has changed, fixes #338339
335 2006-04-28 Stefan Kost <ensonic@users.sf.net>
339 * plugins/elements/gstcapsfilter.c:
340 * plugins/elements/gstfakesink.c:
341 * plugins/elements/gstfakesrc.c:
342 * plugins/elements/gstfdsink.c:
343 * plugins/elements/gstfdsrc.c:
344 * plugins/elements/gstfilesink.c:
345 * plugins/elements/gstfilesrc.c:
346 * plugins/elements/gstidentity.c:
347 * plugins/elements/gstqueue.c:
348 * plugins/elements/gsttee.c:
349 * plugins/elements/gsttypefindelement.c:
350 (gst_type_find_element_handle_event):
351 make GstElementDetails const
353 2006-04-28 Stefan Kost <ensonic@users.sf.net>
355 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
356 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
357 (gst_collect_pads_is_collected), (gst_collect_pads_event):
358 more detailed debug and formatting cleanup,
359 forward newsegments to src-pad (so that e.g. adder not eats them)
361 2006-04-28 Stefan Kost <ensonic@users.sf.net>
363 * gst/gstutils.c: (gst_element_link_pads):
366 2006-04-28 Stefan Kost <ensonic@users.sf.net>
368 * libs/gst/controller/gstcontroller.c:
369 (gst_controller_sync_values):
371 * tests/check/libs/controller.c: (GST_START_TEST),
372 (gst_controller_suite):
373 a new test for live value handling
375 2006-04-28 Wim Taymans <wim@fluendo.com>
377 * gst/gstutils.c: (push_and_ref):
378 Added some more docs.
379 Fix refcount issue whith gst_element_found_tags() helper
380 function. Fixes #338335
382 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
383 Added testsuite for gst_element_found_tags().
385 2006-04-28 Michael Smith <msmith@fluendo.com>
387 * gst/gstvalue.c: (gst_value_serialize_flags):
388 Avoid NULL dereference when trying to serialize flags containing
391 2006-04-28 Michael Smith <msmith@fluendo.com>
393 * plugins/elements/gsttypefindelement.c:
394 (gst_type_find_element_handle_event):
395 If we get EOS before any data is accumulated, don't use
396 uninitialised local variables.
398 2006-04-28 Michael Smith <msmith@fluendo.com>
400 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
401 (gst_dp_event_from_packet):
402 Fixes in reading/writing events over GDP (not currently used?) -
403 dereferencing NULL events for unknown/invalid event types, memory
404 leak, and change g_warning to GST_WARNING.
406 2006-04-28 Wim Taymans <wim@fluendo.com>
408 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
409 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
410 (gst_base_sink_get_position), (gst_base_sink_change_state):
411 When frame dropping is enabled, we should not ignore frames
413 Update some documentation.
415 2006-04-28 Wim Taymans <wim@fluendo.com>
417 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
418 (gst_base_src_send_event), (gst_base_src_change_state):
419 Documentation updates.
421 2006-04-28 Wim Taymans <wim@fluendo.com>
423 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
424 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
425 handle EAGAIN, EINTR and short writes correctly. Also clean
426 up some error cases, avoid a deadlock on bad file descriptors and
427 use GST_DEBUG_OBJECT.
430 2006-04-28 Wim Taymans <wim@fluendo.com>
432 * gst/gstvalue.c: (gst_value_serialize_buffer),
433 (gst_value_deserialize_buffer):
434 Don't try to serialize a GValue with a NULL buffer.
437 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
438 Added check for serialisation of NULL buffers.
440 2006-04-28 Wim Taymans <wim@fluendo.com>
442 * gst/gstminiobject.c: (gst_value_take_mini_object):
443 Taking a NULL miniobject is valid, fix the case where
444 we try to unref the NULL miniobject.
446 2006-04-28 Wim Taymans <wim@fluendo.com>
448 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
450 * gst/gstbin.c: (gst_bin_handle_message_func):
452 Don't leak bin refcount when a state recalc is
453 in progress and we delay another one #339808.
455 2006-04-28 Wim Taymans <wim@fluendo.com>
457 * docs/design/part-TODO.txt:
458 Mention QoS as an ongoing work item.
460 * docs/design/part-buffering.txt:
461 New doc about buffering that needs to be fleshed out
464 * docs/design/part-qos.txt:
465 More QoS policy for decoders/demuxers/transforms
467 * docs/design/part-trickmodes.txt:
470 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
475 === release 0.10.5 ===
477 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
480 releasing 0.10.5, "Fogo"
482 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
484 patch by: Wim Taymans
486 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
487 (gst_pad_configure_src), (gst_pad_push):
488 * gst/gstpipeline.c: (gst_pipeline_init):
489 Fix internal data flow errors. Fixes #338711.
491 2006-04-12 Wim Taymans <wim@fluendo.com>
493 * tests/check/gst/gstelement.c: (GST_START_TEST):
494 Don't leak the factory.
496 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
499 * win32/common/config.h:
502 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
504 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
505 (gst_controller_unset_all):
506 Free allocated GstTimedValues when freeing list nodes.
507 Should fix leaks 'make check-valgrind' complains about.
509 * win32/common/libgstcontroller.def:
510 Add gst_controller_unset_all.
512 2006-04-11 Stefan Kost <ensonic@users.sf.net>
514 * docs/libs/gstreamer-libs-sections.txt:
515 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
516 (gst_controller_unset_all):
517 * libs/gst/controller/gstcontroller.h:
518 API: Added new method gst_controller_unset_all()
519 fixed gst_controller_unset()
520 * tests/check/libs/controller.c: (GST_START_TEST),
521 (gst_controller_suite):
522 Added two testcases for new and fixed method
524 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
526 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
527 MSG_DONTWAIT is not defined on Cygwin, so work
528 around that (fixes #317048).
530 2006-04-11 Wim Taymans <wim@fluendo.com>
532 * gst/gstelementfactory.c: (gst_element_register),
533 (gst_element_factory_create), (gst_element_factory_make):
536 Updated docs (Fixes #131079)
538 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
541 * tests/check/gst/gstelement.c: (GST_START_TEST),
543 Added testcase for elementfactory class field.
545 2006-04-10 Wim Taymans <wim@fluendo.com>
548 Added some more docs.
550 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
551 (gst_base_sink_reset_qos):
552 Calculate more accurate rate values.
554 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
557 add a new #ifdef to use __declspec(dllimport) only for
558 other modules and not for gstreamer core
559 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
560 use gst_guint64_to_gdouble for conversion
561 * win32/common/libgstreamer.def:
562 add new exported functions
563 * win32/vs6/gst_inspect.dsp:
564 * win32/vs6/gst_launch.dsp:
565 * win32/vs6/libgstbase.dsp:
566 * win32/vs6/libgstcontroller.dsp:
567 * win32/vs6/libgstcoreelements.dsp:
568 * win32/vs6/libgstdataprotocol.dsp:
569 * win32/vs6/libgstnet.dsp:
572 2006-04-08 Stefan Kost <ensonic@users.sf.net>
574 * gst/gstbuffer.c: (gst_subbuffer_class_init):
575 * gst/gstclock.c: (gst_clock_class_init):
576 * gst/gstelement.c: (gst_element_class_init):
577 * gst/gstindex.c: (gst_index_class_init):
578 * gst/gstindexfactory.c: (gst_index_factory_class_init):
579 * gst/gstobject.c: (gst_object_class_init),
580 (gst_signal_object_class_init):
581 * gst/gstpad.c: (gst_pad_class_init):
582 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
583 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
584 * gst/gstregistry.c: (gst_registry_class_init):
585 * gst/gstsystemclock.c: (gst_system_clock_class_init):
586 * gst/gsttask.c: (gst_task_class_init):
587 * gst/gstxml.c: (gst_xml_class_init):
588 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
589 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
591 * libs/gst/controller/gstcontroller.c:/
592 (_gst_controller_class_init):
593 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
594 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
595 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
596 * tests/old/examples/plugins/example.c: (gst_example_class_init):
597 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
598 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
600 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
602 * gst/gstpad.c: (gst_pad_link):
603 Must set peer pads before calling the link function, otherwise
604 a task started from a link function might get a flow-not-linked
605 result when trying to push because the other thread where the
606 linking happens hasn't had a chance to set the peers yet. This
607 might happen for example when a queue gets linked to a downstream
608 element, as queue starts a streaming task when its source pad
609 gets linked. Happens in real life when playing back flac/musepack
610 files in playbin (#332390).
612 2006-04-08 Stefan Kost <ensonic@users.sf.net>
616 * libs/gst/base/gstadapter.h:
617 * libs/gst/base/gstbasesink.h:
618 * libs/gst/base/gstbasesrc.h:
619 * libs/gst/base/gstbasetransform.h:
620 * libs/gst/base/gstcollectpads.h:
621 * libs/gst/base/gstpushsrc.h:
622 Fix broken GObject macros
624 2006-04-07 Wim Taymans <wim@fluendo.com>
626 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
627 Initialize start and stop times, thanks valgrind.
629 2006-04-07 Wim Taymans <wim@fluendo.com>
631 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
632 Be a bit nicer to badly behaving upstream elements that expect
633 us to deal with non TIME segments and timestamps (such as fakesrc
636 2006-04-07 Wim Taymans <wim@fluendo.com>
639 Small documentation clarification about the signal watch.
641 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
642 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
643 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
644 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
645 (gst_base_sink_get_position_last),
646 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
647 Convert and store timestamps in stream time and running time, the
648 raw timestamps are not usefull, also document this better.
649 Use different window sizes for good and bad QoS observations so
650 we react to badness a little quicker.
651 Keep track of the amount of rendered and dropped buffers.
652 Send QoS timestamps in running time.
654 * libs/gst/base/gstbasetransform.c:
655 (gst_base_transform_sink_eventfunc),
656 (gst_base_transform_handle_buffer):
657 Compare QoS timestamps against running time.
659 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
664 2006-04-06 Michael Smith <msmith@fluendo.com>
666 * gst/gstpad.c: (gst_pad_set_property):
667 Use g_value_get_object() instead of g_value_dup_gst_object(),
668 to avoid double-reffing the pad template (which we then sink,
669 so this worked previously if (and only if) the pad template
672 * gst/gstpadtemplate.c: (gst_pad_template_init),
673 (gst_pad_template_pad_created):
674 Never return floating references to pad templates, create
675 them as initially-sunken.
677 Document an extra function (and make this stop sinking our
678 pad template, since that is now guaranteed to do nothing,
679 since we created it sunken).
684 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
686 * gst/gstinfo.c: (__gst_in_valgrind):
689 * plugins/elements/gsttypefindelement.c:
690 (gst_type_find_element_chain):
691 Don't leak buffer caps.
693 2006-04-06 Michael Smith <msmith@fluendo.com>
695 * gst/parse/grammar.y:
696 Fix a leak in parse-launch for any source-or-sink named element
699 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
700 Unref the pipeline if it exists after we've failed parsing.
702 2006-04-05 Michael Smith <msmith@fluendo.com>
704 * gst/gstpipeline.c: (gst_pipeline_init):
705 When we create a pipeline bus, initially create it in flushing mode.
706 Fixes leaks in at least one test, and makes a new pipeline work the
707 same as one that has gone to READY and then back to NULL.
712 2006-04-05 Michael Smith <msmith@fluendo.com>
714 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
715 Unref a pad we reffed.
716 * tests/check/gst/gstutils.c: (GST_START_TEST):
719 2006-04-05 Michael Smith <msmith@fluendo.com>
721 * gst/gstquery.c: (gst_query_set_formats),
722 (gst_query_set_formatsv):
723 Fix leaking GValues in queries, as shown by valgrind/testsuite.
725 2006-04-05 Michael Smith <msmith@fluendo.com>
727 * tests/check/generic/sinks.c: (GST_START_TEST):
728 Fix a variety of memleaks in sinks check, which are only sometimes
729 shown by running the tests under valgrind (weird?).
731 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
733 * docs/version.entities.in:
734 Fix the substituted entity name after thomas' changes on the
737 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
739 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
742 2006-04-05 Andy Wingo <wingo@pobox.com>
744 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
746 * libs/gst/base/gstbasetransform.c
747 (gst_base_transform_sink_eventfunc): When resetting our segment on
748 FLUSH_STOP, also update the flag saying we haven't seen a
751 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
753 Patch by: Paolo Borelli <pborelli at katamail dot com>
755 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
756 (gst_plugin_check_license):
757 minor clean-ups: G_DEFINE_TYPE already takes care of the
758 parent_class stuff, no need to do it twice. Mark array of
759 license strings as constant. (#337103)
761 2006-04-04 Michael Smith <msmith@fluendo.com>
763 * tools/gst-inspect.c: (print_element_list):
764 Free the right plugin list; fixes a memory leak.
766 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
768 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
770 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
771 Don't error out on empty buffers (#336945).
773 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
775 * docs/libs/gstreamer-libs-sections.txt:
777 * libs/gst/base/gstbasesink.c:
778 * libs/gst/base/gstbasesink.h:
779 * libs/gst/base/gstbasesrc.c:
780 * libs/gst/base/gstbasesrc.h:
781 Documentation updates. Make BaseSink and BaseSrc docs contain the
782 class structure so that people can actually see the prototypes for
783 virtual functions they're supposed to be overriding.
785 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
787 * plugins/elements/gsttypefindelement.c:
788 (gst_type_find_element_chain):
789 More debug info; when skipping typefinding, send cached
792 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
795 use new AS_VERSION and AS_NANO macros
796 * gst/gst-i18n-lib.h:
799 * gst/gstversion.h.in:
800 * win32/common/config.h:
801 * win32/common/config.h.in:
804 2006-03-31 Michael Smith <msmith@fluendo.com>
806 * plugins/elements/gsttypefindelement.c:
807 (gst_type_find_element_chain):
808 Do not typefind content if the buffers already have caps.
809 Neccesary for icydemux (#333657), and the right thing to do anyway.
811 2006-03-30 Wim Taymans <wim@fluendo.com>
813 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
814 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
815 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
816 (gst_base_sink_record_qos_observation),
817 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
818 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
819 (gst_base_sink_change_state):
820 More QoS measurements as described in the design doc.
821 Get rid of ringbuffer with observations, running average is
822 more simple and equally good.
823 Calculates valid proportion now.
824 Added beginning of flood measurement.
826 2006-03-29 Wim Taymans <wim@fluendo.com>
828 * docs/design/part-qos.txt:
830 Small documentation updates and additions.
832 2006-03-29 Wim Taymans <wim@fluendo.com>
834 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
835 (gst_base_src_send_event), (gst_base_src_loop),
836 (gst_base_src_change_state):
837 Perform the EOS logic when we reach the segment stop position.
838 Fix compilation on gcc4.1
840 2006-03-29 Wim Taymans <wim@fluendo.com>
842 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
844 * plugins/elements/gstqueue.c: (gst_queue_init),
845 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
846 (gst_queue_set_property):
847 * plugins/elements/gstqueue.h:
848 In queue, when EOS is received, if minimum threshold > max_size -
849 current_level, there is chance that queue blocks forever in conditional
850 item del wait. This is because the queue is not emptied completely due
851 to minimum threshold. Here is another approach. Instead of setting
852 cur_levels to max in EOS, just zero all minimum threshold levels. This
853 should make sure that queue gives out all data. When going to READY
854 (stop) state, just reset the original minimum threshold levels.
857 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
859 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
860 (gst_type_find_element_handle_event),
861 (gst_type_find_element_send_cached_events),
862 (gst_type_find_element_change_state):
863 * plugins/elements/gsttypefindelement.h:
864 When typefinding is done in push mode, we should cache
865 events we receive during typefinding instead of just
866 dropping them (e.g. newsegment, custom events from
867 dvdreadsrc etc.) and then send them out once we've
868 determined the type of the stream (and decodebin
869 has had a chance to plug in a decoder/demuxer).
871 2006-03-27 Wim Taymans <wim@fluendo.com>
873 * docs/design/part-qos.txt:
876 2006-03-27 Wim Taymans <wim@fluendo.com>
878 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
880 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
881 (gst_base_src_send_event), (gst_base_src_change_state):
882 Handle element seek correctly when we are streaming.
885 2006-03-24 Michael Smith <msmith@fluendo.com>
887 * docs/faq/gst-uninstalled:
888 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
889 allow you to correctly run intalled applications built against old
890 core, using plugins that require updated core (e.g. running
891 installed totem against a full uninstalled gstreamer stack)
893 2006-03-24 Stefan Kost <ensonic@users.sf.net>
895 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
898 2006-03-24 Wim Taymans <wim@fluendo.com>
900 * docs/gst/gstreamer-sections.txt:
901 Rearrange the order of the methods so that related methods
902 are grouped together in sections.
904 2006-03-24 Stefan Kost <ensonic@users.sf.net>
907 Little clarification in the docs
909 2006-03-24 Stefan Kost <ensonic@users.sf.net>
913 * plugins/elements/gstidentity.c:
914 * plugins/elements/gstqueue.c:
915 * plugins/elements/gsttee.c:
916 * plugins/elements/gsttypefindelement.c:
917 GST_ELEMENT_DETAILS formatting
919 2006-03-24 Wim Taymans <wim@fluendo.com>
921 * libs/gst/base/gstbasesink.h:
922 Only add fields, not insert or we break ABI.
924 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
926 * win32/common/libgstbase.def:
927 * win32/common/libgstreamer.def:
928 Update, add recently added functions.
930 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
932 * docs/gst/gstreamer-sections.txt:
933 * gst/gstutils.c: (gst_pad_query_peer_position),
934 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
936 API: add some new utility functions:
937 - gst_pad_query_peer_position()
938 - gst_pad_query_peer_duration()
939 - gst_pad_query_peer_convert()
941 2006-03-23 Wim Taymans <wim@fluendo.com>
943 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
944 (gst_base_sink_init), (gst_base_sink_finalize),
945 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
946 (gst_base_sink_set_property), (gst_base_sink_get_property),
947 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
948 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
949 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
950 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
951 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
952 (gst_base_sink_preroll_object), (gst_base_sink_event),
953 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
954 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
955 (gst_base_sink_query), (gst_base_sink_change_state):
956 Decouple max-lateness and the fact that QoS messages are generated
957 with a new property (qos).
958 added API: GstBaseSink::async_play()
959 Add vmethod so subclasses can be notified of ASYNC playing
961 Collect timestamp start and stop to report better current
962 position in EOS/PLAYING/PAUSED/READY/NULL.
963 Refactor QoS/frame dropping and other measurements.
967 * libs/gst/base/gstbasesink.h:
968 Added Private struct.
969 API: gst_base_sink_set_qos_enabled()
970 API: gst_base_sink_is_qos_enabled()
972 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
974 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
975 If compiling against GLib-2.8 or newer, try to read the
976 registry file using GMappedFile first before falling back
977 to fopen() + fread() (#332151).
979 2006-03-22 Wim Taymans <wim@fluendo.com>
981 * gst/gstinfo.c: (gst_debug_set_active),
982 (gst_debug_category_set_threshold):
983 Disable debugging unless explicitly activated.
986 2006-03-22 Wim Taymans <wim@fluendo.com>
988 * gst/gstelement.c: (gst_element_set_locked_state),
989 (gst_element_dispose):
990 Cleanup the error case.
992 * gst/gstobject.c: (gst_object_dispose):
993 print a critical when some object was disposed with
994 a parent, also revive the object since it might
997 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
999 * tools/gst-launch.1.in:
1002 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1005 * tests/check/Makefile.am:
1006 disable some tests when we don't have a registry
1007 * tests/check/gst/gstutils.c: (gst_utils_suite):
1008 don't build the part that needs parsing
1010 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1013 * tests/examples/Makefile.am:
1014 fix --disable-parse build
1016 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1018 * tools/gst-feedback.1.in:
1019 Fix typo: s/feeback/feedback/ (#133494).
1021 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1023 * tools/Makefile.am:
1024 * tools/gst-launch.1.in:
1025 Add FILES section and correct entry about GST_REGISTRY_PATH
1026 environment variable (#133495; #133494).
1028 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1030 * tools/Makefile.am:
1031 * tools/gst-md5sum.1.in:
1032 * tools/gst-md5sum.c:
1033 Remove gst-md5sum and man page (the md5sink element
1034 required was removed ages ago)
1036 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1038 * gst/gststructure.c: (gst_structure_id_set_value):
1039 Make sure that string fields in structures/taglists
1040 contain valid UTF-8 - we don't want to pass rubbish to
1041 applications because of a buggy plugin (cp. #334167).
1043 2006-03-21 Edward Hervey <edward@fluendo.com>
1045 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1046 (gst_bin_handle_message_func):
1047 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
1048 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
1049 (gst_element_set_bus_func):
1050 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
1051 * gst/gstminiobject.c: (gst_value_set_mini_object),
1052 (gst_value_take_mini_object):
1053 * gst/gstpad.c: (gst_pad_set_pad_template):
1054 * gst/gstpipeline.c: (gst_pipeline_dispose),
1055 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1056 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
1057 (gst_collect_pads_chain):
1058 * libs/gst/net/gstnettimeprovider.c:
1059 (gst_net_time_provider_set_property):
1060 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
1061 It's in fact all issues with gst_*object_replace().
1063 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1065 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
1067 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1068 * pkgconfig/gstreamer-check.pc.in:
1069 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
1071 2006-03-21 Edward Hervey <edward@fluendo.com>
1076 gst_[buffer|event|message]_ref() macros are replaced by a static
1077 inline functions because gcc-4.1 will about if the return value
1079 * tests/check/gst/gstevent.c: (event_probe):
1080 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
1082 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
1085 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
1086 the type' case. (Closes: #335195 for now). In the future, when we
1087 depend on GLib 2.10, we could also intern the type name using
1088 g_intern_static_string()
1090 2006-03-20 Wim Taymans <wim@fluendo.com>
1092 * gst/gstbin.c: (gst_bin_handle_message_func),
1093 (bin_query_max_init), (bin_query_position_fold),
1094 (bin_query_position_done), (gst_bin_query):
1095 Position query should also take max of all streams.
1097 2006-03-20 Wim Taymans <wim@fluendo.com>
1099 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1100 (gst_fake_src_finalize):
1101 Fix leaks in fakesrc.
1103 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1104 Fix leaks in the testcase.
1106 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
1108 * gst/gst_private.h:
1109 add win32 specific import decoration(__declspec(dllimport))
1110 for all extern GstDebugCategory * variables
1111 * win32/common/libgstbase.def:
1112 * win32/common/libgstcontroller.def:
1113 * win32/common/libgstreamer.def:
1114 Add some exports, remove empty lines
1115 * win32/common/libgstdataprotocol.def:
1116 * win32/common/libgstdataprotocol.dsp:
1117 * win32/common/libgstnet.def:
1118 * win32/common/libgstnet.dsp:
1119 new project files and exportation files added
1121 2006-03-19 Wim Taymans <wim@fluendo.com>
1123 * tests/check/libs/basesrc.c: (eos_event_counter):
1124 Use proper return value for probe.
1126 2006-03-17 Wim Taymans <wim@fluendo.com>
1128 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1130 Don't leak buffers, caps and pads on negotiation errors.
1132 2006-03-16 Stefan Kost <ensonic@users.sf.net>
1135 * docs/faq/dependencies.xml:
1136 * docs/faq/developing.xml:
1138 * docs/faq/general.xml:
1139 * docs/faq/getting.xml:
1140 * docs/faq/legal.xml:
1141 * docs/faq/troubleshooting.xml:
1142 * docs/faq/using.xml:
1143 Faq review and update.
1145 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
1147 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1149 Don't pound the cpu to pieces by checking get_caps when accept_caps
1150 is called with the same caps as the pad already has.
1151 Use GST_DEBUG_OBJECT when outputting caps change information.
1153 2006-03-15 Wim Taymans <wim@fluendo.com>
1155 * gst/gstclock.c: (gst_clock_class_init):
1158 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
1163 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
1164 (gst_pad_accept_caps), (gst_pad_configure_sink),
1165 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
1166 Make the default acceptcaps behaviour be to check the requested
1167 caps against the gst_pad_get_caps output.
1169 Ensure that gst_pad_accept_caps is used to check caps when a pad
1170 doesn't have a setcaps function, so that pads automatically refuse
1171 caps that they don't allow in their pad template. (Fixes #332986)
1173 When a buffer with attached caps is pushed, ensure that the source
1174 pad receives those caps even if the element didn't call
1175 gst_pad_set_caps first.
1177 2006-03-15 Wim Taymans <wim@fluendo.com>
1179 * libs/gst/base/gstadapter.c:
1182 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
1184 * win32/common/libgstbase.def:
1185 * win32/common/libgstcontroller.def:
1186 * win32/common/libgstreamer.def:
1187 Add a whole bunch of missing functions (#334434).
1189 2006-03-14 Wim Taymans <wim@fluendo.com>
1191 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1192 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
1193 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
1194 Better debug info when we receive a segment event.
1195 Reorganize a bit so we can pass the get_times() results around.
1196 Use the segment format when calculating the running time.
1197 Don't do QoS is sync is disabled or we have no clock or the
1198 element does not want us to sync to the clock.
1199 Don't drop buffers if QoS is disabled for now.
1201 2006-03-14 Wim Taymans <wim@fluendo.com>
1203 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
1204 Marked the stats property as unimplemented so people don't get
1206 Add debug message when regression goes wrong.
1207 Added some more docs.
1209 2006-03-14 Wim Taymans <wim@fluendo.com>
1211 * gst/gstsegment.c: (gst_segment_to_stream_time):
1212 Return correct return type in case of errors.
1214 2006-03-14 Wim Taymans <wim@fluendo.com>
1216 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
1217 Don't segfault on invalid formats.
1219 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
1221 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1222 Can't use gst_segment_to_running_time() when the segment
1223 is not in GST_TIME_FORMAT (like with filesink, for example).
1224 Stops flac encoding pipelines from spewing critical warnings
1227 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
1229 * gst/gstpipeline.c: (gst_pipeline_class_init):
1230 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
1232 * plugins/elements/gsttypefindelement.c:
1233 (gst_type_find_element_handle_event):
1234 Don't try to typefind empty streams.
1236 2006-03-14 Wim Taymans <wim@fluendo.com>
1238 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
1239 (gst_base_sink_do_qos):
1240 Separate QoS calculation.
1241 Only drop buffers when lateness is bigger than the
1242 duration of the buffer.
1244 2006-03-13 Wim Taymans <wim@fluendo.com>
1246 * gst/gstpipeline.c: (gst_pipeline_set_property),
1247 (gst_pipeline_get_property), (do_pipeline_seek),
1248 (gst_pipeline_change_state), (gst_pipeline_set_delay),
1249 (gst_pipeline_get_delay):
1250 Don't deadlock when reading properties.
1252 2006-03-13 Wim Taymans <wim@fluendo.com>
1254 * libs/gst/base/gstbasetransform.c:
1255 (gst_base_transform_class_init), (gst_base_transform_init),
1256 (gst_base_transform_sink_event),
1257 (gst_base_transform_sink_eventfunc),
1258 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
1259 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1260 (gst_base_transform_set_property),
1261 (gst_base_transform_get_property),
1262 (gst_base_transform_change_state), (gst_base_transform_update_qos),
1263 (gst_base_transform_set_qos_enabled),
1264 (gst_base_transform_is_qos_enabled):
1265 * libs/gst/base/gstbasetransform.h:
1266 Make basetransform virtual method for src events too.
1267 Handle QOS in basetransform.
1268 API: gst_base_transform_update_qos()
1269 API: gst_base_transform_set_qos_enabled()
1270 API: gst_base_transform_is_qos_enabled()
1272 2006-03-13 Wim Taymans <wim@fluendo.com>
1274 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1275 (gst_base_sink_do_sync):
1277 Use QOS debug category.
1279 2006-03-13 Wim Taymans <wim@fluendo.com>
1281 * plugins/elements/gstqueue.c:
1282 Very small doc update.
1284 2006-03-13 Wim Taymans <wim@fluendo.com>
1286 * gst/gst_private.h:
1287 * gst/gstinfo.c: (_gst_debug_init):
1288 Added QOS debug category
1290 2006-03-13 Wim Taymans <wim@fluendo.com>
1292 * docs/gst/gstreamer-sections.txt:
1293 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
1295 * gst/gstbus.c: (gst_bus_class_init):
1298 * gst/gstelement.c: (gst_element_set_locked_state):
1300 Documentation updates.
1302 * gst/gstpipeline.c: (gst_pipeline_get_type),
1303 (gst_pipeline_class_init), (gst_pipeline_init),
1304 (gst_pipeline_dispose), (gst_pipeline_set_property),
1305 (gst_pipeline_get_property), (do_pipeline_seek),
1306 (gst_pipeline_send_event), (gst_pipeline_change_state),
1307 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
1308 (gst_pipeline_get_delay):
1309 * gst/gstpipeline.h:
1310 Added methods for setting the delay.
1311 API: gst_pipeline_set_delay()
1312 API: gst_pipeline_get_delay()
1313 Add pipeline debug category
1316 Don't reset stream time when seek failed.
1318 2006-03-13 Wim Taymans <wim@fluendo.com>
1320 * docs/design/draft-klass.txt:
1321 * docs/design/part-clocks.txt:
1322 * docs/design/part-events.txt:
1323 * docs/design/part-gstbin.txt:
1324 * docs/design/part-gstpipeline.txt:
1325 * docs/design/part-messages.txt:
1326 * docs/design/part-negotiation.txt:
1327 * docs/design/part-overview.txt:
1328 * docs/design/part-preroll.txt:
1329 * docs/design/part-seeking.txt:
1330 * docs/design/part-states.txt:
1331 * docs/design/part-streams.txt:
1332 Documentation updates.
1334 2006-03-12 Julien MOUTTE <julien@moutte.net>
1336 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
1337 us to leak strings...
1339 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
1341 * libs/gst/net/gstnettimeprovider.c:
1343 * win32/common/config.h:
1346 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
1348 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
1351 Don't check for libgnomeui (leftover from old examples
1352 that aren't built or disted any longer) (#334303).
1354 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
1356 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1357 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1358 Emit RESOURCE_NO_SPACE_LEFT error here as well when
1359 there's no space left on the device.
1361 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
1364 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
1365 to cast the input to GstClockTime before comparing with
1366 another GstClockTime value.
1368 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
1373 === release 0.10.4 ===
1375 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
1378 releasing 0.10.4, "Light"
1380 2006-03-10 Michael Smith <msmith@fluendo.com>
1382 * libs/gst/dataprotocol/dataprotocol.c:
1383 Fix docs for dataprocotol to not get the return types completely
1384 wrong for a few functions.
1386 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
1388 * docs/gst/gstreamer-sections.txt:
1389 * gst/gstpipeline.c: (gst_pipeline_class_init),
1390 (gst_pipeline_init), (gst_pipeline_set_property),
1391 (gst_pipeline_get_property), (gst_pipeline_change_state),
1392 (gst_pipeline_set_auto_flush_bus),
1393 (gst_pipeline_get_auto_flush_bus):
1394 * gst/gstpipeline.h:
1395 Add new API: gst_pipeline_set_auto_flush_bus() and
1396 gst_pipeline_get_auto_flush_bus() to disable automatic
1397 flushing of the pipeline's GstBus when going from READY
1398 to NULL state (#332045).
1400 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
1402 * docs/gst/gstreamer-sections.txt:
1403 * gst/gsturi.c: (gst_uri_has_protocol):
1405 Add new API: gst_uri_has_protocol() (#333779).
1407 2006-03-09 Wim Taymans <wim@fluendo.com>
1409 * gst/gstclock.c: (gst_clock_entry_new),
1410 (gst_clock_id_compare_func), (gst_clock_id_wait),
1411 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
1412 (gst_clock_init), (gst_clock_get_internal_time),
1413 (gst_clock_set_master), (do_linear_regression),
1414 (gst_clock_add_observation), (gst_clock_set_property):
1418 Fix a possible segfault when the window-size is made smaller.
1419 Calculate jitter before performing the clock wait. Ideally
1420 the clock implementation should calculate jitter but we need
1421 API breakage for that.
1423 * gst/gstsystemclock.c: (gst_system_clock_init):
1426 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1427 Remove leftover else
1429 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1430 (gst_systemclock_suite):
1431 Added check to test GST_CLOCK_DIFF.
1433 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
1435 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
1436 (gst_type_find_helper_get_range):
1437 If we are provided with the size, we should implement
1438 GstTypeFind::get_length, so that typefind functions who
1439 want to can actually peek at the middle of a file.
1441 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
1443 * docs/manual/advanced-dataaccess.xml:
1444 Add some very very basic error checking.
1446 * docs/pwg/appendix-checklist.xml:
1447 Some updates to the list of things to check when writing an element.
1449 2006-03-08 Wim Taymans <wim@fluendo.com>
1451 * docs/design/part-element-transform.txt:
1452 Added some docs about the design of tranform elements.
1454 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1455 (gst_base_src_loop), (gst_base_src_change_state):
1456 Mark buffers with the DISCONT flag.
1458 2006-03-08 Michael Smith <msmith@fluendo.com>
1460 * gst/gstregistry.h:
1461 * gst/gstregistryxml.c: (gst_registry_save),
1462 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
1463 (gst_registry_xml_save_pad_template),
1464 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
1465 (gst_registry_xml_write_cache):
1466 Rewrite registry-saving to avoid race conditions and check for
1469 2006-03-08 Wim Taymans <wim@fluendo.com>
1471 * libs/gst/base/gstbasetransform.c:
1472 (gst_base_transform_transform_caps),
1473 (gst_base_transform_transform_size),
1474 (gst_base_transform_prepare_output_buffer),
1475 (gst_base_transform_get_unit_size),
1476 (gst_base_transform_buffer_alloc),
1477 (gst_base_transform_handle_buffer),
1478 (gst_base_transform_change_state):
1479 Cleanups, separate normal flow from errors, add sensible
1481 Don't try to renegotiate when allocating an output buffer.
1482 Also copy DISCONT buffer flag when copying a buffer.
1483 Reset the transform after we finish streaming, not during.
1485 2006-03-08 Wim Taymans <wim@fluendo.com>
1487 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1488 Use last buffer timestamp in qos message.
1490 2006-03-07 Wim Taymans <wim@fluendo.com>
1492 Patch by: Christophe Fergeau
1494 * docs/pwg/advanced-tagging.xml:
1495 * docs/pwg/building-pads.xml:
1498 2006-03-07 Wim Taymans <wim@fluendo.com>
1500 * docs/libs/gstreamer-libs-sections.txt:
1501 Added basesink new methods.
1505 Docs updates. Flesh out the QoS docs.
1507 * libs/gst/base/gstadapter.c:
1508 Small doc clarification about ownership and flushing.
1510 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
1511 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1512 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
1513 (gst_base_sink_get_property), (gst_base_sink_do_sync):
1514 * libs/gst/base/gstbasesink.h:
1516 Added new methods to allow subclass to control max-lateness
1518 Generate very basic QoS events based on last sync observation.
1519 Updated docs, fix typo, added some QoS blurb.
1521 * libs/gst/base/gstbasesrc.c:
1522 Remove obsolete _get_state() calls from docs.
1524 2006-03-07 Wim Taymans <wim@fluendo.com>
1526 * docs/libs/gstreamer-libs-sections.txt:
1527 * libs/gst/base/gstbasetransform.h:
1528 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
1529 Fix docs for GstBaseSrc.
1531 2006-03-07 Wim Taymans <wim@fluendo.com>
1533 * docs/gst/gstreamer-sections.txt:
1536 * libs/gst/base/gstbasetransform.h:
1537 Small documentation fixes.
1539 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
1542 Document thread-unsafety of gst_value_register_foo_func()
1543 when used at the same time as gst_value_foo() (#322628).
1545 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
1547 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
1548 (gst_push_src_check_get_range):
1549 Push sources don't support pull mode by default.
1551 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
1553 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1554 (gst_base_src_init), (gst_base_src_pad_check_get_range),
1555 (gst_base_src_default_check_get_range):
1556 * libs/gst/base/gstbasesrc.h:
1557 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
1558 provide default implementation, and rename
1559 gst_base_src_check_get_range() to
1560 gst_base_src_pad_check_get_range() for clarity.
1562 2006-03-06 Wim Taymans <wim@fluendo.com>
1564 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1565 Make property overridable.
1567 2006-03-06 Wim Taymans <wim@fluendo.com>
1569 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1570 (gst_base_sink_init), (gst_base_sink_set_property),
1571 (gst_base_sink_get_property), (gst_base_sink_do_sync):
1572 * libs/gst/base/gstbasesink.h:
1573 API addition: Make max-lateness a property.
1575 2006-03-06 Wim Taymans <wim@fluendo.com>
1577 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
1578 (gst_base_sink_do_sync), (gst_base_sink_render_object):
1579 Don't ever draw a frame that is >10ms late.
1581 2006-03-06 Michael Smith <msmith@fluendo.com>
1583 * gst/gstmessage.c: (_gst_message_copy):
1584 When copying a message, set the parent_refcount of the enclosed
1585 structure to point at the copy, not the original message.
1587 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
1589 Patch by: Christophe Fergeau
1592 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
1593 usable in c++ code (#333417)
1595 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
1598 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
1600 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
1602 * libs/gst/base/gstbasetransform.c:
1603 (gst_base_transform_transform_caps):
1604 Make sure caps are writable before passing them to
1607 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
1610 Fix some minor docs errors.
1612 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
1614 Patch by: Ross Burton <ross at burtonini dot com>
1616 * gst/gsterror.c: (_gst_resource_errors_init):
1618 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
1620 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
1623 Add a check and output a g_warning when GStreamer is built
1624 against GLib 2.6 but running against 2.8 or higher, and vice
1625 versa. (Closes: #323542)
1627 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
1629 * gst/parse/parse.l:
1630 Commit patch for parse_launch syntax from #331255. Removes
1631 support for quoted strings and mimetypes when writing filtered
1632 caps. See the bug report for more details - I'm pretty sure this
1633 obscure feature is not in use by _anyone_ anywhere.
1635 With this simple change, the size of the gstreamer.so here
1636 drops from 2193KB to 1565KB.
1638 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
1640 * plugins/elements/gsttypefindelement.h:
1641 * plugins/elements/gsttypefindelement.c:
1642 (gst_type_find_element_src_event), (start_typefinding),
1643 (stop_typefinding), (gst_type_find_element_handle_event),
1644 (gst_type_find_element_chain),
1645 (gst_type_find_element_chain_do_typefinding):
1646 Use gst_type_find_helper_for_buffer() for chain-based
1649 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
1651 * plugins/elements/gsttypefindelement.c:
1652 (gst_type_find_element_class_init),
1653 (gst_type_find_element_set_property),
1654 (gst_type_find_element_get_property):
1655 Deprecate "maximum" property (not only was it only taken into
1656 account for typefinding in push-mode anyway, it also was never
1657 actually possible to set it in the first place because the
1658 property was registered with the numeric property ID for the
1659 "minimum" property). Register "maximum" property correctly,
1660 for the sake of future copy'n'pasters. Remove some cruft
1661 from property get/set functions.
1663 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
1665 * plugins/elements/gsttypefindelement.c:
1666 (gst_type_find_element_activate):
1667 Use gst_type_find_helper_get_range() here, so we
1668 can honour the "minimum" property and also emit
1669 the signal with the correct probability of the found caps.
1671 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
1673 * docs/libs/gstreamer-libs-sections.txt:
1674 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1675 (helper_find_suggest), (gst_type_find_helper_get_range),
1676 (gst_type_find_helper):
1677 * libs/gst/base/gsttypefindhelper.h:
1678 New API: gst_type_find_helper_get_range() (#333042).
1680 2006-03-02 Michael Smith <msmith@fluendo.com>
1682 * gst/gstregistryxml.c: (load_feature):
1683 Asserting on a failure to read part of the registry is Not Cool.
1684 Just log a warning and return NULL (which is already handled)
1686 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
1688 * win32/common/libgstbase.def:
1689 added export of gst_type_find_helper_for_buffer
1690 * win32/common/libgstbase.def:
1691 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
1692 gst_ghost_pad_get_target
1694 2006-02-28 Wim Taymans <wim@fluendo.com>
1696 * docs/design/draft-klass.txt:
1698 Added Connector to mark elements that are only used to
1699 allow pipeline connections.
1700 Moved Debug to extra feature since most of them are
1701 functionally something else.
1703 2006-02-28 Wim Taymans <wim@fluendo.com>
1705 * docs/design/draft-klass.txt:
1706 Some updates and clarifications.
1708 2006-02-28 Wim Taymans <wim@fluendo.com>
1710 * docs/design/draft-klass.txt:
1711 Proposal for klass field values.
1713 * docs/design/part-streams.txt:
1714 Start of a doc describing stream anatomy.
1716 2006-02-28 Wim Taymans <wim@fluendo.com>
1718 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
1719 Help the compiler a bit with type registration.
1720 Use existing forward cod path instead of duplicating it when
1723 * gst/gstbus.c: (gst_bus_get_type):
1724 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
1725 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
1726 * gst/gstclock.c: (gst_clock_get_type):
1727 * gst/gstelement.c: (gst_element_get_type),
1728 * gst/gstelementfactory.c: (gst_element_factory_get_type):
1729 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1730 * gst/gstminiobject.c: (gst_mini_object_get_type):
1731 * gst/gstpad.c: (gst_pad_get_type):
1732 * gst/gstsegment.c: (gst_segment_get_type):
1733 * gst/gststructure.c: (gst_structure_get_type):
1734 * gst/gstsystemclock.c: (gst_system_clock_get_type):
1735 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
1737 Help compiler with type registration.
1739 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1742 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1744 * plugins/elements/gsttypefindelement.c:
1745 (gst_type_find_element_handle_event):
1746 When we get an EOS event and have not found a type yet
1747 (most likely because we had not yet accumulated
1748 TYPE_FIND_MIN_SIZE of data yet), try to determine the
1749 type given the data we have so far. Fixes typefinding
1750 for very short streams again, most notably quicktime
1751 redirections as used on Apple's trailer site (#331701).
1753 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1755 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
1756 (gst_type_find_helper):
1757 Try typefinding factories with the highest rank first.
1759 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1761 * docs/libs/gstreamer-libs-docs.sgml:
1762 * docs/libs/gstreamer-libs-sections.txt:
1763 * libs/gst/base/gsttypefindhelper.c:
1764 Add section for typefind helper and add documentation
1765 for the old and the new function.
1767 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1769 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
1770 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
1771 (gst_type_find_helper_for_buffer):
1772 * libs/gst/base/gsttypefindhelper.h:
1773 New API: gst_type_find_helper_for_buffer() (#332723).
1775 2006-02-27 Michael Smith <msmith@fluendo.com>
1777 Patch by: Loïc Minier
1781 * docs/slides/Makefile.am:
1782 prevent CVS directories getting disted.
1784 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
1786 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
1787 Use the REFCOUNTING category for caps refcounting.
1789 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
1791 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
1792 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
1794 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
1796 * plugins/elements/gsttypefindelement.c:
1797 (gst_type_find_element_activate):
1798 Use gst_pad_check_pull_range() before _activate_pull()
1799 to avoid unnecessary open/close (see #331690).
1801 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
1804 Docs enhancement: make it crystal clear what the
1805 gst_pad_add_*_probe() callbacks should look like.
1807 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
1809 * libs/gst/base/gstbasesrc.c:
1810 Document how applications can stop recording from
1811 live sources (see #330996).
1813 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
1815 * tests/check/Makefile.am:
1816 * tests/check/libs/basesrc.c: (eos_event_counter),
1817 (basesrc_eos_events_pull), (basesrc_eos_events_push),
1818 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
1819 (gst_basesrc_suite), (main):
1820 ... and add some tests for the base source EOS stuff.
1822 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
1824 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
1825 Test case originally showed the problem fixed below,
1826 but was then amended. Add checks back at the place
1827 where they used to be.
1829 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
1831 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1832 (gst_base_src_init), (gst_base_src_loop),
1833 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1834 (gst_base_src_change_state):
1835 * libs/gst/base/gstbasesrc.h:
1836 Don't unconditionally send EOS when going from PAUSED to
1837 READY state, esp. make sure we don't send two EOS events
1838 in some cases (e.g. one when reaching EOS and one when
1839 going from PAUSED to READY). Also, we don't want to send
1840 EOS events when operating in pull mode. However, we do
1841 want to send an EOS event when shutting down a live
1842 source explicitly, for example (fixes #330996).
1844 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
1846 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1847 Update src->read_position after a seek when not using mmap.
1848 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
1850 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
1856 Make things work with --disable-parse as they do with
1857 --disable-load-save - the symbols involved disappear, but the
1858 header is still installed and GST_DISABLE_PARSE is included via
1861 2006-02-20 Julien MOUTTE <julien@moutte.net>
1863 * libs/gst/base/gstbasetransform.c:
1864 (gst_base_transform_change_state): Fix a stupid bug. I was
1865 sure I compiled that.
1867 2006-02-20 Julien MOUTTE <julien@moutte.net>
1869 * gst/gstpad.c: (gst_pad_set_blocked_async):
1870 * gst/gstutils.c: (gst_pad_add_data_probe),
1871 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1872 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1873 (gst_pad_remove_buffer_probe): Make those function act on the
1874 ghostpad target when it's a ghostpad. (Closes #331727)
1876 2006-02-20 Julien MOUTTE <julien@moutte.net>
1878 * libs/gst/base/gstbasetransform.c:
1879 (gst_base_transform_change_state): Make basetransform reusable.
1882 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
1884 * docs/random/release:
1885 Move the current documentation of how to do a release to the top
1888 * gst/gstbin.c: (gst_bin_class_init),
1889 (gst_bin_handle_message_func):
1890 Allow multiple state-recalculation threads. (Closes #328873)
1892 2006-02-19 Julien MOUTTE <julien@moutte.net>
1894 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
1895 * gst/gstpad.c: (gst_pad_set_event_function),
1896 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1897 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
1898 2 strings. You can't use the STR_NULL macro on that.
1900 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
1902 * gst/gstpad.c: (gst_pad_set_event_function),
1903 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1904 (gst_pad_set_getcaps_function)
1905 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
1906 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
1907 So now, we can use --gst-debug-level=5 on Windows
1908 * win32/common/libgstcontroller.def:
1909 Added export of gst_controller_init
1910 * win32/vs6/libgstcontroller.dsp:
1911 Fixed Release post build configuration
1913 2006-02-17 Wim Taymans <wim@fluendo.com>
1915 * tests/check/gst/gstquery.c: (GST_START_TEST):
1916 Added another check.
1918 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
1920 * plugins/elements/gsttypefindelement.c: (find_peek):
1921 We can do peeks at non-zero offsets, as long as they
1922 fall within the buffer we have.
1924 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
1926 * tests/check/Makefile.am:
1927 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
1928 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
1929 (parse_suite), (main):
1930 Add testsuite for parse launch syntax
1932 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
1934 * plugins/elements/gsttypefindelement.c:
1935 (gst_type_find_element_chain):
1936 When typefinding is unsuccessful in the chain function, don't
1937 error out immediately. Only error out with NO_CAPS_FOUND if
1938 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
1939 otherwise simply wait for more data so we can try typefinding
1940 again with more data later. Also, don't attempt to typefind
1941 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
1942 this should improve typefinding from network sources where the
1943 size of the first buffer can be somewhat random.
1945 2006-02-14 Wim Taymans <wim@fluendo.com>
1947 * docs/gst/gstreamer-sections.txt:
1948 * gst/gstpadtemplate.c:
1949 * gst/gstpadtemplate.h:
1950 Fix padtemplate docs, fixes #328805.
1952 2006-02-14 Wim Taymans <wim@fluendo.com>
1954 * tools/gst-launch.c: (main):
1955 NO_PREROLL is not an ERROR so don't send confusing messages
1958 2006-02-14 Wim Taymans <wim@fluendo.com>
1960 Patch by: Torsten Schoenfeld
1962 * gst/gstregistry.c: (gst_registry_get_default),
1963 (_gst_registry_cleanup):
1964 Protect default registry with lock and ref/sink it.
1967 2006-02-14 Wim Taymans <wim@fluendo.com>
1970 * gst/gstquery.c: (gst_query_list_add_format),
1971 (gst_query_set_formatsv), (gst_query_parse_formats_length),
1972 (gst_query_parse_formats_nth):
1973 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1976 2006-02-14 Wim Taymans <wim@fluendo.com>
1978 * docs/gst/gstreamer-sections.txt:
1979 Reworked query docs.
1981 * gst/gstquery.c: (gst_query_new_formats),
1982 (gst_query_list_add_format), (gst_query_set_formats),
1983 (gst_query_set_formatsv), (gst_query_parse_formats_length),
1984 (gst_query_parse_formats_nth):
1986 Flesh out formats query, added some new methods.
1987 Fix part of #324398.
1989 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
1990 Added query creation tests.
1992 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
1994 * gst/gstpad.c: (fixate_value):
1995 Add a default fixation for fraction lists.
1997 2006-02-13 Wim Taymans <wim@fluendo.com>
1999 * gst/gsttask.c: (gst_task_init), (gst_task_func),
2000 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
2003 Detect and warn for obvious deadlocks. fixes #320340
2004 Fix error case where lock was not released.
2006 * tests/check/Makefile.am:
2007 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
2008 (task_func), (gst_element_suite), (main):
2011 2006-02-13 Wim Taymans <wim@fluendo.com>
2013 * docs/gst/gstreamer-sections.txt:
2015 Add new functions to docs.
2017 2006-02-13 Wim Taymans <wim@fluendo.com>
2019 * docs/design/part-TODO.txt:
2020 Updated TODO list, basesrc supports seeking to non-bytes
2023 * docs/design/part-element-sink.txt:
2026 * gst/gstbin.c: (bin_replace_message),
2027 (gst_bin_handle_message_func):
2028 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
2029 * gst/gstevent.c: (gst_event_finalize):
2030 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2031 (gst_pad_send_event):
2032 Use shiny new _TYPE_NAME macros.
2034 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2035 Move debug statement up.
2037 * gst/gstelement.c: (gst_element_set_locked_state):
2040 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
2042 * docs/gst/gstreamer-sections.txt:
2045 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
2046 macros (#330906). Also, document the already existing
2047 GST_QUERY_TYPE macro.
2049 2006-02-13 Wim Taymans <wim@fluendo.com>
2051 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
2052 (event_probe), (GST_START_TEST):
2053 Only events up to the pipeline EOS are counted, there are
2054 some more when going to NULL currently which we don't care
2057 2006-02-13 Wim Taymans <wim@fluendo.com>
2059 * gst/gstpad.c: (gst_pad_send_event):
2060 Correctly check flushing and emit probes. fixes #330125
2062 2006-02-10 Andy Wingo <wingo@pobox.com>
2064 * gst/gstbus.c (gst_bus_class_init): Declare our private data
2066 (gst_bus_init): Cache the location of the private data in the
2068 (gst_bus_enable_sync_message_emission)
2069 (gst_bus_disable_sync_message_emission): Implement new public
2071 (gst_bus_post): Emit the sync-message signal if the user asked for
2074 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
2075 location of the bus-private structure.
2076 (gst_bus_enable_sync_message_emission)
2077 (gst_bus_disable_sync_message_emission): API addition
2079 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
2081 Patch by: Vincent Torri
2083 * docs/pwg/building-boiler.xml:
2084 PWG patch from #326800
2086 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
2090 * docs/design/Makefile.am:
2093 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2098 === release 0.10.3 ===
2100 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2103 releasing 0.10.3, "Like a virgin"
2105 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2108 2nd prerelease of 0.10.3
2109 Bump libtool versioning.
2111 2006-02-07 Andy Wingo <wingo@pobox.com>
2113 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
2114 update last_stop if we're in TIME format and the timestamp is
2117 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
2118 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
2119 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
2120 If we get a new newsegment with a different format, adapt
2123 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
2124 of 0. Not a problem, really.
2126 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
2129 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
2134 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
2137 project files updated to the default vs7 configuration
2138 * win32/common/libgstbase.def:
2139 * win32/common/libgstreamer.def:
2141 removed empty lines,
2142 sorted all exported symbols alphabetically
2143 * win32/common/dirent.c:
2144 * win32/common/dirent.h:
2145 * win32/common/gchar.h:
2146 use windows line end.
2148 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
2150 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2151 Send EOS event when stopping.
2153 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
2156 Tell folks what to do if the plugin-foobar.xml file
2157 hasn't been generated for a newly-added plugin.
2159 2006-02-05 Julien MOUTTE <julien@moutte.net>
2161 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2162 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2163 (gst_collect_pads_start), (gst_collect_pads_stop),
2164 (gst_collect_pads_event): Collectpads now holds a reference
2165 to the GstPad that was added. Indeed we don't want to look
2166 at pads that might just go away with no warning...
2168 2006-02-05 Julien MOUTTE <julien@moutte.net>
2170 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2171 (gst_collect_pads_start), (gst_collect_pads_stop),
2172 (gst_collect_pads_event), (gst_collect_pads_chain):
2173 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
2174 Mark Nauwelaerts's patch on bug #328491.
2176 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
2178 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
2180 Add some simple tests for gst_parse_bin_from_description() and
2181 gst_bin_find_unconnected_pad() (#329069).
2183 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
2185 * tools/gst-launch.c: (event_loop), (main):
2186 Catch errors during preroll (#320084).
2188 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
2190 * plugins/elements/gsttypefindelement.c:
2191 (gst_type_find_element_activate):
2192 Post TYPE_NOT_FOUND error message when typefinding
2193 is unsuccessful in the activate function as well.
2195 2006-02-02 Wim Taymans <wim@fluendo.com>
2197 * docs/design/part-element-sink.txt:
2200 2006-02-02 Wim Taymans <wim@fluendo.com>
2202 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2203 (gst_base_sink_render_object),
2204 (gst_base_sink_queue_object_unlocked):
2205 Only keep track of prerollable items when we are
2207 Before rendering after preroll, always check if we
2209 Added some more debugging.
2211 2006-02-02 Wim Taymans <wim@fluendo.com>
2213 * gst/gstelement.c: (gst_element_continue_state),
2214 (gst_element_set_state_func), (gst_element_change_state):
2215 Fixed #326576, been running this for quite some time with
2216 no regressions at all.
2218 2006-02-02 Wim Taymans <wim@fluendo.com>
2221 Added more suppressions
2223 2006-02-02 Wim Taymans <wim@fluendo.com>
2225 * docs/design/part-element-sink.txt:
2228 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2229 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
2230 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
2231 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2232 (gst_base_sink_do_sync), (gst_base_sink_render_object),
2233 (gst_base_sink_preroll_object),
2234 (gst_base_sink_queue_object_unlocked),
2235 (gst_base_sink_queue_object), (gst_base_sink_event),
2236 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
2237 (gst_base_sink_loop), (gst_base_sink_activate_pull),
2238 (gst_base_sink_get_position), (gst_base_sink_change_state):
2239 * libs/gst/base/gstbasesink.h:
2240 Totally refactored matching the design doc.
2241 Use two segments, one to clip incomming buffers and another to
2243 Handle queueing correctly, bypass the queue when playing.
2244 Make EOS cancelable.
2245 Handle errors correctly when operating in pull based mode.
2247 * tests/check/elements/fakesink.c: (GST_START_TEST),
2249 Added new check for sinks.
2251 2006-02-02 Wim Taymans <wim@fluendo.com>
2253 * gst/gstsegment.c: (gst_segment_clip):
2254 No reason to refuse to clip when start == -1
2256 2006-02-02 Stefan Kost <ensonic@users.sf.net>
2259 * docs/manual/intro-basics.xml:
2260 * docs/manual/intro-preface.xml:
2261 * docs/manual/manual.xml:
2262 * docs/pwg/advanced-dparams.xml:
2263 * docs/pwg/intro-basics.xml:
2264 * docs/pwg/intro-preface.xml:
2266 describe dparams (controller) for plugins
2267 unify docs a little more
2269 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
2271 * docs/gst/gstreamer-sections.txt:
2272 * gst/gstutils.c: (element_find_unconnected_pad),
2273 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
2275 Add new API: gst_parse_bin_from_description() and
2276 gst_bin_find_unconnected_pad() (#329069).
2278 2006-02-01 Stefan Kost <ensonic@users.sf.net>
2280 * docs/manual/README:
2281 uncover a nasty detail of the docs build
2283 2006-01-31 Wim Taymans <wim@fluendo.com>
2285 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
2286 Don't cache duration messages if we're not going to use or
2289 2006-01-31 Stefan Kost <ensonic@users.sf.net>
2291 * docs/manual/advanced-dparams.xml:
2292 * docs/pwg/advanced-dparams.xml:
2296 * libs/gst/controller/lib.c: (gst_controller_init):
2299 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
2301 * gst/gstelement.c: (gst_element_message_full):
2302 also show file/line/func if no additional debug was given
2304 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
2306 * win32/vs7/grammar.vcproj:
2307 activate copy of autogenerated files for Release mode
2309 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
2311 * win32/common/libgstreamer.def:
2312 export gst_value_compare
2314 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
2316 * plugins/elements/Makefile.am:
2317 * plugins/elements/gstelements.c:
2318 * plugins/elements/gstfdsink.c: (_do_init),
2319 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
2320 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
2321 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
2322 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
2323 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
2324 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
2325 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
2326 * plugins/elements/gstfdsink.h:
2327 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
2329 2006-01-30 Stefan Kost <ensonic@users.sf.net>
2331 * docs/manual/advanced-dparams.xml:
2333 * docs/manual/advanced-position.xml:
2334 * docs/manual/basics-init.xml:
2335 * docs/manual/manual.xml:
2336 * docs/manual/titlepage.xml:
2338 * docs/pwg/titlepage.xml:
2339 cleanup xml (more to come)
2340 * libs/gst/controller/gstcontroller.c:
2343 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
2345 * win32/vs6/grammar.dsp:
2346 add autogen of gstmarshal.c,h for Release mode
2348 2006-01-30 Wim Taymans <wim@fluendo.com>
2350 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2351 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
2352 (gst_base_sink_handle_object), (gst_base_sink_event),
2353 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
2354 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2355 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
2356 (gst_base_sink_deactivate), (gst_base_sink_activate),
2357 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2358 (gst_base_sink_query), (gst_base_sink_change_state):
2359 Basesink cleanups, remove some old code.
2360 Handle the case where a subclass can preroll in the render
2361 method (mostly audiosinks).
2363 Remove some locks around variables that are now protected
2364 with the PREROLL_LOCK (clock_id, flushing, ..).
2365 Optimize position query some more, do correct locking.
2366 Remove old code to push queue in state change, this is not
2367 needed anymore since preroll blocks on all prerollable items
2369 Almost implemented as described in design doc.
2371 2006-01-30 Wim Taymans <wim@fluendo.com>
2373 * tests/check/gst/gstbin.c: (GST_START_TEST):
2374 Wait for refcount to settle down before checking.
2376 2006-01-30 Wim Taymans <wim@fluendo.com>
2378 * docs/design/part-element-sink.txt:
2379 Pseudo code overview of desired sink behaviour regarding
2382 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2383 * win32/vs6/grammar.dsp:
2384 fix some bugs in Release mode for autogenerated files
2386 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2387 * win32/common/libgstbase.def:
2388 * win32/common/libgstreamer.def:
2389 export some new symbols: gst_base_src_set_format,
2390 gst_iterator_next, gst_structure_set_valist
2392 2006-01-29 Julien MOUTTE <julien@moutte.net>
2394 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
2395 Set pad functions unconditionally. Fixes #329105.
2397 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
2399 add vs8 project files created by Sergey Scobich
2401 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
2403 * gst/gstutils.c: (gst_element_unlink_pads):
2404 Don't leak pad references.
2406 * tests/check/elements/fakesink.c: (GST_START_TEST):
2407 * tests/check/generic/sinks.c: (GST_START_TEST):
2408 * tests/check/generic/states.c: (GST_START_TEST):
2409 * tests/check/gst/gstbin.c: (GST_START_TEST):
2410 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2411 * tests/check/gst/gstelement.c: (GST_START_TEST):
2412 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2413 * tests/check/gst/gstiterator.c: (GST_START_TEST):
2414 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2415 Fix a bunch of leaks. Make generic/sinks.c
2416 use a bit less cpu by slowing the buffer rate
2417 between fakesrc and fakesink.
2419 2006-01-27 Stefan Kost <ensonic@users.sf.net>
2421 * gst/gstelement.c: (gst_element_send_event):
2424 * gst/gstiterator.c:
2425 * gst/gstiterator.h:
2426 * gst/gstpad.c: (gst_pad_send_event):
2427 * gst/gststructure.c:
2431 * libs/gst/base/gstadapter.c:
2432 doc fixes, to link to function, just write gst_cool_function(), don't
2435 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
2437 * plugins/elements/gsttee.c: (gst_tee_do_push),
2438 (gst_tee_handle_buffer):
2439 Always prefer an actual return value from a src
2440 pad in place of NOT_LINKED. This means we return
2441 WRONG_STATE when all src pads are WRONG_STATE
2442 instead of NOT_LINKED.
2444 Lock when replacing the last message to prevent
2445 racing with the get_property method.
2449 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
2451 * tests/check/Makefile.am:
2452 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
2454 Add a very simple check that should have caught the memleak I fixed
2455 last night (if not for the slice allocator hiding it)
2457 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
2459 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2460 (gst_bin_remove_func), (gst_bin_handle_message_func),
2461 (bin_query_duration_fold), (bin_query_generic_fold):
2462 Clean up references to the clock provider when disposed or when
2463 handling a clock-lost message from it.
2465 Unref sinks when performing a query via gst_iterator_fold, as the
2466 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
2468 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
2469 (gst_clock_set_master):
2470 Drop our reference to the master clock, if any, when we are disposed.
2472 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
2473 Chain up in dispose.
2475 2006-01-26 Wim Taymans <wim@fluendo.com>
2477 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2480 2006-01-26 Julien MOUTTE <julien@moutte.net>
2482 * plugins/elements/gsttee.c: (gst_tee_do_push),
2483 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
2484 handles pad being NOT_LINKED or in WRONG_STATE.
2486 2006-01-26 Stefan Kost <ensonic@users.sf.net>
2491 2006-01-26 Stefan Kost <ensonic@users.sf.net>
2494 remove obsolete entry
2496 2006-01-26 Stefan Kost <ensonic@users.sf.net>
2498 * docs/gst/gstreamer-sections.txt:
2499 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
2500 (gst_bin_iterate_sources), (gst_bin_send_event):
2502 * gst/gstelement.c: (gst_element_send_event):
2504 * gst/gstpad.c: (gst_pad_send_event):
2505 added code for downstream events, reviewed docs in gstevent.c
2507 2006-01-25 Julien MOUTTE <julien@moutte.net>
2509 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2510 We only query position using the clock in the playing state.
2511 Query peer in the other cases.
2512 * win32/common/config.h: Updates.
2514 2006-01-24 Wim Taymans <wim@fluendo.com>
2516 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2517 A clock entry that is scheduled for the exact time of the
2518 clock is still in time.
2520 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2521 (gst_base_sink_do_sync):
2522 Add some more debug info.
2524 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
2527 Add new vs7 project files and solution.
2529 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
2532 all files removed as they were out-dated.
2534 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
2536 * docs/random/release:
2538 * gst/gstbin.c: (gst_bin_init):
2539 * gst/gstbus.c: (gst_bus_new):
2541 * gst/gstpipeline.c: (gst_pipeline_init):
2542 use gst_bus_new(), improve logging, fix docs
2543 * win32/common/config.h:
2544 update for cvs build
2546 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
2549 up required version of automake to 1.7
2551 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
2553 * win32/common/libgstreamer.def:
2554 export gst_buffer_is_metadata_writable
2556 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
2558 * docs/gst/gstreamer-sections.txt:
2560 Add gst_event_replace() (#327001)
2562 2006-01-20 Wim Taymans <wim@fluendo.com>
2564 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
2565 Make it actually compile too..
2567 2006-01-20 Wim Taymans <wim@fluendo.com>
2570 Clarify behaviour of _is_equal() when passing NULL parameters.
2572 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
2574 Cleanups. Don't unref NULL caps.
2575 When setting the same caps, protect caps of the pad with
2577 Use full functionality of _is_equal() when comparing caps.
2579 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
2581 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2582 Don't loop infinitely if there are no buffers to present. Partially
2583 fixes #327197, but collectpads is just broken for reusing elements
2584 to do multiple encodes atm.
2586 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
2588 * tools/gst-inspect.c: (print_element_features):
2589 * tools/gst-xmlinspect.c: (main):
2590 URL_HANDLER is not a plugin feature we can search for in
2593 2006-01-19 Edward Hervey <edward@fluendo.com>
2595 * gst/gstelement.c: (gst_element_pads_activate):
2596 When activating, do src pads first, then sink pads.
2597 When de-activating, do sink pads first, then src pads.
2599 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
2601 * docs/gst/gstreamer-sections.txt:
2602 Add gst_index_add_associationv to the docs
2604 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
2609 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
2610 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
2611 Do some refactoring. Doesn't actually change functionality,
2612 but makes landing the DRAIN event easier later.
2614 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
2616 * docs/pwg/advanced-scheduling.xml:
2617 Update from 0.9.x to 0.10 API and make example a bit
2620 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
2622 * docs/gst/gstreamer-sections.txt:
2623 Add gst_buffer_(is|make)_metadata_writable methods.
2625 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
2627 * docs/design/part-sparsestreams.txt:
2628 Update sparse streams doc, hopefully for greater clarity
2630 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
2632 * docs/design/part-events.txt:
2633 Remove mention of FILLER events.
2636 * docs/design/part-sparsestreams.txt:
2637 Write some things about using NEWSEGMENT to keep sparse streams
2640 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
2642 * gst/gstbin.c: (gst_bin_dispose):
2643 Guard gst_object_unref call against a NULL object (dispose
2644 can theoretically be called multiple times).
2646 2006-01-18 Wim Taymans <wim@fluendo.com>
2648 * gst/gstbin.c: (gst_bin_element_set_state):
2649 * gst/gstclock.c: (gst_clock_id_wait):
2650 Added some more debug info.
2652 * libs/gst/base/gstadapter.c:
2655 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2656 (gst_base_sink_do_sync), (gst_base_sink_chain):
2657 Added some comments.
2659 2006-01-18 Wim Taymans <wim@fluendo.com>
2661 * tests/check/Makefile.am:
2662 * tests/check/elements/fakesink.c: (chain_async_buffer),
2663 (chain_async), (chain_async_return), (GST_START_TEST),
2664 (fakesink_suite), (main):
2665 Added fakesink test that checks prerolling and clipping
2668 * tests/check/gst/gstutils.c: (GST_START_TEST):
2669 Make check run faster so that buildbots don't timeout.
2671 2006-01-18 Wim Taymans <wim@fluendo.com>
2673 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2674 (gst_base_sink_do_sync):
2676 When the sink finishes blocking on the preroll buffer, it can
2677 immediatly render it instead of rendering when the next buffer
2680 2006-01-18 Wim Taymans <wim@fluendo.com>
2682 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
2683 (gst_base_sink_get_property), (gst_base_sink_do_sync),
2684 (gst_base_sink_chain):
2686 GST_ELEMENT_CLOCK and sync are protected with LOCK.
2687 Don't store _last_stop if the buffer is dropped.
2689 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
2691 * plugins/elements/gsttypefindelement.c:
2692 (gst_type_find_element_class_init):
2693 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
2694 object method handler that sets the caps on the pad and we want
2695 that to happen before we emit the signal (fixes e.g. feeding a
2696 plain text file to decodebin).
2698 2006-01-18 Christian Schaller <Christian@fluendo.com>
2700 * gst/gstplugin.c: Add MPL and Proprietary as license options
2702 2006-01-18 Andy Wingo <wingo@pobox.com>
2704 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
2705 symbol was exported before, it appears this was just an oversight.
2707 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
2709 * gst/gstindex.c (gst_index_add_associationv): Changed int in
2710 prototype to gint. OK since this prototype was not in the header.
2712 2006-01-17 Andy Wingo <wingo@pobox.com>
2714 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
2715 registry while we remove plugins.
2717 * tools/gst-inspect.c (print_element_info): Don't unref the
2718 factory arg, that should be the responsibility of whatever code
2719 received the ref. Fixes a double-free when called from
2720 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
2721 (main): Unref the factory if we have one.
2722 (print_element_list): No change -- relies on the
2723 plugin_feature_list_free to free the list of features.
2725 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
2727 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
2728 (gst_buffer_make_metadata_writable):
2730 * libs/gst/base/gstbasetransform.c:
2731 (gst_base_transform_prepare_output_buf):
2732 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2733 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2734 Replace gst_buffer_(make|is)_metadata_writable patch now
2735 that the release is out.
2737 2006-01-17 Andy Wingo <wingo@pobox.com>
2739 * gst/gstregistry.c: Reflow design comment. Update so as to speak
2740 in the present tense without reference to versions.
2742 * gst/gstregistry.c (gst_registry_add_plugin)
2743 (gst_registry_remove_plugin, gst_registry_remove_feature)
2744 (gst_registry_find_feature, gst_registry_get_feature_list)
2745 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
2746 (gst_registry_lookup, gst_registry_scan_path)
2747 (_gst_registry_remove_cache_plugins)
2748 (gst_registry_get_feature_list_by_plugin): Add argument
2751 === release 0.10.2 ===
2753 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
2756 releasing 0.10.2, "If man is five"
2758 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
2762 * libs/gst/base/gstbasetransform.c:
2763 (gst_base_transform_prepare_output_buf):
2764 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2765 * tests/check/gst/gstbuffer.c: (gst_test_suite):
2766 Back out patch until after the release.
2768 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
2770 * gst/gstminiobject.c:
2771 Spelling fix in docs.
2772 * ChangeLog - remove conflict indicator
2774 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
2776 Reviewed By: Andy Wingo
2778 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
2779 (gst_buffer_make_metadata_writable):
2781 Add gst_buffer_(is|make)_metadata_writable as analogues of
2782 gst_buffer_(is|make)_writable.
2784 * libs/gst/base/gstbasetransform.c:
2785 (gst_base_transform_prepare_output_buf):
2786 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2787 Use name gst_buffer_(is|make)_metadata_writable functions.
2789 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2790 Test gst_buffer_(is|make)_metadata_writable
2794 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
2796 * docs/manual/Makefile.am:
2797 don't do parallel make
2800 * win32/common/config.h.in:
2801 add generations for HOST_CPU and GST_MAJORMINOR
2802 * win32/common/config.h:
2803 commit generated result
2805 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
2807 * docs/manual/appendix-integration.xml:
2808 Update GNOME integration section to use gst_init_get_option_group()
2809 instead of the old popt stuff (#322911). Also, GNOME applications
2810 should now use gconf*sink and gconf*src instead of the old gconf
2813 2006-01-13 Stefan Kost <ensonic@users.sf.net>
2816 * docs/gst/gstreamer-docs.sgml:
2817 * docs/gst/gstreamer-sections.txt:
2818 * docs/libs/gstreamer-libs-sections.txt:
2819 add new API entries to the docs
2820 * libs/gst/controller/Makefile.am:
2821 * libs/gst/controller/gstcontroller.c:
2822 * libs/gst/controller/gstcontroller.h:
2823 * libs/gst/controller/gstcontrollerprivate.h:
2824 * libs/gst/controller/gsthelper.c:
2825 * libs/gst/controller/gstinterpolation.c:
2826 move private structs to private header
2828 gstreamer-0.7 -> gstreamer-0.10
2829 * tests/check/libs/struct_i386.h:
2830 remove private structs
2832 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
2834 * plugins/indexers/Makefile.am:
2835 Fixes as part of #317048
2837 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
2839 * plugins/indexers/Makefile.am:
2840 fix #316086 - compilation when mmap is missing
2842 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
2844 * libs/gst/base/gstbasesink.c:
2845 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
2846 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
2847 * win32/common/config.h:
2848 added some defines GST_MAJORMINOR and HOST_CPU
2849 * win32/common/libgstbase.def:
2850 * win32/common/libgstreamer.def:
2851 added some exported functions.
2853 2006-01-12 Stefan Kost <ensonic@users.sf.net>
2855 * libs/gst/controller/gstcontroller.c:
2856 (gst_controlled_property_set_interpolation_mode),
2857 (gst_controlled_property_new):
2858 * libs/gst/controller/gstcontroller.h:
2859 * libs/gst/controller/gstinterpolation.c:
2860 (interpolate_none_get_string_value_array):
2861 make G_TYPE_STRING controlable
2863 2006-01-12 Stefan Kost <ensonic@users.sf.net>
2866 * tools/gst-feedback.1.in:
2867 * tools/gst-inspect.1.in:
2868 * tools/gst-launch.1.in:
2869 * tools/gst-md5sum.1.in:
2870 * tools/gst-typefind.1.in:
2871 * tools/gst-xmlinspect.1.in:
2872 * tools/gst-xmllaunch.1.in:
2873 cleanup man-pages, remove reference to gst-register, document env-vars
2875 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
2877 * gst/gstbuffer.c: (gst_buffer_span):
2878 gst_buffer_span should copy the timestamp of the first buffer
2879 if they were both originally overlapping subbuffers of the
2880 same parent, using the same logic as the 'slow copy' case.
2882 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
2884 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
2885 Need to awaken ALL the pads when we pop a buffer, otherwise
2886 collectpads only works when there is 2 input streams.
2888 2006-01-11 Stefan Kost <ensonic@users.sf.net>
2890 * docs/random/ensonic/media-device-daemon.txt:
2893 fix doc example, add clarification
2894 * tools/gst-launch.1.in:
2895 add initial info about GST_PLUGIN_PATH, needs more work
2897 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
2899 * docs/manual/basics-bins.xml:
2900 * docs/manual/basics-elements.xml:
2901 * docs/manual/intro-basics.xml:
2902 Some more minor docs additions and updates.
2904 2006-01-11 Wim Taymans <wim@fluendo.com>
2906 * docs/manual/basics-bins.xml:
2907 * docs/manual/basics-elements.xml:
2908 Some small fixes as pointed out by Ser-ver on IRC.
2910 2006-01-10 Edward Hervey <edward@fluendo.com>
2912 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2913 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
2914 the single-segment mode.
2916 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
2918 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2920 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
2921 (gst_base_src_perform_seek), (gst_base_src_send_event),
2922 (gst_base_src_set_property), (gst_base_src_get_property),
2923 (gst_base_src_loop), (gst_base_src_start),
2924 (gst_base_src_activate_push):
2925 * libs/gst/base/gstbasesrc.h:
2926 Name (private) union; makes Sun's Forte compiler happy (#324900).
2928 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
2931 gst-register is gone.
2933 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
2935 * gst/gstvalue.c: (_gst_value_initialize):
2936 make the G_TYPE_DATE instantiation work if debug is disabled
2938 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
2940 * gst/gstmessage.c: (gst_message_parse_tag),
2941 (gst_message_parse_error), (gst_message_parse_warning):
2942 Don't crash when return location for error/warning debug
2943 string is NULL; add fact that return locations can be
2944 NULL to docs where appropriate.
2946 2006-01-05 Wim Taymans <wim@fluendo.com>
2948 * gst/gstplugin.c: (gst_plugin_load_file):
2949 Replace strdup by g_strdup.
2951 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
2953 * docs/pwg/advanced-types.xml:
2956 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
2958 submitted by: Abel Cheung
2962 Added Chinese (traditional) translation
2964 2006-01-04 Wim Taymans <wim@fluendo.com>
2966 * docs/manual/basics-pads.xml:
2967 * docs/plugins/Makefile.am:
2968 * docs/plugins/gstreamer-plugins-docs.sgml:
2969 * docs/plugins/gstreamer-plugins-sections.txt:
2970 * docs/pwg/advanced-clock.xml:
2971 * docs/pwg/advanced-scheduling.xml:
2972 * docs/pwg/advanced-types.xml:
2973 * plugins/elements/gstfdsink.c:
2974 * plugins/elements/gstfdsrc.c:
2975 * plugins/elements/gstfdsrc.h:
2976 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2977 * plugins/elements/gstidentity.h:
2978 * plugins/elements/gstqueue.h:
2979 * plugins/elements/gsttee.c:
2980 * plugins/elements/gsttee.h:
2981 * plugins/elements/gsttypefindelement.c:
2982 (gst_type_find_element_class_init):
2983 * plugins/elements/gsttypefindelement.h:
2984 Small updates to various docs.
2985 Added core plugins to docs.
2987 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2990 add a suppression for liboil's uninitialized variable
2992 2006-01-02 James Livingston <jrl at ids dot org dot au>
2994 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2997 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
2998 macro, so that gcc doesn't complain if the -Wmissing-prototypes
2999 compiler switch is being used (#325429).
3001 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
3003 * gst/gstbin.c: (gst_bin_query):
3004 Disable duration query caching in bins until it gets
3005 fixed (see #324807).
3007 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3009 * tools/gst-inspect.c: (print_element_properties_info):
3010 Handle properties of POINTER and BOXED type.
3012 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3014 * gst/gst.c: (init_post):
3015 Init tags stuff and some other things before loading
3016 any static plugins (there may be other static plugins
3017 than just the GStreamer ones, and they may want to
3018 register their own tags or formats or whatever, and
3019 preferably without segfaulting).
3021 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3022 Print at least a warning in the debug logs if we drop a
3023 query just because we don't know how to adjust the value
3024 in the particular format.
3026 2005-12-24 David Schleef <ds@schleef.org>
3028 * tools/gstreamer-completion:
3029 Replacement for gst-complete written in sh and sed. Only
3030 completes names of features, but that's 90% of what I want
3031 it for. Properties are not available in registry.xml. (Maybe
3034 === release 0.10.1 ===
3036 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
3039 releasing 0.10.1, "Nollaig chridheil"
3041 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
3044 Add missing quote, should be make ERROR_CFLAGS="".
3046 2005-12-20 Wim Taymans <wim@fluendo.com>
3048 * docs/design/part-trickmodes.txt:
3049 More documentation on trickmodes.
3051 2005-12-20 Edward Hervey <edward@fluendo.com>
3053 * gst/gstcaps.c: (gst_static_caps_get_type):
3055 API addition: GST_TYPE_STATIC_CAPS
3056 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
3057 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
3058 * gst/gstpadtemplate.h:
3059 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
3060 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
3063 2005-12-18 Wim Taymans <wim@fluendo.com>
3065 * libs/gst/base/gstadapter.c:
3066 * libs/gst/base/gstadapter.h:
3067 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3068 (gst_base_sink_get_position):
3069 * libs/gst/base/gstbasesink.h:
3070 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3071 (gst_base_src_default_query), (gst_base_src_default_do_seek),
3072 (gst_base_src_do_seek), (gst_base_src_perform_seek),
3073 (gst_base_src_send_event), (gst_base_src_update_length),
3074 (gst_base_src_get_range), (gst_base_src_loop),
3075 (gst_base_src_start):
3076 * libs/gst/base/gstbasesrc.h:
3077 * libs/gst/base/gstbasetransform.h:
3078 * libs/gst/base/gstcollectpads.h:
3079 * libs/gst/base/gstpushsrc.c:
3080 * libs/gst/base/gstpushsrc.h:
3081 * libs/gst/dataprotocol/dataprotocol.c:
3082 * libs/gst/dataprotocol/dataprotocol.h:
3083 * libs/gst/net/gstnetclientclock.h:
3084 * libs/gst/net/gstnettimeprovider.h:
3085 Documentation updates.
3087 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
3089 * docs/manual/basics-helloworld.xml:
3090 Remove superfluous closing bracket in helloworld example.
3092 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
3094 * tools/gst-launch.1.in:
3095 Update gst-launch man page; add a section with useful
3096 environment variables. Fixes #323882.
3098 2005-12-16 Stefan Kost <ensonic@users.sf.net>
3101 * gst/gst_private.h:
3102 change some char* into char[]
3104 2005-12-16 Wim Taymans <wim@fluendo.com>
3106 * gst/gstregistryxml.c: (load_feature):
3108 Don't use g_object_unref on GstObjects so that we avoid
3109 leaks on unsafe glibs.
3111 2005-12-16 Wim Taymans <wim@fluendo.com>
3113 * gst/gstbin.c: (gst_bin_recalc_state):
3116 2005-12-16 Wim Taymans <wim@fluendo.com>
3119 Added make forever target for check.
3121 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
3123 * gst/gst.c: (init_post):
3124 make the registry cache file HOST_CPU-dependent
3126 2005-12-16 Andy Wingo <wingo@pobox.com>
3128 * plugins/elements/gstbufferstore.c
3129 (gst_buffer_store_cleared_func): Pay attention to g_list_append
3132 * tests/check/gst/gstobject.c
3133 (test_fake_object_name_threaded_unique): Pay attention to
3134 g_list_sort return value.
3136 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
3138 * tools/gst-feedback-m.m:
3139 Update for 0.9/0.10 (fixes #323870).
3141 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
3143 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
3144 Fix lcopy for mini objects, the mini object needs to be ref'ed.
3146 * tests/check/gst/gstminiobject.c: (my_foo_init),
3147 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
3148 (test_value_collection), (gst_mini_object_suite):
3149 Add test to ensure refcounts end up as expected when passing
3150 GstMiniObjects through g_object_get() and g_object_set().
3152 2005-12-14 Julien MOUTTE <julien@moutte.net>
3154 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3155 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
3156 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
3157 of collectpads. This version removes a lot of races without
3158 touching API/ABI. Yay !
3160 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
3162 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
3163 Don't allow activation of a srcpad in pull_range if it has no
3165 Change some debug statements to be a little clearer
3167 * plugins/elements/gsttypefindelement.c:
3168 (gst_type_find_handle_src_query):
3169 Check that we have a peer before executing queries thereupon.
3171 * tests/examples/metadata/read-metadata.c: (message_loop):
3172 Use gst_bus_pop instead of gst_bus_poll when we just want it to
3173 immediately return us any available message with 0 timeout.
3175 2005-12-12 Michael Smith <msmith@fluendo.com>
3177 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3178 Don't unref factories after calling them.
3179 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
3180 * plugins/elements/gsttypefindelement.c:
3181 (gst_type_find_element_chain):
3182 Free lists of factories after using them. Fixing typefinding memory
3185 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3187 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3188 (gst_plugin_feature_load):
3189 more meaningful debug output
3191 * tests/Makefile.am:
3192 * tests/old/examples/Makefile.am:
3193 make make distcheck happy again
3195 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
3197 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3198 Catch the special case where we are operating chain-based,
3199 but the downstream peer pad has no chain function. Emit a
3200 custom error message in this case instead of letting the
3201 core generate one implying that this is some sort of core
3202 bug. It's not, it just means that whatever got plugged
3203 into the pipeline downstream when we announced the type
3204 can only operate pull-based, while our source can only
3205 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
3206 Error string has not been marked for translation yet, as
3207 it probably needs some more work first.
3209 (gst_type_find_element_get_best_possibility):
3210 Add helper function to find the best of all available
3211 found possibilities that qualify given the min. threshold.
3213 (gst_type_find_element_handle_event):
3214 Fix the case where we get an EOS while still in TYPEFIND
3215 mode (we want to chose the best of all possible types,
3216 not just the first type that happens to be in our unsorted
3217 list of possible types).
3219 (gst_type_find_element_chain):
3220 Make sure we return GST_FLOW_ERROR when we errored out
3221 in stop_typefinding(); also, don't just find the best of
3222 all found type entries and then use the last examined
3223 type entry, but actually use the best entry.
3225 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
3227 * tests/examples/typefind/typefind.c: (type_found):
3228 * tests/examples/xml/runxml.c: (xml_loaded):
3229 More gcc4 fixes and a mem leak fix.
3231 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3233 * tests/examples/xml/createxml.c: (object_saved):
3236 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3238 * tests/Makefile.am:
3239 enable the examples even more
3241 2005-12-12 Andy Wingo <wingo@pobox.com>
3243 * libs/gst/net/gstnettimeprovider.c
3244 (gst_net_time_provider_class_init, gst_net_time_provider_init)
3245 (gst_net_time_provider_set_property)
3246 (gst_net_time_provider_get_property):
3247 API addition: Export "active" as a GObject property.
3248 (gst_net_time_provider_thread): Only respond to time queries if
3249 the time provider is active.
3251 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
3252 NetTimeProvider, preserving binary compat.
3254 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3256 * tests/examples/controller/audio-example.c: (main):
3257 * tests/examples/launch/Makefile.am:
3258 convert comments again
3260 2005-12-12 Wim Taymans <wim@fluendo.com>
3262 * libs/gst/base/gstpushsrc.c:
3265 2005-12-12 Wim Taymans <wim@fluendo.com>
3267 * docs/libs/gstreamer-libs-sections.txt:
3268 Added new symbol to docs.
3270 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3271 (gst_base_src_init), (gst_base_src_set_format),
3272 (gst_base_src_default_query), (gst_base_src_query),
3273 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
3274 (gst_base_src_perform_seek), (gst_base_src_send_event),
3275 (gst_base_src_default_event), (gst_base_src_event_handler),
3276 (gst_base_src_set_property), (gst_base_src_get_property),
3277 (gst_base_src_wait), (gst_base_src_do_sync),
3278 (gst_base_src_update_length), (gst_base_src_get_range),
3279 (gst_base_src_check_get_range), (gst_base_src_loop),
3280 (gst_base_src_default_negotiate), (gst_base_src_start),
3281 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3282 (gst_base_src_change_state):
3283 * libs/gst/base/gstbasesrc.h:
3284 Implement seeking to other formats than _BYTES.
3285 Implement more seeking methods correctly.
3287 Added query vmethod.
3288 Added do_seek vmethod to make life easier for subclasses
3290 API addition: gst_base_src_set_format()
3292 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3294 * tests/examples/Makefile.am:
3297 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3300 * docs/random/ensonic/media-device-daemon.txt:
3301 * tests/examples/controller/.cvsignore:
3302 * tests/examples/controller/Makefile.am:
3303 * tests/examples/controller/audio-example.c: (main):
3304 * tests/examples/helloworld/.cvsignore:
3305 * tests/examples/helloworld/Makefile.am:
3306 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
3307 * tests/examples/launch/.cvsignore:
3308 * tests/examples/launch/Makefile.am:
3309 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
3310 * tests/examples/metadata/.cvsignore:
3311 * tests/examples/metadata/Makefile.am:
3312 * tests/examples/metadata/read-metadata.c: (message_loop),
3313 (make_pipeline), (print_tag), (main):
3314 * tests/examples/queue/.cvsignore:
3315 * tests/examples/queue/Makefile.am:
3316 * tests/examples/queue/queue.c: (event_loop), (main):
3317 * tests/examples/typefind/.cvsignore:
3318 * tests/examples/typefind/Makefile.am:
3319 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
3321 * tests/examples/xml/.cvsignore:
3322 * tests/examples/xml/Makefile.am:
3323 * tests/examples/xml/createxml.c: (object_saved), (main):
3324 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
3325 * tests/old/examples/Makefile.am:
3326 * tests/old/examples/TODO:
3327 * tests/old/examples/controller/.cvsignore:
3328 * tests/old/examples/controller/Makefile.am:
3329 * tests/old/examples/controller/audio-example.c:
3330 * tests/old/examples/helloworld/.cvsignore:
3331 * tests/old/examples/helloworld/Makefile.am:
3332 * tests/old/examples/helloworld/helloworld.c:
3333 * tests/old/examples/launch/.cvsignore:
3334 * tests/old/examples/launch/Makefile.am:
3335 * tests/old/examples/launch/mp3parselaunch.c:
3336 * tests/old/examples/launch/mp3play:
3337 * tests/old/examples/manual/Makefile.am:
3338 * tests/old/examples/metadata/Makefile.am:
3339 * tests/old/examples/metadata/read-metadata.c:
3340 * tests/old/examples/queue/.cvsignore:
3341 * tests/old/examples/queue/Makefile.am:
3342 * tests/old/examples/queue/queue.c:
3343 * tests/old/examples/typefind/.cvsignore:
3344 * tests/old/examples/typefind/Makefile.am:
3345 * tests/old/examples/typefind/typefind.c:
3346 * tests/old/examples/xml/.cvsignore:
3347 * tests/old/examples/xml/Makefile.am:
3348 * tests/old/examples/xml/createxml.c:
3349 * tests/old/examples/xml/runxml.c:
3350 applied some simple fixing to some examples
3351 re-enabled the working examples
3353 2005-12-12 Wim Taymans <wim@fluendo.com>
3355 * gst/gstsegment.c: (gst_segment_init),
3356 (gst_segment_set_last_stop), (gst_segment_set_seek),
3357 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
3358 (gst_segment_to_running_time):
3359 Added more documentation.
3360 Make sure the last_pos value is updated properly.
3361 Make sure to_stream_time and to_running_time don't
3362 operate on wrong values.
3364 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3367 2005-12-12 Michael Smith <msmith@fluendo.com>
3369 * plugins/elements/gsttypefindelement.c: (free_entry),
3370 (gst_type_find_element_chain):
3371 Now that we're not leaking factories, make sure we keep references
3372 to them while we need them.
3374 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
3376 * tests/check/gst/struct_i386.h:
3377 ifdef out the XML structs
3379 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
3381 * gst/gstvalue.c: (gst_value_transform_double_fraction):
3382 floor is not needed, F is always positive; this obviates the
3383 need for adding -lm when building without libxml
3385 2005-12-12 Wim Taymans <wim@fluendo.com>
3387 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3388 Take current playback rate into account when reporting
3391 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3393 * docs/manual/mime-world.fig:
3394 Let's try this again, this time with a file that is
3395 actually in XFig format.
3397 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3399 * docs/manual/mime-world.fig:
3400 Add audioconvert element to diagram so that it
3401 matches the text and the code (fixes #319526).
3403 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3405 * docs/pwg/building-chainfn.xml:
3406 * docs/pwg/building-pads.xml:
3407 * docs/pwg/building-state.xml:
3408 * docs/pwg/other-source.xml:
3409 Update state change stuff for 0.10 (fixes #322969).
3411 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3413 * docs/manual/advanced-dataaccess.xml:
3414 * docs/manual/appendix-checklist.xml:
3415 * docs/manual/appendix-programs.xml:
3416 * docs/manual/basics-pads.xml:
3417 * docs/manual/highlevel-components.xml:
3418 * docs/manual/manual.xml:
3419 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
3420 add converters in front of pipelines; remove curly
3421 brackets for threads stuff, they no longer exist; use
3422 GST_TYPE_FRACTION for framerates; update some pieces of
3423 code to 0.10, but there's plenty more to do.
3425 * docs/manual/appendix-porting.xml:
3426 Expand on asynchroneous state changes; s/0.9/0.10/;
3427 mention disappearance of gst_init_get_popt_table()
3430 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3432 * docs/faq/using.xml:
3433 Spider no longer exists, and neither does gst-launch-ext.
3434 Update examples to use decodebin and playbin and put
3435 converters in front of sinks (fixes #323726).
3437 2005-12-09 Michael Smith <msmith@fluendo.com>
3439 * plugins/elements/gsttypefindelement.c: (find_peek),
3440 (gst_type_find_element_chain):
3441 Fix leaking element factories in typefinding.
3442 Fix problem where we forgot about a probable type on non-seekable
3443 files, and thus later mis-typefound it.
3445 2005-12-09 Michael Smith <msmith@fluendo.com>
3447 * common/m4/gst-makecontext.m4:
3448 * common/m4/gst-mcsc.m4:
3450 * win32/common/config.h:
3451 * win32/common/config.h.in:
3452 Remove makecontext stuff; not used in 0.10 and causes problems on
3453 HPUX according to bug #322441
3455 2005-12-07 Wim Taymans <wim@fluendo.com>
3457 * tests/check/Makefile.am:
3458 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
3460 * tests/check/libs/struct_i386.h:
3461 Added ABI check for libs
3463 2005-12-07 Wim Taymans <wim@fluendo.com>
3465 * tests/check/Makefile.am:
3466 And add the struct_i386.h to dist.
3468 2005-12-07 Wim Taymans <wim@fluendo.com>
3470 * tests/check/Makefile.am:
3471 * tests/check/gst/.cvsignore:
3472 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
3474 * tests/check/gst/struct_i386.h:
3475 Added check for ABI compatibility.
3477 2005-12-07 Wim Taymans <wim@fluendo.com>
3479 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3480 (gst_fake_src_get_times), (gst_fake_src_create):
3481 Fix broken sync option, fixes #323259
3483 2005-12-07 Wim Taymans <wim@fluendo.com>
3488 * gst/gstcaps.c: (gst_caps_is_equal):
3489 Don't assert on NULL <--> X. Fixes #323260
3491 * gst/gstminiobject.c: (gst_mini_object_replace):
3492 If we're doing atomic operations, we might just as well use
3493 the proper way to get an atomic pointer.
3495 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3498 2005-12-07 Michael Smith <msmith@fluendo.com>
3500 * gst/parse/grammar.y:
3501 Remove handling of { } for threads.
3503 2005-12-06 David Schleef <ds@schleef.org>
3505 * libs/gst/base/gstbasetransform.c: speling fix.
3507 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
3509 * docs/libs/tmpl/gstdataprotocol.sgml:
3510 * docs/random/omega/testing/gstobject.c:
3514 * gst/gstelementfactory.c:
3517 * gst/gstghostpad.c:
3519 * gst/gstpadtemplate.c:
3520 * gst/gstregistryxml.c:
3522 * gst/gsttagsetter.c:
3523 * gst/gsttypefind.c:
3525 * libs/gst/base/gstbasesrc.c:
3526 * libs/gst/net/gstnetclientclock.c:
3527 * libs/gst/net/gstnettimeprovider.c:
3528 * plugins/elements/gstfakesrc.c:
3529 * plugins/elements/gstfdsrc.c:
3530 * plugins/elements/gstfilesrc.c:
3531 * plugins/elements/gstidentity.c:
3532 * plugins/elements/gstqueue.c:
3533 * plugins/elements/gsttypefindelement.c:
3534 * plugins/indexers/gstfileindex.c:
3535 * plugins/indexers/gstmemindex.c:
3536 * tests/check/gst/gsttag.c:
3537 * tests/old/examples/cutter/cutter.c:
3538 * tests/old/examples/mixer/mixer.c:
3539 * tests/old/examples/xml/runxml.c: (main):
3540 * tests/old/testsuite/caps/normalisation.c:
3541 * tests/old/testsuite/debug/global.c:
3542 * tests/old/testsuite/parse/parse1.c:
3543 * tools/gst-xmlinspect.c:
3544 * win32/common/dirent.c:
3547 === release 0.10.0 ===
3549 2005-12-05 <thomas (at) apestaart (dot) org>
3552 releasing 0.10.0, "Maroilles"
3554 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
3556 submitted by: Funda Wang <fundawang@linux.net.cn>
3560 added Chinese (Traditional) translation
3562 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
3564 * docs/gst/gstreamer-sections.txt:
3565 * docs/libs/tmpl/gstdataprotocol.sgml:
3566 * docs/random/thomasvs/TODO:
3571 2005-12-05 Andy Wingo <wingo@pobox.com>
3573 patch by: Wim Taymans <wim@fluendo.com>
3575 * libs/gst/base/gstbasetransform.c
3576 (gst_base_transform_prepare_output_buf)
3577 (gst_base_transform_buffer_alloc):
3578 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
3579 alloc_buffer_and_set_caps.
3581 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
3582 set_caps on the source pad.
3583 (gst_pad_alloc_buffer_and_set_caps): New function, does what
3584 alloc_buffer used to do. Fixes #322874.
3586 * docs/gst/gstreamer-sections.txt:
3587 * docs/design/part-negotiation.txt:
3588 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
3591 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
3593 patch by: Sebastien Moutte
3596 * win32/common/config.h.in:
3597 * win32/vs6/libgstcontroller.dsp:
3600 2005-12-05 Wim Taymans <wim@fluendo.com>
3602 * gst/gstcaps.c: (gst_caps_is_equal):
3603 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3604 (gst_fake_src_create):
3605 Back out previous code changes, leave doc updates, file bugs
3608 2005-12-05 Wim Taymans <wim@fluendo.com>
3610 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3611 (gst_fake_src_get_times), (gst_fake_src_create):
3612 * plugins/elements/gstfakesrc.h:
3613 Fix broken sync code.
3615 2005-12-05 Wim Taymans <wim@fluendo.com>
3617 * gst/gstcaps.c: (gst_caps_is_equal):
3618 Comparing NULL against !NULL yields different caps, not a
3621 2005-12-05 Wim Taymans <wim@fluendo.com>
3623 * gst/gstpipeline.c:
3624 Fix small typo in docs.
3626 2005-12-05 Andy Wingo <wingo@pobox.com>
3628 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
3630 * gst/gst.c (init_post): remove hard-coded 0.9 location for
3631 registries/plugins with a MAJORMINOR one.
3632 (plugin_desc): Rename library from gstcoreleements to
3633 staticelements. Fixes #323222.
3635 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
3637 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
3638 Change debug category to 'collectpads' from 'collect_pads'
3641 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
3643 patch by: Sebastien Moutte
3645 * libs/gst/controller/gstinterpolation.c:
3646 use convert function for uint64/double
3647 * win32/vs6/libgstcontroller.dsp:
3650 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
3652 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
3653 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
3655 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3656 add tests that seem to show that the guint64/gdouble conversions
3659 2005-12-02 Wim Taymans <wim@fluendo.com>
3661 * gst/gstregistry.c: (gst_registry_add_path):
3662 * gst/gstregistry.h:
3663 * gst/gstregistryxml.c:
3666 2005-12-02 Wim Taymans <wim@fluendo.com>
3668 * gst/gstutils.c: (gst_util_uint64_scale_int64),
3669 (gst_util_uint64_scale_int):
3672 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3675 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
3678 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
3681 * win32/common/config.h:
3682 * win32/vs6/gstreamer.dsw:
3683 * win32/vs6/libgstcoreelements.dsp:
3684 * win32/vs6/libgstelements.dsp:
3685 renamed core elements plugin
3687 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
3689 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
3691 do piece-wise major/minor comparison so 0.9 < 0.10
3692 also allow .exe extensions for tools
3694 2005-12-02 Michael Smith <msmith@fluendo.com>
3697 Escape a % to make gtkdoc happier; bug 322958.
3699 === release 0.9.7 ===
3701 2005-12-01 <thomas (at) apestaart (dot) org>
3704 releasing 0.9.7, "My Dog Has No Nose"
3706 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3708 * common/gst-xmlinspect.py:
3710 * docs/libs/tmpl/gstdataprotocol.sgml:
3711 * docs/random/release:
3730 * win32/common/config.h:
3731 * win32/common/config.h.in:
3732 * win32/vs6/gst_inspect.dsp:
3733 * win32/vs6/gst_launch.dsp:
3734 * win32/vs6/libgstbase.dsp:
3735 * win32/vs6/libgstelements.dsp:
3736 * win32/vs6/libgstreamer.dsp:
3737 * win32/vs7/GStreamer.vcproj:
3738 * win32/vs7/gst-inspect.vcproj:
3739 * win32/vs7/gst-launch.vcproj:
3740 * win32/vs7/libgstbase.vcproj:
3741 bump GST_MAJORMINOR to 0.10
3742 reset libtool version
3744 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3748 Added Bulgarian translation by (Alexander Shopov)
3750 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3752 * tests/check/gst/gstplugin.c:
3755 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3757 * common/gst-xmlinspect.py:
3758 * common/gtk-doc-plugins.mak:
3761 * docs/gst/Makefile.am:
3762 * docs/gst/gstreamer-docs.sgml:
3763 * docs/gst/gstreamer-sections.txt:
3764 * docs/gst/gstreamer.types:
3765 * docs/gst/gstreamer.types.in:
3766 * docs/plugins/Makefile.am:
3767 * docs/plugins/gstreamer-plugins-docs.sgml:
3768 * docs/plugins/gstreamer-plugins-sections.txt:
3769 * docs/plugins/gstreamer-plugins.types:
3770 * docs/plugins/inspect.stamp:
3771 * docs/plugins/inspect/plugin-coreelements.xml:
3772 * docs/plugins/inspect/plugin-coreindexers.xml:
3773 * docs/plugins/scanobj-build.stamp:
3774 * gstreamer.spec.in:
3775 * plugins/elements/Makefile.am:
3776 * plugins/elements/gstelements.c:
3777 * plugins/elements/gstfakesink.c:
3778 * plugins/elements/gstfakesrc.c:
3779 * plugins/elements/gstfilesink.c:
3780 * plugins/elements/gstfilesrc.c:
3781 * plugins/elements/gstqueue.c:
3782 * plugins/indexers/Makefile.am:
3783 * plugins/indexers/gstindexers.c:
3784 document core plugins in a separate document just like all the
3786 rename these plugins to something starting with core
3788 2005-12-01 Andy Wingo <wingo@pobox.com>
3790 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
3791 padding here before, but it missed the commit.
3793 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
3795 * libs/gst/controller/gstinterpolation.c:
3796 whitespace prices have crashed, we should feel free to use some now
3797 use gst_guint64_to_gdouble
3799 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
3801 * libs/gst/controller/gstcontroller.c:
3802 * libs/gst/controller/gsthelper.c:
3803 * libs/gst/controller/gstinterpolation.c:
3804 * libs/gst/controller/lib.c:
3805 wrap config.h include
3807 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
3809 * docs/gst/gstreamer-sections.txt:
3812 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
3814 * plugins/elements/gstelements.c:
3815 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
3816 (gst_fd_sink__class_init), (gst_fd_sink__init),
3817 (gst_fd_sink__chain), (gst_fd_sink__set_property),
3818 (gst_fd_sink__get_property):
3819 * plugins/elements/gstfdsink.h:
3820 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
3821 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
3822 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
3823 (gst_fd_src_unlock), (gst_fd_src_set_property),
3824 (gst_fd_src_get_property), (gst_fd_src_create),
3825 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
3826 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
3827 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
3828 (gst_fd_src_uri_handler_init):
3829 * plugins/elements/gstfdsrc.h:
3830 * plugins/elements/gstqueue.c: (gst_queue_get_type):
3833 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3835 * docs/gst/Makefile.am:
3836 * docs/gst/gstreamer.types.in:
3840 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3846 * gst/gstregistry.h:
3847 * tests/benchmarks/complexity.c:
3848 * tests/benchmarks/mass-elements.c:
3849 * tests/check/Makefile.am:
3850 * tools/Makefile.am:
3851 * tools/gst-inspect.c:
3852 * tools/gst-xmlinspect.c:
3853 various fixes to make
3854 --disable-nls --disable-registry --disable-loadsave
3855 --disable-parse --disable-gst-debug
3856 work and get the core .so down to 360444 bytes after stripping
3858 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3863 * docs/random/thomasvs/TODO:
3864 * tests/Makefile.am:
3868 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3870 * win32/GStreamer.vcproj:
3873 * win32/Makefile.inspect:
3874 * win32/Makefile.launch:
3875 * win32/Makefile.register:
3877 * win32/gst-inspect.vcproj:
3878 * win32/gst-launch.vcproj:
3879 * win32/gst-register.vcproj:
3880 * win32/gstelements.vcproj:
3881 * win32/gstgetbits.def:
3882 * win32/gstgetbits.vcproj:
3883 * win32/gstreamer-dbg.def:
3884 * win32/gstreamer.def:
3885 * win32/libgstbase.def:
3886 * win32/libgstbase.vcproj:
3887 * win32/link_oldruntime.c:
3892 move even more stuff, win32/ is nice and clean now
3894 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3896 * libs/gst/control/.cvsignore:
3901 * win32/gstbytestream.def:
3902 * win32/gstbytestream.vcproj:
3903 * win32/gstconfig.h:
3904 * win32/gstenumtypes.c:
3905 * win32/gstenumtypes.h:
3906 * win32/gstoptimalscheduler.vcproj:
3907 * win32/gstversion.h:
3909 * win32/testsuite/bins.vcproj:
3910 * win32/testsuite/bytestream.vcproj:
3911 * win32/testsuite/caps.vcproj:
3912 * win32/testsuite/cleanup.vcproj:
3913 * win32/testsuite/clock.vcproj:
3914 * win32/testsuite/debug.vcproj:
3915 * win32/testsuite/dlopen.vcproj:
3916 * win32/testsuite/dynparams.vcproj:
3917 * win32/testsuite/elements.vcproj:
3918 * win32/testsuite/ghostpads.vcproj:
3919 * win32/testsuite/indexers.vcproj:
3920 * win32/testsuite/negotiation.vcproj:
3921 * win32/testsuite/parse.vcproj:
3922 * win32/testsuite/plugin.vcproj:
3923 * win32/testsuite/refcounting.vcproj:
3924 * win32/testsuite/schedulers.vcproj:
3925 * win32/testsuite/states.vcproj:
3926 * win32/testsuite/tags.vcproj:
3927 * win32/testsuite/threads.vcproj:
3928 remove old win32 stuff that isn't maintained and should be
3931 2005-11-30 Andy Wingo <wingo@pobox.com>
3933 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
3934 loading the gst.interfaces python module bork.
3936 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
3937 available since GLib 2.2. Fixes #318031.
3939 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3943 * check/Makefile.am:
3944 * check/elements/.cvsignore:
3945 * check/elements/fakesrc.c:
3946 * check/elements/fdsrc.c:
3947 * check/elements/identity.c:
3948 * check/generic/.cvsignore:
3949 * check/generic/states.c:
3950 * check/gst-libs/.cvsignore:
3951 * check/gst-libs/controller.c:
3952 * check/gst-libs/gdp.c:
3953 * check/gst/.cvsignore:
3954 * check/gst/capslist.h:
3956 * check/gst/gstbin.c:
3957 * check/gst/gstbuffer.c:
3958 * check/gst/gstbus.c:
3959 * check/gst/gstcaps.c:
3960 * check/gst/gstelement.c:
3961 * check/gst/gstevent.c:
3962 * check/gst/gstghostpad.c:
3963 * check/gst/gstiterator.c:
3964 * check/gst/gstmessage.c:
3965 * check/gst/gstminiobject.c:
3966 * check/gst/gstobject.c:
3967 * check/gst/gstpad.c:
3968 * check/gst/gstpipeline.c:
3969 * check/gst/gstplugin.c:
3970 * check/gst/gstsegment.c:
3971 * check/gst/gststructure.c:
3972 * check/gst/gstsystemclock.c:
3973 * check/gst/gsttag.c:
3974 * check/gst/gstutils.c:
3975 * check/gst/gstvalue.c:
3976 * check/net/.cvsignore:
3977 * check/net/gstnetclientclock.c:
3978 * check/net/gstnettimeprovider.c:
3979 * check/pipelines/.cvsignore:
3980 * check/pipelines/cleanup.c:
3981 * check/pipelines/simple_launch_lines.c:
3982 * check/pipelines/stress.c:
3983 * check/states/.cvsignore:
3984 * check/states/sinks.c:
3986 * examples/Makefile.am:
3987 * examples/appreader/.cvsignore:
3988 * examples/appreader/Makefile.am:
3989 * examples/appreader/appreader.c:
3990 * examples/controller/.cvsignore:
3991 * examples/controller/Makefile.am:
3992 * examples/controller/audio-example.c:
3993 * examples/cutter/.cvsignore:
3994 * examples/cutter/Makefile.am:
3995 * examples/cutter/cutter.c:
3996 * examples/cutter/cutter.h:
3997 * examples/events/Makefile.am:
3998 * examples/events/seek.c:
3999 * examples/helloworld/.cvsignore:
4000 * examples/helloworld/Makefile.am:
4001 * examples/helloworld/helloworld.c:
4002 * examples/helloworld2/.cvsignore:
4003 * examples/helloworld2/Makefile.am:
4004 * examples/helloworld2/helloworld2.c:
4005 * examples/launch/.cvsignore:
4006 * examples/launch/Makefile.am:
4007 * examples/launch/mp3parselaunch.c:
4008 * examples/launch/mp3play:
4009 * examples/manual/.cvsignore:
4010 * examples/manual/Makefile.am:
4011 * examples/manual/extract.pl:
4012 * examples/metadata/Makefile.am:
4013 * examples/metadata/read-metadata.c:
4014 * examples/mixer/.cvsignore:
4015 * examples/mixer/Makefile.am:
4016 * examples/mixer/mixer.c:
4017 * examples/mixer/mixer.h:
4018 * examples/pingpong/.cvsignore:
4019 * examples/pingpong/Makefile.am:
4020 * examples/pingpong/pingpong.c:
4021 * examples/plugins/.cvsignore:
4022 * examples/plugins/Makefile.am:
4023 * examples/plugins/example.c:
4024 * examples/plugins/example.h:
4025 * examples/pwg/.cvsignore:
4026 * examples/pwg/Makefile.am:
4027 * examples/pwg/extract.pl:
4028 * examples/queue/.cvsignore:
4029 * examples/queue/Makefile.am:
4030 * examples/queue/queue.c:
4031 * examples/queue2/.cvsignore:
4032 * examples/queue2/Makefile.am:
4033 * examples/queue2/queue2.c:
4034 * examples/queue3/.cvsignore:
4035 * examples/queue3/Makefile.am:
4036 * examples/queue3/queue3.c:
4037 * examples/queue4/.cvsignore:
4038 * examples/queue4/Makefile.am:
4039 * examples/queue4/queue4.c:
4040 * examples/retag/.cvsignore:
4041 * examples/retag/Makefile.am:
4042 * examples/retag/retag.c:
4043 * examples/retag/transcode.c:
4044 * examples/thread/.cvsignore:
4045 * examples/thread/Makefile.am:
4046 * examples/thread/thread.c:
4047 * examples/typefind/.cvsignore:
4048 * examples/typefind/Makefile.am:
4049 * examples/typefind/typefind.c:
4050 * examples/xml/.cvsignore:
4051 * examples/xml/Makefile.am:
4052 * examples/xml/createxml.c:
4053 * examples/xml/runxml.c:
4054 * tests/Makefile.am:
4055 * tests/check/Makefile.am:
4056 * testsuite/.cvsignore:
4057 * testsuite/Makefile.am:
4059 * testsuite/caps/.cvsignore:
4060 * testsuite/caps/Makefile.am:
4061 * testsuite/caps/app_fixate.c:
4062 * testsuite/caps/audioscale.c:
4063 * testsuite/caps/caps.c:
4064 * testsuite/caps/caps.h:
4065 * testsuite/caps/caps_strings:
4066 * testsuite/caps/compatibility.c:
4067 * testsuite/caps/deserialize.c:
4068 * testsuite/caps/enumcaps.c:
4069 * testsuite/caps/eratosthenes.c:
4070 * testsuite/caps/filtercaps.c:
4071 * testsuite/caps/fixed.c:
4072 * testsuite/caps/fraction-convert.c:
4073 * testsuite/caps/fraction-multiply-and-zero.c:
4074 * testsuite/caps/intersect2.c:
4075 * testsuite/caps/intersection.c:
4076 * testsuite/caps/normalisation.c:
4077 * testsuite/caps/random.c:
4078 * testsuite/caps/renegotiate.c:
4079 * testsuite/caps/sets.c:
4080 * testsuite/caps/simplify.c:
4081 * testsuite/caps/string-conversions.c:
4082 * testsuite/caps/structure.c:
4083 * testsuite/caps/subtract.c:
4084 * testsuite/caps/union.c:
4085 * testsuite/debug/.cvsignore:
4086 * testsuite/debug/Makefile.am:
4087 * testsuite/debug/category.c:
4088 * testsuite/debug/commandline.c:
4089 * testsuite/debug/global.c:
4090 * testsuite/debug/output.c:
4091 * testsuite/debug/printf_extension.c:
4092 * testsuite/dlopen/.cvsignore:
4093 * testsuite/dlopen/Makefile.am:
4094 * testsuite/dlopen/dlopen_gst.c:
4095 * testsuite/dlopen/loadgst.c:
4096 * testsuite/elements/.cvsignore:
4097 * testsuite/elements/Makefile.am:
4098 * testsuite/elements/gst-inspect-check.in:
4099 * testsuite/elements/struct_i386.h:
4100 * testsuite/elements/struct_size.c:
4101 * testsuite/indexers/.cvsignore:
4102 * testsuite/indexers/Makefile.am:
4103 * testsuite/indexers/cache1.c:
4104 * testsuite/indexers/indexdump.c:
4105 * testsuite/parse/.cvsignore:
4106 * testsuite/parse/Makefile.am:
4107 * testsuite/parse/parse1.c:
4108 * testsuite/parse/parse2.c:
4109 * testsuite/plugin/.cvsignore:
4110 * testsuite/plugin/Makefile.am:
4111 * testsuite/plugin/README:
4112 * testsuite/plugin/dynamic.c:
4113 * testsuite/plugin/linked.c:
4114 * testsuite/plugin/loading.c:
4115 * testsuite/plugin/registry.c:
4116 * testsuite/plugin/static.c:
4117 * testsuite/plugin/static2.c:
4118 * testsuite/plugin/testplugin.c:
4119 * testsuite/plugin/testplugin2.c:
4120 * testsuite/plugin/testplugin2_s.c:
4121 * testsuite/plugin/testplugin_s.c:
4122 * testsuite/refcounting/.cvsignore:
4123 * testsuite/refcounting/Makefile.am:
4124 * testsuite/refcounting/bin.c:
4125 * testsuite/refcounting/element.c:
4126 * testsuite/refcounting/element_pad.c:
4127 * testsuite/refcounting/mainloop.c:
4128 * testsuite/refcounting/mem.c:
4129 * testsuite/refcounting/mem.h:
4130 * testsuite/refcounting/object.c:
4131 * testsuite/refcounting/pad.c:
4132 * testsuite/refcounting/sched.c:
4133 * testsuite/refcounting/thread.c:
4134 * testsuite/states/.cvsignore:
4135 * testsuite/states/Makefile.am:
4136 * testsuite/states/bin.c:
4137 * testsuite/states/locked.c:
4138 * testsuite/states/parent.c:
4139 * testsuite/threads/.cvsignore:
4140 * testsuite/threads/159566.c:
4141 * testsuite/threads/159852.c:
4142 * testsuite/threads/Makefile.am:
4143 * testsuite/threads/queue.c:
4144 * testsuite/threads/signals.c:
4145 * testsuite/threads/staticrec.c:
4146 * testsuite/threads/thread.c:
4147 * testsuite/threads/threadb.c:
4148 * testsuite/threads/threadc.c:
4149 * testsuite/threads/threadd.c:
4150 * testsuite/threads/threade.c:
4151 * testsuite/threads/threadf.c:
4152 * testsuite/threads/threadg.c:
4153 * testsuite/threads/threadh.c:
4154 * testsuite/threads/threadi.c:
4155 move all of these under tests
4157 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4160 * tests/Makefile.am:
4163 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4165 * docs/gst/gstreamer-sections.txt:
4166 * tests/sched/.cvsignore:
4167 * tests/sched/Makefile.am:
4168 * tests/sched/cases/(fs-fs).xml:
4169 * tests/sched/cases/(fs-i-fs).xml:
4170 * tests/sched/cases/(fs-i-i-fs).xml:
4171 * tests/sched/cases/(fs-i-q[i-fs]).xml:
4172 * tests/sched/dynamic-pipeline.c:
4173 * tests/sched/interrupt1.c:
4174 * tests/sched/interrupt2.c:
4175 * tests/sched/interrupt3.c:
4176 * tests/sched/runtestcases:
4177 * tests/sched/runxml.c:
4178 * tests/sched/sched-stress.c:
4179 * tests/sched/sort.c:
4180 * tests/sched/testcases:
4181 * tests/sched/testcases1.tc:
4182 * tests/seeking/.cvsignore:
4183 * tests/seeking/Makefile.am:
4184 * tests/seeking/seeking1.c:
4185 * tests/threadstate/.cvsignore:
4186 * tests/threadstate/Makefile.am:
4187 * tests/threadstate/test1.c:
4188 * tests/threadstate/test2.c:
4189 * tests/threadstate/threadstate1.c:
4190 * tests/threadstate/threadstate2.c:
4191 * tests/threadstate/threadstate3.c:
4192 * tests/threadstate/threadstate4.c:
4193 * tests/threadstate/threadstate5.c:
4194 remove obsolete tests
4196 * tests/bench-complexity.scm:
4197 * tests/bench-mass_elements.scm:
4198 * tests/complexity.c:
4199 * tests/complexity.gnuplot:
4200 * tests/instantiate/.cvsignore:
4201 * tests/instantiate/Makefile.am:
4202 * tests/instantiate/caps.c:
4203 * tests/mass_elements.c:
4204 * tests/network-clock-utils.scm:
4205 * tests/network-clock.scm:
4207 First pass at cleaning up tests/ dir before moving the rest
4208 Combined with CVS surgery
4210 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4213 queue has moved, update
4215 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4217 * docs/gst/gstreamer-sections.txt:
4218 remove double entries from the docs
4219 * gst/gst_private.h:
4220 * gst/gstinfo.c: (_gst_debug_init):
4221 remove the THREAD debug category
4225 * docs/gst/gstreamer.types:
4226 * plugins/elements/gstqueue.c: (gst_queue_get_type),
4227 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
4228 completely move queue and fix up debugging categories
4230 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4232 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4233 make initialization portable, using LL is not
4235 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4237 * win32/common/gstconfig.h:
4240 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4242 * win32/common/libgstreamer.def:
4243 rename symbols; sort base section
4245 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4247 * gst/gstclock.c: (do_linear_regression):
4248 remove crack non-portable handrolled DEBUG macro
4250 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4252 * docs/random/release:
4254 * win32/common/gstenumtypes.c: (register_gst_object_flags),
4255 (gst_object_flags_get_type), (register_gst_bin_flags),
4256 (gst_bin_flags_get_type), (register_gst_buffer_flag),
4257 (gst_buffer_flag_get_type), (register_gst_bus_flags),
4258 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
4259 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
4260 (gst_caps_flags_get_type), (register_gst_clock_return),
4261 (gst_clock_return_get_type), (register_gst_clock_entry_type),
4262 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
4263 (gst_clock_flags_get_type), (register_gst_state),
4264 (gst_state_get_type), (register_gst_state_change_return),
4265 (gst_state_change_return_get_type), (register_gst_state_change),
4266 (gst_state_change_get_type), (register_gst_element_flags),
4267 (gst_element_flags_get_type), (register_gst_core_error),
4268 (gst_core_error_get_type), (register_gst_library_error),
4269 (gst_library_error_get_type), (register_gst_resource_error),
4270 (gst_resource_error_get_type), (register_gst_stream_error),
4271 (gst_stream_error_get_type), (register_gst_event_type_flags),
4272 (gst_event_type_flags_get_type), (register_gst_event_type),
4273 (gst_event_type_get_type), (register_gst_seek_type),
4274 (gst_seek_type_get_type), (register_gst_seek_flags),
4275 (gst_seek_flags_get_type), (register_gst_format),
4276 (gst_format_get_type), (register_gst_index_certainty),
4277 (gst_index_certainty_get_type), (register_gst_index_entry_type),
4278 (gst_index_entry_type_get_type),
4279 (register_gst_index_lookup_method),
4280 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
4281 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
4282 (gst_index_resolver_method_get_type), (register_gst_index_flags),
4283 (gst_index_flags_get_type), (register_gst_debug_level),
4284 (gst_debug_level_get_type), (register_gst_debug_color_flags),
4285 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
4286 (gst_iterator_result_get_type), (register_gst_iterator_item),
4287 (gst_iterator_item_get_type), (register_gst_message_type),
4288 (gst_message_type_get_type), (register_gst_mini_object_flags),
4289 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
4290 (gst_pad_link_return_get_type), (register_gst_flow_return),
4291 (gst_flow_return_get_type), (register_gst_activate_mode),
4292 (gst_activate_mode_get_type), (register_gst_pad_direction),
4293 (gst_pad_direction_get_type), (register_gst_pad_flags),
4294 (gst_pad_flags_get_type), (register_gst_pad_presence),
4295 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
4296 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
4297 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
4298 (gst_plugin_error_get_type), (register_gst_plugin_flags),
4299 (gst_plugin_flags_get_type), (register_gst_rank),
4300 (gst_rank_get_type), (register_gst_query_type),
4301 (gst_query_type_get_type), (register_gst_tag_merge_mode),
4302 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
4303 (gst_tag_flag_get_type), (register_gst_task_state),
4304 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
4305 (gst_alloc_trace_flags_get_type),
4306 (register_gst_type_find_probability),
4307 (gst_type_find_probability_get_type), (register_gst_uri_type),
4308 (gst_uri_type_get_type), (register_gst_parse_error),
4309 (gst_parse_error_get_type):
4310 * win32/common/gstenumtypes.h:
4311 * win32/common/gstversion.h:
4312 update visual studio generated files
4314 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4316 * win32/vs6/libgstbase.dsp:
4317 * win32/vs6/libgstelements.dsp:
4318 update project files for new locations
4320 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4325 reinstate and update
4330 * docs/random/LICENSE:
4333 2005-11-30 Edward Hervey <edward@fluendo.com>
4335 * gst/gsttypefind.c: (gst_type_find_register):
4336 * gst/gsttypefind.h:
4337 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
4338 (gst_type_find_factory_dispose):
4339 * gst/gsttypefindfactory.h:
4340 Fix memory leak in GstTypeFindFactory.
4342 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4345 * plugins/elements/Makefile.am:
4346 * plugins/elements/gstelements.c:
4347 * plugins/elements/gstqueue.c:
4348 move queue from core to the elements plugin
4350 2005-11-29 Andy Wingo <wingo@pobox.com>
4352 * libs/gst/base/gstbasetransform.h:
4353 * libs/gst/base/gstbasesrc.h:
4354 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
4356 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
4357 of pointers by which to pad very extensible base classes (like the
4358 ones in libs/gst/base).
4360 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4362 * docs/gst/gstreamer-docs.sgml:
4363 * docs/gst/gstreamer-sections.txt:
4364 * docs/libs/gstreamer-libs-docs.sgml:
4365 * docs/libs/gstreamer-libs-sections.txt:
4366 moving documentation from core to lib
4368 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4370 * check/Makefile.am:
4372 * docs/gst/Makefile.am:
4374 * gst/base/.cvsignore:
4375 * gst/base/Makefile.am:
4377 * gst/base/gstadapter.c:
4378 * gst/base/gstadapter.h:
4379 * gst/base/gstbasesink.c:
4380 * gst/base/gstbasesink.h:
4381 * gst/base/gstbasesrc.c:
4382 * gst/base/gstbasesrc.h:
4383 * gst/base/gstbasetransform.c:
4384 * gst/base/gstbasetransform.h:
4385 * gst/base/gstcollectpads.c:
4386 * gst/base/gstcollectpads.h:
4387 * gst/base/gstpushsrc.c:
4388 * gst/base/gstpushsrc.h:
4389 * gst/base/gsttypefindhelper.c:
4390 * gst/base/gsttypefindhelper.h:
4391 * gst/check/Makefile.am:
4392 * gst/check/gstcheck.c:
4393 * gst/check/gstcheck.h:
4394 * gst/net/Makefile.am:
4396 * gst/net/gstnetclientclock.c:
4397 * gst/net/gstnetclientclock.h:
4398 * gst/net/gstnettimepacket.c:
4399 * gst/net/gstnettimepacket.h:
4400 * gst/net/gstnettimeprovider.c:
4401 * gst/net/gstnettimeprovider.h:
4402 * libs/gst/Makefile.am:
4403 * libs/gst/base/Makefile.am:
4404 * libs/gst/base/gstbasetransform.c:
4405 * libs/gst/check/Makefile.am:
4406 * plugins/elements/Makefile.am:
4408 CVS surgery + support to move base, check, and net out of gst
4411 2005-11-29 Andy Wingo <wingo@pobox.com>
4413 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
4415 * gst/gststructure.h (struct _GstStructure): Only one pointer of
4418 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
4420 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
4422 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
4424 * gst/gstobject.h: (struct _GstObject): Only one pointer of
4425 padding; reduces object size by about 30%. We don't expect
4426 anything else to go into gstobject.
4428 * gst/gstminiobject.h (struct _GstMiniObject)
4429 (struct _GstMiniObjectClass): Only one pointer of padding; the
4430 payload is only a pointer and two ints anyway. For the class there
4431 are only two methods as well.
4433 * gst/gstelement.h (struct _GstElementClass): Removed
4434 the state_changed signal callback, it is not used.
4436 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
4438 * docs/gst/gstreamer.types:
4439 fix includes, though they are a little dinky
4441 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4443 * check/Makefile.am:
4444 look in the right place for elements, a lot more chance of
4447 remove indexers and elements subdirs
4448 * plugins/Makefile.am:
4449 make indexers conditional
4451 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4455 * plugins/elements/Makefile.am:
4456 * plugins/elements/gstcapsfilter.c:
4457 * plugins/elements/gstfilesink.c:
4458 * plugins/elements/gstfilesrc.c:
4459 * plugins/elements/gstidentity.c:
4460 * plugins/indexers/Makefile.am:
4461 do CVS surgery and related build fixery to move elements
4462 and indexers in a new gstreamer/plugins directory, out of the
4465 2005-11-29 Andy Wingo <wingo@pobox.com>
4467 * check/Makefile.am:
4468 * pkgconfig/gstreamer-net-uninstalled.pc.in:
4469 * pkgconfig/gstreamer-net.pc.in:
4470 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
4473 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
4475 * tools/Makefile.am:
4476 * tools/gst-complete.1.in:
4477 * tools/gst-complete.c:
4478 * tools/gst-compprep.1.in:
4479 * tools/gst-compprep.c:
4480 removing -compprep and -complete
4482 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
4484 * gst/gstevent.c: (gst_event_new_new_segment),
4485 (gst_event_parse_new_segment):
4487 fix #320529 - clean up new_segment API and structure.
4488 Let's hope everyone was using the methods, and not the structure.
4490 2005-11-29 Edward Hervey <edward@fluendo.com>
4492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4493 (gst_base_sink_event), (gst_base_sink_do_sync),
4494 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4495 Properly handle non GST_FORMAT_TIME segment
4496 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
4497 Properly handle non GST_FORMAT_TIME segment
4499 This function is valid if the accumulator is 0 and the format
4500 is different from the requested format.
4502 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4504 * docs/gst/gstreamer-sections.txt:
4505 Add gst_query_new_seeking and gst_query_parse_seeking to the
4508 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4510 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4511 Treat a pad alloc with new caps the same as if we were not
4512 negotiated, in order to allow a changing upstream output
4513 to produce a new format of data.
4515 2005-11-29 Edward Hervey <edward@fluendo.com>
4517 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4518 (gst_base_transform_event), (gst_base_transform_eventfunc):
4519 The event virtual method is now properly implemented, with a default
4521 Sub classes should call the parent_class event method. They should
4522 return FALSE if they had a problem handling the given event, or don't
4523 want GstBaseTransform to send that even downstream
4524 * gst/elements/gstidentity.c: (gst_identity_class_init),
4525 (gst_identity_init), (gst_identity_event),
4526 (gst_identity_transform_ip), (gst_identity_set_property),
4527 (gst_identity_get_property):
4528 * gst/elements/gstidentity.h:
4529 Added the single-segment boolean property.
4530 If set to TRUE, it will output a single segment of data, starting from
4531 0, will eat up all incoming newsegment, and modify the timestamp of the
4534 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
4536 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
4537 Don't ref NULL target pad (#322751). Improve docs.
4539 2005-11-29 Michael Smith <msmith@fluendo.com>
4541 * gst/gstregistryxml.c: (load_plugin):
4542 Don't crash if we failed to load a feature from a plugin.
4544 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
4546 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
4548 use more check API and less GLib API
4550 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
4553 don't run checks if we don't have check
4555 remove the registry when running make torture
4556 * docs/gst/gstreamer-sections.txt:
4557 remove second multiply
4558 * gst/gstqueue.c: (gst_queue_loop):
4559 fix a compile warning when disabling debug
4561 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
4564 Hey! Let's print the pad name if the pointer != NULL instead
4565 of when it == NULL :-)
4567 2005-11-28 Wim Taymans <wim@fluendo.com>
4569 * check/gst/gstutils.c: (GST_START_TEST):
4570 Updated check, add some scaling accuracy checking code.
4572 * gst/gstutils.c: (gst_util_div128_64),
4573 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
4574 (gst_util_uint64_scale_int):
4575 Fix 6 times faster division code. Optimize for common
4576 1/1 and less common X/1 cases.
4578 2005-11-28 Wim Taymans <wim@fluendo.com>
4580 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4583 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
4584 (do_linear_regression), (gst_clock_add_observation):
4586 Release lock when the clock cannot be slaved.
4587 Catch the case where the regression returned an invalid denominator.
4589 * gst/gstutils.c: (gst_util_div128_64_iterate),
4590 (gst_util_div128_64), (gst_util_uint64_scale_int64),
4591 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
4592 Add protentially more performant non-iterative 128/64 divide function
4593 that unfortunatly does not work yet.
4594 Shortcut the trivial 0/X = 0 case.
4595 Remove the warnings on overflow.
4597 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
4599 * gst/gstplugin.c: (gst_plugin_register_func):
4600 everything causing a plugin not to load should be at least a WARNING
4602 2005-11-28 Stefan Kost <ensonic@users.sf.net>
4604 * docs/random/ensonic/dparams.txt:
4605 some TODOs for the next dev cycle
4606 * libs/gst/controller/gstcontroller.c:
4607 (gst_controlled_property_set_interpolation_mode),
4608 (gst_controlled_property_new):
4609 * libs/gst/controller/gstcontroller.h:
4610 use base type to assign acccessor functions
4612 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
4614 * check/Makefile.am:
4615 Oops, that should have been top_srcdir
4617 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
4619 * check/Makefile.am:
4620 * check/elements/fdsrc.c: (GST_START_TEST):
4621 Use a cmdline define to specify the location of a file to use for
4622 testing, to avoid breaking distcheck.
4624 2005-11-28 Andy Wingo <wingo@pobox.com>
4626 * gst/gstpad.c (fixate_value): Use array functions for arrays.
4628 2005-11-28 Edward Hervey <edward@fluendo.com>
4630 * tools/gst-launch.c: (main):
4631 Clarify the output strings, makes it easier to translate.
4634 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
4637 don't try and build net if we don't even have <sys/socket.h>
4639 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
4641 * check/Makefile.am:
4642 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
4643 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
4644 Add tests for fdsrc seekability
4646 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4647 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
4648 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
4649 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
4650 * gst/elements/gstfdsrc.h:
4651 fdsrc should not be a 'live' source.
4652 Implement seeking on seekable fd's.
4654 * gst/gstquery.c: (gst_query_new_seeking),
4655 (gst_query_parse_seeking):
4657 Implement SEEKING query functions:
4658 *_new_seeking and *_parse_seeking
4660 2005-11-27 Stefan Kost <ensonic@users.sf.net>
4662 * gst/gstelement.c: (gst_element_dispose):
4665 * gst/gstiterator.c:
4666 * gst/gststructure.c:
4669 * libs/gst/controller/gstcontroller.c:
4670 (gst_controlled_property_set_interpolation_mode):
4671 * libs/gst/controller/gstcontroller.h:
4672 * libs/gst/controller/gstinterpolation.c:
4673 (interpolate_none_get_enum_value_array):
4674 support controlling enums
4676 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
4679 Improve documentation for gst_value_union().
4682 Change return value for union, intersect and subtract functions
4683 from gint to gboolean.
4685 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
4687 * gst/gstvalue.c: (gst_value_serialize_any_list),
4688 (gst_value_transform_any_list_string),
4689 (gst_value_deserialize_list), (gst_value_deserialize_array),
4690 (gst_value_set_int_range), (gst_value_deserialize_int_range),
4691 (gst_value_set_double_range), (gst_value_deserialize_double_range),
4692 (gst_value_set_fraction_range_full),
4693 (gst_value_deserialize_fraction_range),
4694 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
4695 (gst_value_deserialize_boolean),
4696 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
4697 (gst_value_serialize_float), (gst_value_deserialize_float),
4698 (gst_string_wrap), (gst_value_deserialize_string),
4699 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
4700 (gst_value_union_int_range_int_range),
4701 (gst_value_intersect_int_range_int_range),
4702 (gst_value_intersect_double_range_double_range),
4703 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
4704 (gst_value_subtract_int_range_int_range),
4705 (gst_value_subtract_double_double_range),
4706 (gst_value_subtract_double_range_double_range),
4707 (gst_value_deserialize_fraction):
4709 Use gint, gdouble and gchar in our API instead of int, double and
4710 char (and make usage in gstvalue.c more consistent).
4712 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
4714 * check/Makefile.am:
4715 * libs/gst/controller/Makefile.am:
4716 * libs/gst/dataprotocol/Makefile.am:
4717 fix up Makefile.am and remove GST_ENABLE_NEW
4719 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
4723 * gst/base/Makefile.am:
4724 * gst/check/Makefile.am:
4725 * gst/elements/Makefile.am:
4726 * gst/net/Makefile.am:
4727 update LDFLAGS use some more
4729 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
4731 * common/m4/gst-doc.m4:
4734 2005-11-26 Edward Hervey <edward@fluendo.com>
4736 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4737 This shouldn't issue a g_warning since it returns NULL if it
4738 couldn't find the plugin, and all functions using this behave
4739 properly on a NULL return. Switching to a GST_WARNING.
4741 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
4743 * gst/gstbin.c: (gst_bin_handle_message_func):
4744 Don't leak clock messages.
4746 2005-11-25 Wim Taymans <wim@fluendo.com>
4748 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4749 (gst_util_uint64_scale_int):
4750 Optimisations, remove unneeded vars.
4752 2005-11-25 Wim Taymans <wim@fluendo.com>
4754 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4755 Added more checks for the high precision uint64 cases.
4757 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4758 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
4759 Implement high precision (guint64 * guint64) / guint64.
4761 2005-11-24 Wim Taymans <wim@fluendo.com>
4763 * gst/base/gstbasesrc.c: (gst_base_src_query):
4764 Fix wrong percentage query.
4766 * gst/gstutils.c: (gst_util_uint64_scale),
4767 (gst_util_uint64_scale_int):
4768 Add some more common cases that can be handled
4769 efficiently to _scale.
4771 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
4773 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
4774 (gst_mini_object_suite):
4775 don't use check calls from threads; check probably isn't
4776 threadsafe and using a lock to make it threadsafe would
4777 defeat the purpose of this check
4778 * gst/check/gstcheck.c:
4779 * gst/check/gstcheck.h:
4780 use GST_DEBUG some more
4782 2005-11-24 Wim Taymans <wim@fluendo.com>
4784 * gst/gstutils.c: (gst_util_uint64_scale),
4785 (gst_util_uint64_scale_int):
4786 Chain trivial case to _scale_int.
4788 2005-11-24 Wim Taymans <wim@fluendo.com>
4790 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4791 Added test for scaling.
4796 * gst/gstutils.c: (gst_util_uint64_scale_int):
4797 Implemented high precision scaling code.
4799 2005-11-24 Stefan Kost <ensonic@users.sf.net>
4802 do not crash on pad==NULL
4804 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
4806 Patch by: Stefan Kost
4808 * common/gtk-doc.mak:
4809 * docs/gst/Makefile.am:
4810 * docs/libs/Makefile.am:
4811 Fix distcheck issues for the libraries docs build
4814 2005-11-24 Michael Smith <msmith@fluendo.com>
4816 * docs/manual/basics-helloworld.xml:
4817 Fix bug #315027: memory leak in example code in docs.
4819 2005-11-24 Michael Smith <msmith@fluendo.com>
4821 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4822 Unlock the PREROLL_LOCK in a failure case.
4824 2005-11-24 Wim Taymans <wim@fluendo.com>
4826 * docs/gst/gstreamer-sections.txt:
4827 * gst/base/gstadapter.h:
4828 * gst/base/gstbasesink.h:
4829 * gst/base/gstbasesrc.h:
4830 * gst/base/gstbasetransform.h:
4831 * gst/base/gstpushsrc.h:
4832 * gst/elements/gstfakesink.h:
4833 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
4834 * gst/elements/gstfakesrc.h:
4835 * gst/elements/gstfilesink.h:
4836 * gst/elements/gstfilesrc.h:
4839 * gst/gstbuffer.c: (_gst_buffer_copy):
4842 * gst/gstchildproxy.c:
4845 * gst/gstelementfactory.c:
4846 * gst/gstelementfactory.h:
4848 * gst/gstghostpad.h:
4850 * gst/gstinterface.h:
4851 * gst/gstminiobject.c:
4852 * gst/gstminiobject.h:
4855 * gst/gstpadtemplate.h:
4856 * gst/gstpipeline.h:
4857 * gst/gstpluginfeature.h:
4862 * gst/gsttagsetter.c:
4863 * gst/gsttagsetter.h:
4866 * gst/gsttypefind.h:
4869 * gst/net/gstnetclientclock.c:
4870 * gst/net/gstnetclientclock.h:
4871 * gst/net/gstnettimepacket.c:
4872 * gst/net/gstnettimeprovider.c:
4873 * gst/net/gstnettimeprovider.h:
4876 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
4878 * configure.ac: back to HEAD
4880 === release 0.9.6 ===
4882 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
4885 releasing 0.9.6, "Always On Time"
4887 2005-11-23 Wim Taymans <wim@fluendo.com>
4889 * docs/gst/gstreamer-sections.txt:
4890 * gst/glib-compat.c:
4891 * gst/gsttagsetter.c:
4893 * gst/net/gstnetclientclock.c:
4894 * gst/net/gstnettimepacket.h:
4897 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
4899 * docs/faq/using.xml:
4900 * docs/libs/tmpl/gstcontrol.sgml:
4901 * docs/manual/advanced-dparams.xml:
4902 * docs/manual/appendix-checklist.xml:
4903 * docs/manual/basics-elements.xml:
4904 * docs/pwg/other-source.xml:
4905 * docs/random/moving-plugins:
4907 * tools/gst-launch.1.in:
4908 remove mentions of sinesrc
4910 2005-11-23 Michael Smith <msmith@fluendo.com>
4912 * docs/gst/gstreamer-sections.txt:
4913 Update for new API and API changes.
4915 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
4917 Documentation typo fix.
4918 * gst/net/gstnettimepacket.c:
4919 Documentation fixes for arguments.
4921 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
4923 * gst/gststructure.c: (gst_structure_get_fraction),
4924 (gst_structure_parse_value),
4925 (gst_structure_fixate_field_nearest_fraction):
4926 * gst/gststructure.h:
4927 * gst/gstutils.c: (gst_util_uint64_scale_int):
4929 * scripts/update-funcnames:
4931 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
4932 Make gst_structure_fixate_field_nearest_fraction take a numerator
4933 and denominator argument instead of a GValue
4934 add gst_structure_get_fraction helper function.
4936 2005-11-23 Wim Taymans <wim@fluendo.com>
4938 * docs/design/part-TODO.txt:
4941 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4942 * gst/net/gstnetclientclock.h:
4943 Use parent fields for timeout and window_size.
4945 2005-11-23 Andy Wingo <wingo@pobox.com>
4947 * check/net/gstnetclientclock.c (test_functioning): Adjust to
4948 rate_num/rate_denom change.
4950 * gst/net/gstnetclientclock.c
4951 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
4952 OBJECT_LOCK. Don't call add_observation with the lock.
4954 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
4956 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
4958 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
4959 deal with rate as a fraction whose numerator and denominator are
4960 GstClockTime values.
4961 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
4962 master; the other fields are protected by the SLAVE_LOCK.
4963 (do_linear_regression): Note that this must be called with the
4965 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
4966 OBJECT_LOCK. Call set_calibration instead of touching the
4968 (gst_clock_set_property, gst_clock_get_property): Protect
4969 master/slave parameters with the SLAVE_LOCK.
4971 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
4972 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
4973 note that all of the instance variables that add_observation and
4974 the set_master functions use are protected by that lock and not
4976 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
4978 * gst/gstclock.c (gst_clock_add_observation): No longer requires
4979 the caller to take the object lock.
4981 2005-11-23 Wim Taymans <wim@fluendo.com>
4983 * gst/gsterror.c: (_gst_core_errors_init):
4985 Add error for clock stuff.
4987 * gst/gstpipeline.c: (gst_pipeline_change_state),
4988 (gst_pipeline_set_clock):
4989 Post clock error when clock cannot be used in a pipeline.
4991 2005-11-23 Stefan Kost <ensonic@users.sf.net>
4993 * docs/gst/gstreamer-sections.txt:
4994 make two symbols from gstinfo private for the docs
4995 * gst/base/gstcollectpads.h:
4997 fix doc typos, update docs
4999 2005-11-22 Wim Taymans <wim@fluendo.com>
5001 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5002 (gst_base_sink_wait), (gst_base_sink_do_sync),
5003 (gst_base_sink_handle_event):
5004 * gst/base/gstbasesink.h:
5005 No need to store the clock, the parent element class already
5008 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
5009 Updates for clock_set returning a gboolean
5011 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
5012 (gst_clock_id_wait_async), (gst_clock_class_init),
5013 (gst_clock_init), (gst_clock_finalize),
5014 (gst_clock_get_internal_time), (gst_clock_get_time),
5015 (gst_clock_slave_callback), (gst_clock_set_master),
5016 (gst_clock_get_master), (do_linear_regression),
5017 (gst_clock_add_observation), (gst_clock_set_property),
5018 (gst_clock_get_property):
5020 Implement master/slave. When setting a clock as a slave, a
5021 periodic timeout is scheduled to sample master and slave times.
5022 Then the slave clock is recalibrated to match offset and rate
5023 of the master clock.
5024 Update logging a bit.
5025 Add flag so that a clock can state that is cannot be slaved to
5028 * gst/gstelement.c: (gst_element_set_clock):
5030 The set clock returns a gboolean for when an element cannot
5031 deal with the selected clock in the pipeline.
5033 * gst/gstpipeline.c: (gst_pipeline_change_state),
5034 (gst_pipeline_set_clock):
5035 * gst/gstpipeline.h:
5036 Handle the case where the selected clock cannot be set on
5039 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
5040 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5041 (gst_net_client_clock_set_property),
5042 (gst_net_client_clock_get_property),
5043 (gst_net_client_clock_observe_times):
5044 * gst/net/gstnetclientclock.h:
5045 Use regression code in GstClock parent, remove duplicated
5048 2005-11-22 Michael Smith <msmith@fluendo.com>
5050 * gst/gstutils.c: (gst_util_clock_time_scale):
5052 * docs/gst/gstreamer-sections.txt:
5053 Rename method to have extra underscore.
5055 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
5057 * gst/elements/Makefile.am:
5058 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
5059 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5060 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5061 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
5062 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
5063 * gst/elements/gstfakesrc.h:
5064 * gst/gstqueue.c: (queue_leaky_get_type):
5065 correctly fix GEnumValues so that nick is the short lowercase
5067 * tools/gst-inspect.c: (print_element_properties_info):
5068 also show the nick, since it's useful to use from parse_launch
5072 2005-11-22 Michael Smith <msmith@fluendo.com>
5074 * gst/gstutils.c: (gst_util_clocktime_scale):
5076 * docs/gst/gstreamer-sections.txt:
5077 Add util method for scaling a clocktime by a fraction. Useful
5078 implementation is left as an exercise for the reader.
5080 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5082 * gst/gstvalue.c: (gst_value_collect_fraction_range):
5083 If needed, allocate storage in the destination value during
5086 2005-11-22 Edward Hervey <edward@fluendo.com>
5088 * docs/gst/gstreamer-sections.txt:
5093 * gst/gstutils.c: (gst_util_set_object_arg):
5094 * tools/gst-compprep.c: (main):
5095 * tools/gst-inspect.c: (print_element_properties_info):
5096 Removed GstURI, closes bug #321061
5098 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5100 * check/gst/gststructure.c: (GST_START_TEST):
5101 * gst/gststructure.c: (gst_structure_parse_value):
5102 Oops, broke automatic string type parsing.
5103 Add a test to catch it in future.
5105 2005-11-22 Andy Wingo <wingo@pobox.com>
5107 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
5108 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
5109 Actually rename the function implementations. Grr.
5111 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5113 * check/gst/capslist.h:
5115 * check/gst/gststructure.c: (GST_START_TEST),
5116 (gst_structure_suite):
5117 Test automatic value type detection in gst_structure_from_string.
5118 * gst/gststructure.c: (gst_structure_parse_value):
5119 Add fraction as a type we try and guess automatically in
5120 caps/structure strings.
5122 2005-11-22 Andy Wingo <wingo@pobox.com>
5124 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
5126 * gst/gsttagsetter.h:
5127 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
5128 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
5129 (gst_tag_setter_add_tag_valist)
5130 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
5131 _add_values, _add_valist, and _add_valist_values. Since this is an
5132 interface the function suffixes should be more explicit so
5133 language binding don't end up with element.add_valist ->
5134 gst_tag_setter_add_valist, for example. Fixes #322069.
5136 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5138 * check/gst/gstcaps.c: (GST_START_TEST):
5139 Extend caps string tests to check that a caps to string
5140 conversion is reversible and produces the same caps.
5142 * gst/gststructure.c: (gst_structure_value_get_generic_type):
5143 Output "fraction" as the generic type fraction range, so caps
5144 serialisation and deserialisation works.
5145 * check/gst/capslist.h:
5146 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5147 Support 'MIN' and 'MAX' for deserialising fractions.
5149 2005-11-22 Andy Wingo <wingo@pobox.com>
5151 * gst/gstevent.h (gst_event_new_new_segment)
5152 (gst_event_parse_new_segment, gst_event_new_buffer_size)
5153 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
5154 Renamed from *_newsegment, *_buffersize, *_notarget.
5156 * scripts/update-funcnames: New script, performs the changes
5159 2005-11-22 Wim Taymans <wim@fluendo.com>
5161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5162 Make sure the GstFlowReturn is returned.
5164 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
5165 (gst_bus_add_signal_watch):
5167 add gst_bus_add_signal_watch_full.
5169 * gst/gstplugin.c: (gst_plugin_load_file):
5170 Small style cleanup.
5172 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5174 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
5175 Block the fakesrc srcpad when we send an event, to avoid
5176 contention on the stream_lock causing random test failures.
5178 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5180 * check/gst/gstvalue.c: (GST_START_TEST):
5181 * gst/gstvalue.c: (gst_value_fraction_subtract):
5184 2005-11-22 Stefan Kost <ensonic@users.sf.net>
5187 include "gstchildproxy.h"
5188 * gst/gstchildproxy.h:
5189 * libs/gst/controller/gstcontroller.h:
5190 use G_GNUC_NULL_TERMINATED
5192 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5194 * check/gst/capslist.h:
5195 * check/gst/gstcaps.c: (GST_START_TEST):
5196 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5197 * gst/gststructure.c: (gst_structure_parse_range),
5198 (gst_structure_fixate_field_nearest_fraction):
5199 * gst/gststructure.h:
5200 * gst/gstvalue.c: (gst_value_init_fraction_range),
5201 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
5202 (gst_value_collect_fraction_range),
5203 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
5204 (gst_value_set_fraction_range_full),
5205 (gst_value_get_fraction_range_min),
5206 (gst_value_get_fraction_range_max),
5207 (gst_value_serialize_fraction_range),
5208 (gst_value_transform_fraction_range_string),
5209 (gst_value_compare_fraction_range),
5210 (gst_value_deserialize_fraction_range),
5211 (gst_value_intersect_fraction_fraction_range),
5212 (gst_value_intersect_fraction_range_fraction_range),
5213 (gst_value_subtract_fraction_fraction_range),
5214 (gst_value_subtract_fraction_range_fraction),
5215 (gst_value_subtract_fraction_range_fraction_range),
5216 (gst_value_collect_fraction), (gst_value_fraction_multiply),
5217 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
5218 (gst_value_transform_string_fraction), (_gst_value_initialize):
5220 Implement fraction ranges and extend GstFraction to support
5221 arithmetic subtraction, as well as deserialization from integer
5222 strings such as "100"
5223 Add a testsuite as for int and double range set operations
5225 2005-11-21 Andy Wingo <wingo@pobox.com>
5229 * gst/gststructure.h: Add glib-compat.h.
5231 2005-11-21 Wim Taymans <wim@fluendo.com>
5233 * gst/gstbin.c: (gst_bin_change_state_func):
5236 2005-11-21 Wim Taymans <wim@fluendo.com>
5239 And add a nice define too.
5241 2005-11-21 Wim Taymans <wim@fluendo.com>
5243 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
5244 (gst_segment_new), (gst_segment_free), (gst_segment_init),
5245 (gst_segment_set_duration), (gst_segment_set_last_stop),
5246 (gst_segment_set_seek), (gst_segment_set_newsegment),
5247 (gst_segment_to_stream_time), (gst_segment_to_running_time),
5250 Make binding friendly.
5252 2005-11-21 Andy Wingo <wingo@pobox.com>
5254 * gst/gsttagsetter.h:
5256 * gst/gststructure.h:
5258 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
5261 * gst/gsterror.c (_gst_core_errors_init):
5262 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
5265 * gst/Makefile.am (gst_headers): Add glib-compat.h.
5266 (noinst_HEADERS): noinst the -private.
5268 2005-11-21 Michael Smith <msmith@fluendo.com>
5271 * gst/gstregistry.h:
5272 Remove unimplemented declarations for which we can see no sensible
5275 2005-11-21 Andy Wingo <wingo@pobox.com>
5277 * gst/gst.h: Include glib-compat.h.
5279 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
5281 * gst/glib-compat.c: Include the public and the private header.
5283 * gst/glib-compat-private.h: Copied here from glib-compat.h.
5287 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
5289 * check/gst/gstevent.c (create_custom_events): Check that
5290 FLUSH_STOP is serialized.
5292 * check/elements/identity.c (event_func):
5293 * check/elements/fakesrc.c (event_func): No stream lock, the core
5296 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
5297 stream lock taking, yay.
5299 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
5300 ensure that core takes the stream lock.
5302 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
5305 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
5306 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
5307 it already. For the flush start we do take it though so we get the
5308 right preroll state change messages.
5310 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
5311 the stream lock here, the core does it for us.
5313 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
5314 GST_STREAM_GET_LOCK.
5315 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
5316 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
5317 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
5318 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
5319 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
5320 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
5322 * gst/gstpad.c: Update for stream lock name change.
5324 * gst/base/gstbasesink.c: Update for preroll lock name change.
5326 2005-11-21 Wim Taymans <wim@fluendo.com>
5328 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
5329 (gst_clock_get_master):
5331 * gst/gstsystemclock.c: (gst_system_clock_init):
5332 Convert Clock flags to object flags.
5333 Added methods to manage master/slave clocks.
5335 2005-11-21 Wim Taymans <wim@fluendo.com>
5337 * check/gst/gstsegment.c: (GST_START_TEST):
5338 * docs/design/part-TODO.txt:
5339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5340 (gst_base_sink_event), (gst_base_sink_do_sync),
5341 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5342 (gst_base_sink_query), (gst_base_sink_change_state):
5343 * gst/base/gstbasesink.h:
5344 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
5345 (gst_base_src_default_newsegment),
5346 (gst_base_src_configure_segment), (gst_base_src_do_seek),
5347 (gst_base_src_get_range), (gst_base_src_loop),
5348 (gst_base_src_change_state):
5349 * gst/base/gstbasesrc.h:
5350 * gst/base/gstbasetransform.c:
5351 (gst_base_transform_prepare_output_buf),
5352 (gst_base_transform_event), (gst_base_transform_change_state):
5353 * gst/base/gstbasetransform.h:
5354 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5355 (gst_collect_pads_event):
5356 * gst/base/gstcollectpads.h:
5357 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
5358 (gst_fake_src_create):
5359 * gst/elements/gstfakesrc.h:
5360 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5361 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
5362 (gst_segment_set_last_stop), (gst_segment_set_seek),
5363 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
5364 (gst_segment_to_running_time), (gst_segment_clip):
5366 More segment updates, replace code in plugins with segment
5369 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
5371 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
5372 Don't ignore sscanf results
5374 2005-11-21 Andy Wingo <wingo@pobox.com>
5376 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
5379 * *.c: Ran scripts/update-macros. Oh yes.
5381 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
5382 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
5385 * scripts/update-macros: New script. Run it on your files to
5386 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
5389 2005-11-21 Stefan Kost <ensonic@users.sf.net>
5391 * docs/gst/Makefile.am:
5392 * docs/gst/gstreamer-docs.sgml:
5393 * docs/gst/gstreamer-sections.txt:
5394 * docs/gst/gstreamer.types:
5396 more docs fixes, add new api to the docs
5398 2005-11-21 Andy Wingo <wingo@pobox.com>
5400 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
5401 state_broadcast call.
5403 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
5405 2005-11-21 Julien MOUTTE <julien@moutte.net>
5407 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
5408 function calls for arrays.
5410 2005-11-21 Stefan Kost <ensonic@users.sf.net>
5412 * docs/random/ensonic/media-device-daemon.txt:
5413 wild idea, can this be done?
5414 * docs/gst/gstreamer-sections.txt:
5419 * gst/gstpluginfeature.c:
5423 doc fixes and additions
5425 2005-11-21 Andy Wingo <wingo@pobox.com>
5427 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
5428 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
5429 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
5430 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
5431 private to the basesrc implementation.
5433 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
5434 behalf of event function if necessary. It should no longer be
5435 necessary to take the stream lock in pad's event functions. Fixes
5438 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
5439 * docs/gst/gstreamer-sections.txt:
5440 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
5441 (gst_structure_fixate_field_nearest_double),
5442 (gst_structure_fixate_field_boolean):
5443 * gst/gststructure.h:
5444 * win32/common/libgstreamer.def:
5445 * win32/gstreamer.def:
5447 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
5450 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
5452 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
5453 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
5454 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
5455 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
5456 (gst_fdsrc_uri_handler_init):
5457 * gst/elements/gstfdsrc.h:
5458 Port fd:// URI handler from 0.8 to fdsrc
5460 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5462 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
5463 (gst_value_serialize_fourcc):
5465 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
5466 consistent with our other format defines (#320324).
5468 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5470 * gst/gstvalue.c: (gst_value_is_fixed):
5471 Revert previous commit. Value lists are by definition
5472 not fixed, as they are a list of possible values.
5474 2005-11-21 Andy Wingo <wingo@pobox.com>
5476 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
5477 during the stable series if we need it. Fixes #319178.
5479 * gst/gstevent.c (gst_event_new_filler): Removed.
5481 * check/gst/gstevent.c: Update comment about filler events.
5483 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5485 * gst/gstvalue.c: (gst_value_is_fixed):
5486 Should handle both value arrays and value lists.
5488 2005-11-21 Andy Wingo <wingo@pobox.com>
5490 patch by: Alessandro Dessina <alessandro nnva org>
5492 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
5493 functions to access arrays. Fixes #321962.
5495 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5497 * docs/gst/gstreamer.types:
5498 gst_collectpads_get_type => gst_collect_pads_get_type.
5500 * gst/base/gstbasetransform.c:
5501 Remove unused SIGNAL_HANDOFF enum.
5503 2005-11-21 Andy Wingo <wingo@pobox.com>
5505 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
5506 the event type (upstream, downstream, serialized). Renamed
5507 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
5508 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
5509 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
5511 * gst/gstevent.c: Update for new CUSTOM event names.
5513 * check/gst/gstevent.c: Update check for new CUSTOM event names.
5516 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
5519 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5521 * docs/gst/gstreamer-sections.txt:
5522 * win32/common/libgstbase.def:
5523 * win32/libgstbase.def:
5524 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5525 (gst_collect_pads_class_init), (gst_collect_pads_init),
5526 (gst_collect_pads_finalize), (gst_collect_pads_new),
5527 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
5528 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
5529 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
5530 (gst_collect_pads_start), (gst_collect_pads_stop),
5531 (gst_collect_pads_peek), (gst_collect_pads_pop),
5532 (gst_collect_pads_available), (gst_collect_pads_read),
5533 (gst_collect_pads_flush), (gst_collect_pads_event),
5534 (gst_collect_pads_chain):
5535 * gst/base/gstcollectpads.h:
5536 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
5537 unimplemented functions as unimplemented. Add padding to
5538 GstCollectData. (#320766, #320423)
5540 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
5543 Improve docs for DURATION message (usage of duration parameter)
5546 2005-11-20 Wim Taymans <wim@fluendo.com>
5548 * check/Makefile.am:
5549 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
5553 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
5554 (gst_segment_set_seek), (gst_segment_set_newsegment),
5555 (gst_segment_to_stream_time), (gst_segment_to_running_time),
5558 Added segment helper structure and methods. Not fully implemented
5560 Added segment check.
5562 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
5564 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5565 Add a deserialisation test for fractions
5566 * examples/metadata/read-metadata.c: (message_loop),
5567 (make_pipeline), (main):
5568 Fix up metadata reading sample.
5569 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5571 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5572 Don't try and fixate empty caps
5573 * gst/gst_private.h:
5574 Wrap in G_BEGIN_DECLS/G_END_DECLS
5575 * gst/gstvalue.c: (gst_value_collect_fraction),
5576 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
5577 (gst_value_transform_string_fraction),
5578 (gst_value_compare_fraction):
5579 Add some extra guards to ensure that we don't end up
5580 with an invalid denominator of 0 in a gstfraction and
5581 that fractions always get reduced.
5583 2005-11-20 Wim Taymans <wim@fluendo.com>
5585 * docs/gst/gstreamer-sections.txt:
5596 2005-11-20 Wim Taymans <wim@fluendo.com>
5598 * docs/design/part-TODO.txt:
5600 Make a proper enum of the flag.
5602 2005-11-19 Wim Taymans <wim@fluendo.com>
5604 * docs/design/part-TODO.txt:
5605 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
5606 (gst_format_to_quark), (gst_format_register):
5608 * gst/gstquery.c: (_gst_query_initialize),
5609 (gst_query_type_get_name), (gst_query_type_to_quark),
5610 (gst_query_type_register):
5612 Add type to quark and type to string conversions.
5614 2005-11-19 Andy Wingo <wingo@pobox.com>
5616 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
5619 2005-11-19 Wim Taymans <wim@fluendo.com>
5621 * docs/design/part-TODO.txt:
5622 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5623 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
5624 (gst_bin_handle_message_func):
5626 Make message handling overridable.
5628 2005-11-19 Andy Wingo <wingo@pobox.com>
5630 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
5633 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
5635 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
5636 is a GstClockTime. Fixes #321710.
5638 * gst/gstclock.h (GstClock): Remove offset property. Add
5639 internal_calibration and external_calibration. Fix padding. Pad
5640 also by GstClockTime so we don't run into problems.
5642 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
5643 (gst_clock_get_rate_offset): Remove.
5644 (gst_clock_set_time_adjust): Remove. Fixes #321712.
5647 * gst/gstutils.c (g_static_rec_cond_wait)
5648 (g_static_rec_cond_timed_wait): Removed, no longer needed.
5650 * gst/gstbin.c: Remove terrible continue_state prototype.
5652 * gst/gstelement.h (gst_element_continue_state): Make public.
5655 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
5656 by continue_state. Fixes #319389.
5658 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
5659 Really fixes #168438. However I don't see anywhere where the
5660 filter function is called... stupid GStreamer...
5662 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
5663 don't have a dispose function, so it won't get called when the
5664 object is unreffed, but oh well!
5666 * gst/gstindex.c (gst_index_set_filter_full): New API function,
5667 allows a destroy function to be set so user_data can be freed.
5669 (gst_index_set_filter): Call gst_index_set_filter_full.
5671 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
5673 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
5674 string should produce an error, given the lack of a way to
5675 represent NULL strings. Fixes #165650.
5678 * gst/gstvalue.c (gst_value_array_append_value)
5679 (gst_value_array_prepend_value, gst_value_array_get_size)
5680 (gst_value_array_get_value): New API, copied from
5681 gst_value_list_*, only operates on arrays.
5682 (gst_value_list_append_value, gst_value_list_prepend_value)
5683 (gst_value_list_concat, gst_value_list_get_size)
5684 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
5686 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
5687 init_list, because it works on both.
5688 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
5689 (gst_value_copy_list_or_array): Renamed from copy_list.
5690 (gst_value_free_list_or_array): Renamed from free_list.
5691 (gst_value_collect_list_or_array): Renamed from collect_list.
5692 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
5693 (gst_value_list_or_array_peek_pointer): Renamed from
5695 (_gst_value_array_value_table, _gst_value_list_value_table):
5696 Update value table functions.
5697 (gst_value_compare_list_or_array): Renamed from compare_list.
5699 * gsttaglist.h: Whoops, foreach function returns void. Also fix
5703 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
5704 GstTagList*. Fixes #143472.
5706 * gst/gststructure.h: Clarify what the foreach/map functions can
5707 or can't do to their arguments.
5709 2005-11-18 Wim Taymans <wim@fluendo.com>
5711 * gst/gstclock.c: (gst_clock_set_calibration),
5712 (gst_clock_get_calibration):
5714 Calibration can be set with internal time equal to current
5717 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
5723 2005-11-18 Andy Wingo <wingo@pobox.com>
5726 * pkgconfig/gstreamer-net.pc.in:
5727 * pkgconfig/gstreamer-net-uninstalled.pc.in:
5728 * pkgconfig/Makefile.am: Add net pkgconfig files.
5730 2005-11-18 Stefan Kost <ensonic@users.sf.net>
5733 * gst/gstghostpad.c:
5739 2005-11-18 Andy Wingo <wingo@pobox.com>
5741 * gst/net/gstnetclientclock.c: Turn off debugging.
5743 * check/net/gstnetclientclock.c (test_functioning): Assert that the
5744 times connverge somewhat. Can't make a real test.
5746 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
5747 integer arithmetic. Return the minimum of the domain, which can be
5748 set as "internal" for gst_clock_set_calibration.
5749 (gst_net_client_clock_observe_times): Call _set_calibration.
5750 (gst_net_client_clock_new): Call _set_calibration instead of
5753 * check/net/gstnetclientclock.c (test_functioning): Use the right
5757 * gst/gstclock.c (gst_clock_get_calibration)
5758 (gst_clock_set_calibration): New functions, obsolete the ones I
5759 added yesterday. Doh. Precision issues mean we have to extrapolate
5760 from a point in the more recent past than 1970.
5761 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
5763 (gst_clock_adjust_unlocked): Use the right calibration data.
5765 2005-11-18 Edward Hervey <edward@fluendo.com>
5767 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5768 Also reset the ->current_* values in READY->PAUSED
5770 2005-11-18 Andy Wingo <wingo@pobox.com>
5772 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
5773 Whoops, check the right fd. Also add some debugging.
5774 (gst_net_client_clock_observe_times): Adjust for int64 offset.
5775 (do_linear_regression): Add a crapload of debugging. Subtract off
5776 the minimum values from the input series to discard unneeded bits.
5777 Use only int arithmetic. There is still double arithmetic when
5778 calculating the intercept that needs fixing. Return boolean to
5779 indicate success; FALSE would mean the domain or range is too
5780 great. Still needs fixes.
5782 2005-11-18 Wim Taymans <wim@fluendo.com>
5784 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
5785 For the current position in stream time, we need to subtract
5788 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5789 Release lock before calling the callback function of async
5792 2005-11-18 Andy Wingo <wingo@pobox.com>
5794 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
5795 Port goes all the way to MAXUINT16.
5797 * gst/net/gstnettimeprovider.c: Make the port range the same as
5798 for the kernel: 0 assigns, otherwise ports are less than
5801 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
5804 * check/net/gstnetclientclock.c (test_functioning): Add the start
5807 2005-11-18 Wim Taymans <wim@fluendo.com>
5809 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
5810 (gst_bin_remove_func), (bin_bus_handler):
5812 Removing a clock provider from a bin, triggers a clock lost message
5813 so that a new clock will be selected.
5814 Adding a clock to a bin triggers a clock provider message.
5815 Make sure we reselect a clock when we received a clock lost message.
5816 Keep a reference to the element that provided the clock.
5818 2005-11-18 Andy Wingo <wingo@pobox.com>
5820 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
5821 the clock initially so it produces values around the base time.
5822 (gst_net_client_clock_class_init): Typo fix.
5823 (gst_net_client_clock_thread): Add note on when the socket gets
5826 2005-11-17 Wim Taymans <wim@fluendo.com>
5828 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
5829 Free remote and local time arrays.
5831 2005-11-17 Wim Taymans <wim@fluendo.com>
5833 * gst/net/gstnetclientclock.c: (do_linear_regression),
5834 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
5835 Fix compilation, uninitialized vars and a forgotten continue.
5837 2005-11-17 Andy Wingo <wingo@pobox.com>
5839 * check/Makefile.am (check_PROGRAMS):
5840 * check/net/gstnetclientclock.c: Add a most minimal test for the
5841 net client clock. More to come later.
5844 * gst/net/Makefile.am: Add netclientclock.
5846 * gst/net/gstnetclientclock.h:
5847 * gst/net/gstnetclientclock.c: New files, implement an untested
5848 GstClock that takes its time from a network time provider.
5849 Implements the algorithm in network-clock.scm.
5851 * tests/network-clock.scm (*window-size*): Rename from
5853 * tests/network-clock.scm (network-time):
5854 * tests/network-clock-utils.scm (q-push): Update callers.
5856 2005-11-17 Wim Taymans <wim@fluendo.com>
5858 * gst/gstbin.c: (gst_bin_provide_clock_func),
5859 (gst_bin_sort_iterator_new):
5860 And unref the child too..
5862 2005-11-17 Wim Taymans <wim@fluendo.com>
5864 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5865 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
5866 Refactor the sort iterator so it can be used while holding the
5868 Make clock selection select a clock closest to the source.
5870 2005-11-17 Michael Smith <msmith@fluendo.com>
5872 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
5873 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
5875 Anonymous structs are a gcc (and some other compilers) extension, so
5876 don't use them. Since this is only for ABI-compatibility, and our
5877 API/ABI freeze is over in a few days, this whole thing will only
5878 last a few days, so don't bother trying to think up a meaningful
5879 name for the struct.
5881 2005-11-17 Andy Wingo <wingo@pobox.com>
5883 * gst/gstclock.h (GstClock): Add rate and offset properties,
5884 preserving ABI stability. Add rate/offset accessors. Will file bug
5885 for the freeze break.
5887 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
5888 and offset, trying to keep precision and avoiding
5890 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
5891 functions. Make gst_clock_set_time_adjust obsolete.
5892 (gst_clock_set_time_adjust): Note that this function is obsolete.
5895 * gst/base/gstbasetransform.h: Make the ABI-stability hack
5896 greppable by using GST_PADDING-1+1.
5898 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
5900 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5902 * gst/gstmessage.c: (gst_message_parse_clock_lost):
5903 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
5905 * gst/gstpadtemplate.h:
5906 * gst/gstpluginfeature.h:
5907 Don't use c++ style comments in headers (#321638).
5909 2005-11-16 Andy Wingo <wingo@pobox.com>
5911 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
5914 * check/net/gstnettimeprovider.c: Check to see that the time
5915 provider actually provides times. Works, yo!
5917 2005-11-16 Wim Taymans <wim@fluendo.com>
5919 * check/Makefile.am:
5922 * check/elements/fakesrc.c: (GST_START_TEST):
5923 Set element to NULL before disposing it.
5925 2005-11-16 Andy Wingo <wingo@pobox.com>
5927 * gst/net/Makefile.am:
5929 * gst/net/gstnettimeprovider.c:
5930 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
5931 provider, include it from gstnet.h, and add it to the build.
5933 * gst/net/gstnettimepacket.h:
5934 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
5935 sending and receiving.
5937 2005-11-16 Wim Taymans <wim@fluendo.com>
5939 * check/Makefile.am:
5940 Enable valgrind check.
5942 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
5943 (gst_fake_src_alloc_buffer):
5946 2005-11-16 Wim Taymans <wim@fluendo.com>
5948 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
5949 Call parent finalize too.
5951 2005-11-16 Wim Taymans <wim@fluendo.com>
5953 * check/Makefile.am:
5954 Enable valgrind check that should work fine now.
5956 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
5957 * gst/gstqueue.c: (gst_queue_init):
5958 Fix memleaks in pad allocation.
5960 2005-11-16 Andy Wingo <wingo@pobox.com>
5962 * gst/net/Makefile.am:
5963 * gst/net/gstnet.h: New part of core to hold network elements and
5964 objects. Put in core because it exposes API that applications want
5965 to use. The library is named libgstnet-tempname right now because
5966 of the existing libgstnet in gst-plugins-base. Solution is
5967 probably to rename the one in plugins-base; will file a bug for
5970 * gst/net/gstnettimeprovider.c:
5971 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
5972 get_time call over the network.
5975 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
5977 * check/Makefile.am:
5978 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
5979 get additions shortly.
5981 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
5983 * gst/gstpad.c: (gst_pad_new_from_static_template):
5985 add gst_pad_new_from_static_template functions
5986 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
5987 (gst_check_setup_sink_pad):
5988 * gst/elements/gsttee.c: (gst_tee_init):
5991 2005-11-16 Wim Taymans <wim@fluendo.com>
5993 * gst/gstpad.c: (gst_pad_pause_task):
5994 Removed warning, it's not really an error either.
5996 2005-11-16 Wim Taymans <wim@fluendo.com>
5998 * gst/base/gstbasetransform.c:
5999 (gst_base_transform_prepare_output_buf),
6000 (gst_base_transform_event):
6001 Check if the caps are NULL, this can happen if the element
6002 is shutting down and the pad caps are set to NULL.
6004 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6006 * gst/elements/gsttee.c: (gst_tee_init):
6007 fix pad template leak in tee
6009 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6011 * gst/glib-compat.c: (g_value_dup_gst_object):
6012 * gst/glib-compat.h:
6013 * gst/gstpad.c: (gst_pad_set_property):
6014 use gst_object_ref when setting the pad template; this will
6015 trigger the pad template leaks on GLib 2.6 and the slaves
6017 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6019 * gst/glib-compat.c: (gst_flags_get_first_value):
6020 * gst/glib-compat.h:
6021 * gst/gstregistryxml.c:
6022 remove functions copied from GLib 2.6
6024 2005-11-16 Michael Smith <msmith@fluendo.com>
6027 Don't link against VALGRIND_LIBS. That was always the wrong thing to
6028 do, but only breaks with newer valgrind versions. We're not a
6029 valgrind tool, we have no link-time dependencies on libcoregrind.
6031 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6033 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6038 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6040 * gst/base/gstbasesrc.c: (gst_base_src_init):
6041 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6042 * gst/gstqueue.c: (gst_queue_init):
6043 * gst/gstregistryxml.c: (load_feature):
6044 Revert all these unrefs, they don't even pass make check !
6046 2005-11-15 Johan Dahlin <johan@gnome.org>
6048 * gst/base/gstbasesrc.c: (gst_base_src_init):
6049 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6050 * gst/gstqueue.c: (gst_queue_init):
6051 Free pad templates, fixes a couple of leaks.
6053 2005-11-15 Daniel Fischer <dan at f3c dot com>
6055 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6057 * gst/gstpad.c: (gst_pad_get_property):
6058 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
6059 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
6062 2005-11-15 Wim Taymans <wim@fluendo.com>
6067 2005-11-15 Andy Wingo <wingo@pobox.com>
6069 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
6071 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
6072 using GST_CLOCK_TIME_NONE to disable base time management.
6073 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
6074 time if it was NONE before.
6075 (gst_pipeline_change_state): Only munge the base time if
6076 stream_time != GST_CLOCK_TIME_NONE.
6078 * check/gst/gstpipeline.c (test_base_time): Punt around the
6079 problem of the probe not being called, because that's not the
6080 issue I'm looking at. Add a check that setting stream_time to NONE
6081 disables base time management.
6083 2005-11-15 Wim Taymans <wim@fluendo.com>
6085 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6086 segment_stop == -1 at startup.
6088 * gst/base/gstbasetransform.c: (gst_base_transform_event),
6089 (gst_base_transform_change_state):
6090 Init segment values at start.
6092 2005-11-15 Wim Taymans <wim@fluendo.com>
6094 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6095 0 segment values are 0 in any format.
6097 * gst/base/gstbasetransform.c: (gst_base_transform_event):
6098 * gst/base/gstbasetransform.h:
6099 Parse newsegment correctly in basetransform
6101 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6102 Sync to clock using updated segment values.
6104 2005-11-15 Andy Wingo <wingo@pobox.com>
6106 * check/gst/gstpipeline.c (test_base_time): Add check that the
6107 base time and stream time are reset correctly.
6109 2005-11-15 Wim Taymans <wim@fluendo.com>
6111 * docs/design/part-TODO.txt:
6112 Some more TODO items.
6114 2005-11-15 Andy Wingo <wingo@pobox.com>
6116 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
6117 error if the user selected "no clock" as the clocking method.
6119 * check/gst/gstpipeline.c (test_base_time): New test for buffer
6120 timestamps with live capture.
6122 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
6123 is 0 but we are a live source, timestamp the buffers using the
6126 2005-11-14 Stefan Kost <ensonic@users.sf.net>
6128 * docs/gst/gstreamer-sections.txt:
6130 * gst/gstghostpad.c:
6135 2005-11-14 Wim Taymans <wim@fluendo.com>
6138 add suppressions from Wim's Debian machine
6140 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
6143 add suppressions from Andy's AMD64 Ubuntu machine
6145 2005-11-14 Andy Wingo <wingo@pobox.com>
6147 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
6148 STATE_LOCK not necessary. Fixes #311489.
6150 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
6153 * gst/gstindex.c (gst_index_add_object): Note in the docs that
6154 this function is not implemented.
6156 2005-11-14 Julien MOUTTE <julien@moutte.net>
6158 * gst/base/gstbasetransform.c:
6159 (gst_base_transform_prepare_output_buf):
6160 Ref the source pad caps while we need them.
6163 2005-11-11 Wim Taymans <wim@fluendo.com>
6165 * docs/gst/gstreamer-sections.txt:
6166 Added some docs for GstCollectData.
6168 * gst/base/gstadapter.c:
6169 Some small code example fix.
6171 * gst/base/gstcollectpads.c:
6172 * gst/base/gstcollectpads.h:
6175 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6177 * configure.ac: back to HEAD
6179 === release 0.9.5 ===
6181 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6184 releasing 0.9.5, "Bike Lunch Day"
6186 2005-11-11 Wim Taymans <wim@fluendo.com>
6188 * gst/gstbuffer.c: (_gst_buffer_copy):
6191 * gst/gstcaps.c: (gst_caps_is_equal):
6193 Make _is_equal fast in the trivial cases.
6195 * gst/gstminiobject.c:
6196 * gst/gstminiobject.h:
6197 More docs. Spifify .h file.
6202 2005-11-11 Wim Taymans <wim@fluendo.com>
6204 * gst/base/gstbasetransform.c:
6205 (gst_base_transform_prepare_output_buf),
6206 (gst_base_transform_handle_buffer):
6208 If we're processing a buffer and need to allocate an output
6209 buffer, we cannot accept a format change. If we did get a
6210 format change, we have to alloc a buffer ourselves of the
6213 2005-11-11 Wim Taymans <wim@fluendo.com>
6215 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
6216 While checking the flag for reentrancy in the gstcaps function
6217 is nice to detect recursive invocations, it also makes it
6218 impossible to call getcaps from multiple threads, which must be
6219 possible. So, checking for recursive calls has to go.
6221 2005-11-11 Michael Smith <msmith@fluendo.com>
6223 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6224 Don't sync on buffers that fall partially outside our current
6225 segment. Prevents an assertion failure/abort playing some files.
6227 2005-11-10 Andy Wingo <wingo@pobox.com>
6229 * check/gst/gstbin.c (test_message_state_changed_children): Style
6232 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
6233 gst_bus_poll with the signal watch. Ensures that poll and a signal
6234 watch see the same messages.
6236 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
6237 a poll and a watch at the same time get the same messages.
6239 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
6241 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
6242 * gst/gstcaps.c: (gst_caps_intersect):
6243 Don't call gst_caps_do_simplify - it doesn't respect order of caps
6244 and it's not needed.
6246 2005-11-10 Wim Taymans <wim@fluendo.com>
6248 * docs/design/part-TODO.txt:
6251 2005-11-10 Wim Taymans <wim@fluendo.com>
6253 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6254 * gst/base/gstbasesrc.c: (gst_base_src_wait),
6255 (gst_base_src_do_sync), (gst_base_src_get_range):
6256 Implement clock sync in base class.
6258 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
6260 patch by: Tim-Philipp Müller <tim at centricular dot net>
6262 * gst/gststructure.c: (gst_structure_parse_field),
6263 (gst_structure_from_string):
6264 Forward-port a 0.8 patch to handle escaped spaces in structure string,
6265 so that gst_parse_launch() can deal with spaces in filtered link
6266 caps (fixes #164479)
6267 * check/gst/capslist.h:
6268 * check/gst/gststructure.c: (GST_START_TEST):
6269 add unit tests for this change
6271 2005-11-10 Wim Taymans <wim@fluendo.com>
6273 * docs/gst/gstreamer-sections.txt:
6276 Fix docs, move some STATE macros to private.
6278 2005-11-10 Wim Taymans <wim@fluendo.com>
6280 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6281 Added check for bug #317341
6285 Some more spiffifying.
6287 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
6288 Call peer linkfunction if we are a source pad. Totally fixes
6292 Update docs, source pads should call the peer linkfunction
6293 so they can atomically perform the pad link.
6295 2005-11-09 Wim Taymans <wim@fluendo.com>
6299 Uber-spiffy-spiffify some more.
6301 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
6303 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
6304 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6305 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6306 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
6307 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
6308 * gst/gstpad.c: (gst_pad_init):
6309 Use GST_DEBUG_FUNCPTR() more extensively.
6311 2005-11-09 Wim Taymans <wim@fluendo.com>
6313 * gst/gstobject.c: (gst_object_class_init):
6315 Documentation fixes.
6317 2005-11-09 Edward Hervey <edward@fluendo.com>
6319 * gst/gsttypefindfactory.c:
6322 2005-11-09 Edward Hervey <edward@fluendo.com>
6324 * gst/base/gsttypefindhelper.c:
6325 * gst/gsttypefind.c:
6326 * gst/gsttypefind.h:
6329 2005-11-09 Wim Taymans <wim@fluendo.com>
6331 * gst/gstiterator.c:
6338 2005-11-09 Wim Taymans <wim@fluendo.com>
6344 2005-11-09 Wim Taymans <wim@fluendo.com>
6346 * docs/gst/gstreamer-sections.txt:
6347 Moved the message async delivery private lock and cond
6348 to the private section.
6354 2005-11-09 Edward Hervey <edward@fluendo.com>
6356 * docs/gst/gstreamer-sections.txt:
6359 Document GstURIHandler
6361 2005-11-09 Wim Taymans <wim@fluendo.com>
6363 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
6364 (gst_iterator_find_custom):
6365 * gst/gstiterator.h:
6368 2005-11-09 Wim Taymans <wim@fluendo.com>
6371 Document another field.
6373 * gst/gststructure.c:
6374 * gst/gststructure.h:
6377 2005-11-09 Wim Taymans <wim@fluendo.com>
6382 2005-11-09 Wim Taymans <wim@fluendo.com>
6384 * docs/gst/gstreamer-sections.txt:
6385 Added some new macros.
6392 2005-11-09 Wim Taymans <wim@fluendo.com>
6394 * docs/design/part-TODO.txt:
6395 Some more items for the TODO
6401 2005-11-09 Andy Wingo <wingo@pobox.com>
6403 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
6404 to work on something else now tho...
6406 * gst/base/gstadapter.c: More adapter docs.
6408 * gst/elements/gstfilesink.c (gst_file_sink_start)
6409 (gst_file_sink_stop): New functions, replace the state change
6411 (gst_file_sink_class_init): Hook up the start and stop functions.
6412 (gst_file_sink_base_init): Don't set the state change handler any
6413 more. It was a bit ugly too, being set from here...
6414 (gst_file_sink_get_property, gst_file_sink_set_property):
6416 (gst_file_sink_set_location): More robust check that doesn't call
6419 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
6421 * gst/base/gstbasetransform.c: (gst_base_transform_event):
6422 Hold STREAM_LOCK while pushing newsegment or tag events as well.
6424 2005-11-08 Wim Taymans <wim@fluendo.com>
6426 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6427 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6428 (gst_base_sink_chain), (gst_base_sink_change_state):
6429 * gst/base/gstbasesink.h:
6430 * gst/base/gstbasesrc.h:
6433 Avoid excessive typechecking in macros.
6435 * gst/gstminiobject.c: (gst_mini_object_get_type),
6436 (gst_mini_object_init), (gst_mini_object_new),
6437 (gst_mini_object_free):
6438 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
6439 (gst_object_finalize):
6440 Remove cruft code, optimize alloc_trace.
6442 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
6444 * docs/faq/gst-uninstalled:
6445 fix up PS1 for systems that try to reset it
6447 2005-11-07 Wim Taymans <wim@fluendo.com>
6449 * gst/base/gstbasesrc.c: (gst_base_src_init),
6450 (gst_base_src_get_range):
6451 Set the segment_end to -1 initially. Fixed typefind.
6453 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
6455 * gst/base/gstadapter.c:
6456 Debug category should be 'adapter', not 'GstAdapter'.
6458 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
6459 (gst_collectpads_class_init), (gst_collectpads_init),
6460 (gst_collectpads_peek), (gst_collectpads_pop),
6461 (gst_collectpads_event), (gst_collectpads_chain):
6462 Add debug category and some debugging output. Use boilerplate
6463 macros. Remove some extraneous words from docs.
6465 2005-11-05 Andy Wingo <wingo@pobox.com>
6467 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
6470 2005-11-04 Stefan Kost <ensonic@users.sf.net>
6472 * docs/gst/gstreamer-sections.txt:
6475 * gst/gstminiobject.h:
6480 2005-11-04 Wim Taymans <wim@fluendo.com>
6482 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6483 Small update to stop at the configured segment_end
6486 2005-11-04 Stefan Kost <ensonic@users.sf.net>
6488 * gst/gstregistry.c:
6489 * gst/gstregistry.h:
6492 2005-11-04 Edward Hervey <edward@fluendo.com>
6494 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6495 Check if we are doing a segment seek and have arrived at the
6496 end of that segment.
6498 2005-11-04 Wim Taymans <wim@fluendo.com>
6500 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
6501 Don't leak a mutex unlock in case of an error.
6506 2005-11-04 Wim Taymans <wim@fluendo.com>
6508 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
6510 Get the context to wake up only once.
6512 2005-11-03 Wim Taymans <wim@fluendo.com>
6514 * check/states/sinks.c: (GST_START_TEST):
6515 Uncomment fixed check.
6517 * docs/design/part-TODO.txt:
6520 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6521 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
6522 (gst_base_sink_get_position):
6523 If we are going to PLAYING, post the right pending state
6524 when we post the intermediate paused message.
6526 * gst/gstelement.c: (gst_element_continue_state),
6527 (gst_element_set_state_func), (gst_element_change_state):
6528 Don't post state changes that were between the same state
6531 2005-11-03 Stefan Kost <ensonic@users.sf.net>
6533 * docs/gst/gstreamer-sections.txt:
6536 * gst/gstminiobject.h:
6539 more docs and doc style fixes
6541 2005-11-03 Stefan Kost <ensonic@users.sf.net>
6543 * docs/gst/gstreamer-sections.txt:
6545 * gst/gstminiobject.c:
6548 2005-11-03 Andy Wingo <wingo@pobox.com>
6550 * check/states/sinks.c (test_livesrc_sink): Add checks that the
6551 state-changed messages actually have the right order and the right
6554 2005-11-03 Wim Taymans <wim@fluendo.com>
6556 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
6557 Added some more checks. Specifically the case where NO_PREROLL
6558 elements are in the pipeline.
6560 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6561 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
6562 (gst_base_sink_get_position):
6563 Post READY->PAUSED state change messages too.
6564 Fix bug where VOID was posted as pending state...
6566 * gst/gstbin.c: (gst_bin_recalc_state):
6567 use _element_continue_state() to continue the state change.
6569 * gst/gstelement.c: (gst_element_continue_state),
6570 (gst_element_commit_state), (gst_element_set_state_func),
6571 (gst_element_change_state), (gst_element_change_state_func):
6572 Lots of state change cleanups, assign the STATE_RETURN in
6573 a new continue_state() function that also propagates the
6574 last return value from a state change to the app.
6575 Update some debug statements with proper category.
6577 2005-11-03 Wim Taymans <wim@fluendo.com>
6579 * docs/design/part-events.txt:
6580 * docs/design/part-gstpipeline.txt:
6581 * docs/design/part-messages.txt:
6582 * docs/design/part-overview.txt:
6583 * docs/design/part-seeking.txt:
6584 * docs/design/part-states.txt:
6585 * docs/design/part-trickmodes.txt:
6586 * docs/manual/advanced-position.xml:
6590 People think !! is ugly, this looks better.
6592 * gst/gstpad.c: (gst_pad_set_blocked_async):
6593 Remove !! since it's fixed elsewhere now.
6595 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
6597 * gst/gstminiobject.h:
6599 Add !! to _FLAG_IS_SET macros to make the result boolean.
6601 2005-11-03 Edward Hervey <edward@fluendo.com>
6603 * gst/gstpad.c: (gst_pad_set_blocked_async):
6604 comparing a flag and a gboolean rarely returns coherent results...
6605 Added two characters (!!) to make that work correctly.
6607 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
6609 * gst/gstbus.c: (gst_bus_class_init):
6612 * gst/gstqueue.c: (gst_queue_loop):
6613 Don't assume a miniobject that isn't a buffer is an
6614 event (it could be that there is a refcounting
6615 problem somewhere and the pointer is stale and
6616 refers to an already destroyed miniobject).
6618 2005-11-03 Julien MOUTTE <julien@moutte.net>
6620 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
6622 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
6624 * docs/manual/advanced-position.xml:
6625 Update seek example and explanations to current 0.9 API.
6627 * gst/elements/gsttypefindelement.c:
6628 (gst_type_find_element_activate):
6629 Remove FIXME comment now that the found caps
6632 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
6634 * gst/gstregistryxml.c: (load_feature):
6635 Add another GST_STR_NULL instance
6637 2005-11-02 Edward Hervey <edward@fluendo.com>
6639 * gst/gstpad.c: (handle_pad_block):
6640 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
6642 2005-11-02 Wim Taymans <wim@fluendo.com>
6647 * gst/gstelement.c: (gst_element_commit_state):
6648 Remove unused value.
6650 * gst/gstiterator.c:
6651 Mention that the returned element is reffed in the docs.
6653 2005-11-02 Wim Taymans <wim@fluendo.com>
6655 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
6656 (gst_pad_push), (gst_pad_push_event):
6657 Unlock blocked pads when they are flushed.
6659 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
6662 * docs/gst/gstreamer-sections.txt:
6665 * gst/gstregistry.c: (gst_registry_scan_path_level):
6666 fix for a nasty little missed situation where an installed plug-in
6667 which was in the cache did not get overridden by an uninstalled one
6668 which was earlier in the plugin path because the newly created plugin
6669 for the uninstalled one (not in the registry) didn't get its
6670 ->registered set to TRUE
6672 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
6674 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
6675 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
6676 (gst_collectpads_is_active), (gst_collectpads_collect),
6677 (gst_collectpads_collect_range), (gst_collectpads_start),
6678 (gst_collectpads_stop), (gst_collectpads_peek),
6679 (gst_collectpads_pop), (gst_collectpads_available),
6680 (gst_collectpads_read), (gst_collectpads_flush):
6681 Guard public API with assertions.
6684 Fix docs for gst_pad_set_link_function().
6686 2005-11-02 Johan Dahlin <johan@gnome.org>
6688 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
6689 Unref found_caps after we used it.
6691 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
6693 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
6694 Don't try to ref NULL.
6696 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
6698 * win32/common/config.h.in:
6699 provide a GST_FUNCTION that just gives a string for now
6701 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
6703 * win32/common/gstenumtypes.c: (register_gst_object_flags),
6704 (gst_object_flags_get_type), (register_gst_bin_flags),
6705 (gst_bin_flags_get_type), (register_gst_buffer_flag),
6706 (gst_buffer_flag_get_type), (register_gst_bus_flags),
6707 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
6708 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
6709 (gst_clock_return_get_type), (register_gst_clock_entry_type),
6710 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
6711 (gst_clock_flags_get_type), (register_gst_state),
6712 (gst_state_get_type), (register_gst_state_change_return),
6713 (gst_state_change_return_get_type), (register_gst_state_change),
6714 (gst_state_change_get_type), (register_gst_element_flags),
6715 (gst_element_flags_get_type), (register_gst_core_error),
6716 (gst_core_error_get_type), (register_gst_library_error),
6717 (gst_library_error_get_type), (register_gst_resource_error),
6718 (gst_resource_error_get_type), (register_gst_stream_error),
6719 (gst_stream_error_get_type), (register_gst_event_type),
6720 (gst_event_type_get_type), (register_gst_seek_type),
6721 (gst_seek_type_get_type), (register_gst_seek_flags),
6722 (gst_seek_flags_get_type), (register_gst_format),
6723 (gst_format_get_type), (register_gst_index_certainty),
6724 (gst_index_certainty_get_type), (register_gst_index_entry_type),
6725 (gst_index_entry_type_get_type),
6726 (register_gst_index_lookup_method),
6727 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
6728 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
6729 (gst_index_resolver_method_get_type), (register_gst_index_flags),
6730 (gst_index_flags_get_type), (register_gst_debug_level),
6731 (gst_debug_level_get_type), (register_gst_debug_color_flags),
6732 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
6733 (gst_iterator_result_get_type), (register_gst_iterator_item),
6734 (gst_iterator_item_get_type), (register_gst_message_type),
6735 (gst_message_type_get_type), (register_gst_mini_object_flags),
6736 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
6737 (gst_pad_link_return_get_type), (register_gst_flow_return),
6738 (gst_flow_return_get_type), (register_gst_activate_mode),
6739 (gst_activate_mode_get_type), (register_gst_pad_direction),
6740 (gst_pad_direction_get_type), (register_gst_pad_flags),
6741 (gst_pad_flags_get_type), (register_gst_pad_presence),
6742 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
6743 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
6744 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
6745 (gst_plugin_error_get_type), (register_gst_plugin_flags),
6746 (gst_plugin_flags_get_type), (register_gst_rank),
6747 (gst_rank_get_type), (register_gst_query_type),
6748 (gst_query_type_get_type), (register_gst_tag_merge_mode),
6749 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
6750 (gst_tag_flag_get_type), (register_gst_task_state),
6751 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
6752 (gst_alloc_trace_flags_get_type),
6753 (register_gst_type_find_probability),
6754 (gst_type_find_probability_get_type), (register_gst_uri_type),
6755 (gst_uri_type_get_type), (register_gst_parse_error),
6756 (gst_parse_error_get_type):
6757 * win32/common/gstversion.h:
6760 2005-11-01 Luca Ognibene <luogni@tin.it>
6763 fix docs. popt is dead, long live GOption.
6765 2005-10-31 Wim Taymans <wim@fluendo.com>
6770 2005-10-31 Andy Wingo <wingo@pobox.com>
6774 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
6776 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
6777 need to serialize property notifications on GLib 2.8. GLib 2.6 has
6778 the possibility of deadlocks here if code calling notify() or
6779 set() has a lock that can be taken in another notify handler (ABBA
6780 with class lock and e.g. python GIL state lock).
6782 2005-10-28 Julien MOUTTE <julien@moutte.net>
6784 * gst/gstbus.c: Doc updates.
6786 2005-10-28 Wim Taymans <wim@fluendo.com>
6788 * docs/design/part-TODO.txt:
6789 * gst/gstiterator.c:
6790 * gst/gstsystemclock.c:
6791 * gst/gstsystemclock.h:
6794 2005-10-28 Edward Hervey <edward@fluendo.com>
6796 * docs/gst/gstreamer-docs.sgml:
6797 * docs/gst/gstreamer-sections.txt:
6798 the GstURIType documentation page is private, it only defines GstURIType
6799 which should be defined in the GstURIHandler page
6801 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
6803 * gst/gstbin.c: (gst_bin_class_init):
6806 Documentation updates.
6808 2005-10-28 Wim Taymans <wim@fluendo.com>
6810 * docs/gst/gstreamer-sections.txt:
6813 Documented the clocks.
6815 2005-10-28 Stefan Kost <ensonic@users.sf.net>
6817 * docs/gst/gstreamer-sections.txt:
6818 move some macros to private sections
6819 * gst/gstminiobject.c:
6820 * gst/gstminiobject.h:
6821 add descriptions provided by ds and some more
6823 mark macro as to be removed
6825 2005-10-28 Wim Taymans <wim@fluendo.com>
6827 * docs/design/part-TODO.txt:
6828 Add an item to TODO.
6830 * gst/gstiterator.c: (gst_iterator_fold),
6831 (gst_iterator_find_custom):
6832 * gst/gstiterator.h:
6835 2005-10-28 Wim Taymans <wim@fluendo.com>
6837 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6838 (gst_base_transform_init):
6841 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
6842 An EOS event marks the queue as completely filled.
6844 2005-10-27 Wim Taymans <wim@fluendo.com>
6846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6847 (gst_base_sink_do_sync), (gst_base_sink_get_position):
6848 Some more debugging.
6850 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
6851 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
6852 (gst_base_transform_event), (gst_base_transform_getrange),
6853 (gst_base_transform_chain):
6854 * gst/base/gstbasetransform.h:
6856 Protect transform and concurrent buffer alloc with a new lock.
6857 Try not to break ABI/API.
6859 2005-10-27 Wim Taymans <wim@fluendo.com>
6861 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6862 (gst_base_src_init), (gst_base_src_query),
6863 (gst_base_src_default_newsegment),
6864 (gst_base_src_configure_segment), (gst_base_src_do_seek),
6865 (gst_base_src_send_event), (gst_base_src_event_handler),
6866 (gst_base_src_pad_get_range), (gst_base_src_loop),
6867 (gst_base_src_unlock), (gst_base_src_default_negotiate),
6868 (gst_base_src_start), (gst_base_src_deactivate),
6869 (gst_base_src_activate_push), (gst_base_src_change_state):
6870 Move some stuff around and cleanup things.
6872 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
6874 * gst/base/gstbasesrc.c: (gst_base_src_query):
6875 Add missing break statements.
6877 2005-10-27 Wim Taymans <wim@fluendo.com>
6879 * check/gst/gstbin.c: (GST_START_TEST):
6880 An extra refcount is taken in basesrc.
6882 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6883 (gst_base_src_get_range), (gst_base_src_pad_get_range),
6884 (gst_base_src_loop):
6885 Small cleanups, check for flushing after being unlocked from the
6886 LIVE_LOCK. take refcounts correctly (not yet everywhere).
6887 Don't send out EOS when going to READY.
6889 2005-10-27 Wim Taymans <wim@fluendo.com>
6891 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6892 (gst_base_sink_get_position):
6895 * gst/gstbin.c: (message_check), (bin_replace_message),
6896 (bin_remove_messages), (is_eos), (gst_bin_add_func),
6897 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
6898 (bin_query_duration_init), (bin_query_duration_fold),
6899 (bin_query_duration_done), (bin_query_generic_fold),
6901 * tools/gst-launch.c: (main):
6904 2005-10-26 Stefan Kost <ensonic@users.sf.net>
6906 * examples/controller/audio-example.c: (main):
6907 * examples/queue/queue.c: (event_loop):
6908 * gst/base/gstbasetransform.h:
6909 * gst/gstelement.c: (gst_element_send_event):
6911 * gst/gstpad.c: (gst_pad_send_event):
6914 changing log priority in error situations
6916 2005-10-25 Wim Taymans <wim@fluendo.com>
6918 * gst/gstbin.c: (message_check), (bin_replace_message),
6919 (bin_remove_messages), (is_eos), (gst_bin_add_func),
6920 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
6921 (bin_query_duration_init), (bin_query_duration_fold),
6922 (bin_query_duration_done), (bin_query_generic_fold),
6924 Some doc and debug updates.
6925 Cache previously requested query DURATION for speed. invalidate
6926 cached duration if element posts a DURATION message.
6928 2005-10-25 Wim Taymans <wim@fluendo.com>
6930 * docs/design/part-TODO.txt:
6933 * gst/gstbin.c: (message_check), (bin_replace_message),
6934 (bin_remove_messages), (is_eos), (gst_bin_add_func),
6935 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
6936 (bin_query_duration_init), (bin_query_duration_fold),
6937 (bin_query_duration_done), (bin_query_generic_fold),
6939 Handle SEGMENT_START/DONE messages correctly.
6940 More evolved query algorithm that handles duration queries
6943 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
6944 (gst_element_get_state_func), (gst_element_abort_state),
6945 (gst_element_commit_state), (gst_element_lost_state):
6946 Some more debugging.
6951 2005-10-25 Wim Taymans <wim@fluendo.com>
6953 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
6954 Don't use invalid stream_time.
6956 * gst/gstevent.c: (gst_event_new_newsegment):
6957 stream_time in newsegment cannot be undefined.
6959 2005-10-24 Wim Taymans <wim@fluendo.com>
6964 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6966 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
6968 2005-10-24 Stefan Kost <ensonic@users.sf.net>
6970 * docs/libs/tmpl/gstdparam.sgml:
6971 * docs/libs/tmpl/gstdplinint.sgml:
6972 * docs/libs/tmpl/gstdpman.sgml:
6973 * docs/libs/tmpl/gstdpsmooth.sgml:
6974 * docs/libs/tmpl/gstunitconvert.sgml:
6977 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
6982 === release 0.9.4 ===
6984 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
6987 releasing 0.9.4, "Tyrannosaurus Rex"
6989 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
6991 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
6992 (gst_file_sink_get_current_offset):
6993 Use fseeko() and ftello() if available. When falling back on
6994 lseek() to get the current offset, fflush() first to make sure
6995 everything is up-to-date and we get the right offset.
6997 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
6999 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7000 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7001 * gst/gsterror.c: (_gst_stream_errors_init):
7003 * gst/gstqueue.c: (gst_queue_loop):
7005 remove prematurely added error category and clean up the instances
7007 2005-10-21 Wim Taymans <wim@fluendo.com>
7009 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7010 (gst_base_sink_get_position), (gst_base_sink_query),
7011 (gst_base_sink_change_state):
7012 Simply set the right flag when going to playing, that's all
7013 we need to do instead of calling a function inside the object
7014 lock (that could take the lock as well and deadlock)
7016 2005-10-21 Wim Taymans <wim@fluendo.com>
7018 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
7019 (gst_base_src_loop):
7020 Don't warn, the peer element knows what to do best when
7021 the seek failed, it might try something else.
7023 2005-10-21 Wim Taymans <wim@fluendo.com>
7025 * gst/base/gstbasesrc.c: (gst_base_src_init),
7026 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7029 2005-10-21 Wim Taymans <wim@fluendo.com>
7031 * docs/design/part-segments.txt:
7034 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7035 Correctly set caps, even on the subbufer.
7037 2005-10-21 Wim Taymans <wim@fluendo.com>
7039 * docs/gst/gstreamer-docs.sgml:
7040 * docs/gst/gstreamer-sections.txt:
7047 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
7051 And 2% more doc coverage.
7053 2005-10-21 Andy Wingo <wingo@pobox.com>
7055 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
7058 2005-10-20 Wim Taymans <wim@fluendo.com>
7060 * gst/gsterror.c: (gst_error_get_message):
7063 * gst/gststructure.c:
7068 2005-10-20 Wim Taymans <wim@fluendo.com>
7073 Another 1% more coverage.
7075 2005-10-20 Wim Taymans <wim@fluendo.com>
7077 * docs/gst/gstreamer-sections.txt:
7078 * gst/gstelement.c: (gst_element_get_state_func),
7079 (gst_element_abort_state), (gst_element_commit_state),
7080 (gst_element_lost_state):
7082 * gst/gstquery.c: (gst_query_set_position),
7083 (gst_query_parse_position), (gst_query_set_duration),
7084 (gst_query_parse_duration), (gst_query_new_convert):
7086 Yay! 1% more docs coverage.
7088 2005-10-20 Wim Taymans <wim@fluendo.com>
7091 * gst/gstquery.c: (gst_query_set_position),
7092 (gst_query_parse_position), (gst_query_set_duration),
7093 (gst_query_parse_duration), (gst_query_new_convert):
7095 * gst/gstutils.c: (gst_element_query_convert):
7097 Docs and consistency fixes.
7099 2005-10-20 Wim Taymans <wim@fluendo.com>
7105 2005-10-20 Wim Taymans <wim@fluendo.com>
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),
7110 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
7111 Reworked the message handling a bit, cache the messages instead of
7112 only the senders. alows us to do more in the future.
7114 2005-10-20 Wim Taymans <wim@fluendo.com>
7116 * docs/design/part-TODO.txt:
7119 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7120 (gst_base_sink_query):
7121 Don't use clock time to report position when in EOS.
7123 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
7125 * tools/gst-inspect.c: (print_interfaces),
7126 (print_element_properties_info), (print_element_info):
7127 Fix interface output with gst-inspect -a; don't print
7128 newlines after double/float properties.
7130 2005-10-20 Wim Taymans <wim@fluendo.com>
7132 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7133 (gst_base_sink_query):
7134 Speed up current position calculation.
7136 * gst/base/gstbasesrc.c: (gst_base_src_query),
7137 (gst_base_src_default_newsegment):
7138 Correctly set stream position in newsegment.
7140 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
7141 (update_degree), (gst_bin_sort_iterator_next),
7142 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
7143 * gst/gstmessage.c: (gst_message_new_custom):
7144 Clean up debugging info
7146 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7147 (gst_queue_loop), (gst_queue_handle_src_query):
7150 2005-10-19 Wim Taymans <wim@fluendo.com>
7152 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7153 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7154 Fix query handling again.
7156 2005-10-19 Wim Taymans <wim@fluendo.com>
7158 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7159 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7160 * gst/base/gstbasesrc.c: (gst_base_src_query):
7161 * gst/elements/gstfilesink.c: (gst_file_sink_query):
7162 * gst/elements/gsttypefindelement.c:
7163 (gst_type_find_handle_src_query), (find_element_get_length),
7164 (gst_type_find_element_activate):
7167 * gst/gstquery.c: (gst_query_new_position),
7168 (gst_query_set_position), (gst_query_parse_position),
7169 (gst_query_new_duration), (gst_query_set_duration),
7170 (gst_query_parse_duration), (gst_query_set_segment),
7171 (gst_query_parse_segment):
7173 Bundling query position/duration is not a good idea since duration
7174 does not change much and we don't want to recalculate it for every
7175 position query, so they are separated again..
7176 Base value in segment query is not needed.
7178 * gst/gstqueue.c: (gst_queue_handle_src_query):
7179 * gst/gstutils.c: (gst_element_query_position),
7180 (gst_element_query_duration), (gst_pad_query_position),
7181 (gst_pad_query_duration):
7183 Updates for query API change.
7184 Added some docs here and there.
7186 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
7188 * check/gst/gstbin.c: (GST_START_TEST):
7189 * check/gst/gstghostpad.c: (GST_START_TEST):
7190 * check/pipelines/cleanup.c: (GST_START_TEST):
7191 wait on thread to die so we can check refcount correctly
7193 2005-10-18 Wim Taymans <wim@fluendo.com>
7195 * check/pipelines/stress.c: (GST_START_TEST):
7196 Make check a little more time consuming.
7198 2005-10-18 Wim Taymans <wim@fluendo.com>
7200 * check/Makefile.am:
7201 * check/pipelines/stress.c: (GST_START_TEST),
7202 (simple_launch_lines_suite), (main):
7203 Small state change torture test.
7205 * docs/design/part-states.txt:
7206 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7207 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
7208 (gst_base_sink_change_state):
7209 Never take state lock from streaming thread, clean up ugly
7210 hacks. Unfortunatly core does not yet support nice ways to
7213 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
7215 Start state recalc if a STATE_DIRTY message is posted, but only
7216 on the toplevel bin.
7218 * gst/gstelement.c: (gst_element_sync_state_with_parent),
7219 (gst_element_get_state_func), (gst_element_abort_state),
7220 (gst_element_commit_state), (gst_element_lost_state),
7221 (gst_element_set_state_func), (gst_element_change_state):
7223 State variables are now protected with the LOCK, the state
7224 lock is only used to serialize _set_state().
7226 2005-10-18 Wim Taymans <wim@fluendo.com>
7228 * check/gst/gstbin.c: (GST_START_TEST):
7229 * check/gst/gstmessage.c: (GST_START_TEST):
7230 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
7231 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
7233 * gst/gstelement.c: (gst_element_abort_state),
7234 (gst_element_commit_state), (gst_element_lost_state):
7235 * gst/gstmessage.c: (gst_message_new_state_changed),
7236 (gst_message_new_state_dirty), (gst_message_new_segment_start),
7237 (gst_message_new_segment_done), (gst_message_new_duration),
7238 (gst_message_parse_state_changed),
7239 (gst_message_parse_segment_start),
7240 (gst_message_parse_segment_done), (gst_message_parse_duration):
7242 * tools/gst-launch.c: (event_loop):
7243 Seriously, this is better than a previous commit as we only need
7244 to notify the fact that an element changed state in a streaming
7245 thread, marking the state of the parents dirty, hence the
7246 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
7249 2005-10-18 Wim Taymans <wim@fluendo.com>
7251 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
7252 (gst_bin_recalc_func):
7253 * gst/gstelement.c: (gst_element_set_clock),
7254 (gst_element_abort_state), (gst_element_lost_state):
7255 Cleanups, prepare for state change fixes.
7257 2005-10-18 Wim Taymans <wim@fluendo.com>
7260 * gst/gstelement.c: (gst_element_class_init),
7261 (gst_element_set_state), (gst_element_set_state_func):
7263 Pending ABI changes.
7264 GThreadPool in GstBinClass to monitor async state changes.
7265 state_cookie in GstElement to detect concurrent gst/set state.
7266 set_state is now virtual too in case a very complicated element
7267 has to be constructed.
7269 2005-10-18 Wim Taymans <wim@fluendo.com>
7271 * check/gst/gstbin.c: (GST_START_TEST):
7272 * check/gst/gstmessage.c: (GST_START_TEST):
7273 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
7274 * gst/gstbin.c: (bin_bus_handler):
7275 * gst/gstelement.c: (gst_element_commit_state),
7276 (gst_element_lost_state):
7277 * gst/gstmessage.c: (gst_message_new_state_changed),
7278 (gst_message_new_segment_start), (gst_message_new_segment_done),
7279 (gst_message_new_duration), (gst_message_parse_state_changed),
7280 (gst_message_parse_segment_start),
7281 (gst_message_parse_segment_done), (gst_message_parse_duration):
7283 * tools/gst-launch.c: (event_loop):
7284 Make messages future proof.
7285 state-change gets a flag if it was a message comming from the
7287 segment-start/stop can also be specified in other formats.
7288 A message to notify an app that a pipeline changed playback
7290 Also fix a GstMessage leak in -launch
7292 2005-10-18 Andy Wingo <wingo@pobox.com>
7294 * gst/gstelement.c (gst_element_dispose): More helpful message.
7296 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
7298 reviewed by: <delete if not using a buddy>
7300 * common/gtk-doc.mak:
7302 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
7304 * gst/gstregistry.c: (gst_registry_scan_path_level):
7305 unref a plug-in we get that was already initialized
7307 2005-10-18 Stefan Kost <ensonic@users.sf.net>
7309 * docs/gst/gstreamer-sections.txt:
7310 * docs/libs/gstreamer-libs-sections.txt:
7315 2005-10-17 Andy Wingo <wingo@pobox.com>
7317 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
7320 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
7322 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
7324 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
7325 (gst_element_get_state_func): Better debug message.
7326 (gst_element_commit_state): s/INFO/DEBUG/.
7327 (gst_element_lost_state, gst_element_change_state):
7329 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
7330 (gst_message_new_custom): s/INFO/LOG/.
7332 2005-10-17 Michael Smith <msmith@fluendo.com>
7334 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7335 Check if end time is valid using end time, not start time.
7337 2005-10-17 Stefan Kost <ensonic@users.sf.net>
7339 * check/gst-libs/controller.c: (GST_START_TEST),
7340 (gst_controller_suite):
7341 * libs/gst/controller/gstcontroller.c:
7342 (gst_controlled_property_set_interpolation_mode):
7343 * libs/gst/controller/gstcontroller.h:
7344 * libs/gst/controller/gstinterpolation.c:
7345 * testsuite/controller/.cvsignore:
7346 * testsuite/controller/Makefile.am:
7347 * testsuite/controller/interpolator.c:
7348 merge controller testsuites
7350 remove mem-chunk from docs
7352 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
7354 * gst/gstmemchunk.c:
7355 * gst/gstmemchunk.h:
7356 * gst/gsttrashstack.c:
7357 * gst/gsttrashstack.h:
7358 out. get out. you're fired. to the Attic !
7360 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
7362 * gst/gstcaps.c: (gst_caps_intersect):
7363 fix signedness issues in a (hopefully) correct way
7364 * gst/gstelement.c: (gst_element_pads_activate):
7366 * gst/gstobject.c: (gst_object_set_parent):
7369 2005-10-17 Julien MOUTTE <julien@moutte.net>
7371 * gst/gstvalue.h: Fix prototypes.
7373 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7375 * docs/gst/gstreamer-sections.txt:
7376 * gst/gst.c: (gst_version_string):
7378 * gst/gstversion.h.in:
7379 * win32/common/libgstreamer.def:
7380 add gst_version_string ()
7382 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7386 * gst/gst.c: (init_post):
7387 * win32/common/config.h.in:
7389 * gst/gstcaps.c: (gst_caps_intersect):
7390 use gint64, the range could be bigger than a guint
7392 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7395 document potential problem in 2038
7397 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7399 * gst/gstcaps.c: (gst_caps_intersect):
7400 Fix guint j diving under 0
7402 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7405 * win32/common/config.h:
7406 * win32/common/config.h.in:
7407 check for process.h, declares getpid() on Windows
7409 include process.h if we have it
7410 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
7411 * gst/gstmemchunk.h:
7412 fix signedness issues
7413 * win32/common/libgstreamer.def:
7416 2005-10-16 Julien MOUTTE <julien@moutte.net>
7418 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
7419 fix. Because of unsigned ints, caps intersection was going nuts and
7420 trying to access structures with G_MAXUINT index. That fixes
7421 videotestsrc ! ffmpegcolorspace ! fakesink
7422 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
7425 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7428 use the gettext macro
7429 * gst/elements/gstelements.c:
7431 * gst/indexers/gstindexers.c:
7432 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
7433 * win32/common/config.h:
7435 * win32/common/config.h.in:
7436 add the template to generate config.h
7437 * win32/common/gstenumtypes.c:
7438 * win32/common/gstversion.h:
7441 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
7443 * gst/gst.c: (gst_version):
7444 * gst/gstversion.h.in:
7447 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
7450 Oops, add missing closing bracket.
7452 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7455 use common m4's for argument checking
7457 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
7459 * docs/gst/gstreamer-sections.txt:
7461 Add GST_EVENT_TYPE_NAME() macro.
7463 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7466 * gst/gstpluginfeature.c:
7468 privatize more symbols
7470 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7473 add srcdir, builddir includes to GST_ALL_CFLAGS, since
7474 everything that uses GStreamer API should have the includes
7476 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7478 * docs/gst/gstreamer-sections.txt:
7479 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7481 give each value a _get_type, removes the DATA exports
7483 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7487 remove _gst_registry_auto_load, not used anymore
7488 * gst/gstbin.c: (gst_bin_get_type):
7490 * gst/gstelement.c: (gst_element_get_type):
7492 * gst/gstobject.c: (gst_object_get_type):
7494 * gst/gstpad.c: (gst_pad_get_type):
7496 make _get_type functions similar, fixes data export from library
7498 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7501 correctly make conditionals
7502 * gst/elements/Makefile.am:
7503 * gst/elements/gstelements.c:
7504 fix typo causing fdsrc not to build
7506 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7508 * testsuite/Makefile.am:
7509 * testsuite/bytestream/.cvsignore:
7510 * testsuite/bytestream/Makefile.am:
7511 * testsuite/bytestream/filepadsink.c:
7512 * testsuite/bytestream/gstbstest.c:
7513 * testsuite/bytestream/test1.c:
7514 * testsuite/bytestream/testfile1:
7515 * testsuite/caps/normalisation.c:
7516 * testsuite/caps/random.c: (main):
7517 * testsuite/cleanup/.cvsignore:
7518 * testsuite/cleanup/Makefile.am:
7519 * testsuite/cleanup/cleanup1.c:
7520 * testsuite/cleanup/cleanup2.c:
7521 * testsuite/cleanup/cleanup3.c:
7522 * testsuite/cleanup/cleanup4.c:
7523 * testsuite/cleanup/cleanup5.c:
7524 * testsuite/controller/interpolator.c:
7525 * testsuite/debug/printf_extension.c: (main):
7526 * testsuite/elements/tee.c:
7527 * testsuite/negotiation/.cvsignore:
7528 * testsuite/negotiation/Makefile.am:
7529 * testsuite/negotiation/pad_link.c:
7530 * testsuite/pad/Makefile.am:
7531 * testsuite/pad/chainnopull.c:
7532 * testsuite/pad/getnopush.c:
7533 * testsuite/pad/link.c:
7534 * testsuite/refcounting/sched.c: (create_pipeline):
7535 * testsuite/registry/Makefile.am:
7536 * testsuite/registry/gst-print-formats.c:
7537 * testsuite/schedulers/.cvsignore:
7538 * testsuite/schedulers/142183-2.c:
7539 * testsuite/schedulers/142183.c:
7540 * testsuite/schedulers/143777-2.c:
7541 * testsuite/schedulers/143777.c:
7542 * testsuite/schedulers/147713.c:
7543 * testsuite/schedulers/147819.c:
7544 * testsuite/schedulers/147894-2.c:
7545 * testsuite/schedulers/147894.c:
7546 * testsuite/schedulers/Makefile.am:
7547 * testsuite/schedulers/group_link.c:
7548 * testsuite/schedulers/queue_link.c:
7549 * testsuite/schedulers/relink.c:
7550 * testsuite/schedulers/unlink.c:
7551 * testsuite/schedulers/unref.c:
7552 * testsuite/schedulers/useless_iteration.c:
7553 * testsuite/states/bin.c:
7554 clean out/remove some stuff from the testsuite directories
7556 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7559 check for some headers
7560 * gst/elements/Makefile.am:
7561 * gst/elements/gstelements.c:
7562 don't compile fdsrc without sys/socket.h
7563 * gst/indexers/Makefile.am:
7564 * gst/indexers/gstindexers.c: (plugin_init):
7565 don't compile fileindex without mmap
7567 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
7574 * check/Makefile.am:
7575 * docs/gst/Makefile.am:
7576 * examples/helloworld/Makefile.am:
7578 * gst/base/Makefile.am:
7579 * gst/check/Makefile.am:
7580 * gst/elements/Makefile.am:
7581 * gst/indexers/Makefile.am:
7582 * gst/parse/Makefile.am:
7583 * libs/gst/controller/Makefile.am:
7584 * libs/gst/dataprotocol/Makefile.am:
7585 * examples/helloworld/helloworld.c: (event_loop):
7586 compile fixes, though it's not being compiled currently
7588 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
7590 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
7591 Add some simple tests for the new taglist date API.
7593 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
7595 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
7596 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
7597 Beautify 'last-message' output: print 'none' for buffer timestamps
7598 and durations if none is set; improve alignment with next messages.
7600 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
7602 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
7603 * gst/gstpluginfeature.h:
7604 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
7605 * gst/gstregistry.h:
7606 * docs/gst/gstreamer-sections.txt:
7607 Add new API to check plugin feature version requirements.
7609 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
7610 Some basic tests for the above.
7612 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7614 * gst/gststructure.c: (gst_structure_to_string):
7615 guard against NULL printf - happens when for example
7616 a message structure with GstClock gets serialized
7618 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
7620 * gst/base/gstcollectpads.c: (gst_collectpads_event):
7621 Fix presumable copy'n'pasto.
7623 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7625 * gst/elements/gstfakesrc.h:
7626 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
7627 * gst/elements/gsttypefindelement.c:
7629 * gst/elements/gstfilesink.c: (gst_file_sink_render):
7630 I wonder if this could actually write +2GB files before
7632 2005-10-13 Andy Wingo <wingo@pobox.com>
7634 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
7635 Fix Timmeke Waymans bug.
7636 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
7637 string of the proper length to gst_caps_from_string. There's a
7638 potential for, before this fix, that this could cause someone
7639 connecting over the network to cause a segfault if the payload is
7642 2005-10-13 Stefan Kost <ensonic@users.sf.net>
7644 * docs/design/draft-push-pull.txt:
7645 * docs/design/part-overview.txt:
7646 * docs/random/TODO-pre-0.9:
7647 * docs/random/old/ChangeLog.gstreamer:
7648 * gst/base/gstpushsrc.c:
7652 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7654 * gst/glib-compat.c: (gst_flags_get_first_value):
7655 * gst/glib-compat.h:
7656 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
7657 (gst_value_compare_double), (gst_value_serialize_flags):
7658 GLib 2.6 g_flags_get_first_value has a bug that triggers an
7661 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7663 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7664 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7666 * tools/gst-launch.c: (event_loop):
7667 print out clock nicely
7669 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
7671 * docs/gst/gstreamer-sections.txt:
7673 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
7674 (gst_tag_list_get_date_index):
7675 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
7676 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
7678 2005-10-13 Julien MOUTTE <julien@moutte.net>
7680 * gst/base/gstcollectpads.c: (gst_collectpads_event),
7681 (gst_collectpads_chain):
7682 * gst/base/gstcollectpads.h: Handle newsegment and store informations
7685 2005-10-13 Stefan Kost <ensonic@users.sf.net>
7687 * docs/gst/gstreamer-sections.txt:
7690 * tools/gst-inspect.c: (main):
7691 * tools/gst-launch.c: (main):
7692 * tools/gst-run.c: (main):
7693 * tools/gst-xmlinspect.c: (main):
7694 fix GOption context leaks
7697 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
7701 * win32/common/config.h:
7703 * win32/vs6/grammar.dsp:
7704 * win32/vs6/libgstelements.dsp:
7705 * win32/vs6/libgstreamer.dsp:
7708 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
7710 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7711 * gst/base/gstbasesrc.c: (gst_base_src_query):
7712 fix more guint64<->gdouble conversions
7714 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
7717 add win32-update target
7718 * win32/common/gstconfig.h:
7719 * win32/common/gstenumtypes.c:
7720 * win32/common/gstenumtypes.h:
7721 * win32/common/gstversion.h:
7722 add files that visual studio can't generate
7724 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
7727 add a win32-update target
7730 2005-10-12 Wim Taymans <wim@fluendo.com>
7732 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7733 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
7734 * gst/gstelement.c: (gst_element_commit_state),
7735 (gst_element_set_state):
7736 Protect flags with proper lock.
7737 unref provided cached clock in dispose.
7739 2005-10-12 Stefan Kost <ensonic@users.sf.net>
7742 * gst/gstminiobject.h:
7744 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
7745 removed unused flags from miniobject
7748 2005-10-12 Wim Taymans <wim@fluendo.com>
7750 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
7751 (gst_file_sink_event), (gst_file_sink_render):
7752 Flush before seeking.
7754 2005-10-12 Andy Wingo <wingo@pobox.com>
7756 * gst/gst.c (gst_init_check): Ignore unknown options, as has
7757 always been the case.
7759 2005-10-12 Stefan Kost <ensonic@users.sf.net>
7761 * check/gst/gstbin.c: (GST_START_TEST):
7762 * docs/gst/gstreamer-sections.txt:
7763 * gst/base/gstbasesink.c: (gst_base_sink_init):
7764 * gst/base/gstbasesrc.c: (gst_base_src_init),
7765 (gst_base_src_get_range), (gst_base_src_check_get_range),
7766 (gst_base_src_start), (gst_base_src_stop):
7767 * gst/base/gstbasesrc.h:
7768 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
7769 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7770 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
7774 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
7776 * gst/gstelement.c: (gst_element_is_locked_state),
7777 (gst_element_set_locked_state), (gst_element_commit_state),
7778 (gst_element_set_state):
7780 * gst/gstindex.c: (gst_index_init):
7782 * gst/gstminiobject.h:
7783 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
7784 (gst_object_set_parent):
7786 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
7787 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
7789 * gst/gstpadtemplate.h:
7790 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
7791 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7792 * gst/gstpipeline.h:
7793 * gst/indexers/gstfileindex.c: (gst_file_index_load),
7794 (gst_file_index_commit):
7795 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
7796 * testsuite/pad/link.c: (gst_test_src_init),
7797 (gst_test_filter_init), (gst_test_sink_init):
7798 * testsuite/states/locked.c: (main):
7799 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
7800 moved bitshift from macro to enum definition
7802 2005-10-12 Wim Taymans <wim@fluendo.com>
7804 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
7805 * gst/elements/gstfilesink.c: (gst_file_sink_event),
7806 (gst_file_sink_render):
7807 Some more debugging info.
7809 2005-10-12 Wim Taymans <wim@fluendo.com>
7811 * docs/design/part-states.txt:
7812 * tools/gst-launch.c: (main):
7814 Revert non-intentional change.
7816 2005-10-12 Wim Taymans <wim@fluendo.com>
7818 * check/gst/gstbin.c: (GST_START_TEST):
7819 * check/gst/gstelement.c: (GST_START_TEST):
7820 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
7821 * check/gst/gstghostpad.c: (GST_START_TEST):
7822 * check/gst/gstpipeline.c: (GST_START_TEST):
7823 * check/pipelines/simple_launch_lines.c: (run_pipeline):
7824 * check/states/sinks.c: (GST_START_TEST):
7825 * gst/elements/gsttypefindelement.c: (stop_typefinding):
7826 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7827 (gst_bin_remove_func), (gst_bin_get_state_func),
7828 (gst_bin_recalc_state), (gst_bin_change_state_func),
7830 * gst/gstelement.c: (gst_element_get_state_func),
7831 (gst_element_get_state), (gst_element_abort_state),
7832 (gst_element_commit_state), (gst_element_set_state),
7833 (gst_element_change_state), (gst_element_change_state_func):
7835 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
7836 (gst_pipeline_provide_clock_func):
7837 * gst/gstutils.c: (gst_element_link_pads_filtered):
7838 * tools/gst-launch.c: (main):
7839 * tools/gst-typefind.c: (main):
7840 Use GstClockTime in _get_state() instead of GTimeVal.
7841 Remove old code in gstutils.c
7843 2005-10-12 Andy Wingo <wingo@pobox.com>
7845 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
7848 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
7849 there is no task. Shouldn't affect any code, as nothing in our
7850 plugins checks this return value.
7851 (gst_pad_stop_task): Also take the stream lock if the pad has no
7854 2005-10-12 Wim Taymans <wim@fluendo.com>
7856 * gst/gstpad.c: (pre_activate), (post_activate),
7857 (gst_pad_activate_pull), (gst_pad_activate_push):
7858 Cleanup activation code. Reset old state if
7861 2005-10-12 Wim Taymans <wim@fluendo.com>
7863 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7864 (gst_base_sink_change_state):
7865 No need to prerol after receiving EOS.
7867 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7868 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
7869 * gst/elements/gstidentity.c: (gst_identity_event):
7870 Print events more verbosely.
7872 2005-10-12 Wim Taymans <wim@fluendo.com>
7874 * check/Makefile.am:
7875 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7876 * check/states/sinks2.c:
7877 Moved sinks2 testcode in sinks check.
7879 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7880 (gst_bin_remove_func), (gst_bin_recalc_state),
7881 (gst_bin_change_state_func), (bin_bus_handler):
7882 Fix potential race condition when _get_state() iterated over an
7883 ASYNC element right before it posted a state completion.
7886 Do proper cast here.
7888 * gst/gstevent.c: (gst_event_new_newsegment),
7889 (gst_event_parse_newsegment):
7890 A playback rate of 0.0 is not allowed.
7892 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
7894 * win32/common/config.h:
7895 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
7896 (_trewinddir), (_ttelldir), (_tseekdir):
7897 * win32/common/dirent.h:
7898 * win32/common/gtchar.h:
7899 * win32/common/libgstbase.def:
7900 * win32/common/libgstreamer.def:
7901 * win32/vs6/grammar.dsp:
7902 * win32/vs6/gst_inspect.dsp:
7903 * win32/vs6/gst_launch.dsp:
7904 * win32/vs6/gstreamer.dsw:
7905 * win32/vs6/libgstbase.dsp:
7906 * win32/vs6/libgstelements.dsp:
7907 * win32/vs6/libgstreamer.dsp:
7908 Visual Studio 6 project files, and a new common directory.
7911 2005-10-11 Wim Taymans <wim@fluendo.com>
7913 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7914 (gst_base_sink_do_sync), (gst_base_sink_query),
7915 (gst_base_sink_change_state):
7916 * gst/base/gstbasesink.h:
7917 Correctly parse newsegment info.
7919 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
7921 * gst/gst.c: (init_post):
7922 split plugin paths correctly
7924 2005-10-11 Wim Taymans <wim@fluendo.com>
7926 * check/gst/gstevent.c: (GST_START_TEST):
7927 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7928 (gst_base_sink_change_state):
7929 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
7930 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7931 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7932 * gst/gstevent.c: (gst_event_new_newsegment),
7933 (gst_event_parse_newsegment):
7935 Added extra flag to newsegment for future API freeze.
7936 Updated check and base elements.
7938 2005-10-11 Julien MOUTTE <julien@moutte.net>
7940 * gst/base/gstcollectpads.c: (gst_collectpads_init),
7941 (gst_collectpads_add_pad), (gst_collectpads_pop),
7942 (gst_collectpads_event), (gst_collectpads_chain):
7943 * gst/base/gstcollectpads.h: Handle EOS correctly.
7945 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
7947 * tools/gst-launch.c: (main):
7948 more null protecting
7950 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
7952 * gst/gst-i18n-lib.h:
7953 check for ENABLE_NLS, not GETTEXT_PACKAGE
7954 * gst/gstregistry.c: (gst_registry_add_plugin),
7955 (gst_registry_scan_path_level),
7956 (_gst_registry_remove_cache_plugins):
7957 protect possibly NULL strings
7958 * gst/parse/types.h:
7959 config.h already included before
7960 * tools/gst-inspect.c: (main):
7961 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
7962 check for ENABLE_NLS, not GETTEXT_PACKAGE
7963 * tools/gst-launch.c: (main):
7964 check for ENABLE_NLS, not GETTEXT_PACKAGE
7966 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
7969 if we don't have glib, fail before testing 2.8
7970 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
7971 fix a leak, should fix plugins-base testsuite
7973 2005-10-11 Andy Wingo <wingo@pobox.com>
7975 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
7976 take the mode we're going to as an arg. Go head and set the mode
7977 and flushing flags now, so that if the activate function starts a
7978 thread all the flags will be in the right state.
7979 (post_activate): Renamed also. Just handle making sure streaming
7980 finishes for the deactivation case, and setting the deactivated
7982 (gst_pad_set_active): Complain loudly if deactivation fails.
7983 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
7984 (gst_pad_activate_push): Adapt to pre/post_activate changes,
7985 remove the terrible hack.
7987 2005-10-11 Wim Taymans <wim@fluendo.com>
7989 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
7990 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
7991 (gst_bin_recalc_state), (gst_bin_change_state_func),
7992 (gst_bin_dispose), (bin_bus_handler):
7994 Prepare to make current EOS message queue more generic.
7997 * gst/gstevent.c: (gst_event_new_newsegment),
7998 (gst_event_parse_newsegment):
8000 Rename base to stream_time.
8005 2005-10-11 Wim Taymans <wim@fluendo.com>
8007 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8008 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
8009 (gst_bin_change_state_func), (bin_bus_handler):
8011 Work on proper clock selection.
8013 2005-10-11 Edward Hervey <edward@fluendo.com>
8015 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
8016 * libs/gst/controller/gstcontroller.h:
8017 Added GList* version of _remove_properties() in order to be able to wrap
8020 2005-10-11 Wim Taymans <wim@fluendo.com>
8022 * docs/design/part-states.txt:
8025 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
8026 (gst_bin_change_state_func), (bin_bus_handler):
8027 Doc updates. Don't distribute the same clock over and over again.
8033 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
8034 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
8035 (gst_pad_send_event):
8037 Make probe emission threadsafe again.
8038 Register quarks and move _get_name() from utils.
8041 * gst/gstpipeline.c: (gst_pipeline_class_init),
8042 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8043 Only redistribute the clock of it changed.
8045 * gst/gstsystemclock.h:
8050 Moved the _flow_get_name() to GstPad.
8052 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8054 * check/gst-libs/gdp.c: (GST_START_TEST):
8055 * check/gst/gstcaps.c: (GST_START_TEST):
8056 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
8057 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
8058 (gst_dp_packet_from_caps):
8059 fix more valgrind warnings before turning up the heat
8061 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8063 * gst/parse/grammar.y:
8064 some cleanup before the hacking
8066 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8068 * gst/base/gstbasesrc.c: (gst_base_src_query):
8070 * gst/gstutils.c: (gst_guint64_to_gdouble),
8071 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
8073 externalize, basesrc uses it
8074 obviously the implementation needs testing
8076 2005-10-10 Wim Taymans <wim@fluendo.com>
8078 * tests/sched/Makefile.am:
8079 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
8080 (make_pipeline3), (make_pipeline4), (print_elem), (main):
8082 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8084 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
8085 apparently converting from guint64 to double is not implemented
8088 2005-10-10 Wim Taymans <wim@fluendo.com>
8090 * check/Makefile.am:
8091 * check/generic/states.c: (GST_START_TEST):
8092 * check/gst/gstbin.c: (GST_START_TEST):
8093 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8094 * check/states/sinks.c: (GST_START_TEST):
8095 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
8097 Check fixes, use API as stated in design docs, remove hacks.
8099 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8100 (gst_base_sink_change_state):
8101 Catch stopping our task while we're shutting down.
8103 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8104 (gst_bin_remove_func), (gst_bin_get_state_func),
8105 (gst_bin_recalc_state), (gst_bin_change_state_func),
8108 * gst/gstelement.c: (gst_element_init),
8109 (gst_element_get_state_func), (gst_element_abort_state),
8110 (gst_element_commit_state), (gst_element_lost_state),
8111 (gst_element_set_state), (gst_element_change_state),
8112 (gst_element_change_state_func):
8114 New state change algorithm (see #318116)
8116 * gst/gstpipeline.c: (gst_pipeline_class_init),
8117 (gst_pipeline_init), (gst_pipeline_set_property),
8118 (gst_pipeline_get_property), (do_pipeline_seek),
8119 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8120 * gst/gstpipeline.h:
8121 Remove crude state change hacks.
8126 * tools/gst-launch.c: (main):
8127 Fixes for state change. Needs some more work to fully use the
8130 2005-10-10 Andy Wingo <wingo@pobox.com>
8132 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
8134 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
8135 this flag, but it's not even in GLib 2.6. Odd. Hack around the
8138 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8140 * gst/gstiterator.c: (gst_iterator_new):
8141 Fix my previous commit: GTypes passed to gst_iterator_new()
8142 can be fundamental types.
8144 2005-10-10 Wim Taymans <wim@fluendo.com>
8146 * gst/gstelement.c: (gst_element_iterate_pad_list),
8147 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
8148 (gst_element_iterate_sink_pads):
8149 Use src/sink pads lists for the respective iterators instead
8152 2005-10-10 Andy Wingo <wingo@pobox.com>
8154 Merged in popt removal + GOption addition patch from Ronald, bug
8157 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
8158 GstElement macros around, remove popt-related symbols, add goption
8161 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
8163 * docs/gst/Makefile.am:
8164 * docs/libs/Makefile.am: No POPT_CFLAGS.
8166 * examples/manual/Makefile.am:
8167 * docs/manual/basics-init.xml: Doc updates with an example.
8169 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8170 (gst_init), (parse_one_option), (parse_goption_arg):
8171 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
8172 bit of hand merging and debugging to get the GOption stuff working
8175 * tests/Makefile.am:
8176 * tools/Makefile.am:
8177 * tools/gst-inspect.c: (main):
8178 * tools/gst-launch.c: (main):
8179 * tools/gst-run.c: (main):
8180 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
8182 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8184 * gst/gstiterator.c: (gst_iterator_new):
8185 Add assertions to make sure passed GType is likely to really
8186 be a GType (as the compiler won't catch it if the size and
8187 GType arguments get mixed up, see #318447).
8189 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
8191 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8193 * gst/gstbin.c: (gst_bin_iterate_sorted):
8194 Pass GType and size arguments to gst_iterator_new() in the right
8195 order (maybe we should make _new() take the GType as first argument
8196 just like _new_list()?) (#318447).
8199 2005-10-10 Wim Taymans <wim@fluendo.com>
8201 * gst/gstelement.c: (gst_element_finalize):
8202 And free the GStaticRecMutex too
8204 2005-10-10 Andy Wingo <wingo@pobox.com>
8206 * gst/gstelement.c (gst_element_init, gst_element_finalize):
8207 Allocate and free the mutex properly.
8209 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
8211 (GstElement): The state_lock is now recursive. Rebuild your
8212 plugins, suckers. Old macros adapted.
8214 * docs/gst/gstreamer-sections.txt: Doc updates.
8217 * gst/gstutils.c (g_static_rec_cond_timed_wait)
8218 (g_static_rec_cond_wait): Ported from state changes patch, while
8219 we wait on bug #317802 to be solved in a well-distributed GLib.
8221 * gst/gstelement.c (gst_element_change_state_func): Renamed from
8222 gst_element_change_state, variable name changes.
8223 (gst_element_change_state): Split out of gst_element_set_state in
8224 preparation for the state change merge. Doesn't pay attention to
8225 the 'transition' argument.
8226 (gst_element_set_state): Updates, hopefully purely cosmetic.
8227 (gst_element_sync_state_with_parent): MT-safety. Ported from the
8229 (gst_element_get_state_func): Renamed from get_state, cosmetic
8232 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8234 * gst/elements/gstelements.c:
8235 * win32/GStreamer.vcproj:
8237 * win32/dirent.c: (_tseekdir):
8238 * win32/gst-inspect.vcproj:
8239 * win32/gst-launch.vcproj:
8240 * win32/gstconfig.h:
8241 * win32/gstelements.vcproj:
8242 * win32/gstenumtypes.c: (gst_object_flags_get_type):
8243 * win32/gstreamer.def:
8245 updates for the win32 build (patch from Sebastien Moutte)
8247 2005-10-10 Andy Wingo <wingo@pobox.com>
8249 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
8250 gst_bin_get_state, cleaned up (but no logic changes).
8251 (bin_element_is_sink): Comment updates.
8252 (sink_iterator_filter): Remove needless cast.
8253 (gst_bin_iterate_sinks): Doc update.
8254 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
8255 cleaned up (but no logic changes).
8257 * check/states/sinks.c (test_src_sink): Cleanups from the state
8259 (test_livesrc_sink): Sync on the state.
8261 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
8262 the state change patch.
8264 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
8267 * check/gst/gstbin.c: Merge in some style fixes and additional
8268 checks from Wim's state change patch.
8270 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8272 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8273 (gst_type_find_helper):
8274 Check whether we have the requested data already in our list of
8275 cached buffers before pulling a new buffer; also make the buffer
8276 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
8278 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8283 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8284 don't use long long, it's not portable. Replacing with
8285 gint64 seems to work; let's hope no skeletons fall out of the closet.
8287 2005-10-10 Andy Wingo <wingo@pobox.com>
8289 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
8291 2005-10-09 Stefan Kost <ensonic@users.sf.net>
8293 * docs/gst/gstreamer-sections.txt:
8298 * gst/gstmessage.c: (gst_message_parse_state_changed):
8301 more docs, fix compilation
8303 2005-10-09 Philippe Khalaf <burger@speedy.org>
8305 Fixed a few forgotten variables on previous commit
8307 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
8309 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8310 Fix evil typefind crasher: getrange() might return a short
8311 buffer at the end of a file, but gst_type_find_peek() must
8312 either return the full data as requested or NULL, but
8313 never a short buffer.
8315 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
8317 * gst/gstmessage.c: (gst_message_new_state_changed),
8318 (gst_message_parse_state_changed):
8320 don't use "new", it's a C++ keyword
8322 2005-10-08 Wim Taymans <wim@fluendo.com>
8324 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
8325 * gst/gstelement.c: (gst_element_post_message):
8326 * gst/gstpipeline.c: (gst_pipeline_change_state):
8327 Small docs and debug updates.
8329 2005-10-08 Stefan Kost <ensonic@users.sf.net>
8331 * docs/gst/gstreamer-sections.txt:
8332 * gst/gstelementfactory.c:
8337 2005-10-08 Wim Taymans <wim@fluendo.com>
8339 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
8340 (gst_bin_dispose), (bin_bus_handler):
8341 Fix typos, add comments.
8342 Clear EOS list when going to PAUSED from any direction and do it
8343 in a threadsafe way.
8344 Get base time in a threadsafe way too.
8345 Fix confusing debug in the change_state function.
8346 Various other small cleanups.
8348 * gst/gstelement.c: (gst_element_post_message):
8349 Fix very verbose bus posting code.
8351 * gst/gstpipeline.c: (gst_pipeline_class_init),
8352 (gst_pipeline_set_property), (gst_pipeline_get_property),
8353 (gst_pipeline_change_state):
8354 Small ARG_ -> PROP_ cleanup
8356 2005-10-08 Wim Taymans <wim@fluendo.com>
8358 * gst/gstbin.c: (is_eos), (bin_bus_handler):
8359 Do a less CPU demanding EOS check because we can.
8361 2005-10-08 Wim Taymans <wim@fluendo.com>
8363 * libs/gst/dataprotocol/dataprotocol.c:
8364 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8365 (gst_dp_packet_from_event):
8366 * libs/gst/dataprotocol/dataprotocol.h:
8367 * libs/gst/dataprotocol/dp-private.h:
8368 It's about time we bump the version number.
8369 Since event types don't fit in the guint8 anymore describing
8370 the payload type, make payload type 16 bits wide.
8372 2005-10-08 Wim Taymans <wim@fluendo.com>
8374 * docs/design/part-TODO.txt:
8375 * docs/design/part-clocks.txt:
8376 * docs/design/part-events.txt:
8377 * docs/design/part-gstbin.txt:
8378 * docs/design/part-gstelement.txt:
8379 * docs/design/part-gstpipeline.txt:
8380 * docs/design/part-live-source.txt:
8381 * docs/design/part-messages.txt:
8382 * docs/design/part-overview.txt:
8383 * docs/design/part-states.txt:
8386 2005-10-08 Wim Taymans <wim@fluendo.com>
8390 Fix event quark registration.
8391 Add some space between events so we can insert them in the
8394 2005-10-08 Wim Taymans <wim@fluendo.com>
8396 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8397 (gst_base_sink_handle_buffer):
8404 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8405 (gst_queue_set_property), (gst_queue_get_property):
8407 Remove old unused properties.
8409 2005-10-08 Stefan Kost <ensonic@users.sf.net>
8410 * docs/gst/gstreamer-sections.txt:
8413 * gst/gstminiobject.c:
8414 * gst/gstminiobject.h:
8418 lots of new docs and doc fixes
8420 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8422 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
8424 * gst/gstregistry.c: (gst_registry_lookup_locked),
8425 (gst_registry_scan_path_level):
8426 * gst/gstregistryxml.c: (load_plugin):
8427 Only ever load one plugin for a given plugin basename.
8428 This ensures correct overriding of GST_PLUGIN_PATH over
8429 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
8430 system installed plugins.
8432 2005-10-08 Wim Taymans <wim@fluendo.com>
8434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8435 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
8436 Prepare for doing QOS.
8438 2005-10-08 Wim Taymans <wim@fluendo.com>
8440 * check/gst/gstbin.c: (GST_START_TEST):
8441 * check/pipelines/cleanup.c: (GST_START_TEST):
8442 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8443 Allow new clock message too.
8445 2005-10-08 Wim Taymans <wim@fluendo.com>
8447 * gst/gstmessage.c: (gst_message_new_error),
8448 (gst_message_new_warning), (gst_message_new_tag),
8449 (gst_message_new_state_changed), (gst_message_new_clock_provide),
8450 (gst_message_new_clock_lost), (gst_message_new_new_clock),
8451 (gst_message_new_segment_start), (gst_message_new_segment_done),
8452 (gst_message_parse_state_changed),
8453 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
8454 (gst_message_parse_new_clock):
8456 Also carry the clock in question.
8458 2005-10-08 Wim Taymans <wim@fluendo.com>
8460 * gst/gstmessage.c: (gst_message_new_custom),
8461 (gst_message_new_eos), (gst_message_new_error),
8462 (gst_message_new_warning), (gst_message_new_tag),
8463 (gst_message_new_state_changed), (gst_message_new_clock_provide),
8464 (gst_message_new_new_clock), (gst_message_new_segment_start),
8465 (gst_message_new_segment_done), (gst_message_parse_state_changed),
8466 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
8469 Added clock related messages.
8471 * gst/gstpipeline.c: (gst_pipeline_change_state):
8472 Post message when the clock changed.
8474 * tools/gst-launch.c: (event_loop):
8477 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
8479 * tools/gst-inspect.c: (print_element_properties_info):
8480 Can't pass NULL strings to g_print() on windows.
8482 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8485 * docs/gst/Makefile.am:
8486 * docs/gst/gstreamer-docs.sgml:
8487 * docs/gst/running.xml:
8488 * docs/version.entities.in:
8489 add a chapter on running GStreamer.
8490 document GST_DEBUG and GST_PLUGIN* env vars
8492 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8497 remove PLUGINS_BUILDDIR stuff
8498 * gst/gst.c: (init_post):
8499 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
8501 remove, it was condescending and not needed
8503 2005-10-08 Wim Taymans <wim@fluendo.com>
8505 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
8506 (gst_base_sink_handle_object), (gst_base_sink_event),
8507 (gst_base_sink_wait), (gst_base_sink_handle_event),
8508 (gst_base_sink_change_state):
8509 * gst/base/gstbasesink.h:
8510 Repost EOS message while going to PLAYING if still EOS.
8511 Make sure that when receiving a FLUSH_START we don't attempt
8512 to sync on the clock anymore.
8514 2005-10-08 Wim Taymans <wim@fluendo.com>
8516 * tools/gst-launch.c: (event_loop):
8517 Better message printout.
8519 2005-10-08 Wim Taymans <wim@fluendo.com>
8521 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
8522 (gst_bin_child_proxy_get_children_count):
8523 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8524 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
8525 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
8526 (gst_child_proxy_set_valist):
8527 * gst/parse/grammar.y:
8528 Make ChildProxy threadsafe and fix mem leaks.
8530 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8532 * gst/gst.c: (init_post):
8533 debug the GST_PLUGIN_ env vars
8535 2005-10-08 Wim Taymans <wim@fluendo.com>
8537 * check/gst/gstbin.c: (GST_START_TEST):
8538 * check/gst/gstmessage.c: (GST_START_TEST):
8539 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8540 * gst/gstelement.c: (gst_element_commit_state),
8541 (gst_element_lost_state):
8542 * gst/gstmessage.c: (gst_message_new_state_changed),
8543 (gst_message_parse_state_changed):
8545 * tools/gst-launch.c: (event_loop):
8546 Added extra field to STATE_CHANGE message with the pending
8547 state, which will be different from the new state soon.
8549 2005-10-08 Wim Taymans <wim@fluendo.com>
8551 * gst/gstbus.c: (gst_bus_pop):
8553 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8554 Small cleanups and doc updates.
8556 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
8558 * gst/gst.c: (init_pre):
8559 * gst/gstbin.c: (gst_bin_add_func):
8560 log distributing clocks and base time
8561 * gst/gstregistry.c: (gst_registry_add_plugin),
8562 (gst_registry_scan_path_level), (gst_registry_scan_path):
8563 clean up the debugging output a little
8564 * gst/gstutils.c: (gst_element_state_get_name):
8565 warn about a memleak (I've actually seen this be used, though
8566 it was probably a bug)
8568 2005-10-07 Wim Taymans <wim@fluendo.com>
8570 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8571 (gst_base_src_init), (gst_base_src_default_newsegment),
8572 (gst_base_src_newsegment), (gst_base_src_do_seek),
8573 (gst_base_src_loop), (gst_base_src_start):
8574 * gst/base/gstbasesrc.h:
8575 Make the newsegment event customizable by subclasses.
8577 2005-10-07 Wim Taymans <wim@fluendo.com>
8579 * gst/gstevent.c: (gst_event_new_buffersize),
8580 (gst_event_parse_buffersize):
8582 New event for future idea.
8584 2005-10-07 Andy Wingo <wingo@pobox.com>
8586 * gst/gstelement.c (gst_element_post_message): Doc update.
8588 * docs/gst/gstreamer-sections.txt: Update.
8590 * gst/gstmessage.c (gst_message_new_application): Made into a
8591 function like honest API calls.
8592 (gst_message_new_element): New message type.
8594 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
8596 * check/elements/fakesrc.c (test_no_preroll): New check, checks
8597 that setting a live fakesrc to PAUSED returns NO_PREROLL both
8600 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
8601 NO_PREROLL from gst_element_change_state to fall through.
8603 2005-10-07 Wim Taymans <wim@fluendo.com>
8605 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
8606 (gst_ghost_pad_do_activate_push):
8607 Activating a ghostpad with no internal pad in push mode
8610 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
8613 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
8614 Fixes compilation on Windows.
8616 2005-10-07 Michael Smith <msmith@fluendo.com>
8618 * tools/gst-inspect.c:
8619 Print out feature and plugin count at the end when printing out
8622 2005-10-04 Michael Smith <msmith@fluendo.com>
8624 * gst/gsterror.c: (_gst_stream_errors_init):
8625 Add another error string used in a few existing plugins.
8628 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8629 * tools/gst-inspect.c: (print_element_info):
8630 When a feature disappears from a plugin (and the feature exists in
8631 the cached registry file), things went horribly wrong. This isn't a
8632 complete fix, we should actually be removing the 'missing' features
8633 from the features list when we load the actual plugin. That's not
8636 2005-10-04 Johan Dahlin <johan@gnome.org>
8638 * check/gst/gstiterator.c: (GST_START_TEST):
8639 * gst/gstbin.c: (gst_bin_iterate_elements),
8640 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
8641 * gst/gstelement.c: (gst_element_iterate_pads):
8642 * gst/gstformat.c: (gst_format_iterate_definitions):
8643 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8644 (gst_iterator_new_list), (gst_iterator_filter):
8645 * gst/gstiterator.h:
8646 * gst/gstquery.c: (gst_query_type_iterate_definitions):
8647 Add a GType to GstIterator, update callsites and tests.
8649 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
8651 * gst/gstpad.c: (gst_pad_event_default_dispatch):
8652 give events a chance to be handled by event probes when the pad
8655 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
8657 * gst/gstevent.c: (gst_event_type_get_name),
8658 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
8660 add string representations for event types
8662 2005-10-06 Wim Taymans <wim@fluendo.com>
8664 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
8665 Don't use NULL pointers.
8667 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
8669 * gst/gst_private.h:
8673 * gst/gstpluginfeature.c:
8674 widen the debug category in output to fit the biggest one we have
8675 add a bus category and use it
8676 play with the colors
8677 fix up some categories
8679 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
8681 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
8682 add push activation of sink ghost pads.
8683 Andye, please verify
8685 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
8687 * gst/gstutils.c: (gst_element_link_pads):
8688 fix a bug in the case where neither element has a pad
8689 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8690 add a test for that case
8692 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
8694 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
8695 emit have-data before checking for peers. This allows
8696 for probe handlers to connect elements. This helps autopluggers.
8697 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
8699 add six checks, linked/unlinked with no/true/false probe
8701 2005-10-04 Wim Taymans <wim@fluendo.com>
8703 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
8704 (gst_fake_sink_event), (gst_fake_sink_preroll),
8705 (gst_fake_sink_render), (gst_fake_sink_change_state):
8706 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
8707 (gst_fake_src_get_property), (gst_fake_src_create),
8708 (gst_fake_src_stop):
8709 * gst/elements/gstidentity.c: (gst_identity_stop):
8710 Protect last_message with lock.
8712 2005-10-04 Edward Hervey <edward@fluendo.com>
8715 Added precision in the comments for GST_FORMAT_DEFAULT
8717 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
8719 * tools/gst-launch.c: (main):
8720 Don't try to run erroneous pipelines.
8722 2005-10-04 Julien MOUTTE <julien@moutte.net>
8724 * gst/gstbus.c: We don't need this header.
8726 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
8731 === release 0.9.3 ===
8733 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
8737 Releasing 0.9.3, "Unregistered"
8739 2005-10-03 Andy Wingo <wingo@pobox.com>
8741 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
8742 whereby calling a pad's activatepush() function can start a thread
8743 that starts to push or pull before the pad gets the FLUSHING flag
8744 unset. Hack around it by holding the stream lock until the flag is
8745 set. Need to replace this with a proper solution. Together with
8746 the ghost pad fixes, this fixes mp3 playing/tagreading.
8748 * docs/design/part-gstghostpad.txt: Add a note about activation of
8749 proxy pads outside of ghost pads.
8751 * gst/gstghostpad.c: Implement the ghost pad activation design.
8753 2005-10-02 Andy Wingo <wingo@pobox.com>
8755 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
8756 It is volatile, after all.
8758 * docs/design/part-gstghostpad.txt: Flesh out activation with
8761 * gst/base/gstbasesrc.c (gst_base_src_init): Use
8764 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
8767 Fix (unused) AM_CONDITIONAL tests.
8769 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
8771 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8773 * gst/gstutils.c: (gst_pad_query_convert):
8774 Add assertion that makes sure src_val is >=0, just like
8775 gst_query_new_convert() has. (#315895)
8777 2005-09-30 Edward Hervey <edward@fluendo.com>
8779 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
8780 Let's not iterate pads we're not interested in, it avoids getting
8781 sky-high refcounts on sinkpad.
8783 2005-09-30 Wim Taymans <wim@fluendo.com>
8785 * gst/gstelement.c: (gst_element_set_state),
8786 (gst_element_change_state):
8787 Small tweak, element in ASYNC remains ASYNC.
8789 2005-09-30 Wim Taymans <wim@fluendo.com>
8791 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8792 Only error is an error.
8794 * gst/gstbin.c: (gst_bin_change_state):
8797 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
8798 Also call pad_block in pad alloc.
8800 * gst/gstutils.c: (gst_flow_get_name):
8803 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
8805 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8806 (gst_base_src_get_range):
8807 Fix documentation typos. Add some more debug info.
8809 2005-09-29 David Schleef <ds@schleef.org>
8811 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
8812 more end-user friendly.
8813 * tools/gst-inspect.c: (main): Check if command-line argument is
8814 a file and attempt to load that file as a plugin.
8816 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
8818 * check/gst/gstbin.c:
8819 * check/states/sinks.c:
8820 fix tests for the new warning
8821 * check/gst/gstpipeline.c:
8822 add a test for pipeline and bus interaction
8824 elements should be NULL if they get disposed; add a warning if not
8826 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
8829 for 2.6 refcounting, make debug log more correct by printing
8830 the actual refcounts at the time of swap (Wim)
8832 2005-09-29 Andy Wingo <wingo@pobox.com>
8834 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
8835 removes signal watches previously added via
8836 gst_bus_add_signal_watch.
8837 (gst_bus_add_signal_watch): Don't return the source id, just store
8838 it on the bus if there wasn't an id already.
8840 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
8841 add_signal_watch and remove_signal_watch.
8843 2005-09-29 Edward Hervey <edward@fluendo.com>
8845 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
8846 Better if we actually iterate the list :)
8848 2005-09-29 Wim Taymans <wim@fluendo.com>
8850 * check/gst/gstbin.c: (GST_START_TEST):
8851 Change for new bus API.
8853 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
8854 (send_messages), (GST_START_TEST), (gstbus_suite):
8855 Change for new bus signal API.
8857 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
8858 (gst_bus_source_prepare), (gst_bus_source_check),
8859 (gst_bus_create_watch), (gst_bus_add_watch_full),
8860 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
8861 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
8863 Remove support for multiple GSources operating on different
8864 message types as it is too complex and unneeded when using
8866 Added support for receiving signals from the bus.
8868 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
8870 * docs/libs/tmpl/gstdataprotocol.sgml:
8871 * docs/manual/advanced-dataaccess.xml:
8872 * gst/elements/gstcapsfilter.c:
8874 rename filter-caps to caps property
8876 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
8878 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8879 More robust fraction string parsing.
8881 * docs/pwg/appendix-porting.xml:
8882 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
8884 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
8886 * gst/gstcaps.c: (gst_caps_do_simplify):
8887 Thou shalt not free a structure and then continue using it
8888 in the next loop iteration.
8890 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
8892 Add test case for caps simplification.
8894 2005-09-29 Wim Taymans <wim@fluendo.com>
8896 * check/gst/gstbin.c: (GST_START_TEST):
8899 2005-09-29 Wim Taymans <wim@fluendo.com>
8901 * check/gst/gstbin.c: (GST_START_TEST):
8904 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8905 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
8906 (find_element), (gst_bin_sort_iterator_next),
8907 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
8908 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
8909 (gst_bin_change_state), (gst_bin_dispose):
8910 A bin does not have a bus, it gets the bus from the parent.
8912 * gst/gstelement.c: (gst_element_requires_clock),
8913 (gst_element_provides_clock), (gst_element_is_indexable),
8914 (gst_element_is_locked_state), (gst_element_change_state),
8915 (gst_element_set_bus_func):
8918 * gst/gstpipeline.c: (gst_pipeline_class_init),
8919 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
8920 The pipeline provides a bus.
8922 2005-09-28 Johan Dahlin <johan@gnome.org>
8924 * gst/gstmessage.c (gst_message_parse_state_changed): Use
8925 gst_structure_get_enum instead of gst_structure_get_int
8927 * gst/gststructure.c (gst_structure_get_enum): Impl.
8929 * gst/gststructure.h (gst_structure_get_enum): Add
8931 * docs/gst/gstreamer-sections.txt: Ditto
8933 * gst/gstmessage.c (gst_message_new_state_changed): Use
8934 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
8935 which does introspection.
8936 Reviewed by Christian Schaller
8938 2005-09-28 Stefan Kost <ensonic@users.sf.net>
8940 * gst/gstinfo.c: (gst_debug_log_default):
8941 don't do dummy g_strdup()s
8942 * libs/gst/controller/gstcontroller.c:
8943 (on_object_controlled_property_changed),
8944 (gst_controlled_property_new), (gst_controller_new_valist),
8945 (gst_controller_new_list),
8946 (gst_controller_remove_properties_valist), (gst_controller_set),
8947 (gst_controller_get), (gst_controller_sync_values),
8948 (gst_controller_get_value_array), (_gst_controller_class_init),
8949 (gst_controller_get_type):
8950 * libs/gst/controller/gstcontroller.h:
8951 * libs/gst/controller/gstinterpolation.c:
8952 (gst_controlled_property_find_timed_value_node):
8953 convert // to /**/ comments
8955 2005-09-28 Wim Taymans <wim@fluendo.com>
8957 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
8958 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
8959 (gst_bus_sync_signal_handler):
8961 Added async-message and sync-message signals to the bus.
8962 Added helper BusFunc to emit signals for all posted messages.
8964 * gst/gstmessage.c: (gst_message_type_get_name),
8965 (gst_message_type_to_quark), (gst_message_get_type):
8967 Register quarks for message names.
8969 2005-09-28 Stefan Kost <ensonic@users.sf.net>
8971 * docs/libs/gstreamer-libs-sections.txt:
8972 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8973 (gst_controller_new_list):
8974 * libs/gst/controller/gstcontroller.h:
8975 added another constructor for language bindings
8977 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
8979 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8983 * gst/gstinfo.c: (_gst_debug_init):
8984 slightly more readable color for refcount debugging
8986 2005-09-28 Wim Taymans <wim@fluendo.com>
8988 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8989 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
8990 (find_element), (gst_bin_sort_iterator_next),
8991 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
8992 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
8993 (gst_bin_change_state), (gst_bin_dispose):
8994 Small doc fixes. get_clock -> provide_clock.
8996 * gst/gstelement.c: (gst_element_class_init),
8997 (gst_element_provides_clock), (gst_element_provide_clock),
8998 (gst_element_get_clock), (gst_element_commit_state),
8999 (gst_element_lost_state):
9001 Make get/set_clock() symetric. Add provide_clock vmethod since
9002 that is actually what this function does.
9004 * gst/gstpipeline.c: (gst_pipeline_class_init),
9005 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
9006 (gst_pipeline_get_clock):
9007 get_clock -> provide_clock.
9009 2005-09-28 Andy Wingo <wingo@pobox.com>
9011 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
9012 lieu of real docs...
9014 * gst/elements/gstfdsrc.c: Cleaned up a bit.
9016 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
9018 * gst/elements/gstcapsfilter.c:
9019 * gst/elements/gstfakesink.c:
9020 * gst/elements/gstfakesrc.c:
9021 * gst/elements/gstfdsink.c:
9022 * gst/elements/gstfdsrc.c:
9023 * gst/elements/gstfilesink.c:
9024 * gst/elements/gstfilesrc.c:
9025 * gst/elements/gstidentity.c:
9026 * gst/elements/gsttee.c:
9027 * gst/elements/gsttypefindelement.c:
9028 Make element details static.
9030 2005-09-28 Wim Taymans <wim@fluendo.com>
9032 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9033 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9034 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9035 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9036 (gst_bin_change_state), (gst_bin_dispose):
9037 Some documentation updates.
9038 Clean up dispose handlers.
9040 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
9041 * gst/gstpad.c: (gst_pad_dispose):
9042 Clean up dispose handler.
9044 * gst/gstpipeline.c: (gst_pipeline_change_state):
9045 Removed spurious UNLOCK.
9047 2005-09-27 Stefan Kost <ensonic@users.sf.net>
9049 * docs/gst/gstreamer-sections.txt:
9050 * gst/base/gstbasesrc.h:
9055 * gst/gstpipeline.c:
9056 * gst/gstpipeline.h:
9059 added two new functions to the docs
9060 documents all undocumented GstXXXFlags
9061 completed some incomplete docs
9063 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
9065 * gst/gstbin.c: (gst_bin_dispose):
9066 * gst/gstelement.c: (gst_element_dispose):
9067 remove now useless and leaky resurrection code in dispose
9068 * gst/base/gstbasesrc.c: (gst_base_src_init):
9069 * gst/gstelementfactory.c: (gst_element_factory_create):
9070 * gst/gstobject.c: (gst_object_set_parent):
9073 2005-09-27 Wim Taymans <wim@fluendo.com>
9075 * docs/design/part-TODO.txt:
9078 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9079 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9080 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9081 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9082 (gst_bin_change_state):
9084 Remove element variable, we keep element info in the iterator now.
9086 2005-09-27 Andy Wingo <wingo@pobox.com>
9088 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
9091 2005-09-27 Wim Taymans <wim@fluendo.com>
9093 * check/gst/gstbin.c: (GST_START_TEST):
9094 Enable check that works now.
9096 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9097 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9098 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9099 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9100 (gst_bin_change_state):
9102 Redid the state change algorithm using a topological sort algo.
9103 Handles all cases correctly.
9104 Exposed iterator for state change order.
9107 Temp storage for state changes. Need to get rid of this soon.
9109 2005-09-27 Wim Taymans <wim@fluendo.com>
9111 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
9112 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
9113 (link_fold_func), (gst_pad_proxy_setcaps):
9114 Leak fixes, the fold functions need to unref the passed object and
9115 _get_parent_*() returns ref to parent.
9117 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9119 * check/gst/gstbuffer.c: (test_make_writable):
9120 Plug leak in test case and fix 'make check-valgrind'
9122 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9124 * gst/gstbuffer.c: (gst_subbuffer_init):
9125 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
9126 works correctly in all circumstances (we could have just copied
9127 the parent buffer's readonly flag, but conceptually it seems
9128 cleaner to mark all subbuffers as read-only). (based on patch
9129 by Alessandro Decina, #314710).
9131 * check/gst/gstbuffer.c: (create_read_only_buffer),
9132 (test_make_writable), (test_subbuffer_make_writable),
9134 Add some tests for gst_buffer_make_writable().
9136 2005-09-27 Wim Taymans <wim@fluendo.com>
9138 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
9139 use gst_object_has_ancestor().
9141 * gst/gstobject.c: (gst_object_has_ancestor):
9143 gst_object_has_ancestor() copied from gstbin.c as it is a
9146 * tests/instantiate/create.c: (create_all_elements):
9147 * tests/lat.c: (handoff_src), (handoff_sink):
9148 * tests/sched/runxml.c: (main):
9149 * tests/seeking/seeking1.c: (main):
9150 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9152 Fix compilation of some tests.
9154 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9157 Remove comment. GST_TYPE_G_ERROR is here to stay,
9158 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
9161 2005-09-26 Wim Taymans <wim@fluendo.com>
9163 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9164 Added check that shows error in state change order.
9166 2005-09-26 Wim Taymans <wim@fluendo.com>
9168 * gst/gstbin.c: (gst_bin_change_state):
9169 Make state change function use 3 queues again, we were
9170 adding elements in the wrong order.
9172 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9175 * gst/gstpad.c: (gst_pad_dispose):
9176 Added some debug info first.
9178 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
9180 * docs/design/draft-push-pull.txt:
9181 * docs/design/part-events.txt:
9182 * docs/design/part-overview.txt:
9183 * docs/design/part-scheduling.txt:
9184 Replace all _pull_region() with _pull_range()
9186 2005-09-26 Andy Wingo <wingo@pobox.com>
9188 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
9190 * check/gst-libs/controller.c: Update for controller api change.
9193 * tests/Makefile.am:
9194 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
9195 over by GLib bug 118439.
9197 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
9198 routines to a function.
9200 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
9202 * libs/gst/controller/gsthelper.c:
9203 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
9204 (gst_object_sync_values): Renamed from sink_values. Ugh.
9206 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
9208 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
9209 Renamed from controller_key, as it is exported.
9211 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
9213 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
9218 * gst/gstpadtemplate.h:
9221 * gst/gstqueryutils.c:
9222 * gst/gstqueryutils.h:
9223 remove queryutils headers after moving the two used functions
9224 to gstquery. also fixes build problem for gstsiddec
9226 2005-09-26 Michael Smith <msmith@fluendo.com>
9228 * tools/gst-launch.1.in:
9229 Correct documentation in manpage of debug syntax
9231 2005-09-26 Wim Taymans <wim@fluendo.com>
9233 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9234 (gst_base_src_is_seekable), (gst_base_src_change_state):
9235 Some more debugging info.
9237 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9239 * docs/gst/gstreamer-sections.txt:
9240 * gst/base/gstbasetransform.h:
9244 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9246 * docs/gst/.cvsignore:
9247 * docs/gst/tmpl/.cvsignore:
9248 * docs/gst/tmpl/gstpipeline.sgml:
9249 * docs/gst/tmpl/gstplugin.sgml:
9250 * gst/gstpipeline.c:
9253 inlined the last two docs files
9254 removed the tmpl directory from cvs (no more conflicts here!)
9256 2005-09-25 Stefan Kost <ensonic@users.sf.net>
9258 * docs/gst/gstreamer-sections.txt:
9259 * docs/gst/tmpl/.cvsignore:
9260 * docs/gst/tmpl/gstpad.sgml:
9261 * docs/gst/tmpl/gstpadtemplate.sgml:
9263 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9264 (gst_pad_finalize), (gst_pad_set_pad_template):
9266 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9267 (gst_pad_template_class_init), (gst_pad_template_init),
9268 (gst_pad_template_dispose), (name_is_valid),
9269 (gst_static_pad_template_get), (gst_pad_template_new),
9270 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
9271 (gst_pad_template_pad_created):
9272 * gst/gstpadtemplate.h:
9273 inlined two more docs
9274 factored gstpadtemplate out of gstpad
9276 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
9278 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
9279 (test_children_state_change_order_semi_sink):
9280 Fix test case: we can't rely on a fixed state change order when
9281 going from READY => PAUSED because the sink might commit its
9282 new state first when the first buffer created by the source
9283 reaches the sink before the source has finished its change state.
9284 (Test case still fails at times, see #316856, comment 5 onwards)
9286 2005-09-24 Wim Taymans <wim@fluendo.com>
9288 * docs/design/part-events.txt:
9289 * docs/design/part-gstbus.txt:
9290 * docs/design/part-gstpipeline.txt:
9291 * docs/design/part-messages.txt:
9292 * docs/design/part-overview.txt:
9293 * docs/design/part-segments.txt:
9300 * gst/gstiterator.c:
9301 Various documentation updates.
9303 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
9306 Well, that's embarassing. Luckily we weren't using
9307 GST_CLOCK_DIFF anywhere.
9309 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9311 * common/gtk-doc.mak:
9312 don't fail on building XML, FC4 slave shows a bunch of doc
9313 missing bits that I don't get
9315 * gst/gstpipeline.c:
9316 * gst/gststructure.c:
9319 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
9321 * docs/design/part-gstbin.txt:
9322 * docs/design/part-gstbus.txt:
9324 Add blurb about how the bus goes into flushing mode and
9325 drops all messages when its bin goes from READY into NULL
9328 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9330 * docs/gst/gstreamer-sections.txt:
9331 * gst/gststructure.c: (gst_structure_get_clock_time):
9332 * gst/gststructure.h:
9333 add a method to get a GstClockTime out of a structure
9335 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
9337 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
9338 (test_children_state_change_order_semi_sink), (gst_bin_suite):
9339 Added test to check state change order in bins (can still be made
9340 to fail here under heavy disk load; bails out with 'Push on pad
9341 fakesink:sink0, but it was not activated in push mode').
9343 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
9344 Fix state change order when there is only a semi sink (#316856)
9346 * gst/gstbus.c: (gst_bus_class_init):
9347 Use _class_peek_parent(), not _class_ref(); fix docs to say
9348 'default main context' instead of 'mainloop' where that is
9351 * gst/gstelement.c: (gst_element_commit_state),
9352 (gst_element_set_state):
9353 Fix typos in debug messages
9355 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9358 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
9359 * gst/gstpluginfeature.c:
9362 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9363 change an assert into an error until it gets fixed properly
9365 2005-09-23 Stefan Kost <ensonic@users.sf.net>
9367 * docs/gst/gstreamer-sections.txt:
9368 * docs/gst/tmpl/.cvsignore:
9369 * docs/gst/tmpl/gstelement.sgml:
9370 * docs/gst/tmpl/gstinfo.sgml:
9371 * docs/gst/tmpl/gstobject.sgml:
9376 * gst/gstobject.c: (gst_object_class_init):
9378 inlined 3 more biiiig doc files and added some missing docs on the fly
9380 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
9382 * check/gst/.cvsignore:
9383 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
9384 * gst/gstregistryxml.c: (load_plugin),
9385 (gst_registry_xml_save_plugin):
9386 put back source in registry. add checks for find_plugin.
9387 * testsuite/states/bin.c: (assert_state), (empty_bin),
9388 (test_adding_one_element), (main):
9389 * testsuite/states/locked.c: (main):
9390 some compile/run fixes
9392 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
9394 * check/gst/gstvalue.c: (GST_START_TEST):
9395 fix leaks in the test itself
9397 2005-09-22 Wim Taymans <wim@fluendo.com>
9399 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9400 (gst_base_sink_send_event), (gst_base_sink_peer_query),
9401 (gst_base_sink_query):
9402 Prepare for more accurate position reporting and query
9405 * gst/gstelement.c: (gst_element_send_event),
9406 (gst_element_set_state):
9409 2005-09-22 Wim Taymans <wim@fluendo.com>
9411 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
9412 (gst_query_parse_segment):
9415 Add segment query for future use.
9417 2005-09-22 Wim Taymans <wim@fluendo.com>
9419 * gst/gstbin.c: (gst_bin_add_func):
9420 Some more debug info.
9422 * gst/gstelement.c: (gst_element_send_event):
9426 Don't know how flags got broken.
9431 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
9433 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
9434 Add simplistic test suite for GST_TYPE_DATE serialisation and
9437 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
9439 * docs/gst/gstreamer-sections.txt:
9440 * gst/gststructure.c: (gst_structure_set_valist),
9441 (gst_structure_get_date):
9442 * gst/gststructure.h:
9443 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
9444 (gst_date_copy), (gst_value_compare_date),
9445 (gst_value_serialize_date), (gst_value_deserialize_date),
9446 (gst_value_transform_date_string),
9447 (gst_value_transform_string_date), (_gst_value_initialize):
9449 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
9450 bunch of utility functions along with a hack that checks that
9451 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
9452 is required. Part of the grand scheme in #170777.
9454 2005-09-22 Andy Wingo <wingo@pobox.com>
9456 * gst/gstconfig.h.in: Psych out gtk-doc.
9458 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
9460 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
9462 * tools/gst-inspect.c (print_element_list): Plug some
9463 inconsequential leaks.
9465 * gst/gstregistry.c (gst_registry_get_default): Doc.
9467 * check/gst/gstplugin.c:
9468 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
9469 * gst/gstelementfactory.c (gst_element_factory_create):
9470 * gst/gstindexfactory.c (gst_index_factory_create): Update for
9473 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
9474 (gst_plugin_feature_load): Doc, don't eat refs.
9476 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
9477 (gst_plugin_list_free): Doc.
9478 (gst_plugin_load_file): Doc updates.
9480 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
9481 accessors returning refcounted objects, return a ref.
9483 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
9484 accessor for caps. IDEMPOTENCE. Oh yes.
9486 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
9488 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9490 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9491 (_gst_debug_register_funcptr):
9492 Add mutex to serialise access to the hash table with
9493 the function pointer => function name string mapping;
9494 make that hash table static scope (#316809).
9496 * gst/registries/.cvsignore:
9497 Remove left-over file.
9499 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
9501 * docs/pwg/appendix-porting.xml:
9502 And something about newsegment events and caps-on-buffers to
9503 the porting guide (feel free to improve).
9505 2005-09-21 Andy Wingo <wingo@pobox.com>
9507 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
9508 data and event probes on the same pad.
9509 (test_buffer_probe_once): Test that removing probes from within
9510 the probe functions works.
9512 2005-09-21 Andy Wingo <wingo@pobox.com>
9514 * check/gst/gstutils.c: New file.
9515 (test_buffer_probe_n_times): A simple buffer probe test. More to
9518 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
9519 have-data::buffer, not have-data.
9520 (gst_pad_add_event_probe): Likewise for have-data::event.
9521 (gst_pad_add_data_probe): More docs. The part about 'resolving the
9522 peer' isn't quite right yet though.
9523 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
9524 (gst_pad_remove_data_probe): Change to take the guint handler_id
9525 as their arg, not the function+data, which is more glib-like.
9527 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
9528 the signal emission to indicate if the data is a buffer or an
9530 (gst_pad_get_type): Initialize buffer and event quarks.
9531 (gst_pad_class_init): have-data is now a detailed signal, yes it
9534 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
9536 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
9537 * gst/gstutils.c: (gst_util_set_value_from_string),
9538 (gst_util_set_object_arg):
9539 Don't put functional code in g_return_if_fail() or
9540 g_return_val_if_fail() statements, otherwise things will
9541 break when G_DISABLE_CHECKS is defined during compilation.
9543 2005-09-21 Stefan Kost <ensonic@users.sf.net>
9545 * docs/gst/tmpl/.cvsignore:
9546 * docs/gst/tmpl/gstvalue.sgml:
9549 inlied another one and added some obvious docs
9551 2005-09-21 Wim Taymans <wim@fluendo.com>
9553 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
9554 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
9555 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
9556 (gst_fdsrc_get_property), (gst_fdsrc_create):
9557 * gst/elements/gstfdsrc.h:
9558 Properly implement fdsrc. Removed signal and timeout,
9559 better implemented somewhere else.
9561 2005-09-21 Stefan Kost <ensonic@users.sf.net>
9563 * docs/gst/tmpl/.cvsignore:
9564 * docs/gst/tmpl/gstimplementsinterface.sgml:
9565 * gst/gstinterface.c:
9568 2005-09-21 Stefan Kost <ensonic@users.sf.net>
9570 * docs/gst/gstreamer-sections.txt:
9571 * docs/gst/tmpl/.cvsignore:
9572 * docs/gst/tmpl/gstenumtypes.sgml:
9573 remove obsolete doc file
9575 2005-09-21 David Schleef <ds@schleef.org>
9577 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
9578 little beer, fix a little leak.
9580 2005-09-21 Stefan Kost <ensonic@users.sf.net>
9582 * docs/gst/gstreamer-docs.sgml:
9583 * docs/gst/gstreamer-sections.txt:
9584 * docs/gst/tmpl/.cvsignore:
9589 * gst/gstindex.c: (gst_index_class_init):
9591 * gst/gstindexfactory.c: (gst_index_factory_get_type),
9592 (gst_index_factory_class_init), (gst_index_factory_init),
9593 (gst_index_factory_finalize), (gst_index_factory_new),
9594 (gst_index_factory_destroy), (gst_index_factory_find),
9595 (gst_index_factory_create), (gst_index_factory_make):
9596 * gst/gstindexfactory.h:
9597 * gst/gstpluginfeature.c:
9598 * gst/gstpluginfeature.h:
9599 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
9600 more docs inlined, splitted gstindex.{c,h}
9602 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9604 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
9607 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
9609 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9610 Set sync to FALSE by default.
9612 2005-09-20 Wim Taymans <wim@fluendo.com>
9614 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9615 (gst_base_sink_init):
9616 Make sync property settable from subclass.
9618 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
9619 (gst_fake_sink_change_state):
9620 Set sync to FALSE by default.
9622 2005-09-20 Wim Taymans <wim@fluendo.com>
9624 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
9625 * tools/gst-launch.c: (main):
9626 The timeout handler should have lower priority than the source
9627 so we don't timeout before popping a message with 0 timeout.
9628 Dump error messages after failed state change.
9630 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
9632 * tools/gst-inspect.c: (print_element_properties_info):
9635 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9637 * check/gst/gstevent.c:
9638 * gst/elements/gstfakesink.c:
9639 * gst/elements/gstfakesink.h:
9640 remove the sync property from fakesink.
9641 has the side effect of setting sync TRUE
9642 for fakesink, which is a change. Anyone who knows how
9643 to fix this nicely in a GObject-y way, feel free.
9645 2005-09-20 Stefan Kost <ensonic@users.sf.net>
9647 * docs/gst/gstreamer-docs.sgml:
9648 remove probe refsection
9650 2005-09-20 Stefan Kost <ensonic@users.sf.net>
9652 * check/Makefile.am:
9653 disable valgrinding the controller test again
9654 * docs/gst/gstreamer-sections.txt:
9655 update for api-changes
9657 2005-09-20 Wim Taymans <wim@fluendo.com>
9659 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9660 (gst_base_sink_set_property), (gst_base_sink_get_property),
9661 (gst_base_sink_do_sync):
9662 * gst/base/gstbasesink.h:
9663 Added sync property to basesink to disable clock sync.
9665 2005-09-20 Andy Wingo <wingo@pobox.com>
9667 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
9668 eating the caller's refcount.
9670 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
9671 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
9674 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
9675 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
9676 of GLib 2.8 public, so we can know which refcount to check in
9679 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
9680 (gst_object_init): Only set the gst refcount if we're going ahead
9681 with the refcount hack.
9683 2005-09-20 Stefan Kost <ensonic@users.sf.net>
9685 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
9686 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
9687 more leaks plumbed, added more debug-logging
9691 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9694 remove include of gstmemchunk.h
9696 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9698 * gst/gstclock.c: (_gst_clock_id_free):
9699 Commit from the Political Party For More Atomic CVS Commits,
9700 so that people don't waste too much of their day fishing
9701 out obvious leaks out of massive commits.
9702 Oh, and fix a pretty damn obvious leak in the memchunk
9705 2005-09-20 Stefan Kost <ensonic@users.sf.net>
9707 * check/Makefile.am:
9708 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
9709 plug mem-leak, re-add to valgrindable tests
9711 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
9714 unbreak the build for those who have chronic arthritis
9715 and typing "make check" is just too taxing on the hands
9717 2005-09-20 Andy Wingo <wingo@pobox.com>
9719 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
9720 really want it out, you should fix plugins at the same time.
9722 2005-09-19 Stefan Kost <ensonic@users.sf.net>
9725 * docs/gst/gstreamer-sections.txt:
9727 added missing symbols to api docs
9728 disable ref-count hack if we have glib >= 2.8
9730 2005-09-19 David Schleef <ds@schleef.org>
9732 * docs/gst/Makefile.am: Ignore a few more internal headers
9733 * docs/gst/gstreamer-docs.sgml: Remove old sections
9734 * docs/gst/gstreamer-sections.txt: Remove old sections
9735 * docs/gst/tmpl/gstobject.sgml: update
9736 * docs/gst/tmpl/gstplugin.sgml: update
9737 * docs/gst/tmpl/gstpluginfeature.sgml: update
9738 * docs/random/ds/0.9-suggested-changes: update.
9739 * gst/Makefile.am: remove memchunk and trashstack, since they're
9741 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
9742 * gst/gst.h: don't include some headers
9743 * gst/gstchildproxy.c: add gstmarshal.h
9744 * gst/gstclock.c: Don't use memchunks
9745 * gst/gstminiobject.c: Add some docs
9746 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
9747 * gst/gstobject.h: same
9748 * gst/gstplugin.c: include gstmacros.h
9749 * gst/gstplugin.h: don't include gstmacros.h, since it's private
9750 * gst/gstquery.c: don't use memchunks
9751 * gst/gstregistry.c: rename gst_registry_deinit()
9752 * gst/gstregistry.h: same
9754 2005-09-19 David Schleef <ds@schleef.org>
9756 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
9757 * docs/libs/gstreamer-libs-sections.txt:
9758 * docs/libs/tmpl/gstgetbits.sgml:
9759 * docs/libs/tmpl/gstputbits.sgml:
9761 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
9763 * win32/gstenumtypes.c:
9764 * win32/gstenumtypes.h:
9767 2005-09-19 Wim Taymans <wim@fluendo.com>
9769 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
9770 Automatically PAUSE and RESUME a pipeline when a flushing seek
9773 2005-09-19 Andy Wingo <wingo@pobox.com>
9775 * gst/gstregistry.h: Spacing fixen.
9777 2005-09-19 Wim Taymans <wim@fluendo.com>
9779 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
9780 Handle state change failure more correctly.
9782 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
9784 * check/Makefile.am:
9785 * check/pipelines/cleanup.c: (run_pipeline):
9786 * check/pipelines/simple_launch_lines.c: (run_pipeline),
9788 enable cleanup again after fixing the leak
9790 some more info on docs
9792 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
9794 * check/Makefile.am:
9795 re-enable tests now that leaks are plugged
9797 * check/gst/gstbin.c:
9798 * check/gst/gstpipeline.c:
9799 add some more tests while fixing leaks
9801 make sure binaries are uptodate when valgrinding/gdbing
9803 * gst/gstelementfactory.c:
9804 remove a ref too many, and add a FIXME for when we get
9805 round to disposing of classes
9807 fix the refcounting when loading a plugin from a file and
9808 the code pretends that the pointer is the same even though
9809 of course it can change
9810 * gst/gstpluginfeature.c:
9811 unref plugins marked cached (a bit confusing as a name)
9812 as the docs state should be done
9813 various doc additions to explain refcounting
9814 * gst/gstregistry.c:
9815 * gst/gstregistryxml.c:
9818 2005-09-19 Wim Taymans <wim@fluendo.com>
9820 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9821 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9822 (send_messages), (GST_START_TEST), (gstbus_suite):
9823 * check/gst/gstpipeline.c: (GST_START_TEST):
9824 * check/pipelines/cleanup.c: (run_pipeline):
9825 * check/pipelines/simple_launch_lines.c: (run_pipeline),
9827 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
9828 (gst_bus_source_check), (gst_bus_source_dispatch),
9829 (gst_bus_create_watch), (gst_bus_add_watch_full),
9830 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
9832 * tools/gst-launch.c: (event_loop):
9833 * tools/gst-md5sum.c: (event_loop):
9834 GstBusHandler -> GstBusFunc, return value has the same meaning as
9835 any other GSource (FALSE == remove source).
9836 _add_watch() and _add_watch_full() now take a MessageType mask to
9837 only handle specific types of messages.
9838 _poll() returns the GstMessage instead of the message type to avoid
9840 _have_pending() takes a MessageType mask now too.
9841 Added testsuite for multiple bus watches.
9842 Fix testsuites and applications for new bus API.
9844 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
9846 * check/Makefile.am:
9847 mark a bunch of the tests as to fix until we fix them
9849 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
9852 use GST_PLUGIN settings for valgrind tests as well, so we're
9853 valgrinding the correct thing
9854 * gst/gst.c: (init_post):
9857 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
9859 * gst/gst.c: (init_post), (gst_deinit):
9860 * gst/gstelementfactory.c: (gst_element_factory_class_init),
9861 (gst_element_factory_finalize), (gst_element_factory_cleanup):
9862 * gst/gstindex.c: (gst_index_factory_class_init),
9863 (gst_index_factory_finalize):
9864 * gst/gstobject.c: (gst_object_dispose):
9865 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9866 (gst_plugin_load_file), (gst_plugin_desc_free):
9867 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
9868 (gst_plugin_feature_finalize):
9869 * gst/gstregistry.c: (gst_registry_class_init),
9870 (gst_registry_init), (gst_registry_finalize),
9871 (gst_registry_get_default), (gst_registry_deinit):
9872 * gst/gstregistry.h:
9873 * gst/gstregistryxml.c: (load_feature), (load_plugin):
9874 various cleanups and memleak plugging. make valgrind is happy now.
9876 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
9879 add a check-valgrind target
9881 2005-09-18 David Schleef <ds@schleef.org>
9883 * tools/gst-inspect.c: Revert the GOption code.
9885 2005-09-17 David Schleef <ds@schleef.org>
9887 * check/Makefile.am: Fix environment variables.
9888 * check/gst/gstplugin.c: Fix for API changes.
9889 * tools/gst-inspect.c: Fix for API changes.
9890 * tools/gst-xmlinspect.c: Fix for API changes.
9891 * gst/gstelementfactory.c:
9894 * gst/gstpluginfeature.c:
9895 * gst/gstpluginfeature.h:
9896 * gst/gstregistry.c:
9897 * gst/gstregistry.h:
9898 * gst/gstregistryxml.c:
9899 * gst/gsttypefind.c:
9900 * gst/gsttypefindfactory.c:
9901 * gst/indexers/gstfileindex.c:
9902 * gst/indexers/gstmemindex.c:
9903 * gst/schedulers/Makefile.am:
9904 Change registry to keep track of both plugins and features,
9905 removing the feature tracking from plugins themselves.
9907 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
9909 * check/Makefile.am:
9910 * tools/gst-register.1.in:
9913 2005-09-15 David Schleef <ds@schleef.org>
9915 * check/gst/gstplugin.c:
9916 * gst/gstelementfactory.c:
9918 * gst/gstpluginfeature.c:
9919 * gst/gstregistry.c:
9920 Getting tired of debugging. Disabled all the unreffing of
9921 plugins and features, which fixes the segfaults, but of
9922 course leaks like crazy. At least playbin works.
9924 2005-09-15 David Schleef <ds@schleef.org>
9926 * check/gst/gstplugin.c: (register_check_elements),
9927 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
9929 * gst/elements/gsttypefindelement.c: Fix refcounting.
9930 * gst/gsttypefind.c:
9931 * gst/gsttypefindfactory.c:
9932 * gst/gsttypefindfactory.h:
9934 2005-09-15 David Schleef <ds@schleef.org>
9936 * gst/gstindex.c: get refcounting correct.
9937 * gst/gstregistry.c: Handle the case where a feature/plugin is
9940 2005-09-15 David Schleef <ds@schleef.org>
9942 * check/Makefile.am:
9943 * check/gst/gstplugin.c: Add test
9944 * gst/gstplugin.c: Fix problems noticed by testsuite
9946 * gst/gstregistry.c:
9947 * gst/gstregistry.h:
9949 2005-09-15 David Schleef <ds@schleef.org>
9951 * gst/gstplugin.c: Implement semi-decent recounting and locking
9952 in plugins and plugin features.
9954 * gst/gstpluginfeature.c:
9955 * gst/gstpluginfeature.h:
9956 * gst/gstregistry.c:
9958 2005-09-15 Michael Smith <msmith@fluendo.com>
9960 * gst/gstregistry.c: (gst_registry_get_feature_list):
9961 Implement this. Makes oggdemux work; decodebin still broken.
9963 2005-09-14 David Schleef <ds@schleef.org>
9965 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
9967 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
9968 * gst/check/Makefile.am:
9969 * libs/gst/controller/Makefile.am:
9970 * libs/gst/dataprotocol/Makefile.am:
9972 2005-09-14 David Schleef <ds@schleef.org>
9974 * configure.ac: Remove getbits library. Nothing uses it, and
9975 it should be in something like liboil if someone did want
9977 * libs/gst/Makefile.am:
9978 * libs/gst/getbits/Makefile.am:
9979 * libs/gst/getbits/gbtest.c:
9980 * libs/gst/getbits/getbits.c:
9981 * libs/gst/getbits/getbits.h:
9982 * libs/gst/getbits/gstgetbits_generic.c:
9983 * libs/gst/getbits/gstgetbits_i386.s:
9984 * libs/gst/getbits/gstgetbits_inl.h:
9986 2005-09-14 David Schleef <ds@schleef.org>
9988 * gst/Makefile.am: Dist glib-compat.h
9990 2005-09-14 David Schleef <ds@schleef.org>
9992 * configure.ac: Remove gst/registries, since it's no longer used.
9993 * gst/registries/Makefile.am:
9994 * gst/registries/gstlibxmlregistry.c:
9995 * gst/registries/gstlibxmlregistry.h:
9996 * gst/registries/gstxmlregistry.c:
9997 * gst/registries/gstxmlregistry.h:
9998 * gst/registries/registrytest.c:
10000 2005-09-14 David Schleef <ds@schleef.org>
10002 * gst/glib-compat.h:
10003 * gst/gstregistryxml.c:
10004 Convergence is near. Seriously.
10006 2005-09-14 David Schleef <ds@schleef.org>
10008 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10009 * gst/glib-compat.h:
10010 Attempt #4 to appease the buildbots.
10012 2005-09-14 David Schleef <ds@schleef.org>
10014 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10017 2005-09-14 David Schleef <ds@schleef.org>
10019 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10022 2005-09-14 David Schleef <ds@schleef.org>
10024 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
10027 2005-09-14 David Schleef <ds@schleef.org>
10029 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10030 * gst/glib-compat.h: Add some functions that are in newer versions
10031 of glib than we care to require.
10032 * gst/gstregistryxml.c: Use them.
10034 2005-09-14 David Schleef <ds@schleef.org>
10036 * po/POTFILES.in: remove gst-register.c
10038 2005-09-14 David Schleef <ds@schleef.org>
10040 * docs/gst/gstreamer-docs.sgml:
10041 * docs/gst/gstreamer-sections.txt:
10042 * docs/gst/gstreamer.types:
10043 * docs/gst/tmpl/gstelement.sgml:
10044 * docs/gst/tmpl/gstplugin.sgml:
10045 * docs/gst/tmpl/gstpluginfeature.sgml:
10046 Documentation updates for registry changes.
10048 2005-09-14 David Schleef <ds@schleef.org>
10050 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
10051 because we don't require glib-2.8.
10053 2005-09-14 David Schleef <ds@schleef.org>
10055 * gst/gstregistryxml.c: Added. Essentially moved out of the
10056 registries directory.
10058 2005-09-14 David Schleef <ds@schleef.org>
10060 * check/Makefile.am:
10061 * check/generic/states.c:
10065 * gst/gst_private.h:
10066 * gst/gstelementfactory.c:
10071 * gst/gstpluginfeature.c:
10072 * gst/gstpluginfeature.h:
10073 * gst/gstregistry.c:
10074 * gst/gstregistry.h:
10075 * gst/gstregistrypool.c: remove
10076 * gst/gstregistrypool.h: remove
10077 * gst/gsttypefind.c:
10078 * gst/gsttypefindfactory.c:
10080 * tools/Makefile.am:
10081 * tools/gst-compprep.c:
10082 * tools/gst-inspect.c:
10083 * tools/gst-register.c: remove
10084 * tools/gst-xmlinspect.c:
10085 Registry rewrite. Changes registry from being a file created
10086 by a tool into a simple cache file created automatically by
10087 libgstreamer. Removed gst-register (because it's no longer
10088 needed). Remove registry pools, because we only have one
10089 registry implementation (XML). Fix up other subsystems as
10092 2005-09-13 Michael Smith <msmith@fluendo.com>
10094 * gst/gstconfig.h.in:
10095 Don't Use windows linking attributes for MinGW. Fixes #316157
10097 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
10099 * gst/gstutils.c: (set_state_async_thread_func),
10100 (gst_element_set_state_async):
10101 Apparently people think it's better if this function doesn't
10102 try to set the state to whatever state was asked for on the first
10103 call to this function for any object. Seriously.
10105 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10107 * check/gst/gstpipeline.c: (GST_START_TEST):
10108 * docs/gst/gstreamer-sections.txt:
10109 * gst/gstutils.c: (set_state_async_thread_func),
10110 (gst_element_set_state_async):
10112 add a "gst_element_set_state_async" method that
10113 sets the state and starts a thread to make sure the state
10114 change completes as best as it can
10116 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10118 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10119 codify design+behaviour in testsuite after discussion
10121 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10123 * docs/gst/tmpl/gstelement.sgml:
10124 * docs/manual/appendix-quotes.xml:
10126 * gst/gstelement.c: (gst_element_set_state):
10129 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
10131 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10132 (gst_base_transform_prepare_output_buf),
10133 (gst_base_transform_handle_buffer):
10134 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
10135 (gst_capsfilter_prepare_buf):
10136 Remove the requirement for sub-classes to call the parent
10137 implementation of prepare_output_buffer with a wrapper function.
10139 * gst/gsttaglist.h:
10140 * gst/gsttagsetter.h:
10141 Fix #define wrapper
10143 2005-09-11 Stefan Kost <ensonic@users.sf.net>
10145 * docs/gst/gstreamer-sections.txt:
10148 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10150 * docs/gst/gstreamer-sections.txt:
10151 * docs/gst/tmpl/gstelement.sgml:
10152 * docs/gst/tmpl/gstplugin.sgml:
10153 * gst/gstminiobject.c:
10155 docs now stop throwing warnings
10157 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10159 * docs/gst/gstreamer-sections.txt:
10160 * docs/gst/gstreamer.types:
10161 * docs/gst/tmpl/gstpad.sgml:
10162 * docs/gst/tmpl/gsttypes.sgml:
10163 * gst/base/gstadapter.h:
10164 * gst/base/gstbasesink.h:
10165 * gst/base/gstbasesrc.h:
10171 * gst/gstelement.h:
10173 * gst/gstmessage.h:
10175 * gst/gststructure.c:
10176 * gst/registries/gstlibxmlregistry.h:
10177 various documentation fixes
10179 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10181 * docs/gst/gstreamer-sections.txt:
10182 * docs/gst/tmpl/gstvalue.sgml:
10183 rearrange gstvalue section
10184 * gst/gstutils.c: (gst_element_state_get_name):
10186 * gst/gstvalue.c: (_gst_value_initialize):
10190 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
10192 * check/gst-libs/controller.c:
10193 Header include fix.
10194 * gst/base/gstbasetransform.c:
10195 (gst_base_transform_default_prepare_buf),
10196 (gst_base_transform_handle_buffer):
10197 * gst/base/gstbasetransform.h:
10198 Some more basetransform changes and fixes to enable sub-classes
10199 that modify buffer metadata only.
10200 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10201 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
10202 (gst_capsfilter_prepare_buf):
10203 If the output pad has fixed allowed caps and input buffers
10204 don't have any, set the fixed caps on outgoing buffers.
10206 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
10207 * check/elements/identity.c: (GST_START_TEST):
10208 Make the error a little clearer when the test fails because
10209 identity made a copy of the buffer.
10210 * docs/gst/gstreamer-sections.txt:
10211 New symbols in gstbasetransform.h
10212 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10213 (gst_base_transform_init), (gst_base_transform_transform_size),
10214 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10215 (gst_base_transform_default_prepare_buf),
10216 (gst_base_transform_get_unit_size),
10217 (gst_base_transform_buffer_alloc),
10218 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10219 (gst_base_transform_change_state),
10220 (gst_base_transform_set_passthrough),
10221 (gst_base_transform_set_in_place),
10222 (gst_base_transform_is_in_place):
10223 * gst/base/gstbasetransform.h:
10224 Change BaseTransform to separate in_place operate from same_caps
10225 output. in_place implies that the element can perform the transform
10226 on incoming buffers in-place, even if the caps on the output are
10228 Sub-class elements can now implement special buffer allocation
10229 methods for outgoing buffers if they wish to.
10230 Big documentation addition.
10231 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
10232 * gst/elements/gstelements.c:
10233 Changes for basetransform modifications.
10234 * gst/elements/Makefile.am:
10235 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
10236 Compile fix. Extra debug output.
10238 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10240 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
10242 add tests for valid pad naming
10243 * gst/check/gstcheck.c: (gst_check_log_message_func),
10244 (gst_check_log_critical_func):
10246 remove printing of code, it is fragile when the code contains
10247 % and the line number is enough info
10248 * gst/check/gstcheck.h:
10249 * gst/gstpad.c: (gst_pad_template_new):
10252 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10255 say what CHECK flags we use
10256 * docs/libs/gstreamer-libs.types:
10257 * libs/gst/controller/Makefile.am:
10258 * libs/gst/controller/gst-controller.c:
10259 * libs/gst/controller/gst-controller.h:
10260 * libs/gst/controller/gst-helper.c:
10261 * libs/gst/controller/gst-interpolation.c:
10262 * libs/gst/controller/gstcontroller.c:
10263 * libs/gst/controller/gsthelper.c:
10264 * libs/gst/controller/gstinterpolation.c:
10265 * tools/gst-inspect.c: (print_plugin_info):
10266 we don't use dashes in header names
10268 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
10270 * check/Makefile.am:
10271 * check/gst/.cvsignore:
10272 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
10273 (gst_pipeline_suite), (main):
10274 adding a test for pipelines and state changes
10275 * gst/gstutils.c: (get_state_func):
10277 * gstreamer.spec.in:
10280 2005-09-08 Michael Smith <msmith@fluendo.com>
10282 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
10283 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
10284 (gst_file_src_is_seekable), (gst_file_src_get_size),
10285 (gst_file_src_start):
10286 * gst/elements/gstfilesrc.h:
10287 Various fixes for unseekable, unmmapable, and non-normal files, so
10288 that fallback to read() rather than mmap() works.
10289 * gst/gstevent.c: (gst_event_new_newsegment):
10290 Allow newsegment events with segment_start == segment_end, as will
10291 correctly happen if you use filesrc on a zero-size file, for
10294 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
10296 * gst/gstplugin.c: (gst_plugin_load_file):
10297 Call g_module_close when we don't load the module
10299 * gst/registries/gstlibxmlregistry.c:
10300 (gst_xml_registry_get_property):
10301 Port leak fix from 0.8
10303 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10305 * docs/gst/gstreamer-docs.sgml:
10306 * docs/gst/tmpl/.cvsignore:
10307 * docs/gst/tmpl/gsttrace.sgml:
10308 * docs/gst/tmpl/gsttrashstack.sgml:
10311 * gst/gstelement.h:
10313 * gst/gstmessage.c:
10314 * gst/gstmessage.h:
10317 * gst/gsttaginterface.c:
10318 * gst/gsttaginterface.h:
10319 * gst/gsttaglist.c:
10320 * gst/gsttaglist.h:
10321 * gst/gsttagsetter.c:
10322 * gst/gsttagsetter.h:
10325 * gst/gsttrashstack.c:
10326 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
10327 inlined docs for gsttrace, gsttrashstack
10329 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10332 * gst/elements/gstbufferstore.h:
10333 * gst/elements/gsttypefindelement.c:
10334 * gst/elements/gsttypefindelement.h:
10336 * gst/gsttypefind.c:
10337 * gst/gsttypefind.h:
10338 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
10339 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
10340 (gst_type_find_factory_dispose),
10341 (gst_type_find_factory_unload_thyself),
10342 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
10343 (gst_type_find_factory_get_caps),
10344 (gst_type_find_factory_get_extensions),
10345 (gst_type_find_factory_call_function):
10346 * gst/gsttypefindfactory.h:
10347 * gst/registries/gstlibxmlregistry.c:
10348 * gst/registries/gstxmlregistry.c:
10349 splitted gsttypefind into gsttypefind, gsttypefindfactory
10351 2005-09-07 Andy Wingo <wingo@pobox.com>
10353 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
10354 condition whereby the pad's task function is entered before the
10355 pad_mode variable was set.
10357 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
10359 * gst/gstpad.c: (gst_pad_alloc_buffer):
10360 Catch misbehaving pad_alloc functions that don't
10361 set up caps and do it for them.
10363 2005-09-07 Stefan Kost <ensonic@users.sf.net>
10365 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10366 test for pipe!=NULL
10367 * docs/gst/tmpl/.cvsignore:
10368 * docs/gst/tmpl/gstmemchunk.sgml:
10369 * docs/gst/tmpl/gstparse.sgml:
10370 * docs/gst/tmpl/gsttaglist.sgml:
10371 * docs/gst/tmpl/gsttagsetter.sgml:
10372 * docs/gst/tmpl/gsttypefind.sgml:
10373 * docs/gst/tmpl/gsttypefindfactory.sgml:
10374 * gst/gstmemchunk.c:
10377 * gst/gsttaginterface.c:
10378 * gst/gsttypefind.c:
10379 * gst/gsttypefind.h:
10382 === release 0.9.2 ===
10384 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
10389 releasing 0.9.2, "South"
10391 2005-09-05 Andy Wingo <wingo@pobox.com>
10393 * gst/registries/gstxmlregistry.h:
10394 * gst/registries/gstxmlregistry.c: Um... resurrect...
10396 * gst/registries/gstxmlregistry.h:
10397 * gst/registries/gstxmlregistry.c: and update to newer API.
10398 Incidentally they should be a bit faster now that they don't have
10401 2005-09-05 Andy Wingo <wingo@pobox.com>
10403 * gst/registries/gstxmlregistry.h:
10404 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
10405 replaced by the libxml registry a while back
10407 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
10409 * docs/gst/tmpl/gstplugin.sgml:
10410 * gst/elements/gstelements.c:
10412 * gst/gstplugin.c: (gst_plugin_register_func),
10413 (gst_plugin_desc_copy), (gst_plugin_desc_free),
10414 (gst_plugin_get_source):
10416 * gst/registries/gstlibxmlregistry.c: (load_plugin),
10417 (gst_xml_registry_save_plugin):
10418 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
10419 (gst_xml_registry_save_plugin):
10420 * tools/gst-inspect.c: (print_plugin_info):
10421 add a "source" plugin description field, to represent the source
10422 module this plugin is a part of. By default GST_PLUGIN_DEFINE
10423 will set it to PACKAGE, which is automake's idea of the name of
10424 the source project.
10426 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
10431 * docs/Makefile.am:
10432 * docs/faq/Makefile.am:
10433 * docs/gst/tmpl/gstelement.sgml:
10434 * docs/gst/tmpl/gsttypes.sgml:
10435 * docs/htmlinstall.mak:
10436 * docs/manual/Makefile.am:
10437 * docs/pwg/Makefile.am:
10438 reorganize doc build a little
10439 split out docbook and gtk-doc stuff
10440 have two separate --enable's and enable them through autogen
10441 but disable by default in configure (to be similar to other
10443 * gstreamer.spec.in:
10444 clean up docs install
10462 translation updates
10464 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
10466 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
10469 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10470 (gst_fake_sink_change_state):
10471 Make state change function thread-safe.
10473 * gst/gstpad.c: (gst_pad_alloc_buffer):
10474 Set offset on generic buffer allocated by fallback.
10476 2005-09-03 Stefan Kost <ensonic@users.sf.net>
10478 * docs/gst/gstreamer-sections.txt:
10479 * docs/gst/tmpl/gstelement.sgml:
10481 * libs/gst/controller/gst-controller.c:
10482 (gst_controlled_property_set_interpolation_mode),
10483 (gst_controlled_property_new),
10484 (gst_controller_find_controlled_property):
10485 run the wingo-magic script against the docs
10487 2005-09-02 Stefan Kost <ensonic@users.sf.net>
10489 * docs/gst/gstreamer-docs.sgml:
10490 * docs/gst/gstreamer-sections.txt:
10491 * docs/gst/tmpl/.cvsignore:
10492 * docs/gst/tmpl/gstelementdetails.sgml:
10493 * docs/gst/tmpl/gstelementfactory.sgml:
10496 * gst/gstelementfactory.c:
10497 * gst/gstelementfactory.h:
10498 merged elementdetails docs into elementfactory docs
10501 2005-09-02 Andy Wingo <wingo@pobox.com>
10503 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
10504 consider this enum an enum and not a flags.
10506 2005-09-02 Stefan Kost <ensonic@users.sf.net>
10508 * docs/gst/gstreamer-docs.sgml:
10509 * docs/gst/tmpl/.cvsignore:
10510 * docs/gst/tmpl/gstghostpad.sgml:
10511 * docs/gst/tmpl/gstiterator.sgml:
10512 * docs/gst/tmpl/gstmacros.sgml:
10513 * docs/gst/tmpl/gstrealpad.sgml:
10514 * docs/gst/tmpl/gstregistry.sgml:
10515 * docs/gst/tmpl/gstregistrypool.sgml:
10516 * docs/gst/tmpl/gststructure.sgml:
10517 * docs/gst/tmpl/gstsystemclock.sgml:
10518 * docs/gst/tmpl/gsttrace.sgml:
10519 * gst/gstghostpad.c:
10521 * gst/gstmemchunk.c:
10522 * gst/gstmemchunk.h:
10524 * gst/gstregistry.c:
10525 * gst/gstregistrypool.c:
10526 * gst/gststructure.c:
10527 * gst/gstsystemclock.c:
10530 2005-09-02 Andy Wingo <wingo@pobox.com>
10532 * gst/gstelement.h (GstState): Renamed from GstElementState,
10533 changed to be a normal enum instead of flags.
10534 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
10535 munged to be GST_STATE_CHANGE_*.
10536 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
10537 work with the new state representation.
10538 (GstStateChange): New enumeration of possible state transitions.
10539 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
10540 (GstElementClass::change_state): Pass the GstStateChange along as
10541 an argument. Helps language bindings, so they don't have to use
10542 tricky lock-needing macros like GST_STATE_CHANGE ().
10544 * scripts/update-states (file): New script. Run it on a file to
10545 update it for state naming and API changes. Updates files in
10548 * All files updated for the new API.
10550 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
10552 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
10553 * gst/gstutils.c: (gst_util_set_value_from_string),
10554 (gst_util_set_object_arg):
10555 fix a bunch of unchecked return values
10556 * tools/gst-complete.c: (main):
10557 * gstreamer.spec.in:
10560 2005-09-01 Wim Taymans <wim@fluendo.com>
10562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10563 (gst_base_sink_event), (gst_base_sink_do_sync),
10564 (gst_base_sink_handle_event):
10565 * gst/base/gstbasesink.h:
10566 Handle newsegments more correctly.
10571 * gst/gstevent.c: (gst_event_new_newsegment):
10572 A newsegment cannot have a start_time of -1
10574 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
10576 * win32/gstenumtypes.c:
10577 * win32/gstenumtypes.h:
10580 2005-08-31 Stefan Kost <ensonic@users.sf.net>
10582 * libs/gst/controller/gst-controller.c:
10583 (gst_controlled_property_set_interpolation_mode),
10584 (gst_controlled_property_new):
10585 fixed boolean again
10587 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
10589 * docs/faq/gst-uninstalled:
10594 * gst/gstutils.c: (gst_element_link_filtered):
10596 add gst_element_link_filtered
10598 2005-08-31 Stefan Kost <ensonic@users.sf.net>
10600 * docs/gst/gstreamer-docs.sgml:
10601 * docs/gst/gstreamer-sections.txt:
10602 * docs/gst/tmpl/.cvsignore:
10603 * docs/gst/tmpl/gsterror.sgml:
10604 * docs/gst/tmpl/gstfilter.sgml:
10605 * docs/gst/tmpl/gsturihandler.sgml:
10606 * docs/gst/tmpl/gsturitype.sgml:
10607 * docs/gst/tmpl/gstutils.sgml:
10608 * docs/gst/tmpl/gstxml.sgml:
10613 * gst/gsturitype.c:
10616 inlined more docs, fixed double id-ref
10618 2005-08-31 Wim Taymans <wim@fluendo.com>
10620 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
10621 (gst_base_transform_handle_buffer):
10622 Passthrough elements don't need the caps as they don't care.
10624 2005-08-31 Wim Taymans <wim@fluendo.com>
10626 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
10627 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
10628 Don't leak refcounts on buffers.
10630 2005-08-31 Wim Taymans <wim@fluendo.com>
10632 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
10633 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10634 (gst_base_transform_chain), (gst_base_transform_change_state):
10635 * gst/base/gstbasetransform.h:
10636 Handle the case where we are not negotiated more gracefully.
10638 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
10640 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
10641 (gst_file_src_map_region):
10642 Set READONLY flag on mmap'ed buffers, otherwise
10643 gst_buffer_make_writable() won't work properly (#314708).
10645 2005-08-31 Wim Taymans <wim@fluendo.com>
10647 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
10648 passthrough elements can even do inplace on non writable
10649 buffers (as they don't touch them).
10651 2005-08-31 Stefan Kost <ensonic@users.sf.net>
10653 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
10654 (gst_test_mono_source_set_property),
10655 (gst_test_mono_source_class_init), (GST_START_TEST),
10656 (gst_controller_suite):
10657 more tests (hehe I have the most)
10659 describe popping messages whenusing mulltiple sources
10660 * libs/gst/controller/gst-controller.c:
10661 (gst_controlled_property_set_interpolation_mode),
10662 (gst_controlled_property_new):
10663 * libs/gst/controller/gst-controller.h:
10664 * libs/gst/controller/gst-interpolation.c:
10665 implement boolean properties
10667 2005-08-31 Wim Taymans <wim@fluendo.com>
10669 * gst/gstminiobject.c: (gst_mini_object_ref):
10670 Cannot assert that the refcount has to be positive
10671 since a disposed object can be resurrected.
10673 2005-08-31 Wim Taymans <wim@fluendo.com>
10675 * gst/gstpad.c: (gst_pad_init):
10676 Revert change, need to first fix badly behaving
10679 2005-08-30 Wim Taymans <wim@fluendo.com>
10681 * check/elements/fakesrc.c: (setup_fakesrc):
10682 * check/elements/identity.c: (setup_identity):
10683 Activate pads before using them.
10685 2005-08-30 Wim Taymans <wim@fluendo.com>
10687 * gst/base/gstadapter.c: (gst_adapter_flush):
10688 Flushing out 0 bytes is ok for this function.
10690 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10691 no newsegment gives a warning and sets the start/stop to
10694 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
10695 (gst_base_transform_set_passthrough):
10698 * gst/gstminiobject.c: (gst_mini_object_ref):
10699 Check refcount here too.
10701 * gst/gstpad.c: (gst_pad_init):
10702 Pads are initially flushing and refusing data.
10704 * gst/gstutils.c: (gst_element_link_pads_filtered):
10705 When adding a capsfilter element make sure it has the
10706 same state as the parent bin.
10708 2005-08-30 Stefan Kost <ensonic@users.sf.net>
10710 * docs/gst/tmpl/.cvsignore:
10711 * docs/gst/tmpl/gstformat.sgml:
10712 * docs/gst/tmpl/gstversion.sgml:
10716 * gst/gstversion.h.in:
10717 more docs and two more inlined
10719 2005-08-30 Wim Taymans <wim@fluendo.com>
10721 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
10722 Don't sync to clock.
10724 2005-08-30 Stefan Kost <ensonic@users.sf.net>
10726 * docs/gst/gstreamer-sections.txt:
10727 ultral33t func10ns deserve to appear in the docs actually
10728 * docs/gst/tmpl/.cvsignore:
10729 * docs/gst/tmpl/gstcompat.sgml:
10730 * docs/gst/tmpl/gstconfig.sgml:
10731 * gst/check/gstcheck.c:
10733 * gst/gstconfig.h.in:
10736 2005-08-30 Stefan Kost <ensonic@users.sf.net>
10738 * docs/gst/tmpl/.cvsignore:
10739 * docs/gst/tmpl/gstquery.sgml:
10740 * docs/gst/tmpl/gstutils.sgml:
10743 inlined and extended docs
10745 2005-08-30 Stefan Kost <ensonic@users.sf.net>
10747 * check/gst-libs/controller.c: (GST_START_TEST),
10748 (gst_controller_suite):
10750 * docs/gst/tmpl/gstutils.sgml:
10751 * docs/libs/gstreamer-libs-sections.txt:
10752 * docs/libs/tmpl/gstdataprotocol.sgml:
10754 * examples/controller/audio-example.c: (main):
10755 controller example works now
10758 * tools/gst-inspect.c: (print_element_properties_info):
10759 show param spec flags
10761 2005-08-29 Andy Wingo <wingo@pobox.com>
10763 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
10765 2005-08-28 Andy Wingo <wingo@pobox.com>
10767 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
10768 as having two arguments instead of just one. Allows superclasses
10769 to access information on subclasses -- see the terrible for() loop
10770 in gtype.c:g_type_create_instance for the reason why. All callers
10773 2005-08-27 Stefan Kost <ensonic@users.sf.net>
10775 * docs/design/part-messages.txt:
10777 * docs/gst/tmpl/.cvsignore:
10778 * docs/gst/tmpl/gstcaps.sgml:
10779 * docs/gst/tmpl/gstclock.sgml:
10785 * gst/gstmessage.c:
10786 added descriptions for bus and message
10787 inline caps and clock docs
10789 2005-08-27 Stefan Kost <ensonic@users.sf.net>
10791 * gst/gstmessage.c:
10792 * gst/gstmessage.h:
10795 2005-08-27 Stefan Kost <ensonic@users.sf.net>
10797 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10800 2005-08-26 Andy Wingo <wingo@pobox.com>
10802 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
10803 element_set_state's return val.
10804 (test_2_elements): Add test that's been disabled for months.
10806 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
10807 can-activate-pull properties.
10809 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
10810 can-activate-pull properties. Implement is_seekable so fakesrc can
10811 operate in pull mode.
10813 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
10815 (gst_base_sink_activate, gst_base_sink_activate_pull)
10816 (gst_base_sink_activate_push): Make activation mode choosing work.
10818 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
10819 is right. Make pull mode work. Post an eos before pausing in pull
10821 (gst_base_sink_change_state): Pay attention to the core's
10822 change_state() return val.
10824 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
10825 has-getrange properties. Cleanups.
10827 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
10828 has_getrange and replace with can_activate_pull and
10831 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
10832 locking comments. Remove has_loop, has_chain and replace with
10833 can_activate_pull and can_activate_push.
10835 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
10838 * examples/Makefile.am:
10839 * examples/metadata/Makefile.am:
10840 * examples/metadata/read-metadata.c: (message_loop),
10841 (have_pad_handler), (make_pipeline), (print_tag), (main):
10842 Add metadata reading example that loops over a list of filenames,
10843 dumping any tags found.
10845 * gst/gstbus.c: (gst_bus_dispose):
10846 * gst/gstelement.c: (gst_element_dispose):
10847 Release a few potentially-held references in dispose.
10849 2005-08-26 Stefan Kost <ensonic@users.sf.net>
10851 * docs/gst/tmpl/gstminiobject.sgml:
10852 do *not* add tmpl/*.sgml files to CVS!
10854 2005-08-26 Stefan Kost <ensonic@users.sf.net>
10856 * libs/gst/bytestream/.cvsignore:
10857 * libs/gst/bytestream/Makefile.am:
10858 * libs/gst/bytestream/adapter.c:
10859 * libs/gst/bytestream/adapter.h:
10860 * libs/gst/bytestream/bytestream.c:
10861 * libs/gst/bytestream/bytestream.h:
10862 * libs/gst/bytestream/filepad.c:
10863 * libs/gst/bytestream/filepad.h:
10864 removing obsolete files
10866 2005-08-26 Stefan Kost <ensonic@users.sf.net>
10868 * docs/gst/gstreamer-docs.sgml:
10869 * docs/libs/gstreamer-libs-docs.sgml:
10870 disabed additional index entries again, as this makes docs-gen just
10871 slow and they aren't useful yet
10872 * docs/libs/gstreamer-libs-sections.txt:
10873 little -section.txt cleanup for libs
10875 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
10877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10878 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
10879 fix up some debugging
10880 (gst_base_transform_get_unit_size),
10881 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
10882 (gst_base_transform_handle_buffer):
10883 * gst/base/gstbasetransform.h:
10884 handle and store timed NEWSEGMENT events so that subclasses that
10885 calculate time by counting samples have a segment_start time they
10886 need to add to their timestamps - see audioresample
10888 2005-08-26 Stefan Kost <ensonic@users.sf.net>
10891 removed ';' from the end of macro defs
10892 * docs/gst/gstreamer-docs.sgml:
10893 * docs/gst/gstreamer-sections.txt:
10894 * docs/gst/tmpl/.cvsignore:
10896 * gst/gstelement.c: (gst_element_class_init),
10897 (gst_element_set_state), (activate_pads),
10898 (gst_element_save_thyself):
10899 * gst/gstevent.c: (gst_event_new_newsegment):
10901 * gst/gstiterator.c:
10902 * gst/gstiterator.h:
10905 * gst/gstutils.c: (gst_pad_query_convert):
10907 fixed parameter name mismatches between source, header and docs
10908 added some more docs, resolved the last batch of unused elements in
10909 docs (now someone needs to doc them)
10911 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
10913 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
10914 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
10915 don't walk through the plugins backwards. Where is all this
10916 reversed logic coming from ?
10918 2005-08-25 Wim Taymans <wim@fluendo.com>
10920 * gst/base/gstbasetransform.c: (gst_base_transform_init),
10921 (gst_base_transform_transform_size),
10922 (gst_base_transform_configure_caps),
10923 (gst_base_transform_get_unit_size),
10924 (gst_base_transform_buffer_alloc),
10925 (gst_base_transform_change_state):
10926 * gst/base/gstbasetransform.h:
10927 Cache caps unit_size.
10928 Make sure we cannot negotiate up and downstream at the
10931 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
10933 * gst/gst.c: (init_pre), (init_post):
10934 register the installed plugin path after the env var
10935 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
10936 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
10937 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
10938 directories, so the tests can prefer uninstalled over installed
10940 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
10942 * gst/base/gstbasetransform.h:
10947 2005-08-25 Wim Taymans <wim@fluendo.com>
10949 * gst/gstbin.c: (bin_bus_handler):
10950 Be a bit more conservative about the posted message.
10952 * gst/gstbus.c: (gst_bus_post):
10953 Some cleanups, warn wrong return values.
10955 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
10957 * check/gst/gstbin.c: (GST_START_TEST):
10958 * gst/gstbin.c: (bin_bus_handler):
10959 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
10960 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
10961 (gst_message_new_warning), (gst_message_new_tag),
10962 (gst_message_new_state_changed), (gst_message_new_segment_start),
10963 (gst_message_new_segment_done), (gst_message_new_custom):
10964 * gst/gstmessage.h:
10965 * tools/gst-launch.c: (event_loop):
10966 * tools/gst-md5sum.c: (event_loop):
10967 Revert unpopular change for GST_MESSAGE_SRC to GObject.
10969 2005-08-25 Wim Taymans <wim@fluendo.com>
10971 * check/generic/states.c: (GST_START_TEST):
10972 Cleanup can be done at the end.
10974 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
10975 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
10976 (gst_task_get_state), (gst_task_start), (gst_task_pause):
10977 Oh boy.. Thanks for finding this, Thomas.
10979 2005-08-25 Stefan Kost <ensonic@users.sf.net>
10981 * docs/gst/gstreamer.types:
10982 added missing types
10984 2005-08-25 Stefan Kost <ensonic@users.sf.net>
10986 * docs/gst/gstreamer-docs.sgml:
10987 * docs/gst/gstreamer-sections.txt:
10988 * docs/gst/tmpl/.cvsignore:
10990 * gst/gstiterator.c:
10992 * gst/registries/gstxmlregistry.h:
10993 added missing classes and symbols (123 more to go)
10994 removed removed symbols from section file
10995 fixed many doc-comments
10997 2005-08-24 Wim Taymans <wim@fluendo.com>
10999 * check/generic/states.c: (GST_START_TEST):
11000 Make sure all tasks are stopped.
11002 * check/gst/gstbin.c: (GST_START_TEST):
11003 Unref after usage for proper valgrinding.
11005 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
11006 Really wait for the task to stop before destroying the
11009 * gst/gstqueue.c: (gst_queue_sink_activate_push),
11010 (gst_queue_src_activate_push):
11011 Small cleanups. Don't stop the task when we did not start
11014 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
11015 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11016 (gst_task_get_state), (gst_task_start), (gst_task_pause),
11019 Protect the stream lock with the object lock.
11020 Disallow setting the stream lock when running.
11021 Add cleanup_all to wait for the threadpool to finish.
11022 Remove code to autoallocate a mutex if none was provided.
11023 Add _join() to wait for a task to stop.
11024 Protect the thread pool with a global lock.
11026 2005-08-24 Wim Taymans <wim@fluendo.com>
11028 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11029 (gst_base_sink_get_times), (gst_base_sink_do_sync),
11030 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
11031 * gst/base/gstbasesink.h:
11032 Handle newsegment events correctly.
11033 Drop buffers out of the segment range.
11035 2005-08-22 Andy Wingo <wingo@pobox.com>
11037 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
11038 macro, implements an interface and gstimplementsinterface for a
11041 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
11043 * check/Makefile.am:
11044 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
11045 add a test that does a bunch of state changes on elements
11046 needs some fixing for valgrind
11047 * check/states/sinks.c: (gst_object_suite):
11050 add prototype for gst_caps_is_equal_fixed
11052 * gst/gstregistrypool.c:
11055 2005-08-24 Andy Wingo <wingo@pobox.com>
11057 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
11058 convert a negative value. Doesn't make much sense. Mostly this is
11059 here to force callers to ensure -1 maps to -1.
11061 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
11063 * docs/pwg/advanced-types.xml:
11064 Well done to Michael for catching my deliberate introduction
11065 of this spelling mistake.
11066 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
11067 * gst/gstelement.h:
11068 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
11069 unlink pads before removing the element from the bin.
11071 2005-08-24 Andy Wingo <wingo@pobox.com>
11073 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
11074 the same thing as GST_DEBUG=*:4.
11075 (parse_debug_level, parse_debug_category): New helper parsers.
11077 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
11079 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11080 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
11081 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
11082 (gst_base_transform_buffer_alloc),
11083 (gst_base_transform_handle_buffer):
11084 use gboolean return values and pointers to size so we can use the
11085 full GST_BUFFER_SIZE range (guint) for buffer sizes
11086 use GstPadDirection for transform_caps
11087 * gst/base/gstbasetransform.h:
11088 rename get_size to get_unit_size since that's what it is
11089 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
11090 use GstPadDirection for transform_caps
11091 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11093 cleanup and debugging
11095 2005-08-24 Stefan Kost <ensonic@users.sf.net>
11097 * gst/gstelement.c: (gst_element_class_init),
11098 (gst_element_set_state), (activate_pads),
11099 (gst_element_save_thyself):
11100 * tools/gst-compprep.c: (main):
11101 * tools/gst-inspect.c: (print_element_properties_info):
11102 * tools/gst-xmlinspect.c: (print_element_properties):
11103 Fixed long standing mem-leak
11105 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
11107 * check/gst/gstbin.c: (GST_START_TEST):
11108 * gst/gstbin.c: (bin_bus_handler):
11109 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11110 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11111 (gst_message_new_warning), (gst_message_new_tag),
11112 (gst_message_new_state_changed), (gst_message_new_segment_start),
11113 (gst_message_new_segment_done), (gst_message_new_custom):
11114 * gst/gstmessage.h:
11115 * tools/gst-launch.c: (event_loop):
11116 * tools/gst-md5sum.c: (event_loop):
11117 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
11118 that applications can sensibly post custom messages with references
11119 to their own objects.
11121 2005-08-24 Andy Wingo <wingo@pobox.com>
11123 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
11126 2005-08-24 Wim Taymans <wim@fluendo.com>
11128 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11129 (gst_base_transform_transform_caps),
11130 (gst_base_transform_transform_size),
11131 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11132 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
11133 (gst_base_transform_handle_buffer):
11134 * gst/base/gstbasetransform.h:
11135 Many fixes and new features added by Thomas. Can now also do
11136 transforms with variable sizes and a custom fixate_caps function.
11138 2005-08-24 Wim Taymans <wim@fluendo.com>
11140 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11144 Cast to ClockTime before formatting to time.
11149 2005-08-24 Stefan Kost <ensonic@users.sf.net>
11151 * check/gst-libs/controller.c: (GST_START_TEST),
11152 (gst_controller_suite):
11153 * docs/gst/tmpl/gstcaps.sgml:
11154 * docs/gst/tmpl/gstghostpad.sgml:
11155 * docs/gst/tmpl/gstquery.sgml:
11156 * docs/gst/tmpl/gstutils.sgml:
11157 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
11158 (gst_object_sink_values), (gst_object_get_value_arrays),
11159 (gst_object_get_value_array):
11160 gracefully handle helper method calls to objects that are not beeing
11161 controlled, added test case for that
11163 2005-08-23 Wim Taymans <wim@fluendo.com>
11165 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
11166 (gst_event_new_newsegment), (gst_event_parse_newsegment),
11167 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
11168 (gst_event_parse_qos), (gst_event_new_seek),
11169 (gst_event_parse_seek):
11171 Some more debugging output and doc cleanups.
11173 * gst/gstqueue.c: (gst_queue_handle_sink_event):
11174 Fix possible deadlock.
11176 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11178 * docs/gst/gstreamer-docs.sgml:
11179 * docs/gst/gstreamer-sections.txt:
11180 * docs/gst/gstreamer.types:
11181 * docs/gst/tmpl/.cvsignore:
11184 * gst/gstelement.c:
11186 added 100 symbols from gstreamer-unused.txt to the right sections
11187 fixed more broken comments
11188 added GstBus to docs
11190 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11192 * docs/gst/gstreamer-sections.txt:
11193 * docs/gst/tmpl/.cvsignore:
11194 * docs/gst/tmpl/gstbin.sgml:
11195 * docs/gst/tmpl/gstbuffer.sgml:
11196 * gst/base/gstbasesrc.c:
11197 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
11200 * tools/gst-launch.1.in:
11201 inlined more doc comments, added missing comments and fixed comments
11204 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
11206 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11210 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
11212 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
11213 * gst/gststructure.h:
11214 add a fixate function for booleans; add a FIXME that these func
11215 names should probably be gst_structure_fixate_*
11217 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11219 * docs/gst/gstreamer-docs.sgml:
11220 * docs/gst/gstreamer-sections.txt:
11222 * gst/gstbin.c: (gst_bin_get_type),
11223 (gst_bin_child_proxy_get_child_by_index),
11224 (gst_bin_child_proxy_get_children_count),
11225 (gst_bin_child_proxy_init):
11226 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11227 (gst_child_proxy_get_child_by_index),
11228 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
11229 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
11230 (gst_child_proxy_get), (gst_child_proxy_set_property),
11231 (gst_child_proxy_set_valist), (gst_child_proxy_set),
11232 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
11233 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
11234 * gst/gstchildproxy.h:
11235 * gst/parse/grammar.y:
11236 * tools/gst-inspect.c: (print_interfaces),
11237 (print_element_properties_info), (print_element_info):
11238 ported gstchildproxy over from 0.8
11239 ported gst-inspect fixes and enhancements over from 0.8
11241 2005-08-22 Wim Taymans <wim@fluendo.com>
11243 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11244 (gst_base_transform_handle_buffer):
11245 Also call the transform function if we have ANY caps.
11247 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
11250 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
11252 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
11253 Don't pretend to handle seek events if the source is not seekable
11255 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
11257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11258 Remove extra parameter to debug output
11260 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
11261 (gst_base_src_do_seek), (gst_base_src_activate_push):
11262 Fix seek event handling.
11264 * gst/gstpipeline.c: (gst_pipeline_change_state):
11265 * gst/gstqueue.c: (gst_queue_handle_sink_event),
11266 (gst_queue_src_activate_push):
11267 Don't start the src pad task on FLUSH_STOP if the pad
11271 2005-08-22 Wim Taymans <wim@fluendo.com>
11273 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11274 Added check for gst_static_caps_get() refcounting.
11276 2005-08-22 Wim Taymans <wim@fluendo.com>
11278 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
11279 Make _static_caps_get() refcounting sane.
11281 * gst/gstelement.c: (gst_element_set_state):
11282 Add g_return_val_if_fail() to protect against segfaults.
11284 2005-08-22 Stefan Kost <ensonic@users.sf.net>
11286 * docs/gst/tmpl/gstevent.sgml:
11289 inlined remaining docs, added missing doc comments
11291 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
11293 * check/gst/gstbin.c: (GST_START_TEST):
11294 since we don't know when preroll is done, use refcount range
11296 * gst/check/gstcheck.h:
11297 add macro for checking refcount range
11299 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
11301 * check/Makefile.am:
11302 clean up environment for when registry gets built versus
11303 when actual tests are run; valgrind seems to not report
11304 leaks if GST_PLUGIN_PATH is set to some specific values
11305 * check/gst/gstbin.c: (GST_START_TEST):
11306 add more refcounting checks; maybe this exposes a
11308 * common/check.mak:
11309 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11310 * gst/check/gstcheck.h:
11311 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
11312 (gst_bin_change_state):
11313 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
11314 add/fix debugging/whitespace
11316 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
11318 * check/gst/gstevent.c: (event_probe), (test_event),
11320 Er, don't call gst_bin_watch_for_state_change you idiot.
11322 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
11324 * check/Makefile.am:
11325 Use CHECK_CFLAGS and CHECK_LIBS
11326 * check/gst/gstevent.c: (event_probe), (test_event),
11329 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
11330 (gst_base_src_start), (gst_base_src_stop),
11331 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11332 (gst_base_src_change_state):
11333 Sprinkle gst_base_src_stop liberally around error paths to fix
11334 problems reusing a source after failed state changes.
11335 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11336 (helper_find_suggest), (gst_type_find_helper):
11337 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
11339 * docs/gst/tmpl/gstevent.sgml:
11340 Migrate part of the docs from the SGML file. Wait for ensonic to
11341 tell me how I did it wrong ;)
11342 * tools/gst-typefind.c: (main):
11343 Extra robustness to state changes between files.
11345 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
11347 * check/Makefile.am:
11348 don't valgrind the controller test - it's leaking - Stefan, HELP
11349 * gst/check/gstcheck.c: (gst_check_message_error),
11350 (gst_check_chain_func), (gst_check_setup_element),
11351 (gst_check_teardown_element), (gst_check_setup_src_pad),
11352 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11353 (gst_check_teardown_sink_pad):
11354 * gst/check/gstcheck.h:
11355 add a bunch of methods to set up elements, and src and sink pads
11356 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
11357 * check/elements/identity.c: (setup_identity), (cleanup_identity),
11360 * gst/gstmessage.c:
11362 whitespace/doc fixes
11364 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11366 * gst/gstelement.h:
11367 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
11368 be handled by the application and not always printed as well
11370 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11372 * check/Makefile.am:
11374 * gst/check/gstcheck.c: (gst_check_message_error):
11375 * gst/check/gstcheck.h:
11376 add a fail_unless_equals_int
11377 add fail_unless for error messages
11379 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11381 * check/Makefile.am:
11383 * common/Makefile.am:
11384 * common/check.mak:
11386 factor out some of the common stuff so we can use it
11388 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11390 * check/Makefile.am:
11391 * check/gst/gstiterator.c: (GST_START_TEST):
11392 * check/gst/gstsystemclock.c: (GST_START_TEST),
11393 (gst_systemclock_suite):
11394 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11396 valgrind more tests
11398 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
11400 * check/elements/.cvsignore:
11401 * check/elements/gstfakesrc.c:
11402 rename to name of element
11403 * check/elements/identity.c: (chain_func), (event_func),
11404 (setup_identity), (cleanup_identity), (GST_START_TEST),
11405 (identity_suite), (main):
11406 add a test for identity
11407 * check/Makefile.am:
11408 * pkgconfig/Makefile.am:
11409 * pkgconfig/gstreamer-check.pc.in:
11410 * pkgconfig/gstreamer-check-uninstalled.pc.in:
11414 move the check stuff to a library that gets installed
11415 * check/gst-libs/controller.c: (GST_START_TEST):
11416 * check/gst-libs/gdp.c:
11417 * check/gst/gst.c: (GST_START_TEST):
11418 * check/gst/gstbin.c:
11419 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11420 * check/gst/gstbus.c:
11421 * check/gst/gstcaps.c: (GST_START_TEST):
11422 * check/gst/gstelement.c:
11423 * check/gst/gstghostpad.c:
11424 * check/gst/gstiterator.c:
11425 * check/gst/gstmessage.c:
11426 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
11427 * check/gst/gstobject.c:
11428 * check/gst/gstpad.c: (GST_START_TEST):
11429 * check/gst/gststructure.c: (GST_START_TEST):
11430 * check/gst/gstsystemclock.c: (GST_START_TEST),
11431 (gst_systemclock_suite):
11432 * check/gst/gsttag.c: (gst_tag_suite):
11433 * check/gst/gstvalue.c:
11434 * check/pipelines/cleanup.c:
11435 * check/pipelines/simple_launch_lines.c:
11436 * check/states/sinks.c:
11437 change include statement
11439 * docs/gst/gstreamer-sections.txt:
11440 * docs/gst/tmpl/gstpad.sgml:
11441 document more pad stuff
11442 * gst/gstminiobject.c: (gst_mini_object_ref),
11443 (gst_mini_object_unref):
11446 2005-08-19 Stefan Kost <ensonic@users.sf.net>
11448 * docs/gst/tmpl/gst.sgml:
11450 eliminate another tmpl file, fix spelling in the long-description
11452 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11454 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
11455 (test_event), (timediff), (gstevents_suite):
11456 Should fix build on 64-bit arch's
11458 2005-08-18 Andy Wingo <wingo@pobox.com>
11460 Make sure that when a pipeline goes to PLAYING, that data has
11461 actually hit the sink.
11463 * check/states/sinks.c (test_sink): A sink that doesn't get any
11464 data shouldn't return SUCCESS for going to either PLAYING or
11465 PAUSED. Test also the return values on the way back down.
11467 * gst/gstelement.c (gst_element_set_state): When changing the
11468 state of an element currently changing state asynchronously, go to
11469 lost-state after commiting the pending state. Makes future calls
11470 to get_state continue to return ASYNC.
11472 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
11473 ASYNC when going to PLAYING if we still don't have preroll, as can
11474 happen with live sources.
11476 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11478 * docs/pwg/advanced-types.xml:
11479 Hack long paragraph into 2 chunks as a workaround for buggy
11480 jadetex version in sid and breezy that loops infinitely and
11483 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11485 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
11486 (test_event), (timediff), (gstevents_suite):
11487 Provide more error margin in clock measurements to allow for
11488 g_get_current_time inaccuracies.
11490 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11492 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
11493 (test_event), (timediff), (gstevents_suite):
11494 Fix error message output so I might be able to tell why the
11495 test works here but fails on the build farm.
11497 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
11499 * check/Makefile.am:
11500 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
11501 (test_event), (timediff), (gstevents_suite), (main):
11504 * docs/design/part-seeking.txt:
11505 Spelling correction
11507 * docs/gst/tmpl/gstevent.sgml:
11508 * docs/gst/tmpl/gstfakesrc.sgml:
11511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11512 Treat a buffer-without-newsegment the same as a receiving
11513 a newsegment not in time format, and disable syncing to the clock
11516 * gst/gstbus.c: (gst_bus_set_sync_handler):
11517 Assert if anyone tries to replace the existing sync_handler for bus,
11518 as only the owner should be setting it.
11521 Have a fixed set of custom event enums with events identified by
11522 their structure name (as in 0.8), rather than a free-for-all
11523 allowing collisions between enum values from different plugins.
11525 * gst/gstpad.c: (gst_pad_class_init):
11528 * gst/gstqueue.c: (gst_queue_handle_sink_event):
11529 Handle out-of-band downstream events from the sending thread.
11531 2005-08-17 Andy Wingo <wingo@pobox.com>
11533 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
11534 play-timeout==0 to mean no timeout at all. In that case, don't
11535 bother with a get_state or a warning, just return directly, even
11538 * gst/base/gstbasetransform.c: Debug changes.
11541 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
11542 ensure bins post state change messages. A bit of a hack but I can't
11543 think of a way to avoid it.
11545 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
11547 2005-08-16 Andy Wingo <wingo@pobox.com>
11549 * gst/base/gstadapter.h:
11550 * gst/base/gstadapter.c (gst_adapter_take): New function, like
11551 peek() but you own the data. Not terribly efficient atm.
11553 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11555 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
11556 (gst_element_found_tags):
11558 Add two utility functions for tag handling.
11560 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11562 * docs/manual/advanced-dataaccess.xml:
11563 * docs/manual/basics-helloworld.xml:
11564 Fix docs to use _bin_add() before _link(), which fixes the examples
11565 with recent core versions (reported by Madhan Raj M
11566 <raj_madan@rediffmail.com>, #313199).
11568 2005-08-16 Wim Taymans <wim@fluendo.com>
11570 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11571 Added subtract checks.
11573 * docs/design/part-events.txt:
11574 Some more docs about newsegment
11576 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
11579 * gst/gstcaps.c: (gst_caps_to_string):
11580 Add comments, cleanups.
11582 * gst/gstelement.c: (gst_element_save_thyself):
11585 * gst/gstvalue.c: (gst_value_collect_int_range),
11586 (gst_string_unwrap), (gst_value_union_int_int_range),
11587 (gst_value_union_int_range_int_range),
11588 (gst_value_intersect_int_int_range),
11589 (gst_value_intersect_int_range_int_range),
11590 (gst_value_intersect_double_double_range),
11591 (gst_value_intersect_double_range_double_range),
11592 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
11593 (gst_value_subtract_int_range_int),
11594 (gst_value_subtract_double_range_double),
11595 (gst_value_subtract_double_range_double_range),
11596 (gst_value_subtract_from_list), (gst_value_subtract_list),
11597 (gst_value_can_compare), (gst_value_compare_fraction):
11598 Cleanups, add comments, remove unneeded asserts.
11600 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
11602 * tools/gst-launch.c: (event_loop):
11603 don't convert NULL structures to strings
11605 2005-08-15 Stefan Kost <ensonic@users.sf.net>
11607 * docs/gst/gstreamer-sections.txt:
11608 made some defines private
11609 * docs/gst/tmpl/gstconfig.sgml:
11610 * docs/gst/tmpl/gstqueue.sgml:
11611 * docs/gst/tmpl/gsttaglist.sgml:
11612 * docs/gst/tmpl/gsttypes.sgml:
11613 * docs/gst/tmpl/gstutils.sgml:
11614 * docs/pwg/appendix-porting.xml:
11615 * gst/base/gstbasesink.h:
11616 * gst/base/gstbasesrc.c:
11617 * gst/base/gstbasesrc.h:
11618 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
11619 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
11620 * gst/gstelement.c: (gst_element_class_init):
11621 * gst/gstpad.c: (gst_pad_class_init):
11622 * gst/gstqueue.c: (gst_queue_class_init):
11623 * gst/gstxml.c: (gst_xml_class_init):
11624 documented all undocumented signal inline
11625 * libs/gst/controller/gst-controller.h:
11628 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11630 * docs/pwg/appendix-porting.xml:
11631 Document _set_link_function -> _set_setcaps_function.
11633 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
11635 * check/Makefile.am:
11636 add a .check target for running the check
11637 * check/gst-libs/controller.c: (GST_START_TEST):
11639 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11640 complete checks for gstbuffer; would be nice if I could get the
11641 gcov stuff to work so I can see if I actually completed gstbuffer.c
11642 * check/gstcheck.h:
11643 add ASSERT_BUFFER_REFCOUNT
11645 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
11647 * docs/gst/gstreamer-sections.txt:
11648 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
11650 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
11651 spew out a warning if a tag that is already registered
11652 is re-registered, unless it is re-registered with a
11653 different type (#308438).
11655 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
11657 * docs/pwg/appendix-porting.xml:
11658 * docs/pwg/building-state.xml:
11659 Add some paragraphs about state changes in 0.9 to the PWG
11660 and the porting guide, in particular about the new meaning
11661 of GST_STATE_PAUSED and how to write state change functions
11662 with concurrent access by multiple threads in mind.
11664 2005-08-11 Stefan Kost <ensonic@users.sf.net>
11666 * docs/gst/gstreamer-docs.sgml:
11667 * docs/libs/gstreamer-libs-docs.sgml:
11668 added deprecation and since indexes
11669 * libs/gst/controller/gst-controller.c:
11670 * libs/gst/controller/gst-helper.c:
11674 2005-08-11 Wim Taymans <wim@fluendo.com>
11676 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
11677 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
11678 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
11679 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
11680 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
11681 (gst_ghost_pad_set_target):
11682 Actually implement (re)setting the target on a ghostpad
11683 as described in the docs.
11685 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
11687 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
11688 Check whether GST_DEBUG_NO_COLOR environment variable is
11689 set and disable coloured debug output if that is the case.
11691 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
11693 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11694 (gst_type_find_helper):
11695 The memory returned by gst_type_find_peek() needs to
11696 stay valid until the end of a typefind function, and
11697 typefind functions may keep results from different
11698 offsets around, so we can't just unref the buffer from
11699 the previous _peek(), but have to save all buffers
11700 returned by _peek() until typefinding is done and only
11703 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
11705 * docs/gst/gstreamer-sections.txt:
11707 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
11709 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11711 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11712 Fix a pretty good memleak.
11714 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
11716 * gst/gstiterator.h:
11717 Fix wrong include and 'make distcheck'.
11719 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11721 * gst/gstbin.c: (bin_bus_handler):
11722 Use gst_element_post_message() instead.
11724 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
11726 * gst/base/gstadapter.h:
11727 * gst/base/gstbasesink.h:
11728 * gst/base/gstbasesrc.h:
11729 * gst/base/gstbasetransform.h:
11730 * gst/base/gstcollectpads.h:
11731 * gst/base/gstpushsrc.h:
11732 * gst/gstiterator.h:
11733 Add padding to our base elements' class and instance structs and
11734 to GstIterator (you will need to rebuild all plugins and apps!)
11736 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11738 * gst/gstbin.c: (bin_bus_handler):
11739 Make default message forwarding from child->bus to bin->bus
11740 threadsafe and make it not emit warnings if the parent has no bus.
11742 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11744 * gst/gstelement.c: (activate_pads):
11745 On paused->ready, set pad->caps to NULL, as is the documented
11746 behaviour in this state change. Fixes playback of series of
11747 media files when visualization is enabled in Totem.
11749 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11751 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11752 Allow NULL as filter-caps (which means "any").
11754 2005-08-05 Stefan Kost <ensonic@users.sf.net>
11756 * docs/libs/gstreamer-libs-sections.txt:
11757 * libs/gst/controller/gst-controller.c:
11758 * libs/gst/controller/gst-controller.h:
11759 * libs/gst/controller/gst-helper.c:
11760 adding more entries to the docs and fix small doc-bugs
11762 2005-08-05 Stefan Kost <ensonic@users.sf.net>
11764 * docs/gst/gstreamer-docs.sgml:
11765 * docs/gst/gstreamer-sections.txt:
11766 * docs/gst/gstreamer.types:
11767 * docs/gst/tmpl/gstbasesink.sgml:
11768 * docs/gst/tmpl/gstbasesrc.sgml:
11769 * docs/gst/tmpl/gstbasetransform.sgml:
11770 * docs/gst/tmpl/gstfakesrc.sgml:
11771 * gst/base/gstcollectpads.c:
11772 * gst/base/gstcollectpads.h:
11773 * libs/gst/controller/gst-controller.c:
11774 * libs/gst/controller/gst-controller.h:
11775 * libs/gst/controller/gst-helper.c:
11776 * libs/gst/controller/gst-interpolation.c:
11777 * libs/gst/controller/lib.c:
11778 added long/short desc for controller docs
11779 added collectpads base class docs
11780 added correct includes to base-class docs
11782 2005-08-05 Stefan Kost <ensonic@users.sf.net>
11784 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11785 (gst_test_mono_source_set_property),
11786 (gst_test_mono_source_class_init), (GST_START_TEST),
11787 (gst_controller_suite):
11788 * docs/gst/gstreamer-docs.sgml:
11789 * docs/gst/gstreamer-sections.txt:
11790 * docs/gst/gstreamer.types:
11791 * docs/libs/gstreamer-libs-docs.sgml:
11792 * docs/libs/gstreamer-libs-sections.txt:
11793 * gst/base/gstadapter.c:
11794 * libs/gst/controller/gst-controller.c:
11795 (gst_controlled_property_new), (gst_controlled_property_free),
11796 (gst_controller_new_valist),
11797 (gst_controller_remove_properties_valist),
11798 (gst_controller_sink_values), (_gst_controller_finalize):
11799 * libs/gst/controller/gst-controller.h:
11800 * libs/gst/controller/gst-helper.c:
11801 (gst_object_control_properties), (gst_object_uncontrol_properties),
11802 (gst_object_get_controller), (gst_object_set_controller),
11803 (gst_object_sink_values), (gst_object_get_value_arrays),
11804 (gst_object_get_value_array):
11805 more tests (and fixes) for the controller
11806 more docs for the controller
11807 integrated companies docs for the adapter
11809 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
11811 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
11812 (GST_START_TEST), (fakesrc_suite):
11813 add tests for sizetype
11815 2005-08-04 Andy Wingo <wingo@pobox.com>
11817 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
11818 fixes buffer_alloc proxying among other things.
11820 * gst/base/gstbasetransform.c:
11821 * gst/base/gstbasetransform.h:
11822 Revert patch to gstbasetransform from 7-28 removing
11825 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
11826 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
11827 Semantics changed, should return not the size of the output buffer
11828 but the byte size of a buffer with a given caps.
11830 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
11832 (gst_base_transform_configure_caps): Don't set out_size here: (in,
11833 out) are not the pad caps until setcaps finishes.
11834 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
11835 not-in-place case as well. Deal with changing from in-place to
11836 not-in-place within calling pad_alloc_buffer. Still a bit
11837 concerned about the overhead here...
11839 2005-08-03 Andy Wingo <wingo@pobox.com>
11841 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
11842 fixating is an error.
11844 2005-08-04 Edward Hervey <edward@fluendo.com>
11846 * gst/base/gstadapter.h:
11847 Added gst_adapter_get_type() to the header
11849 2005-08-03 Stefan Kost <ensonic@users.sf.net>
11851 * check/Makefile.am:
11852 * check/gst-libs/controller.c:
11853 * libs/gst/controller/gst-controller.c:
11854 (gst_controller_new_valist):
11855 added check test suite for the controller
11856 * gst/base/gstpushsrc.c:
11859 2005-08-03 Stefan Kost <ensonic@users.sf.net>
11861 * docs/gst/Makefile.am:
11862 * docs/gst/gstreamer-docs.sgml:
11863 * docs/gst/gstreamer-sections.txt:
11864 * docs/gst/gstreamer.types:
11865 * docs/gst/tmpl/gstfakesrc.sgml:
11867 * gst/base/gstbasesink.c:
11868 * gst/base/gstbasesink.h:
11869 * gst/base/gstbasesrc.c:
11870 * gst/base/gstbasesrc.h:
11871 * gst/base/gstbasetransform.c:
11872 * gst/base/gstpushsrc.c:
11873 * gst/base/gstpushsrc.h:
11874 add short/long description docs to base classes
11875 add pushsrc to the docs
11876 remove consolidated doc fragments
11878 2005-08-03 Stefan Kost <ensonic@users.sf.net>
11881 * docs/libs/Makefile.am:
11882 * docs/libs/gstreamer-libs-docs.sgml:
11883 * docs/libs/gstreamer-libs-sections.txt:
11884 * docs/libs/gstreamer-libs.types:
11885 * examples/Makefile.am:
11886 * examples/controller/.cvsignore:
11887 * examples/controller/Makefile.am:
11888 * examples/controller/audio-example.c: (main):
11889 * libs/gst/Makefile.am:
11890 * libs/gst/controller/.cvsignore:
11891 * libs/gst/controller/Makefile.am:
11892 * libs/gst/controller/gst-controller.c:
11893 (on_object_controlled_property_changed), (gst_timed_value_compare),
11894 (gst_timed_value_find),
11895 (gst_controlled_property_set_interpolation_mode),
11896 (gst_controlled_property_new), (gst_controlled_property_free),
11897 (gst_controller_find_controlled_property),
11898 (gst_controller_new_valist), (gst_controller_new),
11899 (gst_controller_remove_properties_valist),
11900 (gst_controller_remove_properties), (gst_controller_set),
11901 (gst_controller_set_from_list), (gst_controller_unset),
11902 (gst_controller_get), (gst_controller_get_all),
11903 (gst_controller_sink_values), (gst_controller_get_value_arrays),
11904 (gst_controller_get_value_array),
11905 (gst_controller_set_interpolation_mode),
11906 (_gst_controller_finalize), (_gst_controller_init),
11907 (_gst_controller_class_init), (gst_controller_get_type):
11908 * libs/gst/controller/gst-controller.h:
11909 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
11910 (g_object_uncontrol_properties), (g_object_get_controller),
11911 (g_object_set_controller), (g_object_sink_values),
11912 (g_object_get_value_arrays), (g_object_get_value_array):
11913 * libs/gst/controller/gst-interpolation.c:
11914 (gst_controlled_property_find_timed_value_node),
11915 (interpolate_none_get), (interpolate_trigger_get),
11916 (interpolate_trigger_get_value_array):
11917 * libs/gst/controller/lib.c: (gst_controller_init):
11918 * pkgconfig/Makefile.am:
11919 * pkgconfig/gstreamer-control-uninstalled.pc.in:
11920 * pkgconfig/gstreamer-control.pc.in:
11921 * testsuite/Makefile.am:
11922 * testsuite/controller/.cvsignore:
11923 * testsuite/controller/Makefile.am:
11924 * testsuite/controller/interpolator.c: (main):
11925 added controller code
11926 removed dparam pc files
11928 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
11929 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
11930 (gst_collectpads_stop):
11931 Broadcast the condition when shutting down, to make sure we wake all
11932 threads up. Shut down pads on finalize, for safety.
11934 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
11935 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11936 (gst_base_transform_handle_buffer),
11937 (gst_base_transform_change_state):
11938 Handle PAUSED->READY->PAUSED transition after negotiation
11940 * gst/gstmessage.c: (gst_message_init):
11941 Extra piece of debug for new messages.
11943 2005-08-01 Stefan Kost <ensonic@users.sf.net>
11946 * docs/gst/tmpl/gstbasesrc.sgml:
11947 * docs/gst/tmpl/gstelement.sgml:
11948 * docs/gst/tmpl/gstevent.sgml:
11949 * docs/gst/tmpl/gstfakesrc.sgml:
11950 * docs/gst/tmpl/gstformat.sgml:
11951 * docs/gst/tmpl/gstghostpad.sgml:
11952 * docs/gst/tmpl/gstpad.sgml:
11953 * docs/gst/tmpl/gstquery.sgml:
11954 * docs/gst/tmpl/gststructure.sgml:
11955 * docs/gst/tmpl/gsttaglist.sgml:
11956 * docs/gst/tmpl/gstvalue.sgml:
11957 * docs/libs/gstreamer-libs-docs.sgml:
11958 * docs/libs/gstreamer-libs-sections.txt:
11959 * docs/libs/gstreamer-libs.types:
11960 * libs/gst/Makefile.am:
11961 * libs/gst/control/.cvsignore:
11962 * libs/gst/control/Makefile.am:
11963 * libs/gst/control/control.c:
11964 * libs/gst/control/control.h:
11965 * libs/gst/control/dparam.c:
11966 * libs/gst/control/dparam.h:
11967 * libs/gst/control/dparam_smooth.c:
11968 * libs/gst/control/dparam_smooth.h:
11969 * libs/gst/control/dparamcommon.h:
11970 * libs/gst/control/dparammanager.c:
11971 * libs/gst/control/dparammanager.h:
11972 * libs/gst/control/dplinearinterp.c:
11973 * libs/gst/control/dplinearinterp.h:
11974 * libs/gst/control/unitconvert.c:
11975 * libs/gst/control/unitconvert.h:
11976 * testsuite/Makefile.am:
11977 * testsuite/dynparams/.cvsignore:
11978 * testsuite/dynparams/Makefile.am:
11979 * testsuite/dynparams/dparamstest.c:
11980 * tools/Makefile.am:
11981 * tools/gst-inspect.c: (print_element_info), (main):
11982 * tools/gst-xmlinspect.c: (print_element_info), (main):
11983 deactivate and remove dparams (libgstcontrol)
11985 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
11987 * gst/elements/gsttypefindelement.c:
11988 (gst_type_find_element_have_type), (gst_type_find_element_init),
11989 (stop_typefinding), (gst_type_find_element_handle_event),
11990 (gst_type_find_element_chain), (gst_type_find_element_getrange):
11991 * gst/elements/gsttypefindelement.h:
11992 Set caps on all outgoing buffers, not just the first one.
11994 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
11996 * gst/elements/gsttypefindelement.c:
11997 (gst_type_find_element_have_type),
11998 (gst_type_find_element_check_set_buffer_caps),
11999 (gst_type_find_element_init), (stop_typefinding),
12000 (gst_type_find_element_handle_event),
12001 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12002 * gst/elements/gsttypefindelement.h:
12003 Set caps on first outgoing buffer when we've found the type.
12005 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12007 * docs/gst/gstreamer-docs.sgml:
12008 * docs/gst/gstreamer-sections.txt:
12009 * docs/gst/tmpl/gstscheduler.sgml:
12010 * docs/gst/tmpl/gstschedulerfactory.sgml:
12011 Remove some old cruft from docs.
12013 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
12016 Fix inline docs for GstPadLinkReturn.
12018 * gst/gststructure.c: (gst_structure_has_name):
12019 * gst/gststructure.h:
12020 * docs/gst/gstreamer-sections.txt:
12021 New API: gst_structure_has_name().
12023 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
12026 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
12027 and _LARGEFILE_SOURCE in config.h as required. Do not
12028 export those flags in our .pc files any longer (#142209).
12030 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
12032 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
12033 (gst_file_sink_do_seek), (gst_file_sink_event),
12034 (gst_file_sink_get_current_offset), (gst_file_sink_render):
12035 Redo seek/tell calls with large file support in mind; add some
12036 debugging messages; add log message that tells us when large
12037 file support is unavailable or not enabled for some reason.
12039 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
12040 Add log message that tells us when large file support
12041 is unavailable or not enabled for some reason.
12043 2005-07-29 Wim Taymans <wim@fluendo.com>
12045 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12046 Added test for removing an element with ghostpad from a bin.
12047 Fixed test as current implementation does the right thing.
12049 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
12050 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
12051 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
12052 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
12053 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
12054 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12055 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12056 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12057 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
12058 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
12059 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
12060 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
12061 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12062 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
12063 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
12064 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12065 * gst/gstghostpad.h:
12066 Clean up ghostpads, remove properties for internal stuff.
12069 Prepare for switching targets, not all use cases work yet.
12071 2005-07-29 Wim Taymans <wim@fluendo.com>
12073 * docs/design/part-gstghostpad.txt:
12076 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12077 (gst_bin_remove_func):
12078 Unlinking pads while holding the bin LOCK is not a good
12081 * gst/gstpad.c: (gst_pad_class_init),
12082 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
12083 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
12084 No prob setting template after creating the pad.
12086 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
12088 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
12089 (gst_bus_peek), (gst_bus_source_dispatch),
12090 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
12091 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
12092 gst_bus_poll may be called from other threads. Handle
12093 this nicely by not making poll_data disappear off the
12094 stack once gst_bus_poll returns.
12095 gst_bus_peek now increments the refcount on the returned
12098 2005-07-29 Wim Taymans <wim@fluendo.com>
12100 * docs/design/part-gstghostpad.txt:
12101 Overview of current GhostPad datastructures and use
12102 cases for changing the target.
12104 2005-07-28 Wim Taymans <wim@fluendo.com>
12106 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12107 Added checks for hierarchy consistency whan adding linked
12110 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12111 Added check to test element scheduling without bin/pipeline.
12113 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12114 First add elements to bin, then link.
12116 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12117 (gst_bin_remove_func):
12118 Unlink pads from elements added/removed from bin to maintain
12119 hierarchy consistency.
12121 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12123 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12124 (gst_base_transform_handle_buffer):
12125 * gst/base/gstbasetransform.h:
12126 Remove broken delay_configure (fixes renegotiation of software
12127 scaling pipelines); remove some leftover printf()s.
12129 2005-07-28 Wim Taymans <wim@fluendo.com>
12131 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12132 Added some more tests for wrong hierarchy
12134 * docs/design/part-overview.txt:
12137 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
12140 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
12141 (gst_element_dispose):
12142 Some more cleanups.
12144 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12145 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
12146 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12147 (gst_pad_set_caps), (gst_pad_send_event):
12148 Check for correct hierarchy when linking pads. Moving to
12149 strict requirement for ghostpads when linking elements in
12153 Clean ups. Added WRONG_HIERARCHY return value.
12155 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12157 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12158 Better debug if no transform is possible.
12160 2005-07-27 Wim Taymans <wim@fluendo.com>
12162 * docs/random/wtay/network-transp:
12163 Some old doc I had.
12165 2005-07-27 Wim Taymans <wim@fluendo.com>
12167 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12168 (gst_dp_event_from_packet):
12169 Fix serialization of seek events.
12171 2005-07-27 Wim Taymans <wim@fluendo.com>
12173 * check/gst-libs/gdp.c: (GST_START_TEST):
12174 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12175 Fix compilation and fix event serialization.
12177 2005-07-27 Wim Taymans <wim@fluendo.com>
12180 * docs/design/part-TODO.txt:
12181 * docs/design/part-events.txt:
12184 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12185 (gst_base_sink_event), (gst_base_sink_do_sync),
12186 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12187 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12188 (gst_base_src_do_seek), (gst_base_src_event_handler),
12189 (gst_base_src_loop):
12190 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12191 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12192 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12193 (gst_base_transform_event), (gst_base_transform_handle_buffer),
12194 (gst_base_transform_set_passthrough),
12195 (gst_base_transform_is_passthrough):
12196 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12197 * gst/elements/gstfilesink.c: (gst_file_sink_event):
12203 * gst/gstelement.c: (gst_element_seek):
12204 * gst/gstelement.h:
12205 Update gst_element_seek.
12207 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
12208 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
12209 (gst_event_new_flush_start), (gst_event_new_flush_stop),
12210 (gst_event_new_eos), (gst_event_new_newsegment),
12211 (gst_event_parse_newsegment), (gst_event_new_tag),
12212 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
12213 (gst_event_parse_qos), (gst_event_new_seek),
12214 (gst_event_parse_seek), (gst_event_new_navigation):
12216 Make GstEvent use GstStructure. Add parsing code, make sure the
12217 API is sufficiently generic.
12218 Mark possible directions of events and serialization.
12220 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
12221 (_gst_message_copy), (gst_message_new_segment_start),
12222 (gst_message_new_segment_done), (gst_message_new_custom),
12223 (gst_message_parse_segment_start),
12224 (gst_message_parse_segment_done):
12227 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12228 (gst_pad_set_caps), (gst_pad_send_event):
12229 Update for new events.
12230 Catch events sent in wrong directions.
12232 * gst/gstqueue.c: (gst_queue_link_src),
12233 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
12234 (gst_queue_handle_src_query):
12239 Remove event code from this file.
12241 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12242 (gst_dp_event_from_packet):
12245 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12247 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
12248 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12249 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
12250 Make debugging actually useful.
12252 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12254 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
12255 (gst_pad_fixate_caps):
12256 Implement default fixation once again, so that gst_pad_fixate()
12257 actually does anything at all. This probably needs to be some
12258 sort of a last resort, and use profile-based fixation first, but
12259 since that doesn't exist yet, this is the best we have. Fixes
12260 visualization in Totem.
12262 2005-07-22 Wim Taymans <wim@fluendo.com>
12264 * docs/design/part-events.txt:
12267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12268 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
12269 (gst_base_sink_activate_pull):
12270 Some more comments.
12272 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
12273 (gst_fake_src_create):
12274 Fix handoff marshall.
12276 * gst/elements/gstidentity.c: (gst_identity_class_init),
12277 (gst_identity_transform_ip):
12278 We're a real inplace element.
12280 * gst/gstbus.c: (gst_bus_post):
12281 Added some comments.
12283 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
12284 * tests/muxing/case1.c: (main):
12285 * tests/sched/dynamic-pipeline.c: (main):
12286 * tests/sched/interrupt1.c: (main):
12287 * tests/sched/interrupt2.c: (main):
12288 * tests/sched/interrupt3.c: (main):
12289 * tests/sched/runxml.c: (main):
12290 * tests/sched/sched-stress.c: (main):
12291 * tests/seeking/seeking1.c: (event_received), (main):
12292 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12294 * tests/threadstate/threadstate3.c: (main):
12295 * tests/threadstate/threadstate4.c: (main):
12296 * tests/threadstate/threadstate5.c: (main):
12299 2005-07-21 Wim Taymans <wim@fluendo.com>
12301 * docs/design/part-seeking.txt:
12302 Some small additions.
12304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12305 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12306 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12307 * gst/base/gstbasesink.h:
12308 discont values are gint64, handle the math correctly.
12310 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12311 Make the basesrc report error if the source pad is not linked.
12313 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
12314 (gst_queue_loop), (gst_queue_handle_src_query),
12315 (gst_queue_src_activate_push):
12316 Make queue collect data even if the srcpad is not linked.
12317 Start pushing out data as soon as it is linked.
12319 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
12321 Added gst_flow_get_name() to ease error reporting.
12323 2005-07-20 Wim Taymans <wim@fluendo.com>
12325 * gst/gstmessage.c: (gst_message_new_segment_start),
12326 (gst_message_new_segment_done), (gst_message_parse_segment_start),
12327 (gst_message_parse_segment_done):
12328 * gst/gstmessage.h:
12329 Added a bunch of messages for advanced seeking.
12331 * gst/parse/grammar.y:
12332 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
12333 (gst_dpman_state_changed):
12334 Fix some new-pad -> pad-added signals
12336 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12338 * docs/manual/appendix-porting.xml:
12339 * docs/pwg/appendix-porting.xml:
12340 Document new-pad/state-change signal renames and the FixedList
12343 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12345 * docs/manual/advanced-autoplugging.xml:
12346 * docs/manual/basics-helloworld.xml:
12347 * docs/manual/basics-pads.xml:
12348 * docs/random/ds/0.9-suggested-changes:
12349 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
12350 * gst/gstelement.h:
12354 * gst/gststructure.c: (gst_structure_value_get_generic_type),
12355 (gst_structure_parse_array), (gst_structure_parse_value):
12356 * gst/gstvalue.c: (gst_type_is_fixed),
12357 (gst_value_list_prepend_value), (gst_value_list_append_value),
12358 (gst_value_list_get_size), (gst_value_list_get_value),
12359 (gst_value_transform_array_string), (gst_value_serialize_array),
12360 (gst_value_deserialize_array), (gst_value_intersect_array),
12361 (gst_value_is_fixed), (_gst_value_initialize):
12363 GstElement::new-pad -> pad-added, GstElement::state-change ->
12364 state-changed, GstValueFixedList -> GstValueArray, add format and
12365 flags as their own arguments in gst_element_seek() (should improve
12366 "bindeability"), remove function generators since they don't work
12367 under a whole bunch of compilers (they were deprecated already
12370 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12372 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12373 (_gst_debug_register_funcptr):
12375 Fix illegal cast on some platforms (#309253).
12377 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12379 * gst/gstmessage.c: (gst_message_new_custom):
12380 * gst/gstmessage.h:
12381 Add _new_custom, make _new_application a macro to _new_custom.
12383 2005-07-20 Wim Taymans <wim@fluendo.com>
12385 * gst/base/gstbasesrc.c: (gst_base_src_init),
12386 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
12387 * gst/base/gstbasesrc.h:
12388 Add a gboolean to decide when to push out a discont.
12390 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12391 (gst_queue_loop), (gst_queue_handle_src_query),
12392 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
12393 (gst_queue_set_property), (gst_queue_get_property):
12396 * tests/threadstate/threadstate1.c: (main):
12397 Make a thread test compile and run... very silly..
12400 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12402 * docs/manual/appendix-porting.xml:
12403 Mention removal of libgstgconf-0.9.la and existence of gconf
12406 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12408 * docs/pwg/advanced-clock.xml:
12409 * docs/pwg/appendix-porting.xml:
12410 * docs/pwg/intro-preface.xml:
12411 * docs/pwg/other-base.xml:
12412 * docs/pwg/other-manager.xml:
12413 * docs/pwg/other-nton.xml:
12414 * docs/pwg/other-ntoone.xml:
12415 * docs/pwg/other-oneton.xml:
12416 * docs/pwg/pwg.xml:
12417 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
12418 demuxer), remove n-to-n (was never written), fix some code examples
12419 and links and update the porting section to include all this.
12421 2005-07-19 Wim Taymans <wim@fluendo.com>
12423 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
12424 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
12425 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
12426 (gst_queue_src_activate_push), (gst_queue_change_state),
12427 (gst_queue_get_property):
12429 Propagate GstFlowReturn more intelligently upstream and output
12430 an ERROR/EOS when streaming stopped due to fatal error.
12432 2005-07-19 Wim Taymans <wim@fluendo.com>
12434 * tools/gst-launch.c: (check_intr), (event_loop), (main):
12435 Don't block forever for the state change to complete, the
12436 pipeline already did with a sensible timeout.
12438 2005-07-19 Wim Taymans <wim@fluendo.com>
12440 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12441 Make sure we never call the create function is we
12444 2005-07-19 Andy Wingo <wingo@pobox.com>
12446 * gst/parse/parse.l: Attempt to solve bug #172815.
12448 2005-07-19 Wim Taymans <wim@fluendo.com>
12450 * docs/design/part-clocks.txt:
12451 * docs/design/part-events.txt:
12452 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
12453 Small docs updates.
12454 Only update the seeking values when we are not
12457 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
12459 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12460 Oops, ignore the result of gst_pad_push_event here.
12462 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
12464 * gst/base/gstbasesrc.c: (gst_base_src_loop),
12465 (gst_base_src_activate_push):
12466 Send discont event from the loop function, as pads
12467 aren't activated yet in the activate_push handler.
12469 * gst/gstbin.c: (bin_bus_handler):
12470 Don't leak element name.
12472 2005-07-18 Andy Wingo <wingo@pobox.com>
12474 * configure.ac: Use AS_LIBTOOL_TAGS.
12476 2005-07-18 Wim Taymans <wim@fluendo.com>
12478 * docs/gst/gstreamer.types:
12479 Remove deleted types.
12481 2005-07-18 Wim Taymans <wim@fluendo.com>
12483 * check/elements/gstfakesrc.c: (GST_START_TEST):
12486 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
12487 (init_popt_callback):
12489 * gst/gst_private.h:
12490 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
12491 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
12494 * gst/gstconfig.h.in:
12495 * gst/gstelement.c: (gst_element_class_init),
12496 (gst_element_set_base_time), (gst_element_get_base_time),
12497 (iterator_fold_with_resync), (gst_element_change_state),
12498 (gst_element_dispose), (gst_element_get_bus):
12499 * gst/gstelement.h:
12500 * gst/gstelementfactory.h:
12501 * gst/gsterror.c: (_gst_core_errors_init):
12504 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
12506 * gst/gstinfo.c: (_gst_debug_init):
12507 * gst/gstmessage.c: (_gst_message_copy):
12508 * gst/gstmessage.h:
12509 * gst/gstminiobject.h:
12512 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12513 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
12516 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
12517 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
12518 (gst_pipeline_get_last_stream_time):
12519 * gst/gstpipeline.h:
12520 * gst/gstpluginfeature.h:
12522 * gst/gstscheduler.c:
12523 * gst/gstscheduler.h:
12524 * gst/gststructure.h:
12525 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12526 (gst_task_finalize), (gst_task_func), (gst_task_create),
12527 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
12528 (gst_task_stop), (gst_task_pause):
12530 * gst/gsttypefind.h:
12532 * gst/registries/gstlibxmlregistry.c: (load_feature),
12533 (gst_xml_registry_load), (gst_xml_registry_save_feature):
12534 * gst/registries/gstxmlregistry.c:
12535 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
12536 * gst/schedulers/threadscheduler.c:
12537 * libs/gst/control/dparammanager.h:
12538 * tools/gst-inspect.c: (print_element_list),
12539 (print_plugin_features), (print_element_features):
12540 * tools/gst-xmlinspect.c: (print_element_list),
12541 (print_plugin_info), (main):
12542 Removed plugable schedulers.
12543 Removed Scheduler/Manager from elements.
12544 Removed gsttypes.h, rearranged includes.
12545 Removed dependency pad<->element, element<>pipeline, and
12546 various others, fix includes.
12547 implement gst_pad_get_parent() with gst_object_get_parent()
12548 Make GstTask sefcontained.
12549 Fix _get_state() on GstBin, it did not return ASYNC with a 0
12551 Fix endless loop in iterator_fold_with_resync.
12554 2005-07-18 Wim Taymans <wim@fluendo.com>
12560 2005-07-18 Wim Taymans <wim@fluendo.com>
12563 No more cothreads.h
12565 2005-07-18 Wim Taymans <wim@fluendo.com>
12569 Let's remove these.
12571 2005-07-18 Wim Taymans <wim@fluendo.com>
12573 * docs/design/part-dynamic.txt:
12574 * docs/design/part-events.txt:
12575 * docs/design/part-seeking.txt:
12576 Some more docs in the works.
12578 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12579 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
12580 (gst_base_transform_setcaps), (gst_base_transform_get_size),
12581 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12582 (gst_base_transform_handle_buffer),
12583 (gst_base_transform_sink_activate_push),
12584 (gst_base_transform_src_activate_pull),
12585 (gst_base_transform_set_passthrough),
12586 (gst_base_transform_is_passthrough):
12589 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
12592 * gst/gstevent.c: (gst_event_finalize):
12595 * gst/gstutils.c: (gst_element_unlink),
12596 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
12597 (gst_pad_proxy_setcaps):
12599 Add _get_parent_element() to get a pads parent as an element.
12601 2005-07-18 Wim Taymans <wim@fluendo.com>
12603 * check/gst/gstbin.c: (GST_START_TEST):
12606 2005-07-18 Wim Taymans <wim@fluendo.com>
12608 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
12609 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
12610 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
12611 (gst_base_sink_event), (gst_base_sink_do_sync),
12612 (gst_base_sink_chain), (gst_base_sink_loop),
12613 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
12614 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12616 Fix logic for returning ASYNC when not prerolled.
12618 2005-07-18 Wim Taymans <wim@fluendo.com>
12620 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12621 Fix nasty refcount bug.
12623 2005-07-16 Philippe Khalaf <burger@speedy.org>
12625 * gst/elements/gstfdsrc.c:
12626 * gst/elements/gstfdsrc.h:
12627 * gst/elements/gstelements.c:
12628 * gst/elements/Makefile.am:
12629 Ported fdsrc to 0.9.
12631 2005-07-16 Wim Taymans <wim@fluendo.com>
12633 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12634 (gst_base_sink_do_sync):
12637 2005-07-16 Wim Taymans <wim@fluendo.com>
12639 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12640 (gst_base_sink_event), (gst_base_sink_get_times),
12641 (gst_base_sink_do_sync), (gst_base_sink_change_state):
12642 * gst/base/gstbasesink.h:
12643 Store and use discont values when syncing buffers as described
12646 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12647 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
12648 (gst_base_src_activate_push):
12649 Push discont event when starting.
12651 * gst/elements/gstidentity.c: (gst_identity_transform):
12654 * gst/gstbin.c: (gst_bin_change_state):
12655 Small cleanups in base_time distribution.
12657 * gst/gstelement.c: (gst_element_set_base_time),
12658 (gst_element_get_base_time), (gst_element_change_state):
12659 * gst/gstelement.h:
12660 Added methods for the base_time of the element.
12663 * gst/gstpipeline.c: (gst_pipeline_send_event),
12664 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
12665 (gst_pipeline_get_last_stream_time):
12666 * gst/gstpipeline.h:
12668 Handle seeking as described in design doc, remove stream_time
12670 Cleanups clock and stream_time selection code. Added accessors
12671 for the stream_time.
12674 2005-07-16 Andy Wingo <wingo@pobox.com>
12676 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
12679 2005-07-16 Wim Taymans <wim@fluendo.com>
12681 * check/gst/gstbin.c: (GST_START_TEST):
12682 Make elements silent as the deep_notify refs the
12683 parent, which might make the test fail.
12685 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
12686 Don't hold the lock for too long.
12688 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
12690 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12691 Don't unref the caps we passed to gst_caps_make_writable() after
12692 passing them. gst_caps_make_writable() will do that for us.
12694 2005-07-15 Andy Wingo <wingo@pobox.com>
12696 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
12699 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
12700 own marshalling function for the handoff signal. Properly type the
12701 buffer as a buffer. Fixes some warnings. Should do a more general
12703 (gst_identity_class_init): Plug into the right marshaller.
12705 2005-07-15 Wim Taymans <wim@fluendo.com>
12707 * docs/design/part-TODO.txt:
12708 * docs/design/part-clocks.txt:
12709 * docs/design/part-element-sink.txt:
12710 * docs/design/part-events.txt:
12711 * docs/design/part-gstpipeline.txt:
12712 Updated docs, mostly DISCONT related.
12714 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
12716 * docs/pwg/building-pads.xml:
12717 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
12719 2005-07-15 Andy Wingo <wingo@pobox.com>
12721 * tools/gst-typefind.c: Update, add copyright block.
12723 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
12724 Normalize and truncate caps before fixation.
12727 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
12728 discards all but the first structure from its argument.
12730 2005-07-15 Wim Taymans <wim@fluendo.com>
12732 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12733 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
12734 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12735 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12736 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
12737 (gst_base_transform_chain), (gst_base_transform_change_state),
12738 (gst_base_transform_set_passthrough),
12739 (gst_base_transform_is_passthrough):
12740 * gst/base/gstbasetransform.h:
12741 Make passthrough work using the bufferpools.
12742 Changed API a bit, subclasses have to write into a buffer
12743 provided by the base class.
12744 More debug info in nego functions.
12746 * gst/elements/gstidentity.c: (gst_identity_init),
12747 (gst_identity_transform):
12748 Port to new base class.
12750 2005-07-15 Wim Taymans <wim@fluendo.com>
12752 * gst/gstmessage.c: (gst_message_new_state_changed):
12753 * tools/gst-launch.c: (event_loop), (main):
12754 Totally dump messages in -launch with the -m option.
12755 Fix message name for State messages,
12757 2005-07-14 Wim Taymans <wim@fluendo.com>
12759 * gst/base/gstbasesrc.c: (gst_base_src_loop):
12760 Post error messages on errors.
12762 2005-07-14 Wim Taymans <wim@fluendo.com>
12764 * gst/gstcaps.c: (gst_caps_do_simplify):
12768 Define error for stream stopped.
12770 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
12771 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
12772 Do proper return values.
12774 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12775 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
12776 (gst_pad_get_range):
12777 Better return values.
12780 Reorganise return values, add macro to check for fatal errors.
12782 * gst/gstqueue.c: (gst_queue_chain):
12783 Return proper GstFlowReturn values,
12785 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
12787 * docs/gst/gstreamer-sections.txt:
12788 * docs/gst/gstreamer.types:
12789 * docs/gst/tmpl/gst.sgml:
12790 * docs/gst/tmpl/gstbasesink.sgml:
12791 * docs/gst/tmpl/gstbasesrc.sgml:
12792 * docs/gst/tmpl/gstbasetransform.sgml:
12793 * docs/gst/tmpl/gstbin.sgml:
12794 * docs/gst/tmpl/gstbuffer.sgml:
12795 * docs/gst/tmpl/gstcaps.sgml:
12796 * docs/gst/tmpl/gstclock.sgml:
12797 * docs/gst/tmpl/gstcompat.sgml:
12798 * docs/gst/tmpl/gstconfig.sgml:
12799 * docs/gst/tmpl/gstelement.sgml:
12800 * docs/gst/tmpl/gstelementdetails.sgml:
12801 * docs/gst/tmpl/gstelementfactory.sgml:
12802 * docs/gst/tmpl/gstenumtypes.sgml:
12803 * docs/gst/tmpl/gsterror.sgml:
12804 * docs/gst/tmpl/gstevent.sgml:
12805 * docs/gst/tmpl/gstfakesink.sgml:
12806 * docs/gst/tmpl/gstfakesrc.sgml:
12807 * docs/gst/tmpl/gstfilesink.sgml:
12808 * docs/gst/tmpl/gstfilesrc.sgml:
12809 * docs/gst/tmpl/gstfilter.sgml:
12810 * docs/gst/tmpl/gstformat.sgml:
12811 * docs/gst/tmpl/gstghostpad.sgml:
12812 * docs/gst/tmpl/gstimplementsinterface.sgml:
12813 * docs/gst/tmpl/gstindex.sgml:
12814 * docs/gst/tmpl/gstindexfactory.sgml:
12815 * docs/gst/tmpl/gstinfo.sgml:
12816 * docs/gst/tmpl/gstiterator.sgml:
12817 * docs/gst/tmpl/gstmacros.sgml:
12818 * docs/gst/tmpl/gstmemchunk.sgml:
12819 * docs/gst/tmpl/gstminiobject.sgml:
12820 * docs/gst/tmpl/gstobject.sgml:
12821 * docs/gst/tmpl/gstpad.sgml:
12822 * docs/gst/tmpl/gstpadtemplate.sgml:
12823 * docs/gst/tmpl/gstparse.sgml:
12824 * docs/gst/tmpl/gstpipeline.sgml:
12825 * docs/gst/tmpl/gstplugin.sgml:
12826 * docs/gst/tmpl/gstpluginfeature.sgml:
12827 * docs/gst/tmpl/gstquery.sgml:
12828 * docs/gst/tmpl/gstqueue.sgml:
12829 * docs/gst/tmpl/gstregistry.sgml:
12830 * docs/gst/tmpl/gstregistrypool.sgml:
12831 * docs/gst/tmpl/gstscheduler.sgml:
12832 * docs/gst/tmpl/gstschedulerfactory.sgml:
12833 * docs/gst/tmpl/gststructure.sgml:
12834 * docs/gst/tmpl/gstsystemclock.sgml:
12835 * docs/gst/tmpl/gsttaglist.sgml:
12836 * docs/gst/tmpl/gsttagsetter.sgml:
12837 * docs/gst/tmpl/gsttrace.sgml:
12838 * docs/gst/tmpl/gsttrashstack.sgml:
12839 * docs/gst/tmpl/gsttypefind.sgml:
12840 * docs/gst/tmpl/gsttypefindfactory.sgml:
12841 * docs/gst/tmpl/gsttypes.sgml:
12842 * docs/gst/tmpl/gsturihandler.sgml:
12843 * docs/gst/tmpl/gsturitype.sgml:
12844 * docs/gst/tmpl/gstutils.sgml:
12845 * docs/gst/tmpl/gstvalue.sgml:
12846 * docs/gst/tmpl/gstversion.sgml:
12847 * docs/gst/tmpl/gstxml.sgml:
12848 * docs/libs/tmpl/gstcontrol.sgml:
12849 * docs/libs/tmpl/gstdataprotocol.sgml:
12850 * docs/libs/tmpl/gstdparam.sgml:
12851 * docs/libs/tmpl/gstdplinint.sgml:
12852 * docs/libs/tmpl/gstdpman.sgml:
12853 * docs/libs/tmpl/gstdpsmooth.sgml:
12854 * docs/libs/tmpl/gstgetbits.sgml:
12855 * docs/libs/tmpl/gstunitconvert.sgml:
12856 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
12857 (gst_push_src_base_init), (gst_push_src_class_init),
12858 (gst_push_src_init), (gst_push_src_create):
12859 * gst/base/gstpushsrc.h:
12860 * gst/elements/gstelements.c:
12861 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
12862 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
12863 (gst_fake_sink_init), (gst_fake_sink_set_property),
12864 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
12865 (gst_fake_sink_event), (gst_fake_sink_preroll),
12866 (gst_fake_sink_render), (gst_fake_sink_change_state):
12867 * gst/elements/gstfakesink.h:
12868 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12869 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12870 (gst_fake_src_base_init), (gst_fake_src_class_init),
12871 (gst_fake_src_init), (gst_fake_src_event_handler),
12872 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
12873 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
12874 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
12875 (gst_fake_src_create_buffer), (gst_fake_src_create),
12876 (gst_fake_src_start), (gst_fake_src_stop):
12877 * gst/elements/gstfakesrc.h:
12878 * gst/elements/gstfilesink.c: (_do_init),
12879 (gst_file_sink_base_init), (gst_file_sink_class_init),
12880 (gst_file_sink_init), (gst_file_sink_dispose),
12881 (gst_file_sink_set_location), (gst_file_sink_set_property),
12882 (gst_file_sink_get_property), (gst_file_sink_open_file),
12883 (gst_file_sink_close_file), (gst_file_sink_query),
12884 (gst_file_sink_event), (gst_file_sink_render),
12885 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
12886 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
12887 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
12888 * gst/elements/gstfilesink.h:
12889 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
12890 (gst_file_src_class_init), (gst_file_src_init),
12891 (gst_file_src_finalize), (gst_file_src_set_location),
12892 (gst_file_src_set_property), (gst_file_src_get_property),
12893 (gst_file_src_map_region), (gst_file_src_map_small_region),
12894 (gst_file_src_create_mmap), (gst_file_src_create_read),
12895 (gst_file_src_create), (gst_file_src_is_seekable),
12896 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
12897 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
12898 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
12899 (gst_file_src_uri_handler_init):
12900 * gst/elements/gstfilesrc.h:
12901 more autistic cleanliness in functions/names/defines
12903 2005-07-13 Andy Wingo <wingo@pobox.com>
12905 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
12906 source couldn't negotiate.
12908 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
12912 * gst/gstutils.c (gst_element_link_pads_filtered): New old
12913 function. I am channeling Hades. Put your boots on suckers!!!
12915 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12917 * testsuite/caps/Makefile.am:
12918 * testsuite/caps/value_compare.c:
12919 * testsuite/caps/value_intersect.c:
12920 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12921 move two testsuite apps over to the check dir
12923 2005-07-12 Wim Taymans <wim@fluendo.com>
12925 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12926 Added more debug info in the negotiate process.
12928 * gst/gstmessage.h:
12929 Prepare for segment playback.
12931 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
12937 * tools/gst-launch.c: (main):
12938 NULL pipeline on errors.
12940 2005-07-12 Andy Wingo <wingo@pobox.com>
12942 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
12943 not it comes from a malloc region. Make sure our copy gets freed.
12945 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
12947 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12948 * check/gst/gstmessage.c: (GST_START_TEST):
12949 * check/gst/gststructure.c: (GST_START_TEST),
12950 (gst_structure_suite), (main):
12952 * gst/gstelement.c: (gst_element_message_full):
12953 clean up GError and debug string now that they get copied
12954 * gst/gstmessage.c: (gst_message_new_error),
12955 (gst_message_new_warning), (gst_message_parse_error),
12956 (gst_message_parse_warning):
12957 use GST_TYPE_G_ERROR for structure_new, and take copies of
12958 arguments, so that we don't mess up refcounting
12960 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
12962 * check/Makefile.am:
12963 add per-test valgrind targets
12964 * check/gst-libs/gdp.c: (GST_START_TEST),
12965 (gst_data_protocol_suite), (main):
12968 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
12970 * check/Makefile.am:
12971 instate more valgrindable tests
12972 * check/elements/gstfakesrc.c: (chain_func), (event_func),
12973 (GST_START_TEST), (fakesrc_suite):
12974 * check/gst/gstpad.c: (GST_START_TEST):
12975 * check/gst/gststructure.c: (GST_START_TEST):
12977 * docs/gst/tmpl/gstminiobject.sgml:
12978 * gst/gstpad.c: (gst_pad_finalize):
12979 fix the static mutex leak
12981 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
12983 * check/Makefile.am:
12984 add two more tests for valgrinding
12985 * check/gst/gstvalue.c: (GST_START_TEST):
12986 test refcount of deserialized buffer, found a leak
12987 * docs/gst/gstreamer-docs.sgml:
12988 * docs/gst/gstreamer-sections.txt:
12989 * docs/gst/gstreamer.types:
12990 * docs/gst/tmpl/gstminiobject.sgml:
12991 add miniobject to docs
12992 * gst/gstminiobject.c:
12994 * gst/gstvalue.c: (gst_value_deserialize_buffer),
12995 (gst_string_unwrap):
12996 fix a hard-to-find invalid write for one of the tests
12997 fix a leak for deserialized buffers
12999 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13001 * docs/pwg/advanced-events.xml:
13002 * docs/pwg/advanced-request.xml:
13003 * docs/pwg/advanced-scheduling.xml:
13004 * docs/pwg/appendix-porting.xml:
13005 * docs/pwg/building-boiler.xml:
13006 * docs/pwg/intro-preface.xml:
13007 * docs/pwg/other-ntoone.xml:
13008 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
13009 of example code and explanation for pad activation, loop() and
13010 getrange() functions and a bit more. Remove old comments pointing
13012 * examples/pwg/Makefile.am:
13013 Add loop/getrange examples.
13015 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13018 check for valgrind binary + some fixes
13020 valgrind suppressions for the tests
13021 * check/Makefile.am:
13022 add a valgrind: target that valgrinds the unit tests
13023 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
13024 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13025 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13026 * check/gst/gstghostpad.c:
13028 * check/gst/gstdata.c:
13030 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
13031 (thread_unref), (gst_mini_object_suite), (main):
13033 * gst/gst.c: (gst_deinit):
13035 add a method to clean up.
13036 * gst/gstsystemclock.c: (gst_system_clock_dispose),
13037 (gst_system_clock_obtain):
13038 allow for disposing the system clock.
13039 * tools/gst-launch.c: (main):
13042 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13044 * docs/gst/tmpl/gstbasesrc.sgml:
13045 * docs/gst/tmpl/gstfakesrc.sgml:
13046 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13047 (gst_base_src_init), (gst_base_src_set_property),
13048 (gst_base_src_get_property), (gst_base_src_get_range),
13049 (gst_base_src_start):
13050 * gst/base/gstbasesrc.h:
13051 add num-buffers property
13052 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13053 (gst_fakesrc_init), (gst_fakesrc_set_property),
13054 (gst_fakesrc_get_property), (gst_fakesrc_create),
13055 (gst_fakesrc_start):
13056 remove num-buffers property
13058 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13060 * docs/gst/gstreamer-sections.txt:
13061 * docs/gst/tmpl/gstbasesink.sgml:
13062 * docs/gst/tmpl/gstbasesrc.sgml:
13063 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13064 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13065 (gst_base_sink_finalize), (gst_base_sink_set_clock),
13066 (gst_base_sink_set_property), (gst_base_sink_get_property),
13067 (gst_base_sink_handle_object), (gst_base_sink_event),
13068 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13069 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
13070 (gst_base_sink_loop), (gst_base_sink_deactivate),
13071 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
13072 (gst_base_sink_change_state):
13073 * gst/base/gstbasesink.h:
13074 * gst/base/gstbasesrc.h:
13075 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
13076 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
13077 (gst_filesink_init):
13078 more macro splitting
13080 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13082 * gst/gstelement.c: (gst_element_get_bus):
13084 * tools/gst-launch.c: (check_intr), (event_loop):
13087 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13089 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13092 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13094 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13095 (gst_base_src_finalize):
13096 add finalize method and clean up properly
13097 * gst/gstpipeline.c: (gst_pipeline_dispose):
13100 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13102 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
13104 add more things to check
13105 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13106 * gst/gstelement.c:
13109 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13111 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13112 (GST_START_TEST), (fakesrc_suite):
13113 * check/gst-libs/gdp.c: (GST_START_TEST):
13114 * check/gst/gst.c: (GST_START_TEST):
13115 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13116 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13117 * check/gst/gstbus.c: (GST_START_TEST):
13118 * check/gst/gstcaps.c: (GST_START_TEST):
13119 * check/gst/gstdata.c: (GST_START_TEST):
13120 * check/gst/gstelement.c: (GST_START_TEST):
13121 * check/gst/gstghostpad.c: (GST_START_TEST):
13122 * check/gst/gstiterator.c: (GST_START_TEST):
13123 * check/gst/gstmessage.c: (GST_START_TEST):
13124 * check/gst/gstobject.c: (GST_START_TEST):
13125 * check/gst/gstpad.c: (GST_START_TEST):
13126 * check/gst/gststructure.c: (GST_START_TEST):
13127 * check/gst/gstsystemclock.c: (GST_START_TEST),
13128 (gst_systemclock_suite):
13129 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13130 * check/gst/gstvalue.c: (GST_START_TEST):
13131 * check/pipelines/cleanup.c: (GST_START_TEST):
13132 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13133 * check/states/sinks.c: (GST_START_TEST):
13134 * check/gstcheck.c: (gst_check_init):
13135 * check/gstcheck.h:
13136 add debugging category
13137 use GST_START_TEST now, so we add a debug line
13139 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13141 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
13142 add test for state change message on a bin
13143 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
13145 * gst/gstbin.c: (gst_bin_init):
13146 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
13147 * gst/gstelement.c: (gst_element_post_message),
13148 (gst_element_set_state):
13149 * gst/gstelementfactory.c: (gst_element_factory_create):
13150 * gst/gstmessage.c: (gst_message_new):
13151 * gst/gstscheduler.c:
13152 various debugging additions and cleanups
13154 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13156 * check/Makefile.am:
13157 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
13159 adding tests for elements
13160 * gst/gstelement.c: (gst_element_dispose):
13162 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13164 * gst/registries/gstlibxmlregistry.c: (load_feature):
13165 plug more leaks. A simple gst_init() now is leakfree, yay.
13167 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13169 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
13170 (gst_xml_registry_load):
13171 plug another memleak
13173 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13176 use GST_SET_ERROR_CFLAGS
13177 * docs/faq/cvs.xml:
13178 change to ERROR_CFLAGS
13180 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13183 make GST_ERROR_CFLAGS overridable and re-enable Werror
13184 * docs/faq/cvs.xml:
13185 add a note about error CFLAGS
13186 * docs/gst/tmpl/gstfakesrc.sgml:
13187 * gst/elements/gstfakesrc.c:
13188 comment out some unused code
13189 * gst/gst.c: (split_and_iterate):
13190 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
13194 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
13196 * common/Makefile.am:
13197 * common/gtk-doc.mak:
13198 * docs/gst/Makefile.am:
13199 factor out gtk-doc.mak
13201 2005-07-07 Wim Taymans <wim@fluendo.com>
13203 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
13204 (gst_thread_scheduler_dispose):
13205 Unlock the STREAM_LOCK completely.
13207 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
13209 * check/Makefile.am:
13210 * check/elements/.cvsignore:
13211 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13212 (START_TEST), (fakesrc_suite), (main):
13213 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13214 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13215 (gst_fakesrc_create), (gst_fakesrc_start):
13216 * gst/elements/gstfakesrc.h:
13217 adding a first element test
13219 2005-07-07 Andy Wingo <wingo@pobox.com>
13221 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
13224 2005-07-07 Wim Taymans <wim@fluendo.com>
13230 2005-07-07 Wim Taymans <wim@fluendo.com>
13232 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
13233 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
13234 Allow subclasses to implement their own negotiation.
13236 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13238 * docs/design/part-gstbin.txt:
13239 * docs/design/part-gstpipeline.txt:
13240 Update design notes to reflect the movement of
13241 responsibility for bus handling from GstPipeline to
13244 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13247 Remove unnecessary queue2/3/4 examples.
13249 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
13251 * examples/Makefile.am:
13252 * examples/helloworld/helloworld.c: (event_loop), (main):
13253 * examples/queue/queue.c: (event_loop), (main):
13254 * examples/queue2/queue2.c: (main):
13255 Update a couple of the examples to work again.
13257 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13258 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
13259 Spelling corrections and extra debug.
13261 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
13262 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
13263 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
13265 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13266 (gst_pipeline_change_state):
13267 * gst/gstpipeline.h:
13268 Move the bus handler for children to the GstBin, and create a
13269 separate bus for receiving messages from children to the one the
13270 bus sends 'upwards' on.
13272 2005-07-06 Wim Taymans <wim@fluendo.com>
13275 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13276 (gst_base_sink_handle_object), (gst_base_sink_loop),
13277 (gst_base_sink_change_state):
13278 * gst/base/gstbasesink.h:
13279 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13280 (gst_base_src_init), (gst_base_src_setcaps),
13281 (gst_base_src_getcaps), (gst_base_src_loop),
13282 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
13283 (gst_base_src_start), (gst_base_src_change_state):
13284 * gst/base/gstbasesrc.h:
13285 Make basesrc negotiate.
13286 Handle the case where preroll fails in basesink.
13289 2005-07-06 Wim Taymans <wim@fluendo.com>
13291 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
13292 Implement the fixate function.
13293 Clean up acceptcaps.
13295 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13297 * docs/pwg/building-filterfactory.xml:
13298 * docs/pwg/pwg.xml:
13299 Remove never-written filter-factory chapter; I'll add the various
13300 base classes to part 4 ("other element types") later on.
13302 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13304 * docs/pwg/advanced-negotiation.xml:
13305 * docs/pwg/building-boiler.xml:
13306 * docs/pwg/building-pads.xml:
13307 * docs/pwg/pwg.xml:
13308 * examples/pwg/Makefile.am:
13309 Add a chapter on caps negotiation, simplify the original code
13310 samples a bit w.r.t. caps negotiation, add link to the advanced
13311 section. Add a bunch of examples showing different use cases of
13312 different types of caps negotiation. Upstream renegotiation isn't
13313 fully documented yet since nobody knows how that works.
13315 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
13317 * check/gst/gstpad.c:
13318 * check/gstcheck.c:
13319 * gst/gstpad.c: (gst_pad_get_internal_links_default):
13320 if pad has no parent, return NULL as list of internal links
13322 2005-07-05 Andy Wingo <wingo@pobox.com>
13324 * gst/elements/gstfilesrc.c:
13325 * gst/elements/gstfakesrc.c:
13326 * gst/base/gstpushsrc.c:
13327 * gst/base/gstbasesrc.h:
13328 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
13330 2005-07-05 Stefan Kost <ensonic@users.sf.net>
13333 better report generation target (lcov needs a patch)
13335 2005-07-05 Andy Wingo <wingo@pobox.com>
13337 * gst/elements, testsuite: Null if we got it...
13339 2005-07-05 Wim Taymans <wim@fluendo.com>
13342 * libs/gst/dataprotocol/Makefile.am:
13343 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
13344 * libs/gst/dataprotocol/dataprotocol.h:
13345 * pkgconfig/Makefile.am:
13346 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
13347 * pkgconfig/gstreamer-dataprotocol.pc.in:
13348 Ported dataprotol to 0.9.
13349 Added pkgconfig files.
13351 2005-07-05 Andy Wingo <wingo@pobox.com>
13353 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
13354 Default to returning TRUE for the case when tranform_caps returns
13355 a fixed caps, like for identity or volume.
13357 * check/gst/gstbus.c (pound_bus_with_messages):
13358 * check/gst/gstmessage.c (START_TEST):
13359 * check/pipelines/simple_launch_lines.c (got_handoff): Application
13360 message API change.
13362 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
13363 logic weaks here: always run transform_caps, trying passthrough
13364 operation only if the original caps intersects with the transform.
13366 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
13367 source and sink caps.
13369 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
13370 Intersect the peer caps with the pad template before going into
13372 (gst_base_transform_transform_caps): More debugging.
13374 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
13377 2005-07-04 Edward Hervey <edward@fluendo.com>
13381 (gst_pad_add_*_probe): now returns the signal id for better wrapping
13384 2005-07-04 Andy Wingo <wingo@pobox.com>
13386 * check/gst/gstpad.c: Only set explicit caps on pads.
13388 2005-07-01 Andy Wingo <wingo@pobox.com>
13390 * tests/network-clock.scm: Commentary update.
13392 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
13393 Didn't really make sense, not implementable with basetransform,
13395 (gst_identity_transform): Unref inbuf via make_writable. Feeble
13396 attempt at implementing the sync property, needs an unlock method.
13398 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
13399 New func, by default returns the same caps (the identity
13401 (gst_base_transform_getcaps): Uses transform_caps to return
13402 something sensible.
13403 (gst_base_transform_setcaps): Complicated logic to get caps on
13404 both pads, even if they are different, and to call set_caps once
13405 for every time both pads get their caps set.
13406 (gst_base_transform_handle_buffer): Give the ref to the transform
13407 function. Allows in-place modification of the buffer.
13409 * gst/base/gstbasetransform.h (transform_caps): New class method.
13410 Given caps on one side, what can I do on the other.
13411 (set_caps): Take two caps, one for each side of the element.
13414 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
13415 caps in place. This is safe because we can check the mutability of
13416 the caps, and a good idea because fixate functions are just called
13417 as a matter of last resort. (Not actually implemented.)
13418 (gst_pad_set_caps): If the caps we're setting is actually the same
13419 as the existing pad caps, just update the pointer without calling
13420 setcaps. Assert that caps is either NULL or fixed, as per the
13423 * gst/gstghostpad.c: Update for fixate changes.
13425 2005-07-02 Andy Wingo <wingo@pobox.com>
13428 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
13429 two refcounts makes it immutable, which is enough. Doc more.
13431 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
13433 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
13434 Put the mini_object into GValue as a mini_object,
13435 not a gpointer, since that's how we declared
13438 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13440 * examples/pwg/Makefile.am:
13441 Fix buildbot again.
13443 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13445 * docs/pwg/building-testapp.xml:
13447 * examples/pwg/Makefile.am:
13450 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13453 * examples/Makefile.am:
13454 * examples/pwg/Makefile.am:
13455 * examples/pwg/extract.pl:
13456 Enable building the PWG examples.
13457 * docs/pwg/advanced-interfaces.xml:
13458 Add URI interface stub.
13459 * docs/pwg/advanced-types.xml:
13460 * docs/pwg/other-autoplugger.xml:
13461 * docs/pwg/appendix-porting.xml:
13462 * docs/pwg/pwg.xml:
13463 Add porting guide (mostly stubs), remove autoplugging (see ADM).
13464 * docs/pwg/building-boiler.xml:
13465 * docs/pwg/building-chainfn.xml:
13466 * docs/pwg/building-pads.xml:
13467 * docs/pwg/building-props.xml:
13468 * docs/pwg/building-state.xml:
13469 * docs/pwg/building-testapp.xml:
13470 Update the building-*.xml parts for 0.9 changes. All examples
13471 code blocks compile in examples/pwg/*.
13473 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13475 * docs/manual/advanced-autoplugging.xml:
13476 * docs/manual/appendix-checklist.xml:
13477 * docs/manual/appendix-integration.xml:
13478 * docs/manual/highlevel-components.xml:
13479 Fix playbin/decodebin examples, update docs a bit, mention bus
13480 instead of signals in various places, mention kmplayer and
13481 kaffeine since they have a working GStreamer backend in the KDE
13484 2005-06-30 Wim Taymans <wim@fluendo.com>
13487 * docs/design/draft-ghostpads.txt:
13488 * docs/design/draft-push-pull.txt:
13489 * docs/design/draft-query.txt:
13490 * docs/design/part-TODO.txt:
13491 * docs/design/part-query.txt:
13492 Added CHANGES-0.9 doc, updated status of other docs.
13497 2005-06-30 Wim Taymans <wim@fluendo.com>
13499 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13500 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13501 (gst_base_sink_change_state):
13502 * gst/base/gstbasesink.h:
13503 Some tweaks, only EOS and a buffer complete a preroll.
13505 2005-06-30 Andy Wingo <wingo@pobox.com>
13507 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
13508 activate_push down to the internal pad as well.
13510 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
13512 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13514 * gst/gsttaginterface.c:
13515 Some documentation fixes (#307394 and #307397).
13517 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
13519 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13521 * gst/gstvalue.c: (gst_value_intersect_list):
13522 Fix memleak (#309125).
13524 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13526 * docs/manual/advanced-dataaccess.xml:
13527 Fix fakesrc example to compile; doesn't work, bug somewhere...?
13528 * docs/manual/basics-pads.xml:
13529 Add reference for filtered caps to above chapter.
13531 2005-06-30 Wim Taymans <wim@fluendo.com>
13533 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
13534 (gst_bin_change_state):
13536 Lame attempt at making the state change function a bit
13539 2005-06-30 Wim Taymans <wim@fluendo.com>
13541 * docs/design/part-clocks.txt:
13542 * docs/design/part-element-sink.txt:
13543 * docs/design/part-events.txt:
13544 * docs/design/part-preroll.txt:
13545 * docs/design/part-states.txt:
13546 Some more tweeks and additions to the docs.
13548 2005-06-30 Wim Taymans <wim@fluendo.com>
13550 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
13551 (default_have_data), (gst_pad_class_init), (gst_pad_init),
13552 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
13553 (gst_pad_check_pull_range), (gst_pad_get_range),
13554 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
13556 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
13557 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13558 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13559 (gst_pad_remove_buffer_probe):
13560 Removed atomic operations, use existing LOCK.
13561 Move exception handling out of main code path.
13563 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13565 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
13566 (silly_return_true_function), (gst_pad_class_init),
13567 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
13568 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
13569 (gst_pad_send_event):
13570 Fix accumulator, add default value by using _emitv() instead
13571 of _emit() for signal emission.
13573 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13575 * docs/manual/advanced-dataaccess.xml:
13576 * examples/manual/Makefile.am:
13578 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
13581 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
13583 * gst/elements/gstfilesink.c: (gst_filesink_render):
13584 Simplify code so that we don't have to handle short
13585 writes and return GST_FLOW_ERROR if an error occured.
13587 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13589 * docs/gst/gstreamer-docs.sgml:
13590 Remove probes more.
13592 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13594 * docs/gst/gstreamer-sections.txt:
13595 * docs/gst/tmpl/gstpad.sgml:
13596 * docs/gst/tmpl/gstprobe.sgml:
13598 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
13599 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
13600 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
13601 (gst_pad_push_event), (gst_pad_send_event):
13603 * gst/gstutils.c: (gst_pad_add_data_probe),
13604 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13605 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13606 (gst_pad_remove_buffer_probe):
13608 Remove old probes, add new g-signal-based probes and some utility
13611 2005-06-29 Edward Hervey <edward@fluendo.com>
13613 * gst/gstelementfactory.c:
13616 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
13617 the definition to the header file.
13619 2005-06-29 Andy Wingo <wingo@pobox.com>
13621 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
13622 plugins from the source directory.
13624 2005-06-29 Wim Taymans <wim@fluendo.com>
13626 * docs/gst/tmpl/gstbuffer.sgml:
13627 * docs/gst/tmpl/gstclock.sgml:
13628 Some fixings for blantently wrong text.
13630 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
13632 * check/Makefile.am:
13633 * gst/gst.c: (add_path_func), (init_pre):
13634 * gst/gstregistry.c: (gst_registry_add_path):
13635 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
13636 only scan the GST_PLUGIN_PATH locations, and not add
13639 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
13641 * docs/gst/gstreamer-sections.txt:
13642 * docs/gst/tmpl/gstbasesrc.sgml:
13643 * gst/gstelement.c:
13644 * gst/gstelement.h:
13649 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13651 * docs/manual/advanced-autoplugging.xml:
13652 Fix autoplugging example.
13654 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13656 * docs/manual/advanced-autoplugging.xml:
13657 * docs/manual/mime-world.fig:
13658 Try to get autoplugging working, fix type detection. Fix text
13659 in hello-world image.
13661 2005-06-29 Wim Taymans <wim@fluendo.com>
13663 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13664 (gst_base_sink_change_state):
13668 map SIGNAL and BROADCAST to the right function.
13671 Remove redundant braces.
13673 * gst/gstpad.c: (gst_pad_set_caps):
13674 Don't call setcaps function when reseting caps to NULL.
13676 * gst/gstsystemclock.c: (gst_system_clock_dispose),
13677 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
13678 (gst_system_clock_id_unschedule):
13679 Use BROADCAST as this is what we do.
13681 2005-06-29 Wim Taymans <wim@fluendo.com>
13683 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13684 We are actually prerolling before commiting the state
13687 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13689 * docs/manual/advanced-clocks.xml:
13690 * docs/manual/advanced-interfaces.xml:
13691 * docs/manual/advanced-metadata.xml:
13692 * docs/manual/advanced-position.xml:
13693 * docs/manual/advanced-schedulers.xml:
13694 * docs/manual/advanced-threads.xml:
13695 * docs/manual/appendix-porting.xml:
13696 * docs/manual/basics-bins.xml:
13697 * docs/manual/basics-bus.xml:
13698 * docs/manual/basics-elements.xml:
13699 * docs/manual/basics-helloworld.xml:
13700 * docs/manual/basics-pads.xml:
13701 * docs/manual/highlevel-components.xml:
13702 * docs/manual/manual.xml:
13703 * docs/manual/thread.fig:
13704 Update (until threads/scheduling) Application Development Manual;
13705 remove GstThread, add GstBus, add simple porting checklist, add
13706 documentation for tag writing, clocks, make all examples until this
13707 part compile and run.
13708 * examples/manual/Makefile.am:
13709 Update from changes to Application Development Manual; add bus
13710 example, remove thread example.
13712 2005-06-28 Wim Taymans <wim@fluendo.com>
13714 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
13715 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
13716 (gst_bus_source_dispatch):
13717 Add debugging messages.
13718 Make internal methods static.
13719 Handle the case where the bus is flushed in the handler.
13721 * gst/gstelement.c: (gst_element_get_bus):
13722 Fix refcount in _get_bus();
13724 * gst/gstpipeline.c: (gst_pipeline_change_state),
13725 (gst_pipeline_get_clock_func):
13726 Clock refcounting fixes.
13727 Handle the case where preroll timed out more gracefully.
13729 * gst/gstsystemclock.c: (gst_system_clock_dispose):
13730 Clean up the internal thread in dispose. This is needed
13731 for subclasses that actually get disposed.
13733 * gst/schedulers/threadscheduler.c:
13734 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13735 (gst_thread_scheduler_dispose):
13736 Free thread pool in dispose.
13738 2005-06-28 Andy Wingo <wingo@pobox.com>
13740 * tests/network-clock-utils.scm (debug, print-event): New utils.
13742 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
13743 (*packet-loss*): Unified loss probability.
13744 (network-time): Report out-of-band events.
13746 * tests/plot-data: Add support for out-of-band events. Hack it
13747 into this script instead of passing it down the pipe; should fix
13750 2005-06-28 Wim Taymans <wim@fluendo.com>
13752 * docs/gst/gstreamer.types:
13753 * docs/gst/tmpl/gstbasesrc.sgml:
13754 * docs/gst/tmpl/gstpad.sgml:
13757 2005-06-28 Wim Taymans <wim@fluendo.com>
13759 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13760 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
13761 (gst_proxy_pad_do_fixatecaps):
13762 Correctly proxy the check_pull_range function.
13764 2005-06-28 Andy Wingo <wingo@pobox.com>
13766 * tests/network-clock.scm: Removed need for slib.
13768 2005-06-28 Wim Taymans <wim@fluendo.com>
13770 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
13771 (gst_basesink_preroll_queue_flush):
13772 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
13773 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
13774 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13775 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13776 (gst_proxy_pad_set_property):
13779 * gst/gstqueue.c: (gst_queue_init):
13780 The deprecated pad loop function is removed now.
13782 2005-06-28 Andy Wingo <wingo@pobox.com>
13784 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
13785 New parameters, simulate network packet loss.
13787 * tests/network-clock-utils.scm: Initialize the RNG.
13789 2005-06-28 Wim Taymans <wim@fluendo.com>
13791 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
13792 (gst_basesink_event), (gst_basesink_deactivate):
13793 Flushing the preroll queue always needs to unlock the waiters.
13795 2005-06-28 Edward Hervey <edward@fluendo.com>
13797 * gst/gstpipeline.c: (gst_pipeline_send_event):
13798 Wheen a seek was successful on a pipeline, set the stream_time to the
13799 seek offset in order to have a synchronized stream_time.
13801 2005-06-28 Wim Taymans <wim@fluendo.com>
13803 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13804 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
13805 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
13806 (gst_proxy_pad_do_fixatecaps):
13807 Call wrapper function instead of just calling the function
13808 pointers. This takes care of any locking and whatmore.
13810 2005-06-28 Wim Taymans <wim@fluendo.com>
13812 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
13813 (gst_pad_pull_range):
13815 CONNECTED -> LINKED.
13817 2005-06-28 Andy Wingo <wingo@pobox.com>
13819 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
13820 source-munging commit!!!
13822 * gst/gstobject.c (gst_object_unref, gst_object_ref)
13823 (gst_object_sink): Take gpointer arguments, not GstObject --
13824 avoids casts. Like GLib.
13826 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
13829 2005-06-27 Andy Wingo <wingo@pobox.com>
13831 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
13834 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
13835 returns a sorted copy of the trace list.
13836 (gst_alloc_trace_print_live): New API, only prints traces with
13837 live objects. Sort the list.
13838 (gst_alloc_trace_print_all): Sort the list.
13839 (gst_alloc_trace_print): Align columns.
13841 * gst/elements/gstttypefindelement.c:
13842 * gst/elements/gsttee.c:
13843 * gst/base/gstbasesrc.c:
13844 * gst/base/gstbasesink.c:
13845 * gst/base/gstbasetransform.c:
13846 * gst/gstqueue.c: Adapt for pad activation changes.
13848 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
13850 (gst_pipeline_dispose): Drop ref on sched.
13852 * gst/gstpad.c (gst_pad_init): Set the default activate func.
13853 (gst_pad_activate_default): Push mode by default.
13854 (pre_activate_switch, post_activate_switch): New stubs, things to
13855 do before and after switching activation modes on pads.
13856 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
13857 the pad's activate function to choose which mode to activate.
13858 Shortcut on deactivation and call the right function directly.
13859 (gst_pad_activate_pull): New API, (de)activates a pad in pull
13861 (gst_pad_activate_push): New API, same for push mode.
13862 (gst_pad_set_activate_function)
13863 (gst_pad_set_activatepull_function)
13864 (gst_pad_set_activatepush_function): Setters for new API.
13866 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
13867 Trace all miniobjects.
13868 (gst_mini_object_make_writable): Unref the arg if we copy, like
13869 gst_caps_make_writable.
13871 * gst/gstmessage.c (_gst_message_initialize): No trace init.
13873 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
13874 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
13875 Adapt for new pad API.
13877 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
13879 * gst/gstelement.h:
13880 * gst/gstelement.c (gst_element_iterate_src_pads)
13881 (gst_element_iterate_sink_pads): New API functions.
13883 * gst/gstelement.c (iterator_fold_with_resync): New utility,
13884 should fold into gstiterator.c in some form.
13885 (gst_element_pads_activate): Simplified via use of fold and
13886 delegation of decisions to gstpad->activate.
13888 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
13891 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
13892 class once in init, like gstmessage. Didn't run into this issue
13893 but it seems correct. Don't initialize a trace, gstminiobject does
13896 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
13897 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
13899 (assert_live_count): New util function, uses alloc traces to check
13902 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
13903 To be modified when unlink drops the internal pad.
13905 2005-06-27 Wim Taymans <wim@fluendo.com>
13907 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
13908 (gst_bin_change_state):
13909 Cleanup the get_state() function a little, make sure it
13910 iterates the same set of elements.
13911 Added stub iterate_state_order().
13913 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
13915 * docs/gst/gstreamer-docs.sgml:
13916 * docs/gst/gstreamer-sections.txt:
13917 * docs/gst/gstreamer.types:
13918 * docs/gst/tmpl/gstbasesink.sgml:
13919 * docs/gst/tmpl/gstbasesrc.sgml:
13920 * docs/gst/tmpl/gstbasetransform.sgml:
13921 * docs/gst/tmpl/gstelement.sgml:
13922 * docs/gst/tmpl/gstiterator.sgml:
13923 * gst/base/gstbasesrc.c:
13924 * gst/base/gstbasesrc.h:
13925 * gst/base/gstbasetransform.h:
13926 * gst/gstelement.c:
13927 * gst/gstiterator.h:
13928 adding basetransform and iterator docs
13930 2005-06-27 Andy Wingo <wingo@pobox.com>
13932 * docs/design/part-activation.txt: Notes on how activation should
13933 work -- not quite implemented yet.
13935 2005-06-25 Wim Taymans <wim@fluendo.com>
13937 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
13938 At least get the chain function correct, needs more
13941 2005-06-25 Wim Taymans <wim@fluendo.com>
13943 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
13944 (gst_basesink_handle_object), (gst_basesink_event),
13945 (gst_basesink_do_sync), (gst_basesink_handle_event),
13946 (gst_basesink_change_state):
13948 Right, two problems here: ghostpads don't take locks and
13949 glib _rec_mutex_lock_full() with depth==0 still locks.
13950 Catch illegal locking and g_warn them.
13952 2005-06-25 Wim Taymans <wim@fluendo.com>
13954 * check/states/sinks.c: (START_TEST), (gst_object_suite):
13955 Have to check for completion now...
13957 2005-06-25 Wim Taymans <wim@fluendo.com>
13959 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
13960 (gst_basesink_handle_object), (gst_basesink_event),
13961 (gst_basesink_do_sync), (gst_basesink_handle_event),
13962 (gst_basesink_change_state):
13964 Unlock STREAM_LOCK whatever the recursion was.
13966 2005-06-25 Wim Taymans <wim@fluendo.com>
13968 * gst/base/gstbasesink.c: (gst_basesink_set_property),
13969 (gst_basesink_preroll_queue_empty),
13970 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
13971 (gst_basesink_event), (gst_basesink_do_sync),
13972 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
13973 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
13974 (gst_basesink_change_state):
13975 Reworked the base sink, handle event and buffer serialisation
13976 correctly and removed possible deadlock.
13977 Handle EOS correctly.
13979 2005-06-25 Wim Taymans <wim@fluendo.com>
13981 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
13982 (gst_pipeline_change_state):
13983 * tools/gst-launch.c: (check_intr), (event_loop), (main):
13984 Allow elements to post EOS in the state change function.
13985 Fix up -launch, make it exit the poll loop when the
13986 pipeline actually changed state.
13987 Fix up warning parsing in -launch.
13989 2005-06-25 Wim Taymans <wim@fluendo.com>
13991 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
13992 (gst_tee_sink_activate):
13993 Core takes STREAM_LOCK for us now.
13995 2005-06-25 Wim Taymans <wim@fluendo.com>
13997 * gst/gstelement.c: (gst_element_get_state_func),
13998 (gst_element_set_state):
13999 * gst/gstelement.h:
14000 * gst/gstmessage.c: (gst_message_parse_error),
14001 (gst_message_parse_warning):
14002 Keep track of current target state while performing a state
14003 change so that subclasses can do something interesting.
14004 Fix parsing of warning/error messages when GError is NULL.
14006 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
14008 * docs/gst/Makefile.am:
14009 * docs/gst/gstreamer-docs.sgml:
14010 * docs/gst/gstreamer-sections.txt:
14011 * docs/gst/gstreamer.types:
14012 * docs/gst/tmpl/gstbasesink.sgml:
14013 * docs/gst/tmpl/gstbasesrc.sgml:
14014 * docs/gst/tmpl/gstbin.sgml:
14015 * docs/gst/tmpl/gstcompat.sgml:
14016 * docs/gst/tmpl/gstfakesink.sgml:
14017 * docs/gst/tmpl/gstfakesrc.sgml:
14018 * docs/gst/tmpl/gstfilesink.sgml:
14019 * docs/gst/tmpl/gstfilesrc.sgml:
14020 * docs/gst/tmpl/gstindex.sgml:
14021 * docs/manual/appendix-quotes.xml:
14022 * gst/base/gstbasesrc.h:
14023 * gst/elements/gstfakesrc.h:
14024 * gst/gstmessage.h:
14025 start pulling in base classes and elements in our docs
14027 2005-06-24 Stefan Kost <ensonic@users.sf.net>
14029 * docs/gst/Makefile.am:
14030 * docs/libs/Makefile.am:
14031 fixed make distcheck with gtk-doc 1.3
14033 2005-06-23 Wim Taymans <wim@fluendo.com>
14035 * gst/gstelement.c: (gst_element_get_state_func),
14036 (gst_element_set_state), (gst_element_change_state):
14037 When the state did not change, also report NO_PREROLL
14040 2005-06-23 Wim Taymans <wim@fluendo.com>
14042 * gst/gstpad.c: (gst_pad_event_default):
14043 * gst/gstqueue.c: (gst_queue_loop):
14044 No unsafe task pausing please.
14046 2005-06-23 Wim Taymans <wim@fluendo.com>
14048 * gst/schedulers/threadscheduler.c:
14049 (gst_thread_scheduler_task_start),
14050 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
14051 Ref the task before pushing it on the threadpool. This
14052 makes sure that we have a ref when the threadfunction is
14055 2005-06-23 Andy Wingo <wingo@pobox.com>
14057 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
14058 offset is greater than the file's size.
14060 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
14061 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
14062 * gst/gstobject.c (gst_object_class_init): Make the class lock
14063 recursive. Wim won't let me drop deep_notify. Decodebin works
14064 again, whoopdy doo.
14066 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
14067 internal pad, and hacks accordingly. Doesn't do it on the target
14068 pad because we change its caps. Probably catches all cases of
14070 (gst_ghost_pad_set_property): Connect to notify::caps as
14073 * tests/network-clock.scm (plot-simulation): Pipe data to the
14074 elite python skript.
14076 * tests/network-clock-utils.scm (define-parameter): New macro,
14077 defines a parameter that can be set via the command line.
14078 (set-parameter!, parse-parameter-arguments): Command line args
14081 * tests/plot-data: Simple matplotlib-based plotter, takes input on
14084 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
14086 * gst/elements/gsttypefindelement.c:
14087 (gst_type_find_element_handle_event):
14088 Don't restart typefinding on a discont.
14089 * gst/gstelement.c: (gst_element_set_state):
14090 Debug spelling fix.
14091 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
14092 Allow changing mode of an active pad.
14093 Debug output fixes.
14094 * gst/registries/gstlibxmlregistry.c: (load_feature):
14095 Don't cast a static pad template to a normal pad template.
14097 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
14099 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14100 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14101 remove gst_strtoll completely, since it didn't actually do
14102 anything more than what g_ascii_strtoull already does.
14103 check for range errors when deserializing
14104 do a cast for the unsigned cases; but further fixing needs
14105 a decision on what the interpretation of "(int)" and
14106 deserialization should be for values that fall outside the
14107 type's boundaries (ie, refuse, or interpret as casting)
14109 2005-06-23 Wim Taymans <wim@fluendo.com>
14111 * check/Makefile.am:
14112 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
14113 * docs/design/part-live-source.txt:
14114 * docs/design/part-states.txt:
14115 * gst/base/gstbasesrc.c: (gst_basesrc_init),
14116 (gst_basesrc_set_live), (gst_basesrc_is_live),
14117 (gst_basesrc_get_range), (gst_basesrc_activate),
14118 (gst_basesrc_change_state):
14119 * gst/base/gstbasesrc.h:
14120 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14121 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
14122 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
14123 * gst/gstelement.c: (gst_element_get_state_func),
14124 (gst_element_set_state):
14125 * gst/gstelement.h:
14127 * tools/gst-launch.c: (event_loop), (main):
14128 Added support for live sources and other elements that
14130 Updated design docs, added live-source design doc.
14131 Implemented live source functionality in basesrc
14132 Fix error condition in _bin_get_state()
14133 Implement live source handling in -launch.
14134 Added check for live sources.
14135 Fixed case in GstBin where elements were changed state
14139 2005-06-23 Andy Wingo <wingo@pobox.com>
14141 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
14142 borken refcounting.
14144 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
14145 gst_caps_replace takes care of this for us.
14147 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
14148 gst_pad_set_caps on the target, not just its setcaps() function.
14150 * tests/network-clock.scm:
14151 * tests/network-clock-utils.scm: A network clock simulator.
14152 Something of an algorithmic testbed before doing something in C.
14154 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14156 * check/Makefile.am:
14157 * check/gst/capslist.h:
14158 copy over from 0.8, and add two with bitmasks specified with
14160 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14161 add test to parse everything from capslist.h
14162 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
14164 add test for structure deserialization
14165 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14166 add tests for deserialization of strings to int types
14167 * gst/gststructure.c: (gst_structure_nth_field_name):
14168 * gst/gststructure.h:
14169 add a way to get the name of a field referenced by index
14170 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14171 instead of checking if the resulting long long lies between
14172 min and max, we check if the long long would fit into
14173 a number of bytes for the final type.
14174 This fixes cases where a string represents 2^32 - 1, which
14175 when cast to int would be the (valid) -1, but is bigger than
14178 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14180 * gst/parse/grammar.y:
14181 add a log line for type deserialization
14183 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14185 * check/gst/gstvalue.c: (START_TEST):
14186 * gst/gstvalue.c: (gst_value_deserialize):
14187 return long long, not int, so gint64 deserialization actually
14188 works. Is there any flag that makes the compiler check this ?
14191 2005-06-22 Wim Taymans <wim@fluendo.com>
14194 Added convenience macros for setting buffers in GValue.
14196 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
14198 * check/gst/.cvsignore:
14199 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14200 add a test deserializing int64, and comment part out because
14203 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
14205 * check/Makefile.am:
14206 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
14207 * testsuite/Makefile.am:
14208 * testsuite/caps/Makefile.am:
14209 * testsuite/caps/value_serialize.c:
14210 * testsuite/test_gst_init.c:
14211 move a value_serialize test over
14213 2005-06-20 Wim Taymans <wim@fluendo.com>
14218 * gst/gstvalue.c: (gst_value_compare_buffer),
14219 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
14220 (gst_value_compare_flags), (gst_value_serialize_flags),
14221 (gst_value_deserialize_flags), (_gst_value_initialize):
14222 Fix serialisation of buffers, they are not boxed types anymore
14224 2005-06-20 Wim Taymans <wim@fluendo.com>
14226 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14227 Testcase to show error in buffer-on-caps serialisation.
14229 2005-06-20 Andy Wingo <wingo@pobox.com>
14231 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
14232 will be adding to later.
14234 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
14235 if its socks fill with rocks.
14236 (gst_system_clock_obtain): Set the name on object construction.
14237 Avoid double-checked locking.
14239 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
14241 * gst/gsturi.c: (gst_element_make_from_uri):
14242 Fix potential endless loop.
14244 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14246 * check/Makefile.am:
14248 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
14250 move over from testsuite dir and clean up
14253 * testsuite/Makefile.am:
14254 * testsuite/tags/.cvsignore:
14255 * testsuite/tags/Makefile.am:
14256 * testsuite/tags/merge.c:
14257 remove testsuite/tags
14259 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14261 * docs/gst/gstreamer-sections.txt:
14262 * docs/gst/tmpl/gstenumtypes.sgml:
14263 * win32/gstenumtypes.c:
14264 clean up documentation build a little
14266 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14268 * check/gstcheck.h:
14269 add macros for checking refcounts on objects and caps
14270 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
14271 add some more unit tests
14272 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14273 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
14274 fix leaked refcounts (I hope :)) so unittest works
14278 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
14280 * configure.ac: back to HEAD
14282 === release 0.9.1 ===
14284 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
14290 2005-06-17 Andy Wingo <wingo@pobox.com>
14292 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
14293 assert; it's always possible that the pad gets deactivated in
14294 between the checks in gstpad.c and the implementation. Rely on
14295 finish_preroll() to return a FLUSHING or similar instead of on the
14298 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
14299 clock and post an EOS message if we come out of finish_preroll in
14302 2005-06-16 David Schleef <ds@schleef.org>
14304 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
14305 (gst_capsfilter_set_property): Allow NULL as possible value
14306 for filter_caps property, indicating GST_CAPS_ANY.
14308 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14310 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
14312 * gst/schedulers/Makefile.am:
14314 * gstreamer.spec.in:
14317 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14319 * gstreamer.spec.in:
14322 2005-06-08 Andy Wingo <wingo@pobox.com>
14324 * gst/gstutils.c: RPAD fixes all around.
14325 (gst_element_link_pads): Refcounting fixes.
14327 * tools/gst-inspect.c:
14328 * tools/gst-xmlinspect.c:
14330 * gst/base/gsttypefindhelper.c:
14331 * gst/base/gstbasesink.c:
14332 * gst/gstqueue.c: RPAD fixes.
14334 * gst/gstghostpad.h:
14335 * gst/gstghostpad.c: New ghost pad implementation as full proxy
14336 pads. The tricky thing is they provide both source and sink
14337 interfaces, since they proxy the internal pad for the external
14338 pad, and vice versa. Implement with lower-level ProxyPad objects,
14339 with the interior proxy pad as a child of the exterior ghost pad.
14340 Should write a doc on this.
14342 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
14343 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
14346 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
14347 pads are real pads. No ghost pads in this file. Not documenting
14348 the myriad s/RPAD/PAD/ and REALIZE fixes.
14349 (gst_pad_class_init): Add properties for "direction" and
14350 "template". Both are construct-only, so they can't change during
14351 the life of the pad. Fixes properly deriving from GstPad.
14352 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
14353 derived objects, just set properties when creating the objects via
14355 (gst_pad_get_parent): Implement as a function, return NULL if the
14356 parent is not an element.
14357 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
14358 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
14360 * gst/gstobject.c (gst_object_class_init): Make name a construct
14361 property. Don't set it in the object init.
14363 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
14364 with UNKNOWN direction.
14365 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
14366 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
14367 (gst_element_remove_pad): Remove ghost-pad special cases.
14368 (gst_element_pads_activate): Remove rpad cruft.
14370 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
14371 catch the pad's-parent-not-an-element case.
14373 * gst/gst.h: Include gstghostpad.h.
14375 * gst/gst.c (init_post): No more real, ghost pads.
14377 * gst/Makefile.am: Add gstghostpad.[ch].
14379 * check/Makefile.am:
14380 * check/gst/gstbin.c:
14381 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
14382 into a bin creates ghost pads, and that the refcounts are right.
14383 Partly moved from gstbin.c.
14385 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
14387 * check/gst-libs/.cvsignore:
14388 * check/gst/.cvsignore:
14389 * check/pipelines/.cvsignore:
14391 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
14392 (START_TEST), (cleanup_suite), (main):
14393 add some tests related to cleanup after running pipelines
14395 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
14397 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
14398 add a testsuite for GstBuffer
14400 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
14402 * gst/gstminiobject.h:
14403 add defines for accessing the refcount
14405 2005-06-03 Stefan Kost <ensonic@users.sf.net>
14407 * Makefile.am: added support for html unit test coverage reports
14409 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
14411 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14412 Free existing caps if the capsfilter changes. Add a FIXME about
14413 setting those caps on the pads.
14415 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
14416 Before adding a ghost pad to a parent bin, check that there isn't
14417 already one for the element on the bin. Prevents infinite recursion
14418 when using decodebin in parse pipelines. Andy says he'll rewrite the
14419 way this works anyway, so ignore the hack.
14421 2005-06-02 Andy Wingo <wingo@pobox.com>
14423 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
14424 file size, pass it on to the type find helper.
14426 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
14427 segment_start and segment_end properly according to the seek
14428 method. Segment_end is still a bit flaky because offset can be
14429 negative for CUR and END cases, but it takes -1 as an "unset"
14432 2005-06-02 Wim Taymans <wim@fluendo.com>
14434 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
14435 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
14436 (gst_basesink_activate):
14437 * gst/base/gstbasesink.h:
14438 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
14439 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
14440 (gst_pad_query), (gst_pad_start_task):
14442 * gst/gstqueue.c: (gst_queue_bufferalloc),
14443 (gst_queue_handle_sink_event), (gst_queue_chain):
14444 Bufferalloc: return GstFlowReturn to more accuratly report
14445 why allocation failed.
14447 2005-06-02 Wim Taymans <wim@fluendo.com>
14449 * gst/gstpipeline.c: (gst_pipeline_send_event):
14450 Take snapshot of state without blocking.
14452 2005-06-02 Wim Taymans <wim@fluendo.com>
14454 * docs/design/part-TODO.txt:
14455 * docs/design/part-caps.txt:
14456 * docs/design/part-clocks.txt:
14457 * docs/design/part-negotiation.txt:
14458 * docs/design/part-preroll.txt:
14461 2005-05-30 Wim Taymans <wim@fluendo.com>
14463 * gst/elements/gstidentity.c: (gst_identity_event),
14464 (gst_identity_transform), (gst_identity_get_property):
14465 Protect last_message property as it is accessed from
14468 2005-05-30 Wim Taymans <wim@fluendo.com>
14470 * gst/gstelement.c: (gst_element_init),
14471 (gst_element_pads_activate), (gst_element_change_state):
14472 Slicker pad activation code.
14474 2005-05-30 Wim Taymans <wim@fluendo.com>
14477 * gst/gstelement.h:
14478 * gst/gstelementfactory.h:
14480 Move elementfactory methods to separate .h file.
14482 2005-05-30 Wim Taymans <wim@fluendo.com>
14484 * docs/design/part-overview.txt:
14485 * gst/gstsystemclock.h:
14486 Small typo fixes, doc updates.
14488 2005-05-30 Wim Taymans <wim@fluendo.com>
14490 * gst/gst.c: (gst_init_get_popt_table), (init_post),
14491 (init_popt_callback):
14492 Remove cpu-opt flag.
14494 2005-05-30 Wim Taymans <wim@fluendo.com>
14496 * gst/gstbuffer.c: (gst_subbuffer_finalize),
14497 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
14499 Avoid typechecking in places where not needed.
14500 Added accessor for malloc_data.
14502 2005-05-30 Wim Taymans <wim@fluendo.com>
14504 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
14505 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
14506 (gst_pad_configure_sink), (gst_pad_configure_src),
14507 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
14508 (gst_pad_start_task):
14509 Propagate errors from _set_caps() in configure_src/sink
14510 functions instead of returning TRUE.
14511 FLUSH events can travel up and downstream
14514 2005-05-30 Wim Taymans <wim@fluendo.com>
14516 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
14517 (gst_basesink_activate):
14518 Handle EOS in preroll.
14520 2005-05-30 Wim Taymans <wim@fluendo.com>
14522 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14523 (gst_queue_loop), (gst_queue_handle_src_event):
14524 Remove old pieces of code
14525 Flushing the queue in an upstream event is a very bad idea.
14527 2005-05-26 Andy Wingo <wingo@pobox.com>
14529 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
14530 gst_value_set_mini_object so as to add a ref on the object (which
14531 will be removed when the value is unset).
14533 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
14534 arg type in ::handoff.
14536 * gst/gstelement.c (gst_element_change_state): Also deactivate
14537 pads in READY->NULL, just in case the element didn't make it to
14538 PAUSED. Wingo tested, Wim approved.
14540 2005-05-26 Wim Taymans <wim@fluendo.com>
14542 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
14543 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
14544 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
14545 A flushing pad cannot be used to alloc_buffer from.
14547 2005-05-26 Wim Taymans <wim@fluendo.com>
14549 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
14550 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
14551 (gst_bus_source_dispatch), (gst_bus_source_finalize),
14552 (gst_bus_create_watch), (gst_bus_add_watch_full):
14554 Implement a real GSource and use g_main_context_wakeup() to
14555 signal new messages instead of the socketpair.
14557 2005-05-25 Wim Taymans <wim@fluendo.com>
14559 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
14560 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
14561 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
14562 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
14563 (gst_pad_send_event), (gst_pad_start_task):
14564 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
14565 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
14566 (gst_queue_sink_activate), (gst_queue_src_activate),
14567 (gst_queue_change_state):
14569 Fix state changes for non sinks. We now change sinks, then elements
14570 with unconnected srcpads, then the rest.
14571 More efficient queue unlocking in flush and state changes.
14572 Set the pad activate mode even if it does not have an activate
14575 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14577 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
14578 Don't go in pull mode for non-seekable sources.
14579 * gst/elements/gsttypefindelement.h:
14580 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
14581 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
14582 (free_entry), (stop_typefinding),
14583 (gst_type_find_element_handle_event), (find_peek),
14584 (gst_type_find_element_chain), (do_pull_typefind),
14585 (gst_type_find_element_change_state):
14586 Allow typefinding (w/o seeking) in push-mode, simplified version
14587 of what was in 0.8.
14588 * gst/gstutils.c: (gst_buffer_join):
14590 gst_buffer_join() from 0.8.
14592 2005-05-25 Wim Taymans <wim@fluendo.com>
14594 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
14595 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
14596 (gst_pad_send_event), (gst_pad_start_task):
14597 Disable attempt at mode switching until it is figured out.
14599 2005-05-25 Wim Taymans <wim@fluendo.com>
14601 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
14602 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
14603 (gst_basesink_finish_preroll), (gst_basesink_chain),
14604 (gst_basesink_loop), (gst_basesink_activate),
14605 (gst_basesink_change_state):
14606 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
14607 (gst_basesrc_get_range), (gst_basesrc_loop),
14608 (gst_basesrc_activate):
14609 * gst/elements/gsttee.c: (gst_tee_sink_activate):
14610 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
14611 (gst_real_pad_init), (gst_real_pad_set_property),
14612 (gst_real_pad_get_property), (gst_pad_set_active),
14613 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
14614 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
14615 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
14616 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
14617 (gst_pad_event_default_dispatch), (gst_pad_event_default),
14618 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
14619 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
14620 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14621 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
14622 (gst_pad_stop_task):
14624 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14625 (gst_queue_loop), (gst_queue_src_activate):
14626 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
14627 (gst_task_get_state):
14629 * gst/schedulers/threadscheduler.c:
14630 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
14631 Implement gst_pad_pause/start/stop_task(), take STREAM lock
14633 Remove ACTIVE pad flag, use FLUSHING everywhere
14634 Added _pad_chain(), _pad_get_range() to call chain/getrange
14636 Add locks around IS_FLUSHING when reading.
14637 Take STREAM lock in chain(), get_range() functions so plugins
14638 don't need to take it anymore.
14642 2005-05-25 Wim Taymans <wim@fluendo.com>
14644 * tools/gst-launch.c: (event_loop):
14645 Unref message after using its contents instead of
14648 2005-05-24 Wim Taymans <wim@fluendo.com>
14650 * docs/design/draft-ghostpads.txt:
14651 * docs/design/draft-push-pull.txt:
14652 * docs/design/draft-query.txt:
14653 * docs/design/part-overview.txt:
14654 Docs updates, added general overview doc.
14656 2005-05-21 David Schleef <ds@schleef.org>
14658 * docs/gst/tmpl/old/GstBin.sgml:
14659 * docs/gst/tmpl/old/GstBuffer.sgml:
14660 * docs/gst/tmpl/old/GstCaps.sgml:
14661 * docs/gst/tmpl/old/GstClock.sgml:
14662 * docs/gst/tmpl/old/GstCompat.sgml:
14663 * docs/gst/tmpl/old/GstData.sgml:
14664 * docs/gst/tmpl/old/GstElement.sgml:
14665 * docs/gst/tmpl/old/GstEvent.sgml:
14666 * docs/gst/tmpl/old/GstIndex.sgml:
14667 * docs/gst/tmpl/old/GstStructure.sgml:
14668 * docs/gst/tmpl/old/GstTag.sgml:
14669 * docs/gst/tmpl/old/cothreads.sgml:
14670 * docs/gst/tmpl/old/cothreads_compat.sgml:
14671 * docs/gst/tmpl/old/gettext.sgml:
14672 * docs/gst/tmpl/old/gobject2gtk.sgml:
14673 * docs/gst/tmpl/old/grammar.tab.sgml:
14674 * docs/gst/tmpl/old/gst-i18n-app.sgml:
14675 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
14676 * docs/gst/tmpl/old/gst_private.sgml:
14677 * docs/gst/tmpl/old/gstaggregator.sgml:
14678 * docs/gst/tmpl/old/gstarch.sgml:
14679 * docs/gst/tmpl/old/gstatomic_impl.sgml:
14680 * docs/gst/tmpl/old/gstbufferstore.sgml:
14681 * docs/gst/tmpl/old/gstdata_private.sgml:
14682 * docs/gst/tmpl/old/gstdisksink.sgml:
14683 * docs/gst/tmpl/old/gstdisksrc.sgml:
14684 * docs/gst/tmpl/old/gstelementfactory.sgml:
14685 * docs/gst/tmpl/old/gstextratypes.sgml:
14686 * docs/gst/tmpl/old/gstfakesink.sgml:
14687 * docs/gst/tmpl/old/gstfakesrc.sgml:
14688 * docs/gst/tmpl/old/gstfdsink.sgml:
14689 * docs/gst/tmpl/old/gstfdsrc.sgml:
14690 * docs/gst/tmpl/old/gstfilesink.sgml:
14691 * docs/gst/tmpl/old/gstfilesrc.sgml:
14692 * docs/gst/tmpl/old/gsthttpsrc.sgml:
14693 * docs/gst/tmpl/old/gstidentity.sgml:
14694 * docs/gst/tmpl/old/gstindexfactory.sgml:
14695 * docs/gst/tmpl/old/gstmarshal.sgml:
14696 * docs/gst/tmpl/old/gstmd5sink.sgml:
14697 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
14698 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
14699 * docs/gst/tmpl/old/gstpadtemplate.sgml:
14700 * docs/gst/tmpl/old/gstpipefilter.sgml:
14701 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
14702 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
14703 * docs/gst/tmpl/old/gstshaper.sgml:
14704 * docs/gst/tmpl/old/gstspider.sgml:
14705 * docs/gst/tmpl/old/gstspideridentity.sgml:
14706 * docs/gst/tmpl/old/gststatistics.sgml:
14707 * docs/gst/tmpl/old/gsttee.sgml:
14708 * docs/gst/tmpl/old/gsttimecache.sgml:
14709 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
14710 * docs/gst/tmpl/old/gstxmlregistry.sgml:
14711 * docs/gst/tmpl/old/gthread-cothreads.sgml:
14712 * docs/gst/tmpl/old/types.sgml:
14713 I didn't intend to add these or check them in.
14715 2005-05-19 David Schleef <ds@schleef.org>
14717 * configure.ac: Use -no-common everywhere. In a sane world, it
14718 would be the default in libtool, because without it, you can't
14719 build DLLs on Windows.
14720 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
14721 * docs/gst/gstreamer-sections.txt:
14722 * docs/gst/tmpl/gstcpu.sgml:
14723 * docs/gst/tmpl/gstdata.sgml:
14724 * docs/gst/tmpl/gstthread.sgml:
14726 2005-05-19 David Schleef <ds@schleef.org>
14728 * gst/gstminiobject.c: (gst_value_set_mini_object),
14729 (gst_value_take_mini_object), (gst_value_get_mini_object):
14730 * gst/gstminiobject.h: Add GValue set/get functions.
14732 2005-05-19 Wim Taymans <wim@fluendo.com>
14734 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
14735 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
14736 (gst_subbuffer_init), (gst_buffer_is_span_fast):
14738 * gst/gstbus.c: (gst_bus_post):
14739 * gst/gstelement.c: (gst_element_get_random_pad):
14740 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
14741 Make subbufer unref the parent in finalize.
14742 some more debugging info.
14745 2005-05-19 Wim Taymans <wim@fluendo.com>
14747 * gst/base/gstbasesink.c: (gst_basesink_class_init),
14748 (gst_basesink_init), (gst_basesink_finalize),
14749 (gst_basesink_activate), (gst_basesink_change_state):
14750 Don't free preroll queue too early.
14752 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14756 Hi, I'm outdated. Please shoot me.
14758 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14760 * gst/gstpipeline.c: (gst_pipeline_send_event):
14761 Do not access variables after they have been deleted.
14763 2005-05-19 Wim Taymans <wim@fluendo.com>
14765 * tools/gst-inspect.c: (print_plugin_features):
14766 A plugin feature does unfortunatly not use the
14769 2005-05-18 Wim Taymans <wim@fluendo.com>
14771 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
14772 Port _span() functions to new subbuffers.
14774 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14776 * gst/gstbin.c: (gst_bin_add_func):
14777 Fix clock settery in bins when adding kids after the clock has
14780 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14782 * gst/elements/gstidentity.c: (gst_identity_class_init):
14783 Workaround until signals support GstMiniObject.
14785 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14788 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
14790 2005-05-18 Wim Taymans <wim@fluendo.com>
14792 * gst/base/Makefile.am:
14793 * gst/base/gstadapter.c: (gst_adapter_base_init),
14794 (gst_adapter_class_init), (gst_adapter_init),
14795 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
14796 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
14797 (gst_adapter_flush), (gst_adapter_available),
14798 (gst_adapter_available_fast):
14799 * gst/base/gstadapter.h:
14800 Ported and added adapter to the base classes.
14802 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14805 * gst/gstmessage.c:
14806 Make sure the class is reffed/unreffed once before threads can be
14807 used. Fixes #304551.
14809 2005-05-17 Wim Taymans <wim@fluendo.com>
14811 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
14812 (gst_basesink_chain_unlocked), (gst_basesink_activate):
14813 * gst/gstminiobject.c: (gst_mini_object_get_type),
14814 (gst_mini_object_free):
14815 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
14816 (gst_pad_push), (gst_pad_push_event):
14817 * gst/gstqueue.c: (gst_queue_change_state):
14818 Don't queue buffers in basesink when we are flushing.
14819 Unref buffer when flushing in basesink.
14820 Flush queue when going to READY
14821 Unref buffer when _push() returns an error.
14822 Don't free MiniObject instance when refcount is incremented
14823 in _finalize() so that we can recover objects.
14825 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
14827 * docs/manual/advanced-schedulers.xml:
14828 * docs/manual/appendix-checklist.xml:
14829 * docs/pwg/advanced-clock.xml:
14830 * docs/pwg/advanced-interfaces.xml:
14831 * docs/pwg/advanced-request.xml:
14832 * docs/pwg/advanced-types.xml:
14833 * docs/pwg/intro-preface.xml:
14834 * examples/plugins/example.c: (gst_example_get_type),
14835 (gst_example_class_init), (gst_example_chain),
14836 (gst_example_set_property), (gst_example_get_property),
14837 (gst_example_change_state), (plugin_init):
14838 * examples/plugins/example.h:
14841 2005-05-17 Wim Taymans <wim@fluendo.com>
14843 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
14844 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
14845 * gst/gstqueue.c: (gst_queue_change_state):
14846 Clear queue when going to READY.
14847 Remove IN_SETCAPS flag too.
14849 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
14851 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
14852 Remove implicit cast from gboolean to GstElementStateReturn;
14853 make sure we still return failure in paused => ready case if
14854 the parent class fails to change state and our own stop
14857 2005-05-17 Wim Taymans <wim@fluendo.com>
14859 * tools/gst-launch.c: (event_loop):
14860 Message was unreffed too soon.
14862 2005-05-16 Andy Wingo <wingo@pobox.com>
14864 * gst/gstbin.c (sink_iterator_filter): Err... um...
14866 * check/gst/gstbin.c (test_ghost_pads): New test for the
14867 ghosting-if-elements-not-in-same-bin behavior.
14869 2005-05-16 David Schleef <ds@schleef.org>
14871 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
14872 accessing refcount directly.
14874 2005-05-15 David Schleef <ds@schleef.org>
14876 * check/Makefile.am: remove GstData checks
14877 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
14878 * gst/Makefile.am: add miniobject, remove data
14879 * gst/gst.h: add miniobject, remove data
14880 * gst/gstdata.c: remove
14881 * gst/gstdata.h: remove
14882 * gst/gstdata_private.h: remove
14883 * gst/gsttypes.h: remove GstEvent and GstMessage
14884 * gst/gstelement.c: (gst_element_post_message): fix for API changes
14885 * gst/gstmarshal.list: change BOXED -> OBJECT
14887 Implement GstMiniObject.
14888 * gst/gstminiobject.c:
14889 * gst/gstminiobject.h:
14891 Modify to be subclasses of GstMiniObject.
14892 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
14893 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
14894 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
14895 (gst_subbuffer_get_type), (gst_subbuffer_init),
14896 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
14899 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
14900 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
14901 (_gst_event_copy), (gst_event_new):
14903 * gst/gstmessage.c: (_gst_message_initialize),
14904 (gst_message_get_type), (gst_message_class_init),
14905 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
14906 (gst_message_new), (gst_message_new_error),
14907 (gst_message_new_warning), (gst_message_new_tag),
14908 (gst_message_new_state_changed), (gst_message_new_application):
14909 * gst/gstmessage.h:
14910 * gst/gstprobe.c: (gst_probe_perform),
14911 (gst_probe_dispatcher_dispatch):
14913 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
14914 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
14915 (_gst_query_copy), (gst_query_new):
14917 Update elements for GstData -> GstMiniObject changes
14919 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
14920 (gst_queue_chain), (gst_queue_loop):
14921 * gst/elements/gstbufferstore.c:
14922 (gst_buffer_store_add_buffer_func),
14923 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
14924 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
14925 (gst_fakesink_render):
14926 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
14927 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
14928 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
14929 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
14930 (gst_filesrc_create_read):
14931 * gst/elements/gstidentity.c: (gst_identity_class_init):
14932 * gst/elements/gsttypefindelement.c:
14933 (gst_type_find_element_src_event), (free_entry_buffers),
14934 (gst_type_find_element_handle_event):
14935 * libs/gst/dataprotocol/dataprotocol.c:
14936 (gst_dp_header_from_buffer):
14937 * libs/gst/dataprotocol/dataprotocol.h:
14938 * libs/gst/dataprotocol/dp-private.h:
14940 2005-05-15 David Schleef <ds@schleef.org>
14942 * gst/elements/gstelements.c: Don't include headers that were
14945 2005-05-15 David Schleef <ds@schleef.org>
14947 * gst/elements/Makefile.am: Remove some elements that don't
14948 need to be in the core (or even exist at all).
14949 * gst/elements/gstaggregator.c:
14950 * gst/elements/gstaggregator.h:
14951 * gst/elements/gstmd5sink.c:
14952 * gst/elements/gstmd5sink.h:
14953 * gst/elements/gstmultifilesrc.c:
14954 * gst/elements/gstmultifilesrc.h:
14955 * gst/elements/gstpipefilter.c:
14956 * gst/elements/gstpipefilter.h:
14957 * gst/elements/gstshaper.c:
14958 * gst/elements/gstshaper.h:
14959 * gst/elements/gststatistics.c:
14960 * gst/elements/gststatistics.h:
14961 * po/POTFILES.in: Remove above files.
14963 2005-05-14 Andy Wingo <wingo@pobox.com>
14965 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
14966 so as to get the refs right.
14967 (sink_iterator_filter): New function, wraps bin_element_is_sink,
14968 unreffing objects that don't pass the filter.
14970 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
14971 gst_element_set_bus.
14972 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
14973 normal cases, this will destroy the bus.
14975 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
14978 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
14981 2005-05-13 Andy Wingo <wingo@pobox.com>
14983 * gst/gstutils.c (gst_element_link_pads): Instead of calling
14984 gst_pad_link, call pad_link_maybe_ghosting,
14985 (pad_link_maybe_ghosting): Links pads, making sure that the
14986 elements being linked are in the same bin.
14987 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
14988 Helpers for pad_link_maybe_ghosting.
14990 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
14993 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
14995 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
14997 * docs/design/part-element-source.txt:
15000 2005-05-12 Wim Taymans <wim@fluendo.com>
15002 * gst/base/gstbasesink.c: (gst_basesink_init),
15003 (gst_basesink_activate):
15004 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
15005 (gst_basesrc_is_seekable):
15006 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15007 (bin_element_is_sink), (gst_bin_change_state):
15008 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15009 * gst/gstelement.h:
15010 Identify sinks by their flag to avoid overly complicated
15012 Do state changes even for elements not reachable from the
15014 BaseSink is a sink now :)
15015 Some more debugging info in the basesrc.
15018 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15020 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
15021 Implement _query on a bin, similar to _send_event.
15023 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
15025 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
15026 Discont event offset format should be GST_FORMAT_BYTES,
15027 not GST_FORMAT_TIME.
15029 2005-05-12 Wim Taymans <wim@fluendo.com>
15031 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
15032 Same fix as Ronald's but without the signal.
15034 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15036 * gst/gstutils.c: (gst_element_query_position):
15037 No, an element is not a pad.
15039 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15041 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
15042 (gst_bin_get_state):
15043 If a child is removed from a bin while we remove the child from
15044 the bin and while we're retrieving its state, signal this to the
15045 get_state function so we abort the wait (instead of waiting for
15046 a timeout) and can immediately re-iterate over all other elements.
15048 2005-05-12 Wim Taymans <wim@fluendo.com>
15050 * gst/base/Makefile.am:
15051 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
15052 (gst_basesrc_start):
15053 * gst/base/gstbasesrc.h:
15054 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
15055 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
15056 (gst_pushsrc_init), (gst_pushsrc_create):
15057 * gst/base/gstpushsrc.h:
15058 Added is_seekable to BaseSrc
15059 Added simple PushSrc.
15061 2005-05-11 Wim Taymans <wim@fluendo.com>
15063 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15064 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15065 (gst_element_link_pads), (gst_element_query_position),
15066 (gst_element_query_convert), (intersect_caps_func),
15067 (gst_pad_query_position), (gst_pad_query_convert):
15068 Fix refcounting in utils function.
15069 No point in trying to activate a pad when it's added, it could
15070 be added from the state change function and then we deadlock, the
15071 element has to decide what to do.
15073 2005-05-10 Andy Wingo <wingo@pobox.com>
15075 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
15076 *all* the arguments.
15078 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
15079 stream lock if it's a FLUSH_DONE; normal flushes don't get the
15080 lock (according to the docs -- if this is wrong change the docs).
15082 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
15083 flush messages in the NULL state.
15085 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
15086 message immediately and return.
15087 (gst_bus_set_flushing): New function. If a bus is flushing, it
15088 flushes out any queued messages and immediately unrefs new
15089 messages. This is so when an element goes to NULL, all of the
15090 unhandled messages coming from it can be freed, and their
15091 references to the element dropped. In other words: message source
15092 ref considered harmful :P
15094 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
15095 we're finished with it.
15097 * gst/gstmessage.c (gst_message_new_state_changed):
15099 2005-05-10 Wim Taymans <wim@fluendo.com>
15101 * gst/gstvalue.c: (gst_value_compare_flags),
15102 (gst_value_serialize_flags), (gst_value_deserialize_flags),
15103 (_gst_value_initialize):
15104 Added flags serialize/deserialize/compare code.
15106 2005-05-09 Andy Wingo <wingo@pobox.com>
15108 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
15109 Intersect the peer's caps with our caps.
15111 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15113 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15114 * gst/elements/gsttypefindelement.c: (find_peek):
15115 Handle negative offsets better. Fixes decodebin.
15117 2005-05-09 Wim Taymans <wim@fluendo.com>
15119 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
15120 (gst_base_transform_event):
15121 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
15122 Implement accept_caps.
15123 Fix silly lock/unlock mismatch in base class.
15125 2005-05-09 Wim Taymans <wim@fluendo.com>
15127 * docs/design/draft-push-pull.txt:
15128 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
15129 * gst/elements/gstfilesink.c: (gst_filesink_init),
15130 (gst_filesink_query):
15131 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15132 (gst_type_find_handle_src_query), (find_element_get_length):
15133 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
15134 * gst/gstelement.h:
15135 * gst/gstmessage.c:
15136 * gst/gstmessage.h:
15137 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
15138 (gst_real_pad_get_caps_unlocked),
15139 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
15140 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15141 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
15142 (gst_real_pad_dispose), (gst_real_pad_finalize),
15143 (gst_pad_load_and_link), (gst_pad_save_thyself),
15144 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
15145 (gst_pad_check_pull_range), (gst_pad_pull_range),
15146 (gst_pad_template_get_type), (gst_pad_template_class_init),
15147 (gst_pad_template_init), (gst_pad_template_dispose),
15148 (name_is_valid), (gst_static_pad_template_get),
15149 (gst_pad_template_new), (gst_static_pad_template_get_caps),
15150 (gst_pad_template_get_caps), (gst_pad_set_element_private),
15151 (gst_pad_get_element_private), (gst_pad_start_task),
15152 (gst_pad_pause_task), (gst_pad_stop_task),
15153 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
15154 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
15155 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
15156 (gst_ghost_pad_new):
15158 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
15159 (gst_query_new_position), (gst_query_set_position),
15160 (gst_query_parse_position), (gst_query_new_convert),
15161 (gst_query_set_convert), (gst_query_parse_convert):
15163 * gst/gstqueryutils.c:
15164 * gst/gstqueryutils.h:
15165 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15166 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15167 (gst_queue_handle_src_query):
15168 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15169 (gst_element_query_position), (gst_element_query_convert),
15170 (intersect_caps_func), (gst_pad_query_position),
15171 (gst_pad_query_convert):
15173 * tools/gst-inspect.c: (print_pad_info):
15174 * tools/gst-xmlinspect.c: (print_element_info):
15175 Remove old query functions. Ported old code.
15176 Added position/convert helper functions to gstutils.
15177 Reordered gstpad.c code, grouping relevant things.
15178 Remove gst_message_new(), always need to speficy a specific
15182 2005-05-09 Andy Wingo <wingo@pobox.com>
15184 * gst/gstiterator.h: Add some includes.
15186 * gst/gstqueryutils.h: Include more headers.
15189 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
15190 some uses of gst_pad_query.
15192 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
15193 NULL out parameters.
15194 (gst_query_new_position): New proc, allocates a new position
15197 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
15198 gstqueryutils.c to the build.
15200 * gst/gststructure.c (gst_structure_set_valist): Implement with
15201 the generic G_VALUE_COLLECT.
15203 2005-05-08 Edward Hervey <bilboed@bilboed.com>
15205 * gst/Makefile.am: (gst_headers):
15206 Added gstqueryutils.h to the list of headers to install, that was
15207 a 'nachty' move wingo :)
15209 2005-05-06 Andy Wingo <wingo@pobox.com>
15212 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
15213 GstData, init a memchunk.
15214 (standard_definitions): Add a few query types, deprecate a few.
15215 (gst_query_get_type): New proc.
15216 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
15218 (gst_query_new_application, gst_query_get_structure): New public
15221 * docs/design/draft-query.txt: Removed LINKS from the query types,
15222 because all the rest can be dispatched to other pads -- seemed
15223 ugly to have a query that couldn't be dispatched. internal_links
15224 is fine as a pad method.
15226 * gst/gstpad.h: Add query2 as a pad method, add the new functions
15227 in gstpad.c, but maintain binary compatibility for the moment.
15228 Will fix before 0.9 is out.
15230 * gst/gstqueryutils.c:
15231 * gst/gstqueryutils.h: New files, implement 3 methods for each
15232 query type: parse_query, parse_response, and set. Probably need an
15235 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
15237 * gst/elements/gstfilesink.c (gst_filesink_query2):
15238 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
15239 query_types, and formats methods.
15241 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
15242 (gst_pad_set_query2_function): New functions.
15243 (gst_real_pad_init): Set query2_default as the default query2
15244 function. Basically just dispatches to internally linked pads.
15248 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
15249 without using the atomic operations. Only one thread can possibly
15250 be accessing the data at this point. Changed so as to avoid
15251 gst_atomic operations.
15253 2005-05-06 Wim Taymans <wim@fluendo.com>
15255 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
15256 Also set caps if we use the fallback buffer alloc.
15258 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
15260 * docs/gst/Makefile.am:
15261 * docs/gst/gstreamer-docs.sgml:
15262 * docs/gst/gstreamer-sections.txt:
15263 * docs/gst/tmpl/gstatomic.sgml:
15264 * docs/gst/tmpl/gstmemchunk.sgml:
15265 * testsuite/elements/struct_i386.h:
15266 * win32/GStreamer.vcproj:
15268 Purge GstAtomic stuff from docs and win32 makefiles as well
15270 2005-05-06 Wim Taymans <wim@fluendo.com>
15272 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
15273 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
15274 * gst/gstpad.c: (gst_pad_peer_get_caps):
15275 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15276 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15277 (gst_queue_src_activate), (gst_queue_change_state):
15279 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15280 (intersect_caps_func):
15281 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
15282 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
15283 Some fixes for the peer_get_caps() change.
15285 2005-05-06 Wim Taymans <wim@fluendo.com>
15287 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15288 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
15289 (gst_basesink_activate):
15290 Actually do something with error codes returned from the push
15293 2005-05-06 Wim Taymans <wim@fluendo.com>
15295 * docs/design/part-element-sink.txt:
15296 * docs/design/part-element-source.txt:
15297 * gst/base/gstbasesink.c: (gst_basesink_class_init),
15298 (gst_basesink_event), (gst_basesink_activate):
15299 * gst/base/gstbasesink.h:
15300 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
15301 (gst_basesrc_activate):
15302 * gst/base/gstbasesrc.h:
15303 * gst/gstelement.c: (gst_element_pads_activate):
15304 Some more documentation.
15305 Fixed scheduling decision in _pads_activate().
15307 2005-05-05 Andy Wingo <wingo@pobox.com>
15309 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
15312 2005-05-05 Wim Taymans <wim@fluendo.com>
15314 * gst/base/Makefile.am:
15315 * gst/base/gstbasesink.h:
15316 * gst/base/gstbasesrc.c: (gst_basesrc_init),
15317 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
15318 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
15319 (gst_collectpads_class_init), (gst_collectpads_init),
15320 (gst_collectpads_finalize), (gst_collectpads_new),
15321 (gst_collectpads_set_function), (gst_collectpads_add_pad),
15322 (find_pad), (gst_collectpads_remove_pad),
15323 (gst_collectpads_is_active), (gst_collectpads_collect),
15324 (gst_collectpads_collect_range), (gst_collectpads_start),
15325 (gst_collectpads_stop), (gst_collectpads_peek),
15326 (gst_collectpads_pop), (gst_collectpads_available),
15327 (gst_collectpads_read), (gst_collectpads_flush),
15328 (gst_collectpads_chain):
15329 * gst/base/gstcollectpads.h:
15330 * gst/elements/Makefile.am:
15331 * gst/elements/gstelements.c:
15332 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15333 (gst_fakesink_get_times), (gst_fakesink_event),
15334 (gst_fakesink_preroll), (gst_fakesink_render):
15335 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15336 (gst_filesink_init), (gst_filesink_set_location),
15337 (gst_filesink_open_file), (gst_filesink_close_file),
15338 (gst_filesink_pad_query), (gst_filesink_event),
15339 (gst_filesink_render), (gst_filesink_change_state):
15340 * gst/elements/gstfilesink.h:
15341 Added object to help in making collect pad based elements.
15343 Make event function in sink baseclass return gboolean.
15345 2005-05-05 Wim Taymans <wim@fluendo.com>
15347 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
15348 (gst_bin_get_by_name):
15350 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
15351 (gst_clock_finalize):
15352 * gst/gstdata.c: (gst_data_replace):
15354 * gst/gstelement.c: (gst_element_request_pad),
15355 (gst_element_pads_activate):
15356 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15357 (gst_object_unref):
15358 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15359 (gst_pad_set_checkgetrange_function),
15360 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
15361 (gst_pad_check_pull_range), (gst_pad_pull_range),
15362 (gst_static_pad_template_get_caps), (gst_pad_start_task),
15363 (gst_pad_pause_task), (gst_pad_stop_task):
15364 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15365 (gst_element_request_pad), (gst_pad_proxy_getcaps):
15366 Fix name lookup in GstBin.
15367 Added _data_replace() function and _buffer_replace()
15368 Use finalize method to clean up clock.
15369 Fix refcounting on request pads.
15370 Fix pad schedule mode error.
15371 Some more object refcounting debug info,
15374 2005-05-04 Andy Wingo <wingo@pobox.com>
15376 * check/Makefile.am:
15377 * docs/gst/tmpl/gstatomic.sgml:
15378 * docs/gst/tmpl/gstplugin.sgml:
15379 * gst/base/gstbasesink.c: (gst_basesink_activate):
15380 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
15381 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
15382 (gst_basesrc_query), (gst_basesrc_set_property),
15383 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
15384 (gst_basesrc_activate):
15385 * gst/base/gstbasesrc.h:
15386 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
15387 (gst_base_transform_src_activate):
15388 * gst/elements/gstelements.c:
15389 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15390 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15391 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15392 * gst/elements/gsttypefindelement.c: (find_element_get_length),
15393 (gst_type_find_element_checkgetrange),
15394 (gst_type_find_element_activate):
15395 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
15396 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
15397 (gst_caps_load_thyself):
15398 * gst/gstelement.c: (gst_element_pads_activate),
15399 (gst_element_save_thyself), (gst_element_restore_thyself):
15400 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
15401 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
15403 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
15404 (gst_xml_parse_file), (gst_xml_parse_memory),
15405 (gst_xml_get_element), (gst_xml_make_element):
15406 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15407 (_file_index_id_save_xml), (gst_file_index_commit):
15408 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
15409 (read_enum), (load_pad_template), (load_feature), (load_plugin),
15411 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
15412 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
15413 * tools/gst-complete.c: (main):
15414 * tools/gst-compprep.c: (main):
15415 * tools/gst-inspect.c: (print_element_properties_info):
15416 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
15417 * tools/gst-xmlinspect.c: (print_element_properties):
15420 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15422 * gst/gstplugin.c: (gst_plugin_check_module),
15423 (gst_plugin_check_file), (gst_plugin_load_file):
15424 apply patch from #172526 to make register work on MacOSX
15426 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
15428 * docs/gst/tmpl/gstconfig.sgml:
15429 * gst/gstconfig.h.in:
15430 move documentation for some symbols. Add doc for GST_PTR_FORMAT
15431 * testsuite/debug/printf_extension.c: (main):
15432 Do not use GST_PTR_FORMAT on pointers to types with
15433 sizeof < sizeof(gpointer). Fixes test on 64-bit
15434 * testsuite/elements/property.h:
15435 use correct printf format
15437 2005-05-02 Wim Taymans <wim@fluendo.com>
15439 * docs/design/draft-push-pull.txt:
15440 * docs/design/draft-query.txt:
15441 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
15442 (gst_basesrc_start):
15443 Added draft for new query API.
15444 Added draft for better selecting scheduling methods.
15445 Make basesrc ignore length if the subclass does not support
15448 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
15451 possible fixes for automake-1.5 - _LIBADD is reserved
15453 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
15455 * docs/faq/Makefile.am:
15456 * docs/manual/Makefile.am:
15457 * docs/manuals.mak:
15458 * docs/pwg/Makefile.am:
15460 possible fixes for automake-1.5
15462 2005-04-28 Wim Taymans <wim@fluendo.com>
15464 * gst/base/gstbasesink.c: (gst_basesink_base_init),
15465 (gst_basesink_pad_getcaps), (gst_basesink_init),
15466 (gst_basesink_do_sync):
15467 * gst/gstclock.c: (gst_clock_entry_new):
15468 * gst/gstevent.c: (gst_event_discont_get_value):
15469 * gst/gstpipeline.c: (pipeline_bus_handler),
15470 (gst_pipeline_change_state):
15471 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15472 Better debugging of clocking info.
15473 Allow NULL values when getting discont values.
15475 2005-04-27 Wim Taymans <wim@fluendo.com>
15477 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
15478 * check/gst/gstpad.c: (gst_pad_suite):
15479 Increase timeout for checks.
15481 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15483 * check/Makefile.am:
15484 fix the broken rule for cleanup. Apparently this rule is
15485 only needed on FC2, so maybe this warrants further autotool
15488 2005-04-26 Wim Taymans <wim@fluendo.com>
15490 * gst/gsttrashstack.h:
15491 Ooohh. a nasty one! After having a failed pop() from the stack,
15492 it's possible that the stack is empty. In that case, don't
15493 follow the NULL pointer.
15495 2005-04-25 Wim Taymans <wim@fluendo.com>
15497 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15498 (gst_pad_set_checkgetrange_function),
15499 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
15500 (gst_pad_check_pull_range), (gst_pad_pull_range),
15501 (gst_static_pad_template_get_caps), (gst_pad_start_task),
15502 (gst_pad_pause_task), (gst_pad_stop_task):
15503 * gst/gstplugin.c: (gst_plugin_load):
15505 Remove gst_library_load as it does more harm than good with
15506 the new g_module flags.
15507 Revert bogus caps template check in pad linking, pad caps
15508 are important when linking not the template, which is more
15509 general than the current caps.
15511 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15513 * gst/autoplug/.cvsignore:
15514 * gst/autoplug/Makefile.am:
15515 * gst/autoplug/gstsearchfuncs.c:
15516 * gst/autoplug/gstsearchfuncs.h:
15517 * gst/autoplug/gstspider.c:
15518 * gst/autoplug/gstspider.h:
15519 * gst/autoplug/gstspideridentity.c:
15520 * gst/autoplug/gstspideridentity.h:
15521 * gst/autoplug/spidertest.c:
15524 2005-04-25 Wim Taymans <wim@fluendo.com>
15526 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15527 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
15528 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
15529 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
15531 Added stubs for unimplemented functions.
15533 2005-04-24 David Schleef <ds@schleef.org>
15535 * gst/gstpad.h: Disable some unimplemented functions. Wim,
15538 2005-04-24 David Schleef <ds@schleef.org>
15540 Convert everything from GstAtomicInt to g_atomic_int_*, and
15545 * gst/gstatomic_impl.h:
15553 * gst/gstdata_private.h:
15557 * gst/gstmessage.c:
15560 * gst/gststructure.c:
15561 * gst/gststructure.h:
15562 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
15565 2005-04-24 David Schleef <ds@schleef.org>
15567 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
15568 make the regressions tests work. Remove some code that is no
15570 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
15571 Disable warning for pads without templates.
15573 2005-04-24 David Schleef <ds@schleef.org>
15575 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
15576 functions that handle filtered links.
15577 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
15579 * gst/gstutils.c: Fix/remove utility functions that handle
15582 * gst/gstvalue.c: Add serialization/deserialization of caps
15583 * gst/parse/grammar.y: Ignore filtered caps when linking. This
15584 requires fixing so that the filter caps notation creates
15585 a capsfilter element and sets the filter_caps property. I
15586 think everyone probably wants to keep the shorthand notation.
15587 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
15588 * docs/gst/tmpl/gstpad.sgml:
15590 * gst/elements/gstelements.c: Register capsfilter element.
15591 * gst/Makefile.am: fix spacing
15592 * docs/random/ds/0.9-suggested-changes: random
15594 2005-04-23 David Schleef <ds@schleef.org>
15596 * gst/elements/Makefile.am:
15597 * gst/elements/gstcapsfilter.c: New element that acts like an
15598 identity, but filters caps. Will eventually replace filtered
15599 caps in pad linking.
15600 * gst/gstutils.c: (gst_element_create_all_pads): New function
15601 to create all the ALWAYS pads that are registered with an
15602 element class. This functionality should eventually be
15603 merged in with GstElement initialization.
15605 * testsuite/trigger/README: part of trigger test code that should
15606 have been checked in a long time ago.
15608 2005-04-23 David Schleef <ds@schleef.org>
15610 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
15611 needed with new versions of libtool (nobody will confirm this),
15612 and hard to carry around.
15613 * gst/autoplug/Makefile.am:
15614 * gst/base/Makefile.am:
15615 * gst/elements/Makefile.am:
15616 * gst/indexers/Makefile.am:
15617 * gst/schedulers/Makefile.am:
15618 * libs/gst/bytestream/Makefile.am:
15619 * libs/gst/control/Makefile.am:
15620 * libs/gst/dataprotocol/Makefile.am:
15621 * libs/gst/getbits/Makefile.am:
15623 2005-04-21 Wim Taymans <wim@fluendo.com>
15625 * docs/design/draft-push-pull.txt:
15626 * docs/design/part-MT-refcounting.txt:
15627 * docs/design/part-TODO.txt:
15628 * docs/design/part-caps.txt:
15629 * docs/design/part-events.txt:
15630 * docs/design/part-gstbus.txt:
15631 * docs/design/part-gstpipeline.txt:
15632 * docs/design/part-messages.txt:
15633 * docs/design/part-push-pull.txt:
15634 * docs/design/part-query.txt:
15637 2005-04-21 Wim Taymans <wim@fluendo.com>
15639 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
15640 (gst_message_new), (gst_message_new_error),
15641 (gst_message_new_warning), (gst_message_new_tag),
15642 (gst_message_new_state_changed), (gst_message_new_application),
15643 (gst_message_get_structure):
15644 * gst/gstmessage.h:
15645 * gst/gststructure.c: (gst_structure_set_parent_refcount),
15646 (gst_structure_copy_conditional):
15647 Use parent refcount in GstMessage to ensure GstStructure
15649 Cleaned up headers a bit.
15652 2005-04-20 Wim Taymans <wim@fluendo.com>
15654 * gst/base/gstbasesink.c: (gst_basesink_base_init),
15655 (gst_basesink_pad_getcaps), (gst_basesink_init),
15656 (gst_basesink_chain_unlocked):
15657 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
15658 (gst_type_find_helper):
15659 * gst/elements/gsttypefindelement.c:
15660 (gst_type_find_element_have_type), (gst_type_find_element_init),
15661 (stop_typefinding), (gst_type_find_element_handle_event),
15662 (find_suggest), (gst_type_find_element_chain),
15663 (gst_type_find_element_checkgetrange),
15664 (gst_type_find_element_getrange), (do_typefind),
15665 (gst_type_find_element_activate):
15666 * gst/gstbuffer.c: (_gst_buffer_sub_free),
15667 (gst_buffer_default_free), (gst_buffer_default_copy),
15668 (gst_buffer_set_caps):
15669 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
15670 (gst_caps_replace):
15671 * gst/gstmessage.c: (gst_message_new),
15672 (gst_message_new_state_changed):
15673 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15674 (gst_pad_set_checkgetrange_function),
15675 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
15676 (gst_pad_set_caps), (gst_pad_check_pull_range),
15677 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
15679 * gst/gsttypefind.c: (gst_type_find_register):
15680 Make gst_caps_replace() work like other _replace() functions.
15681 Use _caps_replace() where possible.
15682 Make sure _message_new() initialises its field.
15683 Add gst_static_pad_template_get_caps()
15686 2005-04-18 Andy Wingo <wingo@pobox.com>
15688 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
15689 on the peer, not the pad. I think that was a typo. Pass an extra
15690 arg to see if random access is possible. Activate the pads as
15691 PULL_RANGE if possible.
15693 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
15695 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
15696 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
15699 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15701 * docs/faq/using.xml:
15702 Add note on gstreamer-properties (#154996).
15704 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15706 * docs/random/bbb/optional-properties:
15707 Some analysis on optional properties.
15709 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15711 * docs/gst/tmpl/gstelementfactory.sgml:
15712 * gst/gstelement.h:
15713 * gst/gstelementfactory.c: (gst_element_factory_init),
15714 (gst_element_factory_cleanup), (gst_element_register),
15715 (__gst_element_factory_add_static_pad_template),
15716 (gst_element_factory_get_static_pad_templates),
15717 (gst_element_factory_can_src_caps),
15718 (gst_element_factory_can_sink_caps):
15719 * gst/registries/Makefile.am:
15720 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
15721 (gst_xml_registry_class_init), (gst_xml_registry_init),
15722 (gst_xml_registry_new), (gst_xml_registry_set_property),
15723 (gst_xml_registry_get_property), (get_time), (make_dir),
15724 (gst_xml_registry_get_perms_func),
15725 (plugin_times_older_than_recurse), (plugin_times_older_than),
15726 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
15727 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
15728 (add_to_char_array), (read_string), (read_uint), (read_enum),
15729 (load_pad_template), (load_feature), (load_plugin), (load_paths),
15730 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
15731 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
15732 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
15733 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
15734 (gst_xml_registry_rebuild):
15735 * gst/registries/gstlibxmlregistry.h:
15736 * tools/gst-compprep.c: (main):
15737 * tools/gst-inspect.c: (print_pad_templates_info):
15738 * tools/gst-xmlinspect.c: (print_element_info):
15739 Use libxml2 for registry parsing, use staticpadtemplates in
15740 elementfactories. Makes gst_init() +/- 10x faster.
15742 2005-04-12 Wim Taymans <wim@fluendo.com>
15744 * gst/base/Makefile.am:
15745 * gst/base/gstbasesink.c: (gst_basesink_base_init),
15746 (gst_basesink_pad_getcaps), (gst_basesink_init),
15747 (gst_basesink_event), (gst_basesink_change_state):
15748 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
15749 (gst_basesrc_init), (gst_basesrc_query),
15750 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
15751 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
15752 (gst_basesrc_check_get_range), (gst_basesrc_loop),
15753 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
15754 (gst_basesrc_stop), (gst_basesrc_activate),
15755 (gst_basesrc_change_state):
15756 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15757 (helper_find_suggest), (gst_type_find_helper):
15758 * gst/base/gsttypefindhelper.h:
15759 * gst/elements/Makefile.am:
15760 * gst/elements/gstelements.c:
15761 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15762 (gst_fakesink_get_times), (gst_fakesink_event),
15763 (gst_fakesink_preroll), (gst_fakesink_render):
15764 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15765 (gst_fakesrc_init), (gst_fakesrc_event_handler),
15766 (gst_fakesrc_get_property), (gst_fakesrc_create),
15767 (gst_fakesrc_start), (gst_fakesrc_stop):
15768 * gst/elements/gstfakesrc.h:
15769 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
15770 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
15771 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
15772 (gst_filesrc_create_read), (gst_filesrc_create),
15773 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
15774 (gst_filesrc_start):
15775 * gst/elements/gsttypefindelement.c:
15776 (gst_type_find_element_have_type), (gst_type_find_element_init),
15777 (start_typefinding), (stop_typefinding), (push_buffer_store),
15778 (gst_type_find_element_handle_event),
15779 (gst_type_find_element_chain),
15780 (gst_type_find_element_checkgetrange),
15781 (gst_type_find_element_getrange), (do_typefind),
15782 (gst_type_find_element_activate),
15783 (gst_type_find_element_change_state):
15784 * gst/elements/gsttypefindelement.h:
15785 * gst/gstpipeline.c: (pipeline_bus_handler):
15786 Added typefind helper.
15787 Small preroll fix in the base sink.
15788 Disable typefind code in basesrc.
15789 Crude port of typefindelement.
15793 2005-04-11 Wim Taymans <wim@fluendo.com>
15795 * check/gst/gstbus.c: (gstbus_suite):
15796 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
15797 * check/gstcheck.h:
15798 Fix up the timeout so that the test does not fail.
15800 2005-04-06 Wim Taymans <wim@fluendo.com>
15803 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
15804 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
15805 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
15806 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
15807 (gst_basesrc_check_get_range), (gst_basesrc_loop),
15808 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
15809 (gst_basesrc_stop), (gst_basesrc_activate),
15810 (gst_basesrc_change_state), (basesrc_find_peek),
15811 (basesrc_find_suggest), (gst_basesrc_type_find):
15812 * gst/base/gstbasesrc.h:
15813 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
15814 (gst_filesrc_class_init), (gst_filesrc_init),
15815 (gst_filesrc_finalize), (gst_filesrc_set_location),
15816 (gst_filesrc_set_property), (gst_filesrc_get_property),
15817 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
15818 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
15819 (gst_filesrc_create_read), (gst_filesrc_create),
15820 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
15821 * gst/elements/gstfilesrc.h:
15822 * gst/gstelement.c: (gst_element_get_state_func),
15823 (gst_element_lost_state), (gst_element_pads_activate):
15824 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15825 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
15826 (gst_pad_pull_range):
15828 More work on the generic source base class, implement seeking,
15830 Make filesrc extend the base source class.
15831 Added gst_pad_set_checkgetrange_function to GstPad.
15833 2005-04-06 Andy Wingo <wingo@pobox.com>
15835 * pkgconfig/gstreamer-base.pc.in:
15836 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
15838 * pkgconfig/Makefile.am:
15839 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
15841 2005-04-04 Wim Taymans <wim@fluendo.com>
15843 * gst/base/Makefile.am:
15845 * gst/base/gstbasesink.c: (gst_basesink_base_init),
15846 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
15847 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
15848 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
15849 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
15850 (gst_basesrc_base_init), (gst_basesrc_class_init),
15851 (gst_basesrc_init), (gst_basesrc_get_formats),
15852 (gst_basesrc_get_query_types), (gst_basesrc_query),
15853 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
15854 (gst_basesrc_set_property), (gst_basesrc_get_property),
15855 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
15856 (gst_basesrc_loop), (gst_basesrc_activate),
15857 (gst_basesrc_change_state):
15858 * gst/base/gstbasesrc.h:
15859 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
15860 (gst_fakesrc_class_init), (gst_fakesrc_init),
15861 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
15862 (gst_fakesrc_get_property), (gst_fakesrc_create):
15863 * gst/elements/gstfakesrc.h:
15864 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
15865 (gst_filesrc_open_file), (gst_filesrc_loop),
15866 (gst_filesrc_activate), (filesrc_find_peek),
15867 (gst_filesrc_type_find):
15868 Made base source class, make fakesrc extend it.
15869 Add comments to basesink class.
15870 Some filesrc cleanup.
15872 2005-03-31 David Schleef <ds@schleef.org>
15874 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
15875 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
15876 expected to link against libgstreamer.
15877 * gst/base/Makefile.am: link against libgstreamer
15878 * gst/elements/Makefile.am: same
15880 2005-03-31 Andy Wingo <wingo@pobox.com>
15882 * tests/instantiate/Makefile.am:
15883 * tests/instantiate/caps.c: Add test to test speed of caps copy
15886 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
15887 GMemChunk to be fair.
15889 * gst/gsttrashstack.h: Remove warning about using the fallback
15890 trash stack implementation, it's still faster than malloc.
15892 2005-03-30 Andy Wingo <wingo@pobox.com>
15894 * tests/complexity.c: Add a copyright.
15896 2005-03-31 Wim Taymans <wim@fluendo.com>
15898 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
15899 (gst_base_transform_class_init), (gst_base_transform_init),
15900 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
15901 (gst_base_transform_get_property),
15902 (gst_base_transform_sink_activate),
15903 (gst_base_transform_src_activate),
15904 (gst_base_transform_change_state):
15905 * gst/base/gstbasetransform.h:
15906 * gst/elements/gstidentity.c: (gst_identity_class_init),
15907 (gst_identity_event), (gst_identity_check_perfect),
15908 (gst_identity_transform), (gst_identity_start),
15909 (gst_identity_stop):
15910 Added start/stop methods to transform base class so subclasses
15911 don't need to deal with state changes even.
15913 2005-03-31 Wim Taymans <wim@fluendo.com>
15915 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
15916 (gst_event_new_discontinuous), (gst_event_discont_get_value):
15918 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15919 (gst_pad_pull_range):
15920 Added rate to the discont event to prepare for variable speed
15921 and reverse playback.
15923 2005-03-29 David Schleef <ds@schleef.org>
15926 * testsuite/trigger/Makefile.am:
15927 * testsuite/trigger/trigger.c: A little example program to show
15928 how trigger-based elements can work.
15930 2005-03-29 Wim Taymans <wim@fluendo.com>
15932 * gst/base/Makefile.am:
15934 * gst/base/gstbasesink.c: (gst_basesink_get_type),
15935 (gst_basesink_base_init), (gst_basesink_class_init),
15936 (gst_basesink_pad_getcaps), (gst_basesink_init),
15937 (gst_basesink_activate), (gst_basesink_change_state):
15938 * gst/base/gstbasesink.h:
15939 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
15940 (gst_base_transform_base_init), (gst_base_transform_finalize),
15941 (gst_base_transform_class_init), (gst_base_transform_init),
15942 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
15943 (gst_base_transform_event), (gst_base_transform_getrange),
15944 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
15945 (gst_base_transform_set_property),
15946 (gst_base_transform_get_property),
15947 (gst_base_transform_sink_activate),
15948 (gst_base_transform_src_activate),
15949 (gst_base_transform_change_state):
15950 * gst/base/gstbasetransform.h:
15951 * gst/elements/gstidentity.c: (gst_identity_finalize),
15952 (gst_identity_class_init), (gst_identity_init),
15953 (gst_identity_event), (gst_identity_check_perfect),
15954 (gst_identity_transform), (gst_identity_set_property),
15955 (gst_identity_get_property), (gst_identity_change_state):
15956 * gst/elements/gstidentity.h:
15957 * gst/gstelement.c: (gst_element_get_state_func),
15958 (gst_element_lost_state), (gst_element_pads_activate):
15959 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
15960 (gst_pad_check_pull_range), (gst_pad_pull_range):
15962 Simplify pad activation.
15963 Added function to check if pull_range can be performed.
15964 Error out when pulling inactive or flushing pads.
15965 Removed const from refcounted types as it does not make sense.
15966 Simplify pad templates in basesink
15967 Added base class for simple 1-to-1 transforms.
15968 Make identity subclass the base transform.
15970 2005-03-29 Andy Wingo <wingo@pobox.com>
15972 * docs/libs/gstreamer-libs-overrides.txt:
15973 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
15974 really don't understand what's going on, but like whatever. I want
15977 * docs/gst/Makefile.am:
15978 * docs/libs/Makefile.am: Dist the overrides files.
15980 * check/Makefile.am (clean-local): Remove .libs directories.
15982 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
15983 elements to EXTRA_DIST, so po/ files are happy.
15985 * po/POTFILES.in: Er, remove it here.
15987 * po/POTFILES: Remove gstspider.c.
15989 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
15991 * docs/libs/gstreamer-libs-docs.sgml:
15992 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
15995 * tests/complexity.c (main): Set the length of the preroll queue
15996 on the sinks to prevent a lockup.
15998 * libs/gst/dataprotocol/Makefile.am:
15999 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
16000 the same as the one in check/gst-libs/gdp.c.
16002 * po/, docs/gst/: Commit automatic changes to docs and po files.
16004 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
16005 the versioned libgstbase.
16007 * check/Makefile.am: Depend on an unversioned gst-register, seems
16008 to make autoconf happier.
16010 * gst/base/Makefile.am: Make libgstbase a versioned lib.
16012 2005-03-28 Wim Taymans <wim@fluendo.com>
16015 * docs/design/part-gstelement.txt:
16016 * docs/design/part-negotiation.txt:
16017 * docs/design/part-preroll.txt:
16018 * docs/design/part-scheduling.txt:
16019 * docs/design/part-states.txt:
16021 * gst/base/Makefile.am:
16023 * gst/base/gstbasesink.c: (gst_basesink_get_template),
16024 (gst_basesink_base_init), (gst_basesink_class_init),
16025 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16026 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16027 (gst_basesink_set_pad_functions),
16028 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
16029 (gst_basesink_set_property), (gst_basesink_get_property),
16030 (gst_base_sink_get_template), (gst_base_sink_get_caps),
16031 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
16032 (gst_basesink_preroll_queue_push),
16033 (gst_basesink_preroll_queue_empty),
16034 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
16035 (gst_basesink_event), (gst_basesink_get_times),
16036 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
16037 (gst_basesink_chain_unlocked), (gst_basesink_chain),
16038 (gst_basesink_loop), (gst_basesink_activate),
16039 (gst_basesink_change_state):
16040 * gst/base/gstbasesink.h:
16041 * gst/elements/Makefile.am:
16042 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
16043 (gst_fakesink_class_init), (gst_fakesink_init),
16044 (gst_fakesink_set_property), (gst_fakesink_get_property),
16045 (gst_fakesink_get_times), (gst_fakesink_event),
16046 (gst_fakesink_preroll), (gst_fakesink_render),
16047 (gst_fakesink_change_state):
16048 * gst/elements/gstfakesink.h:
16049 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16050 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
16051 * gst/gstelement.c: (gst_element_add_pad),
16052 (gst_element_get_state_func), (gst_element_abort_state),
16053 (gst_element_commit_state), (gst_element_lost_state),
16054 (gst_element_set_state), (gst_element_pads_activate):
16055 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
16056 * gst/gstpipeline.c: (gst_pipeline_send_event),
16057 (gst_pipeline_change_state):
16058 Added state change code.
16059 Added/updated docs.
16060 Added sink base class, make fakesink extend the base class.
16061 Small cleanups in GstPipeline.
16063 2005-03-26 David Schleef <ds@schleef.org>
16065 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
16066 is broken and should be implemented in a different library.
16067 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
16068 * gst/gst.h: remove gstcpu.h
16069 * gst/gstcpu.c: remove
16070 * gst/gstcpu.h: remove
16071 * gst/Makefile.am.future: Remove this file. It's ancient.
16073 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16075 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16076 (gst_bin_send_event):
16077 Add default event/set_manager handlers. The set_manager handler
16078 takes care that the manager is distributed over kids that were
16079 already in the bin before the manager was set. The event handler
16080 is a utility virtual function that sends the event over all sinks,
16081 so that gst_element_send_event (bin, event); has the expected
16083 * gst/gstpad.c: (gst_pad_event_default):
16084 Re-install default event handling for discontinuities, so that
16085 seeking works without requiring hacks in applications or extra
16087 * gst/gstpipeline.c: (gst_pipeline_class_init),
16088 (gst_pipeline_send_event):
16089 Half hack, half utility: set a pipeline to PAUSED for seek events,
16090 since that is the only way we can guarantee a/v sync. Means that
16091 you can do gst_element_seek (pipeline, method, pos); on a pipeline
16092 and it "just works".
16094 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16096 * gst/gstpipeline.c: (gst_pipeline_use_clock):
16097 Lock/unlock mismatch.
16099 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
16101 * docs/faq/gst-uninstalled:
16102 add gst-plugins-base
16103 * docs/gst/Makefile.am:
16104 don't error out until docs are fixed
16105 * docs/gst/gstreamer.types:
16108 2005-03-22 Wim Taymans <wim@fluendo.com>
16110 * check/Makefile.am:
16111 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
16112 * gst/gststructure.c: (gst_structure_set_valist),
16113 (gst_structure_copy_conditional):
16114 Activated more tests.
16115 Added message test.
16116 Added G_TYPE_POINTER to GstStructure.
16119 2005-03-22 Wim Taymans <wim@fluendo.com>
16121 * docs/design/part-TODO.txt:
16122 * docs/design/part-events.txt:
16123 * docs/design/part-gstbin.txt:
16124 * docs/design/part-gstbus.txt:
16125 * docs/design/part-gstpipeline.txt:
16126 * docs/design/part-messages.txt:
16128 * gst/gstmessage.c:
16131 2005-03-21 Wim Taymans <wim@fluendo.com>
16133 * gst/gstbus.c: (gst_bus_post):
16134 Fix copy-and-paste error.
16136 2005-03-21 Wim Taymans <wim@fluendo.com>
16138 * check/Makefile.am:
16140 * gst/elements/Makefile.am:
16141 * gst/elements/gstelements.c:
16142 * gst/elements/gstfakesink.c: (gst_fakesink_init),
16143 (gst_fakesink_event), (gst_fakesink_chain):
16144 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16145 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
16146 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
16147 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
16148 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16149 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
16150 (gst_fakesrc_loop), (gst_fakesrc_activate),
16151 (gst_fakesrc_change_state):
16152 * gst/elements/gstfakesrc.h:
16153 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
16154 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
16155 (gst_filesrc_open_file), (gst_filesrc_loop),
16156 (gst_filesrc_activate), (gst_filesrc_change_state),
16157 (filesrc_find_peek), (filesrc_find_suggest),
16158 (gst_filesrc_type_find):
16159 * gst/elements/gstidentity.c: (gst_identity_finalize),
16160 (gst_identity_class_init), (gst_identity_init),
16161 (gst_identity_proxy_getcaps), (identity_queue_push),
16162 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
16163 (gst_identity_getrange), (gst_identity_chain),
16164 (gst_identity_sink_loop), (gst_identity_src_loop),
16165 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
16166 (gst_identity_set_property), (gst_identity_get_property),
16167 (gst_identity_change_state):
16168 * gst/elements/gstidentity.h:
16169 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
16170 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
16171 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
16172 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
16173 (gst_tee_sink_activate):
16174 * gst/elements/gsttee.h:
16175 * gst/gst.c: (gst_register_core_elements), (init_post):
16177 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
16178 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
16179 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
16180 (gst_bin_change_state):
16182 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
16183 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
16184 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
16185 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
16186 (gst_bus_set_sync_handler), (gst_bus_create_watch),
16187 (bus_watch_callback), (bus_watch_destroy),
16188 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
16189 (poll_timeout), (gst_bus_poll):
16193 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
16194 (gst_element_post_message), (gst_element_message_full),
16195 (gst_element_get_state_func), (gst_element_get_state),
16196 (gst_element_abort_state), (gst_element_commit_state),
16197 (gst_element_lost_state), (gst_element_set_state),
16198 (gst_element_pads_activate), (gst_element_change_state),
16199 (gst_element_dispose), (gst_element_set_manager_func),
16200 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
16201 (gst_element_set_manager), (gst_element_get_manager),
16202 (gst_element_set_bus), (gst_element_get_bus),
16203 (gst_element_set_scheduler), (gst_element_get_scheduler):
16204 * gst/gstelement.h:
16205 * gst/gstevent.c: (gst_event_new_segment_seek),
16206 (gst_event_new_flush):
16208 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
16209 (_gst_message_free), (gst_message_get_type), (gst_message_new),
16210 (gst_message_new_eos), (gst_message_new_error),
16211 (gst_message_new_warning), (gst_message_new_tag),
16212 (gst_message_new_state_changed), (gst_message_new_application),
16213 (gst_message_get_structure), (gst_message_parse_tag),
16214 (gst_message_parse_state_changed), (gst_message_parse_error),
16215 (gst_message_parse_warning):
16216 * gst/gstmessage.h:
16217 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
16218 (gst_real_pad_set_property), (gst_pad_set_active),
16219 (gst_pad_is_active), (gst_pad_set_blocked_async),
16220 (gst_pad_set_blocked), (gst_pad_is_blocked),
16221 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
16222 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
16223 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
16224 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
16225 (gst_pad_link_filtered), (gst_pad_relink_filtered),
16226 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
16227 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
16228 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
16229 (gst_pad_set_caps), (gst_pad_configure_sink),
16230 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
16231 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
16232 (gst_real_pad_dispose), (gst_real_pad_finalize),
16233 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
16234 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16235 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
16237 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
16238 (pipeline_bus_handler), (gst_pipeline_change_state),
16239 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
16240 * gst/gstpipeline.h:
16242 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16243 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
16244 (gst_queue_link_src), (gst_queue_bufferalloc),
16245 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16246 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
16247 (gst_queue_loop), (gst_queue_handle_src_event),
16248 (gst_queue_handle_src_query), (gst_queue_src_activate),
16249 (gst_queue_change_state):
16251 * gst/gstscheduler.c: (gst_scheduler_init),
16252 (gst_scheduler_dispose), (gst_scheduler_create_task),
16253 (gst_scheduler_factory_create):
16254 * gst/gstscheduler.h:
16255 * gst/gststructure.c: (gst_structure_get_type),
16256 (gst_structure_copy_conditional):
16257 * gst/gststructure.h:
16258 * gst/gsttaginterface.h:
16259 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16260 (gst_task_init), (gst_task_dispose), (gst_task_create),
16261 (gst_task_get_state), (gst_task_start), (gst_task_stop),
16267 * gst/schedulers/Makefile.am:
16268 * gst/schedulers/cothreads_compat.h:
16269 * gst/schedulers/entryscheduler.c:
16270 * gst/schedulers/faircothreads.c:
16271 * gst/schedulers/faircothreads.h:
16272 * gst/schedulers/fairscheduler.c:
16273 * gst/schedulers/gstbasicscheduler.c:
16274 * gst/schedulers/gstoptimalscheduler.c:
16275 * gst/schedulers/gthread-cothreads.h:
16276 * gst/schedulers/threadscheduler.c:
16277 (gst_thread_scheduler_task_get_type),
16278 (gst_thread_scheduler_task_class_init),
16279 (gst_thread_scheduler_task_init),
16280 (gst_thread_scheduler_task_start),
16281 (gst_thread_scheduler_task_stop),
16282 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
16283 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16284 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
16285 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
16287 * libs/gst/Makefile.am:
16288 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
16289 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
16290 (gst_file_pad_parent_set):
16291 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16292 (gst_dp_event_from_packet):
16293 * tests/complexity.c: (main):
16294 * tests/mass_elements.c: (main):
16295 * testsuite/states/locked.c: (message_received), (main):
16296 * testsuite/states/parent.c: (main):
16297 * tools/gst-inspect.c: (print_element_flag_info),
16298 (print_implementation_info), (print_pad_info):
16299 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
16301 * tools/gst-md5sum.c: (event_loop), (main):
16302 * tools/gst-typefind.c: (main):
16303 * tools/gst-xmlinspect.c: (print_element_info):
16305 Added GstBus for mainloop integration.
16306 Added GstMessage for sending notifications on the bus.
16307 Added GstTask as an abstraction for pipeline entry points.
16309 Removed Schedulers.
16310 Simplified GstQueue for multithreaded core.
16311 Made _link threadsafe, removed old capsnego.
16312 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
16313 Added pad blocking functions.
16314 Reworked scheduling functions in GstPad to prepare for
16315 scheduling updates soon.
16316 Moved events out of data stream.
16317 Simplified GstEvent types.
16318 Added return values to push/pull.
16319 Removed clocking from GstElement.
16320 Added prototypes for state change function for next merge.
16321 Removed iterate from bins and state change management.
16322 Fixed some elements, disabled others for now.
16323 Fixed -inspect and -launch.
16324 Added check for GstBus.
16326 2005-03-10 Wim Taymans <wim@fluendo.com>
16328 * docs/design/part-MT-refcounting.txt:
16329 * docs/design/part-clocks.txt:
16330 * docs/design/part-gstelement.txt:
16331 * docs/design/part-gstobject.txt:
16332 * docs/design/part-standards.txt:
16333 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
16334 (gst_bin_remove_func), (gst_bin_remove):
16338 * testsuite/clock/clock1.c: (main):
16339 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
16341 * testsuite/dlopen/loadgst.c: (do_test):
16342 * testsuite/refcounting/bin.c: (add_remove_test1),
16343 (add_remove_test2), (main):
16344 * testsuite/refcounting/element.c: (main):
16345 * testsuite/refcounting/element_pad.c: (main):
16346 * testsuite/refcounting/pad.c: (main):
16347 * tools/gst-launch.c: (sigint_handler_sighandler):
16348 * tools/gst-typefind.c: (main):
16350 Added doc about clock.
16351 removed gst_bin_iterate_recurse_up(), marked methods
16353 Fix more testsuites.
16355 2005-03-09 Wim Taymans <wim@fluendo.com>
16357 * gst/gstpad.c: (gst_pad_get_direction),
16358 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
16359 (gst_pad_collect_valist):
16360 * testsuite/bins/interface.c: (main):
16361 * testsuite/caps/audioscale.c: (test_caps):
16362 * testsuite/caps/caps.c: (test1), (test2), (test3):
16363 * testsuite/caps/deserialize.c: (main):
16364 * testsuite/caps/enumcaps.c: (main):
16365 * testsuite/caps/filtercaps.c: (main):
16366 * testsuite/caps/intersect2.c: (main):
16367 * testsuite/caps/random.c: (main):
16368 * testsuite/caps/renegotiate.c: (my_fixate), (main):
16369 * testsuite/caps/sets.c: (check_caps):
16370 * testsuite/caps/simplify.c: (check_caps), (main):
16371 * testsuite/caps/subtract.c: (check_caps):
16372 Fix _pad_get_direction wrt ghostpads.
16373 Fix caps testsuite.
16375 2005-03-09 Wim Taymans <wim@fluendo.com>
16377 * check/Makefile.am:
16378 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
16379 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
16380 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
16381 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
16382 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
16383 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
16384 (gst_bin_remove), (gst_bin_iterate_recurse_up),
16385 (bin_element_is_sink), (gst_bin_iterate_sinks),
16386 (gst_bin_iterate_all_by_interface):
16388 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
16389 (gst_element_change_state), (gst_element_dispose),
16390 (gst_element_finalize), (gst_element_set_loop_function):
16391 * gst/gstelement.h:
16392 * gst/gstiterator.c: (find_custom_fold_func):
16393 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
16394 (gst_pad_collectv), (gst_pad_collect_valist),
16395 (gst_pad_template_new):
16396 * gst/gstpipeline.c: (gst_pipeline_class_init),
16397 (gst_pipeline_dispose), (gst_pipeline_set_property),
16398 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
16399 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
16400 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
16402 * gst/schedulers/entryscheduler.c:
16403 * gst/schedulers/gstbasicscheduler.c:
16404 (gst_basic_scheduler_cothreaded_chain),
16405 (gst_basic_scheduler_chain_add_element):
16406 * testsuite/bins/interface.c: (main):
16408 Added GstSystemClock test.
16409 Implemented clock distribution code in GstBin.
16410 Implemented iterate sinks method for future use.
16411 Rearranged gstelement.h
16412 Fix GstIterator comparison bug.
16413 Moved some code to GstPipeline, mostly clocking related.
16415 2005-03-09 Wim Taymans <wim@fluendo.com>
16418 * gst/gst_private.h:
16419 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
16420 (gst_bin_remove_func), (gst_bin_remove),
16421 (gst_bin_get_by_name_recurse_up):
16422 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
16423 (gst_clock_id_compare_func), (gst_clock_id_wait),
16424 (gst_clock_id_wait_async), (gst_clock_init),
16425 (gst_clock_adjust_unlocked), (gst_clock_get_time):
16426 * gst/gstelement.h:
16427 * gst/gstinfo.c: (_gst_debug_init):
16429 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
16430 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
16432 Bump version number, we're now 0.9.0
16433 Add future debugging category.
16434 Fix NULL _unref() in _get_by_name_recurse_up
16435 Rearrange gstpad.h.
16438 2005-03-08 Wim Taymans <wim@fluendo.com>
16440 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
16441 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
16442 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16443 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
16444 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
16445 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
16446 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
16447 * gst/elements/gstidentity.c: (gst_identity_class_init):
16448 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
16449 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
16450 * gst/elements/gstshaper.c: (gst_shaper_class_init):
16451 * gst/elements/gststatistics.c: (gst_statistics_class_init):
16452 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
16454 * gst/gstelement.c: (gst_element_class_init),
16455 (gst_element_base_class_init), (gst_element_init),
16456 (gst_element_get_random_pad), (gst_element_wait_state_change),
16457 (gst_element_change_state), (gst_element_dispose),
16458 (gst_element_finalize), (gst_element_set_loop_function):
16459 * gst/gstelement.h:
16460 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
16461 * gst/gstthread.c: (gst_thread_class_init),
16462 (gst_thread_release_children_locks), (gst_thread_change_state):
16463 * gst/schedulers/gstbasicscheduler.c:
16464 (gst_basic_scheduler_loopfunc_wrapper),
16465 (gst_basic_scheduler_chain_wrapper),
16466 (gst_basic_scheduler_src_wrapper),
16467 (gst_basic_scheduler_remove_element):
16468 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
16469 Remove threadsafe properties. Fix elements because GObject
16470 complains when installing a property before declaring a
16471 set/get_property handler.
16472 Rearrange gstelement.h file, use STATE macros for state locks.
16473 Free mutexes in the finalize method instead of dispose.
16475 2005-03-08 Wim Taymans <wim@fluendo.com>
16477 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16478 * gst/gstthread.c: (gst_thread_release_children_locks):
16479 Added parentage check.
16480 Fix build og GstThread again.
16482 2005-03-08 Wim Taymans <wim@fluendo.com>
16484 * docs/design/part-MT-refcounting.txt:
16485 * docs/design/part-conventions.txt:
16486 * docs/design/part-gstobject.txt:
16487 * docs/design/part-relations.txt:
16488 * docs/design/part-standards.txt:
16489 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
16490 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
16491 (gst_bin_get_by_name), (gst_bin_get_by_interface),
16492 (gst_bin_iterate_all_by_interface):
16495 * gst/gstelement.c: (gst_element_class_init),
16496 (gst_element_change_state), (gst_element_set_loop_function):
16497 * gst/gstelement.h:
16498 * gst/gstiterator.c:
16499 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
16500 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
16501 (gst_object_dispatch_properties_changed), (gst_object_set_name),
16502 (gst_object_set_parent), (gst_object_unparent),
16503 (gst_object_check_uniqueness):
16505 Docs updates, clean up some headers.
16507 2005-03-07 Wim Taymans <wim@fluendo.com>
16509 * check/.cvsignore:
16510 * check/Makefile.am:
16511 * check/gst-libs/.cvsignore:
16512 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
16513 * check/gst/.cvsignore:
16514 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
16515 (START_TEST), (gstbus_suite), (main):
16516 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
16517 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
16518 (gst_data_suite), (main):
16519 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
16520 (add_fold_func), (gstiterator_suite), (main):
16521 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
16522 (thread_name_object), (thread_name_object_default),
16523 (gst_object_name_compare), (gst_object_suite), (main):
16524 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
16525 (gst_pad_suite), (main):
16526 * check/gstcheck.c: (gst_check_log_message_func),
16527 (gst_check_log_critical_func), (gst_check_init):
16528 * check/gstcheck.h:
16529 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16530 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
16533 2005-03-07 Wim Taymans <wim@fluendo.com>
16535 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16536 (gst_list_iterator_next), (gst_list_iterator_resync),
16537 (gst_list_iterator_free), (gst_iterator_new_list),
16538 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
16539 (gst_iterator_free), (gst_iterator_push), (filter_next),
16540 (filter_resync), (filter_uninit), (filter_free),
16541 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
16542 (gst_iterator_foreach), (find_custom_fold_func),
16543 (gst_iterator_find_custom):
16544 * gst/gstiterator.h:
16545 Added missing files.
16547 2005-03-07 Wim Taymans <wim@fluendo.com>
16551 * docs/design/part-MT-refcounting.txt:
16552 * docs/design/part-conventions.txt:
16553 * docs/design/part-gstobject.txt:
16554 * docs/design/part-relations.txt:
16555 * examples/mixer/mixer.c: (main):
16556 * examples/thread/thread.c: (eos), (main):
16558 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
16559 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
16560 (gst_spider_plug_from_srcpad):
16561 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
16562 (gst_spider_identity_change_state),
16563 (gst_spider_identity_sink_loop_type_finding):
16564 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
16565 * gst/elements/gstidentity.c: (gst_identity_init):
16566 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
16567 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
16568 * gst/elements/gsttypefindelement.c: (free_entry):
16571 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
16572 (gst_bin_set_clock_func), (gst_bin_auto_clock),
16573 (gst_bin_set_index), (gst_bin_set_element_sched),
16574 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
16575 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
16576 (gst_bin_iterate_elements), (iterate_child_recurse),
16577 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
16578 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
16579 (compare_interface), (gst_bin_get_by_interface),
16580 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
16582 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
16583 (gst_buffer_default_free), (gst_buffer_default_copy),
16584 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
16585 (gst_buffer_create_sub):
16587 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
16588 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
16589 (gst_caps_unref), (gst_static_caps_get),
16590 (gst_caps_remove_and_get_structure), (gst_caps_append),
16591 (gst_caps_append_structure), (gst_caps_remove_structure),
16592 (gst_caps_copy_nth), (gst_caps_set_simple),
16593 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
16594 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
16595 (gst_caps_structure_intersect_field), (gst_caps_intersect),
16596 (gst_caps_structure_subtract_field), (gst_caps_subtract),
16597 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
16598 (gst_caps_structure_figure_out_union),
16599 (gst_caps_switch_structures), (gst_caps_do_simplify),
16600 (gst_caps_replace), (gst_caps_from_string),
16601 (gst_caps_copy_conditional):
16603 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
16604 (_gst_clock_id_free), (gst_clock_id_unref),
16605 (gst_clock_id_compare_func), (gst_clock_id_wait),
16606 (gst_clock_id_wait_async), (gst_clock_class_init),
16607 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
16608 (gst_clock_get_time), (gst_clock_set_time_adjust),
16609 (gst_clock_set_property), (gst_clock_get_property):
16612 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
16613 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
16615 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
16616 (gst_element_requires_clock), (gst_element_provides_clock),
16617 (gst_element_set_clock), (gst_element_clock_wait),
16618 (gst_element_wait), (gst_element_set_time_delay),
16619 (gst_element_is_indexable), (gst_element_add_pad),
16620 (gst_element_add_ghost_pad), (gst_element_remove_pad),
16621 (pad_compare_name), (gst_element_get_static_pad),
16622 (gst_element_request_pad), (gst_element_get_request_pad),
16623 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
16624 (gst_element_class_get_pad_template_list),
16625 (gst_element_class_get_pad_template), (gst_element_error_func),
16626 (gst_element_get_random_pad), (gst_element_get_event_masks),
16627 (gst_element_send_event), (gst_element_seek),
16628 (gst_element_get_query_types), (gst_element_query),
16629 (gst_element_get_formats), (gst_element_convert),
16630 (gst_element_is_locked_state), (gst_element_set_locked_state),
16631 (gst_element_sync_state_with_parent), (gst_element_change_state),
16632 (gst_element_finalize), (gst_element_yield),
16633 (gst_element_interrupt), (gst_element_set_scheduler),
16634 (gst_element_get_scheduler), (gst_element_set_loop_function):
16635 * gst/gstelement.h:
16637 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
16638 (gst_format_get_by_nick), (gst_format_get_details),
16639 (gst_format_iterate_definitions):
16641 * gst/gstindex.c: (gst_index_gtype_resolver):
16644 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
16645 (gst_mem_chunk_free):
16646 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16647 (gst_object_ref), (gst_object_unref), (gst_object_sink),
16648 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
16649 (gst_object_dispatch_properties_changed),
16650 (gst_object_set_name_default), (gst_object_set_name),
16651 (gst_object_get_name), (gst_object_set_name_prefix),
16652 (gst_object_get_name_prefix), (gst_object_set_parent),
16653 (gst_object_get_parent), (gst_object_unparent),
16654 (gst_object_check_uniqueness), (gst_object_save_thyself),
16655 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
16656 (gst_object_set_property), (gst_object_get_property),
16657 (gst_object_get_path_string):
16659 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
16660 (gst_real_pad_init), (gst_real_pad_get_property),
16661 (gst_pad_custom_new), (gst_pad_get_direction),
16662 (gst_pad_set_active), (gst_pad_is_active),
16663 (gst_pad_set_event_function), (gst_pad_is_linked),
16664 (gst_pad_link_free), (gst_pad_link_intersect),
16665 (gst_pad_link_fixate), (gst_pad_set_caps),
16666 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
16667 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
16668 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
16669 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
16670 (gst_pad_get_caps), (gst_pad_peer_get_caps),
16671 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
16672 (gst_pad_realize), (gst_pad_get_allowed_caps),
16673 (gst_real_pad_dispose), (gst_real_pad_finalize),
16674 (gst_pad_collectv), (gst_pad_collect_valist),
16675 (gst_pad_template_dispose), (gst_pad_template_new),
16676 (gst_pad_get_internal_links):
16678 * gst/gstpipeline.c: (gst_pipeline_dispose),
16679 (gst_pipeline_change_state):
16680 * gst/gstpipeline.h:
16682 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
16683 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
16684 * gst/gstpluginfeature.h:
16685 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
16686 * gst/gstquery.c: (_gst_query_type_initialize),
16687 (gst_query_type_register), (gst_query_type_get_by_nick),
16688 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
16690 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
16691 * gst/gstscheduler.c: (gst_scheduler_add_element),
16692 (gst_scheduler_factory_create):
16693 * gst/gststructure.c: (gst_structure_set_parent_refcount),
16694 (gst_structure_free), (gst_structure_set_name),
16695 (gst_structure_id_set_value), (gst_structure_set_value),
16696 (gst_structure_set_valist), (gst_structure_remove_field),
16697 (gst_structure_remove_fields),
16698 (gst_structure_remove_fields_valist),
16699 (gst_structure_remove_all_fields), (gst_structure_foreach),
16700 (gst_structure_map_in_place),
16701 (gst_caps_structure_fixate_field_nearest_int),
16702 (gst_caps_structure_fixate_field_nearest_double):
16703 * gst/gststructure.h:
16704 * gst/gstsystemclock.c: (gst_system_clock_class_init),
16705 (gst_system_clock_init), (gst_system_clock_dispose),
16706 (gst_system_clock_async_thread),
16707 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
16708 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
16709 * gst/gstsystemclock.h:
16710 * gst/gsttag.c: (gst_tag_list_add_value_internal),
16711 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
16712 * gst/gsttaginterface.c:
16713 * gst/gstthread.c: (gst_thread_dispose),
16714 (gst_thread_release_children_locks), (gst_thread_change_state),
16715 (gst_thread_main_loop):
16716 * gst/gsttrashstack.h:
16717 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
16719 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16720 (gst_element_request_pad), (gst_element_get_pad_from_template),
16721 (gst_element_request_compatible_pad),
16722 (gst_element_get_compatible_pad_filtered),
16723 (gst_element_get_compatible_pad), (gst_element_state_get_name),
16724 (gst_element_link_pads_filtered), (gst_element_link_filtered),
16725 (gst_element_link_many), (gst_element_link),
16726 (gst_element_link_pads), (gst_element_unlink_pads),
16727 (gst_element_unlink_many), (gst_element_unlink),
16728 (gst_pad_can_link_filtered), (gst_pad_can_link),
16729 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
16730 (gst_object_default_error), (gst_bin_add_many),
16731 (gst_bin_remove_many), (gst_element_populate_std_props),
16732 (gst_element_class_install_std_props), (gst_buffer_merge),
16733 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
16734 (link_fold_func), (gst_pad_proxy_setcaps):
16736 * gst/gstvalue.c: (gst_value_deserialize_string):
16737 * gst/parse/grammar.y:
16738 * gst/schedulers/gstbasicscheduler.c:
16739 (gst_basic_scheduler_cothreaded_chain),
16740 (gst_basic_scheduler_chain_recursive_add),
16741 (gst_basic_scheduler_pad_link):
16742 * gst/schedulers/gstoptimalscheduler.c:
16743 (get_group_schedule_function),
16744 (gst_opt_scheduler_state_transition),
16745 (gst_opt_scheduler_add_element), (element_get_reachables_func):
16746 * libs/gst/bytestream/bytestream.c:
16747 * libs/gst/dataprotocol/dataprotocol.c:
16748 (gst_dp_header_from_buffer):
16751 * tests/threadstate/threadstate2.c: (eos):
16752 * tools/gst-compprep.c: (main):
16753 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
16754 (print_pad_info), (print_children_info):
16755 * tools/gst-launch.c: (idle_func), (main):
16756 * tools/gst-md5sum.c: (idle_func), (main):
16757 * tools/gst-xmlinspect.c: (print_element_info):
16758 First THREADED backport attempt, focusing on adding locks and
16759 making sure the API is threadsafe. Needs more work. More docs
16762 2005-02-24 Andy Wingo <wingo@pobox.com>
16764 * tests/bench-complexity.scm:
16765 * tests/complexity.gnuplot: New files, good for running complexity
16768 * tests/Makefile.am:
16769 * tests/complexity.c: New test, sets up N elements, at each level
16770 teeing into M streams per element. Eeeenteresting.
16772 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
16773 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
16774 running bench-mass_elements.scm.
16776 * tests/bench-mass_elements.scm: New script, runs mass_elements
16777 for various numbers of identities, outputting the results to a
16778 file. Requires guile 1.6. Just for testing.
16780 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
16782 * gst/schedulers/fairscheduler.c:
16783 compile with debug disabled
16785 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
16788 hunting season on 0.9 is now OPEN