1 2006-12-19 Edward Hervey <edward@fluendo.com>
3 * gst/gstsegment.c: (gst_segment_set_seek):
4 Fine tune the cases where the segment start/stop values are really
6 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7 Add tests for the return values of gst_segment_set_seek().
9 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
14 * plugins/elements/gstqueue.c: (gst_queue_class_init),
16 Fix incorrect documentation and flesh it out a bit more.
17 Set default values for the max properties on the GParamSpec as well,
18 so it shows up correctly in gst-inspect.
20 2006-12-18 Stefan Kost <ensonic@users.sf.net>
22 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
23 Correct docs of queue, add more detail and crosslink it more.
25 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
27 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
28 Print additional debug info when the stream isn't perfectly
29 timestamped; don't try to use invalid durations.
31 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
33 * docs/design/Makefile.am:
36 2006-12-16 Wim Taymans <wim@fluendo.com>
38 Patch by: Sjoerd Simons <sjoerd at luon dot net>
40 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
41 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
42 (gst_collect_pads_stop), (gst_collect_pads_event),
43 (gst_collect_pads_chain):
44 * libs/gst/base/gstcollectpads.h:
45 Add refcounting to the collectpads data so we can track when it's safe
46 to free the data. Fixes #383382.
48 2006-12-15 Wim Taymans <wim@fluendo.com>
50 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
51 (gst_collect_pads_remove_pad):
52 Automatically activate/deactivate pads when they are added to a
53 started/stoped collectpads.
55 2006-12-15 Wim Taymans <wim@fluendo.com>
57 * gst/gstelement.c: (gst_element_add_pad):
58 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
59 * gst/gstpad.c: (gst_pad_init):
60 Set pads to FLUSHING when they are created. Check, warn and fix when a
61 demuxer adds an inactive pad to itself when running. Fixes #339326.
63 2006-12-15 Wim Taymans <wim@fluendo.com>
65 * gst/gstelement.c: (gst_element_class_init),
66 (gst_element_default_send_event), (gst_element_send_event),
67 (gst_element_default_query), (gst_element_query):
68 Expose default element send_event and query handling as vmethods that
69 subclasses can chain up to.
71 2006-12-15 Wim Taymans <wim@fluendo.com>
73 * gst/gstelement.c: (gst_element_set_state_func):
74 Small documentation fixes.
76 2006-12-15 Wim Taymans <wim@fluendo.com>
78 * docs/design/draft-latency.txt:
79 Checked in draft for handling latency in pipelines.
81 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
88 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
90 * gst/gst.c: (init_pre), (init_post):
91 init_pre() and init_post() might be called via our GOptionGroup or
92 from gst_init(), and we should skip both of them if we've already
93 been initialised, otherwise we will init some things twice or add
94 two default log functions.
96 2006-12-13 Edward Hervey <edward@fluendo.com>
98 * docs/manual/basics-bus.xml:
99 No, gst_main_loop does not exist. Its g_main_loop.
100 Discovered by somebody who abused the copy-paste technique of coding :)
102 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
105 Log ghostpad debug stuff to the GST_PADS category as well rather
106 than just to the default category.
108 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
111 * gst/gst.c: (init_pre):
112 Add some basic system details such as OS and architecture
113 to the debug output if possible, courtesy of uname().
115 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
117 * docs/gst/running.xml:
118 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
119 environment variables.
121 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
123 * tests/check/gst/gstbin.c: (GST_START_TEST):
124 It is acceptable to have a refcount of 2 or 3 at this point in the
125 test, because the pipeline might be just posting its state_change
126 message. The next line then waits for that message to appear using
127 bus_poll, so that should be fine too.
129 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
131 * gst/gst.c: (ensure_current_registry_forking):
132 Ignore EINTR when reading from the child registry pipe.
133 Explicitly ignore the return value from close, since it makes no
136 * gst/gstminiobject.c: (gst_mini_object_ref),
137 (gst_mini_object_unref):
138 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
140 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
141 When removing cached plugins, remove their features too, so they're
142 not visible after they've disappeared.
144 * gst/gstutils.c: (prepare_link_maybe_ghosting):
145 In the unlikely case that we are linking pads with no parents, don't
146 crash trying to get the non-existent parent bin.
148 * gst/parse/grammar.y:
149 Output debug in the PIPELINE category
151 2005-03-08 Wim Taymans <wim@fluendo.com>
153 Patch by: René Stadler <mail at renestadler dot de>
155 * gst/gstclock.c: (gst_clock_new_periodic_id):
156 Reject invalid clock times for interval of periodic ids.
159 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
161 * gst/gstelementfactory.c: (gst_element_factory_create):
162 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
163 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
164 * tools/gst-inspect.c: (print_element_info):
165 Fix refcounting of gst_plugin_feature_load to match the docs.
168 2006-12-07 Wim Taymans <wim@fluendo.com>
170 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
171 (gst_base_sink_get_position):
172 Improve debugging of events.
174 2006-12-07 Wim Taymans <wim@fluendo.com>
176 Patch by: René Stadler <mail at renestadler dot de>
178 * gst/gstclock.c: (gst_clock_id_wait):
179 Make period ids add the interval to the origial requested time instead
180 of the possibly updated time which can be wrong when there are multiple
181 waiters for the same id. Fixes #382592.
183 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
184 (gst_system_clock_id_wait_jitter_unlocked),
185 (gst_system_clock_id_wait_jitter):
186 Fix restart in the async notify thread when an async entry is added to
187 the front of the list. Fixes #381492.
189 * tests/check/gst/gstsystemclock.c: (store_callback),
190 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
191 Added test for multiple async waits.
192 Added test for async wait order.
194 2006-12-07 Wim Taymans <wim@fluendo.com>
196 * gst/gstbin.c: (gst_bin_query):
197 Add some more docs about the POSITION query.
199 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
202 Bump version nano - back to CVS.
204 === release 0.10.11 ===
206 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
209 releasing 0.10.11, "Love never runs on time"
211 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
213 * win32/common/libgstbase.def:
214 * win32/common/libgstreamer.def:
215 * win32/vs8/libgstbase.vcproj:
216 * win32/vs8/libgstcoreelements.vcproj:
217 * win32/vs8/libgstreamer.vcproj:
218 Fix compilation on win32 under VS8
219 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
220 Partially fixes #381175
222 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
224 * gst/gstvalue.c: (gst_value_compare_fraction):
225 If someone is foolish enough to compare 2 fractions with denominator =
226 0, return UNORDERED rather than aborting.
228 2006-11-28 Edward Hervey <edward@fluendo.com>
230 * libs/gst/base/Makefile.am:
231 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
232 (gst_data_queue_base_init), (gst_data_queue_class_init),
233 (gst_data_queue_init), (gst_data_queue_new),
234 (gst_data_queue_cleanup), (gst_data_queue_finalize),
235 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
236 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
237 (gst_data_queue_is_empty), (gst_data_queue_is_full),
238 (gst_data_queue_set_flushing), (gst_data_queue_push),
239 (gst_data_queue_pop), (gst_data_queue_drop_head),
240 (gst_data_queue_set_property), (gst_data_queue_get_property):
241 * libs/gst/base/gstdataqueue.h:
242 New GstDataQueue object for threadsafe queueing. Most useful for
243 elements that need some queueing functionnality.
244 * docs/libs/gstreamer-libs-docs.sgml:
245 * docs/libs/gstreamer-libs-sections.txt:
246 Insert documentation for GstDataQueue
247 * plugins/elements/Makefile.am:
248 * plugins/elements/gstelements.c:
249 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
250 (gst_multi_queue_class_init), (gst_multi_queue_init),
251 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
252 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
253 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
254 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
255 (gst_multi_queue_loop), (gst_multi_queue_chain),
256 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
257 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
258 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
259 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
260 (wake_up_next_non_linked), (compute_next_non_linked),
261 (single_queue_overrun_cb), (single_queue_underrun_cb),
262 (single_queue_check_full), (gst_single_queue_new):
263 * plugins/elements/gstmultiqueue.h:
264 New multiqueue element, using GstDataQueue. Used for queuing multiple
266 Closes #344639 and #347785
268 2006-11-22 Stefan Kost <ensonic@users.sf.net>
270 * docs/pwg/advanced-types.xml:
271 add more missing type details
273 * tools/gst-run.c: (main):
274 remove unused variable
276 2006-11-21 Stefan Kost <ensonic@users.sf.net>
278 * docs/libs/Makefile.am:
279 * docs/libs/gstreamer-libs.types:
280 add types of base classes to enable gobject specific stuff in the docs
282 * docs/random/ensonic/embedded.txt:
283 more ideas about isolating platform specific things
285 2006-11-20 Wim Taymans <wim@fluendo.com>
287 Patch by: Sebastian Droege <slomo at ubuntu dot com>
289 * libs/gst/check/gstcheck.h:
290 Fix compilation and running against 0.9.4. Fixes #377332.
292 2006-11-20 Wim Taymans <wim@fluendo.com>
294 * gst/gstsegment.c: (gst_segment_set_seek),
295 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
296 (gst_segment_to_running_time):
297 Fix boundary checking in to_running_time() and to_stream_time().
300 * tests/check/gst/gstsegment.c: (GST_START_TEST):
301 stream and running time can now be calculated for the complete
304 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
306 * gst/gstpad.c: (gst_pad_push_event):
307 Can't access event structure after giving away ownership of
310 2006-11-15 Stefan Kost <ensonic@users.sf.net>
312 * docs/random/ensonic/embedded.txt:
313 * docs/random/ensonic/profiling.txt:
314 * docs/random/ensonic/receipies.txt:
317 2006-11-13 Wim Taymans <wim@fluendo.com>
319 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
322 Fix documentation for gst_pad_dispatcher. Fixes #374475.
324 2006-11-13 Wim Taymans <wim@fluendo.com>
326 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
328 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
329 Store new length in segment duration so we don't keep on calling the
330 potentially expensize get_size() call. Fixes #370865.
332 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
334 Patch by: Sergey Scobich <sergey.scobich at gmail com>
336 * win32/common/libgstreamer.def:
337 Add two missing symbols (#366492).
339 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
341 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
342 (gst_adapter_take_buffer):
343 Fix format string to use all its arguments.
344 Remove useless >= check on a guint
346 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
348 * tests/examples/adapter/.cvsignore:
349 Ignore build file as commanded by the build-bot
351 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
353 * tests/examples/adapter/Makefile.am:
354 * tests/examples/adapter/adapter_test.c: (run_test_take),
355 (run_test_take_buffer), (run_tests), (main):
357 Add new files from the previous commit
359 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
363 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
364 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
365 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
366 * libs/gst/base/gstadapter.h:
367 * tests/check/libs/adapter.c: (create_and_fill_adapter),
368 (GST_START_TEST), (gst_adapter_suite):
369 * tests/examples/Makefile.am:
370 Do some optimisation work in GstAdapter to avoid copies in more cases.
371 It could still do slightly better by merging buffers when
372 gst_buffer_is_span_fast is true, but is already faster.
374 Also, avoid traversing a single-linked list to append each incoming
375 buffer inside the adapter.
377 Add simple test app that times the adapter behaviour in different
378 situations, and extend the unit test to check that bytes enter and
379 exit the adapter in their original order.
381 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
383 * docs/random/draft-missing-plugins.txt:
384 Update: use element message instead of adding a new message
385 type to the core; don't provide GStreamer API to initiate the
386 plugin download, just provide API to compose the strings needed
387 and let an external libgimmestuff handle the rest.
389 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
391 * tools/gst-inspect.c: (print_element_properties_info):
392 Print a string instead of 'unknown type' for GValueArray properties
394 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
396 * docs/random/draft-missing-plugins.txt:
399 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
401 * tests/examples/typefind/typefind.c: (type_found), (main):
402 Make typefind element example work again (#371894); add a
405 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
407 * docs/random/draft-missing-plugins.txt:
408 Commit initial draft about how to deal with missing plugins,
409 needs work (API too).
411 2006-11-07 Stefan Kost <ensonic@users.sf.net>
413 * docs/pwg/advanced-types.xml:
414 documents the new caps elements (see #363118)
416 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
418 * gst/gstplugin.c: (gst_plugin_load_file):
419 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
420 (gst_file_src_map_region), (gst_file_src_start):
421 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
422 (gst_file_index_commit):
423 Use g_strerror() instead of strerror() - we want UTF-8.
425 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
427 Patch by: Peter Kjellerstedt <pkj at axis com>
429 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
430 Another printf fix (#371493).
432 2006-11-06 Stefan Kost <ensonic@users.sf.net>
434 * tests/check/gst/gsttag.c:
435 relicence (okay with author=company)
437 2006-11-06 Stefan Kost <ensonic@users.sf.net>
439 * gst/gstpad.c: (gst_pad_event_default_dispatch),
440 (gst_pad_push_event):
441 Enhance debug and improve docs
446 2006-11-06 Stefan Kost <ensonic@users.sf.net>
448 * docs/random/ensonic/distributed.txt:
449 * docs/random/ensonic/profiling.txt:
452 2006-11-06 Stefan Kost <ensonic@users.sf.net>
454 * docs/gst/gstreamer-sections.txt:
455 add new API and fix the build
457 * gst/gstbin.c: (gst_bin_recalc_state):
458 * gst/gstelement.c: (gst_element_message_full),
459 (gst_element_get_state_func), (gst_element_set_state_func):
460 use new API and improve logging
462 * gst/gstutils.c: (gst_element_state_change_return_get_name):
464 API: add function to get StateChangereturn names to improve logs
466 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
468 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
469 I'm considering shooting the next person to put strerror stuff
470 in the translateable part of the message.
472 2006-11-03 Wim Taymans <wim@fluendo.com>
474 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
475 Get the type and printf conversion specifiers right.
477 2006-11-03 Wim Taymans <wim@fluendo.com>
479 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
481 * gst/gstpad.c: (gst_pad_init), (pre_activate),
482 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
483 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
484 Some small cleanups. Improve debugging.
486 Signal all waiting threads with a broadcast instead of just one.
489 2006-11-03 Wim Taymans <wim@fluendo.com>
491 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
494 Only update fd when it's different from the old.
496 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
498 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
499 Printf fixes for PPC/OSX, take two (#369366).
501 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
503 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
505 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
506 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
507 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
508 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
509 don't cast to long long for portability reasons, but use
510 GLib's types instead.
512 2006-10-30 Michael Smith <msmith@fluendo.com>
514 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
515 Get the arguments to lseek() the right way around.
518 2006-10-30 Wim Taymans <wim@fluendo.com>
520 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
523 _declspec should be __declspec (two underscores, not one). Fixes 366572.
525 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
527 Patch by: Kjartan Maraas <kmaraas at gnome org>
529 * docs/design/part-MT-refcounting.txt:
530 * docs/random/wtay/capsnego2-docs:
533 Typo fixes (#366212).
535 2006-10-28 Wim Taymans <wim@fluendo.com>
537 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
540 * win32/common/libgstbase.def:
541 * win32/common/libgstreamer.def:
542 * win32/vs8/libgstbase.vcproj:
543 * win32/vs8/libgstcontroller.vcproj:
544 Add needed entries in .def files.
546 Rearrange def files in vs8 solutions. Fixes #366286.
548 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
550 * win32/common/gstconfig.h:
551 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
552 hand-made win32 gstconfig.h. Fixes #366321.
554 2006-10-27 Wim Taymans <wim@fluendo.com>
556 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
557 (gst_ghost_pad_new_full):
558 Make acceptcaps return TRUE when we don't have a target, just like
561 2006-10-27 Wim Taymans <wim@fluendo.com>
563 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
564 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
566 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
568 * gst/gststructure.c: (gst_structure_id_set_value):
569 If someone tries to set a non-UTF8 string field on a structure,
570 don't just print a warning, but also ignore the request and do
571 not change/add that field to the structure.
573 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
576 2006-10-25 David Schleef <ds@schleef.org>
579 g_hash_table_insert() needs a cast to a non-const pointer duh.
581 2006-10-25 David Schleef <ds@schleef.org>
585 Change name parameter of _gst_debug_register_funcptr to const
586 to reflect the constness of its use in the function as well
587 as to quiet a gcc warning.
589 2006-10-25 Edward Hervey <edward@fluendo.com>
591 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
592 Don't push the buffer if it's empty.
595 2006-10-24 Wim Taymans <wim@fluendo.com>
600 * libs/gst/base/gstbasetransform.c:
601 (gst_base_transform_sink_eventfunc):
602 Debug segment values *after* updating them as this is more
605 2006-10-23 Wim Taymans <wim@fluendo.com>
607 * docs/design/part-events.txt:
610 * docs/design/part-block.txt:
611 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
612 (gst_pad_push_event):
613 Revert BLOCKING patch, it tries to be smart without really having a
614 clear idea what or how. So, now we discard all FLUSHING events again on
615 a blocking pad. Should fix gnonlin again.
617 2006-10-23 Wim Taymans <wim@fluendo.com>
619 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
621 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
622 (gst_base_src_start), (gst_base_src_activate_push):
623 Make sure size is always initialized. Fixes #364388.
625 2006-10-20 Stefan Kost <ensonic@users.sf.net>
627 * docs/random/ensonic/distributed.txt:
628 add some ideas about doing distributed processing
630 * docs/random/ensonic/profiling.txt:
631 get_rusage look promising
633 2006-10-18 Stefan Kost <ensonic@users.sf.net>
635 * docs/manual/basics-helloworld.xml:
636 Add a cast in example to fix compile warning
638 2006-10-18 Wim Taymans <wim@fluendo.com>
640 * gst/gstsegment.c: (gst_segment_set_last_stop),
641 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
642 Relax arg checking again, -1 is allowed.
644 2006-10-18 Wim Taymans <wim@fluendo.com>
646 * gst/gstsegment.c: (gst_segment_set_last_stop),
647 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
648 _set_last_stop() must be with a value != -1
649 A _TYPE_SET to -1 means seek to 0.
650 Calc last_stop correctly for negative rates.
651 Make sure we work with positive durations when updating a segment.
653 2006-10-18 Wim Taymans <wim@fluendo.com>
655 * docs/design/part-live-source.txt:
659 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
662 Add an explicit cast to GstBuffer** to keep old code that added an
663 explicit cast to GstMiniObject** for gst_mini_object_replace()
664 compiling without warning.
666 2006-10-18 Stefan Kost <ensonic@users.sf.net>
668 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
669 check for validity of dates
671 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
673 * docs/gst/gstreamer-sections.txt:
674 Forgot this one, makes gtk-doc shut up.
676 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
678 Patch by: Peter Kjellerstedt <pkj at axis com>
681 Don't define xmlNodePtr to gpointer if the core was built with
682 --disable-loadsave and --disable-registry, this will break
683 applications that want to use libxml2 but are buildling against a
684 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
685 instead so we don't have to mess with the libxml2 namespace
688 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
691 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
692 type-punned pointer warnings.
694 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
697 Add casts to the correct return type to state <=> state transition
700 2006-10-16 Stefan Kost <ensonic@users.sf.net>
702 * docs/design/part-live-source.txt:
703 describe howto handle latency
705 * docs/random/ensonic/profiling.txt:
708 * tools/gst-plot-timeline.py:
709 fix log parsing for solaris, remove unused function
711 2006-10-16 Wim Taymans <wim@fluendo.com>
713 * docs/design/part-trickmodes.txt:
715 Update some docs regarding reverse playback.
717 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
719 Patch by: Marcus Granado <mrc dot gran at gmail com>
721 * win32/vs8/grammar.vcproj:
722 Error out with a warning if glib-genmarshal.exe is not in path,
723 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
725 2006-10-13 Wim Taymans <wim@fluendo.com>
727 * gst/gstsegment.c: (gst_segment_set_seek):
728 When seeking to stop -1, set last_stop (current position) to the
729 duration of the segment.
731 2006-10-13 Wim Taymans <wim@fluendo.com>
734 Clarify _NO_PREROLL a bit more.
739 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
740 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
741 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
742 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
743 due to wrong locking order. Fixes #361769.
744 Remove some redundant/misplaced checks in pad_block.
746 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
747 For negative rates, count backwards from the duration.
749 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
751 * gst/gsterror.c: (_gst_library_errors_init):
752 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
753 up with something better).
755 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
757 * win32/vs6/libgstreamer.dsp:
758 * win32/vs7/libgstreamer.vcproj:
759 * win32/vs8/libgstreamer.vcproj:
760 Don't reference glib-compat.c which is currently not used and not
761 disted; add gstquark.c which was recently added. Fixes #361730.
763 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
765 * win32/common/libgstbase.def:
766 * win32/common/libgstcontroller.def:
767 * win32/common/libgstreamer.def:
768 Add gst_caps_merge() and a bunch of other recently-added functions.
771 2006-10-11 Wim Taymans <wim@fluendo.com>
773 * docs/plugins/gstreamer-plugins.args:
774 * docs/plugins/inspect/plugin-coreelements.xml:
775 * docs/plugins/inspect/plugin-coreindexers.xml:
778 * gst/gstsystemclock.c:
779 Small comment update.
781 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
782 (gst_tee_request_new_pad), (gst_tee_release_pad),
783 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
784 (gst_tee_sink_activate_pull):
785 * plugins/elements/gsttee.h:
787 Add default property defines.
788 Implement release pad function.
789 Give properties better blubs etc.
790 Activate pads before adding them to a running tee.
791 Do simple buffer_alloc on the first requested pad.
792 Post error when activation fails.
794 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
796 * gst/gst.c: (ensure_current_registry_forking):
797 Check return value of write() to make compiler happy.
799 2006-10-11 Wim Taymans <wim@fluendo.com>
801 Patch by: Sjoerd Simons <sjoerd at luon dot net>
803 * plugins/elements/gstqueue.c: (gst_queue_chain):
804 Recheck queue filledness after signalling the overrun when we're about
805 to leak downstream because we released the lock when emitting the signal
806 and the queue could be empty again. Fixes #352345.
808 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
810 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
811 Fix refcounting here too, just like we did for _new_valist() a few
812 days ago (#357180) (thanks to René Stadler). Also remove all those
813 'Since: 0.9' from the gtk-doc blobs.
815 * tests/check/libs/controller.c: (controller_refcount_new_list),
816 (gst_controller_suite):
817 Unit test for the above.
819 2006-10-10 Wim Taymans <wim@fluendo.com>
821 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
823 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
824 (gst_pad_save_thyself):
826 Write pad direction in XML output. Fixes #345496.
828 2006-10-10 Wim Taymans <wim@fluendo.com>
830 Patch by: René Stadler <mail at renestadler dot de>
832 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
833 (gst_controller_new_list), (_gst_controller_dispose),
834 (_gst_controller_finalize), (_gst_controller_class_init):
835 Take ref to controlled object so that it cannot disappear.
838 2006-10-10 Wim Taymans <wim@fluendo.com>
840 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
841 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
842 (gst_check_teardown_sink_pad):
843 Activate/deactivate pads in setup/teardown respectively.
845 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
847 Patch by: Josep Torre Valles <josep@fluendo.com>
850 Cast values when making gstenumtypes.h. This pacifies Forte
851 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
854 2006-10-09 Wim Taymans <wim@fluendo.com>
856 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
857 Rename some more @cur to @start to fix docs.
859 * gst/gstsegment.c: (gst_segment_set_seek):
861 time and start must always stay in sync as defined in design doc.
863 * gst/gsttaglist.c: (gst_tag_list_is_empty):
864 Rename param to fix docs.
866 * tests/check/gst/gstsegment.c: (GST_START_TEST):
867 Check that start and time are in sync.
869 * tests/check/pipelines/parse-launch.c:
870 (gst_parse_test_element_change_state):
871 Activate pad before adding to the element.
873 2006-10-09 Wim Taymans <wim@fluendo.com>
875 * docs/design/part-qos.txt:
880 Update seek event docs regarding negative rates.
881 Rename @cur to @start.
883 * gst/gstsegment.c: (gst_segment_set_seek):
885 Update set_seek docs regarding negative rates.
886 Correctly update last_stop to @stop when dealing with negative
888 Rename @cur to @start.
890 * tests/check/gst/gstpad.c: (GST_START_TEST):
891 Activate pads before trying to use them.
893 * tests/check/gst/gstsegment.c: (GST_START_TEST),
895 Add simple check for segments and negative rates.
897 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
899 * gst/gsttaglist.c: (gst_tag_list_is_empty):
901 * docs/gst/gstreamer-sections.txt:
902 API: add gst_tag_list_is_empty() (#360467).
904 * tests/check/gst/gsttag.c: (GST_START_TEST):
907 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
910 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
911 a value that doesn't fit on enumeration.
913 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
915 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
916 Remove local debugging system and use Gstreamer's instead.
918 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
920 Patch by: Josep Torre Valles <josep@fluendo.com>
922 * common/m4/gst-error.m4:
923 Disable warning of statement not reached on Forte.
925 Fix warning on Forte (value doesn't fit on enumeration).
926 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
927 Fix warning on Forte (value doesn't fit on enumeration).
928 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
929 DEBUG macro says it takes minimum of 2 args and so Forte
930 complains about the use with just 1 arg.
931 * plugins/elements/gstfdsink.c:
932 * plugins/elements/gstfdsrc.c:
933 * plugins/elements/gstfilesink.c:
934 * plugins/elements/gstfilesrc.c:
935 Use correct return type for the uri handler implementations.
937 All these fix warnings in Forte. Fixes bug #360860.
939 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
942 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
943 format string, so don't use G_GNUC_PRINTF for those versions.
945 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
947 * gst/gsttaglist.c: (gst_is_tag_list):
949 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
951 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
952 Small test for the above.
954 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
957 Less tabs, more spaces.
959 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
962 Those two function declarations do actually belong there, revert
963 commit from yesterday that turned them intro macros.
965 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
967 Patch by: Josep Torre Valles <josep@fluendo.com>
969 * gst/gst.c: (gst_init_get_option_group):
970 Fix empty declaration and type mismatch.
971 * gst/gstbin.c: (gst_bin_change_state_func):
973 * gst/gstelement.c: (gst_element_continue_state),
974 (gst_element_set_state_func), (gst_element_change_state),
975 (gst_element_change_state_func):
977 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
978 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
980 * gst/gstobject.c: (gst_class_signal_connect):
981 Cast as appropriate. The function pointer parameter really
982 has the wrong type but would break API if we change it.
984 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
985 order of including string.h.
986 * gst/gstutils.c: (gst_element_state_get_name):
987 Remove unreachable line.
988 * gst/gstxml.c: (gst_xml_parse_doc):
990 All these caught by Forte.
992 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
994 Patch by: Josep Torre Valles <josep@fluendo.com>
996 * common/m4/gst-error.m4:
998 We need to disable warnings on Forte for empty declarations
999 due to gst-indent adding ;s to lines that just use macros
1000 where the macro actually doesn't need a ; at end to end
1003 2006-10-06 Wim Taymans <wim@fluendo.com>
1005 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1006 (gst_file_sink_close_file), (gst_file_sink_event),
1007 (gst_file_sink_render):
1008 Add some FIXME for the NEWSEGMENT handling.
1010 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1012 * gst/parse/grammar.y:
1013 Remove static function gst_parse_element_lock as all it does
1014 is return. Looks like cruft from 0.8.
1016 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1018 Patch by: Josep Torre Valles <josep@fluendo.com>
1020 * common/m4/gst-error.m4:
1022 * libs/gst/net/Makefile.am:
1023 Fix a compilation issue with Forte on Solaris. inet_aton is in
1026 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
1028 * gst/gstpad.c: (pre_activate):
1029 * gst/gstregistry.c: (gst_registry_scan_path_level):
1030 * gst/gstregistryxml.c: (load_plugin):
1031 * libs/gst/controller/gstcontroller.c:
1032 (gst_controlled_property_set_interpolation_mode):
1033 * libs/gst/dataprotocol/dataprotocol.c:
1034 (gst_dp_packet_from_event_1_0):
1035 * libs/gst/net/gstnetclientclock.c:
1036 (gst_net_client_clock_observe_times):
1037 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1040 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
1043 * docs/gst/gstreamer-sections.txt:
1044 * gst/gstconfig.h.in:
1047 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
1048 whether we can use G_GNUC_PRINTF in other header files and at
1049 least check the printf format/arguments of debug messages and
1050 GST_ELEMENT_ERROR messages when the printf extension is not
1052 Replace more tabs with spaces in gstinfo.h and remove two spurious
1053 function declarations in GST_DISABLE_DEBUG part with macros.
1055 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
1057 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
1058 More docs for the sync-message signal (mention that it is not
1059 emitted by default); log message structures of messages posted on
1062 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
1064 * gst/gst.c: (ensure_current_registry_forking):
1065 Use a pipe pair to receive status results from the forked child, and
1066 ignore the result from waitpid. Fixes #355499
1068 2006-10-02 Wim Taymans <wim@fluendo.com>
1070 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1071 (gst_ghost_pad_suite):
1074 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
1077 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
1079 2006-10-02 Edward Hervey <edward@fluendo.com>
1081 * docs/design/part-block.txt:
1082 Further explain the use of flushing on blocked pads.
1083 * docs/gst/gstreamer-sections.txt:
1084 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
1085 (gst_pad_push_event):
1087 Added new GstPadFlag : GST_PAD_BLOCKING.
1088 Adds the notion of pads really blocking, which enables to properly
1089 handle FLUSH_START/FLUSH_STOP events on blocked pads.
1091 API: gst_pad_is_blocking()
1092 API: GST_PAD_IS_BLOCKING() macro
1093 API: GST_PAD_BLOCKING GstPadFlag
1095 2006-10-02 Wim Taymans <wim@fluendo.com>
1097 Patch by: mrcgran <mrc.gran at gmail dot com>
1099 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
1100 Filter the proxied caps against the padtemplate if we have one.
1102 * gst/gstquery.c: (gst_query_new_segment):
1103 Add include for gstinfo.h so that compilation with
1104 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
1106 2006-10-02 Wim Taymans <wim@fluendo.com>
1108 Patch by: Alessandro Decina <alessandro at nnva org>
1110 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
1111 (gst_file_sink_set_location), (gst_file_sink_open_file),
1112 (gst_file_sink_close_file), (gst_file_sink_event),
1113 (gst_file_sink_render):
1114 Set file to NULL when closing filesink so that we can set a new filename
1115 in READY. Fixes #358613.
1117 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
1119 Patch by: Alessandro Decina <alessandro at nnva org>
1121 * gst/gstevent.c: (_gst_event_copy):
1122 Fix gst_mini_object_make_writable() and gst_event_copy() for events
1123 with event structures by setting the parent refcount address of the
1124 copied structure to the address of the refcount member of the newly
1125 copied event rather than the address of the refcount member of the
1126 original event. Fixes #358737.
1128 * tests/check/gst/gstevent.c: (GST_START_TEST):
1129 Unit test for the above.
1131 2006-09-29 Stefan Kost <ensonic@users.sf.net>
1133 * docs/design/Makefile.am:
1134 Dist some more files.
1136 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
1138 * tests/check/libs/controller.c: (GST_START_TEST),
1139 (gst_controller_suite):
1140 Add test for the previous fix; add some more tests
1141 for correct refcounting behaviour; fix a few leaks
1142 in test cases; call gst_controller_init() at start
1145 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
1147 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1148 (gst_controller_set_from_list):
1149 Don't g_return_val_if_fail() on timed values with invalid timestamps
1150 inside a critical section without unlocking the mutex. Spotted by
1151 René Stadler. (#357617)
1152 Also, fix up refcounting properly: when returning an existing
1153 controller, we should increase the reference only once and not
1154 once per property and when trying to control a property again
1155 we should also increase the refcount.
1157 2006-09-29 Wim Taymans <wim@fluendo.com>
1159 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1160 * libs/gst/net/gstnettimeprovider.c:
1161 (gst_net_time_provider_thread):
1162 Stop reading commands when EOF as well.
1164 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1165 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1166 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1167 Unify description of the dump property.
1169 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
1171 * tests/examples/manual/.cvsignore:
1172 OK, so it's actually cvsignore that needs changing. Stop laughing.
1174 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
1176 * tests/examples/manual/Makefile.am:
1177 Gah, declare vars *before* using them
1179 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
1181 * gst/gst.c: (init_pre), (scan_and_update_registry),
1182 (ensure_current_registry_nonforking),
1183 (ensure_current_registry_forking), (ensure_current_registry),
1184 (init_post), (gst_debug_help), (gst_deinit):
1185 * gst/gst_private.h:
1186 * gst/gstregistry.c: (gst_registry_finalize),
1187 (gst_registry_remove_features_for_plugin_unlocked),
1188 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1189 (gst_registry_scan_path),
1190 (_priv_gst_registry_remove_cache_plugins),
1191 (_priv_gst_registry_cleanup):
1192 * gst/gstregistry.h:
1193 Re-commit the registry changes, along with an extra fix:
1194 When a cached plugin is encountered at a different file path,
1195 update the stored path in the registry cache so that the parent
1196 process knows where it actually is now when it re-reads the registry
1197 cache. Fixes the thing that broke distcheck with the previous commit.
1199 * tests/check/Makefile.am:
1200 Clean up files named 'core' too when running make clean.
1202 * tests/examples/manual/Makefile.am:
1203 Set up a registry path for running these tests, and clean it properly
1206 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
1209 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
1210 want gmodule-no-export-2.0.pc instead so that we don't drag in
1211 --export-dynamic on every project that links to GStreamer.
1213 Also, make our export regex only match the start of symbols, rather
1214 than any symbol that contains '_gst' somewhere.
1216 * libs/gst/check/Makefile.am:
1217 The libgstcheck we build does however need export-dynamic, as it
1218 produces some symbols that don't match our _gst... style regex.
1221 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
1223 * gst/gst.c: (init_pre), (scan_and_update_registry),
1224 (ensure_current_registry_nonforking),
1225 (ensure_current_registry_forking), (ensure_current_registry),
1226 (init_post), (gst_debug_help), (gst_deinit):
1227 * gst/gst_private.h:
1228 * gst/gstregistry.c: (gst_registry_finalize),
1229 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1230 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
1231 (_gst_registry_cleanup):
1232 * gst/gstregistry.h:
1233 Revert previous change until I figure out why it breaks distcheck.
1235 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
1237 * gst/gst.c: (init_pre), (scan_and_update_registry),
1238 (ensure_current_registry_nonforking),
1239 (ensure_current_registry_forking), (ensure_current_registry),
1240 (init_post), (gst_debug_help), (gst_deinit):
1242 Make init_pre and init_post take the full complement of GOptionFunc
1243 args so they can return useful GErrors. Make the registry updating
1246 Call _priv_gst_registry_remove_cache_plugins after scanning files to
1247 ensure that the registry we're about to write out doesn't contain
1248 stale information about old-deleted plugin files.
1250 Make _priv_gst_registry_remove_cache_plugins return a boolean so
1251 that deletion of plugin files is considered a registry change.
1253 * gst/gst_private.h:
1254 * gst/gstregistry.c: (gst_registry_finalize),
1255 (gst_registry_remove_features_for_plugin_unlocked),
1256 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
1257 (gst_registry_scan_path),
1258 (_priv_gst_registry_remove_cache_plugins),
1259 (_priv_gst_registry_cleanup):
1260 * gst/gstregistry.h:
1261 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
1262 by adding _priv prefix, so that they won't appear in the global
1263 symbol table. They still do atm though because of #318031. Move the
1264 prototypes to gst_private.h
1266 When removing a plugin, remove all features for that plugin too.
1269 2006-09-27 Wim Taymans <wim@fluendo.com>
1271 * docs/random/moving-plugins:
1272 Make it clear that the "compiled-in descriptions" really mean
1273 the element details.
1275 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1276 (gst_base_sink_wait_preroll):
1279 * docs/libs/gstreamer-libs-sections.txt:
1280 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1281 (gst_base_src_get_range), (gst_base_src_activate_push):
1282 * libs/gst/base/gstbasesrc.h:
1283 Added function to block while waiting for PLAYING, this function
1284 is used by live sources that block on the clock.
1285 API: gst_base_src_wait_playing()
1287 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
1289 Patch by: Peter Kjellerstedt <pkj at axis com>
1292 gst-element-check.m4 is generated and should therefore be
1293 copied from the build dir rather than the source dir (#357593).
1294 'make distcheck' hasn't noticed this because we were disting
1295 the file as well, so stop doing that.
1297 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
1299 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1300 Add some tests for gst_caps_intersect().
1302 * tools/gst-launch.c: (event_loop):
1303 Print all buffering percentages we get, even the 100% one.
1305 2006-09-26 Wim Taymans <wim@fluendo.com>
1307 * tools/gst-inspect.c: (print_element_properties_info),
1308 (print_signal_info):
1309 Fix printing of flags to match the look of enums.
1311 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
1313 * gst/gstelementfactory.c:
1314 Fix typo in docs blurb.
1316 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
1318 * gst/gsturi.c: (search_by_entry):
1319 Don't assert/crash here if a uri handler doesn't return any
1320 supported protocols. The list of protocols could be generated
1321 dynamically at runtime or at plugin registration, and an error
1322 in the underlying library shouldn't be fatal (#353301).
1324 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
1327 Fix warning if HAVE_PRINTF_EXTENSION is undefined
1328 (spotted by Peter Kjellerstedt).
1330 2006-09-23 Wim Taymans <wim@fluendo.com>
1332 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1334 * libs/gst/base/gstbasesrc.c:
1335 (gst_base_src_default_check_get_range), (gst_base_src_start),
1336 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1337 (gst_base_src_change_state):
1338 Match _start/_stop calls in the activate functions. Remove redundant
1339 _stop call from the state change function. Fixes #356910.
1340 Turn failure DEBUG into ERROR.
1342 2006-09-22 Wim Taymans <wim@fluendo.com>
1344 * docs/design/part-buffering.txt:
1345 * gst/gstmessage.c: (gst_message_new_buffering),
1346 (gst_message_parse_buffering):
1347 Update docs about buffering.
1349 * docs/design/part-trickmodes.txt:
1352 2006-09-22 Stefan Kost <ensonic@users.sf.net>
1354 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1355 (gst_controller_new_list):
1356 Ref instances when returning them again (fixes #357180)
1358 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
1360 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
1361 Don't forget to release proxy lock when there's an error.
1363 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
1366 Add extra initialisers for Caps things, to fix some plugin warnings
1369 2006-09-18 Wim Taymans <wim@fluendo.com>
1371 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1372 Also set template on the internal pad so that a getcaps from the
1373 target pad returns the template caps.
1375 2006-09-18 Wim Taymans <wim@fluendo.com>
1377 * gst/gstelement.c: (gst_element_post_message),
1378 (gst_element_dispose):
1379 Use _DEBUG_OBJECT some more.
1381 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1384 * tools/gst-launch.c: (main):
1385 If the toplevel element is not a GstPipeline, it must be put in a
1386 pipeline so that a bus and clock is selected.
1388 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
1390 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1391 JITTER, RATE, and LATENCY query should be handled by the
1392 default case and not by the CONVERT query code.
1394 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
1396 * gst/gstformat.c: (gst_format_register):
1397 Fix locking order (must take lock before using n_values).
1399 * gst/gstvalue.c: (gst_value_serialize_enum),
1400 (gst_value_deserialize_enum_iter_cmp),
1401 (gst_value_deserialize_enum):
1402 Fix serialisation/deserialisation of custom registered GstFormats.
1404 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1405 Unit test for custom format serialisation/deserialisation.
1407 2006-09-17 Stefan Kost <ensonic@users.sf.net>
1409 * docs/pwg/building-boiler.xml:
1410 * plugins/elements/gstcapsfilter.c:
1411 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
1414 2006-09-16 Edward Hervey <edward@fluendo.com>
1416 * libs/gst/base/gstbasetransform.c:
1417 (gst_base_transform_buffer_alloc):
1418 Check if requested caps are the same as the sinks caps IF
1419 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
1421 This fixes the renegotiation issues stated in #352827.
1423 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1426 * docs/manual/advanced-autoplugging.xml:
1427 * tests/examples/Makefile.am:
1428 * tests/examples/manual/.cvsignore:
1429 * tests/examples/manual/Makefile.am:
1430 * tests/examples/manual/extract.pl:
1431 Extract the manual examples again like we used to do.
1434 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1436 * win32/common/config.h:
1439 2006-09-16 Stefan Kost <ensonic@users.sf.net>
1442 Documents how to receive errors.
1444 2006-09-15 Wim Taymans <wim@fluendo.com>
1446 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
1447 (event_loop), (main):
1448 Added some comments here and there.
1449 Post an application message when an interrupt is caught instead of doing
1450 an uncontrolled state change.
1451 Clean up the event loop.
1452 Handle buffering messages, pause/resume the pipeline.
1453 Make shutdown because of an interrupt more reliable.
1455 2006-09-15 Wim Taymans <wim@fluendo.com>
1457 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1458 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
1459 (gst_base_sink_preroll_object):
1460 Make sure that our internal state is correct when we commit our state
1461 asynchronously. This solves a race where a state change to PLAYING
1462 could cause the sink to remain blocked in preroll in some situations.
1464 2006-09-15 Wim Taymans <wim@fluendo.com>
1466 * tools/gst-inspect.c: (print_element_properties_info),
1467 (print_signal_info):
1468 List flags as hex so it's easier to deal with.
1470 2006-09-15 Wim Taymans <wim@fluendo.com>
1472 * docs/libs/gstreamer-libs-sections.txt:
1473 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
1474 (gst_base_sink_do_sync):
1475 * libs/gst/base/gstbasesink.h:
1476 Expose logic to wait for preroll so that subclasses such as audiosink
1477 can also use this method.
1478 API: gst_base_sink_wait_preroll()
1480 2006-09-15 Wim Taymans <wim@fluendo.com>
1482 * gst/gstobject.c: (gst_object_set_parent):
1483 * gst/gstpipeline.c: (do_pipeline_seek):
1484 Small cleanups in docs and code.
1486 * gst/gstsegment.c: (gst_segment_clip):
1487 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1488 if stop == start and start is in the segment, no clipping should be
1489 done. Also add a test for this.
1491 2006-09-15 Wim Taymans <wim@fluendo.com>
1493 * docs/design/part-buffering.txt:
1494 * docs/gst/gstreamer-sections.txt:
1495 * gst/gstmessage.c: (gst_message_new_buffering),
1496 (gst_message_parse_buffering):
1498 Added methods to create and parse BUFFERING messages.
1499 Added preliminary docs about buffering.
1500 API: gst_message_new_buffering
1501 API: gst_message_parse_buffering
1503 2006-09-06 Wim Taymans <wim@fluendo.com>
1506 Update documentation.
1508 * gst/gstelement.c: (gst_element_class_init),
1509 (gst_element_release_request_pad), (gst_element_set_clock),
1510 (gst_element_get_index), (gst_element_add_pad),
1511 (gst_element_remove_pad), (gst_element_get_random_pad),
1512 (gst_element_send_event), (gst_element_get_query_types),
1513 (gst_element_query), (gst_element_post_message),
1514 (gst_element_message_full), (gst_element_continue_state),
1515 (gst_element_lost_state), (gst_element_save_thyself),
1516 (gst_element_restore_thyself):
1517 Documentation updates.
1518 Rename last bit of the new-pad -> pad-added signal rename.
1519 Fix the case where an element query would only work if the source
1521 Avoid some useless type checking in message handling.
1526 Documentation updates.
1528 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
1530 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1531 add an INFO line for when we actually update the fd
1533 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
1538 === release 0.10.10 ===
1540 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
1543 releasing 0.10.10, "Pais"
1545 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
1547 * docs/manual/advanced-position.xml:
1548 Fix typo in sample code.
1550 2006-09-05 Wim Taymans <wim@fluendo.com>
1552 * libs/gst/net/gstnetclientclock.c: (inet_aton),
1553 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1554 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
1555 * libs/gst/net/gstnetclientclock.h:
1556 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1557 * libs/gst/net/gstnettimepacket.h:
1558 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
1559 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
1560 (gst_net_time_provider_thread), (gst_net_time_provider_new):
1561 * libs/gst/net/gstnettimeprovider.h:
1562 Make stuff compile on windows. Fixes #345295.
1564 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
1566 * gst/gst.c: (ensure_current_registry_forking):
1567 Print better details when child was terminated by signal.
1569 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
1571 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
1572 Print a warning rather than g_assert() if a plugin feature
1573 is a URI handler but returns no protocols (#353976).
1575 2006-09-02 Stefan Kost <ensonic@users.sf.net>
1577 * docs/random/moving-plugins:
1580 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
1582 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
1583 Fix locking order, handle NULL function values properly.
1588 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1589 Initialise variable before using it and fix debug statement to
1590 print the address of the function rather than the address of the
1591 variable on the stack holding the address of the function.
1593 2006-09-01 Wim Taymans <wim@fluendo.com>
1595 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
1596 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
1597 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
1598 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
1599 (gst_ghost_pad_parent_unset),
1600 (gst_ghost_pad_internal_do_activate_push),
1601 (gst_ghost_pad_internal_do_activate_pull),
1602 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1603 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1604 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
1605 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
1606 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
1607 (gst_ghost_pad_new_no_target_from_template),
1608 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
1610 Avoid needless typechecking in macros.
1611 Since the internal pad is always present and never changes, there is
1612 no need to locking or ref when retrieving it.
1613 Improve debugging a bit.
1614 Handle link errors when setting the target. Fixes #341029.
1616 2006-09-01 Wim Taymans <wim@fluendo.com>
1618 * docs/libs/gstreamer-libs-sections.txt:
1619 * docs/plugins/gstreamer-plugins-sections.txt:
1622 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1623 (gst_collect_pads_event):
1624 * libs/gst/base/gstcollectpads.h:
1625 Documentation updates.
1626 Free queued buffer when removing a pad.
1628 2006-08-31 Michael Smith <msmith@fluendo.com>
1630 * gst/gstutils.c: (gst_element_link_pads),
1631 (gst_element_link_pads_filtered):
1632 Ensure that we set a capsfilter to NULL if we failed to link it
1633 when doing filtered linking, to avoid criticals.
1635 No need to check for unreffing srcpad, which is explicly NULLed
1636 above (a trivial code cleanup).
1638 2006-08-31 Wim Taymans <wim@fluendo.com>
1640 * docs/design/part-gstghostpad.txt:
1641 Update ascii art in documentation.
1643 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
1644 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
1645 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1646 (gst_ghost_pad_internal_do_activate_push),
1647 (gst_ghost_pad_internal_do_activate_pull),
1648 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1649 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1650 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
1651 (gst_ghost_pad_set_target):
1652 Small cleanups and leak fixes.
1653 Remove some checks now that the internal pad is never NULL.
1654 Fix the case where linking pads without a target would create nasty
1655 criticals. Fixes #341029.
1656 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
1657 value of _set_target().
1659 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1660 (gst_ghost_pad_suite):
1661 Some more tests for creating and linking untargeted ghostpads.
1663 2006-08-31 Edward Hervey <edward@fluendo.com>
1665 * docs/gst/gstreamer-sections.txt:
1666 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
1667 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1668 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
1669 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
1670 (gst_ghost_pad_new_from_template),
1671 (gst_ghost_pad_new_no_target_from_template):
1672 * gst/gstghostpad.h:
1673 Refactored *_new() functions.
1674 Templates are now used as a g_object_new() parameter.
1675 Use template in _do_getcaps() if we don't have a target.
1676 Small documentation cleanups.
1677 Added two new constructors:
1678 gst_ghost_pad_new_from_template()
1679 gst_ghost_pad_new_no_target_from_template()
1680 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1681 (gst_ghost_pad_suite):
1682 Added tests for new ghostpad instanciation functions.
1684 API additions: gst_ghost_pad_new_from_template,
1685 gst_ghost_pad_new_no_target_from_template
1687 2006-08-30 Stefan Kost <ensonic@users.sf.net>
1689 * docs/random/ensonic/profiling.txt:
1690 Ideas about qos profiling.
1692 2006-08-29 Wim Taymans <wim@fluendo.com>
1694 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1698 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
1701 Improve and detypofy docs.
1703 * tests/check/Makefile.am:
1704 * tests/check/gst/.cvsignore:
1705 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
1706 Add a basic test suite for GstXML.
1708 2006-08-29 Wim Taymans <wim@fluendo.com>
1710 * gst/gstelement.c: (activate_pads), (clear_caps),
1711 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1712 Clear the pad caps when the element shut down all of the pads and
1713 is not streaming data that could modify the caps.
1716 2006-08-28 Michael Smith <msmith@fluendo.com>
1718 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1719 Revert previous change; I misunderstood single-segment mode.
1721 2006-08-28 Michael Smith <msmith@fluendo.com>
1723 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1724 Unset DISCONT on buffers when using single-segment mode.
1726 2006-08-28 Wim Taymans <wim@fluendo.com>
1728 * gst/gstcaps.c: (gst_caps_merge_structure):
1730 Fix docs and indentation again.
1732 * tests/check/gst/gstquery.c: (GST_START_TEST):
1733 Fix leak in tests and add some more tests.
1735 2006-08-28 Edward Hervey <edward@fluendo.com>
1737 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1738 Inform GstSegment of the last stop position in order for the current
1739 segment to have a proper duration if it doesn't have a specific stop
1740 position from which a duration could be calculated.
1741 This bug was noticeable when a non-flushing, non-update new segment was
1742 followed by another segment (all buffers from the new segment were being
1745 2006-08-28 Wim Taymans <wim@fluendo.com>
1747 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1748 Small comment update.
1750 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1751 (gst_identity_transform_ip):
1752 Drop-probability is broken, mention this in the code with a
1753 FIXME and also in the property description.
1754 Make silent also be silent about the drop messages.
1756 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
1758 * docs/manual/appendix-win32.xml:
1759 Remove mention of popt, we don't depend on that any
1760 longer (#353136). Add some comments pointing out that
1761 this section is slightly outdated.
1763 2006-08-28 Wim Taymans <wim@fluendo.com>
1765 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1767 * gst/gstquery.c: (gst_query_new_segment):
1768 * tests/check/gst/gstquery.c: (GST_START_TEST):
1769 Initialize variables when creating a new segment query.
1772 2006-08-28 Wim Taymans <wim@fluendo.com>
1774 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1776 * gst/gstelement.c: (gst_element_get_bus):
1777 * tests/check/gst/gstelement.c: (GST_START_TEST):
1778 Check for NULL before _reffing the bus. Fixes #353122.
1780 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
1782 * docs/manual/basics-bus.xml:
1783 Docs update: fix wrong callback return value explanation; add
1784 some lines about the implicit relationship between main loop
1785 and main context; remove duplicate main loop variable declaration.
1787 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
1789 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1790 Don't leak caps in unit test; add a few more simple
1793 2006-08-24 Stefan Kost <ensonic@users.sf.net>
1795 * docs/gst/gstreamer-sections.txt:
1796 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1797 (gst_caps_structure_is_subset), (gst_caps_merge),
1798 (gst_caps_merge_structure):
1800 * libs/gst/base/gstbasetransform.c:
1801 (gst_base_transform_transform_caps):
1802 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1803 implement caps merging (fixes #352580)
1805 2006-08-23 Stefan Kost <ensonic@users.sf.net>
1807 * tools/Makefile.am:
1808 * tools/gst-plot-timeline.py:
1809 add debug-log plotting developer tool (#340674)
1811 2006-08-23 Wim Taymans <wim@fluendo.com>
1813 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1814 (gst_pad_stop_task):
1815 Improve debugging for task functions.
1817 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1818 (gst_task_start), (gst_task_pause), (gst_task_join):
1819 Make sure that the task function started and finished after a
1821 Don't try to push the task function on the threadpool multiple
1823 Improve the g_warning message with some useful suggestions
1824 about how to fix the problem.
1826 2006-08-23 Wim Taymans <wim@fluendo.com>
1828 * gst/gstutils.c: (gst_pad_proxy_getcaps):
1829 Handle RESYNC correctly in _proxy_getcaps.
1831 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
1833 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1834 (gst_xml_parse_memory), (gst_xml_get_element):
1835 Chain up to parent class in dispose function and also
1836 unref the elements in the toplevel_elements GList.
1837 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1838 Always return a reference in gst_xml_get_element() rather
1839 than only sometimes.
1841 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1842 Don't leak GstXml object.
1844 2006-08-21 Stefan Kost <ensonic@users.sf.net>
1846 * docs/gst/gstreamer-sections.txt:
1847 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1850 * libs/gst/base/gstbasetransform.c:
1851 (gst_base_transform_transform_caps):
1852 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1855 2006-08-21 Edward Hervey <edward@fluendo.com>
1857 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1858 Implement GObject::dispose virtual method in GstXML so we can free the
1861 2006-08-21 Wim Taymans <wim@fluendo.com>
1863 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1864 (gst_buffer_create_sub):
1865 Copy duration/offset_end/caps when creating a subbuffer of the
1867 Make the subbuffer read-only when we make the metadata writable for
1870 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1871 Added check for metadata copy when creating subbuffers.
1873 2006-08-21 Edward Hervey <edward@fluendo.com>
1875 * libs/gst/base/gstbasetransform.c:
1876 (gst_base_transform_buffer_alloc):
1877 Only call downstream buffer_alloc if transform element is passthrough
1878 or always_in_place. Closes #350449.
1880 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1883 ChangeLog surgery to add comments to previous changes
1885 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1890 * gst/gstpad.c: (gst_pad_set_active):
1891 Be more verbose in the log
1893 * libs/gst/base/gstbasetransform.c:
1894 (gst_base_transform_transform_caps):
1895 Simplify caps to get rid of duplicates, fixes #345444
1897 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1901 Use these optimizations only internally.
1903 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1905 * gst/gstvalue.c: (gst_value_compare_list),
1906 (gst_value_compare_fraction_range),
1907 (gst_value_intersect_fraction_fraction_range),
1908 (gst_value_intersect_fraction_range_fraction_range),
1909 (gst_value_subtract_fraction_fraction_range),
1910 (gst_value_subtract_fraction_range_fraction_range),
1911 (gst_value_get_compare_func), (gst_value_compare),
1912 (gst_value_compare_with_func):
1914 Saves the expensive lookup of the compare function in many cases
1917 2006-08-18 Edward Hervey <edward@fluendo.com>
1919 * tests/check/gst/gstinfo.c: (gst_info_suite):
1920 Disable test that require gstdebug if it wasn't built in core.
1922 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1924 * docs/random/ensonic/logging.txt:
1927 * gst/gstinfo.c: (gst_debug_log_default):
1928 reorder fields, save some columns, add optional color codes for log
1931 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1933 * docs/random/ensonic/logging.txt:
1934 add ideas about making the logs a bit more useful
1936 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1938 * docs/pwg/advanced-events.xml:
1939 * docs/pwg/titlepage.xml:
1940 Update for 0.10 API (#340627). Add myself
1943 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1945 * docs/libs/gstreamer-libs-docs.sgml:
1946 * docs/libs/gstreamer-libs-sections.txt:
1947 * libs/gst/check/gstbufferstraw.c:
1948 Make gstcheck stuff show up in docs (still needs to
1949 be documented properly though).
1951 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
1953 * docs/gst/gstreamer-sections.txt:
1955 * gst/gst.c: (init_post):
1956 * gst/gst_private.h:
1957 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1959 * gst/gstquery.c: (gst_query_new_position),
1960 (gst_query_set_position), (gst_query_parse_position),
1961 (gst_query_new_duration), (gst_query_set_duration),
1962 (gst_query_parse_duration), (gst_query_new_convert),
1963 (gst_query_set_convert), (gst_query_parse_convert),
1964 (gst_query_new_segment), (gst_query_set_segment),
1965 (gst_query_parse_segment), (gst_query_new_seeking),
1966 (gst_query_set_seeking), (gst_query_parse_seeking):
1967 Add internal helpers for pre-registering quarks from static strings
1968 and using the quark values directly instead of looking them up when
1969 creating and parsing queries. Can be used for event construction too.
1972 2006-08-16 Wim Taymans <wim@fluendo.com>
1977 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1979 * gst/gstutils.c: (gst_util_set_value_from_string):
1980 Fix memleak (#351502).
1982 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1983 Add unit test for most of gst_util_set_value_from_string()
1984 (not that one would want to encourage use of this function).
1986 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1988 * libs/gst/check/gstcheck.h:
1989 Use const gchar * variables in fail_unless_equals_string
1990 macro to avoid compiler warnings (and don't use tabs for
1993 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1995 * tools/gst-launch.c: (print_tag):
1996 More space on the left for the tag names, to cater
1997 for the 'extended comment' tag (not touching the
1998 string for the first line since it's translated).
2000 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
2002 * libs/gst/check/gstcheck.h:
2003 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
2004 print something when they fail.
2006 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
2008 * docs/gst/gstreamer-sections.txt:
2009 * gst/gsttaglist.c: (_gst_tag_initialize):
2011 API: add GST_TAG_EXTENDED_COMMENT (#350935).
2012 Also change merge function for GST_TAG_COMMENT to
2015 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
2017 * gst/gstinfo.c: (gst_debug_print_object):
2018 Make GST_PTR_FORMAT print messages as well.
2020 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
2021 (GST_START_TEST), (gst_info_suite):
2024 2006-08-14 Edward Hervey <edward@fluendo.com>
2026 * gst/gstelementfactory.c: (gst_element_register):
2027 If the GstElementClass doesn't have a GstElementDetails with all fields
2028 filled up correctly (longname, description AND author), then error out
2029 nicely instead of crashing.
2031 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
2033 * gst/gststructure.c:
2034 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
2037 Expand on the difference between arrays and lists as we use them.
2039 2006-08-14 Wim Taymans <wim@fluendo.com>
2041 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2042 If the parent state change function failed, don't assume we can safely
2043 stop the source, this will be done when the pads are deactivated.
2045 2006-08-14 Wim Taymans <wim@fluendo.com>
2048 * gst/gsttask.c: (gst_task_join):
2051 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2052 (gst_pad_stop_task):
2053 When pad (de)activation failed for some reason, restore the old
2054 activation mode and set the pad to flushing instead of assuming the
2056 If the _task_join() failed, reinstall the task on the pad so that it can
2057 be stopped later and return an error.
2059 2006-08-11 Andy Wingo <wingo@pobox.com>
2062 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
2063 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
2064 is only for users of API that don't want to see deprecated
2065 functions in the headers; people that want to compile out
2066 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
2067 CFLAGS. Fixes the build of multifdsink, or will soon..
2069 2006-08-11 Wim Taymans <wim@fluendo.com>
2071 * docs/gst/gstreamer-sections.txt:
2072 Add GstClockClass vmethod docs.
2075 Mark #endif with comment for associated #if
2077 * gst/gstclock.c: (gst_clock_id_wait):
2079 Add vmethod wait_jitter to avoid an unneeded _get_time() for
2080 most clock implementations.
2082 Flesh out docs about resolution methods.
2083 API: GstClockClass::wait_jitter
2085 * gst/gstsystemclock.c: (gst_system_clock_class_init),
2086 (gst_system_clock_async_thread),
2087 (gst_system_clock_id_wait_jitter_unlocked),
2088 (gst_system_clock_id_wait_jitter):
2089 Use base class wait_jitter variant for improved performance
2090 due to less clock polling.
2092 2006-08-11 Edward Hervey <edward@fluendo.com>
2094 * gst/gst.c: (gst_init_check), (init_post):
2095 Set gst as being initialized before scanning/updating the registry,
2096 since there might be my python plugin loader that calls gst_init() and
2097 we don't want to loop back in.
2100 2006-08-11 Wim Taymans <wim@fluendo.com>
2102 * docs/design/part-qos.txt:
2103 Bring docs in line with the code. Mostly the sign of the jitter was
2104 wrong in the docs. Fixes #349943.
2107 Fix the docs for the jitter.
2109 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
2110 (gst_event_parse_tag), (gst_event_new_buffer_size),
2111 (gst_event_parse_buffer_size), (gst_event_parse_qos),
2112 (gst_event_new_seek), (gst_event_parse_seek),
2113 (gst_event_new_navigation):
2114 Make sure the GstStructure has no parent when creating custom
2116 Add some more argument checking so that we avoid 0.0 rates.
2117 Flesh out the docs for the QoS event some more.
2119 2006-08-11 Wim Taymans <wim@fluendo.com>
2121 * docs/gst/gstreamer-sections.txt:
2122 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2123 (ensure_current_registry_forking), (ensure_current_registry),
2124 (parse_one_option), (parse_goption_arg), (gst_deinit),
2125 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
2128 Added API and command line option to disable registry forking in
2129 addition to the environment variable.
2130 Constify some static arrays.
2131 Added some more debug.
2133 API: gst_registry_fork_is_enabled()
2134 API: gst_registry_fork_set_enabled()
2135 API: --gst-disable-registry-fork command line option
2138 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
2140 * gst/gst.c: (gst_init):
2141 Fix typo in error message.
2143 2006-08-10 Stefan Kost <ensonic@users.sf.net>
2145 * libs/gst/controller/gstcontroller.h:
2146 fix ABI size-correction
2148 * tests/check/libs/gdp.c: (gst_dp_suite):
2149 make tests that use deprecated API conditional
2151 2006-08-10 Stefan Kost <ensonic@users.sf.net>
2153 * docs/libs/gstreamer-libs-sections.txt:
2154 * libs/gst/controller/gstcontroller.c:
2155 (_gst_controller_get_property), (_gst_controller_set_property),
2156 (_gst_controller_init), (_gst_controller_class_init):
2157 * libs/gst/controller/gstcontroller.h:
2158 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
2159 (gst_object_set_control_rate):
2160 API: add gst_object_{s,g}et_control_rate(), add private data section,
2163 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
2164 * libs/gst/dataprotocol/dataprotocol.h:
2165 add deprecation guards to make gtk-doc happy and allow disabling cruft
2167 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
2169 * tests/check/Makefile.am:
2170 * tests/check/gst/.cvsignore:
2171 Let's enable the new unit test as well.
2173 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
2176 * docs/gst/gstreamer-sections.txt:
2177 * gst/gstconfig.h.in:
2178 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
2179 (_gst_info_printf_extension_ptr),
2180 (_gst_info_printf_extension_segment):
2181 API: add GST_SEGMENT_FORMAT, which is a printf extension we
2182 register that lets us easily dump GstSegments into debug
2185 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
2186 (info_segment_format_printf_extension), (gst_info_suite):
2187 Add simple unit test that logs a bunch of different segments (not
2188 valgrinded at the moment because of leaks in
2189 gst_debug_add_log_function).
2191 2006-08-09 Edward Hervey <edward@fluendo.com>
2193 * libs/gst/base/gstbasetransform.c:
2194 (gst_base_transform_buffer_alloc):
2195 Even if we can't figure out the proper format to request downstream,
2196 call buffer_alloc() downstream with the input parameters without setting
2197 the caps on the srcpad. This will force negotiation in the chain
2201 2006-08-08 Edward Hervey <edward@fluendo.com>
2203 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2204 Unlinking from a pad without a target is now a perfectly valid case
2205 which should NOT raise an assertion.
2206 This case would happen if a linked ghostpad its target set to NULL after
2207 it was previously linked.
2209 2006-08-08 Edward Hervey <edward@fluendo.com>
2211 * tests/check/libs/gdp.c:
2212 Also comment out the test (see below).
2214 2006-08-08 Edward Hervey <edward@fluendo.com>
2216 * tests/check/libs/gdp.c: (gst_dp_suite):
2217 Use the architecture information from config.h and not gcc macros
2218 in order to properly disable a test that fails on PPC64.
2220 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
2222 * gst/gstelement.c: (gst_element_remove_pad):
2223 Don't crash printing the warning if the pad has no parent.
2225 2006-08-02 Wim Taymans <wim@fluendo.com>
2227 * libs/gst/dataprotocol/dataprotocol.c:
2228 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2229 (gst_dp_crc), (gst_dp_header_payload_length),
2230 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
2231 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
2232 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
2233 (gst_dp_event_from_packet), (gst_dp_validate_header),
2234 (gst_dp_validate_payload):
2235 Make debug category static
2236 Constify the crc table.
2237 Do some more arg checking in public functions.
2238 Fix some docs and do some small cleanups.
2240 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
2241 Add some more checks to see if GDP deals with bogus input.
2243 2006-07-31 Wim Taymans <wim@fluendo.com>
2245 * gst/gstvalue.c: (gst_value_compare_list):
2246 Fix GstValueList comparison code. Fixes #347293.
2248 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2249 Check to test GstValueList comparison.
2251 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2253 * gst/gstelementfactory.c: (gst_element_factory_create):
2254 Remove unnecessary ref/unref pair
2256 * gst/parse/grammar.y:
2257 Make sure to free the parse buffer on all code paths.
2258 Move a g_free up to the error handler where it's easier to see.
2260 * tests/check/gst/gstevent.c: (test_event):
2261 Extending timeout for downstream travelling events to 10 seconds to
2262 hopefully avoid intermittent failure on the buildbots.
2264 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
2265 Don't manually set the state of the src element - it will happen as a
2266 natural consequence of the pipeline changing state, and that way it
2267 will do it in the right order too.
2269 2006-07-31 Wim Taymans <wim@fluendo.com>
2271 * libs/gst/base/gstbasetransform.c:
2272 (gst_base_transform_buffer_alloc):
2273 Use OBJECT_LOCK and refcounting to get the pad caps in the
2274 buffer_alloc function because the caps could change while we are
2275 busy with them. Fixes #349105
2277 2006-07-31 Wim Taymans <wim@fluendo.com>
2279 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
2280 Protect _PAD_CAPS with OBJECT_LOCK.
2282 2006-07-31 Wim Taymans <wim@fluendo.com>
2284 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2285 (gst_pad_get_property), (gst_pad_activate_pull),
2286 (gst_pad_activate_push), (gst_pad_set_blocked_async),
2287 (gst_pad_set_activate_function),
2288 (gst_pad_set_activatepull_function),
2289 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
2290 (gst_pad_set_getrange_function),
2291 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
2292 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2293 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
2294 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
2295 (gst_pad_set_acceptcaps_function),
2296 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
2297 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
2298 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
2299 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
2300 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
2301 (gst_pad_configure_sink), (gst_pad_configure_src),
2302 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
2303 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
2304 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
2305 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
2306 (gst_pad_send_event):
2307 Use _DEBUG_OBJECT when it makes sense.
2308 Protect GST_PAD_CAPS with the OBJECT_LOCK.
2309 Small cleanups and code reflows.
2310 Avoid caps refcounting in _accept_caps.
2311 Refactor alloc_buffer so that the code performed on the peer is in a
2312 separate function. Also if the pad does not implement a buffer alloc
2313 function, we should still check if the pad is flushing before falling
2314 back to the default allocator.
2316 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2318 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2319 Make all uses of identity and fakesink have silent=true to avoid
2320 serialising every passing data structure, which is breaking tests
2321 on FC4 for some unknown reason.
2323 2006-07-30 Stefan Kost <ensonic@users.sf.net>
2325 * gst/parse/Makefile.am:
2326 * gst/parse/grammar.y:
2327 * gst/parse/parse.l:
2328 Reverted previous patch as it required to bump the flex dependency to
2329 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
2331 2006-07-30 Stefan Kost <ensonic@users.sf.net>
2333 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
2335 * gst/parse/Makefile.am:
2336 * gst/parse/grammar.y:
2337 * gst/parse/parse.l:
2338 push & pop the state of the lexer for reentrant use case
2341 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
2343 * libs/gst/base/gstbasesrc.h:
2344 Note in the docs that the ::newsegment vfunc is not actually used by
2347 2006-07-28 Wim Taymans <wim@fluendo.com>
2349 * libs/gst/base/gstcollectpads.c:
2350 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
2351 (gst_collect_pads_clear), (gst_collect_pads_flush),
2352 (gst_collect_pads_event), (gst_collect_pads_chain):
2353 When flushing a pad, also clear the queued buffer so that we don't
2354 accidentally use it when we shouldn't.
2355 Fix leaks by inreffing incomming buffer.
2356 Flush out queued buffers in case of errors.
2359 2006-07-28 Wim Taymans <wim@fluendo.com>
2361 * docs/random/phonon-gst:
2362 Random notes about a Phonon backend.
2364 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
2366 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2368 * tests/check/libs/gdp.c: (gst_dp_suite):
2369 Take a whack at fixing the ppc compile using a different define to
2370 disable the broken test.
2372 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2373 Remove excess g_print()
2375 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
2377 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2378 Oops, meant to uncomment this line too to dampen the noise a bit.
2380 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
2382 * gst/parse/grammar.y:
2383 * gst/parse/parse.l:
2384 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
2385 (GST_START_TEST), (parse_suite):
2386 Fix some of the leaks exposed by extending the parse-launch testsuite,
2387 and move the 3 I can't figure out into a separate test that won't run
2388 the pipelines unless the appropriate line is uncommented.
2390 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
2392 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2393 Requesting 0 bytes before the end of the file should result in
2394 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
2397 2006-07-27 Wim Taymans <wim@fluendo.com>
2399 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
2400 Fix useless assert, a uint is always positive.
2402 * gst/gststructure.c: (gst_structure_nth_field_name),
2403 (gst_structure_foreach), (gst_structure_map_in_place):
2404 Check input arguments for public functions to avoid obvious crashes.
2406 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
2407 * plugins/elements/gstfakesink.h:
2408 Do less useless typechecking.
2410 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
2412 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2413 Do not use mmap() by default since there are a number of error
2414 conditions that we would like to handle in a non-fatal way that
2415 will result in a SIGBUS if we use mmap(). Examples: external
2416 devices (USB harddrive, portable music player) being unplugged
2417 while in use; file on mounted CD/DVD that can't be read because
2418 the medium is partly damaged. Fixes #348455 and #348475.
2420 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
2423 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
2426 2006-07-26 Stefan Kost <ensonic@users.sf.net>
2428 * gst/gstregistry.c:
2429 Move big documentation comment into class section header, so that it
2430 appears in the API docs.
2432 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2434 * docs/gst/gstreamer-sections.txt:
2435 Oops. Commit the docs additions too for new API.
2436 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
2438 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2440 * gst/gststructure.c: (gst_structure_id_set),
2441 (gst_structure_id_set_valist):
2442 * gst/gststructure.h:
2443 Add API for setting values into structures without performing
2444 a quark lookup, if the appropriate quark is already known.
2446 API: gst_structure_id_set
2447 API: gst_structure_id_set_valist
2449 * gst/parse/grammar.y:
2450 * gst/parse/parse.l:
2451 Remove some dead code shown by the coverage information.
2452 Don't throw a critical g_warning when encountering a syntax error,
2453 just warn and let the normal error path handle it.
2455 * plugins/elements/gstelements.c:
2456 Bump the rank of filesink up to PRIMARY so that it is preferred over
2457 gnomevfssink for file:// sink uri's
2459 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
2460 (GST_START_TEST), (run_delayed_test),
2461 (gst_parse_test_element_base_init),
2462 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
2463 (gst_parse_test_element_change_state),
2464 (gst_register_parse_element), (parse_suite):
2465 Beef up the tests for parse syntax to check that more error cases
2466 fail as they are supposed to. Increases the test coverage a bit.
2468 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
2470 * docs/manual/basics-elements.xml:
2471 Fix gst_element_link() example.
2474 Mention in API docs that one should usually gst_bin_add()
2475 elements to a bin or pipeline before doing the linking.
2477 2006-07-26 Wim Taymans <wim@fluendo.com>
2479 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
2480 (gst_subbuffer_get_type), (gst_buffer_create_sub):
2481 Avoid function call for known types by keeping the buffer and
2482 subbuffer GType global.
2484 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2485 Random silly optimisations in read() path.
2487 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2489 * tools/gst-launch.c: (main):
2490 If the top-level of the parse is a normal bin, it doesn't do the
2491 right logic to run as a top-level element, so place it inside a
2494 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
2496 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
2497 Remove superfluous g_object_notify() calls, GObject does
2498 that for us automatically.
2500 2006-07-25 Stefan Kost <ensonic@users.sf.net>
2503 on Win32, use dllspec to export the debug category symbols
2505 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
2507 * gst/gsttaglist.c: (_gst_tag_initialize):
2508 Allow more than one GST_TAG_IMAGE per taglist.
2510 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
2512 * gst/gstminiobject.c:
2514 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
2515 (gst_fd_src_create):
2516 log recurring events at LOG level
2517 add more debug for when the fd gets set
2519 2006-07-21 Stefan Kost <ensonic@users.sf.net>
2521 * gst/gstparse.c: (gst_parse_launch):
2522 Also remove reentrance checks if flex is MT safe (#348179)
2523 Fix my empty ChangeLog entry below
2525 2006-07-21 Andy Wingo <wingo@pobox.com>
2527 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
2529 * libs/gst/check/Makefile.am
2530 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
2531 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
2532 * libs/gst/check/gstbufferstraw.h:
2533 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
2534 functions, thus proving I am still a GStreamer haxor. OK I wrote
2535 them a long time ago, but anyways.
2537 2006-07-21 Stefan Kost <ensonic@users.sf.net>
2540 * gst/gstparse.c: (gst_parse_launch):
2541 Check for flex version and omit mutex if we have a MT save flex
2544 2006-07-21 Wim Taymans <wim@fluendo.com>
2546 * gst/gstparse.c: (gst_parse_launch):
2547 Protect recursive calls to _parse with a recursive mutex
2550 2006-07-21 Wim Taymans <wim@fluendo.com>
2552 * tests/check/gst/gstpad.c: (GST_START_TEST):
2555 2006-07-20 Stefan Kost <ensonic@users.sf.net>
2557 * gst/gstparse.c: (gst_parse_launch):
2558 Do not hang on recursive usage of gst_parse_launch()
2560 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
2563 Add some more docs, comments and FIXME 0.11s here and there
2564 and also fix some typos.
2566 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
2569 Convert tabs to spaces for better readability.
2571 2006-07-20 Edward Hervey <edward@fluendo.com>
2573 * tests/check/libs/gdp.c: (gst_dp_suite):
2574 the test_buffer test fails at line 140 on ppc64 at the following
2576 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
2577 GST_BUFFER_FLAG_IN_CAPS),
2578 "GST_BUFFER_IN_CAPS flag should have been copied !");
2579 See bug #348114 for more details.
2581 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
2583 * docs/pwg/advanced-scheduling.xml:
2585 Fix typos (#348000).
2587 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
2589 * docs/pwg/intro-basics.xml:
2590 Fix wrong links (#347927).
2592 2006-07-18 Stefan Kost <ensonic@users.sf.net>
2594 * gst/gstregistry.h:
2595 * gst/gstregistryxml.c: (load_feature),
2596 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
2597 * win32/common/config.h:
2598 make --disable-index work (#342564)
2600 2006-07-18 Wim Taymans <wim@fluendo.com>
2602 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2606 The attached patch adds two missing defines to gsttrace.h when tracing
2607 is disabled. It also corrects one existing define.
2610 2006-07-17 Wim Taymans <wim@fluendo.com>
2612 * docs/gst/gstreamer-sections.txt:
2613 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
2615 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
2616 Add two functions to check and change the SIGSEGV behaviour
2617 when loading plugins.
2618 Don't mess with the SIGSEGV handler when we were told not to.
2620 API: gst_segtrap_is_enabled
2621 API: gst_segtrap_set_enabled
2623 2006-07-14 Wim Taymans <wim@fluendo.com>
2625 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2626 * tests/check/elements/filesrc.c: (GST_START_TEST):
2627 Revert fix for regression in #347408 after release.
2629 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
2631 Patch by: Antoine Tremblay <hexa00 at gmail com>
2633 * gst/gstutils.c: (gst_element_unlink):
2634 Free iterator when done (#347311).
2636 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2637 And add a test case for this.
2639 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
2642 Bump nano back to CVS
2644 === release 0.10.9 ===
2646 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2649 releasing 0.10.9, "On the road again"
2651 2006-07-13 Wim Taymans <wim@fluendo.com>
2653 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2654 * tests/check/elements/filesrc.c: (GST_START_TEST):
2655 Revert pull-0 fix for release. Disable check. Fixes #347408.
2657 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2659 * libs/gst/dataprotocol/dataprotocol.c:
2660 (gst_dp_event_from_packet_1_0):
2661 Fixes #347337: failure to deserialize event packets with
2662 empty payload (only event type)
2664 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2667 do not install a .c file in the header directory
2669 2006-07-13 Edward Hervey <edward@fluendo.com>
2671 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
2672 GhostPad no longer implicitely use the padtemplates of the targets.
2675 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
2677 * gst/gstvalue.c: (gst_value_compare_list),
2678 (gst_value_compare_array), (_gst_value_initialize):
2679 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2680 Make GstValueArray comparison be order dependent as designed.
2681 Add checks for value lists and value array comparisons.
2684 2006-07-11 Edward Hervey <edward@fluendo.com>
2686 * gst/gstbin.c: (activate_pads),
2687 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
2688 (gst_bin_change_state_func):
2689 (de)activate src pads before calling state_change on the childs.
2690 This is to avoid the case where a src ghostpad is blocked (holding the
2691 stream lock), which would block the deactivation of the ghostpad's
2693 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
2694 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
2695 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
2696 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2697 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2698 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2699 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2700 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
2701 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
2702 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2703 (gst_ghost_pad_class_init),
2704 (gst_ghost_pad_internal_do_activate_push),
2705 (gst_ghost_pad_internal_do_activate_pull),
2706 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2707 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2708 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
2709 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
2710 GhostPads now create their internal GstProxyPad at creation (and not
2711 when they're linked, as it was being done previously).
2712 The internal and target pads are linked straight away.
2713 The data will also travel through the other pad in order to make
2714 pad blocking and probes non-hackish (the probe/block now really happens
2715 on the GhostPad and not on the target).
2716 * gst/gstpad.c: (gst_pad_set_blocked_async),
2717 (gst_pad_link_prepare), (gst_pad_push_event):
2718 Remove previous ghostpad cruft.
2719 * gst/gstutils.c: (gst_pad_add_data_probe),
2720 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2721 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2722 (gst_pad_remove_buffer_probe):
2723 Remove previous ghost pad cruft.
2724 Added more detailed debug statements.
2725 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2726 Fix the testsuite for refcounting changes.
2727 The comments about who has references were correct, but the refcount
2728 being checked wasn't the same (!?!).
2732 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2734 * docs/gst/gstreamer-sections.txt:
2735 * gst/gstconfig.h.in:
2736 More docs for configuration options, add docs to gtk-doc.
2738 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2741 * gst/gstconfig.h.in:
2742 * win32/common/config.h:
2743 Fix build when disabling tracing (fixes #344016). Also start to document
2744 the defines that disable the sub-systems.
2746 2006-07-10 Edward Hervey <edward@fluendo.com>
2748 * gst/gst.c: (ensure_current_registry_forking):
2749 let's make valgrind happy...
2751 2006-07-09 Wim Taymans <wim@fluendo.com>
2753 * gst/gstelement.c: (activate_pads),
2754 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2755 Better pad activation code: Reset the collect value too on resync.
2758 2006-07-09 Wim Taymans <wim@fluendo.com>
2760 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2761 (gst_pad_activate_push):
2762 Use some more macros where it makes sense.
2763 Allow pad mode switching instead of asserting. When a pad
2764 is activated in one mode and we activate it in another,
2765 deactivate it first before activating it in a different mode.
2768 2006-07-08 Andy Wingo <wingo@pobox.com>
2770 * tools/gst-launch.c (main): Handle err == NULL.
2772 * gst/gst.c (init_post, ensure_current_registry)
2773 (ensure_current_registry_forking)
2774 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2775 factoring out the registry scanning into separate functions. Don't
2776 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2777 Better environment var name/interface suggestions accepted.
2779 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2781 * gst/gstobject.c: (gst_object_set_name_default),
2782 (gst_object_set_name):
2783 Random micro-optimisation: don't use a hash table
2784 with strings as keys and the usual strdup/strcmp
2785 involved, but rather just use the GQuark of the
2786 type name as key, since it needs to be looked up
2787 anyway to get the type name string.
2789 * tests/check/gst/gstobject.c: (GST_START_TEST):
2792 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2794 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2795 (gst_bin_iterate_all_by_interface):
2796 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2797 GTypes are gulongs and thus the top 4 bytes might be cut
2798 off on some platforms when doing GPOINTER_TO_INT, leading
2799 to invalid GTypes and bad things happening (see RH bug #179654).
2800 Also add a check to make sure the type passed in is really
2803 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2808 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2812 * gst-element-check.m4:
2813 * gst-element-check.m4.in:
2814 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2815 instead of the unversioned gst-inspect (#324176, #168659).
2817 2006-07-06 Wim Taymans <wim@fluendo.com>
2820 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2823 2006-07-06 Wim Taymans <wim@fluendo.com>
2825 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2826 (gst_base_src_wait), (gst_base_src_update_length),
2827 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2828 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2829 (gst_base_src_loop), (gst_base_src_start),
2830 (gst_base_src_activate_pull):
2832 blocksize == 0 now means the default blocksize when working in push
2834 Remove some pointless asserts in _wait function.
2835 Fix offset/length calculations and EOS handling. We can now pull 0
2836 bytes as well, which is allowed.
2837 use _check_get_range() to decide if we can operate in _pull based
2839 Fix refcounting leak when check_get_range function was not
2841 API GstBaseSrc::blocksize range can be 0 too now (default)
2843 * tests/check/elements/filesrc.c: (GST_START_TEST),
2845 Added check to test _get_range() behaviour.
2847 2006-07-06 Wim Taymans <wim@fluendo.com>
2849 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2850 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2851 (gst_pad_pull_range):
2853 Lots of comments and docs added to the pad functions.
2854 Flesh out the expected behaviour of the get_range() functions.
2856 2006-07-06 Wim Taymans <wim@fluendo.com>
2861 * gst/gstiterator.h:
2865 Remove comma at end of enumerator list.
2867 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
2869 * win32/common/libgstbase.def:
2870 * win32/common/libgstdataprotocol.def:
2871 * win32/common/libsgtreamer.def:
2872 Add new exported functions.
2874 2006-07-05 Wim Taymans <wim@fluendo.com>
2876 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2877 Add some more docs here and there.
2879 2006-07-05 Wim Taymans <wim@fluendo.com>
2881 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2882 (gst_base_sink_loop), (gst_base_sink_get_position):
2883 When operating in pull mode update the offset so that we
2886 2006-07-05 Wim Taymans <wim@fluendo.com>
2888 * gst/gstregistryxml.c: (read_string):
2889 Avoid strdup. (will happen in libxml, but hey!)
2894 2006-07-05 Wim Taymans <wim@fluendo.com>
2896 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2897 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2899 No point in checking if the size of the subbuffer > 0, the
2900 code handles it correclty as demonstrated by unit test.
2901 Also add a unit test for the zero sized _new_and_alloc and
2902 _copy. Fixes #346663.
2904 2006-07-05 Wim Taymans <wim@fluendo.com>
2906 * libs/gst/base/gstbasetransform.c:
2907 (gst_base_transform_prepare_output_buffer),
2908 (gst_base_transform_buffer_alloc),
2909 (gst_base_transform_handle_buffer):
2910 Make sure the buffer we pass to transform_ip has a refcount of
2911 1 and thus is writable. Fixes #343196
2913 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
2915 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2916 (gst_file_src_init), (gst_file_src_set_property),
2917 (gst_file_src_get_property), (gst_file_src_map_region):
2918 * plugins/elements/gstfilesrc.h:
2919 Add "sequential" property, off by default, to use madvise and hint
2920 to the kernel that sequential access is desired.
2921 Touch all retrieved pages by default to ensure they are pulled
2922 into memory. (Closes #345720)
2924 2006-07-03 Wim Taymans <wim@fluendo.com>
2926 * docs/design/part-block.txt:
2927 * docs/design/part-dynamic.txt:
2930 2006-07-03 Wim Taymans <wim@fluendo.com>
2932 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2933 (gst_caps_unref), (gst_static_caps_get),
2934 (gst_caps_append_structure):
2935 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2936 Use GSlice when the glib we build against is >= 2.10
2938 2006-07-03 Wim Taymans <wim@fluendo.com>
2940 * gst/gstelement.c: (gst_element_pads_activate):
2941 Small cleanup in pad activation code.
2943 2006-07-03 Wim Taymans <wim@fluendo.com>
2945 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2947 * gst/gst-i18n-app.h:
2948 * gst/gst-i18n-lib.h:
2949 * tools/gst-inspect.c: (print_signal_info):
2950 The attached patch will make the inclusion of gettext.h unconditional in
2951 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2952 libintl.h in tools/gst-inspect.c.
2953 This allows use of --disable-nls again and fixes #344642.
2955 2006-07-03 Edward Hervey <edward@fluendo.com>
2957 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2958 Implement pad blocking on events according to part-block.txt.
2959 More comments on behaviour.
2960 * tests/check/gst/gstevent.c: (test_event):
2961 Send event to peer pad of blocked pad (else it will block).
2963 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2965 * libs/gst/check/gstcheck.c: (gst_check_message_error),
2966 (gst_check_run_suite):
2967 if we get the wrong message, give us the types as string
2968 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2970 * tests/check/elements/filesrc.c: (GST_START_TEST):
2971 add a test for trying to open a non-existing file
2973 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2975 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2976 add a test for adding self
2978 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2980 * libs/gst/check/gstcheck.h:
2981 add some assert_ as alias for fail_unless_*
2982 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2983 increase test coverage
2985 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2988 include lcov.mak for lcov coverage generation
2989 * tools/Makefile.am:
2992 2006-07-02 Edward Hervey <edward@fluendo.com>
2994 * tests/check/elements/.cvsignore:
2997 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3000 don't set CFLAGS and friends for gcov, done from GST_GCOV now
3001 * tests/check/Makefile.am:
3004 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3006 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
3007 remove gst_caps_simplify; it was not declared and not used
3008 and deprecated in 0.8
3010 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3012 * docs/faq/gst-uninstalled:
3013 don't put empty paths on PYTHONPATH
3014 * docs/gst/gstreamer-sections.txt:
3015 remove some symbols that are not there
3017 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3019 * gst/gstcaps.c: (gst_caps_compare_structures):
3021 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3022 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3025 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3027 * libs/gst/dataprotocol/Makefile.am:
3028 build dataprotocol test by linking to the lib, instead of
3029 compiling the source, so we get coverage
3030 * tests/check/Makefile.am:
3031 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
3032 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
3033 add a test for filesrc
3035 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3037 * tests/check/gst/gststructure.c: (GST_START_TEST),
3038 (gst_structure_suite):
3039 Push coverage from 59.04% to 70.00%
3041 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3043 * tests/check/Makefile.am:
3044 gst-inspect every element; this makes sure that we also get
3045 coverage on element's get/set functions
3047 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3050 set CFLAGS and friends to -O0 if gcov is being used
3053 * libs/gst/base/Makefile.am:
3054 * libs/gst/check/Makefile.am:
3055 * libs/gst/controller/Makefile.am:
3056 * libs/gst/dataprotocol/Makefile.am:
3057 * libs/gst/net/Makefile.am:
3058 * plugins/elements/Makefile.am:
3059 * plugins/indexers/Makefile.am:
3060 add makefile rules to generate gcov data and clean up
3061 * tests/check/Makefile.am:
3062 add a coverage target that generates an html overview
3065 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3067 * tests/check/elements/fakesink.c:
3068 * tests/check/elements/fakesrc.c:
3069 * tests/check/elements/fdsrc.c:
3070 * tests/check/elements/identity.c:
3071 * tests/check/generic/sinks.c: (gst_sinks_suite):
3072 * tests/check/generic/states.c:
3073 * tests/check/gst/gst.c:
3074 * tests/check/gst/gstabi.c:
3075 * tests/check/gst/gstbin.c:
3076 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
3077 * tests/check/gst/gstbus.c: (gst_bus_suite):
3078 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3079 * tests/check/gst/gstelement.c:
3080 * tests/check/gst/gstevent.c: (gst_event_suite):
3081 * tests/check/gst/gstghostpad.c:
3082 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
3083 * tests/check/gst/gstmessage.c: (gst_message_suite):
3084 * tests/check/gst/gstminiobject.c:
3085 * tests/check/gst/gstobject.c:
3086 * tests/check/gst/gstpad.c:
3087 * tests/check/gst/gstpipeline.c:
3088 * tests/check/gst/gstplugin.c:
3089 * tests/check/gst/gstquery.c: (gst_query_suite):
3090 * tests/check/gst/gstsegment.c: (gst_segment_suite):
3091 * tests/check/gst/gststructure.c:
3092 * tests/check/gst/gstsystemclock.c:
3093 * tests/check/gst/gsttag.c:
3094 * tests/check/gst/gsttask.c: (gst_task_suite):
3095 * tests/check/gst/gstutils.c:
3096 * tests/check/gst/gstvalue.c:
3097 * tests/check/libs/adapter.c:
3098 * tests/check/libs/basesrc.c:
3099 * tests/check/libs/collectpads.c:
3100 * tests/check/libs/controller.c:
3101 * tests/check/libs/gdp.c: (gst_dp_suite):
3102 * tests/check/libs/gstnetclientclock.c:
3103 * tests/check/libs/gstnettimeprovider.c:
3104 * tests/check/libs/libsabi.c: (libsabi_suite):
3105 * tests/check/libs/typefindhelper.c:
3106 * tests/check/pipelines/cleanup.c:
3107 * tests/check/pipelines/parse-launch.c:
3108 * tests/check/pipelines/simple-launch-lines.c:
3109 * tests/check/pipelines/stress.c: (stress_suite):
3112 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3114 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
3115 * libs/gst/check/gstcheck.h:
3116 create a macro and function so that the simple unit test
3117 case can be just one macro to create main()
3119 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
3121 * gst/gstbin.c: (gst_bin_restore_thyself):
3122 * gst/gstxml.c: (gst_xml_make_element):
3123 Fix deserialisation from XML. Set parent manually
3124 instead of using gst_bin_add(), since gst_bin_add()
3125 will unlink all pads of the element being added.
3128 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
3130 Patch by: Peter Kjellerstedt <pkj at axis com>
3132 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
3133 Fix missing g_strdup() and double free when using the
3134 --gst-plugin-load command line option (#346097).
3136 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
3139 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
3141 * libs/gst/net/gstnetclientclock.c:
3142 * libs/gst/net/gstnettimeprovider.c:
3143 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
3145 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
3147 * docs/manual/advanced-dataaccess.xml:
3148 Fix buffer probe example compilation in
3151 2006-06-22 Edward Hervey <edward@fluendo.com>
3153 * gst/gstelement.c: (gst_element_pads_activate):
3154 We need to deactivate src pads first and then sink pads.
3155 The reason is the src pads might be blocking while holding the streaming
3156 lock, so we need to deactivate them first so that deactivating the sink
3157 pads doesn't block (since it will require the streaming lock).
3159 2006-06-22 Wim Taymans <wim@fluendo.com>
3161 * libs/gst/base/gstbasetransform.c:
3162 (gst_base_transform_buffer_alloc):
3163 Forgot to remove two unneeded unrefs.
3164 Simplify a check _is_equal allready checks the obvious case.
3166 2006-06-22 Wim Taymans <wim@fluendo.com>
3168 * docs/design/part-block.txt:
3169 Some docs about what pad_block should do.
3171 2006-06-22 Wim Taymans <wim@fluendo.com>
3173 * gst/gstcaps.c: (gst_caps_replace):
3174 Fix crasher when passed NULL. Doc clarification.
3175 Optimize for the trivial case.
3177 * gst/gstpipeline.c: (gst_pipeline_change_state):
3180 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3181 Small documentation cleanup.
3183 * libs/gst/base/gstbasetransform.c:
3184 (gst_base_transform_buffer_alloc):
3185 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
3186 is what we need and it avoids a whole lot of redundant
3187 refcount operations.
3189 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
3191 Patch by: Philip Jägenstedt <philip at lysator liu se>
3193 * docs/manual/advanced-dataaccess.xml:
3194 Fix 'Embedding static elements' section to use
3195 GST_PLUGIN_DEFINE_STATIC (#345607).
3197 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
3199 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
3200 Attempt to 'fix' spuriously failing test case: it seems like the
3201 timeout of half a second is simply too small when the system is under
3202 load otherwise, and the timeout doesn't really seem to serve any
3203 particular purpose here. Give the pipeline a few seconds to preroll
3204 first, and then give it another half a second to go from PAUSED to
3205 PLAYING and marshal the message into the main thread.
3207 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
3209 * tools/gst-feedback-m.m:
3210 Don't only use unversioned tools, try versioned tools as well
3213 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
3215 * gst/gstbus.c: (gst_bus_class_init):
3216 Fix some typos, make docs more explicit.
3218 2006-06-20 Wim Taymans <wim@fluendo.com>
3220 * tests/check/gst/gstghostpad.c: (block_callback),
3221 (GST_START_TEST), (gst_ghost_pad_suite):
3222 Added some more ghostpad tests, mainly blocking
3225 2006-06-16 Wim Taymans <wim@fluendo.com>
3227 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3228 (gst_file_sink_close_file), (gst_file_sink_do_seek),
3229 (gst_file_sink_event), (gst_file_sink_render):
3230 * plugins/elements/gstfilesink.h:
3231 Check if we can seek in the file instead of assuming
3232 we always can. Post an error when we are asked to seek in a
3233 non-seekable file (like a fifo). Fixes #343312.
3236 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
3238 * tools/gst-launch.1.in:
3239 Un-garble (fourcc) bit in filtered caps section.
3241 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
3243 * docs/manual/advanced-autoplugging.xml:
3244 * docs/manual/basics-helloworld.xml:
3245 * docs/manual/highlevel-components.xml:
3246 Don't leak bus reference in sample code.
3248 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
3251 Add default for new --enable-plugin-docs switch.
3254 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
3258 Use new ENABLE_PLUGIN_DOCS conditional.
3260 2006-06-14 Wim Taymans <wim@fluendo.com>
3262 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
3263 Make it clear with a FIXME and a real define what the #if 0
3264 previously disabled.
3266 2006-06-14 Wim Taymans <wim@fluendo.com>
3268 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3269 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
3270 * libs/gst/base/gstbasetransform.c:
3271 (gst_base_transform_sink_eventfunc):
3272 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3273 Don't randomly and silently reset a segment when the format
3274 changes as this is a bug somewhere upstream. Fixes #330379.
3276 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
3278 Patch by: Wouter Paesen <wouter at kangaroot net>
3280 * libs/gst/controller/gstcontroller.c:
3281 (gst_controlled_property_new):
3282 Fix controlling of float properties (#344849).
3284 * tests/check/libs/controller.c:
3285 (gst_test_mono_source_get_property),
3286 (gst_test_mono_source_set_property),
3287 (gst_test_mono_source_class_init), (GST_START_TEST):
3288 While we're at it, add some float stuff to unit test.
3290 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
3293 * docs/images/gdp-header.svg:
3295 * docs/libs/Makefile.am:
3296 * docs/libs/gdp-header.png:
3297 * libs/gst/dataprotocol/dataprotocol.c:
3298 add it to the API docs
3299 * docs/manual/intro-motivation.xml:
3302 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
3304 * gst/gst.c: (scan_and_update_registry), (init_post):
3305 If the fork()'ed child process can't write the updated registry cache
3306 file to disk for some reason, make it exit with a failure exit code,
3307 so that the parent can then re-scan the plugins itself and update the
3308 registry structures in memory and work with that (rather than failing
3309 when creating elements because seemingly no plugins are available).
3310 Refactor registry scanning code into separate function for this and
3311 also separate fork() and non-fork() code paths. Fixes #344748.
3313 2006-06-13 Wim Taymans <wim@fluendo.com>
3315 * docs/manual/advanced-dataaccess.xml:
3316 Fix wrong PluginDesc. Fixes #344755.
3318 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
3320 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3321 Fix silly bug that prevented us from creating
3322 ~/.gstreamer-0.10 and writing the registry in one
3323 go (the first call to g_mkstemp() would overwrite the
3324 placeholder in the template string, so the second call
3325 to g_mkstemp() after creating the missing directory
3326 would then error out with 'invalid argument').
3328 2006-06-13 Edward Hervey <edward@fluendo.com>
3330 * gst/gst.c: (init_post):
3333 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
3335 * gst/glib-compat-private.h:
3336 * gst/glib-compat.c:
3337 * gst/glib-compat.h:
3338 * gst/gstvalue.c: (gst_value_serialize_flags):
3339 remove GLib 2.6 compatibility code
3341 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
3343 * gst/parse/Makefile.am:
3344 Fix build with 'make -j N' even more (#340016).
3346 2006-06-12 Wim Taymans <wim@fluendo.com>
3348 * docs/gst/gstreamer-sections.txt:
3351 2006-06-12 Wim Taymans <wim@fluendo.com>
3353 * gst/gstsegment.c: (gst_segment_set_duration),
3354 (gst_segment_set_last_stop), (gst_segment_set_seek),
3355 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3356 (gst_segment_to_running_time), (gst_segment_clip):
3357 Use G_UNLIKELY to help the compiler a bit.
3359 2006-06-12 Wim Taymans <wim@fluendo.com>
3361 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3363 * gst/gstevent.c: (gst_event_get_type):
3365 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
3367 constify quark registration strings. Fixes #344115
3368 Avoid unneeded type checking is _pad_push() by internally
3369 calling gst_pad_chain_unchecked().
3371 2006-06-12 Wim Taymans <wim@fluendo.com>
3373 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
3374 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
3375 (gst_subbuffer_finalize), (gst_buffer_create_sub),
3376 (gst_buffer_is_span_fast), (gst_buffer_span):
3377 Init _type for consistency.
3378 Use _FLAGS macro to avoid type check.
3379 Avoid unneeded type checks in subbufer code.
3381 2006-06-12 Wim Taymans <wim@fluendo.com>
3383 * gst/gst.c: (gst_debug_help):
3384 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
3385 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3386 (gst_plugin_feature_list_free):
3387 * gst/gstregistry.c: (gst_registry_add_plugin),
3388 (gst_registry_add_feature), (gst_registry_plugin_filter),
3389 (gst_registry_feature_filter), (gst_registry_find_plugin),
3390 (gst_registry_find_feature), (gst_registry_get_plugin_list),
3391 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
3392 * gst/gstregistryxml.c: (load_feature),
3393 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
3394 * gst/gstminiobject.c: (gst_mini_object_unref),
3395 (gst_mini_object_replace), (gst_value_mini_object_free),
3396 (gst_value_mini_object_copy):
3397 Use _CAST macros to avoid unneeded type checking.
3398 Added some more G_UNLIKELY.
3400 2006-06-12 Wim Taymans <wim@fluendo.com>
3403 Avoid unneeded type checking.
3404 API: GST_BUFFER_IS_DISCONT
3406 * gst/gstminiobject.h:
3407 Avoid type check in flag accessor.
3409 * gst/gstelementfactory.h:
3411 * gst/gstpluginfeature.h:
3413 API: GST_ELEMENT_FACTORY_CAST
3414 API: GST_PLUGIN_CAST
3415 API: GST_PLUGIN_FEATURE_CAST
3417 2006-06-12 Wim Taymans <wim@fluendo.com>
3419 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
3421 Add G_UNLIKELY in type registration.
3422 Avoid type check in _ref/_unref since that is also
3425 2006-06-12 Wim Taymans <wim@fluendo.com>
3427 * gst/gsterror.c: (gst_g_error_get_type):
3428 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3429 (gst_static_pad_template_get_type):
3430 * gst/gsttaglist.c: (gst_tag_list_get_type):
3431 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
3432 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
3433 * gst/gsturi.c: (gst_uri_handler_get_type):
3434 * gst/gstvalue.c: (gst_date_get_type):
3435 * gst/gstxml.c: (gst_xml_get_type):
3436 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3437 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
3438 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
3439 Add G_UNLIKELY in type registration.
3441 2006-06-12 Wim Taymans <wim@fluendo.com>
3443 * tools/gst-inspect.c: (print_signal_info):
3444 Properly print enum values.
3446 2006-06-12 Wim Taymans <wim@fluendo.com>
3448 * gst/gstinfo.c: (gst_debug_set_active),
3449 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
3451 Add some G_[UN]LIKELY.
3452 Maintain __gst_debug_min to avoid formatting the arguments of
3453 debug messages that will be dropped anyway to avoid a lot of
3454 overhead from the debugging system.
3456 2006-06-11 Stefan Kost <ensonic@users.sf.net>
3460 add missing files containing translatable strings, tell intltool about
3463 2006-06-11 Stefan Kost <ensonic@users.sf.net>
3465 * tests/check/libs/.cvsignore:
3466 add test-binary to ignore list
3468 2006-06-11 Stefan Kost <ensonic@users.sf.net>
3470 * docs/libs/gstreamer-libs-docs.sgml:
3471 reorder (put dp into a chapter) and indent
3473 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3478 === release 0.10.8 ===
3480 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3483 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
3485 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3487 * gst/gst.c: (init_post):
3488 move pid declaration to declaration block
3490 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3492 * gst/gst.c: (init_post):
3493 use _exit() instead of exit() in our forked child; this ensures
3494 that none of the registered exit handlers from whatever is using
3495 GStreamer get executed. This fixes gnome-mixer-applet failing
3496 to load, because ORBit would shut down.
3497 Spotted by: Edward Hervey <edward@fluendo.com>
3498 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
3501 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
3506 === release 0.10.7 ===
3508 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
3511 releasing 0.10.7, "Soepeke, ik zie ou"
3513 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
3536 * win32/common/config.h:
3539 2006-06-07 Wim Taymans <wim@fluendo.com>
3541 * gst/gstindex.c: (gst_index_gtype_resolver):
3542 * tools/gst-xmlinspect.c: (print_plugin_info):
3543 Fix leak spotted by coverity checker. Fixes #343827
3544 Fix another other leak found by paolo borelli.
3546 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3548 * libs/gst/dataprotocol/dataprotocol.c:
3549 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3550 (gst_dp_version_get_type), (gst_dp_init),
3551 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
3552 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
3553 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
3554 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
3555 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
3556 (gst_dp_packetizer_free):
3557 * libs/gst/dataprotocol/dataprotocol.h:
3558 API: add a GstDPPacketizer object, and create/free functions
3559 API: add GstDPVersion enum
3560 Add 1.0 event function that uses the string serialization
3561 Serialize more useful buffer flags
3564 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3566 * tests/check/Makefile.am:
3567 * tests/check/gst/gstabi.c:
3568 * tests/check/gst/struct_ppc64.h:
3569 * tests/check/libs/libsabi.c:
3570 * tests/check/libs/struct_ppc64.h:
3571 add ppc64 structure sizes
3573 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3575 * tests/check/Makefile.am:
3576 * tests/check/gst/gstabi.c:
3577 * tests/check/gst/struct_x86_64.h:
3578 * tests/check/libs/libsabi.c:
3579 * tests/check/libs/struct_x86_64.h:
3580 generate and add structure size lists for x86_64
3582 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3584 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3585 * libs/gst/check/gstcheck.h:
3586 factor out the method from tests that checks size of structures,
3587 and add code to generate the header containing these sizes
3588 * tests/check/gst/gstabi.c: (GST_START_TEST):
3589 * tests/check/gst/struct_i386.h:
3590 * tests/check/libs/libsabi.c: (GST_START_TEST):
3591 * tests/check/libs/struct_i386.h:
3594 2006-06-06 Michael Smith <msmith@fluendo.com>
3597 Don't use c++-style comments, fixes #343929
3599 2006-06-05 Edward Hervey <edward@fluendo.com>
3602 plugin_paths is not used if we build without registry support.
3604 * gst/gstsegment.c: (gst_segment_copy):
3605 _copy() was always returning NULL...
3607 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3609 * libs/gst/dataprotocol/dataprotocol.c:
3610 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3611 (gst_dp_packet_from_event):
3614 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3616 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
3617 make sure we unset caps
3619 2006-06-02 Michael Smith <msmith@fluendo.com>
3621 * libs/gst/check/gstcheck.c: (gst_check_init),
3622 (gst_check_chain_func):
3623 * libs/gst/check/gstcheck.h:
3624 Add a cond/mutex to the check support lib, signal this whenever we
3625 add to the buffers list. This will allow tests to not busy-wait on
3628 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3630 * libs/gst/dataprotocol/dataprotocol.c:
3631 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3632 (gst_dp_packet_from_event):
3633 factor out some common header init code
3635 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3637 * docs/libs/gstreamer-libs-sections.txt:
3638 * docs/libs/tmpl/gstdataprotocol.sgml:
3639 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
3640 * libs/gst/dataprotocol/dataprotocol.h:
3641 API: make gst_dp_crc() public
3643 2006-06-01 Stefan Kost <ensonic@users.sf.net>
3645 * plugins/indexers/gstindexers.c: (plugin_init):
3646 conditionally register fileindexer (fixes #343598)
3648 2006-06-01 Stefan Kost <ensonic@users.sf.net>
3650 * gst/gsttagsetter.h:
3651 Can't cast ifaces to a class
3653 * libs/gst/net/gstnetclientclock.h:
3654 * libs/gst/net/gstnettimeprovider.h:
3655 * plugins/elements/gstfakesink.h:
3656 * plugins/elements/gstfakesrc.h:
3657 * plugins/elements/gstfdsink.h:
3658 * plugins/elements/gstfdsrc.h:
3659 * plugins/elements/gstfilesink.h:
3660 * plugins/elements/gstfilesrc.h:
3661 * plugins/elements/gstidentity.h:
3662 * plugins/elements/gstqueue.h:
3663 * plugins/elements/gsttee.h:
3664 * plugins/indexers/gstfileindex.c:
3665 * plugins/indexers/gstmemindex.c:
3666 * tests/old/examples/plugins/example.h:
3667 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
3669 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
3671 * libs/gst/dataprotocol/dataprotocol.c:
3672 (gst_dp_header_from_buffer):
3673 make sure we zero the whole ABI-compatible area
3675 2006-06-01 Wim Taymans <wim@fluendo.com>
3677 Patch by: Alessandro Decina <alessandro at nnva dot org>
3679 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
3680 Make sure the EOS flag is cleared from pads after a flush
3681 or stop. Fixes #343538.
3683 * tests/check/libs/collectpads.c: (GST_START_TEST),
3684 (gst_collect_pads_suite):
3685 Added test for collectpads reusage after EOS.
3687 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
3690 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
3691 * win32/common/libgstbase.def:
3692 export gst_collect_pads_set_flushing
3693 * win32/common/libgstreamer.def:
3694 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
3695 gst_value_fraction_multiply
3696 * win32/vs6/gst_inspect.dsp:
3697 add a link to intl.lib
3699 2006-05-30 Wim Taymans <wim@fluendo.com>
3701 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3702 (gst_collect_pads_chain):
3703 Handle the case where a pad is removed from the collection
3704 that could cause the other pads to become collectable.
3706 2006-05-30 Wim Taymans <wim@fluendo.com>
3709 Clarify the use of _release_request_pad() and
3710 _get_request_pad() a bit better.
3712 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
3713 (gst_adapter_take_buffer):
3714 Fix some doc and comment typos.
3716 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3718 * docs/gst/gstreamer-sections.txt:
3719 * docs/libs/gstreamer-libs-sections.txt:
3720 add declared symbols
3722 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
3724 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3725 Add debug that can be enabled using a #define at the top of the file,
3726 for dumping stats about how late/early we were when waking up from
3727 waiting on the clock.
3729 2006-05-30 Wim Taymans <wim@fluendo.com>
3731 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3732 When rebuilding the pad list, don't leak the previous list.
3734 2006-05-30 Wim Taymans <wim@fluendo.com>
3736 Patch by: Lutz Mueller <lutz at topfrose dot de>
3738 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3739 (gst_base_src_get_query_types), (gst_base_src_update_length):
3740 Publish supported query types.
3741 Update last_stop field in get_range mode so the position
3742 query works. Fixes #342321.
3744 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
3746 * docs/gst/gstreamer-sections.txt:
3747 * gst/gsttaglist.c: (_gst_tag_initialize):
3749 API: add GST_TAG_PREVIEW_IMAGE (#343341).
3751 2006-05-30 Wim Taymans <wim@fluendo.com>
3753 Patch by: Alessandro Decina <alessandro at nnva dot org>
3755 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3756 Unlock mutex when removing an unknown pad.
3759 * tests/check/Makefile.am:
3760 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3761 (push_event), (setup), (teardown), (GST_START_TEST),
3762 (gst_collect_pads_suite), (main):
3763 Added collecpads check, disabled for now as check crashes for
3766 2006-05-29 Wim Taymans <wim@fluendo.com>
3768 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3769 Don't leak pads lists.
3771 2006-05-29 Wim Taymans <wim@fluendo.com>
3773 * docs/libs/gstreamer-libs-sections.txt:
3774 * libs/gst/base/gstcollectpads.c:
3775 (gst_collect_pads_set_flushing_unlocked),
3776 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3777 (gst_collect_pads_stop):
3778 * libs/gst/base/gstcollectpads.h:
3779 API: gst_collect_pads_set_flushing()
3780 Added api to set the pads to flushing, useful for seeking
3781 code in elements using collectpads.
3782 Clear segment when receiving a flush.
3784 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
3786 * gst/gst.c: (add_path_func), (init_post):
3787 Don't scan registry paths passed via --gst-plugin-path immediately
3788 (will crash, because absolutely nothing is set up and no types are
3789 registered etc.); do this later in init_post(). Fixes #343057.
3791 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
3793 * gst/gst.c: (init_post):
3794 if we have fork, fork while reading/rebuilding the registry
3795 so the parent doesn't take the hit of having all plugins loaded
3796 in memory. Fixes #342777.
3798 Check if we have fork()
3799 * win32/common/config.h.in:
3802 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3804 * plugins/elements/gstelements.c:
3805 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3806 (gst_file_src_init), (gst_file_src_set_property),
3807 (gst_file_src_get_property), (gst_file_src_start):
3808 * plugins/elements/gstfilesrc.h:
3809 API: GstFileSrc::use-mmap
3811 Add a use-mmap property to enable easier testing of all code paths.
3812 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3813 in the absence of gnomevfssrc. (Closes #340501)
3815 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3817 * tools/gst-inspect.c:
3818 Add missing include, removes warning of ngettext not being defined on
3821 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3823 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3824 Handle NULL input and output pointers silently as a failed conversion,
3825 rather than g_warnings.
3827 2006-05-25 Wim Taymans <wim@fluendo.com>
3829 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3830 Initialize variable before using. Fixes #342820.
3832 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
3834 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3835 Fix off-by-one bug that would only allow peeks of N-1 bytes
3836 from the start even if the buffer to typefind on contains
3837 in fact N bytes of data (makes vorbis typefinding from a
3838 vorbis identification header buffer work).
3840 * tests/check/Makefile.am:
3841 * tests/check/libs/.cvsignore:
3842 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3843 (gst_typefindhelper_suite), (main), (foobar_typefind),
3845 Add very basic unit test for gst_type_find_helper_for_buffer()
3846 that checks for the problem fixed above.
3848 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
3850 * tools/gst-inspect.c: (print_interfaces),
3851 (print_element_properties_info), (print_element_list), (main):
3852 add more translatable strings
3854 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
3856 Patch by: Julien Moutte <julien at moutte net>
3858 * docs/gst/gstreamer-sections.txt:
3859 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3861 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3862 (gst_fake_sink_preroll):
3863 * plugins/elements/gstfakesink.h:
3864 API: Add new GstFakeSink::preroll-handoff signal (#337100).
3866 2006-05-23 Wim Taymans <wim@fluendo.com>
3868 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3870 Added _CUSTOM error and success GstFlowReturn that can be
3871 used be elements internally.
3872 Added macro to check for SUCCESS flowreturns.
3873 API: GST_FLOW_CUSTOM_SUCCESS
3874 API: GST_FLOW_CUSTOM_ERROR
3875 API: GST_FLOW_IS_SUCCESS
3877 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3878 Added check for GstFlowReturn sanity.
3880 2006-05-23 Wim Taymans <wim@fluendo.com>
3882 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3884 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3885 (gst_collect_pads_event):
3886 clear/reset segment info in FLUSH_STOP.
3889 2006-05-22 Stefan Kost <ensonic@users.sf.net>
3891 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3892 (gst_collect_pads_check_collected):
3893 Flush queued buffer on _stop(), fixes playing again (#342454)
3895 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
3897 * tests/check/gst/gststructure.c: (GST_START_TEST),
3898 (gst_structure_suite):
3899 add a test for a complete structure
3901 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3903 * docs/faq/developing.xml:
3905 * docs/faq/troubleshooting.xml:
3906 * docs/faq/using.xml:
3907 Some minor FAQ updates that won't change the fact that
3908 our FAQ is badly structured, full of information hardly
3909 anyone new to GStreamer needs to know and lacking lots
3910 of information people constantly ask for.
3912 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
3914 * gst/gstpad.c: (gst_pad_set_caps):
3915 Short-circuit gst_pad_set_caps if setting the existing
3916 caps pointer again, and avoid printing debug and
3917 reffing/unreffing the caps.
3919 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3920 There's actually no need to set the caps before pushing -
3921 the acceptcaps method will handle it anyway.
3923 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3925 * docs/gst/gstreamer-sections.txt:
3926 * win32/common/libgstreamer.def:
3927 * gst/gstutils.c: (gst_element_seek_simple):
3929 API: add gst_element_seek_simple() (#342238).
3931 2006-05-18 Edward Hervey <edward@fluendo.com>
3933 * gst/gsttypefind.c: (gst_type_find_get_type):
3934 * gst/gsttypefind.h:
3935 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3936 registered for GstTypeFind pointers. This allows wrapping the structure
3937 in bindings (i.e. gst-python).
3939 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3941 * gst/gsttagsetter.c:
3942 Docs additions and fixes (see #339918).
3944 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3946 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3947 The caps intersection algorithm can produce multiple copies of the
3948 caps. Until that is fixed, we need to simplify the result to be
3949 sure whether the allowed caps are fixed or not.
3951 * plugins/elements/gstqueue.c: (gst_queue_init),
3952 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3953 (gst_queue_push_one):
3954 Proxied buffer alloc should not set the caps on the source pad.
3955 When pushing buffers, we always accept the caps change that triggers.
3956 This prevents negotiation errors caused by caps changing mid-stream
3957 and then being refused on our source pad (because upstream is now
3958 refusing those caps).
3960 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3962 * tests/examples/helloworld/helloworld.c: (main):
3963 Must plug audioconvert and audioresample between decoder
3966 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
3968 * gst/gstregistryxml.c: (read_string), (load_pad_template),
3969 (load_feature), (load_plugin):
3970 Allow empty strings for some of the plugin fields so we don't
3971 drop valid plugin entries that were written out correctly
3974 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
3976 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3977 Use g_remove and g_rename instead of remove and rename that don't
3978 handle utf8 characters. rename was failing for users who had specific
3979 characters in their name then the registry was built at each
3981 * win32/vs6/gst_inspect.dsp:
3982 * win32/vs6/gst_launch.dsp:
3983 * win32/vs6/libgstbase.dsp:
3984 * win32/vs6/libgstcoreelements.dsp:
3985 * win32/vs6/libgstreamer.dsp:
3986 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
3987 build of libgstreamer and clean unused libraries in projects link
3990 2006-05-17 Edward Hervey <edward@fluendo.com>
3992 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3993 The queue is not responsible for pushing an EOS when receiving a fatal
3994 flow error. It's up to the real element driving the pipeline to do that.
3996 2006-05-16 Edward Hervey <edward@fluendo.com>
3998 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3999 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
4000 buffer returned a fatal error. It should just send an EOS and stop
4002 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
4003 when pushing buffers on the queue and will be able to handle the event.
4005 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
4007 * docs/manual/basics-bins.xml:
4008 * docs/manual/basics-init.xml:
4009 Fix typos and minor errors in sample code (#341856).
4011 2006-05-16 Wim Taymans <wim@fluendo.com>
4013 * docs/design/part-qos.txt:
4014 Fix indexes in formulas to make more sense.
4016 2006-05-15 Wim Taymans <wim@fluendo.com>
4018 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4019 Don't report POSITION based on clock time if sync is
4022 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
4025 Add cast to make compiler happy - refcount variable was a gint
4026 in GstObject but is a guint in GObject and g_atomic_int_get()
4029 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
4031 * gst/parse/Makefile.am:
4032 chain commands using &&, which also makes parallel make work
4034 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
4036 * docs/gst/gstreamer-sections.txt:
4042 === release 0.10.6 ===
4044 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
4047 releasing 0.10.6, "Take the cannoli"
4049 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
4051 * tools/gst-launch.c: (print_tag):
4052 Fix use of uninitialized variable in the hypothetical
4053 case that some broken plugin creates a GST_TAG_IMAGE
4054 tag containing a NULL buffer (#341667).
4056 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
4058 * tools/gst-launch.c: (print_tag):
4059 Print something more intelligible for image tags when
4060 using the -t switch (#341556).
4062 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
4067 define GST_MAJORMINOR so we have it available in win32/common/config.h
4068 Possibly remove it from our Makefile.am files later
4069 * win32/common/config.h:
4070 * win32/common/config.h.in:
4071 added GST_MAJORMINOR
4072 * win32/common/gstenumtypes.c: (register_gst_resource_error):
4073 * win32/common/gstversion.h:
4076 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
4079 Update win32 files listing.
4080 * win32/common/gstversion.h:
4081 Add GST_MAJORMINOR definition.
4082 * win32/common/libgstreamer.def:
4083 Add new exported functions.
4085 2006-05-12 Michael Smith <msmith@fluendo.com>
4087 * gst/gstplugin.c: (gst_plugin_load_file):
4088 If an so file has no plugin entry point, unload the module.
4090 2006-05-11 Wim Taymans <wim@fluendo.com>
4092 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
4093 (gst_queue_set_property):
4094 Don't forget to signal the _chain or _loop function
4095 when the queue size or thresholds change since that might
4096 cause them to make progres again.
4098 2006-05-11 Stefan Kost <ensonic@users.sf.net>
4100 * gst/gstclock.c: (gst_clock_class_init):
4101 * gst/gstindex.c: (gst_index_class_init):
4102 * gst/gstobject.c: (gst_object_class_init):
4103 * gst/gstpad.c: (gst_pad_class_init):
4104 * gst/gstpipeline.c: (gst_pipeline_class_init):
4105 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4106 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4107 * libs/gst/base/gstbasetransform.c:
4108 (gst_base_transform_class_init):
4109 * libs/gst/net/gstnetclientclock.c:
4110 (gst_net_client_clock_class_init):
4111 * libs/gst/net/gstnettimeprovider.c:
4112 (gst_net_time_provider_class_init):
4113 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4114 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4115 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4116 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4117 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4118 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4119 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4120 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4121 * plugins/elements/gsttee.c: (gst_tee_class_init):
4122 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4123 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4124 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
4126 2006-05-11 Wim Taymans <wim@fluendo.com>
4128 * gst/gstbuffer.c: (_gst_buffer_initialize):
4129 Register subbufer along with the buffer type so that
4130 it does not accidentally gets registered from N
4131 different streaming threads in a non threadsafe way.
4133 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
4138 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
4139 gst_event_ref() and gst_message_ref() functions again
4140 (ugly hack, please do fix if there's a better way besides
4141 overrides.txt, which doesn't seem to work).
4143 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
4145 * libs/gst/check/gstcheck.h:
4146 add an assert for setting state to avoid lots of repetitive code
4149 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
4151 * gst/gstvalue.c: (gst_value_serialize_flags):
4152 fix a leak if no flags are set
4153 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4156 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
4158 * docs/manual/basics-pads.xml:
4159 Expand a bit on caps and filtered links and update
4160 examples that were still using the no longer existing
4161 gst_pad_link_filtered() (#338206).
4163 2006-05-10 Wim Taymans <wim@fluendo.com>
4165 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4166 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4167 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
4168 (gst_collect_pads_stop):
4169 * libs/gst/base/gstcollectpads.h:
4170 No need to call _stop in _finalize.
4171 Iterate the main pad list in _finalize.
4172 Added some more debug.
4173 Free lists and data in the right order.
4174 Also free data whem doing _remove_pad when stopped for
4175 backward compatibility protect ::started with PAD_LOCK as
4178 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
4180 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
4181 (gst_structure_parse_value):
4183 rename a method so that it actually says what it does better
4185 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
4187 * gst/gstevent.c: (_gst_event_initialize):
4188 * gst/gstformat.c: (_gst_format_initialize):
4189 make sure some essential types used by events are registered
4190 as part of gst_init()
4191 * gst/gstvalue.c: (gst_value_serialize_flags):
4192 if no flags are set, serialize them to a value that represents NONE
4193 so that deserializing them works
4194 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4195 add tests for serialization and deserialization of flags
4197 2006-05-10 Wim Taymans <wim@fluendo.com>
4199 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
4200 (gst_collect_pads_collect_range), (gst_collect_pads_available),
4201 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
4202 (gst_collect_pads_event), (gst_collect_pads_chain):
4205 Catch and return errors from the collect function
4206 Refuse data on eos pads.
4208 2006-05-10 Edward Hervey <edward@fluendo.com>
4210 * gst/gstinterface.h:
4211 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
4212 GInterface type checking.
4213 They were previously using non-defined macros.
4215 2006-05-09 Wim Taymans <wim@fluendo.com>
4217 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
4218 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
4219 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
4220 (gst_collect_pads_start), (gst_collect_pads_stop),
4221 (gst_collect_pads_peek), (gst_collect_pads_pop),
4222 (gst_collect_pads_available), (gst_collect_pads_read),
4223 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
4224 (gst_collect_pads_is_collected), (gst_collect_pads_event),
4225 (gst_collect_pads_chain):
4226 * libs/gst/base/gstcollectpads.h:
4227 Clean up the mess that is collectpads, add comments and
4228 FIXMEs where needed.
4229 Maintain a separate pad list so we can add pads while
4230 collecting the other ones. For this we need a new separate
4232 Fix memory leak in finalize.
4233 Refactor some weird code to set/unset pad flushing flags, mark
4235 Don't crash in _available, _read, _flush when we're EOS.
4237 * tests/check/libs/.cvsignore:
4238 Ignore adapter check binary.
4240 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4242 * gst/gstindex.c: (gst_index_resolver_get_type):
4243 * plugins/elements/gstfakesink.c:
4244 (gst_fake_sink_state_error_get_type):
4245 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4246 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
4247 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4248 Const-ify GEnumValue arrays.
4250 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4252 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4253 Add test case for flags + gst_buffer_make_metadata_writable().
4255 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4257 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
4258 gst_buffer_make_metadata_writable() should maintain the
4259 buffer flags (those that make sense at least) (see #340859).
4261 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4263 * tools/gst-inspect.c:
4264 * tools/gst-launch.c:
4265 * tools/gst-typefind.c:
4266 * tools/gst-xmlinspect.c:
4268 Fix up includes: need to include stdlib.h in tools.h for exit().
4270 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
4272 * gst/gsttaglist.c: (_gst_tag_initialize):
4274 API: add GST_TAG_IMAGE tag (#340721).
4276 2006-05-08 Wim Taymans <wim@fluendo.com>
4279 Added some docs for the segment query.
4281 2006-05-08 Wim Taymans <wim@fluendo.com>
4283 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4284 (gst_base_src_loop), (gst_base_src_change_state):
4285 Always push non-flushing serialized events in the streaming
4288 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
4290 * gst/gsterror.c: (_gst_stream_errors_init):
4291 Add a missing error string.
4293 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
4295 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
4296 Add applied_rate to the debug
4298 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4299 Copy applied_rate into the outgoing NEWSEGMENT event
4301 2006-05-08 Wim Taymans <wim@fluendo.com>
4303 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
4305 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4306 (gst_base_sink_change_state):
4307 call ::unlock before taking the PREROLL_LOCK so we can safely
4308 handle elements that lock in ::render.
4311 2006-05-08 Edward Hervey <edward@fluendo.com>
4313 * autogen.sh: (CONFIGURE_DEF_OPT):
4314 Darwin's libtoolize is in fact called glibtoolize.
4315 Adding glibtoolize to the list of accepted names for libtoolize.
4317 2006-05-08 Wim Taymans <wim@fluendo.com>
4319 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4320 Unify error handling, don't post an error message
4321 when a push() returns EOS but perform our normal EOS
4322 handling code. Fixes #340772.
4324 2006-05-08 Wim Taymans <wim@fluendo.com>
4326 * docs/design/part-overview.txt:
4327 Make upsteam/downstream concepts more clear.
4328 Give an example of serialized/non-serialized events.
4330 * docs/design/part-events.txt:
4331 * docs/design/part-streams.txt:
4332 Mention applied_rate.
4334 * docs/design/part-trickmodes.txt:
4335 Mention applied rate, flesh out some more use cases.
4337 * gst/gstevent.c: (gst_event_new_new_segment),
4338 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
4339 (gst_event_parse_new_segment_full), (gst_event_new_tag),
4340 (gst_event_parse_tag), (gst_event_new_buffer_size),
4341 (gst_event_parse_buffer_size), (gst_event_new_qos),
4342 (gst_event_parse_qos), (gst_event_parse_seek),
4343 (gst_event_new_navigation):
4345 Add applied_rate field to NEWSEGMENT event.
4346 API: gst_event_new_new_segment_full()
4347 API: gst_event_parse_new_segment_full()
4349 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
4350 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
4351 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4353 Add applied_rate to GstSegment structure.
4354 Make calculation of stream_time and running_time more correct
4355 wrt rate/applied_rate.
4357 API: GstSegment::applied_rate field
4358 API: gst_segment_set_newsegment_full();
4360 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4361 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
4362 * libs/gst/base/gstbasetransform.c:
4363 (gst_base_transform_sink_eventfunc),
4364 (gst_base_transform_handle_buffer):
4365 Parse and use applied_rate in the GstSegment field.
4367 * tests/check/gst/gstevent.c: (GST_START_TEST):
4368 Add check for applied_rate field.
4370 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4371 (gstsegments_suite):
4372 Add more checks for various GstSegment operations.
4374 2006-05-08 Wim Taymans <wim@fluendo.com>
4376 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4377 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
4378 (gst_base_sink_get_position), (gst_base_sink_change_state):
4379 Store the sync time of the buffer end position separatly in a
4380 new variable eos_rtime so we can properly sync the EOS event.
4382 Fix the docs for gst_base_sink_set_qos_enabled().
4383 Don't set segment start to invalid value when we receive a
4384 non TIME newsegment.
4385 get closer to handling position reporting for negative rates
4388 2006-05-07 Stefan Kost <ensonic@users.sf.net>
4391 Docs about how to print caps for debug purposes.
4393 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
4394 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
4396 2006-05-07 Stefan Kost <ensonic@users.sf.net>
4399 use full enum names and preprend a '%' in docs strings to make recent
4400 gtk-doc turn that into a link
4402 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4404 * docs/manual/basics-bins.xml:
4405 * docs/manual/basics-bus.xml:
4406 * docs/manual/basics-pads.xml:
4407 Some typo fixes, some additions, some clarifications.
4409 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4411 * tools/gst-inspect.c: (main):
4412 * tools/gst-launch.c: (main):
4413 * tools/gst-run.c: (main):
4414 * tools/gst-typefind.c: (main):
4415 * tools/gst-xmlinspect.c: (main):
4416 Use the string passed to g_option_context_new() for
4417 what it's intended for - the program name is already
4420 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4422 * tools/Makefile.am:
4423 * tools/gst-inspect.c: (main):
4424 * tools/gst-launch.c: (main):
4425 * tools/gst-xmlinspect.c: (main):
4427 Add back --version command line option (#340460).
4429 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
4430 Add --version option and use GOption for argument parsing; refactor a
4431 bit; accept directories as arguments and recurse into them; lastly,
4432 print a decent error message when things go wrong.
4434 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
4436 * docs/manual/basics-bins.xml:
4437 Don't mention GstThread (#340611)
4438 * docs/manual/basics-elements.xml:
4439 Update link to GObject tutorial (#340607)
4441 2006-05-05 Wim Taymans <wim@fluendo.com>
4444 * gst/gstminiobject.c:
4445 Add note about refcounting and miniobject/buffer writeability
4446 to docs. Fixes #340604
4448 * gst/gstelementfactory.h:
4449 Added some explanation about @klass.
4451 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
4453 * docs/manual/intro-motivation.xml:
4454 * docs/manual/manual.xml:
4455 Avoid CORBA & Bonobo references (#340598)
4457 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
4459 * docs/manual/basics-bus.xml:
4460 * docs/manual/basics-pads.xml:
4461 Fix up some inaccuracies and omissions (#340609)
4463 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
4465 * gst/gstghostpad.c:
4466 Small typo in docs (#340625)
4468 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4470 * gst/parse/Makefile.am:
4471 Make 'make -j' proof (see #340698).
4473 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
4476 Require GLib-2.8 here as well.
4478 2006-05-05 Wim Taymans <wim@fluendo.com>
4480 * gst/glib-compat.c:
4481 * gst/gst.c: (init_pre):
4482 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
4483 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
4484 (gst_object_dispatch_properties_changed):
4486 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4487 * gst/gststructure.c: (gst_structure_set_valist):
4488 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4489 Remove pre glib2.8 compatibility, fixes #340508
4491 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
4494 Mention type of tags in doc blurbs.
4496 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
4498 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4499 (gst_pad_configure_src), (gst_pad_push):
4500 Restore acceptcaps checking behaviour now that good plugins have
4503 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
4505 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
4516 * gst/parse/Makefile.am:
4517 * libs/gst/base/gstadapter.c:
4518 * libs/gst/base/gstbasesrc.c:
4519 * libs/gst/base/gstpushsrc.c:
4520 * libs/gst/base/gsttypefindhelper.c:
4521 * plugins/elements/gstfakesrc.c:
4522 * plugins/elements/gstidentity.c:
4523 Make sure gstprivate.h and/or config.h are
4524 always included first, otherwise some of our
4525 defines (like _FILE_OFFSET_BITS) might be
4526 redefined in the system headers. Fixes build
4527 on opensolaris (#340016).
4529 2006-05-04 Wim Taymans <wim@fluendo.com>
4531 * docs/libs/gstreamer-libs-sections.txt:
4532 API: addition: gst_adapter_take_buffer()
4534 * libs/gst/base/gstadapter.c: (gst_adapter_push),
4535 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
4536 (gst_adapter_available_fast):
4537 * libs/gst/base/gstadapter.h:
4538 Prepare for optimizing the hell out of this hugely inefficient
4540 Added gst_adapter_take_buffer() so we can at least start thinking
4541 about subbuffering and merging.
4542 Added some comments.
4544 * tests/check/Makefile.am:
4545 * tests/check/libs/adapter.c: (GST_START_TEST),
4546 (gst_adapter_suite), (main):
4547 Added GstAdapter check.
4549 2006-05-04 Wim Taymans <wim@fluendo.com>
4551 * docs/design/part-overview.txt:
4552 Fix some typos, add blurb about buffer flags.
4554 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
4556 * docs/libs/gstreamer-libs-sections.txt:
4557 make sure GstBaseTransformClass shows up in the docs
4558 * libs/gst/base/gstbasetransform.c:
4559 * libs/gst/base/gstbasetransform.h:
4560 move docs so gtk-doc picks it up now
4562 2006-05-02 Stefan Kost <ensonic@users.sf.net>
4564 * docs/libs/gstreamer-libs-sections.txt:
4565 add missing symbols to docs
4567 2006-05-02 Stefan Kost <ensonic@users.sf.net>
4569 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4570 back out the newsegment handling change, see #340060 for ongoing
4573 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
4575 * tools/gst-run.c: (get_candidates), (main):
4576 Fix wrong g_file_test() usage (see glib docs for why it doesn't
4577 work); fix typo in error message. Fixes #340079.
4579 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
4581 * common/Makefile.am:
4583 * docs/faq/Makefile.am:
4584 * docs/gst/Makefile.am:
4585 * docs/libs/Makefile.am:
4586 * docs/manual/Makefile.am:
4587 * docs/plugins/Makefile.am:
4588 * docs/pwg/Makefile.am:
4589 * docs/slides/Makefile.am:
4591 * common/upload.mak:
4592 move upload.mak to common
4594 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
4596 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4597 add more asserts on refcounts
4598 do more cleanup at end of tests
4599 fix test leaks showing in FC5
4601 2006-04-29 Stefan Kost <ensonic@users.sf.net>
4603 * plugins/elements/gsttypefindelement.c:
4604 (gst_type_find_element_handle_event):
4605 reverted wrong change and reflowed code to avoid others falling into
4608 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4610 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4611 fix changelog entry about last collectpads change,
4612 add notes about proper fix
4614 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4617 * gst/gstregistry.c: (gst_registry_scan_path_level),
4618 (gst_registry_scan_path):
4619 * gst/gstregistry.h:
4620 only write out registry if it has changed, fixes #338339
4622 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4625 * gst/gstpipeline.c:
4626 * plugins/elements/gstcapsfilter.c:
4627 * plugins/elements/gstfakesink.c:
4628 * plugins/elements/gstfakesrc.c:
4629 * plugins/elements/gstfdsink.c:
4630 * plugins/elements/gstfdsrc.c:
4631 * plugins/elements/gstfilesink.c:
4632 * plugins/elements/gstfilesrc.c:
4633 * plugins/elements/gstidentity.c:
4634 * plugins/elements/gstqueue.c:
4635 * plugins/elements/gsttee.c:
4636 * plugins/elements/gsttypefindelement.c:
4637 (gst_type_find_element_handle_event):
4638 make GstElementDetails const
4640 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4642 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4643 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4644 (gst_collect_pads_is_collected), (gst_collect_pads_event):
4645 more detailed debug and formatting cleanup,
4646 forward newsegments to src-pad (so that e.g. adder not eats them)
4648 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4650 * gst/gstutils.c: (gst_element_link_pads):
4653 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4655 * libs/gst/controller/gstcontroller.c:
4656 (gst_controller_sync_values):
4658 * tests/check/libs/controller.c: (GST_START_TEST),
4659 (gst_controller_suite):
4660 a new test for live value handling
4662 2006-04-28 Wim Taymans <wim@fluendo.com>
4664 * gst/gstutils.c: (push_and_ref):
4665 Added some more docs.
4666 Fix refcount issue whith gst_element_found_tags() helper
4667 function. Fixes #338335
4669 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4670 Added testsuite for gst_element_found_tags().
4672 2006-04-28 Michael Smith <msmith@fluendo.com>
4674 * gst/gstvalue.c: (gst_value_serialize_flags):
4675 Avoid NULL dereference when trying to serialize flags containing
4678 2006-04-28 Michael Smith <msmith@fluendo.com>
4680 * plugins/elements/gsttypefindelement.c:
4681 (gst_type_find_element_handle_event):
4682 If we get EOS before any data is accumulated, don't use
4683 uninitialised local variables.
4685 2006-04-28 Michael Smith <msmith@fluendo.com>
4687 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4688 (gst_dp_event_from_packet):
4689 Fixes in reading/writing events over GDP (not currently used?) -
4690 dereferencing NULL events for unknown/invalid event types, memory
4691 leak, and change g_warning to GST_WARNING.
4693 2006-04-28 Wim Taymans <wim@fluendo.com>
4695 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
4696 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4697 (gst_base_sink_get_position), (gst_base_sink_change_state):
4698 When frame dropping is enabled, we should not ignore frames
4700 Update some documentation.
4702 2006-04-28 Wim Taymans <wim@fluendo.com>
4704 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4705 (gst_base_src_send_event), (gst_base_src_change_state):
4706 Documentation updates.
4708 2006-04-28 Wim Taymans <wim@fluendo.com>
4710 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4711 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
4712 handle EAGAIN, EINTR and short writes correctly. Also clean
4713 up some error cases, avoid a deadlock on bad file descriptors and
4714 use GST_DEBUG_OBJECT.
4717 2006-04-28 Wim Taymans <wim@fluendo.com>
4719 * gst/gstvalue.c: (gst_value_serialize_buffer),
4720 (gst_value_deserialize_buffer):
4721 Don't try to serialize a GValue with a NULL buffer.
4724 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4725 Added check for serialisation of NULL buffers.
4727 2006-04-28 Wim Taymans <wim@fluendo.com>
4729 * gst/gstminiobject.c: (gst_value_take_mini_object):
4730 Taking a NULL miniobject is valid, fix the case where
4731 we try to unref the NULL miniobject.
4733 2006-04-28 Wim Taymans <wim@fluendo.com>
4735 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4737 * gst/gstbin.c: (gst_bin_handle_message_func):
4739 Don't leak bin refcount when a state recalc is
4740 in progress and we delay another one #339808.
4742 2006-04-28 Wim Taymans <wim@fluendo.com>
4744 * docs/design/part-TODO.txt:
4745 Mention QoS as an ongoing work item.
4747 * docs/design/part-buffering.txt:
4748 New doc about buffering that needs to be fleshed out
4751 * docs/design/part-qos.txt:
4752 More QoS policy for decoders/demuxers/transforms
4754 * docs/design/part-trickmodes.txt:
4757 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4762 === release 0.10.5 ===
4764 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4767 releasing 0.10.5, "Fogo"
4769 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
4771 patch by: Wim Taymans
4773 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4774 (gst_pad_configure_src), (gst_pad_push):
4775 * gst/gstpipeline.c: (gst_pipeline_init):
4776 Fix internal data flow errors. Fixes #338711.
4778 2006-04-12 Wim Taymans <wim@fluendo.com>
4780 * tests/check/gst/gstelement.c: (GST_START_TEST):
4781 Don't leak the factory.
4783 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4786 * win32/common/config.h:
4789 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
4791 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4792 (gst_controller_unset_all):
4793 Free allocated GstTimedValues when freeing list nodes.
4794 Should fix leaks 'make check-valgrind' complains about.
4796 * win32/common/libgstcontroller.def:
4797 Add gst_controller_unset_all.
4799 2006-04-11 Stefan Kost <ensonic@users.sf.net>
4801 * docs/libs/gstreamer-libs-sections.txt:
4802 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4803 (gst_controller_unset_all):
4804 * libs/gst/controller/gstcontroller.h:
4805 API: Added new method gst_controller_unset_all()
4806 fixed gst_controller_unset()
4807 * tests/check/libs/controller.c: (GST_START_TEST),
4808 (gst_controller_suite):
4809 Added two testcases for new and fixed method
4811 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
4813 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4814 MSG_DONTWAIT is not defined on Cygwin, so work
4815 around that (fixes #317048).
4817 2006-04-11 Wim Taymans <wim@fluendo.com>
4819 * gst/gstelementfactory.c: (gst_element_register),
4820 (gst_element_factory_create), (gst_element_factory_make):
4823 Updated docs (Fixes #131079)
4825 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4828 * tests/check/gst/gstelement.c: (GST_START_TEST),
4829 (gst_element_suite):
4830 Added testcase for elementfactory class field.
4832 2006-04-10 Wim Taymans <wim@fluendo.com>
4835 Added some more docs.
4837 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4838 (gst_base_sink_reset_qos):
4839 Calculate more accurate rate values.
4841 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
4843 * gst/gst_private.h:
4844 add a new #ifdef to use __declspec(dllimport) only for
4845 other modules and not for gstreamer core
4846 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4847 use gst_guint64_to_gdouble for conversion
4848 * win32/common/libgstreamer.def:
4849 add new exported functions
4850 * win32/vs6/gst_inspect.dsp:
4851 * win32/vs6/gst_launch.dsp:
4852 * win32/vs6/libgstbase.dsp:
4853 * win32/vs6/libgstcontroller.dsp:
4854 * win32/vs6/libgstcoreelements.dsp:
4855 * win32/vs6/libgstdataprotocol.dsp:
4856 * win32/vs6/libgstnet.dsp:
4857 update project files
4859 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4861 * gst/gstbuffer.c: (gst_subbuffer_class_init):
4862 * gst/gstclock.c: (gst_clock_class_init):
4863 * gst/gstelement.c: (gst_element_class_init):
4864 * gst/gstindex.c: (gst_index_class_init):
4865 * gst/gstindexfactory.c: (gst_index_factory_class_init):
4866 * gst/gstobject.c: (gst_object_class_init),
4867 (gst_signal_object_class_init):
4868 * gst/gstpad.c: (gst_pad_class_init):
4869 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4870 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4871 * gst/gstregistry.c: (gst_registry_class_init):
4872 * gst/gstsystemclock.c: (gst_system_clock_class_init):
4873 * gst/gsttask.c: (gst_task_class_init):
4874 * gst/gstxml.c: (gst_xml_class_init):
4875 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4876 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4877 (gst_base_src_loop):
4878 * libs/gst/controller/gstcontroller.c:/
4879 (_gst_controller_class_init):
4880 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4881 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4882 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4883 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4884 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4885 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4887 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
4889 * gst/gstpad.c: (gst_pad_link):
4890 Must set peer pads before calling the link function, otherwise
4891 a task started from a link function might get a flow-not-linked
4892 result when trying to push because the other thread where the
4893 linking happens hasn't had a chance to set the peers yet. This
4894 might happen for example when a queue gets linked to a downstream
4895 element, as queue starts a streaming task when its source pad
4896 gets linked. Happens in real life when playing back flac/musepack
4897 files in playbin (#332390).
4899 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4903 * libs/gst/base/gstadapter.h:
4904 * libs/gst/base/gstbasesink.h:
4905 * libs/gst/base/gstbasesrc.h:
4906 * libs/gst/base/gstbasetransform.h:
4907 * libs/gst/base/gstcollectpads.h:
4908 * libs/gst/base/gstpushsrc.h:
4909 Fix broken GObject macros
4911 2006-04-07 Wim Taymans <wim@fluendo.com>
4913 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4914 Initialize start and stop times, thanks valgrind.
4916 2006-04-07 Wim Taymans <wim@fluendo.com>
4918 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4919 Be a bit nicer to badly behaving upstream elements that expect
4920 us to deal with non TIME segments and timestamps (such as fakesrc
4923 2006-04-07 Wim Taymans <wim@fluendo.com>
4926 Small documentation clarification about the signal watch.
4928 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4929 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4930 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4931 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4932 (gst_base_sink_get_position_last),
4933 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4934 Convert and store timestamps in stream time and running time, the
4935 raw timestamps are not useful, also document this better.
4936 Use different window sizes for good and bad QoS observations so
4937 we react to badness a little quicker.
4938 Keep track of the amount of rendered and dropped buffers.
4939 Send QoS timestamps in running time.
4941 * libs/gst/base/gstbasetransform.c:
4942 (gst_base_transform_sink_eventfunc),
4943 (gst_base_transform_handle_buffer):
4944 Compare QoS timestamps against running time.
4946 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4951 2006-04-06 Michael Smith <msmith@fluendo.com>
4953 * gst/gstpad.c: (gst_pad_set_property):
4954 Use g_value_get_object() instead of g_value_dup_gst_object(),
4955 to avoid double-reffing the pad template (which we then sink,
4956 so this worked previously if (and only if) the pad template
4959 * gst/gstpadtemplate.c: (gst_pad_template_init),
4960 (gst_pad_template_pad_created):
4961 Never return floating references to pad templates, create
4962 them as initially-sunken.
4964 Document an extra function (and make this stop sinking our
4965 pad template, since that is now guaranteed to do nothing,
4966 since we created it sunken).
4968 * gst/gstghostpad.c:
4971 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4973 * gst/gstinfo.c: (__gst_in_valgrind):
4976 * plugins/elements/gsttypefindelement.c:
4977 (gst_type_find_element_chain):
4978 Don't leak buffer caps.
4980 2006-04-06 Michael Smith <msmith@fluendo.com>
4982 * gst/parse/grammar.y:
4983 Fix a leak in parse-launch for any source-or-sink named element
4986 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4987 Unref the pipeline if it exists after we've failed parsing.
4989 2006-04-05 Michael Smith <msmith@fluendo.com>
4991 * gst/gstpipeline.c: (gst_pipeline_init):
4992 When we create a pipeline bus, initially create it in flushing mode.
4993 Fixes leaks in at least one test, and makes a new pipeline work the
4994 same as one that has gone to READY and then back to NULL.
4999 2006-04-05 Michael Smith <msmith@fluendo.com>
5001 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5002 Unref a pad we reffed.
5003 * tests/check/gst/gstutils.c: (GST_START_TEST):
5006 2006-04-05 Michael Smith <msmith@fluendo.com>
5008 * gst/gstquery.c: (gst_query_set_formats),
5009 (gst_query_set_formatsv):
5010 Fix leaking GValues in queries, as shown by valgrind/testsuite.
5012 2006-04-05 Michael Smith <msmith@fluendo.com>
5014 * tests/check/generic/sinks.c: (GST_START_TEST):
5015 Fix a variety of memleaks in sinks check, which are only sometimes
5016 shown by running the tests under valgrind (weird?).
5018 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
5020 * docs/version.entities.in:
5021 Fix the substituted entity name after thomas' changes on the
5024 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5026 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
5029 2006-04-05 Andy Wingo <wingo@pobox.com>
5031 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
5033 * libs/gst/base/gstbasetransform.c
5034 (gst_base_transform_sink_eventfunc): When resetting our segment on
5035 FLUSH_STOP, also update the flag saying we haven't seen a
5038 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
5040 Patch by: Paolo Borelli <pborelli at katamail dot com>
5042 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5043 (gst_plugin_check_license):
5044 minor clean-ups: G_DEFINE_TYPE already takes care of the
5045 parent_class stuff, no need to do it twice. Mark array of
5046 license strings as constant. (#337103)
5048 2006-04-04 Michael Smith <msmith@fluendo.com>
5050 * tools/gst-inspect.c: (print_element_list):
5051 Free the right plugin list; fixes a memory leak.
5053 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
5055 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5057 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
5058 Don't error out on empty buffers (#336945).
5060 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
5062 * docs/libs/gstreamer-libs-sections.txt:
5064 * libs/gst/base/gstbasesink.c:
5065 * libs/gst/base/gstbasesink.h:
5066 * libs/gst/base/gstbasesrc.c:
5067 * libs/gst/base/gstbasesrc.h:
5068 Documentation updates. Make BaseSink and BaseSrc docs contain the
5069 class structure so that people can actually see the prototypes for
5070 virtual functions they're supposed to be overriding.
5072 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
5074 * plugins/elements/gsttypefindelement.c:
5075 (gst_type_find_element_chain):
5076 More debug info; when skipping typefinding, send cached
5077 events in all cases.
5079 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
5082 use new AS_VERSION and AS_NANO macros
5083 * gst/gst-i18n-lib.h:
5086 * gst/gstversion.h.in:
5087 * win32/common/config.h:
5088 * win32/common/config.h.in:
5091 2006-03-31 Michael Smith <msmith@fluendo.com>
5093 * plugins/elements/gsttypefindelement.c:
5094 (gst_type_find_element_chain):
5095 Do not typefind content if the buffers already have caps.
5096 Neccesary for icydemux (#333657), and the right thing to do anyway.
5098 2006-03-30 Wim Taymans <wim@fluendo.com>
5100 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5101 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
5102 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
5103 (gst_base_sink_record_qos_observation),
5104 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
5105 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
5106 (gst_base_sink_change_state):
5107 More QoS measurements as described in the design doc.
5108 Get rid of ringbuffer with observations, running average is
5109 more simple and equally good.
5110 Calculates valid proportion now.
5111 Added beginning of flood measurement.
5113 2006-03-29 Wim Taymans <wim@fluendo.com>
5115 * docs/design/part-qos.txt:
5117 Small documentation updates and additions.
5119 2006-03-29 Wim Taymans <wim@fluendo.com>
5121 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
5122 (gst_base_src_send_event), (gst_base_src_loop),
5123 (gst_base_src_change_state):
5124 Perform the EOS logic when we reach the segment stop position.
5125 Fix compilation on gcc4.1
5127 2006-03-29 Wim Taymans <wim@fluendo.com>
5129 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5131 * plugins/elements/gstqueue.c: (gst_queue_init),
5132 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
5133 (gst_queue_set_property):
5134 * plugins/elements/gstqueue.h:
5135 In queue, when EOS is received, if minimum threshold > max_size -
5136 current_level, there is chance that queue blocks forever in conditional
5137 item del wait. This is because the queue is not emptied completely due
5138 to minimum threshold. Here is another approach. Instead of setting
5139 cur_levels to max in EOS, just zero all minimum threshold levels. This
5140 should make sure that queue gives out all data. When going to READY
5141 (stop) state, just reset the original minimum threshold levels.
5144 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
5146 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
5147 (gst_type_find_element_handle_event),
5148 (gst_type_find_element_send_cached_events),
5149 (gst_type_find_element_change_state):
5150 * plugins/elements/gsttypefindelement.h:
5151 When typefinding is done in push mode, we should cache
5152 events we receive during typefinding instead of just
5153 dropping them (e.g. newsegment, custom events from
5154 dvdreadsrc etc.) and then send them out once we've
5155 determined the type of the stream (and decodebin
5156 has had a chance to plug in a decoder/demuxer).
5158 2006-03-27 Wim Taymans <wim@fluendo.com>
5160 * docs/design/part-qos.txt:
5163 2006-03-27 Wim Taymans <wim@fluendo.com>
5165 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
5167 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
5168 (gst_base_src_send_event), (gst_base_src_change_state):
5169 Handle element seek correctly when we are streaming.
5172 2006-03-24 Michael Smith <msmith@fluendo.com>
5174 * docs/faq/gst-uninstalled:
5175 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
5176 allow you to correctly run intalled applications built against old
5177 core, using plugins that require updated core (e.g. running
5178 installed totem against a full uninstalled gstreamer stack)
5180 2006-03-24 Stefan Kost <ensonic@users.sf.net>
5182 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5185 2006-03-24 Wim Taymans <wim@fluendo.com>
5187 * docs/gst/gstreamer-sections.txt:
5188 Rearrange the order of the methods so that related methods
5189 are grouped together in sections.
5191 2006-03-24 Stefan Kost <ensonic@users.sf.net>
5194 Little clarification in the docs
5196 2006-03-24 Stefan Kost <ensonic@users.sf.net>
5200 * plugins/elements/gstidentity.c:
5201 * plugins/elements/gstqueue.c:
5202 * plugins/elements/gsttee.c:
5203 * plugins/elements/gsttypefindelement.c:
5204 GST_ELEMENT_DETAILS formatting
5206 2006-03-24 Wim Taymans <wim@fluendo.com>
5208 * libs/gst/base/gstbasesink.h:
5209 Only add fields, not insert or we break ABI.
5211 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
5213 * win32/common/libgstbase.def:
5214 * win32/common/libgstreamer.def:
5215 Update, add recently added functions.
5217 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
5219 * docs/gst/gstreamer-sections.txt:
5220 * gst/gstutils.c: (gst_pad_query_peer_position),
5221 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
5223 API: add some new utility functions:
5224 - gst_pad_query_peer_position()
5225 - gst_pad_query_peer_duration()
5226 - gst_pad_query_peer_convert()
5228 2006-03-23 Wim Taymans <wim@fluendo.com>
5230 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5231 (gst_base_sink_init), (gst_base_sink_finalize),
5232 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
5233 (gst_base_sink_set_property), (gst_base_sink_get_property),
5234 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
5235 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
5236 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
5237 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
5238 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
5239 (gst_base_sink_preroll_object), (gst_base_sink_event),
5240 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
5241 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5242 (gst_base_sink_query), (gst_base_sink_change_state):
5243 Decouple max-lateness and the fact that QoS messages are generated
5244 with a new property (qos).
5245 added API: GstBaseSink::async_play()
5246 Add vmethod so subclasses can be notified of ASYNC playing
5248 Collect timestamp start and stop to report better current
5249 position in EOS/PLAYING/PAUSED/READY/NULL.
5250 Refactor QoS/frame dropping and other measurements.
5251 API: GstBaseSrc::qos
5254 * libs/gst/base/gstbasesink.h:
5255 Added Private struct.
5256 API: gst_base_sink_set_qos_enabled()
5257 API: gst_base_sink_is_qos_enabled()
5259 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
5261 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
5262 If compiling against GLib-2.8 or newer, try to read the
5263 registry file using GMappedFile first before falling back
5264 to fopen() + fread() (#332151).
5266 2006-03-22 Wim Taymans <wim@fluendo.com>
5268 * gst/gstinfo.c: (gst_debug_set_active),
5269 (gst_debug_category_set_threshold):
5270 Disable debugging unless explicitly activated.
5273 2006-03-22 Wim Taymans <wim@fluendo.com>
5275 * gst/gstelement.c: (gst_element_set_locked_state),
5276 (gst_element_dispose):
5277 Cleanup the error case.
5279 * gst/gstobject.c: (gst_object_dispose):
5280 print a critical when some object was disposed with
5281 a parent, also revive the object since it might
5284 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
5286 * tools/gst-launch.1.in:
5289 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
5292 * tests/check/Makefile.am:
5293 disable some tests when we don't have a registry
5294 * tests/check/gst/gstutils.c: (gst_utils_suite):
5295 don't build the part that needs parsing
5297 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
5300 * tests/examples/Makefile.am:
5301 fix --disable-parse build
5303 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5305 * tools/gst-feedback.1.in:
5306 Fix typo: s/feeback/feedback/ (#133494).
5308 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5310 * tools/Makefile.am:
5311 * tools/gst-launch.1.in:
5312 Add FILES section and correct entry about GST_REGISTRY_PATH
5313 environment variable (#133495; #133494).
5315 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5317 * tools/Makefile.am:
5318 * tools/gst-md5sum.1.in:
5319 * tools/gst-md5sum.c:
5320 Remove gst-md5sum and man page (the md5sink element
5321 required was removed ages ago)
5323 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5325 * gst/gststructure.c: (gst_structure_id_set_value):
5326 Make sure that string fields in structures/taglists
5327 contain valid UTF-8 - we don't want to pass rubbish to
5328 applications because of a buggy plugin (cp. #334167).
5330 2006-03-21 Edward Hervey <edward@fluendo.com>
5332 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5333 (gst_bin_handle_message_func):
5334 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
5335 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
5336 (gst_element_set_bus_func):
5337 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
5338 * gst/gstminiobject.c: (gst_value_set_mini_object),
5339 (gst_value_take_mini_object):
5340 * gst/gstpad.c: (gst_pad_set_pad_template):
5341 * gst/gstpipeline.c: (gst_pipeline_dispose),
5342 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
5343 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
5344 (gst_collect_pads_chain):
5345 * libs/gst/net/gstnettimeprovider.c:
5346 (gst_net_time_provider_set_property):
5347 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
5348 It's in fact all issues with gst_*object_replace().
5350 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
5352 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
5354 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5355 * pkgconfig/gstreamer-check.pc.in:
5356 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
5358 2006-03-21 Edward Hervey <edward@fluendo.com>
5363 gst_[buffer|event|message]_ref() macros are replaced by a static
5364 inline functions because gcc-4.1 will about if the return value
5366 * tests/check/gst/gstevent.c: (event_probe):
5367 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
5369 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
5372 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
5373 the type' case. (Closes: #335195 for now). In the future, when we
5374 depend on GLib 2.10, we could also intern the type name using
5375 g_intern_static_string()
5377 2006-03-20 Wim Taymans <wim@fluendo.com>
5379 * gst/gstbin.c: (gst_bin_handle_message_func),
5380 (bin_query_max_init), (bin_query_position_fold),
5381 (bin_query_position_done), (gst_bin_query):
5382 Position query should also take max of all streams.
5384 2006-03-20 Wim Taymans <wim@fluendo.com>
5386 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5387 (gst_fake_src_finalize):
5388 Fix leaks in fakesrc.
5390 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5391 Fix leaks in the testcase.
5393 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
5395 * gst/gst_private.h:
5396 add win32 specific import decoration(__declspec(dllimport))
5397 for all extern GstDebugCategory * variables
5398 * win32/common/libgstbase.def:
5399 * win32/common/libgstcontroller.def:
5400 * win32/common/libgstreamer.def:
5401 Add some exports, remove empty lines
5402 * win32/common/libgstdataprotocol.def:
5403 * win32/common/libgstdataprotocol.dsp:
5404 * win32/common/libgstnet.def:
5405 * win32/common/libgstnet.dsp:
5406 new project files and exportation files added
5408 2006-03-19 Wim Taymans <wim@fluendo.com>
5410 * tests/check/libs/basesrc.c: (eos_event_counter):
5411 Use proper return value for probe.
5413 2006-03-17 Wim Taymans <wim@fluendo.com>
5415 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
5417 Don't leak buffers, caps and pads on negotiation errors.
5419 2006-03-16 Stefan Kost <ensonic@users.sf.net>
5422 * docs/faq/dependencies.xml:
5423 * docs/faq/developing.xml:
5425 * docs/faq/general.xml:
5426 * docs/faq/getting.xml:
5427 * docs/faq/legal.xml:
5428 * docs/faq/troubleshooting.xml:
5429 * docs/faq/using.xml:
5430 Faq review and update.
5432 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
5434 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
5436 Don't pound the cpu to pieces by checking get_caps when accept_caps
5437 is called with the same caps as the pad already has.
5438 Use GST_DEBUG_OBJECT when outputting caps change information.
5440 2006-03-15 Wim Taymans <wim@fluendo.com>
5442 * gst/gstclock.c: (gst_clock_class_init):
5445 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
5450 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
5451 (gst_pad_accept_caps), (gst_pad_configure_sink),
5452 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
5453 Make the default acceptcaps behaviour be to check the requested
5454 caps against the gst_pad_get_caps output.
5456 Ensure that gst_pad_accept_caps is used to check caps when a pad
5457 doesn't have a setcaps function, so that pads automatically refuse
5458 caps that they don't allow in their pad template. (Fixes #332986)
5460 When a buffer with attached caps is pushed, ensure that the source
5461 pad receives those caps even if the element didn't call
5462 gst_pad_set_caps first.
5464 2006-03-15 Wim Taymans <wim@fluendo.com>
5466 * libs/gst/base/gstadapter.c:
5469 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
5471 * win32/common/libgstbase.def:
5472 * win32/common/libgstcontroller.def:
5473 * win32/common/libgstreamer.def:
5474 Add a whole bunch of missing functions (#334434).
5476 2006-03-14 Wim Taymans <wim@fluendo.com>
5478 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5479 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5480 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
5481 Better debug info when we receive a segment event.
5482 Reorganize a bit so we can pass the get_times() results around.
5483 Use the segment format when calculating the running time.
5484 Don't do QoS is sync is disabled or we have no clock or the
5485 element does not want us to sync to the clock.
5486 Don't drop buffers if QoS is disabled for now.
5488 2006-03-14 Wim Taymans <wim@fluendo.com>
5490 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
5491 Marked the stats property as unimplemented so people don't get
5493 Add debug message when regression goes wrong.
5494 Added some more docs.
5496 2006-03-14 Wim Taymans <wim@fluendo.com>
5498 * gst/gstsegment.c: (gst_segment_to_stream_time):
5499 Return correct return type in case of errors.
5501 2006-03-14 Wim Taymans <wim@fluendo.com>
5503 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
5504 Don't segfault on invalid formats.
5506 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
5508 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5509 Can't use gst_segment_to_running_time() when the segment
5510 is not in GST_TIME_FORMAT (like with filesink, for example).
5511 Stops flac encoding pipelines from spewing critical warnings
5514 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
5516 * gst/gstpipeline.c: (gst_pipeline_class_init):
5517 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
5519 * plugins/elements/gsttypefindelement.c:
5520 (gst_type_find_element_handle_event):
5521 Don't try to typefind empty streams.
5523 2006-03-14 Wim Taymans <wim@fluendo.com>
5525 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5526 (gst_base_sink_do_qos):
5527 Separate QoS calculation.
5528 Only drop buffers when lateness is bigger than the
5529 duration of the buffer.
5531 2006-03-13 Wim Taymans <wim@fluendo.com>
5533 * gst/gstpipeline.c: (gst_pipeline_set_property),
5534 (gst_pipeline_get_property), (do_pipeline_seek),
5535 (gst_pipeline_change_state), (gst_pipeline_set_delay),
5536 (gst_pipeline_get_delay):
5537 Don't deadlock when reading properties.
5539 2006-03-13 Wim Taymans <wim@fluendo.com>
5541 * libs/gst/base/gstbasetransform.c:
5542 (gst_base_transform_class_init), (gst_base_transform_init),
5543 (gst_base_transform_sink_event),
5544 (gst_base_transform_sink_eventfunc),
5545 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
5546 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5547 (gst_base_transform_set_property),
5548 (gst_base_transform_get_property),
5549 (gst_base_transform_change_state), (gst_base_transform_update_qos),
5550 (gst_base_transform_set_qos_enabled),
5551 (gst_base_transform_is_qos_enabled):
5552 * libs/gst/base/gstbasetransform.h:
5553 Make basetransform virtual method for src events too.
5554 Handle QOS in basetransform.
5555 API: gst_base_transform_update_qos()
5556 API: gst_base_transform_set_qos_enabled()
5557 API: gst_base_transform_is_qos_enabled()
5559 2006-03-13 Wim Taymans <wim@fluendo.com>
5561 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5562 (gst_base_sink_do_sync):
5564 Use QOS debug category.
5566 2006-03-13 Wim Taymans <wim@fluendo.com>
5568 * plugins/elements/gstqueue.c:
5569 Very small doc update.
5571 2006-03-13 Wim Taymans <wim@fluendo.com>
5573 * gst/gst_private.h:
5574 * gst/gstinfo.c: (_gst_debug_init):
5575 Added QOS debug category
5577 2006-03-13 Wim Taymans <wim@fluendo.com>
5579 * docs/gst/gstreamer-sections.txt:
5580 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
5582 * gst/gstbus.c: (gst_bus_class_init):
5585 * gst/gstelement.c: (gst_element_set_locked_state):
5587 Documentation updates.
5589 * gst/gstpipeline.c: (gst_pipeline_get_type),
5590 (gst_pipeline_class_init), (gst_pipeline_init),
5591 (gst_pipeline_dispose), (gst_pipeline_set_property),
5592 (gst_pipeline_get_property), (do_pipeline_seek),
5593 (gst_pipeline_send_event), (gst_pipeline_change_state),
5594 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
5595 (gst_pipeline_get_delay):
5596 * gst/gstpipeline.h:
5597 Added methods for setting the delay.
5598 API: gst_pipeline_set_delay()
5599 API: gst_pipeline_get_delay()
5600 Add pipeline debug category
5603 Don't reset stream time when seek failed.
5605 2006-03-13 Wim Taymans <wim@fluendo.com>
5607 * docs/design/draft-klass.txt:
5608 * docs/design/part-clocks.txt:
5609 * docs/design/part-events.txt:
5610 * docs/design/part-gstbin.txt:
5611 * docs/design/part-gstpipeline.txt:
5612 * docs/design/part-messages.txt:
5613 * docs/design/part-negotiation.txt:
5614 * docs/design/part-overview.txt:
5615 * docs/design/part-preroll.txt:
5616 * docs/design/part-seeking.txt:
5617 * docs/design/part-states.txt:
5618 * docs/design/part-streams.txt:
5619 Documentation updates.
5621 2006-03-12 Julien MOUTTE <julien@moutte.net>
5623 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
5624 us to leak strings...
5626 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
5628 * libs/gst/net/gstnettimeprovider.c:
5630 * win32/common/config.h:
5633 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
5635 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
5638 Don't check for libgnomeui (leftover from old examples
5639 that aren't built or disted any longer) (#334303).
5641 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
5643 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
5644 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
5645 Emit RESOURCE_NO_SPACE_LEFT error here as well when
5646 there's no space left on the device.
5648 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
5651 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
5652 to cast the input to GstClockTime before comparing with
5653 another GstClockTime value.
5655 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
5660 === release 0.10.4 ===
5662 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
5665 releasing 0.10.4, "Light"
5667 2006-03-10 Michael Smith <msmith@fluendo.com>
5669 * libs/gst/dataprotocol/dataprotocol.c:
5670 Fix docs for dataprocotol to not get the return types completely
5671 wrong for a few functions.
5673 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5675 * docs/gst/gstreamer-sections.txt:
5676 * gst/gstpipeline.c: (gst_pipeline_class_init),
5677 (gst_pipeline_init), (gst_pipeline_set_property),
5678 (gst_pipeline_get_property), (gst_pipeline_change_state),
5679 (gst_pipeline_set_auto_flush_bus),
5680 (gst_pipeline_get_auto_flush_bus):
5681 * gst/gstpipeline.h:
5682 Add new API: gst_pipeline_set_auto_flush_bus() and
5683 gst_pipeline_get_auto_flush_bus() to disable automatic
5684 flushing of the pipeline's GstBus when going from READY
5685 to NULL state (#332045).
5687 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5689 * docs/gst/gstreamer-sections.txt:
5690 * gst/gsturi.c: (gst_uri_has_protocol):
5692 Add new API: gst_uri_has_protocol() (#333779).
5694 2006-03-09 Wim Taymans <wim@fluendo.com>
5696 * gst/gstclock.c: (gst_clock_entry_new),
5697 (gst_clock_id_compare_func), (gst_clock_id_wait),
5698 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
5699 (gst_clock_init), (gst_clock_get_internal_time),
5700 (gst_clock_set_master), (do_linear_regression),
5701 (gst_clock_add_observation), (gst_clock_set_property):
5705 Fix a possible segfault when the window-size is made smaller.
5706 Calculate jitter before performing the clock wait. Ideally
5707 the clock implementation should calculate jitter but we need
5708 API breakage for that.
5710 * gst/gstsystemclock.c: (gst_system_clock_init):
5713 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5714 Remove leftover else
5716 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5717 (gst_systemclock_suite):
5718 Added check to test GST_CLOCK_DIFF.
5720 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5722 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5723 (gst_type_find_helper_get_range):
5724 If we are provided with the size, we should implement
5725 GstTypeFind::get_length, so that typefind functions who
5726 want to can actually peek at the middle of a file.
5728 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
5730 * docs/manual/advanced-dataaccess.xml:
5731 Add some very very basic error checking.
5733 * docs/pwg/appendix-checklist.xml:
5734 Some updates to the list of things to check when writing an element.
5736 2006-03-08 Wim Taymans <wim@fluendo.com>
5738 * docs/design/part-element-transform.txt:
5739 Added some docs about the design of tranform elements.
5741 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5742 (gst_base_src_loop), (gst_base_src_change_state):
5743 Mark buffers with the DISCONT flag.
5745 2006-03-08 Michael Smith <msmith@fluendo.com>
5747 * gst/gstregistry.h:
5748 * gst/gstregistryxml.c: (gst_registry_save),
5749 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5750 (gst_registry_xml_save_pad_template),
5751 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5752 (gst_registry_xml_write_cache):
5753 Rewrite registry-saving to avoid race conditions and check for
5756 2006-03-08 Wim Taymans <wim@fluendo.com>
5758 * libs/gst/base/gstbasetransform.c:
5759 (gst_base_transform_transform_caps),
5760 (gst_base_transform_transform_size),
5761 (gst_base_transform_prepare_output_buffer),
5762 (gst_base_transform_get_unit_size),
5763 (gst_base_transform_buffer_alloc),
5764 (gst_base_transform_handle_buffer),
5765 (gst_base_transform_change_state):
5766 Cleanups, separate normal flow from errors, add sensible
5768 Don't try to renegotiate when allocating an output buffer.
5769 Also copy DISCONT buffer flag when copying a buffer.
5770 Reset the transform after we finish streaming, not during.
5772 2006-03-08 Wim Taymans <wim@fluendo.com>
5774 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5775 Use last buffer timestamp in qos message.
5777 2006-03-07 Wim Taymans <wim@fluendo.com>
5779 Patch by: Christophe Fergeau
5781 * docs/pwg/advanced-tagging.xml:
5782 * docs/pwg/building-pads.xml:
5785 2006-03-07 Wim Taymans <wim@fluendo.com>
5787 * docs/libs/gstreamer-libs-sections.txt:
5788 Added basesink new methods.
5792 Docs updates. Flesh out the QoS docs.
5794 * libs/gst/base/gstadapter.c:
5795 Small doc clarification about ownership and flushing.
5797 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5798 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5799 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5800 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5801 * libs/gst/base/gstbasesink.h:
5803 Added new methods to allow subclass to control max-lateness
5805 Generate very basic QoS events based on last sync observation.
5806 Updated docs, fix typo, added some QoS blurb.
5808 * libs/gst/base/gstbasesrc.c:
5809 Remove obsolete _get_state() calls from docs.
5811 2006-03-07 Wim Taymans <wim@fluendo.com>
5813 * docs/libs/gstreamer-libs-sections.txt:
5814 * libs/gst/base/gstbasetransform.h:
5815 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5816 Fix docs for GstBaseSrc.
5818 2006-03-07 Wim Taymans <wim@fluendo.com>
5820 * docs/gst/gstreamer-sections.txt:
5823 * libs/gst/base/gstbasetransform.h:
5824 Small documentation fixes.
5826 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5829 Document thread-unsafety of gst_value_register_foo_func()
5830 when used at the same time as gst_value_foo() (#322628).
5832 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5834 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5835 (gst_push_src_check_get_range):
5836 Push sources don't support pull mode by default.
5838 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5840 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5841 (gst_base_src_init), (gst_base_src_pad_check_get_range),
5842 (gst_base_src_default_check_get_range):
5843 * libs/gst/base/gstbasesrc.h:
5844 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5845 provide default implementation, and rename
5846 gst_base_src_check_get_range() to
5847 gst_base_src_pad_check_get_range() for clarity.
5849 2006-03-06 Wim Taymans <wim@fluendo.com>
5851 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5852 Make property overridable.
5854 2006-03-06 Wim Taymans <wim@fluendo.com>
5856 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5857 (gst_base_sink_init), (gst_base_sink_set_property),
5858 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5859 * libs/gst/base/gstbasesink.h:
5860 API addition: Make max-lateness a property.
5862 2006-03-06 Wim Taymans <wim@fluendo.com>
5864 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5865 (gst_base_sink_do_sync), (gst_base_sink_render_object):
5866 Don't ever draw a frame that is >10ms late.
5868 2006-03-06 Michael Smith <msmith@fluendo.com>
5870 * gst/gstmessage.c: (_gst_message_copy):
5871 When copying a message, set the parent_refcount of the enclosed
5872 structure to point at the copy, not the original message.
5874 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5876 Patch by: Christophe Fergeau
5879 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5880 usable in c++ code (#333417)
5882 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
5885 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5887 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
5889 * libs/gst/base/gstbasetransform.c:
5890 (gst_base_transform_transform_caps):
5891 Make sure caps are writable before passing them to
5894 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5897 Fix some minor docs errors.
5899 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5901 Patch by: Ross Burton <ross at burtonini dot com>
5903 * gst/gsterror.c: (_gst_resource_errors_init):
5905 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5907 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5910 Add a check and output a g_warning when GStreamer is built
5911 against GLib 2.6 but running against 2.8 or higher, and vice
5912 versa. (Closes: #323542)
5914 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5916 * gst/parse/parse.l:
5917 Commit patch for parse_launch syntax from #331255. Removes
5918 support for quoted strings and mimetypes when writing filtered
5919 caps. See the bug report for more details - I'm pretty sure this
5920 obscure feature is not in use by _anyone_ anywhere.
5922 With this simple change, the size of the gstreamer.so here
5923 drops from 2193KB to 1565KB.
5925 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5927 * plugins/elements/gsttypefindelement.h:
5928 * plugins/elements/gsttypefindelement.c:
5929 (gst_type_find_element_src_event), (start_typefinding),
5930 (stop_typefinding), (gst_type_find_element_handle_event),
5931 (gst_type_find_element_chain),
5932 (gst_type_find_element_chain_do_typefinding):
5933 Use gst_type_find_helper_for_buffer() for chain-based
5936 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5938 * plugins/elements/gsttypefindelement.c:
5939 (gst_type_find_element_class_init),
5940 (gst_type_find_element_set_property),
5941 (gst_type_find_element_get_property):
5942 Deprecate "maximum" property (not only was it only taken into
5943 account for typefinding in push-mode anyway, it also was never
5944 actually possible to set it in the first place because the
5945 property was registered with the numeric property ID for the
5946 "minimum" property). Register "maximum" property correctly,
5947 for the sake of future copy'n'pasters. Remove some cruft
5948 from property get/set functions.
5950 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5952 * plugins/elements/gsttypefindelement.c:
5953 (gst_type_find_element_activate):
5954 Use gst_type_find_helper_get_range() here, so we
5955 can honour the "minimum" property and also emit
5956 the signal with the correct probability of the found caps.
5958 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
5960 * docs/libs/gstreamer-libs-sections.txt:
5961 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5962 (helper_find_suggest), (gst_type_find_helper_get_range),
5963 (gst_type_find_helper):
5964 * libs/gst/base/gsttypefindhelper.h:
5965 New API: gst_type_find_helper_get_range() (#333042).
5967 2006-03-02 Michael Smith <msmith@fluendo.com>
5969 * gst/gstregistryxml.c: (load_feature):
5970 Asserting on a failure to read part of the registry is Not Cool.
5971 Just log a warning and return NULL (which is already handled)
5973 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
5975 * win32/common/libgstbase.def:
5976 added export of gst_type_find_helper_for_buffer
5977 * win32/common/libgstbase.def:
5978 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5979 gst_ghost_pad_get_target
5981 2006-02-28 Wim Taymans <wim@fluendo.com>
5983 * docs/design/draft-klass.txt:
5985 Added Connector to mark elements that are only used to
5986 allow pipeline connections.
5987 Moved Debug to extra feature since most of them are
5988 functionally something else.
5990 2006-02-28 Wim Taymans <wim@fluendo.com>
5992 * docs/design/draft-klass.txt:
5993 Some updates and clarifications.
5995 2006-02-28 Wim Taymans <wim@fluendo.com>
5997 * docs/design/draft-klass.txt:
5998 Proposal for klass field values.
6000 * docs/design/part-streams.txt:
6001 Start of a doc describing stream anatomy.
6003 2006-02-28 Wim Taymans <wim@fluendo.com>
6005 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
6006 Help the compiler a bit with type registration.
6007 Use existing forward cod path instead of duplicating it when
6010 * gst/gstbus.c: (gst_bus_get_type):
6011 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
6012 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
6013 * gst/gstclock.c: (gst_clock_get_type):
6014 * gst/gstelement.c: (gst_element_get_type),
6015 * gst/gstelementfactory.c: (gst_element_factory_get_type):
6016 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6017 * gst/gstminiobject.c: (gst_mini_object_get_type):
6018 * gst/gstpad.c: (gst_pad_get_type):
6019 * gst/gstsegment.c: (gst_segment_get_type):
6020 * gst/gststructure.c: (gst_structure_get_type):
6021 * gst/gstsystemclock.c: (gst_system_clock_get_type):
6022 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
6024 Help compiler with type registration.
6026 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6029 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
6031 * plugins/elements/gsttypefindelement.c:
6032 (gst_type_find_element_handle_event):
6033 When we get an EOS event and have not found a type yet
6034 (most likely because we had not yet accumulated
6035 TYPE_FIND_MIN_SIZE of data yet), try to determine the
6036 type given the data we have so far. Fixes typefinding
6037 for very short streams again, most notably quicktime
6038 redirections as used on Apple's trailer site (#331701).
6040 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
6042 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
6043 (gst_type_find_helper):
6044 Try typefinding factories with the highest rank first.
6046 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
6048 * docs/libs/gstreamer-libs-docs.sgml:
6049 * docs/libs/gstreamer-libs-sections.txt:
6050 * libs/gst/base/gsttypefindhelper.c:
6051 Add section for typefind helper and add documentation
6052 for the old and the new function.
6054 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
6056 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
6057 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
6058 (gst_type_find_helper_for_buffer):
6059 * libs/gst/base/gsttypefindhelper.h:
6060 New API: gst_type_find_helper_for_buffer() (#332723).
6062 2006-02-27 Michael Smith <msmith@fluendo.com>
6064 Patch by: Loïc Minier
6068 * docs/slides/Makefile.am:
6069 prevent CVS directories getting disted.
6071 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
6073 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
6074 Use the REFCOUNTING category for caps refcounting.
6076 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
6078 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6079 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
6081 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
6083 * plugins/elements/gsttypefindelement.c:
6084 (gst_type_find_element_activate):
6085 Use gst_pad_check_pull_range() before _activate_pull()
6086 to avoid unnecessary open/close (see #331690).
6088 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
6091 Docs enhancement: make it crystal clear what the
6092 gst_pad_add_*_probe() callbacks should look like.
6094 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
6096 * libs/gst/base/gstbasesrc.c:
6097 Document how applications can stop recording from
6098 live sources (see #330996).
6100 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
6102 * tests/check/Makefile.am:
6103 * tests/check/libs/basesrc.c: (eos_event_counter),
6104 (basesrc_eos_events_pull), (basesrc_eos_events_push),
6105 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
6106 (gst_basesrc_suite), (main):
6107 ... and add some tests for the base source EOS stuff.
6109 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
6111 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
6112 Test case originally showed the problem fixed below,
6113 but was then amended. Add checks back at the place
6114 where they used to be.
6116 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
6118 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6119 (gst_base_src_init), (gst_base_src_loop),
6120 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6121 (gst_base_src_change_state):
6122 * libs/gst/base/gstbasesrc.h:
6123 Don't unconditionally send EOS when going from PAUSED to
6124 READY state, esp. make sure we don't send two EOS events
6125 in some cases (e.g. one when reaching EOS and one when
6126 going from PAUSED to READY). Also, we don't want to send
6127 EOS events when operating in pull mode. However, we do
6128 want to send an EOS event when shutting down a live
6129 source explicitly, for example (fixes #330996).
6131 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
6133 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6134 Update src->read_position after a seek when not using mmap.
6135 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
6137 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
6143 Make things work with --disable-parse as they do with
6144 --disable-load-save - the symbols involved disappear, but the
6145 header is still installed and GST_DISABLE_PARSE is included via
6148 2006-02-20 Julien MOUTTE <julien@moutte.net>
6150 * libs/gst/base/gstbasetransform.c:
6151 (gst_base_transform_change_state): Fix a stupid bug. I was
6152 sure I compiled that.
6154 2006-02-20 Julien MOUTTE <julien@moutte.net>
6156 * gst/gstpad.c: (gst_pad_set_blocked_async):
6157 * gst/gstutils.c: (gst_pad_add_data_probe),
6158 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6159 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6160 (gst_pad_remove_buffer_probe): Make those function act on the
6161 ghostpad target when it's a ghostpad. (Closes #331727)
6163 2006-02-20 Julien MOUTTE <julien@moutte.net>
6165 * libs/gst/base/gstbasetransform.c:
6166 (gst_base_transform_change_state): Make basetransform reusable.
6169 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
6171 * docs/random/release:
6172 Move the current documentation of how to do a release to the top
6175 * gst/gstbin.c: (gst_bin_class_init),
6176 (gst_bin_handle_message_func):
6177 Allow multiple state-recalculation threads. (Closes #328873)
6179 2006-02-19 Julien MOUTTE <julien@moutte.net>
6181 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
6182 * gst/gstpad.c: (gst_pad_set_event_function),
6183 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6184 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
6185 2 strings. You can't use the STR_NULL macro on that.
6187 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
6189 * gst/gstpad.c: (gst_pad_set_event_function),
6190 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6191 (gst_pad_set_getcaps_function)
6192 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
6193 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
6194 So now, we can use --gst-debug-level=5 on Windows
6195 * win32/common/libgstcontroller.def:
6196 Added export of gst_controller_init
6197 * win32/vs6/libgstcontroller.dsp:
6198 Fixed Release post build configuration
6200 2006-02-17 Wim Taymans <wim@fluendo.com>
6202 * tests/check/gst/gstquery.c: (GST_START_TEST):
6203 Added another check.
6205 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
6207 * plugins/elements/gsttypefindelement.c: (find_peek):
6208 We can do peeks at non-zero offsets, as long as they
6209 fall within the buffer we have.
6211 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
6213 * tests/check/Makefile.am:
6214 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
6215 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
6216 (parse_suite), (main):
6217 Add testsuite for parse launch syntax
6219 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
6221 * plugins/elements/gsttypefindelement.c:
6222 (gst_type_find_element_chain):
6223 When typefinding is unsuccessful in the chain function, don't
6224 error out immediately. Only error out with NO_CAPS_FOUND if
6225 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
6226 otherwise simply wait for more data so we can try typefinding
6227 again with more data later. Also, don't attempt to typefind
6228 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
6229 this should improve typefinding from network sources where the
6230 size of the first buffer can be somewhat random.
6232 2006-02-14 Wim Taymans <wim@fluendo.com>
6234 * docs/gst/gstreamer-sections.txt:
6235 * gst/gstpadtemplate.c:
6236 * gst/gstpadtemplate.h:
6237 Fix padtemplate docs, fixes #328805.
6239 2006-02-14 Wim Taymans <wim@fluendo.com>
6241 * tools/gst-launch.c: (main):
6242 NO_PREROLL is not an ERROR so don't send confusing messages
6245 2006-02-14 Wim Taymans <wim@fluendo.com>
6247 Patch by: Torsten Schoenfeld
6249 * gst/gstregistry.c: (gst_registry_get_default),
6250 (_gst_registry_cleanup):
6251 Protect default registry with lock and ref/sink it.
6254 2006-02-14 Wim Taymans <wim@fluendo.com>
6257 * gst/gstquery.c: (gst_query_list_add_format),
6258 (gst_query_set_formatsv), (gst_query_parse_formats_length),
6259 (gst_query_parse_formats_nth):
6260 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6263 2006-02-14 Wim Taymans <wim@fluendo.com>
6265 * docs/gst/gstreamer-sections.txt:
6266 Reworked query docs.
6268 * gst/gstquery.c: (gst_query_new_formats),
6269 (gst_query_list_add_format), (gst_query_set_formats),
6270 (gst_query_set_formatsv), (gst_query_parse_formats_length),
6271 (gst_query_parse_formats_nth):
6273 Flesh out formats query, added some new methods.
6274 Fix part of #324398.
6276 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
6277 Added query creation tests.
6279 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
6281 * gst/gstpad.c: (fixate_value):
6282 Add a default fixation for fraction lists.
6284 2006-02-13 Wim Taymans <wim@fluendo.com>
6286 * gst/gsttask.c: (gst_task_init), (gst_task_func),
6287 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
6290 Detect and warn for obvious deadlocks. fixes #320340
6291 Fix error case where lock was not released.
6293 * tests/check/Makefile.am:
6294 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
6295 (task_func), (gst_element_suite), (main):
6298 2006-02-13 Wim Taymans <wim@fluendo.com>
6300 * docs/gst/gstreamer-sections.txt:
6302 Add new functions to docs.
6304 2006-02-13 Wim Taymans <wim@fluendo.com>
6306 * docs/design/part-TODO.txt:
6307 Updated TODO list, basesrc supports seeking to non-bytes
6310 * docs/design/part-element-sink.txt:
6313 * gst/gstbin.c: (bin_replace_message),
6314 (gst_bin_handle_message_func):
6315 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
6316 * gst/gstevent.c: (gst_event_finalize):
6317 * gst/gstpad.c: (gst_pad_event_default_dispatch),
6318 (gst_pad_send_event):
6319 Use shiny new _TYPE_NAME macros.
6321 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6322 Move debug statement up.
6324 * gst/gstelement.c: (gst_element_set_locked_state):
6327 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
6329 * docs/gst/gstreamer-sections.txt:
6332 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
6333 macros (#330906). Also, document the already existing
6334 GST_QUERY_TYPE macro.
6336 2006-02-13 Wim Taymans <wim@fluendo.com>
6338 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
6339 (event_probe), (GST_START_TEST):
6340 Only events up to the pipeline EOS are counted, there are
6341 some more when going to NULL currently which we don't care
6344 2006-02-13 Wim Taymans <wim@fluendo.com>
6346 * gst/gstpad.c: (gst_pad_send_event):
6347 Correctly check flushing and emit probes. fixes #330125
6349 2006-02-10 Andy Wingo <wingo@pobox.com>
6351 * gst/gstbus.c (gst_bus_class_init): Declare our private data
6353 (gst_bus_init): Cache the location of the private data in the
6355 (gst_bus_enable_sync_message_emission)
6356 (gst_bus_disable_sync_message_emission): Implement new public
6358 (gst_bus_post): Emit the sync-message signal if the user asked for
6361 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
6362 location of the bus-private structure.
6363 (gst_bus_enable_sync_message_emission)
6364 (gst_bus_disable_sync_message_emission): API addition
6366 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
6368 Patch by: Vincent Torri
6370 * docs/pwg/building-boiler.xml:
6371 PWG patch from #326800
6373 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
6377 * docs/design/Makefile.am:
6380 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
6385 === release 0.10.3 ===
6387 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
6390 releasing 0.10.3, "Like a virgin"
6392 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
6395 2nd prerelease of 0.10.3
6396 Bump libtool versioning.
6398 2006-02-07 Andy Wingo <wingo@pobox.com>
6400 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
6401 update last_stop if we're in TIME format and the timestamp is
6404 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
6405 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
6406 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
6407 If we get a new newsegment with a different format, adapt
6410 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
6411 of 0. Not a problem, really.
6413 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
6416 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
6421 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
6424 project files updated to the default vs7 configuration
6425 * win32/common/libgstbase.def:
6426 * win32/common/libgstreamer.def:
6428 removed empty lines,
6429 sorted all exported symbols alphabetically
6430 * win32/common/dirent.c:
6431 * win32/common/dirent.h:
6432 * win32/common/gchar.h:
6433 use windows line end.
6435 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
6437 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6438 Send EOS event when stopping.
6440 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
6443 Tell folks what to do if the plugin-foobar.xml file
6444 hasn't been generated for a newly-added plugin.
6446 2006-02-05 Julien MOUTTE <julien@moutte.net>
6448 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6449 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6450 (gst_collect_pads_start), (gst_collect_pads_stop),
6451 (gst_collect_pads_event): Collectpads now holds a reference
6452 to the GstPad that was added. Indeed we don't want to look
6453 at pads that might just go away with no warning...
6455 2006-02-05 Julien MOUTTE <julien@moutte.net>
6457 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6458 (gst_collect_pads_start), (gst_collect_pads_stop),
6459 (gst_collect_pads_event), (gst_collect_pads_chain):
6460 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
6461 Mark Nauwelaerts's patch on bug #328491.
6463 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
6465 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
6467 Add some simple tests for gst_parse_bin_from_description() and
6468 gst_bin_find_unconnected_pad() (#329069).
6470 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
6472 * tools/gst-launch.c: (event_loop), (main):
6473 Catch errors during preroll (#320084).
6475 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
6477 * plugins/elements/gsttypefindelement.c:
6478 (gst_type_find_element_activate):
6479 Post TYPE_NOT_FOUND error message when typefinding
6480 is unsuccessful in the activate function as well.
6482 2006-02-02 Wim Taymans <wim@fluendo.com>
6484 * docs/design/part-element-sink.txt:
6487 2006-02-02 Wim Taymans <wim@fluendo.com>
6489 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
6490 (gst_base_sink_render_object),
6491 (gst_base_sink_queue_object_unlocked):
6492 Only keep track of prerollable items when we are
6494 Before rendering after preroll, always check if we
6496 Added some more debugging.
6498 2006-02-02 Wim Taymans <wim@fluendo.com>
6500 * gst/gstelement.c: (gst_element_continue_state),
6501 (gst_element_set_state_func), (gst_element_change_state):
6502 Fixed #326576, been running this for quite some time with
6503 no regressions at all.
6505 2006-02-02 Wim Taymans <wim@fluendo.com>
6508 Added more suppressions
6510 2006-02-02 Wim Taymans <wim@fluendo.com>
6512 * docs/design/part-element-sink.txt:
6515 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6516 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
6517 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
6518 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
6519 (gst_base_sink_do_sync), (gst_base_sink_render_object),
6520 (gst_base_sink_preroll_object),
6521 (gst_base_sink_queue_object_unlocked),
6522 (gst_base_sink_queue_object), (gst_base_sink_event),
6523 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
6524 (gst_base_sink_loop), (gst_base_sink_activate_pull),
6525 (gst_base_sink_get_position), (gst_base_sink_change_state):
6526 * libs/gst/base/gstbasesink.h:
6527 Totally refactored matching the design doc.
6528 Use two segments, one to clip incomming buffers and another to
6530 Handle queueing correctly, bypass the queue when playing.
6531 Make EOS cancelable.
6532 Handle errors correctly when operating in pull based mode.
6534 * tests/check/elements/fakesink.c: (GST_START_TEST),
6536 Added new check for sinks.
6538 2006-02-02 Wim Taymans <wim@fluendo.com>
6540 * gst/gstsegment.c: (gst_segment_clip):
6541 No reason to refuse to clip when start == -1
6543 2006-02-02 Stefan Kost <ensonic@users.sf.net>
6546 * docs/manual/intro-basics.xml:
6547 * docs/manual/intro-preface.xml:
6548 * docs/manual/manual.xml:
6549 * docs/pwg/advanced-dparams.xml:
6550 * docs/pwg/intro-basics.xml:
6551 * docs/pwg/intro-preface.xml:
6553 describe dparams (controller) for plugins
6554 unify docs a little more
6556 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
6558 * docs/gst/gstreamer-sections.txt:
6559 * gst/gstutils.c: (element_find_unconnected_pad),
6560 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
6562 Add new API: gst_parse_bin_from_description() and
6563 gst_bin_find_unconnected_pad() (#329069).
6565 2006-02-01 Stefan Kost <ensonic@users.sf.net>
6567 * docs/manual/README:
6568 uncover a nasty detail of the docs build
6570 2006-01-31 Wim Taymans <wim@fluendo.com>
6572 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
6573 Don't cache duration messages if we're not going to use or
6576 2006-01-31 Stefan Kost <ensonic@users.sf.net>
6578 * docs/manual/advanced-dparams.xml:
6579 * docs/pwg/advanced-dparams.xml:
6583 * libs/gst/controller/lib.c: (gst_controller_init):
6586 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
6588 * gst/gstelement.c: (gst_element_message_full):
6589 also show file/line/func if no additional debug was given
6591 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
6593 * win32/vs7/grammar.vcproj:
6594 activate copy of autogenerated files for Release mode
6596 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
6598 * win32/common/libgstreamer.def:
6599 export gst_value_compare
6601 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
6603 * plugins/elements/Makefile.am:
6604 * plugins/elements/gstelements.c:
6605 * plugins/elements/gstfdsink.c: (_do_init),
6606 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
6607 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
6608 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
6609 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
6610 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
6611 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
6612 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
6613 * plugins/elements/gstfdsink.h:
6614 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
6616 2006-01-30 Stefan Kost <ensonic@users.sf.net>
6618 * docs/manual/advanced-dparams.xml:
6620 * docs/manual/advanced-position.xml:
6621 * docs/manual/basics-init.xml:
6622 * docs/manual/manual.xml:
6623 * docs/manual/titlepage.xml:
6625 * docs/pwg/titlepage.xml:
6626 cleanup xml (more to come)
6627 * libs/gst/controller/gstcontroller.c:
6630 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
6632 * win32/vs6/grammar.dsp:
6633 add autogen of gstmarshal.c,h for Release mode
6635 2006-01-30 Wim Taymans <wim@fluendo.com>
6637 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6638 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
6639 (gst_base_sink_handle_object), (gst_base_sink_event),
6640 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
6641 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6642 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
6643 (gst_base_sink_deactivate), (gst_base_sink_activate),
6644 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6645 (gst_base_sink_query), (gst_base_sink_change_state):
6646 Basesink cleanups, remove some old code.
6647 Handle the case where a subclass can preroll in the render
6648 method (mostly audiosinks).
6650 Remove some locks around variables that are now protected
6651 with the PREROLL_LOCK (clock_id, flushing, ..).
6652 Optimize position query some more, do correct locking.
6653 Remove old code to push queue in state change, this is not
6654 needed anymore since preroll blocks on all prerollable items
6656 Almost implemented as described in design doc.
6658 2006-01-30 Wim Taymans <wim@fluendo.com>
6660 * tests/check/gst/gstbin.c: (GST_START_TEST):
6661 Wait for refcount to settle down before checking.
6663 2006-01-30 Wim Taymans <wim@fluendo.com>
6665 * docs/design/part-element-sink.txt:
6666 Pseudo code overview of desired sink behaviour regarding
6669 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6670 * win32/vs6/grammar.dsp:
6671 fix some bugs in Release mode for autogenerated files
6673 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6674 * win32/common/libgstbase.def:
6675 * win32/common/libgstreamer.def:
6676 export some new symbols: gst_base_src_set_format,
6677 gst_iterator_next, gst_structure_set_valist
6679 2006-01-29 Julien MOUTTE <julien@moutte.net>
6681 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6682 Set pad functions unconditionally. Fixes #329105.
6684 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6686 add vs8 project files created by Sergey Scobich
6688 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
6690 * gst/gstutils.c: (gst_element_unlink_pads):
6691 Don't leak pad references.
6693 * tests/check/elements/fakesink.c: (GST_START_TEST):
6694 * tests/check/generic/sinks.c: (GST_START_TEST):
6695 * tests/check/generic/states.c: (GST_START_TEST):
6696 * tests/check/gst/gstbin.c: (GST_START_TEST):
6697 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6698 * tests/check/gst/gstelement.c: (GST_START_TEST):
6699 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6700 * tests/check/gst/gstiterator.c: (GST_START_TEST):
6701 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6702 Fix a bunch of leaks. Make generic/sinks.c
6703 use a bit less cpu by slowing the buffer rate
6704 between fakesrc and fakesink.
6706 2006-01-27 Stefan Kost <ensonic@users.sf.net>
6708 * gst/gstelement.c: (gst_element_send_event):
6711 * gst/gstiterator.c:
6712 * gst/gstiterator.h:
6713 * gst/gstpad.c: (gst_pad_send_event):
6714 * gst/gststructure.c:
6718 * libs/gst/base/gstadapter.c:
6719 doc fixes, to link to function, just write gst_cool_function(), don't
6722 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6724 * plugins/elements/gsttee.c: (gst_tee_do_push),
6725 (gst_tee_handle_buffer):
6726 Always prefer an actual return value from a src
6727 pad in place of NOT_LINKED. This means we return
6728 WRONG_STATE when all src pads are WRONG_STATE
6729 instead of NOT_LINKED.
6731 Lock when replacing the last message to prevent
6732 racing with the get_property method.
6736 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6738 * tests/check/Makefile.am:
6739 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6741 Add a very simple check that should have caught the memleak I fixed
6742 last night (if not for the slice allocator hiding it)
6744 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6746 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6747 (gst_bin_remove_func), (gst_bin_handle_message_func),
6748 (bin_query_duration_fold), (bin_query_generic_fold):
6749 Clean up references to the clock provider when disposed or when
6750 handling a clock-lost message from it.
6752 Unref sinks when performing a query via gst_iterator_fold, as the
6753 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6755 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6756 (gst_clock_set_master):
6757 Drop our reference to the master clock, if any, when we are disposed.
6759 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6760 Chain up in dispose.
6762 2006-01-26 Wim Taymans <wim@fluendo.com>
6764 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6767 2006-01-26 Julien MOUTTE <julien@moutte.net>
6769 * plugins/elements/gsttee.c: (gst_tee_do_push),
6770 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6771 handles pad being NOT_LINKED or in WRONG_STATE.
6773 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6778 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6781 remove obsolete entry
6783 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6785 * docs/gst/gstreamer-sections.txt:
6786 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6787 (gst_bin_iterate_sources), (gst_bin_send_event):
6789 * gst/gstelement.c: (gst_element_send_event):
6791 * gst/gstpad.c: (gst_pad_send_event):
6792 added code for downstream events, reviewed docs in gstevent.c
6794 2006-01-25 Julien MOUTTE <julien@moutte.net>
6796 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6797 We only query position using the clock in the playing state.
6798 Query peer in the other cases.
6799 * win32/common/config.h: Updates.
6801 2006-01-24 Wim Taymans <wim@fluendo.com>
6803 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6804 A clock entry that is scheduled for the exact time of the
6805 clock is still in time.
6807 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6808 (gst_base_sink_do_sync):
6809 Add some more debug info.
6811 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6814 Add new vs7 project files and solution.
6816 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6819 all files removed as they were out-dated.
6821 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6823 * docs/random/release:
6825 * gst/gstbin.c: (gst_bin_init):
6826 * gst/gstbus.c: (gst_bus_new):
6828 * gst/gstpipeline.c: (gst_pipeline_init):
6829 use gst_bus_new(), improve logging, fix docs
6830 * win32/common/config.h:
6831 update for cvs build
6833 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6836 up required version of automake to 1.7
6838 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
6840 * win32/common/libgstreamer.def:
6841 export gst_buffer_is_metadata_writable
6843 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
6845 * docs/gst/gstreamer-sections.txt:
6847 Add gst_event_replace() (#327001)
6849 2006-01-20 Wim Taymans <wim@fluendo.com>
6851 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6852 Make it actually compile too..
6854 2006-01-20 Wim Taymans <wim@fluendo.com>
6857 Clarify behaviour of _is_equal() when passing NULL parameters.
6859 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6861 Cleanups. Don't unref NULL caps.
6862 When setting the same caps, protect caps of the pad with
6864 Use full functionality of _is_equal() when comparing caps.
6866 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6868 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6869 Don't loop infinitely if there are no buffers to present. Partially
6870 fixes #327197, but collectpads is just broken for reusing elements
6871 to do multiple encodes atm.
6873 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6875 * tools/gst-inspect.c: (print_element_features):
6876 * tools/gst-xmlinspect.c: (main):
6877 URL_HANDLER is not a plugin feature we can search for in
6880 2006-01-19 Edward Hervey <edward@fluendo.com>
6882 * gst/gstelement.c: (gst_element_pads_activate):
6883 When activating, do src pads first, then sink pads.
6884 When de-activating, do sink pads first, then src pads.
6886 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6888 * docs/gst/gstreamer-sections.txt:
6889 Add gst_index_add_associationv to the docs
6891 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6896 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6897 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6898 Do some refactoring. Doesn't actually change functionality,
6899 but makes landing the DRAIN event easier later.
6901 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
6903 * docs/pwg/advanced-scheduling.xml:
6904 Update from 0.9.x to 0.10 API and make example a bit
6907 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6909 * docs/gst/gstreamer-sections.txt:
6910 Add gst_buffer_(is|make)_metadata_writable methods.
6912 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6914 * docs/design/part-sparsestreams.txt:
6915 Update sparse streams doc, hopefully for greater clarity
6917 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
6919 * docs/design/part-events.txt:
6920 Remove mention of FILLER events.
6923 * docs/design/part-sparsestreams.txt:
6924 Write some things about using NEWSEGMENT to keep sparse streams
6927 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6929 * gst/gstbin.c: (gst_bin_dispose):
6930 Guard gst_object_unref call against a NULL object (dispose
6931 can theoretically be called multiple times).
6933 2006-01-18 Wim Taymans <wim@fluendo.com>
6935 * gst/gstbin.c: (gst_bin_element_set_state):
6936 * gst/gstclock.c: (gst_clock_id_wait):
6937 Added some more debug info.
6939 * libs/gst/base/gstadapter.c:
6942 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6943 (gst_base_sink_do_sync), (gst_base_sink_chain):
6944 Added some comments.
6946 2006-01-18 Wim Taymans <wim@fluendo.com>
6948 * tests/check/Makefile.am:
6949 * tests/check/elements/fakesink.c: (chain_async_buffer),
6950 (chain_async), (chain_async_return), (GST_START_TEST),
6951 (fakesink_suite), (main):
6952 Added fakesink test that checks prerolling and clipping
6955 * tests/check/gst/gstutils.c: (GST_START_TEST):
6956 Make check run faster so that buildbots don't timeout.
6958 2006-01-18 Wim Taymans <wim@fluendo.com>
6960 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6961 (gst_base_sink_do_sync):
6963 When the sink finishes blocking on the preroll buffer, it can
6964 immediatly render it instead of rendering when the next buffer
6967 2006-01-18 Wim Taymans <wim@fluendo.com>
6969 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6970 (gst_base_sink_get_property), (gst_base_sink_do_sync),
6971 (gst_base_sink_chain):
6973 GST_ELEMENT_CLOCK and sync are protected with LOCK.
6974 Don't store _last_stop if the buffer is dropped.
6976 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6978 * plugins/elements/gsttypefindelement.c:
6979 (gst_type_find_element_class_init):
6980 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6981 object method handler that sets the caps on the pad and we want
6982 that to happen before we emit the signal (fixes e.g. feeding a
6983 plain text file to decodebin).
6985 2006-01-18 Christian Schaller <Christian@fluendo.com>
6987 * gst/gstplugin.c: Add MPL and Proprietary as license options
6989 2006-01-18 Andy Wingo <wingo@pobox.com>
6991 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6992 symbol was exported before, it appears this was just an oversight.
6994 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6996 * gst/gstindex.c (gst_index_add_associationv): Changed int in
6997 prototype to gint. OK since this prototype was not in the header.
6999 2006-01-17 Andy Wingo <wingo@pobox.com>
7001 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
7002 registry while we remove plugins.
7004 * tools/gst-inspect.c (print_element_info): Don't unref the
7005 factory arg, that should be the responsibility of whatever code
7006 received the ref. Fixes a double-free when called from
7007 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
7008 (main): Unref the factory if we have one.
7009 (print_element_list): No change -- relies on the
7010 plugin_feature_list_free to free the list of features.
7012 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
7014 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
7015 (gst_buffer_make_metadata_writable):
7017 * libs/gst/base/gstbasetransform.c:
7018 (gst_base_transform_prepare_output_buf):
7019 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7020 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7021 Replace gst_buffer_(make|is)_metadata_writable patch now
7022 that the release is out.
7024 2006-01-17 Andy Wingo <wingo@pobox.com>
7026 * gst/gstregistry.c: Reflow design comment. Update so as to speak
7027 in the present tense without reference to versions.
7029 * gst/gstregistry.c (gst_registry_add_plugin)
7030 (gst_registry_remove_plugin, gst_registry_remove_feature)
7031 (gst_registry_find_feature, gst_registry_get_feature_list)
7032 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
7033 (gst_registry_lookup, gst_registry_scan_path)
7034 (_gst_registry_remove_cache_plugins)
7035 (gst_registry_get_feature_list_by_plugin): Add argument
7038 === release 0.10.2 ===
7040 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
7043 releasing 0.10.2, "If man is five"
7045 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
7049 * libs/gst/base/gstbasetransform.c:
7050 (gst_base_transform_prepare_output_buf):
7051 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7052 * tests/check/gst/gstbuffer.c: (gst_test_suite):
7053 Back out patch until after the release.
7055 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
7057 * gst/gstminiobject.c:
7058 Spelling fix in docs.
7059 * ChangeLog - remove conflict indicator
7061 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
7063 Reviewed By: Andy Wingo
7065 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
7066 (gst_buffer_make_metadata_writable):
7068 Add gst_buffer_(is|make)_metadata_writable as analogues of
7069 gst_buffer_(is|make)_writable.
7071 * libs/gst/base/gstbasetransform.c:
7072 (gst_base_transform_prepare_output_buf):
7073 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7074 Use name gst_buffer_(is|make)_metadata_writable functions.
7076 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7077 Test gst_buffer_(is|make)_metadata_writable
7081 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
7083 * docs/manual/Makefile.am:
7084 don't do parallel make
7087 * win32/common/config.h.in:
7088 add generations for HOST_CPU and GST_MAJORMINOR
7089 * win32/common/config.h:
7090 commit generated result
7092 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
7094 * docs/manual/appendix-integration.xml:
7095 Update GNOME integration section to use gst_init_get_option_group()
7096 instead of the old popt stuff (#322911). Also, GNOME applications
7097 should now use gconf*sink and gconf*src instead of the old gconf
7100 2006-01-13 Stefan Kost <ensonic@users.sf.net>
7103 * docs/gst/gstreamer-docs.sgml:
7104 * docs/gst/gstreamer-sections.txt:
7105 * docs/libs/gstreamer-libs-sections.txt:
7106 add new API entries to the docs
7107 * libs/gst/controller/Makefile.am:
7108 * libs/gst/controller/gstcontroller.c:
7109 * libs/gst/controller/gstcontroller.h:
7110 * libs/gst/controller/gstcontrollerprivate.h:
7111 * libs/gst/controller/gsthelper.c:
7112 * libs/gst/controller/gstinterpolation.c:
7113 move private structs to private header
7115 gstreamer-0.7 -> gstreamer-0.10
7116 * tests/check/libs/struct_i386.h:
7117 remove private structs
7119 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
7121 * plugins/indexers/Makefile.am:
7122 Fixes as part of #317048
7124 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
7126 * plugins/indexers/Makefile.am:
7127 fix #316086 - compilation when mmap is missing
7129 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
7131 * libs/gst/base/gstbasesink.c:
7132 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
7133 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
7134 * win32/common/config.h:
7135 added some defines GST_MAJORMINOR and HOST_CPU
7136 * win32/common/libgstbase.def:
7137 * win32/common/libgstreamer.def:
7138 added some exported functions.
7140 2006-01-12 Stefan Kost <ensonic@users.sf.net>
7142 * libs/gst/controller/gstcontroller.c:
7143 (gst_controlled_property_set_interpolation_mode),
7144 (gst_controlled_property_new):
7145 * libs/gst/controller/gstcontroller.h:
7146 * libs/gst/controller/gstinterpolation.c:
7147 (interpolate_none_get_string_value_array):
7148 make G_TYPE_STRING controlable
7150 2006-01-12 Stefan Kost <ensonic@users.sf.net>
7153 * tools/gst-feedback.1.in:
7154 * tools/gst-inspect.1.in:
7155 * tools/gst-launch.1.in:
7156 * tools/gst-md5sum.1.in:
7157 * tools/gst-typefind.1.in:
7158 * tools/gst-xmlinspect.1.in:
7159 * tools/gst-xmllaunch.1.in:
7160 cleanup man-pages, remove reference to gst-register, document env-vars
7162 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
7164 * gst/gstbuffer.c: (gst_buffer_span):
7165 gst_buffer_span should copy the timestamp of the first buffer
7166 if they were both originally overlapping subbuffers of the
7167 same parent, using the same logic as the 'slow copy' case.
7169 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
7171 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
7172 Need to awaken ALL the pads when we pop a buffer, otherwise
7173 collectpads only works when there is 2 input streams.
7175 2006-01-11 Stefan Kost <ensonic@users.sf.net>
7177 * docs/random/ensonic/media-device-daemon.txt:
7180 fix doc example, add clarification
7181 * tools/gst-launch.1.in:
7182 add initial info about GST_PLUGIN_PATH, needs more work
7184 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
7186 * docs/manual/basics-bins.xml:
7187 * docs/manual/basics-elements.xml:
7188 * docs/manual/intro-basics.xml:
7189 Some more minor docs additions and updates.
7191 2006-01-11 Wim Taymans <wim@fluendo.com>
7193 * docs/manual/basics-bins.xml:
7194 * docs/manual/basics-elements.xml:
7195 Some small fixes as pointed out by Ser-ver on IRC.
7197 2006-01-10 Edward Hervey <edward@fluendo.com>
7199 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7200 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
7201 the single-segment mode.
7203 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
7205 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7207 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
7208 (gst_base_src_perform_seek), (gst_base_src_send_event),
7209 (gst_base_src_set_property), (gst_base_src_get_property),
7210 (gst_base_src_loop), (gst_base_src_start),
7211 (gst_base_src_activate_push):
7212 * libs/gst/base/gstbasesrc.h:
7213 Name (private) union; makes Sun's Forte compiler happy (#324900).
7215 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
7218 gst-register is gone.
7220 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
7222 * gst/gstvalue.c: (_gst_value_initialize):
7223 make the G_TYPE_DATE instantiation work if debug is disabled
7225 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
7227 * gst/gstmessage.c: (gst_message_parse_tag),
7228 (gst_message_parse_error), (gst_message_parse_warning):
7229 Don't crash when return location for error/warning debug
7230 string is NULL; add fact that return locations can be
7231 NULL to docs where appropriate.
7233 2006-01-05 Wim Taymans <wim@fluendo.com>
7235 * gst/gstplugin.c: (gst_plugin_load_file):
7236 Replace strdup by g_strdup.
7238 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
7240 * docs/pwg/advanced-types.xml:
7243 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
7245 submitted by: Abel Cheung
7249 Added Chinese (traditional) translation
7251 2006-01-04 Wim Taymans <wim@fluendo.com>
7253 * docs/manual/basics-pads.xml:
7254 * docs/plugins/Makefile.am:
7255 * docs/plugins/gstreamer-plugins-docs.sgml:
7256 * docs/plugins/gstreamer-plugins-sections.txt:
7257 * docs/pwg/advanced-clock.xml:
7258 * docs/pwg/advanced-scheduling.xml:
7259 * docs/pwg/advanced-types.xml:
7260 * plugins/elements/gstfdsink.c:
7261 * plugins/elements/gstfdsrc.c:
7262 * plugins/elements/gstfdsrc.h:
7263 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7264 * plugins/elements/gstidentity.h:
7265 * plugins/elements/gstqueue.h:
7266 * plugins/elements/gsttee.c:
7267 * plugins/elements/gsttee.h:
7268 * plugins/elements/gsttypefindelement.c:
7269 (gst_type_find_element_class_init):
7270 * plugins/elements/gsttypefindelement.h:
7271 Small updates to various docs.
7272 Added core plugins to docs.
7274 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7277 add a suppression for liboil's uninitialized variable
7279 2006-01-02 James Livingston <jrl at ids dot org dot au>
7281 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7284 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
7285 macro, so that gcc doesn't complain if the -Wmissing-prototypes
7286 compiler switch is being used (#325429).
7288 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
7290 * gst/gstbin.c: (gst_bin_query):
7291 Disable duration query caching in bins until it gets
7292 fixed (see #324807).
7294 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
7296 * tools/gst-inspect.c: (print_element_properties_info):
7297 Handle properties of POINTER and BOXED type.
7299 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
7301 * gst/gst.c: (init_post):
7302 Init tags stuff and some other things before loading
7303 any static plugins (there may be other static plugins
7304 than just the GStreamer ones, and they may want to
7305 register their own tags or formats or whatever, and
7306 preferably without segfaulting).
7308 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7309 Print at least a warning in the debug logs if we drop a
7310 query just because we don't know how to adjust the value
7311 in the particular format.
7313 2005-12-24 David Schleef <ds@schleef.org>
7315 * tools/gstreamer-completion:
7316 Replacement for gst-complete written in sh and sed. Only
7317 completes names of features, but that's 90% of what I want
7318 it for. Properties are not available in registry.xml. (Maybe
7321 === release 0.10.1 ===
7323 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
7326 releasing 0.10.1, "Nollaig chridheil"
7328 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
7331 Add missing quote, should be make ERROR_CFLAGS="".
7333 2005-12-20 Wim Taymans <wim@fluendo.com>
7335 * docs/design/part-trickmodes.txt:
7336 More documentation on trickmodes.
7338 2005-12-20 Edward Hervey <edward@fluendo.com>
7340 * gst/gstcaps.c: (gst_static_caps_get_type):
7342 API addition: GST_TYPE_STATIC_CAPS
7343 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
7344 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
7345 * gst/gstpadtemplate.h:
7346 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
7347 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
7350 2005-12-18 Wim Taymans <wim@fluendo.com>
7352 * libs/gst/base/gstadapter.c:
7353 * libs/gst/base/gstadapter.h:
7354 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7355 (gst_base_sink_get_position):
7356 * libs/gst/base/gstbasesink.h:
7357 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7358 (gst_base_src_default_query), (gst_base_src_default_do_seek),
7359 (gst_base_src_do_seek), (gst_base_src_perform_seek),
7360 (gst_base_src_send_event), (gst_base_src_update_length),
7361 (gst_base_src_get_range), (gst_base_src_loop),
7362 (gst_base_src_start):
7363 * libs/gst/base/gstbasesrc.h:
7364 * libs/gst/base/gstbasetransform.h:
7365 * libs/gst/base/gstcollectpads.h:
7366 * libs/gst/base/gstpushsrc.c:
7367 * libs/gst/base/gstpushsrc.h:
7368 * libs/gst/dataprotocol/dataprotocol.c:
7369 * libs/gst/dataprotocol/dataprotocol.h:
7370 * libs/gst/net/gstnetclientclock.h:
7371 * libs/gst/net/gstnettimeprovider.h:
7372 Documentation updates.
7374 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
7376 * docs/manual/basics-helloworld.xml:
7377 Remove superfluous closing bracket in helloworld example.
7379 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
7381 * tools/gst-launch.1.in:
7382 Update gst-launch man page; add a section with useful
7383 environment variables. Fixes #323882.
7385 2005-12-16 Stefan Kost <ensonic@users.sf.net>
7388 * gst/gst_private.h:
7389 change some char* into char[]
7391 2005-12-16 Wim Taymans <wim@fluendo.com>
7393 * gst/gstregistryxml.c: (load_feature):
7395 Don't use g_object_unref on GstObjects so that we avoid
7396 leaks on unsafe glibs.
7398 2005-12-16 Wim Taymans <wim@fluendo.com>
7400 * gst/gstbin.c: (gst_bin_recalc_state):
7403 2005-12-16 Wim Taymans <wim@fluendo.com>
7406 Added make forever target for check.
7408 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
7410 * gst/gst.c: (init_post):
7411 make the registry cache file HOST_CPU-dependent
7413 2005-12-16 Andy Wingo <wingo@pobox.com>
7415 * plugins/elements/gstbufferstore.c
7416 (gst_buffer_store_cleared_func): Pay attention to g_list_append
7419 * tests/check/gst/gstobject.c
7420 (test_fake_object_name_threaded_unique): Pay attention to
7421 g_list_sort return value.
7423 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
7425 * tools/gst-feedback-m.m:
7426 Update for 0.9/0.10 (fixes #323870).
7428 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
7430 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
7431 Fix lcopy for mini objects, the mini object needs to be ref'ed.
7433 * tests/check/gst/gstminiobject.c: (my_foo_init),
7434 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
7435 (test_value_collection), (gst_mini_object_suite):
7436 Add test to ensure refcounts end up as expected when passing
7437 GstMiniObjects through g_object_get() and g_object_set().
7439 2005-12-14 Julien MOUTTE <julien@moutte.net>
7441 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7442 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
7443 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
7444 of collectpads. This version removes a lot of races without
7445 touching API/ABI. Yay !
7447 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
7449 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
7450 Don't allow activation of a srcpad in pull_range if it has no
7452 Change some debug statements to be a little clearer
7454 * plugins/elements/gsttypefindelement.c:
7455 (gst_type_find_handle_src_query):
7456 Check that we have a peer before executing queries thereupon.
7458 * tests/examples/metadata/read-metadata.c: (message_loop):
7459 Use gst_bus_pop instead of gst_bus_poll when we just want it to
7460 immediately return us any available message with 0 timeout.
7462 2005-12-12 Michael Smith <msmith@fluendo.com>
7464 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7465 Don't unref factories after calling them.
7466 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
7467 * plugins/elements/gsttypefindelement.c:
7468 (gst_type_find_element_chain):
7469 Free lists of factories after using them. Fixing typefinding memory
7472 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7474 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7475 (gst_plugin_feature_load):
7476 more meaningful debug output
7478 * tests/Makefile.am:
7479 * tests/old/examples/Makefile.am:
7480 make make distcheck happy again
7482 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
7484 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7485 Catch the special case where we are operating chain-based,
7486 but the downstream peer pad has no chain function. Emit a
7487 custom error message in this case instead of letting the
7488 core generate one implying that this is some sort of core
7489 bug. It's not, it just means that whatever got plugged
7490 into the pipeline downstream when we announced the type
7491 can only operate pull-based, while our source can only
7492 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
7493 Error string has not been marked for translation yet, as
7494 it probably needs some more work first.
7496 (gst_type_find_element_get_best_possibility):
7497 Add helper function to find the best of all available
7498 found possibilities that qualify given the min. threshold.
7500 (gst_type_find_element_handle_event):
7501 Fix the case where we get an EOS while still in TYPEFIND
7502 mode (we want to chose the best of all possible types,
7503 not just the first type that happens to be in our unsorted
7504 list of possible types).
7506 (gst_type_find_element_chain):
7507 Make sure we return GST_FLOW_ERROR when we errored out
7508 in stop_typefinding(); also, don't just find the best of
7509 all found type entries and then use the last examined
7510 type entry, but actually use the best entry.
7512 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
7514 * tests/examples/typefind/typefind.c: (type_found):
7515 * tests/examples/xml/runxml.c: (xml_loaded):
7516 More gcc4 fixes and a mem leak fix.
7518 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7520 * tests/examples/xml/createxml.c: (object_saved):
7523 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7525 * tests/Makefile.am:
7526 enable the examples even more
7528 2005-12-12 Andy Wingo <wingo@pobox.com>
7530 * libs/gst/net/gstnettimeprovider.c
7531 (gst_net_time_provider_class_init, gst_net_time_provider_init)
7532 (gst_net_time_provider_set_property)
7533 (gst_net_time_provider_get_property):
7534 API addition: Export "active" as a GObject property.
7535 (gst_net_time_provider_thread): Only respond to time queries if
7536 the time provider is active.
7538 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
7539 NetTimeProvider, preserving binary compat.
7541 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7543 * tests/examples/controller/audio-example.c: (main):
7544 * tests/examples/launch/Makefile.am:
7545 convert comments again
7547 2005-12-12 Wim Taymans <wim@fluendo.com>
7549 * libs/gst/base/gstpushsrc.c:
7552 2005-12-12 Wim Taymans <wim@fluendo.com>
7554 * docs/libs/gstreamer-libs-sections.txt:
7555 Added new symbol to docs.
7557 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7558 (gst_base_src_init), (gst_base_src_set_format),
7559 (gst_base_src_default_query), (gst_base_src_query),
7560 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
7561 (gst_base_src_perform_seek), (gst_base_src_send_event),
7562 (gst_base_src_default_event), (gst_base_src_event_handler),
7563 (gst_base_src_set_property), (gst_base_src_get_property),
7564 (gst_base_src_wait), (gst_base_src_do_sync),
7565 (gst_base_src_update_length), (gst_base_src_get_range),
7566 (gst_base_src_check_get_range), (gst_base_src_loop),
7567 (gst_base_src_default_negotiate), (gst_base_src_start),
7568 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7569 (gst_base_src_change_state):
7570 * libs/gst/base/gstbasesrc.h:
7571 Implement seeking to other formats than _BYTES.
7572 Implement more seeking methods correctly.
7574 Added query vmethod.
7575 Added do_seek vmethod to make life easier for subclasses
7577 API addition: gst_base_src_set_format()
7579 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7581 * tests/examples/Makefile.am:
7584 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7587 * docs/random/ensonic/media-device-daemon.txt:
7588 * tests/examples/controller/.cvsignore:
7589 * tests/examples/controller/Makefile.am:
7590 * tests/examples/controller/audio-example.c: (main):
7591 * tests/examples/helloworld/.cvsignore:
7592 * tests/examples/helloworld/Makefile.am:
7593 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
7594 * tests/examples/launch/.cvsignore:
7595 * tests/examples/launch/Makefile.am:
7596 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
7597 * tests/examples/metadata/.cvsignore:
7598 * tests/examples/metadata/Makefile.am:
7599 * tests/examples/metadata/read-metadata.c: (message_loop),
7600 (make_pipeline), (print_tag), (main):
7601 * tests/examples/queue/.cvsignore:
7602 * tests/examples/queue/Makefile.am:
7603 * tests/examples/queue/queue.c: (event_loop), (main):
7604 * tests/examples/typefind/.cvsignore:
7605 * tests/examples/typefind/Makefile.am:
7606 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
7608 * tests/examples/xml/.cvsignore:
7609 * tests/examples/xml/Makefile.am:
7610 * tests/examples/xml/createxml.c: (object_saved), (main):
7611 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
7612 * tests/old/examples/Makefile.am:
7613 * tests/old/examples/TODO:
7614 * tests/old/examples/controller/.cvsignore:
7615 * tests/old/examples/controller/Makefile.am:
7616 * tests/old/examples/controller/audio-example.c:
7617 * tests/old/examples/helloworld/.cvsignore:
7618 * tests/old/examples/helloworld/Makefile.am:
7619 * tests/old/examples/helloworld/helloworld.c:
7620 * tests/old/examples/launch/.cvsignore:
7621 * tests/old/examples/launch/Makefile.am:
7622 * tests/old/examples/launch/mp3parselaunch.c:
7623 * tests/old/examples/launch/mp3play:
7624 * tests/old/examples/manual/Makefile.am:
7625 * tests/old/examples/metadata/Makefile.am:
7626 * tests/old/examples/metadata/read-metadata.c:
7627 * tests/old/examples/queue/.cvsignore:
7628 * tests/old/examples/queue/Makefile.am:
7629 * tests/old/examples/queue/queue.c:
7630 * tests/old/examples/typefind/.cvsignore:
7631 * tests/old/examples/typefind/Makefile.am:
7632 * tests/old/examples/typefind/typefind.c:
7633 * tests/old/examples/xml/.cvsignore:
7634 * tests/old/examples/xml/Makefile.am:
7635 * tests/old/examples/xml/createxml.c:
7636 * tests/old/examples/xml/runxml.c:
7637 applied some simple fixing to some examples
7638 re-enabled the working examples
7640 2005-12-12 Wim Taymans <wim@fluendo.com>
7642 * gst/gstsegment.c: (gst_segment_init),
7643 (gst_segment_set_last_stop), (gst_segment_set_seek),
7644 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7645 (gst_segment_to_running_time):
7646 Added more documentation.
7647 Make sure the last_pos value is updated properly.
7648 Make sure to_stream_time and to_running_time don't
7649 operate on wrong values.
7651 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7654 2005-12-12 Michael Smith <msmith@fluendo.com>
7656 * plugins/elements/gsttypefindelement.c: (free_entry),
7657 (gst_type_find_element_chain):
7658 Now that we're not leaking factories, make sure we keep references
7659 to them while we need them.
7661 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
7663 * tests/check/gst/struct_i386.h:
7664 ifdef out the XML structs
7666 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
7668 * gst/gstvalue.c: (gst_value_transform_double_fraction):
7669 floor is not needed, F is always positive; this obviates the
7670 need for adding -lm when building without libxml
7672 2005-12-12 Wim Taymans <wim@fluendo.com>
7674 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7675 Take current playback rate into account when reporting
7678 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7680 * docs/manual/mime-world.fig:
7681 Let's try this again, this time with a file that is
7682 actually in XFig format.
7684 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7686 * docs/manual/mime-world.fig:
7687 Add audioconvert element to diagram so that it
7688 matches the text and the code (fixes #319526).
7690 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7692 * docs/pwg/building-chainfn.xml:
7693 * docs/pwg/building-pads.xml:
7694 * docs/pwg/building-state.xml:
7695 * docs/pwg/other-source.xml:
7696 Update state change stuff for 0.10 (fixes #322969).
7698 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7700 * docs/manual/advanced-dataaccess.xml:
7701 * docs/manual/appendix-checklist.xml:
7702 * docs/manual/appendix-programs.xml:
7703 * docs/manual/basics-pads.xml:
7704 * docs/manual/highlevel-components.xml:
7705 * docs/manual/manual.xml:
7706 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
7707 add converters in front of pipelines; remove curly
7708 brackets for threads stuff, they no longer exist; use
7709 GST_TYPE_FRACTION for framerates; update some pieces of
7710 code to 0.10, but there's plenty more to do.
7712 * docs/manual/appendix-porting.xml:
7713 Expand on asynchroneous state changes; s/0.9/0.10/;
7714 mention disappearance of gst_init_get_popt_table()
7717 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7719 * docs/faq/using.xml:
7720 Spider no longer exists, and neither does gst-launch-ext.
7721 Update examples to use decodebin and playbin and put
7722 converters in front of sinks (fixes #323726).
7724 2005-12-09 Michael Smith <msmith@fluendo.com>
7726 * plugins/elements/gsttypefindelement.c: (find_peek),
7727 (gst_type_find_element_chain):
7728 Fix leaking element factories in typefinding.
7729 Fix problem where we forgot about a probable type on non-seekable
7730 files, and thus later mis-typefound it.
7732 2005-12-09 Michael Smith <msmith@fluendo.com>
7734 * common/m4/gst-makecontext.m4:
7735 * common/m4/gst-mcsc.m4:
7737 * win32/common/config.h:
7738 * win32/common/config.h.in:
7739 Remove makecontext stuff; not used in 0.10 and causes problems on
7740 HPUX according to bug #322441
7742 2005-12-07 Wim Taymans <wim@fluendo.com>
7744 * tests/check/Makefile.am:
7745 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7747 * tests/check/libs/struct_i386.h:
7748 Added ABI check for libs
7750 2005-12-07 Wim Taymans <wim@fluendo.com>
7752 * tests/check/Makefile.am:
7753 And add the struct_i386.h to dist.
7755 2005-12-07 Wim Taymans <wim@fluendo.com>
7757 * tests/check/Makefile.am:
7758 * tests/check/gst/.cvsignore:
7759 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7761 * tests/check/gst/struct_i386.h:
7762 Added check for ABI compatibility.
7764 2005-12-07 Wim Taymans <wim@fluendo.com>
7766 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7767 (gst_fake_src_get_times), (gst_fake_src_create):
7768 Fix broken sync option, fixes #323259
7770 2005-12-07 Wim Taymans <wim@fluendo.com>
7775 * gst/gstcaps.c: (gst_caps_is_equal):
7776 Don't assert on NULL <--> X. Fixes #323260
7778 * gst/gstminiobject.c: (gst_mini_object_replace):
7779 If we're doing atomic operations, we might just as well use
7780 the proper way to get an atomic pointer.
7782 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7785 2005-12-07 Michael Smith <msmith@fluendo.com>
7787 * gst/parse/grammar.y:
7788 Remove handling of { } for threads.
7790 2005-12-06 David Schleef <ds@schleef.org>
7792 * libs/gst/base/gstbasetransform.c: speling fix.
7794 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
7796 * docs/libs/tmpl/gstdataprotocol.sgml:
7797 * docs/random/omega/testing/gstobject.c:
7801 * gst/gstelementfactory.c:
7804 * gst/gstghostpad.c:
7806 * gst/gstpadtemplate.c:
7807 * gst/gstregistryxml.c:
7809 * gst/gsttagsetter.c:
7810 * gst/gsttypefind.c:
7812 * libs/gst/base/gstbasesrc.c:
7813 * libs/gst/net/gstnetclientclock.c:
7814 * libs/gst/net/gstnettimeprovider.c:
7815 * plugins/elements/gstfakesrc.c:
7816 * plugins/elements/gstfdsrc.c:
7817 * plugins/elements/gstfilesrc.c:
7818 * plugins/elements/gstidentity.c:
7819 * plugins/elements/gstqueue.c:
7820 * plugins/elements/gsttypefindelement.c:
7821 * plugins/indexers/gstfileindex.c:
7822 * plugins/indexers/gstmemindex.c:
7823 * tests/check/gst/gsttag.c:
7824 * tests/old/examples/cutter/cutter.c:
7825 * tests/old/examples/mixer/mixer.c:
7826 * tests/old/examples/xml/runxml.c: (main):
7827 * tests/old/testsuite/caps/normalisation.c:
7828 * tests/old/testsuite/debug/global.c:
7829 * tests/old/testsuite/parse/parse1.c:
7830 * tools/gst-xmlinspect.c:
7831 * win32/common/dirent.c:
7834 === release 0.10.0 ===
7836 2005-12-05 <thomas (at) apestaart (dot) org>
7839 releasing 0.10.0, "Maroilles"
7841 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7843 submitted by: Funda Wang <fundawang@linux.net.cn>
7847 added Chinese (Traditional) translation
7849 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7851 * docs/gst/gstreamer-sections.txt:
7852 * docs/libs/tmpl/gstdataprotocol.sgml:
7853 * docs/random/thomasvs/TODO:
7858 2005-12-05 Andy Wingo <wingo@pobox.com>
7860 patch by: Wim Taymans <wim@fluendo.com>
7862 * libs/gst/base/gstbasetransform.c
7863 (gst_base_transform_prepare_output_buf)
7864 (gst_base_transform_buffer_alloc):
7865 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7866 alloc_buffer_and_set_caps.
7868 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7869 set_caps on the source pad.
7870 (gst_pad_alloc_buffer_and_set_caps): New function, does what
7871 alloc_buffer used to do. Fixes #322874.
7873 * docs/gst/gstreamer-sections.txt:
7874 * docs/design/part-negotiation.txt:
7875 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7878 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7880 patch by: Sebastien Moutte
7883 * win32/common/config.h.in:
7884 * win32/vs6/libgstcontroller.dsp:
7887 2005-12-05 Wim Taymans <wim@fluendo.com>
7889 * gst/gstcaps.c: (gst_caps_is_equal):
7890 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7891 (gst_fake_src_create):
7892 Back out previous code changes, leave doc updates, file bugs
7895 2005-12-05 Wim Taymans <wim@fluendo.com>
7897 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7898 (gst_fake_src_get_times), (gst_fake_src_create):
7899 * plugins/elements/gstfakesrc.h:
7900 Fix broken sync code.
7902 2005-12-05 Wim Taymans <wim@fluendo.com>
7904 * gst/gstcaps.c: (gst_caps_is_equal):
7905 Comparing NULL against !NULL yields different caps, not a
7908 2005-12-05 Wim Taymans <wim@fluendo.com>
7910 * gst/gstpipeline.c:
7911 Fix small typo in docs.
7913 2005-12-05 Andy Wingo <wingo@pobox.com>
7915 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
7917 * gst/gst.c (init_post): remove hard-coded 0.9 location for
7918 registries/plugins with a MAJORMINOR one.
7919 (plugin_desc): Rename library from gstcoreleements to
7920 staticelements. Fixes #323222.
7922 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
7924 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7925 Change debug category to 'collectpads' from 'collect_pads'
7928 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7930 patch by: Sebastien Moutte
7932 * libs/gst/controller/gstinterpolation.c:
7933 use convert function for uint64/double
7934 * win32/vs6/libgstcontroller.dsp:
7937 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7939 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7940 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7942 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7943 add tests that seem to show that the guint64/gdouble conversions
7946 2005-12-02 Wim Taymans <wim@fluendo.com>
7948 * gst/gstregistry.c: (gst_registry_add_path):
7949 * gst/gstregistry.h:
7950 * gst/gstregistryxml.c:
7953 2005-12-02 Wim Taymans <wim@fluendo.com>
7955 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7956 (gst_util_uint64_scale_int):
7959 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7962 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7965 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7968 * win32/common/config.h:
7969 * win32/vs6/gstreamer.dsw:
7970 * win32/vs6/libgstcoreelements.dsp:
7971 * win32/vs6/libgstelements.dsp:
7972 renamed core elements plugin
7974 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7976 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7978 do piece-wise major/minor comparison so 0.9 < 0.10
7979 also allow .exe extensions for tools
7981 2005-12-02 Michael Smith <msmith@fluendo.com>
7984 Escape a % to make gtkdoc happier; bug 322958.
7986 === release 0.9.7 ===
7988 2005-12-01 <thomas (at) apestaart (dot) org>
7991 releasing 0.9.7, "My Dog Has No Nose"
7993 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7995 * common/gst-xmlinspect.py:
7997 * docs/libs/tmpl/gstdataprotocol.sgml:
7998 * docs/random/release:
8017 * win32/common/config.h:
8018 * win32/common/config.h.in:
8019 * win32/vs6/gst_inspect.dsp:
8020 * win32/vs6/gst_launch.dsp:
8021 * win32/vs6/libgstbase.dsp:
8022 * win32/vs6/libgstelements.dsp:
8023 * win32/vs6/libgstreamer.dsp:
8024 * win32/vs7/GStreamer.vcproj:
8025 * win32/vs7/gst-inspect.vcproj:
8026 * win32/vs7/gst-launch.vcproj:
8027 * win32/vs7/libgstbase.vcproj:
8028 bump GST_MAJORMINOR to 0.10
8029 reset libtool version
8031 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8035 Added Bulgarian translation by (Alexander Shopov)
8037 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8039 * tests/check/gst/gstplugin.c:
8042 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8044 * common/gst-xmlinspect.py:
8045 * common/gtk-doc-plugins.mak:
8048 * docs/gst/Makefile.am:
8049 * docs/gst/gstreamer-docs.sgml:
8050 * docs/gst/gstreamer-sections.txt:
8051 * docs/gst/gstreamer.types:
8052 * docs/gst/gstreamer.types.in:
8053 * docs/plugins/Makefile.am:
8054 * docs/plugins/gstreamer-plugins-docs.sgml:
8055 * docs/plugins/gstreamer-plugins-sections.txt:
8056 * docs/plugins/gstreamer-plugins.types:
8057 * docs/plugins/inspect.stamp:
8058 * docs/plugins/inspect/plugin-coreelements.xml:
8059 * docs/plugins/inspect/plugin-coreindexers.xml:
8060 * docs/plugins/scanobj-build.stamp:
8061 * gstreamer.spec.in:
8062 * plugins/elements/Makefile.am:
8063 * plugins/elements/gstelements.c:
8064 * plugins/elements/gstfakesink.c:
8065 * plugins/elements/gstfakesrc.c:
8066 * plugins/elements/gstfilesink.c:
8067 * plugins/elements/gstfilesrc.c:
8068 * plugins/elements/gstqueue.c:
8069 * plugins/indexers/Makefile.am:
8070 * plugins/indexers/gstindexers.c:
8071 document core plugins in a separate document just like all the
8073 rename these plugins to something starting with core
8075 2005-12-01 Andy Wingo <wingo@pobox.com>
8077 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
8078 padding here before, but it missed the commit.
8080 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
8082 * libs/gst/controller/gstinterpolation.c:
8083 whitespace prices have crashed, we should feel free to use some now
8084 use gst_guint64_to_gdouble
8086 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
8088 * libs/gst/controller/gstcontroller.c:
8089 * libs/gst/controller/gsthelper.c:
8090 * libs/gst/controller/gstinterpolation.c:
8091 * libs/gst/controller/lib.c:
8092 wrap config.h include
8094 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
8096 * docs/gst/gstreamer-sections.txt:
8099 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
8101 * plugins/elements/gstelements.c:
8102 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
8103 (gst_fd_sink__class_init), (gst_fd_sink__init),
8104 (gst_fd_sink__chain), (gst_fd_sink__set_property),
8105 (gst_fd_sink__get_property):
8106 * plugins/elements/gstfdsink.h:
8107 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
8108 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
8109 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
8110 (gst_fd_src_unlock), (gst_fd_src_set_property),
8111 (gst_fd_src_get_property), (gst_fd_src_create),
8112 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
8113 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
8114 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
8115 (gst_fd_src_uri_handler_init):
8116 * plugins/elements/gstfdsrc.h:
8117 * plugins/elements/gstqueue.c: (gst_queue_get_type):
8120 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8122 * docs/gst/Makefile.am:
8123 * docs/gst/gstreamer.types.in:
8127 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8133 * gst/gstregistry.h:
8134 * tests/benchmarks/complexity.c:
8135 * tests/benchmarks/mass-elements.c:
8136 * tests/check/Makefile.am:
8137 * tools/Makefile.am:
8138 * tools/gst-inspect.c:
8139 * tools/gst-xmlinspect.c:
8140 various fixes to make
8141 --disable-nls --disable-registry --disable-loadsave
8142 --disable-parse --disable-gst-debug
8143 work and get the core .so down to 360444 bytes after stripping
8145 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8150 * docs/random/thomasvs/TODO:
8151 * tests/Makefile.am:
8155 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8157 * win32/GStreamer.vcproj:
8160 * win32/Makefile.inspect:
8161 * win32/Makefile.launch:
8162 * win32/Makefile.register:
8164 * win32/gst-inspect.vcproj:
8165 * win32/gst-launch.vcproj:
8166 * win32/gst-register.vcproj:
8167 * win32/gstelements.vcproj:
8168 * win32/gstgetbits.def:
8169 * win32/gstgetbits.vcproj:
8170 * win32/gstreamer-dbg.def:
8171 * win32/gstreamer.def:
8172 * win32/libgstbase.def:
8173 * win32/libgstbase.vcproj:
8174 * win32/link_oldruntime.c:
8179 move even more stuff, win32/ is nice and clean now
8181 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8183 * libs/gst/control/.cvsignore:
8188 * win32/gstbytestream.def:
8189 * win32/gstbytestream.vcproj:
8190 * win32/gstconfig.h:
8191 * win32/gstenumtypes.c:
8192 * win32/gstenumtypes.h:
8193 * win32/gstoptimalscheduler.vcproj:
8194 * win32/gstversion.h:
8196 * win32/testsuite/bins.vcproj:
8197 * win32/testsuite/bytestream.vcproj:
8198 * win32/testsuite/caps.vcproj:
8199 * win32/testsuite/cleanup.vcproj:
8200 * win32/testsuite/clock.vcproj:
8201 * win32/testsuite/debug.vcproj:
8202 * win32/testsuite/dlopen.vcproj:
8203 * win32/testsuite/dynparams.vcproj:
8204 * win32/testsuite/elements.vcproj:
8205 * win32/testsuite/ghostpads.vcproj:
8206 * win32/testsuite/indexers.vcproj:
8207 * win32/testsuite/negotiation.vcproj:
8208 * win32/testsuite/parse.vcproj:
8209 * win32/testsuite/plugin.vcproj:
8210 * win32/testsuite/refcounting.vcproj:
8211 * win32/testsuite/schedulers.vcproj:
8212 * win32/testsuite/states.vcproj:
8213 * win32/testsuite/tags.vcproj:
8214 * win32/testsuite/threads.vcproj:
8215 remove old win32 stuff that isn't maintained and should be
8218 2005-11-30 Andy Wingo <wingo@pobox.com>
8220 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
8221 loading the gst.interfaces python module bork.
8223 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
8224 available since GLib 2.2. Fixes #318031.
8226 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8230 * check/Makefile.am:
8231 * check/elements/.cvsignore:
8232 * check/elements/fakesrc.c:
8233 * check/elements/fdsrc.c:
8234 * check/elements/identity.c:
8235 * check/generic/.cvsignore:
8236 * check/generic/states.c:
8237 * check/gst-libs/.cvsignore:
8238 * check/gst-libs/controller.c:
8239 * check/gst-libs/gdp.c:
8240 * check/gst/.cvsignore:
8241 * check/gst/capslist.h:
8243 * check/gst/gstbin.c:
8244 * check/gst/gstbuffer.c:
8245 * check/gst/gstbus.c:
8246 * check/gst/gstcaps.c:
8247 * check/gst/gstelement.c:
8248 * check/gst/gstevent.c:
8249 * check/gst/gstghostpad.c:
8250 * check/gst/gstiterator.c:
8251 * check/gst/gstmessage.c:
8252 * check/gst/gstminiobject.c:
8253 * check/gst/gstobject.c:
8254 * check/gst/gstpad.c:
8255 * check/gst/gstpipeline.c:
8256 * check/gst/gstplugin.c:
8257 * check/gst/gstsegment.c:
8258 * check/gst/gststructure.c:
8259 * check/gst/gstsystemclock.c:
8260 * check/gst/gsttag.c:
8261 * check/gst/gstutils.c:
8262 * check/gst/gstvalue.c:
8263 * check/net/.cvsignore:
8264 * check/net/gstnetclientclock.c:
8265 * check/net/gstnettimeprovider.c:
8266 * check/pipelines/.cvsignore:
8267 * check/pipelines/cleanup.c:
8268 * check/pipelines/simple_launch_lines.c:
8269 * check/pipelines/stress.c:
8270 * check/states/.cvsignore:
8271 * check/states/sinks.c:
8273 * examples/Makefile.am:
8274 * examples/appreader/.cvsignore:
8275 * examples/appreader/Makefile.am:
8276 * examples/appreader/appreader.c:
8277 * examples/controller/.cvsignore:
8278 * examples/controller/Makefile.am:
8279 * examples/controller/audio-example.c:
8280 * examples/cutter/.cvsignore:
8281 * examples/cutter/Makefile.am:
8282 * examples/cutter/cutter.c:
8283 * examples/cutter/cutter.h:
8284 * examples/events/Makefile.am:
8285 * examples/events/seek.c:
8286 * examples/helloworld/.cvsignore:
8287 * examples/helloworld/Makefile.am:
8288 * examples/helloworld/helloworld.c:
8289 * examples/helloworld2/.cvsignore:
8290 * examples/helloworld2/Makefile.am:
8291 * examples/helloworld2/helloworld2.c:
8292 * examples/launch/.cvsignore:
8293 * examples/launch/Makefile.am:
8294 * examples/launch/mp3parselaunch.c:
8295 * examples/launch/mp3play:
8296 * examples/manual/.cvsignore:
8297 * examples/manual/Makefile.am:
8298 * examples/manual/extract.pl:
8299 * examples/metadata/Makefile.am:
8300 * examples/metadata/read-metadata.c:
8301 * examples/mixer/.cvsignore:
8302 * examples/mixer/Makefile.am:
8303 * examples/mixer/mixer.c:
8304 * examples/mixer/mixer.h:
8305 * examples/pingpong/.cvsignore:
8306 * examples/pingpong/Makefile.am:
8307 * examples/pingpong/pingpong.c:
8308 * examples/plugins/.cvsignore:
8309 * examples/plugins/Makefile.am:
8310 * examples/plugins/example.c:
8311 * examples/plugins/example.h:
8312 * examples/pwg/.cvsignore:
8313 * examples/pwg/Makefile.am:
8314 * examples/pwg/extract.pl:
8315 * examples/queue/.cvsignore:
8316 * examples/queue/Makefile.am:
8317 * examples/queue/queue.c:
8318 * examples/queue2/.cvsignore:
8319 * examples/queue2/Makefile.am:
8320 * examples/queue2/queue2.c:
8321 * examples/queue3/.cvsignore:
8322 * examples/queue3/Makefile.am:
8323 * examples/queue3/queue3.c:
8324 * examples/queue4/.cvsignore:
8325 * examples/queue4/Makefile.am:
8326 * examples/queue4/queue4.c:
8327 * examples/retag/.cvsignore:
8328 * examples/retag/Makefile.am:
8329 * examples/retag/retag.c:
8330 * examples/retag/transcode.c:
8331 * examples/thread/.cvsignore:
8332 * examples/thread/Makefile.am:
8333 * examples/thread/thread.c:
8334 * examples/typefind/.cvsignore:
8335 * examples/typefind/Makefile.am:
8336 * examples/typefind/typefind.c:
8337 * examples/xml/.cvsignore:
8338 * examples/xml/Makefile.am:
8339 * examples/xml/createxml.c:
8340 * examples/xml/runxml.c:
8341 * tests/Makefile.am:
8342 * tests/check/Makefile.am:
8343 * testsuite/.cvsignore:
8344 * testsuite/Makefile.am:
8346 * testsuite/caps/.cvsignore:
8347 * testsuite/caps/Makefile.am:
8348 * testsuite/caps/app_fixate.c:
8349 * testsuite/caps/audioscale.c:
8350 * testsuite/caps/caps.c:
8351 * testsuite/caps/caps.h:
8352 * testsuite/caps/caps_strings:
8353 * testsuite/caps/compatibility.c:
8354 * testsuite/caps/deserialize.c:
8355 * testsuite/caps/enumcaps.c:
8356 * testsuite/caps/eratosthenes.c:
8357 * testsuite/caps/filtercaps.c:
8358 * testsuite/caps/fixed.c:
8359 * testsuite/caps/fraction-convert.c:
8360 * testsuite/caps/fraction-multiply-and-zero.c:
8361 * testsuite/caps/intersect2.c:
8362 * testsuite/caps/intersection.c:
8363 * testsuite/caps/normalisation.c:
8364 * testsuite/caps/random.c:
8365 * testsuite/caps/renegotiate.c:
8366 * testsuite/caps/sets.c:
8367 * testsuite/caps/simplify.c:
8368 * testsuite/caps/string-conversions.c:
8369 * testsuite/caps/structure.c:
8370 * testsuite/caps/subtract.c:
8371 * testsuite/caps/union.c:
8372 * testsuite/debug/.cvsignore:
8373 * testsuite/debug/Makefile.am:
8374 * testsuite/debug/category.c:
8375 * testsuite/debug/commandline.c:
8376 * testsuite/debug/global.c:
8377 * testsuite/debug/output.c:
8378 * testsuite/debug/printf_extension.c:
8379 * testsuite/dlopen/.cvsignore:
8380 * testsuite/dlopen/Makefile.am:
8381 * testsuite/dlopen/dlopen_gst.c:
8382 * testsuite/dlopen/loadgst.c:
8383 * testsuite/elements/.cvsignore:
8384 * testsuite/elements/Makefile.am:
8385 * testsuite/elements/gst-inspect-check.in:
8386 * testsuite/elements/struct_i386.h:
8387 * testsuite/elements/struct_size.c:
8388 * testsuite/indexers/.cvsignore:
8389 * testsuite/indexers/Makefile.am:
8390 * testsuite/indexers/cache1.c:
8391 * testsuite/indexers/indexdump.c:
8392 * testsuite/parse/.cvsignore:
8393 * testsuite/parse/Makefile.am:
8394 * testsuite/parse/parse1.c:
8395 * testsuite/parse/parse2.c:
8396 * testsuite/plugin/.cvsignore:
8397 * testsuite/plugin/Makefile.am:
8398 * testsuite/plugin/README:
8399 * testsuite/plugin/dynamic.c:
8400 * testsuite/plugin/linked.c:
8401 * testsuite/plugin/loading.c:
8402 * testsuite/plugin/registry.c:
8403 * testsuite/plugin/static.c:
8404 * testsuite/plugin/static2.c:
8405 * testsuite/plugin/testplugin.c:
8406 * testsuite/plugin/testplugin2.c:
8407 * testsuite/plugin/testplugin2_s.c:
8408 * testsuite/plugin/testplugin_s.c:
8409 * testsuite/refcounting/.cvsignore:
8410 * testsuite/refcounting/Makefile.am:
8411 * testsuite/refcounting/bin.c:
8412 * testsuite/refcounting/element.c:
8413 * testsuite/refcounting/element_pad.c:
8414 * testsuite/refcounting/mainloop.c:
8415 * testsuite/refcounting/mem.c:
8416 * testsuite/refcounting/mem.h:
8417 * testsuite/refcounting/object.c:
8418 * testsuite/refcounting/pad.c:
8419 * testsuite/refcounting/sched.c:
8420 * testsuite/refcounting/thread.c:
8421 * testsuite/states/.cvsignore:
8422 * testsuite/states/Makefile.am:
8423 * testsuite/states/bin.c:
8424 * testsuite/states/locked.c:
8425 * testsuite/states/parent.c:
8426 * testsuite/threads/.cvsignore:
8427 * testsuite/threads/159566.c:
8428 * testsuite/threads/159852.c:
8429 * testsuite/threads/Makefile.am:
8430 * testsuite/threads/queue.c:
8431 * testsuite/threads/signals.c:
8432 * testsuite/threads/staticrec.c:
8433 * testsuite/threads/thread.c:
8434 * testsuite/threads/threadb.c:
8435 * testsuite/threads/threadc.c:
8436 * testsuite/threads/threadd.c:
8437 * testsuite/threads/threade.c:
8438 * testsuite/threads/threadf.c:
8439 * testsuite/threads/threadg.c:
8440 * testsuite/threads/threadh.c:
8441 * testsuite/threads/threadi.c:
8442 move all of these under tests
8444 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8447 * tests/Makefile.am:
8450 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8452 * docs/gst/gstreamer-sections.txt:
8453 * tests/sched/.cvsignore:
8454 * tests/sched/Makefile.am:
8455 * tests/sched/cases/(fs-fs).xml:
8456 * tests/sched/cases/(fs-i-fs).xml:
8457 * tests/sched/cases/(fs-i-i-fs).xml:
8458 * tests/sched/cases/(fs-i-q[i-fs]).xml:
8459 * tests/sched/dynamic-pipeline.c:
8460 * tests/sched/interrupt1.c:
8461 * tests/sched/interrupt2.c:
8462 * tests/sched/interrupt3.c:
8463 * tests/sched/runtestcases:
8464 * tests/sched/runxml.c:
8465 * tests/sched/sched-stress.c:
8466 * tests/sched/sort.c:
8467 * tests/sched/testcases:
8468 * tests/sched/testcases1.tc:
8469 * tests/seeking/.cvsignore:
8470 * tests/seeking/Makefile.am:
8471 * tests/seeking/seeking1.c:
8472 * tests/threadstate/.cvsignore:
8473 * tests/threadstate/Makefile.am:
8474 * tests/threadstate/test1.c:
8475 * tests/threadstate/test2.c:
8476 * tests/threadstate/threadstate1.c:
8477 * tests/threadstate/threadstate2.c:
8478 * tests/threadstate/threadstate3.c:
8479 * tests/threadstate/threadstate4.c:
8480 * tests/threadstate/threadstate5.c:
8481 remove obsolete tests
8483 * tests/bench-complexity.scm:
8484 * tests/bench-mass_elements.scm:
8485 * tests/complexity.c:
8486 * tests/complexity.gnuplot:
8487 * tests/instantiate/.cvsignore:
8488 * tests/instantiate/Makefile.am:
8489 * tests/instantiate/caps.c:
8490 * tests/mass_elements.c:
8491 * tests/network-clock-utils.scm:
8492 * tests/network-clock.scm:
8494 First pass at cleaning up tests/ dir before moving the rest
8495 Combined with CVS surgery
8497 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8500 queue has moved, update
8502 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8504 * docs/gst/gstreamer-sections.txt:
8505 remove double entries from the docs
8506 * gst/gst_private.h:
8507 * gst/gstinfo.c: (_gst_debug_init):
8508 remove the THREAD debug category
8512 * docs/gst/gstreamer.types:
8513 * plugins/elements/gstqueue.c: (gst_queue_get_type),
8514 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
8515 completely move queue and fix up debugging categories
8517 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8519 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8520 make initialization portable, using LL is not
8522 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8524 * win32/common/gstconfig.h:
8527 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8529 * win32/common/libgstreamer.def:
8530 rename symbols; sort base section
8532 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8534 * gst/gstclock.c: (do_linear_regression):
8535 remove crack non-portable handrolled DEBUG macro
8537 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8539 * docs/random/release:
8541 * win32/common/gstenumtypes.c: (register_gst_object_flags),
8542 (gst_object_flags_get_type), (register_gst_bin_flags),
8543 (gst_bin_flags_get_type), (register_gst_buffer_flag),
8544 (gst_buffer_flag_get_type), (register_gst_bus_flags),
8545 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8546 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
8547 (gst_caps_flags_get_type), (register_gst_clock_return),
8548 (gst_clock_return_get_type), (register_gst_clock_entry_type),
8549 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8550 (gst_clock_flags_get_type), (register_gst_state),
8551 (gst_state_get_type), (register_gst_state_change_return),
8552 (gst_state_change_return_get_type), (register_gst_state_change),
8553 (gst_state_change_get_type), (register_gst_element_flags),
8554 (gst_element_flags_get_type), (register_gst_core_error),
8555 (gst_core_error_get_type), (register_gst_library_error),
8556 (gst_library_error_get_type), (register_gst_resource_error),
8557 (gst_resource_error_get_type), (register_gst_stream_error),
8558 (gst_stream_error_get_type), (register_gst_event_type_flags),
8559 (gst_event_type_flags_get_type), (register_gst_event_type),
8560 (gst_event_type_get_type), (register_gst_seek_type),
8561 (gst_seek_type_get_type), (register_gst_seek_flags),
8562 (gst_seek_flags_get_type), (register_gst_format),
8563 (gst_format_get_type), (register_gst_index_certainty),
8564 (gst_index_certainty_get_type), (register_gst_index_entry_type),
8565 (gst_index_entry_type_get_type),
8566 (register_gst_index_lookup_method),
8567 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8568 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8569 (gst_index_resolver_method_get_type), (register_gst_index_flags),
8570 (gst_index_flags_get_type), (register_gst_debug_level),
8571 (gst_debug_level_get_type), (register_gst_debug_color_flags),
8572 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8573 (gst_iterator_result_get_type), (register_gst_iterator_item),
8574 (gst_iterator_item_get_type), (register_gst_message_type),
8575 (gst_message_type_get_type), (register_gst_mini_object_flags),
8576 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8577 (gst_pad_link_return_get_type), (register_gst_flow_return),
8578 (gst_flow_return_get_type), (register_gst_activate_mode),
8579 (gst_activate_mode_get_type), (register_gst_pad_direction),
8580 (gst_pad_direction_get_type), (register_gst_pad_flags),
8581 (gst_pad_flags_get_type), (register_gst_pad_presence),
8582 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8583 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8584 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8585 (gst_plugin_error_get_type), (register_gst_plugin_flags),
8586 (gst_plugin_flags_get_type), (register_gst_rank),
8587 (gst_rank_get_type), (register_gst_query_type),
8588 (gst_query_type_get_type), (register_gst_tag_merge_mode),
8589 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8590 (gst_tag_flag_get_type), (register_gst_task_state),
8591 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8592 (gst_alloc_trace_flags_get_type),
8593 (register_gst_type_find_probability),
8594 (gst_type_find_probability_get_type), (register_gst_uri_type),
8595 (gst_uri_type_get_type), (register_gst_parse_error),
8596 (gst_parse_error_get_type):
8597 * win32/common/gstenumtypes.h:
8598 * win32/common/gstversion.h:
8599 update visual studio generated files
8601 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8603 * win32/vs6/libgstbase.dsp:
8604 * win32/vs6/libgstelements.dsp:
8605 update project files for new locations
8607 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8612 reinstate and update
8617 * docs/random/LICENSE:
8620 2005-11-30 Edward Hervey <edward@fluendo.com>
8622 * gst/gsttypefind.c: (gst_type_find_register):
8623 * gst/gsttypefind.h:
8624 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
8625 (gst_type_find_factory_dispose):
8626 * gst/gsttypefindfactory.h:
8627 Fix memory leak in GstTypeFindFactory.
8629 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8632 * plugins/elements/Makefile.am:
8633 * plugins/elements/gstelements.c:
8634 * plugins/elements/gstqueue.c:
8635 move queue from core to the elements plugin
8637 2005-11-29 Andy Wingo <wingo@pobox.com>
8639 * libs/gst/base/gstbasetransform.h:
8640 * libs/gst/base/gstbasesrc.h:
8641 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
8643 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
8644 of pointers by which to pad very extensible base classes (like the
8645 ones in libs/gst/base).
8647 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8649 * docs/gst/gstreamer-docs.sgml:
8650 * docs/gst/gstreamer-sections.txt:
8651 * docs/libs/gstreamer-libs-docs.sgml:
8652 * docs/libs/gstreamer-libs-sections.txt:
8653 moving documentation from core to lib
8655 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8657 * check/Makefile.am:
8659 * docs/gst/Makefile.am:
8661 * gst/base/.cvsignore:
8662 * gst/base/Makefile.am:
8664 * gst/base/gstadapter.c:
8665 * gst/base/gstadapter.h:
8666 * gst/base/gstbasesink.c:
8667 * gst/base/gstbasesink.h:
8668 * gst/base/gstbasesrc.c:
8669 * gst/base/gstbasesrc.h:
8670 * gst/base/gstbasetransform.c:
8671 * gst/base/gstbasetransform.h:
8672 * gst/base/gstcollectpads.c:
8673 * gst/base/gstcollectpads.h:
8674 * gst/base/gstpushsrc.c:
8675 * gst/base/gstpushsrc.h:
8676 * gst/base/gsttypefindhelper.c:
8677 * gst/base/gsttypefindhelper.h:
8678 * gst/check/Makefile.am:
8679 * gst/check/gstcheck.c:
8680 * gst/check/gstcheck.h:
8681 * gst/net/Makefile.am:
8683 * gst/net/gstnetclientclock.c:
8684 * gst/net/gstnetclientclock.h:
8685 * gst/net/gstnettimepacket.c:
8686 * gst/net/gstnettimepacket.h:
8687 * gst/net/gstnettimeprovider.c:
8688 * gst/net/gstnettimeprovider.h:
8689 * libs/gst/Makefile.am:
8690 * libs/gst/base/Makefile.am:
8691 * libs/gst/base/gstbasetransform.c:
8692 * libs/gst/check/Makefile.am:
8693 * plugins/elements/Makefile.am:
8695 CVS surgery + support to move base, check, and net out of gst
8698 2005-11-29 Andy Wingo <wingo@pobox.com>
8700 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
8702 * gst/gststructure.h (struct _GstStructure): Only one pointer of
8705 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
8707 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
8709 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
8711 * gst/gstobject.h: (struct _GstObject): Only one pointer of
8712 padding; reduces object size by about 30%. We don't expect
8713 anything else to go into gstobject.
8715 * gst/gstminiobject.h (struct _GstMiniObject)
8716 (struct _GstMiniObjectClass): Only one pointer of padding; the
8717 payload is only a pointer and two ints anyway. For the class there
8718 are only two methods as well.
8720 * gst/gstelement.h (struct _GstElementClass): Removed
8721 the state_changed signal callback, it is not used.
8723 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8725 * docs/gst/gstreamer.types:
8726 fix includes, though they are a little dinky
8728 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8730 * check/Makefile.am:
8731 look in the right place for elements, a lot more chance of
8734 remove indexers and elements subdirs
8735 * plugins/Makefile.am:
8736 make indexers conditional
8738 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8742 * plugins/elements/Makefile.am:
8743 * plugins/elements/gstcapsfilter.c:
8744 * plugins/elements/gstfilesink.c:
8745 * plugins/elements/gstfilesrc.c:
8746 * plugins/elements/gstidentity.c:
8747 * plugins/indexers/Makefile.am:
8748 do CVS surgery and related build fixery to move elements
8749 and indexers in a new gstreamer/plugins directory, out of the
8752 2005-11-29 Andy Wingo <wingo@pobox.com>
8754 * check/Makefile.am:
8755 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8756 * pkgconfig/gstreamer-net.pc.in:
8757 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8760 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8762 * tools/Makefile.am:
8763 * tools/gst-complete.1.in:
8764 * tools/gst-complete.c:
8765 * tools/gst-compprep.1.in:
8766 * tools/gst-compprep.c:
8767 removing -compprep and -complete
8769 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8771 * gst/gstevent.c: (gst_event_new_new_segment),
8772 (gst_event_parse_new_segment):
8774 fix #320529 - clean up new_segment API and structure.
8775 Let's hope everyone was using the methods, and not the structure.
8777 2005-11-29 Edward Hervey <edward@fluendo.com>
8779 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8780 (gst_base_sink_event), (gst_base_sink_do_sync),
8781 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8782 Properly handle non GST_FORMAT_TIME segment
8783 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8784 Properly handle non GST_FORMAT_TIME segment
8786 This function is valid if the accumulator is 0 and the format
8787 is different from the requested format.
8789 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8791 * docs/gst/gstreamer-sections.txt:
8792 Add gst_query_new_seeking and gst_query_parse_seeking to the
8795 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8797 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8798 Treat a pad alloc with new caps the same as if we were not
8799 negotiated, in order to allow a changing upstream output
8800 to produce a new format of data.
8802 2005-11-29 Edward Hervey <edward@fluendo.com>
8804 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8805 (gst_base_transform_event), (gst_base_transform_eventfunc):
8806 The event virtual method is now properly implemented, with a default
8808 Sub classes should call the parent_class event method. They should
8809 return FALSE if they had a problem handling the given event, or don't
8810 want GstBaseTransform to send that even downstream
8811 * gst/elements/gstidentity.c: (gst_identity_class_init),
8812 (gst_identity_init), (gst_identity_event),
8813 (gst_identity_transform_ip), (gst_identity_set_property),
8814 (gst_identity_get_property):
8815 * gst/elements/gstidentity.h:
8816 Added the single-segment boolean property.
8817 If set to TRUE, it will output a single segment of data, starting from
8818 0, will eat up all incoming newsegment, and modify the timestamp of the
8821 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
8823 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8824 Don't ref NULL target pad (#322751). Improve docs.
8826 2005-11-29 Michael Smith <msmith@fluendo.com>
8828 * gst/gstregistryxml.c: (load_plugin):
8829 Don't crash if we failed to load a feature from a plugin.
8831 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8833 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8835 use more check API and less GLib API
8837 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8840 don't run checks if we don't have check
8842 remove the registry when running make torture
8843 * docs/gst/gstreamer-sections.txt:
8844 remove second multiply
8845 * gst/gstqueue.c: (gst_queue_loop):
8846 fix a compile warning when disabling debug
8848 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8851 Hey! Let's print the pad name if the pointer != NULL instead
8852 of when it == NULL :-)
8854 2005-11-28 Wim Taymans <wim@fluendo.com>
8856 * check/gst/gstutils.c: (GST_START_TEST):
8857 Updated check, add some scaling accuracy checking code.
8859 * gst/gstutils.c: (gst_util_div128_64),
8860 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8861 (gst_util_uint64_scale_int):
8862 Fix 6 times faster division code. Optimize for common
8863 1/1 and less common X/1 cases.
8865 2005-11-28 Wim Taymans <wim@fluendo.com>
8867 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8870 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8871 (do_linear_regression), (gst_clock_add_observation):
8873 Release lock when the clock cannot be slaved.
8874 Catch the case where the regression returned an invalid denominator.
8876 * gst/gstutils.c: (gst_util_div128_64_iterate),
8877 (gst_util_div128_64), (gst_util_uint64_scale_int64),
8878 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8879 Add protentially more performant non-iterative 128/64 divide function
8880 that unfortunatly does not work yet.
8881 Shortcut the trivial 0/X = 0 case.
8882 Remove the warnings on overflow.
8884 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8886 * gst/gstplugin.c: (gst_plugin_register_func):
8887 everything causing a plugin not to load should be at least a WARNING
8889 2005-11-28 Stefan Kost <ensonic@users.sf.net>
8891 * docs/random/ensonic/dparams.txt:
8892 some TODOs for the next dev cycle
8893 * libs/gst/controller/gstcontroller.c:
8894 (gst_controlled_property_set_interpolation_mode),
8895 (gst_controlled_property_new):
8896 * libs/gst/controller/gstcontroller.h:
8897 use base type to assign acccessor functions
8899 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8901 * check/Makefile.am:
8902 Oops, that should have been top_srcdir
8904 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8906 * check/Makefile.am:
8907 * check/elements/fdsrc.c: (GST_START_TEST):
8908 Use a cmdline define to specify the location of a file to use for
8909 testing, to avoid breaking distcheck.
8911 2005-11-28 Andy Wingo <wingo@pobox.com>
8913 * gst/gstpad.c (fixate_value): Use array functions for arrays.
8915 2005-11-28 Edward Hervey <edward@fluendo.com>
8917 * tools/gst-launch.c: (main):
8918 Clarify the output strings, makes it easier to translate.
8921 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8924 don't try and build net if we don't even have <sys/socket.h>
8926 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
8928 * check/Makefile.am:
8929 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8930 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8931 Add tests for fdsrc seekability
8933 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8934 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8935 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8936 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8937 * gst/elements/gstfdsrc.h:
8938 fdsrc should not be a 'live' source.
8939 Implement seeking on seekable fd's.
8941 * gst/gstquery.c: (gst_query_new_seeking),
8942 (gst_query_parse_seeking):
8944 Implement SEEKING query functions:
8945 *_new_seeking and *_parse_seeking
8947 2005-11-27 Stefan Kost <ensonic@users.sf.net>
8949 * gst/gstelement.c: (gst_element_dispose):
8952 * gst/gstiterator.c:
8953 * gst/gststructure.c:
8956 * libs/gst/controller/gstcontroller.c:
8957 (gst_controlled_property_set_interpolation_mode):
8958 * libs/gst/controller/gstcontroller.h:
8959 * libs/gst/controller/gstinterpolation.c:
8960 (interpolate_none_get_enum_value_array):
8961 support controlling enums
8963 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8966 Improve documentation for gst_value_union().
8969 Change return value for union, intersect and subtract functions
8970 from gint to gboolean.
8972 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8974 * gst/gstvalue.c: (gst_value_serialize_any_list),
8975 (gst_value_transform_any_list_string),
8976 (gst_value_deserialize_list), (gst_value_deserialize_array),
8977 (gst_value_set_int_range), (gst_value_deserialize_int_range),
8978 (gst_value_set_double_range), (gst_value_deserialize_double_range),
8979 (gst_value_set_fraction_range_full),
8980 (gst_value_deserialize_fraction_range),
8981 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8982 (gst_value_deserialize_boolean),
8983 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8984 (gst_value_serialize_float), (gst_value_deserialize_float),
8985 (gst_string_wrap), (gst_value_deserialize_string),
8986 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8987 (gst_value_union_int_range_int_range),
8988 (gst_value_intersect_int_range_int_range),
8989 (gst_value_intersect_double_range_double_range),
8990 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8991 (gst_value_subtract_int_range_int_range),
8992 (gst_value_subtract_double_double_range),
8993 (gst_value_subtract_double_range_double_range),
8994 (gst_value_deserialize_fraction):
8996 Use gint, gdouble and gchar in our API instead of int, double and
8997 char (and make usage in gstvalue.c more consistent).
8999 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
9001 * check/Makefile.am:
9002 * libs/gst/controller/Makefile.am:
9003 * libs/gst/dataprotocol/Makefile.am:
9004 fix up Makefile.am and remove GST_ENABLE_NEW
9006 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
9010 * gst/base/Makefile.am:
9011 * gst/check/Makefile.am:
9012 * gst/elements/Makefile.am:
9013 * gst/net/Makefile.am:
9014 update LDFLAGS use some more
9016 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
9018 * common/m4/gst-doc.m4:
9021 2005-11-26 Edward Hervey <edward@fluendo.com>
9023 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9024 This shouldn't issue a g_warning since it returns NULL if it
9025 couldn't find the plugin, and all functions using this behave
9026 properly on a NULL return. Switching to a GST_WARNING.
9028 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
9030 * gst/gstbin.c: (gst_bin_handle_message_func):
9031 Don't leak clock messages.
9033 2005-11-25 Wim Taymans <wim@fluendo.com>
9035 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9036 (gst_util_uint64_scale_int):
9037 Optimisations, remove unneeded vars.
9039 2005-11-25 Wim Taymans <wim@fluendo.com>
9041 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9042 Added more checks for the high precision uint64 cases.
9044 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9045 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
9046 Implement high precision (guint64 * guint64) / guint64.
9048 2005-11-24 Wim Taymans <wim@fluendo.com>
9050 * gst/base/gstbasesrc.c: (gst_base_src_query):
9051 Fix wrong percentage query.
9053 * gst/gstutils.c: (gst_util_uint64_scale),
9054 (gst_util_uint64_scale_int):
9055 Add some more common cases that can be handled
9056 efficiently to _scale.
9058 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
9060 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
9061 (gst_mini_object_suite):
9062 don't use check calls from threads; check probably isn't
9063 threadsafe and using a lock to make it threadsafe would
9064 defeat the purpose of this check
9065 * gst/check/gstcheck.c:
9066 * gst/check/gstcheck.h:
9067 use GST_DEBUG some more
9069 2005-11-24 Wim Taymans <wim@fluendo.com>
9071 * gst/gstutils.c: (gst_util_uint64_scale),
9072 (gst_util_uint64_scale_int):
9073 Chain trivial case to _scale_int.
9075 2005-11-24 Wim Taymans <wim@fluendo.com>
9077 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9078 Added test for scaling.
9083 * gst/gstutils.c: (gst_util_uint64_scale_int):
9084 Implemented high precision scaling code.
9086 2005-11-24 Stefan Kost <ensonic@users.sf.net>
9089 do not crash on pad==NULL
9091 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
9093 Patch by: Stefan Kost
9095 * common/gtk-doc.mak:
9096 * docs/gst/Makefile.am:
9097 * docs/libs/Makefile.am:
9098 Fix distcheck issues for the libraries docs build
9101 2005-11-24 Michael Smith <msmith@fluendo.com>
9103 * docs/manual/basics-helloworld.xml:
9104 Fix bug #315027: memory leak in example code in docs.
9106 2005-11-24 Michael Smith <msmith@fluendo.com>
9108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9109 Unlock the PREROLL_LOCK in a failure case.
9111 2005-11-24 Wim Taymans <wim@fluendo.com>
9113 * docs/gst/gstreamer-sections.txt:
9114 * gst/base/gstadapter.h:
9115 * gst/base/gstbasesink.h:
9116 * gst/base/gstbasesrc.h:
9117 * gst/base/gstbasetransform.h:
9118 * gst/base/gstpushsrc.h:
9119 * gst/elements/gstfakesink.h:
9120 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
9121 * gst/elements/gstfakesrc.h:
9122 * gst/elements/gstfilesink.h:
9123 * gst/elements/gstfilesrc.h:
9126 * gst/gstbuffer.c: (_gst_buffer_copy):
9129 * gst/gstchildproxy.c:
9132 * gst/gstelementfactory.c:
9133 * gst/gstelementfactory.h:
9135 * gst/gstghostpad.h:
9137 * gst/gstinterface.h:
9138 * gst/gstminiobject.c:
9139 * gst/gstminiobject.h:
9142 * gst/gstpadtemplate.h:
9143 * gst/gstpipeline.h:
9144 * gst/gstpluginfeature.h:
9149 * gst/gsttagsetter.c:
9150 * gst/gsttagsetter.h:
9153 * gst/gsttypefind.h:
9156 * gst/net/gstnetclientclock.c:
9157 * gst/net/gstnetclientclock.h:
9158 * gst/net/gstnettimepacket.c:
9159 * gst/net/gstnettimeprovider.c:
9160 * gst/net/gstnettimeprovider.h:
9163 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
9165 * configure.ac: back to HEAD
9167 === release 0.9.6 ===
9169 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
9172 releasing 0.9.6, "Always On Time"
9174 2005-11-23 Wim Taymans <wim@fluendo.com>
9176 * docs/gst/gstreamer-sections.txt:
9177 * gst/glib-compat.c:
9178 * gst/gsttagsetter.c:
9180 * gst/net/gstnetclientclock.c:
9181 * gst/net/gstnettimepacket.h:
9184 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
9186 * docs/faq/using.xml:
9187 * docs/libs/tmpl/gstcontrol.sgml:
9188 * docs/manual/advanced-dparams.xml:
9189 * docs/manual/appendix-checklist.xml:
9190 * docs/manual/basics-elements.xml:
9191 * docs/pwg/other-source.xml:
9192 * docs/random/moving-plugins:
9194 * tools/gst-launch.1.in:
9195 remove mentions of sinesrc
9197 2005-11-23 Michael Smith <msmith@fluendo.com>
9199 * docs/gst/gstreamer-sections.txt:
9200 Update for new API and API changes.
9202 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
9204 Documentation typo fix.
9205 * gst/net/gstnettimepacket.c:
9206 Documentation fixes for arguments.
9208 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
9210 * gst/gststructure.c: (gst_structure_get_fraction),
9211 (gst_structure_parse_value),
9212 (gst_structure_fixate_field_nearest_fraction):
9213 * gst/gststructure.h:
9214 * gst/gstutils.c: (gst_util_uint64_scale_int):
9216 * scripts/update-funcnames:
9218 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
9219 Make gst_structure_fixate_field_nearest_fraction take a numerator
9220 and denominator argument instead of a GValue
9221 add gst_structure_get_fraction helper function.
9223 2005-11-23 Wim Taymans <wim@fluendo.com>
9225 * docs/design/part-TODO.txt:
9228 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9229 * gst/net/gstnetclientclock.h:
9230 Use parent fields for timeout and window_size.
9232 2005-11-23 Andy Wingo <wingo@pobox.com>
9234 * check/net/gstnetclientclock.c (test_functioning): Adjust to
9235 rate_num/rate_denom change.
9237 * gst/net/gstnetclientclock.c
9238 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
9239 OBJECT_LOCK. Don't call add_observation with the lock.
9241 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
9243 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
9245 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
9246 deal with rate as a fraction whose numerator and denominator are
9247 GstClockTime values.
9248 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
9249 master; the other fields are protected by the SLAVE_LOCK.
9250 (do_linear_regression): Note that this must be called with the
9252 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
9253 OBJECT_LOCK. Call set_calibration instead of touching the
9255 (gst_clock_set_property, gst_clock_get_property): Protect
9256 master/slave parameters with the SLAVE_LOCK.
9258 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
9259 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
9260 note that all of the instance variables that add_observation and
9261 the set_master functions use are protected by that lock and not
9263 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
9265 * gst/gstclock.c (gst_clock_add_observation): No longer requires
9266 the caller to take the object lock.
9268 2005-11-23 Wim Taymans <wim@fluendo.com>
9270 * gst/gsterror.c: (_gst_core_errors_init):
9272 Add error for clock stuff.
9274 * gst/gstpipeline.c: (gst_pipeline_change_state),
9275 (gst_pipeline_set_clock):
9276 Post clock error when clock cannot be used in a pipeline.
9278 2005-11-23 Stefan Kost <ensonic@users.sf.net>
9280 * docs/gst/gstreamer-sections.txt:
9281 make two symbols from gstinfo private for the docs
9282 * gst/base/gstcollectpads.h:
9284 fix doc typos, update docs
9286 2005-11-22 Wim Taymans <wim@fluendo.com>
9288 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
9289 (gst_base_sink_wait), (gst_base_sink_do_sync),
9290 (gst_base_sink_handle_event):
9291 * gst/base/gstbasesink.h:
9292 No need to store the clock, the parent element class already
9295 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
9296 Updates for clock_set returning a gboolean
9298 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
9299 (gst_clock_id_wait_async), (gst_clock_class_init),
9300 (gst_clock_init), (gst_clock_finalize),
9301 (gst_clock_get_internal_time), (gst_clock_get_time),
9302 (gst_clock_slave_callback), (gst_clock_set_master),
9303 (gst_clock_get_master), (do_linear_regression),
9304 (gst_clock_add_observation), (gst_clock_set_property),
9305 (gst_clock_get_property):
9307 Implement master/slave. When setting a clock as a slave, a
9308 periodic timeout is scheduled to sample master and slave times.
9309 Then the slave clock is recalibrated to match offset and rate
9310 of the master clock.
9311 Update logging a bit.
9312 Add flag so that a clock can state that is cannot be slaved to
9315 * gst/gstelement.c: (gst_element_set_clock):
9317 The set clock returns a gboolean for when an element cannot
9318 deal with the selected clock in the pipeline.
9320 * gst/gstpipeline.c: (gst_pipeline_change_state),
9321 (gst_pipeline_set_clock):
9322 * gst/gstpipeline.h:
9323 Handle the case where the selected clock cannot be set on
9326 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
9327 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
9328 (gst_net_client_clock_set_property),
9329 (gst_net_client_clock_get_property),
9330 (gst_net_client_clock_observe_times):
9331 * gst/net/gstnetclientclock.h:
9332 Use regression code in GstClock parent, remove duplicated
9335 2005-11-22 Michael Smith <msmith@fluendo.com>
9337 * gst/gstutils.c: (gst_util_clock_time_scale):
9339 * docs/gst/gstreamer-sections.txt:
9340 Rename method to have extra underscore.
9342 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
9344 * gst/elements/Makefile.am:
9345 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
9346 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9347 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9348 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
9349 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
9350 * gst/elements/gstfakesrc.h:
9351 * gst/gstqueue.c: (queue_leaky_get_type):
9352 correctly fix GEnumValues so that nick is the short lowercase
9354 * tools/gst-inspect.c: (print_element_properties_info):
9355 also show the nick, since it's useful to use from parse_launch
9359 2005-11-22 Michael Smith <msmith@fluendo.com>
9361 * gst/gstutils.c: (gst_util_clocktime_scale):
9363 * docs/gst/gstreamer-sections.txt:
9364 Add util method for scaling a clocktime by a fraction. Useful
9365 implementation is left as an exercise for the reader.
9367 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9369 * gst/gstvalue.c: (gst_value_collect_fraction_range):
9370 If needed, allocate storage in the destination value during
9373 2005-11-22 Edward Hervey <edward@fluendo.com>
9375 * docs/gst/gstreamer-sections.txt:
9380 * gst/gstutils.c: (gst_util_set_object_arg):
9381 * tools/gst-compprep.c: (main):
9382 * tools/gst-inspect.c: (print_element_properties_info):
9383 Removed GstURI, closes bug #321061
9385 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9387 * check/gst/gststructure.c: (GST_START_TEST):
9388 * gst/gststructure.c: (gst_structure_parse_value):
9389 Oops, broke automatic string type parsing.
9390 Add a test to catch it in future.
9392 2005-11-22 Andy Wingo <wingo@pobox.com>
9394 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
9395 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
9396 Actually rename the function implementations. Grr.
9398 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9400 * check/gst/capslist.h:
9402 * check/gst/gststructure.c: (GST_START_TEST),
9403 (gst_structure_suite):
9404 Test automatic value type detection in gst_structure_from_string.
9405 * gst/gststructure.c: (gst_structure_parse_value):
9406 Add fraction as a type we try and guess automatically in
9407 caps/structure strings.
9409 2005-11-22 Andy Wingo <wingo@pobox.com>
9411 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
9413 * gst/gsttagsetter.h:
9414 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
9415 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
9416 (gst_tag_setter_add_tag_valist)
9417 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
9418 _add_values, _add_valist, and _add_valist_values. Since this is an
9419 interface the function suffixes should be more explicit so
9420 language binding don't end up with element.add_valist ->
9421 gst_tag_setter_add_valist, for example. Fixes #322069.
9423 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9425 * check/gst/gstcaps.c: (GST_START_TEST):
9426 Extend caps string tests to check that a caps to string
9427 conversion is reversible and produces the same caps.
9429 * gst/gststructure.c: (gst_structure_value_get_generic_type):
9430 Output "fraction" as the generic type fraction range, so caps
9431 serialisation and deserialisation works.
9432 * check/gst/capslist.h:
9433 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9434 Support 'MIN' and 'MAX' for deserialising fractions.
9436 2005-11-22 Andy Wingo <wingo@pobox.com>
9438 * gst/gstevent.h (gst_event_new_new_segment)
9439 (gst_event_parse_new_segment, gst_event_new_buffer_size)
9440 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
9441 Renamed from *_newsegment, *_buffersize, *_notarget.
9443 * scripts/update-funcnames: New script, performs the changes
9446 2005-11-22 Wim Taymans <wim@fluendo.com>
9448 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9449 Make sure the GstFlowReturn is returned.
9451 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
9452 (gst_bus_add_signal_watch):
9454 add gst_bus_add_signal_watch_full.
9456 * gst/gstplugin.c: (gst_plugin_load_file):
9457 Small style cleanup.
9459 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9461 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
9462 Block the fakesrc srcpad when we send an event, to avoid
9463 contention on the stream_lock causing random test failures.
9465 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9467 * check/gst/gstvalue.c: (GST_START_TEST):
9468 * gst/gstvalue.c: (gst_value_fraction_subtract):
9471 2005-11-22 Stefan Kost <ensonic@users.sf.net>
9474 include "gstchildproxy.h"
9475 * gst/gstchildproxy.h:
9476 * libs/gst/controller/gstcontroller.h:
9477 use G_GNUC_NULL_TERMINATED
9479 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
9481 * check/gst/capslist.h:
9482 * check/gst/gstcaps.c: (GST_START_TEST):
9483 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9484 * gst/gststructure.c: (gst_structure_parse_range),
9485 (gst_structure_fixate_field_nearest_fraction):
9486 * gst/gststructure.h:
9487 * gst/gstvalue.c: (gst_value_init_fraction_range),
9488 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
9489 (gst_value_collect_fraction_range),
9490 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
9491 (gst_value_set_fraction_range_full),
9492 (gst_value_get_fraction_range_min),
9493 (gst_value_get_fraction_range_max),
9494 (gst_value_serialize_fraction_range),
9495 (gst_value_transform_fraction_range_string),
9496 (gst_value_compare_fraction_range),
9497 (gst_value_deserialize_fraction_range),
9498 (gst_value_intersect_fraction_fraction_range),
9499 (gst_value_intersect_fraction_range_fraction_range),
9500 (gst_value_subtract_fraction_fraction_range),
9501 (gst_value_subtract_fraction_range_fraction),
9502 (gst_value_subtract_fraction_range_fraction_range),
9503 (gst_value_collect_fraction), (gst_value_fraction_multiply),
9504 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
9505 (gst_value_transform_string_fraction), (_gst_value_initialize):
9507 Implement fraction ranges and extend GstFraction to support
9508 arithmetic subtraction, as well as deserialization from integer
9509 strings such as "100"
9510 Add a testsuite as for int and double range set operations
9512 2005-11-21 Andy Wingo <wingo@pobox.com>
9516 * gst/gststructure.h: Add glib-compat.h.
9518 2005-11-21 Wim Taymans <wim@fluendo.com>
9520 * gst/gstbin.c: (gst_bin_change_state_func):
9523 2005-11-21 Wim Taymans <wim@fluendo.com>
9526 And add a nice define too.
9528 2005-11-21 Wim Taymans <wim@fluendo.com>
9530 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
9531 (gst_segment_new), (gst_segment_free), (gst_segment_init),
9532 (gst_segment_set_duration), (gst_segment_set_last_stop),
9533 (gst_segment_set_seek), (gst_segment_set_newsegment),
9534 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9537 Make binding friendly.
9539 2005-11-21 Andy Wingo <wingo@pobox.com>
9541 * gst/gsttagsetter.h:
9543 * gst/gststructure.h:
9545 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
9548 * gst/gsterror.c (_gst_core_errors_init):
9549 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
9552 * gst/Makefile.am (gst_headers): Add glib-compat.h.
9553 (noinst_HEADERS): noinst the -private.
9555 2005-11-21 Michael Smith <msmith@fluendo.com>
9558 * gst/gstregistry.h:
9559 Remove unimplemented declarations for which we can see no sensible
9562 2005-11-21 Andy Wingo <wingo@pobox.com>
9564 * gst/gst.h: Include glib-compat.h.
9566 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
9568 * gst/glib-compat.c: Include the public and the private header.
9570 * gst/glib-compat-private.h: Copied here from glib-compat.h.
9574 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
9576 * check/gst/gstevent.c (create_custom_events): Check that
9577 FLUSH_STOP is serialized.
9579 * check/elements/identity.c (event_func):
9580 * check/elements/fakesrc.c (event_func): No stream lock, the core
9583 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
9584 stream lock taking, yay.
9586 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
9587 ensure that core takes the stream lock.
9589 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
9592 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
9593 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
9594 it already. For the flush start we do take it though so we get the
9595 right preroll state change messages.
9597 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
9598 the stream lock here, the core does it for us.
9600 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
9601 GST_STREAM_GET_LOCK.
9602 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
9603 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
9604 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
9605 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
9606 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
9607 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
9609 * gst/gstpad.c: Update for stream lock name change.
9611 * gst/base/gstbasesink.c: Update for preroll lock name change.
9613 2005-11-21 Wim Taymans <wim@fluendo.com>
9615 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
9616 (gst_clock_get_master):
9618 * gst/gstsystemclock.c: (gst_system_clock_init):
9619 Convert Clock flags to object flags.
9620 Added methods to manage master/slave clocks.
9622 2005-11-21 Wim Taymans <wim@fluendo.com>
9624 * check/gst/gstsegment.c: (GST_START_TEST):
9625 * docs/design/part-TODO.txt:
9626 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9627 (gst_base_sink_event), (gst_base_sink_do_sync),
9628 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9629 (gst_base_sink_query), (gst_base_sink_change_state):
9630 * gst/base/gstbasesink.h:
9631 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9632 (gst_base_src_default_newsegment),
9633 (gst_base_src_configure_segment), (gst_base_src_do_seek),
9634 (gst_base_src_get_range), (gst_base_src_loop),
9635 (gst_base_src_change_state):
9636 * gst/base/gstbasesrc.h:
9637 * gst/base/gstbasetransform.c:
9638 (gst_base_transform_prepare_output_buf),
9639 (gst_base_transform_event), (gst_base_transform_change_state):
9640 * gst/base/gstbasetransform.h:
9641 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9642 (gst_collect_pads_event):
9643 * gst/base/gstcollectpads.h:
9644 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
9645 (gst_fake_src_create):
9646 * gst/elements/gstfakesrc.h:
9647 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9648 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9649 (gst_segment_set_last_stop), (gst_segment_set_seek),
9650 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9651 (gst_segment_to_running_time), (gst_segment_clip):
9653 More segment updates, replace code in plugins with segment
9656 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9658 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
9659 Don't ignore sscanf results
9661 2005-11-21 Andy Wingo <wingo@pobox.com>
9663 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
9666 * *.c: Ran scripts/update-macros. Oh yes.
9668 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
9669 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
9672 * scripts/update-macros: New script. Run it on your files to
9673 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
9676 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9678 * docs/gst/Makefile.am:
9679 * docs/gst/gstreamer-docs.sgml:
9680 * docs/gst/gstreamer-sections.txt:
9681 * docs/gst/gstreamer.types:
9683 more docs fixes, add new api to the docs
9685 2005-11-21 Andy Wingo <wingo@pobox.com>
9687 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
9688 state_broadcast call.
9690 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
9692 2005-11-21 Julien MOUTTE <julien@moutte.net>
9694 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
9695 function calls for arrays.
9697 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9699 * docs/random/ensonic/media-device-daemon.txt:
9700 wild idea, can this be done?
9701 * docs/gst/gstreamer-sections.txt:
9706 * gst/gstpluginfeature.c:
9710 doc fixes and additions
9712 2005-11-21 Andy Wingo <wingo@pobox.com>
9714 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
9715 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
9716 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
9717 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9718 private to the basesrc implementation.
9720 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9721 behalf of event function if necessary. It should no longer be
9722 necessary to take the stream lock in pad's event functions. Fixes
9725 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9726 * docs/gst/gstreamer-sections.txt:
9727 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9728 (gst_structure_fixate_field_nearest_double),
9729 (gst_structure_fixate_field_boolean):
9730 * gst/gststructure.h:
9731 * win32/common/libgstreamer.def:
9732 * win32/gstreamer.def:
9734 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9737 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9739 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9740 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9741 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9742 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9743 (gst_fdsrc_uri_handler_init):
9744 * gst/elements/gstfdsrc.h:
9745 Port fd:// URI handler from 0.8 to fdsrc
9747 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9749 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9750 (gst_value_serialize_fourcc):
9752 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9753 consistent with our other format defines (#320324).
9755 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9757 * gst/gstvalue.c: (gst_value_is_fixed):
9758 Revert previous commit. Value lists are by definition
9759 not fixed, as they are a list of possible values.
9761 2005-11-21 Andy Wingo <wingo@pobox.com>
9763 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9764 during the stable series if we need it. Fixes #319178.
9766 * gst/gstevent.c (gst_event_new_filler): Removed.
9768 * check/gst/gstevent.c: Update comment about filler events.
9770 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9772 * gst/gstvalue.c: (gst_value_is_fixed):
9773 Should handle both value arrays and value lists.
9775 2005-11-21 Andy Wingo <wingo@pobox.com>
9777 patch by: Alessandro Dessina <alessandro nnva org>
9779 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9780 functions to access arrays. Fixes #321962.
9782 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9784 * docs/gst/gstreamer.types:
9785 gst_collectpads_get_type => gst_collect_pads_get_type.
9787 * gst/base/gstbasetransform.c:
9788 Remove unused SIGNAL_HANDOFF enum.
9790 2005-11-21 Andy Wingo <wingo@pobox.com>
9792 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9793 the event type (upstream, downstream, serialized). Renamed
9794 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9795 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9796 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9798 * gst/gstevent.c: Update for new CUSTOM event names.
9800 * check/gst/gstevent.c: Update check for new CUSTOM event names.
9803 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9806 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9808 * docs/gst/gstreamer-sections.txt:
9809 * win32/common/libgstbase.def:
9810 * win32/libgstbase.def:
9811 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9812 (gst_collect_pads_class_init), (gst_collect_pads_init),
9813 (gst_collect_pads_finalize), (gst_collect_pads_new),
9814 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9815 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9816 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9817 (gst_collect_pads_start), (gst_collect_pads_stop),
9818 (gst_collect_pads_peek), (gst_collect_pads_pop),
9819 (gst_collect_pads_available), (gst_collect_pads_read),
9820 (gst_collect_pads_flush), (gst_collect_pads_event),
9821 (gst_collect_pads_chain):
9822 * gst/base/gstcollectpads.h:
9823 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9824 unimplemented functions as unimplemented. Add padding to
9825 GstCollectData. (#320766, #320423)
9827 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9830 Improve docs for DURATION message (usage of duration parameter)
9833 2005-11-20 Wim Taymans <wim@fluendo.com>
9835 * check/Makefile.am:
9836 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9840 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9841 (gst_segment_set_seek), (gst_segment_set_newsegment),
9842 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9845 Added segment helper structure and methods. Not fully implemented
9847 Added segment check.
9849 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
9851 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9852 Add a deserialisation test for fractions
9853 * examples/metadata/read-metadata.c: (message_loop),
9854 (make_pipeline), (main):
9855 Fix up metadata reading sample.
9856 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9858 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9859 Don't try and fixate empty caps
9860 * gst/gst_private.h:
9861 Wrap in G_BEGIN_DECLS/G_END_DECLS
9862 * gst/gstvalue.c: (gst_value_collect_fraction),
9863 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9864 (gst_value_transform_string_fraction),
9865 (gst_value_compare_fraction):
9866 Add some extra guards to ensure that we don't end up
9867 with an invalid denominator of 0 in a gstfraction and
9868 that fractions always get reduced.
9870 2005-11-20 Wim Taymans <wim@fluendo.com>
9872 * docs/gst/gstreamer-sections.txt:
9883 2005-11-20 Wim Taymans <wim@fluendo.com>
9885 * docs/design/part-TODO.txt:
9887 Make a proper enum of the flag.
9889 2005-11-19 Wim Taymans <wim@fluendo.com>
9891 * docs/design/part-TODO.txt:
9892 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9893 (gst_format_to_quark), (gst_format_register):
9895 * gst/gstquery.c: (_gst_query_initialize),
9896 (gst_query_type_get_name), (gst_query_type_to_quark),
9897 (gst_query_type_register):
9899 Add type to quark and type to string conversions.
9901 2005-11-19 Andy Wingo <wingo@pobox.com>
9903 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9906 2005-11-19 Wim Taymans <wim@fluendo.com>
9908 * docs/design/part-TODO.txt:
9909 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9910 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9911 (gst_bin_handle_message_func):
9913 Make message handling overridable.
9915 2005-11-19 Andy Wingo <wingo@pobox.com>
9917 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9920 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9922 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9923 is a GstClockTime. Fixes #321710.
9925 * gst/gstclock.h (GstClock): Remove offset property. Add
9926 internal_calibration and external_calibration. Fix padding. Pad
9927 also by GstClockTime so we don't run into problems.
9929 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9930 (gst_clock_get_rate_offset): Remove.
9931 (gst_clock_set_time_adjust): Remove. Fixes #321712.
9934 * gst/gstutils.c (g_static_rec_cond_wait)
9935 (g_static_rec_cond_timed_wait): Removed, no longer needed.
9937 * gst/gstbin.c: Remove terrible continue_state prototype.
9939 * gst/gstelement.h (gst_element_continue_state): Make public.
9942 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9943 by continue_state. Fixes #319389.
9945 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9946 Really fixes #168438. However I don't see anywhere where the
9947 filter function is called... stupid GStreamer...
9949 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9950 don't have a dispose function, so it won't get called when the
9951 object is unreffed, but oh well!
9953 * gst/gstindex.c (gst_index_set_filter_full): New API function,
9954 allows a destroy function to be set so user_data can be freed.
9956 (gst_index_set_filter): Call gst_index_set_filter_full.
9958 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9960 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9961 string should produce an error, given the lack of a way to
9962 represent NULL strings. Fixes #165650.
9965 * gst/gstvalue.c (gst_value_array_append_value)
9966 (gst_value_array_prepend_value, gst_value_array_get_size)
9967 (gst_value_array_get_value): New API, copied from
9968 gst_value_list_*, only operates on arrays.
9969 (gst_value_list_append_value, gst_value_list_prepend_value)
9970 (gst_value_list_concat, gst_value_list_get_size)
9971 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9973 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9974 init_list, because it works on both.
9975 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9976 (gst_value_copy_list_or_array): Renamed from copy_list.
9977 (gst_value_free_list_or_array): Renamed from free_list.
9978 (gst_value_collect_list_or_array): Renamed from collect_list.
9979 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9980 (gst_value_list_or_array_peek_pointer): Renamed from
9982 (_gst_value_array_value_table, _gst_value_list_value_table):
9983 Update value table functions.
9984 (gst_value_compare_list_or_array): Renamed from compare_list.
9986 * gsttaglist.h: Whoops, foreach function returns void. Also fix
9990 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9991 GstTagList*. Fixes #143472.
9993 * gst/gststructure.h: Clarify what the foreach/map functions can
9994 or can't do to their arguments.
9996 2005-11-18 Wim Taymans <wim@fluendo.com>
9998 * gst/gstclock.c: (gst_clock_set_calibration),
9999 (gst_clock_get_calibration):
10001 Calibration can be set with internal time equal to current
10004 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
10010 2005-11-18 Andy Wingo <wingo@pobox.com>
10013 * pkgconfig/gstreamer-net.pc.in:
10014 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10015 * pkgconfig/Makefile.am: Add net pkgconfig files.
10017 2005-11-18 Stefan Kost <ensonic@users.sf.net>
10020 * gst/gstghostpad.c:
10026 2005-11-18 Andy Wingo <wingo@pobox.com>
10028 * gst/net/gstnetclientclock.c: Turn off debugging.
10030 * check/net/gstnetclientclock.c (test_functioning): Assert that the
10031 times connverge somewhat. Can't make a real test.
10033 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
10034 integer arithmetic. Return the minimum of the domain, which can be
10035 set as "internal" for gst_clock_set_calibration.
10036 (gst_net_client_clock_observe_times): Call _set_calibration.
10037 (gst_net_client_clock_new): Call _set_calibration instead of
10040 * check/net/gstnetclientclock.c (test_functioning): Use the right
10044 * gst/gstclock.c (gst_clock_get_calibration)
10045 (gst_clock_set_calibration): New functions, obsolete the ones I
10046 added yesterday. Doh. Precision issues mean we have to extrapolate
10047 from a point in the more recent past than 1970.
10048 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
10050 (gst_clock_adjust_unlocked): Use the right calibration data.
10052 2005-11-18 Edward Hervey <edward@fluendo.com>
10054 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10055 Also reset the ->current_* values in READY->PAUSED
10057 2005-11-18 Andy Wingo <wingo@pobox.com>
10059 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
10060 Whoops, check the right fd. Also add some debugging.
10061 (gst_net_client_clock_observe_times): Adjust for int64 offset.
10062 (do_linear_regression): Add a crapload of debugging. Subtract off
10063 the minimum values from the input series to discard unneeded bits.
10064 Use only int arithmetic. There is still double arithmetic when
10065 calculating the intercept that needs fixing. Return boolean to
10066 indicate success; FALSE would mean the domain or range is too
10067 great. Still needs fixes.
10069 2005-11-18 Wim Taymans <wim@fluendo.com>
10071 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10072 For the current position in stream time, we need to subtract
10075 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
10076 Release lock before calling the callback function of async
10079 2005-11-18 Andy Wingo <wingo@pobox.com>
10081 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
10082 Port goes all the way to MAXUINT16.
10084 * gst/net/gstnettimeprovider.c: Make the port range the same as
10085 for the kernel: 0 assigns, otherwise ports are less than
10088 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
10091 * check/net/gstnetclientclock.c (test_functioning): Add the start
10094 2005-11-18 Wim Taymans <wim@fluendo.com>
10096 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10097 (gst_bin_remove_func), (bin_bus_handler):
10099 Removing a clock provider from a bin, triggers a clock lost message
10100 so that a new clock will be selected.
10101 Adding a clock to a bin triggers a clock provider message.
10102 Make sure we reselect a clock when we received a clock lost message.
10103 Keep a reference to the element that provided the clock.
10105 2005-11-18 Andy Wingo <wingo@pobox.com>
10107 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
10108 the clock initially so it produces values around the base time.
10109 (gst_net_client_clock_class_init): Typo fix.
10110 (gst_net_client_clock_thread): Add note on when the socket gets
10113 2005-11-17 Wim Taymans <wim@fluendo.com>
10115 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
10116 Free remote and local time arrays.
10118 2005-11-17 Wim Taymans <wim@fluendo.com>
10120 * gst/net/gstnetclientclock.c: (do_linear_regression),
10121 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
10122 Fix compilation, uninitialized vars and a forgotten continue.
10124 2005-11-17 Andy Wingo <wingo@pobox.com>
10126 * check/Makefile.am (check_PROGRAMS):
10127 * check/net/gstnetclientclock.c: Add a most minimal test for the
10128 net client clock. More to come later.
10130 * gst/net/gstnet.h:
10131 * gst/net/Makefile.am: Add netclientclock.
10133 * gst/net/gstnetclientclock.h:
10134 * gst/net/gstnetclientclock.c: New files, implement an untested
10135 GstClock that takes its time from a network time provider.
10136 Implements the algorithm in network-clock.scm.
10138 * tests/network-clock.scm (*window-size*): Rename from
10140 * tests/network-clock.scm (network-time):
10141 * tests/network-clock-utils.scm (q-push): Update callers.
10143 2005-11-17 Wim Taymans <wim@fluendo.com>
10145 * gst/gstbin.c: (gst_bin_provide_clock_func),
10146 (gst_bin_sort_iterator_new):
10147 And unref the child too..
10149 2005-11-17 Wim Taymans <wim@fluendo.com>
10151 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10152 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
10153 Refactor the sort iterator so it can be used while holding the
10155 Make clock selection select a clock closest to the source.
10157 2005-11-17 Michael Smith <msmith@fluendo.com>
10159 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
10160 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
10162 Anonymous structs are a gcc (and some other compilers) extension, so
10163 don't use them. Since this is only for ABI-compatibility, and our
10164 API/ABI freeze is over in a few days, this whole thing will only
10165 last a few days, so don't bother trying to think up a meaningful
10166 name for the struct.
10168 2005-11-17 Andy Wingo <wingo@pobox.com>
10170 * gst/gstclock.h (GstClock): Add rate and offset properties,
10171 preserving ABI stability. Add rate/offset accessors. Will file bug
10172 for the freeze break.
10174 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
10175 and offset, trying to keep precision and avoiding
10176 underflow/overflow.
10177 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
10178 functions. Make gst_clock_set_time_adjust obsolete.
10179 (gst_clock_set_time_adjust): Note that this function is obsolete.
10180 Will file bug soon.
10182 * gst/base/gstbasetransform.h: Make the ABI-stability hack
10183 greppable by using GST_PADDING-1+1.
10185 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
10187 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10189 * gst/gstmessage.c: (gst_message_parse_clock_lost):
10190 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
10192 * gst/gstpadtemplate.h:
10193 * gst/gstpluginfeature.h:
10194 Don't use c++ style comments in headers (#321638).
10196 2005-11-16 Andy Wingo <wingo@pobox.com>
10198 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
10201 * check/net/gstnettimeprovider.c: Check to see that the time
10202 provider actually provides times. Works, yo!
10204 2005-11-16 Wim Taymans <wim@fluendo.com>
10206 * check/Makefile.am:
10209 * check/elements/fakesrc.c: (GST_START_TEST):
10210 Set element to NULL before disposing it.
10212 2005-11-16 Andy Wingo <wingo@pobox.com>
10214 * gst/net/Makefile.am:
10215 * gst/net/gstnet.h:
10216 * gst/net/gstnettimeprovider.c:
10217 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
10218 provider, include it from gstnet.h, and add it to the build.
10220 * gst/net/gstnettimepacket.h:
10221 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
10222 sending and receiving.
10224 2005-11-16 Wim Taymans <wim@fluendo.com>
10226 * check/Makefile.am:
10227 Enable valgrind check.
10229 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
10230 (gst_fake_src_alloc_buffer):
10233 2005-11-16 Wim Taymans <wim@fluendo.com>
10235 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
10236 Call parent finalize too.
10238 2005-11-16 Wim Taymans <wim@fluendo.com>
10240 * check/Makefile.am:
10241 Enable valgrind check that should work fine now.
10243 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10244 * gst/gstqueue.c: (gst_queue_init):
10245 Fix memleaks in pad allocation.
10247 2005-11-16 Andy Wingo <wingo@pobox.com>
10249 * gst/net/Makefile.am:
10250 * gst/net/gstnet.h: New part of core to hold network elements and
10251 objects. Put in core because it exposes API that applications want
10252 to use. The library is named libgstnet-tempname right now because
10253 of the existing libgstnet in gst-plugins-base. Solution is
10254 probably to rename the one in plugins-base; will file a bug for
10257 * gst/net/gstnettimeprovider.c:
10258 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
10259 get_time call over the network.
10262 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
10264 * check/Makefile.am:
10265 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
10266 get additions shortly.
10268 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10270 * gst/gstpad.c: (gst_pad_new_from_static_template):
10272 add gst_pad_new_from_static_template functions
10273 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
10274 (gst_check_setup_sink_pad):
10275 * gst/elements/gsttee.c: (gst_tee_init):
10278 2005-11-16 Wim Taymans <wim@fluendo.com>
10280 * gst/gstpad.c: (gst_pad_pause_task):
10281 Removed warning, it's not really an error either.
10283 2005-11-16 Wim Taymans <wim@fluendo.com>
10285 * gst/base/gstbasetransform.c:
10286 (gst_base_transform_prepare_output_buf),
10287 (gst_base_transform_event):
10288 Check if the caps are NULL, this can happen if the element
10289 is shutting down and the pad caps are set to NULL.
10291 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10293 * gst/elements/gsttee.c: (gst_tee_init):
10294 fix pad template leak in tee
10296 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10298 * gst/glib-compat.c: (g_value_dup_gst_object):
10299 * gst/glib-compat.h:
10300 * gst/gstpad.c: (gst_pad_set_property):
10301 use gst_object_ref when setting the pad template; this will
10302 trigger the pad template leaks on GLib 2.6 and the slaves
10304 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10306 * gst/glib-compat.c: (gst_flags_get_first_value):
10307 * gst/glib-compat.h:
10308 * gst/gstregistryxml.c:
10309 remove functions copied from GLib 2.6
10311 2005-11-16 Michael Smith <msmith@fluendo.com>
10314 Don't link against VALGRIND_LIBS. That was always the wrong thing to
10315 do, but only breaks with newer valgrind versions. We're not a
10316 valgrind tool, we have no link-time dependencies on libcoregrind.
10318 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10320 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
10322 * gst/gstmessage.h:
10325 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
10327 * gst/base/gstbasesrc.c: (gst_base_src_init):
10328 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10329 * gst/gstqueue.c: (gst_queue_init):
10330 * gst/gstregistryxml.c: (load_feature):
10331 Revert all these unrefs, they don't even pass make check !
10333 2005-11-15 Johan Dahlin <johan@gnome.org>
10335 * gst/base/gstbasesrc.c: (gst_base_src_init):
10336 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10337 * gst/gstqueue.c: (gst_queue_init):
10338 Free pad templates, fixes a couple of leaks.
10340 2005-11-15 Daniel Fischer <dan at f3c dot com>
10342 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10344 * gst/gstpad.c: (gst_pad_get_property):
10345 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
10346 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
10349 2005-11-15 Wim Taymans <wim@fluendo.com>
10354 2005-11-15 Andy Wingo <wingo@pobox.com>
10356 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
10358 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
10359 using GST_CLOCK_TIME_NONE to disable base time management.
10360 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
10361 time if it was NONE before.
10362 (gst_pipeline_change_state): Only munge the base time if
10363 stream_time != GST_CLOCK_TIME_NONE.
10365 * check/gst/gstpipeline.c (test_base_time): Punt around the
10366 problem of the probe not being called, because that's not the
10367 issue I'm looking at. Add a check that setting stream_time to NONE
10368 disables base time management.
10370 2005-11-15 Wim Taymans <wim@fluendo.com>
10372 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10373 segment_stop == -1 at startup.
10375 * gst/base/gstbasetransform.c: (gst_base_transform_event),
10376 (gst_base_transform_change_state):
10377 Init segment values at start.
10379 2005-11-15 Wim Taymans <wim@fluendo.com>
10381 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10382 0 segment values are 0 in any format.
10384 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10385 * gst/base/gstbasetransform.h:
10386 Parse newsegment correctly in basetransform
10388 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10389 Sync to clock using updated segment values.
10391 2005-11-15 Andy Wingo <wingo@pobox.com>
10393 * check/gst/gstpipeline.c (test_base_time): Add check that the
10394 base time and stream time are reset correctly.
10396 2005-11-15 Wim Taymans <wim@fluendo.com>
10398 * docs/design/part-TODO.txt:
10399 Some more TODO items.
10401 2005-11-15 Andy Wingo <wingo@pobox.com>
10403 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
10404 error if the user selected "no clock" as the clocking method.
10406 * check/gst/gstpipeline.c (test_base_time): New test for buffer
10407 timestamps with live capture.
10409 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
10410 is 0 but we are a live source, timestamp the buffers using the
10413 2005-11-14 Stefan Kost <ensonic@users.sf.net>
10415 * docs/gst/gstreamer-sections.txt:
10417 * gst/gstghostpad.c:
10422 2005-11-14 Wim Taymans <wim@fluendo.com>
10425 add suppressions from Wim's Debian machine
10427 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
10430 add suppressions from Andy's AMD64 Ubuntu machine
10432 2005-11-14 Andy Wingo <wingo@pobox.com>
10434 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
10435 STATE_LOCK not necessary. Fixes #311489.
10437 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
10440 * gst/gstindex.c (gst_index_add_object): Note in the docs that
10441 this function is not implemented.
10443 2005-11-14 Julien MOUTTE <julien@moutte.net>
10445 * gst/base/gstbasetransform.c:
10446 (gst_base_transform_prepare_output_buf):
10447 Ref the source pad caps while we need them.
10450 2005-11-11 Wim Taymans <wim@fluendo.com>
10452 * docs/gst/gstreamer-sections.txt:
10453 Added some docs for GstCollectData.
10455 * gst/base/gstadapter.c:
10456 Some small code example fix.
10458 * gst/base/gstcollectpads.c:
10459 * gst/base/gstcollectpads.h:
10460 Document some more.
10462 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
10464 * configure.ac: back to HEAD
10466 === release 0.9.5 ===
10468 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
10471 releasing 0.9.5, "Bike Lunch Day"
10473 2005-11-11 Wim Taymans <wim@fluendo.com>
10475 * gst/gstbuffer.c: (_gst_buffer_copy):
10478 * gst/gstcaps.c: (gst_caps_is_equal):
10480 Make _is_equal fast in the trivial cases.
10482 * gst/gstminiobject.c:
10483 * gst/gstminiobject.h:
10484 More docs. Spifify .h file.
10489 2005-11-11 Wim Taymans <wim@fluendo.com>
10491 * gst/base/gstbasetransform.c:
10492 (gst_base_transform_prepare_output_buf),
10493 (gst_base_transform_handle_buffer):
10495 If we're processing a buffer and need to allocate an output
10496 buffer, we cannot accept a format change. If we did get a
10497 format change, we have to alloc a buffer ourselves of the
10500 2005-11-11 Wim Taymans <wim@fluendo.com>
10502 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
10503 While checking the flag for reentrancy in the gstcaps function
10504 is nice to detect recursive invocations, it also makes it
10505 impossible to call getcaps from multiple threads, which must be
10506 possible. So, checking for recursive calls has to go.
10508 2005-11-11 Michael Smith <msmith@fluendo.com>
10510 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10511 Don't sync on buffers that fall partially outside our current
10512 segment. Prevents an assertion failure/abort playing some files.
10514 2005-11-10 Andy Wingo <wingo@pobox.com>
10516 * check/gst/gstbin.c (test_message_state_changed_children): Style
10519 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
10520 gst_bus_poll with the signal watch. Ensures that poll and a signal
10521 watch see the same messages.
10523 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
10524 a poll and a watch at the same time get the same messages.
10526 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
10528 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
10529 * gst/gstcaps.c: (gst_caps_intersect):
10530 Don't call gst_caps_do_simplify - it doesn't respect order of caps
10531 and it's not needed.
10533 2005-11-10 Wim Taymans <wim@fluendo.com>
10535 * docs/design/part-TODO.txt:
10538 2005-11-10 Wim Taymans <wim@fluendo.com>
10540 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10541 * gst/base/gstbasesrc.c: (gst_base_src_wait),
10542 (gst_base_src_do_sync), (gst_base_src_get_range):
10543 Implement clock sync in base class.
10545 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
10547 patch by: Tim-Philipp Müller <tim at centricular dot net>
10549 * gst/gststructure.c: (gst_structure_parse_field),
10550 (gst_structure_from_string):
10551 Forward-port a 0.8 patch to handle escaped spaces in structure string,
10552 so that gst_parse_launch() can deal with spaces in filtered link
10553 caps (fixes #164479)
10554 * check/gst/capslist.h:
10555 * check/gst/gststructure.c: (GST_START_TEST):
10556 add unit tests for this change
10558 2005-11-10 Wim Taymans <wim@fluendo.com>
10560 * docs/gst/gstreamer-sections.txt:
10561 * gst/gstelement.c:
10562 * gst/gstelement.h:
10563 Fix docs, move some STATE macros to private.
10565 2005-11-10 Wim Taymans <wim@fluendo.com>
10567 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
10568 Added check for bug #317341
10572 Some more spiffifying.
10574 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
10575 Call peer linkfunction if we are a source pad. Totally fixes
10579 Update docs, source pads should call the peer linkfunction
10580 so they can atomically perform the pad link.
10582 2005-11-09 Wim Taymans <wim@fluendo.com>
10586 Uber-spiffy-spiffify some more.
10588 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
10590 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
10591 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10592 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10593 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
10594 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
10595 * gst/gstpad.c: (gst_pad_init):
10596 Use GST_DEBUG_FUNCPTR() more extensively.
10598 2005-11-09 Wim Taymans <wim@fluendo.com>
10600 * gst/gstobject.c: (gst_object_class_init):
10602 Documentation fixes.
10604 2005-11-09 Edward Hervey <edward@fluendo.com>
10606 * gst/gsttypefindfactory.c:
10609 2005-11-09 Edward Hervey <edward@fluendo.com>
10611 * gst/base/gsttypefindhelper.c:
10612 * gst/gsttypefind.c:
10613 * gst/gsttypefind.h:
10616 2005-11-09 Wim Taymans <wim@fluendo.com>
10618 * gst/gstiterator.c:
10625 2005-11-09 Wim Taymans <wim@fluendo.com>
10631 2005-11-09 Wim Taymans <wim@fluendo.com>
10633 * docs/gst/gstreamer-sections.txt:
10634 Moved the message async delivery private lock and cond
10635 to the private section.
10637 * gst/gstmessage.c:
10638 * gst/gstmessage.h:
10641 2005-11-09 Edward Hervey <edward@fluendo.com>
10643 * docs/gst/gstreamer-sections.txt:
10646 Document GstURIHandler
10648 2005-11-09 Wim Taymans <wim@fluendo.com>
10650 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
10651 (gst_iterator_find_custom):
10652 * gst/gstiterator.h:
10655 2005-11-09 Wim Taymans <wim@fluendo.com>
10658 Document another field.
10660 * gst/gststructure.c:
10661 * gst/gststructure.h:
10664 2005-11-09 Wim Taymans <wim@fluendo.com>
10667 Documented structs.
10669 2005-11-09 Wim Taymans <wim@fluendo.com>
10671 * docs/gst/gstreamer-sections.txt:
10672 Added some new macros.
10679 2005-11-09 Wim Taymans <wim@fluendo.com>
10681 * docs/design/part-TODO.txt:
10682 Some more items for the TODO
10688 2005-11-09 Andy Wingo <wingo@pobox.com>
10690 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
10691 to work on something else now tho...
10693 * gst/base/gstadapter.c: More adapter docs.
10695 * gst/elements/gstfilesink.c (gst_file_sink_start)
10696 (gst_file_sink_stop): New functions, replace the state change
10698 (gst_file_sink_class_init): Hook up the start and stop functions.
10699 (gst_file_sink_base_init): Don't set the state change handler any
10700 more. It was a bit ugly too, being set from here...
10701 (gst_file_sink_get_property, gst_file_sink_set_property):
10703 (gst_file_sink_set_location): More robust check that doesn't call
10704 GST_STATE. Ugggggg.
10706 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
10708 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10709 Hold STREAM_LOCK while pushing newsegment or tag events as well.
10711 2005-11-08 Wim Taymans <wim@fluendo.com>
10713 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10714 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10715 (gst_base_sink_chain), (gst_base_sink_change_state):
10716 * gst/base/gstbasesink.h:
10717 * gst/base/gstbasesrc.h:
10718 * gst/gstelement.h:
10720 Avoid excessive typechecking in macros.
10722 * gst/gstminiobject.c: (gst_mini_object_get_type),
10723 (gst_mini_object_init), (gst_mini_object_new),
10724 (gst_mini_object_free):
10725 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10726 (gst_object_finalize):
10727 Remove cruft code, optimize alloc_trace.
10729 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
10731 * docs/faq/gst-uninstalled:
10732 fix up PS1 for systems that try to reset it
10734 2005-11-07 Wim Taymans <wim@fluendo.com>
10736 * gst/base/gstbasesrc.c: (gst_base_src_init),
10737 (gst_base_src_get_range):
10738 Set the segment_end to -1 initially. Fixed typefind.
10740 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
10742 * gst/base/gstadapter.c:
10743 Debug category should be 'adapter', not 'GstAdapter'.
10745 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10746 (gst_collectpads_class_init), (gst_collectpads_init),
10747 (gst_collectpads_peek), (gst_collectpads_pop),
10748 (gst_collectpads_event), (gst_collectpads_chain):
10749 Add debug category and some debugging output. Use boilerplate
10750 macros. Remove some extraneous words from docs.
10752 2005-11-05 Andy Wingo <wingo@pobox.com>
10754 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10757 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10759 * docs/gst/gstreamer-sections.txt:
10762 * gst/gstminiobject.h:
10767 2005-11-04 Wim Taymans <wim@fluendo.com>
10769 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10770 Small update to stop at the configured segment_end
10773 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10775 * gst/gstregistry.c:
10776 * gst/gstregistry.h:
10779 2005-11-04 Edward Hervey <edward@fluendo.com>
10781 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10782 Check if we are doing a segment seek and have arrived at the
10783 end of that segment.
10785 2005-11-04 Wim Taymans <wim@fluendo.com>
10787 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10788 Don't leak a mutex unlock in case of an error.
10793 2005-11-04 Wim Taymans <wim@fluendo.com>
10795 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10797 Get the context to wake up only once.
10799 2005-11-03 Wim Taymans <wim@fluendo.com>
10801 * check/states/sinks.c: (GST_START_TEST):
10802 Uncomment fixed check.
10804 * docs/design/part-TODO.txt:
10807 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10808 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10809 (gst_base_sink_get_position):
10810 If we are going to PLAYING, post the right pending state
10811 when we post the intermediate paused message.
10813 * gst/gstelement.c: (gst_element_continue_state),
10814 (gst_element_set_state_func), (gst_element_change_state):
10815 Don't post state changes that were between the same state
10816 and were not ASYNC.
10818 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10820 * docs/gst/gstreamer-sections.txt:
10823 * gst/gstminiobject.h:
10826 more docs and doc style fixes
10828 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10830 * docs/gst/gstreamer-sections.txt:
10831 * gst/gstelement.c:
10832 * gst/gstminiobject.c:
10835 2005-11-03 Andy Wingo <wingo@pobox.com>
10837 * check/states/sinks.c (test_livesrc_sink): Add checks that the
10838 state-changed messages actually have the right order and the right
10841 2005-11-03 Wim Taymans <wim@fluendo.com>
10843 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10844 Added some more checks. Specifically the case where NO_PREROLL
10845 elements are in the pipeline.
10847 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10848 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10849 (gst_base_sink_get_position):
10850 Post READY->PAUSED state change messages too.
10851 Fix bug where VOID was posted as pending state...
10853 * gst/gstbin.c: (gst_bin_recalc_state):
10854 use _element_continue_state() to continue the state change.
10856 * gst/gstelement.c: (gst_element_continue_state),
10857 (gst_element_commit_state), (gst_element_set_state_func),
10858 (gst_element_change_state), (gst_element_change_state_func):
10859 Lots of state change cleanups, assign the STATE_RETURN in
10860 a new continue_state() function that also propagates the
10861 last return value from a state change to the app.
10862 Update some debug statements with proper category.
10864 2005-11-03 Wim Taymans <wim@fluendo.com>
10866 * docs/design/part-events.txt:
10867 * docs/design/part-gstpipeline.txt:
10868 * docs/design/part-messages.txt:
10869 * docs/design/part-overview.txt:
10870 * docs/design/part-seeking.txt:
10871 * docs/design/part-states.txt:
10872 * docs/design/part-trickmodes.txt:
10873 * docs/manual/advanced-position.xml:
10874 Small docs updates.
10877 People think !! is ugly, this looks better.
10879 * gst/gstpad.c: (gst_pad_set_blocked_async):
10880 Remove !! since it's fixed elsewhere now.
10882 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10884 * gst/gstminiobject.h:
10886 Add !! to _FLAG_IS_SET macros to make the result boolean.
10888 2005-11-03 Edward Hervey <edward@fluendo.com>
10890 * gst/gstpad.c: (gst_pad_set_blocked_async):
10891 comparing a flag and a gboolean rarely returns coherent results...
10892 Added two characters (!!) to make that work correctly.
10894 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10896 * gst/gstbus.c: (gst_bus_class_init):
10899 * gst/gstqueue.c: (gst_queue_loop):
10900 Don't assume a miniobject that isn't a buffer is an
10901 event (it could be that there is a refcounting
10902 problem somewhere and the pointer is stale and
10903 refers to an already destroyed miniobject).
10905 2005-11-03 Julien MOUTTE <julien@moutte.net>
10907 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10909 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10911 * docs/manual/advanced-position.xml:
10912 Update seek example and explanations to current 0.9 API.
10914 * gst/elements/gsttypefindelement.c:
10915 (gst_type_find_element_activate):
10916 Remove FIXME comment now that the found caps
10919 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
10921 * gst/gstregistryxml.c: (load_feature):
10922 Add another GST_STR_NULL instance
10924 2005-11-02 Edward Hervey <edward@fluendo.com>
10926 * gst/gstpad.c: (handle_pad_block):
10927 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10929 2005-11-02 Wim Taymans <wim@fluendo.com>
10934 * gst/gstelement.c: (gst_element_commit_state):
10935 Remove unused value.
10937 * gst/gstiterator.c:
10938 Mention that the returned element is reffed in the docs.
10940 2005-11-02 Wim Taymans <wim@fluendo.com>
10942 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10943 (gst_pad_push), (gst_pad_push_event):
10944 Unlock blocked pads when they are flushed.
10946 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10949 * docs/gst/gstreamer-sections.txt:
10952 * gst/gstregistry.c: (gst_registry_scan_path_level):
10953 fix for a nasty little missed situation where an installed plug-in
10954 which was in the cache did not get overridden by an uninstalled one
10955 which was earlier in the plugin path because the newly created plugin
10956 for the uninstalled one (not in the registry) didn't get its
10957 ->registered set to TRUE
10959 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10961 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10962 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10963 (gst_collectpads_is_active), (gst_collectpads_collect),
10964 (gst_collectpads_collect_range), (gst_collectpads_start),
10965 (gst_collectpads_stop), (gst_collectpads_peek),
10966 (gst_collectpads_pop), (gst_collectpads_available),
10967 (gst_collectpads_read), (gst_collectpads_flush):
10968 Guard public API with assertions.
10971 Fix docs for gst_pad_set_link_function().
10973 2005-11-02 Johan Dahlin <johan@gnome.org>
10975 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
10976 Unref found_caps after we used it.
10978 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10980 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10981 Don't try to ref NULL.
10983 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10985 * win32/common/config.h.in:
10986 provide a GST_FUNCTION that just gives a string for now
10988 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10990 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10991 (gst_object_flags_get_type), (register_gst_bin_flags),
10992 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10993 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10994 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10995 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10996 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10997 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10998 (gst_clock_flags_get_type), (register_gst_state),
10999 (gst_state_get_type), (register_gst_state_change_return),
11000 (gst_state_change_return_get_type), (register_gst_state_change),
11001 (gst_state_change_get_type), (register_gst_element_flags),
11002 (gst_element_flags_get_type), (register_gst_core_error),
11003 (gst_core_error_get_type), (register_gst_library_error),
11004 (gst_library_error_get_type), (register_gst_resource_error),
11005 (gst_resource_error_get_type), (register_gst_stream_error),
11006 (gst_stream_error_get_type), (register_gst_event_type),
11007 (gst_event_type_get_type), (register_gst_seek_type),
11008 (gst_seek_type_get_type), (register_gst_seek_flags),
11009 (gst_seek_flags_get_type), (register_gst_format),
11010 (gst_format_get_type), (register_gst_index_certainty),
11011 (gst_index_certainty_get_type), (register_gst_index_entry_type),
11012 (gst_index_entry_type_get_type),
11013 (register_gst_index_lookup_method),
11014 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
11015 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
11016 (gst_index_resolver_method_get_type), (register_gst_index_flags),
11017 (gst_index_flags_get_type), (register_gst_debug_level),
11018 (gst_debug_level_get_type), (register_gst_debug_color_flags),
11019 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11020 (gst_iterator_result_get_type), (register_gst_iterator_item),
11021 (gst_iterator_item_get_type), (register_gst_message_type),
11022 (gst_message_type_get_type), (register_gst_mini_object_flags),
11023 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11024 (gst_pad_link_return_get_type), (register_gst_flow_return),
11025 (gst_flow_return_get_type), (register_gst_activate_mode),
11026 (gst_activate_mode_get_type), (register_gst_pad_direction),
11027 (gst_pad_direction_get_type), (register_gst_pad_flags),
11028 (gst_pad_flags_get_type), (register_gst_pad_presence),
11029 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11030 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11031 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11032 (gst_plugin_error_get_type), (register_gst_plugin_flags),
11033 (gst_plugin_flags_get_type), (register_gst_rank),
11034 (gst_rank_get_type), (register_gst_query_type),
11035 (gst_query_type_get_type), (register_gst_tag_merge_mode),
11036 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11037 (gst_tag_flag_get_type), (register_gst_task_state),
11038 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11039 (gst_alloc_trace_flags_get_type),
11040 (register_gst_type_find_probability),
11041 (gst_type_find_probability_get_type), (register_gst_uri_type),
11042 (gst_uri_type_get_type), (register_gst_parse_error),
11043 (gst_parse_error_get_type):
11044 * win32/common/gstversion.h:
11045 update win32 copies
11047 2005-11-01 Luca Ognibene <luogni@tin.it>
11050 fix docs. popt is dead, long live GOption.
11052 2005-10-31 Wim Taymans <wim@fluendo.com>
11057 2005-10-31 Andy Wingo <wingo@pobox.com>
11061 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
11063 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
11064 need to serialize property notifications on GLib 2.8. GLib 2.6 has
11065 the possibility of deadlocks here if code calling notify() or
11066 set() has a lock that can be taken in another notify handler (ABBA
11067 with class lock and e.g. python GIL state lock).
11069 2005-10-28 Julien MOUTTE <julien@moutte.net>
11071 * gst/gstbus.c: Doc updates.
11073 2005-10-28 Wim Taymans <wim@fluendo.com>
11075 * docs/design/part-TODO.txt:
11076 * gst/gstiterator.c:
11077 * gst/gstsystemclock.c:
11078 * gst/gstsystemclock.h:
11081 2005-10-28 Edward Hervey <edward@fluendo.com>
11083 * docs/gst/gstreamer-docs.sgml:
11084 * docs/gst/gstreamer-sections.txt:
11085 the GstURIType documentation page is private, it only defines GstURIType
11086 which should be defined in the GstURIHandler page
11088 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
11090 * gst/gstbin.c: (gst_bin_class_init):
11093 Documentation updates.
11095 2005-10-28 Wim Taymans <wim@fluendo.com>
11097 * docs/gst/gstreamer-sections.txt:
11100 Documented the clocks.
11102 2005-10-28 Stefan Kost <ensonic@users.sf.net>
11104 * docs/gst/gstreamer-sections.txt:
11105 move some macros to private sections
11106 * gst/gstminiobject.c:
11107 * gst/gstminiobject.h:
11108 add descriptions provided by ds and some more
11110 mark macro as to be removed
11112 2005-10-28 Wim Taymans <wim@fluendo.com>
11114 * docs/design/part-TODO.txt:
11115 Add an item to TODO.
11117 * gst/gstiterator.c: (gst_iterator_fold),
11118 (gst_iterator_find_custom):
11119 * gst/gstiterator.h:
11122 2005-10-28 Wim Taymans <wim@fluendo.com>
11124 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11125 (gst_base_transform_init):
11128 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
11129 An EOS event marks the queue as completely filled.
11131 2005-10-27 Wim Taymans <wim@fluendo.com>
11133 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11134 (gst_base_sink_do_sync), (gst_base_sink_get_position):
11135 Some more debugging.
11137 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
11138 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
11139 (gst_base_transform_event), (gst_base_transform_getrange),
11140 (gst_base_transform_chain):
11141 * gst/base/gstbasetransform.h:
11143 Protect transform and concurrent buffer alloc with a new lock.
11144 Try not to break ABI/API.
11146 2005-10-27 Wim Taymans <wim@fluendo.com>
11148 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11149 (gst_base_src_init), (gst_base_src_query),
11150 (gst_base_src_default_newsegment),
11151 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11152 (gst_base_src_send_event), (gst_base_src_event_handler),
11153 (gst_base_src_pad_get_range), (gst_base_src_loop),
11154 (gst_base_src_unlock), (gst_base_src_default_negotiate),
11155 (gst_base_src_start), (gst_base_src_deactivate),
11156 (gst_base_src_activate_push), (gst_base_src_change_state):
11157 Move some stuff around and cleanup things.
11159 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
11161 * gst/base/gstbasesrc.c: (gst_base_src_query):
11162 Add missing break statements.
11164 2005-10-27 Wim Taymans <wim@fluendo.com>
11166 * check/gst/gstbin.c: (GST_START_TEST):
11167 An extra refcount is taken in basesrc.
11169 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11170 (gst_base_src_get_range), (gst_base_src_pad_get_range),
11171 (gst_base_src_loop):
11172 Small cleanups, check for flushing after being unlocked from the
11173 LIVE_LOCK. take refcounts correctly (not yet everywhere).
11174 Don't send out EOS when going to READY.
11176 2005-10-27 Wim Taymans <wim@fluendo.com>
11178 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11179 (gst_base_sink_get_position):
11182 * gst/gstbin.c: (message_check), (bin_replace_message),
11183 (bin_remove_messages), (is_eos), (gst_bin_add_func),
11184 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11185 (bin_query_duration_init), (bin_query_duration_fold),
11186 (bin_query_duration_done), (bin_query_generic_fold),
11188 * tools/gst-launch.c: (main):
11191 2005-10-26 Stefan Kost <ensonic@users.sf.net>
11193 * examples/controller/audio-example.c: (main):
11194 * examples/queue/queue.c: (event_loop):
11195 * gst/base/gstbasetransform.h:
11196 * gst/gstelement.c: (gst_element_send_event):
11198 * gst/gstpad.c: (gst_pad_send_event):
11201 changing log priority in error situations
11203 2005-10-25 Wim Taymans <wim@fluendo.com>
11205 * gst/gstbin.c: (message_check), (bin_replace_message),
11206 (bin_remove_messages), (is_eos), (gst_bin_add_func),
11207 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11208 (bin_query_duration_init), (bin_query_duration_fold),
11209 (bin_query_duration_done), (bin_query_generic_fold),
11211 Some doc and debug updates.
11212 Cache previously requested query DURATION for speed. invalidate
11213 cached duration if element posts a DURATION message.
11215 2005-10-25 Wim Taymans <wim@fluendo.com>
11217 * docs/design/part-TODO.txt:
11220 * gst/gstbin.c: (message_check), (bin_replace_message),
11221 (bin_remove_messages), (is_eos), (gst_bin_add_func),
11222 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
11223 (bin_query_duration_init), (bin_query_duration_fold),
11224 (bin_query_duration_done), (bin_query_generic_fold),
11226 Handle SEGMENT_START/DONE messages correctly.
11227 More evolved query algorithm that handles duration queries
11230 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
11231 (gst_element_get_state_func), (gst_element_abort_state),
11232 (gst_element_commit_state), (gst_element_lost_state):
11233 Some more debugging.
11235 * gst/gstmessage.h:
11238 2005-10-25 Wim Taymans <wim@fluendo.com>
11240 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11241 Don't use invalid stream_time.
11243 * gst/gstevent.c: (gst_event_new_newsegment):
11244 stream_time in newsegment cannot be undefined.
11246 2005-10-24 Wim Taymans <wim@fluendo.com>
11251 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11253 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
11255 2005-10-24 Stefan Kost <ensonic@users.sf.net>
11257 * docs/libs/tmpl/gstdparam.sgml:
11258 * docs/libs/tmpl/gstdplinint.sgml:
11259 * docs/libs/tmpl/gstdpman.sgml:
11260 * docs/libs/tmpl/gstdpsmooth.sgml:
11261 * docs/libs/tmpl/gstunitconvert.sgml:
11264 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
11269 === release 0.9.4 ===
11271 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
11274 releasing 0.9.4, "Tyrannosaurus Rex"
11276 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
11278 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11279 (gst_file_sink_get_current_offset):
11280 Use fseeko() and ftello() if available. When falling back on
11281 lseek() to get the current offset, fflush() first to make sure
11282 everything is up-to-date and we get the right offset.
11284 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
11286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11287 * gst/base/gstbasesrc.c: (gst_base_src_loop):
11288 * gst/gsterror.c: (_gst_stream_errors_init):
11290 * gst/gstqueue.c: (gst_queue_loop):
11292 remove prematurely added error category and clean up the instances
11294 2005-10-21 Wim Taymans <wim@fluendo.com>
11296 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11297 (gst_base_sink_get_position), (gst_base_sink_query),
11298 (gst_base_sink_change_state):
11299 Simply set the right flag when going to playing, that's all
11300 we need to do instead of calling a function inside the object
11301 lock (that could take the lock as well and deadlock)
11303 2005-10-21 Wim Taymans <wim@fluendo.com>
11305 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
11306 (gst_base_src_loop):
11307 Don't warn, the peer element knows what to do best when
11308 the seek failed, it might try something else.
11310 2005-10-21 Wim Taymans <wim@fluendo.com>
11312 * gst/base/gstbasesrc.c: (gst_base_src_init),
11313 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
11316 2005-10-21 Wim Taymans <wim@fluendo.com>
11318 * docs/design/part-segments.txt:
11321 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11322 Correctly set caps, even on the subbufer.
11324 2005-10-21 Wim Taymans <wim@fluendo.com>
11326 * docs/gst/gstreamer-docs.sgml:
11327 * docs/gst/gstreamer-sections.txt:
11328 * gst/gstelement.h:
11331 * gst/gstmessage.h:
11334 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
11338 And 2% more doc coverage.
11340 2005-10-21 Andy Wingo <wingo@pobox.com>
11342 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
11343 position reporting.
11345 2005-10-20 Wim Taymans <wim@fluendo.com>
11347 * gst/gsterror.c: (gst_error_get_message):
11350 * gst/gststructure.c:
11355 2005-10-20 Wim Taymans <wim@fluendo.com>
11360 Another 1% more coverage.
11362 2005-10-20 Wim Taymans <wim@fluendo.com>
11364 * docs/gst/gstreamer-sections.txt:
11365 * gst/gstelement.c: (gst_element_get_state_func),
11366 (gst_element_abort_state), (gst_element_commit_state),
11367 (gst_element_lost_state):
11369 * gst/gstquery.c: (gst_query_set_position),
11370 (gst_query_parse_position), (gst_query_set_duration),
11371 (gst_query_parse_duration), (gst_query_new_convert):
11373 Yay! 1% more docs coverage.
11375 2005-10-20 Wim Taymans <wim@fluendo.com>
11378 * gst/gstquery.c: (gst_query_set_position),
11379 (gst_query_parse_position), (gst_query_set_duration),
11380 (gst_query_parse_duration), (gst_query_new_convert):
11382 * gst/gstutils.c: (gst_element_query_convert):
11384 Docs and consistency fixes.
11386 2005-10-20 Wim Taymans <wim@fluendo.com>
11392 2005-10-20 Wim Taymans <wim@fluendo.com>
11394 * gst/gstbin.c: (message_check), (bin_replace_message),
11395 (bin_remove_messages), (is_eos), (gst_bin_add_func),
11396 (update_degree), (gst_bin_sort_iterator_next),
11397 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
11398 Reworked the message handling a bit, cache the messages instead of
11399 only the senders. alows us to do more in the future.
11401 2005-10-20 Wim Taymans <wim@fluendo.com>
11403 * docs/design/part-TODO.txt:
11406 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
11407 (gst_base_sink_query):
11408 Don't use clock time to report position when in EOS.
11410 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
11412 * tools/gst-inspect.c: (print_interfaces),
11413 (print_element_properties_info), (print_element_info):
11414 Fix interface output with gst-inspect -a; don't print
11415 newlines after double/float properties.
11417 2005-10-20 Wim Taymans <wim@fluendo.com>
11419 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
11420 (gst_base_sink_query):
11421 Speed up current position calculation.
11423 * gst/base/gstbasesrc.c: (gst_base_src_query),
11424 (gst_base_src_default_newsegment):
11425 Correctly set stream position in newsegment.
11427 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
11428 (update_degree), (gst_bin_sort_iterator_next),
11429 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
11430 * gst/gstmessage.c: (gst_message_new_custom):
11431 Clean up debugging info
11433 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
11434 (gst_queue_loop), (gst_queue_handle_src_query):
11437 2005-10-19 Wim Taymans <wim@fluendo.com>
11439 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11440 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
11441 Fix query handling again.
11443 2005-10-19 Wim Taymans <wim@fluendo.com>
11445 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11446 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
11447 * gst/base/gstbasesrc.c: (gst_base_src_query):
11448 * gst/elements/gstfilesink.c: (gst_file_sink_query):
11449 * gst/elements/gsttypefindelement.c:
11450 (gst_type_find_handle_src_query), (find_element_get_length),
11451 (gst_type_find_element_activate):
11454 * gst/gstquery.c: (gst_query_new_position),
11455 (gst_query_set_position), (gst_query_parse_position),
11456 (gst_query_new_duration), (gst_query_set_duration),
11457 (gst_query_parse_duration), (gst_query_set_segment),
11458 (gst_query_parse_segment):
11460 Bundling query position/duration is not a good idea since duration
11461 does not change much and we don't want to recalculate it for every
11462 position query, so they are separated again..
11463 Base value in segment query is not needed.
11465 * gst/gstqueue.c: (gst_queue_handle_src_query):
11466 * gst/gstutils.c: (gst_element_query_position),
11467 (gst_element_query_duration), (gst_pad_query_position),
11468 (gst_pad_query_duration):
11470 Updates for query API change.
11471 Added some docs here and there.
11473 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
11475 * check/gst/gstbin.c: (GST_START_TEST):
11476 * check/gst/gstghostpad.c: (GST_START_TEST):
11477 * check/pipelines/cleanup.c: (GST_START_TEST):
11478 wait on thread to die so we can check refcount correctly
11480 2005-10-18 Wim Taymans <wim@fluendo.com>
11482 * check/pipelines/stress.c: (GST_START_TEST):
11483 Make check a little more time consuming.
11485 2005-10-18 Wim Taymans <wim@fluendo.com>
11487 * check/Makefile.am:
11488 * check/pipelines/stress.c: (GST_START_TEST),
11489 (simple_launch_lines_suite), (main):
11490 Small state change torture test.
11492 * docs/design/part-states.txt:
11493 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11494 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
11495 (gst_base_sink_change_state):
11496 Never take state lock from streaming thread, clean up ugly
11497 hacks. Unfortunatly core does not yet support nice ways to
11498 async commit state.
11500 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
11502 Start state recalc if a STATE_DIRTY message is posted, but only
11503 on the toplevel bin.
11505 * gst/gstelement.c: (gst_element_sync_state_with_parent),
11506 (gst_element_get_state_func), (gst_element_abort_state),
11507 (gst_element_commit_state), (gst_element_lost_state),
11508 (gst_element_set_state_func), (gst_element_change_state):
11509 * gst/gstelement.h:
11510 State variables are now protected with the LOCK, the state
11511 lock is only used to serialize _set_state().
11513 2005-10-18 Wim Taymans <wim@fluendo.com>
11515 * check/gst/gstbin.c: (GST_START_TEST):
11516 * check/gst/gstmessage.c: (GST_START_TEST):
11517 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
11520 * gst/gstelement.c: (gst_element_abort_state),
11521 (gst_element_commit_state), (gst_element_lost_state):
11522 * gst/gstmessage.c: (gst_message_new_state_changed),
11523 (gst_message_new_state_dirty), (gst_message_new_segment_start),
11524 (gst_message_new_segment_done), (gst_message_new_duration),
11525 (gst_message_parse_state_changed),
11526 (gst_message_parse_segment_start),
11527 (gst_message_parse_segment_done), (gst_message_parse_duration):
11528 * gst/gstmessage.h:
11529 * tools/gst-launch.c: (event_loop):
11530 Seriously, this is better than a previous commit as we only need
11531 to notify the fact that an element changed state in a streaming
11532 thread, marking the state of the parents dirty, hence the
11533 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
11536 2005-10-18 Wim Taymans <wim@fluendo.com>
11538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
11539 (gst_bin_recalc_func):
11540 * gst/gstelement.c: (gst_element_set_clock),
11541 (gst_element_abort_state), (gst_element_lost_state):
11542 Cleanups, prepare for state change fixes.
11544 2005-10-18 Wim Taymans <wim@fluendo.com>
11547 * gst/gstelement.c: (gst_element_class_init),
11548 (gst_element_set_state), (gst_element_set_state_func):
11549 * gst/gstelement.h:
11550 Pending ABI changes.
11551 GThreadPool in GstBinClass to monitor async state changes.
11552 state_cookie in GstElement to detect concurrent gst/set state.
11553 set_state is now virtual too in case a very complicated element
11554 has to be constructed.
11556 2005-10-18 Wim Taymans <wim@fluendo.com>
11558 * check/gst/gstbin.c: (GST_START_TEST):
11559 * check/gst/gstmessage.c: (GST_START_TEST):
11560 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11561 * gst/gstbin.c: (bin_bus_handler):
11562 * gst/gstelement.c: (gst_element_commit_state),
11563 (gst_element_lost_state):
11564 * gst/gstmessage.c: (gst_message_new_state_changed),
11565 (gst_message_new_segment_start), (gst_message_new_segment_done),
11566 (gst_message_new_duration), (gst_message_parse_state_changed),
11567 (gst_message_parse_segment_start),
11568 (gst_message_parse_segment_done), (gst_message_parse_duration):
11569 * gst/gstmessage.h:
11570 * tools/gst-launch.c: (event_loop):
11571 Make messages future proof.
11572 state-change gets a flag if it was a message comming from the
11574 segment-start/stop can also be specified in other formats.
11575 A message to notify an app that a pipeline changed playback
11577 Also fix a GstMessage leak in -launch
11579 2005-10-18 Andy Wingo <wingo@pobox.com>
11581 * gst/gstelement.c (gst_element_dispose): More helpful message.
11583 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
11585 reviewed by: <delete if not using a buddy>
11587 * common/gtk-doc.mak:
11589 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
11591 * gst/gstregistry.c: (gst_registry_scan_path_level):
11592 unref a plug-in we get that was already initialized
11594 2005-10-18 Stefan Kost <ensonic@users.sf.net>
11596 * docs/gst/gstreamer-sections.txt:
11597 * docs/libs/gstreamer-libs-sections.txt:
11598 * gst/gstelement.h:
11599 add new api entries
11600 hide internal macro
11602 2005-10-17 Andy Wingo <wingo@pobox.com>
11604 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
11607 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
11609 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
11611 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
11612 (gst_element_get_state_func): Better debug message.
11613 (gst_element_commit_state): s/INFO/DEBUG/.
11614 (gst_element_lost_state, gst_element_change_state):
11616 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
11617 (gst_message_new_custom): s/INFO/LOG/.
11619 2005-10-17 Michael Smith <msmith@fluendo.com>
11621 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11622 Check if end time is valid using end time, not start time.
11624 2005-10-17 Stefan Kost <ensonic@users.sf.net>
11626 * check/gst-libs/controller.c: (GST_START_TEST),
11627 (gst_controller_suite):
11628 * libs/gst/controller/gstcontroller.c:
11629 (gst_controlled_property_set_interpolation_mode):
11630 * libs/gst/controller/gstcontroller.h:
11631 * libs/gst/controller/gstinterpolation.c:
11632 * testsuite/controller/.cvsignore:
11633 * testsuite/controller/Makefile.am:
11634 * testsuite/controller/interpolator.c:
11635 merge controller testsuites
11637 remove mem-chunk from docs
11639 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
11641 * gst/gstmemchunk.c:
11642 * gst/gstmemchunk.h:
11643 * gst/gsttrashstack.c:
11644 * gst/gsttrashstack.h:
11645 out. get out. you're fired. to the Attic !
11647 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
11649 * gst/gstcaps.c: (gst_caps_intersect):
11650 fix signedness issues in a (hopefully) correct way
11651 * gst/gstelement.c: (gst_element_pads_activate):
11653 * gst/gstobject.c: (gst_object_set_parent):
11656 2005-10-17 Julien MOUTTE <julien@moutte.net>
11658 * gst/gstvalue.h: Fix prototypes.
11660 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11662 * docs/gst/gstreamer-sections.txt:
11663 * gst/gst.c: (gst_version_string):
11665 * gst/gstversion.h.in:
11666 * win32/common/libgstreamer.def:
11667 add gst_version_string ()
11669 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11673 * gst/gst.c: (init_post):
11674 * win32/common/config.h.in:
11676 * gst/gstcaps.c: (gst_caps_intersect):
11677 use gint64, the range could be bigger than a guint
11679 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11682 document potential problem in 2038
11684 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11686 * gst/gstcaps.c: (gst_caps_intersect):
11687 Fix guint j diving under 0
11689 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11692 * win32/common/config.h:
11693 * win32/common/config.h.in:
11694 check for process.h, declares getpid() on Windows
11696 include process.h if we have it
11697 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
11698 * gst/gstmemchunk.h:
11699 fix signedness issues
11700 * win32/common/libgstreamer.def:
11703 2005-10-16 Julien MOUTTE <julien@moutte.net>
11705 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
11706 fix. Because of unsigned ints, caps intersection was going nuts and
11707 trying to access structures with G_MAXUINT index. That fixes
11708 videotestsrc ! ffmpegcolorspace ! fakesink
11709 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
11712 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11715 use the gettext macro
11716 * gst/elements/gstelements.c:
11718 * gst/indexers/gstindexers.c:
11719 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11720 * win32/common/config.h:
11722 * win32/common/config.h.in:
11723 add the template to generate config.h
11724 * win32/common/gstenumtypes.c:
11725 * win32/common/gstversion.h:
11728 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11730 * gst/gst.c: (gst_version):
11731 * gst/gstversion.h.in:
11734 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11737 Oops, add missing closing bracket.
11739 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11742 use common m4's for argument checking
11744 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11746 * docs/gst/gstreamer-sections.txt:
11748 Add GST_EVENT_TYPE_NAME() macro.
11750 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11753 * gst/gstpluginfeature.c:
11755 privatize more symbols
11757 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11760 add srcdir, builddir includes to GST_ALL_CFLAGS, since
11761 everything that uses GStreamer API should have the includes
11763 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11765 * docs/gst/gstreamer-sections.txt:
11766 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11768 give each value a _get_type, removes the DATA exports
11770 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11774 remove _gst_registry_auto_load, not used anymore
11775 * gst/gstbin.c: (gst_bin_get_type):
11777 * gst/gstelement.c: (gst_element_get_type):
11778 * gst/gstelement.h:
11779 * gst/gstobject.c: (gst_object_get_type):
11781 * gst/gstpad.c: (gst_pad_get_type):
11783 make _get_type functions similar, fixes data export from library
11785 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11788 correctly make conditionals
11789 * gst/elements/Makefile.am:
11790 * gst/elements/gstelements.c:
11791 fix typo causing fdsrc not to build
11793 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11795 * testsuite/Makefile.am:
11796 * testsuite/bytestream/.cvsignore:
11797 * testsuite/bytestream/Makefile.am:
11798 * testsuite/bytestream/filepadsink.c:
11799 * testsuite/bytestream/gstbstest.c:
11800 * testsuite/bytestream/test1.c:
11801 * testsuite/bytestream/testfile1:
11802 * testsuite/caps/normalisation.c:
11803 * testsuite/caps/random.c: (main):
11804 * testsuite/cleanup/.cvsignore:
11805 * testsuite/cleanup/Makefile.am:
11806 * testsuite/cleanup/cleanup1.c:
11807 * testsuite/cleanup/cleanup2.c:
11808 * testsuite/cleanup/cleanup3.c:
11809 * testsuite/cleanup/cleanup4.c:
11810 * testsuite/cleanup/cleanup5.c:
11811 * testsuite/controller/interpolator.c:
11812 * testsuite/debug/printf_extension.c: (main):
11813 * testsuite/elements/tee.c:
11814 * testsuite/negotiation/.cvsignore:
11815 * testsuite/negotiation/Makefile.am:
11816 * testsuite/negotiation/pad_link.c:
11817 * testsuite/pad/Makefile.am:
11818 * testsuite/pad/chainnopull.c:
11819 * testsuite/pad/getnopush.c:
11820 * testsuite/pad/link.c:
11821 * testsuite/refcounting/sched.c: (create_pipeline):
11822 * testsuite/registry/Makefile.am:
11823 * testsuite/registry/gst-print-formats.c:
11824 * testsuite/schedulers/.cvsignore:
11825 * testsuite/schedulers/142183-2.c:
11826 * testsuite/schedulers/142183.c:
11827 * testsuite/schedulers/143777-2.c:
11828 * testsuite/schedulers/143777.c:
11829 * testsuite/schedulers/147713.c:
11830 * testsuite/schedulers/147819.c:
11831 * testsuite/schedulers/147894-2.c:
11832 * testsuite/schedulers/147894.c:
11833 * testsuite/schedulers/Makefile.am:
11834 * testsuite/schedulers/group_link.c:
11835 * testsuite/schedulers/queue_link.c:
11836 * testsuite/schedulers/relink.c:
11837 * testsuite/schedulers/unlink.c:
11838 * testsuite/schedulers/unref.c:
11839 * testsuite/schedulers/useless_iteration.c:
11840 * testsuite/states/bin.c:
11841 clean out/remove some stuff from the testsuite directories
11843 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11846 check for some headers
11847 * gst/elements/Makefile.am:
11848 * gst/elements/gstelements.c:
11849 don't compile fdsrc without sys/socket.h
11850 * gst/indexers/Makefile.am:
11851 * gst/indexers/gstindexers.c: (plugin_init):
11852 don't compile fileindex without mmap
11854 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11861 * check/Makefile.am:
11862 * docs/gst/Makefile.am:
11863 * examples/helloworld/Makefile.am:
11865 * gst/base/Makefile.am:
11866 * gst/check/Makefile.am:
11867 * gst/elements/Makefile.am:
11868 * gst/indexers/Makefile.am:
11869 * gst/parse/Makefile.am:
11870 * libs/gst/controller/Makefile.am:
11871 * libs/gst/dataprotocol/Makefile.am:
11872 * examples/helloworld/helloworld.c: (event_loop):
11873 compile fixes, though it's not being compiled currently
11875 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11877 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11878 Add some simple tests for the new taglist date API.
11880 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11882 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11883 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11884 Beautify 'last-message' output: print 'none' for buffer timestamps
11885 and durations if none is set; improve alignment with next messages.
11887 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11889 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11890 * gst/gstpluginfeature.h:
11891 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11892 * gst/gstregistry.h:
11893 * docs/gst/gstreamer-sections.txt:
11894 Add new API to check plugin feature version requirements.
11896 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11897 Some basic tests for the above.
11899 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11901 * gst/gststructure.c: (gst_structure_to_string):
11902 guard against NULL printf - happens when for example
11903 a message structure with GstClock gets serialized
11905 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11907 * gst/base/gstcollectpads.c: (gst_collectpads_event):
11908 Fix presumable copy'n'pasto.
11910 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11912 * gst/elements/gstfakesrc.h:
11913 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11914 * gst/elements/gsttypefindelement.c:
11915 fix some signedness
11916 * gst/elements/gstfilesink.c: (gst_file_sink_render):
11917 I wonder if this could actually write +2GB files before
11919 2005-10-13 Andy Wingo <wingo@pobox.com>
11921 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11922 Fix Timmeke Waymans bug.
11923 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11924 string of the proper length to gst_caps_from_string. There's a
11925 potential for, before this fix, that this could cause someone
11926 connecting over the network to cause a segfault if the payload is
11927 not NUL-terminated.
11929 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11931 * docs/design/draft-push-pull.txt:
11932 * docs/design/part-overview.txt:
11933 * docs/random/TODO-pre-0.9:
11934 * docs/random/old/ChangeLog.gstreamer:
11935 * gst/base/gstpushsrc.c:
11939 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11941 * gst/glib-compat.c: (gst_flags_get_first_value):
11942 * gst/glib-compat.h:
11943 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11944 (gst_value_compare_double), (gst_value_serialize_flags):
11945 GLib 2.6 g_flags_get_first_value has a bug that triggers an
11948 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11951 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11953 * tools/gst-launch.c: (event_loop):
11954 print out clock nicely
11956 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11958 * docs/gst/gstreamer-sections.txt:
11959 * gst/gsttaglist.h:
11960 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11961 (gst_tag_list_get_date_index):
11962 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11963 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11965 2005-10-13 Julien MOUTTE <julien@moutte.net>
11967 * gst/base/gstcollectpads.c: (gst_collectpads_event),
11968 (gst_collectpads_chain):
11969 * gst/base/gstcollectpads.h: Handle newsegment and store informations
11972 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11974 * docs/gst/gstreamer-sections.txt:
11977 * tools/gst-inspect.c: (main):
11978 * tools/gst-launch.c: (main):
11979 * tools/gst-run.c: (main):
11980 * tools/gst-xmlinspect.c: (main):
11981 fix GOption context leaks
11984 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11988 * win32/common/config.h:
11990 * win32/vs6/grammar.dsp:
11991 * win32/vs6/libgstelements.dsp:
11992 * win32/vs6/libgstreamer.dsp:
11995 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11998 * gst/base/gstbasesrc.c: (gst_base_src_query):
11999 fix more guint64<->gdouble conversions
12001 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
12004 add win32-update target
12005 * win32/common/gstconfig.h:
12006 * win32/common/gstenumtypes.c:
12007 * win32/common/gstenumtypes.h:
12008 * win32/common/gstversion.h:
12009 add files that visual studio can't generate
12011 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
12014 add a win32-update target
12017 2005-10-12 Wim Taymans <wim@fluendo.com>
12019 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
12020 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
12021 * gst/gstelement.c: (gst_element_commit_state),
12022 (gst_element_set_state):
12023 Protect flags with proper lock.
12024 unref provided cached clock in dispose.
12026 2005-10-12 Stefan Kost <ensonic@users.sf.net>
12029 * gst/gstminiobject.h:
12031 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
12032 removed unused flags from miniobject
12035 2005-10-12 Wim Taymans <wim@fluendo.com>
12037 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
12038 (gst_file_sink_event), (gst_file_sink_render):
12039 Flush before seeking.
12041 2005-10-12 Andy Wingo <wingo@pobox.com>
12043 * gst/gst.c (gst_init_check): Ignore unknown options, as has
12044 always been the case.
12046 2005-10-12 Stefan Kost <ensonic@users.sf.net>
12048 * check/gst/gstbin.c: (GST_START_TEST):
12049 * docs/gst/gstreamer-sections.txt:
12050 * gst/base/gstbasesink.c: (gst_base_sink_init):
12051 * gst/base/gstbasesrc.c: (gst_base_src_init),
12052 (gst_base_src_get_range), (gst_base_src_check_get_range),
12053 (gst_base_src_start), (gst_base_src_stop):
12054 * gst/base/gstbasesrc.h:
12055 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
12056 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
12057 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
12061 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
12063 * gst/gstelement.c: (gst_element_is_locked_state),
12064 (gst_element_set_locked_state), (gst_element_commit_state),
12065 (gst_element_set_state):
12066 * gst/gstelement.h:
12067 * gst/gstindex.c: (gst_index_init):
12069 * gst/gstminiobject.h:
12070 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
12071 (gst_object_set_parent):
12073 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
12074 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
12076 * gst/gstpadtemplate.h:
12077 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
12078 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12079 * gst/gstpipeline.h:
12080 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12081 (gst_file_index_commit):
12082 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
12083 * testsuite/pad/link.c: (gst_test_src_init),
12084 (gst_test_filter_init), (gst_test_sink_init):
12085 * testsuite/states/locked.c: (main):
12086 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
12087 moved bitshift from macro to enum definition
12089 2005-10-12 Wim Taymans <wim@fluendo.com>
12091 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
12092 * gst/elements/gstfilesink.c: (gst_file_sink_event),
12093 (gst_file_sink_render):
12094 Some more debugging info.
12096 2005-10-12 Wim Taymans <wim@fluendo.com>
12098 * docs/design/part-states.txt:
12099 * tools/gst-launch.c: (main):
12101 Revert non-intentional change.
12103 2005-10-12 Wim Taymans <wim@fluendo.com>
12105 * check/gst/gstbin.c: (GST_START_TEST):
12106 * check/gst/gstelement.c: (GST_START_TEST):
12107 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
12108 * check/gst/gstghostpad.c: (GST_START_TEST):
12109 * check/gst/gstpipeline.c: (GST_START_TEST):
12110 * check/pipelines/simple_launch_lines.c: (run_pipeline):
12111 * check/states/sinks.c: (GST_START_TEST):
12112 * gst/elements/gsttypefindelement.c: (stop_typefinding):
12113 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12114 (gst_bin_remove_func), (gst_bin_get_state_func),
12115 (gst_bin_recalc_state), (gst_bin_change_state_func),
12117 * gst/gstelement.c: (gst_element_get_state_func),
12118 (gst_element_get_state), (gst_element_abort_state),
12119 (gst_element_commit_state), (gst_element_set_state),
12120 (gst_element_change_state), (gst_element_change_state_func):
12121 * gst/gstelement.h:
12122 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
12123 (gst_pipeline_provide_clock_func):
12124 * gst/gstutils.c: (gst_element_link_pads_filtered):
12125 * tools/gst-launch.c: (main):
12126 * tools/gst-typefind.c: (main):
12127 Use GstClockTime in _get_state() instead of GTimeVal.
12128 Remove old code in gstutils.c
12130 2005-10-12 Andy Wingo <wingo@pobox.com>
12132 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
12135 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
12136 there is no task. Shouldn't affect any code, as nothing in our
12137 plugins checks this return value.
12138 (gst_pad_stop_task): Also take the stream lock if the pad has no
12139 task. Docs updated.
12141 2005-10-12 Wim Taymans <wim@fluendo.com>
12143 * gst/gstpad.c: (pre_activate), (post_activate),
12144 (gst_pad_activate_pull), (gst_pad_activate_push):
12145 Cleanup activation code. Reset old state if
12148 2005-10-12 Wim Taymans <wim@fluendo.com>
12150 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12151 (gst_base_sink_change_state):
12152 No need to prerol after receiving EOS.
12154 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12155 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
12156 * gst/elements/gstidentity.c: (gst_identity_event):
12157 Print events more verbosely.
12159 2005-10-12 Wim Taymans <wim@fluendo.com>
12161 * check/Makefile.am:
12162 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12163 * check/states/sinks2.c:
12164 Moved sinks2 testcode in sinks check.
12166 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12167 (gst_bin_remove_func), (gst_bin_recalc_state),
12168 (gst_bin_change_state_func), (bin_bus_handler):
12169 Fix potential race condition when _get_state() iterated over an
12170 ASYNC element right before it posted a state completion.
12173 Do proper cast here.
12175 * gst/gstevent.c: (gst_event_new_newsegment),
12176 (gst_event_parse_newsegment):
12177 A playback rate of 0.0 is not allowed.
12179 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12181 * win32/common/config.h:
12182 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
12183 (_trewinddir), (_ttelldir), (_tseekdir):
12184 * win32/common/dirent.h:
12185 * win32/common/gtchar.h:
12186 * win32/common/libgstbase.def:
12187 * win32/common/libgstreamer.def:
12188 * win32/vs6/grammar.dsp:
12189 * win32/vs6/gst_inspect.dsp:
12190 * win32/vs6/gst_launch.dsp:
12191 * win32/vs6/gstreamer.dsw:
12192 * win32/vs6/libgstbase.dsp:
12193 * win32/vs6/libgstelements.dsp:
12194 * win32/vs6/libgstreamer.dsp:
12195 Visual Studio 6 project files, and a new common directory.
12198 2005-10-11 Wim Taymans <wim@fluendo.com>
12200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12201 (gst_base_sink_do_sync), (gst_base_sink_query),
12202 (gst_base_sink_change_state):
12203 * gst/base/gstbasesink.h:
12204 Correctly parse newsegment info.
12206 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12208 * gst/gst.c: (init_post):
12209 split plugin paths correctly
12211 2005-10-11 Wim Taymans <wim@fluendo.com>
12213 * check/gst/gstevent.c: (GST_START_TEST):
12214 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12215 (gst_base_sink_change_state):
12216 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
12217 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12218 * gst/elements/gstfilesink.c: (gst_file_sink_event):
12219 * gst/gstevent.c: (gst_event_new_newsegment),
12220 (gst_event_parse_newsegment):
12222 Added extra flag to newsegment for future API freeze.
12223 Updated check and base elements.
12225 2005-10-11 Julien MOUTTE <julien@moutte.net>
12227 * gst/base/gstcollectpads.c: (gst_collectpads_init),
12228 (gst_collectpads_add_pad), (gst_collectpads_pop),
12229 (gst_collectpads_event), (gst_collectpads_chain):
12230 * gst/base/gstcollectpads.h: Handle EOS correctly.
12232 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12234 * tools/gst-launch.c: (main):
12235 more null protecting
12237 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12239 * gst/gst-i18n-lib.h:
12240 check for ENABLE_NLS, not GETTEXT_PACKAGE
12241 * gst/gstregistry.c: (gst_registry_add_plugin),
12242 (gst_registry_scan_path_level),
12243 (_gst_registry_remove_cache_plugins):
12244 protect possibly NULL strings
12245 * gst/parse/types.h:
12246 config.h already included before
12247 * tools/gst-inspect.c: (main):
12248 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
12249 check for ENABLE_NLS, not GETTEXT_PACKAGE
12250 * tools/gst-launch.c: (main):
12251 check for ENABLE_NLS, not GETTEXT_PACKAGE
12253 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12256 if we don't have glib, fail before testing 2.8
12257 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
12258 fix a leak, should fix plugins-base testsuite
12260 2005-10-11 Andy Wingo <wingo@pobox.com>
12262 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
12263 take the mode we're going to as an arg. Go head and set the mode
12264 and flushing flags now, so that if the activate function starts a
12265 thread all the flags will be in the right state.
12266 (post_activate): Renamed also. Just handle making sure streaming
12267 finishes for the deactivation case, and setting the deactivated
12269 (gst_pad_set_active): Complain loudly if deactivation fails.
12270 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
12271 (gst_pad_activate_push): Adapt to pre/post_activate changes,
12272 remove the terrible hack.
12274 2005-10-11 Wim Taymans <wim@fluendo.com>
12276 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
12277 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
12278 (gst_bin_recalc_state), (gst_bin_change_state_func),
12279 (gst_bin_dispose), (bin_bus_handler):
12281 Prepare to make current EOS message queue more generic.
12284 * gst/gstevent.c: (gst_event_new_newsegment),
12285 (gst_event_parse_newsegment):
12287 Rename base to stream_time.
12289 * gst/gstmessage.h:
12292 2005-10-11 Wim Taymans <wim@fluendo.com>
12294 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
12295 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
12296 (gst_bin_change_state_func), (bin_bus_handler):
12298 Work on proper clock selection.
12300 2005-10-11 Edward Hervey <edward@fluendo.com>
12302 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
12303 * libs/gst/controller/gstcontroller.h:
12304 Added GList* version of _remove_properties() in order to be able to wrap
12307 2005-10-11 Wim Taymans <wim@fluendo.com>
12309 * docs/design/part-states.txt:
12312 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
12313 (gst_bin_change_state_func), (bin_bus_handler):
12314 Doc updates. Don't distribute the same clock over and over again.
12320 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
12321 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
12322 (gst_pad_send_event):
12324 Make probe emission threadsafe again.
12325 Register quarks and move _get_name() from utils.
12328 * gst/gstpipeline.c: (gst_pipeline_class_init),
12329 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
12330 Only redistribute the clock of it changed.
12332 * gst/gstsystemclock.h:
12337 Moved the _flow_get_name() to GstPad.
12339 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12341 * check/gst-libs/gdp.c: (GST_START_TEST):
12342 * check/gst/gstcaps.c: (GST_START_TEST):
12343 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
12344 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
12345 (gst_dp_packet_from_caps):
12346 fix more valgrind warnings before turning up the heat
12348 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
12350 * gst/parse/grammar.y:
12351 some cleanup before the hacking
12353 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
12355 * gst/base/gstbasesrc.c: (gst_base_src_query):
12357 * gst/gstutils.c: (gst_guint64_to_gdouble),
12358 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
12360 externalize, basesrc uses it
12361 obviously the implementation needs testing
12363 2005-10-10 Wim Taymans <wim@fluendo.com>
12365 * tests/sched/Makefile.am:
12366 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
12367 (make_pipeline3), (make_pipeline4), (print_elem), (main):
12369 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
12371 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
12372 apparently converting from guint64 to double is not implemented
12375 2005-10-10 Wim Taymans <wim@fluendo.com>
12377 * check/Makefile.am:
12378 * check/generic/states.c: (GST_START_TEST):
12379 * check/gst/gstbin.c: (GST_START_TEST):
12380 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12381 * check/states/sinks.c: (GST_START_TEST):
12382 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
12384 Check fixes, use API as stated in design docs, remove hacks.
12386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12387 (gst_base_sink_change_state):
12388 Catch stopping our task while we're shutting down.
12390 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
12391 (gst_bin_remove_func), (gst_bin_get_state_func),
12392 (gst_bin_recalc_state), (gst_bin_change_state_func),
12395 * gst/gstelement.c: (gst_element_init),
12396 (gst_element_get_state_func), (gst_element_abort_state),
12397 (gst_element_commit_state), (gst_element_lost_state),
12398 (gst_element_set_state), (gst_element_change_state),
12399 (gst_element_change_state_func):
12400 * gst/gstelement.h:
12401 New state change algorithm (see #318116)
12403 * gst/gstpipeline.c: (gst_pipeline_class_init),
12404 (gst_pipeline_init), (gst_pipeline_set_property),
12405 (gst_pipeline_get_property), (do_pipeline_seek),
12406 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
12407 * gst/gstpipeline.h:
12408 Remove crude state change hacks.
12411 Remove crude hacks.
12413 * tools/gst-launch.c: (main):
12414 Fixes for state change. Needs some more work to fully use the
12417 2005-10-10 Andy Wingo <wingo@pobox.com>
12419 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
12421 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
12422 this flag, but it's not even in GLib 2.6. Odd. Hack around the
12425 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
12427 * gst/gstiterator.c: (gst_iterator_new):
12428 Fix my previous commit: GTypes passed to gst_iterator_new()
12429 can be fundamental types.
12431 2005-10-10 Wim Taymans <wim@fluendo.com>
12433 * gst/gstelement.c: (gst_element_iterate_pad_list),
12434 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
12435 (gst_element_iterate_sink_pads):
12436 Use src/sink pads lists for the respective iterators instead
12439 2005-10-10 Andy Wingo <wingo@pobox.com>
12441 Merged in popt removal + GOption addition patch from Ronald, bug
12444 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
12445 GstElement macros around, remove popt-related symbols, add goption
12448 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
12450 * docs/gst/Makefile.am:
12451 * docs/libs/Makefile.am: No POPT_CFLAGS.
12453 * examples/manual/Makefile.am:
12454 * docs/manual/basics-init.xml: Doc updates with an example.
12456 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12457 (gst_init), (parse_one_option), (parse_goption_arg):
12458 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
12459 bit of hand merging and debugging to get the GOption stuff working
12462 * tests/Makefile.am:
12463 * tools/Makefile.am:
12464 * tools/gst-inspect.c: (main):
12465 * tools/gst-launch.c: (main):
12466 * tools/gst-run.c: (main):
12467 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
12469 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
12471 * gst/gstiterator.c: (gst_iterator_new):
12472 Add assertions to make sure passed GType is likely to really
12473 be a GType (as the compiler won't catch it if the size and
12474 GType arguments get mixed up, see #318447).
12476 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
12478 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12480 * gst/gstbin.c: (gst_bin_iterate_sorted):
12481 Pass GType and size arguments to gst_iterator_new() in the right
12482 order (maybe we should make _new() take the GType as first argument
12483 just like _new_list()?) (#318447).
12486 2005-10-10 Wim Taymans <wim@fluendo.com>
12488 * gst/gstelement.c: (gst_element_finalize):
12489 And free the GStaticRecMutex too
12491 2005-10-10 Andy Wingo <wingo@pobox.com>
12493 * gst/gstelement.c (gst_element_init, gst_element_finalize):
12494 Allocate and free the mutex properly.
12496 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
12498 (GstElement): The state_lock is now recursive. Rebuild your
12499 plugins, suckers. Old macros adapted.
12501 * docs/gst/gstreamer-sections.txt: Doc updates.
12504 * gst/gstutils.c (g_static_rec_cond_timed_wait)
12505 (g_static_rec_cond_wait): Ported from state changes patch, while
12506 we wait on bug #317802 to be solved in a well-distributed GLib.
12508 * gst/gstelement.c (gst_element_change_state_func): Renamed from
12509 gst_element_change_state, variable name changes.
12510 (gst_element_change_state): Split out of gst_element_set_state in
12511 preparation for the state change merge. Doesn't pay attention to
12512 the 'transition' argument.
12513 (gst_element_set_state): Updates, hopefully purely cosmetic.
12514 (gst_element_sync_state_with_parent): MT-safety. Ported from the
12515 state change patch.
12516 (gst_element_get_state_func): Renamed from get_state, cosmetic
12519 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
12521 * gst/elements/gstelements.c:
12522 * win32/GStreamer.vcproj:
12524 * win32/dirent.c: (_tseekdir):
12525 * win32/gst-inspect.vcproj:
12526 * win32/gst-launch.vcproj:
12527 * win32/gstconfig.h:
12528 * win32/gstelements.vcproj:
12529 * win32/gstenumtypes.c: (gst_object_flags_get_type):
12530 * win32/gstreamer.def:
12531 * win32/msvc71.sln:
12532 updates for the win32 build (patch from Sebastien Moutte)
12534 2005-10-10 Andy Wingo <wingo@pobox.com>
12536 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
12537 gst_bin_get_state, cleaned up (but no logic changes).
12538 (bin_element_is_sink): Comment updates.
12539 (sink_iterator_filter): Remove needless cast.
12540 (gst_bin_iterate_sinks): Doc update.
12541 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
12542 cleaned up (but no logic changes).
12544 * check/states/sinks.c (test_src_sink): Cleanups from the state
12546 (test_livesrc_sink): Sync on the state.
12548 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
12549 the state change patch.
12551 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
12554 * check/gst/gstbin.c: Merge in some style fixes and additional
12555 checks from Wim's state change patch.
12557 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
12559 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12560 (gst_type_find_helper):
12561 Check whether we have the requested data already in our list of
12562 cached buffers before pulling a new buffer; also make the buffer
12563 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
12565 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
12570 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
12571 don't use long long, it's not portable. Replacing with
12572 gint64 seems to work; let's hope no skeletons fall out of the closet.
12574 2005-10-10 Andy Wingo <wingo@pobox.com>
12576 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
12578 2005-10-09 Stefan Kost <ensonic@users.sf.net>
12580 * docs/gst/gstreamer-sections.txt:
12585 * gst/gstmessage.c: (gst_message_parse_state_changed):
12588 more docs, fix compilation
12590 2005-10-09 Philippe Khalaf <burger@speedy.org>
12591 * gst/gstmessage.c:
12592 Fixed a few forgotten variables on previous commit
12594 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
12596 * gst/base/gsttypefindhelper.c: (helper_find_peek):
12597 Fix evil typefind crasher: getrange() might return a short
12598 buffer at the end of a file, but gst_type_find_peek() must
12599 either return the full data as requested or NULL, but
12600 never a short buffer.
12602 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
12604 * gst/gstmessage.c: (gst_message_new_state_changed),
12605 (gst_message_parse_state_changed):
12606 * gst/gstmessage.h:
12607 don't use "new", it's a C++ keyword
12609 2005-10-08 Wim Taymans <wim@fluendo.com>
12611 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
12612 * gst/gstelement.c: (gst_element_post_message):
12613 * gst/gstpipeline.c: (gst_pipeline_change_state):
12614 Small docs and debug updates.
12616 2005-10-08 Stefan Kost <ensonic@users.sf.net>
12618 * docs/gst/gstreamer-sections.txt:
12619 * gst/gstelementfactory.c:
12621 * gst/gsttaglist.c:
12624 2005-10-08 Wim Taymans <wim@fluendo.com>
12626 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
12627 (gst_bin_dispose), (bin_bus_handler):
12628 Fix typos, add comments.
12629 Clear EOS list when going to PAUSED from any direction and do it
12630 in a threadsafe way.
12631 Get base time in a threadsafe way too.
12632 Fix confusing debug in the change_state function.
12633 Various other small cleanups.
12635 * gst/gstelement.c: (gst_element_post_message):
12636 Fix very verbose bus posting code.
12638 * gst/gstpipeline.c: (gst_pipeline_class_init),
12639 (gst_pipeline_set_property), (gst_pipeline_get_property),
12640 (gst_pipeline_change_state):
12641 Small ARG_ -> PROP_ cleanup
12643 2005-10-08 Wim Taymans <wim@fluendo.com>
12645 * gst/gstbin.c: (is_eos), (bin_bus_handler):
12646 Do a less CPU demanding EOS check because we can.
12648 2005-10-08 Wim Taymans <wim@fluendo.com>
12650 * libs/gst/dataprotocol/dataprotocol.c:
12651 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12652 (gst_dp_packet_from_event):
12653 * libs/gst/dataprotocol/dataprotocol.h:
12654 * libs/gst/dataprotocol/dp-private.h:
12655 It's about time we bump the version number.
12656 Since event types don't fit in the guint8 anymore describing
12657 the payload type, make payload type 16 bits wide.
12659 2005-10-08 Wim Taymans <wim@fluendo.com>
12661 * docs/design/part-TODO.txt:
12662 * docs/design/part-clocks.txt:
12663 * docs/design/part-events.txt:
12664 * docs/design/part-gstbin.txt:
12665 * docs/design/part-gstelement.txt:
12666 * docs/design/part-gstpipeline.txt:
12667 * docs/design/part-live-source.txt:
12668 * docs/design/part-messages.txt:
12669 * docs/design/part-overview.txt:
12670 * docs/design/part-states.txt:
12673 2005-10-08 Wim Taymans <wim@fluendo.com>
12677 Fix event quark registration.
12678 Add some space between events so we can insert them in the
12681 2005-10-08 Wim Taymans <wim@fluendo.com>
12683 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12684 (gst_base_sink_handle_buffer):
12685 Better log message.
12688 * gst/gstelement.h:
12691 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12692 (gst_queue_set_property), (gst_queue_get_property):
12694 Remove old unused properties.
12696 2005-10-08 Stefan Kost <ensonic@users.sf.net>
12697 * docs/gst/gstreamer-sections.txt:
12698 * gst/gstmessage.c:
12699 * gst/gstmessage.h:
12700 * gst/gstminiobject.c:
12701 * gst/gstminiobject.h:
12705 lots of new docs and doc fixes
12707 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12709 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
12711 * gst/gstregistry.c: (gst_registry_lookup_locked),
12712 (gst_registry_scan_path_level):
12713 * gst/gstregistryxml.c: (load_plugin):
12714 Only ever load one plugin for a given plugin basename.
12715 This ensures correct overriding of GST_PLUGIN_PATH over
12716 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12717 system installed plugins.
12719 2005-10-08 Wim Taymans <wim@fluendo.com>
12721 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12722 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12723 Prepare for doing QOS.
12725 2005-10-08 Wim Taymans <wim@fluendo.com>
12727 * check/gst/gstbin.c: (GST_START_TEST):
12728 * check/pipelines/cleanup.c: (GST_START_TEST):
12729 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12730 Allow new clock message too.
12732 2005-10-08 Wim Taymans <wim@fluendo.com>
12734 * gst/gstmessage.c: (gst_message_new_error),
12735 (gst_message_new_warning), (gst_message_new_tag),
12736 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12737 (gst_message_new_clock_lost), (gst_message_new_new_clock),
12738 (gst_message_new_segment_start), (gst_message_new_segment_done),
12739 (gst_message_parse_state_changed),
12740 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12741 (gst_message_parse_new_clock):
12742 * gst/gstmessage.h:
12743 Also carry the clock in question.
12745 2005-10-08 Wim Taymans <wim@fluendo.com>
12747 * gst/gstmessage.c: (gst_message_new_custom),
12748 (gst_message_new_eos), (gst_message_new_error),
12749 (gst_message_new_warning), (gst_message_new_tag),
12750 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12751 (gst_message_new_new_clock), (gst_message_new_segment_start),
12752 (gst_message_new_segment_done), (gst_message_parse_state_changed),
12753 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12754 * gst/gstmessage.h:
12756 Added clock related messages.
12758 * gst/gstpipeline.c: (gst_pipeline_change_state):
12759 Post message when the clock changed.
12761 * tools/gst-launch.c: (event_loop):
12764 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
12766 * tools/gst-inspect.c: (print_element_properties_info):
12767 Can't pass NULL strings to g_print() on windows.
12769 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12771 * docs/Makefile.am:
12772 * docs/gst/Makefile.am:
12773 * docs/gst/gstreamer-docs.sgml:
12774 * docs/gst/running.xml:
12775 * docs/version.entities.in:
12776 add a chapter on running GStreamer.
12777 document GST_DEBUG and GST_PLUGIN* env vars
12779 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12784 remove PLUGINS_BUILDDIR stuff
12785 * gst/gst.c: (init_post):
12786 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12788 remove, it was condescending and not needed
12790 2005-10-08 Wim Taymans <wim@fluendo.com>
12792 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12793 (gst_base_sink_handle_object), (gst_base_sink_event),
12794 (gst_base_sink_wait), (gst_base_sink_handle_event),
12795 (gst_base_sink_change_state):
12796 * gst/base/gstbasesink.h:
12797 Repost EOS message while going to PLAYING if still EOS.
12798 Make sure that when receiving a FLUSH_START we don't attempt
12799 to sync on the clock anymore.
12801 2005-10-08 Wim Taymans <wim@fluendo.com>
12803 * tools/gst-launch.c: (event_loop):
12804 Better message printout.
12806 2005-10-08 Wim Taymans <wim@fluendo.com>
12808 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12809 (gst_bin_child_proxy_get_children_count):
12810 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12811 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12812 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12813 (gst_child_proxy_set_valist):
12814 * gst/parse/grammar.y:
12815 Make ChildProxy threadsafe and fix mem leaks.
12817 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12819 * gst/gst.c: (init_post):
12820 debug the GST_PLUGIN_ env vars
12822 2005-10-08 Wim Taymans <wim@fluendo.com>
12824 * check/gst/gstbin.c: (GST_START_TEST):
12825 * check/gst/gstmessage.c: (GST_START_TEST):
12826 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12827 * gst/gstelement.c: (gst_element_commit_state),
12828 (gst_element_lost_state):
12829 * gst/gstmessage.c: (gst_message_new_state_changed),
12830 (gst_message_parse_state_changed):
12831 * gst/gstmessage.h:
12832 * tools/gst-launch.c: (event_loop):
12833 Added extra field to STATE_CHANGE message with the pending
12834 state, which will be different from the new state soon.
12836 2005-10-08 Wim Taymans <wim@fluendo.com>
12838 * gst/gstbus.c: (gst_bus_pop):
12840 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12841 Small cleanups and doc updates.
12843 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12845 * gst/gst.c: (init_pre):
12846 * gst/gstbin.c: (gst_bin_add_func):
12847 log distributing clocks and base time
12848 * gst/gstregistry.c: (gst_registry_add_plugin),
12849 (gst_registry_scan_path_level), (gst_registry_scan_path):
12850 clean up the debugging output a little
12851 * gst/gstutils.c: (gst_element_state_get_name):
12852 warn about a memleak (I've actually seen this be used, though
12853 it was probably a bug)
12855 2005-10-07 Wim Taymans <wim@fluendo.com>
12857 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12858 (gst_base_src_init), (gst_base_src_default_newsegment),
12859 (gst_base_src_newsegment), (gst_base_src_do_seek),
12860 (gst_base_src_loop), (gst_base_src_start):
12861 * gst/base/gstbasesrc.h:
12862 Make the newsegment event customizable by subclasses.
12864 2005-10-07 Wim Taymans <wim@fluendo.com>
12866 * gst/gstevent.c: (gst_event_new_buffersize),
12867 (gst_event_parse_buffersize):
12869 New event for future idea.
12871 2005-10-07 Andy Wingo <wingo@pobox.com>
12873 * gst/gstelement.c (gst_element_post_message): Doc update.
12875 * docs/gst/gstreamer-sections.txt: Update.
12877 * gst/gstmessage.c (gst_message_new_application): Made into a
12878 function like honest API calls.
12879 (gst_message_new_element): New message type.
12881 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12883 * check/elements/fakesrc.c (test_no_preroll): New check, checks
12884 that setting a live fakesrc to PAUSED returns NO_PREROLL both
12887 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12888 NO_PREROLL from gst_element_change_state to fall through.
12890 2005-10-07 Wim Taymans <wim@fluendo.com>
12892 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12893 (gst_ghost_pad_do_activate_push):
12894 Activating a ghostpad with no internal pad in push mode
12897 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
12900 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12901 Fixes compilation on Windows.
12903 2005-10-07 Michael Smith <msmith@fluendo.com>
12905 * tools/gst-inspect.c:
12906 Print out feature and plugin count at the end when printing out
12909 2005-10-04 Michael Smith <msmith@fluendo.com>
12911 * gst/gsterror.c: (_gst_stream_errors_init):
12912 Add another error string used in a few existing plugins.
12915 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12916 * tools/gst-inspect.c: (print_element_info):
12917 When a feature disappears from a plugin (and the feature exists in
12918 the cached registry file), things went horribly wrong. This isn't a
12919 complete fix, we should actually be removing the 'missing' features
12920 from the features list when we load the actual plugin. That's not
12923 2005-10-04 Johan Dahlin <johan@gnome.org>
12925 * check/gst/gstiterator.c: (GST_START_TEST):
12926 * gst/gstbin.c: (gst_bin_iterate_elements),
12927 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12928 * gst/gstelement.c: (gst_element_iterate_pads):
12929 * gst/gstformat.c: (gst_format_iterate_definitions):
12930 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12931 (gst_iterator_new_list), (gst_iterator_filter):
12932 * gst/gstiterator.h:
12933 * gst/gstquery.c: (gst_query_type_iterate_definitions):
12934 Add a GType to GstIterator, update callsites and tests.
12936 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12938 * gst/gstpad.c: (gst_pad_event_default_dispatch):
12939 give events a chance to be handled by event probes when the pad
12942 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12944 * gst/gstevent.c: (gst_event_type_get_name),
12945 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12947 add string representations for event types
12949 2005-10-06 Wim Taymans <wim@fluendo.com>
12951 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12952 Don't use NULL pointers.
12954 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12956 * gst/gst_private.h:
12958 * gst/gstelement.c:
12960 * gst/gstpluginfeature.c:
12961 widen the debug category in output to fit the biggest one we have
12962 add a bus category and use it
12963 play with the colors
12964 fix up some categories
12966 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12968 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12969 add push activation of sink ghost pads.
12970 Andye, please verify
12972 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12974 * gst/gstutils.c: (gst_element_link_pads):
12975 fix a bug in the case where neither element has a pad
12976 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12977 add a test for that case
12979 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12981 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12982 emit have-data before checking for peers. This allows
12983 for probe handlers to connect elements. This helps autopluggers.
12984 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12986 add six checks, linked/unlinked with no/true/false probe
12988 2005-10-04 Wim Taymans <wim@fluendo.com>
12990 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12991 (gst_fake_sink_event), (gst_fake_sink_preroll),
12992 (gst_fake_sink_render), (gst_fake_sink_change_state):
12993 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12994 (gst_fake_src_get_property), (gst_fake_src_create),
12995 (gst_fake_src_stop):
12996 * gst/elements/gstidentity.c: (gst_identity_stop):
12997 Protect last_message with lock.
12999 2005-10-04 Edward Hervey <edward@fluendo.com>
13002 Added precision in the comments for GST_FORMAT_DEFAULT
13004 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
13006 * tools/gst-launch.c: (main):
13007 Don't try to run erroneous pipelines.
13009 2005-10-04 Julien MOUTTE <julien@moutte.net>
13011 * gst/gstbus.c: We don't need this header.
13013 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
13016 back to development
13018 === release 0.9.3 ===
13020 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
13024 Releasing 0.9.3, "Unregistered"
13026 2005-10-03 Andy Wingo <wingo@pobox.com>
13028 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
13029 whereby calling a pad's activatepush() function can start a thread
13030 that starts to push or pull before the pad gets the FLUSHING flag
13031 unset. Hack around it by holding the stream lock until the flag is
13032 set. Need to replace this with a proper solution. Together with
13033 the ghost pad fixes, this fixes mp3 playing/tagreading.
13035 * docs/design/part-gstghostpad.txt: Add a note about activation of
13036 proxy pads outside of ghost pads.
13038 * gst/gstghostpad.c: Implement the ghost pad activation design.
13040 2005-10-02 Andy Wingo <wingo@pobox.com>
13042 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
13043 It is volatile, after all.
13045 * docs/design/part-gstghostpad.txt: Flesh out activation with
13048 * gst/base/gstbasesrc.c (gst_base_src_init): Use
13051 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
13054 Fix (unused) AM_CONDITIONAL tests.
13056 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
13058 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13060 * gst/gstutils.c: (gst_pad_query_convert):
13061 Add assertion that makes sure src_val is >=0, just like
13062 gst_query_new_convert() has. (#315895)
13064 2005-09-30 Edward Hervey <edward@fluendo.com>
13066 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
13067 Let's not iterate pads we're not interested in, it avoids getting
13068 sky-high refcounts on sinkpad.
13070 2005-09-30 Wim Taymans <wim@fluendo.com>
13072 * gst/gstelement.c: (gst_element_set_state),
13073 (gst_element_change_state):
13074 Small tweak, element in ASYNC remains ASYNC.
13076 2005-09-30 Wim Taymans <wim@fluendo.com>
13078 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13079 Only error is an error.
13081 * gst/gstbin.c: (gst_bin_change_state):
13084 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
13085 Also call pad_block in pad alloc.
13087 * gst/gstutils.c: (gst_flow_get_name):
13090 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
13092 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13093 (gst_base_src_get_range):
13094 Fix documentation typos. Add some more debug info.
13096 2005-09-29 David Schleef <ds@schleef.org>
13098 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
13099 more end-user friendly.
13100 * tools/gst-inspect.c: (main): Check if command-line argument is
13101 a file and attempt to load that file as a plugin.
13103 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
13105 * check/gst/gstbin.c:
13106 * check/states/sinks.c:
13107 fix tests for the new warning
13108 * check/gst/gstpipeline.c:
13109 add a test for pipeline and bus interaction
13110 * gst/gstelement.c:
13111 elements should be NULL if they get disposed; add a warning if not
13113 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
13116 for 2.6 refcounting, make debug log more correct by printing
13117 the actual refcounts at the time of swap (Wim)
13119 2005-09-29 Andy Wingo <wingo@pobox.com>
13121 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
13122 removes signal watches previously added via
13123 gst_bus_add_signal_watch.
13124 (gst_bus_add_signal_watch): Don't return the source id, just store
13125 it on the bus if there wasn't an id already.
13127 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
13128 add_signal_watch and remove_signal_watch.
13130 2005-09-29 Edward Hervey <edward@fluendo.com>
13132 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
13133 Better if we actually iterate the list :)
13135 2005-09-29 Wim Taymans <wim@fluendo.com>
13137 * check/gst/gstbin.c: (GST_START_TEST):
13138 Change for new bus API.
13140 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13141 (send_messages), (GST_START_TEST), (gstbus_suite):
13142 Change for new bus signal API.
13144 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
13145 (gst_bus_source_prepare), (gst_bus_source_check),
13146 (gst_bus_create_watch), (gst_bus_add_watch_full),
13147 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
13148 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
13150 Remove support for multiple GSources operating on different
13151 message types as it is too complex and unneeded when using
13153 Added support for receiving signals from the bus.
13155 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
13157 * docs/libs/tmpl/gstdataprotocol.sgml:
13158 * docs/manual/advanced-dataaccess.xml:
13159 * gst/elements/gstcapsfilter.c:
13161 rename filter-caps to caps property
13163 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
13165 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13166 More robust fraction string parsing.
13168 * docs/pwg/appendix-porting.xml:
13169 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
13171 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
13173 * gst/gstcaps.c: (gst_caps_do_simplify):
13174 Thou shalt not free a structure and then continue using it
13175 in the next loop iteration.
13177 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
13179 Add test case for caps simplification.
13181 2005-09-29 Wim Taymans <wim@fluendo.com>
13183 * check/gst/gstbin.c: (GST_START_TEST):
13186 2005-09-29 Wim Taymans <wim@fluendo.com>
13188 * check/gst/gstbin.c: (GST_START_TEST):
13191 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
13192 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
13193 (find_element), (gst_bin_sort_iterator_next),
13194 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13195 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13196 (gst_bin_change_state), (gst_bin_dispose):
13197 A bin does not have a bus, it gets the bus from the parent.
13199 * gst/gstelement.c: (gst_element_requires_clock),
13200 (gst_element_provides_clock), (gst_element_is_indexable),
13201 (gst_element_is_locked_state), (gst_element_change_state),
13202 (gst_element_set_bus_func):
13205 * gst/gstpipeline.c: (gst_pipeline_class_init),
13206 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
13207 The pipeline provides a bus.
13209 2005-09-28 Johan Dahlin <johan@gnome.org>
13211 * gst/gstmessage.c (gst_message_parse_state_changed): Use
13212 gst_structure_get_enum instead of gst_structure_get_int
13214 * gst/gststructure.c (gst_structure_get_enum): Impl.
13216 * gst/gststructure.h (gst_structure_get_enum): Add
13218 * docs/gst/gstreamer-sections.txt: Ditto
13220 * gst/gstmessage.c (gst_message_new_state_changed): Use
13221 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
13222 which does introspection.
13223 Reviewed by Christian Schaller
13225 2005-09-28 Stefan Kost <ensonic@users.sf.net>
13227 * gst/gstinfo.c: (gst_debug_log_default):
13228 don't do dummy g_strdup()s
13229 * libs/gst/controller/gstcontroller.c:
13230 (on_object_controlled_property_changed),
13231 (gst_controlled_property_new), (gst_controller_new_valist),
13232 (gst_controller_new_list),
13233 (gst_controller_remove_properties_valist), (gst_controller_set),
13234 (gst_controller_get), (gst_controller_sync_values),
13235 (gst_controller_get_value_array), (_gst_controller_class_init),
13236 (gst_controller_get_type):
13237 * libs/gst/controller/gstcontroller.h:
13238 * libs/gst/controller/gstinterpolation.c:
13239 (gst_controlled_property_find_timed_value_node):
13240 convert // to /**/ comments
13242 2005-09-28 Wim Taymans <wim@fluendo.com>
13244 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
13245 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
13246 (gst_bus_sync_signal_handler):
13248 Added async-message and sync-message signals to the bus.
13249 Added helper BusFunc to emit signals for all posted messages.
13251 * gst/gstmessage.c: (gst_message_type_get_name),
13252 (gst_message_type_to_quark), (gst_message_get_type):
13253 * gst/gstmessage.h:
13254 Register quarks for message names.
13256 2005-09-28 Stefan Kost <ensonic@users.sf.net>
13258 * docs/libs/gstreamer-libs-sections.txt:
13259 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
13260 (gst_controller_new_list):
13261 * libs/gst/controller/gstcontroller.h:
13262 added another constructor for language bindings
13264 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
13266 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13270 * gst/gstinfo.c: (_gst_debug_init):
13271 slightly more readable color for refcount debugging
13273 2005-09-28 Wim Taymans <wim@fluendo.com>
13275 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13276 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
13277 (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), (gst_bin_dispose):
13281 Small doc fixes. get_clock -> provide_clock.
13283 * gst/gstelement.c: (gst_element_class_init),
13284 (gst_element_provides_clock), (gst_element_provide_clock),
13285 (gst_element_get_clock), (gst_element_commit_state),
13286 (gst_element_lost_state):
13287 * gst/gstelement.h:
13288 Make get/set_clock() symetric. Add provide_clock vmethod since
13289 that is actually what this function does.
13291 * gst/gstpipeline.c: (gst_pipeline_class_init),
13292 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
13293 (gst_pipeline_get_clock):
13294 get_clock -> provide_clock.
13296 2005-09-28 Andy Wingo <wingo@pobox.com>
13298 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
13299 lieu of real docs...
13301 * gst/elements/gstfdsrc.c: Cleaned up a bit.
13303 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
13305 * gst/elements/gstcapsfilter.c:
13306 * gst/elements/gstfakesink.c:
13307 * gst/elements/gstfakesrc.c:
13308 * gst/elements/gstfdsink.c:
13309 * gst/elements/gstfdsrc.c:
13310 * gst/elements/gstfilesink.c:
13311 * gst/elements/gstfilesrc.c:
13312 * gst/elements/gstidentity.c:
13313 * gst/elements/gsttee.c:
13314 * gst/elements/gsttypefindelement.c:
13315 Make element details static.
13317 2005-09-28 Wim Taymans <wim@fluendo.com>
13319 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13320 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13321 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13322 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13323 (gst_bin_change_state), (gst_bin_dispose):
13324 Some documentation updates.
13325 Clean up dispose handlers.
13327 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
13328 * gst/gstpad.c: (gst_pad_dispose):
13329 Clean up dispose handler.
13331 * gst/gstpipeline.c: (gst_pipeline_change_state):
13332 Removed spurious UNLOCK.
13334 2005-09-27 Stefan Kost <ensonic@users.sf.net>
13336 * docs/gst/gstreamer-sections.txt:
13337 * gst/base/gstbasesrc.h:
13338 * gst/gstelement.h:
13342 * gst/gstpipeline.c:
13343 * gst/gstpipeline.h:
13346 added two new functions to the docs
13347 documents all undocumented GstXXXFlags
13348 completed some incomplete docs
13350 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
13352 * gst/gstbin.c: (gst_bin_dispose):
13353 * gst/gstelement.c: (gst_element_dispose):
13354 remove now useless and leaky resurrection code in dispose
13355 * gst/base/gstbasesrc.c: (gst_base_src_init):
13356 * gst/gstelementfactory.c: (gst_element_factory_create):
13357 * gst/gstobject.c: (gst_object_set_parent):
13360 2005-09-27 Wim Taymans <wim@fluendo.com>
13362 * docs/design/part-TODO.txt:
13365 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13366 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13367 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13368 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13369 (gst_bin_change_state):
13370 * gst/gstelement.h:
13371 Remove element variable, we keep element info in the iterator now.
13373 2005-09-27 Andy Wingo <wingo@pobox.com>
13375 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
13378 2005-09-27 Wim Taymans <wim@fluendo.com>
13380 * check/gst/gstbin.c: (GST_START_TEST):
13381 Enable check that works now.
13383 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
13384 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
13385 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
13386 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
13387 (gst_bin_change_state):
13389 Redid the state change algorithm using a topological sort algo.
13390 Handles all cases correctly.
13391 Exposed iterator for state change order.
13393 * gst/gstelement.h:
13394 Temp storage for state changes. Need to get rid of this soon.
13396 2005-09-27 Wim Taymans <wim@fluendo.com>
13398 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
13399 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
13400 (link_fold_func), (gst_pad_proxy_setcaps):
13401 Leak fixes, the fold functions need to unref the passed object and
13402 _get_parent_*() returns ref to parent.
13404 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
13406 * check/gst/gstbuffer.c: (test_make_writable):
13407 Plug leak in test case and fix 'make check-valgrind'
13409 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
13411 * gst/gstbuffer.c: (gst_subbuffer_init):
13412 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
13413 works correctly in all circumstances (we could have just copied
13414 the parent buffer's readonly flag, but conceptually it seems
13415 cleaner to mark all subbuffers as read-only). (based on patch
13416 by Alessandro Decina, #314710).
13418 * check/gst/gstbuffer.c: (create_read_only_buffer),
13419 (test_make_writable), (test_subbuffer_make_writable),
13421 Add some tests for gst_buffer_make_writable().
13423 2005-09-27 Wim Taymans <wim@fluendo.com>
13425 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
13426 use gst_object_has_ancestor().
13428 * gst/gstobject.c: (gst_object_has_ancestor):
13430 gst_object_has_ancestor() copied from gstbin.c as it is a
13433 * tests/instantiate/create.c: (create_all_elements):
13434 * tests/lat.c: (handoff_src), (handoff_sink):
13435 * tests/sched/runxml.c: (main):
13436 * tests/seeking/seeking1.c: (main):
13437 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13439 Fix compilation of some tests.
13441 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
13444 Remove comment. GST_TYPE_G_ERROR is here to stay,
13445 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
13446 (#316961, #300610).
13448 2005-09-26 Wim Taymans <wim@fluendo.com>
13450 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13451 Added check that shows error in state change order.
13453 2005-09-26 Wim Taymans <wim@fluendo.com>
13455 * gst/gstbin.c: (gst_bin_change_state):
13456 Make state change function use 3 queues again, we were
13457 adding elements in the wrong order.
13459 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13462 * gst/gstpad.c: (gst_pad_dispose):
13463 Added some debug info first.
13465 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
13467 * docs/design/draft-push-pull.txt:
13468 * docs/design/part-events.txt:
13469 * docs/design/part-overview.txt:
13470 * docs/design/part-scheduling.txt:
13471 Replace all _pull_region() with _pull_range()
13473 2005-09-26 Andy Wingo <wingo@pobox.com>
13475 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
13477 * check/gst-libs/controller.c: Update for controller api change.
13480 * tests/Makefile.am:
13481 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
13482 over by GLib bug 118439.
13484 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
13485 routines to a function.
13487 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
13489 * libs/gst/controller/gsthelper.c:
13490 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
13491 (gst_object_sync_values): Renamed from sink_values. Ugh.
13493 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
13495 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
13496 Renamed from controller_key, as it is exported.
13498 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
13500 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
13505 * gst/gstpadtemplate.h:
13508 * gst/gstqueryutils.c:
13509 * gst/gstqueryutils.h:
13510 remove queryutils headers after moving the two used functions
13511 to gstquery. also fixes build problem for gstsiddec
13513 2005-09-26 Michael Smith <msmith@fluendo.com>
13515 * tools/gst-launch.1.in:
13516 Correct documentation in manpage of debug syntax
13518 2005-09-26 Wim Taymans <wim@fluendo.com>
13520 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
13521 (gst_base_src_is_seekable), (gst_base_src_change_state):
13522 Some more debugging info.
13524 2005-09-25 Stefan Kost <ensonic@users.sf.net>
13526 * docs/gst/gstreamer-sections.txt:
13527 * gst/base/gstbasetransform.h:
13531 2005-09-25 Stefan Kost <ensonic@users.sf.net>
13533 * docs/gst/.cvsignore:
13534 * docs/gst/tmpl/.cvsignore:
13535 * docs/gst/tmpl/gstpipeline.sgml:
13536 * docs/gst/tmpl/gstplugin.sgml:
13537 * gst/gstpipeline.c:
13540 inlined the last two docs files
13541 removed the tmpl directory from cvs (no more conflicts here!)
13543 2005-09-25 Stefan Kost <ensonic@users.sf.net>
13545 * docs/gst/gstreamer-sections.txt:
13546 * docs/gst/tmpl/.cvsignore:
13547 * docs/gst/tmpl/gstpad.sgml:
13548 * docs/gst/tmpl/gstpadtemplate.sgml:
13550 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13551 (gst_pad_finalize), (gst_pad_set_pad_template):
13553 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
13554 (gst_pad_template_class_init), (gst_pad_template_init),
13555 (gst_pad_template_dispose), (name_is_valid),
13556 (gst_static_pad_template_get), (gst_pad_template_new),
13557 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
13558 (gst_pad_template_pad_created):
13559 * gst/gstpadtemplate.h:
13560 inlined two more docs
13561 factored gstpadtemplate out of gstpad
13563 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
13565 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
13566 (test_children_state_change_order_semi_sink):
13567 Fix test case: we can't rely on a fixed state change order when
13568 going from READY => PAUSED because the sink might commit its
13569 new state first when the first buffer created by the source
13570 reaches the sink before the source has finished its change state.
13571 (Test case still fails at times, see #316856, comment 5 onwards)
13573 2005-09-24 Wim Taymans <wim@fluendo.com>
13575 * docs/design/part-events.txt:
13576 * docs/design/part-gstbus.txt:
13577 * docs/design/part-gstpipeline.txt:
13578 * docs/design/part-messages.txt:
13579 * docs/design/part-overview.txt:
13580 * docs/design/part-segments.txt:
13584 * gst/gstelement.c:
13587 * gst/gstiterator.c:
13588 Various documentation updates.
13590 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
13593 Well, that's embarassing. Luckily we weren't using
13594 GST_CLOCK_DIFF anywhere.
13596 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13598 * common/gtk-doc.mak:
13599 don't fail on building XML, FC4 slave shows a bunch of doc
13600 missing bits that I don't get
13602 * gst/gstpipeline.c:
13603 * gst/gststructure.c:
13606 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
13608 * docs/design/part-gstbin.txt:
13609 * docs/design/part-gstbus.txt:
13611 Add blurb about how the bus goes into flushing mode and
13612 drops all messages when its bin goes from READY into NULL
13615 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13617 * docs/gst/gstreamer-sections.txt:
13618 * gst/gststructure.c: (gst_structure_get_clock_time):
13619 * gst/gststructure.h:
13620 add a method to get a GstClockTime out of a structure
13622 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
13624 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
13625 (test_children_state_change_order_semi_sink), (gst_bin_suite):
13626 Added test to check state change order in bins (can still be made
13627 to fail here under heavy disk load; bails out with 'Push on pad
13628 fakesink:sink0, but it was not activated in push mode').
13630 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
13631 Fix state change order when there is only a semi sink (#316856)
13633 * gst/gstbus.c: (gst_bus_class_init):
13634 Use _class_peek_parent(), not _class_ref(); fix docs to say
13635 'default main context' instead of 'mainloop' where that is
13638 * gst/gstelement.c: (gst_element_commit_state),
13639 (gst_element_set_state):
13640 Fix typos in debug messages
13642 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13645 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
13646 * gst/gstpluginfeature.c:
13648 various doc updates
13649 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13650 change an assert into an error until it gets fixed properly
13652 2005-09-23 Stefan Kost <ensonic@users.sf.net>
13654 * docs/gst/gstreamer-sections.txt:
13655 * docs/gst/tmpl/.cvsignore:
13656 * docs/gst/tmpl/gstelement.sgml:
13657 * docs/gst/tmpl/gstinfo.sgml:
13658 * docs/gst/tmpl/gstobject.sgml:
13659 * gst/gstelement.c:
13660 * gst/gstelement.h:
13663 * gst/gstobject.c: (gst_object_class_init):
13665 inlined 3 more biiiig doc files and added some missing docs on the fly
13667 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13669 * check/gst/.cvsignore:
13670 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
13671 * gst/gstregistryxml.c: (load_plugin),
13672 (gst_registry_xml_save_plugin):
13673 put back source in registry. add checks for find_plugin.
13674 * testsuite/states/bin.c: (assert_state), (empty_bin),
13675 (test_adding_one_element), (main):
13676 * testsuite/states/locked.c: (main):
13677 some compile/run fixes
13679 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
13681 * check/gst/gstvalue.c: (GST_START_TEST):
13682 fix leaks in the test itself
13684 2005-09-22 Wim Taymans <wim@fluendo.com>
13686 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13687 (gst_base_sink_send_event), (gst_base_sink_peer_query),
13688 (gst_base_sink_query):
13689 Prepare for more accurate position reporting and query
13692 * gst/gstelement.c: (gst_element_send_event),
13693 (gst_element_set_state):
13696 2005-09-22 Wim Taymans <wim@fluendo.com>
13698 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
13699 (gst_query_parse_segment):
13701 More documentation.
13702 Add segment query for future use.
13704 2005-09-22 Wim Taymans <wim@fluendo.com>
13706 * gst/gstbin.c: (gst_bin_add_func):
13707 Some more debug info.
13709 * gst/gstelement.c: (gst_element_send_event):
13710 Simplify send_event
13712 * gst/gstelement.h:
13713 Don't know how flags got broken.
13718 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13720 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13721 Add simplistic test suite for GST_TYPE_DATE serialisation and
13724 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13726 * docs/gst/gstreamer-sections.txt:
13727 * gst/gststructure.c: (gst_structure_set_valist),
13728 (gst_structure_get_date):
13729 * gst/gststructure.h:
13730 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13731 (gst_date_copy), (gst_value_compare_date),
13732 (gst_value_serialize_date), (gst_value_deserialize_date),
13733 (gst_value_transform_date_string),
13734 (gst_value_transform_string_date), (_gst_value_initialize):
13736 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13737 bunch of utility functions along with a hack that checks that
13738 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13739 is required. Part of the grand scheme in #170777.
13741 2005-09-22 Andy Wingo <wingo@pobox.com>
13743 * gst/gstconfig.h.in: Psych out gtk-doc.
13745 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13747 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13749 * tools/gst-inspect.c (print_element_list): Plug some
13750 inconsequential leaks.
13752 * gst/gstregistry.c (gst_registry_get_default): Doc.
13754 * check/gst/gstplugin.c:
13755 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13756 * gst/gstelementfactory.c (gst_element_factory_create):
13757 * gst/gstindexfactory.c (gst_index_factory_create): Update for
13760 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13761 (gst_plugin_feature_load): Doc, don't eat refs.
13763 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13764 (gst_plugin_list_free): Doc.
13765 (gst_plugin_load_file): Doc updates.
13767 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13768 accessors returning refcounted objects, return a ref.
13770 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13771 accessor for caps. IDEMPOTENCE. Oh yes.
13773 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
13775 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13777 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13778 (_gst_debug_register_funcptr):
13779 Add mutex to serialise access to the hash table with
13780 the function pointer => function name string mapping;
13781 make that hash table static scope (#316809).
13783 * gst/registries/.cvsignore:
13784 Remove left-over file.
13786 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13788 * docs/pwg/appendix-porting.xml:
13789 And something about newsegment events and caps-on-buffers to
13790 the porting guide (feel free to improve).
13792 2005-09-21 Andy Wingo <wingo@pobox.com>
13794 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13795 data and event probes on the same pad.
13796 (test_buffer_probe_once): Test that removing probes from within
13797 the probe functions works.
13799 2005-09-21 Andy Wingo <wingo@pobox.com>
13801 * check/gst/gstutils.c: New file.
13802 (test_buffer_probe_n_times): A simple buffer probe test. More to
13805 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13806 have-data::buffer, not have-data.
13807 (gst_pad_add_event_probe): Likewise for have-data::event.
13808 (gst_pad_add_data_probe): More docs. The part about 'resolving the
13809 peer' isn't quite right yet though.
13810 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
13811 (gst_pad_remove_data_probe): Change to take the guint handler_id
13812 as their arg, not the function+data, which is more glib-like.
13814 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13815 the signal emission to indicate if the data is a buffer or an
13817 (gst_pad_get_type): Initialize buffer and event quarks.
13818 (gst_pad_class_init): have-data is now a detailed signal, yes it
13821 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13823 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13824 * gst/gstutils.c: (gst_util_set_value_from_string),
13825 (gst_util_set_object_arg):
13826 Don't put functional code in g_return_if_fail() or
13827 g_return_val_if_fail() statements, otherwise things will
13828 break when G_DISABLE_CHECKS is defined during compilation.
13830 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13832 * docs/gst/tmpl/.cvsignore:
13833 * docs/gst/tmpl/gstvalue.sgml:
13836 inlied another one and added some obvious docs
13838 2005-09-21 Wim Taymans <wim@fluendo.com>
13840 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13841 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13842 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13843 (gst_fdsrc_get_property), (gst_fdsrc_create):
13844 * gst/elements/gstfdsrc.h:
13845 Properly implement fdsrc. Removed signal and timeout,
13846 better implemented somewhere else.
13848 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13850 * docs/gst/tmpl/.cvsignore:
13851 * docs/gst/tmpl/gstimplementsinterface.sgml:
13852 * gst/gstinterface.c:
13855 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13857 * docs/gst/gstreamer-sections.txt:
13858 * docs/gst/tmpl/.cvsignore:
13859 * docs/gst/tmpl/gstenumtypes.sgml:
13860 remove obsolete doc file
13862 2005-09-21 David Schleef <ds@schleef.org>
13864 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13865 little beer, fix a little leak.
13867 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13869 * docs/gst/gstreamer-docs.sgml:
13870 * docs/gst/gstreamer-sections.txt:
13871 * docs/gst/tmpl/.cvsignore:
13875 * gst/gstelement.h:
13876 * gst/gstindex.c: (gst_index_class_init):
13878 * gst/gstindexfactory.c: (gst_index_factory_get_type),
13879 (gst_index_factory_class_init), (gst_index_factory_init),
13880 (gst_index_factory_finalize), (gst_index_factory_new),
13881 (gst_index_factory_destroy), (gst_index_factory_find),
13882 (gst_index_factory_create), (gst_index_factory_make):
13883 * gst/gstindexfactory.h:
13884 * gst/gstpluginfeature.c:
13885 * gst/gstpluginfeature.h:
13886 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13887 more docs inlined, splitted gstindex.{c,h}
13889 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13891 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13894 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13896 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13897 Set sync to FALSE by default.
13899 2005-09-20 Wim Taymans <wim@fluendo.com>
13901 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13902 (gst_base_sink_init):
13903 Make sync property settable from subclass.
13905 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13906 (gst_fake_sink_change_state):
13907 Set sync to FALSE by default.
13909 2005-09-20 Wim Taymans <wim@fluendo.com>
13911 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13912 * tools/gst-launch.c: (main):
13913 The timeout handler should have lower priority than the source
13914 so we don't timeout before popping a message with 0 timeout.
13915 Dump error messages after failed state change.
13917 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13919 * tools/gst-inspect.c: (print_element_properties_info):
13922 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13924 * check/gst/gstevent.c:
13925 * gst/elements/gstfakesink.c:
13926 * gst/elements/gstfakesink.h:
13927 remove the sync property from fakesink.
13928 has the side effect of setting sync TRUE
13929 for fakesink, which is a change. Anyone who knows how
13930 to fix this nicely in a GObject-y way, feel free.
13932 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13934 * docs/gst/gstreamer-docs.sgml:
13935 remove probe refsection
13937 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13939 * check/Makefile.am:
13940 disable valgrinding the controller test again
13941 * docs/gst/gstreamer-sections.txt:
13942 update for api-changes
13944 2005-09-20 Wim Taymans <wim@fluendo.com>
13946 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13947 (gst_base_sink_set_property), (gst_base_sink_get_property),
13948 (gst_base_sink_do_sync):
13949 * gst/base/gstbasesink.h:
13950 Added sync property to basesink to disable clock sync.
13952 2005-09-20 Andy Wingo <wingo@pobox.com>
13954 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13955 eating the caller's refcount.
13957 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
13958 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13961 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13962 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13963 of GLib 2.8 public, so we can know which refcount to check in
13966 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13967 (gst_object_init): Only set the gst refcount if we're going ahead
13968 with the refcount hack.
13970 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13972 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13973 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13974 more leaks plumbed, added more debug-logging
13978 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13980 * gst/gstmessage.c:
13981 remove include of gstmemchunk.h
13983 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13985 * gst/gstclock.c: (_gst_clock_id_free):
13986 Commit from the Political Party For More Atomic CVS Commits,
13987 so that people don't waste too much of their day fishing
13988 out obvious leaks out of massive commits.
13989 Oh, and fix a pretty damn obvious leak in the memchunk
13992 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13994 * check/Makefile.am:
13995 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13996 plug mem-leak, re-add to valgrindable tests
13998 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
14001 unbreak the build for those who have chronic arthritis
14002 and typing "make check" is just too taxing on the hands
14004 2005-09-20 Andy Wingo <wingo@pobox.com>
14006 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
14007 really want it out, you should fix plugins at the same time.
14009 2005-09-19 Stefan Kost <ensonic@users.sf.net>
14012 * docs/gst/gstreamer-sections.txt:
14014 added missing symbols to api docs
14015 disable ref-count hack if we have glib >= 2.8
14017 2005-09-19 David Schleef <ds@schleef.org>
14019 * docs/gst/Makefile.am: Ignore a few more internal headers
14020 * docs/gst/gstreamer-docs.sgml: Remove old sections
14021 * docs/gst/gstreamer-sections.txt: Remove old sections
14022 * docs/gst/tmpl/gstobject.sgml: update
14023 * docs/gst/tmpl/gstplugin.sgml: update
14024 * docs/gst/tmpl/gstpluginfeature.sgml: update
14025 * docs/random/ds/0.9-suggested-changes: update.
14026 * gst/Makefile.am: remove memchunk and trashstack, since they're
14028 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
14029 * gst/gst.h: don't include some headers
14030 * gst/gstchildproxy.c: add gstmarshal.h
14031 * gst/gstclock.c: Don't use memchunks
14032 * gst/gstminiobject.c: Add some docs
14033 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
14034 * gst/gstobject.h: same
14035 * gst/gstplugin.c: include gstmacros.h
14036 * gst/gstplugin.h: don't include gstmacros.h, since it's private
14037 * gst/gstquery.c: don't use memchunks
14038 * gst/gstregistry.c: rename gst_registry_deinit()
14039 * gst/gstregistry.h: same
14041 2005-09-19 David Schleef <ds@schleef.org>
14043 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
14044 * docs/libs/gstreamer-libs-sections.txt:
14045 * docs/libs/tmpl/gstgetbits.sgml:
14046 * docs/libs/tmpl/gstputbits.sgml:
14048 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
14050 * win32/gstenumtypes.c:
14051 * win32/gstenumtypes.h:
14054 2005-09-19 Wim Taymans <wim@fluendo.com>
14056 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
14057 Automatically PAUSE and RESUME a pipeline when a flushing seek
14060 2005-09-19 Andy Wingo <wingo@pobox.com>
14062 * gst/gstregistry.h: Spacing fixen.
14064 2005-09-19 Wim Taymans <wim@fluendo.com>
14066 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
14067 Handle state change failure more correctly.
14069 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
14071 * check/Makefile.am:
14072 * check/pipelines/cleanup.c: (run_pipeline):
14073 * check/pipelines/simple_launch_lines.c: (run_pipeline),
14075 enable cleanup again after fixing the leak
14077 some more info on docs
14079 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
14081 * check/Makefile.am:
14082 re-enable tests now that leaks are plugged
14084 * check/gst/gstbin.c:
14085 * check/gst/gstpipeline.c:
14086 add some more tests while fixing leaks
14087 * common/check.mak:
14088 make sure binaries are uptodate when valgrinding/gdbing
14090 * gst/gstelementfactory.c:
14091 remove a ref too many, and add a FIXME for when we get
14092 round to disposing of classes
14094 fix the refcounting when loading a plugin from a file and
14095 the code pretends that the pointer is the same even though
14096 of course it can change
14097 * gst/gstpluginfeature.c:
14098 unref plugins marked cached (a bit confusing as a name)
14099 as the docs state should be done
14100 various doc additions to explain refcounting
14101 * gst/gstregistry.c:
14102 * gst/gstregistryxml.c:
14105 2005-09-19 Wim Taymans <wim@fluendo.com>
14107 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14108 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14109 (send_messages), (GST_START_TEST), (gstbus_suite):
14110 * check/gst/gstpipeline.c: (GST_START_TEST):
14111 * check/pipelines/cleanup.c: (run_pipeline):
14112 * check/pipelines/simple_launch_lines.c: (run_pipeline),
14114 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
14115 (gst_bus_source_check), (gst_bus_source_dispatch),
14116 (gst_bus_create_watch), (gst_bus_add_watch_full),
14117 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
14119 * tools/gst-launch.c: (event_loop):
14120 * tools/gst-md5sum.c: (event_loop):
14121 GstBusHandler -> GstBusFunc, return value has the same meaning as
14122 any other GSource (FALSE == remove source).
14123 _add_watch() and _add_watch_full() now take a MessageType mask to
14124 only handle specific types of messages.
14125 _poll() returns the GstMessage instead of the message type to avoid
14127 _have_pending() takes a MessageType mask now too.
14128 Added testsuite for multiple bus watches.
14129 Fix testsuites and applications for new bus API.
14131 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
14133 * check/Makefile.am:
14134 mark a bunch of the tests as to fix until we fix them
14136 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
14138 * common/check.mak:
14139 use GST_PLUGIN settings for valgrind tests as well, so we're
14140 valgrinding the correct thing
14141 * gst/gst.c: (init_post):
14144 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
14146 * gst/gst.c: (init_post), (gst_deinit):
14147 * gst/gstelementfactory.c: (gst_element_factory_class_init),
14148 (gst_element_factory_finalize), (gst_element_factory_cleanup):
14149 * gst/gstindex.c: (gst_index_factory_class_init),
14150 (gst_index_factory_finalize):
14151 * gst/gstobject.c: (gst_object_dispose):
14152 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14153 (gst_plugin_load_file), (gst_plugin_desc_free):
14154 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
14155 (gst_plugin_feature_finalize):
14156 * gst/gstregistry.c: (gst_registry_class_init),
14157 (gst_registry_init), (gst_registry_finalize),
14158 (gst_registry_get_default), (gst_registry_deinit):
14159 * gst/gstregistry.h:
14160 * gst/gstregistryxml.c: (load_feature), (load_plugin):
14161 various cleanups and memleak plugging. make valgrind is happy now.
14163 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
14165 * common/check.mak:
14166 add a check-valgrind target
14168 2005-09-18 David Schleef <ds@schleef.org>
14170 * tools/gst-inspect.c: Revert the GOption code.
14172 2005-09-17 David Schleef <ds@schleef.org>
14174 * check/Makefile.am: Fix environment variables.
14175 * check/gst/gstplugin.c: Fix for API changes.
14176 * tools/gst-inspect.c: Fix for API changes.
14177 * tools/gst-xmlinspect.c: Fix for API changes.
14178 * gst/gstelementfactory.c:
14181 * gst/gstpluginfeature.c:
14182 * gst/gstpluginfeature.h:
14183 * gst/gstregistry.c:
14184 * gst/gstregistry.h:
14185 * gst/gstregistryxml.c:
14186 * gst/gsttypefind.c:
14187 * gst/gsttypefindfactory.c:
14188 * gst/indexers/gstfileindex.c:
14189 * gst/indexers/gstmemindex.c:
14190 * gst/schedulers/Makefile.am:
14191 Change registry to keep track of both plugins and features,
14192 removing the feature tracking from plugins themselves.
14194 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
14196 * check/Makefile.am:
14197 * tools/gst-register.1.in:
14198 remove gst-register
14200 2005-09-15 David Schleef <ds@schleef.org>
14202 * check/gst/gstplugin.c:
14203 * gst/gstelementfactory.c:
14205 * gst/gstpluginfeature.c:
14206 * gst/gstregistry.c:
14207 Getting tired of debugging. Disabled all the unreffing of
14208 plugins and features, which fixes the segfaults, but of
14209 course leaks like crazy. At least playbin works.
14211 2005-09-15 David Schleef <ds@schleef.org>
14213 * check/gst/gstplugin.c: (register_check_elements),
14214 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
14216 * gst/elements/gsttypefindelement.c: Fix refcounting.
14217 * gst/gsttypefind.c:
14218 * gst/gsttypefindfactory.c:
14219 * gst/gsttypefindfactory.h:
14221 2005-09-15 David Schleef <ds@schleef.org>
14223 * gst/gstindex.c: get refcounting correct.
14224 * gst/gstregistry.c: Handle the case where a feature/plugin is
14227 2005-09-15 David Schleef <ds@schleef.org>
14229 * check/Makefile.am:
14230 * check/gst/gstplugin.c: Add test
14231 * gst/gstplugin.c: Fix problems noticed by testsuite
14233 * gst/gstregistry.c:
14234 * gst/gstregistry.h:
14236 2005-09-15 David Schleef <ds@schleef.org>
14238 * gst/gstplugin.c: Implement semi-decent recounting and locking
14239 in plugins and plugin features.
14241 * gst/gstpluginfeature.c:
14242 * gst/gstpluginfeature.h:
14243 * gst/gstregistry.c:
14245 2005-09-15 Michael Smith <msmith@fluendo.com>
14247 * gst/gstregistry.c: (gst_registry_get_feature_list):
14248 Implement this. Makes oggdemux work; decodebin still broken.
14250 2005-09-14 David Schleef <ds@schleef.org>
14252 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
14254 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
14255 * gst/check/Makefile.am:
14256 * libs/gst/controller/Makefile.am:
14257 * libs/gst/dataprotocol/Makefile.am:
14259 2005-09-14 David Schleef <ds@schleef.org>
14261 * configure.ac: Remove getbits library. Nothing uses it, and
14262 it should be in something like liboil if someone did want
14264 * libs/gst/Makefile.am:
14265 * libs/gst/getbits/Makefile.am:
14266 * libs/gst/getbits/gbtest.c:
14267 * libs/gst/getbits/getbits.c:
14268 * libs/gst/getbits/getbits.h:
14269 * libs/gst/getbits/gstgetbits_generic.c:
14270 * libs/gst/getbits/gstgetbits_i386.s:
14271 * libs/gst/getbits/gstgetbits_inl.h:
14273 2005-09-14 David Schleef <ds@schleef.org>
14275 * gst/Makefile.am: Dist glib-compat.h
14277 2005-09-14 David Schleef <ds@schleef.org>
14279 * configure.ac: Remove gst/registries, since it's no longer used.
14280 * gst/registries/Makefile.am:
14281 * gst/registries/gstlibxmlregistry.c:
14282 * gst/registries/gstlibxmlregistry.h:
14283 * gst/registries/gstxmlregistry.c:
14284 * gst/registries/gstxmlregistry.h:
14285 * gst/registries/registrytest.c:
14287 2005-09-14 David Schleef <ds@schleef.org>
14289 * gst/glib-compat.h:
14290 * gst/gstregistryxml.c:
14291 Convergence is near. Seriously.
14293 2005-09-14 David Schleef <ds@schleef.org>
14295 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14296 * gst/glib-compat.h:
14297 Attempt #4 to appease the buildbots.
14299 2005-09-14 David Schleef <ds@schleef.org>
14301 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14304 2005-09-14 David Schleef <ds@schleef.org>
14306 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14309 2005-09-14 David Schleef <ds@schleef.org>
14311 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
14314 2005-09-14 David Schleef <ds@schleef.org>
14316 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
14317 * gst/glib-compat.h: Add some functions that are in newer versions
14318 of glib than we care to require.
14319 * gst/gstregistryxml.c: Use them.
14321 2005-09-14 David Schleef <ds@schleef.org>
14323 * po/POTFILES.in: remove gst-register.c
14325 2005-09-14 David Schleef <ds@schleef.org>
14327 * docs/gst/gstreamer-docs.sgml:
14328 * docs/gst/gstreamer-sections.txt:
14329 * docs/gst/gstreamer.types:
14330 * docs/gst/tmpl/gstelement.sgml:
14331 * docs/gst/tmpl/gstplugin.sgml:
14332 * docs/gst/tmpl/gstpluginfeature.sgml:
14333 Documentation updates for registry changes.
14335 2005-09-14 David Schleef <ds@schleef.org>
14337 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
14338 because we don't require glib-2.8.
14340 2005-09-14 David Schleef <ds@schleef.org>
14342 * gst/gstregistryxml.c: Added. Essentially moved out of the
14343 registries directory.
14345 2005-09-14 David Schleef <ds@schleef.org>
14347 * check/Makefile.am:
14348 * check/generic/states.c:
14352 * gst/gst_private.h:
14353 * gst/gstelementfactory.c:
14358 * gst/gstpluginfeature.c:
14359 * gst/gstpluginfeature.h:
14360 * gst/gstregistry.c:
14361 * gst/gstregistry.h:
14362 * gst/gstregistrypool.c: remove
14363 * gst/gstregistrypool.h: remove
14364 * gst/gsttypefind.c:
14365 * gst/gsttypefindfactory.c:
14367 * tools/Makefile.am:
14368 * tools/gst-compprep.c:
14369 * tools/gst-inspect.c:
14370 * tools/gst-register.c: remove
14371 * tools/gst-xmlinspect.c:
14372 Registry rewrite. Changes registry from being a file created
14373 by a tool into a simple cache file created automatically by
14374 libgstreamer. Removed gst-register (because it's no longer
14375 needed). Remove registry pools, because we only have one
14376 registry implementation (XML). Fix up other subsystems as
14379 2005-09-13 Michael Smith <msmith@fluendo.com>
14381 * gst/gstconfig.h.in:
14382 Don't Use windows linking attributes for MinGW. Fixes #316157
14384 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
14386 * gst/gstutils.c: (set_state_async_thread_func),
14387 (gst_element_set_state_async):
14388 Apparently people think it's better if this function doesn't
14389 try to set the state to whatever state was asked for on the first
14390 call to this function for any object. Seriously.
14392 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
14394 * check/gst/gstpipeline.c: (GST_START_TEST):
14395 * docs/gst/gstreamer-sections.txt:
14396 * gst/gstutils.c: (set_state_async_thread_func),
14397 (gst_element_set_state_async):
14399 add a "gst_element_set_state_async" method that
14400 sets the state and starts a thread to make sure the state
14401 change completes as best as it can
14403 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
14405 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14406 codify design+behaviour in testsuite after discussion
14408 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
14410 * docs/gst/tmpl/gstelement.sgml:
14411 * docs/manual/appendix-quotes.xml:
14413 * gst/gstelement.c: (gst_element_set_state):
14416 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
14418 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14419 (gst_base_transform_prepare_output_buf),
14420 (gst_base_transform_handle_buffer):
14421 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
14422 (gst_capsfilter_prepare_buf):
14423 Remove the requirement for sub-classes to call the parent
14424 implementation of prepare_output_buffer with a wrapper function.
14426 * gst/gsttaglist.h:
14427 * gst/gsttagsetter.h:
14428 Fix #define wrapper
14430 2005-09-11 Stefan Kost <ensonic@users.sf.net>
14432 * docs/gst/gstreamer-sections.txt:
14435 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
14437 * docs/gst/gstreamer-sections.txt:
14438 * docs/gst/tmpl/gstelement.sgml:
14439 * docs/gst/tmpl/gstplugin.sgml:
14440 * gst/gstminiobject.c:
14442 docs now stop throwing warnings
14444 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
14446 * docs/gst/gstreamer-sections.txt:
14447 * docs/gst/gstreamer.types:
14448 * docs/gst/tmpl/gstpad.sgml:
14449 * docs/gst/tmpl/gsttypes.sgml:
14450 * gst/base/gstadapter.h:
14451 * gst/base/gstbasesink.h:
14452 * gst/base/gstbasesrc.h:
14458 * gst/gstelement.h:
14460 * gst/gstmessage.h:
14462 * gst/gststructure.c:
14463 * gst/registries/gstlibxmlregistry.h:
14464 various documentation fixes
14466 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
14468 * docs/gst/gstreamer-sections.txt:
14469 * docs/gst/tmpl/gstvalue.sgml:
14470 rearrange gstvalue section
14471 * gst/gstutils.c: (gst_element_state_get_name):
14473 * gst/gstvalue.c: (_gst_value_initialize):
14477 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
14479 * check/gst-libs/controller.c:
14480 Header include fix.
14481 * gst/base/gstbasetransform.c:
14482 (gst_base_transform_default_prepare_buf),
14483 (gst_base_transform_handle_buffer):
14484 * gst/base/gstbasetransform.h:
14485 Some more basetransform changes and fixes to enable sub-classes
14486 that modify buffer metadata only.
14487 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
14488 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
14489 (gst_capsfilter_prepare_buf):
14490 If the output pad has fixed allowed caps and input buffers
14491 don't have any, set the fixed caps on outgoing buffers.
14493 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
14494 * check/elements/identity.c: (GST_START_TEST):
14495 Make the error a little clearer when the test fails because
14496 identity made a copy of the buffer.
14497 * docs/gst/gstreamer-sections.txt:
14498 New symbols in gstbasetransform.h
14499 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14500 (gst_base_transform_init), (gst_base_transform_transform_size),
14501 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14502 (gst_base_transform_default_prepare_buf),
14503 (gst_base_transform_get_unit_size),
14504 (gst_base_transform_buffer_alloc),
14505 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14506 (gst_base_transform_change_state),
14507 (gst_base_transform_set_passthrough),
14508 (gst_base_transform_set_in_place),
14509 (gst_base_transform_is_in_place):
14510 * gst/base/gstbasetransform.h:
14511 Change BaseTransform to separate in_place operate from same_caps
14512 output. in_place implies that the element can perform the transform
14513 on incoming buffers in-place, even if the caps on the output are
14515 Sub-class elements can now implement special buffer allocation
14516 methods for outgoing buffers if they wish to.
14517 Big documentation addition.
14518 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
14519 * gst/elements/gstelements.c:
14520 Changes for basetransform modifications.
14521 * gst/elements/Makefile.am:
14522 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
14523 Compile fix. Extra debug output.
14525 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
14527 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
14529 add tests for valid pad naming
14530 * gst/check/gstcheck.c: (gst_check_log_message_func),
14531 (gst_check_log_critical_func):
14533 remove printing of code, it is fragile when the code contains
14534 % and the line number is enough info
14535 * gst/check/gstcheck.h:
14536 * gst/gstpad.c: (gst_pad_template_new):
14539 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
14542 say what CHECK flags we use
14543 * docs/libs/gstreamer-libs.types:
14544 * libs/gst/controller/Makefile.am:
14545 * libs/gst/controller/gst-controller.c:
14546 * libs/gst/controller/gst-controller.h:
14547 * libs/gst/controller/gst-helper.c:
14548 * libs/gst/controller/gst-interpolation.c:
14549 * libs/gst/controller/gstcontroller.c:
14550 * libs/gst/controller/gsthelper.c:
14551 * libs/gst/controller/gstinterpolation.c:
14552 * tools/gst-inspect.c: (print_plugin_info):
14553 we don't use dashes in header names
14555 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
14557 * check/Makefile.am:
14558 * check/gst/.cvsignore:
14559 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
14560 (gst_pipeline_suite), (main):
14561 adding a test for pipelines and state changes
14562 * gst/gstutils.c: (get_state_func):
14564 * gstreamer.spec.in:
14567 2005-09-08 Michael Smith <msmith@fluendo.com>
14569 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
14570 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
14571 (gst_file_src_is_seekable), (gst_file_src_get_size),
14572 (gst_file_src_start):
14573 * gst/elements/gstfilesrc.h:
14574 Various fixes for unseekable, unmmapable, and non-normal files, so
14575 that fallback to read() rather than mmap() works.
14576 * gst/gstevent.c: (gst_event_new_newsegment):
14577 Allow newsegment events with segment_start == segment_end, as will
14578 correctly happen if you use filesrc on a zero-size file, for
14581 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
14583 * gst/gstplugin.c: (gst_plugin_load_file):
14584 Call g_module_close when we don't load the module
14586 * gst/registries/gstlibxmlregistry.c:
14587 (gst_xml_registry_get_property):
14588 Port leak fix from 0.8
14590 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14592 * docs/gst/gstreamer-docs.sgml:
14593 * docs/gst/tmpl/.cvsignore:
14594 * docs/gst/tmpl/gsttrace.sgml:
14595 * docs/gst/tmpl/gsttrashstack.sgml:
14598 * gst/gstelement.h:
14600 * gst/gstmessage.c:
14601 * gst/gstmessage.h:
14604 * gst/gsttaginterface.c:
14605 * gst/gsttaginterface.h:
14606 * gst/gsttaglist.c:
14607 * gst/gsttaglist.h:
14608 * gst/gsttagsetter.c:
14609 * gst/gsttagsetter.h:
14612 * gst/gsttrashstack.c:
14613 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
14614 inlined docs for gsttrace, gsttrashstack
14616 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14619 * gst/elements/gstbufferstore.h:
14620 * gst/elements/gsttypefindelement.c:
14621 * gst/elements/gsttypefindelement.h:
14623 * gst/gsttypefind.c:
14624 * gst/gsttypefind.h:
14625 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
14626 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
14627 (gst_type_find_factory_dispose),
14628 (gst_type_find_factory_unload_thyself),
14629 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
14630 (gst_type_find_factory_get_caps),
14631 (gst_type_find_factory_get_extensions),
14632 (gst_type_find_factory_call_function):
14633 * gst/gsttypefindfactory.h:
14634 * gst/registries/gstlibxmlregistry.c:
14635 * gst/registries/gstxmlregistry.c:
14636 splitted gsttypefind into gsttypefind, gsttypefindfactory
14638 2005-09-07 Andy Wingo <wingo@pobox.com>
14640 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
14641 condition whereby the pad's task function is entered before the
14642 pad_mode variable was set.
14644 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
14646 * gst/gstpad.c: (gst_pad_alloc_buffer):
14647 Catch misbehaving pad_alloc functions that don't
14648 set up caps and do it for them.
14650 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14652 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14653 test for pipe!=NULL
14654 * docs/gst/tmpl/.cvsignore:
14655 * docs/gst/tmpl/gstmemchunk.sgml:
14656 * docs/gst/tmpl/gstparse.sgml:
14657 * docs/gst/tmpl/gsttaglist.sgml:
14658 * docs/gst/tmpl/gsttagsetter.sgml:
14659 * docs/gst/tmpl/gsttypefind.sgml:
14660 * docs/gst/tmpl/gsttypefindfactory.sgml:
14661 * gst/gstmemchunk.c:
14664 * gst/gsttaginterface.c:
14665 * gst/gsttypefind.c:
14666 * gst/gsttypefind.h:
14669 === release 0.9.2 ===
14671 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
14676 releasing 0.9.2, "South"
14678 2005-09-05 Andy Wingo <wingo@pobox.com>
14680 * gst/registries/gstxmlregistry.h:
14681 * gst/registries/gstxmlregistry.c: Um... resurrect...
14683 * gst/registries/gstxmlregistry.h:
14684 * gst/registries/gstxmlregistry.c: and update to newer API.
14685 Incidentally they should be a bit faster now that they don't have
14688 2005-09-05 Andy Wingo <wingo@pobox.com>
14690 * gst/registries/gstxmlregistry.h:
14691 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
14692 replaced by the libxml registry a while back
14694 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14696 * docs/gst/tmpl/gstplugin.sgml:
14697 * gst/elements/gstelements.c:
14699 * gst/gstplugin.c: (gst_plugin_register_func),
14700 (gst_plugin_desc_copy), (gst_plugin_desc_free),
14701 (gst_plugin_get_source):
14703 * gst/registries/gstlibxmlregistry.c: (load_plugin),
14704 (gst_xml_registry_save_plugin):
14705 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
14706 (gst_xml_registry_save_plugin):
14707 * tools/gst-inspect.c: (print_plugin_info):
14708 add a "source" plugin description field, to represent the source
14709 module this plugin is a part of. By default GST_PLUGIN_DEFINE
14710 will set it to PACKAGE, which is automake's idea of the name of
14711 the source project.
14713 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14718 * docs/Makefile.am:
14719 * docs/faq/Makefile.am:
14720 * docs/gst/tmpl/gstelement.sgml:
14721 * docs/gst/tmpl/gsttypes.sgml:
14722 * docs/htmlinstall.mak:
14723 * docs/manual/Makefile.am:
14724 * docs/pwg/Makefile.am:
14725 reorganize doc build a little
14726 split out docbook and gtk-doc stuff
14727 have two separate --enable's and enable them through autogen
14728 but disable by default in configure (to be similar to other
14730 * gstreamer.spec.in:
14731 clean up docs install
14749 translation updates
14751 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
14753 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14756 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14757 (gst_fake_sink_change_state):
14758 Make state change function thread-safe.
14760 * gst/gstpad.c: (gst_pad_alloc_buffer):
14761 Set offset on generic buffer allocated by fallback.
14763 2005-09-03 Stefan Kost <ensonic@users.sf.net>
14765 * docs/gst/gstreamer-sections.txt:
14766 * docs/gst/tmpl/gstelement.sgml:
14768 * libs/gst/controller/gst-controller.c:
14769 (gst_controlled_property_set_interpolation_mode),
14770 (gst_controlled_property_new),
14771 (gst_controller_find_controlled_property):
14772 run the wingo-magic script against the docs
14774 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14776 * docs/gst/gstreamer-docs.sgml:
14777 * docs/gst/gstreamer-sections.txt:
14778 * docs/gst/tmpl/.cvsignore:
14779 * docs/gst/tmpl/gstelementdetails.sgml:
14780 * docs/gst/tmpl/gstelementfactory.sgml:
14783 * gst/gstelementfactory.c:
14784 * gst/gstelementfactory.h:
14785 merged elementdetails docs into elementfactory docs
14788 2005-09-02 Andy Wingo <wingo@pobox.com>
14790 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14791 consider this enum an enum and not a flags.
14793 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14795 * docs/gst/gstreamer-docs.sgml:
14796 * docs/gst/tmpl/.cvsignore:
14797 * docs/gst/tmpl/gstghostpad.sgml:
14798 * docs/gst/tmpl/gstiterator.sgml:
14799 * docs/gst/tmpl/gstmacros.sgml:
14800 * docs/gst/tmpl/gstrealpad.sgml:
14801 * docs/gst/tmpl/gstregistry.sgml:
14802 * docs/gst/tmpl/gstregistrypool.sgml:
14803 * docs/gst/tmpl/gststructure.sgml:
14804 * docs/gst/tmpl/gstsystemclock.sgml:
14805 * docs/gst/tmpl/gsttrace.sgml:
14806 * gst/gstghostpad.c:
14808 * gst/gstmemchunk.c:
14809 * gst/gstmemchunk.h:
14811 * gst/gstregistry.c:
14812 * gst/gstregistrypool.c:
14813 * gst/gststructure.c:
14814 * gst/gstsystemclock.c:
14817 2005-09-02 Andy Wingo <wingo@pobox.com>
14819 * gst/gstelement.h (GstState): Renamed from GstElementState,
14820 changed to be a normal enum instead of flags.
14821 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14822 munged to be GST_STATE_CHANGE_*.
14823 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14824 work with the new state representation.
14825 (GstStateChange): New enumeration of possible state transitions.
14826 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14827 (GstElementClass::change_state): Pass the GstStateChange along as
14828 an argument. Helps language bindings, so they don't have to use
14829 tricky lock-needing macros like GST_STATE_CHANGE ().
14831 * scripts/update-states (file): New script. Run it on a file to
14832 update it for state naming and API changes. Updates files in
14835 * All files updated for the new API.
14837 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
14839 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14840 * gst/gstutils.c: (gst_util_set_value_from_string),
14841 (gst_util_set_object_arg):
14842 fix a bunch of unchecked return values
14843 * tools/gst-complete.c: (main):
14844 * gstreamer.spec.in:
14847 2005-09-01 Wim Taymans <wim@fluendo.com>
14849 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14850 (gst_base_sink_event), (gst_base_sink_do_sync),
14851 (gst_base_sink_handle_event):
14852 * gst/base/gstbasesink.h:
14853 Handle newsegments more correctly.
14858 * gst/gstevent.c: (gst_event_new_newsegment):
14859 A newsegment cannot have a start_time of -1
14861 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
14863 * win32/gstenumtypes.c:
14864 * win32/gstenumtypes.h:
14867 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14869 * libs/gst/controller/gst-controller.c:
14870 (gst_controlled_property_set_interpolation_mode),
14871 (gst_controlled_property_new):
14872 fixed boolean again
14874 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
14876 * docs/faq/gst-uninstalled:
14881 * gst/gstutils.c: (gst_element_link_filtered):
14883 add gst_element_link_filtered
14885 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14887 * docs/gst/gstreamer-docs.sgml:
14888 * docs/gst/gstreamer-sections.txt:
14889 * docs/gst/tmpl/.cvsignore:
14890 * docs/gst/tmpl/gsterror.sgml:
14891 * docs/gst/tmpl/gstfilter.sgml:
14892 * docs/gst/tmpl/gsturihandler.sgml:
14893 * docs/gst/tmpl/gsturitype.sgml:
14894 * docs/gst/tmpl/gstutils.sgml:
14895 * docs/gst/tmpl/gstxml.sgml:
14900 * gst/gsturitype.c:
14903 inlined more docs, fixed double id-ref
14905 2005-08-31 Wim Taymans <wim@fluendo.com>
14907 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14908 (gst_base_transform_handle_buffer):
14909 Passthrough elements don't need the caps as they don't care.
14911 2005-08-31 Wim Taymans <wim@fluendo.com>
14913 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14914 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14915 Don't leak refcounts on buffers.
14917 2005-08-31 Wim Taymans <wim@fluendo.com>
14919 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14920 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14921 (gst_base_transform_chain), (gst_base_transform_change_state):
14922 * gst/base/gstbasetransform.h:
14923 Handle the case where we are not negotiated more gracefully.
14925 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
14927 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14928 (gst_file_src_map_region):
14929 Set READONLY flag on mmap'ed buffers, otherwise
14930 gst_buffer_make_writable() won't work properly (#314708).
14932 2005-08-31 Wim Taymans <wim@fluendo.com>
14934 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14935 passthrough elements can even do inplace on non writable
14936 buffers (as they don't touch them).
14938 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14940 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14941 (gst_test_mono_source_set_property),
14942 (gst_test_mono_source_class_init), (GST_START_TEST),
14943 (gst_controller_suite):
14944 more tests (hehe I have the most)
14946 describe popping messages whenusing mulltiple sources
14947 * libs/gst/controller/gst-controller.c:
14948 (gst_controlled_property_set_interpolation_mode),
14949 (gst_controlled_property_new):
14950 * libs/gst/controller/gst-controller.h:
14951 * libs/gst/controller/gst-interpolation.c:
14952 implement boolean properties
14954 2005-08-31 Wim Taymans <wim@fluendo.com>
14956 * gst/gstminiobject.c: (gst_mini_object_ref):
14957 Cannot assert that the refcount has to be positive
14958 since a disposed object can be resurrected.
14960 2005-08-31 Wim Taymans <wim@fluendo.com>
14962 * gst/gstpad.c: (gst_pad_init):
14963 Revert change, need to first fix badly behaving
14966 2005-08-30 Wim Taymans <wim@fluendo.com>
14968 * check/elements/fakesrc.c: (setup_fakesrc):
14969 * check/elements/identity.c: (setup_identity):
14970 Activate pads before using them.
14972 2005-08-30 Wim Taymans <wim@fluendo.com>
14974 * gst/base/gstadapter.c: (gst_adapter_flush):
14975 Flushing out 0 bytes is ok for this function.
14977 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14978 no newsegment gives a warning and sets the start/stop to
14981 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14982 (gst_base_transform_set_passthrough):
14985 * gst/gstminiobject.c: (gst_mini_object_ref):
14986 Check refcount here too.
14988 * gst/gstpad.c: (gst_pad_init):
14989 Pads are initially flushing and refusing data.
14991 * gst/gstutils.c: (gst_element_link_pads_filtered):
14992 When adding a capsfilter element make sure it has the
14993 same state as the parent bin.
14995 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14997 * docs/gst/tmpl/.cvsignore:
14998 * docs/gst/tmpl/gstformat.sgml:
14999 * docs/gst/tmpl/gstversion.sgml:
15003 * gst/gstversion.h.in:
15004 more docs and two more inlined
15006 2005-08-30 Wim Taymans <wim@fluendo.com>
15008 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
15009 Don't sync to clock.
15011 2005-08-30 Stefan Kost <ensonic@users.sf.net>
15013 * docs/gst/gstreamer-sections.txt:
15014 ultral33t func10ns deserve to appear in the docs actually
15015 * docs/gst/tmpl/.cvsignore:
15016 * docs/gst/tmpl/gstcompat.sgml:
15017 * docs/gst/tmpl/gstconfig.sgml:
15018 * gst/check/gstcheck.c:
15020 * gst/gstconfig.h.in:
15023 2005-08-30 Stefan Kost <ensonic@users.sf.net>
15025 * docs/gst/tmpl/.cvsignore:
15026 * docs/gst/tmpl/gstquery.sgml:
15027 * docs/gst/tmpl/gstutils.sgml:
15030 inlined and extended docs
15032 2005-08-30 Stefan Kost <ensonic@users.sf.net>
15034 * check/gst-libs/controller.c: (GST_START_TEST),
15035 (gst_controller_suite):
15037 * docs/gst/tmpl/gstutils.sgml:
15038 * docs/libs/gstreamer-libs-sections.txt:
15039 * docs/libs/tmpl/gstdataprotocol.sgml:
15041 * examples/controller/audio-example.c: (main):
15042 controller example works now
15045 * tools/gst-inspect.c: (print_element_properties_info):
15046 show param spec flags
15048 2005-08-29 Andy Wingo <wingo@pobox.com>
15050 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
15052 2005-08-28 Andy Wingo <wingo@pobox.com>
15054 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
15055 as having two arguments instead of just one. Allows superclasses
15056 to access information on subclasses -- see the terrible for() loop
15057 in gtype.c:g_type_create_instance for the reason why. All callers
15060 2005-08-27 Stefan Kost <ensonic@users.sf.net>
15062 * docs/design/part-messages.txt:
15064 * docs/gst/tmpl/.cvsignore:
15065 * docs/gst/tmpl/gstcaps.sgml:
15066 * docs/gst/tmpl/gstclock.sgml:
15072 * gst/gstmessage.c:
15073 added descriptions for bus and message
15074 inline caps and clock docs
15076 2005-08-27 Stefan Kost <ensonic@users.sf.net>
15078 * gst/gstmessage.c:
15079 * gst/gstmessage.h:
15082 2005-08-27 Stefan Kost <ensonic@users.sf.net>
15084 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15087 2005-08-26 Andy Wingo <wingo@pobox.com>
15089 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
15090 element_set_state's return val.
15091 (test_2_elements): Add test that's been disabled for months.
15093 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
15094 can-activate-pull properties.
15096 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
15097 can-activate-pull properties. Implement is_seekable so fakesrc can
15098 operate in pull mode.
15100 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
15102 (gst_base_sink_activate, gst_base_sink_activate_pull)
15103 (gst_base_sink_activate_push): Make activation mode choosing work.
15105 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
15106 is right. Make pull mode work. Post an eos before pausing in pull
15108 (gst_base_sink_change_state): Pay attention to the core's
15109 change_state() return val.
15111 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
15112 has-getrange properties. Cleanups.
15114 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
15115 has_getrange and replace with can_activate_pull and
15118 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
15119 locking comments. Remove has_loop, has_chain and replace with
15120 can_activate_pull and can_activate_push.
15122 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
15125 * examples/Makefile.am:
15126 * examples/metadata/Makefile.am:
15127 * examples/metadata/read-metadata.c: (message_loop),
15128 (have_pad_handler), (make_pipeline), (print_tag), (main):
15129 Add metadata reading example that loops over a list of filenames,
15130 dumping any tags found.
15132 * gst/gstbus.c: (gst_bus_dispose):
15133 * gst/gstelement.c: (gst_element_dispose):
15134 Release a few potentially-held references in dispose.
15136 2005-08-26 Stefan Kost <ensonic@users.sf.net>
15138 * docs/gst/tmpl/gstminiobject.sgml:
15139 do *not* add tmpl/*.sgml files to CVS!
15141 2005-08-26 Stefan Kost <ensonic@users.sf.net>
15143 * libs/gst/bytestream/.cvsignore:
15144 * libs/gst/bytestream/Makefile.am:
15145 * libs/gst/bytestream/adapter.c:
15146 * libs/gst/bytestream/adapter.h:
15147 * libs/gst/bytestream/bytestream.c:
15148 * libs/gst/bytestream/bytestream.h:
15149 * libs/gst/bytestream/filepad.c:
15150 * libs/gst/bytestream/filepad.h:
15151 removing obsolete files
15153 2005-08-26 Stefan Kost <ensonic@users.sf.net>
15155 * docs/gst/gstreamer-docs.sgml:
15156 * docs/libs/gstreamer-libs-docs.sgml:
15157 disabed additional index entries again, as this makes docs-gen just
15158 slow and they aren't useful yet
15159 * docs/libs/gstreamer-libs-sections.txt:
15160 little -section.txt cleanup for libs
15162 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
15164 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15165 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
15166 fix up some debugging
15167 (gst_base_transform_get_unit_size),
15168 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15169 (gst_base_transform_handle_buffer):
15170 * gst/base/gstbasetransform.h:
15171 handle and store timed NEWSEGMENT events so that subclasses that
15172 calculate time by counting samples have a segment_start time they
15173 need to add to their timestamps - see audioresample
15175 2005-08-26 Stefan Kost <ensonic@users.sf.net>
15178 removed ';' from the end of macro defs
15179 * docs/gst/gstreamer-docs.sgml:
15180 * docs/gst/gstreamer-sections.txt:
15181 * docs/gst/tmpl/.cvsignore:
15183 * gst/gstelement.c: (gst_element_class_init),
15184 (gst_element_set_state), (activate_pads),
15185 (gst_element_save_thyself):
15186 * gst/gstevent.c: (gst_event_new_newsegment):
15188 * gst/gstiterator.c:
15189 * gst/gstiterator.h:
15192 * gst/gstutils.c: (gst_pad_query_convert):
15194 fixed parameter name mismatches between source, header and docs
15195 added some more docs, resolved the last batch of unused elements in
15196 docs (now someone needs to doc them)
15198 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
15200 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
15201 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
15202 don't walk through the plugins backwards. Where is all this
15203 reversed logic coming from ?
15205 2005-08-25 Wim Taymans <wim@fluendo.com>
15207 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15208 (gst_base_transform_transform_size),
15209 (gst_base_transform_configure_caps),
15210 (gst_base_transform_get_unit_size),
15211 (gst_base_transform_buffer_alloc),
15212 (gst_base_transform_change_state):
15213 * gst/base/gstbasetransform.h:
15214 Cache caps unit_size.
15215 Make sure we cannot negotiate up and downstream at the
15218 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
15220 * gst/gst.c: (init_pre), (init_post):
15221 register the installed plugin path after the env var
15222 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
15223 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
15224 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
15225 directories, so the tests can prefer uninstalled over installed
15227 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
15229 * gst/base/gstbasetransform.h:
15234 2005-08-25 Wim Taymans <wim@fluendo.com>
15236 * gst/gstbin.c: (bin_bus_handler):
15237 Be a bit more conservative about the posted message.
15239 * gst/gstbus.c: (gst_bus_post):
15240 Some cleanups, warn wrong return values.
15242 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
15244 * check/gst/gstbin.c: (GST_START_TEST):
15245 * gst/gstbin.c: (bin_bus_handler):
15246 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
15247 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
15248 (gst_message_new_warning), (gst_message_new_tag),
15249 (gst_message_new_state_changed), (gst_message_new_segment_start),
15250 (gst_message_new_segment_done), (gst_message_new_custom):
15251 * gst/gstmessage.h:
15252 * tools/gst-launch.c: (event_loop):
15253 * tools/gst-md5sum.c: (event_loop):
15254 Revert unpopular change for GST_MESSAGE_SRC to GObject.
15256 2005-08-25 Wim Taymans <wim@fluendo.com>
15258 * check/generic/states.c: (GST_START_TEST):
15259 Cleanup can be done at the end.
15261 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
15262 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
15263 (gst_task_get_state), (gst_task_start), (gst_task_pause):
15264 Oh boy.. Thanks for finding this, Thomas.
15266 2005-08-25 Stefan Kost <ensonic@users.sf.net>
15268 * docs/gst/gstreamer.types:
15269 added missing types
15271 2005-08-25 Stefan Kost <ensonic@users.sf.net>
15273 * docs/gst/gstreamer-docs.sgml:
15274 * docs/gst/gstreamer-sections.txt:
15275 * docs/gst/tmpl/.cvsignore:
15277 * gst/gstiterator.c:
15279 * gst/registries/gstxmlregistry.h:
15280 added missing classes and symbols (123 more to go)
15281 removed removed symbols from section file
15282 fixed many doc-comments
15284 2005-08-24 Wim Taymans <wim@fluendo.com>
15286 * check/generic/states.c: (GST_START_TEST):
15287 Make sure all tasks are stopped.
15289 * check/gst/gstbin.c: (GST_START_TEST):
15290 Unref after usage for proper valgrinding.
15292 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
15293 Really wait for the task to stop before destroying the
15296 * gst/gstqueue.c: (gst_queue_sink_activate_push),
15297 (gst_queue_src_activate_push):
15298 Small cleanups. Don't stop the task when we did not start
15301 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
15302 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
15303 (gst_task_get_state), (gst_task_start), (gst_task_pause),
15306 Protect the stream lock with the object lock.
15307 Disallow setting the stream lock when running.
15308 Add cleanup_all to wait for the threadpool to finish.
15309 Remove code to autoallocate a mutex if none was provided.
15310 Add _join() to wait for a task to stop.
15311 Protect the thread pool with a global lock.
15313 2005-08-24 Wim Taymans <wim@fluendo.com>
15315 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15316 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15317 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
15318 * gst/base/gstbasesink.h:
15319 Handle newsegment events correctly.
15320 Drop buffers out of the segment range.
15322 2005-08-22 Andy Wingo <wingo@pobox.com>
15324 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
15325 macro, implements an interface and gstimplementsinterface for a
15328 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
15330 * check/Makefile.am:
15331 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
15332 add a test that does a bunch of state changes on elements
15333 needs some fixing for valgrind
15334 * check/states/sinks.c: (gst_object_suite):
15337 add prototype for gst_caps_is_equal_fixed
15339 * gst/gstregistrypool.c:
15342 2005-08-24 Andy Wingo <wingo@pobox.com>
15344 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
15345 convert a negative value. Doesn't make much sense. Mostly this is
15346 here to force callers to ensure -1 maps to -1.
15348 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
15350 * docs/pwg/advanced-types.xml:
15351 Well done to Michael for catching my deliberate introduction
15352 of this spelling mistake.
15353 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
15354 * gst/gstelement.h:
15355 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
15356 unlink pads before removing the element from the bin.
15358 2005-08-24 Andy Wingo <wingo@pobox.com>
15360 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
15361 the same thing as GST_DEBUG=*:4.
15362 (parse_debug_level, parse_debug_category): New helper parsers.
15364 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
15366 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15367 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
15368 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
15369 (gst_base_transform_buffer_alloc),
15370 (gst_base_transform_handle_buffer):
15371 use gboolean return values and pointers to size so we can use the
15372 full GST_BUFFER_SIZE range (guint) for buffer sizes
15373 use GstPadDirection for transform_caps
15374 * gst/base/gstbasetransform.h:
15375 rename get_size to get_unit_size since that's what it is
15376 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
15377 use GstPadDirection for transform_caps
15378 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15380 cleanup and debugging
15382 2005-08-24 Stefan Kost <ensonic@users.sf.net>
15384 * gst/gstelement.c: (gst_element_class_init),
15385 (gst_element_set_state), (activate_pads),
15386 (gst_element_save_thyself):
15387 * tools/gst-compprep.c: (main):
15388 * tools/gst-inspect.c: (print_element_properties_info):
15389 * tools/gst-xmlinspect.c: (print_element_properties):
15390 Fixed long standing mem-leak
15392 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
15394 * check/gst/gstbin.c: (GST_START_TEST):
15395 * gst/gstbin.c: (bin_bus_handler):
15396 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
15397 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
15398 (gst_message_new_warning), (gst_message_new_tag),
15399 (gst_message_new_state_changed), (gst_message_new_segment_start),
15400 (gst_message_new_segment_done), (gst_message_new_custom):
15401 * gst/gstmessage.h:
15402 * tools/gst-launch.c: (event_loop):
15403 * tools/gst-md5sum.c: (event_loop):
15404 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
15405 that applications can sensibly post custom messages with references
15406 to their own objects.
15408 2005-08-24 Andy Wingo <wingo@pobox.com>
15410 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
15413 2005-08-24 Wim Taymans <wim@fluendo.com>
15415 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15416 (gst_base_transform_transform_caps),
15417 (gst_base_transform_transform_size),
15418 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15419 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15420 (gst_base_transform_handle_buffer):
15421 * gst/base/gstbasetransform.h:
15422 Many fixes and new features added by Thomas. Can now also do
15423 transforms with variable sizes and a custom fixate_caps function.
15425 2005-08-24 Wim Taymans <wim@fluendo.com>
15427 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15431 Cast to ClockTime before formatting to time.
15436 2005-08-24 Stefan Kost <ensonic@users.sf.net>
15438 * check/gst-libs/controller.c: (GST_START_TEST),
15439 (gst_controller_suite):
15440 * docs/gst/tmpl/gstcaps.sgml:
15441 * docs/gst/tmpl/gstghostpad.sgml:
15442 * docs/gst/tmpl/gstquery.sgml:
15443 * docs/gst/tmpl/gstutils.sgml:
15444 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
15445 (gst_object_sink_values), (gst_object_get_value_arrays),
15446 (gst_object_get_value_array):
15447 gracefully handle helper method calls to objects that are not beeing
15448 controlled, added test case for that
15450 2005-08-23 Wim Taymans <wim@fluendo.com>
15452 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
15453 (gst_event_new_newsegment), (gst_event_parse_newsegment),
15454 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
15455 (gst_event_parse_qos), (gst_event_new_seek),
15456 (gst_event_parse_seek):
15458 Some more debugging output and doc cleanups.
15460 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15461 Fix possible deadlock.
15463 2005-08-23 Stefan Kost <ensonic@users.sf.net>
15465 * docs/gst/gstreamer-docs.sgml:
15466 * docs/gst/gstreamer-sections.txt:
15467 * docs/gst/gstreamer.types:
15468 * docs/gst/tmpl/.cvsignore:
15471 * gst/gstelement.c:
15473 added 100 symbols from gstreamer-unused.txt to the right sections
15474 fixed more broken comments
15475 added GstBus to docs
15477 2005-08-23 Stefan Kost <ensonic@users.sf.net>
15479 * docs/gst/gstreamer-sections.txt:
15480 * docs/gst/tmpl/.cvsignore:
15481 * docs/gst/tmpl/gstbin.sgml:
15482 * docs/gst/tmpl/gstbuffer.sgml:
15483 * gst/base/gstbasesrc.c:
15484 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
15487 * tools/gst-launch.1.in:
15488 inlined more doc comments, added missing comments and fixed comments
15491 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
15493 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
15497 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
15499 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
15500 * gst/gststructure.h:
15501 add a fixate function for booleans; add a FIXME that these func
15502 names should probably be gst_structure_fixate_*
15504 2005-08-23 Stefan Kost <ensonic@users.sf.net>
15506 * docs/gst/gstreamer-docs.sgml:
15507 * docs/gst/gstreamer-sections.txt:
15509 * gst/gstbin.c: (gst_bin_get_type),
15510 (gst_bin_child_proxy_get_child_by_index),
15511 (gst_bin_child_proxy_get_children_count),
15512 (gst_bin_child_proxy_init):
15513 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15514 (gst_child_proxy_get_child_by_index),
15515 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
15516 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
15517 (gst_child_proxy_get), (gst_child_proxy_set_property),
15518 (gst_child_proxy_set_valist), (gst_child_proxy_set),
15519 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
15520 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
15521 * gst/gstchildproxy.h:
15522 * gst/parse/grammar.y:
15523 * tools/gst-inspect.c: (print_interfaces),
15524 (print_element_properties_info), (print_element_info):
15525 ported gstchildproxy over from 0.8
15526 ported gst-inspect fixes and enhancements over from 0.8
15528 2005-08-22 Wim Taymans <wim@fluendo.com>
15530 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15531 (gst_base_transform_handle_buffer):
15532 Also call the transform function if we have ANY caps.
15534 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
15537 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
15539 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
15540 Don't pretend to handle seek events if the source is not seekable
15542 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
15544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15545 Remove extra parameter to debug output
15547 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15548 (gst_base_src_do_seek), (gst_base_src_activate_push):
15549 Fix seek event handling.
15551 * gst/gstpipeline.c: (gst_pipeline_change_state):
15552 * gst/gstqueue.c: (gst_queue_handle_sink_event),
15553 (gst_queue_src_activate_push):
15554 Don't start the src pad task on FLUSH_STOP if the pad
15558 2005-08-22 Wim Taymans <wim@fluendo.com>
15560 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
15561 Added check for gst_static_caps_get() refcounting.
15563 2005-08-22 Wim Taymans <wim@fluendo.com>
15565 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
15566 Make _static_caps_get() refcounting sane.
15568 * gst/gstelement.c: (gst_element_set_state):
15569 Add g_return_val_if_fail() to protect against segfaults.
15571 2005-08-22 Stefan Kost <ensonic@users.sf.net>
15573 * docs/gst/tmpl/gstevent.sgml:
15576 inlined remaining docs, added missing doc comments
15578 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
15580 * check/gst/gstbin.c: (GST_START_TEST):
15581 since we don't know when preroll is done, use refcount range
15583 * gst/check/gstcheck.h:
15584 add macro for checking refcount range
15586 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
15588 * check/Makefile.am:
15589 clean up environment for when registry gets built versus
15590 when actual tests are run; valgrind seems to not report
15591 leaks if GST_PLUGIN_PATH is set to some specific values
15592 * check/gst/gstbin.c: (GST_START_TEST):
15593 add more refcounting checks; maybe this exposes a
15595 * common/check.mak:
15596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15597 * gst/check/gstcheck.h:
15598 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
15599 (gst_bin_change_state):
15600 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
15601 add/fix debugging/whitespace
15603 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
15605 * check/gst/gstevent.c: (event_probe), (test_event),
15607 Er, don't call gst_bin_watch_for_state_change you idiot.
15609 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
15611 * check/Makefile.am:
15612 Use CHECK_CFLAGS and CHECK_LIBS
15613 * check/gst/gstevent.c: (event_probe), (test_event),
15616 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15617 (gst_base_src_start), (gst_base_src_stop),
15618 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15619 (gst_base_src_change_state):
15620 Sprinkle gst_base_src_stop liberally around error paths to fix
15621 problems reusing a source after failed state changes.
15622 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15623 (helper_find_suggest), (gst_type_find_helper):
15624 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
15626 * docs/gst/tmpl/gstevent.sgml:
15627 Migrate part of the docs from the SGML file. Wait for ensonic to
15628 tell me how I did it wrong ;)
15629 * tools/gst-typefind.c: (main):
15630 Extra robustness to state changes between files.
15632 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
15634 * check/Makefile.am:
15635 don't valgrind the controller test - it's leaking - Stefan, HELP
15636 * gst/check/gstcheck.c: (gst_check_message_error),
15637 (gst_check_chain_func), (gst_check_setup_element),
15638 (gst_check_teardown_element), (gst_check_setup_src_pad),
15639 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
15640 (gst_check_teardown_sink_pad):
15641 * gst/check/gstcheck.h:
15642 add a bunch of methods to set up elements, and src and sink pads
15643 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
15644 * check/elements/identity.c: (setup_identity), (cleanup_identity),
15647 * gst/gstmessage.c:
15649 whitespace/doc fixes
15651 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15653 * gst/gstelement.h:
15654 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
15655 be handled by the application and not always printed as well
15657 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15659 * check/Makefile.am:
15661 * gst/check/gstcheck.c: (gst_check_message_error):
15662 * gst/check/gstcheck.h:
15663 add a fail_unless_equals_int
15664 add fail_unless for error messages
15666 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15668 * check/Makefile.am:
15670 * common/Makefile.am:
15671 * common/check.mak:
15673 factor out some of the common stuff so we can use it
15675 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15677 * check/Makefile.am:
15678 * check/gst/gstiterator.c: (GST_START_TEST):
15679 * check/gst/gstsystemclock.c: (GST_START_TEST),
15680 (gst_systemclock_suite):
15681 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15683 valgrind more tests
15685 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15687 * check/elements/.cvsignore:
15688 * check/elements/gstfakesrc.c:
15689 rename to name of element
15690 * check/elements/identity.c: (chain_func), (event_func),
15691 (setup_identity), (cleanup_identity), (GST_START_TEST),
15692 (identity_suite), (main):
15693 add a test for identity
15694 * check/Makefile.am:
15695 * pkgconfig/Makefile.am:
15696 * pkgconfig/gstreamer-check.pc.in:
15697 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15701 move the check stuff to a library that gets installed
15702 * check/gst-libs/controller.c: (GST_START_TEST):
15703 * check/gst-libs/gdp.c:
15704 * check/gst/gst.c: (GST_START_TEST):
15705 * check/gst/gstbin.c:
15706 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15707 * check/gst/gstbus.c:
15708 * check/gst/gstcaps.c: (GST_START_TEST):
15709 * check/gst/gstelement.c:
15710 * check/gst/gstghostpad.c:
15711 * check/gst/gstiterator.c:
15712 * check/gst/gstmessage.c:
15713 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
15714 * check/gst/gstobject.c:
15715 * check/gst/gstpad.c: (GST_START_TEST):
15716 * check/gst/gststructure.c: (GST_START_TEST):
15717 * check/gst/gstsystemclock.c: (GST_START_TEST),
15718 (gst_systemclock_suite):
15719 * check/gst/gsttag.c: (gst_tag_suite):
15720 * check/gst/gstvalue.c:
15721 * check/pipelines/cleanup.c:
15722 * check/pipelines/simple_launch_lines.c:
15723 * check/states/sinks.c:
15724 change include statement
15726 * docs/gst/gstreamer-sections.txt:
15727 * docs/gst/tmpl/gstpad.sgml:
15728 document more pad stuff
15729 * gst/gstminiobject.c: (gst_mini_object_ref),
15730 (gst_mini_object_unref):
15733 2005-08-19 Stefan Kost <ensonic@users.sf.net>
15735 * docs/gst/tmpl/gst.sgml:
15737 eliminate another tmpl file, fix spelling in the long-description
15739 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15741 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15742 (test_event), (timediff), (gstevents_suite):
15743 Should fix build on 64-bit arch's
15745 2005-08-18 Andy Wingo <wingo@pobox.com>
15747 Make sure that when a pipeline goes to PLAYING, that data has
15748 actually hit the sink.
15750 * check/states/sinks.c (test_sink): A sink that doesn't get any
15751 data shouldn't return SUCCESS for going to either PLAYING or
15752 PAUSED. Test also the return values on the way back down.
15754 * gst/gstelement.c (gst_element_set_state): When changing the
15755 state of an element currently changing state asynchronously, go to
15756 lost-state after commiting the pending state. Makes future calls
15757 to get_state continue to return ASYNC.
15759 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15760 ASYNC when going to PLAYING if we still don't have preroll, as can
15761 happen with live sources.
15763 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15765 * docs/pwg/advanced-types.xml:
15766 Hack long paragraph into 2 chunks as a workaround for buggy
15767 jadetex version in sid and breezy that loops infinitely and
15770 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15772 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15773 (test_event), (timediff), (gstevents_suite):
15774 Provide more error margin in clock measurements to allow for
15775 g_get_current_time inaccuracies.
15777 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15779 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15780 (test_event), (timediff), (gstevents_suite):
15781 Fix error message output so I might be able to tell why the
15782 test works here but fails on the build farm.
15784 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15786 * check/Makefile.am:
15787 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15788 (test_event), (timediff), (gstevents_suite), (main):
15791 * docs/design/part-seeking.txt:
15792 Spelling correction
15794 * docs/gst/tmpl/gstevent.sgml:
15795 * docs/gst/tmpl/gstfakesrc.sgml:
15798 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15799 Treat a buffer-without-newsegment the same as a receiving
15800 a newsegment not in time format, and disable syncing to the clock
15803 * gst/gstbus.c: (gst_bus_set_sync_handler):
15804 Assert if anyone tries to replace the existing sync_handler for bus,
15805 as only the owner should be setting it.
15808 Have a fixed set of custom event enums with events identified by
15809 their structure name (as in 0.8), rather than a free-for-all
15810 allowing collisions between enum values from different plugins.
15812 * gst/gstpad.c: (gst_pad_class_init):
15815 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15816 Handle out-of-band downstream events from the sending thread.
15818 2005-08-17 Andy Wingo <wingo@pobox.com>
15820 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15821 play-timeout==0 to mean no timeout at all. In that case, don't
15822 bother with a get_state or a warning, just return directly, even
15825 * gst/base/gstbasetransform.c: Debug changes.
15828 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15829 ensure bins post state change messages. A bit of a hack but I can't
15830 think of a way to avoid it.
15832 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15834 2005-08-16 Andy Wingo <wingo@pobox.com>
15836 * gst/base/gstadapter.h:
15837 * gst/base/gstadapter.c (gst_adapter_take): New function, like
15838 peek() but you own the data. Not terribly efficient atm.
15840 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15842 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15843 (gst_element_found_tags):
15845 Add two utility functions for tag handling.
15847 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15849 * docs/manual/advanced-dataaccess.xml:
15850 * docs/manual/basics-helloworld.xml:
15851 Fix docs to use _bin_add() before _link(), which fixes the examples
15852 with recent core versions (reported by Madhan Raj M
15853 <raj_madan@rediffmail.com>, #313199).
15855 2005-08-16 Wim Taymans <wim@fluendo.com>
15857 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15858 Added subtract checks.
15860 * docs/design/part-events.txt:
15861 Some more docs about newsegment
15863 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15866 * gst/gstcaps.c: (gst_caps_to_string):
15867 Add comments, cleanups.
15869 * gst/gstelement.c: (gst_element_save_thyself):
15872 * gst/gstvalue.c: (gst_value_collect_int_range),
15873 (gst_string_unwrap), (gst_value_union_int_int_range),
15874 (gst_value_union_int_range_int_range),
15875 (gst_value_intersect_int_int_range),
15876 (gst_value_intersect_int_range_int_range),
15877 (gst_value_intersect_double_double_range),
15878 (gst_value_intersect_double_range_double_range),
15879 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15880 (gst_value_subtract_int_range_int),
15881 (gst_value_subtract_double_range_double),
15882 (gst_value_subtract_double_range_double_range),
15883 (gst_value_subtract_from_list), (gst_value_subtract_list),
15884 (gst_value_can_compare), (gst_value_compare_fraction):
15885 Cleanups, add comments, remove unneeded asserts.
15887 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15889 * tools/gst-launch.c: (event_loop):
15890 don't convert NULL structures to strings
15892 2005-08-15 Stefan Kost <ensonic@users.sf.net>
15894 * docs/gst/gstreamer-sections.txt:
15895 made some defines private
15896 * docs/gst/tmpl/gstconfig.sgml:
15897 * docs/gst/tmpl/gstqueue.sgml:
15898 * docs/gst/tmpl/gsttaglist.sgml:
15899 * docs/gst/tmpl/gsttypes.sgml:
15900 * docs/gst/tmpl/gstutils.sgml:
15901 * docs/pwg/appendix-porting.xml:
15902 * gst/base/gstbasesink.h:
15903 * gst/base/gstbasesrc.c:
15904 * gst/base/gstbasesrc.h:
15905 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15906 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15907 * gst/gstelement.c: (gst_element_class_init):
15908 * gst/gstpad.c: (gst_pad_class_init):
15909 * gst/gstqueue.c: (gst_queue_class_init):
15910 * gst/gstxml.c: (gst_xml_class_init):
15911 documented all undocumented signal inline
15912 * libs/gst/controller/gst-controller.h:
15915 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15917 * docs/pwg/appendix-porting.xml:
15918 Document _set_link_function -> _set_setcaps_function.
15920 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15922 * check/Makefile.am:
15923 add a .check target for running the check
15924 * check/gst-libs/controller.c: (GST_START_TEST):
15926 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15927 complete checks for gstbuffer; would be nice if I could get the
15928 gcov stuff to work so I can see if I actually completed gstbuffer.c
15929 * check/gstcheck.h:
15930 add ASSERT_BUFFER_REFCOUNT
15932 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
15934 * docs/gst/gstreamer-sections.txt:
15935 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15937 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15938 spew out a warning if a tag that is already registered
15939 is re-registered, unless it is re-registered with a
15940 different type (#308438).
15942 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
15944 * docs/pwg/appendix-porting.xml:
15945 * docs/pwg/building-state.xml:
15946 Add some paragraphs about state changes in 0.9 to the PWG
15947 and the porting guide, in particular about the new meaning
15948 of GST_STATE_PAUSED and how to write state change functions
15949 with concurrent access by multiple threads in mind.
15951 2005-08-11 Stefan Kost <ensonic@users.sf.net>
15953 * docs/gst/gstreamer-docs.sgml:
15954 * docs/libs/gstreamer-libs-docs.sgml:
15955 added deprecation and since indexes
15956 * libs/gst/controller/gst-controller.c:
15957 * libs/gst/controller/gst-helper.c:
15961 2005-08-11 Wim Taymans <wim@fluendo.com>
15963 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15964 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15965 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15966 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15967 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15968 (gst_ghost_pad_set_target):
15969 Actually implement (re)setting the target on a ghostpad
15970 as described in the docs.
15972 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15974 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15975 Check whether GST_DEBUG_NO_COLOR environment variable is
15976 set and disable coloured debug output if that is the case.
15978 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15980 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15981 (gst_type_find_helper):
15982 The memory returned by gst_type_find_peek() needs to
15983 stay valid until the end of a typefind function, and
15984 typefind functions may keep results from different
15985 offsets around, so we can't just unref the buffer from
15986 the previous _peek(), but have to save all buffers
15987 returned by _peek() until typefinding is done and only
15990 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
15992 * docs/gst/gstreamer-sections.txt:
15994 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15996 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15998 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15999 Fix a pretty good memleak.
16001 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
16003 * gst/gstiterator.h:
16004 Fix wrong include and 'make distcheck'.
16006 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16008 * gst/gstbin.c: (bin_bus_handler):
16009 Use gst_element_post_message() instead.
16011 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
16013 * gst/base/gstadapter.h:
16014 * gst/base/gstbasesink.h:
16015 * gst/base/gstbasesrc.h:
16016 * gst/base/gstbasetransform.h:
16017 * gst/base/gstcollectpads.h:
16018 * gst/base/gstpushsrc.h:
16019 * gst/gstiterator.h:
16020 Add padding to our base elements' class and instance structs and
16021 to GstIterator (you will need to rebuild all plugins and apps!)
16023 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16025 * gst/gstbin.c: (bin_bus_handler):
16026 Make default message forwarding from child->bus to bin->bus
16027 threadsafe and make it not emit warnings if the parent has no bus.
16029 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16031 * gst/gstelement.c: (activate_pads):
16032 On paused->ready, set pad->caps to NULL, as is the documented
16033 behaviour in this state change. Fixes playback of series of
16034 media files when visualization is enabled in Totem.
16036 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16038 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
16039 Allow NULL as filter-caps (which means "any").
16041 2005-08-05 Stefan Kost <ensonic@users.sf.net>
16043 * docs/libs/gstreamer-libs-sections.txt:
16044 * libs/gst/controller/gst-controller.c:
16045 * libs/gst/controller/gst-controller.h:
16046 * libs/gst/controller/gst-helper.c:
16047 adding more entries to the docs and fix small doc-bugs
16049 2005-08-05 Stefan Kost <ensonic@users.sf.net>
16051 * docs/gst/gstreamer-docs.sgml:
16052 * docs/gst/gstreamer-sections.txt:
16053 * docs/gst/gstreamer.types:
16054 * docs/gst/tmpl/gstbasesink.sgml:
16055 * docs/gst/tmpl/gstbasesrc.sgml:
16056 * docs/gst/tmpl/gstbasetransform.sgml:
16057 * docs/gst/tmpl/gstfakesrc.sgml:
16058 * gst/base/gstcollectpads.c:
16059 * gst/base/gstcollectpads.h:
16060 * libs/gst/controller/gst-controller.c:
16061 * libs/gst/controller/gst-controller.h:
16062 * libs/gst/controller/gst-helper.c:
16063 * libs/gst/controller/gst-interpolation.c:
16064 * libs/gst/controller/lib.c:
16065 added long/short desc for controller docs
16066 added collectpads base class docs
16067 added correct includes to base-class docs
16069 2005-08-05 Stefan Kost <ensonic@users.sf.net>
16071 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16072 (gst_test_mono_source_set_property),
16073 (gst_test_mono_source_class_init), (GST_START_TEST),
16074 (gst_controller_suite):
16075 * docs/gst/gstreamer-docs.sgml:
16076 * docs/gst/gstreamer-sections.txt:
16077 * docs/gst/gstreamer.types:
16078 * docs/libs/gstreamer-libs-docs.sgml:
16079 * docs/libs/gstreamer-libs-sections.txt:
16080 * gst/base/gstadapter.c:
16081 * libs/gst/controller/gst-controller.c:
16082 (gst_controlled_property_new), (gst_controlled_property_free),
16083 (gst_controller_new_valist),
16084 (gst_controller_remove_properties_valist),
16085 (gst_controller_sink_values), (_gst_controller_finalize):
16086 * libs/gst/controller/gst-controller.h:
16087 * libs/gst/controller/gst-helper.c:
16088 (gst_object_control_properties), (gst_object_uncontrol_properties),
16089 (gst_object_get_controller), (gst_object_set_controller),
16090 (gst_object_sink_values), (gst_object_get_value_arrays),
16091 (gst_object_get_value_array):
16092 more tests (and fixes) for the controller
16093 more docs for the controller
16094 integrated companies docs for the adapter
16096 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
16098 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
16099 (GST_START_TEST), (fakesrc_suite):
16100 add tests for sizetype
16102 2005-08-04 Andy Wingo <wingo@pobox.com>
16104 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
16105 fixes buffer_alloc proxying among other things.
16107 * gst/base/gstbasetransform.c:
16108 * gst/base/gstbasetransform.h:
16109 Revert patch to gstbasetransform from 7-28 removing
16112 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
16113 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
16114 Semantics changed, should return not the size of the output buffer
16115 but the byte size of a buffer with a given caps.
16117 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
16119 (gst_base_transform_configure_caps): Don't set out_size here: (in,
16120 out) are not the pad caps until setcaps finishes.
16121 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
16122 not-in-place case as well. Deal with changing from in-place to
16123 not-in-place within calling pad_alloc_buffer. Still a bit
16124 concerned about the overhead here...
16126 2005-08-03 Andy Wingo <wingo@pobox.com>
16128 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
16129 fixating is an error.
16131 2005-08-04 Edward Hervey <edward@fluendo.com>
16133 * gst/base/gstadapter.h:
16134 Added gst_adapter_get_type() to the header
16136 2005-08-03 Stefan Kost <ensonic@users.sf.net>
16138 * check/Makefile.am:
16139 * check/gst-libs/controller.c:
16140 * libs/gst/controller/gst-controller.c:
16141 (gst_controller_new_valist):
16142 added check test suite for the controller
16143 * gst/base/gstpushsrc.c:
16146 2005-08-03 Stefan Kost <ensonic@users.sf.net>
16148 * docs/gst/Makefile.am:
16149 * docs/gst/gstreamer-docs.sgml:
16150 * docs/gst/gstreamer-sections.txt:
16151 * docs/gst/gstreamer.types:
16152 * docs/gst/tmpl/gstfakesrc.sgml:
16154 * gst/base/gstbasesink.c:
16155 * gst/base/gstbasesink.h:
16156 * gst/base/gstbasesrc.c:
16157 * gst/base/gstbasesrc.h:
16158 * gst/base/gstbasetransform.c:
16159 * gst/base/gstpushsrc.c:
16160 * gst/base/gstpushsrc.h:
16161 add short/long description docs to base classes
16162 add pushsrc to the docs
16163 remove consolidated doc fragments
16165 2005-08-03 Stefan Kost <ensonic@users.sf.net>
16168 * docs/libs/Makefile.am:
16169 * docs/libs/gstreamer-libs-docs.sgml:
16170 * docs/libs/gstreamer-libs-sections.txt:
16171 * docs/libs/gstreamer-libs.types:
16172 * examples/Makefile.am:
16173 * examples/controller/.cvsignore:
16174 * examples/controller/Makefile.am:
16175 * examples/controller/audio-example.c: (main):
16176 * libs/gst/Makefile.am:
16177 * libs/gst/controller/.cvsignore:
16178 * libs/gst/controller/Makefile.am:
16179 * libs/gst/controller/gst-controller.c:
16180 (on_object_controlled_property_changed), (gst_timed_value_compare),
16181 (gst_timed_value_find),
16182 (gst_controlled_property_set_interpolation_mode),
16183 (gst_controlled_property_new), (gst_controlled_property_free),
16184 (gst_controller_find_controlled_property),
16185 (gst_controller_new_valist), (gst_controller_new),
16186 (gst_controller_remove_properties_valist),
16187 (gst_controller_remove_properties), (gst_controller_set),
16188 (gst_controller_set_from_list), (gst_controller_unset),
16189 (gst_controller_get), (gst_controller_get_all),
16190 (gst_controller_sink_values), (gst_controller_get_value_arrays),
16191 (gst_controller_get_value_array),
16192 (gst_controller_set_interpolation_mode),
16193 (_gst_controller_finalize), (_gst_controller_init),
16194 (_gst_controller_class_init), (gst_controller_get_type):
16195 * libs/gst/controller/gst-controller.h:
16196 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
16197 (g_object_uncontrol_properties), (g_object_get_controller),
16198 (g_object_set_controller), (g_object_sink_values),
16199 (g_object_get_value_arrays), (g_object_get_value_array):
16200 * libs/gst/controller/gst-interpolation.c:
16201 (gst_controlled_property_find_timed_value_node),
16202 (interpolate_none_get), (interpolate_trigger_get),
16203 (interpolate_trigger_get_value_array):
16204 * libs/gst/controller/lib.c: (gst_controller_init):
16205 * pkgconfig/Makefile.am:
16206 * pkgconfig/gstreamer-control-uninstalled.pc.in:
16207 * pkgconfig/gstreamer-control.pc.in:
16208 * testsuite/Makefile.am:
16209 * testsuite/controller/.cvsignore:
16210 * testsuite/controller/Makefile.am:
16211 * testsuite/controller/interpolator.c: (main):
16212 added controller code
16213 removed dparam pc files
16215 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
16216 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
16217 (gst_collectpads_stop):
16218 Broadcast the condition when shutting down, to make sure we wake all
16219 threads up. Shut down pads on finalize, for safety.
16221 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
16222 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16223 (gst_base_transform_handle_buffer),
16224 (gst_base_transform_change_state):
16225 Handle PAUSED->READY->PAUSED transition after negotiation
16227 * gst/gstmessage.c: (gst_message_init):
16228 Extra piece of debug for new messages.
16230 2005-08-01 Stefan Kost <ensonic@users.sf.net>
16233 * docs/gst/tmpl/gstbasesrc.sgml:
16234 * docs/gst/tmpl/gstelement.sgml:
16235 * docs/gst/tmpl/gstevent.sgml:
16236 * docs/gst/tmpl/gstfakesrc.sgml:
16237 * docs/gst/tmpl/gstformat.sgml:
16238 * docs/gst/tmpl/gstghostpad.sgml:
16239 * docs/gst/tmpl/gstpad.sgml:
16240 * docs/gst/tmpl/gstquery.sgml:
16241 * docs/gst/tmpl/gststructure.sgml:
16242 * docs/gst/tmpl/gsttaglist.sgml:
16243 * docs/gst/tmpl/gstvalue.sgml:
16244 * docs/libs/gstreamer-libs-docs.sgml:
16245 * docs/libs/gstreamer-libs-sections.txt:
16246 * docs/libs/gstreamer-libs.types:
16247 * libs/gst/Makefile.am:
16248 * libs/gst/control/.cvsignore:
16249 * libs/gst/control/Makefile.am:
16250 * libs/gst/control/control.c:
16251 * libs/gst/control/control.h:
16252 * libs/gst/control/dparam.c:
16253 * libs/gst/control/dparam.h:
16254 * libs/gst/control/dparam_smooth.c:
16255 * libs/gst/control/dparam_smooth.h:
16256 * libs/gst/control/dparamcommon.h:
16257 * libs/gst/control/dparammanager.c:
16258 * libs/gst/control/dparammanager.h:
16259 * libs/gst/control/dplinearinterp.c:
16260 * libs/gst/control/dplinearinterp.h:
16261 * libs/gst/control/unitconvert.c:
16262 * libs/gst/control/unitconvert.h:
16263 * testsuite/Makefile.am:
16264 * testsuite/dynparams/.cvsignore:
16265 * testsuite/dynparams/Makefile.am:
16266 * testsuite/dynparams/dparamstest.c:
16267 * tools/Makefile.am:
16268 * tools/gst-inspect.c: (print_element_info), (main):
16269 * tools/gst-xmlinspect.c: (print_element_info), (main):
16270 deactivate and remove dparams (libgstcontrol)
16272 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
16274 * gst/elements/gsttypefindelement.c:
16275 (gst_type_find_element_have_type), (gst_type_find_element_init),
16276 (stop_typefinding), (gst_type_find_element_handle_event),
16277 (gst_type_find_element_chain), (gst_type_find_element_getrange):
16278 * gst/elements/gsttypefindelement.h:
16279 Set caps on all outgoing buffers, not just the first one.
16281 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
16283 * gst/elements/gsttypefindelement.c:
16284 (gst_type_find_element_have_type),
16285 (gst_type_find_element_check_set_buffer_caps),
16286 (gst_type_find_element_init), (stop_typefinding),
16287 (gst_type_find_element_handle_event),
16288 (gst_type_find_element_chain), (gst_type_find_element_getrange):
16289 * gst/elements/gsttypefindelement.h:
16290 Set caps on first outgoing buffer when we've found the type.
16292 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
16294 * docs/gst/gstreamer-docs.sgml:
16295 * docs/gst/gstreamer-sections.txt:
16296 * docs/gst/tmpl/gstscheduler.sgml:
16297 * docs/gst/tmpl/gstschedulerfactory.sgml:
16298 Remove some old cruft from docs.
16300 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
16303 Fix inline docs for GstPadLinkReturn.
16305 * gst/gststructure.c: (gst_structure_has_name):
16306 * gst/gststructure.h:
16307 * docs/gst/gstreamer-sections.txt:
16308 New API: gst_structure_has_name().
16310 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
16313 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
16314 and _LARGEFILE_SOURCE in config.h as required. Do not
16315 export those flags in our .pc files any longer (#142209).
16317 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
16319 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
16320 (gst_file_sink_do_seek), (gst_file_sink_event),
16321 (gst_file_sink_get_current_offset), (gst_file_sink_render):
16322 Redo seek/tell calls with large file support in mind; add some
16323 debugging messages; add log message that tells us when large
16324 file support is unavailable or not enabled for some reason.
16326 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
16327 Add log message that tells us when large file support
16328 is unavailable or not enabled for some reason.
16330 2005-07-29 Wim Taymans <wim@fluendo.com>
16332 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16333 Added test for removing an element with ghostpad from a bin.
16334 Fixed test as current implementation does the right thing.
16336 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
16337 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
16338 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
16339 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
16340 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
16341 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
16342 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
16343 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16344 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
16345 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
16346 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
16347 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
16348 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
16349 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
16350 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
16351 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
16352 * gst/gstghostpad.h:
16353 Clean up ghostpads, remove properties for internal stuff.
16356 Prepare for switching targets, not all use cases work yet.
16358 2005-07-29 Wim Taymans <wim@fluendo.com>
16360 * docs/design/part-gstghostpad.txt:
16363 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
16364 (gst_bin_remove_func):
16365 Unlinking pads while holding the bin LOCK is not a good
16368 * gst/gstpad.c: (gst_pad_class_init),
16369 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
16370 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
16371 No prob setting template after creating the pad.
16373 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
16375 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
16376 (gst_bus_peek), (gst_bus_source_dispatch),
16377 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
16378 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
16379 gst_bus_poll may be called from other threads. Handle
16380 this nicely by not making poll_data disappear off the
16381 stack once gst_bus_poll returns.
16382 gst_bus_peek now increments the refcount on the returned
16385 2005-07-29 Wim Taymans <wim@fluendo.com>
16387 * docs/design/part-gstghostpad.txt:
16388 Overview of current GhostPad datastructures and use
16389 cases for changing the target.
16391 2005-07-28 Wim Taymans <wim@fluendo.com>
16393 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16394 Added checks for hierarchy consistency whan adding linked
16397 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16398 Added check to test element scheduling without bin/pipeline.
16400 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16401 First add elements to bin, then link.
16403 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
16404 (gst_bin_remove_func):
16405 Unlink pads from elements added/removed from bin to maintain
16406 hierarchy consistency.
16408 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16410 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16411 (gst_base_transform_handle_buffer):
16412 * gst/base/gstbasetransform.h:
16413 Remove broken delay_configure (fixes renegotiation of software
16414 scaling pipelines); remove some leftover printf()s.
16416 2005-07-28 Wim Taymans <wim@fluendo.com>
16418 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16419 Added some more tests for wrong hierarchy
16421 * docs/design/part-overview.txt:
16424 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
16427 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
16428 (gst_element_dispose):
16429 Some more cleanups.
16431 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16432 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
16433 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16434 (gst_pad_set_caps), (gst_pad_send_event):
16435 Check for correct hierarchy when linking pads. Moving to
16436 strict requirement for ghostpads when linking elements in
16440 Clean ups. Added WRONG_HIERARCHY return value.
16442 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16444 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16445 Better debug if no transform is possible.
16447 2005-07-27 Wim Taymans <wim@fluendo.com>
16449 * docs/random/wtay/network-transp:
16450 Some old doc I had.
16452 2005-07-27 Wim Taymans <wim@fluendo.com>
16454 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16455 (gst_dp_event_from_packet):
16456 Fix serialization of seek events.
16458 2005-07-27 Wim Taymans <wim@fluendo.com>
16460 * check/gst-libs/gdp.c: (GST_START_TEST):
16461 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16462 Fix compilation and fix event serialization.
16464 2005-07-27 Wim Taymans <wim@fluendo.com>
16467 * docs/design/part-TODO.txt:
16468 * docs/design/part-events.txt:
16471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16472 (gst_base_sink_event), (gst_base_sink_do_sync),
16473 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
16474 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16475 (gst_base_src_do_seek), (gst_base_src_event_handler),
16476 (gst_base_src_loop):
16477 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16478 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16479 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16480 (gst_base_transform_event), (gst_base_transform_handle_buffer),
16481 (gst_base_transform_set_passthrough),
16482 (gst_base_transform_is_passthrough):
16483 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16484 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16490 * gst/gstelement.c: (gst_element_seek):
16491 * gst/gstelement.h:
16492 Update gst_element_seek.
16494 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
16495 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
16496 (gst_event_new_flush_start), (gst_event_new_flush_stop),
16497 (gst_event_new_eos), (gst_event_new_newsegment),
16498 (gst_event_parse_newsegment), (gst_event_new_tag),
16499 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
16500 (gst_event_parse_qos), (gst_event_new_seek),
16501 (gst_event_parse_seek), (gst_event_new_navigation):
16503 Make GstEvent use GstStructure. Add parsing code, make sure the
16504 API is sufficiently generic.
16505 Mark possible directions of events and serialization.
16507 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
16508 (_gst_message_copy), (gst_message_new_segment_start),
16509 (gst_message_new_segment_done), (gst_message_new_custom),
16510 (gst_message_parse_segment_start),
16511 (gst_message_parse_segment_done):
16514 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16515 (gst_pad_set_caps), (gst_pad_send_event):
16516 Update for new events.
16517 Catch events sent in wrong directions.
16519 * gst/gstqueue.c: (gst_queue_link_src),
16520 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
16521 (gst_queue_handle_src_query):
16526 Remove event code from this file.
16528 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16529 (gst_dp_event_from_packet):
16532 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16534 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
16535 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16536 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
16537 Make debugging actually useful.
16539 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16541 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
16542 (gst_pad_fixate_caps):
16543 Implement default fixation once again, so that gst_pad_fixate()
16544 actually does anything at all. This probably needs to be some
16545 sort of a last resort, and use profile-based fixation first, but
16546 since that doesn't exist yet, this is the best we have. Fixes
16547 visualization in Totem.
16549 2005-07-22 Wim Taymans <wim@fluendo.com>
16551 * docs/design/part-events.txt:
16554 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16555 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
16556 (gst_base_sink_activate_pull):
16557 Some more comments.
16559 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
16560 (gst_fake_src_create):
16561 Fix handoff marshall.
16563 * gst/elements/gstidentity.c: (gst_identity_class_init),
16564 (gst_identity_transform_ip):
16565 We're a real inplace element.
16567 * gst/gstbus.c: (gst_bus_post):
16568 Added some comments.
16570 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
16571 * tests/muxing/case1.c: (main):
16572 * tests/sched/dynamic-pipeline.c: (main):
16573 * tests/sched/interrupt1.c: (main):
16574 * tests/sched/interrupt2.c: (main):
16575 * tests/sched/interrupt3.c: (main):
16576 * tests/sched/runxml.c: (main):
16577 * tests/sched/sched-stress.c: (main):
16578 * tests/seeking/seeking1.c: (event_received), (main):
16579 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16581 * tests/threadstate/threadstate3.c: (main):
16582 * tests/threadstate/threadstate4.c: (main):
16583 * tests/threadstate/threadstate5.c: (main):
16586 2005-07-21 Wim Taymans <wim@fluendo.com>
16588 * docs/design/part-seeking.txt:
16589 Some small additions.
16591 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16592 (gst_base_sink_get_times), (gst_base_sink_do_sync),
16593 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
16594 * gst/base/gstbasesink.h:
16595 discont values are gint64, handle the math correctly.
16597 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16598 Make the basesrc report error if the source pad is not linked.
16600 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16601 (gst_queue_loop), (gst_queue_handle_src_query),
16602 (gst_queue_src_activate_push):
16603 Make queue collect data even if the srcpad is not linked.
16604 Start pushing out data as soon as it is linked.
16606 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
16608 Added gst_flow_get_name() to ease error reporting.
16610 2005-07-20 Wim Taymans <wim@fluendo.com>
16612 * gst/gstmessage.c: (gst_message_new_segment_start),
16613 (gst_message_new_segment_done), (gst_message_parse_segment_start),
16614 (gst_message_parse_segment_done):
16615 * gst/gstmessage.h:
16616 Added a bunch of messages for advanced seeking.
16618 * gst/parse/grammar.y:
16619 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
16620 (gst_dpman_state_changed):
16621 Fix some new-pad -> pad-added signals
16623 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16625 * docs/manual/appendix-porting.xml:
16626 * docs/pwg/appendix-porting.xml:
16627 Document new-pad/state-change signal renames and the FixedList
16630 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16632 * docs/manual/advanced-autoplugging.xml:
16633 * docs/manual/basics-helloworld.xml:
16634 * docs/manual/basics-pads.xml:
16635 * docs/random/ds/0.9-suggested-changes:
16636 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
16637 * gst/gstelement.h:
16641 * gst/gststructure.c: (gst_structure_value_get_generic_type),
16642 (gst_structure_parse_array), (gst_structure_parse_value):
16643 * gst/gstvalue.c: (gst_type_is_fixed),
16644 (gst_value_list_prepend_value), (gst_value_list_append_value),
16645 (gst_value_list_get_size), (gst_value_list_get_value),
16646 (gst_value_transform_array_string), (gst_value_serialize_array),
16647 (gst_value_deserialize_array), (gst_value_intersect_array),
16648 (gst_value_is_fixed), (_gst_value_initialize):
16650 GstElement::new-pad -> pad-added, GstElement::state-change ->
16651 state-changed, GstValueFixedList -> GstValueArray, add format and
16652 flags as their own arguments in gst_element_seek() (should improve
16653 "bindeability"), remove function generators since they don't work
16654 under a whole bunch of compilers (they were deprecated already
16657 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16659 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16660 (_gst_debug_register_funcptr):
16662 Fix illegal cast on some platforms (#309253).
16664 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16666 * gst/gstmessage.c: (gst_message_new_custom):
16667 * gst/gstmessage.h:
16668 Add _new_custom, make _new_application a macro to _new_custom.
16670 2005-07-20 Wim Taymans <wim@fluendo.com>
16672 * gst/base/gstbasesrc.c: (gst_base_src_init),
16673 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16674 * gst/base/gstbasesrc.h:
16675 Add a gboolean to decide when to push out a discont.
16677 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16678 (gst_queue_loop), (gst_queue_handle_src_query),
16679 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
16680 (gst_queue_set_property), (gst_queue_get_property):
16683 * tests/threadstate/threadstate1.c: (main):
16684 Make a thread test compile and run... very silly..
16687 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16689 * docs/manual/appendix-porting.xml:
16690 Mention removal of libgstgconf-0.9.la and existence of gconf
16693 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16695 * docs/pwg/advanced-clock.xml:
16696 * docs/pwg/appendix-porting.xml:
16697 * docs/pwg/intro-preface.xml:
16698 * docs/pwg/other-base.xml:
16699 * docs/pwg/other-manager.xml:
16700 * docs/pwg/other-nton.xml:
16701 * docs/pwg/other-ntoone.xml:
16702 * docs/pwg/other-oneton.xml:
16703 * docs/pwg/pwg.xml:
16704 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
16705 demuxer), remove n-to-n (was never written), fix some code examples
16706 and links and update the porting section to include all this.
16708 2005-07-19 Wim Taymans <wim@fluendo.com>
16710 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
16711 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
16712 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
16713 (gst_queue_src_activate_push), (gst_queue_change_state),
16714 (gst_queue_get_property):
16716 Propagate GstFlowReturn more intelligently upstream and output
16717 an ERROR/EOS when streaming stopped due to fatal error.
16719 2005-07-19 Wim Taymans <wim@fluendo.com>
16721 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16722 Don't block forever for the state change to complete, the
16723 pipeline already did with a sensible timeout.
16725 2005-07-19 Wim Taymans <wim@fluendo.com>
16727 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16728 Make sure we never call the create function is we
16731 2005-07-19 Andy Wingo <wingo@pobox.com>
16733 * gst/parse/parse.l: Attempt to solve bug #172815.
16735 2005-07-19 Wim Taymans <wim@fluendo.com>
16737 * docs/design/part-clocks.txt:
16738 * docs/design/part-events.txt:
16739 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16740 Small docs updates.
16741 Only update the seeking values when we are not
16744 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16746 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16747 Oops, ignore the result of gst_pad_push_event here.
16749 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16751 * gst/base/gstbasesrc.c: (gst_base_src_loop),
16752 (gst_base_src_activate_push):
16753 Send discont event from the loop function, as pads
16754 aren't activated yet in the activate_push handler.
16756 * gst/gstbin.c: (bin_bus_handler):
16757 Don't leak element name.
16759 2005-07-18 Andy Wingo <wingo@pobox.com>
16761 * configure.ac: Use AS_LIBTOOL_TAGS.
16763 2005-07-18 Wim Taymans <wim@fluendo.com>
16765 * docs/gst/gstreamer.types:
16766 Remove deleted types.
16768 2005-07-18 Wim Taymans <wim@fluendo.com>
16770 * check/elements/gstfakesrc.c: (GST_START_TEST):
16773 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16774 (init_popt_callback):
16776 * gst/gst_private.h:
16777 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16778 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16781 * gst/gstconfig.h.in:
16782 * gst/gstelement.c: (gst_element_class_init),
16783 (gst_element_set_base_time), (gst_element_get_base_time),
16784 (iterator_fold_with_resync), (gst_element_change_state),
16785 (gst_element_dispose), (gst_element_get_bus):
16786 * gst/gstelement.h:
16787 * gst/gstelementfactory.h:
16788 * gst/gsterror.c: (_gst_core_errors_init):
16791 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16793 * gst/gstinfo.c: (_gst_debug_init):
16794 * gst/gstmessage.c: (_gst_message_copy):
16795 * gst/gstmessage.h:
16796 * gst/gstminiobject.h:
16799 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16800 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16803 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16804 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16805 (gst_pipeline_get_last_stream_time):
16806 * gst/gstpipeline.h:
16807 * gst/gstpluginfeature.h:
16809 * gst/gstscheduler.c:
16810 * gst/gstscheduler.h:
16811 * gst/gststructure.h:
16812 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16813 (gst_task_finalize), (gst_task_func), (gst_task_create),
16814 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16815 (gst_task_stop), (gst_task_pause):
16817 * gst/gsttypefind.h:
16819 * gst/registries/gstlibxmlregistry.c: (load_feature),
16820 (gst_xml_registry_load), (gst_xml_registry_save_feature):
16821 * gst/registries/gstxmlregistry.c:
16822 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16823 * gst/schedulers/threadscheduler.c:
16824 * libs/gst/control/dparammanager.h:
16825 * tools/gst-inspect.c: (print_element_list),
16826 (print_plugin_features), (print_element_features):
16827 * tools/gst-xmlinspect.c: (print_element_list),
16828 (print_plugin_info), (main):
16829 Removed plugable schedulers.
16830 Removed Scheduler/Manager from elements.
16831 Removed gsttypes.h, rearranged includes.
16832 Removed dependency pad<->element, element<>pipeline, and
16833 various others, fix includes.
16834 implement gst_pad_get_parent() with gst_object_get_parent()
16835 Make GstTask sefcontained.
16836 Fix _get_state() on GstBin, it did not return ASYNC with a 0
16838 Fix endless loop in iterator_fold_with_resync.
16841 2005-07-18 Wim Taymans <wim@fluendo.com>
16847 2005-07-18 Wim Taymans <wim@fluendo.com>
16850 No more cothreads.h
16852 2005-07-18 Wim Taymans <wim@fluendo.com>
16856 Let's remove these.
16858 2005-07-18 Wim Taymans <wim@fluendo.com>
16860 * docs/design/part-dynamic.txt:
16861 * docs/design/part-events.txt:
16862 * docs/design/part-seeking.txt:
16863 Some more docs in the works.
16865 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16866 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16867 (gst_base_transform_setcaps), (gst_base_transform_get_size),
16868 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16869 (gst_base_transform_handle_buffer),
16870 (gst_base_transform_sink_activate_push),
16871 (gst_base_transform_src_activate_pull),
16872 (gst_base_transform_set_passthrough),
16873 (gst_base_transform_is_passthrough):
16876 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16879 * gst/gstevent.c: (gst_event_finalize):
16882 * gst/gstutils.c: (gst_element_unlink),
16883 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16884 (gst_pad_proxy_setcaps):
16886 Add _get_parent_element() to get a pads parent as an element.
16888 2005-07-18 Wim Taymans <wim@fluendo.com>
16890 * check/gst/gstbin.c: (GST_START_TEST):
16893 2005-07-18 Wim Taymans <wim@fluendo.com>
16895 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16896 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16897 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16898 (gst_base_sink_event), (gst_base_sink_do_sync),
16899 (gst_base_sink_chain), (gst_base_sink_loop),
16900 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16901 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16903 Fix logic for returning ASYNC when not prerolled.
16905 2005-07-18 Wim Taymans <wim@fluendo.com>
16907 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16908 Fix nasty refcount bug.
16910 2005-07-16 Philippe Khalaf <burger@speedy.org>
16912 * gst/elements/gstfdsrc.c:
16913 * gst/elements/gstfdsrc.h:
16914 * gst/elements/gstelements.c:
16915 * gst/elements/Makefile.am:
16916 Ported fdsrc to 0.9.
16918 2005-07-16 Wim Taymans <wim@fluendo.com>
16920 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16921 (gst_base_sink_do_sync):
16924 2005-07-16 Wim Taymans <wim@fluendo.com>
16926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16927 (gst_base_sink_event), (gst_base_sink_get_times),
16928 (gst_base_sink_do_sync), (gst_base_sink_change_state):
16929 * gst/base/gstbasesink.h:
16930 Store and use discont values when syncing buffers as described
16933 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16934 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16935 (gst_base_src_activate_push):
16936 Push discont event when starting.
16938 * gst/elements/gstidentity.c: (gst_identity_transform):
16941 * gst/gstbin.c: (gst_bin_change_state):
16942 Small cleanups in base_time distribution.
16944 * gst/gstelement.c: (gst_element_set_base_time),
16945 (gst_element_get_base_time), (gst_element_change_state):
16946 * gst/gstelement.h:
16947 Added methods for the base_time of the element.
16950 * gst/gstpipeline.c: (gst_pipeline_send_event),
16951 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16952 (gst_pipeline_get_last_stream_time):
16953 * gst/gstpipeline.h:
16955 Handle seeking as described in design doc, remove stream_time
16957 Cleanups clock and stream_time selection code. Added accessors
16958 for the stream_time.
16961 2005-07-16 Andy Wingo <wingo@pobox.com>
16963 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16966 2005-07-16 Wim Taymans <wim@fluendo.com>
16968 * check/gst/gstbin.c: (GST_START_TEST):
16969 Make elements silent as the deep_notify refs the
16970 parent, which might make the test fail.
16972 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16973 Don't hold the lock for too long.
16975 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
16977 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16978 Don't unref the caps we passed to gst_caps_make_writable() after
16979 passing them. gst_caps_make_writable() will do that for us.
16981 2005-07-15 Andy Wingo <wingo@pobox.com>
16983 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16986 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16987 own marshalling function for the handoff signal. Properly type the
16988 buffer as a buffer. Fixes some warnings. Should do a more general
16990 (gst_identity_class_init): Plug into the right marshaller.
16992 2005-07-15 Wim Taymans <wim@fluendo.com>
16994 * docs/design/part-TODO.txt:
16995 * docs/design/part-clocks.txt:
16996 * docs/design/part-element-sink.txt:
16997 * docs/design/part-events.txt:
16998 * docs/design/part-gstpipeline.txt:
16999 Updated docs, mostly DISCONT related.
17001 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
17003 * docs/pwg/building-pads.xml:
17004 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
17006 2005-07-15 Andy Wingo <wingo@pobox.com>
17008 * tools/gst-typefind.c: Update, add copyright block.
17010 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
17011 Normalize and truncate caps before fixation.
17014 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
17015 discards all but the first structure from its argument.
17017 2005-07-15 Wim Taymans <wim@fluendo.com>
17019 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17020 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
17021 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17022 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17023 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
17024 (gst_base_transform_chain), (gst_base_transform_change_state),
17025 (gst_base_transform_set_passthrough),
17026 (gst_base_transform_is_passthrough):
17027 * gst/base/gstbasetransform.h:
17028 Make passthrough work using the bufferpools.
17029 Changed API a bit, subclasses have to write into a buffer
17030 provided by the base class.
17031 More debug info in nego functions.
17033 * gst/elements/gstidentity.c: (gst_identity_init),
17034 (gst_identity_transform):
17035 Port to new base class.
17037 2005-07-15 Wim Taymans <wim@fluendo.com>
17039 * gst/gstmessage.c: (gst_message_new_state_changed):
17040 * tools/gst-launch.c: (event_loop), (main):
17041 Totally dump messages in -launch with the -m option.
17042 Fix message name for State messages,
17044 2005-07-14 Wim Taymans <wim@fluendo.com>
17046 * gst/base/gstbasesrc.c: (gst_base_src_loop):
17047 Post error messages on errors.
17049 2005-07-14 Wim Taymans <wim@fluendo.com>
17051 * gst/gstcaps.c: (gst_caps_do_simplify):
17055 Define error for stream stopped.
17057 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17058 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
17059 Do proper return values.
17061 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
17062 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
17063 (gst_pad_get_range):
17064 Better return values.
17067 Reorganise return values, add macro to check for fatal errors.
17069 * gst/gstqueue.c: (gst_queue_chain):
17070 Return proper GstFlowReturn values,
17072 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
17074 * docs/gst/gstreamer-sections.txt:
17075 * docs/gst/gstreamer.types:
17076 * docs/gst/tmpl/gst.sgml:
17077 * docs/gst/tmpl/gstbasesink.sgml:
17078 * docs/gst/tmpl/gstbasesrc.sgml:
17079 * docs/gst/tmpl/gstbasetransform.sgml:
17080 * docs/gst/tmpl/gstbin.sgml:
17081 * docs/gst/tmpl/gstbuffer.sgml:
17082 * docs/gst/tmpl/gstcaps.sgml:
17083 * docs/gst/tmpl/gstclock.sgml:
17084 * docs/gst/tmpl/gstcompat.sgml:
17085 * docs/gst/tmpl/gstconfig.sgml:
17086 * docs/gst/tmpl/gstelement.sgml:
17087 * docs/gst/tmpl/gstelementdetails.sgml:
17088 * docs/gst/tmpl/gstelementfactory.sgml:
17089 * docs/gst/tmpl/gstenumtypes.sgml:
17090 * docs/gst/tmpl/gsterror.sgml:
17091 * docs/gst/tmpl/gstevent.sgml:
17092 * docs/gst/tmpl/gstfakesink.sgml:
17093 * docs/gst/tmpl/gstfakesrc.sgml:
17094 * docs/gst/tmpl/gstfilesink.sgml:
17095 * docs/gst/tmpl/gstfilesrc.sgml:
17096 * docs/gst/tmpl/gstfilter.sgml:
17097 * docs/gst/tmpl/gstformat.sgml:
17098 * docs/gst/tmpl/gstghostpad.sgml:
17099 * docs/gst/tmpl/gstimplementsinterface.sgml:
17100 * docs/gst/tmpl/gstindex.sgml:
17101 * docs/gst/tmpl/gstindexfactory.sgml:
17102 * docs/gst/tmpl/gstinfo.sgml:
17103 * docs/gst/tmpl/gstiterator.sgml:
17104 * docs/gst/tmpl/gstmacros.sgml:
17105 * docs/gst/tmpl/gstmemchunk.sgml:
17106 * docs/gst/tmpl/gstminiobject.sgml:
17107 * docs/gst/tmpl/gstobject.sgml:
17108 * docs/gst/tmpl/gstpad.sgml:
17109 * docs/gst/tmpl/gstpadtemplate.sgml:
17110 * docs/gst/tmpl/gstparse.sgml:
17111 * docs/gst/tmpl/gstpipeline.sgml:
17112 * docs/gst/tmpl/gstplugin.sgml:
17113 * docs/gst/tmpl/gstpluginfeature.sgml:
17114 * docs/gst/tmpl/gstquery.sgml:
17115 * docs/gst/tmpl/gstqueue.sgml:
17116 * docs/gst/tmpl/gstregistry.sgml:
17117 * docs/gst/tmpl/gstregistrypool.sgml:
17118 * docs/gst/tmpl/gstscheduler.sgml:
17119 * docs/gst/tmpl/gstschedulerfactory.sgml:
17120 * docs/gst/tmpl/gststructure.sgml:
17121 * docs/gst/tmpl/gstsystemclock.sgml:
17122 * docs/gst/tmpl/gsttaglist.sgml:
17123 * docs/gst/tmpl/gsttagsetter.sgml:
17124 * docs/gst/tmpl/gsttrace.sgml:
17125 * docs/gst/tmpl/gsttrashstack.sgml:
17126 * docs/gst/tmpl/gsttypefind.sgml:
17127 * docs/gst/tmpl/gsttypefindfactory.sgml:
17128 * docs/gst/tmpl/gsttypes.sgml:
17129 * docs/gst/tmpl/gsturihandler.sgml:
17130 * docs/gst/tmpl/gsturitype.sgml:
17131 * docs/gst/tmpl/gstutils.sgml:
17132 * docs/gst/tmpl/gstvalue.sgml:
17133 * docs/gst/tmpl/gstversion.sgml:
17134 * docs/gst/tmpl/gstxml.sgml:
17135 * docs/libs/tmpl/gstcontrol.sgml:
17136 * docs/libs/tmpl/gstdataprotocol.sgml:
17137 * docs/libs/tmpl/gstdparam.sgml:
17138 * docs/libs/tmpl/gstdplinint.sgml:
17139 * docs/libs/tmpl/gstdpman.sgml:
17140 * docs/libs/tmpl/gstdpsmooth.sgml:
17141 * docs/libs/tmpl/gstgetbits.sgml:
17142 * docs/libs/tmpl/gstunitconvert.sgml:
17143 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
17144 (gst_push_src_base_init), (gst_push_src_class_init),
17145 (gst_push_src_init), (gst_push_src_create):
17146 * gst/base/gstpushsrc.h:
17147 * gst/elements/gstelements.c:
17148 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
17149 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
17150 (gst_fake_sink_init), (gst_fake_sink_set_property),
17151 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
17152 (gst_fake_sink_event), (gst_fake_sink_preroll),
17153 (gst_fake_sink_render), (gst_fake_sink_change_state):
17154 * gst/elements/gstfakesink.h:
17155 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17156 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17157 (gst_fake_src_base_init), (gst_fake_src_class_init),
17158 (gst_fake_src_init), (gst_fake_src_event_handler),
17159 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
17160 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
17161 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
17162 (gst_fake_src_create_buffer), (gst_fake_src_create),
17163 (gst_fake_src_start), (gst_fake_src_stop):
17164 * gst/elements/gstfakesrc.h:
17165 * gst/elements/gstfilesink.c: (_do_init),
17166 (gst_file_sink_base_init), (gst_file_sink_class_init),
17167 (gst_file_sink_init), (gst_file_sink_dispose),
17168 (gst_file_sink_set_location), (gst_file_sink_set_property),
17169 (gst_file_sink_get_property), (gst_file_sink_open_file),
17170 (gst_file_sink_close_file), (gst_file_sink_query),
17171 (gst_file_sink_event), (gst_file_sink_render),
17172 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
17173 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
17174 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
17175 * gst/elements/gstfilesink.h:
17176 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
17177 (gst_file_src_class_init), (gst_file_src_init),
17178 (gst_file_src_finalize), (gst_file_src_set_location),
17179 (gst_file_src_set_property), (gst_file_src_get_property),
17180 (gst_file_src_map_region), (gst_file_src_map_small_region),
17181 (gst_file_src_create_mmap), (gst_file_src_create_read),
17182 (gst_file_src_create), (gst_file_src_is_seekable),
17183 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
17184 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
17185 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
17186 (gst_file_src_uri_handler_init):
17187 * gst/elements/gstfilesrc.h:
17188 more autistic cleanliness in functions/names/defines
17190 2005-07-13 Andy Wingo <wingo@pobox.com>
17192 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
17193 source couldn't negotiate.
17195 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
17199 * gst/gstutils.c (gst_element_link_pads_filtered): New old
17200 function. I am channeling Hades. Put your boots on suckers!!!
17202 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
17204 * testsuite/caps/Makefile.am:
17205 * testsuite/caps/value_compare.c:
17206 * testsuite/caps/value_intersect.c:
17207 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17208 move two testsuite apps over to the check dir
17210 2005-07-12 Wim Taymans <wim@fluendo.com>
17212 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
17213 Added more debug info in the negotiate process.
17215 * gst/gstmessage.h:
17216 Prepare for segment playback.
17218 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
17224 * tools/gst-launch.c: (main):
17225 NULL pipeline on errors.
17227 2005-07-12 Andy Wingo <wingo@pobox.com>
17229 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
17230 not it comes from a malloc region. Make sure our copy gets freed.
17232 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
17234 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17235 * check/gst/gstmessage.c: (GST_START_TEST):
17236 * check/gst/gststructure.c: (GST_START_TEST),
17237 (gst_structure_suite), (main):
17239 * gst/gstelement.c: (gst_element_message_full):
17240 clean up GError and debug string now that they get copied
17241 * gst/gstmessage.c: (gst_message_new_error),
17242 (gst_message_new_warning), (gst_message_parse_error),
17243 (gst_message_parse_warning):
17244 use GST_TYPE_G_ERROR for structure_new, and take copies of
17245 arguments, so that we don't mess up refcounting
17247 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
17249 * check/Makefile.am:
17250 add per-test valgrind targets
17251 * check/gst-libs/gdp.c: (GST_START_TEST),
17252 (gst_data_protocol_suite), (main):
17255 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
17257 * check/Makefile.am:
17258 instate more valgrindable tests
17259 * check/elements/gstfakesrc.c: (chain_func), (event_func),
17260 (GST_START_TEST), (fakesrc_suite):
17261 * check/gst/gstpad.c: (GST_START_TEST):
17262 * check/gst/gststructure.c: (GST_START_TEST):
17264 * docs/gst/tmpl/gstminiobject.sgml:
17265 * gst/gstpad.c: (gst_pad_finalize):
17266 fix the static mutex leak
17268 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
17270 * check/Makefile.am:
17271 add two more tests for valgrinding
17272 * check/gst/gstvalue.c: (GST_START_TEST):
17273 test refcount of deserialized buffer, found a leak
17274 * docs/gst/gstreamer-docs.sgml:
17275 * docs/gst/gstreamer-sections.txt:
17276 * docs/gst/gstreamer.types:
17277 * docs/gst/tmpl/gstminiobject.sgml:
17278 add miniobject to docs
17279 * gst/gstminiobject.c:
17281 * gst/gstvalue.c: (gst_value_deserialize_buffer),
17282 (gst_string_unwrap):
17283 fix a hard-to-find invalid write for one of the tests
17284 fix a leak for deserialized buffers
17286 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17288 * docs/pwg/advanced-events.xml:
17289 * docs/pwg/advanced-request.xml:
17290 * docs/pwg/advanced-scheduling.xml:
17291 * docs/pwg/appendix-porting.xml:
17292 * docs/pwg/building-boiler.xml:
17293 * docs/pwg/intro-preface.xml:
17294 * docs/pwg/other-ntoone.xml:
17295 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
17296 of example code and explanation for pad activation, loop() and
17297 getrange() functions and a bit more. Remove old comments pointing
17299 * examples/pwg/Makefile.am:
17300 Add loop/getrange examples.
17302 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
17305 check for valgrind binary + some fixes
17307 valgrind suppressions for the tests
17308 * check/Makefile.am:
17309 add a valgrind: target that valgrinds the unit tests
17310 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
17311 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17312 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17313 * check/gst/gstghostpad.c:
17315 * check/gst/gstdata.c:
17317 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
17318 (thread_unref), (gst_mini_object_suite), (main):
17320 * gst/gst.c: (gst_deinit):
17322 add a method to clean up.
17323 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17324 (gst_system_clock_obtain):
17325 allow for disposing the system clock.
17326 * tools/gst-launch.c: (main):
17329 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
17331 * docs/gst/tmpl/gstbasesrc.sgml:
17332 * docs/gst/tmpl/gstfakesrc.sgml:
17333 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17334 (gst_base_src_init), (gst_base_src_set_property),
17335 (gst_base_src_get_property), (gst_base_src_get_range),
17336 (gst_base_src_start):
17337 * gst/base/gstbasesrc.h:
17338 add num-buffers property
17339 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17340 (gst_fakesrc_init), (gst_fakesrc_set_property),
17341 (gst_fakesrc_get_property), (gst_fakesrc_create),
17342 (gst_fakesrc_start):
17343 remove num-buffers property
17345 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
17347 * docs/gst/gstreamer-sections.txt:
17348 * docs/gst/tmpl/gstbasesink.sgml:
17349 * docs/gst/tmpl/gstbasesrc.sgml:
17350 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
17351 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
17352 (gst_base_sink_finalize), (gst_base_sink_set_clock),
17353 (gst_base_sink_set_property), (gst_base_sink_get_property),
17354 (gst_base_sink_handle_object), (gst_base_sink_event),
17355 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17356 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
17357 (gst_base_sink_loop), (gst_base_sink_deactivate),
17358 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
17359 (gst_base_sink_change_state):
17360 * gst/base/gstbasesink.h:
17361 * gst/base/gstbasesrc.h:
17362 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
17363 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
17364 (gst_filesink_init):
17365 more macro splitting
17367 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
17369 * gst/gstelement.c: (gst_element_get_bus):
17371 * tools/gst-launch.c: (check_intr), (event_loop):
17374 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
17376 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17379 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
17381 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17382 (gst_base_src_finalize):
17383 add finalize method and clean up properly
17384 * gst/gstpipeline.c: (gst_pipeline_dispose):
17387 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
17389 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
17391 add more things to check
17392 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17393 * gst/gstelement.c:
17396 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
17398 * check/elements/gstfakesrc.c: (chain_func), (event_func),
17399 (GST_START_TEST), (fakesrc_suite):
17400 * check/gst-libs/gdp.c: (GST_START_TEST):
17401 * check/gst/gst.c: (GST_START_TEST):
17402 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17403 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17404 * check/gst/gstbus.c: (GST_START_TEST):
17405 * check/gst/gstcaps.c: (GST_START_TEST):
17406 * check/gst/gstdata.c: (GST_START_TEST):
17407 * check/gst/gstelement.c: (GST_START_TEST):
17408 * check/gst/gstghostpad.c: (GST_START_TEST):
17409 * check/gst/gstiterator.c: (GST_START_TEST):
17410 * check/gst/gstmessage.c: (GST_START_TEST):
17411 * check/gst/gstobject.c: (GST_START_TEST):
17412 * check/gst/gstpad.c: (GST_START_TEST):
17413 * check/gst/gststructure.c: (GST_START_TEST):
17414 * check/gst/gstsystemclock.c: (GST_START_TEST),
17415 (gst_systemclock_suite):
17416 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17417 * check/gst/gstvalue.c: (GST_START_TEST):
17418 * check/pipelines/cleanup.c: (GST_START_TEST):
17419 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17420 * check/states/sinks.c: (GST_START_TEST):
17421 * check/gstcheck.c: (gst_check_init):
17422 * check/gstcheck.h:
17423 add debugging category
17424 use GST_START_TEST now, so we add a debug line
17426 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
17428 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
17429 add test for state change message on a bin
17430 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
17432 * gst/gstbin.c: (gst_bin_init):
17433 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
17434 * gst/gstelement.c: (gst_element_post_message),
17435 (gst_element_set_state):
17436 * gst/gstelementfactory.c: (gst_element_factory_create):
17437 * gst/gstmessage.c: (gst_message_new):
17438 * gst/gstscheduler.c:
17439 various debugging additions and cleanups
17441 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17443 * check/Makefile.am:
17444 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
17446 adding tests for elements
17447 * gst/gstelement.c: (gst_element_dispose):
17449 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17451 * gst/registries/gstlibxmlregistry.c: (load_feature):
17452 plug more leaks. A simple gst_init() now is leakfree, yay.
17454 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17456 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
17457 (gst_xml_registry_load):
17458 plug another memleak
17460 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17463 use GST_SET_ERROR_CFLAGS
17464 * docs/faq/cvs.xml:
17465 change to ERROR_CFLAGS
17467 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
17470 make GST_ERROR_CFLAGS overridable and re-enable Werror
17471 * docs/faq/cvs.xml:
17472 add a note about error CFLAGS
17473 * docs/gst/tmpl/gstfakesrc.sgml:
17474 * gst/elements/gstfakesrc.c:
17475 comment out some unused code
17476 * gst/gst.c: (split_and_iterate):
17477 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
17481 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
17483 * common/Makefile.am:
17484 * common/gtk-doc.mak:
17485 * docs/gst/Makefile.am:
17486 factor out gtk-doc.mak
17488 2005-07-07 Wim Taymans <wim@fluendo.com>
17490 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
17491 (gst_thread_scheduler_dispose):
17492 Unlock the STREAM_LOCK completely.
17494 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
17496 * check/Makefile.am:
17497 * check/elements/.cvsignore:
17498 * check/elements/gstfakesrc.c: (chain_func), (event_func),
17499 (START_TEST), (fakesrc_suite), (main):
17500 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17501 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17502 (gst_fakesrc_create), (gst_fakesrc_start):
17503 * gst/elements/gstfakesrc.h:
17504 adding a first element test
17506 2005-07-07 Andy Wingo <wingo@pobox.com>
17508 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
17511 2005-07-07 Wim Taymans <wim@fluendo.com>
17517 2005-07-07 Wim Taymans <wim@fluendo.com>
17519 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17520 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
17521 Allow subclasses to implement their own negotiation.
17523 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
17525 * docs/design/part-gstbin.txt:
17526 * docs/design/part-gstpipeline.txt:
17527 Update design notes to reflect the movement of
17528 responsibility for bus handling from GstPipeline to
17531 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
17534 Remove unnecessary queue2/3/4 examples.
17536 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
17538 * examples/Makefile.am:
17539 * examples/helloworld/helloworld.c: (event_loop), (main):
17540 * examples/queue/queue.c: (event_loop), (main):
17541 * examples/queue2/queue2.c: (main):
17542 Update a couple of the examples to work again.
17544 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17545 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
17546 Spelling corrections and extra debug.
17548 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
17549 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
17550 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
17552 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
17553 (gst_pipeline_change_state):
17554 * gst/gstpipeline.h:
17555 Move the bus handler for children to the GstBin, and create a
17556 separate bus for receiving messages from children to the one the
17557 bus sends 'upwards' on.
17559 2005-07-06 Wim Taymans <wim@fluendo.com>
17562 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17563 (gst_base_sink_handle_object), (gst_base_sink_loop),
17564 (gst_base_sink_change_state):
17565 * gst/base/gstbasesink.h:
17566 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17567 (gst_base_src_init), (gst_base_src_setcaps),
17568 (gst_base_src_getcaps), (gst_base_src_loop),
17569 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
17570 (gst_base_src_start), (gst_base_src_change_state):
17571 * gst/base/gstbasesrc.h:
17572 Make basesrc negotiate.
17573 Handle the case where preroll fails in basesink.
17576 2005-07-06 Wim Taymans <wim@fluendo.com>
17578 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
17579 Implement the fixate function.
17580 Clean up acceptcaps.
17582 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17584 * docs/pwg/building-filterfactory.xml:
17585 * docs/pwg/pwg.xml:
17586 Remove never-written filter-factory chapter; I'll add the various
17587 base classes to part 4 ("other element types") later on.
17589 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17591 * docs/pwg/advanced-negotiation.xml:
17592 * docs/pwg/building-boiler.xml:
17593 * docs/pwg/building-pads.xml:
17594 * docs/pwg/pwg.xml:
17595 * examples/pwg/Makefile.am:
17596 Add a chapter on caps negotiation, simplify the original code
17597 samples a bit w.r.t. caps negotiation, add link to the advanced
17598 section. Add a bunch of examples showing different use cases of
17599 different types of caps negotiation. Upstream renegotiation isn't
17600 fully documented yet since nobody knows how that works.
17602 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
17604 * check/gst/gstpad.c:
17605 * check/gstcheck.c:
17606 * gst/gstpad.c: (gst_pad_get_internal_links_default):
17607 if pad has no parent, return NULL as list of internal links
17609 2005-07-05 Andy Wingo <wingo@pobox.com>
17611 * gst/elements/gstfilesrc.c:
17612 * gst/elements/gstfakesrc.c:
17613 * gst/base/gstpushsrc.c:
17614 * gst/base/gstbasesrc.h:
17615 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
17617 2005-07-05 Stefan Kost <ensonic@users.sf.net>
17620 better report generation target (lcov needs a patch)
17622 2005-07-05 Andy Wingo <wingo@pobox.com>
17624 * gst/elements, testsuite: Null if we got it...
17626 2005-07-05 Wim Taymans <wim@fluendo.com>
17629 * libs/gst/dataprotocol/Makefile.am:
17630 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
17631 * libs/gst/dataprotocol/dataprotocol.h:
17632 * pkgconfig/Makefile.am:
17633 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
17634 * pkgconfig/gstreamer-dataprotocol.pc.in:
17635 Ported dataprotol to 0.9.
17636 Added pkgconfig files.
17638 2005-07-05 Andy Wingo <wingo@pobox.com>
17640 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
17641 Default to returning TRUE for the case when tranform_caps returns
17642 a fixed caps, like for identity or volume.
17644 * check/gst/gstbus.c (pound_bus_with_messages):
17645 * check/gst/gstmessage.c (START_TEST):
17646 * check/pipelines/simple_launch_lines.c (got_handoff): Application
17647 message API change.
17649 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
17650 logic weaks here: always run transform_caps, trying passthrough
17651 operation only if the original caps intersects with the transform.
17653 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
17654 source and sink caps.
17656 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
17657 Intersect the peer caps with the pad template before going into
17659 (gst_base_transform_transform_caps): More debugging.
17661 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
17664 2005-07-04 Edward Hervey <edward@fluendo.com>
17668 (gst_pad_add_*_probe): now returns the signal id for better wrapping
17671 2005-07-04 Andy Wingo <wingo@pobox.com>
17673 * check/gst/gstpad.c: Only set explicit caps on pads.
17675 2005-07-01 Andy Wingo <wingo@pobox.com>
17677 * tests/network-clock.scm: Commentary update.
17679 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
17680 Didn't really make sense, not implementable with basetransform,
17682 (gst_identity_transform): Unref inbuf via make_writable. Feeble
17683 attempt at implementing the sync property, needs an unlock method.
17685 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
17686 New func, by default returns the same caps (the identity
17688 (gst_base_transform_getcaps): Uses transform_caps to return
17689 something sensible.
17690 (gst_base_transform_setcaps): Complicated logic to get caps on
17691 both pads, even if they are different, and to call set_caps once
17692 for every time both pads get their caps set.
17693 (gst_base_transform_handle_buffer): Give the ref to the transform
17694 function. Allows in-place modification of the buffer.
17696 * gst/base/gstbasetransform.h (transform_caps): New class method.
17697 Given caps on one side, what can I do on the other.
17698 (set_caps): Take two caps, one for each side of the element.
17701 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
17702 caps in place. This is safe because we can check the mutability of
17703 the caps, and a good idea because fixate functions are just called
17704 as a matter of last resort. (Not actually implemented.)
17705 (gst_pad_set_caps): If the caps we're setting is actually the same
17706 as the existing pad caps, just update the pointer without calling
17707 setcaps. Assert that caps is either NULL or fixed, as per the
17710 * gst/gstghostpad.c: Update for fixate changes.
17712 2005-07-02 Andy Wingo <wingo@pobox.com>
17715 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17716 two refcounts makes it immutable, which is enough. Doc more.
17718 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
17720 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17721 Put the mini_object into GValue as a mini_object,
17722 not a gpointer, since that's how we declared
17725 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17727 * examples/pwg/Makefile.am:
17728 Fix buildbot again.
17730 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17732 * docs/pwg/building-testapp.xml:
17734 * examples/pwg/Makefile.am:
17737 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17740 * examples/Makefile.am:
17741 * examples/pwg/Makefile.am:
17742 * examples/pwg/extract.pl:
17743 Enable building the PWG examples.
17744 * docs/pwg/advanced-interfaces.xml:
17745 Add URI interface stub.
17746 * docs/pwg/advanced-types.xml:
17747 * docs/pwg/other-autoplugger.xml:
17748 * docs/pwg/appendix-porting.xml:
17749 * docs/pwg/pwg.xml:
17750 Add porting guide (mostly stubs), remove autoplugging (see ADM).
17751 * docs/pwg/building-boiler.xml:
17752 * docs/pwg/building-chainfn.xml:
17753 * docs/pwg/building-pads.xml:
17754 * docs/pwg/building-props.xml:
17755 * docs/pwg/building-state.xml:
17756 * docs/pwg/building-testapp.xml:
17757 Update the building-*.xml parts for 0.9 changes. All examples
17758 code blocks compile in examples/pwg/*.
17760 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17762 * docs/manual/advanced-autoplugging.xml:
17763 * docs/manual/appendix-checklist.xml:
17764 * docs/manual/appendix-integration.xml:
17765 * docs/manual/highlevel-components.xml:
17766 Fix playbin/decodebin examples, update docs a bit, mention bus
17767 instead of signals in various places, mention kmplayer and
17768 kaffeine since they have a working GStreamer backend in the KDE
17771 2005-06-30 Wim Taymans <wim@fluendo.com>
17774 * docs/design/draft-ghostpads.txt:
17775 * docs/design/draft-push-pull.txt:
17776 * docs/design/draft-query.txt:
17777 * docs/design/part-TODO.txt:
17778 * docs/design/part-query.txt:
17779 Added CHANGES-0.9 doc, updated status of other docs.
17784 2005-06-30 Wim Taymans <wim@fluendo.com>
17786 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17787 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17788 (gst_base_sink_change_state):
17789 * gst/base/gstbasesink.h:
17790 Some tweaks, only EOS and a buffer complete a preroll.
17792 2005-06-30 Andy Wingo <wingo@pobox.com>
17794 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17795 activate_push down to the internal pad as well.
17797 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
17799 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17801 * gst/gsttaginterface.c:
17802 Some documentation fixes (#307394 and #307397).
17804 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
17806 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17808 * gst/gstvalue.c: (gst_value_intersect_list):
17809 Fix memleak (#309125).
17811 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17813 * docs/manual/advanced-dataaccess.xml:
17814 Fix fakesrc example to compile; doesn't work, bug somewhere...?
17815 * docs/manual/basics-pads.xml:
17816 Add reference for filtered caps to above chapter.
17818 2005-06-30 Wim Taymans <wim@fluendo.com>
17820 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17821 (gst_bin_change_state):
17823 Lame attempt at making the state change function a bit
17826 2005-06-30 Wim Taymans <wim@fluendo.com>
17828 * docs/design/part-clocks.txt:
17829 * docs/design/part-element-sink.txt:
17830 * docs/design/part-events.txt:
17831 * docs/design/part-preroll.txt:
17832 * docs/design/part-states.txt:
17833 Some more tweeks and additions to the docs.
17835 2005-06-30 Wim Taymans <wim@fluendo.com>
17837 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17838 (default_have_data), (gst_pad_class_init), (gst_pad_init),
17839 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17840 (gst_pad_check_pull_range), (gst_pad_get_range),
17841 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17843 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17844 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17845 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17846 (gst_pad_remove_buffer_probe):
17847 Removed atomic operations, use existing LOCK.
17848 Move exception handling out of main code path.
17850 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17852 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17853 (silly_return_true_function), (gst_pad_class_init),
17854 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17855 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17856 (gst_pad_send_event):
17857 Fix accumulator, add default value by using _emitv() instead
17858 of _emit() for signal emission.
17860 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17862 * docs/manual/advanced-dataaccess.xml:
17863 * examples/manual/Makefile.am:
17865 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17868 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
17870 * gst/elements/gstfilesink.c: (gst_filesink_render):
17871 Simplify code so that we don't have to handle short
17872 writes and return GST_FLOW_ERROR if an error occured.
17874 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17876 * docs/gst/gstreamer-docs.sgml:
17877 Remove probes more.
17879 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17881 * docs/gst/gstreamer-sections.txt:
17882 * docs/gst/tmpl/gstpad.sgml:
17883 * docs/gst/tmpl/gstprobe.sgml:
17885 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17886 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17887 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17888 (gst_pad_push_event), (gst_pad_send_event):
17890 * gst/gstutils.c: (gst_pad_add_data_probe),
17891 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17892 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17893 (gst_pad_remove_buffer_probe):
17895 Remove old probes, add new g-signal-based probes and some utility
17898 2005-06-29 Edward Hervey <edward@fluendo.com>
17900 * gst/gstelementfactory.c:
17903 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17904 the definition to the header file.
17906 2005-06-29 Andy Wingo <wingo@pobox.com>
17908 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17909 plugins from the source directory.
17911 2005-06-29 Wim Taymans <wim@fluendo.com>
17913 * docs/gst/tmpl/gstbuffer.sgml:
17914 * docs/gst/tmpl/gstclock.sgml:
17915 Some fixings for blantently wrong text.
17917 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17919 * check/Makefile.am:
17920 * gst/gst.c: (add_path_func), (init_pre):
17921 * gst/gstregistry.c: (gst_registry_add_path):
17922 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17923 only scan the GST_PLUGIN_PATH locations, and not add
17926 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17928 * docs/gst/gstreamer-sections.txt:
17929 * docs/gst/tmpl/gstbasesrc.sgml:
17930 * gst/gstelement.c:
17931 * gst/gstelement.h:
17936 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17938 * docs/manual/advanced-autoplugging.xml:
17939 Fix autoplugging example.
17941 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17943 * docs/manual/advanced-autoplugging.xml:
17944 * docs/manual/mime-world.fig:
17945 Try to get autoplugging working, fix type detection. Fix text
17946 in hello-world image.
17948 2005-06-29 Wim Taymans <wim@fluendo.com>
17950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17951 (gst_base_sink_change_state):
17955 map SIGNAL and BROADCAST to the right function.
17958 Remove redundant braces.
17960 * gst/gstpad.c: (gst_pad_set_caps):
17961 Don't call setcaps function when reseting caps to NULL.
17963 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17964 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17965 (gst_system_clock_id_unschedule):
17966 Use BROADCAST as this is what we do.
17968 2005-06-29 Wim Taymans <wim@fluendo.com>
17970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17971 We are actually prerolling before commiting the state
17974 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17976 * docs/manual/advanced-clocks.xml:
17977 * docs/manual/advanced-interfaces.xml:
17978 * docs/manual/advanced-metadata.xml:
17979 * docs/manual/advanced-position.xml:
17980 * docs/manual/advanced-schedulers.xml:
17981 * docs/manual/advanced-threads.xml:
17982 * docs/manual/appendix-porting.xml:
17983 * docs/manual/basics-bins.xml:
17984 * docs/manual/basics-bus.xml:
17985 * docs/manual/basics-elements.xml:
17986 * docs/manual/basics-helloworld.xml:
17987 * docs/manual/basics-pads.xml:
17988 * docs/manual/highlevel-components.xml:
17989 * docs/manual/manual.xml:
17990 * docs/manual/thread.fig:
17991 Update (until threads/scheduling) Application Development Manual;
17992 remove GstThread, add GstBus, add simple porting checklist, add
17993 documentation for tag writing, clocks, make all examples until this
17994 part compile and run.
17995 * examples/manual/Makefile.am:
17996 Update from changes to Application Development Manual; add bus
17997 example, remove thread example.
17999 2005-06-28 Wim Taymans <wim@fluendo.com>
18001 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
18002 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
18003 (gst_bus_source_dispatch):
18004 Add debugging messages.
18005 Make internal methods static.
18006 Handle the case where the bus is flushed in the handler.
18008 * gst/gstelement.c: (gst_element_get_bus):
18009 Fix refcount in _get_bus();
18011 * gst/gstpipeline.c: (gst_pipeline_change_state),
18012 (gst_pipeline_get_clock_func):
18013 Clock refcounting fixes.
18014 Handle the case where preroll timed out more gracefully.
18016 * gst/gstsystemclock.c: (gst_system_clock_dispose):
18017 Clean up the internal thread in dispose. This is needed
18018 for subclasses that actually get disposed.
18020 * gst/schedulers/threadscheduler.c:
18021 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
18022 (gst_thread_scheduler_dispose):
18023 Free thread pool in dispose.
18025 2005-06-28 Andy Wingo <wingo@pobox.com>
18027 * tests/network-clock-utils.scm (debug, print-event): New utils.
18029 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
18030 (*packet-loss*): Unified loss probability.
18031 (network-time): Report out-of-band events.
18033 * tests/plot-data: Add support for out-of-band events. Hack it
18034 into this script instead of passing it down the pipe; should fix
18037 2005-06-28 Wim Taymans <wim@fluendo.com>
18039 * docs/gst/gstreamer.types:
18040 * docs/gst/tmpl/gstbasesrc.sgml:
18041 * docs/gst/tmpl/gstpad.sgml:
18044 2005-06-28 Wim Taymans <wim@fluendo.com>
18046 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18047 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
18048 (gst_proxy_pad_do_fixatecaps):
18049 Correctly proxy the check_pull_range function.
18051 2005-06-28 Andy Wingo <wingo@pobox.com>
18053 * tests/network-clock.scm: Removed need for slib.
18055 2005-06-28 Wim Taymans <wim@fluendo.com>
18057 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
18058 (gst_basesink_preroll_queue_flush):
18059 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
18060 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
18061 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18062 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18063 (gst_proxy_pad_set_property):
18066 * gst/gstqueue.c: (gst_queue_init):
18067 The deprecated pad loop function is removed now.
18069 2005-06-28 Andy Wingo <wingo@pobox.com>
18071 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
18072 New parameters, simulate network packet loss.
18074 * tests/network-clock-utils.scm: Initialize the RNG.
18076 2005-06-28 Wim Taymans <wim@fluendo.com>
18078 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
18079 (gst_basesink_event), (gst_basesink_deactivate):
18080 Flushing the preroll queue always needs to unlock the waiters.
18082 2005-06-28 Edward Hervey <edward@fluendo.com>
18084 * gst/gstpipeline.c: (gst_pipeline_send_event):
18085 Wheen a seek was successful on a pipeline, set the stream_time to the
18086 seek offset in order to have a synchronized stream_time.
18088 2005-06-28 Wim Taymans <wim@fluendo.com>
18090 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18091 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
18092 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
18093 (gst_proxy_pad_do_fixatecaps):
18094 Call wrapper function instead of just calling the function
18095 pointers. This takes care of any locking and whatmore.
18097 2005-06-28 Wim Taymans <wim@fluendo.com>
18099 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
18100 (gst_pad_pull_range):
18102 CONNECTED -> LINKED.
18104 2005-06-28 Andy Wingo <wingo@pobox.com>
18106 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
18107 source-munging commit!!!
18109 * gst/gstobject.c (gst_object_unref, gst_object_ref)
18110 (gst_object_sink): Take gpointer arguments, not GstObject --
18111 avoids casts. Like GLib.
18113 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
18116 2005-06-27 Andy Wingo <wingo@pobox.com>
18118 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
18121 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
18122 returns a sorted copy of the trace list.
18123 (gst_alloc_trace_print_live): New API, only prints traces with
18124 live objects. Sort the list.
18125 (gst_alloc_trace_print_all): Sort the list.
18126 (gst_alloc_trace_print): Align columns.
18128 * gst/elements/gstttypefindelement.c:
18129 * gst/elements/gsttee.c:
18130 * gst/base/gstbasesrc.c:
18131 * gst/base/gstbasesink.c:
18132 * gst/base/gstbasetransform.c:
18133 * gst/gstqueue.c: Adapt for pad activation changes.
18135 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
18137 (gst_pipeline_dispose): Drop ref on sched.
18139 * gst/gstpad.c (gst_pad_init): Set the default activate func.
18140 (gst_pad_activate_default): Push mode by default.
18141 (pre_activate_switch, post_activate_switch): New stubs, things to
18142 do before and after switching activation modes on pads.
18143 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
18144 the pad's activate function to choose which mode to activate.
18145 Shortcut on deactivation and call the right function directly.
18146 (gst_pad_activate_pull): New API, (de)activates a pad in pull
18148 (gst_pad_activate_push): New API, same for push mode.
18149 (gst_pad_set_activate_function)
18150 (gst_pad_set_activatepull_function)
18151 (gst_pad_set_activatepush_function): Setters for new API.
18153 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
18154 Trace all miniobjects.
18155 (gst_mini_object_make_writable): Unref the arg if we copy, like
18156 gst_caps_make_writable.
18158 * gst/gstmessage.c (_gst_message_initialize): No trace init.
18160 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
18161 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
18162 Adapt for new pad API.
18164 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
18166 * gst/gstelement.h:
18167 * gst/gstelement.c (gst_element_iterate_src_pads)
18168 (gst_element_iterate_sink_pads): New API functions.
18170 * gst/gstelement.c (iterator_fold_with_resync): New utility,
18171 should fold into gstiterator.c in some form.
18172 (gst_element_pads_activate): Simplified via use of fold and
18173 delegation of decisions to gstpad->activate.
18175 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
18178 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
18179 class once in init, like gstmessage. Didn't run into this issue
18180 but it seems correct. Don't initialize a trace, gstminiobject does
18183 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
18184 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
18186 (assert_live_count): New util function, uses alloc traces to check
18189 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
18190 To be modified when unlink drops the internal pad.
18192 2005-06-27 Wim Taymans <wim@fluendo.com>
18194 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
18195 (gst_bin_change_state):
18196 Cleanup the get_state() function a little, make sure it
18197 iterates the same set of elements.
18198 Added stub iterate_state_order().
18200 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
18202 * docs/gst/gstreamer-docs.sgml:
18203 * docs/gst/gstreamer-sections.txt:
18204 * docs/gst/gstreamer.types:
18205 * docs/gst/tmpl/gstbasesink.sgml:
18206 * docs/gst/tmpl/gstbasesrc.sgml:
18207 * docs/gst/tmpl/gstbasetransform.sgml:
18208 * docs/gst/tmpl/gstelement.sgml:
18209 * docs/gst/tmpl/gstiterator.sgml:
18210 * gst/base/gstbasesrc.c:
18211 * gst/base/gstbasesrc.h:
18212 * gst/base/gstbasetransform.h:
18213 * gst/gstelement.c:
18214 * gst/gstiterator.h:
18215 adding basetransform and iterator docs
18217 2005-06-27 Andy Wingo <wingo@pobox.com>
18219 * docs/design/part-activation.txt: Notes on how activation should
18220 work -- not quite implemented yet.
18222 2005-06-25 Wim Taymans <wim@fluendo.com>
18224 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
18225 At least get the chain function correct, needs more
18228 2005-06-25 Wim Taymans <wim@fluendo.com>
18230 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18231 (gst_basesink_handle_object), (gst_basesink_event),
18232 (gst_basesink_do_sync), (gst_basesink_handle_event),
18233 (gst_basesink_change_state):
18235 Right, two problems here: ghostpads don't take locks and
18236 glib _rec_mutex_lock_full() with depth==0 still locks.
18237 Catch illegal locking and g_warn them.
18239 2005-06-25 Wim Taymans <wim@fluendo.com>
18241 * check/states/sinks.c: (START_TEST), (gst_object_suite):
18242 Have to check for completion now...
18244 2005-06-25 Wim Taymans <wim@fluendo.com>
18246 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18247 (gst_basesink_handle_object), (gst_basesink_event),
18248 (gst_basesink_do_sync), (gst_basesink_handle_event),
18249 (gst_basesink_change_state):
18251 Unlock STREAM_LOCK whatever the recursion was.
18253 2005-06-25 Wim Taymans <wim@fluendo.com>
18255 * gst/base/gstbasesink.c: (gst_basesink_set_property),
18256 (gst_basesink_preroll_queue_empty),
18257 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
18258 (gst_basesink_event), (gst_basesink_do_sync),
18259 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
18260 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
18261 (gst_basesink_change_state):
18262 Reworked the base sink, handle event and buffer serialisation
18263 correctly and removed possible deadlock.
18264 Handle EOS correctly.
18266 2005-06-25 Wim Taymans <wim@fluendo.com>
18268 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
18269 (gst_pipeline_change_state):
18270 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18271 Allow elements to post EOS in the state change function.
18272 Fix up -launch, make it exit the poll loop when the
18273 pipeline actually changed state.
18274 Fix up warning parsing in -launch.
18276 2005-06-25 Wim Taymans <wim@fluendo.com>
18278 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
18279 (gst_tee_sink_activate):
18280 Core takes STREAM_LOCK for us now.
18282 2005-06-25 Wim Taymans <wim@fluendo.com>
18284 * gst/gstelement.c: (gst_element_get_state_func),
18285 (gst_element_set_state):
18286 * gst/gstelement.h:
18287 * gst/gstmessage.c: (gst_message_parse_error),
18288 (gst_message_parse_warning):
18289 Keep track of current target state while performing a state
18290 change so that subclasses can do something interesting.
18291 Fix parsing of warning/error messages when GError is NULL.
18293 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
18295 * docs/gst/Makefile.am:
18296 * docs/gst/gstreamer-docs.sgml:
18297 * docs/gst/gstreamer-sections.txt:
18298 * docs/gst/gstreamer.types:
18299 * docs/gst/tmpl/gstbasesink.sgml:
18300 * docs/gst/tmpl/gstbasesrc.sgml:
18301 * docs/gst/tmpl/gstbin.sgml:
18302 * docs/gst/tmpl/gstcompat.sgml:
18303 * docs/gst/tmpl/gstfakesink.sgml:
18304 * docs/gst/tmpl/gstfakesrc.sgml:
18305 * docs/gst/tmpl/gstfilesink.sgml:
18306 * docs/gst/tmpl/gstfilesrc.sgml:
18307 * docs/gst/tmpl/gstindex.sgml:
18308 * docs/manual/appendix-quotes.xml:
18309 * gst/base/gstbasesrc.h:
18310 * gst/elements/gstfakesrc.h:
18311 * gst/gstmessage.h:
18312 start pulling in base classes and elements in our docs
18314 2005-06-24 Stefan Kost <ensonic@users.sf.net>
18316 * docs/gst/Makefile.am:
18317 * docs/libs/Makefile.am:
18318 fixed make distcheck with gtk-doc 1.3
18320 2005-06-23 Wim Taymans <wim@fluendo.com>
18322 * gst/gstelement.c: (gst_element_get_state_func),
18323 (gst_element_set_state), (gst_element_change_state):
18324 When the state did not change, also report NO_PREROLL
18327 2005-06-23 Wim Taymans <wim@fluendo.com>
18329 * gst/gstpad.c: (gst_pad_event_default):
18330 * gst/gstqueue.c: (gst_queue_loop):
18331 No unsafe task pausing please.
18333 2005-06-23 Wim Taymans <wim@fluendo.com>
18335 * gst/schedulers/threadscheduler.c:
18336 (gst_thread_scheduler_task_start),
18337 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
18338 Ref the task before pushing it on the threadpool. This
18339 makes sure that we have a ref when the threadfunction is
18342 2005-06-23 Andy Wingo <wingo@pobox.com>
18344 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
18345 offset is greater than the file's size.
18347 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
18348 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
18349 * gst/gstobject.c (gst_object_class_init): Make the class lock
18350 recursive. Wim won't let me drop deep_notify. Decodebin works
18351 again, whoopdy doo.
18353 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
18354 internal pad, and hacks accordingly. Doesn't do it on the target
18355 pad because we change its caps. Probably catches all cases of
18357 (gst_ghost_pad_set_property): Connect to notify::caps as
18360 * tests/network-clock.scm (plot-simulation): Pipe data to the
18361 elite python skript.
18363 * tests/network-clock-utils.scm (define-parameter): New macro,
18364 defines a parameter that can be set via the command line.
18365 (set-parameter!, parse-parameter-arguments): Command line args
18368 * tests/plot-data: Simple matplotlib-based plotter, takes input on
18371 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
18373 * gst/elements/gsttypefindelement.c:
18374 (gst_type_find_element_handle_event):
18375 Don't restart typefinding on a discont.
18376 * gst/gstelement.c: (gst_element_set_state):
18377 Debug spelling fix.
18378 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
18379 Allow changing mode of an active pad.
18380 Debug output fixes.
18381 * gst/registries/gstlibxmlregistry.c: (load_feature):
18382 Don't cast a static pad template to a normal pad template.
18384 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
18386 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18387 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18388 remove gst_strtoll completely, since it didn't actually do
18389 anything more than what g_ascii_strtoull already does.
18390 check for range errors when deserializing
18391 do a cast for the unsigned cases; but further fixing needs
18392 a decision on what the interpretation of "(int)" and
18393 deserialization should be for values that fall outside the
18394 type's boundaries (ie, refuse, or interpret as casting)
18396 2005-06-23 Wim Taymans <wim@fluendo.com>
18398 * check/Makefile.am:
18399 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
18400 * docs/design/part-live-source.txt:
18401 * docs/design/part-states.txt:
18402 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18403 (gst_basesrc_set_live), (gst_basesrc_is_live),
18404 (gst_basesrc_get_range), (gst_basesrc_activate),
18405 (gst_basesrc_change_state):
18406 * gst/base/gstbasesrc.h:
18407 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18408 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18409 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
18410 * gst/gstelement.c: (gst_element_get_state_func),
18411 (gst_element_set_state):
18412 * gst/gstelement.h:
18414 * tools/gst-launch.c: (event_loop), (main):
18415 Added support for live sources and other elements that
18417 Updated design docs, added live-source design doc.
18418 Implemented live source functionality in basesrc
18419 Fix error condition in _bin_get_state()
18420 Implement live source handling in -launch.
18421 Added check for live sources.
18422 Fixed case in GstBin where elements were changed state
18426 2005-06-23 Andy Wingo <wingo@pobox.com>
18428 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
18429 borken refcounting.
18431 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
18432 gst_caps_replace takes care of this for us.
18434 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
18435 gst_pad_set_caps on the target, not just its setcaps() function.
18437 * tests/network-clock.scm:
18438 * tests/network-clock-utils.scm: A network clock simulator.
18439 Something of an algorithmic testbed before doing something in C.
18441 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
18443 * check/Makefile.am:
18444 * check/gst/capslist.h:
18445 copy over from 0.8, and add two with bitmasks specified with
18447 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
18448 add test to parse everything from capslist.h
18449 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
18451 add test for structure deserialization
18452 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18453 add tests for deserialization of strings to int types
18454 * gst/gststructure.c: (gst_structure_nth_field_name):
18455 * gst/gststructure.h:
18456 add a way to get the name of a field referenced by index
18457 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18458 instead of checking if the resulting long long lies between
18459 min and max, we check if the long long would fit into
18460 a number of bytes for the final type.
18461 This fixes cases where a string represents 2^32 - 1, which
18462 when cast to int would be the (valid) -1, but is bigger than
18465 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
18467 * gst/parse/grammar.y:
18468 add a log line for type deserialization
18470 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
18472 * check/gst/gstvalue.c: (START_TEST):
18473 * gst/gstvalue.c: (gst_value_deserialize):
18474 return long long, not int, so gint64 deserialization actually
18475 works. Is there any flag that makes the compiler check this ?
18478 2005-06-22 Wim Taymans <wim@fluendo.com>
18481 Added convenience macros for setting buffers in GValue.
18483 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
18485 * check/gst/.cvsignore:
18486 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
18487 add a test deserializing int64, and comment part out because
18490 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
18492 * check/Makefile.am:
18493 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
18494 * testsuite/Makefile.am:
18495 * testsuite/caps/Makefile.am:
18496 * testsuite/caps/value_serialize.c:
18497 * testsuite/test_gst_init.c:
18498 move a value_serialize test over
18500 2005-06-20 Wim Taymans <wim@fluendo.com>
18505 * gst/gstvalue.c: (gst_value_compare_buffer),
18506 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
18507 (gst_value_compare_flags), (gst_value_serialize_flags),
18508 (gst_value_deserialize_flags), (_gst_value_initialize):
18509 Fix serialisation of buffers, they are not boxed types anymore
18511 2005-06-20 Wim Taymans <wim@fluendo.com>
18513 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
18514 Testcase to show error in buffer-on-caps serialisation.
18516 2005-06-20 Andy Wingo <wingo@pobox.com>
18518 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
18519 will be adding to later.
18521 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
18522 if its socks fill with rocks.
18523 (gst_system_clock_obtain): Set the name on object construction.
18524 Avoid double-checked locking.
18526 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
18528 * gst/gsturi.c: (gst_element_make_from_uri):
18529 Fix potential endless loop.
18531 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
18533 * check/Makefile.am:
18535 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
18537 move over from testsuite dir and clean up
18540 * testsuite/Makefile.am:
18541 * testsuite/tags/.cvsignore:
18542 * testsuite/tags/Makefile.am:
18543 * testsuite/tags/merge.c:
18544 remove testsuite/tags
18546 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
18548 * docs/gst/gstreamer-sections.txt:
18549 * docs/gst/tmpl/gstenumtypes.sgml:
18550 * win32/gstenumtypes.c:
18551 clean up documentation build a little
18553 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
18555 * check/gstcheck.h:
18556 add macros for checking refcounts on objects and caps
18557 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
18558 add some more unit tests
18559 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18560 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
18561 fix leaked refcounts (I hope :)) so unittest works
18565 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
18567 * configure.ac: back to HEAD
18569 === release 0.9.1 ===
18571 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
18577 2005-06-17 Andy Wingo <wingo@pobox.com>
18579 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
18580 assert; it's always possible that the pad gets deactivated in
18581 between the checks in gstpad.c and the implementation. Rely on
18582 finish_preroll() to return a FLUSHING or similar instead of on the
18585 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
18586 clock and post an EOS message if we come out of finish_preroll in
18589 2005-06-16 David Schleef <ds@schleef.org>
18591 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18592 (gst_capsfilter_set_property): Allow NULL as possible value
18593 for filter_caps property, indicating GST_CAPS_ANY.
18595 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
18597 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
18599 * gst/schedulers/Makefile.am:
18601 * gstreamer.spec.in:
18604 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
18606 * gstreamer.spec.in:
18609 2005-06-08 Andy Wingo <wingo@pobox.com>
18611 * gst/gstutils.c: RPAD fixes all around.
18612 (gst_element_link_pads): Refcounting fixes.
18614 * tools/gst-inspect.c:
18615 * tools/gst-xmlinspect.c:
18617 * gst/base/gsttypefindhelper.c:
18618 * gst/base/gstbasesink.c:
18619 * gst/gstqueue.c: RPAD fixes.
18621 * gst/gstghostpad.h:
18622 * gst/gstghostpad.c: New ghost pad implementation as full proxy
18623 pads. The tricky thing is they provide both source and sink
18624 interfaces, since they proxy the internal pad for the external
18625 pad, and vice versa. Implement with lower-level ProxyPad objects,
18626 with the interior proxy pad as a child of the exterior ghost pad.
18627 Should write a doc on this.
18629 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
18630 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
18633 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
18634 pads are real pads. No ghost pads in this file. Not documenting
18635 the myriad s/RPAD/PAD/ and REALIZE fixes.
18636 (gst_pad_class_init): Add properties for "direction" and
18637 "template". Both are construct-only, so they can't change during
18638 the life of the pad. Fixes properly deriving from GstPad.
18639 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
18640 derived objects, just set properties when creating the objects via
18642 (gst_pad_get_parent): Implement as a function, return NULL if the
18643 parent is not an element.
18644 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
18645 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
18647 * gst/gstobject.c (gst_object_class_init): Make name a construct
18648 property. Don't set it in the object init.
18650 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
18651 with UNKNOWN direction.
18652 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
18653 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
18654 (gst_element_remove_pad): Remove ghost-pad special cases.
18655 (gst_element_pads_activate): Remove rpad cruft.
18657 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
18658 catch the pad's-parent-not-an-element case.
18660 * gst/gst.h: Include gstghostpad.h.
18662 * gst/gst.c (init_post): No more real, ghost pads.
18664 * gst/Makefile.am: Add gstghostpad.[ch].
18666 * check/Makefile.am:
18667 * check/gst/gstbin.c:
18668 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
18669 into a bin creates ghost pads, and that the refcounts are right.
18670 Partly moved from gstbin.c.
18672 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18674 * check/gst-libs/.cvsignore:
18675 * check/gst/.cvsignore:
18676 * check/pipelines/.cvsignore:
18678 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
18679 (START_TEST), (cleanup_suite), (main):
18680 add some tests related to cleanup after running pipelines
18682 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18684 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
18685 add a testsuite for GstBuffer
18687 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18689 * gst/gstminiobject.h:
18690 add defines for accessing the refcount
18692 2005-06-03 Stefan Kost <ensonic@users.sf.net>
18694 * Makefile.am: added support for html unit test coverage reports
18696 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
18698 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18699 Free existing caps if the capsfilter changes. Add a FIXME about
18700 setting those caps on the pads.
18702 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
18703 Before adding a ghost pad to a parent bin, check that there isn't
18704 already one for the element on the bin. Prevents infinite recursion
18705 when using decodebin in parse pipelines. Andy says he'll rewrite the
18706 way this works anyway, so ignore the hack.
18708 2005-06-02 Andy Wingo <wingo@pobox.com>
18710 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
18711 file size, pass it on to the type find helper.
18713 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
18714 segment_start and segment_end properly according to the seek
18715 method. Segment_end is still a bit flaky because offset can be
18716 negative for CUR and END cases, but it takes -1 as an "unset"
18719 2005-06-02 Wim Taymans <wim@fluendo.com>
18721 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18722 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18723 (gst_basesink_activate):
18724 * gst/base/gstbasesink.h:
18725 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18726 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18727 (gst_pad_query), (gst_pad_start_task):
18729 * gst/gstqueue.c: (gst_queue_bufferalloc),
18730 (gst_queue_handle_sink_event), (gst_queue_chain):
18731 Bufferalloc: return GstFlowReturn to more accuratly report
18732 why allocation failed.
18734 2005-06-02 Wim Taymans <wim@fluendo.com>
18736 * gst/gstpipeline.c: (gst_pipeline_send_event):
18737 Take snapshot of state without blocking.
18739 2005-06-02 Wim Taymans <wim@fluendo.com>
18741 * docs/design/part-TODO.txt:
18742 * docs/design/part-caps.txt:
18743 * docs/design/part-clocks.txt:
18744 * docs/design/part-negotiation.txt:
18745 * docs/design/part-preroll.txt:
18748 2005-05-30 Wim Taymans <wim@fluendo.com>
18750 * gst/elements/gstidentity.c: (gst_identity_event),
18751 (gst_identity_transform), (gst_identity_get_property):
18752 Protect last_message property as it is accessed from
18755 2005-05-30 Wim Taymans <wim@fluendo.com>
18757 * gst/gstelement.c: (gst_element_init),
18758 (gst_element_pads_activate), (gst_element_change_state):
18759 Slicker pad activation code.
18761 2005-05-30 Wim Taymans <wim@fluendo.com>
18764 * gst/gstelement.h:
18765 * gst/gstelementfactory.h:
18767 Move elementfactory methods to separate .h file.
18769 2005-05-30 Wim Taymans <wim@fluendo.com>
18771 * docs/design/part-overview.txt:
18772 * gst/gstsystemclock.h:
18773 Small typo fixes, doc updates.
18775 2005-05-30 Wim Taymans <wim@fluendo.com>
18777 * gst/gst.c: (gst_init_get_popt_table), (init_post),
18778 (init_popt_callback):
18779 Remove cpu-opt flag.
18781 2005-05-30 Wim Taymans <wim@fluendo.com>
18783 * gst/gstbuffer.c: (gst_subbuffer_finalize),
18784 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18786 Avoid typechecking in places where not needed.
18787 Added accessor for malloc_data.
18789 2005-05-30 Wim Taymans <wim@fluendo.com>
18791 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18792 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18793 (gst_pad_configure_sink), (gst_pad_configure_src),
18794 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18795 (gst_pad_start_task):
18796 Propagate errors from _set_caps() in configure_src/sink
18797 functions instead of returning TRUE.
18798 FLUSH events can travel up and downstream
18801 2005-05-30 Wim Taymans <wim@fluendo.com>
18803 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18804 (gst_basesink_activate):
18805 Handle EOS in preroll.
18807 2005-05-30 Wim Taymans <wim@fluendo.com>
18809 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18810 (gst_queue_loop), (gst_queue_handle_src_event):
18811 Remove old pieces of code
18812 Flushing the queue in an upstream event is a very bad idea.
18814 2005-05-26 Andy Wingo <wingo@pobox.com>
18816 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18817 gst_value_set_mini_object so as to add a ref on the object (which
18818 will be removed when the value is unset).
18820 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18821 arg type in ::handoff.
18823 * gst/gstelement.c (gst_element_change_state): Also deactivate
18824 pads in READY->NULL, just in case the element didn't make it to
18825 PAUSED. Wingo tested, Wim approved.
18827 2005-05-26 Wim Taymans <wim@fluendo.com>
18829 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18830 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18831 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18832 A flushing pad cannot be used to alloc_buffer from.
18834 2005-05-26 Wim Taymans <wim@fluendo.com>
18836 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18837 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18838 (gst_bus_source_dispatch), (gst_bus_source_finalize),
18839 (gst_bus_create_watch), (gst_bus_add_watch_full):
18841 Implement a real GSource and use g_main_context_wakeup() to
18842 signal new messages instead of the socketpair.
18844 2005-05-25 Wim Taymans <wim@fluendo.com>
18846 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18847 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18848 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18849 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18850 (gst_pad_send_event), (gst_pad_start_task):
18851 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18852 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18853 (gst_queue_sink_activate), (gst_queue_src_activate),
18854 (gst_queue_change_state):
18856 Fix state changes for non sinks. We now change sinks, then elements
18857 with unconnected srcpads, then the rest.
18858 More efficient queue unlocking in flush and state changes.
18859 Set the pad activate mode even if it does not have an activate
18862 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18864 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18865 Don't go in pull mode for non-seekable sources.
18866 * gst/elements/gsttypefindelement.h:
18867 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18868 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18869 (free_entry), (stop_typefinding),
18870 (gst_type_find_element_handle_event), (find_peek),
18871 (gst_type_find_element_chain), (do_pull_typefind),
18872 (gst_type_find_element_change_state):
18873 Allow typefinding (w/o seeking) in push-mode, simplified version
18874 of what was in 0.8.
18875 * gst/gstutils.c: (gst_buffer_join):
18877 gst_buffer_join() from 0.8.
18879 2005-05-25 Wim Taymans <wim@fluendo.com>
18881 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18882 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18883 (gst_pad_send_event), (gst_pad_start_task):
18884 Disable attempt at mode switching until it is figured out.
18886 2005-05-25 Wim Taymans <wim@fluendo.com>
18888 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18889 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18890 (gst_basesink_finish_preroll), (gst_basesink_chain),
18891 (gst_basesink_loop), (gst_basesink_activate),
18892 (gst_basesink_change_state):
18893 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18894 (gst_basesrc_get_range), (gst_basesrc_loop),
18895 (gst_basesrc_activate):
18896 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18897 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18898 (gst_real_pad_init), (gst_real_pad_set_property),
18899 (gst_real_pad_get_property), (gst_pad_set_active),
18900 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18901 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18902 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18903 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18904 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18905 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18906 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18907 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18908 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18909 (gst_pad_stop_task):
18911 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18912 (gst_queue_loop), (gst_queue_src_activate):
18913 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18914 (gst_task_get_state):
18916 * gst/schedulers/threadscheduler.c:
18917 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18918 Implement gst_pad_pause/start/stop_task(), take STREAM lock
18920 Remove ACTIVE pad flag, use FLUSHING everywhere
18921 Added _pad_chain(), _pad_get_range() to call chain/getrange
18923 Add locks around IS_FLUSHING when reading.
18924 Take STREAM lock in chain(), get_range() functions so plugins
18925 don't need to take it anymore.
18929 2005-05-25 Wim Taymans <wim@fluendo.com>
18931 * tools/gst-launch.c: (event_loop):
18932 Unref message after using its contents instead of
18935 2005-05-24 Wim Taymans <wim@fluendo.com>
18937 * docs/design/draft-ghostpads.txt:
18938 * docs/design/draft-push-pull.txt:
18939 * docs/design/draft-query.txt:
18940 * docs/design/part-overview.txt:
18941 Docs updates, added general overview doc.
18943 2005-05-21 David Schleef <ds@schleef.org>
18945 * docs/gst/tmpl/old/GstBin.sgml:
18946 * docs/gst/tmpl/old/GstBuffer.sgml:
18947 * docs/gst/tmpl/old/GstCaps.sgml:
18948 * docs/gst/tmpl/old/GstClock.sgml:
18949 * docs/gst/tmpl/old/GstCompat.sgml:
18950 * docs/gst/tmpl/old/GstData.sgml:
18951 * docs/gst/tmpl/old/GstElement.sgml:
18952 * docs/gst/tmpl/old/GstEvent.sgml:
18953 * docs/gst/tmpl/old/GstIndex.sgml:
18954 * docs/gst/tmpl/old/GstStructure.sgml:
18955 * docs/gst/tmpl/old/GstTag.sgml:
18956 * docs/gst/tmpl/old/cothreads.sgml:
18957 * docs/gst/tmpl/old/cothreads_compat.sgml:
18958 * docs/gst/tmpl/old/gettext.sgml:
18959 * docs/gst/tmpl/old/gobject2gtk.sgml:
18960 * docs/gst/tmpl/old/grammar.tab.sgml:
18961 * docs/gst/tmpl/old/gst-i18n-app.sgml:
18962 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18963 * docs/gst/tmpl/old/gst_private.sgml:
18964 * docs/gst/tmpl/old/gstaggregator.sgml:
18965 * docs/gst/tmpl/old/gstarch.sgml:
18966 * docs/gst/tmpl/old/gstatomic_impl.sgml:
18967 * docs/gst/tmpl/old/gstbufferstore.sgml:
18968 * docs/gst/tmpl/old/gstdata_private.sgml:
18969 * docs/gst/tmpl/old/gstdisksink.sgml:
18970 * docs/gst/tmpl/old/gstdisksrc.sgml:
18971 * docs/gst/tmpl/old/gstelementfactory.sgml:
18972 * docs/gst/tmpl/old/gstextratypes.sgml:
18973 * docs/gst/tmpl/old/gstfakesink.sgml:
18974 * docs/gst/tmpl/old/gstfakesrc.sgml:
18975 * docs/gst/tmpl/old/gstfdsink.sgml:
18976 * docs/gst/tmpl/old/gstfdsrc.sgml:
18977 * docs/gst/tmpl/old/gstfilesink.sgml:
18978 * docs/gst/tmpl/old/gstfilesrc.sgml:
18979 * docs/gst/tmpl/old/gsthttpsrc.sgml:
18980 * docs/gst/tmpl/old/gstidentity.sgml:
18981 * docs/gst/tmpl/old/gstindexfactory.sgml:
18982 * docs/gst/tmpl/old/gstmarshal.sgml:
18983 * docs/gst/tmpl/old/gstmd5sink.sgml:
18984 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18985 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18986 * docs/gst/tmpl/old/gstpadtemplate.sgml:
18987 * docs/gst/tmpl/old/gstpipefilter.sgml:
18988 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18989 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18990 * docs/gst/tmpl/old/gstshaper.sgml:
18991 * docs/gst/tmpl/old/gstspider.sgml:
18992 * docs/gst/tmpl/old/gstspideridentity.sgml:
18993 * docs/gst/tmpl/old/gststatistics.sgml:
18994 * docs/gst/tmpl/old/gsttee.sgml:
18995 * docs/gst/tmpl/old/gsttimecache.sgml:
18996 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18997 * docs/gst/tmpl/old/gstxmlregistry.sgml:
18998 * docs/gst/tmpl/old/gthread-cothreads.sgml:
18999 * docs/gst/tmpl/old/types.sgml:
19000 I didn't intend to add these or check them in.
19002 2005-05-19 David Schleef <ds@schleef.org>
19004 * configure.ac: Use -no-common everywhere. In a sane world, it
19005 would be the default in libtool, because without it, you can't
19006 build DLLs on Windows.
19007 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
19008 * docs/gst/gstreamer-sections.txt:
19009 * docs/gst/tmpl/gstcpu.sgml:
19010 * docs/gst/tmpl/gstdata.sgml:
19011 * docs/gst/tmpl/gstthread.sgml:
19013 2005-05-19 David Schleef <ds@schleef.org>
19015 * gst/gstminiobject.c: (gst_value_set_mini_object),
19016 (gst_value_take_mini_object), (gst_value_get_mini_object):
19017 * gst/gstminiobject.h: Add GValue set/get functions.
19019 2005-05-19 Wim Taymans <wim@fluendo.com>
19021 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
19022 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
19023 (gst_subbuffer_init), (gst_buffer_is_span_fast):
19025 * gst/gstbus.c: (gst_bus_post):
19026 * gst/gstelement.c: (gst_element_get_random_pad):
19027 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
19028 Make subbufer unref the parent in finalize.
19029 some more debugging info.
19032 2005-05-19 Wim Taymans <wim@fluendo.com>
19034 * gst/base/gstbasesink.c: (gst_basesink_class_init),
19035 (gst_basesink_init), (gst_basesink_finalize),
19036 (gst_basesink_activate), (gst_basesink_change_state):
19037 Don't free preroll queue too early.
19039 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19043 Hi, I'm outdated. Please shoot me.
19045 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19047 * gst/gstpipeline.c: (gst_pipeline_send_event):
19048 Do not access variables after they have been deleted.
19050 2005-05-19 Wim Taymans <wim@fluendo.com>
19052 * tools/gst-inspect.c: (print_plugin_features):
19053 A plugin feature does unfortunatly not use the
19056 2005-05-18 Wim Taymans <wim@fluendo.com>
19058 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
19059 Port _span() functions to new subbuffers.
19061 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19063 * gst/gstbin.c: (gst_bin_add_func):
19064 Fix clock settery in bins when adding kids after the clock has
19067 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19069 * gst/elements/gstidentity.c: (gst_identity_class_init):
19070 Workaround until signals support GstMiniObject.
19072 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
19075 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
19077 2005-05-18 Wim Taymans <wim@fluendo.com>
19079 * gst/base/Makefile.am:
19080 * gst/base/gstadapter.c: (gst_adapter_base_init),
19081 (gst_adapter_class_init), (gst_adapter_init),
19082 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
19083 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
19084 (gst_adapter_flush), (gst_adapter_available),
19085 (gst_adapter_available_fast):
19086 * gst/base/gstadapter.h:
19087 Ported and added adapter to the base classes.
19089 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19092 * gst/gstmessage.c:
19093 Make sure the class is reffed/unreffed once before threads can be
19094 used. Fixes #304551.
19096 2005-05-17 Wim Taymans <wim@fluendo.com>
19098 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
19099 (gst_basesink_chain_unlocked), (gst_basesink_activate):
19100 * gst/gstminiobject.c: (gst_mini_object_get_type),
19101 (gst_mini_object_free):
19102 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
19103 (gst_pad_push), (gst_pad_push_event):
19104 * gst/gstqueue.c: (gst_queue_change_state):
19105 Don't queue buffers in basesink when we are flushing.
19106 Unref buffer when flushing in basesink.
19107 Flush queue when going to READY
19108 Unref buffer when _push() returns an error.
19109 Don't free MiniObject instance when refcount is incremented
19110 in _finalize() so that we can recover objects.
19112 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
19114 * docs/manual/advanced-schedulers.xml:
19115 * docs/manual/appendix-checklist.xml:
19116 * docs/pwg/advanced-clock.xml:
19117 * docs/pwg/advanced-interfaces.xml:
19118 * docs/pwg/advanced-request.xml:
19119 * docs/pwg/advanced-types.xml:
19120 * docs/pwg/intro-preface.xml:
19121 * examples/plugins/example.c: (gst_example_get_type),
19122 (gst_example_class_init), (gst_example_chain),
19123 (gst_example_set_property), (gst_example_get_property),
19124 (gst_example_change_state), (plugin_init):
19125 * examples/plugins/example.h:
19128 2005-05-17 Wim Taymans <wim@fluendo.com>
19130 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
19131 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
19132 * gst/gstqueue.c: (gst_queue_change_state):
19133 Clear queue when going to READY.
19134 Remove IN_SETCAPS flag too.
19136 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
19138 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
19139 Remove implicit cast from gboolean to GstElementStateReturn;
19140 make sure we still return failure in paused => ready case if
19141 the parent class fails to change state and our own stop
19144 2005-05-17 Wim Taymans <wim@fluendo.com>
19146 * tools/gst-launch.c: (event_loop):
19147 Message was unreffed too soon.
19149 2005-05-16 Andy Wingo <wingo@pobox.com>
19151 * gst/gstbin.c (sink_iterator_filter): Err... um...
19153 * check/gst/gstbin.c (test_ghost_pads): New test for the
19154 ghosting-if-elements-not-in-same-bin behavior.
19156 2005-05-16 David Schleef <ds@schleef.org>
19158 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
19159 accessing refcount directly.
19161 2005-05-15 David Schleef <ds@schleef.org>
19163 * check/Makefile.am: remove GstData checks
19164 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
19165 * gst/Makefile.am: add miniobject, remove data
19166 * gst/gst.h: add miniobject, remove data
19167 * gst/gstdata.c: remove
19168 * gst/gstdata.h: remove
19169 * gst/gstdata_private.h: remove
19170 * gst/gsttypes.h: remove GstEvent and GstMessage
19171 * gst/gstelement.c: (gst_element_post_message): fix for API changes
19172 * gst/gstmarshal.list: change BOXED -> OBJECT
19174 Implement GstMiniObject.
19175 * gst/gstminiobject.c:
19176 * gst/gstminiobject.h:
19178 Modify to be subclasses of GstMiniObject.
19179 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
19180 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
19181 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
19182 (gst_subbuffer_get_type), (gst_subbuffer_init),
19183 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
19186 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
19187 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
19188 (_gst_event_copy), (gst_event_new):
19190 * gst/gstmessage.c: (_gst_message_initialize),
19191 (gst_message_get_type), (gst_message_class_init),
19192 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
19193 (gst_message_new), (gst_message_new_error),
19194 (gst_message_new_warning), (gst_message_new_tag),
19195 (gst_message_new_state_changed), (gst_message_new_application):
19196 * gst/gstmessage.h:
19197 * gst/gstprobe.c: (gst_probe_perform),
19198 (gst_probe_dispatcher_dispatch):
19200 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
19201 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
19202 (_gst_query_copy), (gst_query_new):
19204 Update elements for GstData -> GstMiniObject changes
19206 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
19207 (gst_queue_chain), (gst_queue_loop):
19208 * gst/elements/gstbufferstore.c:
19209 (gst_buffer_store_add_buffer_func),
19210 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
19211 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19212 (gst_fakesink_render):
19213 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19214 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
19215 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
19216 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
19217 (gst_filesrc_create_read):
19218 * gst/elements/gstidentity.c: (gst_identity_class_init):
19219 * gst/elements/gsttypefindelement.c:
19220 (gst_type_find_element_src_event), (free_entry_buffers),
19221 (gst_type_find_element_handle_event):
19222 * libs/gst/dataprotocol/dataprotocol.c:
19223 (gst_dp_header_from_buffer):
19224 * libs/gst/dataprotocol/dataprotocol.h:
19225 * libs/gst/dataprotocol/dp-private.h:
19227 2005-05-15 David Schleef <ds@schleef.org>
19229 * gst/elements/gstelements.c: Don't include headers that were
19232 2005-05-15 David Schleef <ds@schleef.org>
19234 * gst/elements/Makefile.am: Remove some elements that don't
19235 need to be in the core (or even exist at all).
19236 * gst/elements/gstaggregator.c:
19237 * gst/elements/gstaggregator.h:
19238 * gst/elements/gstmd5sink.c:
19239 * gst/elements/gstmd5sink.h:
19240 * gst/elements/gstmultifilesrc.c:
19241 * gst/elements/gstmultifilesrc.h:
19242 * gst/elements/gstpipefilter.c:
19243 * gst/elements/gstpipefilter.h:
19244 * gst/elements/gstshaper.c:
19245 * gst/elements/gstshaper.h:
19246 * gst/elements/gststatistics.c:
19247 * gst/elements/gststatistics.h:
19248 * po/POTFILES.in: Remove above files.
19250 2005-05-14 Andy Wingo <wingo@pobox.com>
19252 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
19253 so as to get the refs right.
19254 (sink_iterator_filter): New function, wraps bin_element_is_sink,
19255 unreffing objects that don't pass the filter.
19257 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
19258 gst_element_set_bus.
19259 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
19260 normal cases, this will destroy the bus.
19262 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
19265 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
19268 2005-05-13 Andy Wingo <wingo@pobox.com>
19270 * gst/gstutils.c (gst_element_link_pads): Instead of calling
19271 gst_pad_link, call pad_link_maybe_ghosting,
19272 (pad_link_maybe_ghosting): Links pads, making sure that the
19273 elements being linked are in the same bin.
19274 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
19275 Helpers for pad_link_maybe_ghosting.
19277 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
19280 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
19282 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
19284 * docs/design/part-element-source.txt:
19287 2005-05-12 Wim Taymans <wim@fluendo.com>
19289 * gst/base/gstbasesink.c: (gst_basesink_init),
19290 (gst_basesink_activate):
19291 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
19292 (gst_basesrc_is_seekable):
19293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19294 (bin_element_is_sink), (gst_bin_change_state):
19295 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
19296 * gst/gstelement.h:
19297 Identify sinks by their flag to avoid overly complicated
19299 Do state changes even for elements not reachable from the
19301 BaseSink is a sink now :)
19302 Some more debugging info in the basesrc.
19305 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19307 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
19308 Implement _query on a bin, similar to _send_event.
19310 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
19312 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
19313 Discont event offset format should be GST_FORMAT_BYTES,
19314 not GST_FORMAT_TIME.
19316 2005-05-12 Wim Taymans <wim@fluendo.com>
19318 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
19319 Same fix as Ronald's but without the signal.
19321 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19323 * gst/gstutils.c: (gst_element_query_position):
19324 No, an element is not a pad.
19326 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19328 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
19329 (gst_bin_get_state):
19330 If a child is removed from a bin while we remove the child from
19331 the bin and while we're retrieving its state, signal this to the
19332 get_state function so we abort the wait (instead of waiting for
19333 a timeout) and can immediately re-iterate over all other elements.
19335 2005-05-12 Wim Taymans <wim@fluendo.com>
19337 * gst/base/Makefile.am:
19338 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
19339 (gst_basesrc_start):
19340 * gst/base/gstbasesrc.h:
19341 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
19342 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
19343 (gst_pushsrc_init), (gst_pushsrc_create):
19344 * gst/base/gstpushsrc.h:
19345 Added is_seekable to BaseSrc
19346 Added simple PushSrc.
19348 2005-05-11 Wim Taymans <wim@fluendo.com>
19350 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
19351 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19352 (gst_element_link_pads), (gst_element_query_position),
19353 (gst_element_query_convert), (intersect_caps_func),
19354 (gst_pad_query_position), (gst_pad_query_convert):
19355 Fix refcounting in utils function.
19356 No point in trying to activate a pad when it's added, it could
19357 be added from the state change function and then we deadlock, the
19358 element has to decide what to do.
19360 2005-05-10 Andy Wingo <wingo@pobox.com>
19362 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
19363 *all* the arguments.
19365 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
19366 stream lock if it's a FLUSH_DONE; normal flushes don't get the
19367 lock (according to the docs -- if this is wrong change the docs).
19369 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
19370 flush messages in the NULL state.
19372 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
19373 message immediately and return.
19374 (gst_bus_set_flushing): New function. If a bus is flushing, it
19375 flushes out any queued messages and immediately unrefs new
19376 messages. This is so when an element goes to NULL, all of the
19377 unhandled messages coming from it can be freed, and their
19378 references to the element dropped. In other words: message source
19379 ref considered harmful :P
19381 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
19382 we're finished with it.
19384 * gst/gstmessage.c (gst_message_new_state_changed):
19386 2005-05-10 Wim Taymans <wim@fluendo.com>
19388 * gst/gstvalue.c: (gst_value_compare_flags),
19389 (gst_value_serialize_flags), (gst_value_deserialize_flags),
19390 (_gst_value_initialize):
19391 Added flags serialize/deserialize/compare code.
19393 2005-05-09 Andy Wingo <wingo@pobox.com>
19395 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
19396 Intersect the peer's caps with our caps.
19398 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19400 * gst/base/gsttypefindhelper.c: (helper_find_peek):
19401 * gst/elements/gsttypefindelement.c: (find_peek):
19402 Handle negative offsets better. Fixes decodebin.
19404 2005-05-09 Wim Taymans <wim@fluendo.com>
19406 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
19407 (gst_base_transform_event):
19408 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
19409 Implement accept_caps.
19410 Fix silly lock/unlock mismatch in base class.
19412 2005-05-09 Wim Taymans <wim@fluendo.com>
19414 * docs/design/draft-push-pull.txt:
19415 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
19416 * gst/elements/gstfilesink.c: (gst_filesink_init),
19417 (gst_filesink_query):
19418 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
19419 (gst_type_find_handle_src_query), (find_element_get_length):
19420 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
19421 * gst/gstelement.h:
19422 * gst/gstmessage.c:
19423 * gst/gstmessage.h:
19424 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
19425 (gst_real_pad_get_caps_unlocked),
19426 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
19427 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19428 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
19429 (gst_real_pad_dispose), (gst_real_pad_finalize),
19430 (gst_pad_load_and_link), (gst_pad_save_thyself),
19431 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
19432 (gst_pad_check_pull_range), (gst_pad_pull_range),
19433 (gst_pad_template_get_type), (gst_pad_template_class_init),
19434 (gst_pad_template_init), (gst_pad_template_dispose),
19435 (name_is_valid), (gst_static_pad_template_get),
19436 (gst_pad_template_new), (gst_static_pad_template_get_caps),
19437 (gst_pad_template_get_caps), (gst_pad_set_element_private),
19438 (gst_pad_get_element_private), (gst_pad_start_task),
19439 (gst_pad_pause_task), (gst_pad_stop_task),
19440 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
19441 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
19442 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
19443 (gst_ghost_pad_new):
19445 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
19446 (gst_query_new_position), (gst_query_set_position),
19447 (gst_query_parse_position), (gst_query_new_convert),
19448 (gst_query_set_convert), (gst_query_parse_convert):
19450 * gst/gstqueryutils.c:
19451 * gst/gstqueryutils.h:
19452 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
19453 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
19454 (gst_queue_handle_src_query):
19455 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19456 (gst_element_query_position), (gst_element_query_convert),
19457 (intersect_caps_func), (gst_pad_query_position),
19458 (gst_pad_query_convert):
19460 * tools/gst-inspect.c: (print_pad_info):
19461 * tools/gst-xmlinspect.c: (print_element_info):
19462 Remove old query functions. Ported old code.
19463 Added position/convert helper functions to gstutils.
19464 Reordered gstpad.c code, grouping relevant things.
19465 Remove gst_message_new(), always need to speficy a specific
19469 2005-05-09 Andy Wingo <wingo@pobox.com>
19471 * gst/gstiterator.h: Add some includes.
19473 * gst/gstqueryutils.h: Include more headers.
19476 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
19477 some uses of gst_pad_query.
19479 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
19480 NULL out parameters.
19481 (gst_query_new_position): New proc, allocates a new position
19484 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
19485 gstqueryutils.c to the build.
19487 * gst/gststructure.c (gst_structure_set_valist): Implement with
19488 the generic G_VALUE_COLLECT.
19490 2005-05-08 Edward Hervey <bilboed@bilboed.com>
19492 * gst/Makefile.am: (gst_headers):
19493 Added gstqueryutils.h to the list of headers to install, that was
19494 a 'nachty' move wingo :)
19496 2005-05-06 Andy Wingo <wingo@pobox.com>
19499 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
19500 GstData, init a memchunk.
19501 (standard_definitions): Add a few query types, deprecate a few.
19502 (gst_query_get_type): New proc.
19503 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
19505 (gst_query_new_application, gst_query_get_structure): New public
19508 * docs/design/draft-query.txt: Removed LINKS from the query types,
19509 because all the rest can be dispatched to other pads -- seemed
19510 ugly to have a query that couldn't be dispatched. internal_links
19511 is fine as a pad method.
19513 * gst/gstpad.h: Add query2 as a pad method, add the new functions
19514 in gstpad.c, but maintain binary compatibility for the moment.
19515 Will fix before 0.9 is out.
19517 * gst/gstqueryutils.c:
19518 * gst/gstqueryutils.h: New files, implement 3 methods for each
19519 query type: parse_query, parse_response, and set. Probably need an
19522 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
19524 * gst/elements/gstfilesink.c (gst_filesink_query2):
19525 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
19526 query_types, and formats methods.
19528 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
19529 (gst_pad_set_query2_function): New functions.
19530 (gst_real_pad_init): Set query2_default as the default query2
19531 function. Basically just dispatches to internally linked pads.
19535 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
19536 without using the atomic operations. Only one thread can possibly
19537 be accessing the data at this point. Changed so as to avoid
19538 gst_atomic operations.
19540 2005-05-06 Wim Taymans <wim@fluendo.com>
19542 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
19543 Also set caps if we use the fallback buffer alloc.
19545 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
19547 * docs/gst/Makefile.am:
19548 * docs/gst/gstreamer-docs.sgml:
19549 * docs/gst/gstreamer-sections.txt:
19550 * docs/gst/tmpl/gstatomic.sgml:
19551 * docs/gst/tmpl/gstmemchunk.sgml:
19552 * testsuite/elements/struct_i386.h:
19553 * win32/GStreamer.vcproj:
19555 Purge GstAtomic stuff from docs and win32 makefiles as well
19557 2005-05-06 Wim Taymans <wim@fluendo.com>
19559 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
19560 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
19561 * gst/gstpad.c: (gst_pad_peer_get_caps):
19562 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
19563 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
19564 (gst_queue_src_activate), (gst_queue_change_state):
19566 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19567 (intersect_caps_func):
19568 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
19569 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
19570 Some fixes for the peer_get_caps() change.
19572 2005-05-06 Wim Taymans <wim@fluendo.com>
19574 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19575 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
19576 (gst_basesink_activate):
19577 Actually do something with error codes returned from the push
19580 2005-05-06 Wim Taymans <wim@fluendo.com>
19582 * docs/design/part-element-sink.txt:
19583 * docs/design/part-element-source.txt:
19584 * gst/base/gstbasesink.c: (gst_basesink_class_init),
19585 (gst_basesink_event), (gst_basesink_activate):
19586 * gst/base/gstbasesink.h:
19587 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
19588 (gst_basesrc_activate):
19589 * gst/base/gstbasesrc.h:
19590 * gst/gstelement.c: (gst_element_pads_activate):
19591 Some more documentation.
19592 Fixed scheduling decision in _pads_activate().
19594 2005-05-05 Andy Wingo <wingo@pobox.com>
19596 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
19599 2005-05-05 Wim Taymans <wim@fluendo.com>
19601 * gst/base/Makefile.am:
19602 * gst/base/gstbasesink.h:
19603 * gst/base/gstbasesrc.c: (gst_basesrc_init),
19604 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
19605 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
19606 (gst_collectpads_class_init), (gst_collectpads_init),
19607 (gst_collectpads_finalize), (gst_collectpads_new),
19608 (gst_collectpads_set_function), (gst_collectpads_add_pad),
19609 (find_pad), (gst_collectpads_remove_pad),
19610 (gst_collectpads_is_active), (gst_collectpads_collect),
19611 (gst_collectpads_collect_range), (gst_collectpads_start),
19612 (gst_collectpads_stop), (gst_collectpads_peek),
19613 (gst_collectpads_pop), (gst_collectpads_available),
19614 (gst_collectpads_read), (gst_collectpads_flush),
19615 (gst_collectpads_chain):
19616 * gst/base/gstcollectpads.h:
19617 * gst/elements/Makefile.am:
19618 * gst/elements/gstelements.c:
19619 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19620 (gst_fakesink_get_times), (gst_fakesink_event),
19621 (gst_fakesink_preroll), (gst_fakesink_render):
19622 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19623 (gst_filesink_init), (gst_filesink_set_location),
19624 (gst_filesink_open_file), (gst_filesink_close_file),
19625 (gst_filesink_pad_query), (gst_filesink_event),
19626 (gst_filesink_render), (gst_filesink_change_state):
19627 * gst/elements/gstfilesink.h:
19628 Added object to help in making collect pad based elements.
19630 Make event function in sink baseclass return gboolean.
19632 2005-05-05 Wim Taymans <wim@fluendo.com>
19634 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
19635 (gst_bin_get_by_name):
19637 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
19638 (gst_clock_finalize):
19639 * gst/gstdata.c: (gst_data_replace):
19641 * gst/gstelement.c: (gst_element_request_pad),
19642 (gst_element_pads_activate):
19643 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
19644 (gst_object_unref):
19645 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19646 (gst_pad_set_checkgetrange_function),
19647 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
19648 (gst_pad_check_pull_range), (gst_pad_pull_range),
19649 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19650 (gst_pad_pause_task), (gst_pad_stop_task):
19651 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19652 (gst_element_request_pad), (gst_pad_proxy_getcaps):
19653 Fix name lookup in GstBin.
19654 Added _data_replace() function and _buffer_replace()
19655 Use finalize method to clean up clock.
19656 Fix refcounting on request pads.
19657 Fix pad schedule mode error.
19658 Some more object refcounting debug info,
19661 2005-05-04 Andy Wingo <wingo@pobox.com>
19663 * check/Makefile.am:
19664 * docs/gst/tmpl/gstatomic.sgml:
19665 * docs/gst/tmpl/gstplugin.sgml:
19666 * gst/base/gstbasesink.c: (gst_basesink_activate):
19667 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
19668 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
19669 (gst_basesrc_query), (gst_basesrc_set_property),
19670 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
19671 (gst_basesrc_activate):
19672 * gst/base/gstbasesrc.h:
19673 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
19674 (gst_base_transform_src_activate):
19675 * gst/elements/gstelements.c:
19676 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19677 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19678 * gst/elements/gsttee.c: (gst_tee_sink_activate):
19679 * gst/elements/gsttypefindelement.c: (find_element_get_length),
19680 (gst_type_find_element_checkgetrange),
19681 (gst_type_find_element_activate):
19682 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
19683 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
19684 (gst_caps_load_thyself):
19685 * gst/gstelement.c: (gst_element_pads_activate),
19686 (gst_element_save_thyself), (gst_element_restore_thyself):
19687 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
19688 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
19690 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
19691 (gst_xml_parse_file), (gst_xml_parse_memory),
19692 (gst_xml_get_element), (gst_xml_make_element):
19693 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19694 (_file_index_id_save_xml), (gst_file_index_commit):
19695 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
19696 (read_enum), (load_pad_template), (load_feature), (load_plugin),
19698 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
19699 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
19700 * tools/gst-complete.c: (main):
19701 * tools/gst-compprep.c: (main):
19702 * tools/gst-inspect.c: (print_element_properties_info):
19703 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
19704 * tools/gst-xmlinspect.c: (print_element_properties):
19707 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
19709 * gst/gstplugin.c: (gst_plugin_check_module),
19710 (gst_plugin_check_file), (gst_plugin_load_file):
19711 apply patch from #172526 to make register work on MacOSX
19713 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19715 * docs/gst/tmpl/gstconfig.sgml:
19716 * gst/gstconfig.h.in:
19717 move documentation for some symbols. Add doc for GST_PTR_FORMAT
19718 * testsuite/debug/printf_extension.c: (main):
19719 Do not use GST_PTR_FORMAT on pointers to types with
19720 sizeof < sizeof(gpointer). Fixes test on 64-bit
19721 * testsuite/elements/property.h:
19722 use correct printf format
19724 2005-05-02 Wim Taymans <wim@fluendo.com>
19726 * docs/design/draft-push-pull.txt:
19727 * docs/design/draft-query.txt:
19728 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19729 (gst_basesrc_start):
19730 Added draft for new query API.
19731 Added draft for better selecting scheduling methods.
19732 Make basesrc ignore length if the subclass does not support
19735 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19738 possible fixes for automake-1.5 - _LIBADD is reserved
19740 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19742 * docs/faq/Makefile.am:
19743 * docs/manual/Makefile.am:
19744 * docs/manuals.mak:
19745 * docs/pwg/Makefile.am:
19747 possible fixes for automake-1.5
19749 2005-04-28 Wim Taymans <wim@fluendo.com>
19751 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19752 (gst_basesink_pad_getcaps), (gst_basesink_init),
19753 (gst_basesink_do_sync):
19754 * gst/gstclock.c: (gst_clock_entry_new):
19755 * gst/gstevent.c: (gst_event_discont_get_value):
19756 * gst/gstpipeline.c: (pipeline_bus_handler),
19757 (gst_pipeline_change_state):
19758 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19759 Better debugging of clocking info.
19760 Allow NULL values when getting discont values.
19762 2005-04-27 Wim Taymans <wim@fluendo.com>
19764 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19765 * check/gst/gstpad.c: (gst_pad_suite):
19766 Increase timeout for checks.
19768 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19770 * check/Makefile.am:
19771 fix the broken rule for cleanup. Apparently this rule is
19772 only needed on FC2, so maybe this warrants further autotool
19775 2005-04-26 Wim Taymans <wim@fluendo.com>
19777 * gst/gsttrashstack.h:
19778 Ooohh. a nasty one! After having a failed pop() from the stack,
19779 it's possible that the stack is empty. In that case, don't
19780 follow the NULL pointer.
19782 2005-04-25 Wim Taymans <wim@fluendo.com>
19784 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19785 (gst_pad_set_checkgetrange_function),
19786 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19787 (gst_pad_check_pull_range), (gst_pad_pull_range),
19788 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19789 (gst_pad_pause_task), (gst_pad_stop_task):
19790 * gst/gstplugin.c: (gst_plugin_load):
19792 Remove gst_library_load as it does more harm than good with
19793 the new g_module flags.
19794 Revert bogus caps template check in pad linking, pad caps
19795 are important when linking not the template, which is more
19796 general than the current caps.
19798 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19800 * gst/autoplug/.cvsignore:
19801 * gst/autoplug/Makefile.am:
19802 * gst/autoplug/gstsearchfuncs.c:
19803 * gst/autoplug/gstsearchfuncs.h:
19804 * gst/autoplug/gstspider.c:
19805 * gst/autoplug/gstspider.h:
19806 * gst/autoplug/gstspideridentity.c:
19807 * gst/autoplug/gstspideridentity.h:
19808 * gst/autoplug/spidertest.c:
19811 2005-04-25 Wim Taymans <wim@fluendo.com>
19813 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19814 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19815 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19816 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19818 Added stubs for unimplemented functions.
19820 2005-04-24 David Schleef <ds@schleef.org>
19822 * gst/gstpad.h: Disable some unimplemented functions. Wim,
19825 2005-04-24 David Schleef <ds@schleef.org>
19827 Convert everything from GstAtomicInt to g_atomic_int_*, and
19832 * gst/gstatomic_impl.h:
19840 * gst/gstdata_private.h:
19844 * gst/gstmessage.c:
19847 * gst/gststructure.c:
19848 * gst/gststructure.h:
19849 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19852 2005-04-24 David Schleef <ds@schleef.org>
19854 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19855 make the regressions tests work. Remove some code that is no
19857 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19858 Disable warning for pads without templates.
19860 2005-04-24 David Schleef <ds@schleef.org>
19862 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
19863 functions that handle filtered links.
19864 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19866 * gst/gstutils.c: Fix/remove utility functions that handle
19869 * gst/gstvalue.c: Add serialization/deserialization of caps
19870 * gst/parse/grammar.y: Ignore filtered caps when linking. This
19871 requires fixing so that the filter caps notation creates
19872 a capsfilter element and sets the filter_caps property. I
19873 think everyone probably wants to keep the shorthand notation.
19874 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19875 * docs/gst/tmpl/gstpad.sgml:
19877 * gst/elements/gstelements.c: Register capsfilter element.
19878 * gst/Makefile.am: fix spacing
19879 * docs/random/ds/0.9-suggested-changes: random
19881 2005-04-23 David Schleef <ds@schleef.org>
19883 * gst/elements/Makefile.am:
19884 * gst/elements/gstcapsfilter.c: New element that acts like an
19885 identity, but filters caps. Will eventually replace filtered
19886 caps in pad linking.
19887 * gst/gstutils.c: (gst_element_create_all_pads): New function
19888 to create all the ALWAYS pads that are registered with an
19889 element class. This functionality should eventually be
19890 merged in with GstElement initialization.
19892 * testsuite/trigger/README: part of trigger test code that should
19893 have been checked in a long time ago.
19895 2005-04-23 David Schleef <ds@schleef.org>
19897 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
19898 needed with new versions of libtool (nobody will confirm this),
19899 and hard to carry around.
19900 * gst/autoplug/Makefile.am:
19901 * gst/base/Makefile.am:
19902 * gst/elements/Makefile.am:
19903 * gst/indexers/Makefile.am:
19904 * gst/schedulers/Makefile.am:
19905 * libs/gst/bytestream/Makefile.am:
19906 * libs/gst/control/Makefile.am:
19907 * libs/gst/dataprotocol/Makefile.am:
19908 * libs/gst/getbits/Makefile.am:
19910 2005-04-21 Wim Taymans <wim@fluendo.com>
19912 * docs/design/draft-push-pull.txt:
19913 * docs/design/part-MT-refcounting.txt:
19914 * docs/design/part-TODO.txt:
19915 * docs/design/part-caps.txt:
19916 * docs/design/part-events.txt:
19917 * docs/design/part-gstbus.txt:
19918 * docs/design/part-gstpipeline.txt:
19919 * docs/design/part-messages.txt:
19920 * docs/design/part-push-pull.txt:
19921 * docs/design/part-query.txt:
19924 2005-04-21 Wim Taymans <wim@fluendo.com>
19926 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19927 (gst_message_new), (gst_message_new_error),
19928 (gst_message_new_warning), (gst_message_new_tag),
19929 (gst_message_new_state_changed), (gst_message_new_application),
19930 (gst_message_get_structure):
19931 * gst/gstmessage.h:
19932 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19933 (gst_structure_copy_conditional):
19934 Use parent refcount in GstMessage to ensure GstStructure
19936 Cleaned up headers a bit.
19939 2005-04-20 Wim Taymans <wim@fluendo.com>
19941 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19942 (gst_basesink_pad_getcaps), (gst_basesink_init),
19943 (gst_basesink_chain_unlocked):
19944 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19945 (gst_type_find_helper):
19946 * gst/elements/gsttypefindelement.c:
19947 (gst_type_find_element_have_type), (gst_type_find_element_init),
19948 (stop_typefinding), (gst_type_find_element_handle_event),
19949 (find_suggest), (gst_type_find_element_chain),
19950 (gst_type_find_element_checkgetrange),
19951 (gst_type_find_element_getrange), (do_typefind),
19952 (gst_type_find_element_activate):
19953 * gst/gstbuffer.c: (_gst_buffer_sub_free),
19954 (gst_buffer_default_free), (gst_buffer_default_copy),
19955 (gst_buffer_set_caps):
19956 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19957 (gst_caps_replace):
19958 * gst/gstmessage.c: (gst_message_new),
19959 (gst_message_new_state_changed):
19960 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19961 (gst_pad_set_checkgetrange_function),
19962 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19963 (gst_pad_set_caps), (gst_pad_check_pull_range),
19964 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19966 * gst/gsttypefind.c: (gst_type_find_register):
19967 Make gst_caps_replace() work like other _replace() functions.
19968 Use _caps_replace() where possible.
19969 Make sure _message_new() initialises its field.
19970 Add gst_static_pad_template_get_caps()
19973 2005-04-18 Andy Wingo <wingo@pobox.com>
19975 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19976 on the peer, not the pad. I think that was a typo. Pass an extra
19977 arg to see if random access is possible. Activate the pads as
19978 PULL_RANGE if possible.
19980 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19982 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
19983 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19986 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19988 * docs/faq/using.xml:
19989 Add note on gstreamer-properties (#154996).
19991 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19993 * docs/random/bbb/optional-properties:
19994 Some analysis on optional properties.
19996 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19998 * docs/gst/tmpl/gstelementfactory.sgml:
19999 * gst/gstelement.h:
20000 * gst/gstelementfactory.c: (gst_element_factory_init),
20001 (gst_element_factory_cleanup), (gst_element_register),
20002 (__gst_element_factory_add_static_pad_template),
20003 (gst_element_factory_get_static_pad_templates),
20004 (gst_element_factory_can_src_caps),
20005 (gst_element_factory_can_sink_caps):
20006 * gst/registries/Makefile.am:
20007 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
20008 (gst_xml_registry_class_init), (gst_xml_registry_init),
20009 (gst_xml_registry_new), (gst_xml_registry_set_property),
20010 (gst_xml_registry_get_property), (get_time), (make_dir),
20011 (gst_xml_registry_get_perms_func),
20012 (plugin_times_older_than_recurse), (plugin_times_older_than),
20013 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
20014 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
20015 (add_to_char_array), (read_string), (read_uint), (read_enum),
20016 (load_pad_template), (load_feature), (load_plugin), (load_paths),
20017 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
20018 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
20019 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
20020 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
20021 (gst_xml_registry_rebuild):
20022 * gst/registries/gstlibxmlregistry.h:
20023 * tools/gst-compprep.c: (main):
20024 * tools/gst-inspect.c: (print_pad_templates_info):
20025 * tools/gst-xmlinspect.c: (print_element_info):
20026 Use libxml2 for registry parsing, use staticpadtemplates in
20027 elementfactories. Makes gst_init() +/- 10x faster.
20029 2005-04-12 Wim Taymans <wim@fluendo.com>
20031 * gst/base/Makefile.am:
20032 * gst/base/gstbasesink.c: (gst_basesink_base_init),
20033 (gst_basesink_pad_getcaps), (gst_basesink_init),
20034 (gst_basesink_event), (gst_basesink_change_state):
20035 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
20036 (gst_basesrc_init), (gst_basesrc_query),
20037 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
20038 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
20039 (gst_basesrc_check_get_range), (gst_basesrc_loop),
20040 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
20041 (gst_basesrc_stop), (gst_basesrc_activate),
20042 (gst_basesrc_change_state):
20043 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20044 (helper_find_suggest), (gst_type_find_helper):
20045 * gst/base/gsttypefindhelper.h:
20046 * gst/elements/Makefile.am:
20047 * gst/elements/gstelements.c:
20048 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20049 (gst_fakesink_get_times), (gst_fakesink_event),
20050 (gst_fakesink_preroll), (gst_fakesink_render):
20051 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20052 (gst_fakesrc_init), (gst_fakesrc_event_handler),
20053 (gst_fakesrc_get_property), (gst_fakesrc_create),
20054 (gst_fakesrc_start), (gst_fakesrc_stop):
20055 * gst/elements/gstfakesrc.h:
20056 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
20057 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
20058 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
20059 (gst_filesrc_create_read), (gst_filesrc_create),
20060 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
20061 (gst_filesrc_start):
20062 * gst/elements/gsttypefindelement.c:
20063 (gst_type_find_element_have_type), (gst_type_find_element_init),
20064 (start_typefinding), (stop_typefinding), (push_buffer_store),
20065 (gst_type_find_element_handle_event),
20066 (gst_type_find_element_chain),
20067 (gst_type_find_element_checkgetrange),
20068 (gst_type_find_element_getrange), (do_typefind),
20069 (gst_type_find_element_activate),
20070 (gst_type_find_element_change_state):
20071 * gst/elements/gsttypefindelement.h:
20072 * gst/gstpipeline.c: (pipeline_bus_handler):
20073 Added typefind helper.
20074 Small preroll fix in the base sink.
20075 Disable typefind code in basesrc.
20076 Crude port of typefindelement.
20080 2005-04-11 Wim Taymans <wim@fluendo.com>
20082 * check/gst/gstbus.c: (gstbus_suite):
20083 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
20084 * check/gstcheck.h:
20085 Fix up the timeout so that the test does not fail.
20087 2005-04-06 Wim Taymans <wim@fluendo.com>
20090 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
20091 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
20092 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
20093 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
20094 (gst_basesrc_check_get_range), (gst_basesrc_loop),
20095 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
20096 (gst_basesrc_stop), (gst_basesrc_activate),
20097 (gst_basesrc_change_state), (basesrc_find_peek),
20098 (basesrc_find_suggest), (gst_basesrc_type_find):
20099 * gst/base/gstbasesrc.h:
20100 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
20101 (gst_filesrc_class_init), (gst_filesrc_init),
20102 (gst_filesrc_finalize), (gst_filesrc_set_location),
20103 (gst_filesrc_set_property), (gst_filesrc_get_property),
20104 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
20105 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
20106 (gst_filesrc_create_read), (gst_filesrc_create),
20107 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
20108 * gst/elements/gstfilesrc.h:
20109 * gst/gstelement.c: (gst_element_get_state_func),
20110 (gst_element_lost_state), (gst_element_pads_activate):
20111 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20112 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
20113 (gst_pad_pull_range):
20115 More work on the generic source base class, implement seeking,
20117 Make filesrc extend the base source class.
20118 Added gst_pad_set_checkgetrange_function to GstPad.
20120 2005-04-06 Andy Wingo <wingo@pobox.com>
20122 * pkgconfig/gstreamer-base.pc.in:
20123 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
20125 * pkgconfig/Makefile.am:
20126 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
20128 2005-04-04 Wim Taymans <wim@fluendo.com>
20130 * gst/base/Makefile.am:
20132 * gst/base/gstbasesink.c: (gst_basesink_base_init),
20133 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
20134 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
20135 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
20136 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
20137 (gst_basesrc_base_init), (gst_basesrc_class_init),
20138 (gst_basesrc_init), (gst_basesrc_get_formats),
20139 (gst_basesrc_get_query_types), (gst_basesrc_query),
20140 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
20141 (gst_basesrc_set_property), (gst_basesrc_get_property),
20142 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
20143 (gst_basesrc_loop), (gst_basesrc_activate),
20144 (gst_basesrc_change_state):
20145 * gst/base/gstbasesrc.h:
20146 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
20147 (gst_fakesrc_class_init), (gst_fakesrc_init),
20148 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
20149 (gst_fakesrc_get_property), (gst_fakesrc_create):
20150 * gst/elements/gstfakesrc.h:
20151 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
20152 (gst_filesrc_open_file), (gst_filesrc_loop),
20153 (gst_filesrc_activate), (filesrc_find_peek),
20154 (gst_filesrc_type_find):
20155 Made base source class, make fakesrc extend it.
20156 Add comments to basesink class.
20157 Some filesrc cleanup.
20159 2005-03-31 David Schleef <ds@schleef.org>
20161 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
20162 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
20163 expected to link against libgstreamer.
20164 * gst/base/Makefile.am: link against libgstreamer
20165 * gst/elements/Makefile.am: same
20167 2005-03-31 Andy Wingo <wingo@pobox.com>
20169 * tests/instantiate/Makefile.am:
20170 * tests/instantiate/caps.c: Add test to test speed of caps copy
20173 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
20174 GMemChunk to be fair.
20176 * gst/gsttrashstack.h: Remove warning about using the fallback
20177 trash stack implementation, it's still faster than malloc.
20179 2005-03-30 Andy Wingo <wingo@pobox.com>
20181 * tests/complexity.c: Add a copyright.
20183 2005-03-31 Wim Taymans <wim@fluendo.com>
20185 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
20186 (gst_base_transform_class_init), (gst_base_transform_init),
20187 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20188 (gst_base_transform_get_property),
20189 (gst_base_transform_sink_activate),
20190 (gst_base_transform_src_activate),
20191 (gst_base_transform_change_state):
20192 * gst/base/gstbasetransform.h:
20193 * gst/elements/gstidentity.c: (gst_identity_class_init),
20194 (gst_identity_event), (gst_identity_check_perfect),
20195 (gst_identity_transform), (gst_identity_start),
20196 (gst_identity_stop):
20197 Added start/stop methods to transform base class so subclasses
20198 don't need to deal with state changes even.
20200 2005-03-31 Wim Taymans <wim@fluendo.com>
20202 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
20203 (gst_event_new_discontinuous), (gst_event_discont_get_value):
20205 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20206 (gst_pad_pull_range):
20207 Added rate to the discont event to prepare for variable speed
20208 and reverse playback.
20210 2005-03-29 David Schleef <ds@schleef.org>
20213 * testsuite/trigger/Makefile.am:
20214 * testsuite/trigger/trigger.c: A little example program to show
20215 how trigger-based elements can work.
20217 2005-03-29 Wim Taymans <wim@fluendo.com>
20219 * gst/base/Makefile.am:
20221 * gst/base/gstbasesink.c: (gst_basesink_get_type),
20222 (gst_basesink_base_init), (gst_basesink_class_init),
20223 (gst_basesink_pad_getcaps), (gst_basesink_init),
20224 (gst_basesink_activate), (gst_basesink_change_state):
20225 * gst/base/gstbasesink.h:
20226 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
20227 (gst_base_transform_base_init), (gst_base_transform_finalize),
20228 (gst_base_transform_class_init), (gst_base_transform_init),
20229 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
20230 (gst_base_transform_event), (gst_base_transform_getrange),
20231 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
20232 (gst_base_transform_set_property),
20233 (gst_base_transform_get_property),
20234 (gst_base_transform_sink_activate),
20235 (gst_base_transform_src_activate),
20236 (gst_base_transform_change_state):
20237 * gst/base/gstbasetransform.h:
20238 * gst/elements/gstidentity.c: (gst_identity_finalize),
20239 (gst_identity_class_init), (gst_identity_init),
20240 (gst_identity_event), (gst_identity_check_perfect),
20241 (gst_identity_transform), (gst_identity_set_property),
20242 (gst_identity_get_property), (gst_identity_change_state):
20243 * gst/elements/gstidentity.h:
20244 * gst/gstelement.c: (gst_element_get_state_func),
20245 (gst_element_lost_state), (gst_element_pads_activate):
20246 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
20247 (gst_pad_check_pull_range), (gst_pad_pull_range):
20249 Simplify pad activation.
20250 Added function to check if pull_range can be performed.
20251 Error out when pulling inactive or flushing pads.
20252 Removed const from refcounted types as it does not make sense.
20253 Simplify pad templates in basesink
20254 Added base class for simple 1-to-1 transforms.
20255 Make identity subclass the base transform.
20257 2005-03-29 Andy Wingo <wingo@pobox.com>
20259 * docs/libs/gstreamer-libs-overrides.txt:
20260 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
20261 really don't understand what's going on, but like whatever. I want
20264 * docs/gst/Makefile.am:
20265 * docs/libs/Makefile.am: Dist the overrides files.
20267 * check/Makefile.am (clean-local): Remove .libs directories.
20269 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
20270 elements to EXTRA_DIST, so po/ files are happy.
20272 * po/POTFILES.in: Er, remove it here.
20274 * po/POTFILES: Remove gstspider.c.
20276 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
20278 * docs/libs/gstreamer-libs-docs.sgml:
20279 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
20282 * tests/complexity.c (main): Set the length of the preroll queue
20283 on the sinks to prevent a lockup.
20285 * libs/gst/dataprotocol/Makefile.am:
20286 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
20287 the same as the one in check/gst-libs/gdp.c.
20289 * po/, docs/gst/: Commit automatic changes to docs and po files.
20291 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
20292 the versioned libgstbase.
20294 * check/Makefile.am: Depend on an unversioned gst-register, seems
20295 to make autoconf happier.
20297 * gst/base/Makefile.am: Make libgstbase a versioned lib.
20299 2005-03-28 Wim Taymans <wim@fluendo.com>
20302 * docs/design/part-gstelement.txt:
20303 * docs/design/part-negotiation.txt:
20304 * docs/design/part-preroll.txt:
20305 * docs/design/part-scheduling.txt:
20306 * docs/design/part-states.txt:
20308 * gst/base/Makefile.am:
20310 * gst/base/gstbasesink.c: (gst_basesink_get_template),
20311 (gst_basesink_base_init), (gst_basesink_class_init),
20312 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
20313 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
20314 (gst_basesink_set_pad_functions),
20315 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
20316 (gst_basesink_set_property), (gst_basesink_get_property),
20317 (gst_base_sink_get_template), (gst_base_sink_get_caps),
20318 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
20319 (gst_basesink_preroll_queue_push),
20320 (gst_basesink_preroll_queue_empty),
20321 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
20322 (gst_basesink_event), (gst_basesink_get_times),
20323 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
20324 (gst_basesink_chain_unlocked), (gst_basesink_chain),
20325 (gst_basesink_loop), (gst_basesink_activate),
20326 (gst_basesink_change_state):
20327 * gst/base/gstbasesink.h:
20328 * gst/elements/Makefile.am:
20329 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
20330 (gst_fakesink_class_init), (gst_fakesink_init),
20331 (gst_fakesink_set_property), (gst_fakesink_get_property),
20332 (gst_fakesink_get_times), (gst_fakesink_event),
20333 (gst_fakesink_preroll), (gst_fakesink_render),
20334 (gst_fakesink_change_state):
20335 * gst/elements/gstfakesink.h:
20336 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
20337 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
20338 * gst/gstelement.c: (gst_element_add_pad),
20339 (gst_element_get_state_func), (gst_element_abort_state),
20340 (gst_element_commit_state), (gst_element_lost_state),
20341 (gst_element_set_state), (gst_element_pads_activate):
20342 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
20343 * gst/gstpipeline.c: (gst_pipeline_send_event),
20344 (gst_pipeline_change_state):
20345 Added state change code.
20346 Added/updated docs.
20347 Added sink base class, make fakesink extend the base class.
20348 Small cleanups in GstPipeline.
20350 2005-03-26 David Schleef <ds@schleef.org>
20352 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
20353 is broken and should be implemented in a different library.
20354 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
20355 * gst/gst.h: remove gstcpu.h
20356 * gst/gstcpu.c: remove
20357 * gst/gstcpu.h: remove
20358 * gst/Makefile.am.future: Remove this file. It's ancient.
20360 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20362 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
20363 (gst_bin_send_event):
20364 Add default event/set_manager handlers. The set_manager handler
20365 takes care that the manager is distributed over kids that were
20366 already in the bin before the manager was set. The event handler
20367 is a utility virtual function that sends the event over all sinks,
20368 so that gst_element_send_event (bin, event); has the expected
20370 * gst/gstpad.c: (gst_pad_event_default):
20371 Re-install default event handling for discontinuities, so that
20372 seeking works without requiring hacks in applications or extra
20374 * gst/gstpipeline.c: (gst_pipeline_class_init),
20375 (gst_pipeline_send_event):
20376 Half hack, half utility: set a pipeline to PAUSED for seek events,
20377 since that is the only way we can guarantee a/v sync. Means that
20378 you can do gst_element_seek (pipeline, method, pos); on a pipeline
20379 and it "just works".
20381 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20383 * gst/gstpipeline.c: (gst_pipeline_use_clock):
20384 Lock/unlock mismatch.
20386 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
20388 * docs/faq/gst-uninstalled:
20389 add gst-plugins-base
20390 * docs/gst/Makefile.am:
20391 don't error out until docs are fixed
20392 * docs/gst/gstreamer.types:
20395 2005-03-22 Wim Taymans <wim@fluendo.com>
20397 * check/Makefile.am:
20398 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
20399 * gst/gststructure.c: (gst_structure_set_valist),
20400 (gst_structure_copy_conditional):
20401 Activated more tests.
20402 Added message test.
20403 Added G_TYPE_POINTER to GstStructure.
20406 2005-03-22 Wim Taymans <wim@fluendo.com>
20408 * docs/design/part-TODO.txt:
20409 * docs/design/part-events.txt:
20410 * docs/design/part-gstbin.txt:
20411 * docs/design/part-gstbus.txt:
20412 * docs/design/part-gstpipeline.txt:
20413 * docs/design/part-messages.txt:
20415 * gst/gstmessage.c:
20418 2005-03-21 Wim Taymans <wim@fluendo.com>
20420 * gst/gstbus.c: (gst_bus_post):
20421 Fix copy-and-paste error.
20423 2005-03-21 Wim Taymans <wim@fluendo.com>
20425 * check/Makefile.am:
20427 * gst/elements/Makefile.am:
20428 * gst/elements/gstelements.c:
20429 * gst/elements/gstfakesink.c: (gst_fakesink_init),
20430 (gst_fakesink_event), (gst_fakesink_chain):
20431 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20432 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
20433 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
20434 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
20435 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
20436 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
20437 (gst_fakesrc_loop), (gst_fakesrc_activate),
20438 (gst_fakesrc_change_state):
20439 * gst/elements/gstfakesrc.h:
20440 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
20441 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
20442 (gst_filesrc_open_file), (gst_filesrc_loop),
20443 (gst_filesrc_activate), (gst_filesrc_change_state),
20444 (filesrc_find_peek), (filesrc_find_suggest),
20445 (gst_filesrc_type_find):
20446 * gst/elements/gstidentity.c: (gst_identity_finalize),
20447 (gst_identity_class_init), (gst_identity_init),
20448 (gst_identity_proxy_getcaps), (identity_queue_push),
20449 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
20450 (gst_identity_getrange), (gst_identity_chain),
20451 (gst_identity_sink_loop), (gst_identity_src_loop),
20452 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
20453 (gst_identity_set_property), (gst_identity_get_property),
20454 (gst_identity_change_state):
20455 * gst/elements/gstidentity.h:
20456 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
20457 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
20458 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
20459 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
20460 (gst_tee_sink_activate):
20461 * gst/elements/gsttee.h:
20462 * gst/gst.c: (gst_register_core_elements), (init_post):
20464 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
20465 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
20466 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
20467 (gst_bin_change_state):
20469 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
20470 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
20471 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
20472 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
20473 (gst_bus_set_sync_handler), (gst_bus_create_watch),
20474 (bus_watch_callback), (bus_watch_destroy),
20475 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
20476 (poll_timeout), (gst_bus_poll):
20480 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20481 (gst_element_post_message), (gst_element_message_full),
20482 (gst_element_get_state_func), (gst_element_get_state),
20483 (gst_element_abort_state), (gst_element_commit_state),
20484 (gst_element_lost_state), (gst_element_set_state),
20485 (gst_element_pads_activate), (gst_element_change_state),
20486 (gst_element_dispose), (gst_element_set_manager_func),
20487 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
20488 (gst_element_set_manager), (gst_element_get_manager),
20489 (gst_element_set_bus), (gst_element_get_bus),
20490 (gst_element_set_scheduler), (gst_element_get_scheduler):
20491 * gst/gstelement.h:
20492 * gst/gstevent.c: (gst_event_new_segment_seek),
20493 (gst_event_new_flush):
20495 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
20496 (_gst_message_free), (gst_message_get_type), (gst_message_new),
20497 (gst_message_new_eos), (gst_message_new_error),
20498 (gst_message_new_warning), (gst_message_new_tag),
20499 (gst_message_new_state_changed), (gst_message_new_application),
20500 (gst_message_get_structure), (gst_message_parse_tag),
20501 (gst_message_parse_state_changed), (gst_message_parse_error),
20502 (gst_message_parse_warning):
20503 * gst/gstmessage.h:
20504 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
20505 (gst_real_pad_set_property), (gst_pad_set_active),
20506 (gst_pad_is_active), (gst_pad_set_blocked_async),
20507 (gst_pad_set_blocked), (gst_pad_is_blocked),
20508 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
20509 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
20510 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
20511 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
20512 (gst_pad_link_filtered), (gst_pad_relink_filtered),
20513 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
20514 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
20515 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
20516 (gst_pad_set_caps), (gst_pad_configure_sink),
20517 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
20518 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
20519 (gst_real_pad_dispose), (gst_real_pad_finalize),
20520 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
20521 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20522 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
20524 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
20525 (pipeline_bus_handler), (gst_pipeline_change_state),
20526 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
20527 * gst/gstpipeline.h:
20529 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20530 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
20531 (gst_queue_link_src), (gst_queue_bufferalloc),
20532 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
20533 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
20534 (gst_queue_loop), (gst_queue_handle_src_event),
20535 (gst_queue_handle_src_query), (gst_queue_src_activate),
20536 (gst_queue_change_state):
20538 * gst/gstscheduler.c: (gst_scheduler_init),
20539 (gst_scheduler_dispose), (gst_scheduler_create_task),
20540 (gst_scheduler_factory_create):
20541 * gst/gstscheduler.h:
20542 * gst/gststructure.c: (gst_structure_get_type),
20543 (gst_structure_copy_conditional):
20544 * gst/gststructure.h:
20545 * gst/gsttaginterface.h:
20546 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20547 (gst_task_init), (gst_task_dispose), (gst_task_create),
20548 (gst_task_get_state), (gst_task_start), (gst_task_stop),
20554 * gst/schedulers/Makefile.am:
20555 * gst/schedulers/cothreads_compat.h:
20556 * gst/schedulers/entryscheduler.c:
20557 * gst/schedulers/faircothreads.c:
20558 * gst/schedulers/faircothreads.h:
20559 * gst/schedulers/fairscheduler.c:
20560 * gst/schedulers/gstbasicscheduler.c:
20561 * gst/schedulers/gstoptimalscheduler.c:
20562 * gst/schedulers/gthread-cothreads.h:
20563 * gst/schedulers/threadscheduler.c:
20564 (gst_thread_scheduler_task_get_type),
20565 (gst_thread_scheduler_task_class_init),
20566 (gst_thread_scheduler_task_init),
20567 (gst_thread_scheduler_task_start),
20568 (gst_thread_scheduler_task_stop),
20569 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
20570 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20571 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
20572 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
20574 * libs/gst/Makefile.am:
20575 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
20576 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
20577 (gst_file_pad_parent_set):
20578 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20579 (gst_dp_event_from_packet):
20580 * tests/complexity.c: (main):
20581 * tests/mass_elements.c: (main):
20582 * testsuite/states/locked.c: (message_received), (main):
20583 * testsuite/states/parent.c: (main):
20584 * tools/gst-inspect.c: (print_element_flag_info),
20585 (print_implementation_info), (print_pad_info):
20586 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
20588 * tools/gst-md5sum.c: (event_loop), (main):
20589 * tools/gst-typefind.c: (main):
20590 * tools/gst-xmlinspect.c: (print_element_info):
20592 Added GstBus for mainloop integration.
20593 Added GstMessage for sending notifications on the bus.
20594 Added GstTask as an abstraction for pipeline entry points.
20596 Removed Schedulers.
20597 Simplified GstQueue for multithreaded core.
20598 Made _link threadsafe, removed old capsnego.
20599 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
20600 Added pad blocking functions.
20601 Reworked scheduling functions in GstPad to prepare for
20602 scheduling updates soon.
20603 Moved events out of data stream.
20604 Simplified GstEvent types.
20605 Added return values to push/pull.
20606 Removed clocking from GstElement.
20607 Added prototypes for state change function for next merge.
20608 Removed iterate from bins and state change management.
20609 Fixed some elements, disabled others for now.
20610 Fixed -inspect and -launch.
20611 Added check for GstBus.
20613 2005-03-10 Wim Taymans <wim@fluendo.com>
20615 * docs/design/part-MT-refcounting.txt:
20616 * docs/design/part-clocks.txt:
20617 * docs/design/part-gstelement.txt:
20618 * docs/design/part-gstobject.txt:
20619 * docs/design/part-standards.txt:
20620 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20621 (gst_bin_remove_func), (gst_bin_remove):
20625 * testsuite/clock/clock1.c: (main):
20626 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
20628 * testsuite/dlopen/loadgst.c: (do_test):
20629 * testsuite/refcounting/bin.c: (add_remove_test1),
20630 (add_remove_test2), (main):
20631 * testsuite/refcounting/element.c: (main):
20632 * testsuite/refcounting/element_pad.c: (main):
20633 * testsuite/refcounting/pad.c: (main):
20634 * tools/gst-launch.c: (sigint_handler_sighandler):
20635 * tools/gst-typefind.c: (main):
20637 Added doc about clock.
20638 removed gst_bin_iterate_recurse_up(), marked methods
20640 Fix more testsuites.
20642 2005-03-09 Wim Taymans <wim@fluendo.com>
20644 * gst/gstpad.c: (gst_pad_get_direction),
20645 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
20646 (gst_pad_collect_valist):
20647 * testsuite/bins/interface.c: (main):
20648 * testsuite/caps/audioscale.c: (test_caps):
20649 * testsuite/caps/caps.c: (test1), (test2), (test3):
20650 * testsuite/caps/deserialize.c: (main):
20651 * testsuite/caps/enumcaps.c: (main):
20652 * testsuite/caps/filtercaps.c: (main):
20653 * testsuite/caps/intersect2.c: (main):
20654 * testsuite/caps/random.c: (main):
20655 * testsuite/caps/renegotiate.c: (my_fixate), (main):
20656 * testsuite/caps/sets.c: (check_caps):
20657 * testsuite/caps/simplify.c: (check_caps), (main):
20658 * testsuite/caps/subtract.c: (check_caps):
20659 Fix _pad_get_direction wrt ghostpads.
20660 Fix caps testsuite.
20662 2005-03-09 Wim Taymans <wim@fluendo.com>
20664 * check/Makefile.am:
20665 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
20666 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
20667 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
20668 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
20669 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
20670 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
20671 (gst_bin_remove), (gst_bin_iterate_recurse_up),
20672 (bin_element_is_sink), (gst_bin_iterate_sinks),
20673 (gst_bin_iterate_all_by_interface):
20675 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
20676 (gst_element_change_state), (gst_element_dispose),
20677 (gst_element_finalize), (gst_element_set_loop_function):
20678 * gst/gstelement.h:
20679 * gst/gstiterator.c: (find_custom_fold_func):
20680 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20681 (gst_pad_collectv), (gst_pad_collect_valist),
20682 (gst_pad_template_new):
20683 * gst/gstpipeline.c: (gst_pipeline_class_init),
20684 (gst_pipeline_dispose), (gst_pipeline_set_property),
20685 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
20686 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
20687 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
20689 * gst/schedulers/entryscheduler.c:
20690 * gst/schedulers/gstbasicscheduler.c:
20691 (gst_basic_scheduler_cothreaded_chain),
20692 (gst_basic_scheduler_chain_add_element):
20693 * testsuite/bins/interface.c: (main):
20695 Added GstSystemClock test.
20696 Implemented clock distribution code in GstBin.
20697 Implemented iterate sinks method for future use.
20698 Rearranged gstelement.h
20699 Fix GstIterator comparison bug.
20700 Moved some code to GstPipeline, mostly clocking related.
20702 2005-03-09 Wim Taymans <wim@fluendo.com>
20705 * gst/gst_private.h:
20706 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20707 (gst_bin_remove_func), (gst_bin_remove),
20708 (gst_bin_get_by_name_recurse_up):
20709 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
20710 (gst_clock_id_compare_func), (gst_clock_id_wait),
20711 (gst_clock_id_wait_async), (gst_clock_init),
20712 (gst_clock_adjust_unlocked), (gst_clock_get_time):
20713 * gst/gstelement.h:
20714 * gst/gstinfo.c: (_gst_debug_init):
20716 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20717 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20719 Bump version number, we're now 0.9.0
20720 Add future debugging category.
20721 Fix NULL _unref() in _get_by_name_recurse_up
20722 Rearrange gstpad.h.
20725 2005-03-08 Wim Taymans <wim@fluendo.com>
20727 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20728 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20729 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20730 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20731 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20732 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20733 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20734 * gst/elements/gstidentity.c: (gst_identity_class_init):
20735 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20736 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20737 * gst/elements/gstshaper.c: (gst_shaper_class_init):
20738 * gst/elements/gststatistics.c: (gst_statistics_class_init):
20739 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20741 * gst/gstelement.c: (gst_element_class_init),
20742 (gst_element_base_class_init), (gst_element_init),
20743 (gst_element_get_random_pad), (gst_element_wait_state_change),
20744 (gst_element_change_state), (gst_element_dispose),
20745 (gst_element_finalize), (gst_element_set_loop_function):
20746 * gst/gstelement.h:
20747 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20748 * gst/gstthread.c: (gst_thread_class_init),
20749 (gst_thread_release_children_locks), (gst_thread_change_state):
20750 * gst/schedulers/gstbasicscheduler.c:
20751 (gst_basic_scheduler_loopfunc_wrapper),
20752 (gst_basic_scheduler_chain_wrapper),
20753 (gst_basic_scheduler_src_wrapper),
20754 (gst_basic_scheduler_remove_element):
20755 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20756 Remove threadsafe properties. Fix elements because GObject
20757 complains when installing a property before declaring a
20758 set/get_property handler.
20759 Rearrange gstelement.h file, use STATE macros for state locks.
20760 Free mutexes in the finalize method instead of dispose.
20762 2005-03-08 Wim Taymans <wim@fluendo.com>
20764 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20765 * gst/gstthread.c: (gst_thread_release_children_locks):
20766 Added parentage check.
20767 Fix build og GstThread again.
20769 2005-03-08 Wim Taymans <wim@fluendo.com>
20771 * docs/design/part-MT-refcounting.txt:
20772 * docs/design/part-conventions.txt:
20773 * docs/design/part-gstobject.txt:
20774 * docs/design/part-relations.txt:
20775 * docs/design/part-standards.txt:
20776 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20777 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20778 (gst_bin_get_by_name), (gst_bin_get_by_interface),
20779 (gst_bin_iterate_all_by_interface):
20782 * gst/gstelement.c: (gst_element_class_init),
20783 (gst_element_change_state), (gst_element_set_loop_function):
20784 * gst/gstelement.h:
20785 * gst/gstiterator.c:
20786 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20787 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20788 (gst_object_dispatch_properties_changed), (gst_object_set_name),
20789 (gst_object_set_parent), (gst_object_unparent),
20790 (gst_object_check_uniqueness):
20792 Docs updates, clean up some headers.
20794 2005-03-07 Wim Taymans <wim@fluendo.com>
20796 * check/.cvsignore:
20797 * check/Makefile.am:
20798 * check/gst-libs/.cvsignore:
20799 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20800 * check/gst/.cvsignore:
20801 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20802 (START_TEST), (gstbus_suite), (main):
20803 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20804 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20805 (gst_data_suite), (main):
20806 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20807 (add_fold_func), (gstiterator_suite), (main):
20808 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20809 (thread_name_object), (thread_name_object_default),
20810 (gst_object_name_compare), (gst_object_suite), (main):
20811 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20812 (gst_pad_suite), (main):
20813 * check/gstcheck.c: (gst_check_log_message_func),
20814 (gst_check_log_critical_func), (gst_check_init):
20815 * check/gstcheck.h:
20816 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20817 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20820 2005-03-07 Wim Taymans <wim@fluendo.com>
20822 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20823 (gst_list_iterator_next), (gst_list_iterator_resync),
20824 (gst_list_iterator_free), (gst_iterator_new_list),
20825 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20826 (gst_iterator_free), (gst_iterator_push), (filter_next),
20827 (filter_resync), (filter_uninit), (filter_free),
20828 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20829 (gst_iterator_foreach), (find_custom_fold_func),
20830 (gst_iterator_find_custom):
20831 * gst/gstiterator.h:
20832 Added missing files.
20834 2005-03-07 Wim Taymans <wim@fluendo.com>
20838 * docs/design/part-MT-refcounting.txt:
20839 * docs/design/part-conventions.txt:
20840 * docs/design/part-gstobject.txt:
20841 * docs/design/part-relations.txt:
20842 * examples/mixer/mixer.c: (main):
20843 * examples/thread/thread.c: (eos), (main):
20845 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20846 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20847 (gst_spider_plug_from_srcpad):
20848 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20849 (gst_spider_identity_change_state),
20850 (gst_spider_identity_sink_loop_type_finding):
20851 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20852 * gst/elements/gstidentity.c: (gst_identity_init):
20853 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20854 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20855 * gst/elements/gsttypefindelement.c: (free_entry):
20858 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20859 (gst_bin_set_clock_func), (gst_bin_auto_clock),
20860 (gst_bin_set_index), (gst_bin_set_element_sched),
20861 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20862 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20863 (gst_bin_iterate_elements), (iterate_child_recurse),
20864 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20865 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20866 (compare_interface), (gst_bin_get_by_interface),
20867 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20869 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20870 (gst_buffer_default_free), (gst_buffer_default_copy),
20871 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20872 (gst_buffer_create_sub):
20874 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20875 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20876 (gst_caps_unref), (gst_static_caps_get),
20877 (gst_caps_remove_and_get_structure), (gst_caps_append),
20878 (gst_caps_append_structure), (gst_caps_remove_structure),
20879 (gst_caps_copy_nth), (gst_caps_set_simple),
20880 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20881 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20882 (gst_caps_structure_intersect_field), (gst_caps_intersect),
20883 (gst_caps_structure_subtract_field), (gst_caps_subtract),
20884 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20885 (gst_caps_structure_figure_out_union),
20886 (gst_caps_switch_structures), (gst_caps_do_simplify),
20887 (gst_caps_replace), (gst_caps_from_string),
20888 (gst_caps_copy_conditional):
20890 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20891 (_gst_clock_id_free), (gst_clock_id_unref),
20892 (gst_clock_id_compare_func), (gst_clock_id_wait),
20893 (gst_clock_id_wait_async), (gst_clock_class_init),
20894 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20895 (gst_clock_get_time), (gst_clock_set_time_adjust),
20896 (gst_clock_set_property), (gst_clock_get_property):
20899 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20900 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20902 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20903 (gst_element_requires_clock), (gst_element_provides_clock),
20904 (gst_element_set_clock), (gst_element_clock_wait),
20905 (gst_element_wait), (gst_element_set_time_delay),
20906 (gst_element_is_indexable), (gst_element_add_pad),
20907 (gst_element_add_ghost_pad), (gst_element_remove_pad),
20908 (pad_compare_name), (gst_element_get_static_pad),
20909 (gst_element_request_pad), (gst_element_get_request_pad),
20910 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20911 (gst_element_class_get_pad_template_list),
20912 (gst_element_class_get_pad_template), (gst_element_error_func),
20913 (gst_element_get_random_pad), (gst_element_get_event_masks),
20914 (gst_element_send_event), (gst_element_seek),
20915 (gst_element_get_query_types), (gst_element_query),
20916 (gst_element_get_formats), (gst_element_convert),
20917 (gst_element_is_locked_state), (gst_element_set_locked_state),
20918 (gst_element_sync_state_with_parent), (gst_element_change_state),
20919 (gst_element_finalize), (gst_element_yield),
20920 (gst_element_interrupt), (gst_element_set_scheduler),
20921 (gst_element_get_scheduler), (gst_element_set_loop_function):
20922 * gst/gstelement.h:
20924 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20925 (gst_format_get_by_nick), (gst_format_get_details),
20926 (gst_format_iterate_definitions):
20928 * gst/gstindex.c: (gst_index_gtype_resolver):
20931 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20932 (gst_mem_chunk_free):
20933 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20934 (gst_object_ref), (gst_object_unref), (gst_object_sink),
20935 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20936 (gst_object_dispatch_properties_changed),
20937 (gst_object_set_name_default), (gst_object_set_name),
20938 (gst_object_get_name), (gst_object_set_name_prefix),
20939 (gst_object_get_name_prefix), (gst_object_set_parent),
20940 (gst_object_get_parent), (gst_object_unparent),
20941 (gst_object_check_uniqueness), (gst_object_save_thyself),
20942 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20943 (gst_object_set_property), (gst_object_get_property),
20944 (gst_object_get_path_string):
20946 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20947 (gst_real_pad_init), (gst_real_pad_get_property),
20948 (gst_pad_custom_new), (gst_pad_get_direction),
20949 (gst_pad_set_active), (gst_pad_is_active),
20950 (gst_pad_set_event_function), (gst_pad_is_linked),
20951 (gst_pad_link_free), (gst_pad_link_intersect),
20952 (gst_pad_link_fixate), (gst_pad_set_caps),
20953 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20954 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20955 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20956 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20957 (gst_pad_get_caps), (gst_pad_peer_get_caps),
20958 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20959 (gst_pad_realize), (gst_pad_get_allowed_caps),
20960 (gst_real_pad_dispose), (gst_real_pad_finalize),
20961 (gst_pad_collectv), (gst_pad_collect_valist),
20962 (gst_pad_template_dispose), (gst_pad_template_new),
20963 (gst_pad_get_internal_links):
20965 * gst/gstpipeline.c: (gst_pipeline_dispose),
20966 (gst_pipeline_change_state):
20967 * gst/gstpipeline.h:
20969 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20970 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20971 * gst/gstpluginfeature.h:
20972 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20973 * gst/gstquery.c: (_gst_query_type_initialize),
20974 (gst_query_type_register), (gst_query_type_get_by_nick),
20975 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20977 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20978 * gst/gstscheduler.c: (gst_scheduler_add_element),
20979 (gst_scheduler_factory_create):
20980 * gst/gststructure.c: (gst_structure_set_parent_refcount),
20981 (gst_structure_free), (gst_structure_set_name),
20982 (gst_structure_id_set_value), (gst_structure_set_value),
20983 (gst_structure_set_valist), (gst_structure_remove_field),
20984 (gst_structure_remove_fields),
20985 (gst_structure_remove_fields_valist),
20986 (gst_structure_remove_all_fields), (gst_structure_foreach),
20987 (gst_structure_map_in_place),
20988 (gst_caps_structure_fixate_field_nearest_int),
20989 (gst_caps_structure_fixate_field_nearest_double):
20990 * gst/gststructure.h:
20991 * gst/gstsystemclock.c: (gst_system_clock_class_init),
20992 (gst_system_clock_init), (gst_system_clock_dispose),
20993 (gst_system_clock_async_thread),
20994 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20995 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20996 * gst/gstsystemclock.h:
20997 * gst/gsttag.c: (gst_tag_list_add_value_internal),
20998 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20999 * gst/gsttaginterface.c:
21000 * gst/gstthread.c: (gst_thread_dispose),
21001 (gst_thread_release_children_locks), (gst_thread_change_state),
21002 (gst_thread_main_loop):
21003 * gst/gsttrashstack.h:
21004 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
21006 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21007 (gst_element_request_pad), (gst_element_get_pad_from_template),
21008 (gst_element_request_compatible_pad),
21009 (gst_element_get_compatible_pad_filtered),
21010 (gst_element_get_compatible_pad), (gst_element_state_get_name),
21011 (gst_element_link_pads_filtered), (gst_element_link_filtered),
21012 (gst_element_link_many), (gst_element_link),
21013 (gst_element_link_pads), (gst_element_unlink_pads),
21014 (gst_element_unlink_many), (gst_element_unlink),
21015 (gst_pad_can_link_filtered), (gst_pad_can_link),
21016 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
21017 (gst_object_default_error), (gst_bin_add_many),
21018 (gst_bin_remove_many), (gst_element_populate_std_props),
21019 (gst_element_class_install_std_props), (gst_buffer_merge),
21020 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
21021 (link_fold_func), (gst_pad_proxy_setcaps):
21023 * gst/gstvalue.c: (gst_value_deserialize_string):
21024 * gst/parse/grammar.y:
21025 * gst/schedulers/gstbasicscheduler.c:
21026 (gst_basic_scheduler_cothreaded_chain),
21027 (gst_basic_scheduler_chain_recursive_add),
21028 (gst_basic_scheduler_pad_link):
21029 * gst/schedulers/gstoptimalscheduler.c:
21030 (get_group_schedule_function),
21031 (gst_opt_scheduler_state_transition),
21032 (gst_opt_scheduler_add_element), (element_get_reachables_func):
21033 * libs/gst/bytestream/bytestream.c:
21034 * libs/gst/dataprotocol/dataprotocol.c:
21035 (gst_dp_header_from_buffer):
21038 * tests/threadstate/threadstate2.c: (eos):
21039 * tools/gst-compprep.c: (main):
21040 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
21041 (print_pad_info), (print_children_info):
21042 * tools/gst-launch.c: (idle_func), (main):
21043 * tools/gst-md5sum.c: (idle_func), (main):
21044 * tools/gst-xmlinspect.c: (print_element_info):
21045 First THREADED backport attempt, focusing on adding locks and
21046 making sure the API is threadsafe. Needs more work. More docs
21049 2005-02-24 Andy Wingo <wingo@pobox.com>
21051 * tests/bench-complexity.scm:
21052 * tests/complexity.gnuplot: New files, good for running complexity
21055 * tests/Makefile.am:
21056 * tests/complexity.c: New test, sets up N elements, at each level
21057 teeing into M streams per element. Eeeenteresting.
21059 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
21060 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
21061 running bench-mass_elements.scm.
21063 * tests/bench-mass_elements.scm: New script, runs mass_elements
21064 for various numbers of identities, outputting the results to a
21065 file. Requires guile 1.6. Just for testing.
21067 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
21069 * gst/schedulers/fairscheduler.c:
21070 compile with debug disabled
21072 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
21075 hunting season on 0.9 is now OPEN