1 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4 * gst/gst.c: (init_pre):
5 Add some basic system details such as OS and architecture
6 to the debug output if possible, courtesy of uname().
8 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10 * docs/gst/running.xml:
11 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
12 environment variables.
14 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
16 * tests/check/gst/gstbin.c: (GST_START_TEST):
17 It is acceptable to have a refcount of 2 or 3 at this point in the
18 test, because the pipeline might be just posting its state_change
19 message. The next line then waits for that message to appear using
20 bus_poll, so that should be fine too.
22 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
24 * gst/gst.c: (ensure_current_registry_forking):
25 Ignore EINTR when reading from the child registry pipe.
26 Explicitly ignore the return value from close, since it makes no
29 * gst/gstminiobject.c: (gst_mini_object_ref),
30 (gst_mini_object_unref):
31 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
33 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
34 When removing cached plugins, remove their features too, so they're
35 not visible after they've disappeared.
37 * gst/gstutils.c: (prepare_link_maybe_ghosting):
38 In the unlikely case that we are linking pads with no parents, don't
39 crash trying to get the non-existent parent bin.
41 * gst/parse/grammar.y:
42 Output debug in the PIPELINE category
44 2005-03-08 Wim Taymans <wim@fluendo.com>
46 Patch by: René Stadler <mail at renestadler dot de>
48 * gst/gstclock.c: (gst_clock_new_periodic_id):
49 Reject invalid clock times for interval of periodic ids.
52 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
54 * gst/gstelementfactory.c: (gst_element_factory_create):
55 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
56 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
57 * tools/gst-inspect.c: (print_element_info):
58 Fix refcounting of gst_plugin_feature_load to match the docs.
61 2006-12-07 Wim Taymans <wim@fluendo.com>
63 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
64 (gst_base_sink_get_position):
65 Improve debugging of events.
67 2006-12-07 Wim Taymans <wim@fluendo.com>
69 Patch by: René Stadler <mail at renestadler dot de>
71 * gst/gstclock.c: (gst_clock_id_wait):
72 Make period ids add the interval to the origial requested time instead
73 of the possibly updated time which can be wrong when there are multiple
74 waiters for the same id. Fixes #382592.
76 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
77 (gst_system_clock_id_wait_jitter_unlocked),
78 (gst_system_clock_id_wait_jitter):
79 Fix restart in the async notify thread when an async entry is added to
80 the front of the list. Fixes #381492.
82 * tests/check/gst/gstsystemclock.c: (store_callback),
83 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
84 Added test for multiple async waits.
85 Added test for async wait order.
87 2006-12-07 Wim Taymans <wim@fluendo.com>
89 * gst/gstbin.c: (gst_bin_query):
90 Add some more docs about the POSITION query.
92 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
95 Bump version nano - back to CVS.
97 === release 0.10.11 ===
99 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
102 releasing 0.10.11, "Love never runs on time"
104 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
106 * win32/common/libgstbase.def:
107 * win32/common/libgstreamer.def:
108 * win32/vs8/libgstbase.vcproj:
109 * win32/vs8/libgstcoreelements.vcproj:
110 * win32/vs8/libgstreamer.vcproj:
111 Fix compilation on win32 under VS8
112 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
113 Partially fixes #381175
115 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
117 * gst/gstvalue.c: (gst_value_compare_fraction):
118 If someone is foolish enough to compare 2 fractions with denominator =
119 0, return UNORDERED rather than aborting.
121 2006-11-28 Edward Hervey <edward@fluendo.com>
123 * libs/gst/base/Makefile.am:
124 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
125 (gst_data_queue_base_init), (gst_data_queue_class_init),
126 (gst_data_queue_init), (gst_data_queue_new),
127 (gst_data_queue_cleanup), (gst_data_queue_finalize),
128 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
129 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
130 (gst_data_queue_is_empty), (gst_data_queue_is_full),
131 (gst_data_queue_set_flushing), (gst_data_queue_push),
132 (gst_data_queue_pop), (gst_data_queue_drop_head),
133 (gst_data_queue_set_property), (gst_data_queue_get_property):
134 * libs/gst/base/gstdataqueue.h:
135 New GstDataQueue object for threadsafe queueing. Most useful for
136 elements that need some queueing functionnality.
137 * docs/libs/gstreamer-libs-docs.sgml:
138 * docs/libs/gstreamer-libs-sections.txt:
139 Insert documentation for GstDataQueue
140 * plugins/elements/Makefile.am:
141 * plugins/elements/gstelements.c:
142 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
143 (gst_multi_queue_class_init), (gst_multi_queue_init),
144 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
145 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
146 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
147 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
148 (gst_multi_queue_loop), (gst_multi_queue_chain),
149 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
150 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
151 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
152 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
153 (wake_up_next_non_linked), (compute_next_non_linked),
154 (single_queue_overrun_cb), (single_queue_underrun_cb),
155 (single_queue_check_full), (gst_single_queue_new):
156 * plugins/elements/gstmultiqueue.h:
157 New multiqueue element, using GstDataQueue. Used for queuing multiple
159 Closes #344639 and #347785
161 2006-11-22 Stefan Kost <ensonic@users.sf.net>
163 * docs/pwg/advanced-types.xml:
164 add more missing type details
166 * tools/gst-run.c: (main):
167 remove unused variable
169 2006-11-21 Stefan Kost <ensonic@users.sf.net>
171 * docs/libs/Makefile.am:
172 * docs/libs/gstreamer-libs.types:
173 add types of base classes to enable gobject specific stuff in the docs
175 * docs/random/ensonic/embedded.txt:
176 more ideas about isolating platform specific things
178 2006-11-20 Wim Taymans <wim@fluendo.com>
180 Patch by: Sebastian Droege <slomo at ubuntu dot com>
182 * libs/gst/check/gstcheck.h:
183 Fix compilation and running against 0.9.4. Fixes #377332.
185 2006-11-20 Wim Taymans <wim@fluendo.com>
187 * gst/gstsegment.c: (gst_segment_set_seek),
188 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
189 (gst_segment_to_running_time):
190 Fix boundary checking in to_running_time() and to_stream_time().
193 * tests/check/gst/gstsegment.c: (GST_START_TEST):
194 stream and running time can now be calculated for the complete
197 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
199 * gst/gstpad.c: (gst_pad_push_event):
200 Can't access event structure after giving away ownership of
203 2006-11-15 Stefan Kost <ensonic@users.sf.net>
205 * docs/random/ensonic/embedded.txt:
206 * docs/random/ensonic/profiling.txt:
207 * docs/random/ensonic/receipies.txt:
210 2006-11-13 Wim Taymans <wim@fluendo.com>
212 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
215 Fix documentation for gst_pad_dispatcher. Fixes #374475.
217 2006-11-13 Wim Taymans <wim@fluendo.com>
219 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
221 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
222 Store new length in segment duration so we don't keep on calling the
223 potentially expensize get_size() call. Fixes #370865.
225 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
227 Patch by: Sergey Scobich <sergey.scobich at gmail com>
229 * win32/common/libgstreamer.def:
230 Add two missing symbols (#366492).
232 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
234 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
235 (gst_adapter_take_buffer):
236 Fix format string to use all its arguments.
237 Remove useless >= check on a guint
239 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
241 * tests/examples/adapter/.cvsignore:
242 Ignore build file as commanded by the build-bot
244 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
246 * tests/examples/adapter/Makefile.am:
247 * tests/examples/adapter/adapter_test.c: (run_test_take),
248 (run_test_take_buffer), (run_tests), (main):
250 Add new files from the previous commit
252 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
256 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
257 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
258 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
259 * libs/gst/base/gstadapter.h:
260 * tests/check/libs/adapter.c: (create_and_fill_adapter),
261 (GST_START_TEST), (gst_adapter_suite):
262 * tests/examples/Makefile.am:
263 Do some optimisation work in GstAdapter to avoid copies in more cases.
264 It could still do slightly better by merging buffers when
265 gst_buffer_is_span_fast is true, but is already faster.
267 Also, avoid traversing a single-linked list to append each incoming
268 buffer inside the adapter.
270 Add simple test app that times the adapter behaviour in different
271 situations, and extend the unit test to check that bytes enter and
272 exit the adapter in their original order.
274 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
276 * docs/random/draft-missing-plugins.txt:
277 Update: use element message instead of adding a new message
278 type to the core; don't provide GStreamer API to initiate the
279 plugin download, just provide API to compose the strings needed
280 and let an external libgimmestuff handle the rest.
282 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
284 * tools/gst-inspect.c: (print_element_properties_info):
285 Print a string instead of 'unknown type' for GValueArray properties
287 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
289 * docs/random/draft-missing-plugins.txt:
292 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
294 * tests/examples/typefind/typefind.c: (type_found), (main):
295 Make typefind element example work again (#371894); add a
298 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
300 * docs/random/draft-missing-plugins.txt:
301 Commit initial draft about how to deal with missing plugins,
302 needs work (API too).
304 2006-11-07 Stefan Kost <ensonic@users.sf.net>
306 * docs/pwg/advanced-types.xml:
307 documents the new caps elements (see #363118)
309 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
311 * gst/gstplugin.c: (gst_plugin_load_file):
312 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
313 (gst_file_src_map_region), (gst_file_src_start):
314 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
315 (gst_file_index_commit):
316 Use g_strerror() instead of strerror() - we want UTF-8.
318 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
320 Patch by: Peter Kjellerstedt <pkj at axis com>
322 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
323 Another printf fix (#371493).
325 2006-11-06 Stefan Kost <ensonic@users.sf.net>
327 * tests/check/gst/gsttag.c:
328 relicence (okay with author=company)
330 2006-11-06 Stefan Kost <ensonic@users.sf.net>
332 * gst/gstpad.c: (gst_pad_event_default_dispatch),
333 (gst_pad_push_event):
334 Enhance debug and improve docs
339 2006-11-06 Stefan Kost <ensonic@users.sf.net>
341 * docs/random/ensonic/distributed.txt:
342 * docs/random/ensonic/profiling.txt:
345 2006-11-06 Stefan Kost <ensonic@users.sf.net>
347 * docs/gst/gstreamer-sections.txt:
348 add new API and fix the build
350 * gst/gstbin.c: (gst_bin_recalc_state):
351 * gst/gstelement.c: (gst_element_message_full),
352 (gst_element_get_state_func), (gst_element_set_state_func):
353 use new API and improve logging
355 * gst/gstutils.c: (gst_element_state_change_return_get_name):
357 API: add function to get StateChangereturn names to improve logs
359 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
361 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
362 I'm considering shooting the next person to put strerror stuff
363 in the translateable part of the message.
365 2006-11-03 Wim Taymans <wim@fluendo.com>
367 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
368 Get the type and printf conversion specifiers right.
370 2006-11-03 Wim Taymans <wim@fluendo.com>
372 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
374 * gst/gstpad.c: (gst_pad_init), (pre_activate),
375 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
376 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
377 Some small cleanups. Improve debugging.
379 Signal all waiting threads with a broadcast instead of just one.
382 2006-11-03 Wim Taymans <wim@fluendo.com>
384 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
387 Only update fd when it's different from the old.
389 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
391 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
392 Printf fixes for PPC/OSX, take two (#369366).
394 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
396 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
398 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
399 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
400 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
401 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
402 don't cast to long long for portability reasons, but use
403 GLib's types instead.
405 2006-10-30 Michael Smith <msmith@fluendo.com>
407 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
408 Get the arguments to lseek() the right way around.
411 2006-10-30 Wim Taymans <wim@fluendo.com>
413 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
416 _declspec should be __declspec (two underscores, not one). Fixes 366572.
418 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
420 Patch by: Kjartan Maraas <kmaraas at gnome org>
422 * docs/design/part-MT-refcounting.txt:
423 * docs/random/wtay/capsnego2-docs:
426 Typo fixes (#366212).
428 2006-10-28 Wim Taymans <wim@fluendo.com>
430 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
433 * win32/common/libgstbase.def:
434 * win32/common/libgstreamer.def:
435 * win32/vs8/libgstbase.vcproj:
436 * win32/vs8/libgstcontroller.vcproj:
437 Add needed entries in .def files.
439 Rearrange def files in vs8 solutions. Fixes #366286.
441 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
443 * win32/common/gstconfig.h:
444 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
445 hand-made win32 gstconfig.h. Fixes #366321.
447 2006-10-27 Wim Taymans <wim@fluendo.com>
449 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
450 (gst_ghost_pad_new_full):
451 Make acceptcaps return TRUE when we don't have a target, just like
454 2006-10-27 Wim Taymans <wim@fluendo.com>
456 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
457 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
459 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
461 * gst/gststructure.c: (gst_structure_id_set_value):
462 If someone tries to set a non-UTF8 string field on a structure,
463 don't just print a warning, but also ignore the request and do
464 not change/add that field to the structure.
466 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
469 2006-10-25 David Schleef <ds@schleef.org>
472 g_hash_table_insert() needs a cast to a non-const pointer duh.
474 2006-10-25 David Schleef <ds@schleef.org>
478 Change name parameter of _gst_debug_register_funcptr to const
479 to reflect the constness of its use in the function as well
480 as to quiet a gcc warning.
482 2006-10-25 Edward Hervey <edward@fluendo.com>
484 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
485 Don't push the buffer if it's empty.
488 2006-10-24 Wim Taymans <wim@fluendo.com>
493 * libs/gst/base/gstbasetransform.c:
494 (gst_base_transform_sink_eventfunc):
495 Debug segment values *after* updating them as this is more
498 2006-10-23 Wim Taymans <wim@fluendo.com>
500 * docs/design/part-events.txt:
503 * docs/design/part-block.txt:
504 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
505 (gst_pad_push_event):
506 Revert BLOCKING patch, it tries to be smart without really having a
507 clear idea what or how. So, now we discard all FLUSHING events again on
508 a blocking pad. Should fix gnonlin again.
510 2006-10-23 Wim Taymans <wim@fluendo.com>
512 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
514 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
515 (gst_base_src_start), (gst_base_src_activate_push):
516 Make sure size is always initialized. Fixes #364388.
518 2006-10-20 Stefan Kost <ensonic@users.sf.net>
520 * docs/random/ensonic/distributed.txt:
521 add some ideas about doing distributed processing
523 * docs/random/ensonic/profiling.txt:
524 get_rusage look promising
526 2006-10-18 Stefan Kost <ensonic@users.sf.net>
528 * docs/manual/basics-helloworld.xml:
529 Add a cast in example to fix compile warning
531 2006-10-18 Wim Taymans <wim@fluendo.com>
533 * gst/gstsegment.c: (gst_segment_set_last_stop),
534 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
535 Relax arg checking again, -1 is allowed.
537 2006-10-18 Wim Taymans <wim@fluendo.com>
539 * gst/gstsegment.c: (gst_segment_set_last_stop),
540 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
541 _set_last_stop() must be with a value != -1
542 A _TYPE_SET to -1 means seek to 0.
543 Calc last_stop correctly for negative rates.
544 Make sure we work with positive durations when updating a segment.
546 2006-10-18 Wim Taymans <wim@fluendo.com>
548 * docs/design/part-live-source.txt:
552 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
555 Add an explicit cast to GstBuffer** to keep old code that added an
556 explicit cast to GstMiniObject** for gst_mini_object_replace()
557 compiling without warning.
559 2006-10-18 Stefan Kost <ensonic@users.sf.net>
561 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
562 check for validity of dates
564 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
566 * docs/gst/gstreamer-sections.txt:
567 Forgot this one, makes gtk-doc shut up.
569 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
571 Patch by: Peter Kjellerstedt <pkj at axis com>
574 Don't define xmlNodePtr to gpointer if the core was built with
575 --disable-loadsave and --disable-registry, this will break
576 applications that want to use libxml2 but are buildling against a
577 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
578 instead so we don't have to mess with the libxml2 namespace
581 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
584 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
585 type-punned pointer warnings.
587 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
590 Add casts to the correct return type to state <=> state transition
593 2006-10-16 Stefan Kost <ensonic@users.sf.net>
595 * docs/design/part-live-source.txt:
596 describe howto handle latency
598 * docs/random/ensonic/profiling.txt:
601 * tools/gst-plot-timeline.py:
602 fix log parsing for solaris, remove unused function
604 2006-10-16 Wim Taymans <wim@fluendo.com>
606 * docs/design/part-trickmodes.txt:
608 Update some docs regarding reverse playback.
610 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
612 Patch by: Marcus Granado <mrc dot gran at gmail com>
614 * win32/vs8/grammar.vcproj:
615 Error out with a warning if glib-genmarshal.exe is not in path,
616 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
618 2006-10-13 Wim Taymans <wim@fluendo.com>
620 * gst/gstsegment.c: (gst_segment_set_seek):
621 When seeking to stop -1, set last_stop (current position) to the
622 duration of the segment.
624 2006-10-13 Wim Taymans <wim@fluendo.com>
627 Clarify _NO_PREROLL a bit more.
632 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
633 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
634 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
635 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
636 due to wrong locking order. Fixes #361769.
637 Remove some redundant/misplaced checks in pad_block.
639 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
640 For negative rates, count backwards from the duration.
642 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
644 * gst/gsterror.c: (_gst_library_errors_init):
645 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
646 up with something better).
648 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
650 * win32/vs6/libgstreamer.dsp:
651 * win32/vs7/libgstreamer.vcproj:
652 * win32/vs8/libgstreamer.vcproj:
653 Don't reference glib-compat.c which is currently not used and not
654 disted; add gstquark.c which was recently added. Fixes #361730.
656 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
658 * win32/common/libgstbase.def:
659 * win32/common/libgstcontroller.def:
660 * win32/common/libgstreamer.def:
661 Add gst_caps_merge() and a bunch of other recently-added functions.
664 2006-10-11 Wim Taymans <wim@fluendo.com>
666 * docs/plugins/gstreamer-plugins.args:
667 * docs/plugins/inspect/plugin-coreelements.xml:
668 * docs/plugins/inspect/plugin-coreindexers.xml:
671 * gst/gstsystemclock.c:
672 Small comment update.
674 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
675 (gst_tee_request_new_pad), (gst_tee_release_pad),
676 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
677 (gst_tee_sink_activate_pull):
678 * plugins/elements/gsttee.h:
680 Add default property defines.
681 Implement release pad function.
682 Give properties better blubs etc.
683 Activate pads before adding them to a running tee.
684 Do simple buffer_alloc on the first requested pad.
685 Post error when activation fails.
687 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
689 * gst/gst.c: (ensure_current_registry_forking):
690 Check return value of write() to make compiler happy.
692 2006-10-11 Wim Taymans <wim@fluendo.com>
694 Patch by: Sjoerd Simons <sjoerd at luon dot net>
696 * plugins/elements/gstqueue.c: (gst_queue_chain):
697 Recheck queue filledness after signalling the overrun when we're about
698 to leak downstream because we released the lock when emitting the signal
699 and the queue could be empty again. Fixes #352345.
701 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
703 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
704 Fix refcounting here too, just like we did for _new_valist() a few
705 days ago (#357180) (thanks to René Stadler). Also remove all those
706 'Since: 0.9' from the gtk-doc blobs.
708 * tests/check/libs/controller.c: (controller_refcount_new_list),
709 (gst_controller_suite):
710 Unit test for the above.
712 2006-10-10 Wim Taymans <wim@fluendo.com>
714 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
716 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
717 (gst_pad_save_thyself):
719 Write pad direction in XML output. Fixes #345496.
721 2006-10-10 Wim Taymans <wim@fluendo.com>
723 Patch by: René Stadler <mail at renestadler dot de>
725 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
726 (gst_controller_new_list), (_gst_controller_dispose),
727 (_gst_controller_finalize), (_gst_controller_class_init):
728 Take ref to controlled object so that it cannot disappear.
731 2006-10-10 Wim Taymans <wim@fluendo.com>
733 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
734 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
735 (gst_check_teardown_sink_pad):
736 Activate/deactivate pads in setup/teardown respectively.
738 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
740 Patch by: Josep Torre Valles <josep@fluendo.com>
743 Cast values when making gstenumtypes.h. This pacifies Forte
744 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
747 2006-10-09 Wim Taymans <wim@fluendo.com>
749 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
750 Rename some more @cur to @start to fix docs.
752 * gst/gstsegment.c: (gst_segment_set_seek):
754 time and start must always stay in sync as defined in design doc.
756 * gst/gsttaglist.c: (gst_tag_list_is_empty):
757 Rename param to fix docs.
759 * tests/check/gst/gstsegment.c: (GST_START_TEST):
760 Check that start and time are in sync.
762 * tests/check/pipelines/parse-launch.c:
763 (gst_parse_test_element_change_state):
764 Activate pad before adding to the element.
766 2006-10-09 Wim Taymans <wim@fluendo.com>
768 * docs/design/part-qos.txt:
773 Update seek event docs regarding negative rates.
774 Rename @cur to @start.
776 * gst/gstsegment.c: (gst_segment_set_seek):
778 Update set_seek docs regarding negative rates.
779 Correctly update last_stop to @stop when dealing with negative
781 Rename @cur to @start.
783 * tests/check/gst/gstpad.c: (GST_START_TEST):
784 Activate pads before trying to use them.
786 * tests/check/gst/gstsegment.c: (GST_START_TEST),
788 Add simple check for segments and negative rates.
790 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
792 * gst/gsttaglist.c: (gst_tag_list_is_empty):
794 * docs/gst/gstreamer-sections.txt:
795 API: add gst_tag_list_is_empty() (#360467).
797 * tests/check/gst/gsttag.c: (GST_START_TEST):
800 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
803 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
804 a value that doesn't fit on enumeration.
806 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
808 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
809 Remove local debugging system and use Gstreamer's instead.
811 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
813 Patch by: Josep Torre Valles <josep@fluendo.com>
815 * common/m4/gst-error.m4:
816 Disable warning of statement not reached on Forte.
818 Fix warning on Forte (value doesn't fit on enumeration).
819 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
820 Fix warning on Forte (value doesn't fit on enumeration).
821 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
822 DEBUG macro says it takes minimum of 2 args and so Forte
823 complains about the use with just 1 arg.
824 * plugins/elements/gstfdsink.c:
825 * plugins/elements/gstfdsrc.c:
826 * plugins/elements/gstfilesink.c:
827 * plugins/elements/gstfilesrc.c:
828 Use correct return type for the uri handler implementations.
830 All these fix warnings in Forte. Fixes bug #360860.
832 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
835 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
836 format string, so don't use G_GNUC_PRINTF for those versions.
838 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
840 * gst/gsttaglist.c: (gst_is_tag_list):
842 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
844 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
845 Small test for the above.
847 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
850 Less tabs, more spaces.
852 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
855 Those two function declarations do actually belong there, revert
856 commit from yesterday that turned them intro macros.
858 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
860 Patch by: Josep Torre Valles <josep@fluendo.com>
862 * gst/gst.c: (gst_init_get_option_group):
863 Fix empty declaration and type mismatch.
864 * gst/gstbin.c: (gst_bin_change_state_func):
866 * gst/gstelement.c: (gst_element_continue_state),
867 (gst_element_set_state_func), (gst_element_change_state),
868 (gst_element_change_state_func):
870 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
871 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
873 * gst/gstobject.c: (gst_class_signal_connect):
874 Cast as appropriate. The function pointer parameter really
875 has the wrong type but would break API if we change it.
877 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
878 order of including string.h.
879 * gst/gstutils.c: (gst_element_state_get_name):
880 Remove unreachable line.
881 * gst/gstxml.c: (gst_xml_parse_doc):
883 All these caught by Forte.
885 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
887 Patch by: Josep Torre Valles <josep@fluendo.com>
889 * common/m4/gst-error.m4:
891 We need to disable warnings on Forte for empty declarations
892 due to gst-indent adding ;s to lines that just use macros
893 where the macro actually doesn't need a ; at end to end
896 2006-10-06 Wim Taymans <wim@fluendo.com>
898 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
899 (gst_file_sink_close_file), (gst_file_sink_event),
900 (gst_file_sink_render):
901 Add some FIXME for the NEWSEGMENT handling.
903 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
905 * gst/parse/grammar.y:
906 Remove static function gst_parse_element_lock as all it does
907 is return. Looks like cruft from 0.8.
909 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
911 Patch by: Josep Torre Valles <josep@fluendo.com>
913 * common/m4/gst-error.m4:
915 * libs/gst/net/Makefile.am:
916 Fix a compilation issue with Forte on Solaris. inet_aton is in
919 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
921 * gst/gstpad.c: (pre_activate):
922 * gst/gstregistry.c: (gst_registry_scan_path_level):
923 * gst/gstregistryxml.c: (load_plugin):
924 * libs/gst/controller/gstcontroller.c:
925 (gst_controlled_property_set_interpolation_mode):
926 * libs/gst/dataprotocol/dataprotocol.c:
927 (gst_dp_packet_from_event_1_0):
928 * libs/gst/net/gstnetclientclock.c:
929 (gst_net_client_clock_observe_times):
930 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
933 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
936 * docs/gst/gstreamer-sections.txt:
937 * gst/gstconfig.h.in:
940 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
941 whether we can use G_GNUC_PRINTF in other header files and at
942 least check the printf format/arguments of debug messages and
943 GST_ELEMENT_ERROR messages when the printf extension is not
945 Replace more tabs with spaces in gstinfo.h and remove two spurious
946 function declarations in GST_DISABLE_DEBUG part with macros.
948 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
950 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
951 More docs for the sync-message signal (mention that it is not
952 emitted by default); log message structures of messages posted on
955 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
957 * gst/gst.c: (ensure_current_registry_forking):
958 Use a pipe pair to receive status results from the forked child, and
959 ignore the result from waitpid. Fixes #355499
961 2006-10-02 Wim Taymans <wim@fluendo.com>
963 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
964 (gst_ghost_pad_suite):
967 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
970 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
972 2006-10-02 Edward Hervey <edward@fluendo.com>
974 * docs/design/part-block.txt:
975 Further explain the use of flushing on blocked pads.
976 * docs/gst/gstreamer-sections.txt:
977 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
978 (gst_pad_push_event):
980 Added new GstPadFlag : GST_PAD_BLOCKING.
981 Adds the notion of pads really blocking, which enables to properly
982 handle FLUSH_START/FLUSH_STOP events on blocked pads.
984 API: gst_pad_is_blocking()
985 API: GST_PAD_IS_BLOCKING() macro
986 API: GST_PAD_BLOCKING GstPadFlag
988 2006-10-02 Wim Taymans <wim@fluendo.com>
990 Patch by: mrcgran <mrc.gran at gmail dot com>
992 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
993 Filter the proxied caps against the padtemplate if we have one.
995 * gst/gstquery.c: (gst_query_new_segment):
996 Add include for gstinfo.h so that compilation with
997 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
999 2006-10-02 Wim Taymans <wim@fluendo.com>
1001 Patch by: Alessandro Decina <alessandro at nnva org>
1003 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
1004 (gst_file_sink_set_location), (gst_file_sink_open_file),
1005 (gst_file_sink_close_file), (gst_file_sink_event),
1006 (gst_file_sink_render):
1007 Set file to NULL when closing filesink so that we can set a new filename
1008 in READY. Fixes #358613.
1010 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
1012 Patch by: Alessandro Decina <alessandro at nnva org>
1014 * gst/gstevent.c: (_gst_event_copy):
1015 Fix gst_mini_object_make_writable() and gst_event_copy() for events
1016 with event structures by setting the parent refcount address of the
1017 copied structure to the address of the refcount member of the newly
1018 copied event rather than the address of the refcount member of the
1019 original event. Fixes #358737.
1021 * tests/check/gst/gstevent.c: (GST_START_TEST):
1022 Unit test for the above.
1024 2006-09-29 Stefan Kost <ensonic@users.sf.net>
1026 * docs/design/Makefile.am:
1027 Dist some more files.
1029 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
1031 * tests/check/libs/controller.c: (GST_START_TEST),
1032 (gst_controller_suite):
1033 Add test for the previous fix; add some more tests
1034 for correct refcounting behaviour; fix a few leaks
1035 in test cases; call gst_controller_init() at start
1038 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
1040 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1041 (gst_controller_set_from_list):
1042 Don't g_return_val_if_fail() on timed values with invalid timestamps
1043 inside a critical section without unlocking the mutex. Spotted by
1044 René Stadler. (#357617)
1045 Also, fix up refcounting properly: when returning an existing
1046 controller, we should increase the reference only once and not
1047 once per property and when trying to control a property again
1048 we should also increase the refcount.
1050 2006-09-29 Wim Taymans <wim@fluendo.com>
1052 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1053 * libs/gst/net/gstnettimeprovider.c:
1054 (gst_net_time_provider_thread):
1055 Stop reading commands when EOF as well.
1057 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1058 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1059 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1060 Unify description of the dump property.
1062 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
1064 * tests/examples/manual/.cvsignore:
1065 OK, so it's actually cvsignore that needs changing. Stop laughing.
1067 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
1069 * tests/examples/manual/Makefile.am:
1070 Gah, declare vars *before* using them
1072 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
1074 * gst/gst.c: (init_pre), (scan_and_update_registry),
1075 (ensure_current_registry_nonforking),
1076 (ensure_current_registry_forking), (ensure_current_registry),
1077 (init_post), (gst_debug_help), (gst_deinit):
1078 * gst/gst_private.h:
1079 * gst/gstregistry.c: (gst_registry_finalize),
1080 (gst_registry_remove_features_for_plugin_unlocked),
1081 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1082 (gst_registry_scan_path),
1083 (_priv_gst_registry_remove_cache_plugins),
1084 (_priv_gst_registry_cleanup):
1085 * gst/gstregistry.h:
1086 Re-commit the registry changes, along with an extra fix:
1087 When a cached plugin is encountered at a different file path,
1088 update the stored path in the registry cache so that the parent
1089 process knows where it actually is now when it re-reads the registry
1090 cache. Fixes the thing that broke distcheck with the previous commit.
1092 * tests/check/Makefile.am:
1093 Clean up files named 'core' too when running make clean.
1095 * tests/examples/manual/Makefile.am:
1096 Set up a registry path for running these tests, and clean it properly
1099 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
1102 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
1103 want gmodule-no-export-2.0.pc instead so that we don't drag in
1104 --export-dynamic on every project that links to GStreamer.
1106 Also, make our export regex only match the start of symbols, rather
1107 than any symbol that contains '_gst' somewhere.
1109 * libs/gst/check/Makefile.am:
1110 The libgstcheck we build does however need export-dynamic, as it
1111 produces some symbols that don't match our _gst... style regex.
1114 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
1116 * gst/gst.c: (init_pre), (scan_and_update_registry),
1117 (ensure_current_registry_nonforking),
1118 (ensure_current_registry_forking), (ensure_current_registry),
1119 (init_post), (gst_debug_help), (gst_deinit):
1120 * gst/gst_private.h:
1121 * gst/gstregistry.c: (gst_registry_finalize),
1122 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1123 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
1124 (_gst_registry_cleanup):
1125 * gst/gstregistry.h:
1126 Revert previous change until I figure out why it breaks distcheck.
1128 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
1130 * gst/gst.c: (init_pre), (scan_and_update_registry),
1131 (ensure_current_registry_nonforking),
1132 (ensure_current_registry_forking), (ensure_current_registry),
1133 (init_post), (gst_debug_help), (gst_deinit):
1135 Make init_pre and init_post take the full complement of GOptionFunc
1136 args so they can return useful GErrors. Make the registry updating
1139 Call _priv_gst_registry_remove_cache_plugins after scanning files to
1140 ensure that the registry we're about to write out doesn't contain
1141 stale information about old-deleted plugin files.
1143 Make _priv_gst_registry_remove_cache_plugins return a boolean so
1144 that deletion of plugin files is considered a registry change.
1146 * gst/gst_private.h:
1147 * gst/gstregistry.c: (gst_registry_finalize),
1148 (gst_registry_remove_features_for_plugin_unlocked),
1149 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1150 (gst_registry_scan_path),
1151 (_priv_gst_registry_remove_cache_plugins),
1152 (_priv_gst_registry_cleanup):
1153 * gst/gstregistry.h:
1154 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
1155 by adding _priv prefix, so that they won't appear in the global
1156 symbol table. They still do atm though because of #318031. Move the
1157 prototypes to gst_private.h
1159 When removing a plugin, remove all features for that plugin too.
1162 2006-09-27 Wim Taymans <wim@fluendo.com>
1164 * docs/random/moving-plugins:
1165 Make it clear that the "compiled-in descriptions" really mean
1166 the element details.
1168 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1169 (gst_base_sink_wait_preroll):
1172 * docs/libs/gstreamer-libs-sections.txt:
1173 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1174 (gst_base_src_get_range), (gst_base_src_activate_push):
1175 * libs/gst/base/gstbasesrc.h:
1176 Added function to block while waiting for PLAYING, this function
1177 is used by live sources that block on the clock.
1178 API: gst_base_src_wait_playing()
1180 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
1182 Patch by: Peter Kjellerstedt <pkj at axis com>
1185 gst-element-check.m4 is generated and should therefore be
1186 copied from the build dir rather than the source dir (#357593).
1187 'make distcheck' hasn't noticed this because we were disting
1188 the file as well, so stop doing that.
1190 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
1192 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1193 Add some tests for gst_caps_intersect().
1195 * tools/gst-launch.c: (event_loop):
1196 Print all buffering percentages we get, even the 100% one.
1198 2006-09-26 Wim Taymans <wim@fluendo.com>
1200 * tools/gst-inspect.c: (print_element_properties_info),
1201 (print_signal_info):
1202 Fix printing of flags to match the look of enums.
1204 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
1206 * gst/gstelementfactory.c:
1207 Fix typo in docs blurb.
1209 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
1211 * gst/gsturi.c: (search_by_entry):
1212 Don't assert/crash here if a uri handler doesn't return any
1213 supported protocols. The list of protocols could be generated
1214 dynamically at runtime or at plugin registration, and an error
1215 in the underlying library shouldn't be fatal (#353301).
1217 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
1220 Fix warning if HAVE_PRINTF_EXTENSION is undefined
1221 (spotted by Peter Kjellerstedt).
1223 2006-09-23 Wim Taymans <wim@fluendo.com>
1225 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1227 * libs/gst/base/gstbasesrc.c:
1228 (gst_base_src_default_check_get_range), (gst_base_src_start),
1229 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1230 (gst_base_src_change_state):
1231 Match _start/_stop calls in the activate functions. Remove redundant
1232 _stop call from the state change function. Fixes #356910.
1233 Turn failure DEBUG into ERROR.
1235 2006-09-22 Wim Taymans <wim@fluendo.com>
1237 * docs/design/part-buffering.txt:
1238 * gst/gstmessage.c: (gst_message_new_buffering),
1239 (gst_message_parse_buffering):
1240 Update docs about buffering.
1242 * docs/design/part-trickmodes.txt:
1245 2006-09-22 Stefan Kost <ensonic@users.sf.net>
1247 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1248 (gst_controller_new_list):
1249 Ref instances when returning them again (fixes #357180)
1251 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
1253 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
1254 Don't forget to release proxy lock when there's an error.
1256 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
1259 Add extra initialisers for Caps things, to fix some plugin warnings
1262 2006-09-18 Wim Taymans <wim@fluendo.com>
1264 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1265 Also set template on the internal pad so that a getcaps from the
1266 target pad returns the template caps.
1268 2006-09-18 Wim Taymans <wim@fluendo.com>
1270 * gst/gstelement.c: (gst_element_post_message),
1271 (gst_element_dispose):
1272 Use _DEBUG_OBJECT some more.
1274 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1277 * tools/gst-launch.c: (main):
1278 If the toplevel element is not a GstPipeline, it must be put in a
1279 pipeline so that a bus and clock is selected.
1281 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
1283 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1284 JITTER, RATE, and LATENCY query should be handled by the
1285 default case and not by the CONVERT query code.
1287 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
1289 * gst/gstformat.c: (gst_format_register):
1290 Fix locking order (must take lock before using n_values).
1292 * gst/gstvalue.c: (gst_value_serialize_enum),
1293 (gst_value_deserialize_enum_iter_cmp),
1294 (gst_value_deserialize_enum):
1295 Fix serialisation/deserialisation of custom registered GstFormats.
1297 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1298 Unit test for custom format serialisation/deserialisation.
1300 2006-09-17 Stefan Kost <ensonic@users.sf.net>
1302 * docs/pwg/building-boiler.xml:
1303 * plugins/elements/gstcapsfilter.c:
1304 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
1307 2006-09-16 Edward Hervey <edward@fluendo.com>
1309 * libs/gst/base/gstbasetransform.c:
1310 (gst_base_transform_buffer_alloc):
1311 Check if requested caps are the same as the sinks caps IF
1312 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
1314 This fixes the renegotiation issues stated in #352827.
1316 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1319 * docs/manual/advanced-autoplugging.xml:
1320 * tests/examples/Makefile.am:
1321 * tests/examples/manual/.cvsignore:
1322 * tests/examples/manual/Makefile.am:
1323 * tests/examples/manual/extract.pl:
1324 Extract the manual examples again like we used to do.
1327 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1329 * win32/common/config.h:
1332 2006-09-16 Stefan Kost <ensonic@users.sf.net>
1335 Documents how to receive errors.
1337 2006-09-15 Wim Taymans <wim@fluendo.com>
1339 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
1340 (event_loop), (main):
1341 Added some comments here and there.
1342 Post an application message when an interrupt is caught instead of doing
1343 an uncontrolled state change.
1344 Clean up the event loop.
1345 Handle buffering messages, pause/resume the pipeline.
1346 Make shutdown because of an interrupt more reliable.
1348 2006-09-15 Wim Taymans <wim@fluendo.com>
1350 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1351 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
1352 (gst_base_sink_preroll_object):
1353 Make sure that our internal state is correct when we commit our state
1354 asynchronously. This solves a race where a state change to PLAYING
1355 could cause the sink to remain blocked in preroll in some situations.
1357 2006-09-15 Wim Taymans <wim@fluendo.com>
1359 * tools/gst-inspect.c: (print_element_properties_info),
1360 (print_signal_info):
1361 List flags as hex so it's easier to deal with.
1363 2006-09-15 Wim Taymans <wim@fluendo.com>
1365 * docs/libs/gstreamer-libs-sections.txt:
1366 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
1367 (gst_base_sink_do_sync):
1368 * libs/gst/base/gstbasesink.h:
1369 Expose logic to wait for preroll so that subclasses such as audiosink
1370 can also use this method.
1371 API: gst_base_sink_wait_preroll()
1373 2006-09-15 Wim Taymans <wim@fluendo.com>
1375 * gst/gstobject.c: (gst_object_set_parent):
1376 * gst/gstpipeline.c: (do_pipeline_seek):
1377 Small cleanups in docs and code.
1379 * gst/gstsegment.c: (gst_segment_clip):
1380 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1381 if stop == start and start is in the segment, no clipping should be
1382 done. Also add a test for this.
1384 2006-09-15 Wim Taymans <wim@fluendo.com>
1386 * docs/design/part-buffering.txt:
1387 * docs/gst/gstreamer-sections.txt:
1388 * gst/gstmessage.c: (gst_message_new_buffering),
1389 (gst_message_parse_buffering):
1391 Added methods to create and parse BUFFERING messages.
1392 Added preliminary docs about buffering.
1393 API: gst_message_new_buffering
1394 API: gst_message_parse_buffering
1396 2006-09-06 Wim Taymans <wim@fluendo.com>
1399 Update documentation.
1401 * gst/gstelement.c: (gst_element_class_init),
1402 (gst_element_release_request_pad), (gst_element_set_clock),
1403 (gst_element_get_index), (gst_element_add_pad),
1404 (gst_element_remove_pad), (gst_element_get_random_pad),
1405 (gst_element_send_event), (gst_element_get_query_types),
1406 (gst_element_query), (gst_element_post_message),
1407 (gst_element_message_full), (gst_element_continue_state),
1408 (gst_element_lost_state), (gst_element_save_thyself),
1409 (gst_element_restore_thyself):
1410 Documentation updates.
1411 Rename last bit of the new-pad -> pad-added signal rename.
1412 Fix the case where an element query would only work if the source
1414 Avoid some useless type checking in message handling.
1419 Documentation updates.
1421 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
1423 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1424 add an INFO line for when we actually update the fd
1426 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
1431 === release 0.10.10 ===
1433 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
1436 releasing 0.10.10, "Pais"
1438 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
1440 * docs/manual/advanced-position.xml:
1441 Fix typo in sample code.
1443 2006-09-05 Wim Taymans <wim@fluendo.com>
1445 * libs/gst/net/gstnetclientclock.c: (inet_aton),
1446 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1447 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
1448 * libs/gst/net/gstnetclientclock.h:
1449 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1450 * libs/gst/net/gstnettimepacket.h:
1451 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
1452 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
1453 (gst_net_time_provider_thread), (gst_net_time_provider_new):
1454 * libs/gst/net/gstnettimeprovider.h:
1455 Make stuff compile on windows. Fixes #345295.
1457 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
1459 * gst/gst.c: (ensure_current_registry_forking):
1460 Print better details when child was terminated by signal.
1462 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
1464 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
1465 Print a warning rather than g_assert() if a plugin feature
1466 is a URI handler but returns no protocols (#353976).
1468 2006-09-02 Stefan Kost <ensonic@users.sf.net>
1470 * docs/random/moving-plugins:
1473 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
1475 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
1476 Fix locking order, handle NULL function values properly.
1481 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1482 Initialise variable before using it and fix debug statement to
1483 print the address of the function rather than the address of the
1484 variable on the stack holding the address of the function.
1486 2006-09-01 Wim Taymans <wim@fluendo.com>
1488 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
1489 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
1490 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
1491 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
1492 (gst_ghost_pad_parent_unset),
1493 (gst_ghost_pad_internal_do_activate_push),
1494 (gst_ghost_pad_internal_do_activate_pull),
1495 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1496 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1497 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
1498 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
1499 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
1500 (gst_ghost_pad_new_no_target_from_template),
1501 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
1503 Avoid needless typechecking in macros.
1504 Since the internal pad is always present and never changes, there is
1505 no need to locking or ref when retrieving it.
1506 Improve debugging a bit.
1507 Handle link errors when setting the target. Fixes #341029.
1509 2006-09-01 Wim Taymans <wim@fluendo.com>
1511 * docs/libs/gstreamer-libs-sections.txt:
1512 * docs/plugins/gstreamer-plugins-sections.txt:
1515 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1516 (gst_collect_pads_event):
1517 * libs/gst/base/gstcollectpads.h:
1518 Documentation updates.
1519 Free queued buffer when removing a pad.
1521 2006-08-31 Michael Smith <msmith@fluendo.com>
1523 * gst/gstutils.c: (gst_element_link_pads),
1524 (gst_element_link_pads_filtered):
1525 Ensure that we set a capsfilter to NULL if we failed to link it
1526 when doing filtered linking, to avoid criticals.
1528 No need to check for unreffing srcpad, which is explicly NULLed
1529 above (a trivial code cleanup).
1531 2006-08-31 Wim Taymans <wim@fluendo.com>
1533 * docs/design/part-gstghostpad.txt:
1534 Update ascii art in documentation.
1536 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
1537 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
1538 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1539 (gst_ghost_pad_internal_do_activate_push),
1540 (gst_ghost_pad_internal_do_activate_pull),
1541 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1542 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1543 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
1544 (gst_ghost_pad_set_target):
1545 Small cleanups and leak fixes.
1546 Remove some checks now that the internal pad is never NULL.
1547 Fix the case where linking pads without a target would create nasty
1548 criticals. Fixes #341029.
1549 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
1550 value of _set_target().
1552 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1553 (gst_ghost_pad_suite):
1554 Some more tests for creating and linking untargeted ghostpads.
1556 2006-08-31 Edward Hervey <edward@fluendo.com>
1558 * docs/gst/gstreamer-sections.txt:
1559 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
1560 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1561 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
1562 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
1563 (gst_ghost_pad_new_from_template),
1564 (gst_ghost_pad_new_no_target_from_template):
1565 * gst/gstghostpad.h:
1566 Refactored *_new() functions.
1567 Templates are now used as a g_object_new() parameter.
1568 Use template in _do_getcaps() if we don't have a target.
1569 Small documentation cleanups.
1570 Added two new constructors:
1571 gst_ghost_pad_new_from_template()
1572 gst_ghost_pad_new_no_target_from_template()
1573 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1574 (gst_ghost_pad_suite):
1575 Added tests for new ghostpad instanciation functions.
1577 API additions: gst_ghost_pad_new_from_template,
1578 gst_ghost_pad_new_no_target_from_template
1580 2006-08-30 Stefan Kost <ensonic@users.sf.net>
1582 * docs/random/ensonic/profiling.txt:
1583 Ideas about qos profiling.
1585 2006-08-29 Wim Taymans <wim@fluendo.com>
1587 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1591 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
1594 Improve and detypofy docs.
1596 * tests/check/Makefile.am:
1597 * tests/check/gst/.cvsignore:
1598 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
1599 Add a basic test suite for GstXML.
1601 2006-08-29 Wim Taymans <wim@fluendo.com>
1603 * gst/gstelement.c: (activate_pads), (clear_caps),
1604 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1605 Clear the pad caps when the element shut down all of the pads and
1606 is not streaming data that could modify the caps.
1609 2006-08-28 Michael Smith <msmith@fluendo.com>
1611 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1612 Revert previous change; I misunderstood single-segment mode.
1614 2006-08-28 Michael Smith <msmith@fluendo.com>
1616 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1617 Unset DISCONT on buffers when using single-segment mode.
1619 2006-08-28 Wim Taymans <wim@fluendo.com>
1621 * gst/gstcaps.c: (gst_caps_merge_structure):
1623 Fix docs and indentation again.
1625 * tests/check/gst/gstquery.c: (GST_START_TEST):
1626 Fix leak in tests and add some more tests.
1628 2006-08-28 Edward Hervey <edward@fluendo.com>
1630 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1631 Inform GstSegment of the last stop position in order for the current
1632 segment to have a proper duration if it doesn't have a specific stop
1633 position from which a duration could be calculated.
1634 This bug was noticeable when a non-flushing, non-update new segment was
1635 followed by another segment (all buffers from the new segment were being
1638 2006-08-28 Wim Taymans <wim@fluendo.com>
1640 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1641 Small comment update.
1643 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1644 (gst_identity_transform_ip):
1645 Drop-probability is broken, mention this in the code with a
1646 FIXME and also in the property description.
1647 Make silent also be silent about the drop messages.
1649 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
1651 * docs/manual/appendix-win32.xml:
1652 Remove mention of popt, we don't depend on that any
1653 longer (#353136). Add some comments pointing out that
1654 this section is slightly outdated.
1656 2006-08-28 Wim Taymans <wim@fluendo.com>
1658 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1660 * gst/gstquery.c: (gst_query_new_segment):
1661 * tests/check/gst/gstquery.c: (GST_START_TEST):
1662 Initialize variables when creating a new segment query.
1665 2006-08-28 Wim Taymans <wim@fluendo.com>
1667 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1669 * gst/gstelement.c: (gst_element_get_bus):
1670 * tests/check/gst/gstelement.c: (GST_START_TEST):
1671 Check for NULL before _reffing the bus. Fixes #353122.
1673 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
1675 * docs/manual/basics-bus.xml:
1676 Docs update: fix wrong callback return value explanation; add
1677 some lines about the implicit relationship between main loop
1678 and main context; remove duplicate main loop variable declaration.
1680 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
1682 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1683 Don't leak caps in unit test; add a few more simple
1686 2006-08-24 Stefan Kost <ensonic@users.sf.net>
1688 * docs/gst/gstreamer-sections.txt:
1689 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1690 (gst_caps_structure_is_subset), (gst_caps_merge),
1691 (gst_caps_merge_structure):
1693 * libs/gst/base/gstbasetransform.c:
1694 (gst_base_transform_transform_caps):
1695 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1696 implement caps merging (fixes #352580)
1698 2006-08-23 Stefan Kost <ensonic@users.sf.net>
1700 * tools/Makefile.am:
1701 * tools/gst-plot-timeline.py:
1702 add debug-log plotting developer tool (#340674)
1704 2006-08-23 Wim Taymans <wim@fluendo.com>
1706 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1707 (gst_pad_stop_task):
1708 Improve debugging for task functions.
1710 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1711 (gst_task_start), (gst_task_pause), (gst_task_join):
1712 Make sure that the task function started and finished after a
1714 Don't try to push the task function on the threadpool multiple
1716 Improve the g_warning message with some useful suggestions
1717 about how to fix the problem.
1719 2006-08-23 Wim Taymans <wim@fluendo.com>
1721 * gst/gstutils.c: (gst_pad_proxy_getcaps):
1722 Handle RESYNC correctly in _proxy_getcaps.
1724 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
1726 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1727 (gst_xml_parse_memory), (gst_xml_get_element):
1728 Chain up to parent class in dispose function and also
1729 unref the elements in the toplevel_elements GList.
1730 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1731 Always return a reference in gst_xml_get_element() rather
1732 than only sometimes.
1734 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1735 Don't leak GstXml object.
1737 2006-08-21 Stefan Kost <ensonic@users.sf.net>
1739 * docs/gst/gstreamer-sections.txt:
1740 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1743 * libs/gst/base/gstbasetransform.c:
1744 (gst_base_transform_transform_caps):
1745 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1748 2006-08-21 Edward Hervey <edward@fluendo.com>
1750 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1751 Implement GObject::dispose virtual method in GstXML so we can free the
1754 2006-08-21 Wim Taymans <wim@fluendo.com>
1756 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1757 (gst_buffer_create_sub):
1758 Copy duration/offset_end/caps when creating a subbuffer of the
1760 Make the subbuffer read-only when we make the metadata writable for
1763 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1764 Added check for metadata copy when creating subbuffers.
1766 2006-08-21 Edward Hervey <edward@fluendo.com>
1768 * libs/gst/base/gstbasetransform.c:
1769 (gst_base_transform_buffer_alloc):
1770 Only call downstream buffer_alloc if transform element is passthrough
1771 or always_in_place. Closes #350449.
1773 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1776 ChangeLog surgery to add comments to previous changes
1778 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1783 * gst/gstpad.c: (gst_pad_set_active):
1784 Be more verbose in the log
1786 * libs/gst/base/gstbasetransform.c:
1787 (gst_base_transform_transform_caps):
1788 Simplify caps to get rid of duplicates, fixes #345444
1790 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1794 Use these optimizations only internally.
1796 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1798 * gst/gstvalue.c: (gst_value_compare_list),
1799 (gst_value_compare_fraction_range),
1800 (gst_value_intersect_fraction_fraction_range),
1801 (gst_value_intersect_fraction_range_fraction_range),
1802 (gst_value_subtract_fraction_fraction_range),
1803 (gst_value_subtract_fraction_range_fraction_range),
1804 (gst_value_get_compare_func), (gst_value_compare),
1805 (gst_value_compare_with_func):
1807 Saves the expensive lookup of the compare function in many cases
1810 2006-08-18 Edward Hervey <edward@fluendo.com>
1812 * tests/check/gst/gstinfo.c: (gst_info_suite):
1813 Disable test that require gstdebug if it wasn't built in core.
1815 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1817 * docs/random/ensonic/logging.txt:
1820 * gst/gstinfo.c: (gst_debug_log_default):
1821 reorder fields, save some columns, add optional color codes for log
1824 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1826 * docs/random/ensonic/logging.txt:
1827 add ideas about making the logs a bit more useful
1829 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1831 * docs/pwg/advanced-events.xml:
1832 * docs/pwg/titlepage.xml:
1833 Update for 0.10 API (#340627). Add myself
1836 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1838 * docs/libs/gstreamer-libs-docs.sgml:
1839 * docs/libs/gstreamer-libs-sections.txt:
1840 * libs/gst/check/gstbufferstraw.c:
1841 Make gstcheck stuff show up in docs (still needs to
1842 be documented properly though).
1844 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
1846 * docs/gst/gstreamer-sections.txt:
1848 * gst/gst.c: (init_post):
1849 * gst/gst_private.h:
1850 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1852 * gst/gstquery.c: (gst_query_new_position),
1853 (gst_query_set_position), (gst_query_parse_position),
1854 (gst_query_new_duration), (gst_query_set_duration),
1855 (gst_query_parse_duration), (gst_query_new_convert),
1856 (gst_query_set_convert), (gst_query_parse_convert),
1857 (gst_query_new_segment), (gst_query_set_segment),
1858 (gst_query_parse_segment), (gst_query_new_seeking),
1859 (gst_query_set_seeking), (gst_query_parse_seeking):
1860 Add internal helpers for pre-registering quarks from static strings
1861 and using the quark values directly instead of looking them up when
1862 creating and parsing queries. Can be used for event construction too.
1865 2006-08-16 Wim Taymans <wim@fluendo.com>
1870 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1872 * gst/gstutils.c: (gst_util_set_value_from_string):
1873 Fix memleak (#351502).
1875 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1876 Add unit test for most of gst_util_set_value_from_string()
1877 (not that one would want to encourage use of this function).
1879 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1881 * libs/gst/check/gstcheck.h:
1882 Use const gchar * variables in fail_unless_equals_string
1883 macro to avoid compiler warnings (and don't use tabs for
1886 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1888 * tools/gst-launch.c: (print_tag):
1889 More space on the left for the tag names, to cater
1890 for the 'extended comment' tag (not touching the
1891 string for the first line since it's translated).
1893 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1895 * libs/gst/check/gstcheck.h:
1896 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1897 print something when they fail.
1899 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1901 * docs/gst/gstreamer-sections.txt:
1902 * gst/gsttaglist.c: (_gst_tag_initialize):
1904 API: add GST_TAG_EXTENDED_COMMENT (#350935).
1905 Also change merge function for GST_TAG_COMMENT to
1908 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1910 * gst/gstinfo.c: (gst_debug_print_object):
1911 Make GST_PTR_FORMAT print messages as well.
1913 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1914 (GST_START_TEST), (gst_info_suite):
1917 2006-08-14 Edward Hervey <edward@fluendo.com>
1919 * gst/gstelementfactory.c: (gst_element_register):
1920 If the GstElementClass doesn't have a GstElementDetails with all fields
1921 filled up correctly (longname, description AND author), then error out
1922 nicely instead of crashing.
1924 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1926 * gst/gststructure.c:
1927 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1930 Expand on the difference between arrays and lists as we use them.
1932 2006-08-14 Wim Taymans <wim@fluendo.com>
1934 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1935 If the parent state change function failed, don't assume we can safely
1936 stop the source, this will be done when the pads are deactivated.
1938 2006-08-14 Wim Taymans <wim@fluendo.com>
1941 * gst/gsttask.c: (gst_task_join):
1944 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1945 (gst_pad_stop_task):
1946 When pad (de)activation failed for some reason, restore the old
1947 activation mode and set the pad to flushing instead of assuming the
1949 If the _task_join() failed, reinstall the task on the pad so that it can
1950 be stopped later and return an error.
1952 2006-08-11 Andy Wingo <wingo@pobox.com>
1955 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1956 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1957 is only for users of API that don't want to see deprecated
1958 functions in the headers; people that want to compile out
1959 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1960 CFLAGS. Fixes the build of multifdsink, or will soon..
1962 2006-08-11 Wim Taymans <wim@fluendo.com>
1964 * docs/gst/gstreamer-sections.txt:
1965 Add GstClockClass vmethod docs.
1968 Mark #endif with comment for associated #if
1970 * gst/gstclock.c: (gst_clock_id_wait):
1972 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1973 most clock implementations.
1975 Flesh out docs about resolution methods.
1976 API: GstClockClass::wait_jitter
1978 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1979 (gst_system_clock_async_thread),
1980 (gst_system_clock_id_wait_jitter_unlocked),
1981 (gst_system_clock_id_wait_jitter):
1982 Use base class wait_jitter variant for improved performance
1983 due to less clock polling.
1985 2006-08-11 Edward Hervey <edward@fluendo.com>
1987 * gst/gst.c: (gst_init_check), (init_post):
1988 Set gst as being initialized before scanning/updating the registry,
1989 since there might be my python plugin loader that calls gst_init() and
1990 we don't want to loop back in.
1993 2006-08-11 Wim Taymans <wim@fluendo.com>
1995 * docs/design/part-qos.txt:
1996 Bring docs in line with the code. Mostly the sign of the jitter was
1997 wrong in the docs. Fixes #349943.
2000 Fix the docs for the jitter.
2002 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
2003 (gst_event_parse_tag), (gst_event_new_buffer_size),
2004 (gst_event_parse_buffer_size), (gst_event_parse_qos),
2005 (gst_event_new_seek), (gst_event_parse_seek),
2006 (gst_event_new_navigation):
2007 Make sure the GstStructure has no parent when creating custom
2009 Add some more argument checking so that we avoid 0.0 rates.
2010 Flesh out the docs for the QoS event some more.
2012 2006-08-11 Wim Taymans <wim@fluendo.com>
2014 * docs/gst/gstreamer-sections.txt:
2015 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2016 (ensure_current_registry_forking), (ensure_current_registry),
2017 (parse_one_option), (parse_goption_arg), (gst_deinit),
2018 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
2021 Added API and command line option to disable registry forking in
2022 addition to the environment variable.
2023 Constify some static arrays.
2024 Added some more debug.
2026 API: gst_registry_fork_is_enabled()
2027 API: gst_registry_fork_set_enabled()
2028 API: --gst-disable-registry-fork command line option
2031 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
2033 * gst/gst.c: (gst_init):
2034 Fix typo in error message.
2036 2006-08-10 Stefan Kost <ensonic@users.sf.net>
2038 * libs/gst/controller/gstcontroller.h:
2039 fix ABI size-correction
2041 * tests/check/libs/gdp.c: (gst_dp_suite):
2042 make tests that use deprecated API conditional
2044 2006-08-10 Stefan Kost <ensonic@users.sf.net>
2046 * docs/libs/gstreamer-libs-sections.txt:
2047 * libs/gst/controller/gstcontroller.c:
2048 (_gst_controller_get_property), (_gst_controller_set_property),
2049 (_gst_controller_init), (_gst_controller_class_init):
2050 * libs/gst/controller/gstcontroller.h:
2051 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
2052 (gst_object_set_control_rate):
2053 API: add gst_object_{s,g}et_control_rate(), add private data section,
2056 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
2057 * libs/gst/dataprotocol/dataprotocol.h:
2058 add deprecation guards to make gtk-doc happy and allow disabling cruft
2060 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
2062 * tests/check/Makefile.am:
2063 * tests/check/gst/.cvsignore:
2064 Let's enable the new unit test as well.
2066 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
2069 * docs/gst/gstreamer-sections.txt:
2070 * gst/gstconfig.h.in:
2071 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
2072 (_gst_info_printf_extension_ptr),
2073 (_gst_info_printf_extension_segment):
2074 API: add GST_SEGMENT_FORMAT, which is a printf extension we
2075 register that lets us easily dump GstSegments into debug
2078 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
2079 (info_segment_format_printf_extension), (gst_info_suite):
2080 Add simple unit test that logs a bunch of different segments (not
2081 valgrinded at the moment because of leaks in
2082 gst_debug_add_log_function).
2084 2006-08-09 Edward Hervey <edward@fluendo.com>
2086 * libs/gst/base/gstbasetransform.c:
2087 (gst_base_transform_buffer_alloc):
2088 Even if we can't figure out the proper format to request downstream,
2089 call buffer_alloc() downstream with the input parameters without setting
2090 the caps on the srcpad. This will force negotiation in the chain
2094 2006-08-08 Edward Hervey <edward@fluendo.com>
2096 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2097 Unlinking from a pad without a target is now a perfectly valid case
2098 which should NOT raise an assertion.
2099 This case would happen if a linked ghostpad its target set to NULL after
2100 it was previously linked.
2102 2006-08-08 Edward Hervey <edward@fluendo.com>
2104 * tests/check/libs/gdp.c:
2105 Also comment out the test (see below).
2107 2006-08-08 Edward Hervey <edward@fluendo.com>
2109 * tests/check/libs/gdp.c: (gst_dp_suite):
2110 Use the architecture information from config.h and not gcc macros
2111 in order to properly disable a test that fails on PPC64.
2113 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
2115 * gst/gstelement.c: (gst_element_remove_pad):
2116 Don't crash printing the warning if the pad has no parent.
2118 2006-08-02 Wim Taymans <wim@fluendo.com>
2120 * libs/gst/dataprotocol/dataprotocol.c:
2121 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2122 (gst_dp_crc), (gst_dp_header_payload_length),
2123 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
2124 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
2125 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
2126 (gst_dp_event_from_packet), (gst_dp_validate_header),
2127 (gst_dp_validate_payload):
2128 Make debug category static
2129 Constify the crc table.
2130 Do some more arg checking in public functions.
2131 Fix some docs and do some small cleanups.
2133 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
2134 Add some more checks to see if GDP deals with bogus input.
2136 2006-07-31 Wim Taymans <wim@fluendo.com>
2138 * gst/gstvalue.c: (gst_value_compare_list):
2139 Fix GstValueList comparison code. Fixes #347293.
2141 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2142 Check to test GstValueList comparison.
2144 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2146 * gst/gstelementfactory.c: (gst_element_factory_create):
2147 Remove unnecessary ref/unref pair
2149 * gst/parse/grammar.y:
2150 Make sure to free the parse buffer on all code paths.
2151 Move a g_free up to the error handler where it's easier to see.
2153 * tests/check/gst/gstevent.c: (test_event):
2154 Extending timeout for downstream travelling events to 10 seconds to
2155 hopefully avoid intermittent failure on the buildbots.
2157 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
2158 Don't manually set the state of the src element - it will happen as a
2159 natural consequence of the pipeline changing state, and that way it
2160 will do it in the right order too.
2162 2006-07-31 Wim Taymans <wim@fluendo.com>
2164 * libs/gst/base/gstbasetransform.c:
2165 (gst_base_transform_buffer_alloc):
2166 Use OBJECT_LOCK and refcounting to get the pad caps in the
2167 buffer_alloc function because the caps could change while we are
2168 busy with them. Fixes #349105
2170 2006-07-31 Wim Taymans <wim@fluendo.com>
2172 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
2173 Protect _PAD_CAPS with OBJECT_LOCK.
2175 2006-07-31 Wim Taymans <wim@fluendo.com>
2177 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2178 (gst_pad_get_property), (gst_pad_activate_pull),
2179 (gst_pad_activate_push), (gst_pad_set_blocked_async),
2180 (gst_pad_set_activate_function),
2181 (gst_pad_set_activatepull_function),
2182 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
2183 (gst_pad_set_getrange_function),
2184 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
2185 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2186 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
2187 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
2188 (gst_pad_set_acceptcaps_function),
2189 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
2190 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
2191 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
2192 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
2193 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
2194 (gst_pad_configure_sink), (gst_pad_configure_src),
2195 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
2196 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
2197 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
2198 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
2199 (gst_pad_send_event):
2200 Use _DEBUG_OBJECT when it makes sense.
2201 Protect GST_PAD_CAPS with the OBJECT_LOCK.
2202 Small cleanups and code reflows.
2203 Avoid caps refcounting in _accept_caps.
2204 Refactor alloc_buffer so that the code performed on the peer is in a
2205 separate function. Also if the pad does not implement a buffer alloc
2206 function, we should still check if the pad is flushing before falling
2207 back to the default allocator.
2209 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2211 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2212 Make all uses of identity and fakesink have silent=true to avoid
2213 serialising every passing data structure, which is breaking tests
2214 on FC4 for some unknown reason.
2216 2006-07-30 Stefan Kost <ensonic@users.sf.net>
2218 * gst/parse/Makefile.am:
2219 * gst/parse/grammar.y:
2220 * gst/parse/parse.l:
2221 Reverted previous patch as it required to bump the flex dependency to
2222 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
2224 2006-07-30 Stefan Kost <ensonic@users.sf.net>
2226 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
2228 * gst/parse/Makefile.am:
2229 * gst/parse/grammar.y:
2230 * gst/parse/parse.l:
2231 push & pop the state of the lexer for reentrant use case
2234 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
2236 * libs/gst/base/gstbasesrc.h:
2237 Note in the docs that the ::newsegment vfunc is not actually used by
2240 2006-07-28 Wim Taymans <wim@fluendo.com>
2242 * libs/gst/base/gstcollectpads.c:
2243 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
2244 (gst_collect_pads_clear), (gst_collect_pads_flush),
2245 (gst_collect_pads_event), (gst_collect_pads_chain):
2246 When flushing a pad, also clear the queued buffer so that we don't
2247 accidentally use it when we shouldn't.
2248 Fix leaks by inreffing incomming buffer.
2249 Flush out queued buffers in case of errors.
2252 2006-07-28 Wim Taymans <wim@fluendo.com>
2254 * docs/random/phonon-gst:
2255 Random notes about a Phonon backend.
2257 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
2259 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2261 * tests/check/libs/gdp.c: (gst_dp_suite):
2262 Take a whack at fixing the ppc compile using a different define to
2263 disable the broken test.
2265 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2266 Remove excess g_print()
2268 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
2270 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2271 Oops, meant to uncomment this line too to dampen the noise a bit.
2273 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
2275 * gst/parse/grammar.y:
2276 * gst/parse/parse.l:
2277 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
2278 (GST_START_TEST), (parse_suite):
2279 Fix some of the leaks exposed by extending the parse-launch testsuite,
2280 and move the 3 I can't figure out into a separate test that won't run
2281 the pipelines unless the appropriate line is uncommented.
2283 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
2285 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2286 Requesting 0 bytes before the end of the file should result in
2287 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
2290 2006-07-27 Wim Taymans <wim@fluendo.com>
2292 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
2293 Fix useless assert, a uint is always positive.
2295 * gst/gststructure.c: (gst_structure_nth_field_name),
2296 (gst_structure_foreach), (gst_structure_map_in_place):
2297 Check input arguments for public functions to avoid obvious crashes.
2299 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
2300 * plugins/elements/gstfakesink.h:
2301 Do less useless typechecking.
2303 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
2305 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2306 Do not use mmap() by default since there are a number of error
2307 conditions that we would like to handle in a non-fatal way that
2308 will result in a SIGBUS if we use mmap(). Examples: external
2309 devices (USB harddrive, portable music player) being unplugged
2310 while in use; file on mounted CD/DVD that can't be read because
2311 the medium is partly damaged. Fixes #348455 and #348475.
2313 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
2316 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
2319 2006-07-26 Stefan Kost <ensonic@users.sf.net>
2321 * gst/gstregistry.c:
2322 Move big documentation comment into class section header, so that it
2323 appears in the API docs.
2325 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2327 * docs/gst/gstreamer-sections.txt:
2328 Oops. Commit the docs additions too for new API.
2329 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
2331 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2333 * gst/gststructure.c: (gst_structure_id_set),
2334 (gst_structure_id_set_valist):
2335 * gst/gststructure.h:
2336 Add API for setting values into structures without performing
2337 a quark lookup, if the appropriate quark is already known.
2339 API: gst_structure_id_set
2340 API: gst_structure_id_set_valist
2342 * gst/parse/grammar.y:
2343 * gst/parse/parse.l:
2344 Remove some dead code shown by the coverage information.
2345 Don't throw a critical g_warning when encountering a syntax error,
2346 just warn and let the normal error path handle it.
2348 * plugins/elements/gstelements.c:
2349 Bump the rank of filesink up to PRIMARY so that it is preferred over
2350 gnomevfssink for file:// sink uri's
2352 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
2353 (GST_START_TEST), (run_delayed_test),
2354 (gst_parse_test_element_base_init),
2355 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
2356 (gst_parse_test_element_change_state),
2357 (gst_register_parse_element), (parse_suite):
2358 Beef up the tests for parse syntax to check that more error cases
2359 fail as they are supposed to. Increases the test coverage a bit.
2361 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
2363 * docs/manual/basics-elements.xml:
2364 Fix gst_element_link() example.
2367 Mention in API docs that one should usually gst_bin_add()
2368 elements to a bin or pipeline before doing the linking.
2370 2006-07-26 Wim Taymans <wim@fluendo.com>
2372 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
2373 (gst_subbuffer_get_type), (gst_buffer_create_sub):
2374 Avoid function call for known types by keeping the buffer and
2375 subbuffer GType global.
2377 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2378 Random silly optimisations in read() path.
2380 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2382 * tools/gst-launch.c: (main):
2383 If the top-level of the parse is a normal bin, it doesn't do the
2384 right logic to run as a top-level element, so place it inside a
2387 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
2389 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
2390 Remove superfluous g_object_notify() calls, GObject does
2391 that for us automatically.
2393 2006-07-25 Stefan Kost <ensonic@users.sf.net>
2396 on Win32, use dllspec to export the debug category symbols
2398 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
2400 * gst/gsttaglist.c: (_gst_tag_initialize):
2401 Allow more than one GST_TAG_IMAGE per taglist.
2403 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
2405 * gst/gstminiobject.c:
2407 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
2408 (gst_fd_src_create):
2409 log recurring events at LOG level
2410 add more debug for when the fd gets set
2412 2006-07-21 Stefan Kost <ensonic@users.sf.net>
2414 * gst/gstparse.c: (gst_parse_launch):
2415 Also remove reentrance checks if flex is MT safe (#348179)
2416 Fix my empty ChangeLog entry below
2418 2006-07-21 Andy Wingo <wingo@pobox.com>
2420 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
2422 * libs/gst/check/Makefile.am
2423 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
2424 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
2425 * libs/gst/check/gstbufferstraw.h:
2426 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
2427 functions, thus proving I am still a GStreamer haxor. OK I wrote
2428 them a long time ago, but anyways.
2430 2006-07-21 Stefan Kost <ensonic@users.sf.net>
2433 * gst/gstparse.c: (gst_parse_launch):
2434 Check for flex version and omit mutex if we have a MT save flex
2437 2006-07-21 Wim Taymans <wim@fluendo.com>
2439 * gst/gstparse.c: (gst_parse_launch):
2440 Protect recursive calls to _parse with a recursive mutex
2443 2006-07-21 Wim Taymans <wim@fluendo.com>
2445 * tests/check/gst/gstpad.c: (GST_START_TEST):
2448 2006-07-20 Stefan Kost <ensonic@users.sf.net>
2450 * gst/gstparse.c: (gst_parse_launch):
2451 Do not hang on recursive usage of gst_parse_launch()
2453 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
2456 Add some more docs, comments and FIXME 0.11s here and there
2457 and also fix some typos.
2459 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
2462 Convert tabs to spaces for better readability.
2464 2006-07-20 Edward Hervey <edward@fluendo.com>
2466 * tests/check/libs/gdp.c: (gst_dp_suite):
2467 the test_buffer test fails at line 140 on ppc64 at the following
2469 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
2470 GST_BUFFER_FLAG_IN_CAPS),
2471 "GST_BUFFER_IN_CAPS flag should have been copied !");
2472 See bug #348114 for more details.
2474 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
2476 * docs/pwg/advanced-scheduling.xml:
2478 Fix typos (#348000).
2480 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
2482 * docs/pwg/intro-basics.xml:
2483 Fix wrong links (#347927).
2485 2006-07-18 Stefan Kost <ensonic@users.sf.net>
2487 * gst/gstregistry.h:
2488 * gst/gstregistryxml.c: (load_feature),
2489 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
2490 * win32/common/config.h:
2491 make --disable-index work (#342564)
2493 2006-07-18 Wim Taymans <wim@fluendo.com>
2495 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2499 The attached patch adds two missing defines to gsttrace.h when tracing
2500 is disabled. It also corrects one existing define.
2503 2006-07-17 Wim Taymans <wim@fluendo.com>
2505 * docs/gst/gstreamer-sections.txt:
2506 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
2508 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
2509 Add two functions to check and change the SIGSEGV behaviour
2510 when loading plugins.
2511 Don't mess with the SIGSEGV handler when we were told not to.
2513 API: gst_segtrap_is_enabled
2514 API: gst_segtrap_set_enabled
2516 2006-07-14 Wim Taymans <wim@fluendo.com>
2518 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2519 * tests/check/elements/filesrc.c: (GST_START_TEST):
2520 Revert fix for regression in #347408 after release.
2522 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
2524 Patch by: Antoine Tremblay <hexa00 at gmail com>
2526 * gst/gstutils.c: (gst_element_unlink):
2527 Free iterator when done (#347311).
2529 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2530 And add a test case for this.
2532 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
2535 Bump nano back to CVS
2537 === release 0.10.9 ===
2539 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2542 releasing 0.10.9, "On the road again"
2544 2006-07-13 Wim Taymans <wim@fluendo.com>
2546 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2547 * tests/check/elements/filesrc.c: (GST_START_TEST):
2548 Revert pull-0 fix for release. Disable check. Fixes #347408.
2550 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2552 * libs/gst/dataprotocol/dataprotocol.c:
2553 (gst_dp_event_from_packet_1_0):
2554 Fixes #347337: failure to deserialize event packets with
2555 empty payload (only event type)
2557 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2560 do not install a .c file in the header directory
2562 2006-07-13 Edward Hervey <edward@fluendo.com>
2564 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
2565 GhostPad no longer implicitely use the padtemplates of the targets.
2568 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
2570 * gst/gstvalue.c: (gst_value_compare_list),
2571 (gst_value_compare_array), (_gst_value_initialize):
2572 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2573 Make GstValueArray comparison be order dependent as designed.
2574 Add checks for value lists and value array comparisons.
2577 2006-07-11 Edward Hervey <edward@fluendo.com>
2579 * gst/gstbin.c: (activate_pads),
2580 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
2581 (gst_bin_change_state_func):
2582 (de)activate src pads before calling state_change on the childs.
2583 This is to avoid the case where a src ghostpad is blocked (holding the
2584 stream lock), which would block the deactivation of the ghostpad's
2586 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
2587 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
2588 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
2589 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2590 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2591 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2592 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2593 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
2594 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
2595 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2596 (gst_ghost_pad_class_init),
2597 (gst_ghost_pad_internal_do_activate_push),
2598 (gst_ghost_pad_internal_do_activate_pull),
2599 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2600 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2601 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
2602 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
2603 GhostPads now create their internal GstProxyPad at creation (and not
2604 when they're linked, as it was being done previously).
2605 The internal and target pads are linked straight away.
2606 The data will also travel through the other pad in order to make
2607 pad blocking and probes non-hackish (the probe/block now really happens
2608 on the GhostPad and not on the target).
2609 * gst/gstpad.c: (gst_pad_set_blocked_async),
2610 (gst_pad_link_prepare), (gst_pad_push_event):
2611 Remove previous ghostpad cruft.
2612 * gst/gstutils.c: (gst_pad_add_data_probe),
2613 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2614 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2615 (gst_pad_remove_buffer_probe):
2616 Remove previous ghost pad cruft.
2617 Added more detailed debug statements.
2618 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2619 Fix the testsuite for refcounting changes.
2620 The comments about who has references were correct, but the refcount
2621 being checked wasn't the same (!?!).
2625 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2627 * docs/gst/gstreamer-sections.txt:
2628 * gst/gstconfig.h.in:
2629 More docs for configuration options, add docs to gtk-doc.
2631 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2634 * gst/gstconfig.h.in:
2635 * win32/common/config.h:
2636 Fix build when disabling tracing (fixes #344016). Also start to document
2637 the defines that disable the sub-systems.
2639 2006-07-10 Edward Hervey <edward@fluendo.com>
2641 * gst/gst.c: (ensure_current_registry_forking):
2642 let's make valgrind happy...
2644 2006-07-09 Wim Taymans <wim@fluendo.com>
2646 * gst/gstelement.c: (activate_pads),
2647 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2648 Better pad activation code: Reset the collect value too on resync.
2651 2006-07-09 Wim Taymans <wim@fluendo.com>
2653 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2654 (gst_pad_activate_push):
2655 Use some more macros where it makes sense.
2656 Allow pad mode switching instead of asserting. When a pad
2657 is activated in one mode and we activate it in another,
2658 deactivate it first before activating it in a different mode.
2661 2006-07-08 Andy Wingo <wingo@pobox.com>
2663 * tools/gst-launch.c (main): Handle err == NULL.
2665 * gst/gst.c (init_post, ensure_current_registry)
2666 (ensure_current_registry_forking)
2667 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2668 factoring out the registry scanning into separate functions. Don't
2669 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2670 Better environment var name/interface suggestions accepted.
2672 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2674 * gst/gstobject.c: (gst_object_set_name_default),
2675 (gst_object_set_name):
2676 Random micro-optimisation: don't use a hash table
2677 with strings as keys and the usual strdup/strcmp
2678 involved, but rather just use the GQuark of the
2679 type name as key, since it needs to be looked up
2680 anyway to get the type name string.
2682 * tests/check/gst/gstobject.c: (GST_START_TEST):
2685 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2687 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2688 (gst_bin_iterate_all_by_interface):
2689 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2690 GTypes are gulongs and thus the top 4 bytes might be cut
2691 off on some platforms when doing GPOINTER_TO_INT, leading
2692 to invalid GTypes and bad things happening (see RH bug #179654).
2693 Also add a check to make sure the type passed in is really
2696 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2701 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2705 * gst-element-check.m4:
2706 * gst-element-check.m4.in:
2707 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2708 instead of the unversioned gst-inspect (#324176, #168659).
2710 2006-07-06 Wim Taymans <wim@fluendo.com>
2713 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2716 2006-07-06 Wim Taymans <wim@fluendo.com>
2718 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2719 (gst_base_src_wait), (gst_base_src_update_length),
2720 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2721 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2722 (gst_base_src_loop), (gst_base_src_start),
2723 (gst_base_src_activate_pull):
2725 blocksize == 0 now means the default blocksize when working in push
2727 Remove some pointless asserts in _wait function.
2728 Fix offset/length calculations and EOS handling. We can now pull 0
2729 bytes as well, which is allowed.
2730 use _check_get_range() to decide if we can operate in _pull based
2732 Fix refcounting leak when check_get_range function was not
2734 API GstBaseSrc::blocksize range can be 0 too now (default)
2736 * tests/check/elements/filesrc.c: (GST_START_TEST),
2738 Added check to test _get_range() behaviour.
2740 2006-07-06 Wim Taymans <wim@fluendo.com>
2742 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2743 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2744 (gst_pad_pull_range):
2746 Lots of comments and docs added to the pad functions.
2747 Flesh out the expected behaviour of the get_range() functions.
2749 2006-07-06 Wim Taymans <wim@fluendo.com>
2754 * gst/gstiterator.h:
2758 Remove comma at end of enumerator list.
2760 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
2762 * win32/common/libgstbase.def:
2763 * win32/common/libgstdataprotocol.def:
2764 * win32/common/libsgtreamer.def:
2765 Add new exported functions.
2767 2006-07-05 Wim Taymans <wim@fluendo.com>
2769 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2770 Add some more docs here and there.
2772 2006-07-05 Wim Taymans <wim@fluendo.com>
2774 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2775 (gst_base_sink_loop), (gst_base_sink_get_position):
2776 When operating in pull mode update the offset so that we
2779 2006-07-05 Wim Taymans <wim@fluendo.com>
2781 * gst/gstregistryxml.c: (read_string):
2782 Avoid strdup. (will happen in libxml, but hey!)
2787 2006-07-05 Wim Taymans <wim@fluendo.com>
2789 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2790 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2792 No point in checking if the size of the subbuffer > 0, the
2793 code handles it correclty as demonstrated by unit test.
2794 Also add a unit test for the zero sized _new_and_alloc and
2795 _copy. Fixes #346663.
2797 2006-07-05 Wim Taymans <wim@fluendo.com>
2799 * libs/gst/base/gstbasetransform.c:
2800 (gst_base_transform_prepare_output_buffer),
2801 (gst_base_transform_buffer_alloc),
2802 (gst_base_transform_handle_buffer):
2803 Make sure the buffer we pass to transform_ip has a refcount of
2804 1 and thus is writable. Fixes #343196
2806 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
2808 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2809 (gst_file_src_init), (gst_file_src_set_property),
2810 (gst_file_src_get_property), (gst_file_src_map_region):
2811 * plugins/elements/gstfilesrc.h:
2812 Add "sequential" property, off by default, to use madvise and hint
2813 to the kernel that sequential access is desired.
2814 Touch all retrieved pages by default to ensure they are pulled
2815 into memory. (Closes #345720)
2817 2006-07-03 Wim Taymans <wim@fluendo.com>
2819 * docs/design/part-block.txt:
2820 * docs/design/part-dynamic.txt:
2823 2006-07-03 Wim Taymans <wim@fluendo.com>
2825 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2826 (gst_caps_unref), (gst_static_caps_get),
2827 (gst_caps_append_structure):
2828 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2829 Use GSlice when the glib we build against is >= 2.10
2831 2006-07-03 Wim Taymans <wim@fluendo.com>
2833 * gst/gstelement.c: (gst_element_pads_activate):
2834 Small cleanup in pad activation code.
2836 2006-07-03 Wim Taymans <wim@fluendo.com>
2838 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2840 * gst/gst-i18n-app.h:
2841 * gst/gst-i18n-lib.h:
2842 * tools/gst-inspect.c: (print_signal_info):
2843 The attached patch will make the inclusion of gettext.h unconditional in
2844 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2845 libintl.h in tools/gst-inspect.c.
2846 This allows use of --disable-nls again and fixes #344642.
2848 2006-07-03 Edward Hervey <edward@fluendo.com>
2850 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2851 Implement pad blocking on events according to part-block.txt.
2852 More comments on behaviour.
2853 * tests/check/gst/gstevent.c: (test_event):
2854 Send event to peer pad of blocked pad (else it will block).
2856 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2858 * libs/gst/check/gstcheck.c: (gst_check_message_error),
2859 (gst_check_run_suite):
2860 if we get the wrong message, give us the types as string
2861 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2863 * tests/check/elements/filesrc.c: (GST_START_TEST):
2864 add a test for trying to open a non-existing file
2866 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2868 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2869 add a test for adding self
2871 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2873 * libs/gst/check/gstcheck.h:
2874 add some assert_ as alias for fail_unless_*
2875 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2876 increase test coverage
2878 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2881 include lcov.mak for lcov coverage generation
2882 * tools/Makefile.am:
2885 2006-07-02 Edward Hervey <edward@fluendo.com>
2887 * tests/check/elements/.cvsignore:
2890 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2893 don't set CFLAGS and friends for gcov, done from GST_GCOV now
2894 * tests/check/Makefile.am:
2897 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2899 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2900 remove gst_caps_simplify; it was not declared and not used
2901 and deprecated in 0.8
2903 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2905 * docs/faq/gst-uninstalled:
2906 don't put empty paths on PYTHONPATH
2907 * docs/gst/gstreamer-sections.txt:
2908 remove some symbols that are not there
2910 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2912 * gst/gstcaps.c: (gst_caps_compare_structures):
2914 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2915 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2918 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2920 * libs/gst/dataprotocol/Makefile.am:
2921 build dataprotocol test by linking to the lib, instead of
2922 compiling the source, so we get coverage
2923 * tests/check/Makefile.am:
2924 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2925 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2926 add a test for filesrc
2928 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2930 * tests/check/gst/gststructure.c: (GST_START_TEST),
2931 (gst_structure_suite):
2932 Push coverage from 59.04% to 70.00%
2934 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2936 * tests/check/Makefile.am:
2937 gst-inspect every element; this makes sure that we also get
2938 coverage on element's get/set functions
2940 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2943 set CFLAGS and friends to -O0 if gcov is being used
2946 * libs/gst/base/Makefile.am:
2947 * libs/gst/check/Makefile.am:
2948 * libs/gst/controller/Makefile.am:
2949 * libs/gst/dataprotocol/Makefile.am:
2950 * libs/gst/net/Makefile.am:
2951 * plugins/elements/Makefile.am:
2952 * plugins/indexers/Makefile.am:
2953 add makefile rules to generate gcov data and clean up
2954 * tests/check/Makefile.am:
2955 add a coverage target that generates an html overview
2958 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2960 * tests/check/elements/fakesink.c:
2961 * tests/check/elements/fakesrc.c:
2962 * tests/check/elements/fdsrc.c:
2963 * tests/check/elements/identity.c:
2964 * tests/check/generic/sinks.c: (gst_sinks_suite):
2965 * tests/check/generic/states.c:
2966 * tests/check/gst/gst.c:
2967 * tests/check/gst/gstabi.c:
2968 * tests/check/gst/gstbin.c:
2969 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2970 * tests/check/gst/gstbus.c: (gst_bus_suite):
2971 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2972 * tests/check/gst/gstelement.c:
2973 * tests/check/gst/gstevent.c: (gst_event_suite):
2974 * tests/check/gst/gstghostpad.c:
2975 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2976 * tests/check/gst/gstmessage.c: (gst_message_suite):
2977 * tests/check/gst/gstminiobject.c:
2978 * tests/check/gst/gstobject.c:
2979 * tests/check/gst/gstpad.c:
2980 * tests/check/gst/gstpipeline.c:
2981 * tests/check/gst/gstplugin.c:
2982 * tests/check/gst/gstquery.c: (gst_query_suite):
2983 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2984 * tests/check/gst/gststructure.c:
2985 * tests/check/gst/gstsystemclock.c:
2986 * tests/check/gst/gsttag.c:
2987 * tests/check/gst/gsttask.c: (gst_task_suite):
2988 * tests/check/gst/gstutils.c:
2989 * tests/check/gst/gstvalue.c:
2990 * tests/check/libs/adapter.c:
2991 * tests/check/libs/basesrc.c:
2992 * tests/check/libs/collectpads.c:
2993 * tests/check/libs/controller.c:
2994 * tests/check/libs/gdp.c: (gst_dp_suite):
2995 * tests/check/libs/gstnetclientclock.c:
2996 * tests/check/libs/gstnettimeprovider.c:
2997 * tests/check/libs/libsabi.c: (libsabi_suite):
2998 * tests/check/libs/typefindhelper.c:
2999 * tests/check/pipelines/cleanup.c:
3000 * tests/check/pipelines/parse-launch.c:
3001 * tests/check/pipelines/simple-launch-lines.c:
3002 * tests/check/pipelines/stress.c: (stress_suite):
3005 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3007 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
3008 * libs/gst/check/gstcheck.h:
3009 create a macro and function so that the simple unit test
3010 case can be just one macro to create main()
3012 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
3014 * gst/gstbin.c: (gst_bin_restore_thyself):
3015 * gst/gstxml.c: (gst_xml_make_element):
3016 Fix deserialisation from XML. Set parent manually
3017 instead of using gst_bin_add(), since gst_bin_add()
3018 will unlink all pads of the element being added.
3021 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
3023 Patch by: Peter Kjellerstedt <pkj at axis com>
3025 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
3026 Fix missing g_strdup() and double free when using the
3027 --gst-plugin-load command line option (#346097).
3029 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
3032 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
3034 * libs/gst/net/gstnetclientclock.c:
3035 * libs/gst/net/gstnettimeprovider.c:
3036 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
3038 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
3040 * docs/manual/advanced-dataaccess.xml:
3041 Fix buffer probe example compilation in
3044 2006-06-22 Edward Hervey <edward@fluendo.com>
3046 * gst/gstelement.c: (gst_element_pads_activate):
3047 We need to deactivate src pads first and then sink pads.
3048 The reason is the src pads might be blocking while holding the streaming
3049 lock, so we need to deactivate them first so that deactivating the sink
3050 pads doesn't block (since it will require the streaming lock).
3052 2006-06-22 Wim Taymans <wim@fluendo.com>
3054 * libs/gst/base/gstbasetransform.c:
3055 (gst_base_transform_buffer_alloc):
3056 Forgot to remove two unneeded unrefs.
3057 Simplify a check _is_equal allready checks the obvious case.
3059 2006-06-22 Wim Taymans <wim@fluendo.com>
3061 * docs/design/part-block.txt:
3062 Some docs about what pad_block should do.
3064 2006-06-22 Wim Taymans <wim@fluendo.com>
3066 * gst/gstcaps.c: (gst_caps_replace):
3067 Fix crasher when passed NULL. Doc clarification.
3068 Optimize for the trivial case.
3070 * gst/gstpipeline.c: (gst_pipeline_change_state):
3073 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3074 Small documentation cleanup.
3076 * libs/gst/base/gstbasetransform.c:
3077 (gst_base_transform_buffer_alloc):
3078 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
3079 is what we need and it avoids a whole lot of redundant
3080 refcount operations.
3082 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
3084 Patch by: Philip Jägenstedt <philip at lysator liu se>
3086 * docs/manual/advanced-dataaccess.xml:
3087 Fix 'Embedding static elements' section to use
3088 GST_PLUGIN_DEFINE_STATIC (#345607).
3090 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
3092 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
3093 Attempt to 'fix' spuriously failing test case: it seems like the
3094 timeout of half a second is simply too small when the system is under
3095 load otherwise, and the timeout doesn't really seem to serve any
3096 particular purpose here. Give the pipeline a few seconds to preroll
3097 first, and then give it another half a second to go from PAUSED to
3098 PLAYING and marshal the message into the main thread.
3100 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
3102 * tools/gst-feedback-m.m:
3103 Don't only use unversioned tools, try versioned tools as well
3106 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
3108 * gst/gstbus.c: (gst_bus_class_init):
3109 Fix some typos, make docs more explicit.
3111 2006-06-20 Wim Taymans <wim@fluendo.com>
3113 * tests/check/gst/gstghostpad.c: (block_callback),
3114 (GST_START_TEST), (gst_ghost_pad_suite):
3115 Added some more ghostpad tests, mainly blocking
3118 2006-06-16 Wim Taymans <wim@fluendo.com>
3120 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3121 (gst_file_sink_close_file), (gst_file_sink_do_seek),
3122 (gst_file_sink_event), (gst_file_sink_render):
3123 * plugins/elements/gstfilesink.h:
3124 Check if we can seek in the file instead of assuming
3125 we always can. Post an error when we are asked to seek in a
3126 non-seekable file (like a fifo). Fixes #343312.
3129 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
3131 * tools/gst-launch.1.in:
3132 Un-garble (fourcc) bit in filtered caps section.
3134 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
3136 * docs/manual/advanced-autoplugging.xml:
3137 * docs/manual/basics-helloworld.xml:
3138 * docs/manual/highlevel-components.xml:
3139 Don't leak bus reference in sample code.
3141 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
3144 Add default for new --enable-plugin-docs switch.
3147 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
3151 Use new ENABLE_PLUGIN_DOCS conditional.
3153 2006-06-14 Wim Taymans <wim@fluendo.com>
3155 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
3156 Make it clear with a FIXME and a real define what the #if 0
3157 previously disabled.
3159 2006-06-14 Wim Taymans <wim@fluendo.com>
3161 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3162 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
3163 * libs/gst/base/gstbasetransform.c:
3164 (gst_base_transform_sink_eventfunc):
3165 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3166 Don't randomly and silently reset a segment when the format
3167 changes as this is a bug somewhere upstream. Fixes #330379.
3169 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
3171 Patch by: Wouter Paesen <wouter at kangaroot net>
3173 * libs/gst/controller/gstcontroller.c:
3174 (gst_controlled_property_new):
3175 Fix controlling of float properties (#344849).
3177 * tests/check/libs/controller.c:
3178 (gst_test_mono_source_get_property),
3179 (gst_test_mono_source_set_property),
3180 (gst_test_mono_source_class_init), (GST_START_TEST):
3181 While we're at it, add some float stuff to unit test.
3183 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
3186 * docs/images/gdp-header.svg:
3188 * docs/libs/Makefile.am:
3189 * docs/libs/gdp-header.png:
3190 * libs/gst/dataprotocol/dataprotocol.c:
3191 add it to the API docs
3192 * docs/manual/intro-motivation.xml:
3195 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
3197 * gst/gst.c: (scan_and_update_registry), (init_post):
3198 If the fork()'ed child process can't write the updated registry cache
3199 file to disk for some reason, make it exit with a failure exit code,
3200 so that the parent can then re-scan the plugins itself and update the
3201 registry structures in memory and work with that (rather than failing
3202 when creating elements because seemingly no plugins are available).
3203 Refactor registry scanning code into separate function for this and
3204 also separate fork() and non-fork() code paths. Fixes #344748.
3206 2006-06-13 Wim Taymans <wim@fluendo.com>
3208 * docs/manual/advanced-dataaccess.xml:
3209 Fix wrong PluginDesc. Fixes #344755.
3211 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
3213 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3214 Fix silly bug that prevented us from creating
3215 ~/.gstreamer-0.10 and writing the registry in one
3216 go (the first call to g_mkstemp() would overwrite the
3217 placeholder in the template string, so the second call
3218 to g_mkstemp() after creating the missing directory
3219 would then error out with 'invalid argument').
3221 2006-06-13 Edward Hervey <edward@fluendo.com>
3223 * gst/gst.c: (init_post):
3226 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
3228 * gst/glib-compat-private.h:
3229 * gst/glib-compat.c:
3230 * gst/glib-compat.h:
3231 * gst/gstvalue.c: (gst_value_serialize_flags):
3232 remove GLib 2.6 compatibility code
3234 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
3236 * gst/parse/Makefile.am:
3237 Fix build with 'make -j N' even more (#340016).
3239 2006-06-12 Wim Taymans <wim@fluendo.com>
3241 * docs/gst/gstreamer-sections.txt:
3244 2006-06-12 Wim Taymans <wim@fluendo.com>
3246 * gst/gstsegment.c: (gst_segment_set_duration),
3247 (gst_segment_set_last_stop), (gst_segment_set_seek),
3248 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3249 (gst_segment_to_running_time), (gst_segment_clip):
3250 Use G_UNLIKELY to help the compiler a bit.
3252 2006-06-12 Wim Taymans <wim@fluendo.com>
3254 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3256 * gst/gstevent.c: (gst_event_get_type):
3258 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
3260 constify quark registration strings. Fixes #344115
3261 Avoid unneeded type checking is _pad_push() by internally
3262 calling gst_pad_chain_unchecked().
3264 2006-06-12 Wim Taymans <wim@fluendo.com>
3266 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
3267 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
3268 (gst_subbuffer_finalize), (gst_buffer_create_sub),
3269 (gst_buffer_is_span_fast), (gst_buffer_span):
3270 Init _type for consistency.
3271 Use _FLAGS macro to avoid type check.
3272 Avoid unneeded type checks in subbufer code.
3274 2006-06-12 Wim Taymans <wim@fluendo.com>
3276 * gst/gst.c: (gst_debug_help):
3277 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
3278 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3279 (gst_plugin_feature_list_free):
3280 * gst/gstregistry.c: (gst_registry_add_plugin),
3281 (gst_registry_add_feature), (gst_registry_plugin_filter),
3282 (gst_registry_feature_filter), (gst_registry_find_plugin),
3283 (gst_registry_find_feature), (gst_registry_get_plugin_list),
3284 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
3285 * gst/gstregistryxml.c: (load_feature),
3286 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
3287 * gst/gstminiobject.c: (gst_mini_object_unref),
3288 (gst_mini_object_replace), (gst_value_mini_object_free),
3289 (gst_value_mini_object_copy):
3290 Use _CAST macros to avoid unneeded type checking.
3291 Added some more G_UNLIKELY.
3293 2006-06-12 Wim Taymans <wim@fluendo.com>
3296 Avoid unneeded type checking.
3297 API: GST_BUFFER_IS_DISCONT
3299 * gst/gstminiobject.h:
3300 Avoid type check in flag accessor.
3302 * gst/gstelementfactory.h:
3304 * gst/gstpluginfeature.h:
3306 API: GST_ELEMENT_FACTORY_CAST
3307 API: GST_PLUGIN_CAST
3308 API: GST_PLUGIN_FEATURE_CAST
3310 2006-06-12 Wim Taymans <wim@fluendo.com>
3312 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
3314 Add G_UNLIKELY in type registration.
3315 Avoid type check in _ref/_unref since that is also
3318 2006-06-12 Wim Taymans <wim@fluendo.com>
3320 * gst/gsterror.c: (gst_g_error_get_type):
3321 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3322 (gst_static_pad_template_get_type):
3323 * gst/gsttaglist.c: (gst_tag_list_get_type):
3324 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
3325 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
3326 * gst/gsturi.c: (gst_uri_handler_get_type):
3327 * gst/gstvalue.c: (gst_date_get_type):
3328 * gst/gstxml.c: (gst_xml_get_type):
3329 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3330 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
3331 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
3332 Add G_UNLIKELY in type registration.
3334 2006-06-12 Wim Taymans <wim@fluendo.com>
3336 * tools/gst-inspect.c: (print_signal_info):
3337 Properly print enum values.
3339 2006-06-12 Wim Taymans <wim@fluendo.com>
3341 * gst/gstinfo.c: (gst_debug_set_active),
3342 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
3344 Add some G_[UN]LIKELY.
3345 Maintain __gst_debug_min to avoid formatting the arguments of
3346 debug messages that will be dropped anyway to avoid a lot of
3347 overhead from the debugging system.
3349 2006-06-11 Stefan Kost <ensonic@users.sf.net>
3353 add missing files containing translatable strings, tell intltool about
3356 2006-06-11 Stefan Kost <ensonic@users.sf.net>
3358 * tests/check/libs/.cvsignore:
3359 add test-binary to ignore list
3361 2006-06-11 Stefan Kost <ensonic@users.sf.net>
3363 * docs/libs/gstreamer-libs-docs.sgml:
3364 reorder (put dp into a chapter) and indent
3366 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3371 === release 0.10.8 ===
3373 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3376 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
3378 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3380 * gst/gst.c: (init_post):
3381 move pid declaration to declaration block
3383 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3385 * gst/gst.c: (init_post):
3386 use _exit() instead of exit() in our forked child; this ensures
3387 that none of the registered exit handlers from whatever is using
3388 GStreamer get executed. This fixes gnome-mixer-applet failing
3389 to load, because ORBit would shut down.
3390 Spotted by: Edward Hervey <edward@fluendo.com>
3391 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
3394 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
3399 === release 0.10.7 ===
3401 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
3404 releasing 0.10.7, "Soepeke, ik zie ou"
3406 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
3429 * win32/common/config.h:
3432 2006-06-07 Wim Taymans <wim@fluendo.com>
3434 * gst/gstindex.c: (gst_index_gtype_resolver):
3435 * tools/gst-xmlinspect.c: (print_plugin_info):
3436 Fix leak spotted by coverity checker. Fixes #343827
3437 Fix another other leak found by paolo borelli.
3439 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3441 * libs/gst/dataprotocol/dataprotocol.c:
3442 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3443 (gst_dp_version_get_type), (gst_dp_init),
3444 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
3445 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
3446 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
3447 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
3448 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
3449 (gst_dp_packetizer_free):
3450 * libs/gst/dataprotocol/dataprotocol.h:
3451 API: add a GstDPPacketizer object, and create/free functions
3452 API: add GstDPVersion enum
3453 Add 1.0 event function that uses the string serialization
3454 Serialize more useful buffer flags
3457 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3459 * tests/check/Makefile.am:
3460 * tests/check/gst/gstabi.c:
3461 * tests/check/gst/struct_ppc64.h:
3462 * tests/check/libs/libsabi.c:
3463 * tests/check/libs/struct_ppc64.h:
3464 add ppc64 structure sizes
3466 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3468 * tests/check/Makefile.am:
3469 * tests/check/gst/gstabi.c:
3470 * tests/check/gst/struct_x86_64.h:
3471 * tests/check/libs/libsabi.c:
3472 * tests/check/libs/struct_x86_64.h:
3473 generate and add structure size lists for x86_64
3475 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3477 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3478 * libs/gst/check/gstcheck.h:
3479 factor out the method from tests that checks size of structures,
3480 and add code to generate the header containing these sizes
3481 * tests/check/gst/gstabi.c: (GST_START_TEST):
3482 * tests/check/gst/struct_i386.h:
3483 * tests/check/libs/libsabi.c: (GST_START_TEST):
3484 * tests/check/libs/struct_i386.h:
3487 2006-06-06 Michael Smith <msmith@fluendo.com>
3490 Don't use c++-style comments, fixes #343929
3492 2006-06-05 Edward Hervey <edward@fluendo.com>
3495 plugin_paths is not used if we build without registry support.
3497 * gst/gstsegment.c: (gst_segment_copy):
3498 _copy() was always returning NULL...
3500 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3502 * libs/gst/dataprotocol/dataprotocol.c:
3503 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3504 (gst_dp_packet_from_event):
3507 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3509 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
3510 make sure we unset caps
3512 2006-06-02 Michael Smith <msmith@fluendo.com>
3514 * libs/gst/check/gstcheck.c: (gst_check_init),
3515 (gst_check_chain_func):
3516 * libs/gst/check/gstcheck.h:
3517 Add a cond/mutex to the check support lib, signal this whenever we
3518 add to the buffers list. This will allow tests to not busy-wait on
3521 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3523 * libs/gst/dataprotocol/dataprotocol.c:
3524 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3525 (gst_dp_packet_from_event):
3526 factor out some common header init code
3528 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3530 * docs/libs/gstreamer-libs-sections.txt:
3531 * docs/libs/tmpl/gstdataprotocol.sgml:
3532 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
3533 * libs/gst/dataprotocol/dataprotocol.h:
3534 API: make gst_dp_crc() public
3536 2006-06-01 Stefan Kost <ensonic@users.sf.net>
3538 * plugins/indexers/gstindexers.c: (plugin_init):
3539 conditionally register fileindexer (fixes #343598)
3541 2006-06-01 Stefan Kost <ensonic@users.sf.net>
3543 * gst/gsttagsetter.h:
3544 Can't cast ifaces to a class
3546 * libs/gst/net/gstnetclientclock.h:
3547 * libs/gst/net/gstnettimeprovider.h:
3548 * plugins/elements/gstfakesink.h:
3549 * plugins/elements/gstfakesrc.h:
3550 * plugins/elements/gstfdsink.h:
3551 * plugins/elements/gstfdsrc.h:
3552 * plugins/elements/gstfilesink.h:
3553 * plugins/elements/gstfilesrc.h:
3554 * plugins/elements/gstidentity.h:
3555 * plugins/elements/gstqueue.h:
3556 * plugins/elements/gsttee.h:
3557 * plugins/indexers/gstfileindex.c:
3558 * plugins/indexers/gstmemindex.c:
3559 * tests/old/examples/plugins/example.h:
3560 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
3562 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
3564 * libs/gst/dataprotocol/dataprotocol.c:
3565 (gst_dp_header_from_buffer):
3566 make sure we zero the whole ABI-compatible area
3568 2006-06-01 Wim Taymans <wim@fluendo.com>
3570 Patch by: Alessandro Decina <alessandro at nnva dot org>
3572 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
3573 Make sure the EOS flag is cleared from pads after a flush
3574 or stop. Fixes #343538.
3576 * tests/check/libs/collectpads.c: (GST_START_TEST),
3577 (gst_collect_pads_suite):
3578 Added test for collectpads reusage after EOS.
3580 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
3583 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
3584 * win32/common/libgstbase.def:
3585 export gst_collect_pads_set_flushing
3586 * win32/common/libgstreamer.def:
3587 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
3588 gst_value_fraction_multiply
3589 * win32/vs6/gst_inspect.dsp:
3590 add a link to intl.lib
3592 2006-05-30 Wim Taymans <wim@fluendo.com>
3594 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3595 (gst_collect_pads_chain):
3596 Handle the case where a pad is removed from the collection
3597 that could cause the other pads to become collectable.
3599 2006-05-30 Wim Taymans <wim@fluendo.com>
3602 Clarify the use of _release_request_pad() and
3603 _get_request_pad() a bit better.
3605 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
3606 (gst_adapter_take_buffer):
3607 Fix some doc and comment typos.
3609 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3611 * docs/gst/gstreamer-sections.txt:
3612 * docs/libs/gstreamer-libs-sections.txt:
3613 add declared symbols
3615 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
3617 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3618 Add debug that can be enabled using a #define at the top of the file,
3619 for dumping stats about how late/early we were when waking up from
3620 waiting on the clock.
3622 2006-05-30 Wim Taymans <wim@fluendo.com>
3624 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3625 When rebuilding the pad list, don't leak the previous list.
3627 2006-05-30 Wim Taymans <wim@fluendo.com>
3629 Patch by: Lutz Mueller <lutz at topfrose dot de>
3631 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3632 (gst_base_src_get_query_types), (gst_base_src_update_length):
3633 Publish supported query types.
3634 Update last_stop field in get_range mode so the position
3635 query works. Fixes #342321.
3637 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
3639 * docs/gst/gstreamer-sections.txt:
3640 * gst/gsttaglist.c: (_gst_tag_initialize):
3642 API: add GST_TAG_PREVIEW_IMAGE (#343341).
3644 2006-05-30 Wim Taymans <wim@fluendo.com>
3646 Patch by: Alessandro Decina <alessandro at nnva dot org>
3648 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3649 Unlock mutex when removing an unknown pad.
3652 * tests/check/Makefile.am:
3653 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3654 (push_event), (setup), (teardown), (GST_START_TEST),
3655 (gst_collect_pads_suite), (main):
3656 Added collecpads check, disabled for now as check crashes for
3659 2006-05-29 Wim Taymans <wim@fluendo.com>
3661 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3662 Don't leak pads lists.
3664 2006-05-29 Wim Taymans <wim@fluendo.com>
3666 * docs/libs/gstreamer-libs-sections.txt:
3667 * libs/gst/base/gstcollectpads.c:
3668 (gst_collect_pads_set_flushing_unlocked),
3669 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3670 (gst_collect_pads_stop):
3671 * libs/gst/base/gstcollectpads.h:
3672 API: gst_collect_pads_set_flushing()
3673 Added api to set the pads to flushing, useful for seeking
3674 code in elements using collectpads.
3675 Clear segment when receiving a flush.
3677 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
3679 * gst/gst.c: (add_path_func), (init_post):
3680 Don't scan registry paths passed via --gst-plugin-path immediately
3681 (will crash, because absolutely nothing is set up and no types are
3682 registered etc.); do this later in init_post(). Fixes #343057.
3684 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
3686 * gst/gst.c: (init_post):
3687 if we have fork, fork while reading/rebuilding the registry
3688 so the parent doesn't take the hit of having all plugins loaded
3689 in memory. Fixes #342777.
3691 Check if we have fork()
3692 * win32/common/config.h.in:
3695 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3697 * plugins/elements/gstelements.c:
3698 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3699 (gst_file_src_init), (gst_file_src_set_property),
3700 (gst_file_src_get_property), (gst_file_src_start):
3701 * plugins/elements/gstfilesrc.h:
3702 API: GstFileSrc::use-mmap
3704 Add a use-mmap property to enable easier testing of all code paths.
3705 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3706 in the absence of gnomevfssrc. (Closes #340501)
3708 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3710 * tools/gst-inspect.c:
3711 Add missing include, removes warning of ngettext not being defined on
3714 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3716 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3717 Handle NULL input and output pointers silently as a failed conversion,
3718 rather than g_warnings.
3720 2006-05-25 Wim Taymans <wim@fluendo.com>
3722 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3723 Initialize variable before using. Fixes #342820.
3725 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
3727 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3728 Fix off-by-one bug that would only allow peeks of N-1 bytes
3729 from the start even if the buffer to typefind on contains
3730 in fact N bytes of data (makes vorbis typefinding from a
3731 vorbis identification header buffer work).
3733 * tests/check/Makefile.am:
3734 * tests/check/libs/.cvsignore:
3735 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3736 (gst_typefindhelper_suite), (main), (foobar_typefind),
3738 Add very basic unit test for gst_type_find_helper_for_buffer()
3739 that checks for the problem fixed above.
3741 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
3743 * tools/gst-inspect.c: (print_interfaces),
3744 (print_element_properties_info), (print_element_list), (main):
3745 add more translatable strings
3747 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
3749 Patch by: Julien Moutte <julien at moutte net>
3751 * docs/gst/gstreamer-sections.txt:
3752 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3754 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3755 (gst_fake_sink_preroll):
3756 * plugins/elements/gstfakesink.h:
3757 API: Add new GstFakeSink::preroll-handoff signal (#337100).
3759 2006-05-23 Wim Taymans <wim@fluendo.com>
3761 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3763 Added _CUSTOM error and success GstFlowReturn that can be
3764 used be elements internally.
3765 Added macro to check for SUCCESS flowreturns.
3766 API: GST_FLOW_CUSTOM_SUCCESS
3767 API: GST_FLOW_CUSTOM_ERROR
3768 API: GST_FLOW_IS_SUCCESS
3770 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3771 Added check for GstFlowReturn sanity.
3773 2006-05-23 Wim Taymans <wim@fluendo.com>
3775 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3777 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3778 (gst_collect_pads_event):
3779 clear/reset segment info in FLUSH_STOP.
3782 2006-05-22 Stefan Kost <ensonic@users.sf.net>
3784 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3785 (gst_collect_pads_check_collected):
3786 Flush queued buffer on _stop(), fixes playing again (#342454)
3788 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
3790 * tests/check/gst/gststructure.c: (GST_START_TEST),
3791 (gst_structure_suite):
3792 add a test for a complete structure
3794 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3796 * docs/faq/developing.xml:
3798 * docs/faq/troubleshooting.xml:
3799 * docs/faq/using.xml:
3800 Some minor FAQ updates that won't change the fact that
3801 our FAQ is badly structured, full of information hardly
3802 anyone new to GStreamer needs to know and lacking lots
3803 of information people constantly ask for.
3805 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
3807 * gst/gstpad.c: (gst_pad_set_caps):
3808 Short-circuit gst_pad_set_caps if setting the existing
3809 caps pointer again, and avoid printing debug and
3810 reffing/unreffing the caps.
3812 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3813 There's actually no need to set the caps before pushing -
3814 the acceptcaps method will handle it anyway.
3816 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3818 * docs/gst/gstreamer-sections.txt:
3819 * win32/common/libgstreamer.def:
3820 * gst/gstutils.c: (gst_element_seek_simple):
3822 API: add gst_element_seek_simple() (#342238).
3824 2006-05-18 Edward Hervey <edward@fluendo.com>
3826 * gst/gsttypefind.c: (gst_type_find_get_type):
3827 * gst/gsttypefind.h:
3828 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3829 registered for GstTypeFind pointers. This allows wrapping the structure
3830 in bindings (i.e. gst-python).
3832 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3834 * gst/gsttagsetter.c:
3835 Docs additions and fixes (see #339918).
3837 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3839 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3840 The caps intersection algorithm can produce multiple copies of the
3841 caps. Until that is fixed, we need to simplify the result to be
3842 sure whether the allowed caps are fixed or not.
3844 * plugins/elements/gstqueue.c: (gst_queue_init),
3845 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3846 (gst_queue_push_one):
3847 Proxied buffer alloc should not set the caps on the source pad.
3848 When pushing buffers, we always accept the caps change that triggers.
3849 This prevents negotiation errors caused by caps changing mid-stream
3850 and then being refused on our source pad (because upstream is now
3851 refusing those caps).
3853 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3855 * tests/examples/helloworld/helloworld.c: (main):
3856 Must plug audioconvert and audioresample between decoder
3859 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
3861 * gst/gstregistryxml.c: (read_string), (load_pad_template),
3862 (load_feature), (load_plugin):
3863 Allow empty strings for some of the plugin fields so we don't
3864 drop valid plugin entries that were written out correctly
3867 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
3869 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3870 Use g_remove and g_rename instead of remove and rename that don't
3871 handle utf8 characters. rename was failing for users who had specific
3872 characters in their name then the registry was built at each
3874 * win32/vs6/gst_inspect.dsp:
3875 * win32/vs6/gst_launch.dsp:
3876 * win32/vs6/libgstbase.dsp:
3877 * win32/vs6/libgstcoreelements.dsp:
3878 * win32/vs6/libgstreamer.dsp:
3879 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
3880 build of libgstreamer and clean unused libraries in projects link
3883 2006-05-17 Edward Hervey <edward@fluendo.com>
3885 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3886 The queue is not responsible for pushing an EOS when receiving a fatal
3887 flow error. It's up to the real element driving the pipeline to do that.
3889 2006-05-16 Edward Hervey <edward@fluendo.com>
3891 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3892 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3893 buffer returned a fatal error. It should just send an EOS and stop
3895 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3896 when pushing buffers on the queue and will be able to handle the event.
3898 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
3900 * docs/manual/basics-bins.xml:
3901 * docs/manual/basics-init.xml:
3902 Fix typos and minor errors in sample code (#341856).
3904 2006-05-16 Wim Taymans <wim@fluendo.com>
3906 * docs/design/part-qos.txt:
3907 Fix indexes in formulas to make more sense.
3909 2006-05-15 Wim Taymans <wim@fluendo.com>
3911 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3912 Don't report POSITION based on clock time if sync is
3915 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
3918 Add cast to make compiler happy - refcount variable was a gint
3919 in GstObject but is a guint in GObject and g_atomic_int_get()
3922 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
3924 * gst/parse/Makefile.am:
3925 chain commands using &&, which also makes parallel make work
3927 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
3929 * docs/gst/gstreamer-sections.txt:
3935 === release 0.10.6 ===
3937 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
3940 releasing 0.10.6, "Take the cannoli"
3942 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
3944 * tools/gst-launch.c: (print_tag):
3945 Fix use of uninitialized variable in the hypothetical
3946 case that some broken plugin creates a GST_TAG_IMAGE
3947 tag containing a NULL buffer (#341667).
3949 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
3951 * tools/gst-launch.c: (print_tag):
3952 Print something more intelligible for image tags when
3953 using the -t switch (#341556).
3955 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3960 define GST_MAJORMINOR so we have it available in win32/common/config.h
3961 Possibly remove it from our Makefile.am files later
3962 * win32/common/config.h:
3963 * win32/common/config.h.in:
3964 added GST_MAJORMINOR
3965 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3966 * win32/common/gstversion.h:
3969 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3972 Update win32 files listing.
3973 * win32/common/gstversion.h:
3974 Add GST_MAJORMINOR definition.
3975 * win32/common/libgstreamer.def:
3976 Add new exported functions.
3978 2006-05-12 Michael Smith <msmith@fluendo.com>
3980 * gst/gstplugin.c: (gst_plugin_load_file):
3981 If an so file has no plugin entry point, unload the module.
3983 2006-05-11 Wim Taymans <wim@fluendo.com>
3985 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3986 (gst_queue_set_property):
3987 Don't forget to signal the _chain or _loop function
3988 when the queue size or thresholds change since that might
3989 cause them to make progres again.
3991 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3993 * gst/gstclock.c: (gst_clock_class_init):
3994 * gst/gstindex.c: (gst_index_class_init):
3995 * gst/gstobject.c: (gst_object_class_init):
3996 * gst/gstpad.c: (gst_pad_class_init):
3997 * gst/gstpipeline.c: (gst_pipeline_class_init):
3998 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3999 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4000 * libs/gst/base/gstbasetransform.c:
4001 (gst_base_transform_class_init):
4002 * libs/gst/net/gstnetclientclock.c:
4003 (gst_net_client_clock_class_init):
4004 * libs/gst/net/gstnettimeprovider.c:
4005 (gst_net_time_provider_class_init):
4006 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4007 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4008 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4009 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4010 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4011 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4012 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4013 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4014 * plugins/elements/gsttee.c: (gst_tee_class_init):
4015 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4016 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4017 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
4019 2006-05-11 Wim Taymans <wim@fluendo.com>
4021 * gst/gstbuffer.c: (_gst_buffer_initialize):
4022 Register subbufer along with the buffer type so that
4023 it does not accidentally gets registered from N
4024 different streaming threads in a non threadsafe way.
4026 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
4031 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
4032 gst_event_ref() and gst_message_ref() functions again
4033 (ugly hack, please do fix if there's a better way besides
4034 overrides.txt, which doesn't seem to work).
4036 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
4038 * libs/gst/check/gstcheck.h:
4039 add an assert for setting state to avoid lots of repetitive code
4042 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
4044 * gst/gstvalue.c: (gst_value_serialize_flags):
4045 fix a leak if no flags are set
4046 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4049 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
4051 * docs/manual/basics-pads.xml:
4052 Expand a bit on caps and filtered links and update
4053 examples that were still using the no longer existing
4054 gst_pad_link_filtered() (#338206).
4056 2006-05-10 Wim Taymans <wim@fluendo.com>
4058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4059 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4060 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
4061 (gst_collect_pads_stop):
4062 * libs/gst/base/gstcollectpads.h:
4063 No need to call _stop in _finalize.
4064 Iterate the main pad list in _finalize.
4065 Added some more debug.
4066 Free lists and data in the right order.
4067 Also free data whem doing _remove_pad when stopped for
4068 backward compatibility protect ::started with PAD_LOCK as
4071 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
4073 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
4074 (gst_structure_parse_value):
4076 rename a method so that it actually says what it does better
4078 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
4080 * gst/gstevent.c: (_gst_event_initialize):
4081 * gst/gstformat.c: (_gst_format_initialize):
4082 make sure some essential types used by events are registered
4083 as part of gst_init()
4084 * gst/gstvalue.c: (gst_value_serialize_flags):
4085 if no flags are set, serialize them to a value that represents NONE
4086 so that deserializing them works
4087 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4088 add tests for serialization and deserialization of flags
4090 2006-05-10 Wim Taymans <wim@fluendo.com>
4092 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
4093 (gst_collect_pads_collect_range), (gst_collect_pads_available),
4094 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
4095 (gst_collect_pads_event), (gst_collect_pads_chain):
4098 Catch and return errors from the collect function
4099 Refuse data on eos pads.
4101 2006-05-10 Edward Hervey <edward@fluendo.com>
4103 * gst/gstinterface.h:
4104 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
4105 GInterface type checking.
4106 They were previously using non-defined macros.
4108 2006-05-09 Wim Taymans <wim@fluendo.com>
4110 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
4111 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
4112 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
4113 (gst_collect_pads_start), (gst_collect_pads_stop),
4114 (gst_collect_pads_peek), (gst_collect_pads_pop),
4115 (gst_collect_pads_available), (gst_collect_pads_read),
4116 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
4117 (gst_collect_pads_is_collected), (gst_collect_pads_event),
4118 (gst_collect_pads_chain):
4119 * libs/gst/base/gstcollectpads.h:
4120 Clean up the mess that is collectpads, add comments and
4121 FIXMEs where needed.
4122 Maintain a separate pad list so we can add pads while
4123 collecting the other ones. For this we need a new separate
4125 Fix memory leak in finalize.
4126 Refactor some weird code to set/unset pad flushing flags, mark
4128 Don't crash in _available, _read, _flush when we're EOS.
4130 * tests/check/libs/.cvsignore:
4131 Ignore adapter check binary.
4133 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4135 * gst/gstindex.c: (gst_index_resolver_get_type):
4136 * plugins/elements/gstfakesink.c:
4137 (gst_fake_sink_state_error_get_type):
4138 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4139 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
4140 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4141 Const-ify GEnumValue arrays.
4143 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4145 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4146 Add test case for flags + gst_buffer_make_metadata_writable().
4148 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4150 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
4151 gst_buffer_make_metadata_writable() should maintain the
4152 buffer flags (those that make sense at least) (see #340859).
4154 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4156 * tools/gst-inspect.c:
4157 * tools/gst-launch.c:
4158 * tools/gst-typefind.c:
4159 * tools/gst-xmlinspect.c:
4161 Fix up includes: need to include stdlib.h in tools.h for exit().
4163 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4165 * gst/gsttaglist.c: (_gst_tag_initialize):
4167 API: add GST_TAG_IMAGE tag (#340721).
4169 2006-05-08 Wim Taymans <wim@fluendo.com>
4172 Added some docs for the segment query.
4174 2006-05-08 Wim Taymans <wim@fluendo.com>
4176 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4177 (gst_base_src_loop), (gst_base_src_change_state):
4178 Always push non-flushing serialized events in the streaming
4181 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
4183 * gst/gsterror.c: (_gst_stream_errors_init):
4184 Add a missing error string.
4186 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
4188 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
4189 Add applied_rate to the debug
4191 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4192 Copy applied_rate into the outgoing NEWSEGMENT event
4194 2006-05-08 Wim Taymans <wim@fluendo.com>
4196 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
4198 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4199 (gst_base_sink_change_state):
4200 call ::unlock before taking the PREROLL_LOCK so we can safely
4201 handle elements that lock in ::render.
4204 2006-05-08 Edward Hervey <edward@fluendo.com>
4206 * autogen.sh: (CONFIGURE_DEF_OPT):
4207 Darwin's libtoolize is in fact called glibtoolize.
4208 Adding glibtoolize to the list of accepted names for libtoolize.
4210 2006-05-08 Wim Taymans <wim@fluendo.com>
4212 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4213 Unify error handling, don't post an error message
4214 when a push() returns EOS but perform our normal EOS
4215 handling code. Fixes #340772.
4217 2006-05-08 Wim Taymans <wim@fluendo.com>
4219 * docs/design/part-overview.txt:
4220 Make upsteam/downstream concepts more clear.
4221 Give an example of serialized/non-serialized events.
4223 * docs/design/part-events.txt:
4224 * docs/design/part-streams.txt:
4225 Mention applied_rate.
4227 * docs/design/part-trickmodes.txt:
4228 Mention applied rate, flesh out some more use cases.
4230 * gst/gstevent.c: (gst_event_new_new_segment),
4231 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
4232 (gst_event_parse_new_segment_full), (gst_event_new_tag),
4233 (gst_event_parse_tag), (gst_event_new_buffer_size),
4234 (gst_event_parse_buffer_size), (gst_event_new_qos),
4235 (gst_event_parse_qos), (gst_event_parse_seek),
4236 (gst_event_new_navigation):
4238 Add applied_rate field to NEWSEGMENT event.
4239 API: gst_event_new_new_segment_full()
4240 API: gst_event_parse_new_segment_full()
4242 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
4243 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
4244 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4246 Add applied_rate to GstSegment structure.
4247 Make calculation of stream_time and running_time more correct
4248 wrt rate/applied_rate.
4250 API: GstSegment::applied_rate field
4251 API: gst_segment_set_newsegment_full();
4253 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4254 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
4255 * libs/gst/base/gstbasetransform.c:
4256 (gst_base_transform_sink_eventfunc),
4257 (gst_base_transform_handle_buffer):
4258 Parse and use applied_rate in the GstSegment field.
4260 * tests/check/gst/gstevent.c: (GST_START_TEST):
4261 Add check for applied_rate field.
4263 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4264 (gstsegments_suite):
4265 Add more checks for various GstSegment operations.
4267 2006-05-08 Wim Taymans <wim@fluendo.com>
4269 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4270 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
4271 (gst_base_sink_get_position), (gst_base_sink_change_state):
4272 Store the sync time of the buffer end position separatly in a
4273 new variable eos_rtime so we can properly sync the EOS event.
4275 Fix the docs for gst_base_sink_set_qos_enabled().
4276 Don't set segment start to invalid value when we receive a
4277 non TIME newsegment.
4278 get closer to handling position reporting for negative rates
4281 2006-05-07 Stefan Kost <ensonic@users.sf.net>
4284 Docs about how to print caps for debug purposes.
4286 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
4287 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
4289 2006-05-07 Stefan Kost <ensonic@users.sf.net>
4292 use full enum names and preprend a '%' in docs strings to make recent
4293 gtk-doc turn that into a link
4295 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4297 * docs/manual/basics-bins.xml:
4298 * docs/manual/basics-bus.xml:
4299 * docs/manual/basics-pads.xml:
4300 Some typo fixes, some additions, some clarifications.
4302 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4304 * tools/gst-inspect.c: (main):
4305 * tools/gst-launch.c: (main):
4306 * tools/gst-run.c: (main):
4307 * tools/gst-typefind.c: (main):
4308 * tools/gst-xmlinspect.c: (main):
4309 Use the string passed to g_option_context_new() for
4310 what it's intended for - the program name is already
4313 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4315 * tools/Makefile.am:
4316 * tools/gst-inspect.c: (main):
4317 * tools/gst-launch.c: (main):
4318 * tools/gst-xmlinspect.c: (main):
4320 Add back --version command line option (#340460).
4322 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
4323 Add --version option and use GOption for argument parsing; refactor a
4324 bit; accept directories as arguments and recurse into them; lastly,
4325 print a decent error message when things go wrong.
4327 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
4329 * docs/manual/basics-bins.xml:
4330 Don't mention GstThread (#340611)
4331 * docs/manual/basics-elements.xml:
4332 Update link to GObject tutorial (#340607)
4334 2006-05-05 Wim Taymans <wim@fluendo.com>
4337 * gst/gstminiobject.c:
4338 Add note about refcounting and miniobject/buffer writeability
4339 to docs. Fixes #340604
4341 * gst/gstelementfactory.h:
4342 Added some explanation about @klass.
4344 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
4346 * docs/manual/intro-motivation.xml:
4347 * docs/manual/manual.xml:
4348 Avoid CORBA & Bonobo references (#340598)
4350 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
4352 * docs/manual/basics-bus.xml:
4353 * docs/manual/basics-pads.xml:
4354 Fix up some inaccuracies and omissions (#340609)
4356 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
4358 * gst/gstghostpad.c:
4359 Small typo in docs (#340625)
4361 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4363 * gst/parse/Makefile.am:
4364 Make 'make -j' proof (see #340698).
4366 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4369 Require GLib-2.8 here as well.
4371 2006-05-05 Wim Taymans <wim@fluendo.com>
4373 * gst/glib-compat.c:
4374 * gst/gst.c: (init_pre):
4375 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
4376 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
4377 (gst_object_dispatch_properties_changed):
4379 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4380 * gst/gststructure.c: (gst_structure_set_valist):
4381 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4382 Remove pre glib2.8 compatibility, fixes #340508
4384 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
4387 Mention type of tags in doc blurbs.
4389 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
4391 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4392 (gst_pad_configure_src), (gst_pad_push):
4393 Restore acceptcaps checking behaviour now that good plugins have
4396 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
4398 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
4409 * gst/parse/Makefile.am:
4410 * libs/gst/base/gstadapter.c:
4411 * libs/gst/base/gstbasesrc.c:
4412 * libs/gst/base/gstpushsrc.c:
4413 * libs/gst/base/gsttypefindhelper.c:
4414 * plugins/elements/gstfakesrc.c:
4415 * plugins/elements/gstidentity.c:
4416 Make sure gstprivate.h and/or config.h are
4417 always included first, otherwise some of our
4418 defines (like _FILE_OFFSET_BITS) might be
4419 redefined in the system headers. Fixes build
4420 on opensolaris (#340016).
4422 2006-05-04 Wim Taymans <wim@fluendo.com>
4424 * docs/libs/gstreamer-libs-sections.txt:
4425 API: addition: gst_adapter_take_buffer()
4427 * libs/gst/base/gstadapter.c: (gst_adapter_push),
4428 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
4429 (gst_adapter_available_fast):
4430 * libs/gst/base/gstadapter.h:
4431 Prepare for optimizing the hell out of this hugely inefficient
4433 Added gst_adapter_take_buffer() so we can at least start thinking
4434 about subbuffering and merging.
4435 Added some comments.
4437 * tests/check/Makefile.am:
4438 * tests/check/libs/adapter.c: (GST_START_TEST),
4439 (gst_adapter_suite), (main):
4440 Added GstAdapter check.
4442 2006-05-04 Wim Taymans <wim@fluendo.com>
4444 * docs/design/part-overview.txt:
4445 Fix some typos, add blurb about buffer flags.
4447 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
4449 * docs/libs/gstreamer-libs-sections.txt:
4450 make sure GstBaseTransformClass shows up in the docs
4451 * libs/gst/base/gstbasetransform.c:
4452 * libs/gst/base/gstbasetransform.h:
4453 move docs so gtk-doc picks it up now
4455 2006-05-02 Stefan Kost <ensonic@users.sf.net>
4457 * docs/libs/gstreamer-libs-sections.txt:
4458 add missing symbols to docs
4460 2006-05-02 Stefan Kost <ensonic@users.sf.net>
4462 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4463 back out the newsegment handling change, see #340060 for ongoing
4466 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
4468 * tools/gst-run.c: (get_candidates), (main):
4469 Fix wrong g_file_test() usage (see glib docs for why it doesn't
4470 work); fix typo in error message. Fixes #340079.
4472 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
4474 * common/Makefile.am:
4476 * docs/faq/Makefile.am:
4477 * docs/gst/Makefile.am:
4478 * docs/libs/Makefile.am:
4479 * docs/manual/Makefile.am:
4480 * docs/plugins/Makefile.am:
4481 * docs/pwg/Makefile.am:
4482 * docs/slides/Makefile.am:
4484 * common/upload.mak:
4485 move upload.mak to common
4487 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
4489 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4490 add more asserts on refcounts
4491 do more cleanup at end of tests
4492 fix test leaks showing in FC5
4494 2006-04-29 Stefan Kost <ensonic@users.sf.net>
4496 * plugins/elements/gsttypefindelement.c:
4497 (gst_type_find_element_handle_event):
4498 reverted wrong change and reflowed code to avoid others falling into
4501 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4503 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4504 fix changelog entry about last collectpads change,
4505 add notes about proper fix
4507 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4510 * gst/gstregistry.c: (gst_registry_scan_path_level),
4511 (gst_registry_scan_path):
4512 * gst/gstregistry.h:
4513 only write out registry if it has changed, fixes #338339
4515 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4518 * gst/gstpipeline.c:
4519 * plugins/elements/gstcapsfilter.c:
4520 * plugins/elements/gstfakesink.c:
4521 * plugins/elements/gstfakesrc.c:
4522 * plugins/elements/gstfdsink.c:
4523 * plugins/elements/gstfdsrc.c:
4524 * plugins/elements/gstfilesink.c:
4525 * plugins/elements/gstfilesrc.c:
4526 * plugins/elements/gstidentity.c:
4527 * plugins/elements/gstqueue.c:
4528 * plugins/elements/gsttee.c:
4529 * plugins/elements/gsttypefindelement.c:
4530 (gst_type_find_element_handle_event):
4531 make GstElementDetails const
4533 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4535 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4536 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4537 (gst_collect_pads_is_collected), (gst_collect_pads_event):
4538 more detailed debug and formatting cleanup,
4539 forward newsegments to src-pad (so that e.g. adder not eats them)
4541 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4543 * gst/gstutils.c: (gst_element_link_pads):
4546 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4548 * libs/gst/controller/gstcontroller.c:
4549 (gst_controller_sync_values):
4551 * tests/check/libs/controller.c: (GST_START_TEST),
4552 (gst_controller_suite):
4553 a new test for live value handling
4555 2006-04-28 Wim Taymans <wim@fluendo.com>
4557 * gst/gstutils.c: (push_and_ref):
4558 Added some more docs.
4559 Fix refcount issue whith gst_element_found_tags() helper
4560 function. Fixes #338335
4562 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4563 Added testsuite for gst_element_found_tags().
4565 2006-04-28 Michael Smith <msmith@fluendo.com>
4567 * gst/gstvalue.c: (gst_value_serialize_flags):
4568 Avoid NULL dereference when trying to serialize flags containing
4571 2006-04-28 Michael Smith <msmith@fluendo.com>
4573 * plugins/elements/gsttypefindelement.c:
4574 (gst_type_find_element_handle_event):
4575 If we get EOS before any data is accumulated, don't use
4576 uninitialised local variables.
4578 2006-04-28 Michael Smith <msmith@fluendo.com>
4580 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4581 (gst_dp_event_from_packet):
4582 Fixes in reading/writing events over GDP (not currently used?) -
4583 dereferencing NULL events for unknown/invalid event types, memory
4584 leak, and change g_warning to GST_WARNING.
4586 2006-04-28 Wim Taymans <wim@fluendo.com>
4588 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
4589 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4590 (gst_base_sink_get_position), (gst_base_sink_change_state):
4591 When frame dropping is enabled, we should not ignore frames
4593 Update some documentation.
4595 2006-04-28 Wim Taymans <wim@fluendo.com>
4597 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4598 (gst_base_src_send_event), (gst_base_src_change_state):
4599 Documentation updates.
4601 2006-04-28 Wim Taymans <wim@fluendo.com>
4603 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4604 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
4605 handle EAGAIN, EINTR and short writes correctly. Also clean
4606 up some error cases, avoid a deadlock on bad file descriptors and
4607 use GST_DEBUG_OBJECT.
4610 2006-04-28 Wim Taymans <wim@fluendo.com>
4612 * gst/gstvalue.c: (gst_value_serialize_buffer),
4613 (gst_value_deserialize_buffer):
4614 Don't try to serialize a GValue with a NULL buffer.
4617 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4618 Added check for serialisation of NULL buffers.
4620 2006-04-28 Wim Taymans <wim@fluendo.com>
4622 * gst/gstminiobject.c: (gst_value_take_mini_object):
4623 Taking a NULL miniobject is valid, fix the case where
4624 we try to unref the NULL miniobject.
4626 2006-04-28 Wim Taymans <wim@fluendo.com>
4628 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4630 * gst/gstbin.c: (gst_bin_handle_message_func):
4632 Don't leak bin refcount when a state recalc is
4633 in progress and we delay another one #339808.
4635 2006-04-28 Wim Taymans <wim@fluendo.com>
4637 * docs/design/part-TODO.txt:
4638 Mention QoS as an ongoing work item.
4640 * docs/design/part-buffering.txt:
4641 New doc about buffering that needs to be fleshed out
4644 * docs/design/part-qos.txt:
4645 More QoS policy for decoders/demuxers/transforms
4647 * docs/design/part-trickmodes.txt:
4650 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4655 === release 0.10.5 ===
4657 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4660 releasing 0.10.5, "Fogo"
4662 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
4664 patch by: Wim Taymans
4666 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4667 (gst_pad_configure_src), (gst_pad_push):
4668 * gst/gstpipeline.c: (gst_pipeline_init):
4669 Fix internal data flow errors. Fixes #338711.
4671 2006-04-12 Wim Taymans <wim@fluendo.com>
4673 * tests/check/gst/gstelement.c: (GST_START_TEST):
4674 Don't leak the factory.
4676 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4679 * win32/common/config.h:
4682 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
4684 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4685 (gst_controller_unset_all):
4686 Free allocated GstTimedValues when freeing list nodes.
4687 Should fix leaks 'make check-valgrind' complains about.
4689 * win32/common/libgstcontroller.def:
4690 Add gst_controller_unset_all.
4692 2006-04-11 Stefan Kost <ensonic@users.sf.net>
4694 * docs/libs/gstreamer-libs-sections.txt:
4695 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4696 (gst_controller_unset_all):
4697 * libs/gst/controller/gstcontroller.h:
4698 API: Added new method gst_controller_unset_all()
4699 fixed gst_controller_unset()
4700 * tests/check/libs/controller.c: (GST_START_TEST),
4701 (gst_controller_suite):
4702 Added two testcases for new and fixed method
4704 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
4706 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4707 MSG_DONTWAIT is not defined on Cygwin, so work
4708 around that (fixes #317048).
4710 2006-04-11 Wim Taymans <wim@fluendo.com>
4712 * gst/gstelementfactory.c: (gst_element_register),
4713 (gst_element_factory_create), (gst_element_factory_make):
4716 Updated docs (Fixes #131079)
4718 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4721 * tests/check/gst/gstelement.c: (GST_START_TEST),
4722 (gst_element_suite):
4723 Added testcase for elementfactory class field.
4725 2006-04-10 Wim Taymans <wim@fluendo.com>
4728 Added some more docs.
4730 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4731 (gst_base_sink_reset_qos):
4732 Calculate more accurate rate values.
4734 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
4736 * gst/gst_private.h:
4737 add a new #ifdef to use __declspec(dllimport) only for
4738 other modules and not for gstreamer core
4739 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4740 use gst_guint64_to_gdouble for conversion
4741 * win32/common/libgstreamer.def:
4742 add new exported functions
4743 * win32/vs6/gst_inspect.dsp:
4744 * win32/vs6/gst_launch.dsp:
4745 * win32/vs6/libgstbase.dsp:
4746 * win32/vs6/libgstcontroller.dsp:
4747 * win32/vs6/libgstcoreelements.dsp:
4748 * win32/vs6/libgstdataprotocol.dsp:
4749 * win32/vs6/libgstnet.dsp:
4750 update project files
4752 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4754 * gst/gstbuffer.c: (gst_subbuffer_class_init):
4755 * gst/gstclock.c: (gst_clock_class_init):
4756 * gst/gstelement.c: (gst_element_class_init):
4757 * gst/gstindex.c: (gst_index_class_init):
4758 * gst/gstindexfactory.c: (gst_index_factory_class_init):
4759 * gst/gstobject.c: (gst_object_class_init),
4760 (gst_signal_object_class_init):
4761 * gst/gstpad.c: (gst_pad_class_init):
4762 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4763 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4764 * gst/gstregistry.c: (gst_registry_class_init):
4765 * gst/gstsystemclock.c: (gst_system_clock_class_init):
4766 * gst/gsttask.c: (gst_task_class_init):
4767 * gst/gstxml.c: (gst_xml_class_init):
4768 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4769 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4770 (gst_base_src_loop):
4771 * libs/gst/controller/gstcontroller.c:/
4772 (_gst_controller_class_init):
4773 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4774 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4775 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4776 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4777 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4778 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4780 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
4782 * gst/gstpad.c: (gst_pad_link):
4783 Must set peer pads before calling the link function, otherwise
4784 a task started from a link function might get a flow-not-linked
4785 result when trying to push because the other thread where the
4786 linking happens hasn't had a chance to set the peers yet. This
4787 might happen for example when a queue gets linked to a downstream
4788 element, as queue starts a streaming task when its source pad
4789 gets linked. Happens in real life when playing back flac/musepack
4790 files in playbin (#332390).
4792 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4796 * libs/gst/base/gstadapter.h:
4797 * libs/gst/base/gstbasesink.h:
4798 * libs/gst/base/gstbasesrc.h:
4799 * libs/gst/base/gstbasetransform.h:
4800 * libs/gst/base/gstcollectpads.h:
4801 * libs/gst/base/gstpushsrc.h:
4802 Fix broken GObject macros
4804 2006-04-07 Wim Taymans <wim@fluendo.com>
4806 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4807 Initialize start and stop times, thanks valgrind.
4809 2006-04-07 Wim Taymans <wim@fluendo.com>
4811 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4812 Be a bit nicer to badly behaving upstream elements that expect
4813 us to deal with non TIME segments and timestamps (such as fakesrc
4816 2006-04-07 Wim Taymans <wim@fluendo.com>
4819 Small documentation clarification about the signal watch.
4821 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4822 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4823 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4824 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4825 (gst_base_sink_get_position_last),
4826 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4827 Convert and store timestamps in stream time and running time, the
4828 raw timestamps are not useful, also document this better.
4829 Use different window sizes for good and bad QoS observations so
4830 we react to badness a little quicker.
4831 Keep track of the amount of rendered and dropped buffers.
4832 Send QoS timestamps in running time.
4834 * libs/gst/base/gstbasetransform.c:
4835 (gst_base_transform_sink_eventfunc),
4836 (gst_base_transform_handle_buffer):
4837 Compare QoS timestamps against running time.
4839 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4844 2006-04-06 Michael Smith <msmith@fluendo.com>
4846 * gst/gstpad.c: (gst_pad_set_property):
4847 Use g_value_get_object() instead of g_value_dup_gst_object(),
4848 to avoid double-reffing the pad template (which we then sink,
4849 so this worked previously if (and only if) the pad template
4852 * gst/gstpadtemplate.c: (gst_pad_template_init),
4853 (gst_pad_template_pad_created):
4854 Never return floating references to pad templates, create
4855 them as initially-sunken.
4857 Document an extra function (and make this stop sinking our
4858 pad template, since that is now guaranteed to do nothing,
4859 since we created it sunken).
4861 * gst/gstghostpad.c:
4864 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4866 * gst/gstinfo.c: (__gst_in_valgrind):
4869 * plugins/elements/gsttypefindelement.c:
4870 (gst_type_find_element_chain):
4871 Don't leak buffer caps.
4873 2006-04-06 Michael Smith <msmith@fluendo.com>
4875 * gst/parse/grammar.y:
4876 Fix a leak in parse-launch for any source-or-sink named element
4879 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4880 Unref the pipeline if it exists after we've failed parsing.
4882 2006-04-05 Michael Smith <msmith@fluendo.com>
4884 * gst/gstpipeline.c: (gst_pipeline_init):
4885 When we create a pipeline bus, initially create it in flushing mode.
4886 Fixes leaks in at least one test, and makes a new pipeline work the
4887 same as one that has gone to READY and then back to NULL.
4892 2006-04-05 Michael Smith <msmith@fluendo.com>
4894 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4895 Unref a pad we reffed.
4896 * tests/check/gst/gstutils.c: (GST_START_TEST):
4899 2006-04-05 Michael Smith <msmith@fluendo.com>
4901 * gst/gstquery.c: (gst_query_set_formats),
4902 (gst_query_set_formatsv):
4903 Fix leaking GValues in queries, as shown by valgrind/testsuite.
4905 2006-04-05 Michael Smith <msmith@fluendo.com>
4907 * tests/check/generic/sinks.c: (GST_START_TEST):
4908 Fix a variety of memleaks in sinks check, which are only sometimes
4909 shown by running the tests under valgrind (weird?).
4911 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
4913 * docs/version.entities.in:
4914 Fix the substituted entity name after thomas' changes on the
4917 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4919 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4922 2006-04-05 Andy Wingo <wingo@pobox.com>
4924 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4926 * libs/gst/base/gstbasetransform.c
4927 (gst_base_transform_sink_eventfunc): When resetting our segment on
4928 FLUSH_STOP, also update the flag saying we haven't seen a
4931 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4933 Patch by: Paolo Borelli <pborelli at katamail dot com>
4935 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4936 (gst_plugin_check_license):
4937 minor clean-ups: G_DEFINE_TYPE already takes care of the
4938 parent_class stuff, no need to do it twice. Mark array of
4939 license strings as constant. (#337103)
4941 2006-04-04 Michael Smith <msmith@fluendo.com>
4943 * tools/gst-inspect.c: (print_element_list):
4944 Free the right plugin list; fixes a memory leak.
4946 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4948 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4950 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4951 Don't error out on empty buffers (#336945).
4953 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4955 * docs/libs/gstreamer-libs-sections.txt:
4957 * libs/gst/base/gstbasesink.c:
4958 * libs/gst/base/gstbasesink.h:
4959 * libs/gst/base/gstbasesrc.c:
4960 * libs/gst/base/gstbasesrc.h:
4961 Documentation updates. Make BaseSink and BaseSrc docs contain the
4962 class structure so that people can actually see the prototypes for
4963 virtual functions they're supposed to be overriding.
4965 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4967 * plugins/elements/gsttypefindelement.c:
4968 (gst_type_find_element_chain):
4969 More debug info; when skipping typefinding, send cached
4970 events in all cases.
4972 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4975 use new AS_VERSION and AS_NANO macros
4976 * gst/gst-i18n-lib.h:
4979 * gst/gstversion.h.in:
4980 * win32/common/config.h:
4981 * win32/common/config.h.in:
4984 2006-03-31 Michael Smith <msmith@fluendo.com>
4986 * plugins/elements/gsttypefindelement.c:
4987 (gst_type_find_element_chain):
4988 Do not typefind content if the buffers already have caps.
4989 Neccesary for icydemux (#333657), and the right thing to do anyway.
4991 2006-03-30 Wim Taymans <wim@fluendo.com>
4993 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4994 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4995 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4996 (gst_base_sink_record_qos_observation),
4997 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4998 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4999 (gst_base_sink_change_state):
5000 More QoS measurements as described in the design doc.
5001 Get rid of ringbuffer with observations, running average is
5002 more simple and equally good.
5003 Calculates valid proportion now.
5004 Added beginning of flood measurement.
5006 2006-03-29 Wim Taymans <wim@fluendo.com>
5008 * docs/design/part-qos.txt:
5010 Small documentation updates and additions.
5012 2006-03-29 Wim Taymans <wim@fluendo.com>
5014 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
5015 (gst_base_src_send_event), (gst_base_src_loop),
5016 (gst_base_src_change_state):
5017 Perform the EOS logic when we reach the segment stop position.
5018 Fix compilation on gcc4.1
5020 2006-03-29 Wim Taymans <wim@fluendo.com>
5022 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5024 * plugins/elements/gstqueue.c: (gst_queue_init),
5025 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
5026 (gst_queue_set_property):
5027 * plugins/elements/gstqueue.h:
5028 In queue, when EOS is received, if minimum threshold > max_size -
5029 current_level, there is chance that queue blocks forever in conditional
5030 item del wait. This is because the queue is not emptied completely due
5031 to minimum threshold. Here is another approach. Instead of setting
5032 cur_levels to max in EOS, just zero all minimum threshold levels. This
5033 should make sure that queue gives out all data. When going to READY
5034 (stop) state, just reset the original minimum threshold levels.
5037 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
5039 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
5040 (gst_type_find_element_handle_event),
5041 (gst_type_find_element_send_cached_events),
5042 (gst_type_find_element_change_state):
5043 * plugins/elements/gsttypefindelement.h:
5044 When typefinding is done in push mode, we should cache
5045 events we receive during typefinding instead of just
5046 dropping them (e.g. newsegment, custom events from
5047 dvdreadsrc etc.) and then send them out once we've
5048 determined the type of the stream (and decodebin
5049 has had a chance to plug in a decoder/demuxer).
5051 2006-03-27 Wim Taymans <wim@fluendo.com>
5053 * docs/design/part-qos.txt:
5056 2006-03-27 Wim Taymans <wim@fluendo.com>
5058 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
5060 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
5061 (gst_base_src_send_event), (gst_base_src_change_state):
5062 Handle element seek correctly when we are streaming.
5065 2006-03-24 Michael Smith <msmith@fluendo.com>
5067 * docs/faq/gst-uninstalled:
5068 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
5069 allow you to correctly run intalled applications built against old
5070 core, using plugins that require updated core (e.g. running
5071 installed totem against a full uninstalled gstreamer stack)
5073 2006-03-24 Stefan Kost <ensonic@users.sf.net>
5075 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5078 2006-03-24 Wim Taymans <wim@fluendo.com>
5080 * docs/gst/gstreamer-sections.txt:
5081 Rearrange the order of the methods so that related methods
5082 are grouped together in sections.
5084 2006-03-24 Stefan Kost <ensonic@users.sf.net>
5087 Little clarification in the docs
5089 2006-03-24 Stefan Kost <ensonic@users.sf.net>
5093 * plugins/elements/gstidentity.c:
5094 * plugins/elements/gstqueue.c:
5095 * plugins/elements/gsttee.c:
5096 * plugins/elements/gsttypefindelement.c:
5097 GST_ELEMENT_DETAILS formatting
5099 2006-03-24 Wim Taymans <wim@fluendo.com>
5101 * libs/gst/base/gstbasesink.h:
5102 Only add fields, not insert or we break ABI.
5104 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
5106 * win32/common/libgstbase.def:
5107 * win32/common/libgstreamer.def:
5108 Update, add recently added functions.
5110 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
5112 * docs/gst/gstreamer-sections.txt:
5113 * gst/gstutils.c: (gst_pad_query_peer_position),
5114 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
5116 API: add some new utility functions:
5117 - gst_pad_query_peer_position()
5118 - gst_pad_query_peer_duration()
5119 - gst_pad_query_peer_convert()
5121 2006-03-23 Wim Taymans <wim@fluendo.com>
5123 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5124 (gst_base_sink_init), (gst_base_sink_finalize),
5125 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
5126 (gst_base_sink_set_property), (gst_base_sink_get_property),
5127 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
5128 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
5129 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
5130 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
5131 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
5132 (gst_base_sink_preroll_object), (gst_base_sink_event),
5133 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
5134 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5135 (gst_base_sink_query), (gst_base_sink_change_state):
5136 Decouple max-lateness and the fact that QoS messages are generated
5137 with a new property (qos).
5138 added API: GstBaseSink::async_play()
5139 Add vmethod so subclasses can be notified of ASYNC playing
5141 Collect timestamp start and stop to report better current
5142 position in EOS/PLAYING/PAUSED/READY/NULL.
5143 Refactor QoS/frame dropping and other measurements.
5144 API: GstBaseSrc::qos
5147 * libs/gst/base/gstbasesink.h:
5148 Added Private struct.
5149 API: gst_base_sink_set_qos_enabled()
5150 API: gst_base_sink_is_qos_enabled()
5152 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
5154 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
5155 If compiling against GLib-2.8 or newer, try to read the
5156 registry file using GMappedFile first before falling back
5157 to fopen() + fread() (#332151).
5159 2006-03-22 Wim Taymans <wim@fluendo.com>
5161 * gst/gstinfo.c: (gst_debug_set_active),
5162 (gst_debug_category_set_threshold):
5163 Disable debugging unless explicitly activated.
5166 2006-03-22 Wim Taymans <wim@fluendo.com>
5168 * gst/gstelement.c: (gst_element_set_locked_state),
5169 (gst_element_dispose):
5170 Cleanup the error case.
5172 * gst/gstobject.c: (gst_object_dispose):
5173 print a critical when some object was disposed with
5174 a parent, also revive the object since it might
5177 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
5179 * tools/gst-launch.1.in:
5182 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
5185 * tests/check/Makefile.am:
5186 disable some tests when we don't have a registry
5187 * tests/check/gst/gstutils.c: (gst_utils_suite):
5188 don't build the part that needs parsing
5190 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
5193 * tests/examples/Makefile.am:
5194 fix --disable-parse build
5196 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5198 * tools/gst-feedback.1.in:
5199 Fix typo: s/feeback/feedback/ (#133494).
5201 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5203 * tools/Makefile.am:
5204 * tools/gst-launch.1.in:
5205 Add FILES section and correct entry about GST_REGISTRY_PATH
5206 environment variable (#133495; #133494).
5208 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5210 * tools/Makefile.am:
5211 * tools/gst-md5sum.1.in:
5212 * tools/gst-md5sum.c:
5213 Remove gst-md5sum and man page (the md5sink element
5214 required was removed ages ago)
5216 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5218 * gst/gststructure.c: (gst_structure_id_set_value):
5219 Make sure that string fields in structures/taglists
5220 contain valid UTF-8 - we don't want to pass rubbish to
5221 applications because of a buggy plugin (cp. #334167).
5223 2006-03-21 Edward Hervey <edward@fluendo.com>
5225 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5226 (gst_bin_handle_message_func):
5227 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
5228 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
5229 (gst_element_set_bus_func):
5230 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
5231 * gst/gstminiobject.c: (gst_value_set_mini_object),
5232 (gst_value_take_mini_object):
5233 * gst/gstpad.c: (gst_pad_set_pad_template):
5234 * gst/gstpipeline.c: (gst_pipeline_dispose),
5235 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
5236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
5237 (gst_collect_pads_chain):
5238 * libs/gst/net/gstnettimeprovider.c:
5239 (gst_net_time_provider_set_property):
5240 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
5241 It's in fact all issues with gst_*object_replace().
5243 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5245 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
5247 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5248 * pkgconfig/gstreamer-check.pc.in:
5249 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
5251 2006-03-21 Edward Hervey <edward@fluendo.com>
5256 gst_[buffer|event|message]_ref() macros are replaced by a static
5257 inline functions because gcc-4.1 will about if the return value
5259 * tests/check/gst/gstevent.c: (event_probe):
5260 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
5262 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
5265 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
5266 the type' case. (Closes: #335195 for now). In the future, when we
5267 depend on GLib 2.10, we could also intern the type name using
5268 g_intern_static_string()
5270 2006-03-20 Wim Taymans <wim@fluendo.com>
5272 * gst/gstbin.c: (gst_bin_handle_message_func),
5273 (bin_query_max_init), (bin_query_position_fold),
5274 (bin_query_position_done), (gst_bin_query):
5275 Position query should also take max of all streams.
5277 2006-03-20 Wim Taymans <wim@fluendo.com>
5279 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5280 (gst_fake_src_finalize):
5281 Fix leaks in fakesrc.
5283 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5284 Fix leaks in the testcase.
5286 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
5288 * gst/gst_private.h:
5289 add win32 specific import decoration(__declspec(dllimport))
5290 for all extern GstDebugCategory * variables
5291 * win32/common/libgstbase.def:
5292 * win32/common/libgstcontroller.def:
5293 * win32/common/libgstreamer.def:
5294 Add some exports, remove empty lines
5295 * win32/common/libgstdataprotocol.def:
5296 * win32/common/libgstdataprotocol.dsp:
5297 * win32/common/libgstnet.def:
5298 * win32/common/libgstnet.dsp:
5299 new project files and exportation files added
5301 2006-03-19 Wim Taymans <wim@fluendo.com>
5303 * tests/check/libs/basesrc.c: (eos_event_counter):
5304 Use proper return value for probe.
5306 2006-03-17 Wim Taymans <wim@fluendo.com>
5308 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
5310 Don't leak buffers, caps and pads on negotiation errors.
5312 2006-03-16 Stefan Kost <ensonic@users.sf.net>
5315 * docs/faq/dependencies.xml:
5316 * docs/faq/developing.xml:
5318 * docs/faq/general.xml:
5319 * docs/faq/getting.xml:
5320 * docs/faq/legal.xml:
5321 * docs/faq/troubleshooting.xml:
5322 * docs/faq/using.xml:
5323 Faq review and update.
5325 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
5327 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
5329 Don't pound the cpu to pieces by checking get_caps when accept_caps
5330 is called with the same caps as the pad already has.
5331 Use GST_DEBUG_OBJECT when outputting caps change information.
5333 2006-03-15 Wim Taymans <wim@fluendo.com>
5335 * gst/gstclock.c: (gst_clock_class_init):
5338 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
5343 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
5344 (gst_pad_accept_caps), (gst_pad_configure_sink),
5345 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
5346 Make the default acceptcaps behaviour be to check the requested
5347 caps against the gst_pad_get_caps output.
5349 Ensure that gst_pad_accept_caps is used to check caps when a pad
5350 doesn't have a setcaps function, so that pads automatically refuse
5351 caps that they don't allow in their pad template. (Fixes #332986)
5353 When a buffer with attached caps is pushed, ensure that the source
5354 pad receives those caps even if the element didn't call
5355 gst_pad_set_caps first.
5357 2006-03-15 Wim Taymans <wim@fluendo.com>
5359 * libs/gst/base/gstadapter.c:
5362 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
5364 * win32/common/libgstbase.def:
5365 * win32/common/libgstcontroller.def:
5366 * win32/common/libgstreamer.def:
5367 Add a whole bunch of missing functions (#334434).
5369 2006-03-14 Wim Taymans <wim@fluendo.com>
5371 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5372 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5373 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
5374 Better debug info when we receive a segment event.
5375 Reorganize a bit so we can pass the get_times() results around.
5376 Use the segment format when calculating the running time.
5377 Don't do QoS is sync is disabled or we have no clock or the
5378 element does not want us to sync to the clock.
5379 Don't drop buffers if QoS is disabled for now.
5381 2006-03-14 Wim Taymans <wim@fluendo.com>
5383 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
5384 Marked the stats property as unimplemented so people don't get
5386 Add debug message when regression goes wrong.
5387 Added some more docs.
5389 2006-03-14 Wim Taymans <wim@fluendo.com>
5391 * gst/gstsegment.c: (gst_segment_to_stream_time):
5392 Return correct return type in case of errors.
5394 2006-03-14 Wim Taymans <wim@fluendo.com>
5396 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
5397 Don't segfault on invalid formats.
5399 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
5401 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5402 Can't use gst_segment_to_running_time() when the segment
5403 is not in GST_TIME_FORMAT (like with filesink, for example).
5404 Stops flac encoding pipelines from spewing critical warnings
5407 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
5409 * gst/gstpipeline.c: (gst_pipeline_class_init):
5410 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
5412 * plugins/elements/gsttypefindelement.c:
5413 (gst_type_find_element_handle_event):
5414 Don't try to typefind empty streams.
5416 2006-03-14 Wim Taymans <wim@fluendo.com>
5418 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5419 (gst_base_sink_do_qos):
5420 Separate QoS calculation.
5421 Only drop buffers when lateness is bigger than the
5422 duration of the buffer.
5424 2006-03-13 Wim Taymans <wim@fluendo.com>
5426 * gst/gstpipeline.c: (gst_pipeline_set_property),
5427 (gst_pipeline_get_property), (do_pipeline_seek),
5428 (gst_pipeline_change_state), (gst_pipeline_set_delay),
5429 (gst_pipeline_get_delay):
5430 Don't deadlock when reading properties.
5432 2006-03-13 Wim Taymans <wim@fluendo.com>
5434 * libs/gst/base/gstbasetransform.c:
5435 (gst_base_transform_class_init), (gst_base_transform_init),
5436 (gst_base_transform_sink_event),
5437 (gst_base_transform_sink_eventfunc),
5438 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
5439 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5440 (gst_base_transform_set_property),
5441 (gst_base_transform_get_property),
5442 (gst_base_transform_change_state), (gst_base_transform_update_qos),
5443 (gst_base_transform_set_qos_enabled),
5444 (gst_base_transform_is_qos_enabled):
5445 * libs/gst/base/gstbasetransform.h:
5446 Make basetransform virtual method for src events too.
5447 Handle QOS in basetransform.
5448 API: gst_base_transform_update_qos()
5449 API: gst_base_transform_set_qos_enabled()
5450 API: gst_base_transform_is_qos_enabled()
5452 2006-03-13 Wim Taymans <wim@fluendo.com>
5454 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5455 (gst_base_sink_do_sync):
5457 Use QOS debug category.
5459 2006-03-13 Wim Taymans <wim@fluendo.com>
5461 * plugins/elements/gstqueue.c:
5462 Very small doc update.
5464 2006-03-13 Wim Taymans <wim@fluendo.com>
5466 * gst/gst_private.h:
5467 * gst/gstinfo.c: (_gst_debug_init):
5468 Added QOS debug category
5470 2006-03-13 Wim Taymans <wim@fluendo.com>
5472 * docs/gst/gstreamer-sections.txt:
5473 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
5475 * gst/gstbus.c: (gst_bus_class_init):
5478 * gst/gstelement.c: (gst_element_set_locked_state):
5480 Documentation updates.
5482 * gst/gstpipeline.c: (gst_pipeline_get_type),
5483 (gst_pipeline_class_init), (gst_pipeline_init),
5484 (gst_pipeline_dispose), (gst_pipeline_set_property),
5485 (gst_pipeline_get_property), (do_pipeline_seek),
5486 (gst_pipeline_send_event), (gst_pipeline_change_state),
5487 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
5488 (gst_pipeline_get_delay):
5489 * gst/gstpipeline.h:
5490 Added methods for setting the delay.
5491 API: gst_pipeline_set_delay()
5492 API: gst_pipeline_get_delay()
5493 Add pipeline debug category
5496 Don't reset stream time when seek failed.
5498 2006-03-13 Wim Taymans <wim@fluendo.com>
5500 * docs/design/draft-klass.txt:
5501 * docs/design/part-clocks.txt:
5502 * docs/design/part-events.txt:
5503 * docs/design/part-gstbin.txt:
5504 * docs/design/part-gstpipeline.txt:
5505 * docs/design/part-messages.txt:
5506 * docs/design/part-negotiation.txt:
5507 * docs/design/part-overview.txt:
5508 * docs/design/part-preroll.txt:
5509 * docs/design/part-seeking.txt:
5510 * docs/design/part-states.txt:
5511 * docs/design/part-streams.txt:
5512 Documentation updates.
5514 2006-03-12 Julien MOUTTE <julien@moutte.net>
5516 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
5517 us to leak strings...
5519 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
5521 * libs/gst/net/gstnettimeprovider.c:
5523 * win32/common/config.h:
5526 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
5528 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
5531 Don't check for libgnomeui (leftover from old examples
5532 that aren't built or disted any longer) (#334303).
5534 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
5536 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
5537 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
5538 Emit RESOURCE_NO_SPACE_LEFT error here as well when
5539 there's no space left on the device.
5541 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
5544 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
5545 to cast the input to GstClockTime before comparing with
5546 another GstClockTime value.
5548 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
5553 === release 0.10.4 ===
5555 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
5558 releasing 0.10.4, "Light"
5560 2006-03-10 Michael Smith <msmith@fluendo.com>
5562 * libs/gst/dataprotocol/dataprotocol.c:
5563 Fix docs for dataprocotol to not get the return types completely
5564 wrong for a few functions.
5566 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5568 * docs/gst/gstreamer-sections.txt:
5569 * gst/gstpipeline.c: (gst_pipeline_class_init),
5570 (gst_pipeline_init), (gst_pipeline_set_property),
5571 (gst_pipeline_get_property), (gst_pipeline_change_state),
5572 (gst_pipeline_set_auto_flush_bus),
5573 (gst_pipeline_get_auto_flush_bus):
5574 * gst/gstpipeline.h:
5575 Add new API: gst_pipeline_set_auto_flush_bus() and
5576 gst_pipeline_get_auto_flush_bus() to disable automatic
5577 flushing of the pipeline's GstBus when going from READY
5578 to NULL state (#332045).
5580 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5582 * docs/gst/gstreamer-sections.txt:
5583 * gst/gsturi.c: (gst_uri_has_protocol):
5585 Add new API: gst_uri_has_protocol() (#333779).
5587 2006-03-09 Wim Taymans <wim@fluendo.com>
5589 * gst/gstclock.c: (gst_clock_entry_new),
5590 (gst_clock_id_compare_func), (gst_clock_id_wait),
5591 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
5592 (gst_clock_init), (gst_clock_get_internal_time),
5593 (gst_clock_set_master), (do_linear_regression),
5594 (gst_clock_add_observation), (gst_clock_set_property):
5598 Fix a possible segfault when the window-size is made smaller.
5599 Calculate jitter before performing the clock wait. Ideally
5600 the clock implementation should calculate jitter but we need
5601 API breakage for that.
5603 * gst/gstsystemclock.c: (gst_system_clock_init):
5606 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5607 Remove leftover else
5609 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5610 (gst_systemclock_suite):
5611 Added check to test GST_CLOCK_DIFF.
5613 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5615 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5616 (gst_type_find_helper_get_range):
5617 If we are provided with the size, we should implement
5618 GstTypeFind::get_length, so that typefind functions who
5619 want to can actually peek at the middle of a file.
5621 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
5623 * docs/manual/advanced-dataaccess.xml:
5624 Add some very very basic error checking.
5626 * docs/pwg/appendix-checklist.xml:
5627 Some updates to the list of things to check when writing an element.
5629 2006-03-08 Wim Taymans <wim@fluendo.com>
5631 * docs/design/part-element-transform.txt:
5632 Added some docs about the design of tranform elements.
5634 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5635 (gst_base_src_loop), (gst_base_src_change_state):
5636 Mark buffers with the DISCONT flag.
5638 2006-03-08 Michael Smith <msmith@fluendo.com>
5640 * gst/gstregistry.h:
5641 * gst/gstregistryxml.c: (gst_registry_save),
5642 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5643 (gst_registry_xml_save_pad_template),
5644 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5645 (gst_registry_xml_write_cache):
5646 Rewrite registry-saving to avoid race conditions and check for
5649 2006-03-08 Wim Taymans <wim@fluendo.com>
5651 * libs/gst/base/gstbasetransform.c:
5652 (gst_base_transform_transform_caps),
5653 (gst_base_transform_transform_size),
5654 (gst_base_transform_prepare_output_buffer),
5655 (gst_base_transform_get_unit_size),
5656 (gst_base_transform_buffer_alloc),
5657 (gst_base_transform_handle_buffer),
5658 (gst_base_transform_change_state):
5659 Cleanups, separate normal flow from errors, add sensible
5661 Don't try to renegotiate when allocating an output buffer.
5662 Also copy DISCONT buffer flag when copying a buffer.
5663 Reset the transform after we finish streaming, not during.
5665 2006-03-08 Wim Taymans <wim@fluendo.com>
5667 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5668 Use last buffer timestamp in qos message.
5670 2006-03-07 Wim Taymans <wim@fluendo.com>
5672 Patch by: Christophe Fergeau
5674 * docs/pwg/advanced-tagging.xml:
5675 * docs/pwg/building-pads.xml:
5678 2006-03-07 Wim Taymans <wim@fluendo.com>
5680 * docs/libs/gstreamer-libs-sections.txt:
5681 Added basesink new methods.
5685 Docs updates. Flesh out the QoS docs.
5687 * libs/gst/base/gstadapter.c:
5688 Small doc clarification about ownership and flushing.
5690 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5691 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5692 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5693 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5694 * libs/gst/base/gstbasesink.h:
5696 Added new methods to allow subclass to control max-lateness
5698 Generate very basic QoS events based on last sync observation.
5699 Updated docs, fix typo, added some QoS blurb.
5701 * libs/gst/base/gstbasesrc.c:
5702 Remove obsolete _get_state() calls from docs.
5704 2006-03-07 Wim Taymans <wim@fluendo.com>
5706 * docs/libs/gstreamer-libs-sections.txt:
5707 * libs/gst/base/gstbasetransform.h:
5708 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5709 Fix docs for GstBaseSrc.
5711 2006-03-07 Wim Taymans <wim@fluendo.com>
5713 * docs/gst/gstreamer-sections.txt:
5716 * libs/gst/base/gstbasetransform.h:
5717 Small documentation fixes.
5719 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5722 Document thread-unsafety of gst_value_register_foo_func()
5723 when used at the same time as gst_value_foo() (#322628).
5725 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5727 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5728 (gst_push_src_check_get_range):
5729 Push sources don't support pull mode by default.
5731 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5733 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5734 (gst_base_src_init), (gst_base_src_pad_check_get_range),
5735 (gst_base_src_default_check_get_range):
5736 * libs/gst/base/gstbasesrc.h:
5737 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5738 provide default implementation, and rename
5739 gst_base_src_check_get_range() to
5740 gst_base_src_pad_check_get_range() for clarity.
5742 2006-03-06 Wim Taymans <wim@fluendo.com>
5744 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5745 Make property overridable.
5747 2006-03-06 Wim Taymans <wim@fluendo.com>
5749 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5750 (gst_base_sink_init), (gst_base_sink_set_property),
5751 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5752 * libs/gst/base/gstbasesink.h:
5753 API addition: Make max-lateness a property.
5755 2006-03-06 Wim Taymans <wim@fluendo.com>
5757 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5758 (gst_base_sink_do_sync), (gst_base_sink_render_object):
5759 Don't ever draw a frame that is >10ms late.
5761 2006-03-06 Michael Smith <msmith@fluendo.com>
5763 * gst/gstmessage.c: (_gst_message_copy):
5764 When copying a message, set the parent_refcount of the enclosed
5765 structure to point at the copy, not the original message.
5767 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5769 Patch by: Christophe Fergeau
5772 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5773 usable in c++ code (#333417)
5775 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
5778 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5780 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
5782 * libs/gst/base/gstbasetransform.c:
5783 (gst_base_transform_transform_caps):
5784 Make sure caps are writable before passing them to
5787 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5790 Fix some minor docs errors.
5792 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5794 Patch by: Ross Burton <ross at burtonini dot com>
5796 * gst/gsterror.c: (_gst_resource_errors_init):
5798 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5800 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5803 Add a check and output a g_warning when GStreamer is built
5804 against GLib 2.6 but running against 2.8 or higher, and vice
5805 versa. (Closes: #323542)
5807 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5809 * gst/parse/parse.l:
5810 Commit patch for parse_launch syntax from #331255. Removes
5811 support for quoted strings and mimetypes when writing filtered
5812 caps. See the bug report for more details - I'm pretty sure this
5813 obscure feature is not in use by _anyone_ anywhere.
5815 With this simple change, the size of the gstreamer.so here
5816 drops from 2193KB to 1565KB.
5818 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5820 * plugins/elements/gsttypefindelement.h:
5821 * plugins/elements/gsttypefindelement.c:
5822 (gst_type_find_element_src_event), (start_typefinding),
5823 (stop_typefinding), (gst_type_find_element_handle_event),
5824 (gst_type_find_element_chain),
5825 (gst_type_find_element_chain_do_typefinding):
5826 Use gst_type_find_helper_for_buffer() for chain-based
5829 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5831 * plugins/elements/gsttypefindelement.c:
5832 (gst_type_find_element_class_init),
5833 (gst_type_find_element_set_property),
5834 (gst_type_find_element_get_property):
5835 Deprecate "maximum" property (not only was it only taken into
5836 account for typefinding in push-mode anyway, it also was never
5837 actually possible to set it in the first place because the
5838 property was registered with the numeric property ID for the
5839 "minimum" property). Register "maximum" property correctly,
5840 for the sake of future copy'n'pasters. Remove some cruft
5841 from property get/set functions.
5843 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5845 * plugins/elements/gsttypefindelement.c:
5846 (gst_type_find_element_activate):
5847 Use gst_type_find_helper_get_range() here, so we
5848 can honour the "minimum" property and also emit
5849 the signal with the correct probability of the found caps.
5851 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
5853 * docs/libs/gstreamer-libs-sections.txt:
5854 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5855 (helper_find_suggest), (gst_type_find_helper_get_range),
5856 (gst_type_find_helper):
5857 * libs/gst/base/gsttypefindhelper.h:
5858 New API: gst_type_find_helper_get_range() (#333042).
5860 2006-03-02 Michael Smith <msmith@fluendo.com>
5862 * gst/gstregistryxml.c: (load_feature):
5863 Asserting on a failure to read part of the registry is Not Cool.
5864 Just log a warning and return NULL (which is already handled)
5866 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
5868 * win32/common/libgstbase.def:
5869 added export of gst_type_find_helper_for_buffer
5870 * win32/common/libgstbase.def:
5871 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5872 gst_ghost_pad_get_target
5874 2006-02-28 Wim Taymans <wim@fluendo.com>
5876 * docs/design/draft-klass.txt:
5878 Added Connector to mark elements that are only used to
5879 allow pipeline connections.
5880 Moved Debug to extra feature since most of them are
5881 functionally something else.
5883 2006-02-28 Wim Taymans <wim@fluendo.com>
5885 * docs/design/draft-klass.txt:
5886 Some updates and clarifications.
5888 2006-02-28 Wim Taymans <wim@fluendo.com>
5890 * docs/design/draft-klass.txt:
5891 Proposal for klass field values.
5893 * docs/design/part-streams.txt:
5894 Start of a doc describing stream anatomy.
5896 2006-02-28 Wim Taymans <wim@fluendo.com>
5898 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5899 Help the compiler a bit with type registration.
5900 Use existing forward cod path instead of duplicating it when
5903 * gst/gstbus.c: (gst_bus_get_type):
5904 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5905 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5906 * gst/gstclock.c: (gst_clock_get_type):
5907 * gst/gstelement.c: (gst_element_get_type),
5908 * gst/gstelementfactory.c: (gst_element_factory_get_type):
5909 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5910 * gst/gstminiobject.c: (gst_mini_object_get_type):
5911 * gst/gstpad.c: (gst_pad_get_type):
5912 * gst/gstsegment.c: (gst_segment_get_type):
5913 * gst/gststructure.c: (gst_structure_get_type):
5914 * gst/gstsystemclock.c: (gst_system_clock_get_type):
5915 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5917 Help compiler with type registration.
5919 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5922 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5924 * plugins/elements/gsttypefindelement.c:
5925 (gst_type_find_element_handle_event):
5926 When we get an EOS event and have not found a type yet
5927 (most likely because we had not yet accumulated
5928 TYPE_FIND_MIN_SIZE of data yet), try to determine the
5929 type given the data we have so far. Fixes typefinding
5930 for very short streams again, most notably quicktime
5931 redirections as used on Apple's trailer site (#331701).
5933 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5935 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5936 (gst_type_find_helper):
5937 Try typefinding factories with the highest rank first.
5939 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5941 * docs/libs/gstreamer-libs-docs.sgml:
5942 * docs/libs/gstreamer-libs-sections.txt:
5943 * libs/gst/base/gsttypefindhelper.c:
5944 Add section for typefind helper and add documentation
5945 for the old and the new function.
5947 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5949 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5950 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5951 (gst_type_find_helper_for_buffer):
5952 * libs/gst/base/gsttypefindhelper.h:
5953 New API: gst_type_find_helper_for_buffer() (#332723).
5955 2006-02-27 Michael Smith <msmith@fluendo.com>
5957 Patch by: Loïc Minier
5961 * docs/slides/Makefile.am:
5962 prevent CVS directories getting disted.
5964 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5966 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5967 Use the REFCOUNTING category for caps refcounting.
5969 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5971 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5972 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5974 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5976 * plugins/elements/gsttypefindelement.c:
5977 (gst_type_find_element_activate):
5978 Use gst_pad_check_pull_range() before _activate_pull()
5979 to avoid unnecessary open/close (see #331690).
5981 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5984 Docs enhancement: make it crystal clear what the
5985 gst_pad_add_*_probe() callbacks should look like.
5987 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5989 * libs/gst/base/gstbasesrc.c:
5990 Document how applications can stop recording from
5991 live sources (see #330996).
5993 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5995 * tests/check/Makefile.am:
5996 * tests/check/libs/basesrc.c: (eos_event_counter),
5997 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5998 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5999 (gst_basesrc_suite), (main):
6000 ... and add some tests for the base source EOS stuff.
6002 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
6004 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
6005 Test case originally showed the problem fixed below,
6006 but was then amended. Add checks back at the place
6007 where they used to be.
6009 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
6011 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6012 (gst_base_src_init), (gst_base_src_loop),
6013 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6014 (gst_base_src_change_state):
6015 * libs/gst/base/gstbasesrc.h:
6016 Don't unconditionally send EOS when going from PAUSED to
6017 READY state, esp. make sure we don't send two EOS events
6018 in some cases (e.g. one when reaching EOS and one when
6019 going from PAUSED to READY). Also, we don't want to send
6020 EOS events when operating in pull mode. However, we do
6021 want to send an EOS event when shutting down a live
6022 source explicitly, for example (fixes #330996).
6024 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
6026 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6027 Update src->read_position after a seek when not using mmap.
6028 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
6030 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
6036 Make things work with --disable-parse as they do with
6037 --disable-load-save - the symbols involved disappear, but the
6038 header is still installed and GST_DISABLE_PARSE is included via
6041 2006-02-20 Julien MOUTTE <julien@moutte.net>
6043 * libs/gst/base/gstbasetransform.c:
6044 (gst_base_transform_change_state): Fix a stupid bug. I was
6045 sure I compiled that.
6047 2006-02-20 Julien MOUTTE <julien@moutte.net>
6049 * gst/gstpad.c: (gst_pad_set_blocked_async):
6050 * gst/gstutils.c: (gst_pad_add_data_probe),
6051 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6052 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6053 (gst_pad_remove_buffer_probe): Make those function act on the
6054 ghostpad target when it's a ghostpad. (Closes #331727)
6056 2006-02-20 Julien MOUTTE <julien@moutte.net>
6058 * libs/gst/base/gstbasetransform.c:
6059 (gst_base_transform_change_state): Make basetransform reusable.
6062 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
6064 * docs/random/release:
6065 Move the current documentation of how to do a release to the top
6068 * gst/gstbin.c: (gst_bin_class_init),
6069 (gst_bin_handle_message_func):
6070 Allow multiple state-recalculation threads. (Closes #328873)
6072 2006-02-19 Julien MOUTTE <julien@moutte.net>
6074 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
6075 * gst/gstpad.c: (gst_pad_set_event_function),
6076 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6077 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
6078 2 strings. You can't use the STR_NULL macro on that.
6080 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
6082 * gst/gstpad.c: (gst_pad_set_event_function),
6083 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6084 (gst_pad_set_getcaps_function)
6085 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
6086 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
6087 So now, we can use --gst-debug-level=5 on Windows
6088 * win32/common/libgstcontroller.def:
6089 Added export of gst_controller_init
6090 * win32/vs6/libgstcontroller.dsp:
6091 Fixed Release post build configuration
6093 2006-02-17 Wim Taymans <wim@fluendo.com>
6095 * tests/check/gst/gstquery.c: (GST_START_TEST):
6096 Added another check.
6098 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
6100 * plugins/elements/gsttypefindelement.c: (find_peek):
6101 We can do peeks at non-zero offsets, as long as they
6102 fall within the buffer we have.
6104 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
6106 * tests/check/Makefile.am:
6107 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
6108 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
6109 (parse_suite), (main):
6110 Add testsuite for parse launch syntax
6112 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
6114 * plugins/elements/gsttypefindelement.c:
6115 (gst_type_find_element_chain):
6116 When typefinding is unsuccessful in the chain function, don't
6117 error out immediately. Only error out with NO_CAPS_FOUND if
6118 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
6119 otherwise simply wait for more data so we can try typefinding
6120 again with more data later. Also, don't attempt to typefind
6121 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
6122 this should improve typefinding from network sources where the
6123 size of the first buffer can be somewhat random.
6125 2006-02-14 Wim Taymans <wim@fluendo.com>
6127 * docs/gst/gstreamer-sections.txt:
6128 * gst/gstpadtemplate.c:
6129 * gst/gstpadtemplate.h:
6130 Fix padtemplate docs, fixes #328805.
6132 2006-02-14 Wim Taymans <wim@fluendo.com>
6134 * tools/gst-launch.c: (main):
6135 NO_PREROLL is not an ERROR so don't send confusing messages
6138 2006-02-14 Wim Taymans <wim@fluendo.com>
6140 Patch by: Torsten Schoenfeld
6142 * gst/gstregistry.c: (gst_registry_get_default),
6143 (_gst_registry_cleanup):
6144 Protect default registry with lock and ref/sink it.
6147 2006-02-14 Wim Taymans <wim@fluendo.com>
6150 * gst/gstquery.c: (gst_query_list_add_format),
6151 (gst_query_set_formatsv), (gst_query_parse_formats_length),
6152 (gst_query_parse_formats_nth):
6153 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6156 2006-02-14 Wim Taymans <wim@fluendo.com>
6158 * docs/gst/gstreamer-sections.txt:
6159 Reworked query docs.
6161 * gst/gstquery.c: (gst_query_new_formats),
6162 (gst_query_list_add_format), (gst_query_set_formats),
6163 (gst_query_set_formatsv), (gst_query_parse_formats_length),
6164 (gst_query_parse_formats_nth):
6166 Flesh out formats query, added some new methods.
6167 Fix part of #324398.
6169 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
6170 Added query creation tests.
6172 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
6174 * gst/gstpad.c: (fixate_value):
6175 Add a default fixation for fraction lists.
6177 2006-02-13 Wim Taymans <wim@fluendo.com>
6179 * gst/gsttask.c: (gst_task_init), (gst_task_func),
6180 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
6183 Detect and warn for obvious deadlocks. fixes #320340
6184 Fix error case where lock was not released.
6186 * tests/check/Makefile.am:
6187 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
6188 (task_func), (gst_element_suite), (main):
6191 2006-02-13 Wim Taymans <wim@fluendo.com>
6193 * docs/gst/gstreamer-sections.txt:
6195 Add new functions to docs.
6197 2006-02-13 Wim Taymans <wim@fluendo.com>
6199 * docs/design/part-TODO.txt:
6200 Updated TODO list, basesrc supports seeking to non-bytes
6203 * docs/design/part-element-sink.txt:
6206 * gst/gstbin.c: (bin_replace_message),
6207 (gst_bin_handle_message_func):
6208 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
6209 * gst/gstevent.c: (gst_event_finalize):
6210 * gst/gstpad.c: (gst_pad_event_default_dispatch),
6211 (gst_pad_send_event):
6212 Use shiny new _TYPE_NAME macros.
6214 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6215 Move debug statement up.
6217 * gst/gstelement.c: (gst_element_set_locked_state):
6220 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
6222 * docs/gst/gstreamer-sections.txt:
6225 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
6226 macros (#330906). Also, document the already existing
6227 GST_QUERY_TYPE macro.
6229 2006-02-13 Wim Taymans <wim@fluendo.com>
6231 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
6232 (event_probe), (GST_START_TEST):
6233 Only events up to the pipeline EOS are counted, there are
6234 some more when going to NULL currently which we don't care
6237 2006-02-13 Wim Taymans <wim@fluendo.com>
6239 * gst/gstpad.c: (gst_pad_send_event):
6240 Correctly check flushing and emit probes. fixes #330125
6242 2006-02-10 Andy Wingo <wingo@pobox.com>
6244 * gst/gstbus.c (gst_bus_class_init): Declare our private data
6246 (gst_bus_init): Cache the location of the private data in the
6248 (gst_bus_enable_sync_message_emission)
6249 (gst_bus_disable_sync_message_emission): Implement new public
6251 (gst_bus_post): Emit the sync-message signal if the user asked for
6254 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
6255 location of the bus-private structure.
6256 (gst_bus_enable_sync_message_emission)
6257 (gst_bus_disable_sync_message_emission): API addition
6259 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
6261 Patch by: Vincent Torri
6263 * docs/pwg/building-boiler.xml:
6264 PWG patch from #326800
6266 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
6270 * docs/design/Makefile.am:
6273 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
6278 === release 0.10.3 ===
6280 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
6283 releasing 0.10.3, "Like a virgin"
6285 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
6288 2nd prerelease of 0.10.3
6289 Bump libtool versioning.
6291 2006-02-07 Andy Wingo <wingo@pobox.com>
6293 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
6294 update last_stop if we're in TIME format and the timestamp is
6297 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
6298 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
6299 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
6300 If we get a new newsegment with a different format, adapt
6303 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
6304 of 0. Not a problem, really.
6306 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
6309 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
6314 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
6317 project files updated to the default vs7 configuration
6318 * win32/common/libgstbase.def:
6319 * win32/common/libgstreamer.def:
6321 removed empty lines,
6322 sorted all exported symbols alphabetically
6323 * win32/common/dirent.c:
6324 * win32/common/dirent.h:
6325 * win32/common/gchar.h:
6326 use windows line end.
6328 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
6330 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6331 Send EOS event when stopping.
6333 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
6336 Tell folks what to do if the plugin-foobar.xml file
6337 hasn't been generated for a newly-added plugin.
6339 2006-02-05 Julien MOUTTE <julien@moutte.net>
6341 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6342 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6343 (gst_collect_pads_start), (gst_collect_pads_stop),
6344 (gst_collect_pads_event): Collectpads now holds a reference
6345 to the GstPad that was added. Indeed we don't want to look
6346 at pads that might just go away with no warning...
6348 2006-02-05 Julien MOUTTE <julien@moutte.net>
6350 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6351 (gst_collect_pads_start), (gst_collect_pads_stop),
6352 (gst_collect_pads_event), (gst_collect_pads_chain):
6353 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
6354 Mark Nauwelaerts's patch on bug #328491.
6356 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
6358 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
6360 Add some simple tests for gst_parse_bin_from_description() and
6361 gst_bin_find_unconnected_pad() (#329069).
6363 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
6365 * tools/gst-launch.c: (event_loop), (main):
6366 Catch errors during preroll (#320084).
6368 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
6370 * plugins/elements/gsttypefindelement.c:
6371 (gst_type_find_element_activate):
6372 Post TYPE_NOT_FOUND error message when typefinding
6373 is unsuccessful in the activate function as well.
6375 2006-02-02 Wim Taymans <wim@fluendo.com>
6377 * docs/design/part-element-sink.txt:
6380 2006-02-02 Wim Taymans <wim@fluendo.com>
6382 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
6383 (gst_base_sink_render_object),
6384 (gst_base_sink_queue_object_unlocked):
6385 Only keep track of prerollable items when we are
6387 Before rendering after preroll, always check if we
6389 Added some more debugging.
6391 2006-02-02 Wim Taymans <wim@fluendo.com>
6393 * gst/gstelement.c: (gst_element_continue_state),
6394 (gst_element_set_state_func), (gst_element_change_state):
6395 Fixed #326576, been running this for quite some time with
6396 no regressions at all.
6398 2006-02-02 Wim Taymans <wim@fluendo.com>
6401 Added more suppressions
6403 2006-02-02 Wim Taymans <wim@fluendo.com>
6405 * docs/design/part-element-sink.txt:
6408 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6409 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
6410 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
6411 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
6412 (gst_base_sink_do_sync), (gst_base_sink_render_object),
6413 (gst_base_sink_preroll_object),
6414 (gst_base_sink_queue_object_unlocked),
6415 (gst_base_sink_queue_object), (gst_base_sink_event),
6416 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
6417 (gst_base_sink_loop), (gst_base_sink_activate_pull),
6418 (gst_base_sink_get_position), (gst_base_sink_change_state):
6419 * libs/gst/base/gstbasesink.h:
6420 Totally refactored matching the design doc.
6421 Use two segments, one to clip incomming buffers and another to
6423 Handle queueing correctly, bypass the queue when playing.
6424 Make EOS cancelable.
6425 Handle errors correctly when operating in pull based mode.
6427 * tests/check/elements/fakesink.c: (GST_START_TEST),
6429 Added new check for sinks.
6431 2006-02-02 Wim Taymans <wim@fluendo.com>
6433 * gst/gstsegment.c: (gst_segment_clip):
6434 No reason to refuse to clip when start == -1
6436 2006-02-02 Stefan Kost <ensonic@users.sf.net>
6439 * docs/manual/intro-basics.xml:
6440 * docs/manual/intro-preface.xml:
6441 * docs/manual/manual.xml:
6442 * docs/pwg/advanced-dparams.xml:
6443 * docs/pwg/intro-basics.xml:
6444 * docs/pwg/intro-preface.xml:
6446 describe dparams (controller) for plugins
6447 unify docs a little more
6449 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
6451 * docs/gst/gstreamer-sections.txt:
6452 * gst/gstutils.c: (element_find_unconnected_pad),
6453 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
6455 Add new API: gst_parse_bin_from_description() and
6456 gst_bin_find_unconnected_pad() (#329069).
6458 2006-02-01 Stefan Kost <ensonic@users.sf.net>
6460 * docs/manual/README:
6461 uncover a nasty detail of the docs build
6463 2006-01-31 Wim Taymans <wim@fluendo.com>
6465 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
6466 Don't cache duration messages if we're not going to use or
6469 2006-01-31 Stefan Kost <ensonic@users.sf.net>
6471 * docs/manual/advanced-dparams.xml:
6472 * docs/pwg/advanced-dparams.xml:
6476 * libs/gst/controller/lib.c: (gst_controller_init):
6479 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
6481 * gst/gstelement.c: (gst_element_message_full):
6482 also show file/line/func if no additional debug was given
6484 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
6486 * win32/vs7/grammar.vcproj:
6487 activate copy of autogenerated files for Release mode
6489 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
6491 * win32/common/libgstreamer.def:
6492 export gst_value_compare
6494 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
6496 * plugins/elements/Makefile.am:
6497 * plugins/elements/gstelements.c:
6498 * plugins/elements/gstfdsink.c: (_do_init),
6499 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
6500 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
6501 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
6502 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
6503 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
6504 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
6505 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
6506 * plugins/elements/gstfdsink.h:
6507 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
6509 2006-01-30 Stefan Kost <ensonic@users.sf.net>
6511 * docs/manual/advanced-dparams.xml:
6513 * docs/manual/advanced-position.xml:
6514 * docs/manual/basics-init.xml:
6515 * docs/manual/manual.xml:
6516 * docs/manual/titlepage.xml:
6518 * docs/pwg/titlepage.xml:
6519 cleanup xml (more to come)
6520 * libs/gst/controller/gstcontroller.c:
6523 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
6525 * win32/vs6/grammar.dsp:
6526 add autogen of gstmarshal.c,h for Release mode
6528 2006-01-30 Wim Taymans <wim@fluendo.com>
6530 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6531 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
6532 (gst_base_sink_handle_object), (gst_base_sink_event),
6533 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
6534 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6535 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
6536 (gst_base_sink_deactivate), (gst_base_sink_activate),
6537 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6538 (gst_base_sink_query), (gst_base_sink_change_state):
6539 Basesink cleanups, remove some old code.
6540 Handle the case where a subclass can preroll in the render
6541 method (mostly audiosinks).
6543 Remove some locks around variables that are now protected
6544 with the PREROLL_LOCK (clock_id, flushing, ..).
6545 Optimize position query some more, do correct locking.
6546 Remove old code to push queue in state change, this is not
6547 needed anymore since preroll blocks on all prerollable items
6549 Almost implemented as described in design doc.
6551 2006-01-30 Wim Taymans <wim@fluendo.com>
6553 * tests/check/gst/gstbin.c: (GST_START_TEST):
6554 Wait for refcount to settle down before checking.
6556 2006-01-30 Wim Taymans <wim@fluendo.com>
6558 * docs/design/part-element-sink.txt:
6559 Pseudo code overview of desired sink behaviour regarding
6562 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6563 * win32/vs6/grammar.dsp:
6564 fix some bugs in Release mode for autogenerated files
6566 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6567 * win32/common/libgstbase.def:
6568 * win32/common/libgstreamer.def:
6569 export some new symbols: gst_base_src_set_format,
6570 gst_iterator_next, gst_structure_set_valist
6572 2006-01-29 Julien MOUTTE <julien@moutte.net>
6574 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6575 Set pad functions unconditionally. Fixes #329105.
6577 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6579 add vs8 project files created by Sergey Scobich
6581 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
6583 * gst/gstutils.c: (gst_element_unlink_pads):
6584 Don't leak pad references.
6586 * tests/check/elements/fakesink.c: (GST_START_TEST):
6587 * tests/check/generic/sinks.c: (GST_START_TEST):
6588 * tests/check/generic/states.c: (GST_START_TEST):
6589 * tests/check/gst/gstbin.c: (GST_START_TEST):
6590 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6591 * tests/check/gst/gstelement.c: (GST_START_TEST):
6592 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6593 * tests/check/gst/gstiterator.c: (GST_START_TEST):
6594 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6595 Fix a bunch of leaks. Make generic/sinks.c
6596 use a bit less cpu by slowing the buffer rate
6597 between fakesrc and fakesink.
6599 2006-01-27 Stefan Kost <ensonic@users.sf.net>
6601 * gst/gstelement.c: (gst_element_send_event):
6604 * gst/gstiterator.c:
6605 * gst/gstiterator.h:
6606 * gst/gstpad.c: (gst_pad_send_event):
6607 * gst/gststructure.c:
6611 * libs/gst/base/gstadapter.c:
6612 doc fixes, to link to function, just write gst_cool_function(), don't
6615 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6617 * plugins/elements/gsttee.c: (gst_tee_do_push),
6618 (gst_tee_handle_buffer):
6619 Always prefer an actual return value from a src
6620 pad in place of NOT_LINKED. This means we return
6621 WRONG_STATE when all src pads are WRONG_STATE
6622 instead of NOT_LINKED.
6624 Lock when replacing the last message to prevent
6625 racing with the get_property method.
6629 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6631 * tests/check/Makefile.am:
6632 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6634 Add a very simple check that should have caught the memleak I fixed
6635 last night (if not for the slice allocator hiding it)
6637 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6639 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6640 (gst_bin_remove_func), (gst_bin_handle_message_func),
6641 (bin_query_duration_fold), (bin_query_generic_fold):
6642 Clean up references to the clock provider when disposed or when
6643 handling a clock-lost message from it.
6645 Unref sinks when performing a query via gst_iterator_fold, as the
6646 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6648 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6649 (gst_clock_set_master):
6650 Drop our reference to the master clock, if any, when we are disposed.
6652 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6653 Chain up in dispose.
6655 2006-01-26 Wim Taymans <wim@fluendo.com>
6657 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6660 2006-01-26 Julien MOUTTE <julien@moutte.net>
6662 * plugins/elements/gsttee.c: (gst_tee_do_push),
6663 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6664 handles pad being NOT_LINKED or in WRONG_STATE.
6666 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6671 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6674 remove obsolete entry
6676 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6678 * docs/gst/gstreamer-sections.txt:
6679 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6680 (gst_bin_iterate_sources), (gst_bin_send_event):
6682 * gst/gstelement.c: (gst_element_send_event):
6684 * gst/gstpad.c: (gst_pad_send_event):
6685 added code for downstream events, reviewed docs in gstevent.c
6687 2006-01-25 Julien MOUTTE <julien@moutte.net>
6689 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6690 We only query position using the clock in the playing state.
6691 Query peer in the other cases.
6692 * win32/common/config.h: Updates.
6694 2006-01-24 Wim Taymans <wim@fluendo.com>
6696 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6697 A clock entry that is scheduled for the exact time of the
6698 clock is still in time.
6700 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6701 (gst_base_sink_do_sync):
6702 Add some more debug info.
6704 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6707 Add new vs7 project files and solution.
6709 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6712 all files removed as they were out-dated.
6714 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6716 * docs/random/release:
6718 * gst/gstbin.c: (gst_bin_init):
6719 * gst/gstbus.c: (gst_bus_new):
6721 * gst/gstpipeline.c: (gst_pipeline_init):
6722 use gst_bus_new(), improve logging, fix docs
6723 * win32/common/config.h:
6724 update for cvs build
6726 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6729 up required version of automake to 1.7
6731 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
6733 * win32/common/libgstreamer.def:
6734 export gst_buffer_is_metadata_writable
6736 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
6738 * docs/gst/gstreamer-sections.txt:
6740 Add gst_event_replace() (#327001)
6742 2006-01-20 Wim Taymans <wim@fluendo.com>
6744 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6745 Make it actually compile too..
6747 2006-01-20 Wim Taymans <wim@fluendo.com>
6750 Clarify behaviour of _is_equal() when passing NULL parameters.
6752 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6754 Cleanups. Don't unref NULL caps.
6755 When setting the same caps, protect caps of the pad with
6757 Use full functionality of _is_equal() when comparing caps.
6759 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6761 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6762 Don't loop infinitely if there are no buffers to present. Partially
6763 fixes #327197, but collectpads is just broken for reusing elements
6764 to do multiple encodes atm.
6766 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6768 * tools/gst-inspect.c: (print_element_features):
6769 * tools/gst-xmlinspect.c: (main):
6770 URL_HANDLER is not a plugin feature we can search for in
6773 2006-01-19 Edward Hervey <edward@fluendo.com>
6775 * gst/gstelement.c: (gst_element_pads_activate):
6776 When activating, do src pads first, then sink pads.
6777 When de-activating, do sink pads first, then src pads.
6779 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6781 * docs/gst/gstreamer-sections.txt:
6782 Add gst_index_add_associationv to the docs
6784 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6789 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6790 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6791 Do some refactoring. Doesn't actually change functionality,
6792 but makes landing the DRAIN event easier later.
6794 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
6796 * docs/pwg/advanced-scheduling.xml:
6797 Update from 0.9.x to 0.10 API and make example a bit
6800 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6802 * docs/gst/gstreamer-sections.txt:
6803 Add gst_buffer_(is|make)_metadata_writable methods.
6805 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6807 * docs/design/part-sparsestreams.txt:
6808 Update sparse streams doc, hopefully for greater clarity
6810 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
6812 * docs/design/part-events.txt:
6813 Remove mention of FILLER events.
6816 * docs/design/part-sparsestreams.txt:
6817 Write some things about using NEWSEGMENT to keep sparse streams
6820 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6822 * gst/gstbin.c: (gst_bin_dispose):
6823 Guard gst_object_unref call against a NULL object (dispose
6824 can theoretically be called multiple times).
6826 2006-01-18 Wim Taymans <wim@fluendo.com>
6828 * gst/gstbin.c: (gst_bin_element_set_state):
6829 * gst/gstclock.c: (gst_clock_id_wait):
6830 Added some more debug info.
6832 * libs/gst/base/gstadapter.c:
6835 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6836 (gst_base_sink_do_sync), (gst_base_sink_chain):
6837 Added some comments.
6839 2006-01-18 Wim Taymans <wim@fluendo.com>
6841 * tests/check/Makefile.am:
6842 * tests/check/elements/fakesink.c: (chain_async_buffer),
6843 (chain_async), (chain_async_return), (GST_START_TEST),
6844 (fakesink_suite), (main):
6845 Added fakesink test that checks prerolling and clipping
6848 * tests/check/gst/gstutils.c: (GST_START_TEST):
6849 Make check run faster so that buildbots don't timeout.
6851 2006-01-18 Wim Taymans <wim@fluendo.com>
6853 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6854 (gst_base_sink_do_sync):
6856 When the sink finishes blocking on the preroll buffer, it can
6857 immediatly render it instead of rendering when the next buffer
6860 2006-01-18 Wim Taymans <wim@fluendo.com>
6862 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6863 (gst_base_sink_get_property), (gst_base_sink_do_sync),
6864 (gst_base_sink_chain):
6866 GST_ELEMENT_CLOCK and sync are protected with LOCK.
6867 Don't store _last_stop if the buffer is dropped.
6869 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6871 * plugins/elements/gsttypefindelement.c:
6872 (gst_type_find_element_class_init):
6873 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6874 object method handler that sets the caps on the pad and we want
6875 that to happen before we emit the signal (fixes e.g. feeding a
6876 plain text file to decodebin).
6878 2006-01-18 Christian Schaller <Christian@fluendo.com>
6880 * gst/gstplugin.c: Add MPL and Proprietary as license options
6882 2006-01-18 Andy Wingo <wingo@pobox.com>
6884 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6885 symbol was exported before, it appears this was just an oversight.
6887 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6889 * gst/gstindex.c (gst_index_add_associationv): Changed int in
6890 prototype to gint. OK since this prototype was not in the header.
6892 2006-01-17 Andy Wingo <wingo@pobox.com>
6894 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6895 registry while we remove plugins.
6897 * tools/gst-inspect.c (print_element_info): Don't unref the
6898 factory arg, that should be the responsibility of whatever code
6899 received the ref. Fixes a double-free when called from
6900 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6901 (main): Unref the factory if we have one.
6902 (print_element_list): No change -- relies on the
6903 plugin_feature_list_free to free the list of features.
6905 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
6907 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6908 (gst_buffer_make_metadata_writable):
6910 * libs/gst/base/gstbasetransform.c:
6911 (gst_base_transform_prepare_output_buf):
6912 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6913 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6914 Replace gst_buffer_(make|is)_metadata_writable patch now
6915 that the release is out.
6917 2006-01-17 Andy Wingo <wingo@pobox.com>
6919 * gst/gstregistry.c: Reflow design comment. Update so as to speak
6920 in the present tense without reference to versions.
6922 * gst/gstregistry.c (gst_registry_add_plugin)
6923 (gst_registry_remove_plugin, gst_registry_remove_feature)
6924 (gst_registry_find_feature, gst_registry_get_feature_list)
6925 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6926 (gst_registry_lookup, gst_registry_scan_path)
6927 (_gst_registry_remove_cache_plugins)
6928 (gst_registry_get_feature_list_by_plugin): Add argument
6931 === release 0.10.2 ===
6933 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
6936 releasing 0.10.2, "If man is five"
6938 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6942 * libs/gst/base/gstbasetransform.c:
6943 (gst_base_transform_prepare_output_buf):
6944 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6945 * tests/check/gst/gstbuffer.c: (gst_test_suite):
6946 Back out patch until after the release.
6948 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6950 * gst/gstminiobject.c:
6951 Spelling fix in docs.
6952 * ChangeLog - remove conflict indicator
6954 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6956 Reviewed By: Andy Wingo
6958 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6959 (gst_buffer_make_metadata_writable):
6961 Add gst_buffer_(is|make)_metadata_writable as analogues of
6962 gst_buffer_(is|make)_writable.
6964 * libs/gst/base/gstbasetransform.c:
6965 (gst_base_transform_prepare_output_buf):
6966 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6967 Use name gst_buffer_(is|make)_metadata_writable functions.
6969 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6970 Test gst_buffer_(is|make)_metadata_writable
6974 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6976 * docs/manual/Makefile.am:
6977 don't do parallel make
6980 * win32/common/config.h.in:
6981 add generations for HOST_CPU and GST_MAJORMINOR
6982 * win32/common/config.h:
6983 commit generated result
6985 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6987 * docs/manual/appendix-integration.xml:
6988 Update GNOME integration section to use gst_init_get_option_group()
6989 instead of the old popt stuff (#322911). Also, GNOME applications
6990 should now use gconf*sink and gconf*src instead of the old gconf
6993 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6996 * docs/gst/gstreamer-docs.sgml:
6997 * docs/gst/gstreamer-sections.txt:
6998 * docs/libs/gstreamer-libs-sections.txt:
6999 add new API entries to the docs
7000 * libs/gst/controller/Makefile.am:
7001 * libs/gst/controller/gstcontroller.c:
7002 * libs/gst/controller/gstcontroller.h:
7003 * libs/gst/controller/gstcontrollerprivate.h:
7004 * libs/gst/controller/gsthelper.c:
7005 * libs/gst/controller/gstinterpolation.c:
7006 move private structs to private header
7008 gstreamer-0.7 -> gstreamer-0.10
7009 * tests/check/libs/struct_i386.h:
7010 remove private structs
7012 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
7014 * plugins/indexers/Makefile.am:
7015 Fixes as part of #317048
7017 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
7019 * plugins/indexers/Makefile.am:
7020 fix #316086 - compilation when mmap is missing
7022 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
7024 * libs/gst/base/gstbasesink.c:
7025 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
7026 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
7027 * win32/common/config.h:
7028 added some defines GST_MAJORMINOR and HOST_CPU
7029 * win32/common/libgstbase.def:
7030 * win32/common/libgstreamer.def:
7031 added some exported functions.
7033 2006-01-12 Stefan Kost <ensonic@users.sf.net>
7035 * libs/gst/controller/gstcontroller.c:
7036 (gst_controlled_property_set_interpolation_mode),
7037 (gst_controlled_property_new):
7038 * libs/gst/controller/gstcontroller.h:
7039 * libs/gst/controller/gstinterpolation.c:
7040 (interpolate_none_get_string_value_array):
7041 make G_TYPE_STRING controlable
7043 2006-01-12 Stefan Kost <ensonic@users.sf.net>
7046 * tools/gst-feedback.1.in:
7047 * tools/gst-inspect.1.in:
7048 * tools/gst-launch.1.in:
7049 * tools/gst-md5sum.1.in:
7050 * tools/gst-typefind.1.in:
7051 * tools/gst-xmlinspect.1.in:
7052 * tools/gst-xmllaunch.1.in:
7053 cleanup man-pages, remove reference to gst-register, document env-vars
7055 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
7057 * gst/gstbuffer.c: (gst_buffer_span):
7058 gst_buffer_span should copy the timestamp of the first buffer
7059 if they were both originally overlapping subbuffers of the
7060 same parent, using the same logic as the 'slow copy' case.
7062 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
7064 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
7065 Need to awaken ALL the pads when we pop a buffer, otherwise
7066 collectpads only works when there is 2 input streams.
7068 2006-01-11 Stefan Kost <ensonic@users.sf.net>
7070 * docs/random/ensonic/media-device-daemon.txt:
7073 fix doc example, add clarification
7074 * tools/gst-launch.1.in:
7075 add initial info about GST_PLUGIN_PATH, needs more work
7077 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
7079 * docs/manual/basics-bins.xml:
7080 * docs/manual/basics-elements.xml:
7081 * docs/manual/intro-basics.xml:
7082 Some more minor docs additions and updates.
7084 2006-01-11 Wim Taymans <wim@fluendo.com>
7086 * docs/manual/basics-bins.xml:
7087 * docs/manual/basics-elements.xml:
7088 Some small fixes as pointed out by Ser-ver on IRC.
7090 2006-01-10 Edward Hervey <edward@fluendo.com>
7092 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7093 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
7094 the single-segment mode.
7096 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
7098 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7100 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
7101 (gst_base_src_perform_seek), (gst_base_src_send_event),
7102 (gst_base_src_set_property), (gst_base_src_get_property),
7103 (gst_base_src_loop), (gst_base_src_start),
7104 (gst_base_src_activate_push):
7105 * libs/gst/base/gstbasesrc.h:
7106 Name (private) union; makes Sun's Forte compiler happy (#324900).
7108 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
7111 gst-register is gone.
7113 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
7115 * gst/gstvalue.c: (_gst_value_initialize):
7116 make the G_TYPE_DATE instantiation work if debug is disabled
7118 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
7120 * gst/gstmessage.c: (gst_message_parse_tag),
7121 (gst_message_parse_error), (gst_message_parse_warning):
7122 Don't crash when return location for error/warning debug
7123 string is NULL; add fact that return locations can be
7124 NULL to docs where appropriate.
7126 2006-01-05 Wim Taymans <wim@fluendo.com>
7128 * gst/gstplugin.c: (gst_plugin_load_file):
7129 Replace strdup by g_strdup.
7131 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
7133 * docs/pwg/advanced-types.xml:
7136 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
7138 submitted by: Abel Cheung
7142 Added Chinese (traditional) translation
7144 2006-01-04 Wim Taymans <wim@fluendo.com>
7146 * docs/manual/basics-pads.xml:
7147 * docs/plugins/Makefile.am:
7148 * docs/plugins/gstreamer-plugins-docs.sgml:
7149 * docs/plugins/gstreamer-plugins-sections.txt:
7150 * docs/pwg/advanced-clock.xml:
7151 * docs/pwg/advanced-scheduling.xml:
7152 * docs/pwg/advanced-types.xml:
7153 * plugins/elements/gstfdsink.c:
7154 * plugins/elements/gstfdsrc.c:
7155 * plugins/elements/gstfdsrc.h:
7156 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7157 * plugins/elements/gstidentity.h:
7158 * plugins/elements/gstqueue.h:
7159 * plugins/elements/gsttee.c:
7160 * plugins/elements/gsttee.h:
7161 * plugins/elements/gsttypefindelement.c:
7162 (gst_type_find_element_class_init):
7163 * plugins/elements/gsttypefindelement.h:
7164 Small updates to various docs.
7165 Added core plugins to docs.
7167 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7170 add a suppression for liboil's uninitialized variable
7172 2006-01-02 James Livingston <jrl at ids dot org dot au>
7174 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7177 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
7178 macro, so that gcc doesn't complain if the -Wmissing-prototypes
7179 compiler switch is being used (#325429).
7181 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
7183 * gst/gstbin.c: (gst_bin_query):
7184 Disable duration query caching in bins until it gets
7185 fixed (see #324807).
7187 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
7189 * tools/gst-inspect.c: (print_element_properties_info):
7190 Handle properties of POINTER and BOXED type.
7192 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
7194 * gst/gst.c: (init_post):
7195 Init tags stuff and some other things before loading
7196 any static plugins (there may be other static plugins
7197 than just the GStreamer ones, and they may want to
7198 register their own tags or formats or whatever, and
7199 preferably without segfaulting).
7201 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7202 Print at least a warning in the debug logs if we drop a
7203 query just because we don't know how to adjust the value
7204 in the particular format.
7206 2005-12-24 David Schleef <ds@schleef.org>
7208 * tools/gstreamer-completion:
7209 Replacement for gst-complete written in sh and sed. Only
7210 completes names of features, but that's 90% of what I want
7211 it for. Properties are not available in registry.xml. (Maybe
7214 === release 0.10.1 ===
7216 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
7219 releasing 0.10.1, "Nollaig chridheil"
7221 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
7224 Add missing quote, should be make ERROR_CFLAGS="".
7226 2005-12-20 Wim Taymans <wim@fluendo.com>
7228 * docs/design/part-trickmodes.txt:
7229 More documentation on trickmodes.
7231 2005-12-20 Edward Hervey <edward@fluendo.com>
7233 * gst/gstcaps.c: (gst_static_caps_get_type):
7235 API addition: GST_TYPE_STATIC_CAPS
7236 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
7237 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
7238 * gst/gstpadtemplate.h:
7239 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
7240 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
7243 2005-12-18 Wim Taymans <wim@fluendo.com>
7245 * libs/gst/base/gstadapter.c:
7246 * libs/gst/base/gstadapter.h:
7247 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7248 (gst_base_sink_get_position):
7249 * libs/gst/base/gstbasesink.h:
7250 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7251 (gst_base_src_default_query), (gst_base_src_default_do_seek),
7252 (gst_base_src_do_seek), (gst_base_src_perform_seek),
7253 (gst_base_src_send_event), (gst_base_src_update_length),
7254 (gst_base_src_get_range), (gst_base_src_loop),
7255 (gst_base_src_start):
7256 * libs/gst/base/gstbasesrc.h:
7257 * libs/gst/base/gstbasetransform.h:
7258 * libs/gst/base/gstcollectpads.h:
7259 * libs/gst/base/gstpushsrc.c:
7260 * libs/gst/base/gstpushsrc.h:
7261 * libs/gst/dataprotocol/dataprotocol.c:
7262 * libs/gst/dataprotocol/dataprotocol.h:
7263 * libs/gst/net/gstnetclientclock.h:
7264 * libs/gst/net/gstnettimeprovider.h:
7265 Documentation updates.
7267 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
7269 * docs/manual/basics-helloworld.xml:
7270 Remove superfluous closing bracket in helloworld example.
7272 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
7274 * tools/gst-launch.1.in:
7275 Update gst-launch man page; add a section with useful
7276 environment variables. Fixes #323882.
7278 2005-12-16 Stefan Kost <ensonic@users.sf.net>
7281 * gst/gst_private.h:
7282 change some char* into char[]
7284 2005-12-16 Wim Taymans <wim@fluendo.com>
7286 * gst/gstregistryxml.c: (load_feature):
7288 Don't use g_object_unref on GstObjects so that we avoid
7289 leaks on unsafe glibs.
7291 2005-12-16 Wim Taymans <wim@fluendo.com>
7293 * gst/gstbin.c: (gst_bin_recalc_state):
7296 2005-12-16 Wim Taymans <wim@fluendo.com>
7299 Added make forever target for check.
7301 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
7303 * gst/gst.c: (init_post):
7304 make the registry cache file HOST_CPU-dependent
7306 2005-12-16 Andy Wingo <wingo@pobox.com>
7308 * plugins/elements/gstbufferstore.c
7309 (gst_buffer_store_cleared_func): Pay attention to g_list_append
7312 * tests/check/gst/gstobject.c
7313 (test_fake_object_name_threaded_unique): Pay attention to
7314 g_list_sort return value.
7316 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
7318 * tools/gst-feedback-m.m:
7319 Update for 0.9/0.10 (fixes #323870).
7321 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
7323 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
7324 Fix lcopy for mini objects, the mini object needs to be ref'ed.
7326 * tests/check/gst/gstminiobject.c: (my_foo_init),
7327 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
7328 (test_value_collection), (gst_mini_object_suite):
7329 Add test to ensure refcounts end up as expected when passing
7330 GstMiniObjects through g_object_get() and g_object_set().
7332 2005-12-14 Julien MOUTTE <julien@moutte.net>
7334 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7335 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
7336 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
7337 of collectpads. This version removes a lot of races without
7338 touching API/ABI. Yay !
7340 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
7342 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
7343 Don't allow activation of a srcpad in pull_range if it has no
7345 Change some debug statements to be a little clearer
7347 * plugins/elements/gsttypefindelement.c:
7348 (gst_type_find_handle_src_query):
7349 Check that we have a peer before executing queries thereupon.
7351 * tests/examples/metadata/read-metadata.c: (message_loop):
7352 Use gst_bus_pop instead of gst_bus_poll when we just want it to
7353 immediately return us any available message with 0 timeout.
7355 2005-12-12 Michael Smith <msmith@fluendo.com>
7357 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7358 Don't unref factories after calling them.
7359 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
7360 * plugins/elements/gsttypefindelement.c:
7361 (gst_type_find_element_chain):
7362 Free lists of factories after using them. Fixing typefinding memory
7365 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7367 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7368 (gst_plugin_feature_load):
7369 more meaningful debug output
7371 * tests/Makefile.am:
7372 * tests/old/examples/Makefile.am:
7373 make make distcheck happy again
7375 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
7377 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7378 Catch the special case where we are operating chain-based,
7379 but the downstream peer pad has no chain function. Emit a
7380 custom error message in this case instead of letting the
7381 core generate one implying that this is some sort of core
7382 bug. It's not, it just means that whatever got plugged
7383 into the pipeline downstream when we announced the type
7384 can only operate pull-based, while our source can only
7385 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
7386 Error string has not been marked for translation yet, as
7387 it probably needs some more work first.
7389 (gst_type_find_element_get_best_possibility):
7390 Add helper function to find the best of all available
7391 found possibilities that qualify given the min. threshold.
7393 (gst_type_find_element_handle_event):
7394 Fix the case where we get an EOS while still in TYPEFIND
7395 mode (we want to chose the best of all possible types,
7396 not just the first type that happens to be in our unsorted
7397 list of possible types).
7399 (gst_type_find_element_chain):
7400 Make sure we return GST_FLOW_ERROR when we errored out
7401 in stop_typefinding(); also, don't just find the best of
7402 all found type entries and then use the last examined
7403 type entry, but actually use the best entry.
7405 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
7407 * tests/examples/typefind/typefind.c: (type_found):
7408 * tests/examples/xml/runxml.c: (xml_loaded):
7409 More gcc4 fixes and a mem leak fix.
7411 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7413 * tests/examples/xml/createxml.c: (object_saved):
7416 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7418 * tests/Makefile.am:
7419 enable the examples even more
7421 2005-12-12 Andy Wingo <wingo@pobox.com>
7423 * libs/gst/net/gstnettimeprovider.c
7424 (gst_net_time_provider_class_init, gst_net_time_provider_init)
7425 (gst_net_time_provider_set_property)
7426 (gst_net_time_provider_get_property):
7427 API addition: Export "active" as a GObject property.
7428 (gst_net_time_provider_thread): Only respond to time queries if
7429 the time provider is active.
7431 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
7432 NetTimeProvider, preserving binary compat.
7434 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7436 * tests/examples/controller/audio-example.c: (main):
7437 * tests/examples/launch/Makefile.am:
7438 convert comments again
7440 2005-12-12 Wim Taymans <wim@fluendo.com>
7442 * libs/gst/base/gstpushsrc.c:
7445 2005-12-12 Wim Taymans <wim@fluendo.com>
7447 * docs/libs/gstreamer-libs-sections.txt:
7448 Added new symbol to docs.
7450 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7451 (gst_base_src_init), (gst_base_src_set_format),
7452 (gst_base_src_default_query), (gst_base_src_query),
7453 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
7454 (gst_base_src_perform_seek), (gst_base_src_send_event),
7455 (gst_base_src_default_event), (gst_base_src_event_handler),
7456 (gst_base_src_set_property), (gst_base_src_get_property),
7457 (gst_base_src_wait), (gst_base_src_do_sync),
7458 (gst_base_src_update_length), (gst_base_src_get_range),
7459 (gst_base_src_check_get_range), (gst_base_src_loop),
7460 (gst_base_src_default_negotiate), (gst_base_src_start),
7461 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7462 (gst_base_src_change_state):
7463 * libs/gst/base/gstbasesrc.h:
7464 Implement seeking to other formats than _BYTES.
7465 Implement more seeking methods correctly.
7467 Added query vmethod.
7468 Added do_seek vmethod to make life easier for subclasses
7470 API addition: gst_base_src_set_format()
7472 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7474 * tests/examples/Makefile.am:
7477 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7480 * docs/random/ensonic/media-device-daemon.txt:
7481 * tests/examples/controller/.cvsignore:
7482 * tests/examples/controller/Makefile.am:
7483 * tests/examples/controller/audio-example.c: (main):
7484 * tests/examples/helloworld/.cvsignore:
7485 * tests/examples/helloworld/Makefile.am:
7486 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
7487 * tests/examples/launch/.cvsignore:
7488 * tests/examples/launch/Makefile.am:
7489 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
7490 * tests/examples/metadata/.cvsignore:
7491 * tests/examples/metadata/Makefile.am:
7492 * tests/examples/metadata/read-metadata.c: (message_loop),
7493 (make_pipeline), (print_tag), (main):
7494 * tests/examples/queue/.cvsignore:
7495 * tests/examples/queue/Makefile.am:
7496 * tests/examples/queue/queue.c: (event_loop), (main):
7497 * tests/examples/typefind/.cvsignore:
7498 * tests/examples/typefind/Makefile.am:
7499 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
7501 * tests/examples/xml/.cvsignore:
7502 * tests/examples/xml/Makefile.am:
7503 * tests/examples/xml/createxml.c: (object_saved), (main):
7504 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
7505 * tests/old/examples/Makefile.am:
7506 * tests/old/examples/TODO:
7507 * tests/old/examples/controller/.cvsignore:
7508 * tests/old/examples/controller/Makefile.am:
7509 * tests/old/examples/controller/audio-example.c:
7510 * tests/old/examples/helloworld/.cvsignore:
7511 * tests/old/examples/helloworld/Makefile.am:
7512 * tests/old/examples/helloworld/helloworld.c:
7513 * tests/old/examples/launch/.cvsignore:
7514 * tests/old/examples/launch/Makefile.am:
7515 * tests/old/examples/launch/mp3parselaunch.c:
7516 * tests/old/examples/launch/mp3play:
7517 * tests/old/examples/manual/Makefile.am:
7518 * tests/old/examples/metadata/Makefile.am:
7519 * tests/old/examples/metadata/read-metadata.c:
7520 * tests/old/examples/queue/.cvsignore:
7521 * tests/old/examples/queue/Makefile.am:
7522 * tests/old/examples/queue/queue.c:
7523 * tests/old/examples/typefind/.cvsignore:
7524 * tests/old/examples/typefind/Makefile.am:
7525 * tests/old/examples/typefind/typefind.c:
7526 * tests/old/examples/xml/.cvsignore:
7527 * tests/old/examples/xml/Makefile.am:
7528 * tests/old/examples/xml/createxml.c:
7529 * tests/old/examples/xml/runxml.c:
7530 applied some simple fixing to some examples
7531 re-enabled the working examples
7533 2005-12-12 Wim Taymans <wim@fluendo.com>
7535 * gst/gstsegment.c: (gst_segment_init),
7536 (gst_segment_set_last_stop), (gst_segment_set_seek),
7537 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7538 (gst_segment_to_running_time):
7539 Added more documentation.
7540 Make sure the last_pos value is updated properly.
7541 Make sure to_stream_time and to_running_time don't
7542 operate on wrong values.
7544 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7547 2005-12-12 Michael Smith <msmith@fluendo.com>
7549 * plugins/elements/gsttypefindelement.c: (free_entry),
7550 (gst_type_find_element_chain):
7551 Now that we're not leaking factories, make sure we keep references
7552 to them while we need them.
7554 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
7556 * tests/check/gst/struct_i386.h:
7557 ifdef out the XML structs
7559 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
7561 * gst/gstvalue.c: (gst_value_transform_double_fraction):
7562 floor is not needed, F is always positive; this obviates the
7563 need for adding -lm when building without libxml
7565 2005-12-12 Wim Taymans <wim@fluendo.com>
7567 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7568 Take current playback rate into account when reporting
7571 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7573 * docs/manual/mime-world.fig:
7574 Let's try this again, this time with a file that is
7575 actually in XFig format.
7577 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7579 * docs/manual/mime-world.fig:
7580 Add audioconvert element to diagram so that it
7581 matches the text and the code (fixes #319526).
7583 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7585 * docs/pwg/building-chainfn.xml:
7586 * docs/pwg/building-pads.xml:
7587 * docs/pwg/building-state.xml:
7588 * docs/pwg/other-source.xml:
7589 Update state change stuff for 0.10 (fixes #322969).
7591 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7593 * docs/manual/advanced-dataaccess.xml:
7594 * docs/manual/appendix-checklist.xml:
7595 * docs/manual/appendix-programs.xml:
7596 * docs/manual/basics-pads.xml:
7597 * docs/manual/highlevel-components.xml:
7598 * docs/manual/manual.xml:
7599 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
7600 add converters in front of pipelines; remove curly
7601 brackets for threads stuff, they no longer exist; use
7602 GST_TYPE_FRACTION for framerates; update some pieces of
7603 code to 0.10, but there's plenty more to do.
7605 * docs/manual/appendix-porting.xml:
7606 Expand on asynchroneous state changes; s/0.9/0.10/;
7607 mention disappearance of gst_init_get_popt_table()
7610 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7612 * docs/faq/using.xml:
7613 Spider no longer exists, and neither does gst-launch-ext.
7614 Update examples to use decodebin and playbin and put
7615 converters in front of sinks (fixes #323726).
7617 2005-12-09 Michael Smith <msmith@fluendo.com>
7619 * plugins/elements/gsttypefindelement.c: (find_peek),
7620 (gst_type_find_element_chain):
7621 Fix leaking element factories in typefinding.
7622 Fix problem where we forgot about a probable type on non-seekable
7623 files, and thus later mis-typefound it.
7625 2005-12-09 Michael Smith <msmith@fluendo.com>
7627 * common/m4/gst-makecontext.m4:
7628 * common/m4/gst-mcsc.m4:
7630 * win32/common/config.h:
7631 * win32/common/config.h.in:
7632 Remove makecontext stuff; not used in 0.10 and causes problems on
7633 HPUX according to bug #322441
7635 2005-12-07 Wim Taymans <wim@fluendo.com>
7637 * tests/check/Makefile.am:
7638 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7640 * tests/check/libs/struct_i386.h:
7641 Added ABI check for libs
7643 2005-12-07 Wim Taymans <wim@fluendo.com>
7645 * tests/check/Makefile.am:
7646 And add the struct_i386.h to dist.
7648 2005-12-07 Wim Taymans <wim@fluendo.com>
7650 * tests/check/Makefile.am:
7651 * tests/check/gst/.cvsignore:
7652 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7654 * tests/check/gst/struct_i386.h:
7655 Added check for ABI compatibility.
7657 2005-12-07 Wim Taymans <wim@fluendo.com>
7659 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7660 (gst_fake_src_get_times), (gst_fake_src_create):
7661 Fix broken sync option, fixes #323259
7663 2005-12-07 Wim Taymans <wim@fluendo.com>
7668 * gst/gstcaps.c: (gst_caps_is_equal):
7669 Don't assert on NULL <--> X. Fixes #323260
7671 * gst/gstminiobject.c: (gst_mini_object_replace):
7672 If we're doing atomic operations, we might just as well use
7673 the proper way to get an atomic pointer.
7675 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7678 2005-12-07 Michael Smith <msmith@fluendo.com>
7680 * gst/parse/grammar.y:
7681 Remove handling of { } for threads.
7683 2005-12-06 David Schleef <ds@schleef.org>
7685 * libs/gst/base/gstbasetransform.c: speling fix.
7687 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
7689 * docs/libs/tmpl/gstdataprotocol.sgml:
7690 * docs/random/omega/testing/gstobject.c:
7694 * gst/gstelementfactory.c:
7697 * gst/gstghostpad.c:
7699 * gst/gstpadtemplate.c:
7700 * gst/gstregistryxml.c:
7702 * gst/gsttagsetter.c:
7703 * gst/gsttypefind.c:
7705 * libs/gst/base/gstbasesrc.c:
7706 * libs/gst/net/gstnetclientclock.c:
7707 * libs/gst/net/gstnettimeprovider.c:
7708 * plugins/elements/gstfakesrc.c:
7709 * plugins/elements/gstfdsrc.c:
7710 * plugins/elements/gstfilesrc.c:
7711 * plugins/elements/gstidentity.c:
7712 * plugins/elements/gstqueue.c:
7713 * plugins/elements/gsttypefindelement.c:
7714 * plugins/indexers/gstfileindex.c:
7715 * plugins/indexers/gstmemindex.c:
7716 * tests/check/gst/gsttag.c:
7717 * tests/old/examples/cutter/cutter.c:
7718 * tests/old/examples/mixer/mixer.c:
7719 * tests/old/examples/xml/runxml.c: (main):
7720 * tests/old/testsuite/caps/normalisation.c:
7721 * tests/old/testsuite/debug/global.c:
7722 * tests/old/testsuite/parse/parse1.c:
7723 * tools/gst-xmlinspect.c:
7724 * win32/common/dirent.c:
7727 === release 0.10.0 ===
7729 2005-12-05 <thomas (at) apestaart (dot) org>
7732 releasing 0.10.0, "Maroilles"
7734 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7736 submitted by: Funda Wang <fundawang@linux.net.cn>
7740 added Chinese (Traditional) translation
7742 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7744 * docs/gst/gstreamer-sections.txt:
7745 * docs/libs/tmpl/gstdataprotocol.sgml:
7746 * docs/random/thomasvs/TODO:
7751 2005-12-05 Andy Wingo <wingo@pobox.com>
7753 patch by: Wim Taymans <wim@fluendo.com>
7755 * libs/gst/base/gstbasetransform.c
7756 (gst_base_transform_prepare_output_buf)
7757 (gst_base_transform_buffer_alloc):
7758 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7759 alloc_buffer_and_set_caps.
7761 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7762 set_caps on the source pad.
7763 (gst_pad_alloc_buffer_and_set_caps): New function, does what
7764 alloc_buffer used to do. Fixes #322874.
7766 * docs/gst/gstreamer-sections.txt:
7767 * docs/design/part-negotiation.txt:
7768 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7771 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7773 patch by: Sebastien Moutte
7776 * win32/common/config.h.in:
7777 * win32/vs6/libgstcontroller.dsp:
7780 2005-12-05 Wim Taymans <wim@fluendo.com>
7782 * gst/gstcaps.c: (gst_caps_is_equal):
7783 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7784 (gst_fake_src_create):
7785 Back out previous code changes, leave doc updates, file bugs
7788 2005-12-05 Wim Taymans <wim@fluendo.com>
7790 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7791 (gst_fake_src_get_times), (gst_fake_src_create):
7792 * plugins/elements/gstfakesrc.h:
7793 Fix broken sync code.
7795 2005-12-05 Wim Taymans <wim@fluendo.com>
7797 * gst/gstcaps.c: (gst_caps_is_equal):
7798 Comparing NULL against !NULL yields different caps, not a
7801 2005-12-05 Wim Taymans <wim@fluendo.com>
7803 * gst/gstpipeline.c:
7804 Fix small typo in docs.
7806 2005-12-05 Andy Wingo <wingo@pobox.com>
7808 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
7810 * gst/gst.c (init_post): remove hard-coded 0.9 location for
7811 registries/plugins with a MAJORMINOR one.
7812 (plugin_desc): Rename library from gstcoreleements to
7813 staticelements. Fixes #323222.
7815 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
7817 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7818 Change debug category to 'collectpads' from 'collect_pads'
7821 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7823 patch by: Sebastien Moutte
7825 * libs/gst/controller/gstinterpolation.c:
7826 use convert function for uint64/double
7827 * win32/vs6/libgstcontroller.dsp:
7830 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7832 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7833 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7835 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7836 add tests that seem to show that the guint64/gdouble conversions
7839 2005-12-02 Wim Taymans <wim@fluendo.com>
7841 * gst/gstregistry.c: (gst_registry_add_path):
7842 * gst/gstregistry.h:
7843 * gst/gstregistryxml.c:
7846 2005-12-02 Wim Taymans <wim@fluendo.com>
7848 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7849 (gst_util_uint64_scale_int):
7852 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7855 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7858 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7861 * win32/common/config.h:
7862 * win32/vs6/gstreamer.dsw:
7863 * win32/vs6/libgstcoreelements.dsp:
7864 * win32/vs6/libgstelements.dsp:
7865 renamed core elements plugin
7867 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7869 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7871 do piece-wise major/minor comparison so 0.9 < 0.10
7872 also allow .exe extensions for tools
7874 2005-12-02 Michael Smith <msmith@fluendo.com>
7877 Escape a % to make gtkdoc happier; bug 322958.
7879 === release 0.9.7 ===
7881 2005-12-01 <thomas (at) apestaart (dot) org>
7884 releasing 0.9.7, "My Dog Has No Nose"
7886 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7888 * common/gst-xmlinspect.py:
7890 * docs/libs/tmpl/gstdataprotocol.sgml:
7891 * docs/random/release:
7910 * win32/common/config.h:
7911 * win32/common/config.h.in:
7912 * win32/vs6/gst_inspect.dsp:
7913 * win32/vs6/gst_launch.dsp:
7914 * win32/vs6/libgstbase.dsp:
7915 * win32/vs6/libgstelements.dsp:
7916 * win32/vs6/libgstreamer.dsp:
7917 * win32/vs7/GStreamer.vcproj:
7918 * win32/vs7/gst-inspect.vcproj:
7919 * win32/vs7/gst-launch.vcproj:
7920 * win32/vs7/libgstbase.vcproj:
7921 bump GST_MAJORMINOR to 0.10
7922 reset libtool version
7924 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7928 Added Bulgarian translation by (Alexander Shopov)
7930 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7932 * tests/check/gst/gstplugin.c:
7935 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7937 * common/gst-xmlinspect.py:
7938 * common/gtk-doc-plugins.mak:
7941 * docs/gst/Makefile.am:
7942 * docs/gst/gstreamer-docs.sgml:
7943 * docs/gst/gstreamer-sections.txt:
7944 * docs/gst/gstreamer.types:
7945 * docs/gst/gstreamer.types.in:
7946 * docs/plugins/Makefile.am:
7947 * docs/plugins/gstreamer-plugins-docs.sgml:
7948 * docs/plugins/gstreamer-plugins-sections.txt:
7949 * docs/plugins/gstreamer-plugins.types:
7950 * docs/plugins/inspect.stamp:
7951 * docs/plugins/inspect/plugin-coreelements.xml:
7952 * docs/plugins/inspect/plugin-coreindexers.xml:
7953 * docs/plugins/scanobj-build.stamp:
7954 * gstreamer.spec.in:
7955 * plugins/elements/Makefile.am:
7956 * plugins/elements/gstelements.c:
7957 * plugins/elements/gstfakesink.c:
7958 * plugins/elements/gstfakesrc.c:
7959 * plugins/elements/gstfilesink.c:
7960 * plugins/elements/gstfilesrc.c:
7961 * plugins/elements/gstqueue.c:
7962 * plugins/indexers/Makefile.am:
7963 * plugins/indexers/gstindexers.c:
7964 document core plugins in a separate document just like all the
7966 rename these plugins to something starting with core
7968 2005-12-01 Andy Wingo <wingo@pobox.com>
7970 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7971 padding here before, but it missed the commit.
7973 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7975 * libs/gst/controller/gstinterpolation.c:
7976 whitespace prices have crashed, we should feel free to use some now
7977 use gst_guint64_to_gdouble
7979 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7981 * libs/gst/controller/gstcontroller.c:
7982 * libs/gst/controller/gsthelper.c:
7983 * libs/gst/controller/gstinterpolation.c:
7984 * libs/gst/controller/lib.c:
7985 wrap config.h include
7987 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7989 * docs/gst/gstreamer-sections.txt:
7992 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7994 * plugins/elements/gstelements.c:
7995 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7996 (gst_fd_sink__class_init), (gst_fd_sink__init),
7997 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7998 (gst_fd_sink__get_property):
7999 * plugins/elements/gstfdsink.h:
8000 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
8001 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
8002 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
8003 (gst_fd_src_unlock), (gst_fd_src_set_property),
8004 (gst_fd_src_get_property), (gst_fd_src_create),
8005 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
8006 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
8007 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
8008 (gst_fd_src_uri_handler_init):
8009 * plugins/elements/gstfdsrc.h:
8010 * plugins/elements/gstqueue.c: (gst_queue_get_type):
8013 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8015 * docs/gst/Makefile.am:
8016 * docs/gst/gstreamer.types.in:
8020 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8026 * gst/gstregistry.h:
8027 * tests/benchmarks/complexity.c:
8028 * tests/benchmarks/mass-elements.c:
8029 * tests/check/Makefile.am:
8030 * tools/Makefile.am:
8031 * tools/gst-inspect.c:
8032 * tools/gst-xmlinspect.c:
8033 various fixes to make
8034 --disable-nls --disable-registry --disable-loadsave
8035 --disable-parse --disable-gst-debug
8036 work and get the core .so down to 360444 bytes after stripping
8038 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8043 * docs/random/thomasvs/TODO:
8044 * tests/Makefile.am:
8048 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8050 * win32/GStreamer.vcproj:
8053 * win32/Makefile.inspect:
8054 * win32/Makefile.launch:
8055 * win32/Makefile.register:
8057 * win32/gst-inspect.vcproj:
8058 * win32/gst-launch.vcproj:
8059 * win32/gst-register.vcproj:
8060 * win32/gstelements.vcproj:
8061 * win32/gstgetbits.def:
8062 * win32/gstgetbits.vcproj:
8063 * win32/gstreamer-dbg.def:
8064 * win32/gstreamer.def:
8065 * win32/libgstbase.def:
8066 * win32/libgstbase.vcproj:
8067 * win32/link_oldruntime.c:
8072 move even more stuff, win32/ is nice and clean now
8074 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8076 * libs/gst/control/.cvsignore:
8081 * win32/gstbytestream.def:
8082 * win32/gstbytestream.vcproj:
8083 * win32/gstconfig.h:
8084 * win32/gstenumtypes.c:
8085 * win32/gstenumtypes.h:
8086 * win32/gstoptimalscheduler.vcproj:
8087 * win32/gstversion.h:
8089 * win32/testsuite/bins.vcproj:
8090 * win32/testsuite/bytestream.vcproj:
8091 * win32/testsuite/caps.vcproj:
8092 * win32/testsuite/cleanup.vcproj:
8093 * win32/testsuite/clock.vcproj:
8094 * win32/testsuite/debug.vcproj:
8095 * win32/testsuite/dlopen.vcproj:
8096 * win32/testsuite/dynparams.vcproj:
8097 * win32/testsuite/elements.vcproj:
8098 * win32/testsuite/ghostpads.vcproj:
8099 * win32/testsuite/indexers.vcproj:
8100 * win32/testsuite/negotiation.vcproj:
8101 * win32/testsuite/parse.vcproj:
8102 * win32/testsuite/plugin.vcproj:
8103 * win32/testsuite/refcounting.vcproj:
8104 * win32/testsuite/schedulers.vcproj:
8105 * win32/testsuite/states.vcproj:
8106 * win32/testsuite/tags.vcproj:
8107 * win32/testsuite/threads.vcproj:
8108 remove old win32 stuff that isn't maintained and should be
8111 2005-11-30 Andy Wingo <wingo@pobox.com>
8113 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
8114 loading the gst.interfaces python module bork.
8116 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
8117 available since GLib 2.2. Fixes #318031.
8119 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8123 * check/Makefile.am:
8124 * check/elements/.cvsignore:
8125 * check/elements/fakesrc.c:
8126 * check/elements/fdsrc.c:
8127 * check/elements/identity.c:
8128 * check/generic/.cvsignore:
8129 * check/generic/states.c:
8130 * check/gst-libs/.cvsignore:
8131 * check/gst-libs/controller.c:
8132 * check/gst-libs/gdp.c:
8133 * check/gst/.cvsignore:
8134 * check/gst/capslist.h:
8136 * check/gst/gstbin.c:
8137 * check/gst/gstbuffer.c:
8138 * check/gst/gstbus.c:
8139 * check/gst/gstcaps.c:
8140 * check/gst/gstelement.c:
8141 * check/gst/gstevent.c:
8142 * check/gst/gstghostpad.c:
8143 * check/gst/gstiterator.c:
8144 * check/gst/gstmessage.c:
8145 * check/gst/gstminiobject.c:
8146 * check/gst/gstobject.c:
8147 * check/gst/gstpad.c:
8148 * check/gst/gstpipeline.c:
8149 * check/gst/gstplugin.c:
8150 * check/gst/gstsegment.c:
8151 * check/gst/gststructure.c:
8152 * check/gst/gstsystemclock.c:
8153 * check/gst/gsttag.c:
8154 * check/gst/gstutils.c:
8155 * check/gst/gstvalue.c:
8156 * check/net/.cvsignore:
8157 * check/net/gstnetclientclock.c:
8158 * check/net/gstnettimeprovider.c:
8159 * check/pipelines/.cvsignore:
8160 * check/pipelines/cleanup.c:
8161 * check/pipelines/simple_launch_lines.c:
8162 * check/pipelines/stress.c:
8163 * check/states/.cvsignore:
8164 * check/states/sinks.c:
8166 * examples/Makefile.am:
8167 * examples/appreader/.cvsignore:
8168 * examples/appreader/Makefile.am:
8169 * examples/appreader/appreader.c:
8170 * examples/controller/.cvsignore:
8171 * examples/controller/Makefile.am:
8172 * examples/controller/audio-example.c:
8173 * examples/cutter/.cvsignore:
8174 * examples/cutter/Makefile.am:
8175 * examples/cutter/cutter.c:
8176 * examples/cutter/cutter.h:
8177 * examples/events/Makefile.am:
8178 * examples/events/seek.c:
8179 * examples/helloworld/.cvsignore:
8180 * examples/helloworld/Makefile.am:
8181 * examples/helloworld/helloworld.c:
8182 * examples/helloworld2/.cvsignore:
8183 * examples/helloworld2/Makefile.am:
8184 * examples/helloworld2/helloworld2.c:
8185 * examples/launch/.cvsignore:
8186 * examples/launch/Makefile.am:
8187 * examples/launch/mp3parselaunch.c:
8188 * examples/launch/mp3play:
8189 * examples/manual/.cvsignore:
8190 * examples/manual/Makefile.am:
8191 * examples/manual/extract.pl:
8192 * examples/metadata/Makefile.am:
8193 * examples/metadata/read-metadata.c:
8194 * examples/mixer/.cvsignore:
8195 * examples/mixer/Makefile.am:
8196 * examples/mixer/mixer.c:
8197 * examples/mixer/mixer.h:
8198 * examples/pingpong/.cvsignore:
8199 * examples/pingpong/Makefile.am:
8200 * examples/pingpong/pingpong.c:
8201 * examples/plugins/.cvsignore:
8202 * examples/plugins/Makefile.am:
8203 * examples/plugins/example.c:
8204 * examples/plugins/example.h:
8205 * examples/pwg/.cvsignore:
8206 * examples/pwg/Makefile.am:
8207 * examples/pwg/extract.pl:
8208 * examples/queue/.cvsignore:
8209 * examples/queue/Makefile.am:
8210 * examples/queue/queue.c:
8211 * examples/queue2/.cvsignore:
8212 * examples/queue2/Makefile.am:
8213 * examples/queue2/queue2.c:
8214 * examples/queue3/.cvsignore:
8215 * examples/queue3/Makefile.am:
8216 * examples/queue3/queue3.c:
8217 * examples/queue4/.cvsignore:
8218 * examples/queue4/Makefile.am:
8219 * examples/queue4/queue4.c:
8220 * examples/retag/.cvsignore:
8221 * examples/retag/Makefile.am:
8222 * examples/retag/retag.c:
8223 * examples/retag/transcode.c:
8224 * examples/thread/.cvsignore:
8225 * examples/thread/Makefile.am:
8226 * examples/thread/thread.c:
8227 * examples/typefind/.cvsignore:
8228 * examples/typefind/Makefile.am:
8229 * examples/typefind/typefind.c:
8230 * examples/xml/.cvsignore:
8231 * examples/xml/Makefile.am:
8232 * examples/xml/createxml.c:
8233 * examples/xml/runxml.c:
8234 * tests/Makefile.am:
8235 * tests/check/Makefile.am:
8236 * testsuite/.cvsignore:
8237 * testsuite/Makefile.am:
8239 * testsuite/caps/.cvsignore:
8240 * testsuite/caps/Makefile.am:
8241 * testsuite/caps/app_fixate.c:
8242 * testsuite/caps/audioscale.c:
8243 * testsuite/caps/caps.c:
8244 * testsuite/caps/caps.h:
8245 * testsuite/caps/caps_strings:
8246 * testsuite/caps/compatibility.c:
8247 * testsuite/caps/deserialize.c:
8248 * testsuite/caps/enumcaps.c:
8249 * testsuite/caps/eratosthenes.c:
8250 * testsuite/caps/filtercaps.c:
8251 * testsuite/caps/fixed.c:
8252 * testsuite/caps/fraction-convert.c:
8253 * testsuite/caps/fraction-multiply-and-zero.c:
8254 * testsuite/caps/intersect2.c:
8255 * testsuite/caps/intersection.c:
8256 * testsuite/caps/normalisation.c:
8257 * testsuite/caps/random.c:
8258 * testsuite/caps/renegotiate.c:
8259 * testsuite/caps/sets.c:
8260 * testsuite/caps/simplify.c:
8261 * testsuite/caps/string-conversions.c:
8262 * testsuite/caps/structure.c:
8263 * testsuite/caps/subtract.c:
8264 * testsuite/caps/union.c:
8265 * testsuite/debug/.cvsignore:
8266 * testsuite/debug/Makefile.am:
8267 * testsuite/debug/category.c:
8268 * testsuite/debug/commandline.c:
8269 * testsuite/debug/global.c:
8270 * testsuite/debug/output.c:
8271 * testsuite/debug/printf_extension.c:
8272 * testsuite/dlopen/.cvsignore:
8273 * testsuite/dlopen/Makefile.am:
8274 * testsuite/dlopen/dlopen_gst.c:
8275 * testsuite/dlopen/loadgst.c:
8276 * testsuite/elements/.cvsignore:
8277 * testsuite/elements/Makefile.am:
8278 * testsuite/elements/gst-inspect-check.in:
8279 * testsuite/elements/struct_i386.h:
8280 * testsuite/elements/struct_size.c:
8281 * testsuite/indexers/.cvsignore:
8282 * testsuite/indexers/Makefile.am:
8283 * testsuite/indexers/cache1.c:
8284 * testsuite/indexers/indexdump.c:
8285 * testsuite/parse/.cvsignore:
8286 * testsuite/parse/Makefile.am:
8287 * testsuite/parse/parse1.c:
8288 * testsuite/parse/parse2.c:
8289 * testsuite/plugin/.cvsignore:
8290 * testsuite/plugin/Makefile.am:
8291 * testsuite/plugin/README:
8292 * testsuite/plugin/dynamic.c:
8293 * testsuite/plugin/linked.c:
8294 * testsuite/plugin/loading.c:
8295 * testsuite/plugin/registry.c:
8296 * testsuite/plugin/static.c:
8297 * testsuite/plugin/static2.c:
8298 * testsuite/plugin/testplugin.c:
8299 * testsuite/plugin/testplugin2.c:
8300 * testsuite/plugin/testplugin2_s.c:
8301 * testsuite/plugin/testplugin_s.c:
8302 * testsuite/refcounting/.cvsignore:
8303 * testsuite/refcounting/Makefile.am:
8304 * testsuite/refcounting/bin.c:
8305 * testsuite/refcounting/element.c:
8306 * testsuite/refcounting/element_pad.c:
8307 * testsuite/refcounting/mainloop.c:
8308 * testsuite/refcounting/mem.c:
8309 * testsuite/refcounting/mem.h:
8310 * testsuite/refcounting/object.c:
8311 * testsuite/refcounting/pad.c:
8312 * testsuite/refcounting/sched.c:
8313 * testsuite/refcounting/thread.c:
8314 * testsuite/states/.cvsignore:
8315 * testsuite/states/Makefile.am:
8316 * testsuite/states/bin.c:
8317 * testsuite/states/locked.c:
8318 * testsuite/states/parent.c:
8319 * testsuite/threads/.cvsignore:
8320 * testsuite/threads/159566.c:
8321 * testsuite/threads/159852.c:
8322 * testsuite/threads/Makefile.am:
8323 * testsuite/threads/queue.c:
8324 * testsuite/threads/signals.c:
8325 * testsuite/threads/staticrec.c:
8326 * testsuite/threads/thread.c:
8327 * testsuite/threads/threadb.c:
8328 * testsuite/threads/threadc.c:
8329 * testsuite/threads/threadd.c:
8330 * testsuite/threads/threade.c:
8331 * testsuite/threads/threadf.c:
8332 * testsuite/threads/threadg.c:
8333 * testsuite/threads/threadh.c:
8334 * testsuite/threads/threadi.c:
8335 move all of these under tests
8337 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8340 * tests/Makefile.am:
8343 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8345 * docs/gst/gstreamer-sections.txt:
8346 * tests/sched/.cvsignore:
8347 * tests/sched/Makefile.am:
8348 * tests/sched/cases/(fs-fs).xml:
8349 * tests/sched/cases/(fs-i-fs).xml:
8350 * tests/sched/cases/(fs-i-i-fs).xml:
8351 * tests/sched/cases/(fs-i-q[i-fs]).xml:
8352 * tests/sched/dynamic-pipeline.c:
8353 * tests/sched/interrupt1.c:
8354 * tests/sched/interrupt2.c:
8355 * tests/sched/interrupt3.c:
8356 * tests/sched/runtestcases:
8357 * tests/sched/runxml.c:
8358 * tests/sched/sched-stress.c:
8359 * tests/sched/sort.c:
8360 * tests/sched/testcases:
8361 * tests/sched/testcases1.tc:
8362 * tests/seeking/.cvsignore:
8363 * tests/seeking/Makefile.am:
8364 * tests/seeking/seeking1.c:
8365 * tests/threadstate/.cvsignore:
8366 * tests/threadstate/Makefile.am:
8367 * tests/threadstate/test1.c:
8368 * tests/threadstate/test2.c:
8369 * tests/threadstate/threadstate1.c:
8370 * tests/threadstate/threadstate2.c:
8371 * tests/threadstate/threadstate3.c:
8372 * tests/threadstate/threadstate4.c:
8373 * tests/threadstate/threadstate5.c:
8374 remove obsolete tests
8376 * tests/bench-complexity.scm:
8377 * tests/bench-mass_elements.scm:
8378 * tests/complexity.c:
8379 * tests/complexity.gnuplot:
8380 * tests/instantiate/.cvsignore:
8381 * tests/instantiate/Makefile.am:
8382 * tests/instantiate/caps.c:
8383 * tests/mass_elements.c:
8384 * tests/network-clock-utils.scm:
8385 * tests/network-clock.scm:
8387 First pass at cleaning up tests/ dir before moving the rest
8388 Combined with CVS surgery
8390 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8393 queue has moved, update
8395 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8397 * docs/gst/gstreamer-sections.txt:
8398 remove double entries from the docs
8399 * gst/gst_private.h:
8400 * gst/gstinfo.c: (_gst_debug_init):
8401 remove the THREAD debug category
8405 * docs/gst/gstreamer.types:
8406 * plugins/elements/gstqueue.c: (gst_queue_get_type),
8407 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
8408 completely move queue and fix up debugging categories
8410 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8412 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8413 make initialization portable, using LL is not
8415 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8417 * win32/common/gstconfig.h:
8420 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8422 * win32/common/libgstreamer.def:
8423 rename symbols; sort base section
8425 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8427 * gst/gstclock.c: (do_linear_regression):
8428 remove crack non-portable handrolled DEBUG macro
8430 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8432 * docs/random/release:
8434 * win32/common/gstenumtypes.c: (register_gst_object_flags),
8435 (gst_object_flags_get_type), (register_gst_bin_flags),
8436 (gst_bin_flags_get_type), (register_gst_buffer_flag),
8437 (gst_buffer_flag_get_type), (register_gst_bus_flags),
8438 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8439 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
8440 (gst_caps_flags_get_type), (register_gst_clock_return),
8441 (gst_clock_return_get_type), (register_gst_clock_entry_type),
8442 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8443 (gst_clock_flags_get_type), (register_gst_state),
8444 (gst_state_get_type), (register_gst_state_change_return),
8445 (gst_state_change_return_get_type), (register_gst_state_change),
8446 (gst_state_change_get_type), (register_gst_element_flags),
8447 (gst_element_flags_get_type), (register_gst_core_error),
8448 (gst_core_error_get_type), (register_gst_library_error),
8449 (gst_library_error_get_type), (register_gst_resource_error),
8450 (gst_resource_error_get_type), (register_gst_stream_error),
8451 (gst_stream_error_get_type), (register_gst_event_type_flags),
8452 (gst_event_type_flags_get_type), (register_gst_event_type),
8453 (gst_event_type_get_type), (register_gst_seek_type),
8454 (gst_seek_type_get_type), (register_gst_seek_flags),
8455 (gst_seek_flags_get_type), (register_gst_format),
8456 (gst_format_get_type), (register_gst_index_certainty),
8457 (gst_index_certainty_get_type), (register_gst_index_entry_type),
8458 (gst_index_entry_type_get_type),
8459 (register_gst_index_lookup_method),
8460 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8461 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8462 (gst_index_resolver_method_get_type), (register_gst_index_flags),
8463 (gst_index_flags_get_type), (register_gst_debug_level),
8464 (gst_debug_level_get_type), (register_gst_debug_color_flags),
8465 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8466 (gst_iterator_result_get_type), (register_gst_iterator_item),
8467 (gst_iterator_item_get_type), (register_gst_message_type),
8468 (gst_message_type_get_type), (register_gst_mini_object_flags),
8469 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8470 (gst_pad_link_return_get_type), (register_gst_flow_return),
8471 (gst_flow_return_get_type), (register_gst_activate_mode),
8472 (gst_activate_mode_get_type), (register_gst_pad_direction),
8473 (gst_pad_direction_get_type), (register_gst_pad_flags),
8474 (gst_pad_flags_get_type), (register_gst_pad_presence),
8475 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8476 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8477 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8478 (gst_plugin_error_get_type), (register_gst_plugin_flags),
8479 (gst_plugin_flags_get_type), (register_gst_rank),
8480 (gst_rank_get_type), (register_gst_query_type),
8481 (gst_query_type_get_type), (register_gst_tag_merge_mode),
8482 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8483 (gst_tag_flag_get_type), (register_gst_task_state),
8484 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8485 (gst_alloc_trace_flags_get_type),
8486 (register_gst_type_find_probability),
8487 (gst_type_find_probability_get_type), (register_gst_uri_type),
8488 (gst_uri_type_get_type), (register_gst_parse_error),
8489 (gst_parse_error_get_type):
8490 * win32/common/gstenumtypes.h:
8491 * win32/common/gstversion.h:
8492 update visual studio generated files
8494 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8496 * win32/vs6/libgstbase.dsp:
8497 * win32/vs6/libgstelements.dsp:
8498 update project files for new locations
8500 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8505 reinstate and update
8510 * docs/random/LICENSE:
8513 2005-11-30 Edward Hervey <edward@fluendo.com>
8515 * gst/gsttypefind.c: (gst_type_find_register):
8516 * gst/gsttypefind.h:
8517 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
8518 (gst_type_find_factory_dispose):
8519 * gst/gsttypefindfactory.h:
8520 Fix memory leak in GstTypeFindFactory.
8522 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8525 * plugins/elements/Makefile.am:
8526 * plugins/elements/gstelements.c:
8527 * plugins/elements/gstqueue.c:
8528 move queue from core to the elements plugin
8530 2005-11-29 Andy Wingo <wingo@pobox.com>
8532 * libs/gst/base/gstbasetransform.h:
8533 * libs/gst/base/gstbasesrc.h:
8534 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
8536 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
8537 of pointers by which to pad very extensible base classes (like the
8538 ones in libs/gst/base).
8540 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8542 * docs/gst/gstreamer-docs.sgml:
8543 * docs/gst/gstreamer-sections.txt:
8544 * docs/libs/gstreamer-libs-docs.sgml:
8545 * docs/libs/gstreamer-libs-sections.txt:
8546 moving documentation from core to lib
8548 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8550 * check/Makefile.am:
8552 * docs/gst/Makefile.am:
8554 * gst/base/.cvsignore:
8555 * gst/base/Makefile.am:
8557 * gst/base/gstadapter.c:
8558 * gst/base/gstadapter.h:
8559 * gst/base/gstbasesink.c:
8560 * gst/base/gstbasesink.h:
8561 * gst/base/gstbasesrc.c:
8562 * gst/base/gstbasesrc.h:
8563 * gst/base/gstbasetransform.c:
8564 * gst/base/gstbasetransform.h:
8565 * gst/base/gstcollectpads.c:
8566 * gst/base/gstcollectpads.h:
8567 * gst/base/gstpushsrc.c:
8568 * gst/base/gstpushsrc.h:
8569 * gst/base/gsttypefindhelper.c:
8570 * gst/base/gsttypefindhelper.h:
8571 * gst/check/Makefile.am:
8572 * gst/check/gstcheck.c:
8573 * gst/check/gstcheck.h:
8574 * gst/net/Makefile.am:
8576 * gst/net/gstnetclientclock.c:
8577 * gst/net/gstnetclientclock.h:
8578 * gst/net/gstnettimepacket.c:
8579 * gst/net/gstnettimepacket.h:
8580 * gst/net/gstnettimeprovider.c:
8581 * gst/net/gstnettimeprovider.h:
8582 * libs/gst/Makefile.am:
8583 * libs/gst/base/Makefile.am:
8584 * libs/gst/base/gstbasetransform.c:
8585 * libs/gst/check/Makefile.am:
8586 * plugins/elements/Makefile.am:
8588 CVS surgery + support to move base, check, and net out of gst
8591 2005-11-29 Andy Wingo <wingo@pobox.com>
8593 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
8595 * gst/gststructure.h (struct _GstStructure): Only one pointer of
8598 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
8600 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
8602 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
8604 * gst/gstobject.h: (struct _GstObject): Only one pointer of
8605 padding; reduces object size by about 30%. We don't expect
8606 anything else to go into gstobject.
8608 * gst/gstminiobject.h (struct _GstMiniObject)
8609 (struct _GstMiniObjectClass): Only one pointer of padding; the
8610 payload is only a pointer and two ints anyway. For the class there
8611 are only two methods as well.
8613 * gst/gstelement.h (struct _GstElementClass): Removed
8614 the state_changed signal callback, it is not used.
8616 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8618 * docs/gst/gstreamer.types:
8619 fix includes, though they are a little dinky
8621 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8623 * check/Makefile.am:
8624 look in the right place for elements, a lot more chance of
8627 remove indexers and elements subdirs
8628 * plugins/Makefile.am:
8629 make indexers conditional
8631 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8635 * plugins/elements/Makefile.am:
8636 * plugins/elements/gstcapsfilter.c:
8637 * plugins/elements/gstfilesink.c:
8638 * plugins/elements/gstfilesrc.c:
8639 * plugins/elements/gstidentity.c:
8640 * plugins/indexers/Makefile.am:
8641 do CVS surgery and related build fixery to move elements
8642 and indexers in a new gstreamer/plugins directory, out of the
8645 2005-11-29 Andy Wingo <wingo@pobox.com>
8647 * check/Makefile.am:
8648 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8649 * pkgconfig/gstreamer-net.pc.in:
8650 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8653 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8655 * tools/Makefile.am:
8656 * tools/gst-complete.1.in:
8657 * tools/gst-complete.c:
8658 * tools/gst-compprep.1.in:
8659 * tools/gst-compprep.c:
8660 removing -compprep and -complete
8662 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8664 * gst/gstevent.c: (gst_event_new_new_segment),
8665 (gst_event_parse_new_segment):
8667 fix #320529 - clean up new_segment API and structure.
8668 Let's hope everyone was using the methods, and not the structure.
8670 2005-11-29 Edward Hervey <edward@fluendo.com>
8672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8673 (gst_base_sink_event), (gst_base_sink_do_sync),
8674 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8675 Properly handle non GST_FORMAT_TIME segment
8676 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8677 Properly handle non GST_FORMAT_TIME segment
8679 This function is valid if the accumulator is 0 and the format
8680 is different from the requested format.
8682 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8684 * docs/gst/gstreamer-sections.txt:
8685 Add gst_query_new_seeking and gst_query_parse_seeking to the
8688 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8690 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8691 Treat a pad alloc with new caps the same as if we were not
8692 negotiated, in order to allow a changing upstream output
8693 to produce a new format of data.
8695 2005-11-29 Edward Hervey <edward@fluendo.com>
8697 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8698 (gst_base_transform_event), (gst_base_transform_eventfunc):
8699 The event virtual method is now properly implemented, with a default
8701 Sub classes should call the parent_class event method. They should
8702 return FALSE if they had a problem handling the given event, or don't
8703 want GstBaseTransform to send that even downstream
8704 * gst/elements/gstidentity.c: (gst_identity_class_init),
8705 (gst_identity_init), (gst_identity_event),
8706 (gst_identity_transform_ip), (gst_identity_set_property),
8707 (gst_identity_get_property):
8708 * gst/elements/gstidentity.h:
8709 Added the single-segment boolean property.
8710 If set to TRUE, it will output a single segment of data, starting from
8711 0, will eat up all incoming newsegment, and modify the timestamp of the
8714 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
8716 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8717 Don't ref NULL target pad (#322751). Improve docs.
8719 2005-11-29 Michael Smith <msmith@fluendo.com>
8721 * gst/gstregistryxml.c: (load_plugin):
8722 Don't crash if we failed to load a feature from a plugin.
8724 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8726 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8728 use more check API and less GLib API
8730 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8733 don't run checks if we don't have check
8735 remove the registry when running make torture
8736 * docs/gst/gstreamer-sections.txt:
8737 remove second multiply
8738 * gst/gstqueue.c: (gst_queue_loop):
8739 fix a compile warning when disabling debug
8741 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8744 Hey! Let's print the pad name if the pointer != NULL instead
8745 of when it == NULL :-)
8747 2005-11-28 Wim Taymans <wim@fluendo.com>
8749 * check/gst/gstutils.c: (GST_START_TEST):
8750 Updated check, add some scaling accuracy checking code.
8752 * gst/gstutils.c: (gst_util_div128_64),
8753 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8754 (gst_util_uint64_scale_int):
8755 Fix 6 times faster division code. Optimize for common
8756 1/1 and less common X/1 cases.
8758 2005-11-28 Wim Taymans <wim@fluendo.com>
8760 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8763 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8764 (do_linear_regression), (gst_clock_add_observation):
8766 Release lock when the clock cannot be slaved.
8767 Catch the case where the regression returned an invalid denominator.
8769 * gst/gstutils.c: (gst_util_div128_64_iterate),
8770 (gst_util_div128_64), (gst_util_uint64_scale_int64),
8771 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8772 Add protentially more performant non-iterative 128/64 divide function
8773 that unfortunatly does not work yet.
8774 Shortcut the trivial 0/X = 0 case.
8775 Remove the warnings on overflow.
8777 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8779 * gst/gstplugin.c: (gst_plugin_register_func):
8780 everything causing a plugin not to load should be at least a WARNING
8782 2005-11-28 Stefan Kost <ensonic@users.sf.net>
8784 * docs/random/ensonic/dparams.txt:
8785 some TODOs for the next dev cycle
8786 * libs/gst/controller/gstcontroller.c:
8787 (gst_controlled_property_set_interpolation_mode),
8788 (gst_controlled_property_new):
8789 * libs/gst/controller/gstcontroller.h:
8790 use base type to assign acccessor functions
8792 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8794 * check/Makefile.am:
8795 Oops, that should have been top_srcdir
8797 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8799 * check/Makefile.am:
8800 * check/elements/fdsrc.c: (GST_START_TEST):
8801 Use a cmdline define to specify the location of a file to use for
8802 testing, to avoid breaking distcheck.
8804 2005-11-28 Andy Wingo <wingo@pobox.com>
8806 * gst/gstpad.c (fixate_value): Use array functions for arrays.
8808 2005-11-28 Edward Hervey <edward@fluendo.com>
8810 * tools/gst-launch.c: (main):
8811 Clarify the output strings, makes it easier to translate.
8814 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8817 don't try and build net if we don't even have <sys/socket.h>
8819 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
8821 * check/Makefile.am:
8822 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8823 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8824 Add tests for fdsrc seekability
8826 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8827 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8828 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8829 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8830 * gst/elements/gstfdsrc.h:
8831 fdsrc should not be a 'live' source.
8832 Implement seeking on seekable fd's.
8834 * gst/gstquery.c: (gst_query_new_seeking),
8835 (gst_query_parse_seeking):
8837 Implement SEEKING query functions:
8838 *_new_seeking and *_parse_seeking
8840 2005-11-27 Stefan Kost <ensonic@users.sf.net>
8842 * gst/gstelement.c: (gst_element_dispose):
8845 * gst/gstiterator.c:
8846 * gst/gststructure.c:
8849 * libs/gst/controller/gstcontroller.c:
8850 (gst_controlled_property_set_interpolation_mode):
8851 * libs/gst/controller/gstcontroller.h:
8852 * libs/gst/controller/gstinterpolation.c:
8853 (interpolate_none_get_enum_value_array):
8854 support controlling enums
8856 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8859 Improve documentation for gst_value_union().
8862 Change return value for union, intersect and subtract functions
8863 from gint to gboolean.
8865 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8867 * gst/gstvalue.c: (gst_value_serialize_any_list),
8868 (gst_value_transform_any_list_string),
8869 (gst_value_deserialize_list), (gst_value_deserialize_array),
8870 (gst_value_set_int_range), (gst_value_deserialize_int_range),
8871 (gst_value_set_double_range), (gst_value_deserialize_double_range),
8872 (gst_value_set_fraction_range_full),
8873 (gst_value_deserialize_fraction_range),
8874 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8875 (gst_value_deserialize_boolean),
8876 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8877 (gst_value_serialize_float), (gst_value_deserialize_float),
8878 (gst_string_wrap), (gst_value_deserialize_string),
8879 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8880 (gst_value_union_int_range_int_range),
8881 (gst_value_intersect_int_range_int_range),
8882 (gst_value_intersect_double_range_double_range),
8883 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8884 (gst_value_subtract_int_range_int_range),
8885 (gst_value_subtract_double_double_range),
8886 (gst_value_subtract_double_range_double_range),
8887 (gst_value_deserialize_fraction):
8889 Use gint, gdouble and gchar in our API instead of int, double and
8890 char (and make usage in gstvalue.c more consistent).
8892 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8894 * check/Makefile.am:
8895 * libs/gst/controller/Makefile.am:
8896 * libs/gst/dataprotocol/Makefile.am:
8897 fix up Makefile.am and remove GST_ENABLE_NEW
8899 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8903 * gst/base/Makefile.am:
8904 * gst/check/Makefile.am:
8905 * gst/elements/Makefile.am:
8906 * gst/net/Makefile.am:
8907 update LDFLAGS use some more
8909 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8911 * common/m4/gst-doc.m4:
8914 2005-11-26 Edward Hervey <edward@fluendo.com>
8916 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8917 This shouldn't issue a g_warning since it returns NULL if it
8918 couldn't find the plugin, and all functions using this behave
8919 properly on a NULL return. Switching to a GST_WARNING.
8921 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
8923 * gst/gstbin.c: (gst_bin_handle_message_func):
8924 Don't leak clock messages.
8926 2005-11-25 Wim Taymans <wim@fluendo.com>
8928 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8929 (gst_util_uint64_scale_int):
8930 Optimisations, remove unneeded vars.
8932 2005-11-25 Wim Taymans <wim@fluendo.com>
8934 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8935 Added more checks for the high precision uint64 cases.
8937 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8938 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8939 Implement high precision (guint64 * guint64) / guint64.
8941 2005-11-24 Wim Taymans <wim@fluendo.com>
8943 * gst/base/gstbasesrc.c: (gst_base_src_query):
8944 Fix wrong percentage query.
8946 * gst/gstutils.c: (gst_util_uint64_scale),
8947 (gst_util_uint64_scale_int):
8948 Add some more common cases that can be handled
8949 efficiently to _scale.
8951 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8953 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8954 (gst_mini_object_suite):
8955 don't use check calls from threads; check probably isn't
8956 threadsafe and using a lock to make it threadsafe would
8957 defeat the purpose of this check
8958 * gst/check/gstcheck.c:
8959 * gst/check/gstcheck.h:
8960 use GST_DEBUG some more
8962 2005-11-24 Wim Taymans <wim@fluendo.com>
8964 * gst/gstutils.c: (gst_util_uint64_scale),
8965 (gst_util_uint64_scale_int):
8966 Chain trivial case to _scale_int.
8968 2005-11-24 Wim Taymans <wim@fluendo.com>
8970 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8971 Added test for scaling.
8976 * gst/gstutils.c: (gst_util_uint64_scale_int):
8977 Implemented high precision scaling code.
8979 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8982 do not crash on pad==NULL
8984 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8986 Patch by: Stefan Kost
8988 * common/gtk-doc.mak:
8989 * docs/gst/Makefile.am:
8990 * docs/libs/Makefile.am:
8991 Fix distcheck issues for the libraries docs build
8994 2005-11-24 Michael Smith <msmith@fluendo.com>
8996 * docs/manual/basics-helloworld.xml:
8997 Fix bug #315027: memory leak in example code in docs.
8999 2005-11-24 Michael Smith <msmith@fluendo.com>
9001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9002 Unlock the PREROLL_LOCK in a failure case.
9004 2005-11-24 Wim Taymans <wim@fluendo.com>
9006 * docs/gst/gstreamer-sections.txt:
9007 * gst/base/gstadapter.h:
9008 * gst/base/gstbasesink.h:
9009 * gst/base/gstbasesrc.h:
9010 * gst/base/gstbasetransform.h:
9011 * gst/base/gstpushsrc.h:
9012 * gst/elements/gstfakesink.h:
9013 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
9014 * gst/elements/gstfakesrc.h:
9015 * gst/elements/gstfilesink.h:
9016 * gst/elements/gstfilesrc.h:
9019 * gst/gstbuffer.c: (_gst_buffer_copy):
9022 * gst/gstchildproxy.c:
9025 * gst/gstelementfactory.c:
9026 * gst/gstelementfactory.h:
9028 * gst/gstghostpad.h:
9030 * gst/gstinterface.h:
9031 * gst/gstminiobject.c:
9032 * gst/gstminiobject.h:
9035 * gst/gstpadtemplate.h:
9036 * gst/gstpipeline.h:
9037 * gst/gstpluginfeature.h:
9042 * gst/gsttagsetter.c:
9043 * gst/gsttagsetter.h:
9046 * gst/gsttypefind.h:
9049 * gst/net/gstnetclientclock.c:
9050 * gst/net/gstnetclientclock.h:
9051 * gst/net/gstnettimepacket.c:
9052 * gst/net/gstnettimeprovider.c:
9053 * gst/net/gstnettimeprovider.h:
9056 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
9058 * configure.ac: back to HEAD
9060 === release 0.9.6 ===
9062 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
9065 releasing 0.9.6, "Always On Time"
9067 2005-11-23 Wim Taymans <wim@fluendo.com>
9069 * docs/gst/gstreamer-sections.txt:
9070 * gst/glib-compat.c:
9071 * gst/gsttagsetter.c:
9073 * gst/net/gstnetclientclock.c:
9074 * gst/net/gstnettimepacket.h:
9077 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
9079 * docs/faq/using.xml:
9080 * docs/libs/tmpl/gstcontrol.sgml:
9081 * docs/manual/advanced-dparams.xml:
9082 * docs/manual/appendix-checklist.xml:
9083 * docs/manual/basics-elements.xml:
9084 * docs/pwg/other-source.xml:
9085 * docs/random/moving-plugins:
9087 * tools/gst-launch.1.in:
9088 remove mentions of sinesrc
9090 2005-11-23 Michael Smith <msmith@fluendo.com>
9092 * docs/gst/gstreamer-sections.txt:
9093 Update for new API and API changes.
9095 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
9097 Documentation typo fix.
9098 * gst/net/gstnettimepacket.c:
9099 Documentation fixes for arguments.
9101 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
9103 * gst/gststructure.c: (gst_structure_get_fraction),
9104 (gst_structure_parse_value),
9105 (gst_structure_fixate_field_nearest_fraction):
9106 * gst/gststructure.h:
9107 * gst/gstutils.c: (gst_util_uint64_scale_int):
9109 * scripts/update-funcnames:
9111 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
9112 Make gst_structure_fixate_field_nearest_fraction take a numerator
9113 and denominator argument instead of a GValue
9114 add gst_structure_get_fraction helper function.
9116 2005-11-23 Wim Taymans <wim@fluendo.com>
9118 * docs/design/part-TODO.txt:
9121 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9122 * gst/net/gstnetclientclock.h:
9123 Use parent fields for timeout and window_size.
9125 2005-11-23 Andy Wingo <wingo@pobox.com>
9127 * check/net/gstnetclientclock.c (test_functioning): Adjust to
9128 rate_num/rate_denom change.
9130 * gst/net/gstnetclientclock.c
9131 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
9132 OBJECT_LOCK. Don't call add_observation with the lock.
9134 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
9136 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
9138 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
9139 deal with rate as a fraction whose numerator and denominator are
9140 GstClockTime values.
9141 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
9142 master; the other fields are protected by the SLAVE_LOCK.
9143 (do_linear_regression): Note that this must be called with the
9145 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
9146 OBJECT_LOCK. Call set_calibration instead of touching the
9148 (gst_clock_set_property, gst_clock_get_property): Protect
9149 master/slave parameters with the SLAVE_LOCK.
9151 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
9152 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
9153 note that all of the instance variables that add_observation and
9154 the set_master functions use are protected by that lock and not
9156 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
9158 * gst/gstclock.c (gst_clock_add_observation): No longer requires
9159 the caller to take the object lock.
9161 2005-11-23 Wim Taymans <wim@fluendo.com>
9163 * gst/gsterror.c: (_gst_core_errors_init):
9165 Add error for clock stuff.
9167 * gst/gstpipeline.c: (gst_pipeline_change_state),
9168 (gst_pipeline_set_clock):
9169 Post clock error when clock cannot be used in a pipeline.
9171 2005-11-23 Stefan Kost <ensonic@users.sf.net>
9173 * docs/gst/gstreamer-sections.txt:
9174 make two symbols from gstinfo private for the docs
9175 * gst/base/gstcollectpads.h:
9177 fix doc typos, update docs
9179 2005-11-22 Wim Taymans <wim@fluendo.com>
9181 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9182 (gst_base_sink_wait), (gst_base_sink_do_sync),
9183 (gst_base_sink_handle_event):
9184 * gst/base/gstbasesink.h:
9185 No need to store the clock, the parent element class already
9188 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
9189 Updates for clock_set returning a gboolean
9191 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
9192 (gst_clock_id_wait_async), (gst_clock_class_init),
9193 (gst_clock_init), (gst_clock_finalize),
9194 (gst_clock_get_internal_time), (gst_clock_get_time),
9195 (gst_clock_slave_callback), (gst_clock_set_master),
9196 (gst_clock_get_master), (do_linear_regression),
9197 (gst_clock_add_observation), (gst_clock_set_property),
9198 (gst_clock_get_property):
9200 Implement master/slave. When setting a clock as a slave, a
9201 periodic timeout is scheduled to sample master and slave times.
9202 Then the slave clock is recalibrated to match offset and rate
9203 of the master clock.
9204 Update logging a bit.
9205 Add flag so that a clock can state that is cannot be slaved to
9208 * gst/gstelement.c: (gst_element_set_clock):
9210 The set clock returns a gboolean for when an element cannot
9211 deal with the selected clock in the pipeline.
9213 * gst/gstpipeline.c: (gst_pipeline_change_state),
9214 (gst_pipeline_set_clock):
9215 * gst/gstpipeline.h:
9216 Handle the case where the selected clock cannot be set on
9219 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
9220 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
9221 (gst_net_client_clock_set_property),
9222 (gst_net_client_clock_get_property),
9223 (gst_net_client_clock_observe_times):
9224 * gst/net/gstnetclientclock.h:
9225 Use regression code in GstClock parent, remove duplicated
9228 2005-11-22 Michael Smith <msmith@fluendo.com>
9230 * gst/gstutils.c: (gst_util_clock_time_scale):
9232 * docs/gst/gstreamer-sections.txt:
9233 Rename method to have extra underscore.
9235 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
9237 * gst/elements/Makefile.am:
9238 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
9239 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9240 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9241 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
9242 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
9243 * gst/elements/gstfakesrc.h:
9244 * gst/gstqueue.c: (queue_leaky_get_type):
9245 correctly fix GEnumValues so that nick is the short lowercase
9247 * tools/gst-inspect.c: (print_element_properties_info):
9248 also show the nick, since it's useful to use from parse_launch
9252 2005-11-22 Michael Smith <msmith@fluendo.com>
9254 * gst/gstutils.c: (gst_util_clocktime_scale):
9256 * docs/gst/gstreamer-sections.txt:
9257 Add util method for scaling a clocktime by a fraction. Useful
9258 implementation is left as an exercise for the reader.
9260 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9262 * gst/gstvalue.c: (gst_value_collect_fraction_range):
9263 If needed, allocate storage in the destination value during
9266 2005-11-22 Edward Hervey <edward@fluendo.com>
9268 * docs/gst/gstreamer-sections.txt:
9273 * gst/gstutils.c: (gst_util_set_object_arg):
9274 * tools/gst-compprep.c: (main):
9275 * tools/gst-inspect.c: (print_element_properties_info):
9276 Removed GstURI, closes bug #321061
9278 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9280 * check/gst/gststructure.c: (GST_START_TEST):
9281 * gst/gststructure.c: (gst_structure_parse_value):
9282 Oops, broke automatic string type parsing.
9283 Add a test to catch it in future.
9285 2005-11-22 Andy Wingo <wingo@pobox.com>
9287 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
9288 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
9289 Actually rename the function implementations. Grr.
9291 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9293 * check/gst/capslist.h:
9295 * check/gst/gststructure.c: (GST_START_TEST),
9296 (gst_structure_suite):
9297 Test automatic value type detection in gst_structure_from_string.
9298 * gst/gststructure.c: (gst_structure_parse_value):
9299 Add fraction as a type we try and guess automatically in
9300 caps/structure strings.
9302 2005-11-22 Andy Wingo <wingo@pobox.com>
9304 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
9306 * gst/gsttagsetter.h:
9307 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
9308 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
9309 (gst_tag_setter_add_tag_valist)
9310 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
9311 _add_values, _add_valist, and _add_valist_values. Since this is an
9312 interface the function suffixes should be more explicit so
9313 language binding don't end up with element.add_valist ->
9314 gst_tag_setter_add_valist, for example. Fixes #322069.
9316 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9318 * check/gst/gstcaps.c: (GST_START_TEST):
9319 Extend caps string tests to check that a caps to string
9320 conversion is reversible and produces the same caps.
9322 * gst/gststructure.c: (gst_structure_value_get_generic_type):
9323 Output "fraction" as the generic type fraction range, so caps
9324 serialisation and deserialisation works.
9325 * check/gst/capslist.h:
9326 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9327 Support 'MIN' and 'MAX' for deserialising fractions.
9329 2005-11-22 Andy Wingo <wingo@pobox.com>
9331 * gst/gstevent.h (gst_event_new_new_segment)
9332 (gst_event_parse_new_segment, gst_event_new_buffer_size)
9333 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
9334 Renamed from *_newsegment, *_buffersize, *_notarget.
9336 * scripts/update-funcnames: New script, performs the changes
9339 2005-11-22 Wim Taymans <wim@fluendo.com>
9341 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9342 Make sure the GstFlowReturn is returned.
9344 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
9345 (gst_bus_add_signal_watch):
9347 add gst_bus_add_signal_watch_full.
9349 * gst/gstplugin.c: (gst_plugin_load_file):
9350 Small style cleanup.
9352 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9354 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
9355 Block the fakesrc srcpad when we send an event, to avoid
9356 contention on the stream_lock causing random test failures.
9358 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9360 * check/gst/gstvalue.c: (GST_START_TEST):
9361 * gst/gstvalue.c: (gst_value_fraction_subtract):
9364 2005-11-22 Stefan Kost <ensonic@users.sf.net>
9367 include "gstchildproxy.h"
9368 * gst/gstchildproxy.h:
9369 * libs/gst/controller/gstcontroller.h:
9370 use G_GNUC_NULL_TERMINATED
9372 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9374 * check/gst/capslist.h:
9375 * check/gst/gstcaps.c: (GST_START_TEST):
9376 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9377 * gst/gststructure.c: (gst_structure_parse_range),
9378 (gst_structure_fixate_field_nearest_fraction):
9379 * gst/gststructure.h:
9380 * gst/gstvalue.c: (gst_value_init_fraction_range),
9381 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
9382 (gst_value_collect_fraction_range),
9383 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
9384 (gst_value_set_fraction_range_full),
9385 (gst_value_get_fraction_range_min),
9386 (gst_value_get_fraction_range_max),
9387 (gst_value_serialize_fraction_range),
9388 (gst_value_transform_fraction_range_string),
9389 (gst_value_compare_fraction_range),
9390 (gst_value_deserialize_fraction_range),
9391 (gst_value_intersect_fraction_fraction_range),
9392 (gst_value_intersect_fraction_range_fraction_range),
9393 (gst_value_subtract_fraction_fraction_range),
9394 (gst_value_subtract_fraction_range_fraction),
9395 (gst_value_subtract_fraction_range_fraction_range),
9396 (gst_value_collect_fraction), (gst_value_fraction_multiply),
9397 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
9398 (gst_value_transform_string_fraction), (_gst_value_initialize):
9400 Implement fraction ranges and extend GstFraction to support
9401 arithmetic subtraction, as well as deserialization from integer
9402 strings such as "100"
9403 Add a testsuite as for int and double range set operations
9405 2005-11-21 Andy Wingo <wingo@pobox.com>
9409 * gst/gststructure.h: Add glib-compat.h.
9411 2005-11-21 Wim Taymans <wim@fluendo.com>
9413 * gst/gstbin.c: (gst_bin_change_state_func):
9416 2005-11-21 Wim Taymans <wim@fluendo.com>
9419 And add a nice define too.
9421 2005-11-21 Wim Taymans <wim@fluendo.com>
9423 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
9424 (gst_segment_new), (gst_segment_free), (gst_segment_init),
9425 (gst_segment_set_duration), (gst_segment_set_last_stop),
9426 (gst_segment_set_seek), (gst_segment_set_newsegment),
9427 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9430 Make binding friendly.
9432 2005-11-21 Andy Wingo <wingo@pobox.com>
9434 * gst/gsttagsetter.h:
9436 * gst/gststructure.h:
9438 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
9441 * gst/gsterror.c (_gst_core_errors_init):
9442 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
9445 * gst/Makefile.am (gst_headers): Add glib-compat.h.
9446 (noinst_HEADERS): noinst the -private.
9448 2005-11-21 Michael Smith <msmith@fluendo.com>
9451 * gst/gstregistry.h:
9452 Remove unimplemented declarations for which we can see no sensible
9455 2005-11-21 Andy Wingo <wingo@pobox.com>
9457 * gst/gst.h: Include glib-compat.h.
9459 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
9461 * gst/glib-compat.c: Include the public and the private header.
9463 * gst/glib-compat-private.h: Copied here from glib-compat.h.
9467 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
9469 * check/gst/gstevent.c (create_custom_events): Check that
9470 FLUSH_STOP is serialized.
9472 * check/elements/identity.c (event_func):
9473 * check/elements/fakesrc.c (event_func): No stream lock, the core
9476 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
9477 stream lock taking, yay.
9479 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
9480 ensure that core takes the stream lock.
9482 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
9485 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
9486 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
9487 it already. For the flush start we do take it though so we get the
9488 right preroll state change messages.
9490 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
9491 the stream lock here, the core does it for us.
9493 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
9494 GST_STREAM_GET_LOCK.
9495 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
9496 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
9497 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
9498 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
9499 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
9500 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
9502 * gst/gstpad.c: Update for stream lock name change.
9504 * gst/base/gstbasesink.c: Update for preroll lock name change.
9506 2005-11-21 Wim Taymans <wim@fluendo.com>
9508 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
9509 (gst_clock_get_master):
9511 * gst/gstsystemclock.c: (gst_system_clock_init):
9512 Convert Clock flags to object flags.
9513 Added methods to manage master/slave clocks.
9515 2005-11-21 Wim Taymans <wim@fluendo.com>
9517 * check/gst/gstsegment.c: (GST_START_TEST):
9518 * docs/design/part-TODO.txt:
9519 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9520 (gst_base_sink_event), (gst_base_sink_do_sync),
9521 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9522 (gst_base_sink_query), (gst_base_sink_change_state):
9523 * gst/base/gstbasesink.h:
9524 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9525 (gst_base_src_default_newsegment),
9526 (gst_base_src_configure_segment), (gst_base_src_do_seek),
9527 (gst_base_src_get_range), (gst_base_src_loop),
9528 (gst_base_src_change_state):
9529 * gst/base/gstbasesrc.h:
9530 * gst/base/gstbasetransform.c:
9531 (gst_base_transform_prepare_output_buf),
9532 (gst_base_transform_event), (gst_base_transform_change_state):
9533 * gst/base/gstbasetransform.h:
9534 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9535 (gst_collect_pads_event):
9536 * gst/base/gstcollectpads.h:
9537 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
9538 (gst_fake_src_create):
9539 * gst/elements/gstfakesrc.h:
9540 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9541 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9542 (gst_segment_set_last_stop), (gst_segment_set_seek),
9543 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9544 (gst_segment_to_running_time), (gst_segment_clip):
9546 More segment updates, replace code in plugins with segment
9549 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9551 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
9552 Don't ignore sscanf results
9554 2005-11-21 Andy Wingo <wingo@pobox.com>
9556 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
9559 * *.c: Ran scripts/update-macros. Oh yes.
9561 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
9562 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
9565 * scripts/update-macros: New script. Run it on your files to
9566 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
9569 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9571 * docs/gst/Makefile.am:
9572 * docs/gst/gstreamer-docs.sgml:
9573 * docs/gst/gstreamer-sections.txt:
9574 * docs/gst/gstreamer.types:
9576 more docs fixes, add new api to the docs
9578 2005-11-21 Andy Wingo <wingo@pobox.com>
9580 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
9581 state_broadcast call.
9583 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
9585 2005-11-21 Julien MOUTTE <julien@moutte.net>
9587 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
9588 function calls for arrays.
9590 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9592 * docs/random/ensonic/media-device-daemon.txt:
9593 wild idea, can this be done?
9594 * docs/gst/gstreamer-sections.txt:
9599 * gst/gstpluginfeature.c:
9603 doc fixes and additions
9605 2005-11-21 Andy Wingo <wingo@pobox.com>
9607 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
9608 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
9609 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
9610 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9611 private to the basesrc implementation.
9613 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9614 behalf of event function if necessary. It should no longer be
9615 necessary to take the stream lock in pad's event functions. Fixes
9618 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9619 * docs/gst/gstreamer-sections.txt:
9620 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9621 (gst_structure_fixate_field_nearest_double),
9622 (gst_structure_fixate_field_boolean):
9623 * gst/gststructure.h:
9624 * win32/common/libgstreamer.def:
9625 * win32/gstreamer.def:
9627 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9630 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9632 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9633 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9634 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9635 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9636 (gst_fdsrc_uri_handler_init):
9637 * gst/elements/gstfdsrc.h:
9638 Port fd:// URI handler from 0.8 to fdsrc
9640 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9642 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9643 (gst_value_serialize_fourcc):
9645 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9646 consistent with our other format defines (#320324).
9648 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9650 * gst/gstvalue.c: (gst_value_is_fixed):
9651 Revert previous commit. Value lists are by definition
9652 not fixed, as they are a list of possible values.
9654 2005-11-21 Andy Wingo <wingo@pobox.com>
9656 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9657 during the stable series if we need it. Fixes #319178.
9659 * gst/gstevent.c (gst_event_new_filler): Removed.
9661 * check/gst/gstevent.c: Update comment about filler events.
9663 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9665 * gst/gstvalue.c: (gst_value_is_fixed):
9666 Should handle both value arrays and value lists.
9668 2005-11-21 Andy Wingo <wingo@pobox.com>
9670 patch by: Alessandro Dessina <alessandro nnva org>
9672 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9673 functions to access arrays. Fixes #321962.
9675 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9677 * docs/gst/gstreamer.types:
9678 gst_collectpads_get_type => gst_collect_pads_get_type.
9680 * gst/base/gstbasetransform.c:
9681 Remove unused SIGNAL_HANDOFF enum.
9683 2005-11-21 Andy Wingo <wingo@pobox.com>
9685 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9686 the event type (upstream, downstream, serialized). Renamed
9687 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9688 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9689 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9691 * gst/gstevent.c: Update for new CUSTOM event names.
9693 * check/gst/gstevent.c: Update check for new CUSTOM event names.
9696 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9699 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9701 * docs/gst/gstreamer-sections.txt:
9702 * win32/common/libgstbase.def:
9703 * win32/libgstbase.def:
9704 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9705 (gst_collect_pads_class_init), (gst_collect_pads_init),
9706 (gst_collect_pads_finalize), (gst_collect_pads_new),
9707 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9708 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9709 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9710 (gst_collect_pads_start), (gst_collect_pads_stop),
9711 (gst_collect_pads_peek), (gst_collect_pads_pop),
9712 (gst_collect_pads_available), (gst_collect_pads_read),
9713 (gst_collect_pads_flush), (gst_collect_pads_event),
9714 (gst_collect_pads_chain):
9715 * gst/base/gstcollectpads.h:
9716 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9717 unimplemented functions as unimplemented. Add padding to
9718 GstCollectData. (#320766, #320423)
9720 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9723 Improve docs for DURATION message (usage of duration parameter)
9726 2005-11-20 Wim Taymans <wim@fluendo.com>
9728 * check/Makefile.am:
9729 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9733 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9734 (gst_segment_set_seek), (gst_segment_set_newsegment),
9735 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9738 Added segment helper structure and methods. Not fully implemented
9740 Added segment check.
9742 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
9744 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9745 Add a deserialisation test for fractions
9746 * examples/metadata/read-metadata.c: (message_loop),
9747 (make_pipeline), (main):
9748 Fix up metadata reading sample.
9749 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9751 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9752 Don't try and fixate empty caps
9753 * gst/gst_private.h:
9754 Wrap in G_BEGIN_DECLS/G_END_DECLS
9755 * gst/gstvalue.c: (gst_value_collect_fraction),
9756 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9757 (gst_value_transform_string_fraction),
9758 (gst_value_compare_fraction):
9759 Add some extra guards to ensure that we don't end up
9760 with an invalid denominator of 0 in a gstfraction and
9761 that fractions always get reduced.
9763 2005-11-20 Wim Taymans <wim@fluendo.com>
9765 * docs/gst/gstreamer-sections.txt:
9776 2005-11-20 Wim Taymans <wim@fluendo.com>
9778 * docs/design/part-TODO.txt:
9780 Make a proper enum of the flag.
9782 2005-11-19 Wim Taymans <wim@fluendo.com>
9784 * docs/design/part-TODO.txt:
9785 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9786 (gst_format_to_quark), (gst_format_register):
9788 * gst/gstquery.c: (_gst_query_initialize),
9789 (gst_query_type_get_name), (gst_query_type_to_quark),
9790 (gst_query_type_register):
9792 Add type to quark and type to string conversions.
9794 2005-11-19 Andy Wingo <wingo@pobox.com>
9796 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9799 2005-11-19 Wim Taymans <wim@fluendo.com>
9801 * docs/design/part-TODO.txt:
9802 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9803 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9804 (gst_bin_handle_message_func):
9806 Make message handling overridable.
9808 2005-11-19 Andy Wingo <wingo@pobox.com>
9810 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9813 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9815 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9816 is a GstClockTime. Fixes #321710.
9818 * gst/gstclock.h (GstClock): Remove offset property. Add
9819 internal_calibration and external_calibration. Fix padding. Pad
9820 also by GstClockTime so we don't run into problems.
9822 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9823 (gst_clock_get_rate_offset): Remove.
9824 (gst_clock_set_time_adjust): Remove. Fixes #321712.
9827 * gst/gstutils.c (g_static_rec_cond_wait)
9828 (g_static_rec_cond_timed_wait): Removed, no longer needed.
9830 * gst/gstbin.c: Remove terrible continue_state prototype.
9832 * gst/gstelement.h (gst_element_continue_state): Make public.
9835 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9836 by continue_state. Fixes #319389.
9838 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9839 Really fixes #168438. However I don't see anywhere where the
9840 filter function is called... stupid GStreamer...
9842 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9843 don't have a dispose function, so it won't get called when the
9844 object is unreffed, but oh well!
9846 * gst/gstindex.c (gst_index_set_filter_full): New API function,
9847 allows a destroy function to be set so user_data can be freed.
9849 (gst_index_set_filter): Call gst_index_set_filter_full.
9851 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9853 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9854 string should produce an error, given the lack of a way to
9855 represent NULL strings. Fixes #165650.
9858 * gst/gstvalue.c (gst_value_array_append_value)
9859 (gst_value_array_prepend_value, gst_value_array_get_size)
9860 (gst_value_array_get_value): New API, copied from
9861 gst_value_list_*, only operates on arrays.
9862 (gst_value_list_append_value, gst_value_list_prepend_value)
9863 (gst_value_list_concat, gst_value_list_get_size)
9864 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9866 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9867 init_list, because it works on both.
9868 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9869 (gst_value_copy_list_or_array): Renamed from copy_list.
9870 (gst_value_free_list_or_array): Renamed from free_list.
9871 (gst_value_collect_list_or_array): Renamed from collect_list.
9872 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9873 (gst_value_list_or_array_peek_pointer): Renamed from
9875 (_gst_value_array_value_table, _gst_value_list_value_table):
9876 Update value table functions.
9877 (gst_value_compare_list_or_array): Renamed from compare_list.
9879 * gsttaglist.h: Whoops, foreach function returns void. Also fix
9883 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9884 GstTagList*. Fixes #143472.
9886 * gst/gststructure.h: Clarify what the foreach/map functions can
9887 or can't do to their arguments.
9889 2005-11-18 Wim Taymans <wim@fluendo.com>
9891 * gst/gstclock.c: (gst_clock_set_calibration),
9892 (gst_clock_get_calibration):
9894 Calibration can be set with internal time equal to current
9897 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
9903 2005-11-18 Andy Wingo <wingo@pobox.com>
9906 * pkgconfig/gstreamer-net.pc.in:
9907 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9908 * pkgconfig/Makefile.am: Add net pkgconfig files.
9910 2005-11-18 Stefan Kost <ensonic@users.sf.net>
9913 * gst/gstghostpad.c:
9919 2005-11-18 Andy Wingo <wingo@pobox.com>
9921 * gst/net/gstnetclientclock.c: Turn off debugging.
9923 * check/net/gstnetclientclock.c (test_functioning): Assert that the
9924 times connverge somewhat. Can't make a real test.
9926 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9927 integer arithmetic. Return the minimum of the domain, which can be
9928 set as "internal" for gst_clock_set_calibration.
9929 (gst_net_client_clock_observe_times): Call _set_calibration.
9930 (gst_net_client_clock_new): Call _set_calibration instead of
9933 * check/net/gstnetclientclock.c (test_functioning): Use the right
9937 * gst/gstclock.c (gst_clock_get_calibration)
9938 (gst_clock_set_calibration): New functions, obsolete the ones I
9939 added yesterday. Doh. Precision issues mean we have to extrapolate
9940 from a point in the more recent past than 1970.
9941 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9943 (gst_clock_adjust_unlocked): Use the right calibration data.
9945 2005-11-18 Edward Hervey <edward@fluendo.com>
9947 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9948 Also reset the ->current_* values in READY->PAUSED
9950 2005-11-18 Andy Wingo <wingo@pobox.com>
9952 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9953 Whoops, check the right fd. Also add some debugging.
9954 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9955 (do_linear_regression): Add a crapload of debugging. Subtract off
9956 the minimum values from the input series to discard unneeded bits.
9957 Use only int arithmetic. There is still double arithmetic when
9958 calculating the intercept that needs fixing. Return boolean to
9959 indicate success; FALSE would mean the domain or range is too
9960 great. Still needs fixes.
9962 2005-11-18 Wim Taymans <wim@fluendo.com>
9964 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9965 For the current position in stream time, we need to subtract
9968 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9969 Release lock before calling the callback function of async
9972 2005-11-18 Andy Wingo <wingo@pobox.com>
9974 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9975 Port goes all the way to MAXUINT16.
9977 * gst/net/gstnettimeprovider.c: Make the port range the same as
9978 for the kernel: 0 assigns, otherwise ports are less than
9981 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9984 * check/net/gstnetclientclock.c (test_functioning): Add the start
9987 2005-11-18 Wim Taymans <wim@fluendo.com>
9989 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9990 (gst_bin_remove_func), (bin_bus_handler):
9992 Removing a clock provider from a bin, triggers a clock lost message
9993 so that a new clock will be selected.
9994 Adding a clock to a bin triggers a clock provider message.
9995 Make sure we reselect a clock when we received a clock lost message.
9996 Keep a reference to the element that provided the clock.
9998 2005-11-18 Andy Wingo <wingo@pobox.com>
10000 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
10001 the clock initially so it produces values around the base time.
10002 (gst_net_client_clock_class_init): Typo fix.
10003 (gst_net_client_clock_thread): Add note on when the socket gets
10006 2005-11-17 Wim Taymans <wim@fluendo.com>
10008 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
10009 Free remote and local time arrays.
10011 2005-11-17 Wim Taymans <wim@fluendo.com>
10013 * gst/net/gstnetclientclock.c: (do_linear_regression),
10014 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
10015 Fix compilation, uninitialized vars and a forgotten continue.
10017 2005-11-17 Andy Wingo <wingo@pobox.com>
10019 * check/Makefile.am (check_PROGRAMS):
10020 * check/net/gstnetclientclock.c: Add a most minimal test for the
10021 net client clock. More to come later.
10023 * gst/net/gstnet.h:
10024 * gst/net/Makefile.am: Add netclientclock.
10026 * gst/net/gstnetclientclock.h:
10027 * gst/net/gstnetclientclock.c: New files, implement an untested
10028 GstClock that takes its time from a network time provider.
10029 Implements the algorithm in network-clock.scm.
10031 * tests/network-clock.scm (*window-size*): Rename from
10033 * tests/network-clock.scm (network-time):
10034 * tests/network-clock-utils.scm (q-push): Update callers.
10036 2005-11-17 Wim Taymans <wim@fluendo.com>
10038 * gst/gstbin.c: (gst_bin_provide_clock_func),
10039 (gst_bin_sort_iterator_new):
10040 And unref the child too..
10042 2005-11-17 Wim Taymans <wim@fluendo.com>
10044 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10045 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
10046 Refactor the sort iterator so it can be used while holding the
10048 Make clock selection select a clock closest to the source.
10050 2005-11-17 Michael Smith <msmith@fluendo.com>
10052 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
10053 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
10055 Anonymous structs are a gcc (and some other compilers) extension, so
10056 don't use them. Since this is only for ABI-compatibility, and our
10057 API/ABI freeze is over in a few days, this whole thing will only
10058 last a few days, so don't bother trying to think up a meaningful
10059 name for the struct.
10061 2005-11-17 Andy Wingo <wingo@pobox.com>
10063 * gst/gstclock.h (GstClock): Add rate and offset properties,
10064 preserving ABI stability. Add rate/offset accessors. Will file bug
10065 for the freeze break.
10067 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
10068 and offset, trying to keep precision and avoiding
10069 underflow/overflow.
10070 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
10071 functions. Make gst_clock_set_time_adjust obsolete.
10072 (gst_clock_set_time_adjust): Note that this function is obsolete.
10073 Will file bug soon.
10075 * gst/base/gstbasetransform.h: Make the ABI-stability hack
10076 greppable by using GST_PADDING-1+1.
10078 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
10080 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10082 * gst/gstmessage.c: (gst_message_parse_clock_lost):
10083 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
10085 * gst/gstpadtemplate.h:
10086 * gst/gstpluginfeature.h:
10087 Don't use c++ style comments in headers (#321638).
10089 2005-11-16 Andy Wingo <wingo@pobox.com>
10091 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
10094 * check/net/gstnettimeprovider.c: Check to see that the time
10095 provider actually provides times. Works, yo!
10097 2005-11-16 Wim Taymans <wim@fluendo.com>
10099 * check/Makefile.am:
10102 * check/elements/fakesrc.c: (GST_START_TEST):
10103 Set element to NULL before disposing it.
10105 2005-11-16 Andy Wingo <wingo@pobox.com>
10107 * gst/net/Makefile.am:
10108 * gst/net/gstnet.h:
10109 * gst/net/gstnettimeprovider.c:
10110 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
10111 provider, include it from gstnet.h, and add it to the build.
10113 * gst/net/gstnettimepacket.h:
10114 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
10115 sending and receiving.
10117 2005-11-16 Wim Taymans <wim@fluendo.com>
10119 * check/Makefile.am:
10120 Enable valgrind check.
10122 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
10123 (gst_fake_src_alloc_buffer):
10126 2005-11-16 Wim Taymans <wim@fluendo.com>
10128 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
10129 Call parent finalize too.
10131 2005-11-16 Wim Taymans <wim@fluendo.com>
10133 * check/Makefile.am:
10134 Enable valgrind check that should work fine now.
10136 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10137 * gst/gstqueue.c: (gst_queue_init):
10138 Fix memleaks in pad allocation.
10140 2005-11-16 Andy Wingo <wingo@pobox.com>
10142 * gst/net/Makefile.am:
10143 * gst/net/gstnet.h: New part of core to hold network elements and
10144 objects. Put in core because it exposes API that applications want
10145 to use. The library is named libgstnet-tempname right now because
10146 of the existing libgstnet in gst-plugins-base. Solution is
10147 probably to rename the one in plugins-base; will file a bug for
10150 * gst/net/gstnettimeprovider.c:
10151 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
10152 get_time call over the network.
10155 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
10157 * check/Makefile.am:
10158 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
10159 get additions shortly.
10161 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10163 * gst/gstpad.c: (gst_pad_new_from_static_template):
10165 add gst_pad_new_from_static_template functions
10166 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
10167 (gst_check_setup_sink_pad):
10168 * gst/elements/gsttee.c: (gst_tee_init):
10171 2005-11-16 Wim Taymans <wim@fluendo.com>
10173 * gst/gstpad.c: (gst_pad_pause_task):
10174 Removed warning, it's not really an error either.
10176 2005-11-16 Wim Taymans <wim@fluendo.com>
10178 * gst/base/gstbasetransform.c:
10179 (gst_base_transform_prepare_output_buf),
10180 (gst_base_transform_event):
10181 Check if the caps are NULL, this can happen if the element
10182 is shutting down and the pad caps are set to NULL.
10184 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10186 * gst/elements/gsttee.c: (gst_tee_init):
10187 fix pad template leak in tee
10189 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10191 * gst/glib-compat.c: (g_value_dup_gst_object):
10192 * gst/glib-compat.h:
10193 * gst/gstpad.c: (gst_pad_set_property):
10194 use gst_object_ref when setting the pad template; this will
10195 trigger the pad template leaks on GLib 2.6 and the slaves
10197 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10199 * gst/glib-compat.c: (gst_flags_get_first_value):
10200 * gst/glib-compat.h:
10201 * gst/gstregistryxml.c:
10202 remove functions copied from GLib 2.6
10204 2005-11-16 Michael Smith <msmith@fluendo.com>
10207 Don't link against VALGRIND_LIBS. That was always the wrong thing to
10208 do, but only breaks with newer valgrind versions. We're not a
10209 valgrind tool, we have no link-time dependencies on libcoregrind.
10211 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10213 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
10215 * gst/gstmessage.h:
10218 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10220 * gst/base/gstbasesrc.c: (gst_base_src_init):
10221 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10222 * gst/gstqueue.c: (gst_queue_init):
10223 * gst/gstregistryxml.c: (load_feature):
10224 Revert all these unrefs, they don't even pass make check !
10226 2005-11-15 Johan Dahlin <johan@gnome.org>
10228 * gst/base/gstbasesrc.c: (gst_base_src_init):
10229 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10230 * gst/gstqueue.c: (gst_queue_init):
10231 Free pad templates, fixes a couple of leaks.
10233 2005-11-15 Daniel Fischer <dan at f3c dot com>
10235 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10237 * gst/gstpad.c: (gst_pad_get_property):
10238 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
10239 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
10242 2005-11-15 Wim Taymans <wim@fluendo.com>
10247 2005-11-15 Andy Wingo <wingo@pobox.com>
10249 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
10251 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
10252 using GST_CLOCK_TIME_NONE to disable base time management.
10253 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
10254 time if it was NONE before.
10255 (gst_pipeline_change_state): Only munge the base time if
10256 stream_time != GST_CLOCK_TIME_NONE.
10258 * check/gst/gstpipeline.c (test_base_time): Punt around the
10259 problem of the probe not being called, because that's not the
10260 issue I'm looking at. Add a check that setting stream_time to NONE
10261 disables base time management.
10263 2005-11-15 Wim Taymans <wim@fluendo.com>
10265 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10266 segment_stop == -1 at startup.
10268 * gst/base/gstbasetransform.c: (gst_base_transform_event),
10269 (gst_base_transform_change_state):
10270 Init segment values at start.
10272 2005-11-15 Wim Taymans <wim@fluendo.com>
10274 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10275 0 segment values are 0 in any format.
10277 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10278 * gst/base/gstbasetransform.h:
10279 Parse newsegment correctly in basetransform
10281 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10282 Sync to clock using updated segment values.
10284 2005-11-15 Andy Wingo <wingo@pobox.com>
10286 * check/gst/gstpipeline.c (test_base_time): Add check that the
10287 base time and stream time are reset correctly.
10289 2005-11-15 Wim Taymans <wim@fluendo.com>
10291 * docs/design/part-TODO.txt:
10292 Some more TODO items.
10294 2005-11-15 Andy Wingo <wingo@pobox.com>
10296 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
10297 error if the user selected "no clock" as the clocking method.
10299 * check/gst/gstpipeline.c (test_base_time): New test for buffer
10300 timestamps with live capture.
10302 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
10303 is 0 but we are a live source, timestamp the buffers using the
10306 2005-11-14 Stefan Kost <ensonic@users.sf.net>
10308 * docs/gst/gstreamer-sections.txt:
10310 * gst/gstghostpad.c:
10315 2005-11-14 Wim Taymans <wim@fluendo.com>
10318 add suppressions from Wim's Debian machine
10320 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
10323 add suppressions from Andy's AMD64 Ubuntu machine
10325 2005-11-14 Andy Wingo <wingo@pobox.com>
10327 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
10328 STATE_LOCK not necessary. Fixes #311489.
10330 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
10333 * gst/gstindex.c (gst_index_add_object): Note in the docs that
10334 this function is not implemented.
10336 2005-11-14 Julien MOUTTE <julien@moutte.net>
10338 * gst/base/gstbasetransform.c:
10339 (gst_base_transform_prepare_output_buf):
10340 Ref the source pad caps while we need them.
10343 2005-11-11 Wim Taymans <wim@fluendo.com>
10345 * docs/gst/gstreamer-sections.txt:
10346 Added some docs for GstCollectData.
10348 * gst/base/gstadapter.c:
10349 Some small code example fix.
10351 * gst/base/gstcollectpads.c:
10352 * gst/base/gstcollectpads.h:
10353 Document some more.
10355 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
10357 * configure.ac: back to HEAD
10359 === release 0.9.5 ===
10361 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
10364 releasing 0.9.5, "Bike Lunch Day"
10366 2005-11-11 Wim Taymans <wim@fluendo.com>
10368 * gst/gstbuffer.c: (_gst_buffer_copy):
10371 * gst/gstcaps.c: (gst_caps_is_equal):
10373 Make _is_equal fast in the trivial cases.
10375 * gst/gstminiobject.c:
10376 * gst/gstminiobject.h:
10377 More docs. Spifify .h file.
10382 2005-11-11 Wim Taymans <wim@fluendo.com>
10384 * gst/base/gstbasetransform.c:
10385 (gst_base_transform_prepare_output_buf),
10386 (gst_base_transform_handle_buffer):
10388 If we're processing a buffer and need to allocate an output
10389 buffer, we cannot accept a format change. If we did get a
10390 format change, we have to alloc a buffer ourselves of the
10393 2005-11-11 Wim Taymans <wim@fluendo.com>
10395 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
10396 While checking the flag for reentrancy in the gstcaps function
10397 is nice to detect recursive invocations, it also makes it
10398 impossible to call getcaps from multiple threads, which must be
10399 possible. So, checking for recursive calls has to go.
10401 2005-11-11 Michael Smith <msmith@fluendo.com>
10403 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10404 Don't sync on buffers that fall partially outside our current
10405 segment. Prevents an assertion failure/abort playing some files.
10407 2005-11-10 Andy Wingo <wingo@pobox.com>
10409 * check/gst/gstbin.c (test_message_state_changed_children): Style
10412 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
10413 gst_bus_poll with the signal watch. Ensures that poll and a signal
10414 watch see the same messages.
10416 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
10417 a poll and a watch at the same time get the same messages.
10419 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
10421 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
10422 * gst/gstcaps.c: (gst_caps_intersect):
10423 Don't call gst_caps_do_simplify - it doesn't respect order of caps
10424 and it's not needed.
10426 2005-11-10 Wim Taymans <wim@fluendo.com>
10428 * docs/design/part-TODO.txt:
10431 2005-11-10 Wim Taymans <wim@fluendo.com>
10433 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10434 * gst/base/gstbasesrc.c: (gst_base_src_wait),
10435 (gst_base_src_do_sync), (gst_base_src_get_range):
10436 Implement clock sync in base class.
10438 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
10440 patch by: Tim-Philipp Müller <tim at centricular dot net>
10442 * gst/gststructure.c: (gst_structure_parse_field),
10443 (gst_structure_from_string):
10444 Forward-port a 0.8 patch to handle escaped spaces in structure string,
10445 so that gst_parse_launch() can deal with spaces in filtered link
10446 caps (fixes #164479)
10447 * check/gst/capslist.h:
10448 * check/gst/gststructure.c: (GST_START_TEST):
10449 add unit tests for this change
10451 2005-11-10 Wim Taymans <wim@fluendo.com>
10453 * docs/gst/gstreamer-sections.txt:
10454 * gst/gstelement.c:
10455 * gst/gstelement.h:
10456 Fix docs, move some STATE macros to private.
10458 2005-11-10 Wim Taymans <wim@fluendo.com>
10460 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
10461 Added check for bug #317341
10465 Some more spiffifying.
10467 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
10468 Call peer linkfunction if we are a source pad. Totally fixes
10472 Update docs, source pads should call the peer linkfunction
10473 so they can atomically perform the pad link.
10475 2005-11-09 Wim Taymans <wim@fluendo.com>
10479 Uber-spiffy-spiffify some more.
10481 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
10483 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
10484 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10485 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10486 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
10487 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
10488 * gst/gstpad.c: (gst_pad_init):
10489 Use GST_DEBUG_FUNCPTR() more extensively.
10491 2005-11-09 Wim Taymans <wim@fluendo.com>
10493 * gst/gstobject.c: (gst_object_class_init):
10495 Documentation fixes.
10497 2005-11-09 Edward Hervey <edward@fluendo.com>
10499 * gst/gsttypefindfactory.c:
10502 2005-11-09 Edward Hervey <edward@fluendo.com>
10504 * gst/base/gsttypefindhelper.c:
10505 * gst/gsttypefind.c:
10506 * gst/gsttypefind.h:
10509 2005-11-09 Wim Taymans <wim@fluendo.com>
10511 * gst/gstiterator.c:
10518 2005-11-09 Wim Taymans <wim@fluendo.com>
10524 2005-11-09 Wim Taymans <wim@fluendo.com>
10526 * docs/gst/gstreamer-sections.txt:
10527 Moved the message async delivery private lock and cond
10528 to the private section.
10530 * gst/gstmessage.c:
10531 * gst/gstmessage.h:
10534 2005-11-09 Edward Hervey <edward@fluendo.com>
10536 * docs/gst/gstreamer-sections.txt:
10539 Document GstURIHandler
10541 2005-11-09 Wim Taymans <wim@fluendo.com>
10543 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
10544 (gst_iterator_find_custom):
10545 * gst/gstiterator.h:
10548 2005-11-09 Wim Taymans <wim@fluendo.com>
10551 Document another field.
10553 * gst/gststructure.c:
10554 * gst/gststructure.h:
10557 2005-11-09 Wim Taymans <wim@fluendo.com>
10560 Documented structs.
10562 2005-11-09 Wim Taymans <wim@fluendo.com>
10564 * docs/gst/gstreamer-sections.txt:
10565 Added some new macros.
10572 2005-11-09 Wim Taymans <wim@fluendo.com>
10574 * docs/design/part-TODO.txt:
10575 Some more items for the TODO
10581 2005-11-09 Andy Wingo <wingo@pobox.com>
10583 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
10584 to work on something else now tho...
10586 * gst/base/gstadapter.c: More adapter docs.
10588 * gst/elements/gstfilesink.c (gst_file_sink_start)
10589 (gst_file_sink_stop): New functions, replace the state change
10591 (gst_file_sink_class_init): Hook up the start and stop functions.
10592 (gst_file_sink_base_init): Don't set the state change handler any
10593 more. It was a bit ugly too, being set from here...
10594 (gst_file_sink_get_property, gst_file_sink_set_property):
10596 (gst_file_sink_set_location): More robust check that doesn't call
10597 GST_STATE. Ugggggg.
10599 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
10601 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10602 Hold STREAM_LOCK while pushing newsegment or tag events as well.
10604 2005-11-08 Wim Taymans <wim@fluendo.com>
10606 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10607 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10608 (gst_base_sink_chain), (gst_base_sink_change_state):
10609 * gst/base/gstbasesink.h:
10610 * gst/base/gstbasesrc.h:
10611 * gst/gstelement.h:
10613 Avoid excessive typechecking in macros.
10615 * gst/gstminiobject.c: (gst_mini_object_get_type),
10616 (gst_mini_object_init), (gst_mini_object_new),
10617 (gst_mini_object_free):
10618 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10619 (gst_object_finalize):
10620 Remove cruft code, optimize alloc_trace.
10622 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
10624 * docs/faq/gst-uninstalled:
10625 fix up PS1 for systems that try to reset it
10627 2005-11-07 Wim Taymans <wim@fluendo.com>
10629 * gst/base/gstbasesrc.c: (gst_base_src_init),
10630 (gst_base_src_get_range):
10631 Set the segment_end to -1 initially. Fixed typefind.
10633 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
10635 * gst/base/gstadapter.c:
10636 Debug category should be 'adapter', not 'GstAdapter'.
10638 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10639 (gst_collectpads_class_init), (gst_collectpads_init),
10640 (gst_collectpads_peek), (gst_collectpads_pop),
10641 (gst_collectpads_event), (gst_collectpads_chain):
10642 Add debug category and some debugging output. Use boilerplate
10643 macros. Remove some extraneous words from docs.
10645 2005-11-05 Andy Wingo <wingo@pobox.com>
10647 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10650 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10652 * docs/gst/gstreamer-sections.txt:
10655 * gst/gstminiobject.h:
10660 2005-11-04 Wim Taymans <wim@fluendo.com>
10662 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10663 Small update to stop at the configured segment_end
10666 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10668 * gst/gstregistry.c:
10669 * gst/gstregistry.h:
10672 2005-11-04 Edward Hervey <edward@fluendo.com>
10674 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10675 Check if we are doing a segment seek and have arrived at the
10676 end of that segment.
10678 2005-11-04 Wim Taymans <wim@fluendo.com>
10680 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10681 Don't leak a mutex unlock in case of an error.
10686 2005-11-04 Wim Taymans <wim@fluendo.com>
10688 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10690 Get the context to wake up only once.
10692 2005-11-03 Wim Taymans <wim@fluendo.com>
10694 * check/states/sinks.c: (GST_START_TEST):
10695 Uncomment fixed check.
10697 * docs/design/part-TODO.txt:
10700 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10701 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10702 (gst_base_sink_get_position):
10703 If we are going to PLAYING, post the right pending state
10704 when we post the intermediate paused message.
10706 * gst/gstelement.c: (gst_element_continue_state),
10707 (gst_element_set_state_func), (gst_element_change_state):
10708 Don't post state changes that were between the same state
10709 and were not ASYNC.
10711 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10713 * docs/gst/gstreamer-sections.txt:
10716 * gst/gstminiobject.h:
10719 more docs and doc style fixes
10721 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10723 * docs/gst/gstreamer-sections.txt:
10724 * gst/gstelement.c:
10725 * gst/gstminiobject.c:
10728 2005-11-03 Andy Wingo <wingo@pobox.com>
10730 * check/states/sinks.c (test_livesrc_sink): Add checks that the
10731 state-changed messages actually have the right order and the right
10734 2005-11-03 Wim Taymans <wim@fluendo.com>
10736 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10737 Added some more checks. Specifically the case where NO_PREROLL
10738 elements are in the pipeline.
10740 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10741 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10742 (gst_base_sink_get_position):
10743 Post READY->PAUSED state change messages too.
10744 Fix bug where VOID was posted as pending state...
10746 * gst/gstbin.c: (gst_bin_recalc_state):
10747 use _element_continue_state() to continue the state change.
10749 * gst/gstelement.c: (gst_element_continue_state),
10750 (gst_element_commit_state), (gst_element_set_state_func),
10751 (gst_element_change_state), (gst_element_change_state_func):
10752 Lots of state change cleanups, assign the STATE_RETURN in
10753 a new continue_state() function that also propagates the
10754 last return value from a state change to the app.
10755 Update some debug statements with proper category.
10757 2005-11-03 Wim Taymans <wim@fluendo.com>
10759 * docs/design/part-events.txt:
10760 * docs/design/part-gstpipeline.txt:
10761 * docs/design/part-messages.txt:
10762 * docs/design/part-overview.txt:
10763 * docs/design/part-seeking.txt:
10764 * docs/design/part-states.txt:
10765 * docs/design/part-trickmodes.txt:
10766 * docs/manual/advanced-position.xml:
10767 Small docs updates.
10770 People think !! is ugly, this looks better.
10772 * gst/gstpad.c: (gst_pad_set_blocked_async):
10773 Remove !! since it's fixed elsewhere now.
10775 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10777 * gst/gstminiobject.h:
10779 Add !! to _FLAG_IS_SET macros to make the result boolean.
10781 2005-11-03 Edward Hervey <edward@fluendo.com>
10783 * gst/gstpad.c: (gst_pad_set_blocked_async):
10784 comparing a flag and a gboolean rarely returns coherent results...
10785 Added two characters (!!) to make that work correctly.
10787 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10789 * gst/gstbus.c: (gst_bus_class_init):
10792 * gst/gstqueue.c: (gst_queue_loop):
10793 Don't assume a miniobject that isn't a buffer is an
10794 event (it could be that there is a refcounting
10795 problem somewhere and the pointer is stale and
10796 refers to an already destroyed miniobject).
10798 2005-11-03 Julien MOUTTE <julien@moutte.net>
10800 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10802 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10804 * docs/manual/advanced-position.xml:
10805 Update seek example and explanations to current 0.9 API.
10807 * gst/elements/gsttypefindelement.c:
10808 (gst_type_find_element_activate):
10809 Remove FIXME comment now that the found caps
10812 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
10814 * gst/gstregistryxml.c: (load_feature):
10815 Add another GST_STR_NULL instance
10817 2005-11-02 Edward Hervey <edward@fluendo.com>
10819 * gst/gstpad.c: (handle_pad_block):
10820 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10822 2005-11-02 Wim Taymans <wim@fluendo.com>
10827 * gst/gstelement.c: (gst_element_commit_state):
10828 Remove unused value.
10830 * gst/gstiterator.c:
10831 Mention that the returned element is reffed in the docs.
10833 2005-11-02 Wim Taymans <wim@fluendo.com>
10835 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10836 (gst_pad_push), (gst_pad_push_event):
10837 Unlock blocked pads when they are flushed.
10839 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10842 * docs/gst/gstreamer-sections.txt:
10845 * gst/gstregistry.c: (gst_registry_scan_path_level):
10846 fix for a nasty little missed situation where an installed plug-in
10847 which was in the cache did not get overridden by an uninstalled one
10848 which was earlier in the plugin path because the newly created plugin
10849 for the uninstalled one (not in the registry) didn't get its
10850 ->registered set to TRUE
10852 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10854 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10855 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10856 (gst_collectpads_is_active), (gst_collectpads_collect),
10857 (gst_collectpads_collect_range), (gst_collectpads_start),
10858 (gst_collectpads_stop), (gst_collectpads_peek),
10859 (gst_collectpads_pop), (gst_collectpads_available),
10860 (gst_collectpads_read), (gst_collectpads_flush):
10861 Guard public API with assertions.
10864 Fix docs for gst_pad_set_link_function().
10866 2005-11-02 Johan Dahlin <johan@gnome.org>
10868 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
10869 Unref found_caps after we used it.
10871 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10873 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10874 Don't try to ref NULL.
10876 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10878 * win32/common/config.h.in:
10879 provide a GST_FUNCTION that just gives a string for now
10881 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10883 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10884 (gst_object_flags_get_type), (register_gst_bin_flags),
10885 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10886 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10887 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10888 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10889 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10890 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10891 (gst_clock_flags_get_type), (register_gst_state),
10892 (gst_state_get_type), (register_gst_state_change_return),
10893 (gst_state_change_return_get_type), (register_gst_state_change),
10894 (gst_state_change_get_type), (register_gst_element_flags),
10895 (gst_element_flags_get_type), (register_gst_core_error),
10896 (gst_core_error_get_type), (register_gst_library_error),
10897 (gst_library_error_get_type), (register_gst_resource_error),
10898 (gst_resource_error_get_type), (register_gst_stream_error),
10899 (gst_stream_error_get_type), (register_gst_event_type),
10900 (gst_event_type_get_type), (register_gst_seek_type),
10901 (gst_seek_type_get_type), (register_gst_seek_flags),
10902 (gst_seek_flags_get_type), (register_gst_format),
10903 (gst_format_get_type), (register_gst_index_certainty),
10904 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10905 (gst_index_entry_type_get_type),
10906 (register_gst_index_lookup_method),
10907 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10908 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10909 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10910 (gst_index_flags_get_type), (register_gst_debug_level),
10911 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10912 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10913 (gst_iterator_result_get_type), (register_gst_iterator_item),
10914 (gst_iterator_item_get_type), (register_gst_message_type),
10915 (gst_message_type_get_type), (register_gst_mini_object_flags),
10916 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10917 (gst_pad_link_return_get_type), (register_gst_flow_return),
10918 (gst_flow_return_get_type), (register_gst_activate_mode),
10919 (gst_activate_mode_get_type), (register_gst_pad_direction),
10920 (gst_pad_direction_get_type), (register_gst_pad_flags),
10921 (gst_pad_flags_get_type), (register_gst_pad_presence),
10922 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10923 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10924 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10925 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10926 (gst_plugin_flags_get_type), (register_gst_rank),
10927 (gst_rank_get_type), (register_gst_query_type),
10928 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10929 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10930 (gst_tag_flag_get_type), (register_gst_task_state),
10931 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10932 (gst_alloc_trace_flags_get_type),
10933 (register_gst_type_find_probability),
10934 (gst_type_find_probability_get_type), (register_gst_uri_type),
10935 (gst_uri_type_get_type), (register_gst_parse_error),
10936 (gst_parse_error_get_type):
10937 * win32/common/gstversion.h:
10938 update win32 copies
10940 2005-11-01 Luca Ognibene <luogni@tin.it>
10943 fix docs. popt is dead, long live GOption.
10945 2005-10-31 Wim Taymans <wim@fluendo.com>
10950 2005-10-31 Andy Wingo <wingo@pobox.com>
10954 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10956 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10957 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10958 the possibility of deadlocks here if code calling notify() or
10959 set() has a lock that can be taken in another notify handler (ABBA
10960 with class lock and e.g. python GIL state lock).
10962 2005-10-28 Julien MOUTTE <julien@moutte.net>
10964 * gst/gstbus.c: Doc updates.
10966 2005-10-28 Wim Taymans <wim@fluendo.com>
10968 * docs/design/part-TODO.txt:
10969 * gst/gstiterator.c:
10970 * gst/gstsystemclock.c:
10971 * gst/gstsystemclock.h:
10974 2005-10-28 Edward Hervey <edward@fluendo.com>
10976 * docs/gst/gstreamer-docs.sgml:
10977 * docs/gst/gstreamer-sections.txt:
10978 the GstURIType documentation page is private, it only defines GstURIType
10979 which should be defined in the GstURIHandler page
10981 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10983 * gst/gstbin.c: (gst_bin_class_init):
10986 Documentation updates.
10988 2005-10-28 Wim Taymans <wim@fluendo.com>
10990 * docs/gst/gstreamer-sections.txt:
10993 Documented the clocks.
10995 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10997 * docs/gst/gstreamer-sections.txt:
10998 move some macros to private sections
10999 * gst/gstminiobject.c:
11000 * gst/gstminiobject.h:
11001 add descriptions provided by ds and some more
11003 mark macro as to be removed
11005 2005-10-28 Wim Taymans <wim@fluendo.com>
11007 * docs/design/part-TODO.txt:
11008 Add an item to TODO.
11010 * gst/gstiterator.c: (gst_iterator_fold),
11011 (gst_iterator_find_custom):
11012 * gst/gstiterator.h:
11015 2005-10-28 Wim Taymans <wim@fluendo.com>
11017 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11018 (gst_base_transform_init):
11021 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
11022 An EOS event marks the queue as completely filled.
11024 2005-10-27 Wim Taymans <wim@fluendo.com>
11026 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11027 (gst_base_sink_do_sync), (gst_base_sink_get_position):
11028 Some more debugging.
11030 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
11031 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
11032 (gst_base_transform_event), (gst_base_transform_getrange),
11033 (gst_base_transform_chain):
11034 * gst/base/gstbasetransform.h:
11036 Protect transform and concurrent buffer alloc with a new lock.
11037 Try not to break ABI/API.
11039 2005-10-27 Wim Taymans <wim@fluendo.com>
11041 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11042 (gst_base_src_init), (gst_base_src_query),
11043 (gst_base_src_default_newsegment),
11044 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11045 (gst_base_src_send_event), (gst_base_src_event_handler),
11046 (gst_base_src_pad_get_range), (gst_base_src_loop),
11047 (gst_base_src_unlock), (gst_base_src_default_negotiate),
11048 (gst_base_src_start), (gst_base_src_deactivate),
11049 (gst_base_src_activate_push), (gst_base_src_change_state):
11050 Move some stuff around and cleanup things.
11052 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
11054 * gst/base/gstbasesrc.c: (gst_base_src_query):
11055 Add missing break statements.
11057 2005-10-27 Wim Taymans <wim@fluendo.com>
11059 * check/gst/gstbin.c: (GST_START_TEST):
11060 An extra refcount is taken in basesrc.
11062 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11063 (gst_base_src_get_range), (gst_base_src_pad_get_range),
11064 (gst_base_src_loop):
11065 Small cleanups, check for flushing after being unlocked from the
11066 LIVE_LOCK. take refcounts correctly (not yet everywhere).
11067 Don't send out EOS when going to READY.
11069 2005-10-27 Wim Taymans <wim@fluendo.com>
11071 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11072 (gst_base_sink_get_position):
11075 * gst/gstbin.c: (message_check), (bin_replace_message),
11076 (bin_remove_messages), (is_eos), (gst_bin_add_func),
11077 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11078 (bin_query_duration_init), (bin_query_duration_fold),
11079 (bin_query_duration_done), (bin_query_generic_fold),
11081 * tools/gst-launch.c: (main):
11084 2005-10-26 Stefan Kost <ensonic@users.sf.net>
11086 * examples/controller/audio-example.c: (main):
11087 * examples/queue/queue.c: (event_loop):
11088 * gst/base/gstbasetransform.h:
11089 * gst/gstelement.c: (gst_element_send_event):
11091 * gst/gstpad.c: (gst_pad_send_event):
11094 changing log priority in error situations
11096 2005-10-25 Wim Taymans <wim@fluendo.com>
11098 * gst/gstbin.c: (message_check), (bin_replace_message),
11099 (bin_remove_messages), (is_eos), (gst_bin_add_func),
11100 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11101 (bin_query_duration_init), (bin_query_duration_fold),
11102 (bin_query_duration_done), (bin_query_generic_fold),
11104 Some doc and debug updates.
11105 Cache previously requested query DURATION for speed. invalidate
11106 cached duration if element posts a DURATION message.
11108 2005-10-25 Wim Taymans <wim@fluendo.com>
11110 * docs/design/part-TODO.txt:
11113 * gst/gstbin.c: (message_check), (bin_replace_message),
11114 (bin_remove_messages), (is_eos), (gst_bin_add_func),
11115 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11116 (bin_query_duration_init), (bin_query_duration_fold),
11117 (bin_query_duration_done), (bin_query_generic_fold),
11119 Handle SEGMENT_START/DONE messages correctly.
11120 More evolved query algorithm that handles duration queries
11123 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
11124 (gst_element_get_state_func), (gst_element_abort_state),
11125 (gst_element_commit_state), (gst_element_lost_state):
11126 Some more debugging.
11128 * gst/gstmessage.h:
11131 2005-10-25 Wim Taymans <wim@fluendo.com>
11133 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11134 Don't use invalid stream_time.
11136 * gst/gstevent.c: (gst_event_new_newsegment):
11137 stream_time in newsegment cannot be undefined.
11139 2005-10-24 Wim Taymans <wim@fluendo.com>
11144 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11146 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
11148 2005-10-24 Stefan Kost <ensonic@users.sf.net>
11150 * docs/libs/tmpl/gstdparam.sgml:
11151 * docs/libs/tmpl/gstdplinint.sgml:
11152 * docs/libs/tmpl/gstdpman.sgml:
11153 * docs/libs/tmpl/gstdpsmooth.sgml:
11154 * docs/libs/tmpl/gstunitconvert.sgml:
11157 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
11162 === release 0.9.4 ===
11164 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
11167 releasing 0.9.4, "Tyrannosaurus Rex"
11169 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
11171 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11172 (gst_file_sink_get_current_offset):
11173 Use fseeko() and ftello() if available. When falling back on
11174 lseek() to get the current offset, fflush() first to make sure
11175 everything is up-to-date and we get the right offset.
11177 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
11179 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11180 * gst/base/gstbasesrc.c: (gst_base_src_loop):
11181 * gst/gsterror.c: (_gst_stream_errors_init):
11183 * gst/gstqueue.c: (gst_queue_loop):
11185 remove prematurely added error category and clean up the instances
11187 2005-10-21 Wim Taymans <wim@fluendo.com>
11189 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11190 (gst_base_sink_get_position), (gst_base_sink_query),
11191 (gst_base_sink_change_state):
11192 Simply set the right flag when going to playing, that's all
11193 we need to do instead of calling a function inside the object
11194 lock (that could take the lock as well and deadlock)
11196 2005-10-21 Wim Taymans <wim@fluendo.com>
11198 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
11199 (gst_base_src_loop):
11200 Don't warn, the peer element knows what to do best when
11201 the seek failed, it might try something else.
11203 2005-10-21 Wim Taymans <wim@fluendo.com>
11205 * gst/base/gstbasesrc.c: (gst_base_src_init),
11206 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
11209 2005-10-21 Wim Taymans <wim@fluendo.com>
11211 * docs/design/part-segments.txt:
11214 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11215 Correctly set caps, even on the subbufer.
11217 2005-10-21 Wim Taymans <wim@fluendo.com>
11219 * docs/gst/gstreamer-docs.sgml:
11220 * docs/gst/gstreamer-sections.txt:
11221 * gst/gstelement.h:
11224 * gst/gstmessage.h:
11227 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
11231 And 2% more doc coverage.
11233 2005-10-21 Andy Wingo <wingo@pobox.com>
11235 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
11236 position reporting.
11238 2005-10-20 Wim Taymans <wim@fluendo.com>
11240 * gst/gsterror.c: (gst_error_get_message):
11243 * gst/gststructure.c:
11248 2005-10-20 Wim Taymans <wim@fluendo.com>
11253 Another 1% more coverage.
11255 2005-10-20 Wim Taymans <wim@fluendo.com>
11257 * docs/gst/gstreamer-sections.txt:
11258 * gst/gstelement.c: (gst_element_get_state_func),
11259 (gst_element_abort_state), (gst_element_commit_state),
11260 (gst_element_lost_state):
11262 * gst/gstquery.c: (gst_query_set_position),
11263 (gst_query_parse_position), (gst_query_set_duration),
11264 (gst_query_parse_duration), (gst_query_new_convert):
11266 Yay! 1% more docs coverage.
11268 2005-10-20 Wim Taymans <wim@fluendo.com>
11271 * gst/gstquery.c: (gst_query_set_position),
11272 (gst_query_parse_position), (gst_query_set_duration),
11273 (gst_query_parse_duration), (gst_query_new_convert):
11275 * gst/gstutils.c: (gst_element_query_convert):
11277 Docs and consistency fixes.
11279 2005-10-20 Wim Taymans <wim@fluendo.com>
11285 2005-10-20 Wim Taymans <wim@fluendo.com>
11287 * gst/gstbin.c: (message_check), (bin_replace_message),
11288 (bin_remove_messages), (is_eos), (gst_bin_add_func),
11289 (update_degree), (gst_bin_sort_iterator_next),
11290 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
11291 Reworked the message handling a bit, cache the messages instead of
11292 only the senders. alows us to do more in the future.
11294 2005-10-20 Wim Taymans <wim@fluendo.com>
11296 * docs/design/part-TODO.txt:
11299 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
11300 (gst_base_sink_query):
11301 Don't use clock time to report position when in EOS.
11303 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
11305 * tools/gst-inspect.c: (print_interfaces),
11306 (print_element_properties_info), (print_element_info):
11307 Fix interface output with gst-inspect -a; don't print
11308 newlines after double/float properties.
11310 2005-10-20 Wim Taymans <wim@fluendo.com>
11312 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
11313 (gst_base_sink_query):
11314 Speed up current position calculation.
11316 * gst/base/gstbasesrc.c: (gst_base_src_query),
11317 (gst_base_src_default_newsegment):
11318 Correctly set stream position in newsegment.
11320 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
11321 (update_degree), (gst_bin_sort_iterator_next),
11322 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
11323 * gst/gstmessage.c: (gst_message_new_custom):
11324 Clean up debugging info
11326 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
11327 (gst_queue_loop), (gst_queue_handle_src_query):
11330 2005-10-19 Wim Taymans <wim@fluendo.com>
11332 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11333 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
11334 Fix query handling again.
11336 2005-10-19 Wim Taymans <wim@fluendo.com>
11338 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11339 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
11340 * gst/base/gstbasesrc.c: (gst_base_src_query):
11341 * gst/elements/gstfilesink.c: (gst_file_sink_query):
11342 * gst/elements/gsttypefindelement.c:
11343 (gst_type_find_handle_src_query), (find_element_get_length),
11344 (gst_type_find_element_activate):
11347 * gst/gstquery.c: (gst_query_new_position),
11348 (gst_query_set_position), (gst_query_parse_position),
11349 (gst_query_new_duration), (gst_query_set_duration),
11350 (gst_query_parse_duration), (gst_query_set_segment),
11351 (gst_query_parse_segment):
11353 Bundling query position/duration is not a good idea since duration
11354 does not change much and we don't want to recalculate it for every
11355 position query, so they are separated again..
11356 Base value in segment query is not needed.
11358 * gst/gstqueue.c: (gst_queue_handle_src_query):
11359 * gst/gstutils.c: (gst_element_query_position),
11360 (gst_element_query_duration), (gst_pad_query_position),
11361 (gst_pad_query_duration):
11363 Updates for query API change.
11364 Added some docs here and there.
11366 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
11368 * check/gst/gstbin.c: (GST_START_TEST):
11369 * check/gst/gstghostpad.c: (GST_START_TEST):
11370 * check/pipelines/cleanup.c: (GST_START_TEST):
11371 wait on thread to die so we can check refcount correctly
11373 2005-10-18 Wim Taymans <wim@fluendo.com>
11375 * check/pipelines/stress.c: (GST_START_TEST):
11376 Make check a little more time consuming.
11378 2005-10-18 Wim Taymans <wim@fluendo.com>
11380 * check/Makefile.am:
11381 * check/pipelines/stress.c: (GST_START_TEST),
11382 (simple_launch_lines_suite), (main):
11383 Small state change torture test.
11385 * docs/design/part-states.txt:
11386 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11387 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
11388 (gst_base_sink_change_state):
11389 Never take state lock from streaming thread, clean up ugly
11390 hacks. Unfortunatly core does not yet support nice ways to
11391 async commit state.
11393 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
11395 Start state recalc if a STATE_DIRTY message is posted, but only
11396 on the toplevel bin.
11398 * gst/gstelement.c: (gst_element_sync_state_with_parent),
11399 (gst_element_get_state_func), (gst_element_abort_state),
11400 (gst_element_commit_state), (gst_element_lost_state),
11401 (gst_element_set_state_func), (gst_element_change_state):
11402 * gst/gstelement.h:
11403 State variables are now protected with the LOCK, the state
11404 lock is only used to serialize _set_state().
11406 2005-10-18 Wim Taymans <wim@fluendo.com>
11408 * check/gst/gstbin.c: (GST_START_TEST):
11409 * check/gst/gstmessage.c: (GST_START_TEST):
11410 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11411 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
11413 * gst/gstelement.c: (gst_element_abort_state),
11414 (gst_element_commit_state), (gst_element_lost_state):
11415 * gst/gstmessage.c: (gst_message_new_state_changed),
11416 (gst_message_new_state_dirty), (gst_message_new_segment_start),
11417 (gst_message_new_segment_done), (gst_message_new_duration),
11418 (gst_message_parse_state_changed),
11419 (gst_message_parse_segment_start),
11420 (gst_message_parse_segment_done), (gst_message_parse_duration):
11421 * gst/gstmessage.h:
11422 * tools/gst-launch.c: (event_loop):
11423 Seriously, this is better than a previous commit as we only need
11424 to notify the fact that an element changed state in a streaming
11425 thread, marking the state of the parents dirty, hence the
11426 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
11429 2005-10-18 Wim Taymans <wim@fluendo.com>
11431 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
11432 (gst_bin_recalc_func):
11433 * gst/gstelement.c: (gst_element_set_clock),
11434 (gst_element_abort_state), (gst_element_lost_state):
11435 Cleanups, prepare for state change fixes.
11437 2005-10-18 Wim Taymans <wim@fluendo.com>
11440 * gst/gstelement.c: (gst_element_class_init),
11441 (gst_element_set_state), (gst_element_set_state_func):
11442 * gst/gstelement.h:
11443 Pending ABI changes.
11444 GThreadPool in GstBinClass to monitor async state changes.
11445 state_cookie in GstElement to detect concurrent gst/set state.
11446 set_state is now virtual too in case a very complicated element
11447 has to be constructed.
11449 2005-10-18 Wim Taymans <wim@fluendo.com>
11451 * check/gst/gstbin.c: (GST_START_TEST):
11452 * check/gst/gstmessage.c: (GST_START_TEST):
11453 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11454 * gst/gstbin.c: (bin_bus_handler):
11455 * gst/gstelement.c: (gst_element_commit_state),
11456 (gst_element_lost_state):
11457 * gst/gstmessage.c: (gst_message_new_state_changed),
11458 (gst_message_new_segment_start), (gst_message_new_segment_done),
11459 (gst_message_new_duration), (gst_message_parse_state_changed),
11460 (gst_message_parse_segment_start),
11461 (gst_message_parse_segment_done), (gst_message_parse_duration):
11462 * gst/gstmessage.h:
11463 * tools/gst-launch.c: (event_loop):
11464 Make messages future proof.
11465 state-change gets a flag if it was a message comming from the
11467 segment-start/stop can also be specified in other formats.
11468 A message to notify an app that a pipeline changed playback
11470 Also fix a GstMessage leak in -launch
11472 2005-10-18 Andy Wingo <wingo@pobox.com>
11474 * gst/gstelement.c (gst_element_dispose): More helpful message.
11476 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
11478 reviewed by: <delete if not using a buddy>
11480 * common/gtk-doc.mak:
11482 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
11484 * gst/gstregistry.c: (gst_registry_scan_path_level):
11485 unref a plug-in we get that was already initialized
11487 2005-10-18 Stefan Kost <ensonic@users.sf.net>
11489 * docs/gst/gstreamer-sections.txt:
11490 * docs/libs/gstreamer-libs-sections.txt:
11491 * gst/gstelement.h:
11492 add new api entries
11493 hide internal macro
11495 2005-10-17 Andy Wingo <wingo@pobox.com>
11497 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
11500 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
11502 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
11504 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
11505 (gst_element_get_state_func): Better debug message.
11506 (gst_element_commit_state): s/INFO/DEBUG/.
11507 (gst_element_lost_state, gst_element_change_state):
11509 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
11510 (gst_message_new_custom): s/INFO/LOG/.
11512 2005-10-17 Michael Smith <msmith@fluendo.com>
11514 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11515 Check if end time is valid using end time, not start time.
11517 2005-10-17 Stefan Kost <ensonic@users.sf.net>
11519 * check/gst-libs/controller.c: (GST_START_TEST),
11520 (gst_controller_suite):
11521 * libs/gst/controller/gstcontroller.c:
11522 (gst_controlled_property_set_interpolation_mode):
11523 * libs/gst/controller/gstcontroller.h:
11524 * libs/gst/controller/gstinterpolation.c:
11525 * testsuite/controller/.cvsignore:
11526 * testsuite/controller/Makefile.am:
11527 * testsuite/controller/interpolator.c:
11528 merge controller testsuites
11530 remove mem-chunk from docs
11532 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
11534 * gst/gstmemchunk.c:
11535 * gst/gstmemchunk.h:
11536 * gst/gsttrashstack.c:
11537 * gst/gsttrashstack.h:
11538 out. get out. you're fired. to the Attic !
11540 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
11542 * gst/gstcaps.c: (gst_caps_intersect):
11543 fix signedness issues in a (hopefully) correct way
11544 * gst/gstelement.c: (gst_element_pads_activate):
11546 * gst/gstobject.c: (gst_object_set_parent):
11549 2005-10-17 Julien MOUTTE <julien@moutte.net>
11551 * gst/gstvalue.h: Fix prototypes.
11553 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11555 * docs/gst/gstreamer-sections.txt:
11556 * gst/gst.c: (gst_version_string):
11558 * gst/gstversion.h.in:
11559 * win32/common/libgstreamer.def:
11560 add gst_version_string ()
11562 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11566 * gst/gst.c: (init_post):
11567 * win32/common/config.h.in:
11569 * gst/gstcaps.c: (gst_caps_intersect):
11570 use gint64, the range could be bigger than a guint
11572 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11575 document potential problem in 2038
11577 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11579 * gst/gstcaps.c: (gst_caps_intersect):
11580 Fix guint j diving under 0
11582 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11585 * win32/common/config.h:
11586 * win32/common/config.h.in:
11587 check for process.h, declares getpid() on Windows
11589 include process.h if we have it
11590 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
11591 * gst/gstmemchunk.h:
11592 fix signedness issues
11593 * win32/common/libgstreamer.def:
11596 2005-10-16 Julien MOUTTE <julien@moutte.net>
11598 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
11599 fix. Because of unsigned ints, caps intersection was going nuts and
11600 trying to access structures with G_MAXUINT index. That fixes
11601 videotestsrc ! ffmpegcolorspace ! fakesink
11602 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
11605 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11608 use the gettext macro
11609 * gst/elements/gstelements.c:
11611 * gst/indexers/gstindexers.c:
11612 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11613 * win32/common/config.h:
11615 * win32/common/config.h.in:
11616 add the template to generate config.h
11617 * win32/common/gstenumtypes.c:
11618 * win32/common/gstversion.h:
11621 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11623 * gst/gst.c: (gst_version):
11624 * gst/gstversion.h.in:
11627 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11630 Oops, add missing closing bracket.
11632 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11635 use common m4's for argument checking
11637 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11639 * docs/gst/gstreamer-sections.txt:
11641 Add GST_EVENT_TYPE_NAME() macro.
11643 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11646 * gst/gstpluginfeature.c:
11648 privatize more symbols
11650 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11653 add srcdir, builddir includes to GST_ALL_CFLAGS, since
11654 everything that uses GStreamer API should have the includes
11656 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11658 * docs/gst/gstreamer-sections.txt:
11659 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11661 give each value a _get_type, removes the DATA exports
11663 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11667 remove _gst_registry_auto_load, not used anymore
11668 * gst/gstbin.c: (gst_bin_get_type):
11670 * gst/gstelement.c: (gst_element_get_type):
11671 * gst/gstelement.h:
11672 * gst/gstobject.c: (gst_object_get_type):
11674 * gst/gstpad.c: (gst_pad_get_type):
11676 make _get_type functions similar, fixes data export from library
11678 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11681 correctly make conditionals
11682 * gst/elements/Makefile.am:
11683 * gst/elements/gstelements.c:
11684 fix typo causing fdsrc not to build
11686 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11688 * testsuite/Makefile.am:
11689 * testsuite/bytestream/.cvsignore:
11690 * testsuite/bytestream/Makefile.am:
11691 * testsuite/bytestream/filepadsink.c:
11692 * testsuite/bytestream/gstbstest.c:
11693 * testsuite/bytestream/test1.c:
11694 * testsuite/bytestream/testfile1:
11695 * testsuite/caps/normalisation.c:
11696 * testsuite/caps/random.c: (main):
11697 * testsuite/cleanup/.cvsignore:
11698 * testsuite/cleanup/Makefile.am:
11699 * testsuite/cleanup/cleanup1.c:
11700 * testsuite/cleanup/cleanup2.c:
11701 * testsuite/cleanup/cleanup3.c:
11702 * testsuite/cleanup/cleanup4.c:
11703 * testsuite/cleanup/cleanup5.c:
11704 * testsuite/controller/interpolator.c:
11705 * testsuite/debug/printf_extension.c: (main):
11706 * testsuite/elements/tee.c:
11707 * testsuite/negotiation/.cvsignore:
11708 * testsuite/negotiation/Makefile.am:
11709 * testsuite/negotiation/pad_link.c:
11710 * testsuite/pad/Makefile.am:
11711 * testsuite/pad/chainnopull.c:
11712 * testsuite/pad/getnopush.c:
11713 * testsuite/pad/link.c:
11714 * testsuite/refcounting/sched.c: (create_pipeline):
11715 * testsuite/registry/Makefile.am:
11716 * testsuite/registry/gst-print-formats.c:
11717 * testsuite/schedulers/.cvsignore:
11718 * testsuite/schedulers/142183-2.c:
11719 * testsuite/schedulers/142183.c:
11720 * testsuite/schedulers/143777-2.c:
11721 * testsuite/schedulers/143777.c:
11722 * testsuite/schedulers/147713.c:
11723 * testsuite/schedulers/147819.c:
11724 * testsuite/schedulers/147894-2.c:
11725 * testsuite/schedulers/147894.c:
11726 * testsuite/schedulers/Makefile.am:
11727 * testsuite/schedulers/group_link.c:
11728 * testsuite/schedulers/queue_link.c:
11729 * testsuite/schedulers/relink.c:
11730 * testsuite/schedulers/unlink.c:
11731 * testsuite/schedulers/unref.c:
11732 * testsuite/schedulers/useless_iteration.c:
11733 * testsuite/states/bin.c:
11734 clean out/remove some stuff from the testsuite directories
11736 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11739 check for some headers
11740 * gst/elements/Makefile.am:
11741 * gst/elements/gstelements.c:
11742 don't compile fdsrc without sys/socket.h
11743 * gst/indexers/Makefile.am:
11744 * gst/indexers/gstindexers.c: (plugin_init):
11745 don't compile fileindex without mmap
11747 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11754 * check/Makefile.am:
11755 * docs/gst/Makefile.am:
11756 * examples/helloworld/Makefile.am:
11758 * gst/base/Makefile.am:
11759 * gst/check/Makefile.am:
11760 * gst/elements/Makefile.am:
11761 * gst/indexers/Makefile.am:
11762 * gst/parse/Makefile.am:
11763 * libs/gst/controller/Makefile.am:
11764 * libs/gst/dataprotocol/Makefile.am:
11765 * examples/helloworld/helloworld.c: (event_loop):
11766 compile fixes, though it's not being compiled currently
11768 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11770 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11771 Add some simple tests for the new taglist date API.
11773 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11775 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11776 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11777 Beautify 'last-message' output: print 'none' for buffer timestamps
11778 and durations if none is set; improve alignment with next messages.
11780 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11782 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11783 * gst/gstpluginfeature.h:
11784 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11785 * gst/gstregistry.h:
11786 * docs/gst/gstreamer-sections.txt:
11787 Add new API to check plugin feature version requirements.
11789 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11790 Some basic tests for the above.
11792 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11794 * gst/gststructure.c: (gst_structure_to_string):
11795 guard against NULL printf - happens when for example
11796 a message structure with GstClock gets serialized
11798 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11800 * gst/base/gstcollectpads.c: (gst_collectpads_event):
11801 Fix presumable copy'n'pasto.
11803 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11805 * gst/elements/gstfakesrc.h:
11806 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11807 * gst/elements/gsttypefindelement.c:
11808 fix some signedness
11809 * gst/elements/gstfilesink.c: (gst_file_sink_render):
11810 I wonder if this could actually write +2GB files before
11812 2005-10-13 Andy Wingo <wingo@pobox.com>
11814 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11815 Fix Timmeke Waymans bug.
11816 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11817 string of the proper length to gst_caps_from_string. There's a
11818 potential for, before this fix, that this could cause someone
11819 connecting over the network to cause a segfault if the payload is
11820 not NUL-terminated.
11822 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11824 * docs/design/draft-push-pull.txt:
11825 * docs/design/part-overview.txt:
11826 * docs/random/TODO-pre-0.9:
11827 * docs/random/old/ChangeLog.gstreamer:
11828 * gst/base/gstpushsrc.c:
11832 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11834 * gst/glib-compat.c: (gst_flags_get_first_value):
11835 * gst/glib-compat.h:
11836 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11837 (gst_value_compare_double), (gst_value_serialize_flags):
11838 GLib 2.6 g_flags_get_first_value has a bug that triggers an
11841 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11844 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11846 * tools/gst-launch.c: (event_loop):
11847 print out clock nicely
11849 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11851 * docs/gst/gstreamer-sections.txt:
11852 * gst/gsttaglist.h:
11853 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11854 (gst_tag_list_get_date_index):
11855 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11856 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11858 2005-10-13 Julien MOUTTE <julien@moutte.net>
11860 * gst/base/gstcollectpads.c: (gst_collectpads_event),
11861 (gst_collectpads_chain):
11862 * gst/base/gstcollectpads.h: Handle newsegment and store informations
11865 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11867 * docs/gst/gstreamer-sections.txt:
11870 * tools/gst-inspect.c: (main):
11871 * tools/gst-launch.c: (main):
11872 * tools/gst-run.c: (main):
11873 * tools/gst-xmlinspect.c: (main):
11874 fix GOption context leaks
11877 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11881 * win32/common/config.h:
11883 * win32/vs6/grammar.dsp:
11884 * win32/vs6/libgstelements.dsp:
11885 * win32/vs6/libgstreamer.dsp:
11888 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11890 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11891 * gst/base/gstbasesrc.c: (gst_base_src_query):
11892 fix more guint64<->gdouble conversions
11894 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11897 add win32-update target
11898 * win32/common/gstconfig.h:
11899 * win32/common/gstenumtypes.c:
11900 * win32/common/gstenumtypes.h:
11901 * win32/common/gstversion.h:
11902 add files that visual studio can't generate
11904 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11907 add a win32-update target
11910 2005-10-12 Wim Taymans <wim@fluendo.com>
11912 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11913 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11914 * gst/gstelement.c: (gst_element_commit_state),
11915 (gst_element_set_state):
11916 Protect flags with proper lock.
11917 unref provided cached clock in dispose.
11919 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11922 * gst/gstminiobject.h:
11924 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11925 removed unused flags from miniobject
11928 2005-10-12 Wim Taymans <wim@fluendo.com>
11930 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11931 (gst_file_sink_event), (gst_file_sink_render):
11932 Flush before seeking.
11934 2005-10-12 Andy Wingo <wingo@pobox.com>
11936 * gst/gst.c (gst_init_check): Ignore unknown options, as has
11937 always been the case.
11939 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11941 * check/gst/gstbin.c: (GST_START_TEST):
11942 * docs/gst/gstreamer-sections.txt:
11943 * gst/base/gstbasesink.c: (gst_base_sink_init):
11944 * gst/base/gstbasesrc.c: (gst_base_src_init),
11945 (gst_base_src_get_range), (gst_base_src_check_get_range),
11946 (gst_base_src_start), (gst_base_src_stop):
11947 * gst/base/gstbasesrc.h:
11948 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11949 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11950 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11954 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11956 * gst/gstelement.c: (gst_element_is_locked_state),
11957 (gst_element_set_locked_state), (gst_element_commit_state),
11958 (gst_element_set_state):
11959 * gst/gstelement.h:
11960 * gst/gstindex.c: (gst_index_init):
11962 * gst/gstminiobject.h:
11963 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11964 (gst_object_set_parent):
11966 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11967 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11969 * gst/gstpadtemplate.h:
11970 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11971 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11972 * gst/gstpipeline.h:
11973 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11974 (gst_file_index_commit):
11975 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11976 * testsuite/pad/link.c: (gst_test_src_init),
11977 (gst_test_filter_init), (gst_test_sink_init):
11978 * testsuite/states/locked.c: (main):
11979 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11980 moved bitshift from macro to enum definition
11982 2005-10-12 Wim Taymans <wim@fluendo.com>
11984 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11985 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11986 (gst_file_sink_render):
11987 Some more debugging info.
11989 2005-10-12 Wim Taymans <wim@fluendo.com>
11991 * docs/design/part-states.txt:
11992 * tools/gst-launch.c: (main):
11994 Revert non-intentional change.
11996 2005-10-12 Wim Taymans <wim@fluendo.com>
11998 * check/gst/gstbin.c: (GST_START_TEST):
11999 * check/gst/gstelement.c: (GST_START_TEST):
12000 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
12001 * check/gst/gstghostpad.c: (GST_START_TEST):
12002 * check/gst/gstpipeline.c: (GST_START_TEST):
12003 * check/pipelines/simple_launch_lines.c: (run_pipeline):
12004 * check/states/sinks.c: (GST_START_TEST):
12005 * gst/elements/gsttypefindelement.c: (stop_typefinding):
12006 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12007 (gst_bin_remove_func), (gst_bin_get_state_func),
12008 (gst_bin_recalc_state), (gst_bin_change_state_func),
12010 * gst/gstelement.c: (gst_element_get_state_func),
12011 (gst_element_get_state), (gst_element_abort_state),
12012 (gst_element_commit_state), (gst_element_set_state),
12013 (gst_element_change_state), (gst_element_change_state_func):
12014 * gst/gstelement.h:
12015 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
12016 (gst_pipeline_provide_clock_func):
12017 * gst/gstutils.c: (gst_element_link_pads_filtered):
12018 * tools/gst-launch.c: (main):
12019 * tools/gst-typefind.c: (main):
12020 Use GstClockTime in _get_state() instead of GTimeVal.
12021 Remove old code in gstutils.c
12023 2005-10-12 Andy Wingo <wingo@pobox.com>
12025 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
12028 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
12029 there is no task. Shouldn't affect any code, as nothing in our
12030 plugins checks this return value.
12031 (gst_pad_stop_task): Also take the stream lock if the pad has no
12032 task. Docs updated.
12034 2005-10-12 Wim Taymans <wim@fluendo.com>
12036 * gst/gstpad.c: (pre_activate), (post_activate),
12037 (gst_pad_activate_pull), (gst_pad_activate_push):
12038 Cleanup activation code. Reset old state if
12041 2005-10-12 Wim Taymans <wim@fluendo.com>
12043 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12044 (gst_base_sink_change_state):
12045 No need to prerol after receiving EOS.
12047 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12048 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
12049 * gst/elements/gstidentity.c: (gst_identity_event):
12050 Print events more verbosely.
12052 2005-10-12 Wim Taymans <wim@fluendo.com>
12054 * check/Makefile.am:
12055 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12056 * check/states/sinks2.c:
12057 Moved sinks2 testcode in sinks check.
12059 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12060 (gst_bin_remove_func), (gst_bin_recalc_state),
12061 (gst_bin_change_state_func), (bin_bus_handler):
12062 Fix potential race condition when _get_state() iterated over an
12063 ASYNC element right before it posted a state completion.
12066 Do proper cast here.
12068 * gst/gstevent.c: (gst_event_new_newsegment),
12069 (gst_event_parse_newsegment):
12070 A playback rate of 0.0 is not allowed.
12072 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12074 * win32/common/config.h:
12075 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
12076 (_trewinddir), (_ttelldir), (_tseekdir):
12077 * win32/common/dirent.h:
12078 * win32/common/gtchar.h:
12079 * win32/common/libgstbase.def:
12080 * win32/common/libgstreamer.def:
12081 * win32/vs6/grammar.dsp:
12082 * win32/vs6/gst_inspect.dsp:
12083 * win32/vs6/gst_launch.dsp:
12084 * win32/vs6/gstreamer.dsw:
12085 * win32/vs6/libgstbase.dsp:
12086 * win32/vs6/libgstelements.dsp:
12087 * win32/vs6/libgstreamer.dsp:
12088 Visual Studio 6 project files, and a new common directory.
12091 2005-10-11 Wim Taymans <wim@fluendo.com>
12093 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12094 (gst_base_sink_do_sync), (gst_base_sink_query),
12095 (gst_base_sink_change_state):
12096 * gst/base/gstbasesink.h:
12097 Correctly parse newsegment info.
12099 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12101 * gst/gst.c: (init_post):
12102 split plugin paths correctly
12104 2005-10-11 Wim Taymans <wim@fluendo.com>
12106 * check/gst/gstevent.c: (GST_START_TEST):
12107 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12108 (gst_base_sink_change_state):
12109 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
12110 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12111 * gst/elements/gstfilesink.c: (gst_file_sink_event):
12112 * gst/gstevent.c: (gst_event_new_newsegment),
12113 (gst_event_parse_newsegment):
12115 Added extra flag to newsegment for future API freeze.
12116 Updated check and base elements.
12118 2005-10-11 Julien MOUTTE <julien@moutte.net>
12120 * gst/base/gstcollectpads.c: (gst_collectpads_init),
12121 (gst_collectpads_add_pad), (gst_collectpads_pop),
12122 (gst_collectpads_event), (gst_collectpads_chain):
12123 * gst/base/gstcollectpads.h: Handle EOS correctly.
12125 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12127 * tools/gst-launch.c: (main):
12128 more null protecting
12130 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12132 * gst/gst-i18n-lib.h:
12133 check for ENABLE_NLS, not GETTEXT_PACKAGE
12134 * gst/gstregistry.c: (gst_registry_add_plugin),
12135 (gst_registry_scan_path_level),
12136 (_gst_registry_remove_cache_plugins):
12137 protect possibly NULL strings
12138 * gst/parse/types.h:
12139 config.h already included before
12140 * tools/gst-inspect.c: (main):
12141 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
12142 check for ENABLE_NLS, not GETTEXT_PACKAGE
12143 * tools/gst-launch.c: (main):
12144 check for ENABLE_NLS, not GETTEXT_PACKAGE
12146 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12149 if we don't have glib, fail before testing 2.8
12150 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
12151 fix a leak, should fix plugins-base testsuite
12153 2005-10-11 Andy Wingo <wingo@pobox.com>
12155 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
12156 take the mode we're going to as an arg. Go head and set the mode
12157 and flushing flags now, so that if the activate function starts a
12158 thread all the flags will be in the right state.
12159 (post_activate): Renamed also. Just handle making sure streaming
12160 finishes for the deactivation case, and setting the deactivated
12162 (gst_pad_set_active): Complain loudly if deactivation fails.
12163 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
12164 (gst_pad_activate_push): Adapt to pre/post_activate changes,
12165 remove the terrible hack.
12167 2005-10-11 Wim Taymans <wim@fluendo.com>
12169 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
12170 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
12171 (gst_bin_recalc_state), (gst_bin_change_state_func),
12172 (gst_bin_dispose), (bin_bus_handler):
12174 Prepare to make current EOS message queue more generic.
12177 * gst/gstevent.c: (gst_event_new_newsegment),
12178 (gst_event_parse_newsegment):
12180 Rename base to stream_time.
12182 * gst/gstmessage.h:
12185 2005-10-11 Wim Taymans <wim@fluendo.com>
12187 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
12188 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
12189 (gst_bin_change_state_func), (bin_bus_handler):
12191 Work on proper clock selection.
12193 2005-10-11 Edward Hervey <edward@fluendo.com>
12195 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
12196 * libs/gst/controller/gstcontroller.h:
12197 Added GList* version of _remove_properties() in order to be able to wrap
12200 2005-10-11 Wim Taymans <wim@fluendo.com>
12202 * docs/design/part-states.txt:
12205 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
12206 (gst_bin_change_state_func), (bin_bus_handler):
12207 Doc updates. Don't distribute the same clock over and over again.
12213 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
12214 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
12215 (gst_pad_send_event):
12217 Make probe emission threadsafe again.
12218 Register quarks and move _get_name() from utils.
12221 * gst/gstpipeline.c: (gst_pipeline_class_init),
12222 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
12223 Only redistribute the clock of it changed.
12225 * gst/gstsystemclock.h:
12230 Moved the _flow_get_name() to GstPad.
12232 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12234 * check/gst-libs/gdp.c: (GST_START_TEST):
12235 * check/gst/gstcaps.c: (GST_START_TEST):
12236 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
12237 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
12238 (gst_dp_packet_from_caps):
12239 fix more valgrind warnings before turning up the heat
12241 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12243 * gst/parse/grammar.y:
12244 some cleanup before the hacking
12246 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
12248 * gst/base/gstbasesrc.c: (gst_base_src_query):
12250 * gst/gstutils.c: (gst_guint64_to_gdouble),
12251 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
12253 externalize, basesrc uses it
12254 obviously the implementation needs testing
12256 2005-10-10 Wim Taymans <wim@fluendo.com>
12258 * tests/sched/Makefile.am:
12259 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
12260 (make_pipeline3), (make_pipeline4), (print_elem), (main):
12262 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
12264 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
12265 apparently converting from guint64 to double is not implemented
12268 2005-10-10 Wim Taymans <wim@fluendo.com>
12270 * check/Makefile.am:
12271 * check/generic/states.c: (GST_START_TEST):
12272 * check/gst/gstbin.c: (GST_START_TEST):
12273 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12274 * check/states/sinks.c: (GST_START_TEST):
12275 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
12277 Check fixes, use API as stated in design docs, remove hacks.
12279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12280 (gst_base_sink_change_state):
12281 Catch stopping our task while we're shutting down.
12283 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
12284 (gst_bin_remove_func), (gst_bin_get_state_func),
12285 (gst_bin_recalc_state), (gst_bin_change_state_func),
12288 * gst/gstelement.c: (gst_element_init),
12289 (gst_element_get_state_func), (gst_element_abort_state),
12290 (gst_element_commit_state), (gst_element_lost_state),
12291 (gst_element_set_state), (gst_element_change_state),
12292 (gst_element_change_state_func):
12293 * gst/gstelement.h:
12294 New state change algorithm (see #318116)
12296 * gst/gstpipeline.c: (gst_pipeline_class_init),
12297 (gst_pipeline_init), (gst_pipeline_set_property),
12298 (gst_pipeline_get_property), (do_pipeline_seek),
12299 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
12300 * gst/gstpipeline.h:
12301 Remove crude state change hacks.
12304 Remove crude hacks.
12306 * tools/gst-launch.c: (main):
12307 Fixes for state change. Needs some more work to fully use the
12310 2005-10-10 Andy Wingo <wingo@pobox.com>
12312 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
12314 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
12315 this flag, but it's not even in GLib 2.6. Odd. Hack around the
12318 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
12320 * gst/gstiterator.c: (gst_iterator_new):
12321 Fix my previous commit: GTypes passed to gst_iterator_new()
12322 can be fundamental types.
12324 2005-10-10 Wim Taymans <wim@fluendo.com>
12326 * gst/gstelement.c: (gst_element_iterate_pad_list),
12327 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
12328 (gst_element_iterate_sink_pads):
12329 Use src/sink pads lists for the respective iterators instead
12332 2005-10-10 Andy Wingo <wingo@pobox.com>
12334 Merged in popt removal + GOption addition patch from Ronald, bug
12337 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
12338 GstElement macros around, remove popt-related symbols, add goption
12341 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
12343 * docs/gst/Makefile.am:
12344 * docs/libs/Makefile.am: No POPT_CFLAGS.
12346 * examples/manual/Makefile.am:
12347 * docs/manual/basics-init.xml: Doc updates with an example.
12349 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12350 (gst_init), (parse_one_option), (parse_goption_arg):
12351 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
12352 bit of hand merging and debugging to get the GOption stuff working
12355 * tests/Makefile.am:
12356 * tools/Makefile.am:
12357 * tools/gst-inspect.c: (main):
12358 * tools/gst-launch.c: (main):
12359 * tools/gst-run.c: (main):
12360 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
12362 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
12364 * gst/gstiterator.c: (gst_iterator_new):
12365 Add assertions to make sure passed GType is likely to really
12366 be a GType (as the compiler won't catch it if the size and
12367 GType arguments get mixed up, see #318447).
12369 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
12371 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12373 * gst/gstbin.c: (gst_bin_iterate_sorted):
12374 Pass GType and size arguments to gst_iterator_new() in the right
12375 order (maybe we should make _new() take the GType as first argument
12376 just like _new_list()?) (#318447).
12379 2005-10-10 Wim Taymans <wim@fluendo.com>
12381 * gst/gstelement.c: (gst_element_finalize):
12382 And free the GStaticRecMutex too
12384 2005-10-10 Andy Wingo <wingo@pobox.com>
12386 * gst/gstelement.c (gst_element_init, gst_element_finalize):
12387 Allocate and free the mutex properly.
12389 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
12391 (GstElement): The state_lock is now recursive. Rebuild your
12392 plugins, suckers. Old macros adapted.
12394 * docs/gst/gstreamer-sections.txt: Doc updates.
12397 * gst/gstutils.c (g_static_rec_cond_timed_wait)
12398 (g_static_rec_cond_wait): Ported from state changes patch, while
12399 we wait on bug #317802 to be solved in a well-distributed GLib.
12401 * gst/gstelement.c (gst_element_change_state_func): Renamed from
12402 gst_element_change_state, variable name changes.
12403 (gst_element_change_state): Split out of gst_element_set_state in
12404 preparation for the state change merge. Doesn't pay attention to
12405 the 'transition' argument.
12406 (gst_element_set_state): Updates, hopefully purely cosmetic.
12407 (gst_element_sync_state_with_parent): MT-safety. Ported from the
12408 state change patch.
12409 (gst_element_get_state_func): Renamed from get_state, cosmetic
12412 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
12414 * gst/elements/gstelements.c:
12415 * win32/GStreamer.vcproj:
12417 * win32/dirent.c: (_tseekdir):
12418 * win32/gst-inspect.vcproj:
12419 * win32/gst-launch.vcproj:
12420 * win32/gstconfig.h:
12421 * win32/gstelements.vcproj:
12422 * win32/gstenumtypes.c: (gst_object_flags_get_type):
12423 * win32/gstreamer.def:
12424 * win32/msvc71.sln:
12425 updates for the win32 build (patch from Sebastien Moutte)
12427 2005-10-10 Andy Wingo <wingo@pobox.com>
12429 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
12430 gst_bin_get_state, cleaned up (but no logic changes).
12431 (bin_element_is_sink): Comment updates.
12432 (sink_iterator_filter): Remove needless cast.
12433 (gst_bin_iterate_sinks): Doc update.
12434 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
12435 cleaned up (but no logic changes).
12437 * check/states/sinks.c (test_src_sink): Cleanups from the state
12439 (test_livesrc_sink): Sync on the state.
12441 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
12442 the state change patch.
12444 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
12447 * check/gst/gstbin.c: Merge in some style fixes and additional
12448 checks from Wim's state change patch.
12450 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
12452 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12453 (gst_type_find_helper):
12454 Check whether we have the requested data already in our list of
12455 cached buffers before pulling a new buffer; also make the buffer
12456 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
12458 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
12463 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
12464 don't use long long, it's not portable. Replacing with
12465 gint64 seems to work; let's hope no skeletons fall out of the closet.
12467 2005-10-10 Andy Wingo <wingo@pobox.com>
12469 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
12471 2005-10-09 Stefan Kost <ensonic@users.sf.net>
12473 * docs/gst/gstreamer-sections.txt:
12478 * gst/gstmessage.c: (gst_message_parse_state_changed):
12481 more docs, fix compilation
12483 2005-10-09 Philippe Khalaf <burger@speedy.org>
12484 * gst/gstmessage.c:
12485 Fixed a few forgotten variables on previous commit
12487 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
12489 * gst/base/gsttypefindhelper.c: (helper_find_peek):
12490 Fix evil typefind crasher: getrange() might return a short
12491 buffer at the end of a file, but gst_type_find_peek() must
12492 either return the full data as requested or NULL, but
12493 never a short buffer.
12495 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
12497 * gst/gstmessage.c: (gst_message_new_state_changed),
12498 (gst_message_parse_state_changed):
12499 * gst/gstmessage.h:
12500 don't use "new", it's a C++ keyword
12502 2005-10-08 Wim Taymans <wim@fluendo.com>
12504 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
12505 * gst/gstelement.c: (gst_element_post_message):
12506 * gst/gstpipeline.c: (gst_pipeline_change_state):
12507 Small docs and debug updates.
12509 2005-10-08 Stefan Kost <ensonic@users.sf.net>
12511 * docs/gst/gstreamer-sections.txt:
12512 * gst/gstelementfactory.c:
12514 * gst/gsttaglist.c:
12517 2005-10-08 Wim Taymans <wim@fluendo.com>
12519 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
12520 (gst_bin_dispose), (bin_bus_handler):
12521 Fix typos, add comments.
12522 Clear EOS list when going to PAUSED from any direction and do it
12523 in a threadsafe way.
12524 Get base time in a threadsafe way too.
12525 Fix confusing debug in the change_state function.
12526 Various other small cleanups.
12528 * gst/gstelement.c: (gst_element_post_message):
12529 Fix very verbose bus posting code.
12531 * gst/gstpipeline.c: (gst_pipeline_class_init),
12532 (gst_pipeline_set_property), (gst_pipeline_get_property),
12533 (gst_pipeline_change_state):
12534 Small ARG_ -> PROP_ cleanup
12536 2005-10-08 Wim Taymans <wim@fluendo.com>
12538 * gst/gstbin.c: (is_eos), (bin_bus_handler):
12539 Do a less CPU demanding EOS check because we can.
12541 2005-10-08 Wim Taymans <wim@fluendo.com>
12543 * libs/gst/dataprotocol/dataprotocol.c:
12544 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12545 (gst_dp_packet_from_event):
12546 * libs/gst/dataprotocol/dataprotocol.h:
12547 * libs/gst/dataprotocol/dp-private.h:
12548 It's about time we bump the version number.
12549 Since event types don't fit in the guint8 anymore describing
12550 the payload type, make payload type 16 bits wide.
12552 2005-10-08 Wim Taymans <wim@fluendo.com>
12554 * docs/design/part-TODO.txt:
12555 * docs/design/part-clocks.txt:
12556 * docs/design/part-events.txt:
12557 * docs/design/part-gstbin.txt:
12558 * docs/design/part-gstelement.txt:
12559 * docs/design/part-gstpipeline.txt:
12560 * docs/design/part-live-source.txt:
12561 * docs/design/part-messages.txt:
12562 * docs/design/part-overview.txt:
12563 * docs/design/part-states.txt:
12566 2005-10-08 Wim Taymans <wim@fluendo.com>
12570 Fix event quark registration.
12571 Add some space between events so we can insert them in the
12574 2005-10-08 Wim Taymans <wim@fluendo.com>
12576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12577 (gst_base_sink_handle_buffer):
12578 Better log message.
12581 * gst/gstelement.h:
12584 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12585 (gst_queue_set_property), (gst_queue_get_property):
12587 Remove old unused properties.
12589 2005-10-08 Stefan Kost <ensonic@users.sf.net>
12590 * docs/gst/gstreamer-sections.txt:
12591 * gst/gstmessage.c:
12592 * gst/gstmessage.h:
12593 * gst/gstminiobject.c:
12594 * gst/gstminiobject.h:
12598 lots of new docs and doc fixes
12600 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12602 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
12604 * gst/gstregistry.c: (gst_registry_lookup_locked),
12605 (gst_registry_scan_path_level):
12606 * gst/gstregistryxml.c: (load_plugin):
12607 Only ever load one plugin for a given plugin basename.
12608 This ensures correct overriding of GST_PLUGIN_PATH over
12609 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12610 system installed plugins.
12612 2005-10-08 Wim Taymans <wim@fluendo.com>
12614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12615 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12616 Prepare for doing QOS.
12618 2005-10-08 Wim Taymans <wim@fluendo.com>
12620 * check/gst/gstbin.c: (GST_START_TEST):
12621 * check/pipelines/cleanup.c: (GST_START_TEST):
12622 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12623 Allow new clock message too.
12625 2005-10-08 Wim Taymans <wim@fluendo.com>
12627 * gst/gstmessage.c: (gst_message_new_error),
12628 (gst_message_new_warning), (gst_message_new_tag),
12629 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12630 (gst_message_new_clock_lost), (gst_message_new_new_clock),
12631 (gst_message_new_segment_start), (gst_message_new_segment_done),
12632 (gst_message_parse_state_changed),
12633 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12634 (gst_message_parse_new_clock):
12635 * gst/gstmessage.h:
12636 Also carry the clock in question.
12638 2005-10-08 Wim Taymans <wim@fluendo.com>
12640 * gst/gstmessage.c: (gst_message_new_custom),
12641 (gst_message_new_eos), (gst_message_new_error),
12642 (gst_message_new_warning), (gst_message_new_tag),
12643 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12644 (gst_message_new_new_clock), (gst_message_new_segment_start),
12645 (gst_message_new_segment_done), (gst_message_parse_state_changed),
12646 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12647 * gst/gstmessage.h:
12649 Added clock related messages.
12651 * gst/gstpipeline.c: (gst_pipeline_change_state):
12652 Post message when the clock changed.
12654 * tools/gst-launch.c: (event_loop):
12657 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
12659 * tools/gst-inspect.c: (print_element_properties_info):
12660 Can't pass NULL strings to g_print() on windows.
12662 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12664 * docs/Makefile.am:
12665 * docs/gst/Makefile.am:
12666 * docs/gst/gstreamer-docs.sgml:
12667 * docs/gst/running.xml:
12668 * docs/version.entities.in:
12669 add a chapter on running GStreamer.
12670 document GST_DEBUG and GST_PLUGIN* env vars
12672 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12677 remove PLUGINS_BUILDDIR stuff
12678 * gst/gst.c: (init_post):
12679 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12681 remove, it was condescending and not needed
12683 2005-10-08 Wim Taymans <wim@fluendo.com>
12685 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12686 (gst_base_sink_handle_object), (gst_base_sink_event),
12687 (gst_base_sink_wait), (gst_base_sink_handle_event),
12688 (gst_base_sink_change_state):
12689 * gst/base/gstbasesink.h:
12690 Repost EOS message while going to PLAYING if still EOS.
12691 Make sure that when receiving a FLUSH_START we don't attempt
12692 to sync on the clock anymore.
12694 2005-10-08 Wim Taymans <wim@fluendo.com>
12696 * tools/gst-launch.c: (event_loop):
12697 Better message printout.
12699 2005-10-08 Wim Taymans <wim@fluendo.com>
12701 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12702 (gst_bin_child_proxy_get_children_count):
12703 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12704 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12705 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12706 (gst_child_proxy_set_valist):
12707 * gst/parse/grammar.y:
12708 Make ChildProxy threadsafe and fix mem leaks.
12710 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12712 * gst/gst.c: (init_post):
12713 debug the GST_PLUGIN_ env vars
12715 2005-10-08 Wim Taymans <wim@fluendo.com>
12717 * check/gst/gstbin.c: (GST_START_TEST):
12718 * check/gst/gstmessage.c: (GST_START_TEST):
12719 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12720 * gst/gstelement.c: (gst_element_commit_state),
12721 (gst_element_lost_state):
12722 * gst/gstmessage.c: (gst_message_new_state_changed),
12723 (gst_message_parse_state_changed):
12724 * gst/gstmessage.h:
12725 * tools/gst-launch.c: (event_loop):
12726 Added extra field to STATE_CHANGE message with the pending
12727 state, which will be different from the new state soon.
12729 2005-10-08 Wim Taymans <wim@fluendo.com>
12731 * gst/gstbus.c: (gst_bus_pop):
12733 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12734 Small cleanups and doc updates.
12736 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12738 * gst/gst.c: (init_pre):
12739 * gst/gstbin.c: (gst_bin_add_func):
12740 log distributing clocks and base time
12741 * gst/gstregistry.c: (gst_registry_add_plugin),
12742 (gst_registry_scan_path_level), (gst_registry_scan_path):
12743 clean up the debugging output a little
12744 * gst/gstutils.c: (gst_element_state_get_name):
12745 warn about a memleak (I've actually seen this be used, though
12746 it was probably a bug)
12748 2005-10-07 Wim Taymans <wim@fluendo.com>
12750 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12751 (gst_base_src_init), (gst_base_src_default_newsegment),
12752 (gst_base_src_newsegment), (gst_base_src_do_seek),
12753 (gst_base_src_loop), (gst_base_src_start):
12754 * gst/base/gstbasesrc.h:
12755 Make the newsegment event customizable by subclasses.
12757 2005-10-07 Wim Taymans <wim@fluendo.com>
12759 * gst/gstevent.c: (gst_event_new_buffersize),
12760 (gst_event_parse_buffersize):
12762 New event for future idea.
12764 2005-10-07 Andy Wingo <wingo@pobox.com>
12766 * gst/gstelement.c (gst_element_post_message): Doc update.
12768 * docs/gst/gstreamer-sections.txt: Update.
12770 * gst/gstmessage.c (gst_message_new_application): Made into a
12771 function like honest API calls.
12772 (gst_message_new_element): New message type.
12774 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12776 * check/elements/fakesrc.c (test_no_preroll): New check, checks
12777 that setting a live fakesrc to PAUSED returns NO_PREROLL both
12780 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12781 NO_PREROLL from gst_element_change_state to fall through.
12783 2005-10-07 Wim Taymans <wim@fluendo.com>
12785 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12786 (gst_ghost_pad_do_activate_push):
12787 Activating a ghostpad with no internal pad in push mode
12790 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
12793 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12794 Fixes compilation on Windows.
12796 2005-10-07 Michael Smith <msmith@fluendo.com>
12798 * tools/gst-inspect.c:
12799 Print out feature and plugin count at the end when printing out
12802 2005-10-04 Michael Smith <msmith@fluendo.com>
12804 * gst/gsterror.c: (_gst_stream_errors_init):
12805 Add another error string used in a few existing plugins.
12808 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12809 * tools/gst-inspect.c: (print_element_info):
12810 When a feature disappears from a plugin (and the feature exists in
12811 the cached registry file), things went horribly wrong. This isn't a
12812 complete fix, we should actually be removing the 'missing' features
12813 from the features list when we load the actual plugin. That's not
12816 2005-10-04 Johan Dahlin <johan@gnome.org>
12818 * check/gst/gstiterator.c: (GST_START_TEST):
12819 * gst/gstbin.c: (gst_bin_iterate_elements),
12820 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12821 * gst/gstelement.c: (gst_element_iterate_pads):
12822 * gst/gstformat.c: (gst_format_iterate_definitions):
12823 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12824 (gst_iterator_new_list), (gst_iterator_filter):
12825 * gst/gstiterator.h:
12826 * gst/gstquery.c: (gst_query_type_iterate_definitions):
12827 Add a GType to GstIterator, update callsites and tests.
12829 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12831 * gst/gstpad.c: (gst_pad_event_default_dispatch):
12832 give events a chance to be handled by event probes when the pad
12835 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12837 * gst/gstevent.c: (gst_event_type_get_name),
12838 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12840 add string representations for event types
12842 2005-10-06 Wim Taymans <wim@fluendo.com>
12844 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12845 Don't use NULL pointers.
12847 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12849 * gst/gst_private.h:
12851 * gst/gstelement.c:
12853 * gst/gstpluginfeature.c:
12854 widen the debug category in output to fit the biggest one we have
12855 add a bus category and use it
12856 play with the colors
12857 fix up some categories
12859 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12861 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12862 add push activation of sink ghost pads.
12863 Andye, please verify
12865 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12867 * gst/gstutils.c: (gst_element_link_pads):
12868 fix a bug in the case where neither element has a pad
12869 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12870 add a test for that case
12872 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12874 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12875 emit have-data before checking for peers. This allows
12876 for probe handlers to connect elements. This helps autopluggers.
12877 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12879 add six checks, linked/unlinked with no/true/false probe
12881 2005-10-04 Wim Taymans <wim@fluendo.com>
12883 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12884 (gst_fake_sink_event), (gst_fake_sink_preroll),
12885 (gst_fake_sink_render), (gst_fake_sink_change_state):
12886 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12887 (gst_fake_src_get_property), (gst_fake_src_create),
12888 (gst_fake_src_stop):
12889 * gst/elements/gstidentity.c: (gst_identity_stop):
12890 Protect last_message with lock.
12892 2005-10-04 Edward Hervey <edward@fluendo.com>
12895 Added precision in the comments for GST_FORMAT_DEFAULT
12897 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
12899 * tools/gst-launch.c: (main):
12900 Don't try to run erroneous pipelines.
12902 2005-10-04 Julien MOUTTE <julien@moutte.net>
12904 * gst/gstbus.c: We don't need this header.
12906 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12909 back to development
12911 === release 0.9.3 ===
12913 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12917 Releasing 0.9.3, "Unregistered"
12919 2005-10-03 Andy Wingo <wingo@pobox.com>
12921 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12922 whereby calling a pad's activatepush() function can start a thread
12923 that starts to push or pull before the pad gets the FLUSHING flag
12924 unset. Hack around it by holding the stream lock until the flag is
12925 set. Need to replace this with a proper solution. Together with
12926 the ghost pad fixes, this fixes mp3 playing/tagreading.
12928 * docs/design/part-gstghostpad.txt: Add a note about activation of
12929 proxy pads outside of ghost pads.
12931 * gst/gstghostpad.c: Implement the ghost pad activation design.
12933 2005-10-02 Andy Wingo <wingo@pobox.com>
12935 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12936 It is volatile, after all.
12938 * docs/design/part-gstghostpad.txt: Flesh out activation with
12941 * gst/base/gstbasesrc.c (gst_base_src_init): Use
12944 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
12947 Fix (unused) AM_CONDITIONAL tests.
12949 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
12951 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12953 * gst/gstutils.c: (gst_pad_query_convert):
12954 Add assertion that makes sure src_val is >=0, just like
12955 gst_query_new_convert() has. (#315895)
12957 2005-09-30 Edward Hervey <edward@fluendo.com>
12959 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12960 Let's not iterate pads we're not interested in, it avoids getting
12961 sky-high refcounts on sinkpad.
12963 2005-09-30 Wim Taymans <wim@fluendo.com>
12965 * gst/gstelement.c: (gst_element_set_state),
12966 (gst_element_change_state):
12967 Small tweak, element in ASYNC remains ASYNC.
12969 2005-09-30 Wim Taymans <wim@fluendo.com>
12971 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12972 Only error is an error.
12974 * gst/gstbin.c: (gst_bin_change_state):
12977 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12978 Also call pad_block in pad alloc.
12980 * gst/gstutils.c: (gst_flow_get_name):
12983 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12985 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12986 (gst_base_src_get_range):
12987 Fix documentation typos. Add some more debug info.
12989 2005-09-29 David Schleef <ds@schleef.org>
12991 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12992 more end-user friendly.
12993 * tools/gst-inspect.c: (main): Check if command-line argument is
12994 a file and attempt to load that file as a plugin.
12996 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12998 * check/gst/gstbin.c:
12999 * check/states/sinks.c:
13000 fix tests for the new warning
13001 * check/gst/gstpipeline.c:
13002 add a test for pipeline and bus interaction
13003 * gst/gstelement.c:
13004 elements should be NULL if they get disposed; add a warning if not
13006 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
13009 for 2.6 refcounting, make debug log more correct by printing
13010 the actual refcounts at the time of swap (Wim)
13012 2005-09-29 Andy Wingo <wingo@pobox.com>
13014 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
13015 removes signal watches previously added via
13016 gst_bus_add_signal_watch.
13017 (gst_bus_add_signal_watch): Don't return the source id, just store
13018 it on the bus if there wasn't an id already.
13020 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
13021 add_signal_watch and remove_signal_watch.
13023 2005-09-29 Edward Hervey <edward@fluendo.com>
13025 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
13026 Better if we actually iterate the list :)
13028 2005-09-29 Wim Taymans <wim@fluendo.com>
13030 * check/gst/gstbin.c: (GST_START_TEST):
13031 Change for new bus API.
13033 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13034 (send_messages), (GST_START_TEST), (gstbus_suite):
13035 Change for new bus signal API.
13037 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
13038 (gst_bus_source_prepare), (gst_bus_source_check),
13039 (gst_bus_create_watch), (gst_bus_add_watch_full),
13040 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
13041 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
13043 Remove support for multiple GSources operating on different
13044 message types as it is too complex and unneeded when using
13046 Added support for receiving signals from the bus.
13048 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
13050 * docs/libs/tmpl/gstdataprotocol.sgml:
13051 * docs/manual/advanced-dataaccess.xml:
13052 * gst/elements/gstcapsfilter.c:
13054 rename filter-caps to caps property
13056 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
13058 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13059 More robust fraction string parsing.
13061 * docs/pwg/appendix-porting.xml:
13062 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
13064 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
13066 * gst/gstcaps.c: (gst_caps_do_simplify):
13067 Thou shalt not free a structure and then continue using it
13068 in the next loop iteration.
13070 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
13072 Add test case for caps simplification.
13074 2005-09-29 Wim Taymans <wim@fluendo.com>
13076 * check/gst/gstbin.c: (GST_START_TEST):
13079 2005-09-29 Wim Taymans <wim@fluendo.com>
13081 * check/gst/gstbin.c: (GST_START_TEST):
13084 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
13085 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
13086 (find_element), (gst_bin_sort_iterator_next),
13087 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13088 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13089 (gst_bin_change_state), (gst_bin_dispose):
13090 A bin does not have a bus, it gets the bus from the parent.
13092 * gst/gstelement.c: (gst_element_requires_clock),
13093 (gst_element_provides_clock), (gst_element_is_indexable),
13094 (gst_element_is_locked_state), (gst_element_change_state),
13095 (gst_element_set_bus_func):
13098 * gst/gstpipeline.c: (gst_pipeline_class_init),
13099 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
13100 The pipeline provides a bus.
13102 2005-09-28 Johan Dahlin <johan@gnome.org>
13104 * gst/gstmessage.c (gst_message_parse_state_changed): Use
13105 gst_structure_get_enum instead of gst_structure_get_int
13107 * gst/gststructure.c (gst_structure_get_enum): Impl.
13109 * gst/gststructure.h (gst_structure_get_enum): Add
13111 * docs/gst/gstreamer-sections.txt: Ditto
13113 * gst/gstmessage.c (gst_message_new_state_changed): Use
13114 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
13115 which does introspection.
13116 Reviewed by Christian Schaller
13118 2005-09-28 Stefan Kost <ensonic@users.sf.net>
13120 * gst/gstinfo.c: (gst_debug_log_default):
13121 don't do dummy g_strdup()s
13122 * libs/gst/controller/gstcontroller.c:
13123 (on_object_controlled_property_changed),
13124 (gst_controlled_property_new), (gst_controller_new_valist),
13125 (gst_controller_new_list),
13126 (gst_controller_remove_properties_valist), (gst_controller_set),
13127 (gst_controller_get), (gst_controller_sync_values),
13128 (gst_controller_get_value_array), (_gst_controller_class_init),
13129 (gst_controller_get_type):
13130 * libs/gst/controller/gstcontroller.h:
13131 * libs/gst/controller/gstinterpolation.c:
13132 (gst_controlled_property_find_timed_value_node):
13133 convert // to /**/ comments
13135 2005-09-28 Wim Taymans <wim@fluendo.com>
13137 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
13138 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
13139 (gst_bus_sync_signal_handler):
13141 Added async-message and sync-message signals to the bus.
13142 Added helper BusFunc to emit signals for all posted messages.
13144 * gst/gstmessage.c: (gst_message_type_get_name),
13145 (gst_message_type_to_quark), (gst_message_get_type):
13146 * gst/gstmessage.h:
13147 Register quarks for message names.
13149 2005-09-28 Stefan Kost <ensonic@users.sf.net>
13151 * docs/libs/gstreamer-libs-sections.txt:
13152 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
13153 (gst_controller_new_list):
13154 * libs/gst/controller/gstcontroller.h:
13155 added another constructor for language bindings
13157 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
13159 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13163 * gst/gstinfo.c: (_gst_debug_init):
13164 slightly more readable color for refcount debugging
13166 2005-09-28 Wim Taymans <wim@fluendo.com>
13168 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13169 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
13170 (find_element), (gst_bin_sort_iterator_next),
13171 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13172 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13173 (gst_bin_change_state), (gst_bin_dispose):
13174 Small doc fixes. get_clock -> provide_clock.
13176 * gst/gstelement.c: (gst_element_class_init),
13177 (gst_element_provides_clock), (gst_element_provide_clock),
13178 (gst_element_get_clock), (gst_element_commit_state),
13179 (gst_element_lost_state):
13180 * gst/gstelement.h:
13181 Make get/set_clock() symetric. Add provide_clock vmethod since
13182 that is actually what this function does.
13184 * gst/gstpipeline.c: (gst_pipeline_class_init),
13185 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
13186 (gst_pipeline_get_clock):
13187 get_clock -> provide_clock.
13189 2005-09-28 Andy Wingo <wingo@pobox.com>
13191 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
13192 lieu of real docs...
13194 * gst/elements/gstfdsrc.c: Cleaned up a bit.
13196 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
13198 * gst/elements/gstcapsfilter.c:
13199 * gst/elements/gstfakesink.c:
13200 * gst/elements/gstfakesrc.c:
13201 * gst/elements/gstfdsink.c:
13202 * gst/elements/gstfdsrc.c:
13203 * gst/elements/gstfilesink.c:
13204 * gst/elements/gstfilesrc.c:
13205 * gst/elements/gstidentity.c:
13206 * gst/elements/gsttee.c:
13207 * gst/elements/gsttypefindelement.c:
13208 Make element details static.
13210 2005-09-28 Wim Taymans <wim@fluendo.com>
13212 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13213 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13214 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13215 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13216 (gst_bin_change_state), (gst_bin_dispose):
13217 Some documentation updates.
13218 Clean up dispose handlers.
13220 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
13221 * gst/gstpad.c: (gst_pad_dispose):
13222 Clean up dispose handler.
13224 * gst/gstpipeline.c: (gst_pipeline_change_state):
13225 Removed spurious UNLOCK.
13227 2005-09-27 Stefan Kost <ensonic@users.sf.net>
13229 * docs/gst/gstreamer-sections.txt:
13230 * gst/base/gstbasesrc.h:
13231 * gst/gstelement.h:
13235 * gst/gstpipeline.c:
13236 * gst/gstpipeline.h:
13239 added two new functions to the docs
13240 documents all undocumented GstXXXFlags
13241 completed some incomplete docs
13243 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
13245 * gst/gstbin.c: (gst_bin_dispose):
13246 * gst/gstelement.c: (gst_element_dispose):
13247 remove now useless and leaky resurrection code in dispose
13248 * gst/base/gstbasesrc.c: (gst_base_src_init):
13249 * gst/gstelementfactory.c: (gst_element_factory_create):
13250 * gst/gstobject.c: (gst_object_set_parent):
13253 2005-09-27 Wim Taymans <wim@fluendo.com>
13255 * docs/design/part-TODO.txt:
13258 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13259 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13260 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13261 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13262 (gst_bin_change_state):
13263 * gst/gstelement.h:
13264 Remove element variable, we keep element info in the iterator now.
13266 2005-09-27 Andy Wingo <wingo@pobox.com>
13268 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
13271 2005-09-27 Wim Taymans <wim@fluendo.com>
13273 * check/gst/gstbin.c: (GST_START_TEST):
13274 Enable check that works now.
13276 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13277 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13278 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13279 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13280 (gst_bin_change_state):
13282 Redid the state change algorithm using a topological sort algo.
13283 Handles all cases correctly.
13284 Exposed iterator for state change order.
13286 * gst/gstelement.h:
13287 Temp storage for state changes. Need to get rid of this soon.
13289 2005-09-27 Wim Taymans <wim@fluendo.com>
13291 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
13292 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
13293 (link_fold_func), (gst_pad_proxy_setcaps):
13294 Leak fixes, the fold functions need to unref the passed object and
13295 _get_parent_*() returns ref to parent.
13297 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
13299 * check/gst/gstbuffer.c: (test_make_writable):
13300 Plug leak in test case and fix 'make check-valgrind'
13302 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
13304 * gst/gstbuffer.c: (gst_subbuffer_init):
13305 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
13306 works correctly in all circumstances (we could have just copied
13307 the parent buffer's readonly flag, but conceptually it seems
13308 cleaner to mark all subbuffers as read-only). (based on patch
13309 by Alessandro Decina, #314710).
13311 * check/gst/gstbuffer.c: (create_read_only_buffer),
13312 (test_make_writable), (test_subbuffer_make_writable),
13314 Add some tests for gst_buffer_make_writable().
13316 2005-09-27 Wim Taymans <wim@fluendo.com>
13318 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
13319 use gst_object_has_ancestor().
13321 * gst/gstobject.c: (gst_object_has_ancestor):
13323 gst_object_has_ancestor() copied from gstbin.c as it is a
13326 * tests/instantiate/create.c: (create_all_elements):
13327 * tests/lat.c: (handoff_src), (handoff_sink):
13328 * tests/sched/runxml.c: (main):
13329 * tests/seeking/seeking1.c: (main):
13330 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13332 Fix compilation of some tests.
13334 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
13337 Remove comment. GST_TYPE_G_ERROR is here to stay,
13338 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
13339 (#316961, #300610).
13341 2005-09-26 Wim Taymans <wim@fluendo.com>
13343 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13344 Added check that shows error in state change order.
13346 2005-09-26 Wim Taymans <wim@fluendo.com>
13348 * gst/gstbin.c: (gst_bin_change_state):
13349 Make state change function use 3 queues again, we were
13350 adding elements in the wrong order.
13352 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13355 * gst/gstpad.c: (gst_pad_dispose):
13356 Added some debug info first.
13358 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
13360 * docs/design/draft-push-pull.txt:
13361 * docs/design/part-events.txt:
13362 * docs/design/part-overview.txt:
13363 * docs/design/part-scheduling.txt:
13364 Replace all _pull_region() with _pull_range()
13366 2005-09-26 Andy Wingo <wingo@pobox.com>
13368 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
13370 * check/gst-libs/controller.c: Update for controller api change.
13373 * tests/Makefile.am:
13374 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
13375 over by GLib bug 118439.
13377 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
13378 routines to a function.
13380 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
13382 * libs/gst/controller/gsthelper.c:
13383 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
13384 (gst_object_sync_values): Renamed from sink_values. Ugh.
13386 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
13388 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
13389 Renamed from controller_key, as it is exported.
13391 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
13393 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
13398 * gst/gstpadtemplate.h:
13401 * gst/gstqueryutils.c:
13402 * gst/gstqueryutils.h:
13403 remove queryutils headers after moving the two used functions
13404 to gstquery. also fixes build problem for gstsiddec
13406 2005-09-26 Michael Smith <msmith@fluendo.com>
13408 * tools/gst-launch.1.in:
13409 Correct documentation in manpage of debug syntax
13411 2005-09-26 Wim Taymans <wim@fluendo.com>
13413 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
13414 (gst_base_src_is_seekable), (gst_base_src_change_state):
13415 Some more debugging info.
13417 2005-09-25 Stefan Kost <ensonic@users.sf.net>
13419 * docs/gst/gstreamer-sections.txt:
13420 * gst/base/gstbasetransform.h:
13424 2005-09-25 Stefan Kost <ensonic@users.sf.net>
13426 * docs/gst/.cvsignore:
13427 * docs/gst/tmpl/.cvsignore:
13428 * docs/gst/tmpl/gstpipeline.sgml:
13429 * docs/gst/tmpl/gstplugin.sgml:
13430 * gst/gstpipeline.c:
13433 inlined the last two docs files
13434 removed the tmpl directory from cvs (no more conflicts here!)
13436 2005-09-25 Stefan Kost <ensonic@users.sf.net>
13438 * docs/gst/gstreamer-sections.txt:
13439 * docs/gst/tmpl/.cvsignore:
13440 * docs/gst/tmpl/gstpad.sgml:
13441 * docs/gst/tmpl/gstpadtemplate.sgml:
13443 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13444 (gst_pad_finalize), (gst_pad_set_pad_template):
13446 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
13447 (gst_pad_template_class_init), (gst_pad_template_init),
13448 (gst_pad_template_dispose), (name_is_valid),
13449 (gst_static_pad_template_get), (gst_pad_template_new),
13450 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
13451 (gst_pad_template_pad_created):
13452 * gst/gstpadtemplate.h:
13453 inlined two more docs
13454 factored gstpadtemplate out of gstpad
13456 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
13458 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
13459 (test_children_state_change_order_semi_sink):
13460 Fix test case: we can't rely on a fixed state change order when
13461 going from READY => PAUSED because the sink might commit its
13462 new state first when the first buffer created by the source
13463 reaches the sink before the source has finished its change state.
13464 (Test case still fails at times, see #316856, comment 5 onwards)
13466 2005-09-24 Wim Taymans <wim@fluendo.com>
13468 * docs/design/part-events.txt:
13469 * docs/design/part-gstbus.txt:
13470 * docs/design/part-gstpipeline.txt:
13471 * docs/design/part-messages.txt:
13472 * docs/design/part-overview.txt:
13473 * docs/design/part-segments.txt:
13477 * gst/gstelement.c:
13480 * gst/gstiterator.c:
13481 Various documentation updates.
13483 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
13486 Well, that's embarassing. Luckily we weren't using
13487 GST_CLOCK_DIFF anywhere.
13489 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13491 * common/gtk-doc.mak:
13492 don't fail on building XML, FC4 slave shows a bunch of doc
13493 missing bits that I don't get
13495 * gst/gstpipeline.c:
13496 * gst/gststructure.c:
13499 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
13501 * docs/design/part-gstbin.txt:
13502 * docs/design/part-gstbus.txt:
13504 Add blurb about how the bus goes into flushing mode and
13505 drops all messages when its bin goes from READY into NULL
13508 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13510 * docs/gst/gstreamer-sections.txt:
13511 * gst/gststructure.c: (gst_structure_get_clock_time):
13512 * gst/gststructure.h:
13513 add a method to get a GstClockTime out of a structure
13515 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
13517 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
13518 (test_children_state_change_order_semi_sink), (gst_bin_suite):
13519 Added test to check state change order in bins (can still be made
13520 to fail here under heavy disk load; bails out with 'Push on pad
13521 fakesink:sink0, but it was not activated in push mode').
13523 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
13524 Fix state change order when there is only a semi sink (#316856)
13526 * gst/gstbus.c: (gst_bus_class_init):
13527 Use _class_peek_parent(), not _class_ref(); fix docs to say
13528 'default main context' instead of 'mainloop' where that is
13531 * gst/gstelement.c: (gst_element_commit_state),
13532 (gst_element_set_state):
13533 Fix typos in debug messages
13535 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13538 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
13539 * gst/gstpluginfeature.c:
13541 various doc updates
13542 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13543 change an assert into an error until it gets fixed properly
13545 2005-09-23 Stefan Kost <ensonic@users.sf.net>
13547 * docs/gst/gstreamer-sections.txt:
13548 * docs/gst/tmpl/.cvsignore:
13549 * docs/gst/tmpl/gstelement.sgml:
13550 * docs/gst/tmpl/gstinfo.sgml:
13551 * docs/gst/tmpl/gstobject.sgml:
13552 * gst/gstelement.c:
13553 * gst/gstelement.h:
13556 * gst/gstobject.c: (gst_object_class_init):
13558 inlined 3 more biiiig doc files and added some missing docs on the fly
13560 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13562 * check/gst/.cvsignore:
13563 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
13564 * gst/gstregistryxml.c: (load_plugin),
13565 (gst_registry_xml_save_plugin):
13566 put back source in registry. add checks for find_plugin.
13567 * testsuite/states/bin.c: (assert_state), (empty_bin),
13568 (test_adding_one_element), (main):
13569 * testsuite/states/locked.c: (main):
13570 some compile/run fixes
13572 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
13574 * check/gst/gstvalue.c: (GST_START_TEST):
13575 fix leaks in the test itself
13577 2005-09-22 Wim Taymans <wim@fluendo.com>
13579 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13580 (gst_base_sink_send_event), (gst_base_sink_peer_query),
13581 (gst_base_sink_query):
13582 Prepare for more accurate position reporting and query
13585 * gst/gstelement.c: (gst_element_send_event),
13586 (gst_element_set_state):
13589 2005-09-22 Wim Taymans <wim@fluendo.com>
13591 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
13592 (gst_query_parse_segment):
13594 More documentation.
13595 Add segment query for future use.
13597 2005-09-22 Wim Taymans <wim@fluendo.com>
13599 * gst/gstbin.c: (gst_bin_add_func):
13600 Some more debug info.
13602 * gst/gstelement.c: (gst_element_send_event):
13603 Simplify send_event
13605 * gst/gstelement.h:
13606 Don't know how flags got broken.
13611 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13613 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13614 Add simplistic test suite for GST_TYPE_DATE serialisation and
13617 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13619 * docs/gst/gstreamer-sections.txt:
13620 * gst/gststructure.c: (gst_structure_set_valist),
13621 (gst_structure_get_date):
13622 * gst/gststructure.h:
13623 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13624 (gst_date_copy), (gst_value_compare_date),
13625 (gst_value_serialize_date), (gst_value_deserialize_date),
13626 (gst_value_transform_date_string),
13627 (gst_value_transform_string_date), (_gst_value_initialize):
13629 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13630 bunch of utility functions along with a hack that checks that
13631 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13632 is required. Part of the grand scheme in #170777.
13634 2005-09-22 Andy Wingo <wingo@pobox.com>
13636 * gst/gstconfig.h.in: Psych out gtk-doc.
13638 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13640 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13642 * tools/gst-inspect.c (print_element_list): Plug some
13643 inconsequential leaks.
13645 * gst/gstregistry.c (gst_registry_get_default): Doc.
13647 * check/gst/gstplugin.c:
13648 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13649 * gst/gstelementfactory.c (gst_element_factory_create):
13650 * gst/gstindexfactory.c (gst_index_factory_create): Update for
13653 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13654 (gst_plugin_feature_load): Doc, don't eat refs.
13656 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13657 (gst_plugin_list_free): Doc.
13658 (gst_plugin_load_file): Doc updates.
13660 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13661 accessors returning refcounted objects, return a ref.
13663 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13664 accessor for caps. IDEMPOTENCE. Oh yes.
13666 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
13668 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13670 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13671 (_gst_debug_register_funcptr):
13672 Add mutex to serialise access to the hash table with
13673 the function pointer => function name string mapping;
13674 make that hash table static scope (#316809).
13676 * gst/registries/.cvsignore:
13677 Remove left-over file.
13679 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13681 * docs/pwg/appendix-porting.xml:
13682 And something about newsegment events and caps-on-buffers to
13683 the porting guide (feel free to improve).
13685 2005-09-21 Andy Wingo <wingo@pobox.com>
13687 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13688 data and event probes on the same pad.
13689 (test_buffer_probe_once): Test that removing probes from within
13690 the probe functions works.
13692 2005-09-21 Andy Wingo <wingo@pobox.com>
13694 * check/gst/gstutils.c: New file.
13695 (test_buffer_probe_n_times): A simple buffer probe test. More to
13698 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13699 have-data::buffer, not have-data.
13700 (gst_pad_add_event_probe): Likewise for have-data::event.
13701 (gst_pad_add_data_probe): More docs. The part about 'resolving the
13702 peer' isn't quite right yet though.
13703 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
13704 (gst_pad_remove_data_probe): Change to take the guint handler_id
13705 as their arg, not the function+data, which is more glib-like.
13707 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13708 the signal emission to indicate if the data is a buffer or an
13710 (gst_pad_get_type): Initialize buffer and event quarks.
13711 (gst_pad_class_init): have-data is now a detailed signal, yes it
13714 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13716 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13717 * gst/gstutils.c: (gst_util_set_value_from_string),
13718 (gst_util_set_object_arg):
13719 Don't put functional code in g_return_if_fail() or
13720 g_return_val_if_fail() statements, otherwise things will
13721 break when G_DISABLE_CHECKS is defined during compilation.
13723 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13725 * docs/gst/tmpl/.cvsignore:
13726 * docs/gst/tmpl/gstvalue.sgml:
13729 inlied another one and added some obvious docs
13731 2005-09-21 Wim Taymans <wim@fluendo.com>
13733 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13734 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13735 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13736 (gst_fdsrc_get_property), (gst_fdsrc_create):
13737 * gst/elements/gstfdsrc.h:
13738 Properly implement fdsrc. Removed signal and timeout,
13739 better implemented somewhere else.
13741 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13743 * docs/gst/tmpl/.cvsignore:
13744 * docs/gst/tmpl/gstimplementsinterface.sgml:
13745 * gst/gstinterface.c:
13748 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13750 * docs/gst/gstreamer-sections.txt:
13751 * docs/gst/tmpl/.cvsignore:
13752 * docs/gst/tmpl/gstenumtypes.sgml:
13753 remove obsolete doc file
13755 2005-09-21 David Schleef <ds@schleef.org>
13757 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13758 little beer, fix a little leak.
13760 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13762 * docs/gst/gstreamer-docs.sgml:
13763 * docs/gst/gstreamer-sections.txt:
13764 * docs/gst/tmpl/.cvsignore:
13768 * gst/gstelement.h:
13769 * gst/gstindex.c: (gst_index_class_init):
13771 * gst/gstindexfactory.c: (gst_index_factory_get_type),
13772 (gst_index_factory_class_init), (gst_index_factory_init),
13773 (gst_index_factory_finalize), (gst_index_factory_new),
13774 (gst_index_factory_destroy), (gst_index_factory_find),
13775 (gst_index_factory_create), (gst_index_factory_make):
13776 * gst/gstindexfactory.h:
13777 * gst/gstpluginfeature.c:
13778 * gst/gstpluginfeature.h:
13779 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13780 more docs inlined, splitted gstindex.{c,h}
13782 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13784 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13787 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13789 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13790 Set sync to FALSE by default.
13792 2005-09-20 Wim Taymans <wim@fluendo.com>
13794 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13795 (gst_base_sink_init):
13796 Make sync property settable from subclass.
13798 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13799 (gst_fake_sink_change_state):
13800 Set sync to FALSE by default.
13802 2005-09-20 Wim Taymans <wim@fluendo.com>
13804 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13805 * tools/gst-launch.c: (main):
13806 The timeout handler should have lower priority than the source
13807 so we don't timeout before popping a message with 0 timeout.
13808 Dump error messages after failed state change.
13810 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13812 * tools/gst-inspect.c: (print_element_properties_info):
13815 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13817 * check/gst/gstevent.c:
13818 * gst/elements/gstfakesink.c:
13819 * gst/elements/gstfakesink.h:
13820 remove the sync property from fakesink.
13821 has the side effect of setting sync TRUE
13822 for fakesink, which is a change. Anyone who knows how
13823 to fix this nicely in a GObject-y way, feel free.
13825 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13827 * docs/gst/gstreamer-docs.sgml:
13828 remove probe refsection
13830 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13832 * check/Makefile.am:
13833 disable valgrinding the controller test again
13834 * docs/gst/gstreamer-sections.txt:
13835 update for api-changes
13837 2005-09-20 Wim Taymans <wim@fluendo.com>
13839 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13840 (gst_base_sink_set_property), (gst_base_sink_get_property),
13841 (gst_base_sink_do_sync):
13842 * gst/base/gstbasesink.h:
13843 Added sync property to basesink to disable clock sync.
13845 2005-09-20 Andy Wingo <wingo@pobox.com>
13847 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13848 eating the caller's refcount.
13850 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
13851 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13854 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13855 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13856 of GLib 2.8 public, so we can know which refcount to check in
13859 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13860 (gst_object_init): Only set the gst refcount if we're going ahead
13861 with the refcount hack.
13863 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13865 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13866 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13867 more leaks plumbed, added more debug-logging
13871 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13873 * gst/gstmessage.c:
13874 remove include of gstmemchunk.h
13876 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13878 * gst/gstclock.c: (_gst_clock_id_free):
13879 Commit from the Political Party For More Atomic CVS Commits,
13880 so that people don't waste too much of their day fishing
13881 out obvious leaks out of massive commits.
13882 Oh, and fix a pretty damn obvious leak in the memchunk
13885 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13887 * check/Makefile.am:
13888 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13889 plug mem-leak, re-add to valgrindable tests
13891 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13894 unbreak the build for those who have chronic arthritis
13895 and typing "make check" is just too taxing on the hands
13897 2005-09-20 Andy Wingo <wingo@pobox.com>
13899 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13900 really want it out, you should fix plugins at the same time.
13902 2005-09-19 Stefan Kost <ensonic@users.sf.net>
13905 * docs/gst/gstreamer-sections.txt:
13907 added missing symbols to api docs
13908 disable ref-count hack if we have glib >= 2.8
13910 2005-09-19 David Schleef <ds@schleef.org>
13912 * docs/gst/Makefile.am: Ignore a few more internal headers
13913 * docs/gst/gstreamer-docs.sgml: Remove old sections
13914 * docs/gst/gstreamer-sections.txt: Remove old sections
13915 * docs/gst/tmpl/gstobject.sgml: update
13916 * docs/gst/tmpl/gstplugin.sgml: update
13917 * docs/gst/tmpl/gstpluginfeature.sgml: update
13918 * docs/random/ds/0.9-suggested-changes: update.
13919 * gst/Makefile.am: remove memchunk and trashstack, since they're
13921 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13922 * gst/gst.h: don't include some headers
13923 * gst/gstchildproxy.c: add gstmarshal.h
13924 * gst/gstclock.c: Don't use memchunks
13925 * gst/gstminiobject.c: Add some docs
13926 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13927 * gst/gstobject.h: same
13928 * gst/gstplugin.c: include gstmacros.h
13929 * gst/gstplugin.h: don't include gstmacros.h, since it's private
13930 * gst/gstquery.c: don't use memchunks
13931 * gst/gstregistry.c: rename gst_registry_deinit()
13932 * gst/gstregistry.h: same
13934 2005-09-19 David Schleef <ds@schleef.org>
13936 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13937 * docs/libs/gstreamer-libs-sections.txt:
13938 * docs/libs/tmpl/gstgetbits.sgml:
13939 * docs/libs/tmpl/gstputbits.sgml:
13941 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
13943 * win32/gstenumtypes.c:
13944 * win32/gstenumtypes.h:
13947 2005-09-19 Wim Taymans <wim@fluendo.com>
13949 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13950 Automatically PAUSE and RESUME a pipeline when a flushing seek
13953 2005-09-19 Andy Wingo <wingo@pobox.com>
13955 * gst/gstregistry.h: Spacing fixen.
13957 2005-09-19 Wim Taymans <wim@fluendo.com>
13959 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13960 Handle state change failure more correctly.
13962 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13964 * check/Makefile.am:
13965 * check/pipelines/cleanup.c: (run_pipeline):
13966 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13968 enable cleanup again after fixing the leak
13970 some more info on docs
13972 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13974 * check/Makefile.am:
13975 re-enable tests now that leaks are plugged
13977 * check/gst/gstbin.c:
13978 * check/gst/gstpipeline.c:
13979 add some more tests while fixing leaks
13980 * common/check.mak:
13981 make sure binaries are uptodate when valgrinding/gdbing
13983 * gst/gstelementfactory.c:
13984 remove a ref too many, and add a FIXME for when we get
13985 round to disposing of classes
13987 fix the refcounting when loading a plugin from a file and
13988 the code pretends that the pointer is the same even though
13989 of course it can change
13990 * gst/gstpluginfeature.c:
13991 unref plugins marked cached (a bit confusing as a name)
13992 as the docs state should be done
13993 various doc additions to explain refcounting
13994 * gst/gstregistry.c:
13995 * gst/gstregistryxml.c:
13998 2005-09-19 Wim Taymans <wim@fluendo.com>
14000 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14001 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14002 (send_messages), (GST_START_TEST), (gstbus_suite):
14003 * check/gst/gstpipeline.c: (GST_START_TEST):
14004 * check/pipelines/cleanup.c: (run_pipeline):
14005 * check/pipelines/simple_launch_lines.c: (run_pipeline),
14007 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
14008 (gst_bus_source_check), (gst_bus_source_dispatch),
14009 (gst_bus_create_watch), (gst_bus_add_watch_full),
14010 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
14012 * tools/gst-launch.c: (event_loop):
14013 * tools/gst-md5sum.c: (event_loop):
14014 GstBusHandler -> GstBusFunc, return value has the same meaning as
14015 any other GSource (FALSE == remove source).
14016 _add_watch() and _add_watch_full() now take a MessageType mask to
14017 only handle specific types of messages.
14018 _poll() returns the GstMessage instead of the message type to avoid
14020 _have_pending() takes a MessageType mask now too.
14021 Added testsuite for multiple bus watches.
14022 Fix testsuites and applications for new bus API.
14024 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
14026 * check/Makefile.am:
14027 mark a bunch of the tests as to fix until we fix them
14029 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
14031 * common/check.mak:
14032 use GST_PLUGIN settings for valgrind tests as well, so we're
14033 valgrinding the correct thing
14034 * gst/gst.c: (init_post):
14037 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
14039 * gst/gst.c: (init_post), (gst_deinit):
14040 * gst/gstelementfactory.c: (gst_element_factory_class_init),
14041 (gst_element_factory_finalize), (gst_element_factory_cleanup):
14042 * gst/gstindex.c: (gst_index_factory_class_init),
14043 (gst_index_factory_finalize):
14044 * gst/gstobject.c: (gst_object_dispose):
14045 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14046 (gst_plugin_load_file), (gst_plugin_desc_free):
14047 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
14048 (gst_plugin_feature_finalize):
14049 * gst/gstregistry.c: (gst_registry_class_init),
14050 (gst_registry_init), (gst_registry_finalize),
14051 (gst_registry_get_default), (gst_registry_deinit):
14052 * gst/gstregistry.h:
14053 * gst/gstregistryxml.c: (load_feature), (load_plugin):
14054 various cleanups and memleak plugging. make valgrind is happy now.
14056 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
14058 * common/check.mak:
14059 add a check-valgrind target
14061 2005-09-18 David Schleef <ds@schleef.org>
14063 * tools/gst-inspect.c: Revert the GOption code.
14065 2005-09-17 David Schleef <ds@schleef.org>
14067 * check/Makefile.am: Fix environment variables.
14068 * check/gst/gstplugin.c: Fix for API changes.
14069 * tools/gst-inspect.c: Fix for API changes.
14070 * tools/gst-xmlinspect.c: Fix for API changes.
14071 * gst/gstelementfactory.c:
14074 * gst/gstpluginfeature.c:
14075 * gst/gstpluginfeature.h:
14076 * gst/gstregistry.c:
14077 * gst/gstregistry.h:
14078 * gst/gstregistryxml.c:
14079 * gst/gsttypefind.c:
14080 * gst/gsttypefindfactory.c:
14081 * gst/indexers/gstfileindex.c:
14082 * gst/indexers/gstmemindex.c:
14083 * gst/schedulers/Makefile.am:
14084 Change registry to keep track of both plugins and features,
14085 removing the feature tracking from plugins themselves.
14087 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
14089 * check/Makefile.am:
14090 * tools/gst-register.1.in:
14091 remove gst-register
14093 2005-09-15 David Schleef <ds@schleef.org>
14095 * check/gst/gstplugin.c:
14096 * gst/gstelementfactory.c:
14098 * gst/gstpluginfeature.c:
14099 * gst/gstregistry.c:
14100 Getting tired of debugging. Disabled all the unreffing of
14101 plugins and features, which fixes the segfaults, but of
14102 course leaks like crazy. At least playbin works.
14104 2005-09-15 David Schleef <ds@schleef.org>
14106 * check/gst/gstplugin.c: (register_check_elements),
14107 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
14109 * gst/elements/gsttypefindelement.c: Fix refcounting.
14110 * gst/gsttypefind.c:
14111 * gst/gsttypefindfactory.c:
14112 * gst/gsttypefindfactory.h:
14114 2005-09-15 David Schleef <ds@schleef.org>
14116 * gst/gstindex.c: get refcounting correct.
14117 * gst/gstregistry.c: Handle the case where a feature/plugin is
14120 2005-09-15 David Schleef <ds@schleef.org>
14122 * check/Makefile.am:
14123 * check/gst/gstplugin.c: Add test
14124 * gst/gstplugin.c: Fix problems noticed by testsuite
14126 * gst/gstregistry.c:
14127 * gst/gstregistry.h:
14129 2005-09-15 David Schleef <ds@schleef.org>
14131 * gst/gstplugin.c: Implement semi-decent recounting and locking
14132 in plugins and plugin features.
14134 * gst/gstpluginfeature.c:
14135 * gst/gstpluginfeature.h:
14136 * gst/gstregistry.c:
14138 2005-09-15 Michael Smith <msmith@fluendo.com>
14140 * gst/gstregistry.c: (gst_registry_get_feature_list):
14141 Implement this. Makes oggdemux work; decodebin still broken.
14143 2005-09-14 David Schleef <ds@schleef.org>
14145 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
14147 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
14148 * gst/check/Makefile.am:
14149 * libs/gst/controller/Makefile.am:
14150 * libs/gst/dataprotocol/Makefile.am:
14152 2005-09-14 David Schleef <ds@schleef.org>
14154 * configure.ac: Remove getbits library. Nothing uses it, and
14155 it should be in something like liboil if someone did want
14157 * libs/gst/Makefile.am:
14158 * libs/gst/getbits/Makefile.am:
14159 * libs/gst/getbits/gbtest.c:
14160 * libs/gst/getbits/getbits.c:
14161 * libs/gst/getbits/getbits.h:
14162 * libs/gst/getbits/gstgetbits_generic.c:
14163 * libs/gst/getbits/gstgetbits_i386.s:
14164 * libs/gst/getbits/gstgetbits_inl.h:
14166 2005-09-14 David Schleef <ds@schleef.org>
14168 * gst/Makefile.am: Dist glib-compat.h
14170 2005-09-14 David Schleef <ds@schleef.org>
14172 * configure.ac: Remove gst/registries, since it's no longer used.
14173 * gst/registries/Makefile.am:
14174 * gst/registries/gstlibxmlregistry.c:
14175 * gst/registries/gstlibxmlregistry.h:
14176 * gst/registries/gstxmlregistry.c:
14177 * gst/registries/gstxmlregistry.h:
14178 * gst/registries/registrytest.c:
14180 2005-09-14 David Schleef <ds@schleef.org>
14182 * gst/glib-compat.h:
14183 * gst/gstregistryxml.c:
14184 Convergence is near. Seriously.
14186 2005-09-14 David Schleef <ds@schleef.org>
14188 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14189 * gst/glib-compat.h:
14190 Attempt #4 to appease the buildbots.
14192 2005-09-14 David Schleef <ds@schleef.org>
14194 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14197 2005-09-14 David Schleef <ds@schleef.org>
14199 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14202 2005-09-14 David Schleef <ds@schleef.org>
14204 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
14207 2005-09-14 David Schleef <ds@schleef.org>
14209 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14210 * gst/glib-compat.h: Add some functions that are in newer versions
14211 of glib than we care to require.
14212 * gst/gstregistryxml.c: Use them.
14214 2005-09-14 David Schleef <ds@schleef.org>
14216 * po/POTFILES.in: remove gst-register.c
14218 2005-09-14 David Schleef <ds@schleef.org>
14220 * docs/gst/gstreamer-docs.sgml:
14221 * docs/gst/gstreamer-sections.txt:
14222 * docs/gst/gstreamer.types:
14223 * docs/gst/tmpl/gstelement.sgml:
14224 * docs/gst/tmpl/gstplugin.sgml:
14225 * docs/gst/tmpl/gstpluginfeature.sgml:
14226 Documentation updates for registry changes.
14228 2005-09-14 David Schleef <ds@schleef.org>
14230 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
14231 because we don't require glib-2.8.
14233 2005-09-14 David Schleef <ds@schleef.org>
14235 * gst/gstregistryxml.c: Added. Essentially moved out of the
14236 registries directory.
14238 2005-09-14 David Schleef <ds@schleef.org>
14240 * check/Makefile.am:
14241 * check/generic/states.c:
14245 * gst/gst_private.h:
14246 * gst/gstelementfactory.c:
14251 * gst/gstpluginfeature.c:
14252 * gst/gstpluginfeature.h:
14253 * gst/gstregistry.c:
14254 * gst/gstregistry.h:
14255 * gst/gstregistrypool.c: remove
14256 * gst/gstregistrypool.h: remove
14257 * gst/gsttypefind.c:
14258 * gst/gsttypefindfactory.c:
14260 * tools/Makefile.am:
14261 * tools/gst-compprep.c:
14262 * tools/gst-inspect.c:
14263 * tools/gst-register.c: remove
14264 * tools/gst-xmlinspect.c:
14265 Registry rewrite. Changes registry from being a file created
14266 by a tool into a simple cache file created automatically by
14267 libgstreamer. Removed gst-register (because it's no longer
14268 needed). Remove registry pools, because we only have one
14269 registry implementation (XML). Fix up other subsystems as
14272 2005-09-13 Michael Smith <msmith@fluendo.com>
14274 * gst/gstconfig.h.in:
14275 Don't Use windows linking attributes for MinGW. Fixes #316157
14277 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
14279 * gst/gstutils.c: (set_state_async_thread_func),
14280 (gst_element_set_state_async):
14281 Apparently people think it's better if this function doesn't
14282 try to set the state to whatever state was asked for on the first
14283 call to this function for any object. Seriously.
14285 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
14287 * check/gst/gstpipeline.c: (GST_START_TEST):
14288 * docs/gst/gstreamer-sections.txt:
14289 * gst/gstutils.c: (set_state_async_thread_func),
14290 (gst_element_set_state_async):
14292 add a "gst_element_set_state_async" method that
14293 sets the state and starts a thread to make sure the state
14294 change completes as best as it can
14296 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
14298 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14299 codify design+behaviour in testsuite after discussion
14301 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
14303 * docs/gst/tmpl/gstelement.sgml:
14304 * docs/manual/appendix-quotes.xml:
14306 * gst/gstelement.c: (gst_element_set_state):
14309 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
14311 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14312 (gst_base_transform_prepare_output_buf),
14313 (gst_base_transform_handle_buffer):
14314 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
14315 (gst_capsfilter_prepare_buf):
14316 Remove the requirement for sub-classes to call the parent
14317 implementation of prepare_output_buffer with a wrapper function.
14319 * gst/gsttaglist.h:
14320 * gst/gsttagsetter.h:
14321 Fix #define wrapper
14323 2005-09-11 Stefan Kost <ensonic@users.sf.net>
14325 * docs/gst/gstreamer-sections.txt:
14328 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
14330 * docs/gst/gstreamer-sections.txt:
14331 * docs/gst/tmpl/gstelement.sgml:
14332 * docs/gst/tmpl/gstplugin.sgml:
14333 * gst/gstminiobject.c:
14335 docs now stop throwing warnings
14337 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
14339 * docs/gst/gstreamer-sections.txt:
14340 * docs/gst/gstreamer.types:
14341 * docs/gst/tmpl/gstpad.sgml:
14342 * docs/gst/tmpl/gsttypes.sgml:
14343 * gst/base/gstadapter.h:
14344 * gst/base/gstbasesink.h:
14345 * gst/base/gstbasesrc.h:
14351 * gst/gstelement.h:
14353 * gst/gstmessage.h:
14355 * gst/gststructure.c:
14356 * gst/registries/gstlibxmlregistry.h:
14357 various documentation fixes
14359 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
14361 * docs/gst/gstreamer-sections.txt:
14362 * docs/gst/tmpl/gstvalue.sgml:
14363 rearrange gstvalue section
14364 * gst/gstutils.c: (gst_element_state_get_name):
14366 * gst/gstvalue.c: (_gst_value_initialize):
14370 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
14372 * check/gst-libs/controller.c:
14373 Header include fix.
14374 * gst/base/gstbasetransform.c:
14375 (gst_base_transform_default_prepare_buf),
14376 (gst_base_transform_handle_buffer):
14377 * gst/base/gstbasetransform.h:
14378 Some more basetransform changes and fixes to enable sub-classes
14379 that modify buffer metadata only.
14380 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
14381 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
14382 (gst_capsfilter_prepare_buf):
14383 If the output pad has fixed allowed caps and input buffers
14384 don't have any, set the fixed caps on outgoing buffers.
14386 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
14387 * check/elements/identity.c: (GST_START_TEST):
14388 Make the error a little clearer when the test fails because
14389 identity made a copy of the buffer.
14390 * docs/gst/gstreamer-sections.txt:
14391 New symbols in gstbasetransform.h
14392 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14393 (gst_base_transform_init), (gst_base_transform_transform_size),
14394 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14395 (gst_base_transform_default_prepare_buf),
14396 (gst_base_transform_get_unit_size),
14397 (gst_base_transform_buffer_alloc),
14398 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14399 (gst_base_transform_change_state),
14400 (gst_base_transform_set_passthrough),
14401 (gst_base_transform_set_in_place),
14402 (gst_base_transform_is_in_place):
14403 * gst/base/gstbasetransform.h:
14404 Change BaseTransform to separate in_place operate from same_caps
14405 output. in_place implies that the element can perform the transform
14406 on incoming buffers in-place, even if the caps on the output are
14408 Sub-class elements can now implement special buffer allocation
14409 methods for outgoing buffers if they wish to.
14410 Big documentation addition.
14411 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
14412 * gst/elements/gstelements.c:
14413 Changes for basetransform modifications.
14414 * gst/elements/Makefile.am:
14415 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
14416 Compile fix. Extra debug output.
14418 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
14420 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
14422 add tests for valid pad naming
14423 * gst/check/gstcheck.c: (gst_check_log_message_func),
14424 (gst_check_log_critical_func):
14426 remove printing of code, it is fragile when the code contains
14427 % and the line number is enough info
14428 * gst/check/gstcheck.h:
14429 * gst/gstpad.c: (gst_pad_template_new):
14432 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
14435 say what CHECK flags we use
14436 * docs/libs/gstreamer-libs.types:
14437 * libs/gst/controller/Makefile.am:
14438 * libs/gst/controller/gst-controller.c:
14439 * libs/gst/controller/gst-controller.h:
14440 * libs/gst/controller/gst-helper.c:
14441 * libs/gst/controller/gst-interpolation.c:
14442 * libs/gst/controller/gstcontroller.c:
14443 * libs/gst/controller/gsthelper.c:
14444 * libs/gst/controller/gstinterpolation.c:
14445 * tools/gst-inspect.c: (print_plugin_info):
14446 we don't use dashes in header names
14448 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
14450 * check/Makefile.am:
14451 * check/gst/.cvsignore:
14452 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
14453 (gst_pipeline_suite), (main):
14454 adding a test for pipelines and state changes
14455 * gst/gstutils.c: (get_state_func):
14457 * gstreamer.spec.in:
14460 2005-09-08 Michael Smith <msmith@fluendo.com>
14462 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
14463 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
14464 (gst_file_src_is_seekable), (gst_file_src_get_size),
14465 (gst_file_src_start):
14466 * gst/elements/gstfilesrc.h:
14467 Various fixes for unseekable, unmmapable, and non-normal files, so
14468 that fallback to read() rather than mmap() works.
14469 * gst/gstevent.c: (gst_event_new_newsegment):
14470 Allow newsegment events with segment_start == segment_end, as will
14471 correctly happen if you use filesrc on a zero-size file, for
14474 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
14476 * gst/gstplugin.c: (gst_plugin_load_file):
14477 Call g_module_close when we don't load the module
14479 * gst/registries/gstlibxmlregistry.c:
14480 (gst_xml_registry_get_property):
14481 Port leak fix from 0.8
14483 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14485 * docs/gst/gstreamer-docs.sgml:
14486 * docs/gst/tmpl/.cvsignore:
14487 * docs/gst/tmpl/gsttrace.sgml:
14488 * docs/gst/tmpl/gsttrashstack.sgml:
14491 * gst/gstelement.h:
14493 * gst/gstmessage.c:
14494 * gst/gstmessage.h:
14497 * gst/gsttaginterface.c:
14498 * gst/gsttaginterface.h:
14499 * gst/gsttaglist.c:
14500 * gst/gsttaglist.h:
14501 * gst/gsttagsetter.c:
14502 * gst/gsttagsetter.h:
14505 * gst/gsttrashstack.c:
14506 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
14507 inlined docs for gsttrace, gsttrashstack
14509 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14512 * gst/elements/gstbufferstore.h:
14513 * gst/elements/gsttypefindelement.c:
14514 * gst/elements/gsttypefindelement.h:
14516 * gst/gsttypefind.c:
14517 * gst/gsttypefind.h:
14518 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
14519 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
14520 (gst_type_find_factory_dispose),
14521 (gst_type_find_factory_unload_thyself),
14522 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
14523 (gst_type_find_factory_get_caps),
14524 (gst_type_find_factory_get_extensions),
14525 (gst_type_find_factory_call_function):
14526 * gst/gsttypefindfactory.h:
14527 * gst/registries/gstlibxmlregistry.c:
14528 * gst/registries/gstxmlregistry.c:
14529 splitted gsttypefind into gsttypefind, gsttypefindfactory
14531 2005-09-07 Andy Wingo <wingo@pobox.com>
14533 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
14534 condition whereby the pad's task function is entered before the
14535 pad_mode variable was set.
14537 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
14539 * gst/gstpad.c: (gst_pad_alloc_buffer):
14540 Catch misbehaving pad_alloc functions that don't
14541 set up caps and do it for them.
14543 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14545 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14546 test for pipe!=NULL
14547 * docs/gst/tmpl/.cvsignore:
14548 * docs/gst/tmpl/gstmemchunk.sgml:
14549 * docs/gst/tmpl/gstparse.sgml:
14550 * docs/gst/tmpl/gsttaglist.sgml:
14551 * docs/gst/tmpl/gsttagsetter.sgml:
14552 * docs/gst/tmpl/gsttypefind.sgml:
14553 * docs/gst/tmpl/gsttypefindfactory.sgml:
14554 * gst/gstmemchunk.c:
14557 * gst/gsttaginterface.c:
14558 * gst/gsttypefind.c:
14559 * gst/gsttypefind.h:
14562 === release 0.9.2 ===
14564 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
14569 releasing 0.9.2, "South"
14571 2005-09-05 Andy Wingo <wingo@pobox.com>
14573 * gst/registries/gstxmlregistry.h:
14574 * gst/registries/gstxmlregistry.c: Um... resurrect...
14576 * gst/registries/gstxmlregistry.h:
14577 * gst/registries/gstxmlregistry.c: and update to newer API.
14578 Incidentally they should be a bit faster now that they don't have
14581 2005-09-05 Andy Wingo <wingo@pobox.com>
14583 * gst/registries/gstxmlregistry.h:
14584 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
14585 replaced by the libxml registry a while back
14587 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14589 * docs/gst/tmpl/gstplugin.sgml:
14590 * gst/elements/gstelements.c:
14592 * gst/gstplugin.c: (gst_plugin_register_func),
14593 (gst_plugin_desc_copy), (gst_plugin_desc_free),
14594 (gst_plugin_get_source):
14596 * gst/registries/gstlibxmlregistry.c: (load_plugin),
14597 (gst_xml_registry_save_plugin):
14598 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
14599 (gst_xml_registry_save_plugin):
14600 * tools/gst-inspect.c: (print_plugin_info):
14601 add a "source" plugin description field, to represent the source
14602 module this plugin is a part of. By default GST_PLUGIN_DEFINE
14603 will set it to PACKAGE, which is automake's idea of the name of
14604 the source project.
14606 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14611 * docs/Makefile.am:
14612 * docs/faq/Makefile.am:
14613 * docs/gst/tmpl/gstelement.sgml:
14614 * docs/gst/tmpl/gsttypes.sgml:
14615 * docs/htmlinstall.mak:
14616 * docs/manual/Makefile.am:
14617 * docs/pwg/Makefile.am:
14618 reorganize doc build a little
14619 split out docbook and gtk-doc stuff
14620 have two separate --enable's and enable them through autogen
14621 but disable by default in configure (to be similar to other
14623 * gstreamer.spec.in:
14624 clean up docs install
14642 translation updates
14644 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
14646 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14649 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14650 (gst_fake_sink_change_state):
14651 Make state change function thread-safe.
14653 * gst/gstpad.c: (gst_pad_alloc_buffer):
14654 Set offset on generic buffer allocated by fallback.
14656 2005-09-03 Stefan Kost <ensonic@users.sf.net>
14658 * docs/gst/gstreamer-sections.txt:
14659 * docs/gst/tmpl/gstelement.sgml:
14661 * libs/gst/controller/gst-controller.c:
14662 (gst_controlled_property_set_interpolation_mode),
14663 (gst_controlled_property_new),
14664 (gst_controller_find_controlled_property):
14665 run the wingo-magic script against the docs
14667 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14669 * docs/gst/gstreamer-docs.sgml:
14670 * docs/gst/gstreamer-sections.txt:
14671 * docs/gst/tmpl/.cvsignore:
14672 * docs/gst/tmpl/gstelementdetails.sgml:
14673 * docs/gst/tmpl/gstelementfactory.sgml:
14676 * gst/gstelementfactory.c:
14677 * gst/gstelementfactory.h:
14678 merged elementdetails docs into elementfactory docs
14681 2005-09-02 Andy Wingo <wingo@pobox.com>
14683 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14684 consider this enum an enum and not a flags.
14686 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14688 * docs/gst/gstreamer-docs.sgml:
14689 * docs/gst/tmpl/.cvsignore:
14690 * docs/gst/tmpl/gstghostpad.sgml:
14691 * docs/gst/tmpl/gstiterator.sgml:
14692 * docs/gst/tmpl/gstmacros.sgml:
14693 * docs/gst/tmpl/gstrealpad.sgml:
14694 * docs/gst/tmpl/gstregistry.sgml:
14695 * docs/gst/tmpl/gstregistrypool.sgml:
14696 * docs/gst/tmpl/gststructure.sgml:
14697 * docs/gst/tmpl/gstsystemclock.sgml:
14698 * docs/gst/tmpl/gsttrace.sgml:
14699 * gst/gstghostpad.c:
14701 * gst/gstmemchunk.c:
14702 * gst/gstmemchunk.h:
14704 * gst/gstregistry.c:
14705 * gst/gstregistrypool.c:
14706 * gst/gststructure.c:
14707 * gst/gstsystemclock.c:
14710 2005-09-02 Andy Wingo <wingo@pobox.com>
14712 * gst/gstelement.h (GstState): Renamed from GstElementState,
14713 changed to be a normal enum instead of flags.
14714 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14715 munged to be GST_STATE_CHANGE_*.
14716 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14717 work with the new state representation.
14718 (GstStateChange): New enumeration of possible state transitions.
14719 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14720 (GstElementClass::change_state): Pass the GstStateChange along as
14721 an argument. Helps language bindings, so they don't have to use
14722 tricky lock-needing macros like GST_STATE_CHANGE ().
14724 * scripts/update-states (file): New script. Run it on a file to
14725 update it for state naming and API changes. Updates files in
14728 * All files updated for the new API.
14730 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
14732 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14733 * gst/gstutils.c: (gst_util_set_value_from_string),
14734 (gst_util_set_object_arg):
14735 fix a bunch of unchecked return values
14736 * tools/gst-complete.c: (main):
14737 * gstreamer.spec.in:
14740 2005-09-01 Wim Taymans <wim@fluendo.com>
14742 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14743 (gst_base_sink_event), (gst_base_sink_do_sync),
14744 (gst_base_sink_handle_event):
14745 * gst/base/gstbasesink.h:
14746 Handle newsegments more correctly.
14751 * gst/gstevent.c: (gst_event_new_newsegment):
14752 A newsegment cannot have a start_time of -1
14754 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
14756 * win32/gstenumtypes.c:
14757 * win32/gstenumtypes.h:
14760 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14762 * libs/gst/controller/gst-controller.c:
14763 (gst_controlled_property_set_interpolation_mode),
14764 (gst_controlled_property_new):
14765 fixed boolean again
14767 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
14769 * docs/faq/gst-uninstalled:
14774 * gst/gstutils.c: (gst_element_link_filtered):
14776 add gst_element_link_filtered
14778 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14780 * docs/gst/gstreamer-docs.sgml:
14781 * docs/gst/gstreamer-sections.txt:
14782 * docs/gst/tmpl/.cvsignore:
14783 * docs/gst/tmpl/gsterror.sgml:
14784 * docs/gst/tmpl/gstfilter.sgml:
14785 * docs/gst/tmpl/gsturihandler.sgml:
14786 * docs/gst/tmpl/gsturitype.sgml:
14787 * docs/gst/tmpl/gstutils.sgml:
14788 * docs/gst/tmpl/gstxml.sgml:
14793 * gst/gsturitype.c:
14796 inlined more docs, fixed double id-ref
14798 2005-08-31 Wim Taymans <wim@fluendo.com>
14800 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14801 (gst_base_transform_handle_buffer):
14802 Passthrough elements don't need the caps as they don't care.
14804 2005-08-31 Wim Taymans <wim@fluendo.com>
14806 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14807 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14808 Don't leak refcounts on buffers.
14810 2005-08-31 Wim Taymans <wim@fluendo.com>
14812 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14813 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14814 (gst_base_transform_chain), (gst_base_transform_change_state):
14815 * gst/base/gstbasetransform.h:
14816 Handle the case where we are not negotiated more gracefully.
14818 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
14820 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14821 (gst_file_src_map_region):
14822 Set READONLY flag on mmap'ed buffers, otherwise
14823 gst_buffer_make_writable() won't work properly (#314708).
14825 2005-08-31 Wim Taymans <wim@fluendo.com>
14827 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14828 passthrough elements can even do inplace on non writable
14829 buffers (as they don't touch them).
14831 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14833 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14834 (gst_test_mono_source_set_property),
14835 (gst_test_mono_source_class_init), (GST_START_TEST),
14836 (gst_controller_suite):
14837 more tests (hehe I have the most)
14839 describe popping messages whenusing mulltiple sources
14840 * libs/gst/controller/gst-controller.c:
14841 (gst_controlled_property_set_interpolation_mode),
14842 (gst_controlled_property_new):
14843 * libs/gst/controller/gst-controller.h:
14844 * libs/gst/controller/gst-interpolation.c:
14845 implement boolean properties
14847 2005-08-31 Wim Taymans <wim@fluendo.com>
14849 * gst/gstminiobject.c: (gst_mini_object_ref):
14850 Cannot assert that the refcount has to be positive
14851 since a disposed object can be resurrected.
14853 2005-08-31 Wim Taymans <wim@fluendo.com>
14855 * gst/gstpad.c: (gst_pad_init):
14856 Revert change, need to first fix badly behaving
14859 2005-08-30 Wim Taymans <wim@fluendo.com>
14861 * check/elements/fakesrc.c: (setup_fakesrc):
14862 * check/elements/identity.c: (setup_identity):
14863 Activate pads before using them.
14865 2005-08-30 Wim Taymans <wim@fluendo.com>
14867 * gst/base/gstadapter.c: (gst_adapter_flush):
14868 Flushing out 0 bytes is ok for this function.
14870 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14871 no newsegment gives a warning and sets the start/stop to
14874 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14875 (gst_base_transform_set_passthrough):
14878 * gst/gstminiobject.c: (gst_mini_object_ref):
14879 Check refcount here too.
14881 * gst/gstpad.c: (gst_pad_init):
14882 Pads are initially flushing and refusing data.
14884 * gst/gstutils.c: (gst_element_link_pads_filtered):
14885 When adding a capsfilter element make sure it has the
14886 same state as the parent bin.
14888 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14890 * docs/gst/tmpl/.cvsignore:
14891 * docs/gst/tmpl/gstformat.sgml:
14892 * docs/gst/tmpl/gstversion.sgml:
14896 * gst/gstversion.h.in:
14897 more docs and two more inlined
14899 2005-08-30 Wim Taymans <wim@fluendo.com>
14901 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14902 Don't sync to clock.
14904 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14906 * docs/gst/gstreamer-sections.txt:
14907 ultral33t func10ns deserve to appear in the docs actually
14908 * docs/gst/tmpl/.cvsignore:
14909 * docs/gst/tmpl/gstcompat.sgml:
14910 * docs/gst/tmpl/gstconfig.sgml:
14911 * gst/check/gstcheck.c:
14913 * gst/gstconfig.h.in:
14916 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14918 * docs/gst/tmpl/.cvsignore:
14919 * docs/gst/tmpl/gstquery.sgml:
14920 * docs/gst/tmpl/gstutils.sgml:
14923 inlined and extended docs
14925 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14927 * check/gst-libs/controller.c: (GST_START_TEST),
14928 (gst_controller_suite):
14930 * docs/gst/tmpl/gstutils.sgml:
14931 * docs/libs/gstreamer-libs-sections.txt:
14932 * docs/libs/tmpl/gstdataprotocol.sgml:
14934 * examples/controller/audio-example.c: (main):
14935 controller example works now
14938 * tools/gst-inspect.c: (print_element_properties_info):
14939 show param spec flags
14941 2005-08-29 Andy Wingo <wingo@pobox.com>
14943 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14945 2005-08-28 Andy Wingo <wingo@pobox.com>
14947 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14948 as having two arguments instead of just one. Allows superclasses
14949 to access information on subclasses -- see the terrible for() loop
14950 in gtype.c:g_type_create_instance for the reason why. All callers
14953 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14955 * docs/design/part-messages.txt:
14957 * docs/gst/tmpl/.cvsignore:
14958 * docs/gst/tmpl/gstcaps.sgml:
14959 * docs/gst/tmpl/gstclock.sgml:
14965 * gst/gstmessage.c:
14966 added descriptions for bus and message
14967 inline caps and clock docs
14969 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14971 * gst/gstmessage.c:
14972 * gst/gstmessage.h:
14975 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14977 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14980 2005-08-26 Andy Wingo <wingo@pobox.com>
14982 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14983 element_set_state's return val.
14984 (test_2_elements): Add test that's been disabled for months.
14986 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14987 can-activate-pull properties.
14989 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14990 can-activate-pull properties. Implement is_seekable so fakesrc can
14991 operate in pull mode.
14993 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14995 (gst_base_sink_activate, gst_base_sink_activate_pull)
14996 (gst_base_sink_activate_push): Make activation mode choosing work.
14998 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14999 is right. Make pull mode work. Post an eos before pausing in pull
15001 (gst_base_sink_change_state): Pay attention to the core's
15002 change_state() return val.
15004 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
15005 has-getrange properties. Cleanups.
15007 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
15008 has_getrange and replace with can_activate_pull and
15011 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
15012 locking comments. Remove has_loop, has_chain and replace with
15013 can_activate_pull and can_activate_push.
15015 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
15018 * examples/Makefile.am:
15019 * examples/metadata/Makefile.am:
15020 * examples/metadata/read-metadata.c: (message_loop),
15021 (have_pad_handler), (make_pipeline), (print_tag), (main):
15022 Add metadata reading example that loops over a list of filenames,
15023 dumping any tags found.
15025 * gst/gstbus.c: (gst_bus_dispose):
15026 * gst/gstelement.c: (gst_element_dispose):
15027 Release a few potentially-held references in dispose.
15029 2005-08-26 Stefan Kost <ensonic@users.sf.net>
15031 * docs/gst/tmpl/gstminiobject.sgml:
15032 do *not* add tmpl/*.sgml files to CVS!
15034 2005-08-26 Stefan Kost <ensonic@users.sf.net>
15036 * libs/gst/bytestream/.cvsignore:
15037 * libs/gst/bytestream/Makefile.am:
15038 * libs/gst/bytestream/adapter.c:
15039 * libs/gst/bytestream/adapter.h:
15040 * libs/gst/bytestream/bytestream.c:
15041 * libs/gst/bytestream/bytestream.h:
15042 * libs/gst/bytestream/filepad.c:
15043 * libs/gst/bytestream/filepad.h:
15044 removing obsolete files
15046 2005-08-26 Stefan Kost <ensonic@users.sf.net>
15048 * docs/gst/gstreamer-docs.sgml:
15049 * docs/libs/gstreamer-libs-docs.sgml:
15050 disabed additional index entries again, as this makes docs-gen just
15051 slow and they aren't useful yet
15052 * docs/libs/gstreamer-libs-sections.txt:
15053 little -section.txt cleanup for libs
15055 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
15057 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15058 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
15059 fix up some debugging
15060 (gst_base_transform_get_unit_size),
15061 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15062 (gst_base_transform_handle_buffer):
15063 * gst/base/gstbasetransform.h:
15064 handle and store timed NEWSEGMENT events so that subclasses that
15065 calculate time by counting samples have a segment_start time they
15066 need to add to their timestamps - see audioresample
15068 2005-08-26 Stefan Kost <ensonic@users.sf.net>
15071 removed ';' from the end of macro defs
15072 * docs/gst/gstreamer-docs.sgml:
15073 * docs/gst/gstreamer-sections.txt:
15074 * docs/gst/tmpl/.cvsignore:
15076 * gst/gstelement.c: (gst_element_class_init),
15077 (gst_element_set_state), (activate_pads),
15078 (gst_element_save_thyself):
15079 * gst/gstevent.c: (gst_event_new_newsegment):
15081 * gst/gstiterator.c:
15082 * gst/gstiterator.h:
15085 * gst/gstutils.c: (gst_pad_query_convert):
15087 fixed parameter name mismatches between source, header and docs
15088 added some more docs, resolved the last batch of unused elements in
15089 docs (now someone needs to doc them)
15091 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
15093 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
15094 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
15095 don't walk through the plugins backwards. Where is all this
15096 reversed logic coming from ?
15098 2005-08-25 Wim Taymans <wim@fluendo.com>
15100 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15101 (gst_base_transform_transform_size),
15102 (gst_base_transform_configure_caps),
15103 (gst_base_transform_get_unit_size),
15104 (gst_base_transform_buffer_alloc),
15105 (gst_base_transform_change_state):
15106 * gst/base/gstbasetransform.h:
15107 Cache caps unit_size.
15108 Make sure we cannot negotiate up and downstream at the
15111 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
15113 * gst/gst.c: (init_pre), (init_post):
15114 register the installed plugin path after the env var
15115 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
15116 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
15117 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
15118 directories, so the tests can prefer uninstalled over installed
15120 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
15122 * gst/base/gstbasetransform.h:
15127 2005-08-25 Wim Taymans <wim@fluendo.com>
15129 * gst/gstbin.c: (bin_bus_handler):
15130 Be a bit more conservative about the posted message.
15132 * gst/gstbus.c: (gst_bus_post):
15133 Some cleanups, warn wrong return values.
15135 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
15137 * check/gst/gstbin.c: (GST_START_TEST):
15138 * gst/gstbin.c: (bin_bus_handler):
15139 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
15140 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
15141 (gst_message_new_warning), (gst_message_new_tag),
15142 (gst_message_new_state_changed), (gst_message_new_segment_start),
15143 (gst_message_new_segment_done), (gst_message_new_custom):
15144 * gst/gstmessage.h:
15145 * tools/gst-launch.c: (event_loop):
15146 * tools/gst-md5sum.c: (event_loop):
15147 Revert unpopular change for GST_MESSAGE_SRC to GObject.
15149 2005-08-25 Wim Taymans <wim@fluendo.com>
15151 * check/generic/states.c: (GST_START_TEST):
15152 Cleanup can be done at the end.
15154 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
15155 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
15156 (gst_task_get_state), (gst_task_start), (gst_task_pause):
15157 Oh boy.. Thanks for finding this, Thomas.
15159 2005-08-25 Stefan Kost <ensonic@users.sf.net>
15161 * docs/gst/gstreamer.types:
15162 added missing types
15164 2005-08-25 Stefan Kost <ensonic@users.sf.net>
15166 * docs/gst/gstreamer-docs.sgml:
15167 * docs/gst/gstreamer-sections.txt:
15168 * docs/gst/tmpl/.cvsignore:
15170 * gst/gstiterator.c:
15172 * gst/registries/gstxmlregistry.h:
15173 added missing classes and symbols (123 more to go)
15174 removed removed symbols from section file
15175 fixed many doc-comments
15177 2005-08-24 Wim Taymans <wim@fluendo.com>
15179 * check/generic/states.c: (GST_START_TEST):
15180 Make sure all tasks are stopped.
15182 * check/gst/gstbin.c: (GST_START_TEST):
15183 Unref after usage for proper valgrinding.
15185 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
15186 Really wait for the task to stop before destroying the
15189 * gst/gstqueue.c: (gst_queue_sink_activate_push),
15190 (gst_queue_src_activate_push):
15191 Small cleanups. Don't stop the task when we did not start
15194 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
15195 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
15196 (gst_task_get_state), (gst_task_start), (gst_task_pause),
15199 Protect the stream lock with the object lock.
15200 Disallow setting the stream lock when running.
15201 Add cleanup_all to wait for the threadpool to finish.
15202 Remove code to autoallocate a mutex if none was provided.
15203 Add _join() to wait for a task to stop.
15204 Protect the thread pool with a global lock.
15206 2005-08-24 Wim Taymans <wim@fluendo.com>
15208 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15209 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15210 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
15211 * gst/base/gstbasesink.h:
15212 Handle newsegment events correctly.
15213 Drop buffers out of the segment range.
15215 2005-08-22 Andy Wingo <wingo@pobox.com>
15217 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
15218 macro, implements an interface and gstimplementsinterface for a
15221 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
15223 * check/Makefile.am:
15224 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
15225 add a test that does a bunch of state changes on elements
15226 needs some fixing for valgrind
15227 * check/states/sinks.c: (gst_object_suite):
15230 add prototype for gst_caps_is_equal_fixed
15232 * gst/gstregistrypool.c:
15235 2005-08-24 Andy Wingo <wingo@pobox.com>
15237 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
15238 convert a negative value. Doesn't make much sense. Mostly this is
15239 here to force callers to ensure -1 maps to -1.
15241 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
15243 * docs/pwg/advanced-types.xml:
15244 Well done to Michael for catching my deliberate introduction
15245 of this spelling mistake.
15246 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
15247 * gst/gstelement.h:
15248 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
15249 unlink pads before removing the element from the bin.
15251 2005-08-24 Andy Wingo <wingo@pobox.com>
15253 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
15254 the same thing as GST_DEBUG=*:4.
15255 (parse_debug_level, parse_debug_category): New helper parsers.
15257 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
15259 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15260 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
15261 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
15262 (gst_base_transform_buffer_alloc),
15263 (gst_base_transform_handle_buffer):
15264 use gboolean return values and pointers to size so we can use the
15265 full GST_BUFFER_SIZE range (guint) for buffer sizes
15266 use GstPadDirection for transform_caps
15267 * gst/base/gstbasetransform.h:
15268 rename get_size to get_unit_size since that's what it is
15269 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
15270 use GstPadDirection for transform_caps
15271 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15273 cleanup and debugging
15275 2005-08-24 Stefan Kost <ensonic@users.sf.net>
15277 * gst/gstelement.c: (gst_element_class_init),
15278 (gst_element_set_state), (activate_pads),
15279 (gst_element_save_thyself):
15280 * tools/gst-compprep.c: (main):
15281 * tools/gst-inspect.c: (print_element_properties_info):
15282 * tools/gst-xmlinspect.c: (print_element_properties):
15283 Fixed long standing mem-leak
15285 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
15287 * check/gst/gstbin.c: (GST_START_TEST):
15288 * gst/gstbin.c: (bin_bus_handler):
15289 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
15290 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
15291 (gst_message_new_warning), (gst_message_new_tag),
15292 (gst_message_new_state_changed), (gst_message_new_segment_start),
15293 (gst_message_new_segment_done), (gst_message_new_custom):
15294 * gst/gstmessage.h:
15295 * tools/gst-launch.c: (event_loop):
15296 * tools/gst-md5sum.c: (event_loop):
15297 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
15298 that applications can sensibly post custom messages with references
15299 to their own objects.
15301 2005-08-24 Andy Wingo <wingo@pobox.com>
15303 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
15306 2005-08-24 Wim Taymans <wim@fluendo.com>
15308 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15309 (gst_base_transform_transform_caps),
15310 (gst_base_transform_transform_size),
15311 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15312 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15313 (gst_base_transform_handle_buffer):
15314 * gst/base/gstbasetransform.h:
15315 Many fixes and new features added by Thomas. Can now also do
15316 transforms with variable sizes and a custom fixate_caps function.
15318 2005-08-24 Wim Taymans <wim@fluendo.com>
15320 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15324 Cast to ClockTime before formatting to time.
15329 2005-08-24 Stefan Kost <ensonic@users.sf.net>
15331 * check/gst-libs/controller.c: (GST_START_TEST),
15332 (gst_controller_suite):
15333 * docs/gst/tmpl/gstcaps.sgml:
15334 * docs/gst/tmpl/gstghostpad.sgml:
15335 * docs/gst/tmpl/gstquery.sgml:
15336 * docs/gst/tmpl/gstutils.sgml:
15337 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
15338 (gst_object_sink_values), (gst_object_get_value_arrays),
15339 (gst_object_get_value_array):
15340 gracefully handle helper method calls to objects that are not beeing
15341 controlled, added test case for that
15343 2005-08-23 Wim Taymans <wim@fluendo.com>
15345 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
15346 (gst_event_new_newsegment), (gst_event_parse_newsegment),
15347 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
15348 (gst_event_parse_qos), (gst_event_new_seek),
15349 (gst_event_parse_seek):
15351 Some more debugging output and doc cleanups.
15353 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15354 Fix possible deadlock.
15356 2005-08-23 Stefan Kost <ensonic@users.sf.net>
15358 * docs/gst/gstreamer-docs.sgml:
15359 * docs/gst/gstreamer-sections.txt:
15360 * docs/gst/gstreamer.types:
15361 * docs/gst/tmpl/.cvsignore:
15364 * gst/gstelement.c:
15366 added 100 symbols from gstreamer-unused.txt to the right sections
15367 fixed more broken comments
15368 added GstBus to docs
15370 2005-08-23 Stefan Kost <ensonic@users.sf.net>
15372 * docs/gst/gstreamer-sections.txt:
15373 * docs/gst/tmpl/.cvsignore:
15374 * docs/gst/tmpl/gstbin.sgml:
15375 * docs/gst/tmpl/gstbuffer.sgml:
15376 * gst/base/gstbasesrc.c:
15377 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
15380 * tools/gst-launch.1.in:
15381 inlined more doc comments, added missing comments and fixed comments
15384 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
15386 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15390 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
15392 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
15393 * gst/gststructure.h:
15394 add a fixate function for booleans; add a FIXME that these func
15395 names should probably be gst_structure_fixate_*
15397 2005-08-23 Stefan Kost <ensonic@users.sf.net>
15399 * docs/gst/gstreamer-docs.sgml:
15400 * docs/gst/gstreamer-sections.txt:
15402 * gst/gstbin.c: (gst_bin_get_type),
15403 (gst_bin_child_proxy_get_child_by_index),
15404 (gst_bin_child_proxy_get_children_count),
15405 (gst_bin_child_proxy_init):
15406 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15407 (gst_child_proxy_get_child_by_index),
15408 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
15409 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
15410 (gst_child_proxy_get), (gst_child_proxy_set_property),
15411 (gst_child_proxy_set_valist), (gst_child_proxy_set),
15412 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
15413 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
15414 * gst/gstchildproxy.h:
15415 * gst/parse/grammar.y:
15416 * tools/gst-inspect.c: (print_interfaces),
15417 (print_element_properties_info), (print_element_info):
15418 ported gstchildproxy over from 0.8
15419 ported gst-inspect fixes and enhancements over from 0.8
15421 2005-08-22 Wim Taymans <wim@fluendo.com>
15423 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15424 (gst_base_transform_handle_buffer):
15425 Also call the transform function if we have ANY caps.
15427 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
15430 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
15432 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
15433 Don't pretend to handle seek events if the source is not seekable
15435 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
15437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15438 Remove extra parameter to debug output
15440 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15441 (gst_base_src_do_seek), (gst_base_src_activate_push):
15442 Fix seek event handling.
15444 * gst/gstpipeline.c: (gst_pipeline_change_state):
15445 * gst/gstqueue.c: (gst_queue_handle_sink_event),
15446 (gst_queue_src_activate_push):
15447 Don't start the src pad task on FLUSH_STOP if the pad
15451 2005-08-22 Wim Taymans <wim@fluendo.com>
15453 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
15454 Added check for gst_static_caps_get() refcounting.
15456 2005-08-22 Wim Taymans <wim@fluendo.com>
15458 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
15459 Make _static_caps_get() refcounting sane.
15461 * gst/gstelement.c: (gst_element_set_state):
15462 Add g_return_val_if_fail() to protect against segfaults.
15464 2005-08-22 Stefan Kost <ensonic@users.sf.net>
15466 * docs/gst/tmpl/gstevent.sgml:
15469 inlined remaining docs, added missing doc comments
15471 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
15473 * check/gst/gstbin.c: (GST_START_TEST):
15474 since we don't know when preroll is done, use refcount range
15476 * gst/check/gstcheck.h:
15477 add macro for checking refcount range
15479 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
15481 * check/Makefile.am:
15482 clean up environment for when registry gets built versus
15483 when actual tests are run; valgrind seems to not report
15484 leaks if GST_PLUGIN_PATH is set to some specific values
15485 * check/gst/gstbin.c: (GST_START_TEST):
15486 add more refcounting checks; maybe this exposes a
15488 * common/check.mak:
15489 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15490 * gst/check/gstcheck.h:
15491 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
15492 (gst_bin_change_state):
15493 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
15494 add/fix debugging/whitespace
15496 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
15498 * check/gst/gstevent.c: (event_probe), (test_event),
15500 Er, don't call gst_bin_watch_for_state_change you idiot.
15502 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
15504 * check/Makefile.am:
15505 Use CHECK_CFLAGS and CHECK_LIBS
15506 * check/gst/gstevent.c: (event_probe), (test_event),
15509 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15510 (gst_base_src_start), (gst_base_src_stop),
15511 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15512 (gst_base_src_change_state):
15513 Sprinkle gst_base_src_stop liberally around error paths to fix
15514 problems reusing a source after failed state changes.
15515 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15516 (helper_find_suggest), (gst_type_find_helper):
15517 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
15519 * docs/gst/tmpl/gstevent.sgml:
15520 Migrate part of the docs from the SGML file. Wait for ensonic to
15521 tell me how I did it wrong ;)
15522 * tools/gst-typefind.c: (main):
15523 Extra robustness to state changes between files.
15525 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
15527 * check/Makefile.am:
15528 don't valgrind the controller test - it's leaking - Stefan, HELP
15529 * gst/check/gstcheck.c: (gst_check_message_error),
15530 (gst_check_chain_func), (gst_check_setup_element),
15531 (gst_check_teardown_element), (gst_check_setup_src_pad),
15532 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
15533 (gst_check_teardown_sink_pad):
15534 * gst/check/gstcheck.h:
15535 add a bunch of methods to set up elements, and src and sink pads
15536 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
15537 * check/elements/identity.c: (setup_identity), (cleanup_identity),
15540 * gst/gstmessage.c:
15542 whitespace/doc fixes
15544 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15546 * gst/gstelement.h:
15547 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
15548 be handled by the application and not always printed as well
15550 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15552 * check/Makefile.am:
15554 * gst/check/gstcheck.c: (gst_check_message_error):
15555 * gst/check/gstcheck.h:
15556 add a fail_unless_equals_int
15557 add fail_unless for error messages
15559 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15561 * check/Makefile.am:
15563 * common/Makefile.am:
15564 * common/check.mak:
15566 factor out some of the common stuff so we can use it
15568 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15570 * check/Makefile.am:
15571 * check/gst/gstiterator.c: (GST_START_TEST):
15572 * check/gst/gstsystemclock.c: (GST_START_TEST),
15573 (gst_systemclock_suite):
15574 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15576 valgrind more tests
15578 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15580 * check/elements/.cvsignore:
15581 * check/elements/gstfakesrc.c:
15582 rename to name of element
15583 * check/elements/identity.c: (chain_func), (event_func),
15584 (setup_identity), (cleanup_identity), (GST_START_TEST),
15585 (identity_suite), (main):
15586 add a test for identity
15587 * check/Makefile.am:
15588 * pkgconfig/Makefile.am:
15589 * pkgconfig/gstreamer-check.pc.in:
15590 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15594 move the check stuff to a library that gets installed
15595 * check/gst-libs/controller.c: (GST_START_TEST):
15596 * check/gst-libs/gdp.c:
15597 * check/gst/gst.c: (GST_START_TEST):
15598 * check/gst/gstbin.c:
15599 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15600 * check/gst/gstbus.c:
15601 * check/gst/gstcaps.c: (GST_START_TEST):
15602 * check/gst/gstelement.c:
15603 * check/gst/gstghostpad.c:
15604 * check/gst/gstiterator.c:
15605 * check/gst/gstmessage.c:
15606 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
15607 * check/gst/gstobject.c:
15608 * check/gst/gstpad.c: (GST_START_TEST):
15609 * check/gst/gststructure.c: (GST_START_TEST):
15610 * check/gst/gstsystemclock.c: (GST_START_TEST),
15611 (gst_systemclock_suite):
15612 * check/gst/gsttag.c: (gst_tag_suite):
15613 * check/gst/gstvalue.c:
15614 * check/pipelines/cleanup.c:
15615 * check/pipelines/simple_launch_lines.c:
15616 * check/states/sinks.c:
15617 change include statement
15619 * docs/gst/gstreamer-sections.txt:
15620 * docs/gst/tmpl/gstpad.sgml:
15621 document more pad stuff
15622 * gst/gstminiobject.c: (gst_mini_object_ref),
15623 (gst_mini_object_unref):
15626 2005-08-19 Stefan Kost <ensonic@users.sf.net>
15628 * docs/gst/tmpl/gst.sgml:
15630 eliminate another tmpl file, fix spelling in the long-description
15632 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15634 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15635 (test_event), (timediff), (gstevents_suite):
15636 Should fix build on 64-bit arch's
15638 2005-08-18 Andy Wingo <wingo@pobox.com>
15640 Make sure that when a pipeline goes to PLAYING, that data has
15641 actually hit the sink.
15643 * check/states/sinks.c (test_sink): A sink that doesn't get any
15644 data shouldn't return SUCCESS for going to either PLAYING or
15645 PAUSED. Test also the return values on the way back down.
15647 * gst/gstelement.c (gst_element_set_state): When changing the
15648 state of an element currently changing state asynchronously, go to
15649 lost-state after commiting the pending state. Makes future calls
15650 to get_state continue to return ASYNC.
15652 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15653 ASYNC when going to PLAYING if we still don't have preroll, as can
15654 happen with live sources.
15656 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15658 * docs/pwg/advanced-types.xml:
15659 Hack long paragraph into 2 chunks as a workaround for buggy
15660 jadetex version in sid and breezy that loops infinitely and
15663 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15665 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15666 (test_event), (timediff), (gstevents_suite):
15667 Provide more error margin in clock measurements to allow for
15668 g_get_current_time inaccuracies.
15670 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15672 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15673 (test_event), (timediff), (gstevents_suite):
15674 Fix error message output so I might be able to tell why the
15675 test works here but fails on the build farm.
15677 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15679 * check/Makefile.am:
15680 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15681 (test_event), (timediff), (gstevents_suite), (main):
15684 * docs/design/part-seeking.txt:
15685 Spelling correction
15687 * docs/gst/tmpl/gstevent.sgml:
15688 * docs/gst/tmpl/gstfakesrc.sgml:
15691 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15692 Treat a buffer-without-newsegment the same as a receiving
15693 a newsegment not in time format, and disable syncing to the clock
15696 * gst/gstbus.c: (gst_bus_set_sync_handler):
15697 Assert if anyone tries to replace the existing sync_handler for bus,
15698 as only the owner should be setting it.
15701 Have a fixed set of custom event enums with events identified by
15702 their structure name (as in 0.8), rather than a free-for-all
15703 allowing collisions between enum values from different plugins.
15705 * gst/gstpad.c: (gst_pad_class_init):
15708 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15709 Handle out-of-band downstream events from the sending thread.
15711 2005-08-17 Andy Wingo <wingo@pobox.com>
15713 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15714 play-timeout==0 to mean no timeout at all. In that case, don't
15715 bother with a get_state or a warning, just return directly, even
15718 * gst/base/gstbasetransform.c: Debug changes.
15721 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15722 ensure bins post state change messages. A bit of a hack but I can't
15723 think of a way to avoid it.
15725 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15727 2005-08-16 Andy Wingo <wingo@pobox.com>
15729 * gst/base/gstadapter.h:
15730 * gst/base/gstadapter.c (gst_adapter_take): New function, like
15731 peek() but you own the data. Not terribly efficient atm.
15733 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15735 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15736 (gst_element_found_tags):
15738 Add two utility functions for tag handling.
15740 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15742 * docs/manual/advanced-dataaccess.xml:
15743 * docs/manual/basics-helloworld.xml:
15744 Fix docs to use _bin_add() before _link(), which fixes the examples
15745 with recent core versions (reported by Madhan Raj M
15746 <raj_madan@rediffmail.com>, #313199).
15748 2005-08-16 Wim Taymans <wim@fluendo.com>
15750 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15751 Added subtract checks.
15753 * docs/design/part-events.txt:
15754 Some more docs about newsegment
15756 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15759 * gst/gstcaps.c: (gst_caps_to_string):
15760 Add comments, cleanups.
15762 * gst/gstelement.c: (gst_element_save_thyself):
15765 * gst/gstvalue.c: (gst_value_collect_int_range),
15766 (gst_string_unwrap), (gst_value_union_int_int_range),
15767 (gst_value_union_int_range_int_range),
15768 (gst_value_intersect_int_int_range),
15769 (gst_value_intersect_int_range_int_range),
15770 (gst_value_intersect_double_double_range),
15771 (gst_value_intersect_double_range_double_range),
15772 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15773 (gst_value_subtract_int_range_int),
15774 (gst_value_subtract_double_range_double),
15775 (gst_value_subtract_double_range_double_range),
15776 (gst_value_subtract_from_list), (gst_value_subtract_list),
15777 (gst_value_can_compare), (gst_value_compare_fraction):
15778 Cleanups, add comments, remove unneeded asserts.
15780 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15782 * tools/gst-launch.c: (event_loop):
15783 don't convert NULL structures to strings
15785 2005-08-15 Stefan Kost <ensonic@users.sf.net>
15787 * docs/gst/gstreamer-sections.txt:
15788 made some defines private
15789 * docs/gst/tmpl/gstconfig.sgml:
15790 * docs/gst/tmpl/gstqueue.sgml:
15791 * docs/gst/tmpl/gsttaglist.sgml:
15792 * docs/gst/tmpl/gsttypes.sgml:
15793 * docs/gst/tmpl/gstutils.sgml:
15794 * docs/pwg/appendix-porting.xml:
15795 * gst/base/gstbasesink.h:
15796 * gst/base/gstbasesrc.c:
15797 * gst/base/gstbasesrc.h:
15798 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15799 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15800 * gst/gstelement.c: (gst_element_class_init):
15801 * gst/gstpad.c: (gst_pad_class_init):
15802 * gst/gstqueue.c: (gst_queue_class_init):
15803 * gst/gstxml.c: (gst_xml_class_init):
15804 documented all undocumented signal inline
15805 * libs/gst/controller/gst-controller.h:
15808 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15810 * docs/pwg/appendix-porting.xml:
15811 Document _set_link_function -> _set_setcaps_function.
15813 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15815 * check/Makefile.am:
15816 add a .check target for running the check
15817 * check/gst-libs/controller.c: (GST_START_TEST):
15819 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15820 complete checks for gstbuffer; would be nice if I could get the
15821 gcov stuff to work so I can see if I actually completed gstbuffer.c
15822 * check/gstcheck.h:
15823 add ASSERT_BUFFER_REFCOUNT
15825 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
15827 * docs/gst/gstreamer-sections.txt:
15828 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15830 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15831 spew out a warning if a tag that is already registered
15832 is re-registered, unless it is re-registered with a
15833 different type (#308438).
15835 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
15837 * docs/pwg/appendix-porting.xml:
15838 * docs/pwg/building-state.xml:
15839 Add some paragraphs about state changes in 0.9 to the PWG
15840 and the porting guide, in particular about the new meaning
15841 of GST_STATE_PAUSED and how to write state change functions
15842 with concurrent access by multiple threads in mind.
15844 2005-08-11 Stefan Kost <ensonic@users.sf.net>
15846 * docs/gst/gstreamer-docs.sgml:
15847 * docs/libs/gstreamer-libs-docs.sgml:
15848 added deprecation and since indexes
15849 * libs/gst/controller/gst-controller.c:
15850 * libs/gst/controller/gst-helper.c:
15854 2005-08-11 Wim Taymans <wim@fluendo.com>
15856 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15857 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15858 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15859 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15860 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15861 (gst_ghost_pad_set_target):
15862 Actually implement (re)setting the target on a ghostpad
15863 as described in the docs.
15865 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15867 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15868 Check whether GST_DEBUG_NO_COLOR environment variable is
15869 set and disable coloured debug output if that is the case.
15871 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15873 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15874 (gst_type_find_helper):
15875 The memory returned by gst_type_find_peek() needs to
15876 stay valid until the end of a typefind function, and
15877 typefind functions may keep results from different
15878 offsets around, so we can't just unref the buffer from
15879 the previous _peek(), but have to save all buffers
15880 returned by _peek() until typefinding is done and only
15883 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
15885 * docs/gst/gstreamer-sections.txt:
15887 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15889 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15891 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15892 Fix a pretty good memleak.
15894 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15896 * gst/gstiterator.h:
15897 Fix wrong include and 'make distcheck'.
15899 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15901 * gst/gstbin.c: (bin_bus_handler):
15902 Use gst_element_post_message() instead.
15904 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15906 * gst/base/gstadapter.h:
15907 * gst/base/gstbasesink.h:
15908 * gst/base/gstbasesrc.h:
15909 * gst/base/gstbasetransform.h:
15910 * gst/base/gstcollectpads.h:
15911 * gst/base/gstpushsrc.h:
15912 * gst/gstiterator.h:
15913 Add padding to our base elements' class and instance structs and
15914 to GstIterator (you will need to rebuild all plugins and apps!)
15916 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15918 * gst/gstbin.c: (bin_bus_handler):
15919 Make default message forwarding from child->bus to bin->bus
15920 threadsafe and make it not emit warnings if the parent has no bus.
15922 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15924 * gst/gstelement.c: (activate_pads):
15925 On paused->ready, set pad->caps to NULL, as is the documented
15926 behaviour in this state change. Fixes playback of series of
15927 media files when visualization is enabled in Totem.
15929 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15931 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15932 Allow NULL as filter-caps (which means "any").
15934 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15936 * docs/libs/gstreamer-libs-sections.txt:
15937 * libs/gst/controller/gst-controller.c:
15938 * libs/gst/controller/gst-controller.h:
15939 * libs/gst/controller/gst-helper.c:
15940 adding more entries to the docs and fix small doc-bugs
15942 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15944 * docs/gst/gstreamer-docs.sgml:
15945 * docs/gst/gstreamer-sections.txt:
15946 * docs/gst/gstreamer.types:
15947 * docs/gst/tmpl/gstbasesink.sgml:
15948 * docs/gst/tmpl/gstbasesrc.sgml:
15949 * docs/gst/tmpl/gstbasetransform.sgml:
15950 * docs/gst/tmpl/gstfakesrc.sgml:
15951 * gst/base/gstcollectpads.c:
15952 * gst/base/gstcollectpads.h:
15953 * libs/gst/controller/gst-controller.c:
15954 * libs/gst/controller/gst-controller.h:
15955 * libs/gst/controller/gst-helper.c:
15956 * libs/gst/controller/gst-interpolation.c:
15957 * libs/gst/controller/lib.c:
15958 added long/short desc for controller docs
15959 added collectpads base class docs
15960 added correct includes to base-class docs
15962 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15964 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15965 (gst_test_mono_source_set_property),
15966 (gst_test_mono_source_class_init), (GST_START_TEST),
15967 (gst_controller_suite):
15968 * docs/gst/gstreamer-docs.sgml:
15969 * docs/gst/gstreamer-sections.txt:
15970 * docs/gst/gstreamer.types:
15971 * docs/libs/gstreamer-libs-docs.sgml:
15972 * docs/libs/gstreamer-libs-sections.txt:
15973 * gst/base/gstadapter.c:
15974 * libs/gst/controller/gst-controller.c:
15975 (gst_controlled_property_new), (gst_controlled_property_free),
15976 (gst_controller_new_valist),
15977 (gst_controller_remove_properties_valist),
15978 (gst_controller_sink_values), (_gst_controller_finalize):
15979 * libs/gst/controller/gst-controller.h:
15980 * libs/gst/controller/gst-helper.c:
15981 (gst_object_control_properties), (gst_object_uncontrol_properties),
15982 (gst_object_get_controller), (gst_object_set_controller),
15983 (gst_object_sink_values), (gst_object_get_value_arrays),
15984 (gst_object_get_value_array):
15985 more tests (and fixes) for the controller
15986 more docs for the controller
15987 integrated companies docs for the adapter
15989 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15991 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15992 (GST_START_TEST), (fakesrc_suite):
15993 add tests for sizetype
15995 2005-08-04 Andy Wingo <wingo@pobox.com>
15997 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15998 fixes buffer_alloc proxying among other things.
16000 * gst/base/gstbasetransform.c:
16001 * gst/base/gstbasetransform.h:
16002 Revert patch to gstbasetransform from 7-28 removing
16005 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
16006 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
16007 Semantics changed, should return not the size of the output buffer
16008 but the byte size of a buffer with a given caps.
16010 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
16012 (gst_base_transform_configure_caps): Don't set out_size here: (in,
16013 out) are not the pad caps until setcaps finishes.
16014 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
16015 not-in-place case as well. Deal with changing from in-place to
16016 not-in-place within calling pad_alloc_buffer. Still a bit
16017 concerned about the overhead here...
16019 2005-08-03 Andy Wingo <wingo@pobox.com>
16021 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
16022 fixating is an error.
16024 2005-08-04 Edward Hervey <edward@fluendo.com>
16026 * gst/base/gstadapter.h:
16027 Added gst_adapter_get_type() to the header
16029 2005-08-03 Stefan Kost <ensonic@users.sf.net>
16031 * check/Makefile.am:
16032 * check/gst-libs/controller.c:
16033 * libs/gst/controller/gst-controller.c:
16034 (gst_controller_new_valist):
16035 added check test suite for the controller
16036 * gst/base/gstpushsrc.c:
16039 2005-08-03 Stefan Kost <ensonic@users.sf.net>
16041 * docs/gst/Makefile.am:
16042 * docs/gst/gstreamer-docs.sgml:
16043 * docs/gst/gstreamer-sections.txt:
16044 * docs/gst/gstreamer.types:
16045 * docs/gst/tmpl/gstfakesrc.sgml:
16047 * gst/base/gstbasesink.c:
16048 * gst/base/gstbasesink.h:
16049 * gst/base/gstbasesrc.c:
16050 * gst/base/gstbasesrc.h:
16051 * gst/base/gstbasetransform.c:
16052 * gst/base/gstpushsrc.c:
16053 * gst/base/gstpushsrc.h:
16054 add short/long description docs to base classes
16055 add pushsrc to the docs
16056 remove consolidated doc fragments
16058 2005-08-03 Stefan Kost <ensonic@users.sf.net>
16061 * docs/libs/Makefile.am:
16062 * docs/libs/gstreamer-libs-docs.sgml:
16063 * docs/libs/gstreamer-libs-sections.txt:
16064 * docs/libs/gstreamer-libs.types:
16065 * examples/Makefile.am:
16066 * examples/controller/.cvsignore:
16067 * examples/controller/Makefile.am:
16068 * examples/controller/audio-example.c: (main):
16069 * libs/gst/Makefile.am:
16070 * libs/gst/controller/.cvsignore:
16071 * libs/gst/controller/Makefile.am:
16072 * libs/gst/controller/gst-controller.c:
16073 (on_object_controlled_property_changed), (gst_timed_value_compare),
16074 (gst_timed_value_find),
16075 (gst_controlled_property_set_interpolation_mode),
16076 (gst_controlled_property_new), (gst_controlled_property_free),
16077 (gst_controller_find_controlled_property),
16078 (gst_controller_new_valist), (gst_controller_new),
16079 (gst_controller_remove_properties_valist),
16080 (gst_controller_remove_properties), (gst_controller_set),
16081 (gst_controller_set_from_list), (gst_controller_unset),
16082 (gst_controller_get), (gst_controller_get_all),
16083 (gst_controller_sink_values), (gst_controller_get_value_arrays),
16084 (gst_controller_get_value_array),
16085 (gst_controller_set_interpolation_mode),
16086 (_gst_controller_finalize), (_gst_controller_init),
16087 (_gst_controller_class_init), (gst_controller_get_type):
16088 * libs/gst/controller/gst-controller.h:
16089 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
16090 (g_object_uncontrol_properties), (g_object_get_controller),
16091 (g_object_set_controller), (g_object_sink_values),
16092 (g_object_get_value_arrays), (g_object_get_value_array):
16093 * libs/gst/controller/gst-interpolation.c:
16094 (gst_controlled_property_find_timed_value_node),
16095 (interpolate_none_get), (interpolate_trigger_get),
16096 (interpolate_trigger_get_value_array):
16097 * libs/gst/controller/lib.c: (gst_controller_init):
16098 * pkgconfig/Makefile.am:
16099 * pkgconfig/gstreamer-control-uninstalled.pc.in:
16100 * pkgconfig/gstreamer-control.pc.in:
16101 * testsuite/Makefile.am:
16102 * testsuite/controller/.cvsignore:
16103 * testsuite/controller/Makefile.am:
16104 * testsuite/controller/interpolator.c: (main):
16105 added controller code
16106 removed dparam pc files
16108 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
16109 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
16110 (gst_collectpads_stop):
16111 Broadcast the condition when shutting down, to make sure we wake all
16112 threads up. Shut down pads on finalize, for safety.
16114 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
16115 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16116 (gst_base_transform_handle_buffer),
16117 (gst_base_transform_change_state):
16118 Handle PAUSED->READY->PAUSED transition after negotiation
16120 * gst/gstmessage.c: (gst_message_init):
16121 Extra piece of debug for new messages.
16123 2005-08-01 Stefan Kost <ensonic@users.sf.net>
16126 * docs/gst/tmpl/gstbasesrc.sgml:
16127 * docs/gst/tmpl/gstelement.sgml:
16128 * docs/gst/tmpl/gstevent.sgml:
16129 * docs/gst/tmpl/gstfakesrc.sgml:
16130 * docs/gst/tmpl/gstformat.sgml:
16131 * docs/gst/tmpl/gstghostpad.sgml:
16132 * docs/gst/tmpl/gstpad.sgml:
16133 * docs/gst/tmpl/gstquery.sgml:
16134 * docs/gst/tmpl/gststructure.sgml:
16135 * docs/gst/tmpl/gsttaglist.sgml:
16136 * docs/gst/tmpl/gstvalue.sgml:
16137 * docs/libs/gstreamer-libs-docs.sgml:
16138 * docs/libs/gstreamer-libs-sections.txt:
16139 * docs/libs/gstreamer-libs.types:
16140 * libs/gst/Makefile.am:
16141 * libs/gst/control/.cvsignore:
16142 * libs/gst/control/Makefile.am:
16143 * libs/gst/control/control.c:
16144 * libs/gst/control/control.h:
16145 * libs/gst/control/dparam.c:
16146 * libs/gst/control/dparam.h:
16147 * libs/gst/control/dparam_smooth.c:
16148 * libs/gst/control/dparam_smooth.h:
16149 * libs/gst/control/dparamcommon.h:
16150 * libs/gst/control/dparammanager.c:
16151 * libs/gst/control/dparammanager.h:
16152 * libs/gst/control/dplinearinterp.c:
16153 * libs/gst/control/dplinearinterp.h:
16154 * libs/gst/control/unitconvert.c:
16155 * libs/gst/control/unitconvert.h:
16156 * testsuite/Makefile.am:
16157 * testsuite/dynparams/.cvsignore:
16158 * testsuite/dynparams/Makefile.am:
16159 * testsuite/dynparams/dparamstest.c:
16160 * tools/Makefile.am:
16161 * tools/gst-inspect.c: (print_element_info), (main):
16162 * tools/gst-xmlinspect.c: (print_element_info), (main):
16163 deactivate and remove dparams (libgstcontrol)
16165 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
16167 * gst/elements/gsttypefindelement.c:
16168 (gst_type_find_element_have_type), (gst_type_find_element_init),
16169 (stop_typefinding), (gst_type_find_element_handle_event),
16170 (gst_type_find_element_chain), (gst_type_find_element_getrange):
16171 * gst/elements/gsttypefindelement.h:
16172 Set caps on all outgoing buffers, not just the first one.
16174 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
16176 * gst/elements/gsttypefindelement.c:
16177 (gst_type_find_element_have_type),
16178 (gst_type_find_element_check_set_buffer_caps),
16179 (gst_type_find_element_init), (stop_typefinding),
16180 (gst_type_find_element_handle_event),
16181 (gst_type_find_element_chain), (gst_type_find_element_getrange):
16182 * gst/elements/gsttypefindelement.h:
16183 Set caps on first outgoing buffer when we've found the type.
16185 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
16187 * docs/gst/gstreamer-docs.sgml:
16188 * docs/gst/gstreamer-sections.txt:
16189 * docs/gst/tmpl/gstscheduler.sgml:
16190 * docs/gst/tmpl/gstschedulerfactory.sgml:
16191 Remove some old cruft from docs.
16193 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
16196 Fix inline docs for GstPadLinkReturn.
16198 * gst/gststructure.c: (gst_structure_has_name):
16199 * gst/gststructure.h:
16200 * docs/gst/gstreamer-sections.txt:
16201 New API: gst_structure_has_name().
16203 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
16206 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
16207 and _LARGEFILE_SOURCE in config.h as required. Do not
16208 export those flags in our .pc files any longer (#142209).
16210 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
16212 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
16213 (gst_file_sink_do_seek), (gst_file_sink_event),
16214 (gst_file_sink_get_current_offset), (gst_file_sink_render):
16215 Redo seek/tell calls with large file support in mind; add some
16216 debugging messages; add log message that tells us when large
16217 file support is unavailable or not enabled for some reason.
16219 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
16220 Add log message that tells us when large file support
16221 is unavailable or not enabled for some reason.
16223 2005-07-29 Wim Taymans <wim@fluendo.com>
16225 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16226 Added test for removing an element with ghostpad from a bin.
16227 Fixed test as current implementation does the right thing.
16229 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
16230 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
16231 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
16232 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
16233 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
16234 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
16235 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
16236 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16237 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
16238 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
16239 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
16240 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
16241 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
16242 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
16243 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
16244 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
16245 * gst/gstghostpad.h:
16246 Clean up ghostpads, remove properties for internal stuff.
16249 Prepare for switching targets, not all use cases work yet.
16251 2005-07-29 Wim Taymans <wim@fluendo.com>
16253 * docs/design/part-gstghostpad.txt:
16256 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
16257 (gst_bin_remove_func):
16258 Unlinking pads while holding the bin LOCK is not a good
16261 * gst/gstpad.c: (gst_pad_class_init),
16262 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
16263 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
16264 No prob setting template after creating the pad.
16266 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
16268 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
16269 (gst_bus_peek), (gst_bus_source_dispatch),
16270 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
16271 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
16272 gst_bus_poll may be called from other threads. Handle
16273 this nicely by not making poll_data disappear off the
16274 stack once gst_bus_poll returns.
16275 gst_bus_peek now increments the refcount on the returned
16278 2005-07-29 Wim Taymans <wim@fluendo.com>
16280 * docs/design/part-gstghostpad.txt:
16281 Overview of current GhostPad datastructures and use
16282 cases for changing the target.
16284 2005-07-28 Wim Taymans <wim@fluendo.com>
16286 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16287 Added checks for hierarchy consistency whan adding linked
16290 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16291 Added check to test element scheduling without bin/pipeline.
16293 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16294 First add elements to bin, then link.
16296 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
16297 (gst_bin_remove_func):
16298 Unlink pads from elements added/removed from bin to maintain
16299 hierarchy consistency.
16301 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16303 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16304 (gst_base_transform_handle_buffer):
16305 * gst/base/gstbasetransform.h:
16306 Remove broken delay_configure (fixes renegotiation of software
16307 scaling pipelines); remove some leftover printf()s.
16309 2005-07-28 Wim Taymans <wim@fluendo.com>
16311 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16312 Added some more tests for wrong hierarchy
16314 * docs/design/part-overview.txt:
16317 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
16320 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
16321 (gst_element_dispose):
16322 Some more cleanups.
16324 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16325 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
16326 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16327 (gst_pad_set_caps), (gst_pad_send_event):
16328 Check for correct hierarchy when linking pads. Moving to
16329 strict requirement for ghostpads when linking elements in
16333 Clean ups. Added WRONG_HIERARCHY return value.
16335 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16337 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16338 Better debug if no transform is possible.
16340 2005-07-27 Wim Taymans <wim@fluendo.com>
16342 * docs/random/wtay/network-transp:
16343 Some old doc I had.
16345 2005-07-27 Wim Taymans <wim@fluendo.com>
16347 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16348 (gst_dp_event_from_packet):
16349 Fix serialization of seek events.
16351 2005-07-27 Wim Taymans <wim@fluendo.com>
16353 * check/gst-libs/gdp.c: (GST_START_TEST):
16354 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16355 Fix compilation and fix event serialization.
16357 2005-07-27 Wim Taymans <wim@fluendo.com>
16360 * docs/design/part-TODO.txt:
16361 * docs/design/part-events.txt:
16364 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16365 (gst_base_sink_event), (gst_base_sink_do_sync),
16366 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
16367 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16368 (gst_base_src_do_seek), (gst_base_src_event_handler),
16369 (gst_base_src_loop):
16370 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16371 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16372 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16373 (gst_base_transform_event), (gst_base_transform_handle_buffer),
16374 (gst_base_transform_set_passthrough),
16375 (gst_base_transform_is_passthrough):
16376 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16377 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16383 * gst/gstelement.c: (gst_element_seek):
16384 * gst/gstelement.h:
16385 Update gst_element_seek.
16387 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
16388 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
16389 (gst_event_new_flush_start), (gst_event_new_flush_stop),
16390 (gst_event_new_eos), (gst_event_new_newsegment),
16391 (gst_event_parse_newsegment), (gst_event_new_tag),
16392 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
16393 (gst_event_parse_qos), (gst_event_new_seek),
16394 (gst_event_parse_seek), (gst_event_new_navigation):
16396 Make GstEvent use GstStructure. Add parsing code, make sure the
16397 API is sufficiently generic.
16398 Mark possible directions of events and serialization.
16400 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
16401 (_gst_message_copy), (gst_message_new_segment_start),
16402 (gst_message_new_segment_done), (gst_message_new_custom),
16403 (gst_message_parse_segment_start),
16404 (gst_message_parse_segment_done):
16407 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16408 (gst_pad_set_caps), (gst_pad_send_event):
16409 Update for new events.
16410 Catch events sent in wrong directions.
16412 * gst/gstqueue.c: (gst_queue_link_src),
16413 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
16414 (gst_queue_handle_src_query):
16419 Remove event code from this file.
16421 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16422 (gst_dp_event_from_packet):
16425 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16427 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
16428 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16429 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
16430 Make debugging actually useful.
16432 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16434 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
16435 (gst_pad_fixate_caps):
16436 Implement default fixation once again, so that gst_pad_fixate()
16437 actually does anything at all. This probably needs to be some
16438 sort of a last resort, and use profile-based fixation first, but
16439 since that doesn't exist yet, this is the best we have. Fixes
16440 visualization in Totem.
16442 2005-07-22 Wim Taymans <wim@fluendo.com>
16444 * docs/design/part-events.txt:
16447 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16448 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
16449 (gst_base_sink_activate_pull):
16450 Some more comments.
16452 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
16453 (gst_fake_src_create):
16454 Fix handoff marshall.
16456 * gst/elements/gstidentity.c: (gst_identity_class_init),
16457 (gst_identity_transform_ip):
16458 We're a real inplace element.
16460 * gst/gstbus.c: (gst_bus_post):
16461 Added some comments.
16463 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
16464 * tests/muxing/case1.c: (main):
16465 * tests/sched/dynamic-pipeline.c: (main):
16466 * tests/sched/interrupt1.c: (main):
16467 * tests/sched/interrupt2.c: (main):
16468 * tests/sched/interrupt3.c: (main):
16469 * tests/sched/runxml.c: (main):
16470 * tests/sched/sched-stress.c: (main):
16471 * tests/seeking/seeking1.c: (event_received), (main):
16472 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16474 * tests/threadstate/threadstate3.c: (main):
16475 * tests/threadstate/threadstate4.c: (main):
16476 * tests/threadstate/threadstate5.c: (main):
16479 2005-07-21 Wim Taymans <wim@fluendo.com>
16481 * docs/design/part-seeking.txt:
16482 Some small additions.
16484 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16485 (gst_base_sink_get_times), (gst_base_sink_do_sync),
16486 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
16487 * gst/base/gstbasesink.h:
16488 discont values are gint64, handle the math correctly.
16490 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16491 Make the basesrc report error if the source pad is not linked.
16493 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16494 (gst_queue_loop), (gst_queue_handle_src_query),
16495 (gst_queue_src_activate_push):
16496 Make queue collect data even if the srcpad is not linked.
16497 Start pushing out data as soon as it is linked.
16499 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
16501 Added gst_flow_get_name() to ease error reporting.
16503 2005-07-20 Wim Taymans <wim@fluendo.com>
16505 * gst/gstmessage.c: (gst_message_new_segment_start),
16506 (gst_message_new_segment_done), (gst_message_parse_segment_start),
16507 (gst_message_parse_segment_done):
16508 * gst/gstmessage.h:
16509 Added a bunch of messages for advanced seeking.
16511 * gst/parse/grammar.y:
16512 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
16513 (gst_dpman_state_changed):
16514 Fix some new-pad -> pad-added signals
16516 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16518 * docs/manual/appendix-porting.xml:
16519 * docs/pwg/appendix-porting.xml:
16520 Document new-pad/state-change signal renames and the FixedList
16523 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16525 * docs/manual/advanced-autoplugging.xml:
16526 * docs/manual/basics-helloworld.xml:
16527 * docs/manual/basics-pads.xml:
16528 * docs/random/ds/0.9-suggested-changes:
16529 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
16530 * gst/gstelement.h:
16534 * gst/gststructure.c: (gst_structure_value_get_generic_type),
16535 (gst_structure_parse_array), (gst_structure_parse_value):
16536 * gst/gstvalue.c: (gst_type_is_fixed),
16537 (gst_value_list_prepend_value), (gst_value_list_append_value),
16538 (gst_value_list_get_size), (gst_value_list_get_value),
16539 (gst_value_transform_array_string), (gst_value_serialize_array),
16540 (gst_value_deserialize_array), (gst_value_intersect_array),
16541 (gst_value_is_fixed), (_gst_value_initialize):
16543 GstElement::new-pad -> pad-added, GstElement::state-change ->
16544 state-changed, GstValueFixedList -> GstValueArray, add format and
16545 flags as their own arguments in gst_element_seek() (should improve
16546 "bindeability"), remove function generators since they don't work
16547 under a whole bunch of compilers (they were deprecated already
16550 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16552 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16553 (_gst_debug_register_funcptr):
16555 Fix illegal cast on some platforms (#309253).
16557 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16559 * gst/gstmessage.c: (gst_message_new_custom):
16560 * gst/gstmessage.h:
16561 Add _new_custom, make _new_application a macro to _new_custom.
16563 2005-07-20 Wim Taymans <wim@fluendo.com>
16565 * gst/base/gstbasesrc.c: (gst_base_src_init),
16566 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16567 * gst/base/gstbasesrc.h:
16568 Add a gboolean to decide when to push out a discont.
16570 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16571 (gst_queue_loop), (gst_queue_handle_src_query),
16572 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
16573 (gst_queue_set_property), (gst_queue_get_property):
16576 * tests/threadstate/threadstate1.c: (main):
16577 Make a thread test compile and run... very silly..
16580 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16582 * docs/manual/appendix-porting.xml:
16583 Mention removal of libgstgconf-0.9.la and existence of gconf
16586 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16588 * docs/pwg/advanced-clock.xml:
16589 * docs/pwg/appendix-porting.xml:
16590 * docs/pwg/intro-preface.xml:
16591 * docs/pwg/other-base.xml:
16592 * docs/pwg/other-manager.xml:
16593 * docs/pwg/other-nton.xml:
16594 * docs/pwg/other-ntoone.xml:
16595 * docs/pwg/other-oneton.xml:
16596 * docs/pwg/pwg.xml:
16597 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
16598 demuxer), remove n-to-n (was never written), fix some code examples
16599 and links and update the porting section to include all this.
16601 2005-07-19 Wim Taymans <wim@fluendo.com>
16603 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
16604 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
16605 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
16606 (gst_queue_src_activate_push), (gst_queue_change_state),
16607 (gst_queue_get_property):
16609 Propagate GstFlowReturn more intelligently upstream and output
16610 an ERROR/EOS when streaming stopped due to fatal error.
16612 2005-07-19 Wim Taymans <wim@fluendo.com>
16614 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16615 Don't block forever for the state change to complete, the
16616 pipeline already did with a sensible timeout.
16618 2005-07-19 Wim Taymans <wim@fluendo.com>
16620 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16621 Make sure we never call the create function is we
16624 2005-07-19 Andy Wingo <wingo@pobox.com>
16626 * gst/parse/parse.l: Attempt to solve bug #172815.
16628 2005-07-19 Wim Taymans <wim@fluendo.com>
16630 * docs/design/part-clocks.txt:
16631 * docs/design/part-events.txt:
16632 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16633 Small docs updates.
16634 Only update the seeking values when we are not
16637 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16639 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16640 Oops, ignore the result of gst_pad_push_event here.
16642 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16644 * gst/base/gstbasesrc.c: (gst_base_src_loop),
16645 (gst_base_src_activate_push):
16646 Send discont event from the loop function, as pads
16647 aren't activated yet in the activate_push handler.
16649 * gst/gstbin.c: (bin_bus_handler):
16650 Don't leak element name.
16652 2005-07-18 Andy Wingo <wingo@pobox.com>
16654 * configure.ac: Use AS_LIBTOOL_TAGS.
16656 2005-07-18 Wim Taymans <wim@fluendo.com>
16658 * docs/gst/gstreamer.types:
16659 Remove deleted types.
16661 2005-07-18 Wim Taymans <wim@fluendo.com>
16663 * check/elements/gstfakesrc.c: (GST_START_TEST):
16666 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16667 (init_popt_callback):
16669 * gst/gst_private.h:
16670 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16671 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16674 * gst/gstconfig.h.in:
16675 * gst/gstelement.c: (gst_element_class_init),
16676 (gst_element_set_base_time), (gst_element_get_base_time),
16677 (iterator_fold_with_resync), (gst_element_change_state),
16678 (gst_element_dispose), (gst_element_get_bus):
16679 * gst/gstelement.h:
16680 * gst/gstelementfactory.h:
16681 * gst/gsterror.c: (_gst_core_errors_init):
16684 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16686 * gst/gstinfo.c: (_gst_debug_init):
16687 * gst/gstmessage.c: (_gst_message_copy):
16688 * gst/gstmessage.h:
16689 * gst/gstminiobject.h:
16692 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16693 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16696 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16697 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16698 (gst_pipeline_get_last_stream_time):
16699 * gst/gstpipeline.h:
16700 * gst/gstpluginfeature.h:
16702 * gst/gstscheduler.c:
16703 * gst/gstscheduler.h:
16704 * gst/gststructure.h:
16705 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16706 (gst_task_finalize), (gst_task_func), (gst_task_create),
16707 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16708 (gst_task_stop), (gst_task_pause):
16710 * gst/gsttypefind.h:
16712 * gst/registries/gstlibxmlregistry.c: (load_feature),
16713 (gst_xml_registry_load), (gst_xml_registry_save_feature):
16714 * gst/registries/gstxmlregistry.c:
16715 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16716 * gst/schedulers/threadscheduler.c:
16717 * libs/gst/control/dparammanager.h:
16718 * tools/gst-inspect.c: (print_element_list),
16719 (print_plugin_features), (print_element_features):
16720 * tools/gst-xmlinspect.c: (print_element_list),
16721 (print_plugin_info), (main):
16722 Removed plugable schedulers.
16723 Removed Scheduler/Manager from elements.
16724 Removed gsttypes.h, rearranged includes.
16725 Removed dependency pad<->element, element<>pipeline, and
16726 various others, fix includes.
16727 implement gst_pad_get_parent() with gst_object_get_parent()
16728 Make GstTask sefcontained.
16729 Fix _get_state() on GstBin, it did not return ASYNC with a 0
16731 Fix endless loop in iterator_fold_with_resync.
16734 2005-07-18 Wim Taymans <wim@fluendo.com>
16740 2005-07-18 Wim Taymans <wim@fluendo.com>
16743 No more cothreads.h
16745 2005-07-18 Wim Taymans <wim@fluendo.com>
16749 Let's remove these.
16751 2005-07-18 Wim Taymans <wim@fluendo.com>
16753 * docs/design/part-dynamic.txt:
16754 * docs/design/part-events.txt:
16755 * docs/design/part-seeking.txt:
16756 Some more docs in the works.
16758 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16759 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16760 (gst_base_transform_setcaps), (gst_base_transform_get_size),
16761 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16762 (gst_base_transform_handle_buffer),
16763 (gst_base_transform_sink_activate_push),
16764 (gst_base_transform_src_activate_pull),
16765 (gst_base_transform_set_passthrough),
16766 (gst_base_transform_is_passthrough):
16769 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16772 * gst/gstevent.c: (gst_event_finalize):
16775 * gst/gstutils.c: (gst_element_unlink),
16776 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16777 (gst_pad_proxy_setcaps):
16779 Add _get_parent_element() to get a pads parent as an element.
16781 2005-07-18 Wim Taymans <wim@fluendo.com>
16783 * check/gst/gstbin.c: (GST_START_TEST):
16786 2005-07-18 Wim Taymans <wim@fluendo.com>
16788 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16789 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16790 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16791 (gst_base_sink_event), (gst_base_sink_do_sync),
16792 (gst_base_sink_chain), (gst_base_sink_loop),
16793 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16794 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16796 Fix logic for returning ASYNC when not prerolled.
16798 2005-07-18 Wim Taymans <wim@fluendo.com>
16800 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16801 Fix nasty refcount bug.
16803 2005-07-16 Philippe Khalaf <burger@speedy.org>
16805 * gst/elements/gstfdsrc.c:
16806 * gst/elements/gstfdsrc.h:
16807 * gst/elements/gstelements.c:
16808 * gst/elements/Makefile.am:
16809 Ported fdsrc to 0.9.
16811 2005-07-16 Wim Taymans <wim@fluendo.com>
16813 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16814 (gst_base_sink_do_sync):
16817 2005-07-16 Wim Taymans <wim@fluendo.com>
16819 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16820 (gst_base_sink_event), (gst_base_sink_get_times),
16821 (gst_base_sink_do_sync), (gst_base_sink_change_state):
16822 * gst/base/gstbasesink.h:
16823 Store and use discont values when syncing buffers as described
16826 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16827 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16828 (gst_base_src_activate_push):
16829 Push discont event when starting.
16831 * gst/elements/gstidentity.c: (gst_identity_transform):
16834 * gst/gstbin.c: (gst_bin_change_state):
16835 Small cleanups in base_time distribution.
16837 * gst/gstelement.c: (gst_element_set_base_time),
16838 (gst_element_get_base_time), (gst_element_change_state):
16839 * gst/gstelement.h:
16840 Added methods for the base_time of the element.
16843 * gst/gstpipeline.c: (gst_pipeline_send_event),
16844 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16845 (gst_pipeline_get_last_stream_time):
16846 * gst/gstpipeline.h:
16848 Handle seeking as described in design doc, remove stream_time
16850 Cleanups clock and stream_time selection code. Added accessors
16851 for the stream_time.
16854 2005-07-16 Andy Wingo <wingo@pobox.com>
16856 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16859 2005-07-16 Wim Taymans <wim@fluendo.com>
16861 * check/gst/gstbin.c: (GST_START_TEST):
16862 Make elements silent as the deep_notify refs the
16863 parent, which might make the test fail.
16865 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16866 Don't hold the lock for too long.
16868 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
16870 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16871 Don't unref the caps we passed to gst_caps_make_writable() after
16872 passing them. gst_caps_make_writable() will do that for us.
16874 2005-07-15 Andy Wingo <wingo@pobox.com>
16876 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16879 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16880 own marshalling function for the handoff signal. Properly type the
16881 buffer as a buffer. Fixes some warnings. Should do a more general
16883 (gst_identity_class_init): Plug into the right marshaller.
16885 2005-07-15 Wim Taymans <wim@fluendo.com>
16887 * docs/design/part-TODO.txt:
16888 * docs/design/part-clocks.txt:
16889 * docs/design/part-element-sink.txt:
16890 * docs/design/part-events.txt:
16891 * docs/design/part-gstpipeline.txt:
16892 Updated docs, mostly DISCONT related.
16894 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
16896 * docs/pwg/building-pads.xml:
16897 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16899 2005-07-15 Andy Wingo <wingo@pobox.com>
16901 * tools/gst-typefind.c: Update, add copyright block.
16903 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16904 Normalize and truncate caps before fixation.
16907 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16908 discards all but the first structure from its argument.
16910 2005-07-15 Wim Taymans <wim@fluendo.com>
16912 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16913 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16914 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16915 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16916 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16917 (gst_base_transform_chain), (gst_base_transform_change_state),
16918 (gst_base_transform_set_passthrough),
16919 (gst_base_transform_is_passthrough):
16920 * gst/base/gstbasetransform.h:
16921 Make passthrough work using the bufferpools.
16922 Changed API a bit, subclasses have to write into a buffer
16923 provided by the base class.
16924 More debug info in nego functions.
16926 * gst/elements/gstidentity.c: (gst_identity_init),
16927 (gst_identity_transform):
16928 Port to new base class.
16930 2005-07-15 Wim Taymans <wim@fluendo.com>
16932 * gst/gstmessage.c: (gst_message_new_state_changed):
16933 * tools/gst-launch.c: (event_loop), (main):
16934 Totally dump messages in -launch with the -m option.
16935 Fix message name for State messages,
16937 2005-07-14 Wim Taymans <wim@fluendo.com>
16939 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16940 Post error messages on errors.
16942 2005-07-14 Wim Taymans <wim@fluendo.com>
16944 * gst/gstcaps.c: (gst_caps_do_simplify):
16948 Define error for stream stopped.
16950 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16951 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16952 Do proper return values.
16954 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16955 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16956 (gst_pad_get_range):
16957 Better return values.
16960 Reorganise return values, add macro to check for fatal errors.
16962 * gst/gstqueue.c: (gst_queue_chain):
16963 Return proper GstFlowReturn values,
16965 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16967 * docs/gst/gstreamer-sections.txt:
16968 * docs/gst/gstreamer.types:
16969 * docs/gst/tmpl/gst.sgml:
16970 * docs/gst/tmpl/gstbasesink.sgml:
16971 * docs/gst/tmpl/gstbasesrc.sgml:
16972 * docs/gst/tmpl/gstbasetransform.sgml:
16973 * docs/gst/tmpl/gstbin.sgml:
16974 * docs/gst/tmpl/gstbuffer.sgml:
16975 * docs/gst/tmpl/gstcaps.sgml:
16976 * docs/gst/tmpl/gstclock.sgml:
16977 * docs/gst/tmpl/gstcompat.sgml:
16978 * docs/gst/tmpl/gstconfig.sgml:
16979 * docs/gst/tmpl/gstelement.sgml:
16980 * docs/gst/tmpl/gstelementdetails.sgml:
16981 * docs/gst/tmpl/gstelementfactory.sgml:
16982 * docs/gst/tmpl/gstenumtypes.sgml:
16983 * docs/gst/tmpl/gsterror.sgml:
16984 * docs/gst/tmpl/gstevent.sgml:
16985 * docs/gst/tmpl/gstfakesink.sgml:
16986 * docs/gst/tmpl/gstfakesrc.sgml:
16987 * docs/gst/tmpl/gstfilesink.sgml:
16988 * docs/gst/tmpl/gstfilesrc.sgml:
16989 * docs/gst/tmpl/gstfilter.sgml:
16990 * docs/gst/tmpl/gstformat.sgml:
16991 * docs/gst/tmpl/gstghostpad.sgml:
16992 * docs/gst/tmpl/gstimplementsinterface.sgml:
16993 * docs/gst/tmpl/gstindex.sgml:
16994 * docs/gst/tmpl/gstindexfactory.sgml:
16995 * docs/gst/tmpl/gstinfo.sgml:
16996 * docs/gst/tmpl/gstiterator.sgml:
16997 * docs/gst/tmpl/gstmacros.sgml:
16998 * docs/gst/tmpl/gstmemchunk.sgml:
16999 * docs/gst/tmpl/gstminiobject.sgml:
17000 * docs/gst/tmpl/gstobject.sgml:
17001 * docs/gst/tmpl/gstpad.sgml:
17002 * docs/gst/tmpl/gstpadtemplate.sgml:
17003 * docs/gst/tmpl/gstparse.sgml:
17004 * docs/gst/tmpl/gstpipeline.sgml:
17005 * docs/gst/tmpl/gstplugin.sgml:
17006 * docs/gst/tmpl/gstpluginfeature.sgml:
17007 * docs/gst/tmpl/gstquery.sgml:
17008 * docs/gst/tmpl/gstqueue.sgml:
17009 * docs/gst/tmpl/gstregistry.sgml:
17010 * docs/gst/tmpl/gstregistrypool.sgml:
17011 * docs/gst/tmpl/gstscheduler.sgml:
17012 * docs/gst/tmpl/gstschedulerfactory.sgml:
17013 * docs/gst/tmpl/gststructure.sgml:
17014 * docs/gst/tmpl/gstsystemclock.sgml:
17015 * docs/gst/tmpl/gsttaglist.sgml:
17016 * docs/gst/tmpl/gsttagsetter.sgml:
17017 * docs/gst/tmpl/gsttrace.sgml:
17018 * docs/gst/tmpl/gsttrashstack.sgml:
17019 * docs/gst/tmpl/gsttypefind.sgml:
17020 * docs/gst/tmpl/gsttypefindfactory.sgml:
17021 * docs/gst/tmpl/gsttypes.sgml:
17022 * docs/gst/tmpl/gsturihandler.sgml:
17023 * docs/gst/tmpl/gsturitype.sgml:
17024 * docs/gst/tmpl/gstutils.sgml:
17025 * docs/gst/tmpl/gstvalue.sgml:
17026 * docs/gst/tmpl/gstversion.sgml:
17027 * docs/gst/tmpl/gstxml.sgml:
17028 * docs/libs/tmpl/gstcontrol.sgml:
17029 * docs/libs/tmpl/gstdataprotocol.sgml:
17030 * docs/libs/tmpl/gstdparam.sgml:
17031 * docs/libs/tmpl/gstdplinint.sgml:
17032 * docs/libs/tmpl/gstdpman.sgml:
17033 * docs/libs/tmpl/gstdpsmooth.sgml:
17034 * docs/libs/tmpl/gstgetbits.sgml:
17035 * docs/libs/tmpl/gstunitconvert.sgml:
17036 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
17037 (gst_push_src_base_init), (gst_push_src_class_init),
17038 (gst_push_src_init), (gst_push_src_create):
17039 * gst/base/gstpushsrc.h:
17040 * gst/elements/gstelements.c:
17041 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
17042 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
17043 (gst_fake_sink_init), (gst_fake_sink_set_property),
17044 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
17045 (gst_fake_sink_event), (gst_fake_sink_preroll),
17046 (gst_fake_sink_render), (gst_fake_sink_change_state):
17047 * gst/elements/gstfakesink.h:
17048 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17049 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17050 (gst_fake_src_base_init), (gst_fake_src_class_init),
17051 (gst_fake_src_init), (gst_fake_src_event_handler),
17052 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
17053 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
17054 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
17055 (gst_fake_src_create_buffer), (gst_fake_src_create),
17056 (gst_fake_src_start), (gst_fake_src_stop):
17057 * gst/elements/gstfakesrc.h:
17058 * gst/elements/gstfilesink.c: (_do_init),
17059 (gst_file_sink_base_init), (gst_file_sink_class_init),
17060 (gst_file_sink_init), (gst_file_sink_dispose),
17061 (gst_file_sink_set_location), (gst_file_sink_set_property),
17062 (gst_file_sink_get_property), (gst_file_sink_open_file),
17063 (gst_file_sink_close_file), (gst_file_sink_query),
17064 (gst_file_sink_event), (gst_file_sink_render),
17065 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
17066 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
17067 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
17068 * gst/elements/gstfilesink.h:
17069 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
17070 (gst_file_src_class_init), (gst_file_src_init),
17071 (gst_file_src_finalize), (gst_file_src_set_location),
17072 (gst_file_src_set_property), (gst_file_src_get_property),
17073 (gst_file_src_map_region), (gst_file_src_map_small_region),
17074 (gst_file_src_create_mmap), (gst_file_src_create_read),
17075 (gst_file_src_create), (gst_file_src_is_seekable),
17076 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
17077 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
17078 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
17079 (gst_file_src_uri_handler_init):
17080 * gst/elements/gstfilesrc.h:
17081 more autistic cleanliness in functions/names/defines
17083 2005-07-13 Andy Wingo <wingo@pobox.com>
17085 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
17086 source couldn't negotiate.
17088 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
17092 * gst/gstutils.c (gst_element_link_pads_filtered): New old
17093 function. I am channeling Hades. Put your boots on suckers!!!
17095 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
17097 * testsuite/caps/Makefile.am:
17098 * testsuite/caps/value_compare.c:
17099 * testsuite/caps/value_intersect.c:
17100 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17101 move two testsuite apps over to the check dir
17103 2005-07-12 Wim Taymans <wim@fluendo.com>
17105 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
17106 Added more debug info in the negotiate process.
17108 * gst/gstmessage.h:
17109 Prepare for segment playback.
17111 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
17117 * tools/gst-launch.c: (main):
17118 NULL pipeline on errors.
17120 2005-07-12 Andy Wingo <wingo@pobox.com>
17122 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
17123 not it comes from a malloc region. Make sure our copy gets freed.
17125 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
17127 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17128 * check/gst/gstmessage.c: (GST_START_TEST):
17129 * check/gst/gststructure.c: (GST_START_TEST),
17130 (gst_structure_suite), (main):
17132 * gst/gstelement.c: (gst_element_message_full):
17133 clean up GError and debug string now that they get copied
17134 * gst/gstmessage.c: (gst_message_new_error),
17135 (gst_message_new_warning), (gst_message_parse_error),
17136 (gst_message_parse_warning):
17137 use GST_TYPE_G_ERROR for structure_new, and take copies of
17138 arguments, so that we don't mess up refcounting
17140 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
17142 * check/Makefile.am:
17143 add per-test valgrind targets
17144 * check/gst-libs/gdp.c: (GST_START_TEST),
17145 (gst_data_protocol_suite), (main):
17148 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
17150 * check/Makefile.am:
17151 instate more valgrindable tests
17152 * check/elements/gstfakesrc.c: (chain_func), (event_func),
17153 (GST_START_TEST), (fakesrc_suite):
17154 * check/gst/gstpad.c: (GST_START_TEST):
17155 * check/gst/gststructure.c: (GST_START_TEST):
17157 * docs/gst/tmpl/gstminiobject.sgml:
17158 * gst/gstpad.c: (gst_pad_finalize):
17159 fix the static mutex leak
17161 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
17163 * check/Makefile.am:
17164 add two more tests for valgrinding
17165 * check/gst/gstvalue.c: (GST_START_TEST):
17166 test refcount of deserialized buffer, found a leak
17167 * docs/gst/gstreamer-docs.sgml:
17168 * docs/gst/gstreamer-sections.txt:
17169 * docs/gst/gstreamer.types:
17170 * docs/gst/tmpl/gstminiobject.sgml:
17171 add miniobject to docs
17172 * gst/gstminiobject.c:
17174 * gst/gstvalue.c: (gst_value_deserialize_buffer),
17175 (gst_string_unwrap):
17176 fix a hard-to-find invalid write for one of the tests
17177 fix a leak for deserialized buffers
17179 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17181 * docs/pwg/advanced-events.xml:
17182 * docs/pwg/advanced-request.xml:
17183 * docs/pwg/advanced-scheduling.xml:
17184 * docs/pwg/appendix-porting.xml:
17185 * docs/pwg/building-boiler.xml:
17186 * docs/pwg/intro-preface.xml:
17187 * docs/pwg/other-ntoone.xml:
17188 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
17189 of example code and explanation for pad activation, loop() and
17190 getrange() functions and a bit more. Remove old comments pointing
17192 * examples/pwg/Makefile.am:
17193 Add loop/getrange examples.
17195 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
17198 check for valgrind binary + some fixes
17200 valgrind suppressions for the tests
17201 * check/Makefile.am:
17202 add a valgrind: target that valgrinds the unit tests
17203 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
17204 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17205 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17206 * check/gst/gstghostpad.c:
17208 * check/gst/gstdata.c:
17210 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
17211 (thread_unref), (gst_mini_object_suite), (main):
17213 * gst/gst.c: (gst_deinit):
17215 add a method to clean up.
17216 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17217 (gst_system_clock_obtain):
17218 allow for disposing the system clock.
17219 * tools/gst-launch.c: (main):
17222 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
17224 * docs/gst/tmpl/gstbasesrc.sgml:
17225 * docs/gst/tmpl/gstfakesrc.sgml:
17226 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17227 (gst_base_src_init), (gst_base_src_set_property),
17228 (gst_base_src_get_property), (gst_base_src_get_range),
17229 (gst_base_src_start):
17230 * gst/base/gstbasesrc.h:
17231 add num-buffers property
17232 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17233 (gst_fakesrc_init), (gst_fakesrc_set_property),
17234 (gst_fakesrc_get_property), (gst_fakesrc_create),
17235 (gst_fakesrc_start):
17236 remove num-buffers property
17238 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
17240 * docs/gst/gstreamer-sections.txt:
17241 * docs/gst/tmpl/gstbasesink.sgml:
17242 * docs/gst/tmpl/gstbasesrc.sgml:
17243 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
17244 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
17245 (gst_base_sink_finalize), (gst_base_sink_set_clock),
17246 (gst_base_sink_set_property), (gst_base_sink_get_property),
17247 (gst_base_sink_handle_object), (gst_base_sink_event),
17248 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17249 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
17250 (gst_base_sink_loop), (gst_base_sink_deactivate),
17251 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
17252 (gst_base_sink_change_state):
17253 * gst/base/gstbasesink.h:
17254 * gst/base/gstbasesrc.h:
17255 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
17256 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
17257 (gst_filesink_init):
17258 more macro splitting
17260 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
17262 * gst/gstelement.c: (gst_element_get_bus):
17264 * tools/gst-launch.c: (check_intr), (event_loop):
17267 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
17269 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17272 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
17274 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17275 (gst_base_src_finalize):
17276 add finalize method and clean up properly
17277 * gst/gstpipeline.c: (gst_pipeline_dispose):
17280 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
17284 add more things to check
17285 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17286 * gst/gstelement.c:
17289 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
17291 * check/elements/gstfakesrc.c: (chain_func), (event_func),
17292 (GST_START_TEST), (fakesrc_suite):
17293 * check/gst-libs/gdp.c: (GST_START_TEST):
17294 * check/gst/gst.c: (GST_START_TEST):
17295 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17296 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17297 * check/gst/gstbus.c: (GST_START_TEST):
17298 * check/gst/gstcaps.c: (GST_START_TEST):
17299 * check/gst/gstdata.c: (GST_START_TEST):
17300 * check/gst/gstelement.c: (GST_START_TEST):
17301 * check/gst/gstghostpad.c: (GST_START_TEST):
17302 * check/gst/gstiterator.c: (GST_START_TEST):
17303 * check/gst/gstmessage.c: (GST_START_TEST):
17304 * check/gst/gstobject.c: (GST_START_TEST):
17305 * check/gst/gstpad.c: (GST_START_TEST):
17306 * check/gst/gststructure.c: (GST_START_TEST):
17307 * check/gst/gstsystemclock.c: (GST_START_TEST),
17308 (gst_systemclock_suite):
17309 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17310 * check/gst/gstvalue.c: (GST_START_TEST):
17311 * check/pipelines/cleanup.c: (GST_START_TEST):
17312 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17313 * check/states/sinks.c: (GST_START_TEST):
17314 * check/gstcheck.c: (gst_check_init):
17315 * check/gstcheck.h:
17316 add debugging category
17317 use GST_START_TEST now, so we add a debug line
17319 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
17321 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
17322 add test for state change message on a bin
17323 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
17325 * gst/gstbin.c: (gst_bin_init):
17326 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
17327 * gst/gstelement.c: (gst_element_post_message),
17328 (gst_element_set_state):
17329 * gst/gstelementfactory.c: (gst_element_factory_create):
17330 * gst/gstmessage.c: (gst_message_new):
17331 * gst/gstscheduler.c:
17332 various debugging additions and cleanups
17334 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17336 * check/Makefile.am:
17337 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
17339 adding tests for elements
17340 * gst/gstelement.c: (gst_element_dispose):
17342 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17344 * gst/registries/gstlibxmlregistry.c: (load_feature):
17345 plug more leaks. A simple gst_init() now is leakfree, yay.
17347 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17349 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
17350 (gst_xml_registry_load):
17351 plug another memleak
17353 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17356 use GST_SET_ERROR_CFLAGS
17357 * docs/faq/cvs.xml:
17358 change to ERROR_CFLAGS
17360 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17363 make GST_ERROR_CFLAGS overridable and re-enable Werror
17364 * docs/faq/cvs.xml:
17365 add a note about error CFLAGS
17366 * docs/gst/tmpl/gstfakesrc.sgml:
17367 * gst/elements/gstfakesrc.c:
17368 comment out some unused code
17369 * gst/gst.c: (split_and_iterate):
17370 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
17374 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
17376 * common/Makefile.am:
17377 * common/gtk-doc.mak:
17378 * docs/gst/Makefile.am:
17379 factor out gtk-doc.mak
17381 2005-07-07 Wim Taymans <wim@fluendo.com>
17383 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
17384 (gst_thread_scheduler_dispose):
17385 Unlock the STREAM_LOCK completely.
17387 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
17389 * check/Makefile.am:
17390 * check/elements/.cvsignore:
17391 * check/elements/gstfakesrc.c: (chain_func), (event_func),
17392 (START_TEST), (fakesrc_suite), (main):
17393 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17394 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17395 (gst_fakesrc_create), (gst_fakesrc_start):
17396 * gst/elements/gstfakesrc.h:
17397 adding a first element test
17399 2005-07-07 Andy Wingo <wingo@pobox.com>
17401 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
17404 2005-07-07 Wim Taymans <wim@fluendo.com>
17410 2005-07-07 Wim Taymans <wim@fluendo.com>
17412 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17413 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
17414 Allow subclasses to implement their own negotiation.
17416 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
17418 * docs/design/part-gstbin.txt:
17419 * docs/design/part-gstpipeline.txt:
17420 Update design notes to reflect the movement of
17421 responsibility for bus handling from GstPipeline to
17424 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
17427 Remove unnecessary queue2/3/4 examples.
17429 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
17431 * examples/Makefile.am:
17432 * examples/helloworld/helloworld.c: (event_loop), (main):
17433 * examples/queue/queue.c: (event_loop), (main):
17434 * examples/queue2/queue2.c: (main):
17435 Update a couple of the examples to work again.
17437 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17438 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
17439 Spelling corrections and extra debug.
17441 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
17442 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
17443 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
17445 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
17446 (gst_pipeline_change_state):
17447 * gst/gstpipeline.h:
17448 Move the bus handler for children to the GstBin, and create a
17449 separate bus for receiving messages from children to the one the
17450 bus sends 'upwards' on.
17452 2005-07-06 Wim Taymans <wim@fluendo.com>
17455 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17456 (gst_base_sink_handle_object), (gst_base_sink_loop),
17457 (gst_base_sink_change_state):
17458 * gst/base/gstbasesink.h:
17459 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17460 (gst_base_src_init), (gst_base_src_setcaps),
17461 (gst_base_src_getcaps), (gst_base_src_loop),
17462 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
17463 (gst_base_src_start), (gst_base_src_change_state):
17464 * gst/base/gstbasesrc.h:
17465 Make basesrc negotiate.
17466 Handle the case where preroll fails in basesink.
17469 2005-07-06 Wim Taymans <wim@fluendo.com>
17471 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
17472 Implement the fixate function.
17473 Clean up acceptcaps.
17475 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17477 * docs/pwg/building-filterfactory.xml:
17478 * docs/pwg/pwg.xml:
17479 Remove never-written filter-factory chapter; I'll add the various
17480 base classes to part 4 ("other element types") later on.
17482 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17484 * docs/pwg/advanced-negotiation.xml:
17485 * docs/pwg/building-boiler.xml:
17486 * docs/pwg/building-pads.xml:
17487 * docs/pwg/pwg.xml:
17488 * examples/pwg/Makefile.am:
17489 Add a chapter on caps negotiation, simplify the original code
17490 samples a bit w.r.t. caps negotiation, add link to the advanced
17491 section. Add a bunch of examples showing different use cases of
17492 different types of caps negotiation. Upstream renegotiation isn't
17493 fully documented yet since nobody knows how that works.
17495 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
17497 * check/gst/gstpad.c:
17498 * check/gstcheck.c:
17499 * gst/gstpad.c: (gst_pad_get_internal_links_default):
17500 if pad has no parent, return NULL as list of internal links
17502 2005-07-05 Andy Wingo <wingo@pobox.com>
17504 * gst/elements/gstfilesrc.c:
17505 * gst/elements/gstfakesrc.c:
17506 * gst/base/gstpushsrc.c:
17507 * gst/base/gstbasesrc.h:
17508 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
17510 2005-07-05 Stefan Kost <ensonic@users.sf.net>
17513 better report generation target (lcov needs a patch)
17515 2005-07-05 Andy Wingo <wingo@pobox.com>
17517 * gst/elements, testsuite: Null if we got it...
17519 2005-07-05 Wim Taymans <wim@fluendo.com>
17522 * libs/gst/dataprotocol/Makefile.am:
17523 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
17524 * libs/gst/dataprotocol/dataprotocol.h:
17525 * pkgconfig/Makefile.am:
17526 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
17527 * pkgconfig/gstreamer-dataprotocol.pc.in:
17528 Ported dataprotol to 0.9.
17529 Added pkgconfig files.
17531 2005-07-05 Andy Wingo <wingo@pobox.com>
17533 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
17534 Default to returning TRUE for the case when tranform_caps returns
17535 a fixed caps, like for identity or volume.
17537 * check/gst/gstbus.c (pound_bus_with_messages):
17538 * check/gst/gstmessage.c (START_TEST):
17539 * check/pipelines/simple_launch_lines.c (got_handoff): Application
17540 message API change.
17542 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
17543 logic weaks here: always run transform_caps, trying passthrough
17544 operation only if the original caps intersects with the transform.
17546 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
17547 source and sink caps.
17549 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
17550 Intersect the peer caps with the pad template before going into
17552 (gst_base_transform_transform_caps): More debugging.
17554 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
17557 2005-07-04 Edward Hervey <edward@fluendo.com>
17561 (gst_pad_add_*_probe): now returns the signal id for better wrapping
17564 2005-07-04 Andy Wingo <wingo@pobox.com>
17566 * check/gst/gstpad.c: Only set explicit caps on pads.
17568 2005-07-01 Andy Wingo <wingo@pobox.com>
17570 * tests/network-clock.scm: Commentary update.
17572 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
17573 Didn't really make sense, not implementable with basetransform,
17575 (gst_identity_transform): Unref inbuf via make_writable. Feeble
17576 attempt at implementing the sync property, needs an unlock method.
17578 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
17579 New func, by default returns the same caps (the identity
17581 (gst_base_transform_getcaps): Uses transform_caps to return
17582 something sensible.
17583 (gst_base_transform_setcaps): Complicated logic to get caps on
17584 both pads, even if they are different, and to call set_caps once
17585 for every time both pads get their caps set.
17586 (gst_base_transform_handle_buffer): Give the ref to the transform
17587 function. Allows in-place modification of the buffer.
17589 * gst/base/gstbasetransform.h (transform_caps): New class method.
17590 Given caps on one side, what can I do on the other.
17591 (set_caps): Take two caps, one for each side of the element.
17594 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
17595 caps in place. This is safe because we can check the mutability of
17596 the caps, and a good idea because fixate functions are just called
17597 as a matter of last resort. (Not actually implemented.)
17598 (gst_pad_set_caps): If the caps we're setting is actually the same
17599 as the existing pad caps, just update the pointer without calling
17600 setcaps. Assert that caps is either NULL or fixed, as per the
17603 * gst/gstghostpad.c: Update for fixate changes.
17605 2005-07-02 Andy Wingo <wingo@pobox.com>
17608 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17609 two refcounts makes it immutable, which is enough. Doc more.
17611 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
17613 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17614 Put the mini_object into GValue as a mini_object,
17615 not a gpointer, since that's how we declared
17618 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17620 * examples/pwg/Makefile.am:
17621 Fix buildbot again.
17623 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17625 * docs/pwg/building-testapp.xml:
17627 * examples/pwg/Makefile.am:
17630 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17633 * examples/Makefile.am:
17634 * examples/pwg/Makefile.am:
17635 * examples/pwg/extract.pl:
17636 Enable building the PWG examples.
17637 * docs/pwg/advanced-interfaces.xml:
17638 Add URI interface stub.
17639 * docs/pwg/advanced-types.xml:
17640 * docs/pwg/other-autoplugger.xml:
17641 * docs/pwg/appendix-porting.xml:
17642 * docs/pwg/pwg.xml:
17643 Add porting guide (mostly stubs), remove autoplugging (see ADM).
17644 * docs/pwg/building-boiler.xml:
17645 * docs/pwg/building-chainfn.xml:
17646 * docs/pwg/building-pads.xml:
17647 * docs/pwg/building-props.xml:
17648 * docs/pwg/building-state.xml:
17649 * docs/pwg/building-testapp.xml:
17650 Update the building-*.xml parts for 0.9 changes. All examples
17651 code blocks compile in examples/pwg/*.
17653 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17655 * docs/manual/advanced-autoplugging.xml:
17656 * docs/manual/appendix-checklist.xml:
17657 * docs/manual/appendix-integration.xml:
17658 * docs/manual/highlevel-components.xml:
17659 Fix playbin/decodebin examples, update docs a bit, mention bus
17660 instead of signals in various places, mention kmplayer and
17661 kaffeine since they have a working GStreamer backend in the KDE
17664 2005-06-30 Wim Taymans <wim@fluendo.com>
17667 * docs/design/draft-ghostpads.txt:
17668 * docs/design/draft-push-pull.txt:
17669 * docs/design/draft-query.txt:
17670 * docs/design/part-TODO.txt:
17671 * docs/design/part-query.txt:
17672 Added CHANGES-0.9 doc, updated status of other docs.
17677 2005-06-30 Wim Taymans <wim@fluendo.com>
17679 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17680 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17681 (gst_base_sink_change_state):
17682 * gst/base/gstbasesink.h:
17683 Some tweaks, only EOS and a buffer complete a preroll.
17685 2005-06-30 Andy Wingo <wingo@pobox.com>
17687 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17688 activate_push down to the internal pad as well.
17690 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
17692 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17694 * gst/gsttaginterface.c:
17695 Some documentation fixes (#307394 and #307397).
17697 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
17699 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17701 * gst/gstvalue.c: (gst_value_intersect_list):
17702 Fix memleak (#309125).
17704 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17706 * docs/manual/advanced-dataaccess.xml:
17707 Fix fakesrc example to compile; doesn't work, bug somewhere...?
17708 * docs/manual/basics-pads.xml:
17709 Add reference for filtered caps to above chapter.
17711 2005-06-30 Wim Taymans <wim@fluendo.com>
17713 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17714 (gst_bin_change_state):
17716 Lame attempt at making the state change function a bit
17719 2005-06-30 Wim Taymans <wim@fluendo.com>
17721 * docs/design/part-clocks.txt:
17722 * docs/design/part-element-sink.txt:
17723 * docs/design/part-events.txt:
17724 * docs/design/part-preroll.txt:
17725 * docs/design/part-states.txt:
17726 Some more tweeks and additions to the docs.
17728 2005-06-30 Wim Taymans <wim@fluendo.com>
17730 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17731 (default_have_data), (gst_pad_class_init), (gst_pad_init),
17732 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17733 (gst_pad_check_pull_range), (gst_pad_get_range),
17734 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17736 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17737 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17738 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17739 (gst_pad_remove_buffer_probe):
17740 Removed atomic operations, use existing LOCK.
17741 Move exception handling out of main code path.
17743 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17745 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17746 (silly_return_true_function), (gst_pad_class_init),
17747 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17748 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17749 (gst_pad_send_event):
17750 Fix accumulator, add default value by using _emitv() instead
17751 of _emit() for signal emission.
17753 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17755 * docs/manual/advanced-dataaccess.xml:
17756 * examples/manual/Makefile.am:
17758 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17761 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
17763 * gst/elements/gstfilesink.c: (gst_filesink_render):
17764 Simplify code so that we don't have to handle short
17765 writes and return GST_FLOW_ERROR if an error occured.
17767 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17769 * docs/gst/gstreamer-docs.sgml:
17770 Remove probes more.
17772 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17774 * docs/gst/gstreamer-sections.txt:
17775 * docs/gst/tmpl/gstpad.sgml:
17776 * docs/gst/tmpl/gstprobe.sgml:
17778 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17779 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17780 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17781 (gst_pad_push_event), (gst_pad_send_event):
17783 * gst/gstutils.c: (gst_pad_add_data_probe),
17784 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17785 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17786 (gst_pad_remove_buffer_probe):
17788 Remove old probes, add new g-signal-based probes and some utility
17791 2005-06-29 Edward Hervey <edward@fluendo.com>
17793 * gst/gstelementfactory.c:
17796 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17797 the definition to the header file.
17799 2005-06-29 Andy Wingo <wingo@pobox.com>
17801 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17802 plugins from the source directory.
17804 2005-06-29 Wim Taymans <wim@fluendo.com>
17806 * docs/gst/tmpl/gstbuffer.sgml:
17807 * docs/gst/tmpl/gstclock.sgml:
17808 Some fixings for blantently wrong text.
17810 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17812 * check/Makefile.am:
17813 * gst/gst.c: (add_path_func), (init_pre):
17814 * gst/gstregistry.c: (gst_registry_add_path):
17815 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17816 only scan the GST_PLUGIN_PATH locations, and not add
17819 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17821 * docs/gst/gstreamer-sections.txt:
17822 * docs/gst/tmpl/gstbasesrc.sgml:
17823 * gst/gstelement.c:
17824 * gst/gstelement.h:
17829 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17831 * docs/manual/advanced-autoplugging.xml:
17832 Fix autoplugging example.
17834 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17836 * docs/manual/advanced-autoplugging.xml:
17837 * docs/manual/mime-world.fig:
17838 Try to get autoplugging working, fix type detection. Fix text
17839 in hello-world image.
17841 2005-06-29 Wim Taymans <wim@fluendo.com>
17843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17844 (gst_base_sink_change_state):
17848 map SIGNAL and BROADCAST to the right function.
17851 Remove redundant braces.
17853 * gst/gstpad.c: (gst_pad_set_caps):
17854 Don't call setcaps function when reseting caps to NULL.
17856 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17857 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17858 (gst_system_clock_id_unschedule):
17859 Use BROADCAST as this is what we do.
17861 2005-06-29 Wim Taymans <wim@fluendo.com>
17863 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17864 We are actually prerolling before commiting the state
17867 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17869 * docs/manual/advanced-clocks.xml:
17870 * docs/manual/advanced-interfaces.xml:
17871 * docs/manual/advanced-metadata.xml:
17872 * docs/manual/advanced-position.xml:
17873 * docs/manual/advanced-schedulers.xml:
17874 * docs/manual/advanced-threads.xml:
17875 * docs/manual/appendix-porting.xml:
17876 * docs/manual/basics-bins.xml:
17877 * docs/manual/basics-bus.xml:
17878 * docs/manual/basics-elements.xml:
17879 * docs/manual/basics-helloworld.xml:
17880 * docs/manual/basics-pads.xml:
17881 * docs/manual/highlevel-components.xml:
17882 * docs/manual/manual.xml:
17883 * docs/manual/thread.fig:
17884 Update (until threads/scheduling) Application Development Manual;
17885 remove GstThread, add GstBus, add simple porting checklist, add
17886 documentation for tag writing, clocks, make all examples until this
17887 part compile and run.
17888 * examples/manual/Makefile.am:
17889 Update from changes to Application Development Manual; add bus
17890 example, remove thread example.
17892 2005-06-28 Wim Taymans <wim@fluendo.com>
17894 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17895 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17896 (gst_bus_source_dispatch):
17897 Add debugging messages.
17898 Make internal methods static.
17899 Handle the case where the bus is flushed in the handler.
17901 * gst/gstelement.c: (gst_element_get_bus):
17902 Fix refcount in _get_bus();
17904 * gst/gstpipeline.c: (gst_pipeline_change_state),
17905 (gst_pipeline_get_clock_func):
17906 Clock refcounting fixes.
17907 Handle the case where preroll timed out more gracefully.
17909 * gst/gstsystemclock.c: (gst_system_clock_dispose):
17910 Clean up the internal thread in dispose. This is needed
17911 for subclasses that actually get disposed.
17913 * gst/schedulers/threadscheduler.c:
17914 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17915 (gst_thread_scheduler_dispose):
17916 Free thread pool in dispose.
17918 2005-06-28 Andy Wingo <wingo@pobox.com>
17920 * tests/network-clock-utils.scm (debug, print-event): New utils.
17922 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17923 (*packet-loss*): Unified loss probability.
17924 (network-time): Report out-of-band events.
17926 * tests/plot-data: Add support for out-of-band events. Hack it
17927 into this script instead of passing it down the pipe; should fix
17930 2005-06-28 Wim Taymans <wim@fluendo.com>
17932 * docs/gst/gstreamer.types:
17933 * docs/gst/tmpl/gstbasesrc.sgml:
17934 * docs/gst/tmpl/gstpad.sgml:
17937 2005-06-28 Wim Taymans <wim@fluendo.com>
17939 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17940 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17941 (gst_proxy_pad_do_fixatecaps):
17942 Correctly proxy the check_pull_range function.
17944 2005-06-28 Andy Wingo <wingo@pobox.com>
17946 * tests/network-clock.scm: Removed need for slib.
17948 2005-06-28 Wim Taymans <wim@fluendo.com>
17950 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17951 (gst_basesink_preroll_queue_flush):
17952 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17953 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17954 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17955 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17956 (gst_proxy_pad_set_property):
17959 * gst/gstqueue.c: (gst_queue_init):
17960 The deprecated pad loop function is removed now.
17962 2005-06-28 Andy Wingo <wingo@pobox.com>
17964 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17965 New parameters, simulate network packet loss.
17967 * tests/network-clock-utils.scm: Initialize the RNG.
17969 2005-06-28 Wim Taymans <wim@fluendo.com>
17971 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17972 (gst_basesink_event), (gst_basesink_deactivate):
17973 Flushing the preroll queue always needs to unlock the waiters.
17975 2005-06-28 Edward Hervey <edward@fluendo.com>
17977 * gst/gstpipeline.c: (gst_pipeline_send_event):
17978 Wheen a seek was successful on a pipeline, set the stream_time to the
17979 seek offset in order to have a synchronized stream_time.
17981 2005-06-28 Wim Taymans <wim@fluendo.com>
17983 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17984 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17985 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17986 (gst_proxy_pad_do_fixatecaps):
17987 Call wrapper function instead of just calling the function
17988 pointers. This takes care of any locking and whatmore.
17990 2005-06-28 Wim Taymans <wim@fluendo.com>
17992 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17993 (gst_pad_pull_range):
17995 CONNECTED -> LINKED.
17997 2005-06-28 Andy Wingo <wingo@pobox.com>
17999 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
18000 source-munging commit!!!
18002 * gst/gstobject.c (gst_object_unref, gst_object_ref)
18003 (gst_object_sink): Take gpointer arguments, not GstObject --
18004 avoids casts. Like GLib.
18006 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
18009 2005-06-27 Andy Wingo <wingo@pobox.com>
18011 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
18014 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
18015 returns a sorted copy of the trace list.
18016 (gst_alloc_trace_print_live): New API, only prints traces with
18017 live objects. Sort the list.
18018 (gst_alloc_trace_print_all): Sort the list.
18019 (gst_alloc_trace_print): Align columns.
18021 * gst/elements/gstttypefindelement.c:
18022 * gst/elements/gsttee.c:
18023 * gst/base/gstbasesrc.c:
18024 * gst/base/gstbasesink.c:
18025 * gst/base/gstbasetransform.c:
18026 * gst/gstqueue.c: Adapt for pad activation changes.
18028 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
18030 (gst_pipeline_dispose): Drop ref on sched.
18032 * gst/gstpad.c (gst_pad_init): Set the default activate func.
18033 (gst_pad_activate_default): Push mode by default.
18034 (pre_activate_switch, post_activate_switch): New stubs, things to
18035 do before and after switching activation modes on pads.
18036 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
18037 the pad's activate function to choose which mode to activate.
18038 Shortcut on deactivation and call the right function directly.
18039 (gst_pad_activate_pull): New API, (de)activates a pad in pull
18041 (gst_pad_activate_push): New API, same for push mode.
18042 (gst_pad_set_activate_function)
18043 (gst_pad_set_activatepull_function)
18044 (gst_pad_set_activatepush_function): Setters for new API.
18046 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
18047 Trace all miniobjects.
18048 (gst_mini_object_make_writable): Unref the arg if we copy, like
18049 gst_caps_make_writable.
18051 * gst/gstmessage.c (_gst_message_initialize): No trace init.
18053 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
18054 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
18055 Adapt for new pad API.
18057 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
18059 * gst/gstelement.h:
18060 * gst/gstelement.c (gst_element_iterate_src_pads)
18061 (gst_element_iterate_sink_pads): New API functions.
18063 * gst/gstelement.c (iterator_fold_with_resync): New utility,
18064 should fold into gstiterator.c in some form.
18065 (gst_element_pads_activate): Simplified via use of fold and
18066 delegation of decisions to gstpad->activate.
18068 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
18071 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
18072 class once in init, like gstmessage. Didn't run into this issue
18073 but it seems correct. Don't initialize a trace, gstminiobject does
18076 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
18077 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
18079 (assert_live_count): New util function, uses alloc traces to check
18082 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
18083 To be modified when unlink drops the internal pad.
18085 2005-06-27 Wim Taymans <wim@fluendo.com>
18087 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
18088 (gst_bin_change_state):
18089 Cleanup the get_state() function a little, make sure it
18090 iterates the same set of elements.
18091 Added stub iterate_state_order().
18093 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
18095 * docs/gst/gstreamer-docs.sgml:
18096 * docs/gst/gstreamer-sections.txt:
18097 * docs/gst/gstreamer.types:
18098 * docs/gst/tmpl/gstbasesink.sgml:
18099 * docs/gst/tmpl/gstbasesrc.sgml:
18100 * docs/gst/tmpl/gstbasetransform.sgml:
18101 * docs/gst/tmpl/gstelement.sgml:
18102 * docs/gst/tmpl/gstiterator.sgml:
18103 * gst/base/gstbasesrc.c:
18104 * gst/base/gstbasesrc.h:
18105 * gst/base/gstbasetransform.h:
18106 * gst/gstelement.c:
18107 * gst/gstiterator.h:
18108 adding basetransform and iterator docs
18110 2005-06-27 Andy Wingo <wingo@pobox.com>
18112 * docs/design/part-activation.txt: Notes on how activation should
18113 work -- not quite implemented yet.
18115 2005-06-25 Wim Taymans <wim@fluendo.com>
18117 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
18118 At least get the chain function correct, needs more
18121 2005-06-25 Wim Taymans <wim@fluendo.com>
18123 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18124 (gst_basesink_handle_object), (gst_basesink_event),
18125 (gst_basesink_do_sync), (gst_basesink_handle_event),
18126 (gst_basesink_change_state):
18128 Right, two problems here: ghostpads don't take locks and
18129 glib _rec_mutex_lock_full() with depth==0 still locks.
18130 Catch illegal locking and g_warn them.
18132 2005-06-25 Wim Taymans <wim@fluendo.com>
18134 * check/states/sinks.c: (START_TEST), (gst_object_suite):
18135 Have to check for completion now...
18137 2005-06-25 Wim Taymans <wim@fluendo.com>
18139 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18140 (gst_basesink_handle_object), (gst_basesink_event),
18141 (gst_basesink_do_sync), (gst_basesink_handle_event),
18142 (gst_basesink_change_state):
18144 Unlock STREAM_LOCK whatever the recursion was.
18146 2005-06-25 Wim Taymans <wim@fluendo.com>
18148 * gst/base/gstbasesink.c: (gst_basesink_set_property),
18149 (gst_basesink_preroll_queue_empty),
18150 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
18151 (gst_basesink_event), (gst_basesink_do_sync),
18152 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
18153 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
18154 (gst_basesink_change_state):
18155 Reworked the base sink, handle event and buffer serialisation
18156 correctly and removed possible deadlock.
18157 Handle EOS correctly.
18159 2005-06-25 Wim Taymans <wim@fluendo.com>
18161 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
18162 (gst_pipeline_change_state):
18163 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18164 Allow elements to post EOS in the state change function.
18165 Fix up -launch, make it exit the poll loop when the
18166 pipeline actually changed state.
18167 Fix up warning parsing in -launch.
18169 2005-06-25 Wim Taymans <wim@fluendo.com>
18171 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
18172 (gst_tee_sink_activate):
18173 Core takes STREAM_LOCK for us now.
18175 2005-06-25 Wim Taymans <wim@fluendo.com>
18177 * gst/gstelement.c: (gst_element_get_state_func),
18178 (gst_element_set_state):
18179 * gst/gstelement.h:
18180 * gst/gstmessage.c: (gst_message_parse_error),
18181 (gst_message_parse_warning):
18182 Keep track of current target state while performing a state
18183 change so that subclasses can do something interesting.
18184 Fix parsing of warning/error messages when GError is NULL.
18186 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
18188 * docs/gst/Makefile.am:
18189 * docs/gst/gstreamer-docs.sgml:
18190 * docs/gst/gstreamer-sections.txt:
18191 * docs/gst/gstreamer.types:
18192 * docs/gst/tmpl/gstbasesink.sgml:
18193 * docs/gst/tmpl/gstbasesrc.sgml:
18194 * docs/gst/tmpl/gstbin.sgml:
18195 * docs/gst/tmpl/gstcompat.sgml:
18196 * docs/gst/tmpl/gstfakesink.sgml:
18197 * docs/gst/tmpl/gstfakesrc.sgml:
18198 * docs/gst/tmpl/gstfilesink.sgml:
18199 * docs/gst/tmpl/gstfilesrc.sgml:
18200 * docs/gst/tmpl/gstindex.sgml:
18201 * docs/manual/appendix-quotes.xml:
18202 * gst/base/gstbasesrc.h:
18203 * gst/elements/gstfakesrc.h:
18204 * gst/gstmessage.h:
18205 start pulling in base classes and elements in our docs
18207 2005-06-24 Stefan Kost <ensonic@users.sf.net>
18209 * docs/gst/Makefile.am:
18210 * docs/libs/Makefile.am:
18211 fixed make distcheck with gtk-doc 1.3
18213 2005-06-23 Wim Taymans <wim@fluendo.com>
18215 * gst/gstelement.c: (gst_element_get_state_func),
18216 (gst_element_set_state), (gst_element_change_state):
18217 When the state did not change, also report NO_PREROLL
18220 2005-06-23 Wim Taymans <wim@fluendo.com>
18222 * gst/gstpad.c: (gst_pad_event_default):
18223 * gst/gstqueue.c: (gst_queue_loop):
18224 No unsafe task pausing please.
18226 2005-06-23 Wim Taymans <wim@fluendo.com>
18228 * gst/schedulers/threadscheduler.c:
18229 (gst_thread_scheduler_task_start),
18230 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
18231 Ref the task before pushing it on the threadpool. This
18232 makes sure that we have a ref when the threadfunction is
18235 2005-06-23 Andy Wingo <wingo@pobox.com>
18237 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
18238 offset is greater than the file's size.
18240 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
18241 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
18242 * gst/gstobject.c (gst_object_class_init): Make the class lock
18243 recursive. Wim won't let me drop deep_notify. Decodebin works
18244 again, whoopdy doo.
18246 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
18247 internal pad, and hacks accordingly. Doesn't do it on the target
18248 pad because we change its caps. Probably catches all cases of
18250 (gst_ghost_pad_set_property): Connect to notify::caps as
18253 * tests/network-clock.scm (plot-simulation): Pipe data to the
18254 elite python skript.
18256 * tests/network-clock-utils.scm (define-parameter): New macro,
18257 defines a parameter that can be set via the command line.
18258 (set-parameter!, parse-parameter-arguments): Command line args
18261 * tests/plot-data: Simple matplotlib-based plotter, takes input on
18264 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
18266 * gst/elements/gsttypefindelement.c:
18267 (gst_type_find_element_handle_event):
18268 Don't restart typefinding on a discont.
18269 * gst/gstelement.c: (gst_element_set_state):
18270 Debug spelling fix.
18271 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
18272 Allow changing mode of an active pad.
18273 Debug output fixes.
18274 * gst/registries/gstlibxmlregistry.c: (load_feature):
18275 Don't cast a static pad template to a normal pad template.
18277 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
18279 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18280 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18281 remove gst_strtoll completely, since it didn't actually do
18282 anything more than what g_ascii_strtoull already does.
18283 check for range errors when deserializing
18284 do a cast for the unsigned cases; but further fixing needs
18285 a decision on what the interpretation of "(int)" and
18286 deserialization should be for values that fall outside the
18287 type's boundaries (ie, refuse, or interpret as casting)
18289 2005-06-23 Wim Taymans <wim@fluendo.com>
18291 * check/Makefile.am:
18292 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
18293 * docs/design/part-live-source.txt:
18294 * docs/design/part-states.txt:
18295 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18296 (gst_basesrc_set_live), (gst_basesrc_is_live),
18297 (gst_basesrc_get_range), (gst_basesrc_activate),
18298 (gst_basesrc_change_state):
18299 * gst/base/gstbasesrc.h:
18300 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18301 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18302 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
18303 * gst/gstelement.c: (gst_element_get_state_func),
18304 (gst_element_set_state):
18305 * gst/gstelement.h:
18307 * tools/gst-launch.c: (event_loop), (main):
18308 Added support for live sources and other elements that
18310 Updated design docs, added live-source design doc.
18311 Implemented live source functionality in basesrc
18312 Fix error condition in _bin_get_state()
18313 Implement live source handling in -launch.
18314 Added check for live sources.
18315 Fixed case in GstBin where elements were changed state
18319 2005-06-23 Andy Wingo <wingo@pobox.com>
18321 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
18322 borken refcounting.
18324 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
18325 gst_caps_replace takes care of this for us.
18327 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
18328 gst_pad_set_caps on the target, not just its setcaps() function.
18330 * tests/network-clock.scm:
18331 * tests/network-clock-utils.scm: A network clock simulator.
18332 Something of an algorithmic testbed before doing something in C.
18334 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
18336 * check/Makefile.am:
18337 * check/gst/capslist.h:
18338 copy over from 0.8, and add two with bitmasks specified with
18340 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
18341 add test to parse everything from capslist.h
18342 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
18344 add test for structure deserialization
18345 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18346 add tests for deserialization of strings to int types
18347 * gst/gststructure.c: (gst_structure_nth_field_name):
18348 * gst/gststructure.h:
18349 add a way to get the name of a field referenced by index
18350 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18351 instead of checking if the resulting long long lies between
18352 min and max, we check if the long long would fit into
18353 a number of bytes for the final type.
18354 This fixes cases where a string represents 2^32 - 1, which
18355 when cast to int would be the (valid) -1, but is bigger than
18358 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
18360 * gst/parse/grammar.y:
18361 add a log line for type deserialization
18363 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
18365 * check/gst/gstvalue.c: (START_TEST):
18366 * gst/gstvalue.c: (gst_value_deserialize):
18367 return long long, not int, so gint64 deserialization actually
18368 works. Is there any flag that makes the compiler check this ?
18371 2005-06-22 Wim Taymans <wim@fluendo.com>
18374 Added convenience macros for setting buffers in GValue.
18376 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
18378 * check/gst/.cvsignore:
18379 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18380 add a test deserializing int64, and comment part out because
18383 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
18385 * check/Makefile.am:
18386 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
18387 * testsuite/Makefile.am:
18388 * testsuite/caps/Makefile.am:
18389 * testsuite/caps/value_serialize.c:
18390 * testsuite/test_gst_init.c:
18391 move a value_serialize test over
18393 2005-06-20 Wim Taymans <wim@fluendo.com>
18398 * gst/gstvalue.c: (gst_value_compare_buffer),
18399 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
18400 (gst_value_compare_flags), (gst_value_serialize_flags),
18401 (gst_value_deserialize_flags), (_gst_value_initialize):
18402 Fix serialisation of buffers, they are not boxed types anymore
18404 2005-06-20 Wim Taymans <wim@fluendo.com>
18406 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
18407 Testcase to show error in buffer-on-caps serialisation.
18409 2005-06-20 Andy Wingo <wingo@pobox.com>
18411 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
18412 will be adding to later.
18414 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
18415 if its socks fill with rocks.
18416 (gst_system_clock_obtain): Set the name on object construction.
18417 Avoid double-checked locking.
18419 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
18421 * gst/gsturi.c: (gst_element_make_from_uri):
18422 Fix potential endless loop.
18424 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
18426 * check/Makefile.am:
18428 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
18430 move over from testsuite dir and clean up
18433 * testsuite/Makefile.am:
18434 * testsuite/tags/.cvsignore:
18435 * testsuite/tags/Makefile.am:
18436 * testsuite/tags/merge.c:
18437 remove testsuite/tags
18439 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
18441 * docs/gst/gstreamer-sections.txt:
18442 * docs/gst/tmpl/gstenumtypes.sgml:
18443 * win32/gstenumtypes.c:
18444 clean up documentation build a little
18446 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
18448 * check/gstcheck.h:
18449 add macros for checking refcounts on objects and caps
18450 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
18451 add some more unit tests
18452 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18453 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
18454 fix leaked refcounts (I hope :)) so unittest works
18458 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
18460 * configure.ac: back to HEAD
18462 === release 0.9.1 ===
18464 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
18470 2005-06-17 Andy Wingo <wingo@pobox.com>
18472 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
18473 assert; it's always possible that the pad gets deactivated in
18474 between the checks in gstpad.c and the implementation. Rely on
18475 finish_preroll() to return a FLUSHING or similar instead of on the
18478 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
18479 clock and post an EOS message if we come out of finish_preroll in
18482 2005-06-16 David Schleef <ds@schleef.org>
18484 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18485 (gst_capsfilter_set_property): Allow NULL as possible value
18486 for filter_caps property, indicating GST_CAPS_ANY.
18488 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
18490 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
18492 * gst/schedulers/Makefile.am:
18494 * gstreamer.spec.in:
18497 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
18499 * gstreamer.spec.in:
18502 2005-06-08 Andy Wingo <wingo@pobox.com>
18504 * gst/gstutils.c: RPAD fixes all around.
18505 (gst_element_link_pads): Refcounting fixes.
18507 * tools/gst-inspect.c:
18508 * tools/gst-xmlinspect.c:
18510 * gst/base/gsttypefindhelper.c:
18511 * gst/base/gstbasesink.c:
18512 * gst/gstqueue.c: RPAD fixes.
18514 * gst/gstghostpad.h:
18515 * gst/gstghostpad.c: New ghost pad implementation as full proxy
18516 pads. The tricky thing is they provide both source and sink
18517 interfaces, since they proxy the internal pad for the external
18518 pad, and vice versa. Implement with lower-level ProxyPad objects,
18519 with the interior proxy pad as a child of the exterior ghost pad.
18520 Should write a doc on this.
18522 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
18523 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
18526 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
18527 pads are real pads. No ghost pads in this file. Not documenting
18528 the myriad s/RPAD/PAD/ and REALIZE fixes.
18529 (gst_pad_class_init): Add properties for "direction" and
18530 "template". Both are construct-only, so they can't change during
18531 the life of the pad. Fixes properly deriving from GstPad.
18532 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
18533 derived objects, just set properties when creating the objects via
18535 (gst_pad_get_parent): Implement as a function, return NULL if the
18536 parent is not an element.
18537 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
18538 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
18540 * gst/gstobject.c (gst_object_class_init): Make name a construct
18541 property. Don't set it in the object init.
18543 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
18544 with UNKNOWN direction.
18545 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
18546 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
18547 (gst_element_remove_pad): Remove ghost-pad special cases.
18548 (gst_element_pads_activate): Remove rpad cruft.
18550 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
18551 catch the pad's-parent-not-an-element case.
18553 * gst/gst.h: Include gstghostpad.h.
18555 * gst/gst.c (init_post): No more real, ghost pads.
18557 * gst/Makefile.am: Add gstghostpad.[ch].
18559 * check/Makefile.am:
18560 * check/gst/gstbin.c:
18561 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
18562 into a bin creates ghost pads, and that the refcounts are right.
18563 Partly moved from gstbin.c.
18565 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18567 * check/gst-libs/.cvsignore:
18568 * check/gst/.cvsignore:
18569 * check/pipelines/.cvsignore:
18571 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
18572 (START_TEST), (cleanup_suite), (main):
18573 add some tests related to cleanup after running pipelines
18575 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18577 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
18578 add a testsuite for GstBuffer
18580 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18582 * gst/gstminiobject.h:
18583 add defines for accessing the refcount
18585 2005-06-03 Stefan Kost <ensonic@users.sf.net>
18587 * Makefile.am: added support for html unit test coverage reports
18589 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
18591 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18592 Free existing caps if the capsfilter changes. Add a FIXME about
18593 setting those caps on the pads.
18595 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
18596 Before adding a ghost pad to a parent bin, check that there isn't
18597 already one for the element on the bin. Prevents infinite recursion
18598 when using decodebin in parse pipelines. Andy says he'll rewrite the
18599 way this works anyway, so ignore the hack.
18601 2005-06-02 Andy Wingo <wingo@pobox.com>
18603 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
18604 file size, pass it on to the type find helper.
18606 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
18607 segment_start and segment_end properly according to the seek
18608 method. Segment_end is still a bit flaky because offset can be
18609 negative for CUR and END cases, but it takes -1 as an "unset"
18612 2005-06-02 Wim Taymans <wim@fluendo.com>
18614 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18615 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18616 (gst_basesink_activate):
18617 * gst/base/gstbasesink.h:
18618 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18619 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18620 (gst_pad_query), (gst_pad_start_task):
18622 * gst/gstqueue.c: (gst_queue_bufferalloc),
18623 (gst_queue_handle_sink_event), (gst_queue_chain):
18624 Bufferalloc: return GstFlowReturn to more accuratly report
18625 why allocation failed.
18627 2005-06-02 Wim Taymans <wim@fluendo.com>
18629 * gst/gstpipeline.c: (gst_pipeline_send_event):
18630 Take snapshot of state without blocking.
18632 2005-06-02 Wim Taymans <wim@fluendo.com>
18634 * docs/design/part-TODO.txt:
18635 * docs/design/part-caps.txt:
18636 * docs/design/part-clocks.txt:
18637 * docs/design/part-negotiation.txt:
18638 * docs/design/part-preroll.txt:
18641 2005-05-30 Wim Taymans <wim@fluendo.com>
18643 * gst/elements/gstidentity.c: (gst_identity_event),
18644 (gst_identity_transform), (gst_identity_get_property):
18645 Protect last_message property as it is accessed from
18648 2005-05-30 Wim Taymans <wim@fluendo.com>
18650 * gst/gstelement.c: (gst_element_init),
18651 (gst_element_pads_activate), (gst_element_change_state):
18652 Slicker pad activation code.
18654 2005-05-30 Wim Taymans <wim@fluendo.com>
18657 * gst/gstelement.h:
18658 * gst/gstelementfactory.h:
18660 Move elementfactory methods to separate .h file.
18662 2005-05-30 Wim Taymans <wim@fluendo.com>
18664 * docs/design/part-overview.txt:
18665 * gst/gstsystemclock.h:
18666 Small typo fixes, doc updates.
18668 2005-05-30 Wim Taymans <wim@fluendo.com>
18670 * gst/gst.c: (gst_init_get_popt_table), (init_post),
18671 (init_popt_callback):
18672 Remove cpu-opt flag.
18674 2005-05-30 Wim Taymans <wim@fluendo.com>
18676 * gst/gstbuffer.c: (gst_subbuffer_finalize),
18677 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18679 Avoid typechecking in places where not needed.
18680 Added accessor for malloc_data.
18682 2005-05-30 Wim Taymans <wim@fluendo.com>
18684 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18685 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18686 (gst_pad_configure_sink), (gst_pad_configure_src),
18687 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18688 (gst_pad_start_task):
18689 Propagate errors from _set_caps() in configure_src/sink
18690 functions instead of returning TRUE.
18691 FLUSH events can travel up and downstream
18694 2005-05-30 Wim Taymans <wim@fluendo.com>
18696 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18697 (gst_basesink_activate):
18698 Handle EOS in preroll.
18700 2005-05-30 Wim Taymans <wim@fluendo.com>
18702 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18703 (gst_queue_loop), (gst_queue_handle_src_event):
18704 Remove old pieces of code
18705 Flushing the queue in an upstream event is a very bad idea.
18707 2005-05-26 Andy Wingo <wingo@pobox.com>
18709 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18710 gst_value_set_mini_object so as to add a ref on the object (which
18711 will be removed when the value is unset).
18713 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18714 arg type in ::handoff.
18716 * gst/gstelement.c (gst_element_change_state): Also deactivate
18717 pads in READY->NULL, just in case the element didn't make it to
18718 PAUSED. Wingo tested, Wim approved.
18720 2005-05-26 Wim Taymans <wim@fluendo.com>
18722 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18723 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18724 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18725 A flushing pad cannot be used to alloc_buffer from.
18727 2005-05-26 Wim Taymans <wim@fluendo.com>
18729 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18730 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18731 (gst_bus_source_dispatch), (gst_bus_source_finalize),
18732 (gst_bus_create_watch), (gst_bus_add_watch_full):
18734 Implement a real GSource and use g_main_context_wakeup() to
18735 signal new messages instead of the socketpair.
18737 2005-05-25 Wim Taymans <wim@fluendo.com>
18739 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18740 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18741 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18742 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18743 (gst_pad_send_event), (gst_pad_start_task):
18744 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18745 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18746 (gst_queue_sink_activate), (gst_queue_src_activate),
18747 (gst_queue_change_state):
18749 Fix state changes for non sinks. We now change sinks, then elements
18750 with unconnected srcpads, then the rest.
18751 More efficient queue unlocking in flush and state changes.
18752 Set the pad activate mode even if it does not have an activate
18755 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18757 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18758 Don't go in pull mode for non-seekable sources.
18759 * gst/elements/gsttypefindelement.h:
18760 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18761 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18762 (free_entry), (stop_typefinding),
18763 (gst_type_find_element_handle_event), (find_peek),
18764 (gst_type_find_element_chain), (do_pull_typefind),
18765 (gst_type_find_element_change_state):
18766 Allow typefinding (w/o seeking) in push-mode, simplified version
18767 of what was in 0.8.
18768 * gst/gstutils.c: (gst_buffer_join):
18770 gst_buffer_join() from 0.8.
18772 2005-05-25 Wim Taymans <wim@fluendo.com>
18774 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18775 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18776 (gst_pad_send_event), (gst_pad_start_task):
18777 Disable attempt at mode switching until it is figured out.
18779 2005-05-25 Wim Taymans <wim@fluendo.com>
18781 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18782 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18783 (gst_basesink_finish_preroll), (gst_basesink_chain),
18784 (gst_basesink_loop), (gst_basesink_activate),
18785 (gst_basesink_change_state):
18786 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18787 (gst_basesrc_get_range), (gst_basesrc_loop),
18788 (gst_basesrc_activate):
18789 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18790 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18791 (gst_real_pad_init), (gst_real_pad_set_property),
18792 (gst_real_pad_get_property), (gst_pad_set_active),
18793 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18794 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18795 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18796 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18797 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18798 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18799 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18800 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18801 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18802 (gst_pad_stop_task):
18804 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18805 (gst_queue_loop), (gst_queue_src_activate):
18806 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18807 (gst_task_get_state):
18809 * gst/schedulers/threadscheduler.c:
18810 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18811 Implement gst_pad_pause/start/stop_task(), take STREAM lock
18813 Remove ACTIVE pad flag, use FLUSHING everywhere
18814 Added _pad_chain(), _pad_get_range() to call chain/getrange
18816 Add locks around IS_FLUSHING when reading.
18817 Take STREAM lock in chain(), get_range() functions so plugins
18818 don't need to take it anymore.
18822 2005-05-25 Wim Taymans <wim@fluendo.com>
18824 * tools/gst-launch.c: (event_loop):
18825 Unref message after using its contents instead of
18828 2005-05-24 Wim Taymans <wim@fluendo.com>
18830 * docs/design/draft-ghostpads.txt:
18831 * docs/design/draft-push-pull.txt:
18832 * docs/design/draft-query.txt:
18833 * docs/design/part-overview.txt:
18834 Docs updates, added general overview doc.
18836 2005-05-21 David Schleef <ds@schleef.org>
18838 * docs/gst/tmpl/old/GstBin.sgml:
18839 * docs/gst/tmpl/old/GstBuffer.sgml:
18840 * docs/gst/tmpl/old/GstCaps.sgml:
18841 * docs/gst/tmpl/old/GstClock.sgml:
18842 * docs/gst/tmpl/old/GstCompat.sgml:
18843 * docs/gst/tmpl/old/GstData.sgml:
18844 * docs/gst/tmpl/old/GstElement.sgml:
18845 * docs/gst/tmpl/old/GstEvent.sgml:
18846 * docs/gst/tmpl/old/GstIndex.sgml:
18847 * docs/gst/tmpl/old/GstStructure.sgml:
18848 * docs/gst/tmpl/old/GstTag.sgml:
18849 * docs/gst/tmpl/old/cothreads.sgml:
18850 * docs/gst/tmpl/old/cothreads_compat.sgml:
18851 * docs/gst/tmpl/old/gettext.sgml:
18852 * docs/gst/tmpl/old/gobject2gtk.sgml:
18853 * docs/gst/tmpl/old/grammar.tab.sgml:
18854 * docs/gst/tmpl/old/gst-i18n-app.sgml:
18855 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18856 * docs/gst/tmpl/old/gst_private.sgml:
18857 * docs/gst/tmpl/old/gstaggregator.sgml:
18858 * docs/gst/tmpl/old/gstarch.sgml:
18859 * docs/gst/tmpl/old/gstatomic_impl.sgml:
18860 * docs/gst/tmpl/old/gstbufferstore.sgml:
18861 * docs/gst/tmpl/old/gstdata_private.sgml:
18862 * docs/gst/tmpl/old/gstdisksink.sgml:
18863 * docs/gst/tmpl/old/gstdisksrc.sgml:
18864 * docs/gst/tmpl/old/gstelementfactory.sgml:
18865 * docs/gst/tmpl/old/gstextratypes.sgml:
18866 * docs/gst/tmpl/old/gstfakesink.sgml:
18867 * docs/gst/tmpl/old/gstfakesrc.sgml:
18868 * docs/gst/tmpl/old/gstfdsink.sgml:
18869 * docs/gst/tmpl/old/gstfdsrc.sgml:
18870 * docs/gst/tmpl/old/gstfilesink.sgml:
18871 * docs/gst/tmpl/old/gstfilesrc.sgml:
18872 * docs/gst/tmpl/old/gsthttpsrc.sgml:
18873 * docs/gst/tmpl/old/gstidentity.sgml:
18874 * docs/gst/tmpl/old/gstindexfactory.sgml:
18875 * docs/gst/tmpl/old/gstmarshal.sgml:
18876 * docs/gst/tmpl/old/gstmd5sink.sgml:
18877 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18878 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18879 * docs/gst/tmpl/old/gstpadtemplate.sgml:
18880 * docs/gst/tmpl/old/gstpipefilter.sgml:
18881 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18882 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18883 * docs/gst/tmpl/old/gstshaper.sgml:
18884 * docs/gst/tmpl/old/gstspider.sgml:
18885 * docs/gst/tmpl/old/gstspideridentity.sgml:
18886 * docs/gst/tmpl/old/gststatistics.sgml:
18887 * docs/gst/tmpl/old/gsttee.sgml:
18888 * docs/gst/tmpl/old/gsttimecache.sgml:
18889 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18890 * docs/gst/tmpl/old/gstxmlregistry.sgml:
18891 * docs/gst/tmpl/old/gthread-cothreads.sgml:
18892 * docs/gst/tmpl/old/types.sgml:
18893 I didn't intend to add these or check them in.
18895 2005-05-19 David Schleef <ds@schleef.org>
18897 * configure.ac: Use -no-common everywhere. In a sane world, it
18898 would be the default in libtool, because without it, you can't
18899 build DLLs on Windows.
18900 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18901 * docs/gst/gstreamer-sections.txt:
18902 * docs/gst/tmpl/gstcpu.sgml:
18903 * docs/gst/tmpl/gstdata.sgml:
18904 * docs/gst/tmpl/gstthread.sgml:
18906 2005-05-19 David Schleef <ds@schleef.org>
18908 * gst/gstminiobject.c: (gst_value_set_mini_object),
18909 (gst_value_take_mini_object), (gst_value_get_mini_object):
18910 * gst/gstminiobject.h: Add GValue set/get functions.
18912 2005-05-19 Wim Taymans <wim@fluendo.com>
18914 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18915 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18916 (gst_subbuffer_init), (gst_buffer_is_span_fast):
18918 * gst/gstbus.c: (gst_bus_post):
18919 * gst/gstelement.c: (gst_element_get_random_pad):
18920 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18921 Make subbufer unref the parent in finalize.
18922 some more debugging info.
18925 2005-05-19 Wim Taymans <wim@fluendo.com>
18927 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18928 (gst_basesink_init), (gst_basesink_finalize),
18929 (gst_basesink_activate), (gst_basesink_change_state):
18930 Don't free preroll queue too early.
18932 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18936 Hi, I'm outdated. Please shoot me.
18938 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18940 * gst/gstpipeline.c: (gst_pipeline_send_event):
18941 Do not access variables after they have been deleted.
18943 2005-05-19 Wim Taymans <wim@fluendo.com>
18945 * tools/gst-inspect.c: (print_plugin_features):
18946 A plugin feature does unfortunatly not use the
18949 2005-05-18 Wim Taymans <wim@fluendo.com>
18951 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18952 Port _span() functions to new subbuffers.
18954 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18956 * gst/gstbin.c: (gst_bin_add_func):
18957 Fix clock settery in bins when adding kids after the clock has
18960 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18962 * gst/elements/gstidentity.c: (gst_identity_class_init):
18963 Workaround until signals support GstMiniObject.
18965 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18968 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18970 2005-05-18 Wim Taymans <wim@fluendo.com>
18972 * gst/base/Makefile.am:
18973 * gst/base/gstadapter.c: (gst_adapter_base_init),
18974 (gst_adapter_class_init), (gst_adapter_init),
18975 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18976 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18977 (gst_adapter_flush), (gst_adapter_available),
18978 (gst_adapter_available_fast):
18979 * gst/base/gstadapter.h:
18980 Ported and added adapter to the base classes.
18982 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18985 * gst/gstmessage.c:
18986 Make sure the class is reffed/unreffed once before threads can be
18987 used. Fixes #304551.
18989 2005-05-17 Wim Taymans <wim@fluendo.com>
18991 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18992 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18993 * gst/gstminiobject.c: (gst_mini_object_get_type),
18994 (gst_mini_object_free):
18995 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18996 (gst_pad_push), (gst_pad_push_event):
18997 * gst/gstqueue.c: (gst_queue_change_state):
18998 Don't queue buffers in basesink when we are flushing.
18999 Unref buffer when flushing in basesink.
19000 Flush queue when going to READY
19001 Unref buffer when _push() returns an error.
19002 Don't free MiniObject instance when refcount is incremented
19003 in _finalize() so that we can recover objects.
19005 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
19007 * docs/manual/advanced-schedulers.xml:
19008 * docs/manual/appendix-checklist.xml:
19009 * docs/pwg/advanced-clock.xml:
19010 * docs/pwg/advanced-interfaces.xml:
19011 * docs/pwg/advanced-request.xml:
19012 * docs/pwg/advanced-types.xml:
19013 * docs/pwg/intro-preface.xml:
19014 * examples/plugins/example.c: (gst_example_get_type),
19015 (gst_example_class_init), (gst_example_chain),
19016 (gst_example_set_property), (gst_example_get_property),
19017 (gst_example_change_state), (plugin_init):
19018 * examples/plugins/example.h:
19021 2005-05-17 Wim Taymans <wim@fluendo.com>
19023 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
19024 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
19025 * gst/gstqueue.c: (gst_queue_change_state):
19026 Clear queue when going to READY.
19027 Remove IN_SETCAPS flag too.
19029 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
19031 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
19032 Remove implicit cast from gboolean to GstElementStateReturn;
19033 make sure we still return failure in paused => ready case if
19034 the parent class fails to change state and our own stop
19037 2005-05-17 Wim Taymans <wim@fluendo.com>
19039 * tools/gst-launch.c: (event_loop):
19040 Message was unreffed too soon.
19042 2005-05-16 Andy Wingo <wingo@pobox.com>
19044 * gst/gstbin.c (sink_iterator_filter): Err... um...
19046 * check/gst/gstbin.c (test_ghost_pads): New test for the
19047 ghosting-if-elements-not-in-same-bin behavior.
19049 2005-05-16 David Schleef <ds@schleef.org>
19051 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
19052 accessing refcount directly.
19054 2005-05-15 David Schleef <ds@schleef.org>
19056 * check/Makefile.am: remove GstData checks
19057 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
19058 * gst/Makefile.am: add miniobject, remove data
19059 * gst/gst.h: add miniobject, remove data
19060 * gst/gstdata.c: remove
19061 * gst/gstdata.h: remove
19062 * gst/gstdata_private.h: remove
19063 * gst/gsttypes.h: remove GstEvent and GstMessage
19064 * gst/gstelement.c: (gst_element_post_message): fix for API changes
19065 * gst/gstmarshal.list: change BOXED -> OBJECT
19067 Implement GstMiniObject.
19068 * gst/gstminiobject.c:
19069 * gst/gstminiobject.h:
19071 Modify to be subclasses of GstMiniObject.
19072 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
19073 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
19074 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
19075 (gst_subbuffer_get_type), (gst_subbuffer_init),
19076 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
19079 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
19080 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
19081 (_gst_event_copy), (gst_event_new):
19083 * gst/gstmessage.c: (_gst_message_initialize),
19084 (gst_message_get_type), (gst_message_class_init),
19085 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
19086 (gst_message_new), (gst_message_new_error),
19087 (gst_message_new_warning), (gst_message_new_tag),
19088 (gst_message_new_state_changed), (gst_message_new_application):
19089 * gst/gstmessage.h:
19090 * gst/gstprobe.c: (gst_probe_perform),
19091 (gst_probe_dispatcher_dispatch):
19093 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
19094 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
19095 (_gst_query_copy), (gst_query_new):
19097 Update elements for GstData -> GstMiniObject changes
19099 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
19100 (gst_queue_chain), (gst_queue_loop):
19101 * gst/elements/gstbufferstore.c:
19102 (gst_buffer_store_add_buffer_func),
19103 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
19104 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19105 (gst_fakesink_render):
19106 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19107 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
19108 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
19109 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
19110 (gst_filesrc_create_read):
19111 * gst/elements/gstidentity.c: (gst_identity_class_init):
19112 * gst/elements/gsttypefindelement.c:
19113 (gst_type_find_element_src_event), (free_entry_buffers),
19114 (gst_type_find_element_handle_event):
19115 * libs/gst/dataprotocol/dataprotocol.c:
19116 (gst_dp_header_from_buffer):
19117 * libs/gst/dataprotocol/dataprotocol.h:
19118 * libs/gst/dataprotocol/dp-private.h:
19120 2005-05-15 David Schleef <ds@schleef.org>
19122 * gst/elements/gstelements.c: Don't include headers that were
19125 2005-05-15 David Schleef <ds@schleef.org>
19127 * gst/elements/Makefile.am: Remove some elements that don't
19128 need to be in the core (or even exist at all).
19129 * gst/elements/gstaggregator.c:
19130 * gst/elements/gstaggregator.h:
19131 * gst/elements/gstmd5sink.c:
19132 * gst/elements/gstmd5sink.h:
19133 * gst/elements/gstmultifilesrc.c:
19134 * gst/elements/gstmultifilesrc.h:
19135 * gst/elements/gstpipefilter.c:
19136 * gst/elements/gstpipefilter.h:
19137 * gst/elements/gstshaper.c:
19138 * gst/elements/gstshaper.h:
19139 * gst/elements/gststatistics.c:
19140 * gst/elements/gststatistics.h:
19141 * po/POTFILES.in: Remove above files.
19143 2005-05-14 Andy Wingo <wingo@pobox.com>
19145 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
19146 so as to get the refs right.
19147 (sink_iterator_filter): New function, wraps bin_element_is_sink,
19148 unreffing objects that don't pass the filter.
19150 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
19151 gst_element_set_bus.
19152 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
19153 normal cases, this will destroy the bus.
19155 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
19158 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
19161 2005-05-13 Andy Wingo <wingo@pobox.com>
19163 * gst/gstutils.c (gst_element_link_pads): Instead of calling
19164 gst_pad_link, call pad_link_maybe_ghosting,
19165 (pad_link_maybe_ghosting): Links pads, making sure that the
19166 elements being linked are in the same bin.
19167 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
19168 Helpers for pad_link_maybe_ghosting.
19170 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
19173 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
19175 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
19177 * docs/design/part-element-source.txt:
19180 2005-05-12 Wim Taymans <wim@fluendo.com>
19182 * gst/base/gstbasesink.c: (gst_basesink_init),
19183 (gst_basesink_activate):
19184 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
19185 (gst_basesrc_is_seekable):
19186 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19187 (bin_element_is_sink), (gst_bin_change_state):
19188 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
19189 * gst/gstelement.h:
19190 Identify sinks by their flag to avoid overly complicated
19192 Do state changes even for elements not reachable from the
19194 BaseSink is a sink now :)
19195 Some more debugging info in the basesrc.
19198 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19200 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
19201 Implement _query on a bin, similar to _send_event.
19203 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
19205 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
19206 Discont event offset format should be GST_FORMAT_BYTES,
19207 not GST_FORMAT_TIME.
19209 2005-05-12 Wim Taymans <wim@fluendo.com>
19211 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
19212 Same fix as Ronald's but without the signal.
19214 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19216 * gst/gstutils.c: (gst_element_query_position):
19217 No, an element is not a pad.
19219 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19221 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
19222 (gst_bin_get_state):
19223 If a child is removed from a bin while we remove the child from
19224 the bin and while we're retrieving its state, signal this to the
19225 get_state function so we abort the wait (instead of waiting for
19226 a timeout) and can immediately re-iterate over all other elements.
19228 2005-05-12 Wim Taymans <wim@fluendo.com>
19230 * gst/base/Makefile.am:
19231 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
19232 (gst_basesrc_start):
19233 * gst/base/gstbasesrc.h:
19234 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
19235 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
19236 (gst_pushsrc_init), (gst_pushsrc_create):
19237 * gst/base/gstpushsrc.h:
19238 Added is_seekable to BaseSrc
19239 Added simple PushSrc.
19241 2005-05-11 Wim Taymans <wim@fluendo.com>
19243 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
19244 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19245 (gst_element_link_pads), (gst_element_query_position),
19246 (gst_element_query_convert), (intersect_caps_func),
19247 (gst_pad_query_position), (gst_pad_query_convert):
19248 Fix refcounting in utils function.
19249 No point in trying to activate a pad when it's added, it could
19250 be added from the state change function and then we deadlock, the
19251 element has to decide what to do.
19253 2005-05-10 Andy Wingo <wingo@pobox.com>
19255 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
19256 *all* the arguments.
19258 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
19259 stream lock if it's a FLUSH_DONE; normal flushes don't get the
19260 lock (according to the docs -- if this is wrong change the docs).
19262 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
19263 flush messages in the NULL state.
19265 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
19266 message immediately and return.
19267 (gst_bus_set_flushing): New function. If a bus is flushing, it
19268 flushes out any queued messages and immediately unrefs new
19269 messages. This is so when an element goes to NULL, all of the
19270 unhandled messages coming from it can be freed, and their
19271 references to the element dropped. In other words: message source
19272 ref considered harmful :P
19274 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
19275 we're finished with it.
19277 * gst/gstmessage.c (gst_message_new_state_changed):
19279 2005-05-10 Wim Taymans <wim@fluendo.com>
19281 * gst/gstvalue.c: (gst_value_compare_flags),
19282 (gst_value_serialize_flags), (gst_value_deserialize_flags),
19283 (_gst_value_initialize):
19284 Added flags serialize/deserialize/compare code.
19286 2005-05-09 Andy Wingo <wingo@pobox.com>
19288 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
19289 Intersect the peer's caps with our caps.
19291 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19293 * gst/base/gsttypefindhelper.c: (helper_find_peek):
19294 * gst/elements/gsttypefindelement.c: (find_peek):
19295 Handle negative offsets better. Fixes decodebin.
19297 2005-05-09 Wim Taymans <wim@fluendo.com>
19299 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
19300 (gst_base_transform_event):
19301 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
19302 Implement accept_caps.
19303 Fix silly lock/unlock mismatch in base class.
19305 2005-05-09 Wim Taymans <wim@fluendo.com>
19307 * docs/design/draft-push-pull.txt:
19308 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
19309 * gst/elements/gstfilesink.c: (gst_filesink_init),
19310 (gst_filesink_query):
19311 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
19312 (gst_type_find_handle_src_query), (find_element_get_length):
19313 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
19314 * gst/gstelement.h:
19315 * gst/gstmessage.c:
19316 * gst/gstmessage.h:
19317 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
19318 (gst_real_pad_get_caps_unlocked),
19319 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
19320 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19321 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
19322 (gst_real_pad_dispose), (gst_real_pad_finalize),
19323 (gst_pad_load_and_link), (gst_pad_save_thyself),
19324 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
19325 (gst_pad_check_pull_range), (gst_pad_pull_range),
19326 (gst_pad_template_get_type), (gst_pad_template_class_init),
19327 (gst_pad_template_init), (gst_pad_template_dispose),
19328 (name_is_valid), (gst_static_pad_template_get),
19329 (gst_pad_template_new), (gst_static_pad_template_get_caps),
19330 (gst_pad_template_get_caps), (gst_pad_set_element_private),
19331 (gst_pad_get_element_private), (gst_pad_start_task),
19332 (gst_pad_pause_task), (gst_pad_stop_task),
19333 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
19334 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
19335 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
19336 (gst_ghost_pad_new):
19338 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
19339 (gst_query_new_position), (gst_query_set_position),
19340 (gst_query_parse_position), (gst_query_new_convert),
19341 (gst_query_set_convert), (gst_query_parse_convert):
19343 * gst/gstqueryutils.c:
19344 * gst/gstqueryutils.h:
19345 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
19346 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
19347 (gst_queue_handle_src_query):
19348 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19349 (gst_element_query_position), (gst_element_query_convert),
19350 (intersect_caps_func), (gst_pad_query_position),
19351 (gst_pad_query_convert):
19353 * tools/gst-inspect.c: (print_pad_info):
19354 * tools/gst-xmlinspect.c: (print_element_info):
19355 Remove old query functions. Ported old code.
19356 Added position/convert helper functions to gstutils.
19357 Reordered gstpad.c code, grouping relevant things.
19358 Remove gst_message_new(), always need to speficy a specific
19362 2005-05-09 Andy Wingo <wingo@pobox.com>
19364 * gst/gstiterator.h: Add some includes.
19366 * gst/gstqueryutils.h: Include more headers.
19369 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
19370 some uses of gst_pad_query.
19372 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
19373 NULL out parameters.
19374 (gst_query_new_position): New proc, allocates a new position
19377 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
19378 gstqueryutils.c to the build.
19380 * gst/gststructure.c (gst_structure_set_valist): Implement with
19381 the generic G_VALUE_COLLECT.
19383 2005-05-08 Edward Hervey <bilboed@bilboed.com>
19385 * gst/Makefile.am: (gst_headers):
19386 Added gstqueryutils.h to the list of headers to install, that was
19387 a 'nachty' move wingo :)
19389 2005-05-06 Andy Wingo <wingo@pobox.com>
19392 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
19393 GstData, init a memchunk.
19394 (standard_definitions): Add a few query types, deprecate a few.
19395 (gst_query_get_type): New proc.
19396 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
19398 (gst_query_new_application, gst_query_get_structure): New public
19401 * docs/design/draft-query.txt: Removed LINKS from the query types,
19402 because all the rest can be dispatched to other pads -- seemed
19403 ugly to have a query that couldn't be dispatched. internal_links
19404 is fine as a pad method.
19406 * gst/gstpad.h: Add query2 as a pad method, add the new functions
19407 in gstpad.c, but maintain binary compatibility for the moment.
19408 Will fix before 0.9 is out.
19410 * gst/gstqueryutils.c:
19411 * gst/gstqueryutils.h: New files, implement 3 methods for each
19412 query type: parse_query, parse_response, and set. Probably need an
19415 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
19417 * gst/elements/gstfilesink.c (gst_filesink_query2):
19418 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
19419 query_types, and formats methods.
19421 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
19422 (gst_pad_set_query2_function): New functions.
19423 (gst_real_pad_init): Set query2_default as the default query2
19424 function. Basically just dispatches to internally linked pads.
19428 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
19429 without using the atomic operations. Only one thread can possibly
19430 be accessing the data at this point. Changed so as to avoid
19431 gst_atomic operations.
19433 2005-05-06 Wim Taymans <wim@fluendo.com>
19435 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
19436 Also set caps if we use the fallback buffer alloc.
19438 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
19440 * docs/gst/Makefile.am:
19441 * docs/gst/gstreamer-docs.sgml:
19442 * docs/gst/gstreamer-sections.txt:
19443 * docs/gst/tmpl/gstatomic.sgml:
19444 * docs/gst/tmpl/gstmemchunk.sgml:
19445 * testsuite/elements/struct_i386.h:
19446 * win32/GStreamer.vcproj:
19448 Purge GstAtomic stuff from docs and win32 makefiles as well
19450 2005-05-06 Wim Taymans <wim@fluendo.com>
19452 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
19453 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
19454 * gst/gstpad.c: (gst_pad_peer_get_caps):
19455 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
19456 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
19457 (gst_queue_src_activate), (gst_queue_change_state):
19459 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19460 (intersect_caps_func):
19461 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
19462 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
19463 Some fixes for the peer_get_caps() change.
19465 2005-05-06 Wim Taymans <wim@fluendo.com>
19467 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19468 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
19469 (gst_basesink_activate):
19470 Actually do something with error codes returned from the push
19473 2005-05-06 Wim Taymans <wim@fluendo.com>
19475 * docs/design/part-element-sink.txt:
19476 * docs/design/part-element-source.txt:
19477 * gst/base/gstbasesink.c: (gst_basesink_class_init),
19478 (gst_basesink_event), (gst_basesink_activate):
19479 * gst/base/gstbasesink.h:
19480 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
19481 (gst_basesrc_activate):
19482 * gst/base/gstbasesrc.h:
19483 * gst/gstelement.c: (gst_element_pads_activate):
19484 Some more documentation.
19485 Fixed scheduling decision in _pads_activate().
19487 2005-05-05 Andy Wingo <wingo@pobox.com>
19489 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
19492 2005-05-05 Wim Taymans <wim@fluendo.com>
19494 * gst/base/Makefile.am:
19495 * gst/base/gstbasesink.h:
19496 * gst/base/gstbasesrc.c: (gst_basesrc_init),
19497 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
19498 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
19499 (gst_collectpads_class_init), (gst_collectpads_init),
19500 (gst_collectpads_finalize), (gst_collectpads_new),
19501 (gst_collectpads_set_function), (gst_collectpads_add_pad),
19502 (find_pad), (gst_collectpads_remove_pad),
19503 (gst_collectpads_is_active), (gst_collectpads_collect),
19504 (gst_collectpads_collect_range), (gst_collectpads_start),
19505 (gst_collectpads_stop), (gst_collectpads_peek),
19506 (gst_collectpads_pop), (gst_collectpads_available),
19507 (gst_collectpads_read), (gst_collectpads_flush),
19508 (gst_collectpads_chain):
19509 * gst/base/gstcollectpads.h:
19510 * gst/elements/Makefile.am:
19511 * gst/elements/gstelements.c:
19512 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19513 (gst_fakesink_get_times), (gst_fakesink_event),
19514 (gst_fakesink_preroll), (gst_fakesink_render):
19515 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19516 (gst_filesink_init), (gst_filesink_set_location),
19517 (gst_filesink_open_file), (gst_filesink_close_file),
19518 (gst_filesink_pad_query), (gst_filesink_event),
19519 (gst_filesink_render), (gst_filesink_change_state):
19520 * gst/elements/gstfilesink.h:
19521 Added object to help in making collect pad based elements.
19523 Make event function in sink baseclass return gboolean.
19525 2005-05-05 Wim Taymans <wim@fluendo.com>
19527 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
19528 (gst_bin_get_by_name):
19530 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
19531 (gst_clock_finalize):
19532 * gst/gstdata.c: (gst_data_replace):
19534 * gst/gstelement.c: (gst_element_request_pad),
19535 (gst_element_pads_activate):
19536 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
19537 (gst_object_unref):
19538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19539 (gst_pad_set_checkgetrange_function),
19540 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
19541 (gst_pad_check_pull_range), (gst_pad_pull_range),
19542 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19543 (gst_pad_pause_task), (gst_pad_stop_task):
19544 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19545 (gst_element_request_pad), (gst_pad_proxy_getcaps):
19546 Fix name lookup in GstBin.
19547 Added _data_replace() function and _buffer_replace()
19548 Use finalize method to clean up clock.
19549 Fix refcounting on request pads.
19550 Fix pad schedule mode error.
19551 Some more object refcounting debug info,
19554 2005-05-04 Andy Wingo <wingo@pobox.com>
19556 * check/Makefile.am:
19557 * docs/gst/tmpl/gstatomic.sgml:
19558 * docs/gst/tmpl/gstplugin.sgml:
19559 * gst/base/gstbasesink.c: (gst_basesink_activate):
19560 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
19561 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
19562 (gst_basesrc_query), (gst_basesrc_set_property),
19563 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
19564 (gst_basesrc_activate):
19565 * gst/base/gstbasesrc.h:
19566 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
19567 (gst_base_transform_src_activate):
19568 * gst/elements/gstelements.c:
19569 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19570 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19571 * gst/elements/gsttee.c: (gst_tee_sink_activate):
19572 * gst/elements/gsttypefindelement.c: (find_element_get_length),
19573 (gst_type_find_element_checkgetrange),
19574 (gst_type_find_element_activate):
19575 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
19576 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
19577 (gst_caps_load_thyself):
19578 * gst/gstelement.c: (gst_element_pads_activate),
19579 (gst_element_save_thyself), (gst_element_restore_thyself):
19580 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
19581 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
19583 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
19584 (gst_xml_parse_file), (gst_xml_parse_memory),
19585 (gst_xml_get_element), (gst_xml_make_element):
19586 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19587 (_file_index_id_save_xml), (gst_file_index_commit):
19588 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
19589 (read_enum), (load_pad_template), (load_feature), (load_plugin),
19591 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
19592 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
19593 * tools/gst-complete.c: (main):
19594 * tools/gst-compprep.c: (main):
19595 * tools/gst-inspect.c: (print_element_properties_info):
19596 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
19597 * tools/gst-xmlinspect.c: (print_element_properties):
19600 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
19602 * gst/gstplugin.c: (gst_plugin_check_module),
19603 (gst_plugin_check_file), (gst_plugin_load_file):
19604 apply patch from #172526 to make register work on MacOSX
19606 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19608 * docs/gst/tmpl/gstconfig.sgml:
19609 * gst/gstconfig.h.in:
19610 move documentation for some symbols. Add doc for GST_PTR_FORMAT
19611 * testsuite/debug/printf_extension.c: (main):
19612 Do not use GST_PTR_FORMAT on pointers to types with
19613 sizeof < sizeof(gpointer). Fixes test on 64-bit
19614 * testsuite/elements/property.h:
19615 use correct printf format
19617 2005-05-02 Wim Taymans <wim@fluendo.com>
19619 * docs/design/draft-push-pull.txt:
19620 * docs/design/draft-query.txt:
19621 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19622 (gst_basesrc_start):
19623 Added draft for new query API.
19624 Added draft for better selecting scheduling methods.
19625 Make basesrc ignore length if the subclass does not support
19628 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19631 possible fixes for automake-1.5 - _LIBADD is reserved
19633 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19635 * docs/faq/Makefile.am:
19636 * docs/manual/Makefile.am:
19637 * docs/manuals.mak:
19638 * docs/pwg/Makefile.am:
19640 possible fixes for automake-1.5
19642 2005-04-28 Wim Taymans <wim@fluendo.com>
19644 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19645 (gst_basesink_pad_getcaps), (gst_basesink_init),
19646 (gst_basesink_do_sync):
19647 * gst/gstclock.c: (gst_clock_entry_new):
19648 * gst/gstevent.c: (gst_event_discont_get_value):
19649 * gst/gstpipeline.c: (pipeline_bus_handler),
19650 (gst_pipeline_change_state):
19651 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19652 Better debugging of clocking info.
19653 Allow NULL values when getting discont values.
19655 2005-04-27 Wim Taymans <wim@fluendo.com>
19657 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19658 * check/gst/gstpad.c: (gst_pad_suite):
19659 Increase timeout for checks.
19661 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19663 * check/Makefile.am:
19664 fix the broken rule for cleanup. Apparently this rule is
19665 only needed on FC2, so maybe this warrants further autotool
19668 2005-04-26 Wim Taymans <wim@fluendo.com>
19670 * gst/gsttrashstack.h:
19671 Ooohh. a nasty one! After having a failed pop() from the stack,
19672 it's possible that the stack is empty. In that case, don't
19673 follow the NULL pointer.
19675 2005-04-25 Wim Taymans <wim@fluendo.com>
19677 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19678 (gst_pad_set_checkgetrange_function),
19679 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19680 (gst_pad_check_pull_range), (gst_pad_pull_range),
19681 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19682 (gst_pad_pause_task), (gst_pad_stop_task):
19683 * gst/gstplugin.c: (gst_plugin_load):
19685 Remove gst_library_load as it does more harm than good with
19686 the new g_module flags.
19687 Revert bogus caps template check in pad linking, pad caps
19688 are important when linking not the template, which is more
19689 general than the current caps.
19691 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19693 * gst/autoplug/.cvsignore:
19694 * gst/autoplug/Makefile.am:
19695 * gst/autoplug/gstsearchfuncs.c:
19696 * gst/autoplug/gstsearchfuncs.h:
19697 * gst/autoplug/gstspider.c:
19698 * gst/autoplug/gstspider.h:
19699 * gst/autoplug/gstspideridentity.c:
19700 * gst/autoplug/gstspideridentity.h:
19701 * gst/autoplug/spidertest.c:
19704 2005-04-25 Wim Taymans <wim@fluendo.com>
19706 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19707 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19708 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19709 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19711 Added stubs for unimplemented functions.
19713 2005-04-24 David Schleef <ds@schleef.org>
19715 * gst/gstpad.h: Disable some unimplemented functions. Wim,
19718 2005-04-24 David Schleef <ds@schleef.org>
19720 Convert everything from GstAtomicInt to g_atomic_int_*, and
19725 * gst/gstatomic_impl.h:
19733 * gst/gstdata_private.h:
19737 * gst/gstmessage.c:
19740 * gst/gststructure.c:
19741 * gst/gststructure.h:
19742 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19745 2005-04-24 David Schleef <ds@schleef.org>
19747 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19748 make the regressions tests work. Remove some code that is no
19750 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19751 Disable warning for pads without templates.
19753 2005-04-24 David Schleef <ds@schleef.org>
19755 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
19756 functions that handle filtered links.
19757 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19759 * gst/gstutils.c: Fix/remove utility functions that handle
19762 * gst/gstvalue.c: Add serialization/deserialization of caps
19763 * gst/parse/grammar.y: Ignore filtered caps when linking. This
19764 requires fixing so that the filter caps notation creates
19765 a capsfilter element and sets the filter_caps property. I
19766 think everyone probably wants to keep the shorthand notation.
19767 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19768 * docs/gst/tmpl/gstpad.sgml:
19770 * gst/elements/gstelements.c: Register capsfilter element.
19771 * gst/Makefile.am: fix spacing
19772 * docs/random/ds/0.9-suggested-changes: random
19774 2005-04-23 David Schleef <ds@schleef.org>
19776 * gst/elements/Makefile.am:
19777 * gst/elements/gstcapsfilter.c: New element that acts like an
19778 identity, but filters caps. Will eventually replace filtered
19779 caps in pad linking.
19780 * gst/gstutils.c: (gst_element_create_all_pads): New function
19781 to create all the ALWAYS pads that are registered with an
19782 element class. This functionality should eventually be
19783 merged in with GstElement initialization.
19785 * testsuite/trigger/README: part of trigger test code that should
19786 have been checked in a long time ago.
19788 2005-04-23 David Schleef <ds@schleef.org>
19790 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
19791 needed with new versions of libtool (nobody will confirm this),
19792 and hard to carry around.
19793 * gst/autoplug/Makefile.am:
19794 * gst/base/Makefile.am:
19795 * gst/elements/Makefile.am:
19796 * gst/indexers/Makefile.am:
19797 * gst/schedulers/Makefile.am:
19798 * libs/gst/bytestream/Makefile.am:
19799 * libs/gst/control/Makefile.am:
19800 * libs/gst/dataprotocol/Makefile.am:
19801 * libs/gst/getbits/Makefile.am:
19803 2005-04-21 Wim Taymans <wim@fluendo.com>
19805 * docs/design/draft-push-pull.txt:
19806 * docs/design/part-MT-refcounting.txt:
19807 * docs/design/part-TODO.txt:
19808 * docs/design/part-caps.txt:
19809 * docs/design/part-events.txt:
19810 * docs/design/part-gstbus.txt:
19811 * docs/design/part-gstpipeline.txt:
19812 * docs/design/part-messages.txt:
19813 * docs/design/part-push-pull.txt:
19814 * docs/design/part-query.txt:
19817 2005-04-21 Wim Taymans <wim@fluendo.com>
19819 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19820 (gst_message_new), (gst_message_new_error),
19821 (gst_message_new_warning), (gst_message_new_tag),
19822 (gst_message_new_state_changed), (gst_message_new_application),
19823 (gst_message_get_structure):
19824 * gst/gstmessage.h:
19825 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19826 (gst_structure_copy_conditional):
19827 Use parent refcount in GstMessage to ensure GstStructure
19829 Cleaned up headers a bit.
19832 2005-04-20 Wim Taymans <wim@fluendo.com>
19834 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19835 (gst_basesink_pad_getcaps), (gst_basesink_init),
19836 (gst_basesink_chain_unlocked):
19837 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19838 (gst_type_find_helper):
19839 * gst/elements/gsttypefindelement.c:
19840 (gst_type_find_element_have_type), (gst_type_find_element_init),
19841 (stop_typefinding), (gst_type_find_element_handle_event),
19842 (find_suggest), (gst_type_find_element_chain),
19843 (gst_type_find_element_checkgetrange),
19844 (gst_type_find_element_getrange), (do_typefind),
19845 (gst_type_find_element_activate):
19846 * gst/gstbuffer.c: (_gst_buffer_sub_free),
19847 (gst_buffer_default_free), (gst_buffer_default_copy),
19848 (gst_buffer_set_caps):
19849 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19850 (gst_caps_replace):
19851 * gst/gstmessage.c: (gst_message_new),
19852 (gst_message_new_state_changed):
19853 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19854 (gst_pad_set_checkgetrange_function),
19855 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19856 (gst_pad_set_caps), (gst_pad_check_pull_range),
19857 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19859 * gst/gsttypefind.c: (gst_type_find_register):
19860 Make gst_caps_replace() work like other _replace() functions.
19861 Use _caps_replace() where possible.
19862 Make sure _message_new() initialises its field.
19863 Add gst_static_pad_template_get_caps()
19866 2005-04-18 Andy Wingo <wingo@pobox.com>
19868 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19869 on the peer, not the pad. I think that was a typo. Pass an extra
19870 arg to see if random access is possible. Activate the pads as
19871 PULL_RANGE if possible.
19873 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19875 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
19876 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19879 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19881 * docs/faq/using.xml:
19882 Add note on gstreamer-properties (#154996).
19884 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19886 * docs/random/bbb/optional-properties:
19887 Some analysis on optional properties.
19889 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19891 * docs/gst/tmpl/gstelementfactory.sgml:
19892 * gst/gstelement.h:
19893 * gst/gstelementfactory.c: (gst_element_factory_init),
19894 (gst_element_factory_cleanup), (gst_element_register),
19895 (__gst_element_factory_add_static_pad_template),
19896 (gst_element_factory_get_static_pad_templates),
19897 (gst_element_factory_can_src_caps),
19898 (gst_element_factory_can_sink_caps):
19899 * gst/registries/Makefile.am:
19900 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19901 (gst_xml_registry_class_init), (gst_xml_registry_init),
19902 (gst_xml_registry_new), (gst_xml_registry_set_property),
19903 (gst_xml_registry_get_property), (get_time), (make_dir),
19904 (gst_xml_registry_get_perms_func),
19905 (plugin_times_older_than_recurse), (plugin_times_older_than),
19906 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19907 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19908 (add_to_char_array), (read_string), (read_uint), (read_enum),
19909 (load_pad_template), (load_feature), (load_plugin), (load_paths),
19910 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19911 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19912 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19913 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19914 (gst_xml_registry_rebuild):
19915 * gst/registries/gstlibxmlregistry.h:
19916 * tools/gst-compprep.c: (main):
19917 * tools/gst-inspect.c: (print_pad_templates_info):
19918 * tools/gst-xmlinspect.c: (print_element_info):
19919 Use libxml2 for registry parsing, use staticpadtemplates in
19920 elementfactories. Makes gst_init() +/- 10x faster.
19922 2005-04-12 Wim Taymans <wim@fluendo.com>
19924 * gst/base/Makefile.am:
19925 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19926 (gst_basesink_pad_getcaps), (gst_basesink_init),
19927 (gst_basesink_event), (gst_basesink_change_state):
19928 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19929 (gst_basesrc_init), (gst_basesrc_query),
19930 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19931 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19932 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19933 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19934 (gst_basesrc_stop), (gst_basesrc_activate),
19935 (gst_basesrc_change_state):
19936 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19937 (helper_find_suggest), (gst_type_find_helper):
19938 * gst/base/gsttypefindhelper.h:
19939 * gst/elements/Makefile.am:
19940 * gst/elements/gstelements.c:
19941 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19942 (gst_fakesink_get_times), (gst_fakesink_event),
19943 (gst_fakesink_preroll), (gst_fakesink_render):
19944 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19945 (gst_fakesrc_init), (gst_fakesrc_event_handler),
19946 (gst_fakesrc_get_property), (gst_fakesrc_create),
19947 (gst_fakesrc_start), (gst_fakesrc_stop):
19948 * gst/elements/gstfakesrc.h:
19949 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19950 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19951 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19952 (gst_filesrc_create_read), (gst_filesrc_create),
19953 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19954 (gst_filesrc_start):
19955 * gst/elements/gsttypefindelement.c:
19956 (gst_type_find_element_have_type), (gst_type_find_element_init),
19957 (start_typefinding), (stop_typefinding), (push_buffer_store),
19958 (gst_type_find_element_handle_event),
19959 (gst_type_find_element_chain),
19960 (gst_type_find_element_checkgetrange),
19961 (gst_type_find_element_getrange), (do_typefind),
19962 (gst_type_find_element_activate),
19963 (gst_type_find_element_change_state):
19964 * gst/elements/gsttypefindelement.h:
19965 * gst/gstpipeline.c: (pipeline_bus_handler):
19966 Added typefind helper.
19967 Small preroll fix in the base sink.
19968 Disable typefind code in basesrc.
19969 Crude port of typefindelement.
19973 2005-04-11 Wim Taymans <wim@fluendo.com>
19975 * check/gst/gstbus.c: (gstbus_suite):
19976 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19977 * check/gstcheck.h:
19978 Fix up the timeout so that the test does not fail.
19980 2005-04-06 Wim Taymans <wim@fluendo.com>
19983 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19984 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19985 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19986 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19987 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19988 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19989 (gst_basesrc_stop), (gst_basesrc_activate),
19990 (gst_basesrc_change_state), (basesrc_find_peek),
19991 (basesrc_find_suggest), (gst_basesrc_type_find):
19992 * gst/base/gstbasesrc.h:
19993 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19994 (gst_filesrc_class_init), (gst_filesrc_init),
19995 (gst_filesrc_finalize), (gst_filesrc_set_location),
19996 (gst_filesrc_set_property), (gst_filesrc_get_property),
19997 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19998 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19999 (gst_filesrc_create_read), (gst_filesrc_create),
20000 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
20001 * gst/elements/gstfilesrc.h:
20002 * gst/gstelement.c: (gst_element_get_state_func),
20003 (gst_element_lost_state), (gst_element_pads_activate):
20004 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20005 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
20006 (gst_pad_pull_range):
20008 More work on the generic source base class, implement seeking,
20010 Make filesrc extend the base source class.
20011 Added gst_pad_set_checkgetrange_function to GstPad.
20013 2005-04-06 Andy Wingo <wingo@pobox.com>
20015 * pkgconfig/gstreamer-base.pc.in:
20016 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
20018 * pkgconfig/Makefile.am:
20019 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
20021 2005-04-04 Wim Taymans <wim@fluendo.com>
20023 * gst/base/Makefile.am:
20025 * gst/base/gstbasesink.c: (gst_basesink_base_init),
20026 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
20027 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
20028 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
20029 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
20030 (gst_basesrc_base_init), (gst_basesrc_class_init),
20031 (gst_basesrc_init), (gst_basesrc_get_formats),
20032 (gst_basesrc_get_query_types), (gst_basesrc_query),
20033 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
20034 (gst_basesrc_set_property), (gst_basesrc_get_property),
20035 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
20036 (gst_basesrc_loop), (gst_basesrc_activate),
20037 (gst_basesrc_change_state):
20038 * gst/base/gstbasesrc.h:
20039 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
20040 (gst_fakesrc_class_init), (gst_fakesrc_init),
20041 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
20042 (gst_fakesrc_get_property), (gst_fakesrc_create):
20043 * gst/elements/gstfakesrc.h:
20044 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
20045 (gst_filesrc_open_file), (gst_filesrc_loop),
20046 (gst_filesrc_activate), (filesrc_find_peek),
20047 (gst_filesrc_type_find):
20048 Made base source class, make fakesrc extend it.
20049 Add comments to basesink class.
20050 Some filesrc cleanup.
20052 2005-03-31 David Schleef <ds@schleef.org>
20054 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
20055 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
20056 expected to link against libgstreamer.
20057 * gst/base/Makefile.am: link against libgstreamer
20058 * gst/elements/Makefile.am: same
20060 2005-03-31 Andy Wingo <wingo@pobox.com>
20062 * tests/instantiate/Makefile.am:
20063 * tests/instantiate/caps.c: Add test to test speed of caps copy
20066 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
20067 GMemChunk to be fair.
20069 * gst/gsttrashstack.h: Remove warning about using the fallback
20070 trash stack implementation, it's still faster than malloc.
20072 2005-03-30 Andy Wingo <wingo@pobox.com>
20074 * tests/complexity.c: Add a copyright.
20076 2005-03-31 Wim Taymans <wim@fluendo.com>
20078 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
20079 (gst_base_transform_class_init), (gst_base_transform_init),
20080 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20081 (gst_base_transform_get_property),
20082 (gst_base_transform_sink_activate),
20083 (gst_base_transform_src_activate),
20084 (gst_base_transform_change_state):
20085 * gst/base/gstbasetransform.h:
20086 * gst/elements/gstidentity.c: (gst_identity_class_init),
20087 (gst_identity_event), (gst_identity_check_perfect),
20088 (gst_identity_transform), (gst_identity_start),
20089 (gst_identity_stop):
20090 Added start/stop methods to transform base class so subclasses
20091 don't need to deal with state changes even.
20093 2005-03-31 Wim Taymans <wim@fluendo.com>
20095 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
20096 (gst_event_new_discontinuous), (gst_event_discont_get_value):
20098 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20099 (gst_pad_pull_range):
20100 Added rate to the discont event to prepare for variable speed
20101 and reverse playback.
20103 2005-03-29 David Schleef <ds@schleef.org>
20106 * testsuite/trigger/Makefile.am:
20107 * testsuite/trigger/trigger.c: A little example program to show
20108 how trigger-based elements can work.
20110 2005-03-29 Wim Taymans <wim@fluendo.com>
20112 * gst/base/Makefile.am:
20114 * gst/base/gstbasesink.c: (gst_basesink_get_type),
20115 (gst_basesink_base_init), (gst_basesink_class_init),
20116 (gst_basesink_pad_getcaps), (gst_basesink_init),
20117 (gst_basesink_activate), (gst_basesink_change_state):
20118 * gst/base/gstbasesink.h:
20119 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
20120 (gst_base_transform_base_init), (gst_base_transform_finalize),
20121 (gst_base_transform_class_init), (gst_base_transform_init),
20122 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
20123 (gst_base_transform_event), (gst_base_transform_getrange),
20124 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
20125 (gst_base_transform_set_property),
20126 (gst_base_transform_get_property),
20127 (gst_base_transform_sink_activate),
20128 (gst_base_transform_src_activate),
20129 (gst_base_transform_change_state):
20130 * gst/base/gstbasetransform.h:
20131 * gst/elements/gstidentity.c: (gst_identity_finalize),
20132 (gst_identity_class_init), (gst_identity_init),
20133 (gst_identity_event), (gst_identity_check_perfect),
20134 (gst_identity_transform), (gst_identity_set_property),
20135 (gst_identity_get_property), (gst_identity_change_state):
20136 * gst/elements/gstidentity.h:
20137 * gst/gstelement.c: (gst_element_get_state_func),
20138 (gst_element_lost_state), (gst_element_pads_activate):
20139 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20140 (gst_pad_check_pull_range), (gst_pad_pull_range):
20142 Simplify pad activation.
20143 Added function to check if pull_range can be performed.
20144 Error out when pulling inactive or flushing pads.
20145 Removed const from refcounted types as it does not make sense.
20146 Simplify pad templates in basesink
20147 Added base class for simple 1-to-1 transforms.
20148 Make identity subclass the base transform.
20150 2005-03-29 Andy Wingo <wingo@pobox.com>
20152 * docs/libs/gstreamer-libs-overrides.txt:
20153 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
20154 really don't understand what's going on, but like whatever. I want
20157 * docs/gst/Makefile.am:
20158 * docs/libs/Makefile.am: Dist the overrides files.
20160 * check/Makefile.am (clean-local): Remove .libs directories.
20162 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
20163 elements to EXTRA_DIST, so po/ files are happy.
20165 * po/POTFILES.in: Er, remove it here.
20167 * po/POTFILES: Remove gstspider.c.
20169 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
20171 * docs/libs/gstreamer-libs-docs.sgml:
20172 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
20175 * tests/complexity.c (main): Set the length of the preroll queue
20176 on the sinks to prevent a lockup.
20178 * libs/gst/dataprotocol/Makefile.am:
20179 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
20180 the same as the one in check/gst-libs/gdp.c.
20182 * po/, docs/gst/: Commit automatic changes to docs and po files.
20184 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
20185 the versioned libgstbase.
20187 * check/Makefile.am: Depend on an unversioned gst-register, seems
20188 to make autoconf happier.
20190 * gst/base/Makefile.am: Make libgstbase a versioned lib.
20192 2005-03-28 Wim Taymans <wim@fluendo.com>
20195 * docs/design/part-gstelement.txt:
20196 * docs/design/part-negotiation.txt:
20197 * docs/design/part-preroll.txt:
20198 * docs/design/part-scheduling.txt:
20199 * docs/design/part-states.txt:
20201 * gst/base/Makefile.am:
20203 * gst/base/gstbasesink.c: (gst_basesink_get_template),
20204 (gst_basesink_base_init), (gst_basesink_class_init),
20205 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
20206 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
20207 (gst_basesink_set_pad_functions),
20208 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
20209 (gst_basesink_set_property), (gst_basesink_get_property),
20210 (gst_base_sink_get_template), (gst_base_sink_get_caps),
20211 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
20212 (gst_basesink_preroll_queue_push),
20213 (gst_basesink_preroll_queue_empty),
20214 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
20215 (gst_basesink_event), (gst_basesink_get_times),
20216 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
20217 (gst_basesink_chain_unlocked), (gst_basesink_chain),
20218 (gst_basesink_loop), (gst_basesink_activate),
20219 (gst_basesink_change_state):
20220 * gst/base/gstbasesink.h:
20221 * gst/elements/Makefile.am:
20222 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
20223 (gst_fakesink_class_init), (gst_fakesink_init),
20224 (gst_fakesink_set_property), (gst_fakesink_get_property),
20225 (gst_fakesink_get_times), (gst_fakesink_event),
20226 (gst_fakesink_preroll), (gst_fakesink_render),
20227 (gst_fakesink_change_state):
20228 * gst/elements/gstfakesink.h:
20229 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
20230 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
20231 * gst/gstelement.c: (gst_element_add_pad),
20232 (gst_element_get_state_func), (gst_element_abort_state),
20233 (gst_element_commit_state), (gst_element_lost_state),
20234 (gst_element_set_state), (gst_element_pads_activate):
20235 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
20236 * gst/gstpipeline.c: (gst_pipeline_send_event),
20237 (gst_pipeline_change_state):
20238 Added state change code.
20239 Added/updated docs.
20240 Added sink base class, make fakesink extend the base class.
20241 Small cleanups in GstPipeline.
20243 2005-03-26 David Schleef <ds@schleef.org>
20245 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
20246 is broken and should be implemented in a different library.
20247 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
20248 * gst/gst.h: remove gstcpu.h
20249 * gst/gstcpu.c: remove
20250 * gst/gstcpu.h: remove
20251 * gst/Makefile.am.future: Remove this file. It's ancient.
20253 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20255 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
20256 (gst_bin_send_event):
20257 Add default event/set_manager handlers. The set_manager handler
20258 takes care that the manager is distributed over kids that were
20259 already in the bin before the manager was set. The event handler
20260 is a utility virtual function that sends the event over all sinks,
20261 so that gst_element_send_event (bin, event); has the expected
20263 * gst/gstpad.c: (gst_pad_event_default):
20264 Re-install default event handling for discontinuities, so that
20265 seeking works without requiring hacks in applications or extra
20267 * gst/gstpipeline.c: (gst_pipeline_class_init),
20268 (gst_pipeline_send_event):
20269 Half hack, half utility: set a pipeline to PAUSED for seek events,
20270 since that is the only way we can guarantee a/v sync. Means that
20271 you can do gst_element_seek (pipeline, method, pos); on a pipeline
20272 and it "just works".
20274 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20276 * gst/gstpipeline.c: (gst_pipeline_use_clock):
20277 Lock/unlock mismatch.
20279 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
20281 * docs/faq/gst-uninstalled:
20282 add gst-plugins-base
20283 * docs/gst/Makefile.am:
20284 don't error out until docs are fixed
20285 * docs/gst/gstreamer.types:
20288 2005-03-22 Wim Taymans <wim@fluendo.com>
20290 * check/Makefile.am:
20291 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
20292 * gst/gststructure.c: (gst_structure_set_valist),
20293 (gst_structure_copy_conditional):
20294 Activated more tests.
20295 Added message test.
20296 Added G_TYPE_POINTER to GstStructure.
20299 2005-03-22 Wim Taymans <wim@fluendo.com>
20301 * docs/design/part-TODO.txt:
20302 * docs/design/part-events.txt:
20303 * docs/design/part-gstbin.txt:
20304 * docs/design/part-gstbus.txt:
20305 * docs/design/part-gstpipeline.txt:
20306 * docs/design/part-messages.txt:
20308 * gst/gstmessage.c:
20311 2005-03-21 Wim Taymans <wim@fluendo.com>
20313 * gst/gstbus.c: (gst_bus_post):
20314 Fix copy-and-paste error.
20316 2005-03-21 Wim Taymans <wim@fluendo.com>
20318 * check/Makefile.am:
20320 * gst/elements/Makefile.am:
20321 * gst/elements/gstelements.c:
20322 * gst/elements/gstfakesink.c: (gst_fakesink_init),
20323 (gst_fakesink_event), (gst_fakesink_chain):
20324 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20325 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
20326 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
20327 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
20328 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
20329 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
20330 (gst_fakesrc_loop), (gst_fakesrc_activate),
20331 (gst_fakesrc_change_state):
20332 * gst/elements/gstfakesrc.h:
20333 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
20334 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
20335 (gst_filesrc_open_file), (gst_filesrc_loop),
20336 (gst_filesrc_activate), (gst_filesrc_change_state),
20337 (filesrc_find_peek), (filesrc_find_suggest),
20338 (gst_filesrc_type_find):
20339 * gst/elements/gstidentity.c: (gst_identity_finalize),
20340 (gst_identity_class_init), (gst_identity_init),
20341 (gst_identity_proxy_getcaps), (identity_queue_push),
20342 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
20343 (gst_identity_getrange), (gst_identity_chain),
20344 (gst_identity_sink_loop), (gst_identity_src_loop),
20345 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
20346 (gst_identity_set_property), (gst_identity_get_property),
20347 (gst_identity_change_state):
20348 * gst/elements/gstidentity.h:
20349 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
20350 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
20351 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
20352 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
20353 (gst_tee_sink_activate):
20354 * gst/elements/gsttee.h:
20355 * gst/gst.c: (gst_register_core_elements), (init_post):
20357 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
20358 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
20359 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
20360 (gst_bin_change_state):
20362 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
20363 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
20364 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
20365 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
20366 (gst_bus_set_sync_handler), (gst_bus_create_watch),
20367 (bus_watch_callback), (bus_watch_destroy),
20368 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
20369 (poll_timeout), (gst_bus_poll):
20373 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20374 (gst_element_post_message), (gst_element_message_full),
20375 (gst_element_get_state_func), (gst_element_get_state),
20376 (gst_element_abort_state), (gst_element_commit_state),
20377 (gst_element_lost_state), (gst_element_set_state),
20378 (gst_element_pads_activate), (gst_element_change_state),
20379 (gst_element_dispose), (gst_element_set_manager_func),
20380 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
20381 (gst_element_set_manager), (gst_element_get_manager),
20382 (gst_element_set_bus), (gst_element_get_bus),
20383 (gst_element_set_scheduler), (gst_element_get_scheduler):
20384 * gst/gstelement.h:
20385 * gst/gstevent.c: (gst_event_new_segment_seek),
20386 (gst_event_new_flush):
20388 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
20389 (_gst_message_free), (gst_message_get_type), (gst_message_new),
20390 (gst_message_new_eos), (gst_message_new_error),
20391 (gst_message_new_warning), (gst_message_new_tag),
20392 (gst_message_new_state_changed), (gst_message_new_application),
20393 (gst_message_get_structure), (gst_message_parse_tag),
20394 (gst_message_parse_state_changed), (gst_message_parse_error),
20395 (gst_message_parse_warning):
20396 * gst/gstmessage.h:
20397 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
20398 (gst_real_pad_set_property), (gst_pad_set_active),
20399 (gst_pad_is_active), (gst_pad_set_blocked_async),
20400 (gst_pad_set_blocked), (gst_pad_is_blocked),
20401 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
20402 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
20403 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
20404 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
20405 (gst_pad_link_filtered), (gst_pad_relink_filtered),
20406 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
20407 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
20408 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
20409 (gst_pad_set_caps), (gst_pad_configure_sink),
20410 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
20411 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
20412 (gst_real_pad_dispose), (gst_real_pad_finalize),
20413 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
20414 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20415 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
20417 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
20418 (pipeline_bus_handler), (gst_pipeline_change_state),
20419 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
20420 * gst/gstpipeline.h:
20422 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20423 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
20424 (gst_queue_link_src), (gst_queue_bufferalloc),
20425 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
20426 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
20427 (gst_queue_loop), (gst_queue_handle_src_event),
20428 (gst_queue_handle_src_query), (gst_queue_src_activate),
20429 (gst_queue_change_state):
20431 * gst/gstscheduler.c: (gst_scheduler_init),
20432 (gst_scheduler_dispose), (gst_scheduler_create_task),
20433 (gst_scheduler_factory_create):
20434 * gst/gstscheduler.h:
20435 * gst/gststructure.c: (gst_structure_get_type),
20436 (gst_structure_copy_conditional):
20437 * gst/gststructure.h:
20438 * gst/gsttaginterface.h:
20439 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20440 (gst_task_init), (gst_task_dispose), (gst_task_create),
20441 (gst_task_get_state), (gst_task_start), (gst_task_stop),
20447 * gst/schedulers/Makefile.am:
20448 * gst/schedulers/cothreads_compat.h:
20449 * gst/schedulers/entryscheduler.c:
20450 * gst/schedulers/faircothreads.c:
20451 * gst/schedulers/faircothreads.h:
20452 * gst/schedulers/fairscheduler.c:
20453 * gst/schedulers/gstbasicscheduler.c:
20454 * gst/schedulers/gstoptimalscheduler.c:
20455 * gst/schedulers/gthread-cothreads.h:
20456 * gst/schedulers/threadscheduler.c:
20457 (gst_thread_scheduler_task_get_type),
20458 (gst_thread_scheduler_task_class_init),
20459 (gst_thread_scheduler_task_init),
20460 (gst_thread_scheduler_task_start),
20461 (gst_thread_scheduler_task_stop),
20462 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
20463 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20464 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
20465 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
20467 * libs/gst/Makefile.am:
20468 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
20469 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
20470 (gst_file_pad_parent_set):
20471 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20472 (gst_dp_event_from_packet):
20473 * tests/complexity.c: (main):
20474 * tests/mass_elements.c: (main):
20475 * testsuite/states/locked.c: (message_received), (main):
20476 * testsuite/states/parent.c: (main):
20477 * tools/gst-inspect.c: (print_element_flag_info),
20478 (print_implementation_info), (print_pad_info):
20479 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
20481 * tools/gst-md5sum.c: (event_loop), (main):
20482 * tools/gst-typefind.c: (main):
20483 * tools/gst-xmlinspect.c: (print_element_info):
20485 Added GstBus for mainloop integration.
20486 Added GstMessage for sending notifications on the bus.
20487 Added GstTask as an abstraction for pipeline entry points.
20489 Removed Schedulers.
20490 Simplified GstQueue for multithreaded core.
20491 Made _link threadsafe, removed old capsnego.
20492 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
20493 Added pad blocking functions.
20494 Reworked scheduling functions in GstPad to prepare for
20495 scheduling updates soon.
20496 Moved events out of data stream.
20497 Simplified GstEvent types.
20498 Added return values to push/pull.
20499 Removed clocking from GstElement.
20500 Added prototypes for state change function for next merge.
20501 Removed iterate from bins and state change management.
20502 Fixed some elements, disabled others for now.
20503 Fixed -inspect and -launch.
20504 Added check for GstBus.
20506 2005-03-10 Wim Taymans <wim@fluendo.com>
20508 * docs/design/part-MT-refcounting.txt:
20509 * docs/design/part-clocks.txt:
20510 * docs/design/part-gstelement.txt:
20511 * docs/design/part-gstobject.txt:
20512 * docs/design/part-standards.txt:
20513 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20514 (gst_bin_remove_func), (gst_bin_remove):
20518 * testsuite/clock/clock1.c: (main):
20519 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
20521 * testsuite/dlopen/loadgst.c: (do_test):
20522 * testsuite/refcounting/bin.c: (add_remove_test1),
20523 (add_remove_test2), (main):
20524 * testsuite/refcounting/element.c: (main):
20525 * testsuite/refcounting/element_pad.c: (main):
20526 * testsuite/refcounting/pad.c: (main):
20527 * tools/gst-launch.c: (sigint_handler_sighandler):
20528 * tools/gst-typefind.c: (main):
20530 Added doc about clock.
20531 removed gst_bin_iterate_recurse_up(), marked methods
20533 Fix more testsuites.
20535 2005-03-09 Wim Taymans <wim@fluendo.com>
20537 * gst/gstpad.c: (gst_pad_get_direction),
20538 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
20539 (gst_pad_collect_valist):
20540 * testsuite/bins/interface.c: (main):
20541 * testsuite/caps/audioscale.c: (test_caps):
20542 * testsuite/caps/caps.c: (test1), (test2), (test3):
20543 * testsuite/caps/deserialize.c: (main):
20544 * testsuite/caps/enumcaps.c: (main):
20545 * testsuite/caps/filtercaps.c: (main):
20546 * testsuite/caps/intersect2.c: (main):
20547 * testsuite/caps/random.c: (main):
20548 * testsuite/caps/renegotiate.c: (my_fixate), (main):
20549 * testsuite/caps/sets.c: (check_caps):
20550 * testsuite/caps/simplify.c: (check_caps), (main):
20551 * testsuite/caps/subtract.c: (check_caps):
20552 Fix _pad_get_direction wrt ghostpads.
20553 Fix caps testsuite.
20555 2005-03-09 Wim Taymans <wim@fluendo.com>
20557 * check/Makefile.am:
20558 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
20559 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
20560 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
20561 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
20562 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
20563 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
20564 (gst_bin_remove), (gst_bin_iterate_recurse_up),
20565 (bin_element_is_sink), (gst_bin_iterate_sinks),
20566 (gst_bin_iterate_all_by_interface):
20568 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
20569 (gst_element_change_state), (gst_element_dispose),
20570 (gst_element_finalize), (gst_element_set_loop_function):
20571 * gst/gstelement.h:
20572 * gst/gstiterator.c: (find_custom_fold_func):
20573 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20574 (gst_pad_collectv), (gst_pad_collect_valist),
20575 (gst_pad_template_new):
20576 * gst/gstpipeline.c: (gst_pipeline_class_init),
20577 (gst_pipeline_dispose), (gst_pipeline_set_property),
20578 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
20579 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
20580 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
20582 * gst/schedulers/entryscheduler.c:
20583 * gst/schedulers/gstbasicscheduler.c:
20584 (gst_basic_scheduler_cothreaded_chain),
20585 (gst_basic_scheduler_chain_add_element):
20586 * testsuite/bins/interface.c: (main):
20588 Added GstSystemClock test.
20589 Implemented clock distribution code in GstBin.
20590 Implemented iterate sinks method for future use.
20591 Rearranged gstelement.h
20592 Fix GstIterator comparison bug.
20593 Moved some code to GstPipeline, mostly clocking related.
20595 2005-03-09 Wim Taymans <wim@fluendo.com>
20598 * gst/gst_private.h:
20599 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20600 (gst_bin_remove_func), (gst_bin_remove),
20601 (gst_bin_get_by_name_recurse_up):
20602 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
20603 (gst_clock_id_compare_func), (gst_clock_id_wait),
20604 (gst_clock_id_wait_async), (gst_clock_init),
20605 (gst_clock_adjust_unlocked), (gst_clock_get_time):
20606 * gst/gstelement.h:
20607 * gst/gstinfo.c: (_gst_debug_init):
20609 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20610 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20612 Bump version number, we're now 0.9.0
20613 Add future debugging category.
20614 Fix NULL _unref() in _get_by_name_recurse_up
20615 Rearrange gstpad.h.
20618 2005-03-08 Wim Taymans <wim@fluendo.com>
20620 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20621 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20622 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20623 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20624 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20625 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20626 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20627 * gst/elements/gstidentity.c: (gst_identity_class_init):
20628 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20629 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20630 * gst/elements/gstshaper.c: (gst_shaper_class_init):
20631 * gst/elements/gststatistics.c: (gst_statistics_class_init):
20632 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20634 * gst/gstelement.c: (gst_element_class_init),
20635 (gst_element_base_class_init), (gst_element_init),
20636 (gst_element_get_random_pad), (gst_element_wait_state_change),
20637 (gst_element_change_state), (gst_element_dispose),
20638 (gst_element_finalize), (gst_element_set_loop_function):
20639 * gst/gstelement.h:
20640 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20641 * gst/gstthread.c: (gst_thread_class_init),
20642 (gst_thread_release_children_locks), (gst_thread_change_state):
20643 * gst/schedulers/gstbasicscheduler.c:
20644 (gst_basic_scheduler_loopfunc_wrapper),
20645 (gst_basic_scheduler_chain_wrapper),
20646 (gst_basic_scheduler_src_wrapper),
20647 (gst_basic_scheduler_remove_element):
20648 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20649 Remove threadsafe properties. Fix elements because GObject
20650 complains when installing a property before declaring a
20651 set/get_property handler.
20652 Rearrange gstelement.h file, use STATE macros for state locks.
20653 Free mutexes in the finalize method instead of dispose.
20655 2005-03-08 Wim Taymans <wim@fluendo.com>
20657 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20658 * gst/gstthread.c: (gst_thread_release_children_locks):
20659 Added parentage check.
20660 Fix build og GstThread again.
20662 2005-03-08 Wim Taymans <wim@fluendo.com>
20664 * docs/design/part-MT-refcounting.txt:
20665 * docs/design/part-conventions.txt:
20666 * docs/design/part-gstobject.txt:
20667 * docs/design/part-relations.txt:
20668 * docs/design/part-standards.txt:
20669 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20670 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20671 (gst_bin_get_by_name), (gst_bin_get_by_interface),
20672 (gst_bin_iterate_all_by_interface):
20675 * gst/gstelement.c: (gst_element_class_init),
20676 (gst_element_change_state), (gst_element_set_loop_function):
20677 * gst/gstelement.h:
20678 * gst/gstiterator.c:
20679 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20680 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20681 (gst_object_dispatch_properties_changed), (gst_object_set_name),
20682 (gst_object_set_parent), (gst_object_unparent),
20683 (gst_object_check_uniqueness):
20685 Docs updates, clean up some headers.
20687 2005-03-07 Wim Taymans <wim@fluendo.com>
20689 * check/.cvsignore:
20690 * check/Makefile.am:
20691 * check/gst-libs/.cvsignore:
20692 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20693 * check/gst/.cvsignore:
20694 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20695 (START_TEST), (gstbus_suite), (main):
20696 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20697 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20698 (gst_data_suite), (main):
20699 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20700 (add_fold_func), (gstiterator_suite), (main):
20701 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20702 (thread_name_object), (thread_name_object_default),
20703 (gst_object_name_compare), (gst_object_suite), (main):
20704 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20705 (gst_pad_suite), (main):
20706 * check/gstcheck.c: (gst_check_log_message_func),
20707 (gst_check_log_critical_func), (gst_check_init):
20708 * check/gstcheck.h:
20709 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20710 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20713 2005-03-07 Wim Taymans <wim@fluendo.com>
20715 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20716 (gst_list_iterator_next), (gst_list_iterator_resync),
20717 (gst_list_iterator_free), (gst_iterator_new_list),
20718 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20719 (gst_iterator_free), (gst_iterator_push), (filter_next),
20720 (filter_resync), (filter_uninit), (filter_free),
20721 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20722 (gst_iterator_foreach), (find_custom_fold_func),
20723 (gst_iterator_find_custom):
20724 * gst/gstiterator.h:
20725 Added missing files.
20727 2005-03-07 Wim Taymans <wim@fluendo.com>
20731 * docs/design/part-MT-refcounting.txt:
20732 * docs/design/part-conventions.txt:
20733 * docs/design/part-gstobject.txt:
20734 * docs/design/part-relations.txt:
20735 * examples/mixer/mixer.c: (main):
20736 * examples/thread/thread.c: (eos), (main):
20738 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20739 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20740 (gst_spider_plug_from_srcpad):
20741 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20742 (gst_spider_identity_change_state),
20743 (gst_spider_identity_sink_loop_type_finding):
20744 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20745 * gst/elements/gstidentity.c: (gst_identity_init):
20746 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20747 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20748 * gst/elements/gsttypefindelement.c: (free_entry):
20751 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20752 (gst_bin_set_clock_func), (gst_bin_auto_clock),
20753 (gst_bin_set_index), (gst_bin_set_element_sched),
20754 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20755 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20756 (gst_bin_iterate_elements), (iterate_child_recurse),
20757 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20758 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20759 (compare_interface), (gst_bin_get_by_interface),
20760 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20762 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20763 (gst_buffer_default_free), (gst_buffer_default_copy),
20764 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20765 (gst_buffer_create_sub):
20767 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20768 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20769 (gst_caps_unref), (gst_static_caps_get),
20770 (gst_caps_remove_and_get_structure), (gst_caps_append),
20771 (gst_caps_append_structure), (gst_caps_remove_structure),
20772 (gst_caps_copy_nth), (gst_caps_set_simple),
20773 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20774 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20775 (gst_caps_structure_intersect_field), (gst_caps_intersect),
20776 (gst_caps_structure_subtract_field), (gst_caps_subtract),
20777 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20778 (gst_caps_structure_figure_out_union),
20779 (gst_caps_switch_structures), (gst_caps_do_simplify),
20780 (gst_caps_replace), (gst_caps_from_string),
20781 (gst_caps_copy_conditional):
20783 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20784 (_gst_clock_id_free), (gst_clock_id_unref),
20785 (gst_clock_id_compare_func), (gst_clock_id_wait),
20786 (gst_clock_id_wait_async), (gst_clock_class_init),
20787 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20788 (gst_clock_get_time), (gst_clock_set_time_adjust),
20789 (gst_clock_set_property), (gst_clock_get_property):
20792 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20793 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20795 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20796 (gst_element_requires_clock), (gst_element_provides_clock),
20797 (gst_element_set_clock), (gst_element_clock_wait),
20798 (gst_element_wait), (gst_element_set_time_delay),
20799 (gst_element_is_indexable), (gst_element_add_pad),
20800 (gst_element_add_ghost_pad), (gst_element_remove_pad),
20801 (pad_compare_name), (gst_element_get_static_pad),
20802 (gst_element_request_pad), (gst_element_get_request_pad),
20803 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20804 (gst_element_class_get_pad_template_list),
20805 (gst_element_class_get_pad_template), (gst_element_error_func),
20806 (gst_element_get_random_pad), (gst_element_get_event_masks),
20807 (gst_element_send_event), (gst_element_seek),
20808 (gst_element_get_query_types), (gst_element_query),
20809 (gst_element_get_formats), (gst_element_convert),
20810 (gst_element_is_locked_state), (gst_element_set_locked_state),
20811 (gst_element_sync_state_with_parent), (gst_element_change_state),
20812 (gst_element_finalize), (gst_element_yield),
20813 (gst_element_interrupt), (gst_element_set_scheduler),
20814 (gst_element_get_scheduler), (gst_element_set_loop_function):
20815 * gst/gstelement.h:
20817 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20818 (gst_format_get_by_nick), (gst_format_get_details),
20819 (gst_format_iterate_definitions):
20821 * gst/gstindex.c: (gst_index_gtype_resolver):
20824 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20825 (gst_mem_chunk_free):
20826 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20827 (gst_object_ref), (gst_object_unref), (gst_object_sink),
20828 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20829 (gst_object_dispatch_properties_changed),
20830 (gst_object_set_name_default), (gst_object_set_name),
20831 (gst_object_get_name), (gst_object_set_name_prefix),
20832 (gst_object_get_name_prefix), (gst_object_set_parent),
20833 (gst_object_get_parent), (gst_object_unparent),
20834 (gst_object_check_uniqueness), (gst_object_save_thyself),
20835 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20836 (gst_object_set_property), (gst_object_get_property),
20837 (gst_object_get_path_string):
20839 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20840 (gst_real_pad_init), (gst_real_pad_get_property),
20841 (gst_pad_custom_new), (gst_pad_get_direction),
20842 (gst_pad_set_active), (gst_pad_is_active),
20843 (gst_pad_set_event_function), (gst_pad_is_linked),
20844 (gst_pad_link_free), (gst_pad_link_intersect),
20845 (gst_pad_link_fixate), (gst_pad_set_caps),
20846 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20847 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20848 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20849 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20850 (gst_pad_get_caps), (gst_pad_peer_get_caps),
20851 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20852 (gst_pad_realize), (gst_pad_get_allowed_caps),
20853 (gst_real_pad_dispose), (gst_real_pad_finalize),
20854 (gst_pad_collectv), (gst_pad_collect_valist),
20855 (gst_pad_template_dispose), (gst_pad_template_new),
20856 (gst_pad_get_internal_links):
20858 * gst/gstpipeline.c: (gst_pipeline_dispose),
20859 (gst_pipeline_change_state):
20860 * gst/gstpipeline.h:
20862 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20863 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20864 * gst/gstpluginfeature.h:
20865 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20866 * gst/gstquery.c: (_gst_query_type_initialize),
20867 (gst_query_type_register), (gst_query_type_get_by_nick),
20868 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20870 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20871 * gst/gstscheduler.c: (gst_scheduler_add_element),
20872 (gst_scheduler_factory_create):
20873 * gst/gststructure.c: (gst_structure_set_parent_refcount),
20874 (gst_structure_free), (gst_structure_set_name),
20875 (gst_structure_id_set_value), (gst_structure_set_value),
20876 (gst_structure_set_valist), (gst_structure_remove_field),
20877 (gst_structure_remove_fields),
20878 (gst_structure_remove_fields_valist),
20879 (gst_structure_remove_all_fields), (gst_structure_foreach),
20880 (gst_structure_map_in_place),
20881 (gst_caps_structure_fixate_field_nearest_int),
20882 (gst_caps_structure_fixate_field_nearest_double):
20883 * gst/gststructure.h:
20884 * gst/gstsystemclock.c: (gst_system_clock_class_init),
20885 (gst_system_clock_init), (gst_system_clock_dispose),
20886 (gst_system_clock_async_thread),
20887 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20888 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20889 * gst/gstsystemclock.h:
20890 * gst/gsttag.c: (gst_tag_list_add_value_internal),
20891 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20892 * gst/gsttaginterface.c:
20893 * gst/gstthread.c: (gst_thread_dispose),
20894 (gst_thread_release_children_locks), (gst_thread_change_state),
20895 (gst_thread_main_loop):
20896 * gst/gsttrashstack.h:
20897 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20899 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20900 (gst_element_request_pad), (gst_element_get_pad_from_template),
20901 (gst_element_request_compatible_pad),
20902 (gst_element_get_compatible_pad_filtered),
20903 (gst_element_get_compatible_pad), (gst_element_state_get_name),
20904 (gst_element_link_pads_filtered), (gst_element_link_filtered),
20905 (gst_element_link_many), (gst_element_link),
20906 (gst_element_link_pads), (gst_element_unlink_pads),
20907 (gst_element_unlink_many), (gst_element_unlink),
20908 (gst_pad_can_link_filtered), (gst_pad_can_link),
20909 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20910 (gst_object_default_error), (gst_bin_add_many),
20911 (gst_bin_remove_many), (gst_element_populate_std_props),
20912 (gst_element_class_install_std_props), (gst_buffer_merge),
20913 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20914 (link_fold_func), (gst_pad_proxy_setcaps):
20916 * gst/gstvalue.c: (gst_value_deserialize_string):
20917 * gst/parse/grammar.y:
20918 * gst/schedulers/gstbasicscheduler.c:
20919 (gst_basic_scheduler_cothreaded_chain),
20920 (gst_basic_scheduler_chain_recursive_add),
20921 (gst_basic_scheduler_pad_link):
20922 * gst/schedulers/gstoptimalscheduler.c:
20923 (get_group_schedule_function),
20924 (gst_opt_scheduler_state_transition),
20925 (gst_opt_scheduler_add_element), (element_get_reachables_func):
20926 * libs/gst/bytestream/bytestream.c:
20927 * libs/gst/dataprotocol/dataprotocol.c:
20928 (gst_dp_header_from_buffer):
20931 * tests/threadstate/threadstate2.c: (eos):
20932 * tools/gst-compprep.c: (main):
20933 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20934 (print_pad_info), (print_children_info):
20935 * tools/gst-launch.c: (idle_func), (main):
20936 * tools/gst-md5sum.c: (idle_func), (main):
20937 * tools/gst-xmlinspect.c: (print_element_info):
20938 First THREADED backport attempt, focusing on adding locks and
20939 making sure the API is threadsafe. Needs more work. More docs
20942 2005-02-24 Andy Wingo <wingo@pobox.com>
20944 * tests/bench-complexity.scm:
20945 * tests/complexity.gnuplot: New files, good for running complexity
20948 * tests/Makefile.am:
20949 * tests/complexity.c: New test, sets up N elements, at each level
20950 teeing into M streams per element. Eeeenteresting.
20952 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20953 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20954 running bench-mass_elements.scm.
20956 * tests/bench-mass_elements.scm: New script, runs mass_elements
20957 for various numbers of identities, outputting the results to a
20958 file. Requires guile 1.6. Just for testing.
20960 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20962 * gst/schedulers/fairscheduler.c:
20963 compile with debug disabled
20965 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20968 hunting season on 0.9 is now OPEN