1 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3 * docs/design/draft-tagreading.txt:
4 * docs/random/ensonic/profiling.txt:
5 Update fast tagreading draft and performance profiling ideas.
7 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
9 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
10 Don't hold the object lock when unreffing a buffer because it could
11 cause a deadlock when the finalize function wants to grab the object
12 lock too. Fixes #495133.
14 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
16 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
17 (gst_segment_to_stream_time), (gst_segment_to_running_time):
18 Also accumulate time correctly when doing reverse playback. Fixes
20 When converting to running and stream time, use default values for
21 start/stop/time/accum when comparing different formats. Fixes #494245.
23 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
24 Do running/stream time in TIME format.
26 * tests/check/gst/gstsegment.c: (GST_START_TEST),
28 2 new unit tests for segment accumulation.
30 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
32 * gst/gst.c: (init_pre):
33 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
34 (_gst_debug_bin_to_dot_file):
35 Move getenv() back into gst_init, so everyone can live happily
36 ever after. Make sure the symbol isn't exported though.
38 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
40 Patch by: Sebastien Moutte <sebastien moutte net>
42 * win32/common/gstenumtypes.c:
43 * win32/common/gstenumtypes.h:
46 * win32/vs6/libgstreamer.dsp:
47 Update vs6 project files (#494343).
49 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
51 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
52 (gst_base_src_perform_seek), (gst_base_src_default_event),
53 (gst_base_src_set_flushing), (gst_base_src_activate_push),
54 (gst_base_src_activate_pull):
55 Unify flushing code, remove some old unlock code that is no longer used.
56 Take the streaming lock when seeking to avoid races. Fixes #492729.
57 Added some more comments.
59 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
61 * gst/gst.c: (_gst_disable_segtrap):
62 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
63 we can use gst_segtrap_is_enabled() there now that we have that API.
64 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
65 to do the getenv here (and export the variable).
67 * gst/gstdebugutils.c: (debug_dump_element),
68 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
69 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
71 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
72 (gst_debug_log_default):
73 Rename _gst_info_start_time to priv_gst_info_start_time so it
74 doesn't get exported (was never in any header).
76 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
77 (gst_plugin_loading_mutex):
78 Make static mutex gst_plugin_loading_mutex really static (was never
79 in any header), and use gst_segtrap_is_enabled() instead of
82 * gst/gsttrace.c: (_gst_trace_default):
83 Make local _gst_trace_default static (was never in any header).
85 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
87 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
89 * win32/common/libgstbase.def:
90 * win32/common/libgstcontroller.def:
91 * win32/common/libgstdataprotocol.def:
92 * win32/common/libgstnet.def:
93 * win32/common/libgstreamer.def:
94 Add more missing symbols, remove some duplicates, and sort
95 as the 'sort' command sorts it (partially fixes #493983).
97 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
99 * gst/gstelement.c: (gst_element_set_state_func):
100 Only change the state cookie if a different state was set on the
101 element. See #492729.
103 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
106 Remove unused and uninitialised type variables that were still
107 exported for some reason (they were never in any header files
110 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
112 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
113 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
114 (gst_base_sink_event), (gst_base_sink_get_position_last),
115 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
116 (gst_base_sink_change_state):
117 Don't try to report a 0 position when we don't know, return -1 and FALSE
118 instead. This mostly happens when we are prerolling.
119 Make sure we can report the right position before we post the ASYNC_DONE
120 message so that a message handler can query position without races.
122 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
123 (async_done_handoff), (async_done_func), (send_buffer),
124 (async_done_eos_func), (gst_sinks_suite):
125 Add two tests for the above.
127 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
130 Update with new email address.
132 * docs/design/part-TODO.txt:
133 Add some more info about future pad-block and negotiation changes.
135 * docs/design/part-buffering.txt:
136 Add some ideas about buffering reporting.
138 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
140 * tests/check/gst/gstobject.c:
141 Disable silly racy test that always fails on this combination of CPU
144 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
146 Patch by: Murray Cumming <murrayc@murrayc.com>
149 Corrected the registration of the parent-set and parent-unset
150 signals: The parameter is a GstObject, not a GObject (#493134).
152 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
163 Move declaration of private _gst_foo_initialize() functions into
164 our private header file where they should have been all along.
166 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
168 * docs/plugins/gstreamer-plugins-sections.txt:
169 * gst/gstdebugutils.h:
171 * plugins/elements/gstqueue.c:
172 gtk-doc fixes; trailing-comma-in-enum fix.
174 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
176 * gst/gst.c: (gst_deinit):
177 Clean up on deinit (not the external ones though, doesn't seem to be
178 needed for some reason).
180 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
182 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
183 Remove __declspec(dllimport) for MSVC that was copied over into core
184 from a plugin, obviously without ever having been tested (note the
185 single underscore in _declspec in the initial commit), and that doesn't
186 really make sense. See #492077.
188 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
190 * gst/gst.c: (init_post):
191 * gst/gstevent.c: (_gst_event_initialize):
192 * gst/gstquery.c: (_gst_query_initialize):
193 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
194 g_type_class_ref() other types as well, see #349410 and #64764.
196 * gst/gstbuffer.c: (_gst_buffer_initialize):
197 * gst/gstmessage.c: (_gst_message_initialize):
198 Simplify existing g_type_class_ref().
200 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
202 * gst/gstformat.c: (_gst_format_initialize):
203 g_type_class_ref() our GstFormat type to make sure we avoid the
204 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
205 bug #64764. Should fix intermittent tee unit test failures (#474823).
207 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
209 * tests/check/elements/tee.c: (test_num_buffers):
210 Simplify, simplify, simplify - or not. Rewrite unit test
211 not to use gst_parse_launch(); allow N sub-streams. Increasing
212 the number of sub-streams seems to reproduce #474823 more easily.
214 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
216 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
219 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
220 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
221 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
222 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
223 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
224 so use _pipe() directly (#492077).
226 * win32/common/dirent.c: (_treaddir):
227 Add a couple of casts to make it build without warnings with MSVC.
229 * win32/common/libgstreamer.def:
230 Add some more symbols that need to be exported.
232 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
234 * tests/examples/metadata/read-metadata.c: (message_loop):
235 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
236 arriving in a second or third tag message are added to
237 the tag list as well.
239 2007-10-31 Stefan Kost <ensonic@users.sf.net>
241 * libs/gst/base/gstbasesrc.c:
242 Its "Since:" and not "@Since:". And remove an superflous cast.
244 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
246 * docs/libs/gstreamer-libs-sections.txt:
247 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
248 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
249 (gst_base_sink_get_property), (gst_base_sink_render_object),
250 (gst_base_sink_preroll_object),
251 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
252 (gst_base_sink_change_state):
253 * libs/gst/base/gstbasesink.h:
254 Add a new last-buffer property that contains the last buffer used in
255 basesink for preroll or rendering. useful for making snapshots.
256 API: gst_base_sink_get_last_buffer()
257 API: GstBaseSink::last-buffer
259 2007-10-29 Stefan Kost <ensonic@users.sf.net>
261 * docs/gst/running.xml:
263 * gst/gstdebugutils.c:
264 * gst/gstdebugutils.h:
265 * tools/gst-launch.c:
266 Improve bin graph dumping, by using the envvar to specify a path.
267 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
269 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
271 * plugins/elements/gsttypefindelement.c:
272 (gst_type_find_element_handle_event),
273 (gst_type_find_element_activate):
274 Post special error message if we can't determine the type of a stream
277 2007-10-29 Stefan Kost <ensonic@users.sf.net>
279 * docs/gst/running.xml:
280 * gst/gstdebugutils.c:
281 Document new env-var. Add one log-line after dumpng a graph.
283 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
286 Ugly hack to put the (recently removed and non-portable, apparently)
287 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
288 GNU ld, because without that 'make check' fails miserably on my debian
289 stable box. Someone with more knowledge of linker intricacies and
290 portability issues than me fix this properly please.
292 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
294 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
295 Reset last seen position after flushing so that we don't report the old
298 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
300 * gst/gstelementfactory.c: (gst_element_register):
302 Patch from Alessandro Decina adding get_type_full and
303 get_protocols_full private vfuncs to the URIHandler interface
304 to allow bindings to support creating URI handlers.
305 Partially fixes: #339279
306 API: GstURIHandlerInterface::get_type_full
307 API: GstURIHandlerInterface::get_protocols_full
309 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
311 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
312 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
313 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
314 Make it so that pads are considered linked until a buffer is pushed
315 and discovered otherwise. This avoids problems with decodebin2 hanging
316 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
319 Make sure we lock the multiqueue when updating the max-size properties.
321 Fix a crash on Solaris in a debug statement in get_request_pad that
322 passes a NULL string to GST_DEBUG.
324 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
325 (run_output_order_test):
326 Fix the test to allow the first buffer on not-linked pads to come out
327 of sequence while multiqueue discovers that they are not-linked.
329 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
332 * libs/gst/check/Makefile.am:
333 Use a custom export symbol regex for libgstcheck, as it needs
334 to export symbols that don't match the standard GStreamer gst_*
335 pattern, and --export-dynamic is not portable (only works on
338 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
339 (gst_check_setup_sink_pad):
340 Make sure to pass a message parameter to the fail_* macros.
342 * tests/check/gst/gstinfo.c: (GST_START_TEST):
343 Fix some compiler warnings.
345 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
347 * tests/check/gst/gststructure.c: (test_to_string):
348 Disable test that checks that white spaces are not allowed
349 in structure names or field names, since we need to
350 support that for now for backwards compatibility reasons.
352 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
354 * docs/gst/gstreamer-sections.txt:
357 API: add GST_TAG_ARTIST_SORTNAME
358 API: add GST_TAG_ALBUM_SORTNAME
359 API: add GST_TAG_TITLE_SORTNAME
360 Add tag variants for sorting (#414539).
362 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
364 * gst/gststructure.c:
365 Also allow white space for names so we don't break
366 backwards compatibility.
368 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
370 * docs/design/part-TODO.txt:
371 * docs/design/part-segments.txt:
372 * docs/design/part-streams.txt:
375 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
377 * docs/gst/gstreamer-sections.txt:
378 Fixed documentation from my previous commit (added new API add
379 gst_value_set_structure(), add gst_value_get_structure() and
380 GST_VALUE_HOLDS_STRUCTURE).
382 2007-10-22 Stefan Kost <ensonic@users.sf.net>
384 * gst/gstdebugutils.c:
385 Reflow code to fix uninitialized variable warning.
387 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
389 * gst/gstcaps.c: (gst_caps_to_string),
390 (gst_caps_from_string_inplace):
391 * gst/gststructure.c: (gst_structure_get_abbrs),
392 (gst_structure_to_string), (gst_structure_from_string):
393 * gst/gstvalue.c: (gst_value_set_structure),
394 (gst_value_get_structure), (gst_value_serialize_structure),
395 (gst_value_deserialize_structure), (_gst_value_initialize):
397 * tests/check/gst/gststructure.c: (GST_START_TEST),
398 (gst_structure_suite):
399 * tests/check/gst/gstvalue.c: (GST_START_TEST):
400 Added GstStructure to gst_value_table and its related functions.
401 Changed gst_structure_to_string to print ';' in the end.
402 Changed gst_caps_to_string to not print ';' beteween its
403 fields (structures) anymore and remove the lastes ';' from latest
404 structure. Now it is possible to have nested structures.
405 In addition, backward compatibilty is assured by accepting '\0' as
406 end delimiter. Fixes: #487969.
407 API: add gst_value_set_structure()
408 API: add gst_value_get_structure()
409 API: add GST_VALUE_HOLDS_STRUCTURE
411 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
414 When no GSource callback has been set up, tell developer
415 to use a function that actually exists.
417 2007-10-17 Stefan Kost <ensonic@users.sf.net>
419 * docs/gst/gstreamer-sections.txt:
423 * gst/gstdebugutils.c:
424 * gst/gstdebugutils.h:
427 * tools/gst-launch.c:
428 Allow dumping pipelines as dot graphs. Fixes #456573.
430 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
432 * gst/gststructure.c:
433 Allow '+' as well, it can be part of media or mime types
434 such as image/svg+xml.
436 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
438 * docs/gst/gstreamer-sections.txt:
441 API: add gst_bus_pop_filtered
442 API: add gst_bus_timed_pop_filtered
443 Two new functions for waiting for specific message types on the
444 bus for a specified amount of time without iterating any main
445 loops or main contexts.
447 * tests/check/gst/gstbus.c:
448 Some tests for the new functions.
450 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
452 * docs/libs/gstreamer-libs-sections.txt:
453 Make gtk-doc ignore stuff it should ignore.
455 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
457 * libs/gst/check/gstcheck.c:
458 * libs/gst/check/gstcheck.h:
459 Allow runtime selection of unit tests to run via the GST_CHECKS
460 environment variable (test case function names, comma-separated).
462 2007-10-16 Stefan Kost <ensonic@users.sf.net>
464 * gst/gststructure.c:
465 * tests/check/gst/gststructure.c:
466 Revert serialisation change and constrain structure-names after
467 consensus on irc. Update api documentation to reflect the change.
469 2007-10-16 Stefan Kost <ensonic@users.sf.net>
471 * gst/gststructure.c:
472 Improve serialization and fix tests.
474 * tests/check/gst/gststructure.c:
475 Add another test that covers why I actually did the previous structure
478 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
480 * tools/gst-inspect.c: (print_element_info):
481 Don't crash when inspecting an element.
483 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
485 * tests/check/gst/gststructure.c:
486 Add unit test for escaping of structure name when serialising
487 and deserialising to/from strings.
489 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
491 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
492 (gst_single_queue_new):
493 * plugins/elements/gstqueue.c: (gst_queue_init),
494 (gst_queue_push_one):
495 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
496 upstream is tricked into thinking it can suggest a format downstream
497 while downstream does not support that format. The real problem is that
498 core calls acceptcaps when pushing a buffer with new caps, for which we
499 do a little workaround by setting the caps on the srcpad ourselves
500 before pushing the buffer (until this is figured out). Fixes #486758.
502 2007-10-15 Stefan Kost <ensonic@users.sf.net>
504 * gst/gststructure.c:
506 Add some more comments and debug output. Quote structure name to fix
507 deserialisation of some strings.
509 2007-10-15 Stefan Kost <ensonic@users.sf.net>
512 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
513 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
515 2007-10-15 Stefan Kost <ensonic@users.sf.net>
517 * tools/gst-inspect.c:
518 Save approx. 400 1 byte allocs when printing. Use API to acces element
524 * tools/gst-xmlinspect.c:
525 Use API to acces element details.
527 2007-10-15 Stefan Kost <ensonic@users.sf.net>
530 Fix some spelling errors.
532 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
534 * gst/gstbin.c: (bin_handle_async_done):
535 Correctly set the next state if all of our async children commited their
536 state. This makes sure we can actually cancel the state change in
537 progress. Fixes a regression in Rhythmbox when seeking.
539 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
542 Don't shadow local variable.
545 Don't shadow global function name.
547 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
549 * gst/gstelementfactory.c:
550 * gst/gstpluginfeature.c:
551 * gst/gstpluginfeature.h:
552 * gst/gstregistrybinary.c:
553 * gst/gstregistryxml.c:
555 Use already-interned string for the private GstPluginFeature
558 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
560 * docs/libs/gstreamer-libs-sections.txt:
561 Add new API to docs; fixes the build.
563 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
565 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
567 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
568 (gst_base_sink_event):
569 * libs/gst/base/gstbasesink.h:
570 Add function to wait for EOS, subclasses can use this to correctly wait
571 for devices to drain before performing the EOS logic. Fixes #485343.
572 API: gst_base_sink_wait_eos()
574 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
577 Cast description string constants in GST_PLUGIN_DEFINE macros
578 to a (gchar*) to make C++ code using these macros compile
579 without warning with g++-4.2 (see #462737). Even if slightly
580 ugly, this seems preferable to putting the description strings
581 into the GLib quark table or making the structure member a
582 const gchar * and doing casts in core code that allocs and
583 frees these strings, or requiring a cast in the C++ code.
585 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
588 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
589 to print the entire class/function signature into the log
590 file for C++ code. This only affects C++ code, for C code
591 everything remains the same.
593 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
595 * gst/gstbin.c: (remove_from_queue):
596 Work around a problem with pipelines containing (semi)loops until a
597 proper, more complicated solution is ready. See #475455.
599 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
603 * gst/gstregistrybinary.c:
604 * gst/gstregistryxml.c:
605 Put more strings into the GLib quark table. No need to keep
606 a hundred-something copies of identical version strings,
607 license strings, package name strings and package origin
610 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
612 * docs/manual/advanced-dataaccess.xml:
613 Don't imply that it's okay to unconditionally change
614 buffer data or buffer metadata in a pad probe callback,
615 and a bunch of other comments. Fixes #430031.
617 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
619 * win32/common/gstenumtypes.c:
620 * win32/common/gstenumtypes.h:
621 * win32/common/gstversion.h:
622 Update generated files.
624 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
626 * docs/manual/advanced-autoplugging.xml:
627 Prefix section with broken code with a warning (see #342432).
629 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
631 * docs/manual/appendix-integration.xml:
632 * docs/manual/basics-init.xml:
633 Call g_thread_init() before g_option_context_new() to
634 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
636 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
638 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
639 (gst_base_sink_queue_object_unlocked),
640 (gst_base_sink_queue_object), (gst_base_sink_event),
641 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
642 When we received EOS and are waiting for when to post the EOS message,
643 our state is prerolled and we should not return ASYNC.
644 Reorganize some code paths to implement this behavior.
646 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
648 Add unit test to verify above EOS fix.
650 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
652 * plugins/elements/gsttypefindelement.c:
653 (gst_type_find_element_have_type), (gst_type_find_element_init),
654 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
655 Move detecting the input caps of the sinkpad to the setcaps function.
656 This allows us to update the output caps when we receive new input caps
657 instead of always using the first detected caps.
659 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
661 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
662 (gst_base_sink_get_position):
663 Don't try to preroll non-async elements after a flush.
664 Subtract latency form clock times when reporting position.
666 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
668 * gst/gstpad.c: (gst_pad_pause_task):
670 Small comment and documentation update.
672 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
674 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
675 (gst_base_src_set_live), (gst_base_src_is_live),
676 (gst_base_src_query_latency), (gst_base_src_perform_seek),
677 (gst_base_src_default_event), (gst_base_src_wait),
678 (gst_base_src_do_sync), (gst_base_src_get_range),
679 (gst_base_src_pad_get_range), (gst_base_src_loop),
680 (gst_base_src_unlock), (gst_base_src_unlock_stop),
681 (gst_base_src_set_flushing), (gst_base_src_set_playing),
682 (gst_base_src_activate_push), (gst_base_src_activate_pull),
683 (gst_base_src_change_state):
684 Rework the locking of basesrc in a similar fashion to basesink. We
685 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
686 us to handle live sources and semi live ones much better.
688 Fix unlocking when seeking, shutting down and pausing in live sources.
690 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
692 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
693 Fix compilation again.
695 2007-10-03 Stefan Kost <ensonic@users.sf.net>
698 Use meaningful categories for the logs to clean the default one.
700 2007-10-03 Stefan Kost <ensonic@users.sf.net>
702 * tests/check/pipelines/cleanup.c:
703 Print message name and not just number.
705 2007-10-03 Stefan Kost <ensonic@users.sf.net>
707 * docs/design/draft-tagreading.txt:
708 Add some more thoughts.
710 2007-10-03 Stefan Kost <ensonic@users.sf.net>
712 * tests/check/pipelines/simple-launch-lines.c:
713 Print message name and not just number.
715 2007-10-03 Stefan Kost <ensonic@users.sf.net>
717 * libs/gst/base/gsttypefindhelper.c:
718 Speedup typefinding. This is work in progress (see #459862).
720 2007-10-03 Stefan Kost <ensonic@users.sf.net>
723 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
724 Spotted by Josep Torra Valles <josep@fluendo.com>.
726 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
729 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
730 field has moved to GstObject.
732 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
734 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
735 (gst_base_src_get_range), (gst_base_src_change_state):
736 Call unlock for live sources so that they can't get stuck in _create and
737 produce a buffer before they are set back to PLAYING.
739 2007-10-02 Edward Hervey <bilboed@bilboed.com>
741 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
742 (gst_queue_locked_dequeue):
743 Comment the segment-related code... in the PROPER function.
744 See #482147 and my commit from yesterday.
746 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
748 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
749 Also initialize the counter that calculates the first timestamp on a
750 buffer correctly for non-live sources.
752 2007-10-01 Edward Hervey <bilboed@bilboed.com>
754 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
755 Disable code that's breaking the current-time-level reporting.
758 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
760 * docs/gst/gstreamer-sections.txt:
761 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
762 as they shouldn't show up. Fixes the docs build.
764 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
767 Add an explicit variable importation needed on VS6 (only for MSC_VER)
768 Define M_PI which is used in files which are including gstinfo.h.
769 VS6 includes doesn't define it.
770 * win32/common/libgstbase.def:
771 * win32/common/libgstcontroller.def:
772 * win32/common/libgstreamer.def:
773 Add new exported functions and variables.
774 * win32/vs6/libgstcontroller.dsp:
775 * win32/vs6/libgstreamer.dsp:
776 Update the list of files to build.
778 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
780 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
782 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
783 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
784 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
785 Improve debugging. Fixes #480858.
787 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
789 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
791 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
792 First patch of code cleanups, use the macros and right arguments in the
793 macros to signal and lock the queue. See #480858.
795 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
797 * gst/gstbus.c: (poll_func):
798 Improve debugging when dealing with _poll().
800 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
802 * gst/gstregistryxml.c:
803 Fix memory leak I introduced a few days ago.
805 2007-09-26 Michael Smith <msmith@fluendo.com>
807 * gst/gstbuffer.c: (gst_buffer_finalize):
808 Make it once again possible to free GstBuffers in the default
810 The poisoning scribbles on parts of the miniobject we need in
814 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
816 * docs/gst/gstreamer-sections.txt:
819 API: add GST_TAG_COMPOSER, fixes #459809.
821 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
825 Add the 3-clause BSD license and the MIT/X11 license to the license
828 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
830 * docs/faq/getting.xml:
831 Add Q+A about different GStreamer versions (#364056).
833 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
835 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
836 (gst_base_sink_event), (gst_base_sink_change_state):
837 Return correct gboolean from query function.
839 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
841 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
842 (gst_base_sink_event), (gst_base_sink_query),
843 (gst_base_sink_change_state):
844 Simplify latency query.
845 When not synchronizing, we can report latency without querying the peer
848 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
852 Fix small typos in the docs.
854 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
856 * docs/design/draft-latency.txt:
857 * docs/design/draft-push-pull.txt:
858 * docs/design/draft-tagreading.txt:
859 * docs/design/part-MT-refcounting.txt:
860 * docs/design/part-activation.txt:
861 * docs/design/part-block.txt:
862 * docs/design/part-element-source.txt:
863 * docs/design/part-events.txt:
864 * docs/design/part-gstbin.txt:
865 * docs/design/part-gstelement.txt:
866 * docs/design/part-gstobject.txt:
867 * docs/design/part-gstpipeline.txt:
868 * docs/design/part-messages.txt:
869 * docs/design/part-preroll.txt:
870 * docs/design/part-push-pull.txt:
871 * docs/design/part-qos.txt:
872 * docs/design/part-query.txt:
873 * docs/design/part-scheduling.txt:
874 * docs/design/part-seeking.txt:
875 * docs/design/part-segments.txt:
876 * docs/design/part-states.txt:
877 Documentation updates and typo fixes.
879 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
881 * plugins/elements/gstfakesink.c:
882 Add some debug text to error message to indicate that
883 we errored out on request.
885 * tools/gst-launch.c:
886 When the state change to PLAYING fails, check for an
887 error message on the bus and print it.
889 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
891 translated by: Jorge González González <aloriel@gmail.com>
895 Added Spanish translation.
897 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
899 * plugins/elements/gstqueue.c: (gst_queue_push_one):
900 Fix printf arguments.
902 2007-09-20 Stefan Kost <ensonic@users.sf.net>
904 * tests/check/generic/states.c:
905 Improved state change unit test.
907 2007-09-20 Stefan Kost <ensonic@users.sf.net>
910 Move priv to the right place.
912 * gst/gstsystemclock.c:
913 Add FIXME: and improve log.
915 * tests/check/Makefile.am:
916 * tests/examples/manual/Makefile.am:
917 Work with all types of registries.
919 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
921 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
922 Don't unref the event after pushing it. Fixes #478401.
924 2007-09-19 Stefan Kost <ensonic@users.sf.net>
927 * tests/examples/manual/.cvsignore:
928 Ignore registries in any format.
930 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
932 * gst/glib-compat-private.h:
933 Add compatibility macro for g_intern_string() for
934 GLib-2.8 (any reason we can't just bump the
935 requirement to at least 2.10?)
937 * gst/gstpadtemplate.h:
938 * gst/gstelementfactory.c:
939 * gst/gstregistryxml.c:
940 * gst/gstregistrybinary.c:
941 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
942 up the internal code accordingly. This shouldn't be a problem, since
943 there is no reason external code could ever assume the string in such
944 a structure is dynamically allocated unless it did that itself; the
945 use of g_strdup() is private to element factories. The new code also
946 saves some memory by putting pad template name strings into the GLib
947 quark table instead of allocating them dynamically.
948 Declaring this field constant fixes warnings with g++-4.2 when using
949 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
951 2007-09-19 Stefan Kost <ensonic@users.sf.net>
953 * gst/gstelementfactory.c:
954 Release static caps. Fixes #475723.
956 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
960 Make some internal API take const gchar * instead of just
961 gchar * to avoid compiler warnings with g++-4.2.2 when
962 passing string constants (partially fixes #478092).
964 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
966 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
967 A latency query fails when one of the sinks fail.
969 * gst/gstelement.c: (gst_element_set_base_time):
972 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
974 * gst/gstbin.c: (gst_bin_continue_func):
975 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
976 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
977 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
979 Fix minor compilation warnings shown with Forte.
981 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
983 * plugins/elements/gstqueue.c: (apply_buffer),
984 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
985 Measure queue level based on the diff between head and tail timestamps
986 even when pushing the first buffer.
988 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
990 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
991 (gst_base_sink_event), (gst_base_sink_change_state):
992 Sinks that don't preroll can always be queried for the latency.
993 Don't post ASYNC start when we are not async.
995 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
997 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
998 (gst_queue_handle_sink_event), (gst_queue_chain),
999 (gst_queue_push_one), (gst_queue_handle_src_query),
1000 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1001 * plugins/elements/gstqueue.h:
1002 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1003 push more buffers but allow pushing of EOS and NEWSEGMENT.
1004 Add some more debug info here and there. Fixes #476514.
1006 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1008 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1009 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1010 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1011 (gst_base_sink_set_flushing), (gst_base_sink_query),
1012 (gst_base_sink_change_state):
1013 Latency query is allowed after we are prerolled. Introduce a new flag
1014 for this and stop abusing other variables.
1016 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1018 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1019 Push OOB events downstream when we get them in send_event. This allows
1020 the application to insert events in the pipeline.
1021 Add some more comments.
1023 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1025 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1026 (do_bin_latency), (gst_bin_change_state_func):
1027 * gst/gstpipeline.c: (gst_pipeline_change_state):
1028 Move latency query from GstPipeline to GstBin so that we can also
1029 use it when async-handling is enabled on bins.
1031 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1033 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1034 (gst_base_src_do_sync), (gst_base_src_change_state):
1036 Clean up the timestamping and syncing code for pseudo live sources.
1038 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1040 Patch by: Steve Fink <sphink gmail com>
1042 * docs/manual/appendix-checklist.xml:
1043 Mention less -R switch in the section about debug output (#474055).
1045 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1047 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1048 Queue can latency to the pipeline up to the configured max size in time.
1049 Report this fact in the latency query.
1051 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1053 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1055 * libs/gst/controller/gstinterpolation.c:
1056 * libs/gst/controller/gstlfocontrolsource.c:
1057 Use gst_guint64_to_gdouble() when converting from a uint64 or
1058 GstClockTime to double to fix the build on win32. Fixes #474371.
1060 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1062 * gst/gstbuffer.c: (gst_buffer_finalize):
1063 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1064 When finalizing a buffer the complete struct is filled with 0xff,
1065 thus making a use of the buffer after the final unref impossible.
1067 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1069 * tests/check/libs/controller.c: (GST_START_TEST):
1070 Use fail_unless_equals_int(a, b) instead of
1071 fail_unless_equals (a == b) to get better output on failures.
1073 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1075 * tests/check/gst/gsturi.c:
1076 Also check for the other file URI variant on win32.
1078 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1080 * gst/gsturi.c: (gst_uri_get_location):
1081 If there's no hostname, we want to return 'c:/foo/bar.txt'
1082 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1084 * tests/check/gst/gsturi.c:
1085 Unit test for the above and a few more things.
1087 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1089 * docs/design/part-live-source.txt:
1090 Add docs on how live sources should timestamp.
1092 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1093 Add some more debug info.
1094 For subclasses that are live and like to sync, add aditional startup
1095 latency to sync time and timestamps so that we timstamp according to the
1098 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1101 Also do a g_type_class_ref() for the subbuffer type in
1104 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1106 * docs/gst/gstreamer-sections.txt:
1107 * gst/gstpad.c: (gst_pad_peer_query):
1109 Add function to perform a query on the peer of a pad.
1110 API: gst_pad_peer_query()
1112 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1114 * tests/check/gst/gstsystemclock.c:
1115 Cleanup the test a little (use gst-logging and not g_message). Improve
1116 test to check if a wait reached the target.
1118 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1120 * docs/libs/gstreamer-libs-sections.txt:
1121 Add new API to docs and fix the build.
1123 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1125 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1126 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1127 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1128 (gst_base_src_get_property), (gst_base_src_do_sync):
1129 * libs/gst/base/gstbasesrc.h:
1130 Add property to make the basesrc timestamp buffers based on the current
1132 API: GstBaseSrc::do-timestamp
1133 API: gst_base_src_set_do_timestamp()
1134 API: gst_base_src_get_do_timestamp()
1136 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1138 * docs/random/release:
1139 Really make sure translations are up-to-date before
1140 a release (#465010).
1142 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1144 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1145 Always destroy the timer, also in error cases.
1147 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1149 * docs/manual/highlevel-xml.xml:
1150 Fix XML example code. Fixes #472714.
1152 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1154 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1155 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1156 (gst_base_sink_query):
1157 Protect eos and have_preroll with the OBJECT lock so we don't need to
1158 take the PREROLL lock when querying the latency. Fixes #473846.
1160 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1163 Give some log-messages a category.
1165 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1167 * gst/gststructure.c:
1168 (gst_structure_fixate_field_nearest_fraction):
1169 Fix fraction list fixation code. Take the fraction with the smallest
1170 difference with the target instead of the first one in the list.
1172 * tests/check/gst/gststructure.c: (GST_START_TEST),
1173 (gst_structure_suite):
1174 Added test to verify correct fraction list fixation behaviour.
1176 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1178 * win32/common/libgstreamer.def:
1179 Export gst_bus_add_signal_watch too.
1181 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1183 * docs/libs/gstreamer-libs-sections.txt:
1184 Add new methods to docs.
1186 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1187 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1188 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1189 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1190 * libs/gst/base/gstbasesink.h:
1191 Add ts-offset property to fine-tune the synchronisation.
1192 API: GstBaseSink::ts-offset property
1193 API: gst_base_sink_set_ts_offset()
1194 API: gst_base_sink_get_ts_offset()
1196 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1198 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1199 (gst_base_sink_init), (gst_base_sink_set_sync),
1200 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1201 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1202 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1203 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1204 (gst_base_sink_get_property), (gst_base_sink_change_state):
1205 * libs/gst/base/gstbasesink.h:
1206 Add async property to instruct the sink never to inform the parent about
1207 ASYNC state changes, update docs.
1208 Check argument with g_return_* for the public functions.
1209 API: GstBaseSink::async property
1210 API: gst_base_sink_set_async_enabled()
1211 API: gst_base_sink_is_async_enabled()
1213 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1215 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1218 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1219 (gst_base_src_default_query), (gst_base_src_wait),
1220 (gst_base_src_do_sync), (gst_base_src_change_state):
1221 Rearrange some code so that we can add support for measuring the
1224 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1226 * docs/random/ensonic/dynlink.txt:
1227 More thoughs on this.
1229 * plugins/elements/gstcapsfilter.c:
1230 Add bugzilla ticket number to FIXME comment.
1232 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1234 * docs/design/part-TODO.txt:
1235 * docs/design/part-block.txt:
1238 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1241 Revert patch which uses $(gst_headers) instead of $^ because it
1244 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1246 * tests/check/gst/gstbin.c: (GST_START_TEST):
1247 Fix leaks in the new unit test.
1249 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1252 Don't use GST_INFO before the debug system is actually initialised
1253 (shouldn't do any harm, but won't print anything either, so we can
1254 just as well remove it).
1257 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1258 compilers that don't support variadic macros (such as MSVC), should
1259 check for debug_level <= __gst_debug_min as well, since that's the
1260 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1261 inline helper functions. Should improve performance a bit, but also
1262 makes sure uses of GST_INFO et.al are ignored if the debugging
1263 system isn't initialised yet (instead of printing an assertion
1266 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1268 patch by: David Nečas <yeti@physics.muni.cz>
1271 Replace some non portable makefile constructs.
1273 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1275 * common/gtk-doc-plugins.mak:
1276 Grrrrr. Don't remove the types file on make clean.
1278 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1280 * tools/gst-launch.1.in:
1281 Add colorspace to example pipeline. Fixes #458274.
1283 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1285 * docs/random/release:
1286 The release manager should run 'make download-po' before making a
1287 release to make sure translations are up-to-date.
1293 Add some new translations.
1295 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1297 * tools/gst-launch.c: (event_loop), (main):
1298 Don´t try to do any state management when a live pipeline posts
1300 Also make the buffering string translatable.
1302 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1304 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1305 (bin_handle_async_start), (gst_bin_handle_message_func):
1307 When adding elements, insert messages into the bus of the newly added
1308 element and make sure the element is the source of the message. This
1309 allows the parent bin to intercept the message and do the
1310 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1311 messages to the app (which is not allowed).
1314 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1315 Fix testsuite so that is does not work around messages that should not
1316 have been posted in the first place.
1318 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1320 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1321 (update_degree), (gst_bin_sort_iterator_next):
1322 Fix annoying bug in the sorted iterator where a sink that is not really
1323 a sink (when it has downstream links) screwed up the iterator.
1325 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1326 Unit test to verify the fix.
1328 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1331 Add some more docs for the messages.
1333 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1334 (gst_base_sink_query):
1335 Add some more debugging.
1337 * tools/gst-launch.c: (event_loop):
1338 When interrupting, don't try to set pipeline to PAUSED twice.
1340 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1343 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1344 (bin_handle_async_start), (gst_bin_handle_message_func):
1345 Move ASYNC_START message posting to where it belongs, similar to
1347 Don't post ASYNC_START when we are in error.
1348 Post ASYNC_START when we added an async element to a bin.
1350 2007-08-14 Julien MOUTTE <julien@moutte.net>
1352 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1353 generation from vargs. Fixes #466595.
1355 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1357 * gst/gstbin.c: (gst_bin_element_set_state):
1358 Always change the state of a NO_PREROLL element even if it has ASYNC
1359 elements inside (in case of a bin).
1361 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1362 Unit test for this case.
1364 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1366 * libs/gst/check/gstbufferstraw.c:
1367 * libs/gst/check/gstcheck.h:
1368 * libs/gst/controller/gstcontroller.c:
1369 * libs/gst/controller/gstcontrolsource.h:
1370 * libs/gst/controller/gstlfocontrolsource.h:
1371 * plugins/elements/gstcapsfilter.h:
1372 * plugins/elements/gstfdsink.h:
1373 * plugins/elements/gstfdsrc.h:
1374 Add more missing docs.
1376 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1378 * gst/gststructure.c:
1379 Add Since tag to docs.
1381 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1383 * docs/gst/gstreamer-sections.txt:
1384 * gst/gststructure.c: (gst_structure_get_uint):
1385 * gst/gststructure.h:
1386 Add function to get uint from a structure.
1387 API: gst_structure_get_uint()
1389 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1391 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1392 (gst_caps_intersect):
1393 Fix proper check for simple caps.
1395 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1397 * docs/gst/Makefile.am:
1398 * docs/libs/Makefile.am:
1399 Remove cruft and do some cleanups.
1401 * docs/gst/gstreamer-docs.sgml:
1402 * docs/libs/gstreamer-libs-docs.sgml:
1403 Prepare for comming gtkdoc features (rebase against online docs).
1405 2007-08-10 Michael Smith <msmith@fluendo.com>
1407 * docs/gst/gstreamer-sections.txt:
1408 Add gst_registry_add_path to docs.
1410 2007-08-10 Michael Smith <msmith@fluendo.com>
1412 * gst/gstregistry.h:
1413 Add gst_registry_add_path, which was missing from this header.
1415 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1417 * libs/gst/controller/gstlfocontrolsource.c:
1420 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1422 * libs/gst/base/gstbasesink.c:
1423 Don't send an async_start message during downwards state change if
1424 target state is less than READY
1426 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1428 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1432 Added Hungarian translation.
1434 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1441 Updated translations.
1443 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1445 * libs/gst/controller/Makefile.am:
1446 Dist gstlfocontrolsourceprivate.h
1448 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1450 * docs/libs/gstreamer-libs.types:
1451 Don't register the enum type gst_lfo_waveform_get_type() in the
1452 .types file - only GObject derived types belong.
1454 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1456 Patch by: <arenevier at fdn dot fr>
1459 Remove comma from last element in enum to avoid compile errors when
1460 using -pendantic. Fixes #464366.
1462 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1464 * docs/design/part-TODO.txt:
1465 Add some more TODO items
1467 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1470 * gst/gstcaps.c: (gst_caps_intersect):
1471 Optimize trivial intersection case between identical caps pointers.
1473 * gst/gstelement.c: (gst_element_continue_state),
1474 (gst_element_set_state_func):
1476 Fix spelling and grammar mistakes.
1478 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1482 Update POTFILES. Fixes #461599.
1484 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1487 Fix confusing typo in debug output.
1489 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1491 reviewed by: Stefan Kost <ensonic@users.sf.net>
1493 * libs/gst/controller/Makefile.am:
1494 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1495 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1496 (gst_lfo_control_source_new),
1497 (gst_lfo_control_source_set_waveform),
1498 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1499 (gst_lfo_control_source_finalize),
1500 (gst_lfo_control_source_dispose),
1501 (gst_lfo_control_source_set_property),
1502 (gst_lfo_control_source_get_property),
1503 (gst_lfo_control_source_class_init):
1504 * libs/gst/controller/gstlfocontrolsource.h:
1505 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1506 API: Add GstLFOControlSource, a control source that gives values
1507 for specific timestamps based on several periodic waveforms.
1510 * tests/check/libs/controller.c: (GST_START_TEST),
1511 (gst_controller_suite):
1512 * docs/libs/gstreamer-libs-docs.sgml:
1513 * docs/libs/gstreamer-libs-sections.txt:
1514 * docs/libs/gstreamer-libs.types:
1515 Add documentation and unit tests for GstLFOControlSource.
1517 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1522 === release 0.10.14 ===
1524 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1527 releasing 0.10.14, "Breathing Vacuum"
1529 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1531 * gst/gstelement.c: (gst_element_class_set_details_simple):
1533 Make strings passed to gst_element_class_set_details_simple()
1534 constant, as they should be (#462752).
1536 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1538 * gst/gstbin.c: (gst_bin_change_state_func),
1539 (bin_handle_async_done), (gst_bin_handle_message_func):
1540 Don't forget about the fact that some element went ASYNC even after a
1541 resync. This makes us post the ASYNC_DONE message correctly.
1544 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1546 * gst/gstregistry.c: (gst_registry_add_feature):
1547 When replacing an existing feature in the registry, make sure to
1548 continue holding a reference until we've replaced the name string
1549 within our feature hash table. Make sure to use g_hash_table_replace
1550 instead of g_hash_table_insert to ensure the new name string is used
1551 as a key instead of the old one that we're about to free.
1554 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1556 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1557 (gst_plugin_feature_set_name):
1558 Revert patch from #459466 until after the release and we can work
1559 out exactly what the problem is (if any).
1561 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1563 * docs/gst/gstreamer-sections.txt:
1566 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1568 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1570 * docs/libs/Makefile.am:
1571 Include our build-prefix libs and includes before the generic ones to
1572 avoid linking against the installed libs when we want the build-tree
1575 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1577 Patch by: Steve Fink <sphink gmail com>
1579 * docs/pwg/building-testapp.xml:
1580 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1581 if people try to build or install the example from the plugin
1582 template against a GStreamer from package using the configure
1585 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1587 Patch by: Steve Fink <sphink gmail com>
1589 * tools/gst-inspect.1.in:
1590 Document --print-all and --print-plugin-auto-install-info command
1591 line options in man page.
1593 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1595 * docs/gst/gstreamer-sections.txt:
1596 Add docs for new api function.
1598 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1600 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1601 * gst/gstelementfactory.h:
1602 API: gst_element_factory_has_interface()
1603 Added method to check if an element factory implements a named
1606 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1609 * docs/gst/gstreamer.types.in:
1610 Another conditional doc check.
1613 * gst/gstparamspecs.h:
1614 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1619 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1621 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1622 (gst_registry_binary_load_feature),
1623 (gst_registry_binary_load_plugin),
1624 (gst_registry_binary_read_cache):
1625 Print error just once and with additional info.
1627 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1629 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1630 (helper_find_suggest), (helper_find_get_length),
1631 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1632 (gst_type_find_helper_for_buffer):
1633 Cleanup the typefindhelper code and add private doc comments.
1635 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1637 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1638 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1639 Fix capsfilter for cases where the caps set on capsfilter will provide
1640 additional information.
1643 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1645 * gst/gsttypefindfactory.c:
1646 Fix docs that recommened wrong function to use.
1648 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1650 * tools/gst-inspect.c: (print_plugin_features):
1651 Also give media-type for typefinders in element output.
1653 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1655 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1656 (gst_registry_remove_features_for_plugin_unlocked),
1657 (gst_registry_add_feature), (gst_registry_remove_feature),
1658 (gst_registry_lookup_feature_locked):
1659 * gst/gstregistry.h:
1660 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1663 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1665 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1666 (gst_plugin_feature_set_name):
1667 Avoid double memory usage for pluginfeature names. Fixes #459466.
1669 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1672 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1673 driving the pipeline may need to explicitly check for NOT_LINKED as
1674 well, since IS_FATAL doesn't cover that.
1676 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1678 * docs/pwg/advanced-types.xml:
1679 Fix typo and duplicate entry in video formats list.
1681 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1683 * libs/gst/controller/gstinterpolation.c:
1684 Also round to the nearest int when using cubic interpolation.
1686 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1688 * libs/gst/controller/gstinterpolation.c:
1689 When linearly interpolating integer types, round to the nearest int
1690 by adding 0.5. Don't do it for float/double types.
1691 Fixes the failing controller test on my machine, which is somehow
1692 rounding differently than on the buildbots.
1694 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1696 * tools/gst-plot-timeline.py:
1697 Better log parsing (categories can have -). Adjust text vs. lines, so
1698 that they span the same y-range.
1700 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1702 * docs/random/ensonic/audiobaseclasses.txt:
1703 * docs/random/ensonic/dynlink.txt:
1704 * docs/random/ensonic/profiling.txt:
1707 * docs/random/moving-plugins:
1708 Add note to use g_assert type macros.
1710 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1713 * libs/gst/check/Makefile.am:
1714 Add libm check as we use in for plugins.
1716 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1718 * gst/gstbin.c: (gst_bin_continue_func):
1719 Check that the state_cookie hasn't changed since the continue_func
1720 was scheduled. Avoids problems where the state changes back to
1721 something it shouldn't be because it was changed in the meantime.
1723 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1725 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1726 (gst_registry_binary_save_string),
1727 (gst_registry_binary_save_pad_template),
1728 (gst_registry_binary_save_feature),
1729 (gst_registry_binary_save_plugin),
1730 (gst_registry_binary_load_feature),
1731 (gst_registry_binary_load_plugin),
1732 (gst_registry_binary_read_cache):
1733 Fix memory leak. Be less verbose in the log.
1735 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1737 * tests/check/elements/.cvsignore:
1738 Add file to cvsignore as commanded.
1740 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1742 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1743 (mq_dummypad_event), (run_output_order_test):
1744 Use a GStaticMutex to protect all cases where libcheck
1745 fail_if/fail_unless macros might be called from multiple threads
1746 simultaneously to avoid errors like:
1747 "check_pack.c:107: :-1081725400:Bad message type arg"
1749 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1751 * tests/check/pipelines/stress.c: (GST_START_TEST):
1752 Make sure we set the pipeline back to the NULL state before
1753 dropping our final reference.
1755 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1757 * tests/check/elements/tee.c: (GST_START_TEST):
1758 Make the tee stress-test a little less stressful so it doesn't just
1759 time out on slow-machines, and remove a small race when it's starting
1760 up by adding a get_state() call.
1762 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1765 Avoid reading registry twice on startup. Fixes #457322.
1767 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1769 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1770 * pkgconfig/gstreamer-check.pc.in:
1771 Substitute the CFLAGS for libcheck into our .pc file too so that
1772 dependent modules will pick it up properly if libcheck is installed
1773 into some other prefix.
1775 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1778 Revert the pkg-config check for libcheck, since it pulls in the
1779 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1780 a proper solution, either from the check project, or something else.
1782 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1785 Use pkg-config to locate check.
1787 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1794 Add deprecation guards.
1796 * libs/gst/base/gstcollectpads.h:
1797 Don't document object (this is implicitly private).
1799 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1801 * gst/gststructure.c: (gst_structure_parse_value):
1802 When deserialising foo=bar without a type cast, check if it's a
1803 boolean before falling back to a string type, otherwise things like
1804 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1805 because the filtercaps end up having a signed=(string)true field,
1806 which causes problems later when intersection caps.
1808 * tests/check/gst/gststructure.c: (GST_START_TEST):
1809 Add a unit test for this.
1811 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1813 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1815 * libs/gst/controller/Makefile.am:
1816 * libs/gst/controller/gstcontroller.c:
1817 (gst_controlled_property_add_interpolation_control_source),
1818 (gst_controlled_property_new), (gst_controlled_property_free),
1819 (gst_controller_find_controlled_property),
1820 (gst_controller_new_valist), (gst_controller_new_list),
1821 (gst_controller_new), (gst_controller_remove_properties_valist),
1822 (gst_controller_remove_properties_list),
1823 (gst_controller_remove_properties),
1824 (gst_controller_set_property_disabled),
1825 (gst_controller_set_disabled), (gst_controller_set_control_source),
1826 (gst_controller_get_control_source), (gst_controller_get),
1827 (gst_controller_sync_values), (gst_controller_get_value_array),
1828 (_gst_controller_dispose), (gst_controller_get_type),
1829 (gst_controlled_property_set_interpolation_mode),
1830 (gst_controller_set), (gst_controller_set_from_list),
1831 (gst_controller_unset), (gst_controller_unset_all),
1832 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1833 * libs/gst/controller/gstcontroller.h:
1834 * libs/gst/controller/gstcontrollerprivate.h:
1835 * libs/gst/controller/gstcontrolsource.c:
1836 (gst_control_source_class_init), (gst_control_source_init),
1837 (gst_control_source_get_value),
1838 (gst_control_source_get_value_array), (gst_control_source_bind):
1839 * libs/gst/controller/gstcontrolsource.h:
1840 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1841 (gst_object_get_control_source):
1842 * libs/gst/controller/gstinterpolation.c:
1843 (gst_interpolation_control_source_find_control_point_node),
1844 (gst_interpolation_control_source_get_first_value),
1845 (_interpolate_none_get), (interpolate_none_get),
1846 (interpolate_none_get_boolean_value_array),
1847 (interpolate_none_get_enum_value_array),
1848 (interpolate_none_get_string_value_array),
1849 (_interpolate_trigger_get), (interpolate_trigger_get),
1850 (interpolate_trigger_get_boolean_value_array),
1851 (interpolate_trigger_get_enum_value_array),
1852 (interpolate_trigger_get_string_value_array):
1853 * libs/gst/controller/gstinterpolationcontrolsource.c:
1854 (gst_control_point_free), (gst_interpolation_control_source_reset),
1855 (gst_interpolation_control_source_new),
1856 (gst_interpolation_control_source_set_interpolation_mode),
1857 (gst_interpolation_control_source_bind),
1858 (gst_control_point_compare), (gst_control_point_find),
1859 (gst_interpolation_control_source_set_internal),
1860 (gst_interpolation_control_source_set),
1861 (gst_interpolation_control_source_set_from_list),
1862 (gst_interpolation_control_source_unset),
1863 (gst_interpolation_control_source_unset_all),
1864 (gst_interpolation_control_source_get_all),
1865 (gst_interpolation_control_source_get_count),
1866 (gst_interpolation_control_source_init),
1867 (gst_interpolation_control_source_finalize),
1868 (gst_interpolation_control_source_dispose),
1869 (gst_interpolation_control_source_class_init):
1870 * libs/gst/controller/gstinterpolationcontrolsource.h:
1871 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1872 API: Refactor GstController into the core controller which can take
1873 a GstControlSource for providing actual values for timestamps.
1874 Implement a interpolation control source and use this for backward
1875 compatibility, deprecate a bunch of functions that are now handled
1876 by GstControlSource or GstInterpolationControlSource.
1877 Make it possible to disable the controller completely or only for
1878 specific properties. Fixes #450711.
1879 * docs/libs/gstreamer-libs-docs.sgml:
1880 * docs/libs/gstreamer-libs-sections.txt:
1881 * docs/libs/gstreamer-libs.types:
1882 Add new functions and classes to the docs.
1883 * tests/check/libs/controller.c: (GST_START_TEST),
1884 (gst_controller_suite):
1885 * tests/examples/controller/audio-example.c: (main):
1886 Port unit test and example to the new API and add some new
1889 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1891 Patch by: Mark Nauwelaerts <manauw at skynet be>
1893 * plugins/elements/gstmultiqueue.c:
1894 (gst_multi_queue_get_internal_links), (apply_buffer),
1895 (single_queue_overrun_cb), (gst_single_queue_new):
1896 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1897 the pipeline layout can be tracked correctly. Fixes #453732.
1899 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1901 * docs/gst/Makefile.am:
1902 * docs/libs/Makefile.am:
1903 * docs/plugins/Makefile.am:
1904 Simplify --extra-dir as gtkdoc scans recursively.
1906 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1908 * tools/gst-launch.c: (main):
1909 When we got an error, there is no point in waiting for preroll when
1912 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1914 * plugins/elements/gsttee.c: (gst_tee_base_init),
1915 (gst_tee_request_new_pad), (gst_tee_release_pad),
1916 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1917 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1919 Be a lot smarter when deciding what srcpad to use for proxying
1920 the buffer_alloc. Also handle pad added/removed when doing so.
1922 Keep track of what pads we already pushed on in case we have pads
1923 added/removed while pushing. Fixes #374639
1925 * tests/check/Makefile.am:
1926 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1928 Added unit test for pad resync.
1930 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1934 Updated translations.
1936 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1938 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1942 Added new Finnish translation.
1944 2007-06-28 Wim Taymans <wim@fluendo.com>
1946 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1947 (single_queue_overrun_cb):
1948 When figuring out when a queue is filled, use our internal time estimate
1949 based on segments, just like check_full does.
1951 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1953 * gst/gstminiobject.c: (gst_mini_object_get_type):
1954 Remove 3 do-nothing methods.
1956 2007-06-27 Wim Taymans <wim@fluendo.com>
1958 Patch by: Tim Angus <tim at ngus dot net>
1960 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1961 (gst_capsfilter_set_property):
1962 Take a reference instead of a copy when setting "caps".
1963 Fix documentation to clarify this behaviour. Fixes #449414.
1965 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1967 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1968 * gst/gstplugin.c: (gst_plugin_init):
1969 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1970 * gst/gstquery.c: (gst_query_get_type):
1971 * gst/gstregistry.c: (gst_registry_init):
1972 * gst/gsturi.c: (gst_uri_handler_base_init):
1973 Remove empty instance_init() functions to save relocs and lessen the
1974 noise. Remove some of the function prototypes that are doubled by
1977 2007-06-27 Wim Taymans <wim@fluendo.com>
1979 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1981 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1982 Add peer and direction in the XML serialisation of ghostpads.
1985 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1988 Preserve useful information, thanks Tim.
1990 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1992 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1993 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1994 (gst_single_queue_push_one), (gst_multi_queue_loop),
1995 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1996 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1997 (compute_high_id), (gst_single_queue_new):
1998 * plugins/elements/gstmultiqueue.h:
1999 Take the multiqueue lock when updating the fill level so we don't get
2002 After applying a buffer or event on the src pad segment, make sure to
2003 call gst_data_queue_limits_changed() to get the data queue to unblock
2004 and check the filled state again.
2006 Rework the not-linked pad handling so the logic is that not-linked
2007 pads can push as fast as they like, but only so they never get
2008 ahead of any linked pads.
2010 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2011 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2012 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2014 Add a test to check that not-linked pads always stay behind
2019 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2021 * docs/random/release:
2022 Some updates to the release procedure.
2024 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2026 * gst/gstelementfactory.c: (__gst_element_details_clear):
2027 Microoptimization that saves stunning 80 bytes.
2029 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2031 * docs/plugins/gstreamer-plugins.args:
2032 * docs/plugins/inspect/plugin-coreelements.xml:
2033 * docs/plugins/inspect/plugin-coreindexers.xml:
2034 Update docs with caps info.
2036 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2039 Updated Italian translation.
2041 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2045 Update Vietnamese translations.
2047 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2049 * libs/gst/base/gstbasesink.c:
2050 Remove unused signal enum.
2052 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2054 * docs/gst/gstreamer-sections.txt:
2056 * gst/gstutils.c: (gst_type_register_static_full):
2057 Beef up and include the docs for gst_type_register_static_full and
2058 gst_element_class_set_details_simple and add the API keyword
2061 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2063 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2064 (update_time_level), (gst_single_queue_push_one),
2065 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2066 (single_queue_overrun_cb), (single_queue_underrun_cb),
2067 (single_queue_check_full):
2068 Fix setting max-* properties after adding queues.
2069 Use IS_FILLED for checking visible items.
2070 Signal overrun if multiple queues overrun.
2071 Add extra debug output.
2072 Patch by: Wim Taymans <wim@fluendo.com>
2074 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2076 * gst/gstelement.c: (gst_element_class_set_details_simple):
2078 * gst/gstutils.c: (gst_type_register_static_full):
2080 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2081 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2082 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2083 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2084 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2085 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2086 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2087 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2088 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2089 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2090 (apply_buffer), (gst_queue_chain):
2091 * plugins/elements/gsttee.c: (gst_tee_base_init):
2092 * plugins/elements/gsttypefindelement.c:
2093 (gst_type_find_element_base_init),
2094 (gst_type_find_element_class_init):
2095 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2096 API: add gst_type_register_static_full
2097 API: add gst_element_class_set_details_simple
2099 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2101 * docs/pwg/advanced-types.xml:
2102 Fix typo in iana.org URI.
2104 2007-06-19 Andy Wingo <wingo@pobox.com>
2106 * tests/check/pipelines/simple-launch-lines.c
2107 (test_state_change_returns): Enable pull-mode tests now that
2108 basesink has been fixed.
2110 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2111 Changed from gst_base_sink_is_prerolled, reversing the sense of
2112 the return value. Returns FALSE also if the sink is in pull mode,
2113 in which case it needs no preroll.
2114 (gst_base_sink_query, gst_base_sink_change_state): Update for
2115 needs_preroll change.
2116 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2117 chaining up, in which we return SUCCESS directly if we activated
2118 in pull mode instead of ASYNC. Involves countering an async_start
2119 message sent before chaining up; not sure if this is correct, in
2120 an ideal world we only send async-start when activating in push
2123 * tests/check/pipelines/simple-launch-lines.c
2124 (test_state_change_returns): New test, partially disabled until
2127 2007-06-19 Wim Taymans <wim@fluendo.com>
2129 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2130 (gst_multi_queue_sink_event):
2133 2007-06-19 Wim Taymans <wim@fluendo.com>
2135 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2136 (gst_bin_change_state_func), (bin_push_state_continue),
2137 (bin_handle_async_start), (bin_handle_async_done),
2138 (gst_bin_handle_message_func):
2139 Move the common code for posting state-change messages into
2141 Broadcast the state signal after we posted the messages.
2142 Mark the bin as busy when it's doing a state-change.
2143 Make sure async-start/done messages don't interfere with the bin's
2144 state when it's busy.
2145 After the state change, let the bin check which elements completed the
2146 state change while it was busy so that it can update its state.
2148 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2150 * docs/random/release:
2151 Add a note about updating the doap file to the release checklist
2153 2007-06-18 Wim Taymans <wim@fluendo.com>
2155 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2156 (gst_single_queue_push_one), (gst_multi_queue_chain),
2157 (gst_multi_queue_sink_event):
2158 Make sure we don't reference the buffer/event after we have given away
2159 ownership in the queue.
2161 2007-06-18 Wim Taymans <wim@fluendo.com>
2163 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2164 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2165 Update queue state _after_ adding the item in the queue because else we
2166 could end up being full without the element added yet.
2168 2007-06-18 Wim Taymans <wim@fluendo.com>
2170 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2171 (gst_bin_remove_func), (gst_bin_get_state_func),
2172 (gst_bin_element_set_state), (gst_bin_continue_func),
2173 (bin_push_state_continue), (bin_handle_async_start),
2174 (bin_handle_async_done), (gst_bin_handle_message_func):
2176 Immediatly commit the toplevel bin state when receiving an async-done
2177 message. This enables us to avoid spawning a thread to commit the state
2178 in some common cases and it also avoids some races.
2179 Avoid spawning a state thread when adding/removing async elements to a
2180 toplevel bin. Instead we immediatly update the bin state.
2181 Get rid of iterating all the children when getting the state in the bin
2182 because it is now always up-to-date.
2183 Fix bug where locked elements would always return _SUCCESS even it they
2184 returned NO_PREROLL before being locked.
2185 Fix the order of the state_change, async-start/done messages that was
2186 sometimes incorrect.
2187 Mark the state_dirty field as deprecated, we don't need it anymore as we
2188 are always up-to-date.
2190 * gst/gstelement.c: (gst_element_get_state_func),
2191 (gst_element_continue_state):
2192 Small debug inprovements.
2193 Return the previous element state return when nothing is pending instead
2194 of blindly returning SUCCESS.
2196 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2198 Add a whole bunch of new testcases.
2200 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2204 Update translations.
2206 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2209 Fix typo in the docs.
2211 2007-06-15 Wim Taymans <wim@fluendo.com>
2213 * docs/libs/gstreamer-libs-sections.txt:
2214 Add docs for new methods.
2216 2007-06-15 Wim Taymans <wim@fluendo.com>
2218 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2219 (gst_multi_queue_item_new):
2220 Don't use GSlice because we don't depend on >= 2.10 yet.
2222 2007-06-15 Wim Taymans <wim@fluendo.com>
2224 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2225 (update_time_level), (apply_segment), (apply_buffer),
2226 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2227 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2228 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2229 (single_queue_underrun_cb), (single_queue_check_full):
2230 Remove debug printf.
2232 2007-06-15 Wim Taymans <wim@fluendo.com>
2234 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2235 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2236 (gst_data_queue_set_flushing), (gst_data_queue_push),
2237 (gst_data_queue_pop), (gst_data_queue_drop_head),
2238 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2239 * libs/gst/base/gstdataqueue.h:
2241 Added methods to get the current levels and to inform the queue that the
2242 'full' limits changed.
2244 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2245 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2246 (gst_single_queue_flush), (update_time_level), (apply_segment),
2247 (apply_buffer), (gst_single_queue_push_one),
2248 (gst_multi_queue_item_steal_object),
2249 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2250 (gst_multi_queue_loop), (gst_multi_queue_chain),
2251 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2252 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2253 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2254 (single_queue_underrun_cb), (single_queue_check_full),
2255 (gst_single_queue_new):
2256 Keep track of time in the queue by measuring the difference between
2257 running_time on input and output. This gives more accurate results and
2258 can compensate for segments correctly.
2259 Make a queue by default only 5 buffers deep. We will now increase the
2260 buffer size depending on the filledness of the other queues.
2261 Factor out commong flush code.
2262 Make sure we don't add additional refcounts to buffers when we can avoid
2264 Propagate GstFlowReturn differently.
2265 Use GSlice for intermediate GstMultiQueueItems.
2267 Resize queues on over and underruns based on filled level of other
2269 When checking if the queue is filled, prefer to measure in time if we
2270 can and fall back to bytes when no time is known.
2272 * plugins/elements/gstqueue.c:
2275 2007-06-15 Wim Taymans <wim@fluendo.com>
2277 * libs/gst/base/gstbasetransform.c:
2278 (gst_base_transform_sink_event):
2279 Work around the brokenness of the event vmethod in basetransform. Prefer
2280 to return TRUE when the subclass returned FALSE (meaning don't forward
2283 * libs/gst/base/gstbasetransform.h:
2286 2007-06-15 Wim Taymans <wim@fluendo.com>
2288 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2289 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2290 (gst_base_src_default_query), (gst_base_src_get_range),
2291 (gst_base_src_start):
2292 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2295 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2297 * docs/pwg/advanced-types.xml:
2298 Added more formats to caps table.
2300 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2302 * tools/gst-launch.c: (main):
2303 Remove crufy code. GOption does not need this workaround.
2305 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2307 * libs/gst/controller/gstcontroller.c:
2308 (gst_controlled_property_set_interpolation_mode):
2309 Fix wrong getter for enums in controller.
2311 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2313 * libs/gst/check/gstcheck.c: (gst_check_init):
2314 Intercept criticals and warnings in the Gst-Phonon log domain, so
2315 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2318 2007-06-14 Edward Hervey <edward@fluendo.com>
2320 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2321 Since this file doesn't include "gst.h" it will not go through the
2322 macros that disable GST_LOG if debugging was disabled.
2324 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2326 * libs/gst/check/Makefile.am:
2327 * libs/gst/check/gstcheck.h:
2328 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2329 * pkgconfig/gstreamer-check.pc.in:
2330 Ugly 'fix' for the controller unit test on the p5 bot: in
2331 fail_unless_equals_float() check whether the values are 'almost
2332 equal' by allowing a small absolute error, which should be good
2333 enough for our use cases (normal numbers and values close to 0).
2334 Proper fixage left to floating point arithmetic aficionados.
2336 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2338 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2339 (gst_base_sink_render_object), (gst_base_sink_get_position):
2340 Add two breaks thats where missing.
2342 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2344 * docs/libs/gstreamer-libs-sections.txt:
2345 * libs/gst/check/gstcheck.h:
2346 API: add fail_unless_equals_float() and assert_equals_float().
2347 Add documentation for some of the macros.
2349 * tests/check/libs/controller.c: (GST_START_TEST):
2350 Use newly-added asserts.
2352 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2354 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2355 Show the caps change in the log to help spotting the case of not
2356 exactly matching caps.
2358 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2360 * docs/pwg/building-boiler.xml:
2361 Fix typos, spotted by Thijs Vermeir (#447190).
2363 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2365 * docs/plugins/tmpl/.cvsignore:
2366 Ignore file to keep the buildbots happy
2368 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2370 * docs/plugins/Makefile.am:
2371 * docs/plugins/gstreamer-plugins-docs.sgml:
2372 * docs/plugins/gstreamer-plugins-sections.txt:
2373 Pull fdsink into the docs too.
2375 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2377 * libs/gst/controller/gstinterpolation.c:
2378 Actually use the new functions with min/max checks for the trigger and
2379 none interpolation modes for get() and get_value_array() instead of
2382 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2384 * libs/gst/controller/gstcontroller.c:
2385 (gst_controlled_property_free):
2386 Unset the minimum and maximum GValues when freeing the corresponding
2387 GstControllerProperty struct.
2389 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2391 * libs/gst/controller/gstcontroller.c:
2392 (gst_controlled_property_new):
2393 * libs/gst/controller/gstcontrollerprivate.h:
2394 * libs/gst/controller/gstinterpolation.c:
2395 (gst_controlled_property_find_control_point_node),
2396 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2397 (interpolate_none_get_string_value_array),
2398 (interpolate_trigger_get),
2399 (interpolate_trigger_get_enum_value_array),
2400 (interpolate_trigger_get_string_value_array):
2401 Protect against values larger or smaller than the minimum or maximum
2402 allowed value for the property when using values that can be compared.
2404 Optimize trigger interpolator a bit by taking the last requested value
2405 into account instead of always looping through the complete list.
2407 Fix coding style a bit, everywhere else we use "return foo" instead
2410 * tests/check/libs/controller.c: (GST_START_TEST),
2411 (gst_controller_suite):
2412 Add unit test for the protection against too large or too small
2415 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2417 * docs/random/slomo/controller.txt:
2418 Add some thoughts about the future of the controller.
2420 2007-06-08 Wim Taymans <wim@fluendo.com>
2422 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2423 Don't overflow in retimestamping code.
2425 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2427 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2428 Use gst_util_guint64_to_gdouble for conversions.
2429 * win32/common/libgstreamer.def:
2430 Add new exported functions.
2432 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2435 Small docs addition.
2437 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2440 Remove that test line again.
2442 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2445 Test commit mail sending.
2447 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2450 Fix typo and test commit mail sending.
2452 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2454 * tests/examples/controller/audio-example.c:
2455 Improve comment and test commit mail sending.
2457 2007-06-07 Wim Taymans <wim@fluendo.com>
2459 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2460 (gst_bin_remove_func), (gst_bin_element_set_state),
2461 (bin_handle_async_start), (bin_handle_async_done),
2462 (gst_bin_handle_message_func):
2463 Add helper function to find messages.
2464 Generate the async-done messages together with the state change
2466 Small cleanups in handling toplevel bins.
2468 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2470 * libs/gst/base/gstdataqueue.c:
2471 * libs/gst/base/gstdataqueue.h:
2472 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2473 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2474 (gst_multi_queue_sink_event):
2475 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2476 Fix multiqueue leaking buffers and events when downstream or the
2477 queue are flushing. Make refcounting assumptions explicit and
2478 document them (shouldn't break existing code that uses it other than
2479 maybe leak miniobjects, but that already happens anyway). Add unit
2480 test for the most common flushing case. Fixes #423700.
2482 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2484 * libs/gst/controller/gstcontroller.c:
2485 Clarify docs: The get_all, get_value_array(s) functions
2486 don't modify the GObject properties.
2488 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2490 * libs/gst/controller/gstcontroller.c:
2491 (gst_controlled_property_set_interpolation_mode),
2492 (gst_controlled_property_prepend_default),
2493 (gst_controlled_property_new), (gst_controller_set_unlocked),
2494 (gst_controller_set), (gst_controller_set_from_list),
2495 (gst_controller_unset), (gst_controller_unset_all):
2496 * libs/gst/controller/gstcontrollerprivate.h:
2497 * libs/gst/controller/gstinterpolation.c:
2498 Factor out the 'set' logic into gst_controller_set_unlocked for the
2499 gst_controller_set and gst_controller_set_from_list functions.
2501 To make life of the interpolators easier always add a control point
2502 at timestamp zero with the default value.
2504 In the linear interpolator make things more obvious by better variable
2507 Implement cubic interpolation mode (by using a natural cubic spline)
2508 and map the quadratic interpolation mode to this too (as quadratic
2509 doesn't make much sense, see discussion on the list).
2511 * tests/check/libs/controller.c: (GST_START_TEST),
2512 (gst_controller_suite):
2513 Add unit test for the cubic interpolation mode and check everywhere
2514 if the interpolation mode could be set as expected.
2516 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2518 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2519 Don't use GLib-2.10 functions, we still depend on
2520 GLib-how-old-is-it-again-2.8.
2522 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2524 * docs/gst/gstreamer-sections.txt:
2528 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2529 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2530 (_gst_param_fraction_values_cmp),
2531 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2532 * gst/gstparamspecs.h:
2534 * tests/check/Makefile.am:
2535 * tests/check/gst/.cvsignore:
2536 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2537 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2538 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2539 (GST_START_TEST), (gst_param_spec_suite):
2540 API: add GstParamSpecFraction, so elements can have fraction
2541 properties without lots of painful string parsing (#444648).
2543 2007-06-05 Wim Taymans <wim@fluendo.com>
2545 * gst/gstobject.c: (gst_object_class_init):
2546 Fix signal signature.
2549 Add small clarification in the api docs.
2551 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2552 States are protected with object lock.
2554 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2557 I should probably be listed as an author by now.
2559 * docs/random/release:
2560 Update the release doc
2562 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2565 Make docs for gst_value_compare() mention return enums that
2568 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2573 === release 0.10.13 ===
2575 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2578 releasing 0.10.13, "With or without you"
2580 2007-05-25 Wim Taymans <wim@fluendo.com>
2582 * gst/gstbin.c: (bin_handle_async_done):
2583 Make sure that the child bin stops after completing the async state
2584 change so that the parent can continue the state change to PLAYING.
2587 2007-05-25 Wim Taymans <wim@fluendo.com>
2589 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2590 (unref_data), (gst_collect_pads_remove_pad),
2591 (gst_collect_pads_check_pads):
2592 Use additional refcounting to avoid crashes when dynamically adding and
2593 removing pads. Fixes #420206.
2595 2007-05-24 Wim Taymans <wim@fluendo.com>
2597 * tools/gst-launch.c: (event_loop):
2598 When buffering goes from a two digit to a single digit number, make sure
2599 to remove the old second digit by writing a blank over it.
2601 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2603 * libs/gst/base/gstdataqueue.c:
2604 Eliminate tabs and trailing comma in enum list; fix some typos.
2606 2007-05-24 Wim Taymans <wim@fluendo.com>
2608 * tests/check/gst/gstbin.c: (GST_START_TEST):
2609 Allow refcount of 3 and 4 because some state thread might still be busy
2612 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2614 * plugins/elements/Makefile.am:
2615 * plugins/elements/gstmultiqueue.h:
2616 * plugins/elements/gstqueue.h:
2617 These are not installed headers, no need for padding.
2619 2007-05-24 Wim Taymans <wim@fluendo.com>
2621 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2622 (gst_bin_continue_func):
2623 Enable latency for next release.
2624 Restore STATE_LOCK around recalc_state that was left out during the
2625 rewrite and could result in racy behaviour when _get_state and
2626 recalc_state are run concurrently. See #440463.
2628 2007-05-23 Wim Taymans <wim@fluendo.com>
2630 * tests/check/gst/gstsystemclock.c: (store_callback),
2632 Improve test_async_order to also work when both timers are already
2633 expired when we get scheduled to check it.
2635 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2637 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2638 (gst_bin_set_property), (gst_bin_get_property),
2639 (gst_bin_remove_func), (gst_bin_handle_message_func):
2641 'private' is a c++ keyword, let's not use that in header files,
2642 otherwise c++ compilers will throw a tantrum.
2644 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2646 * plugins/elements/gstelements.c:
2647 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2648 (gst_file_sink_get_current_offset):
2649 * plugins/indexers/gstindexers.c: (plugin_init):
2650 Use #ifdef for HAVE_XYZ for consistency.
2652 * tests/check/Makefile.am:
2653 * tests/check/elements/.cvsignore:
2654 * tests/check/elements/filesink.c: (setup_filesink),
2655 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2656 Add some unit tests for filesink.
2658 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2660 Patch by: Mark Nauwelaerts <manauw at skynet be>
2662 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2663 (gst_file_sink_query), (gst_file_sink_do_seek),
2664 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2665 * plugins/elements/gstfilesink.h:
2666 Fix position reporting; rename data_written member to current_pos to
2667 reflect its real meaning (fixes #412648).
2669 2007-05-22 Edward Hervey <edward@fluendo.com>
2671 * docs/gst/gstreamer-sections.txt:
2672 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2673 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2674 (gst_bin_remove_func), (gst_bin_handle_message_func):
2676 Add a property for bins that handle the state change of their childs.
2679 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2681 * libs/gst/controller/gstinterpolation.c:
2682 Use an array of the correct type when using _get_value_array with
2683 linear interpolation.
2685 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2687 * gst/gstelement.c (gst_element_requires_clock,
2688 gst_element_provides_clock, gst_element_request_pad,
2689 gst_element_class_set_details, gst_element_class_set_details_simple,
2690 gst_element_default_send_event, gst_element_abort_state,
2691 gst_element_continue_state, gst_element_set_state,
2692 gst_element_set_state_func, iterator_activate_fold_with_resync):
2693 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2694 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2695 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2696 gst_pad_get_range, gst_pad_pull_range):
2697 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2698 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2699 GstPadActivateModeFunction, GstPadChainFunction,
2700 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2701 GstPadFixateCapsFunction, GstPadTemplate):
2702 * gst/gstpipeline.c (gst_pipeline_change_state,
2703 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2704 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2705 gst_pipeline_get_delay):
2706 Whitespace and docs fixes.
2708 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2710 * libs/gst/controller/gstinterpolation.c:
2711 (interpolate_trigger_get_enum_value_array),
2712 (interpolate_trigger_get_string_value_array):
2713 Add support for retrieving value arrays when using the trigger
2716 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2718 * libs/gst/controller/gstcontroller.c:
2719 (gst_controller_get_value_array):
2720 * libs/gst/controller/gstcontroller.h:
2721 Clarify the docs of gst_controller_get_value_array(): The array where
2722 the values should be written to must be allocated as there seems to be
2723 no way to get the size of a random GType. This doesn't change any
2724 behaviour. Also fix some typos all over the place and remove an unused,
2725 commented function that is not necessary as g_object_set() could be
2727 * tests/check/libs/controller.c: (GST_START_TEST),
2728 (gst_controller_suite):
2729 Add unit test for gst_controller_get_value_array().
2731 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2733 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2735 Disable part of the gst_buffer_try_new_and_alloc test, because
2736 it can happily succeed on 64-bit systems where there's more address
2739 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2741 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2742 Add unit test for the improved caps checking from bug #421543.
2744 2007-05-21 Wim Taymans <wim@fluendo.com>
2746 * docs/design/part-synchronisation.txt:
2749 * gst/gstbin.c: (gst_bin_query):
2750 * plugins/elements/gstqueue.c: (apply_segment):
2756 2007-05-21 Wim Taymans <wim@fluendo.com>
2758 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2759 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2760 (gst_pad_configure_src):
2761 Added simple version of improved caps checking. It was previously
2762 assumed that a setcaps function would check the validity of the caps but
2763 people prefer us to check caps against the template automatically.
2766 2007-05-21 Wim Taymans <wim@fluendo.com>
2768 * libs/gst/base/gstbasetransform.h:
2769 Fix macro for locking/unlocking the transform lock.
2771 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2773 * docs/plugins/tmpl/.cvsignore:
2776 2007-05-18 Edward Hervey <edward@fluendo.com>
2778 * plugins/elements/gstqueue.c: (gst_queue_loop):
2779 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2780 for the subtle art of warning a potentially blocking thread that it
2781 should check the source pad return value, and relay the information
2784 2007-05-18 Edward Hervey <edward@fluendo.com>
2786 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2787 Release the queue lock !
2789 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2791 * docs/libs/gstreamer-libs-sections.txt:
2792 Add the two new controller functions to the appropiate places.
2794 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2796 reviewed by: Stefan Kost <ensonic@users.sf.net>
2798 * libs/gst/controller/gstcontroller.c:
2799 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2800 (_gst_controller_get_property), (_gst_controller_set_property),
2801 (_gst_controller_init), (_gst_controller_class_init):
2802 * libs/gst/controller/gstcontroller.h:
2803 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2804 (gst_object_get_control_rate), (gst_object_set_control_rate):
2805 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2806 Add API that provides sync suggestion timestamps for elements that
2807 call gst_object_sync_values() from which those elements can subdivide
2808 their processing loop to get the best results for the controlled
2809 properties. For now it just suggests last_sync + control_rate as
2810 new timestamp but this will be improved in the future.
2812 While doing that change the control-rate property to a GstClockTime
2813 from guint and change it's meaning from samples to nanoseconds as
2814 the GstController doesn't know anything about sampling rate. Strictly
2815 speaking this breaks ABI but as the control-rate property didn't do
2816 anything in the past and as such couldn't be used this should be no
2819 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2821 reviewed by: Stefan Kost <ensonic@users.sf.net>
2823 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2824 (gst_controller_unset_all):
2825 * libs/gst/controller/gstcontrollerprivate.h:
2826 * libs/gst/controller/gstinterpolation.c:
2827 (gst_controlled_property_find_control_point_node):
2828 Save last synced value from the list to continue searching from there
2829 in future syncs. This speeds everything up a bit.
2831 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2833 reviewed by: Stefan Kost <ensonic@users.sf.net>
2835 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2836 (gst_control_point_find), (gst_controlled_property_new),
2837 (gst_control_point_free), (gst_controlled_property_free),
2838 (gst_controller_set), (gst_controller_set_from_list),
2839 (gst_controller_unset), (gst_controller_unset_all),
2840 (gst_controller_sync_values):
2841 * libs/gst/controller/gstcontroller.h:
2842 * libs/gst/controller/gstcontrollerprivate.h:
2843 * libs/gst/controller/gstinterpolation.c:
2844 (gst_controlled_property_find_control_point_node),
2845 (interpolate_none_get), (interpolate_trigger_get):
2846 Add a new private GstControlPoint struct which "inherits" from
2847 GstTimedValue to allow different interpolators to store internal
2848 values next to each control point. From the outside everything is
2849 still a GstControlPoint so we don't loose binary compatibility.
2850 Also fixup all the GValue handling to not leak GValues or list nodes.
2851 * tests/check/libs/controller.c: (GST_START_TEST):
2852 Free the list nodes and GValues in the controller_misc test.
2854 2007-05-17 Edward Hervey <edward@fluendo.com>
2859 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2861 * gst/gstplugin.c: (gst_plugin_load_file):
2862 If we fail to load a plugin because of unresolved symbols or missing
2863 libraries and spew a warning to stderr, we may just as well mention
2864 which plugin it was that failed to load.
2866 2007-05-13 David Schleef <ds@schleef.org>
2868 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2869 handles the case when ENABLE_GTK_DOC is false, and installs
2870 the prebuilt documentation. So gtk-doc subdirs are
2871 unconditionally enabled. Fixes: #349099.
2873 2007-05-13 David Schleef <ds@schleef.org>
2875 * gst/gstutils.h: Reword some documentation.
2877 2007-05-12 David Schleef <ds@schleef.org>
2879 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2880 do anything with the passed "module" parameter, so remove it.
2881 Allows removal of additional vestigal code.
2883 2007-05-12 David Schleef <ds@schleef.org>
2886 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2887 Switch to using g_stat() because it's more portable.
2889 2007-05-12 David Schleef <ds@schleef.org>
2892 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2893 parsing for embedded systems.
2894 * gst/gstelementfactory.c:
2895 Allow gst_element_register() to be called with plugin==NULL.
2896 Did nobody notice that static elements were broken?
2898 2007-05-12 Wim Taymans <wim@fluendo.com>
2900 * tools/gst-launch.c: (event_loop):
2901 Give more interesting info when buffering starts and stops.
2902 Fix case where buffering starts but we fail to update the buffering flag
2903 because the target state is not PLAYING.
2905 2007-05-12 Wim Taymans <wim@fluendo.com>
2907 * plugins/elements/gstqueue.c: (gst_queue_init),
2908 (gst_queue_finalize), (update_time_level), (apply_segment),
2909 (apply_buffer), (gst_queue_locked_flush),
2910 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2911 (gst_queue_handle_sink_event), (gst_queue_chain),
2912 (gst_queue_push_one), (gst_queue_loop):
2913 * plugins/elements/gstqueue.h:
2914 Refactor an cleanup queue a bit.
2915 Do better time level calculations that also work when the srcpad is not
2917 Remove some unneeded debug lines.
2919 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2920 Added testcase for time level measurement.
2921 Try to make some stuff more racefree.
2923 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2925 * gst/gsturi.c: (gst_element_make_from_uri):
2926 Don't leak plugin feature.
2928 * tests/check/Makefile.am:
2929 * tests/check/gst/.cvsignore:
2930 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2931 Add brain-dead unit test.
2933 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2935 Patch by: Jeroen Wouters <woutersj at gmail com>
2937 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2938 Treat protocol strings in a case-insensitive way (#437563).
2940 2007-05-11 Michael Smith <msmith@fluendo.com>
2942 * gst/gstplugin.c: (gst_plugin_load_file):
2943 * gst/gstregistry.c: (gst_registry_scan_path_level):
2944 Don't print a g_warning for any failure to load a shared object.
2945 Instead, push this down into gstplugin.c, and warn _only_ if we
2946 failed to open the module (i.e. failure to link).
2947 Avoids warnings on normal, working, non-plugin .so files.
2949 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2951 * gst/gstplugin.c (gst_plugin_load_file):
2952 * gst/gstregistry.c (GST_CAT_DEFAULT,
2953 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2954 Print a g_warning if there was an error when loading a plugins during
2955 registry scan. The shuld help beginners starting with gst-plugin
2958 2007-05-10 Wim Taymans <wim@fluendo.com>
2960 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2961 (update_time_level), (gst_queue_locked_flush),
2962 (gst_queue_handle_sink_event), (gst_queue_chain),
2963 (gst_queue_push_one), (gst_queue_loop):
2964 * plugins/elements/gstqueue.h:
2965 Be smarter when calculating the current amount of data in the queue by
2966 measuring the difference between start and end timestamps (in running
2967 time) inside the queue. Fixes #432876.
2968 API: GstQueue::pushing to notify elements that we are pushing data again
2969 since the running signal is rather broken for this purpose.
2971 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2973 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2974 gst_queue_base_init, gst_queue_init):
2977 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2979 * win32/common/libgstreamer.def:
2980 Add new exported functions.
2981 * win32/vs6/grammar.dsp:
2982 Use grammar pre-generated files.
2984 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2986 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2989 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2991 * gst/gstutils.c: (gst_parse_bin_from_description):
2993 Maintain API and ABI when --disable-parse is used. Now that
2994 we have an appropriate error code, we can just return NULL and the
2995 appropriate error when gst_parse_launch() is used despite it having
2996 been disabled (#342564).
2998 * tests/check/Makefile.am:
2999 * tests/check/pipelines/.cvsignore:
3000 * tests/check/pipelines/parse-disabled.c:
3001 Make sure these functions exist and return NULL plus a GError when
3002 --disable-parse is used.
3004 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3006 * tests/benchmarks/complexity.c: (main):
3007 * tests/benchmarks/mass-elements.c: (main):
3008 Set a good example and don't leak messages.
3010 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3012 * docs/gst/Makefile.am:
3013 * docs/libs/Makefile.am:
3014 Correct fixxrefs options.
3016 * docs/plugins/Makefile.am:
3017 * docs/plugins/gstreamer-plugins-docs.sgml:
3018 * docs/plugins/gstreamer-plugins-sections.txt:
3019 * plugins/elements/Makefile.am:
3020 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3021 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3022 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3023 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3024 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3025 _GstCapsFilterClass, trans_class):
3026 * plugins/elements/gstelements.c (name, rank, type, _elements):
3027 * plugins/elements/gstidentity.c
3028 (gst_identity_check_imperfect_timestamp,
3029 gst_identity_check_imperfect_offset):
3030 Document capsfilter and add doc-blurb to identity.
3032 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3034 * libs/gst/controller/gstcontroller.c:
3035 (gst_controlled_property_set_interpolation_mode):
3036 * libs/gst/controller/gstinterpolation.c:
3037 Don't crash if someone tries to set an interpolation mode that
3038 is invalid or that isn't supported yet. Fixes #422295.
3040 * tests/check/libs/controller.c: (GST_START_TEST),
3041 (gst_controller_suite):
3042 Add a test case for the above.
3044 2007-05-03 Edward Hervey <edward@fluendo.com>
3046 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3047 Properly set the last_stop position on GstSegment. This will only happen
3048 if there is a buffer to push out.
3050 2007-05-03 Wim Taymans <wim@fluendo.com>
3052 * libs/gst/base/gstbasetransform.c:
3053 (gst_base_transform_buffer_alloc):
3054 always_in_place does not mean that the sink and source caps are the
3055 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3057 2007-05-03 Wim Taymans <wim@fluendo.com>
3059 * docs/libs/gstreamer-libs-sections.txt:
3060 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3061 (gst_base_src_default_query), (gst_base_src_get_range):
3062 * libs/gst/base/gstbasesrc.h:
3063 API: gst_base_src_query_latency(). Added method so that subclasses can
3064 easily get the latency values of the base source class.
3066 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3068 * tools/gst-inspect.c (print_implementation_info):
3071 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3073 * tools/Makefile.am:
3074 * tools/gst-launch.1.in:
3075 Don't create a customised man page based on the host architecture,
3076 describe the default registry path generically. That way the man
3077 page is the same for all architectures and packagers have one
3078 multilib issue less to deal with. Fixes #434926.
3080 2007-05-02 Wim Taymans <wim@fluendo.com>
3083 Fix documentation as spotted by rg on IRC.
3085 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3088 Improve docs for gst_element_{link,unlink}.
3090 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3092 * docs/design/part-events.txt:
3093 * docs/design/part-overview.txt:
3097 * libs/gst/base/gstbasesink.c:
3098 Typo fixes; minor docs addition.
3100 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3102 * docs/gst/gstreamer-sections.txt:
3103 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3104 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3106 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3107 or src that supports a given URI protocol exists.
3109 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3111 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3112 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3113 Set the location to NULL if "file://" is set as URI. Otherwise
3114 some random previous URI would still be set if "file://" is
3115 set on an already used filesink/filesrc.
3117 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3119 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3120 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3121 Special case the "file://" URI as as this is used by some
3122 applications to test with gst_element_make_from_uri if there's
3123 an element that supports the URI protocol.
3124 Also move the g_path_is_absolute() check for the location part
3125 of the URI to also check this for "file://localhost/bla" URIs.
3127 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3129 * docs/gst/gstreamer-sections.txt:
3130 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3132 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3134 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3136 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3138 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3139 (gst_registry_binary_load_pad_template),
3140 (gst_registry_binary_load_plugin),
3141 (gst_registry_binary_read_cache):
3142 * gst/gstregistrybinary.h:
3143 Implement no-mmap alternative for registry reading. Do code cleanups.
3144 Add more comments about avoiding strdups for all text data. Comments
3147 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3149 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3150 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3151 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3152 Comment structs and reformat to fix the build (that stuff should go
3153 into a priv. header).
3155 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3157 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3158 (gst_registry_binary_load_feature):
3159 * gst/gstregistrybinary.h:
3160 Refactor so that we can implement multiple features. Add support for
3161 TypeFindFactory features.
3163 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3165 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3168 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3170 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3172 * gst/gstbin.c: (gst_bin_element_set_state),
3173 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3174 (bin_handle_async_done), (gst_bin_handle_message_func):
3175 Fix build with --gst-disable-gst-debug
3177 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3179 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3180 Make sure streaming has finished before calling the ::stop() vfunc,
3181 since that vfunc might clear state which is being used in the
3182 streaming thread. This fixes a race that caused crashes in
3183 audioresample when shutting down a pipeline (#420106).
3185 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3187 * docs/gst/gstreamer-sections.txt:
3188 That was one byte missing.
3190 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3193 * docs/gst/gstreamer-sections.txt:
3195 * gst/gstconfig.h.in:
3196 * gst/gstobject.c: (gst_object_class_init),
3197 (gst_signal_object_class_init):
3199 2nd attempt to have a xml-less build as a joined effort of #413123
3202 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3204 * docs/design/draft-tagreading.txt:
3205 Added open issues/thoughts to draft.
3207 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3209 * gst/parse/grammar.tab.pre.c:
3210 * gst/parse/grammar.tab.pre.h:
3211 * gst/parse/lex._gst_parse_yy.pre.c:
3212 Update the prebuild parser sources.
3214 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3216 * gst/parse/Makefile.am:
3217 And now fix the building of the flex sources. Now everything should
3220 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3222 * gst/parse/Makefile.am:
3223 Now hopefully fix the build failures by setting proper rule
3224 dependencies and moving instead of copying.
3226 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3228 * tests/benchmarks/complexity.gnuplot:
3229 * tests/benchmarks/complexity.scm:
3230 * tests/benchmarks/mass-elements.gnuplot:
3231 * tests/benchmarks/mass-elements.scm:
3232 Total licensification.
3234 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3236 * gst/parse/Makefile.am:
3237 Fix the build by correcting the rule that gave wrong files to flex.
3239 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3241 * tests/benchmarks/complexity.c:
3242 * tests/benchmarks/mass-elements.c:
3243 Change licence to LGPL as granted by Benjamin and Andy.
3245 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3247 * gst/parse/Makefile.am:
3248 Add correct grammar.tab.h dependency if compiling without new enough
3249 flex. Fixes #431150.
3251 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3253 * gst/parse/Makefile.am:
3254 Fix typo and use outdated sources if the flex/bison sources are newer
3255 than the pregenerated ones but flex is too old. Print a warning in
3256 that case. This should fix the build on the build bot.
3258 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3260 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3261 * gst/parse/Makefile.am:
3262 * gst/parse/grammar.y:
3263 * gst/parse/parse.l:
3264 Make the parser reentrant and recursively callable. This requires flex
3265 >= 2.5.31, for older versions pregenerated sources are used as we
3266 can't bump the build dependency. Finally fixes #349180.
3268 * gst/gstparse.c: (gst_parse_launch):
3269 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3272 * docs/gst/Makefile.am:
3273 * docs/gst/Makefile.am:
3274 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3275 (__gst_parse_strfree), (__gst_parse_link_new),
3276 (__gst_parse_link_free), (__gst_parse_chain_new),
3277 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3278 (gst_parse_element_set), (gst_parse_free_link),
3279 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3280 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3281 (_gst_parse_launch):
3282 * gst/parse/grammar.tab.pre.h:
3283 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3284 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3285 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3286 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3287 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3288 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3289 (_gst_parse_yypop_buffer_state),
3290 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3291 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3292 (yy_fatal_error), (_gst_parse_yyget_extra),
3293 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3294 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3295 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3296 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3297 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3298 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3299 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3300 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3301 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3302 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3303 (_gst_parse_yyfree):
3304 If the installed flex version is too old use pre-generated parser
3305 sources. These pre-generated parser sources are always updated when
3306 the actual flex/bison sources change but require everybody who wants
3307 to change something in the parser to have flex >= 2.5.31 installed.
3309 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3311 * common/m4/gst-gettext.m4:
3312 * gst/gst-i18n-lib.h:
3313 Make --disable-nls to work
3315 2007-04-17 Wim Taymans <wim@fluendo.com>
3317 * gst/gstconfig.h.in:
3318 Revert previous change that broke the build.
3320 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3324 * gst/gstconfig.h.in:
3325 Drop libxml2 dependency when building with
3326 --enable-binary-registry --disable-loadsave
3328 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3330 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3331 (gst_registry_binary_read_cache):
3332 * gst/gstregistrybinary.h:
3333 Remove unnecessary <sys/mman.h> include which broke the win32 build
3334 with MingW; move includes from header file to .c file, even if the
3335 header file isn't installed; use g_strerror() where UTF-8 strings
3336 are expected, such as in GST_DEBUG messages.
3338 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3340 * docs/libs/gstreamer-libs-sections.txt:
3341 Remove bogus addition for API I didn't end up keeping.
3343 * libs/gst/base/gstbasesrc.h:
3344 Mention Since: 0.10.13 in the documentation.
3346 Add the API keyword to the previous ChangeLog entry.
3348 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3350 * docs/libs/gstreamer-libs-sections.txt:
3351 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3352 (gst_base_src_default_prepare_seek_segment),
3353 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3354 * libs/gst/base/gstbasesrc.h:
3355 Allow basesrc derived classes to execute seeks in other formats
3356 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3357 to prepare the GstSegment in any format that their perform_seek method
3358 will be able to understand. The default implementation provides the
3359 old behaviour of attempting to convert the seek offsets to the
3360 configured native format.
3362 API: basesrc::prepare_seek_segment vmethod.
3364 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3366 * gst/gstelement.c: (gst_element_get_state_func):
3367 Don't output the same debug statement twice.
3369 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3370 (gst_adapter_peek), (gst_adapter_take_buffer):
3371 Optimise the case where we have buffers at the head of the queue that
3372 can be joined quickly (because they're contiguous sub-buffers) by
3373 merging them together rather than copying data out into new memory.
3375 * gst/parse/grammar.y:
3376 * tests/check/pipelines/parse-launch.c:
3377 Fix a leak in an error path for parse_launch, and add a check
3378 for it to the testsuite.
3380 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3382 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3383 Don't deadlock when releasing a pad - gst_pad_set_active may try
3384 and take the multiqueue lock too.
3386 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3388 * gst/gsterror.c: (_gst_core_errors_init):
3390 API: add GST_CORE_ERROR_DISABLED (#392804).
3392 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3394 * docs/faq/gst-uninstalled:
3395 don't get empty paths on the PATH variables
3396 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3397 Don't format for the uncommon terminal width of 84 characters.
3399 2007-04-06 Wim Taymans <wim@fluendo.com>
3401 * gst/gstpipeline.c: (reset_stream_time),
3402 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3403 Only try to select a different pipeline clock when we went back to
3404 PAUSED and not when we merely got flushed.
3406 2007-04-05 Michael Smith <msmith@fluendo.com>
3408 * tools/gst-launch.1.in:
3409 fractions are better supported in gstreamer than ractions, so
3410 suggest using those.
3412 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3414 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3418 Added Danish translation.
3420 2007-04-05 Wim Taymans <wim@fluendo.com>
3422 * libs/gst/base/gstbasesink.c:
3423 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3424 Fix leak caused when refusing newsegment after EOS.
3426 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3427 (gst_fake_sink_init), (gst_fake_sink_set_property),
3428 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3429 (gst_fake_sink_render), (gst_fake_sink_change_state):
3430 * plugins/elements/gstfakesink.h:
3431 Add num-buffers property to make the element generate EOS after a
3432 configurable amount of buffers.
3433 API: fakesink::num-buffers property.
3435 * tests/check/elements/fakesink.c: (GST_START_TEST),
3437 Fix GstBus leak in test.
3438 Test for fakesink num-buffers.
3440 2007-04-05 Wim Taymans <wim@fluendo.com>
3442 * libs/gst/base/gstbasesink.c:
3443 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3444 (gst_base_sink_change_state):
3445 Don't accept anything after an EOS, return UNEXPECTED instead.
3447 * tests/check/elements/fakesink.c: (GST_START_TEST),
3449 Unit test for new EOS behaviour.
3451 2007-04-05 Wim Taymans <wim@fluendo.com>
3453 * gst/gstelement.c: (gst_element_get_request_pad):
3454 Make padtemplates also work when they don't contain %s or %d.
3456 2007-04-05 Wim Taymans <wim@fluendo.com>
3458 * docs/gst/gstreamer-sections.txt:
3459 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3460 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3462 Improve _adjust_unlocked() so that it overflows less.
3463 Add gst_clock_unadjust_unlocked to convert from external time to
3464 internal time based on calibration.
3465 Add some more debug.
3466 API: GstClock::gst_clock_unadjust_unlocked()
3468 2007-04-03 Wim Taymans <wim@fluendo.com>
3470 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3472 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3473 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3474 when releasing sink pad. Fixes #425400.
3476 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3478 * docs/random/ensonic/dynlink.txt:
3479 More work on proposal for new core api.
3481 * docs/libs/gstreamer-libs-sections.txt:
3482 * libs/gst/base/gstbasetransform.h:
3483 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3485 * libs/gst/controller/gstcontroller.c:
3486 (on_object_controlled_property_changed),
3487 (gst_controller_sync_values),
3488 (gst_controller_set_interpolation_mode):
3489 * libs/gst/controller/gstcontroller.h:
3490 Less verbose logging add docs for unimplemented parts and correctly
3491 return when using unavailable parts.
3493 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3495 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3496 Move all the debug to the CLOCK category, and associate it with
3499 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3501 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3502 Make take_buffer a bit quicker by removing redundant checks
3503 caused by calling gst_adapter_take.
3505 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3507 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3510 * tests/check/Makefile.am:
3511 * tests/check/elements/.cvsignore:
3512 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3513 (GST_START_TEST), (multiqueue_suite):
3514 Add some dead simple unit tests for the 'multiqueue' element
3515 (some bits don't work yet and are disabled for now).
3517 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3519 * gst/gstelement.c: (gst_element_get_request_pad),
3520 (gst_element_class_get_request_pad_template):
3521 Make gst_element_get_request_pad() create request pads only for
3522 request pad templates and not for, say, sometimes pad templates.
3524 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3526 * docs/design/draft-klass.txt:
3527 Add example that needs more thinking.
3529 * docs/design/draft-missing-plugins.txt:
3530 More thoughts about wrapper plugins.
3532 * docs/random/ensonic/embedded.txt:
3533 * docs/random/ensonic/profiling.txt:
3536 2007-03-25 Wim Taymans <wim@fluendo.com>
3538 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3539 (gst_base_src_loop):
3540 Only push the segment events in the PLAYING state for live sources.
3542 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3544 * gst/gstpipeline.c: (gst_pipeline_change_state):
3545 Modify the clock distribution path in PAUSED->PLAYING so that we
3546 never attempt to choose a new clock unless we're actually leaving
3547 the PAUSED state for the first time. This prevents choosing a
3548 different clock when the state_change gets called for a 2nd time due
3549 to some element doing an async state change.
3551 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3553 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3554 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3555 (gst_pad_chain_unchecked), (gst_pad_push):
3556 Revert last commit. This needs some more thoughts.
3558 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3560 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3561 (gst_pad_chain_unchecked), (gst_pad_push):
3562 Check in set_caps if the caps are compatible with the pad and remove
3563 two functions that are redundant now. Fixes #421543.
3565 2007-03-22 Wim Taymans <wim@fluendo.com>
3567 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3568 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3569 Unref some more to make valgrind happy.
3571 2007-03-22 Wim Taymans <wim@fluendo.com>
3573 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3574 (gst_system_clock_id_wait_jitter),
3575 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3576 Fix anoying regression that survived a few releases. When adding an
3577 async entry while blocking on a sync entry, the sync entry will unblock
3578 but still be busy, so it should continue to wait instead of returning
3580 Add some comments here and there.
3582 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3583 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3584 Add testcase for this.
3586 2007-03-22 Wim Taymans <wim@fluendo.com>
3588 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3589 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3590 WRONG_STATE and can silently pause the task. All other cases should
3593 2007-03-22 Wim Taymans <wim@fluendo.com>
3595 Patch by: Ville Syrjala <syrjala at sci dot fi>
3597 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3598 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3601 2007-03-21 Michael Smith <msmith@fluendo.com>
3603 * docs/pwg/advanced-types.xml:
3604 Fix some errors in the typefinding docs pointed out on irc.
3606 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3608 * libs/gst/base/gstbasesrc.c:
3609 Clarify FIXME comment in the face of having added unlock_stop()
3611 2007-03-21 Wim Taymans <wim@fluendo.com>
3613 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3614 Prepare for release where we warn against possible app breakage in the
3615 case of live pipelines along with an env var to enable/disable live
3616 preroll mode (GST_COMPAT=[no-]live-preroll).
3618 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3620 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3621 So we should use correct constants for checking for None offset.
3623 2007-03-20 Wim Taymans <wim@fluendo.com>
3625 * docs/design/part-block.txt:
3626 Mention the fact that the newly switched element should be set to at
3629 2007-03-20 Wim Taymans <wim@fluendo.com>
3632 Fix compilation with registry disabled as spotted by Saur.
3634 2007-03-20 Wim Taymans <wim@fluendo.com>
3636 Patch by: Olivier Crete <tester at tester dot ca>
3638 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3639 Look at the pending state too when syncing the element state to the
3640 parent. Fixes #420133.
3642 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3644 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3645 (gst_base_sink_change_state):
3646 * libs/gst/base/gstbasesink.h:
3647 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3648 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3649 (gst_base_src_deactivate):
3650 * libs/gst/base/gstbasesrc.h:
3651 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3652 for sub-classes to correctly clear any state they set trying to
3653 unlock, such as clearing out unlock commands from a command fd.
3654 API: basesrc::unlock_stop
3655 API: basesink::unlock_stop
3657 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3658 (gst_fd_sink_render), (gst_fd_sink_unlock),
3659 (gst_fd_sink_unlock_stop):
3660 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3661 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3662 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3664 Implement unlock_stop in fdsrc and fdsink.
3665 Implement seeking in fdsrc when a seekable fd is passed, as in
3666 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3668 2007-03-19 Wim Taymans <wim@fluendo.com>
3670 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3672 * gst/gstelement.c: (gst_element_class_init):
3673 Fix pad-added and pad-removed signal signatures so that the pad type is
3674 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3676 2007-03-19 Wim Taymans <wim@fluendo.com>
3678 * docs/gst/gstreamer-sections.txt:
3679 Add new element field and method.
3681 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3682 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3683 (gst_bin_recalc_state), (gst_bin_get_state_func),
3684 (gst_bin_element_set_state), (gst_bin_change_state_func),
3685 (gst_bin_continue_func), (bin_bus_handler),
3686 (bin_push_state_continue), (bin_handle_async_start),
3687 (bin_handle_async_done), (gst_bin_handle_message_func):
3688 Make async state changes a bit smarter by using new ASYNC_START and
3689 ASYNC_DONE messages. This reduces the number of times we run the state
3690 recalculation thread.
3691 Don't change state of element with a pending ASYNC_START message.
3692 Deprecate STATE_DIRTY messages.
3694 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3695 (gst_element_get_state_func), (gst_element_continue_state),
3696 (gst_element_lost_state), (gst_element_set_state_func),
3697 (gst_element_change_state):
3699 Keep the state that was last set by the app in a new element field.
3700 Don't allow state changes when handling an element event.
3701 Post ASYNC_START and ASYNC_DONE messages.
3702 Change lost_state so that we go to PAUSED and wait for the parent to set
3703 us to PLAYING again (so latency calculation can be performed)
3704 Export gst_element_change_state() method so that subclasses can use it.
3705 API: gst_element_change_state()
3706 API: GST_STATE_TARGET
3708 * gst/gstpipeline.c: (gst_pipeline_class_init),
3709 (reset_stream_time), (gst_pipeline_change_state),
3710 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3711 Using the new ASYNC_START message we can reset the base_time when
3712 needed. This can then be used to implement base_time redistribution in
3713 flushing seeks so that we can remove the explicit seek handling.
3714 Perform latency query and configuration when going to PLAYING.
3716 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3717 (gst_base_sink_query), (gst_base_sink_change_state):
3718 Post new ASYNC_START/ASYNC_DONE messages.
3720 * tests/check/generic/sinks.c: (GST_START_TEST):
3721 Fix test because the bin will not set the async element to PLAYING right
3724 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3725 Make the message check a little stronger.
3726 Handle ASYNC messages.
3728 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3729 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3730 Expect ASYNC_DONE messages.
3732 2007-03-19 Wim Taymans <wim@fluendo.com>
3734 * docs/gst/gstreamer-sections.txt:
3735 * gst/gstmessage.c: (gst_message_new_async_start),
3736 (gst_message_new_async_done), (gst_message_parse_info),
3737 (gst_message_parse_async_start):
3739 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3742 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3744 * tools/gst-inspect.c:
3745 (print_plugin_automatic_install_info_codecs):
3746 Now that we don't check for the 'Codec' keyword any longer in the
3747 klass, we shouldn't spew a warning if the klass isn't a decoder or
3748 encoder (since it might be a Source/Network, for example).
3750 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3752 * tools/gst-inspect.c:
3753 (print_plugin_automatic_install_info_codecs):
3754 Don't require decoder/demuxer/depayloader elements or
3755 encoder/muxer/paylader elements to have 'Codec' as part of their
3756 factory class string when introspecting a plugin's capabilities.
3757 draft-klass.txt mentions that it might be removed in future, and
3758 flump3dec doesn't have it as part of its class string, so chances
3759 are others might also not have it.
3761 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3783 Update translations from translation project
3785 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3787 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3788 (gst_child_proxy_set_property):
3789 Invert precondition check to be alike the ones in the mimiced gobject
3792 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3794 * docs/design/draft-tagreading.txt:
3795 * docs/random/ensonic/audiobaseclasses.txt:
3796 Do some Architect work.
3798 * gst/gstobject.c: (gst_object_set_name):
3802 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3804 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3806 * gst/gstsystemclock.c: (gst_system_clock_init),
3807 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3808 Defer starting the async system clock thread until the first async
3809 wait is scheduled. Fixes #414986.
3811 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3813 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3814 (gst_single_queue_free):
3815 Fix small leak (free GstSingleQueue structure too, not only contents).
3817 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3819 * gst/gstbin.c:(gst_bin_add):
3820 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3821 * win32/common/libgstbase.def:
3822 * win32/common/libgstreamer.def:
3823 Add new exported functions.
3825 2007-03-09 Wim Taymans <wim@fluendo.com>
3827 * docs/plugins/gstreamer-plugins-sections.txt:
3830 2007-03-09 Wim Taymans <wim@fluendo.com>
3832 * docs/gst/gstreamer-sections.txt:
3833 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3835 Add metadata copy functions. Fixes #393099.
3836 API: gst_buffer_copy_metadata()
3838 * gst/gstutils.c: (gst_buffer_stamp):
3839 * libs/gst/base/gstbasetransform.c:
3840 (gst_base_transform_prepare_output_buffer):
3841 Use new metadata copy functions.
3843 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3845 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3846 (gst_identity_init), (gst_identity_check_perfect),
3847 (gst_identity_check_imperfect_timestamp),
3848 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3849 (gst_identity_set_property), (gst_identity_get_property):
3850 * plugins/elements/gstidentity.h:
3851 Separate out check-imperfect-timestamp and check-imperfect-offset.
3852 Put back check-perfect as it was to keep compatibility.
3854 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3856 * gst/gstelement.c: (gst_element_dispose):
3857 There's no need to warn if VOID_PENDING is not NONE here, as
3858 long as the state is NULL it's ok, and that's checked immediately
3861 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3863 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3864 Fix check for perfect stream to ignore buffers with -1
3865 offsets/offset ends when checking data contiguity.
3867 2007-03-08 Wim Taymans <wim@fluendo.com>
3869 * tools/gst-launch.c: (event_loop):
3870 Print INFO messages.
3872 2007-03-08 Wim Taymans <wim@fluendo.com>
3874 * libs/gst/base/gstbasetransform.c:
3875 (gst_base_transform_sink_eventfunc),
3876 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3877 (gst_base_transform_activate):
3878 * libs/gst/base/gstbasetransform.h:
3879 Add support for dropping buffers with custom GstFlowReturn.
3880 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3881 buffers or dropped buffers.
3883 * docs/libs/gstreamer-libs-sections.txt:
3884 docs for new custom return code.
3886 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3887 Use drop support in base class to implement drop-probability.
3889 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3891 * gst/gst.c: (load_plugin_func):
3892 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3893 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3894 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3895 Remove newlines at end of debug log strings.
3897 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3899 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3900 Only post bus message at max, once per buffer received.
3902 2007-03-07 Wim Taymans <wim@fluendo.com>
3904 * docs/design/Makefile.am:
3905 * docs/design/part-synchronisation.txt:
3906 Add doc about synchronisation
3908 * docs/design/draft-latency.txt:
3909 * docs/design/part-TODO.txt:
3910 * docs/design/part-clocks.txt:
3911 * docs/design/part-events.txt:
3912 * docs/design/part-gstbus.txt:
3913 * docs/design/part-gstpipeline.txt:
3914 * docs/design/part-live-source.txt:
3915 * docs/design/part-messages.txt:
3916 * docs/design/part-overview.txt:
3917 * docs/design/part-streams.txt:
3918 * docs/design/part-trickmodes.txt:
3919 Documentation updates.
3921 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3924 Update the doap file.
3926 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3928 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3929 Rename non-perfect to imperfect for Mike and for the sanctity of the
3931 Also make sure bus message gets emitted for data-incontiguities.
3933 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3935 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3936 (gst_identity_start):
3937 * plugins/elements/gstidentity.h:
3938 Emit bus message if check-perfect is true and we encounter a
3939 non-perfect stream between 2 consecutive buffers.
3942 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3947 === release 0.10.12 ===
3949 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3952 releasing 0.10.12, "Inevitable Demise"
3954 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3957 Version 0.10.11.2 (0.10.12 pre-release)
3958 Bump libtool versioning.
3960 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3962 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3963 Log flow-names and not numbers.
3965 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3968 Convert to new AG_GST style.
3970 2007-02-28 Wim Taymans <wim@fluendo.com>
3972 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3973 Don't unref query twice.
3975 2007-02-28 Wim Taymans <wim@fluendo.com>
3977 * gst/gstvalue.c: (gst_value_transform_object_string),
3978 (_gst_value_initialize):
3979 Implement GstObject -> string transform so we print object names
3980 when serializing GValues containing GstObjects.
3982 2007-02-28 Wim Taymans <wim@fluendo.com>
3984 * docs/gst/gstreamer-sections.txt:
3985 Add new stuff to docs.
3987 2007-02-28 Wim Taymans <wim@fluendo.com>
3989 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3990 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3991 (gst_base_sink_change_state):
3992 Improve latency query code.
3993 Don't leak latency events.
3995 * tests/check/gst/gstbin.c: (GST_START_TEST):
3998 2007-02-28 Wim Taymans <wim@fluendo.com>
4000 * gst/gstelement.c: (gst_element_message_full),
4001 (gst_element_get_state_func):
4003 Improve docs a little. Added Since: for new macro.
4005 * gst/gstobject.c: (gst_object_sink):
4006 * gst/gstpipeline.c: (gst_pipeline_change_state),
4007 (gst_pipeline_set_new_stream_time):
4008 * gst/gstpipeline.h:
4009 Improve debugging and docs.
4011 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4014 2007-02-28 Wim Taymans <wim@fluendo.com>
4016 * gst/gstelement.c: (gst_element_message_full),
4017 (gst_element_set_locked_state), (gst_element_get_state_func),
4018 (gst_element_change_state):
4019 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4020 Documentation updates.
4021 Small code cleanups.
4023 * gst/gstmessage.c: (gst_message_new_info),
4024 (gst_message_parse_info):
4026 API: gst_message_new_info()
4027 API: gst_message_parse_info()
4028 Add INFO message create and parse code.
4030 2007-02-28 Wim Taymans <wim@fluendo.com>
4032 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4033 (bin_query_latency_done):
4034 Also report the live parameter of a latency query.
4036 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4038 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4039 Copy the current generic/states example from -base and adapt so
4040 we can use the exact same code everywhere.
4041 Check a STATES_IGNORE_ELEMENTS env var which can be used
4042 to ignore certain element factories for this test, which is
4043 what is being done in -base
4044 * tests/check/Makefile.am:
4045 Mention this environment variable.
4047 2007-02-27 Wim Taymans <wim@fluendo.com>
4049 * docs/gst/gstreamer-sections.txt:
4050 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4051 (gst_bus_timed_pop), (gst_bus_pop):
4053 API: gst_bus_timed_pop()
4054 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4055 message to arrive on the bus.
4057 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4059 Two unit tests for new _timed_pop() function.
4061 2007-02-23 Wim Taymans <wim@fluendo.com>
4063 * gst/gstpipeline.c: (gst_pipeline_change_state),
4064 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4065 Don't ref a NULL clock in _provide_clock_func().
4066 Don't allow an INVALID delay.
4067 Don't try to calculate base_time with an invalid start_time.
4068 Also distribute and notify a NULL clock when it was selected.
4070 * tools/gst-launch.c: (event_loop):
4071 Don't crash when a NULL clock was selected in the pipeline.
4073 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4075 * docs/design/Makefile.am:
4076 * docs/design/draft-missing-plugins.txt:
4077 * docs/random/draft-missing-plugins.txt:
4078 Some small updates: update plugin system identifier prefix
4079 ('gstreamer.net' to 'gstreamer'), mention our new install
4080 API in libgstbaseutils rather than libgimme-codec, add
4081 reference to the online docs.
4083 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4085 * win32/common/config.h:
4086 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4087 use moap cl ci to only check in what is mentioned in the ChangeLog.
4089 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4091 * docs/gst/gstreamer-sections.txt:
4093 Fix up documentation to link to the correct GstGError section.
4094 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4096 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4098 * tools/gst-launch.c: (event_loop):
4099 Make sure that we actually show the important message part of a
4101 No need to check if the gerror is not NULL to free; first of all
4102 g_free accepts NULL; and second the default error handler would
4103 segfault if gerror was NULL.
4105 2007-02-21 Wim Taymans <wim@fluendo.com>
4107 * docs/gst/gstreamer-sections.txt:
4108 Removed docs as well.
4110 2007-02-21 Wim Taymans <wim@fluendo.com>
4112 * gst/gstmessage.c: (gst_message_parse_duration):
4114 Remove new messages for release.
4116 2007-02-20 Wim Taymans <wim@fluendo.com>
4118 * docs/design/part-gstghostpad.txt:
4119 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4120 (gst_ghost_pad_new_full):
4121 Make the ghostpad a parent of the internal pad again for better backward
4122 compatibility. Don't write code that relies on this however.
4124 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4125 (gst_pad_link_check_hierarchy):
4126 Require that parents should be GstElements in the hierarchy check.
4128 2007-02-20 Wim Taymans <wim@fluendo.com>
4130 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4131 (gst_bin_change_state_func), (bin_query_min_max_init),
4132 (bin_query_latency_fold), (bin_query_latency_done),
4135 Implement latency query.
4137 2007-02-20 Wim Taymans <wim@fluendo.com>
4139 * docs/design/part-gstghostpad.txt:
4140 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4141 (gst_ghost_pad_internal_do_activate_push),
4142 (gst_ghost_pad_internal_do_activate_pull),
4143 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4144 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4145 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4146 Do not set the internal pad as a parent anymore so we can avoid
4147 hierarchy linking errors when the ghostpad has no parent yet. This also
4148 fixes failed activation because of unlinked internal pads, which in
4149 turn fixes the impossible case where you have to activate a pad before
4150 you can add it to a running element.
4153 * gst/gstpad.c: (pre_activate), (post_activate),
4154 (gst_pad_set_active), (gst_pad_activate_pull),
4155 (gst_pad_activate_push), (gst_pad_check_pull_range):
4156 Add some more debug info.
4157 Mark activation mode in pre_activate so that we don't try to activate in
4158 endless loops. Fixes #385084.
4160 2007-02-19 Wim Taymans <wim@fluendo.com>
4162 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4163 (gst_base_transform_check_get_range):
4164 Implement a checkgetrange function instead of relying on the default
4165 core behaviour that assumes we can operate in pull mode if we have a
4166 getrange function. First step at fixing #385084.
4168 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4170 * gst/gstchildproxy.h:
4171 * libs/gst/base/gstbasesink.h:
4172 * libs/gst/base/gstbasesrc.h:
4173 * libs/gst/base/gstbasetransform.h:
4174 More docs coverage and some ChangeLog surgery (add missing names)
4176 2007-02-15 Wim Taymans <wim@fluendo.com>
4178 * docs/design/part-TODO.txt:
4179 * docs/design/part-activation.txt:
4180 * docs/design/part-block.txt:
4181 * docs/design/part-buffering.txt:
4182 * docs/design/part-clocks.txt:
4183 * docs/design/part-element-source.txt:
4184 * docs/design/part-events.txt:
4185 * docs/design/part-gstbin.txt:
4186 * docs/design/part-gstbus.txt:
4187 * docs/design/part-gstpipeline.txt:
4188 * docs/design/part-live-source.txt:
4189 * docs/design/part-messages.txt:
4190 * docs/design/part-overview.txt:
4191 * docs/design/part-qos.txt:
4192 * docs/design/part-query.txt:
4193 * docs/design/part-states.txt:
4194 * docs/design/part-trickmodes.txt:
4195 Some doc updates. Start renaming from stream_time to running_time where
4196 it was used wrongly.
4198 2007-02-15 Wim Taymans <wim@fluendo.com>
4200 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4201 Answer LATENCY query.
4203 2007-02-15 Wim Taymans <wim@fluendo.com>
4205 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4209 2007-02-15 Wim Taymans <wim@fluendo.com>
4211 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4212 (gst_pad_dispatcher):
4213 Improve debugging of default pad dispatcher and query functions.
4215 2007-02-15 Wim Taymans <wim@fluendo.com>
4217 * docs/gst/gstreamer-sections.txt:
4218 Remove old unused method.
4220 2007-02-13 Wim Taymans <wim@fluendo.com>
4222 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4225 2007-02-13 Wim Taymans <wim@fluendo.com>
4227 * docs/design/part-seeking.txt:
4230 * gst/gstsegment.c: (gst_segment_set_seek):
4231 Revert old bogus change that should make seeking work again.
4233 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4235 * docs/random/ensonic/dynlink.txt:
4236 * docs/random/ensonic/interfaces.txt:
4237 * docs/random/ensonic/receipies.txt:
4238 Possible dynamic reconnection api, plus some type fixes the other two
4241 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4243 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4244 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4245 Also check for an absolute path following file:// in the filesrc
4246 element. Remove redundant check and call g_path_is_absolute() on the
4249 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4251 * docs/design/draft-klass.txt:
4252 Add existing category analysis.
4255 Fix doc example, framerate is a fraction.
4257 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4260 * docs/gst/Makefile.am:
4261 * docs/gst/gstreamer-sections.txt:
4262 * docs/libs/Makefile.am:
4263 Erm, forgot a bunch of --extra-dir.
4265 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4268 * docs/gst/Makefile.am:
4269 * docs/libs/Makefile.am:
4270 * docs/plugins/Makefile.am:
4271 Add crossreferences to glib/gobject docs.
4273 2007-02-12 Wim Taymans <wim@fluendo.com>
4275 * docs/design/draft-latency.txt:
4278 * docs/libs/gstreamer-libs-sections.txt:
4279 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4280 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4281 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4282 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4283 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4284 (gst_base_sink_get_position), (gst_base_sink_query),
4285 (gst_base_sink_change_state):
4286 * libs/gst/base/gstbasesink.h:
4287 API: gst_base_sink_query_latency() to let subclasses query the upstream
4289 API: gst_base_sink_get_latency() to let subclasses query the configured
4290 latency in the sink.
4291 Implement query and set latency.
4293 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4294 don't continue preroll when we are flushing. Fixes #405284.
4296 * tests/check/pipelines/stress.c: (change_state_timeout),
4297 (quit_timeout), (GST_START_TEST), (stress_suite):
4300 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4302 Patch by: René Stadler <mail at renestadler de>
4304 * docs/gst/gstreamer-sections.txt:
4305 * gst/gsttaglist.c: (_gst_tag_initialize):
4307 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4309 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4311 * docs/libs/Makefile.am:
4312 Fix path to core docs.
4314 * gst/gstbin.c: (gst_bin_get_by_interface),
4315 (gst_bin_iterate_all_by_interface):
4316 Refix docs by also renaming 'interface' to 'iface' in implementation.
4318 * docs/gst/gstreamer-sections.txt:
4320 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4321 * gst/gstchildproxy.h:
4322 * gst/gstelementfactory.c:
4323 * gst/gstpadtemplate.h:
4324 * libs/gst/controller/gstcontroller.c:
4325 (gst_controlled_property_new):
4328 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4330 * gst/gstbin.h:(gst_bin_get_by_interface),
4331 (gst_bin_iterate_all_by_interface):
4332 Replace interface parameter name by iface as interface is
4333 a reserved keyword in Visual Studio for C++ projects so it removes
4334 a build error for application developpers using VS.
4335 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4336 Fix a bug on Windows in uri format check. Now the prefix checked
4337 is file:// and next we check if the path after file:// is absolute.
4338 * win32/common/libgstbase.def:
4339 * win32/common/libgstdataprotocol.def:
4340 * win32/common/libgstgstreamer.def:
4341 Add new exported functions.
4343 2007-02-09 Andy Wingo <wingo@pobox.com>
4345 * tests/check/pipelines/simple-launch-lines.c
4346 (simple_launch_lines_suite, test_tee): Disable tee test until I
4347 have time to fix it :-(
4349 * tests/check/Makefile.am (noinst_HEADERS):
4350 * tests/check/libs/libsabi.c:
4351 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4352 * tests/check/gst/gstabi.c:
4353 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4355 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4356 tests for push and pull tee behavior.
4358 * plugins/elements/gsttee.h:
4359 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4360 mark as deprecated as well as unimplemented. It was a crack idea.
4361 Add support for tee operating in pull mode, off by default.
4363 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4364 normal-case logs down to LOG, raise errors to WARNING.
4365 (gst_registry_xml_read_cache): Don't log before calling a function
4368 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4369 exit (registry finalize).
4370 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4371 DEBUG log when we emit signals that people don't even have the
4372 chance to connect to.
4373 (gst_registry_scan_path_level): Less logging in the normal case.
4375 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4377 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4379 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4380 Correctly generate EOS for non-seekable files. We don't have a total
4381 length for them and would get an unexpected end of file if we only
4382 special-cased for regular files. (Fixes: #404569)
4384 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4386 * tests/check/elements/filesrc.c: (GST_START_TEST),
4388 Add unit test for the GstURIHandler interface in filesrc. This also
4389 tests the newly added file://localhost/foo/bar support.
4391 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4393 * gst/gstelementfactory.h:
4394 The klass string is not a hierarchy. Add reference to the design doc
4395 for more information and common types.
4397 2007-02-02 Wim Taymans <wim@fluendo.com>
4399 * gst/gstquery.c: (gst_query_new_latency):
4400 Remove old structure field.
4402 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4404 * tools/gst-launch.1.in:
4405 Give example for network streaming (#351998)
4407 2007-02-02 Wim Taymans <wim@fluendo.com>
4409 * docs/gst/gstreamer-sections.txt:
4410 Add docs for new methods.
4412 * gst/gstevent.c: (gst_event_new_latency),
4413 (gst_event_parse_latency):
4415 Add new LATENCY event to configure latency in a pipeline.
4416 API: gst_event_new_latency
4417 API: gst_event_parse_latency
4419 * gst/gstmessage.c: (gst_message_new_buffering),
4420 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4421 (gst_message_new_latency), (gst_message_parse_buffering),
4422 (gst_message_parse_lost_preroll):
4424 Added messages used in draft-latency.
4425 API: gst_message_new_lost_preroll
4426 API: gst_message_parse_lost_preroll
4427 API: gst_message_new_prerolled
4428 API: gst_message_new_latency
4430 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4431 (gst_query_parse_latency):
4433 Implemented new latency query as in design doc.
4434 API: gst_query_new_latency
4435 API: gst_query_set_latency
4436 API: gst_query_parse_latency
4438 2007-02-02 Wim Taymans <wim@fluendo.com>
4440 * docs/design/draft-latency.txt:
4441 Slight redesign to allow for dynamic latency adjustments.
4443 * docs/design/part-negotiation.txt:
4446 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4448 reviewed by: Wim Taymans <wim@fluendo.com>
4450 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4451 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4452 Allow file://localhost/foo/bar URLs and correctly fail for every other
4453 hostname that one sets. This was gnomevfssrc is linked for those if
4454 installed as it can handle it (#403172)
4456 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4458 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4460 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4461 (unref_data), (gst_collect_pads_add_pad_full):
4462 * libs/gst/base/gstcollectpads.h:
4463 Don't put the previously added destroy notify in the GstCollectData
4464 struct as all it's padding is already used and we don't want to break
4465 ABI. Instead put in the pad's GObject data for now. This should be
4466 cleaned up for 0.11 (#402393).
4468 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4470 reviewed by: Wim Taymans <wim@fluendo.com>
4472 * docs/libs/gstreamer-libs-sections.txt:
4473 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4474 (unref_data), (gst_collect_pads_add_pad),
4475 (gst_collect_pads_add_pad_full):
4476 * libs/gst/base/gstcollectpads.h:
4477 API: Add function to specify a destroy notification for custom
4478 GstCollectData when adding new pads in GstCollectPads (#402393).
4480 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4483 Update Swedish translation (#378255).
4485 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4487 * docs/design/draft-klass.txt:
4488 Fix the previous change, this is a list of categories and not a hierarchy.
4490 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4492 * docs/design/draft-klass.txt:
4493 Add info about how to get a list of used classes.
4495 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4497 * plugins/elements/gsttypefindelement.c:
4498 (gst_type_find_element_chain_do_typefinding),
4499 (gst_type_find_element_change_state):
4500 Don't leak found caps in chain function (no idea why that never
4501 showed up as a leak anywhere).
4503 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4506 Fix and expand GstPluginDesc API docs.
4508 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4511 * gst/gstelementfactory.c:
4512 * gst/gstpadtemplate.h:
4515 * libs/gst/controller/gstcontroller.c:
4516 (gst_controlled_property_new):
4517 * tests/examples/controller/audio-example.c:
4520 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4523 comment about refining the xml deps
4526 comments about moving away from jade for docs
4529 recommit the ifdefs to use the binary registry
4531 * gst/gstbin.c: (gst_bin_change_state_func):
4532 this break is obsolete
4534 * gst/gstelementfactory.h:
4535 better GST_ELEMENT_DETAILS docs, add comment about translation
4540 * gst/gstobject.c: (gst_signal_object_get_type):
4541 add G_UNLIKELY as usual
4543 * gst/gstpad.c: (gst_pad_event_default):
4544 add fall trhu comment
4546 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4547 (gst_registry_binary_initialize_magic),
4548 (gst_registry_binary_save_string),
4549 (gst_registry_binary_save_pad_template),
4550 (gst_registry_binary_save_feature),
4551 (gst_registry_binary_save_plugin),
4552 (gst_registry_binary_write_cache),
4553 (gst_registry_binary_check_magic),
4554 (gst_registry_binary_load_pad_template),
4555 (gst_registry_binary_load_feature),
4556 (gst_registry_binary_load_plugin),
4557 (gst_registry_binary_read_cache):
4558 comment typo and formatting
4560 * gst/gstutils.c: (gst_element_state_get_name),
4561 (gst_element_state_change_return_get_name):
4562 remove obsolete breaks
4564 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4565 add FIXME 0.11 and remove cpp comment
4567 2007-01-29 Edward Hervey <edward@fluendo.com>
4569 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4570 Fix print statement in an even more portable way.
4572 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4574 * docs/gst/gstreamer-sections.txt:
4576 API: add GST_ROUND_DOWN_* macros (#401781).
4578 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4580 * docs/gst/gstreamer.types.in:
4581 * gst/gstregistry.c: (gst_registry_class_init):
4582 Document registry signals and make gtk-doc pick them up (#401381).
4584 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4586 * docs/pwg/building-testapp.xml:
4587 Add some audioconverts and audioresample to the pipeline, and some
4588 more comments and error handling.
4590 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4592 * docs/manual/manual.xml:
4596 2007-01-26 Wim Taymans <wim@fluendo.com>
4598 * gst/gstcaps.c: (gst_static_caps_get):
4599 Init caps flags too.
4601 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4603 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4605 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4606 If not using mmap'ed files try to seek to the end instead of the
4607 start to determine whether we can seek at all. This fixes the case
4608 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4609 seeks for everything afterwards fail. Fixes #400656
4611 2007-01-25 Wim Taymans <wim@fluendo.com>
4613 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4614 Add some refcount debugging.
4615 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4616 in multiple streaming threads.
4618 2007-01-25 Wim Taymans <wim@fluendo.com>
4620 Patch by: David Schleef <ds at schleef dot org>
4622 * docs/libs/gstreamer-libs-sections.txt:
4623 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4624 * libs/gst/base/gstadapter.h:
4625 API: gst_adapter_copy() that can reduce the amount of memcpy when
4626 getting data from the adapter. Fixes #388201.
4628 2007-01-25 Edward Hervey <edward@fluendo.com>
4630 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4631 In print statements, "%x" is for guint. Fixes build on macosx.
4633 2007-01-24 Edward Hervey <edward@fluendo.com>
4635 * plugins/elements/gstmultiqueue.c:
4636 (gst_multi_queue_loop):
4638 (single_queue_overrun_cb), (single_queue_underrun_cb),
4639 (single_queue_check_full), (gst_single_queue_new):
4640 Implement single queue growth system.
4641 This uses the extra-size properties, and will grow single queues by
4642 that much if one goes full whereas there are others empty. This is
4643 called extra-mode in the code.
4644 When a single queue's levels go back below the initial max-size
4645 limits, it is no longer in extra-mode. This is to ensure we don't
4646 consume too much memory.
4649 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4651 * gst/gst.c: (gst_init_get_option_group):
4652 Make warning about late g_thread_init() calls a bit more explicit,
4653 so that it's more obvious to application developers what they need
4654 to do if a user files a bug against their application.
4656 2007-01-22 Edward Hervey <edward@fluendo.com>
4658 * plugins/elements/gstmultiqueue.c:
4659 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4660 Remove previous hack of unsetting the flushing flag for the source pad
4661 instead of activating it. Instead, fix the source pad activate function
4662 so that it no longer depends on having a parent set or not.
4664 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4666 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4668 * docs/manual/basics-bus.xml:
4669 Fix example code, gst_element_unref() doesn't exist any longer.
4671 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4673 Patch by: Mark Nauwelaerts <manauw at skynet be>
4676 Fix two docs typoes (#399094).
4678 2007-01-19 Edward Hervey <edward@fluendo.com>
4680 * docs/faq/gst-uninstalled:
4681 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4682 depending on libgstbaseutils can work in uninstalled environment.
4684 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4687 * gst/gsttagsetter.c:
4688 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4689 statement for new tag.
4691 2007-01-17 Edward Hervey <edward@fluendo.com>
4693 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4694 When dynamically creating single queues, activate sinkpad before adding
4696 We should be doing the same thing for the source pad, but we can't
4697 since it would call a method which needs the parent to be set in order
4698 to work propertly. Instead of activating the source pad, we just unset
4699 the flushing flag, which is the minimal requirement for adding a pad
4700 to an element in a state greater than READY.
4702 2007-01-17 Edward Hervey <edward@fluendo.com>
4704 * docs/faq/gst-uninstalled:
4705 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4708 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4710 * tests/check/gst/gstabi.c:
4711 * tests/check/gst/struct_hppa.h:
4712 * tests/check/libs/libsabi.c:
4713 * tests/check/libs/struct_hppa.h:
4714 Add ABI structs for HPPA (see #393796).
4716 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4718 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4719 Actually write ABI structs to the file specified in the GST_ABI
4720 environment variable, as the message we print claims we would.
4722 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4724 * tests/check/gst/gsttask.c:
4727 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4729 * gst/gsttaglist.c: (_gst_tag_initialize):
4730 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4731 previous two entries.
4733 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4735 * docs/gst/gstreamer-sections.txt:
4736 * gst/gsttaglist.c: (_gst_tag_initialize):
4738 Add tag support for beat-per-minute.
4740 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4742 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4743 (gst_registry_binary_initialize_magic),
4744 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4745 (gst_registry_binary_save_pad_template),
4746 (gst_registry_binary_save_feature),
4747 (gst_registry_binary_save_plugin),
4748 (gst_registry_binary_write_cache),
4749 (gst_registry_binary_check_magic),
4750 (gst_registry_binary_load_pad_template),
4751 (gst_registry_binary_load_feature),
4752 (gst_registry_binary_load_plugin),
4753 (gst_registry_binary_read_cache):
4754 * gst/gstregistrybinary.h:
4755 Use glib types, cleanup comments, impement interfaces and uri-types.
4757 2007-01-13 Andy Wingo <wingo@pobox.com>
4759 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4760 getrange() to return buffers with other caps, while we fix
4761 demuxers and typefind, or otherwise change part-negotiation.txt.
4763 2007-01-12 Andy Wingo <wingo@pobox.com>
4765 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4766 Factor start/stop into this private function instead of partially
4767 in activate functions and partially in the change_state function.
4768 Fixes setup before the element has changed from READY->PAUSED, as
4769 is the case in pull-mode pipelines.
4770 (gst_base_transform_sink_activate_push)
4771 (gst_base_transform_src_activate_pull): Refactor to use
4772 gst_base_transform_activate().
4773 (gst_base_transform_change_state): Removed, not needed any more.
4775 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4776 Truncate before fixating.
4778 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4779 Don't set_caps() if the result of fixating is ANY, as it's not
4780 supported, and not necessary in the case of a link with no
4781 template caps on either side. Fixes tests/check/libs/basesrc in
4782 some pull-mode tests.
4784 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4785 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4786 (gst_base_transform_src_activate_pull):
4787 Track the activation mode.
4788 (gst_base_transform_setcaps): In pull mode, when activating the
4789 src pad, after activating the sink pad, activate the sink pad's
4790 peer, as discussed in part-negotiation.txt.
4792 * libs/gst/base/gstbasesrc.h:
4793 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4794 vmethod, as in basesink.
4796 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4798 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4799 mode, first proxy the setcaps to the peer pad.
4800 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4802 (gst_base_sink_default_activate_pull): Rename from
4803 gst_base_sink_activate_pull.
4804 (gst_base_sink_negotiate_pull): New function, performs negotiation
4805 in pull mode before calling ::activate_pull().
4806 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4807 vmethod instead of the default implementation. I have no idea how
4808 this worked before. Negotiate before calling activate_pull.
4810 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4811 sink pads in pull mode. In addition to being correct, fixes
4812 filesrc ! decodebin ! identity ! fakesink.
4813 (gst_pad_get_range, gst_pad_pull_range): Don't call
4814 gst_pad_set_caps() if the caps changes; instead error out with
4815 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4817 2007-01-12 Andy Wingo <wingo@pobox.com>
4819 * docs/design/part-negotiation.txt: Update with more policy.
4821 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4823 * libs/gst/check/gstbufferstraw.h:
4824 * libs/gst/check/gstcheck.h:
4825 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4828 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4830 * tests/check/Makefile.am:
4831 * tests/check/gst/.cvsignore:
4832 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4833 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4834 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4835 (GST_START_TEST), (gst_tag_setter_suite):
4836 Add minimal unit test for beforementioned GstTagSetter bug.
4838 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4840 Patch by: René Stadler <mail at renestadler dot de>
4842 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4843 gst_tag_list_merge() returns a new list, so it's not the best idea
4844 to ingore its return value. Effectively meant that tags could only
4845 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4846 Also add function guard to require a non-NULL taglist as input (has
4847 always been so due to gst_tag_list_copy(), just making it explicit).
4849 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4851 * docs/random/draft-missing-plugins.txt:
4852 Some additions: mention new API that is supposed to be used at the
4853 various stages; short blob about new gst-inspect introspection
4854 option; mention potential future problem with plugins that have
4855 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4857 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4859 * tools/gst-inspect.c:
4860 (print_plugin_automatic_install_info_codecs),
4861 (print_plugin_automatic_install_info_protocols),
4862 (print_plugin_automatic_install_info), (main):
4863 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4864 introspect plugin files and get machine-parsable output that corresponds
4865 to the last bit of the missing-plugin installer string (small gotcha:
4866 doesn't take into account ranks).
4868 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4871 * docs/gst/gstreamer-sections.txt:
4873 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4874 (gst_registry_lookup_locked):
4875 * gst/gstregistry.h:
4876 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4877 (gst_registry_binary_initialize_magic),
4878 (gst_registry_binary_save_string),
4879 (gst_registry_binary_save_pad_template),
4880 (gst_registry_binary_save_feature),
4881 (gst_registry_binary_save_plugin),
4882 (gst_registry_binary_write_cache),
4883 (gst_registry_binary_check_magic),
4884 (gst_registry_binary_load_pad_template),
4885 (gst_registry_binary_load_feature),
4886 (gst_registry_binary_load_plugin),
4887 (gst_registry_binary_read_cache):
4888 * gst/gstregistrybinary.h:
4889 * gst/gstregistryxml.c: (load_feature),
4890 (gst_registry_xml_read_cache):
4891 commit binary registry (disabled by default, see #359653)
4893 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4895 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4896 Fix 'make check' too.
4898 2007-01-10 Andy Wingo <wingo@pobox.com>
4900 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4903 * docs/design/part-negotiation.txt: Update with, um, one way that
4904 pull-mode negotiation might work?
4907 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4908 that the pad must be a src pad; makes sense to call it the other
4909 way in pull mode, and the logic is symmetric anyway.
4911 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4913 * plugins/elements/gstfilesink.c:
4914 Include <stdio.h> for fseeko().
4916 2007-01-10 Wim Taymans <wim@fluendo.com>
4920 Reserve LATENCY event.
4922 2007-01-09 Wim Taymans <wim@fluendo.com>
4924 * docs/design/draft-latency.txt:
4927 2007-01-09 Wim Taymans <wim@fluendo.com>
4929 * docs/design/draft-latency.txt:
4933 * gst/gststructure.c:
4937 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4939 * tests/check/.cvsignore:
4940 Ignore test-registry.xml as well.
4942 2007-01-09 Wim Taymans <wim@fluendo.com>
4944 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4945 unref data at the end when we are done with the pad.
4947 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4949 * docs/gst/gstreamer-sections.txt:
4950 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4951 (init_post), (gst_deinit), (gst_update_registry):
4953 API: add gst_update_registry() (#391296).
4955 * tests/check/Makefile.am:
4956 * tests/check/gst/gstregistry.c:
4957 * tests/check/gst/.cvsignore:
4958 Simple unit test for the above.
4960 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4962 * gst/gstregistry.c: (gst_registry_scan_path_level):
4963 Plugin extension on HP-UX is .sl, add that to the list of approved
4964 plugin extensions (see #393796).
4966 * tests/check/gst/gstpad.c: (GST_START_TEST):
4967 ulong => gulong. Fixes compilation with HP-UX compiler.
4969 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4970 Fix compilation if valgrind headers are not available.
4972 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4974 * win32/common/libgstreamer.def:
4975 Add new exported function.
4976 * win32/vs6/libgstbase.dsp:
4977 Add gstdataqueue.c to the build.
4978 * win32/vs6/libgstcoreelements.dsp:
4979 Add gstmultiqueue.c to the build.
4981 2007-01-06 Andy Wingo <wingo@pobox.com>
4983 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4984 activate_pull(), providing for a way to specialize the process of
4985 spawning a thread to pull on the sink pad. There is a default
4988 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4989 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4990 (gst_base_sink_init): Renamed pad activation functions (inserting
4991 "_pad" in their names). Refactor to use the new activate_pull
4992 vmethod, as appropriate.
4993 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4994 default activate_pull function to start a task pulling from the
4995 sink pad, as before.
4997 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4998 on the pads if necessary, as in push()/chain(). Update docs.
4999 Shouldn't affect existing pull() usage as it is currently only
5000 being used on buffers without caps.
5002 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5004 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5006 Call g_thread_init() first thing in gst_init() / gst_check_init().
5007 When initialisation is done via gst_init_get_option_group() and
5008 GOption parsing, issue a warning if the GLib thread system has not
5009 been initialised yet by the time gst_init_get_option_group() is
5010 called, as it's quite likely other GLib functions such as
5011 g_option_context_new() have been called already then, and
5012 g_thread_init() must be called before any other GLib function. The
5013 application in question must be fixed in that case, since memory
5014 corruption might happen otherwise.
5015 We issue the warning because even if the GLib folks decide to work
5016 around the problem on their end in future, this is still an issue
5017 with all GLib versions >= 2.10.0, so we should warn until we depend
5018 on a GLib version we know to be safe.
5019 Update documentation as well.
5022 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5024 * tools/gst-inspect.c: (main):
5025 * tools/gst-launch.c: (main):
5026 * tools/gst-typefind.c: (main):
5027 * tools/gst-xmlinspect.c: (main):
5028 Call g_thread_init() really really early, before any other GLib
5029 function (see #342564 and recent discussion on gtk-devel-list).
5031 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5033 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5035 * gst/gst_private.h:
5036 * gst/gstconfig.h.in:
5038 On win32, all the __declspec stuff for symbol exporting is
5039 apparently only needed with MSVC, but doesn't work with MingW.
5040 Fixes compilation with MingW and #391909.
5042 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5044 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5045 Change some GST_ERROR_OBJECT that aren't really errors to
5046 GST_WARNING_OBJECT in order to reduce terminal spam.
5048 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5050 * tests/check/Makefile.am:
5051 disable test again, as there seem to be still race problems
5053 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5055 * tests/check/Makefile.am:
5056 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5057 (GST_START_TEST), (queue_suite):
5058 enable queue test again, add tests for the leaky behaviour
5060 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5063 * tests/examples/Makefile.am:
5064 Compile adapter test/example only if the required headers are
5065 available (fixes #391915).
5067 2007-01-01 David Schleef <ds@schleef.org>
5070 Restore the previous signal handler for SIGSEGV instead of
5071 setting to default, since we may have stolen it away from
5072 someone. (i.e., Mono)
5074 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5076 * docs/random/draft-missing-plugins.txt:
5077 Some small additions and clarifications.
5079 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5081 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5082 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5083 since that can lead to random memory corruptions and crashes
5084 (may or may not be related to #383244, #386711, and #386711).
5086 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5088 * tests/check/.cvsignore:
5089 * tests/check/Makefile.am:
5090 sync .cvsignome and CLEANFILES
5092 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5094 * tests/check/Makefile.am:
5097 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5099 * docs/design/part-states.txt:
5100 two tiny additional comments
5102 * gst/gststructure.c:
5105 * tests/check/Makefile.am:
5106 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5108 disable test for now, unless it gets fixed
5110 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5112 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5114 fix race in underrun test
5116 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5118 * tests/check/elements/.cvsignore:
5121 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5123 try to narrow test failure
5125 2006-12-21 David Schleef <ds@schleef.org>
5127 * plugins/elements/gstfakesrc.c:
5128 Use g_random_int_range(), since it produces better random
5129 numbers in a range than almost-correct floating point code.
5131 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5133 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5134 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5135 (gst_check_teardown_sink_pad):
5136 do not automatically (de)activate pads
5138 * tests/check/Makefile.am:
5139 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5140 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5141 add new, yet simple tests for queue
5143 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5144 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5145 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5147 * tests/check/elements/identity.c: (cleanup_identity):
5148 consistent pad (de)activation
5150 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5152 Patch by: Sebastian Dröge <slomo ubuntu com>
5154 * libs/gst/base/gstcollectpads.c:
5155 Fix two doc typos (#387866).
5157 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5159 * docs/manual/advanced-dparams.xml:
5160 Fix typo (g_object_control_properties() doesn't exist).
5162 2006-12-19 Edward Hervey <edward@fluendo.com>
5164 * gst/gstsegment.c: (gst_segment_set_seek):
5165 Fine tune the cases where the segment start/stop values are really
5167 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5168 Add tests for the return values of gst_segment_set_seek().
5170 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5175 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5177 Fix incorrect documentation and flesh it out a bit more.
5178 Set default values for the max properties on the GParamSpec as well,
5179 so it shows up correctly in gst-inspect.
5181 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5183 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5184 Correct docs of queue, add more detail and crosslink it more.
5186 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5188 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5189 Print additional debug info when the stream isn't perfectly
5190 timestamped; don't try to use invalid durations.
5192 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5194 * docs/design/Makefile.am:
5195 Dist new design docs.
5197 2006-12-16 Wim Taymans <wim@fluendo.com>
5199 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5201 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5202 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5203 (gst_collect_pads_stop), (gst_collect_pads_event),
5204 (gst_collect_pads_chain):
5205 * libs/gst/base/gstcollectpads.h:
5206 Add refcounting to the collectpads data so we can track when it's safe
5207 to free the data. Fixes #383382.
5209 2006-12-15 Wim Taymans <wim@fluendo.com>
5211 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5212 (gst_collect_pads_remove_pad):
5213 Automatically activate/deactivate pads when they are added to a
5214 started/stoped collectpads.
5216 2006-12-15 Wim Taymans <wim@fluendo.com>
5218 * gst/gstelement.c: (gst_element_add_pad):
5219 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5220 * gst/gstpad.c: (gst_pad_init):
5221 Set pads to FLUSHING when they are created. Check, warn and fix when a
5222 demuxer adds an inactive pad to itself when running. Fixes #339326.
5224 2006-12-15 Wim Taymans <wim@fluendo.com>
5226 * gst/gstelement.c: (gst_element_class_init),
5227 (gst_element_default_send_event), (gst_element_send_event),
5228 (gst_element_default_query), (gst_element_query):
5229 Expose default element send_event and query handling as vmethods that
5230 subclasses can chain up to.
5232 2006-12-15 Wim Taymans <wim@fluendo.com>
5234 * gst/gstelement.c: (gst_element_set_state_func):
5235 Small documentation fixes.
5237 2006-12-15 Wim Taymans <wim@fluendo.com>
5239 * docs/design/draft-latency.txt:
5240 Checked in draft for handling latency in pipelines.
5242 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5246 * gstreamer.spec.in:
5249 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5251 * gst/gst.c: (init_pre), (init_post):
5252 init_pre() and init_post() might be called via our GOptionGroup or
5253 from gst_init(), and we should skip both of them if we've already
5254 been initialised, otherwise we will init some things twice or add
5255 two default log functions.
5257 2006-12-13 Edward Hervey <edward@fluendo.com>
5259 * docs/manual/basics-bus.xml:
5260 No, gst_main_loop does not exist. Its g_main_loop.
5261 Discovered by somebody who abused the copy-paste technique of coding :)
5263 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5265 * gst/gstghostpad.c:
5266 Log ghostpad debug stuff to the GST_PADS category as well rather
5267 than just to the default category.
5269 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5272 * gst/gst.c: (init_pre):
5273 Add some basic system details such as OS and architecture
5274 to the debug output if possible, courtesy of uname().
5276 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5278 * docs/gst/running.xml:
5279 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5280 environment variables.
5282 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5284 * tests/check/gst/gstbin.c: (GST_START_TEST):
5285 It is acceptable to have a refcount of 2 or 3 at this point in the
5286 test, because the pipeline might be just posting its state_change
5287 message. The next line then waits for that message to appear using
5288 bus_poll, so that should be fine too.
5290 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5292 * gst/gst.c: (ensure_current_registry_forking):
5293 Ignore EINTR when reading from the child registry pipe.
5294 Explicitly ignore the return value from close, since it makes no
5297 * gst/gstminiobject.c: (gst_mini_object_ref),
5298 (gst_mini_object_unref):
5299 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5301 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5302 When removing cached plugins, remove their features too, so they're
5303 not visible after they've disappeared.
5305 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5306 In the unlikely case that we are linking pads with no parents, don't
5307 crash trying to get the non-existent parent bin.
5309 * gst/parse/grammar.y:
5310 Output debug in the PIPELINE category
5312 2005-03-08 Wim Taymans <wim@fluendo.com>
5314 Patch by: René Stadler <mail at renestadler dot de>
5316 * gst/gstclock.c: (gst_clock_new_periodic_id):
5317 Reject invalid clock times for interval of periodic ids.
5320 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5322 * gst/gstelementfactory.c: (gst_element_factory_create):
5323 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5324 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5325 * tools/gst-inspect.c: (print_element_info):
5326 Fix refcounting of gst_plugin_feature_load to match the docs.
5329 2006-12-07 Wim Taymans <wim@fluendo.com>
5331 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5332 (gst_base_sink_get_position):
5333 Improve debugging of events.
5335 2006-12-07 Wim Taymans <wim@fluendo.com>
5337 Patch by: René Stadler <mail at renestadler dot de>
5339 * gst/gstclock.c: (gst_clock_id_wait):
5340 Make period ids add the interval to the origial requested time instead
5341 of the possibly updated time which can be wrong when there are multiple
5342 waiters for the same id. Fixes #382592.
5344 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5345 (gst_system_clock_id_wait_jitter_unlocked),
5346 (gst_system_clock_id_wait_jitter):
5347 Fix restart in the async notify thread when an async entry is added to
5348 the front of the list. Fixes #381492.
5350 * tests/check/gst/gstsystemclock.c: (store_callback),
5351 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5352 Added test for multiple async waits.
5353 Added test for async wait order.
5355 2006-12-07 Wim Taymans <wim@fluendo.com>
5357 * gst/gstbin.c: (gst_bin_query):
5358 Add some more docs about the POSITION query.
5360 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5363 Bump version nano - back to CVS.
5365 === release 0.10.11 ===
5367 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5370 releasing 0.10.11, "Love never runs on time"
5372 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5374 * win32/common/libgstbase.def:
5375 * win32/common/libgstreamer.def:
5376 * win32/vs8/libgstbase.vcproj:
5377 * win32/vs8/libgstcoreelements.vcproj:
5378 * win32/vs8/libgstreamer.vcproj:
5379 Fix compilation on win32 under VS8
5380 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5381 Partially fixes #381175
5383 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5385 * gst/gstvalue.c: (gst_value_compare_fraction):
5386 If someone is foolish enough to compare 2 fractions with denominator =
5387 0, return UNORDERED rather than aborting.
5389 2006-11-28 Edward Hervey <edward@fluendo.com>
5391 * libs/gst/base/Makefile.am:
5392 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5393 (gst_data_queue_base_init), (gst_data_queue_class_init),
5394 (gst_data_queue_init), (gst_data_queue_new),
5395 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5396 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5397 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5398 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5399 (gst_data_queue_set_flushing), (gst_data_queue_push),
5400 (gst_data_queue_pop), (gst_data_queue_drop_head),
5401 (gst_data_queue_set_property), (gst_data_queue_get_property):
5402 * libs/gst/base/gstdataqueue.h:
5403 New GstDataQueue object for threadsafe queueing. Most useful for
5404 elements that need some queueing functionnality.
5405 * docs/libs/gstreamer-libs-docs.sgml:
5406 * docs/libs/gstreamer-libs-sections.txt:
5407 Insert documentation for GstDataQueue
5408 * plugins/elements/Makefile.am:
5409 * plugins/elements/gstelements.c:
5410 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5411 (gst_multi_queue_class_init), (gst_multi_queue_init),
5412 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5413 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5414 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5415 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5416 (gst_multi_queue_loop), (gst_multi_queue_chain),
5417 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5418 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5419 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5420 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5421 (wake_up_next_non_linked), (compute_next_non_linked),
5422 (single_queue_overrun_cb), (single_queue_underrun_cb),
5423 (single_queue_check_full), (gst_single_queue_new):
5424 * plugins/elements/gstmultiqueue.h:
5425 New multiqueue element, using GstDataQueue. Used for queuing multiple
5427 Closes #344639 and #347785
5429 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5431 * docs/pwg/advanced-types.xml:
5432 add more missing type details
5434 * tools/gst-run.c: (main):
5435 remove unused variable
5437 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5439 * docs/libs/Makefile.am:
5440 * docs/libs/gstreamer-libs.types:
5441 add types of base classes to enable gobject specific stuff in the docs
5443 * docs/random/ensonic/embedded.txt:
5444 more ideas about isolating platform specific things
5446 2006-11-20 Wim Taymans <wim@fluendo.com>
5448 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5450 * libs/gst/check/gstcheck.h:
5451 Fix compilation and running against 0.9.4. Fixes #377332.
5453 2006-11-20 Wim Taymans <wim@fluendo.com>
5455 * gst/gstsegment.c: (gst_segment_set_seek),
5456 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5457 (gst_segment_to_running_time):
5458 Fix boundary checking in to_running_time() and to_stream_time().
5461 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5462 stream and running time can now be calculated for the complete
5465 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5467 * gst/gstpad.c: (gst_pad_push_event):
5468 Can't access event structure after giving away ownership of
5471 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5473 * docs/random/ensonic/embedded.txt:
5474 * docs/random/ensonic/profiling.txt:
5475 * docs/random/ensonic/receipies.txt:
5478 2006-11-13 Wim Taymans <wim@fluendo.com>
5480 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5483 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5485 2006-11-13 Wim Taymans <wim@fluendo.com>
5487 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5489 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5490 Store new length in segment duration so we don't keep on calling the
5491 potentially expensize get_size() call. Fixes #370865.
5493 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5495 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5497 * win32/common/libgstreamer.def:
5498 Add two missing symbols (#366492).
5500 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5502 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5503 (gst_adapter_take_buffer):
5504 Fix format string to use all its arguments.
5505 Remove useless >= check on a guint
5507 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5509 * tests/examples/adapter/.cvsignore:
5510 Ignore build file as commanded by the build-bot
5512 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5514 * tests/examples/adapter/Makefile.am:
5515 * tests/examples/adapter/adapter_test.c: (run_test_take),
5516 (run_test_take_buffer), (run_tests), (main):
5518 Add new files from the previous commit
5520 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5524 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5525 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5526 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5527 * libs/gst/base/gstadapter.h:
5528 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5529 (GST_START_TEST), (gst_adapter_suite):
5530 * tests/examples/Makefile.am:
5531 Do some optimisation work in GstAdapter to avoid copies in more cases.
5532 It could still do slightly better by merging buffers when
5533 gst_buffer_is_span_fast is true, but is already faster.
5535 Also, avoid traversing a single-linked list to append each incoming
5536 buffer inside the adapter.
5538 Add simple test app that times the adapter behaviour in different
5539 situations, and extend the unit test to check that bytes enter and
5540 exit the adapter in their original order.
5542 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5544 * docs/random/draft-missing-plugins.txt:
5545 Update: use element message instead of adding a new message
5546 type to the core; don't provide GStreamer API to initiate the
5547 plugin download, just provide API to compose the strings needed
5548 and let an external libgimmestuff handle the rest.
5550 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5552 * tools/gst-inspect.c: (print_element_properties_info):
5553 Print a string instead of 'unknown type' for GValueArray properties
5555 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5557 * docs/random/draft-missing-plugins.txt:
5560 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5562 * tests/examples/typefind/typefind.c: (type_found), (main):
5563 Make typefind element example work again (#371894); add a
5566 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5568 * docs/random/draft-missing-plugins.txt:
5569 Commit initial draft about how to deal with missing plugins,
5570 needs work (API too).
5572 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5574 * docs/pwg/advanced-types.xml:
5575 documents the new caps elements (see #363118)
5577 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5579 * gst/gstplugin.c: (gst_plugin_load_file):
5580 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5581 (gst_file_src_map_region), (gst_file_src_start):
5582 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5583 (gst_file_index_commit):
5584 Use g_strerror() instead of strerror() - we want UTF-8.
5586 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5588 Patch by: Peter Kjellerstedt <pkj at axis com>
5590 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5591 Another printf fix (#371493).
5593 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5595 * tests/check/gst/gsttag.c:
5596 relicence (okay with author=company)
5598 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5600 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5601 (gst_pad_push_event):
5602 Enhance debug and improve docs
5607 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5609 * docs/random/ensonic/distributed.txt:
5610 * docs/random/ensonic/profiling.txt:
5613 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5615 * docs/gst/gstreamer-sections.txt:
5616 add new API and fix the build
5618 * gst/gstbin.c: (gst_bin_recalc_state):
5619 * gst/gstelement.c: (gst_element_message_full),
5620 (gst_element_get_state_func), (gst_element_set_state_func):
5621 use new API and improve logging
5623 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5625 API: add function to get StateChangereturn names to improve logs
5627 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5629 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5630 I'm considering shooting the next person to put strerror stuff
5631 in the translateable part of the message.
5633 2006-11-03 Wim Taymans <wim@fluendo.com>
5635 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5636 Get the type and printf conversion specifiers right.
5638 2006-11-03 Wim Taymans <wim@fluendo.com>
5640 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5642 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5643 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5644 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5645 Some small cleanups. Improve debugging.
5647 Signal all waiting threads with a broadcast instead of just one.
5650 2006-11-03 Wim Taymans <wim@fluendo.com>
5652 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5653 (gst_fd_src_create):
5655 Only update fd when it's different from the old.
5657 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5659 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5660 Printf fixes for PPC/OSX, take two (#369366).
5662 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5664 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5666 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5667 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5668 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5669 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5670 don't cast to long long for portability reasons, but use
5671 GLib's types instead.
5673 2006-10-30 Michael Smith <msmith@fluendo.com>
5675 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5676 Get the arguments to lseek() the right way around.
5679 2006-10-30 Wim Taymans <wim@fluendo.com>
5681 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5684 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5686 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5688 Patch by: Kjartan Maraas <kmaraas at gnome org>
5690 * docs/design/part-MT-refcounting.txt:
5691 * docs/random/wtay/capsnego2-docs:
5694 Typo fixes (#366212).
5696 2006-10-28 Wim Taymans <wim@fluendo.com>
5698 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5701 * win32/common/libgstbase.def:
5702 * win32/common/libgstreamer.def:
5703 * win32/vs8/libgstbase.vcproj:
5704 * win32/vs8/libgstcontroller.vcproj:
5705 Add needed entries in .def files.
5707 Rearrange def files in vs8 solutions. Fixes #366286.
5709 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5711 * win32/common/gstconfig.h:
5712 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5713 hand-made win32 gstconfig.h. Fixes #366321.
5715 2006-10-27 Wim Taymans <wim@fluendo.com>
5717 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5718 (gst_ghost_pad_new_full):
5719 Make acceptcaps return TRUE when we don't have a target, just like
5722 2006-10-27 Wim Taymans <wim@fluendo.com>
5724 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5725 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5727 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5729 * gst/gststructure.c: (gst_structure_id_set_value):
5730 If someone tries to set a non-UTF8 string field on a structure,
5731 don't just print a warning, but also ignore the request and do
5732 not change/add that field to the structure.
5734 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5737 2006-10-25 David Schleef <ds@schleef.org>
5740 g_hash_table_insert() needs a cast to a non-const pointer duh.
5742 2006-10-25 David Schleef <ds@schleef.org>
5746 Change name parameter of _gst_debug_register_funcptr to const
5747 to reflect the constness of its use in the function as well
5748 as to quiet a gcc warning.
5750 2006-10-25 Edward Hervey <edward@fluendo.com>
5752 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5753 Don't push the buffer if it's empty.
5756 2006-10-24 Wim Taymans <wim@fluendo.com>
5761 * libs/gst/base/gstbasetransform.c:
5762 (gst_base_transform_sink_eventfunc):
5763 Debug segment values *after* updating them as this is more
5766 2006-10-23 Wim Taymans <wim@fluendo.com>
5768 * docs/design/part-events.txt:
5771 * docs/design/part-block.txt:
5772 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5773 (gst_pad_push_event):
5774 Revert BLOCKING patch, it tries to be smart without really having a
5775 clear idea what or how. So, now we discard all FLUSHING events again on
5776 a blocking pad. Should fix gnonlin again.
5778 2006-10-23 Wim Taymans <wim@fluendo.com>
5780 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5782 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5783 (gst_base_src_start), (gst_base_src_activate_push):
5784 Make sure size is always initialized. Fixes #364388.
5786 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5788 * docs/random/ensonic/distributed.txt:
5789 add some ideas about doing distributed processing
5791 * docs/random/ensonic/profiling.txt:
5792 get_rusage look promising
5794 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5796 * docs/manual/basics-helloworld.xml:
5797 Add a cast in example to fix compile warning
5799 2006-10-18 Wim Taymans <wim@fluendo.com>
5801 * gst/gstsegment.c: (gst_segment_set_last_stop),
5802 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5803 Relax arg checking again, -1 is allowed.
5805 2006-10-18 Wim Taymans <wim@fluendo.com>
5807 * gst/gstsegment.c: (gst_segment_set_last_stop),
5808 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5809 _set_last_stop() must be with a value != -1
5810 A _TYPE_SET to -1 means seek to 0.
5811 Calc last_stop correctly for negative rates.
5812 Make sure we work with positive durations when updating a segment.
5814 2006-10-18 Wim Taymans <wim@fluendo.com>
5816 * docs/design/part-live-source.txt:
5820 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5823 Add an explicit cast to GstBuffer** to keep old code that added an
5824 explicit cast to GstMiniObject** for gst_mini_object_replace()
5825 compiling without warning.
5827 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5829 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5830 check for validity of dates
5832 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5834 * docs/gst/gstreamer-sections.txt:
5835 Forgot this one, makes gtk-doc shut up.
5837 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5839 Patch by: Peter Kjellerstedt <pkj at axis com>
5842 Don't define xmlNodePtr to gpointer if the core was built with
5843 --disable-loadsave and --disable-registry, this will break
5844 applications that want to use libxml2 but are buildling against a
5845 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5846 instead so we don't have to mess with the libxml2 namespace
5849 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5852 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5853 type-punned pointer warnings.
5855 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5858 Add casts to the correct return type to state <=> state transition
5861 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5863 * docs/design/part-live-source.txt:
5864 describe howto handle latency
5866 * docs/random/ensonic/profiling.txt:
5869 * tools/gst-plot-timeline.py:
5870 fix log parsing for solaris, remove unused function
5872 2006-10-16 Wim Taymans <wim@fluendo.com>
5874 * docs/design/part-trickmodes.txt:
5876 Update some docs regarding reverse playback.
5878 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5880 Patch by: Marcus Granado <mrc dot gran at gmail com>
5882 * win32/vs8/grammar.vcproj:
5883 Error out with a warning if glib-genmarshal.exe is not in path,
5884 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5886 2006-10-13 Wim Taymans <wim@fluendo.com>
5888 * gst/gstsegment.c: (gst_segment_set_seek):
5889 When seeking to stop -1, set last_stop (current position) to the
5890 duration of the segment.
5892 2006-10-13 Wim Taymans <wim@fluendo.com>
5895 Clarify _NO_PREROLL a bit more.
5900 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5901 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5902 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5903 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5904 due to wrong locking order. Fixes #361769.
5905 Remove some redundant/misplaced checks in pad_block.
5907 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5908 For negative rates, count backwards from the duration.
5910 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5912 * gst/gsterror.c: (_gst_library_errors_init):
5913 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5914 up with something better).
5916 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5918 * win32/vs6/libgstreamer.dsp:
5919 * win32/vs7/libgstreamer.vcproj:
5920 * win32/vs8/libgstreamer.vcproj:
5921 Don't reference glib-compat.c which is currently not used and not
5922 disted; add gstquark.c which was recently added. Fixes #361730.
5924 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5926 * win32/common/libgstbase.def:
5927 * win32/common/libgstcontroller.def:
5928 * win32/common/libgstreamer.def:
5929 Add gst_caps_merge() and a bunch of other recently-added functions.
5932 2006-10-11 Wim Taymans <wim@fluendo.com>
5934 * docs/plugins/gstreamer-plugins.args:
5935 * docs/plugins/inspect/plugin-coreelements.xml:
5936 * docs/plugins/inspect/plugin-coreindexers.xml:
5937 Update element args.
5939 * gst/gstsystemclock.c:
5940 Small comment update.
5942 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5943 (gst_tee_request_new_pad), (gst_tee_release_pad),
5944 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5945 (gst_tee_sink_activate_pull):
5946 * plugins/elements/gsttee.h:
5948 Add default property defines.
5949 Implement release pad function.
5950 Give properties better blubs etc.
5951 Activate pads before adding them to a running tee.
5952 Do simple buffer_alloc on the first requested pad.
5953 Post error when activation fails.
5955 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5957 * gst/gst.c: (ensure_current_registry_forking):
5958 Check return value of write() to make compiler happy.
5960 2006-10-11 Wim Taymans <wim@fluendo.com>
5962 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5964 * plugins/elements/gstqueue.c: (gst_queue_chain):
5965 Recheck queue filledness after signalling the overrun when we're about
5966 to leak downstream because we released the lock when emitting the signal
5967 and the queue could be empty again. Fixes #352345.
5969 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5971 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5972 Fix refcounting here too, just like we did for _new_valist() a few
5973 days ago (#357180) (thanks to René Stadler). Also remove all those
5974 'Since: 0.9' from the gtk-doc blobs.
5976 * tests/check/libs/controller.c: (controller_refcount_new_list),
5977 (gst_controller_suite):
5978 Unit test for the above.
5980 2006-10-10 Wim Taymans <wim@fluendo.com>
5982 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5984 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5985 (gst_pad_save_thyself):
5987 Write pad direction in XML output. Fixes #345496.
5989 2006-10-10 Wim Taymans <wim@fluendo.com>
5991 Patch by: René Stadler <mail at renestadler dot de>
5993 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5994 (gst_controller_new_list), (_gst_controller_dispose),
5995 (_gst_controller_finalize), (_gst_controller_class_init):
5996 Take ref to controlled object so that it cannot disappear.
5999 2006-10-10 Wim Taymans <wim@fluendo.com>
6001 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6002 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6003 (gst_check_teardown_sink_pad):
6004 Activate/deactivate pads in setup/teardown respectively.
6006 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6008 Patch by: Josep Torre Valles <josep@fluendo.com>
6011 Cast values when making gstenumtypes.h. This pacifies Forte
6012 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6015 2006-10-09 Wim Taymans <wim@fluendo.com>
6017 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6018 Rename some more @cur to @start to fix docs.
6020 * gst/gstsegment.c: (gst_segment_set_seek):
6022 time and start must always stay in sync as defined in design doc.
6024 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6025 Rename param to fix docs.
6027 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6028 Check that start and time are in sync.
6030 * tests/check/pipelines/parse-launch.c:
6031 (gst_parse_test_element_change_state):
6032 Activate pad before adding to the element.
6034 2006-10-09 Wim Taymans <wim@fluendo.com>
6036 * docs/design/part-qos.txt:
6041 Update seek event docs regarding negative rates.
6042 Rename @cur to @start.
6044 * gst/gstsegment.c: (gst_segment_set_seek):
6046 Update set_seek docs regarding negative rates.
6047 Correctly update last_stop to @stop when dealing with negative
6049 Rename @cur to @start.
6051 * tests/check/gst/gstpad.c: (GST_START_TEST):
6052 Activate pads before trying to use them.
6054 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6055 (gst_segment_suite):
6056 Add simple check for segments and negative rates.
6058 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6060 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6062 * docs/gst/gstreamer-sections.txt:
6063 API: add gst_tag_list_is_empty() (#360467).
6065 * tests/check/gst/gsttag.c: (GST_START_TEST):
6068 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6071 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6072 a value that doesn't fit on enumeration.
6074 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6076 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6077 Remove local debugging system and use Gstreamer's instead.
6079 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6081 Patch by: Josep Torre Valles <josep@fluendo.com>
6083 * common/m4/gst-error.m4:
6084 Disable warning of statement not reached on Forte.
6086 Fix warning on Forte (value doesn't fit on enumeration).
6087 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6088 Fix warning on Forte (value doesn't fit on enumeration).
6089 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6090 DEBUG macro says it takes minimum of 2 args and so Forte
6091 complains about the use with just 1 arg.
6092 * plugins/elements/gstfdsink.c:
6093 * plugins/elements/gstfdsrc.c:
6094 * plugins/elements/gstfilesink.c:
6095 * plugins/elements/gstfilesrc.c:
6096 Use correct return type for the uri handler implementations.
6098 All these fix warnings in Forte. Fixes bug #360860.
6100 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6103 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6104 format string, so don't use G_GNUC_PRINTF for those versions.
6106 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6108 * gst/gsttaglist.c: (gst_is_tag_list):
6110 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6112 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6113 Small test for the above.
6115 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6118 Less tabs, more spaces.
6120 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6123 Those two function declarations do actually belong there, revert
6124 commit from yesterday that turned them intro macros.
6126 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6128 Patch by: Josep Torre Valles <josep@fluendo.com>
6130 * gst/gst.c: (gst_init_get_option_group):
6131 Fix empty declaration and type mismatch.
6132 * gst/gstbin.c: (gst_bin_change_state_func):
6134 * gst/gstelement.c: (gst_element_continue_state),
6135 (gst_element_set_state_func), (gst_element_change_state),
6136 (gst_element_change_state_func):
6137 Fix type mismatches.
6138 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6139 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6140 Cast as appropriate.
6141 * gst/gstobject.c: (gst_class_signal_connect):
6142 Cast as appropriate. The function pointer parameter really
6143 has the wrong type but would break API if we change it.
6145 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6146 order of including string.h.
6147 * gst/gstutils.c: (gst_element_state_get_name):
6148 Remove unreachable line.
6149 * gst/gstxml.c: (gst_xml_parse_doc):
6151 All these caught by Forte.
6153 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6155 Patch by: Josep Torre Valles <josep@fluendo.com>
6157 * common/m4/gst-error.m4:
6159 We need to disable warnings on Forte for empty declarations
6160 due to gst-indent adding ;s to lines that just use macros
6161 where the macro actually doesn't need a ; at end to end
6164 2006-10-06 Wim Taymans <wim@fluendo.com>
6166 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6167 (gst_file_sink_close_file), (gst_file_sink_event),
6168 (gst_file_sink_render):
6169 Add some FIXME for the NEWSEGMENT handling.
6171 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6173 * gst/parse/grammar.y:
6174 Remove static function gst_parse_element_lock as all it does
6175 is return. Looks like cruft from 0.8.
6177 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6179 Patch by: Josep Torre Valles <josep@fluendo.com>
6181 * common/m4/gst-error.m4:
6183 * libs/gst/net/Makefile.am:
6184 Fix a compilation issue with Forte on Solaris. inet_aton is in
6187 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6189 * gst/gstpad.c: (pre_activate):
6190 * gst/gstregistry.c: (gst_registry_scan_path_level):
6191 * gst/gstregistryxml.c: (load_plugin):
6192 * libs/gst/controller/gstcontroller.c:
6193 (gst_controlled_property_set_interpolation_mode):
6194 * libs/gst/dataprotocol/dataprotocol.c:
6195 (gst_dp_packet_from_event_1_0):
6196 * libs/gst/net/gstnetclientclock.c:
6197 (gst_net_client_clock_observe_times):
6198 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6201 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6204 * docs/gst/gstreamer-sections.txt:
6205 * gst/gstconfig.h.in:
6208 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6209 whether we can use G_GNUC_PRINTF in other header files and at
6210 least check the printf format/arguments of debug messages and
6211 GST_ELEMENT_ERROR messages when the printf extension is not
6213 Replace more tabs with spaces in gstinfo.h and remove two spurious
6214 function declarations in GST_DISABLE_DEBUG part with macros.
6216 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6218 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6219 More docs for the sync-message signal (mention that it is not
6220 emitted by default); log message structures of messages posted on
6223 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6225 * gst/gst.c: (ensure_current_registry_forking):
6226 Use a pipe pair to receive status results from the forked child, and
6227 ignore the result from waitpid. Fixes #355499
6229 2006-10-02 Wim Taymans <wim@fluendo.com>
6231 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6232 (gst_ghost_pad_suite):
6235 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6238 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6240 2006-10-02 Edward Hervey <edward@fluendo.com>
6242 * docs/design/part-block.txt:
6243 Further explain the use of flushing on blocked pads.
6244 * docs/gst/gstreamer-sections.txt:
6245 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6246 (gst_pad_push_event):
6248 Added new GstPadFlag : GST_PAD_BLOCKING.
6249 Adds the notion of pads really blocking, which enables to properly
6250 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6252 API: gst_pad_is_blocking()
6253 API: GST_PAD_IS_BLOCKING() macro
6254 API: GST_PAD_BLOCKING GstPadFlag
6256 2006-10-02 Wim Taymans <wim@fluendo.com>
6258 Patch by: mrcgran <mrc.gran at gmail dot com>
6260 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6261 Filter the proxied caps against the padtemplate if we have one.
6263 * gst/gstquery.c: (gst_query_new_segment):
6264 Add include for gstinfo.h so that compilation with
6265 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6267 2006-10-02 Wim Taymans <wim@fluendo.com>
6269 Patch by: Alessandro Decina <alessandro at nnva org>
6271 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6272 (gst_file_sink_set_location), (gst_file_sink_open_file),
6273 (gst_file_sink_close_file), (gst_file_sink_event),
6274 (gst_file_sink_render):
6275 Set file to NULL when closing filesink so that we can set a new filename
6276 in READY. Fixes #358613.
6278 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6280 Patch by: Alessandro Decina <alessandro at nnva org>
6282 * gst/gstevent.c: (_gst_event_copy):
6283 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6284 with event structures by setting the parent refcount address of the
6285 copied structure to the address of the refcount member of the newly
6286 copied event rather than the address of the refcount member of the
6287 original event. Fixes #358737.
6289 * tests/check/gst/gstevent.c: (GST_START_TEST):
6290 Unit test for the above.
6292 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6294 * docs/design/Makefile.am:
6295 Dist some more files.
6297 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6299 * tests/check/libs/controller.c: (GST_START_TEST),
6300 (gst_controller_suite):
6301 Add test for the previous fix; add some more tests
6302 for correct refcounting behaviour; fix a few leaks
6303 in test cases; call gst_controller_init() at start
6306 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6308 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6309 (gst_controller_set_from_list):
6310 Don't g_return_val_if_fail() on timed values with invalid timestamps
6311 inside a critical section without unlocking the mutex. Spotted by
6312 René Stadler. (#357617)
6313 Also, fix up refcounting properly: when returning an existing
6314 controller, we should increase the reference only once and not
6315 once per property and when trying to control a property again
6316 we should also increase the refcount.
6318 2006-09-29 Wim Taymans <wim@fluendo.com>
6320 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6321 * libs/gst/net/gstnettimeprovider.c:
6322 (gst_net_time_provider_thread):
6323 Stop reading commands when EOF as well.
6325 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6326 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6327 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6328 Unify description of the dump property.
6330 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6332 * tests/examples/manual/.cvsignore:
6333 OK, so it's actually cvsignore that needs changing. Stop laughing.
6335 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6337 * tests/examples/manual/Makefile.am:
6338 Gah, declare vars *before* using them
6340 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6342 * gst/gst.c: (init_pre), (scan_and_update_registry),
6343 (ensure_current_registry_nonforking),
6344 (ensure_current_registry_forking), (ensure_current_registry),
6345 (init_post), (gst_debug_help), (gst_deinit):
6346 * gst/gst_private.h:
6347 * gst/gstregistry.c: (gst_registry_finalize),
6348 (gst_registry_remove_features_for_plugin_unlocked),
6349 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6350 (gst_registry_scan_path),
6351 (_priv_gst_registry_remove_cache_plugins),
6352 (_priv_gst_registry_cleanup):
6353 * gst/gstregistry.h:
6354 Re-commit the registry changes, along with an extra fix:
6355 When a cached plugin is encountered at a different file path,
6356 update the stored path in the registry cache so that the parent
6357 process knows where it actually is now when it re-reads the registry
6358 cache. Fixes the thing that broke distcheck with the previous commit.
6360 * tests/check/Makefile.am:
6361 Clean up files named 'core' too when running make clean.
6363 * tests/examples/manual/Makefile.am:
6364 Set up a registry path for running these tests, and clean it properly
6367 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6370 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6371 want gmodule-no-export-2.0.pc instead so that we don't drag in
6372 --export-dynamic on every project that links to GStreamer.
6374 Also, make our export regex only match the start of symbols, rather
6375 than any symbol that contains '_gst' somewhere.
6377 * libs/gst/check/Makefile.am:
6378 The libgstcheck we build does however need export-dynamic, as it
6379 produces some symbols that don't match our _gst... style regex.
6382 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6384 * gst/gst.c: (init_pre), (scan_and_update_registry),
6385 (ensure_current_registry_nonforking),
6386 (ensure_current_registry_forking), (ensure_current_registry),
6387 (init_post), (gst_debug_help), (gst_deinit):
6388 * gst/gst_private.h:
6389 * gst/gstregistry.c: (gst_registry_finalize),
6390 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6391 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6392 (_gst_registry_cleanup):
6393 * gst/gstregistry.h:
6394 Revert previous change until I figure out why it breaks distcheck.
6396 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6398 * gst/gst.c: (init_pre), (scan_and_update_registry),
6399 (ensure_current_registry_nonforking),
6400 (ensure_current_registry_forking), (ensure_current_registry),
6401 (init_post), (gst_debug_help), (gst_deinit):
6403 Make init_pre and init_post take the full complement of GOptionFunc
6404 args so they can return useful GErrors. Make the registry updating
6407 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6408 ensure that the registry we're about to write out doesn't contain
6409 stale information about old-deleted plugin files.
6411 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6412 that deletion of plugin files is considered a registry change.
6414 * gst/gst_private.h:
6415 * gst/gstregistry.c: (gst_registry_finalize),
6416 (gst_registry_remove_features_for_plugin_unlocked),
6417 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6418 (gst_registry_scan_path),
6419 (_priv_gst_registry_remove_cache_plugins),
6420 (_priv_gst_registry_cleanup):
6421 * gst/gstregistry.h:
6422 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6423 by adding _priv prefix, so that they won't appear in the global
6424 symbol table. They still do atm though because of #318031. Move the
6425 prototypes to gst_private.h
6427 When removing a plugin, remove all features for that plugin too.
6430 2006-09-27 Wim Taymans <wim@fluendo.com>
6432 * docs/random/moving-plugins:
6433 Make it clear that the "compiled-in descriptions" really mean
6434 the element details.
6436 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6437 (gst_base_sink_wait_preroll):
6440 * docs/libs/gstreamer-libs-sections.txt:
6441 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6442 (gst_base_src_get_range), (gst_base_src_activate_push):
6443 * libs/gst/base/gstbasesrc.h:
6444 Added function to block while waiting for PLAYING, this function
6445 is used by live sources that block on the clock.
6446 API: gst_base_src_wait_playing()
6448 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6450 Patch by: Peter Kjellerstedt <pkj at axis com>
6453 gst-element-check.m4 is generated and should therefore be
6454 copied from the build dir rather than the source dir (#357593).
6455 'make distcheck' hasn't noticed this because we were disting
6456 the file as well, so stop doing that.
6458 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6460 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6461 Add some tests for gst_caps_intersect().
6463 * tools/gst-launch.c: (event_loop):
6464 Print all buffering percentages we get, even the 100% one.
6466 2006-09-26 Wim Taymans <wim@fluendo.com>
6468 * tools/gst-inspect.c: (print_element_properties_info),
6469 (print_signal_info):
6470 Fix printing of flags to match the look of enums.
6472 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6474 * gst/gstelementfactory.c:
6475 Fix typo in docs blurb.
6477 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6479 * gst/gsturi.c: (search_by_entry):
6480 Don't assert/crash here if a uri handler doesn't return any
6481 supported protocols. The list of protocols could be generated
6482 dynamically at runtime or at plugin registration, and an error
6483 in the underlying library shouldn't be fatal (#353301).
6485 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6488 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6489 (spotted by Peter Kjellerstedt).
6491 2006-09-23 Wim Taymans <wim@fluendo.com>
6493 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6495 * libs/gst/base/gstbasesrc.c:
6496 (gst_base_src_default_check_get_range), (gst_base_src_start),
6497 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6498 (gst_base_src_change_state):
6499 Match _start/_stop calls in the activate functions. Remove redundant
6500 _stop call from the state change function. Fixes #356910.
6501 Turn failure DEBUG into ERROR.
6503 2006-09-22 Wim Taymans <wim@fluendo.com>
6505 * docs/design/part-buffering.txt:
6506 * gst/gstmessage.c: (gst_message_new_buffering),
6507 (gst_message_parse_buffering):
6508 Update docs about buffering.
6510 * docs/design/part-trickmodes.txt:
6513 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6515 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6516 (gst_controller_new_list):
6517 Ref instances when returning them again (fixes #357180)
6519 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6521 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6522 Don't forget to release proxy lock when there's an error.
6524 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6527 Add extra initialisers for Caps things, to fix some plugin warnings
6530 2006-09-18 Wim Taymans <wim@fluendo.com>
6532 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6533 Also set template on the internal pad so that a getcaps from the
6534 target pad returns the template caps.
6536 2006-09-18 Wim Taymans <wim@fluendo.com>
6538 * gst/gstelement.c: (gst_element_post_message),
6539 (gst_element_dispose):
6540 Use _DEBUG_OBJECT some more.
6542 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6545 * tools/gst-launch.c: (main):
6546 If the toplevel element is not a GstPipeline, it must be put in a
6547 pipeline so that a bus and clock is selected.
6549 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6551 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6552 JITTER, RATE, and LATENCY query should be handled by the
6553 default case and not by the CONVERT query code.
6555 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6557 * gst/gstformat.c: (gst_format_register):
6558 Fix locking order (must take lock before using n_values).
6560 * gst/gstvalue.c: (gst_value_serialize_enum),
6561 (gst_value_deserialize_enum_iter_cmp),
6562 (gst_value_deserialize_enum):
6563 Fix serialisation/deserialisation of custom registered GstFormats.
6565 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6566 Unit test for custom format serialisation/deserialisation.
6568 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6570 * docs/pwg/building-boiler.xml:
6571 * plugins/elements/gstcapsfilter.c:
6572 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6575 2006-09-16 Edward Hervey <edward@fluendo.com>
6577 * libs/gst/base/gstbasetransform.c:
6578 (gst_base_transform_buffer_alloc):
6579 Check if requested caps are the same as the sinks caps IF
6580 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6582 This fixes the renegotiation issues stated in #352827.
6584 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6587 * docs/manual/advanced-autoplugging.xml:
6588 * tests/examples/Makefile.am:
6589 * tests/examples/manual/.cvsignore:
6590 * tests/examples/manual/Makefile.am:
6591 * tests/examples/manual/extract.pl:
6592 Extract the manual examples again like we used to do.
6595 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * win32/common/config.h:
6600 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6603 Documents how to receive errors.
6605 2006-09-15 Wim Taymans <wim@fluendo.com>
6607 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6608 (event_loop), (main):
6609 Added some comments here and there.
6610 Post an application message when an interrupt is caught instead of doing
6611 an uncontrolled state change.
6612 Clean up the event loop.
6613 Handle buffering messages, pause/resume the pipeline.
6614 Make shutdown because of an interrupt more reliable.
6616 2006-09-15 Wim Taymans <wim@fluendo.com>
6618 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6619 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6620 (gst_base_sink_preroll_object):
6621 Make sure that our internal state is correct when we commit our state
6622 asynchronously. This solves a race where a state change to PLAYING
6623 could cause the sink to remain blocked in preroll in some situations.
6625 2006-09-15 Wim Taymans <wim@fluendo.com>
6627 * tools/gst-inspect.c: (print_element_properties_info),
6628 (print_signal_info):
6629 List flags as hex so it's easier to deal with.
6631 2006-09-15 Wim Taymans <wim@fluendo.com>
6633 * docs/libs/gstreamer-libs-sections.txt:
6634 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6635 (gst_base_sink_do_sync):
6636 * libs/gst/base/gstbasesink.h:
6637 Expose logic to wait for preroll so that subclasses such as audiosink
6638 can also use this method.
6639 API: gst_base_sink_wait_preroll()
6641 2006-09-15 Wim Taymans <wim@fluendo.com>
6643 * gst/gstobject.c: (gst_object_set_parent):
6644 * gst/gstpipeline.c: (do_pipeline_seek):
6645 Small cleanups in docs and code.
6647 * gst/gstsegment.c: (gst_segment_clip):
6648 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6649 if stop == start and start is in the segment, no clipping should be
6650 done. Also add a test for this.
6652 2006-09-15 Wim Taymans <wim@fluendo.com>
6654 * docs/design/part-buffering.txt:
6655 * docs/gst/gstreamer-sections.txt:
6656 * gst/gstmessage.c: (gst_message_new_buffering),
6657 (gst_message_parse_buffering):
6659 Added methods to create and parse BUFFERING messages.
6660 Added preliminary docs about buffering.
6661 API: gst_message_new_buffering
6662 API: gst_message_parse_buffering
6664 2006-09-06 Wim Taymans <wim@fluendo.com>
6667 Update documentation.
6669 * gst/gstelement.c: (gst_element_class_init),
6670 (gst_element_release_request_pad), (gst_element_set_clock),
6671 (gst_element_get_index), (gst_element_add_pad),
6672 (gst_element_remove_pad), (gst_element_get_random_pad),
6673 (gst_element_send_event), (gst_element_get_query_types),
6674 (gst_element_query), (gst_element_post_message),
6675 (gst_element_message_full), (gst_element_continue_state),
6676 (gst_element_lost_state), (gst_element_save_thyself),
6677 (gst_element_restore_thyself):
6678 Documentation updates.
6679 Rename last bit of the new-pad -> pad-added signal rename.
6680 Fix the case where an element query would only work if the source
6682 Avoid some useless type checking in message handling.
6687 Documentation updates.
6689 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6691 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6692 add an INFO line for when we actually update the fd
6694 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6699 === release 0.10.10 ===
6701 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6704 releasing 0.10.10, "Pais"
6706 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6708 * docs/manual/advanced-position.xml:
6709 Fix typo in sample code.
6711 2006-09-05 Wim Taymans <wim@fluendo.com>
6713 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6714 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6715 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6716 * libs/gst/net/gstnetclientclock.h:
6717 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6718 * libs/gst/net/gstnettimepacket.h:
6719 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6720 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6721 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6722 * libs/gst/net/gstnettimeprovider.h:
6723 Make stuff compile on windows. Fixes #345295.
6725 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6727 * gst/gst.c: (ensure_current_registry_forking):
6728 Print better details when child was terminated by signal.
6730 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6732 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6733 Print a warning rather than g_assert() if a plugin feature
6734 is a URI handler but returns no protocols (#353976).
6736 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6738 * docs/random/moving-plugins:
6741 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6743 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6744 Fix locking order, handle NULL function values properly.
6749 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6750 Initialise variable before using it and fix debug statement to
6751 print the address of the function rather than the address of the
6752 variable on the stack holding the address of the function.
6754 2006-09-01 Wim Taymans <wim@fluendo.com>
6756 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6757 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6758 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6759 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6760 (gst_ghost_pad_parent_unset),
6761 (gst_ghost_pad_internal_do_activate_push),
6762 (gst_ghost_pad_internal_do_activate_pull),
6763 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6764 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6765 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6766 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6767 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6768 (gst_ghost_pad_new_no_target_from_template),
6769 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6771 Avoid needless typechecking in macros.
6772 Since the internal pad is always present and never changes, there is
6773 no need to locking or ref when retrieving it.
6774 Improve debugging a bit.
6775 Handle link errors when setting the target. Fixes #341029.
6777 2006-09-01 Wim Taymans <wim@fluendo.com>
6779 * docs/libs/gstreamer-libs-sections.txt:
6780 * docs/plugins/gstreamer-plugins-sections.txt:
6783 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6784 (gst_collect_pads_event):
6785 * libs/gst/base/gstcollectpads.h:
6786 Documentation updates.
6787 Free queued buffer when removing a pad.
6789 2006-08-31 Michael Smith <msmith@fluendo.com>
6791 * gst/gstutils.c: (gst_element_link_pads),
6792 (gst_element_link_pads_filtered):
6793 Ensure that we set a capsfilter to NULL if we failed to link it
6794 when doing filtered linking, to avoid criticals.
6796 No need to check for unreffing srcpad, which is explicly NULLed
6797 above (a trivial code cleanup).
6799 2006-08-31 Wim Taymans <wim@fluendo.com>
6801 * docs/design/part-gstghostpad.txt:
6802 Update ascii art in documentation.
6804 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6805 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6806 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6807 (gst_ghost_pad_internal_do_activate_push),
6808 (gst_ghost_pad_internal_do_activate_pull),
6809 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6810 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6811 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6812 (gst_ghost_pad_set_target):
6813 Small cleanups and leak fixes.
6814 Remove some checks now that the internal pad is never NULL.
6815 Fix the case where linking pads without a target would create nasty
6816 criticals. Fixes #341029.
6817 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6818 value of _set_target().
6820 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6821 (gst_ghost_pad_suite):
6822 Some more tests for creating and linking untargeted ghostpads.
6824 2006-08-31 Edward Hervey <edward@fluendo.com>
6826 * docs/gst/gstreamer-sections.txt:
6827 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6828 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6829 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6830 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6831 (gst_ghost_pad_new_from_template),
6832 (gst_ghost_pad_new_no_target_from_template):
6833 * gst/gstghostpad.h:
6834 Refactored *_new() functions.
6835 Templates are now used as a g_object_new() parameter.
6836 Use template in _do_getcaps() if we don't have a target.
6837 Small documentation cleanups.
6838 Added two new constructors:
6839 gst_ghost_pad_new_from_template()
6840 gst_ghost_pad_new_no_target_from_template()
6841 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6842 (gst_ghost_pad_suite):
6843 Added tests for new ghostpad instanciation functions.
6845 API additions: gst_ghost_pad_new_from_template,
6846 gst_ghost_pad_new_no_target_from_template
6848 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6850 * docs/random/ensonic/profiling.txt:
6851 Ideas about qos profiling.
6853 2006-08-29 Wim Taymans <wim@fluendo.com>
6855 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6859 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6862 Improve and detypofy docs.
6864 * tests/check/Makefile.am:
6865 * tests/check/gst/.cvsignore:
6866 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6867 Add a basic test suite for GstXML.
6869 2006-08-29 Wim Taymans <wim@fluendo.com>
6871 * gst/gstelement.c: (activate_pads), (clear_caps),
6872 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6873 Clear the pad caps when the element shut down all of the pads and
6874 is not streaming data that could modify the caps.
6877 2006-08-28 Michael Smith <msmith@fluendo.com>
6879 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6880 Revert previous change; I misunderstood single-segment mode.
6882 2006-08-28 Michael Smith <msmith@fluendo.com>
6884 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6885 Unset DISCONT on buffers when using single-segment mode.
6887 2006-08-28 Wim Taymans <wim@fluendo.com>
6889 * gst/gstcaps.c: (gst_caps_merge_structure):
6891 Fix docs and indentation again.
6893 * tests/check/gst/gstquery.c: (GST_START_TEST):
6894 Fix leak in tests and add some more tests.
6896 2006-08-28 Edward Hervey <edward@fluendo.com>
6898 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6899 Inform GstSegment of the last stop position in order for the current
6900 segment to have a proper duration if it doesn't have a specific stop
6901 position from which a duration could be calculated.
6902 This bug was noticeable when a non-flushing, non-update new segment was
6903 followed by another segment (all buffers from the new segment were being
6906 2006-08-28 Wim Taymans <wim@fluendo.com>
6908 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6909 Small comment update.
6911 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6912 (gst_identity_transform_ip):
6913 Drop-probability is broken, mention this in the code with a
6914 FIXME and also in the property description.
6915 Make silent also be silent about the drop messages.
6917 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6919 * docs/manual/appendix-win32.xml:
6920 Remove mention of popt, we don't depend on that any
6921 longer (#353136). Add some comments pointing out that
6922 this section is slightly outdated.
6924 2006-08-28 Wim Taymans <wim@fluendo.com>
6926 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6928 * gst/gstquery.c: (gst_query_new_segment):
6929 * tests/check/gst/gstquery.c: (GST_START_TEST):
6930 Initialize variables when creating a new segment query.
6933 2006-08-28 Wim Taymans <wim@fluendo.com>
6935 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6937 * gst/gstelement.c: (gst_element_get_bus):
6938 * tests/check/gst/gstelement.c: (GST_START_TEST):
6939 Check for NULL before _reffing the bus. Fixes #353122.
6941 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6943 * docs/manual/basics-bus.xml:
6944 Docs update: fix wrong callback return value explanation; add
6945 some lines about the implicit relationship between main loop
6946 and main context; remove duplicate main loop variable declaration.
6948 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6950 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6951 Don't leak caps in unit test; add a few more simple
6954 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6956 * docs/gst/gstreamer-sections.txt:
6957 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6958 (gst_caps_structure_is_subset), (gst_caps_merge),
6959 (gst_caps_merge_structure):
6961 * libs/gst/base/gstbasetransform.c:
6962 (gst_base_transform_transform_caps):
6963 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6964 implement caps merging (fixes #352580)
6966 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6968 * tools/Makefile.am:
6969 * tools/gst-plot-timeline.py:
6970 add debug-log plotting developer tool (#340674)
6972 2006-08-23 Wim Taymans <wim@fluendo.com>
6974 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6975 (gst_pad_stop_task):
6976 Improve debugging for task functions.
6978 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6979 (gst_task_start), (gst_task_pause), (gst_task_join):
6980 Make sure that the task function started and finished after a
6982 Don't try to push the task function on the threadpool multiple
6984 Improve the g_warning message with some useful suggestions
6985 about how to fix the problem.
6987 2006-08-23 Wim Taymans <wim@fluendo.com>
6989 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6990 Handle RESYNC correctly in _proxy_getcaps.
6992 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6994 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6995 (gst_xml_parse_memory), (gst_xml_get_element):
6996 Chain up to parent class in dispose function and also
6997 unref the elements in the toplevel_elements GList.
6998 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6999 Always return a reference in gst_xml_get_element() rather
7000 than only sometimes.
7002 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7003 Don't leak GstXml object.
7005 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7007 * docs/gst/gstreamer-sections.txt:
7008 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7011 * libs/gst/base/gstbasetransform.c:
7012 (gst_base_transform_transform_caps):
7013 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7016 2006-08-21 Edward Hervey <edward@fluendo.com>
7018 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7019 Implement GObject::dispose virtual method in GstXML so we can free the
7022 2006-08-21 Wim Taymans <wim@fluendo.com>
7024 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7025 (gst_buffer_create_sub):
7026 Copy duration/offset_end/caps when creating a subbuffer of the
7028 Make the subbuffer read-only when we make the metadata writable for
7031 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7032 Added check for metadata copy when creating subbuffers.
7034 2006-08-21 Edward Hervey <edward@fluendo.com>
7036 * libs/gst/base/gstbasetransform.c:
7037 (gst_base_transform_buffer_alloc):
7038 Only call downstream buffer_alloc if transform element is passthrough
7039 or always_in_place. Closes #350449.
7041 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7044 ChangeLog surgery to add comments to previous changes
7046 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7051 * gst/gstpad.c: (gst_pad_set_active):
7052 Be more verbose in the log
7054 * libs/gst/base/gstbasetransform.c:
7055 (gst_base_transform_transform_caps):
7056 Simplify caps to get rid of duplicates, fixes #345444
7058 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7062 Use these optimizations only internally.
7064 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7066 * gst/gstvalue.c: (gst_value_compare_list),
7067 (gst_value_compare_fraction_range),
7068 (gst_value_intersect_fraction_fraction_range),
7069 (gst_value_intersect_fraction_range_fraction_range),
7070 (gst_value_subtract_fraction_fraction_range),
7071 (gst_value_subtract_fraction_range_fraction_range),
7072 (gst_value_get_compare_func), (gst_value_compare),
7073 (gst_value_compare_with_func):
7075 Saves the expensive lookup of the compare function in many cases
7078 2006-08-18 Edward Hervey <edward@fluendo.com>
7080 * tests/check/gst/gstinfo.c: (gst_info_suite):
7081 Disable test that require gstdebug if it wasn't built in core.
7083 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7085 * docs/random/ensonic/logging.txt:
7088 * gst/gstinfo.c: (gst_debug_log_default):
7089 reorder fields, save some columns, add optional color codes for log
7092 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7094 * docs/random/ensonic/logging.txt:
7095 add ideas about making the logs a bit more useful
7097 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7099 * docs/pwg/advanced-events.xml:
7100 * docs/pwg/titlepage.xml:
7101 Update for 0.10 API (#340627). Add myself
7104 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7106 * docs/libs/gstreamer-libs-docs.sgml:
7107 * docs/libs/gstreamer-libs-sections.txt:
7108 * libs/gst/check/gstbufferstraw.c:
7109 Make gstcheck stuff show up in docs (still needs to
7110 be documented properly though).
7112 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7114 * docs/gst/gstreamer-sections.txt:
7116 * gst/gst.c: (init_post):
7117 * gst/gst_private.h:
7118 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7120 * gst/gstquery.c: (gst_query_new_position),
7121 (gst_query_set_position), (gst_query_parse_position),
7122 (gst_query_new_duration), (gst_query_set_duration),
7123 (gst_query_parse_duration), (gst_query_new_convert),
7124 (gst_query_set_convert), (gst_query_parse_convert),
7125 (gst_query_new_segment), (gst_query_set_segment),
7126 (gst_query_parse_segment), (gst_query_new_seeking),
7127 (gst_query_set_seeking), (gst_query_parse_seeking):
7128 Add internal helpers for pre-registering quarks from static strings
7129 and using the quark values directly instead of looking them up when
7130 creating and parsing queries. Can be used for event construction too.
7133 2006-08-16 Wim Taymans <wim@fluendo.com>
7138 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7140 * gst/gstutils.c: (gst_util_set_value_from_string):
7141 Fix memleak (#351502).
7143 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7144 Add unit test for most of gst_util_set_value_from_string()
7145 (not that one would want to encourage use of this function).
7147 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7149 * libs/gst/check/gstcheck.h:
7150 Use const gchar * variables in fail_unless_equals_string
7151 macro to avoid compiler warnings (and don't use tabs for
7154 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7156 * tools/gst-launch.c: (print_tag):
7157 More space on the left for the tag names, to cater
7158 for the 'extended comment' tag (not touching the
7159 string for the first line since it's translated).
7161 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7163 * libs/gst/check/gstcheck.h:
7164 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7165 print something when they fail.
7167 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7169 * docs/gst/gstreamer-sections.txt:
7170 * gst/gsttaglist.c: (_gst_tag_initialize):
7172 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7173 Also change merge function for GST_TAG_COMMENT to
7176 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7178 * gst/gstinfo.c: (gst_debug_print_object):
7179 Make GST_PTR_FORMAT print messages as well.
7181 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7182 (GST_START_TEST), (gst_info_suite):
7185 2006-08-14 Edward Hervey <edward@fluendo.com>
7187 * gst/gstelementfactory.c: (gst_element_register):
7188 If the GstElementClass doesn't have a GstElementDetails with all fields
7189 filled up correctly (longname, description AND author), then error out
7190 nicely instead of crashing.
7192 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7194 * gst/gststructure.c:
7195 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7198 Expand on the difference between arrays and lists as we use them.
7200 2006-08-14 Wim Taymans <wim@fluendo.com>
7202 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7203 If the parent state change function failed, don't assume we can safely
7204 stop the source, this will be done when the pads are deactivated.
7206 2006-08-14 Wim Taymans <wim@fluendo.com>
7209 * gst/gsttask.c: (gst_task_join):
7212 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7213 (gst_pad_stop_task):
7214 When pad (de)activation failed for some reason, restore the old
7215 activation mode and set the pad to flushing instead of assuming the
7217 If the _task_join() failed, reinstall the task on the pad so that it can
7218 be stopped later and return an error.
7220 2006-08-11 Andy Wingo <wingo@pobox.com>
7223 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7224 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7225 is only for users of API that don't want to see deprecated
7226 functions in the headers; people that want to compile out
7227 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7228 CFLAGS. Fixes the build of multifdsink, or will soon..
7230 2006-08-11 Wim Taymans <wim@fluendo.com>
7232 * docs/gst/gstreamer-sections.txt:
7233 Add GstClockClass vmethod docs.
7236 Mark #endif with comment for associated #if
7238 * gst/gstclock.c: (gst_clock_id_wait):
7240 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7241 most clock implementations.
7243 Flesh out docs about resolution methods.
7244 API: GstClockClass::wait_jitter
7246 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7247 (gst_system_clock_async_thread),
7248 (gst_system_clock_id_wait_jitter_unlocked),
7249 (gst_system_clock_id_wait_jitter):
7250 Use base class wait_jitter variant for improved performance
7251 due to less clock polling.
7253 2006-08-11 Edward Hervey <edward@fluendo.com>
7255 * gst/gst.c: (gst_init_check), (init_post):
7256 Set gst as being initialized before scanning/updating the registry,
7257 since there might be my python plugin loader that calls gst_init() and
7258 we don't want to loop back in.
7261 2006-08-11 Wim Taymans <wim@fluendo.com>
7263 * docs/design/part-qos.txt:
7264 Bring docs in line with the code. Mostly the sign of the jitter was
7265 wrong in the docs. Fixes #349943.
7268 Fix the docs for the jitter.
7270 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7271 (gst_event_parse_tag), (gst_event_new_buffer_size),
7272 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7273 (gst_event_new_seek), (gst_event_parse_seek),
7274 (gst_event_new_navigation):
7275 Make sure the GstStructure has no parent when creating custom
7277 Add some more argument checking so that we avoid 0.0 rates.
7278 Flesh out the docs for the QoS event some more.
7280 2006-08-11 Wim Taymans <wim@fluendo.com>
7282 * docs/gst/gstreamer-sections.txt:
7283 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7284 (ensure_current_registry_forking), (ensure_current_registry),
7285 (parse_one_option), (parse_goption_arg), (gst_deinit),
7286 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7289 Added API and command line option to disable registry forking in
7290 addition to the environment variable.
7291 Constify some static arrays.
7292 Added some more debug.
7294 API: gst_registry_fork_is_enabled()
7295 API: gst_registry_fork_set_enabled()
7296 API: --gst-disable-registry-fork command line option
7299 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7301 * gst/gst.c: (gst_init):
7302 Fix typo in error message.
7304 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7306 * libs/gst/controller/gstcontroller.h:
7307 fix ABI size-correction
7309 * tests/check/libs/gdp.c: (gst_dp_suite):
7310 make tests that use deprecated API conditional
7312 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7314 * docs/libs/gstreamer-libs-sections.txt:
7315 * libs/gst/controller/gstcontroller.c:
7316 (_gst_controller_get_property), (_gst_controller_set_property),
7317 (_gst_controller_init), (_gst_controller_class_init):
7318 * libs/gst/controller/gstcontroller.h:
7319 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7320 (gst_object_set_control_rate):
7321 API: add gst_object_{s,g}et_control_rate(), add private data section,
7324 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7325 * libs/gst/dataprotocol/dataprotocol.h:
7326 add deprecation guards to make gtk-doc happy and allow disabling cruft
7328 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7330 * tests/check/Makefile.am:
7331 * tests/check/gst/.cvsignore:
7332 Let's enable the new unit test as well.
7334 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7337 * docs/gst/gstreamer-sections.txt:
7338 * gst/gstconfig.h.in:
7339 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7340 (_gst_info_printf_extension_ptr),
7341 (_gst_info_printf_extension_segment):
7342 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7343 register that lets us easily dump GstSegments into debug
7346 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7347 (info_segment_format_printf_extension), (gst_info_suite):
7348 Add simple unit test that logs a bunch of different segments (not
7349 valgrinded at the moment because of leaks in
7350 gst_debug_add_log_function).
7352 2006-08-09 Edward Hervey <edward@fluendo.com>
7354 * libs/gst/base/gstbasetransform.c:
7355 (gst_base_transform_buffer_alloc):
7356 Even if we can't figure out the proper format to request downstream,
7357 call buffer_alloc() downstream with the input parameters without setting
7358 the caps on the srcpad. This will force negotiation in the chain
7362 2006-08-08 Edward Hervey <edward@fluendo.com>
7364 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7365 Unlinking from a pad without a target is now a perfectly valid case
7366 which should NOT raise an assertion.
7367 This case would happen if a linked ghostpad its target set to NULL after
7368 it was previously linked.
7370 2006-08-08 Edward Hervey <edward@fluendo.com>
7372 * tests/check/libs/gdp.c:
7373 Also comment out the test (see below).
7375 2006-08-08 Edward Hervey <edward@fluendo.com>
7377 * tests/check/libs/gdp.c: (gst_dp_suite):
7378 Use the architecture information from config.h and not gcc macros
7379 in order to properly disable a test that fails on PPC64.
7381 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7383 * gst/gstelement.c: (gst_element_remove_pad):
7384 Don't crash printing the warning if the pad has no parent.
7386 2006-08-02 Wim Taymans <wim@fluendo.com>
7388 * libs/gst/dataprotocol/dataprotocol.c:
7389 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7390 (gst_dp_crc), (gst_dp_header_payload_length),
7391 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7392 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7393 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7394 (gst_dp_event_from_packet), (gst_dp_validate_header),
7395 (gst_dp_validate_payload):
7396 Make debug category static
7397 Constify the crc table.
7398 Do some more arg checking in public functions.
7399 Fix some docs and do some small cleanups.
7401 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7402 Add some more checks to see if GDP deals with bogus input.
7404 2006-07-31 Wim Taymans <wim@fluendo.com>
7406 * gst/gstvalue.c: (gst_value_compare_list):
7407 Fix GstValueList comparison code. Fixes #347293.
7409 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7410 Check to test GstValueList comparison.
7412 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7414 * gst/gstelementfactory.c: (gst_element_factory_create):
7415 Remove unnecessary ref/unref pair
7417 * gst/parse/grammar.y:
7418 Make sure to free the parse buffer on all code paths.
7419 Move a g_free up to the error handler where it's easier to see.
7421 * tests/check/gst/gstevent.c: (test_event):
7422 Extending timeout for downstream travelling events to 10 seconds to
7423 hopefully avoid intermittent failure on the buildbots.
7425 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7426 Don't manually set the state of the src element - it will happen as a
7427 natural consequence of the pipeline changing state, and that way it
7428 will do it in the right order too.
7430 2006-07-31 Wim Taymans <wim@fluendo.com>
7432 * libs/gst/base/gstbasetransform.c:
7433 (gst_base_transform_buffer_alloc):
7434 Use OBJECT_LOCK and refcounting to get the pad caps in the
7435 buffer_alloc function because the caps could change while we are
7436 busy with them. Fixes #349105
7438 2006-07-31 Wim Taymans <wim@fluendo.com>
7440 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7441 Protect _PAD_CAPS with OBJECT_LOCK.
7443 2006-07-31 Wim Taymans <wim@fluendo.com>
7445 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7446 (gst_pad_get_property), (gst_pad_activate_pull),
7447 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7448 (gst_pad_set_activate_function),
7449 (gst_pad_set_activatepull_function),
7450 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7451 (gst_pad_set_getrange_function),
7452 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7453 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7454 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7455 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7456 (gst_pad_set_acceptcaps_function),
7457 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7458 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7459 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7460 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7461 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7462 (gst_pad_configure_sink), (gst_pad_configure_src),
7463 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7464 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7465 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7466 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7467 (gst_pad_send_event):
7468 Use _DEBUG_OBJECT when it makes sense.
7469 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7470 Small cleanups and code reflows.
7471 Avoid caps refcounting in _accept_caps.
7472 Refactor alloc_buffer so that the code performed on the peer is in a
7473 separate function. Also if the pad does not implement a buffer alloc
7474 function, we should still check if the pad is flushing before falling
7475 back to the default allocator.
7477 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7479 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7480 Make all uses of identity and fakesink have silent=true to avoid
7481 serialising every passing data structure, which is breaking tests
7482 on FC4 for some unknown reason.
7484 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7486 * gst/parse/Makefile.am:
7487 * gst/parse/grammar.y:
7488 * gst/parse/parse.l:
7489 Reverted previous patch as it required to bump the flex dependency to
7490 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7492 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7494 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7496 * gst/parse/Makefile.am:
7497 * gst/parse/grammar.y:
7498 * gst/parse/parse.l:
7499 push & pop the state of the lexer for reentrant use case
7502 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7504 * libs/gst/base/gstbasesrc.h:
7505 Note in the docs that the ::newsegment vfunc is not actually used by
7508 2006-07-28 Wim Taymans <wim@fluendo.com>
7510 * libs/gst/base/gstcollectpads.c:
7511 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7512 (gst_collect_pads_clear), (gst_collect_pads_flush),
7513 (gst_collect_pads_event), (gst_collect_pads_chain):
7514 When flushing a pad, also clear the queued buffer so that we don't
7515 accidentally use it when we shouldn't.
7516 Fix leaks by inreffing incomming buffer.
7517 Flush out queued buffers in case of errors.
7520 2006-07-28 Wim Taymans <wim@fluendo.com>
7522 * docs/random/phonon-gst:
7523 Random notes about a Phonon backend.
7525 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7527 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7529 * tests/check/libs/gdp.c: (gst_dp_suite):
7530 Take a whack at fixing the ppc compile using a different define to
7531 disable the broken test.
7533 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7534 Remove excess g_print()
7536 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7538 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7539 Oops, meant to uncomment this line too to dampen the noise a bit.
7541 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7543 * gst/parse/grammar.y:
7544 * gst/parse/parse.l:
7545 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7546 (GST_START_TEST), (parse_suite):
7547 Fix some of the leaks exposed by extending the parse-launch testsuite,
7548 and move the 3 I can't figure out into a separate test that won't run
7549 the pipelines unless the appropriate line is uncommented.
7551 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7553 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7554 Requesting 0 bytes before the end of the file should result in
7555 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7558 2006-07-27 Wim Taymans <wim@fluendo.com>
7560 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7561 Fix useless assert, a uint is always positive.
7563 * gst/gststructure.c: (gst_structure_nth_field_name),
7564 (gst_structure_foreach), (gst_structure_map_in_place):
7565 Check input arguments for public functions to avoid obvious crashes.
7567 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7568 * plugins/elements/gstfakesink.h:
7569 Do less useless typechecking.
7571 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7573 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7574 Do not use mmap() by default since there are a number of error
7575 conditions that we would like to handle in a non-fatal way that
7576 will result in a SIGBUS if we use mmap(). Examples: external
7577 devices (USB harddrive, portable music player) being unplugged
7578 while in use; file on mounted CD/DVD that can't be read because
7579 the medium is partly damaged. Fixes #348455 and #348475.
7581 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7584 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7587 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7589 * gst/gstregistry.c:
7590 Move big documentation comment into class section header, so that it
7591 appears in the API docs.
7593 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7595 * docs/gst/gstreamer-sections.txt:
7596 Oops. Commit the docs additions too for new API.
7597 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7599 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7601 * gst/gststructure.c: (gst_structure_id_set),
7602 (gst_structure_id_set_valist):
7603 * gst/gststructure.h:
7604 Add API for setting values into structures without performing
7605 a quark lookup, if the appropriate quark is already known.
7607 API: gst_structure_id_set
7608 API: gst_structure_id_set_valist
7610 * gst/parse/grammar.y:
7611 * gst/parse/parse.l:
7612 Remove some dead code shown by the coverage information.
7613 Don't throw a critical g_warning when encountering a syntax error,
7614 just warn and let the normal error path handle it.
7616 * plugins/elements/gstelements.c:
7617 Bump the rank of filesink up to PRIMARY so that it is preferred over
7618 gnomevfssink for file:// sink uri's
7620 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7621 (GST_START_TEST), (run_delayed_test),
7622 (gst_parse_test_element_base_init),
7623 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7624 (gst_parse_test_element_change_state),
7625 (gst_register_parse_element), (parse_suite):
7626 Beef up the tests for parse syntax to check that more error cases
7627 fail as they are supposed to. Increases the test coverage a bit.
7629 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7631 * docs/manual/basics-elements.xml:
7632 Fix gst_element_link() example.
7635 Mention in API docs that one should usually gst_bin_add()
7636 elements to a bin or pipeline before doing the linking.
7638 2006-07-26 Wim Taymans <wim@fluendo.com>
7640 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7641 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7642 Avoid function call for known types by keeping the buffer and
7643 subbuffer GType global.
7645 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7646 Random silly optimisations in read() path.
7648 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7650 * tools/gst-launch.c: (main):
7651 If the top-level of the parse is a normal bin, it doesn't do the
7652 right logic to run as a top-level element, so place it inside a
7655 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7657 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7658 Remove superfluous g_object_notify() calls, GObject does
7659 that for us automatically.
7661 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7664 on Win32, use dllspec to export the debug category symbols
7666 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7668 * gst/gsttaglist.c: (_gst_tag_initialize):
7669 Allow more than one GST_TAG_IMAGE per taglist.
7671 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7673 * gst/gstminiobject.c:
7675 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7676 (gst_fd_src_create):
7677 log recurring events at LOG level
7678 add more debug for when the fd gets set
7680 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7682 * gst/gstparse.c: (gst_parse_launch):
7683 Also remove reentrance checks if flex is MT safe (#348179)
7684 Fix my empty ChangeLog entry below
7686 2006-07-21 Andy Wingo <wingo@pobox.com>
7688 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7690 * libs/gst/check/Makefile.am
7691 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7692 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7693 * libs/gst/check/gstbufferstraw.h:
7694 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7695 functions, thus proving I am still a GStreamer haxor. OK I wrote
7696 them a long time ago, but anyways.
7698 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7701 * gst/gstparse.c: (gst_parse_launch):
7702 Check for flex version and omit mutex if we have a MT save flex
7705 2006-07-21 Wim Taymans <wim@fluendo.com>
7707 * gst/gstparse.c: (gst_parse_launch):
7708 Protect recursive calls to _parse with a recursive mutex
7711 2006-07-21 Wim Taymans <wim@fluendo.com>
7713 * tests/check/gst/gstpad.c: (GST_START_TEST):
7716 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7718 * gst/gstparse.c: (gst_parse_launch):
7719 Do not hang on recursive usage of gst_parse_launch()
7721 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7724 Add some more docs, comments and FIXME 0.11s here and there
7725 and also fix some typos.
7727 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7730 Convert tabs to spaces for better readability.
7732 2006-07-20 Edward Hervey <edward@fluendo.com>
7734 * tests/check/libs/gdp.c: (gst_dp_suite):
7735 the test_buffer test fails at line 140 on ppc64 at the following
7737 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7738 GST_BUFFER_FLAG_IN_CAPS),
7739 "GST_BUFFER_IN_CAPS flag should have been copied !");
7740 See bug #348114 for more details.
7742 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7744 * docs/pwg/advanced-scheduling.xml:
7746 Fix typos (#348000).
7748 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7750 * docs/pwg/intro-basics.xml:
7751 Fix wrong links (#347927).
7753 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7755 * gst/gstregistry.h:
7756 * gst/gstregistryxml.c: (load_feature),
7757 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7758 * win32/common/config.h:
7759 make --disable-index work (#342564)
7761 2006-07-18 Wim Taymans <wim@fluendo.com>
7763 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7767 The attached patch adds two missing defines to gsttrace.h when tracing
7768 is disabled. It also corrects one existing define.
7771 2006-07-17 Wim Taymans <wim@fluendo.com>
7773 * docs/gst/gstreamer-sections.txt:
7774 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7776 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7777 Add two functions to check and change the SIGSEGV behaviour
7778 when loading plugins.
7779 Don't mess with the SIGSEGV handler when we were told not to.
7781 API: gst_segtrap_is_enabled
7782 API: gst_segtrap_set_enabled
7784 2006-07-14 Wim Taymans <wim@fluendo.com>
7786 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7787 * tests/check/elements/filesrc.c: (GST_START_TEST):
7788 Revert fix for regression in #347408 after release.
7790 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7792 Patch by: Antoine Tremblay <hexa00 at gmail com>
7794 * gst/gstutils.c: (gst_element_unlink):
7795 Free iterator when done (#347311).
7797 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7798 And add a test case for this.
7800 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7803 Bump nano back to CVS
7805 === release 0.10.9 ===
7807 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7810 releasing 0.10.9, "On the road again"
7812 2006-07-13 Wim Taymans <wim@fluendo.com>
7814 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7815 * tests/check/elements/filesrc.c: (GST_START_TEST):
7816 Revert pull-0 fix for release. Disable check. Fixes #347408.
7818 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7820 * libs/gst/dataprotocol/dataprotocol.c:
7821 (gst_dp_event_from_packet_1_0):
7822 Fixes #347337: failure to deserialize event packets with
7823 empty payload (only event type)
7825 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7828 do not install a .c file in the header directory
7830 2006-07-13 Edward Hervey <edward@fluendo.com>
7832 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7833 GhostPad no longer implicitely use the padtemplates of the targets.
7836 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7838 * gst/gstvalue.c: (gst_value_compare_list),
7839 (gst_value_compare_array), (_gst_value_initialize):
7840 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7841 Make GstValueArray comparison be order dependent as designed.
7842 Add checks for value lists and value array comparisons.
7845 2006-07-11 Edward Hervey <edward@fluendo.com>
7847 * gst/gstbin.c: (activate_pads),
7848 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7849 (gst_bin_change_state_func):
7850 (de)activate src pads before calling state_change on the childs.
7851 This is to avoid the case where a src ghostpad is blocked (holding the
7852 stream lock), which would block the deactivation of the ghostpad's
7854 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7855 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7856 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7857 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7858 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7859 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7860 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7861 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7862 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7863 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7864 (gst_ghost_pad_class_init),
7865 (gst_ghost_pad_internal_do_activate_push),
7866 (gst_ghost_pad_internal_do_activate_pull),
7867 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7868 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7869 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7870 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7871 GhostPads now create their internal GstProxyPad at creation (and not
7872 when they're linked, as it was being done previously).
7873 The internal and target pads are linked straight away.
7874 The data will also travel through the other pad in order to make
7875 pad blocking and probes non-hackish (the probe/block now really happens
7876 on the GhostPad and not on the target).
7877 * gst/gstpad.c: (gst_pad_set_blocked_async),
7878 (gst_pad_link_prepare), (gst_pad_push_event):
7879 Remove previous ghostpad cruft.
7880 * gst/gstutils.c: (gst_pad_add_data_probe),
7881 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7882 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7883 (gst_pad_remove_buffer_probe):
7884 Remove previous ghost pad cruft.
7885 Added more detailed debug statements.
7886 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7887 Fix the testsuite for refcounting changes.
7888 The comments about who has references were correct, but the refcount
7889 being checked wasn't the same (!?!).
7893 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7895 * docs/gst/gstreamer-sections.txt:
7896 * gst/gstconfig.h.in:
7897 More docs for configuration options, add docs to gtk-doc.
7899 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7902 * gst/gstconfig.h.in:
7903 * win32/common/config.h:
7904 Fix build when disabling tracing (fixes #344016). Also start to document
7905 the defines that disable the sub-systems.
7907 2006-07-10 Edward Hervey <edward@fluendo.com>
7909 * gst/gst.c: (ensure_current_registry_forking):
7910 let's make valgrind happy...
7912 2006-07-09 Wim Taymans <wim@fluendo.com>
7914 * gst/gstelement.c: (activate_pads),
7915 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7916 Better pad activation code: Reset the collect value too on resync.
7919 2006-07-09 Wim Taymans <wim@fluendo.com>
7921 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7922 (gst_pad_activate_push):
7923 Use some more macros where it makes sense.
7924 Allow pad mode switching instead of asserting. When a pad
7925 is activated in one mode and we activate it in another,
7926 deactivate it first before activating it in a different mode.
7929 2006-07-08 Andy Wingo <wingo@pobox.com>
7931 * tools/gst-launch.c (main): Handle err == NULL.
7933 * gst/gst.c (init_post, ensure_current_registry)
7934 (ensure_current_registry_forking)
7935 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7936 factoring out the registry scanning into separate functions. Don't
7937 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7938 Better environment var name/interface suggestions accepted.
7940 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7942 * gst/gstobject.c: (gst_object_set_name_default),
7943 (gst_object_set_name):
7944 Random micro-optimisation: don't use a hash table
7945 with strings as keys and the usual strdup/strcmp
7946 involved, but rather just use the GQuark of the
7947 type name as key, since it needs to be looked up
7948 anyway to get the type name string.
7950 * tests/check/gst/gstobject.c: (GST_START_TEST):
7953 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7955 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7956 (gst_bin_iterate_all_by_interface):
7957 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7958 GTypes are gulongs and thus the top 4 bytes might be cut
7959 off on some platforms when doing GPOINTER_TO_INT, leading
7960 to invalid GTypes and bad things happening (see RH bug #179654).
7961 Also add a check to make sure the type passed in is really
7964 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7969 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7973 * gst-element-check.m4:
7974 * gst-element-check.m4.in:
7975 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7976 instead of the unversioned gst-inspect (#324176, #168659).
7978 2006-07-06 Wim Taymans <wim@fluendo.com>
7981 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7984 2006-07-06 Wim Taymans <wim@fluendo.com>
7986 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7987 (gst_base_src_wait), (gst_base_src_update_length),
7988 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7989 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7990 (gst_base_src_loop), (gst_base_src_start),
7991 (gst_base_src_activate_pull):
7993 blocksize == 0 now means the default blocksize when working in push
7995 Remove some pointless asserts in _wait function.
7996 Fix offset/length calculations and EOS handling. We can now pull 0
7997 bytes as well, which is allowed.
7998 use _check_get_range() to decide if we can operate in _pull based
8000 Fix refcounting leak when check_get_range function was not
8002 API GstBaseSrc::blocksize range can be 0 too now (default)
8004 * tests/check/elements/filesrc.c: (GST_START_TEST),
8006 Added check to test _get_range() behaviour.
8008 2006-07-06 Wim Taymans <wim@fluendo.com>
8010 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8011 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8012 (gst_pad_pull_range):
8014 Lots of comments and docs added to the pad functions.
8015 Flesh out the expected behaviour of the get_range() functions.
8017 2006-07-06 Wim Taymans <wim@fluendo.com>
8022 * gst/gstiterator.h:
8026 Remove comma at end of enumerator list.
8028 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8030 * win32/common/libgstbase.def:
8031 * win32/common/libgstdataprotocol.def:
8032 * win32/common/libsgtreamer.def:
8033 Add new exported functions.
8035 2006-07-05 Wim Taymans <wim@fluendo.com>
8037 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8038 Add some more docs here and there.
8040 2006-07-05 Wim Taymans <wim@fluendo.com>
8042 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8043 (gst_base_sink_loop), (gst_base_sink_get_position):
8044 When operating in pull mode update the offset so that we
8047 2006-07-05 Wim Taymans <wim@fluendo.com>
8049 * gst/gstregistryxml.c: (read_string):
8050 Avoid strdup. (will happen in libxml, but hey!)
8055 2006-07-05 Wim Taymans <wim@fluendo.com>
8057 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8058 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8060 No point in checking if the size of the subbuffer > 0, the
8061 code handles it correclty as demonstrated by unit test.
8062 Also add a unit test for the zero sized _new_and_alloc and
8063 _copy. Fixes #346663.
8065 2006-07-05 Wim Taymans <wim@fluendo.com>
8067 * libs/gst/base/gstbasetransform.c:
8068 (gst_base_transform_prepare_output_buffer),
8069 (gst_base_transform_buffer_alloc),
8070 (gst_base_transform_handle_buffer):
8071 Make sure the buffer we pass to transform_ip has a refcount of
8072 1 and thus is writable. Fixes #343196
8074 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8076 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8077 (gst_file_src_init), (gst_file_src_set_property),
8078 (gst_file_src_get_property), (gst_file_src_map_region):
8079 * plugins/elements/gstfilesrc.h:
8080 Add "sequential" property, off by default, to use madvise and hint
8081 to the kernel that sequential access is desired.
8082 Touch all retrieved pages by default to ensure they are pulled
8083 into memory. (Closes #345720)
8085 2006-07-03 Wim Taymans <wim@fluendo.com>
8087 * docs/design/part-block.txt:
8088 * docs/design/part-dynamic.txt:
8091 2006-07-03 Wim Taymans <wim@fluendo.com>
8093 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8094 (gst_caps_unref), (gst_static_caps_get),
8095 (gst_caps_append_structure):
8096 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8097 Use GSlice when the glib we build against is >= 2.10
8099 2006-07-03 Wim Taymans <wim@fluendo.com>
8101 * gst/gstelement.c: (gst_element_pads_activate):
8102 Small cleanup in pad activation code.
8104 2006-07-03 Wim Taymans <wim@fluendo.com>
8106 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8108 * gst/gst-i18n-app.h:
8109 * gst/gst-i18n-lib.h:
8110 * tools/gst-inspect.c: (print_signal_info):
8111 The attached patch will make the inclusion of gettext.h unconditional in
8112 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8113 libintl.h in tools/gst-inspect.c.
8114 This allows use of --disable-nls again and fixes #344642.
8116 2006-07-03 Edward Hervey <edward@fluendo.com>
8118 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8119 Implement pad blocking on events according to part-block.txt.
8120 More comments on behaviour.
8121 * tests/check/gst/gstevent.c: (test_event):
8122 Send event to peer pad of blocked pad (else it will block).
8124 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8126 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8127 (gst_check_run_suite):
8128 if we get the wrong message, give us the types as string
8129 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8131 * tests/check/elements/filesrc.c: (GST_START_TEST):
8132 add a test for trying to open a non-existing file
8134 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8136 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8137 add a test for adding self
8139 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8141 * libs/gst/check/gstcheck.h:
8142 add some assert_ as alias for fail_unless_*
8143 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8144 increase test coverage
8146 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8149 include lcov.mak for lcov coverage generation
8150 * tools/Makefile.am:
8153 2006-07-02 Edward Hervey <edward@fluendo.com>
8155 * tests/check/elements/.cvsignore:
8158 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8161 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8162 * tests/check/Makefile.am:
8165 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8167 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8168 remove gst_caps_simplify; it was not declared and not used
8169 and deprecated in 0.8
8171 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8173 * docs/faq/gst-uninstalled:
8174 don't put empty paths on PYTHONPATH
8175 * docs/gst/gstreamer-sections.txt:
8176 remove some symbols that are not there
8178 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8180 * gst/gstcaps.c: (gst_caps_compare_structures):
8182 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8183 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8186 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8188 * libs/gst/dataprotocol/Makefile.am:
8189 build dataprotocol test by linking to the lib, instead of
8190 compiling the source, so we get coverage
8191 * tests/check/Makefile.am:
8192 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8193 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8194 add a test for filesrc
8196 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8198 * tests/check/gst/gststructure.c: (GST_START_TEST),
8199 (gst_structure_suite):
8200 Push coverage from 59.04% to 70.00%
8202 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8204 * tests/check/Makefile.am:
8205 gst-inspect every element; this makes sure that we also get
8206 coverage on element's get/set functions
8208 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8211 set CFLAGS and friends to -O0 if gcov is being used
8214 * libs/gst/base/Makefile.am:
8215 * libs/gst/check/Makefile.am:
8216 * libs/gst/controller/Makefile.am:
8217 * libs/gst/dataprotocol/Makefile.am:
8218 * libs/gst/net/Makefile.am:
8219 * plugins/elements/Makefile.am:
8220 * plugins/indexers/Makefile.am:
8221 add makefile rules to generate gcov data and clean up
8222 * tests/check/Makefile.am:
8223 add a coverage target that generates an html overview
8226 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8228 * tests/check/elements/fakesink.c:
8229 * tests/check/elements/fakesrc.c:
8230 * tests/check/elements/fdsrc.c:
8231 * tests/check/elements/identity.c:
8232 * tests/check/generic/sinks.c: (gst_sinks_suite):
8233 * tests/check/generic/states.c:
8234 * tests/check/gst/gst.c:
8235 * tests/check/gst/gstabi.c:
8236 * tests/check/gst/gstbin.c:
8237 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8238 * tests/check/gst/gstbus.c: (gst_bus_suite):
8239 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8240 * tests/check/gst/gstelement.c:
8241 * tests/check/gst/gstevent.c: (gst_event_suite):
8242 * tests/check/gst/gstghostpad.c:
8243 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8244 * tests/check/gst/gstmessage.c: (gst_message_suite):
8245 * tests/check/gst/gstminiobject.c:
8246 * tests/check/gst/gstobject.c:
8247 * tests/check/gst/gstpad.c:
8248 * tests/check/gst/gstpipeline.c:
8249 * tests/check/gst/gstplugin.c:
8250 * tests/check/gst/gstquery.c: (gst_query_suite):
8251 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8252 * tests/check/gst/gststructure.c:
8253 * tests/check/gst/gstsystemclock.c:
8254 * tests/check/gst/gsttag.c:
8255 * tests/check/gst/gsttask.c: (gst_task_suite):
8256 * tests/check/gst/gstutils.c:
8257 * tests/check/gst/gstvalue.c:
8258 * tests/check/libs/adapter.c:
8259 * tests/check/libs/basesrc.c:
8260 * tests/check/libs/collectpads.c:
8261 * tests/check/libs/controller.c:
8262 * tests/check/libs/gdp.c: (gst_dp_suite):
8263 * tests/check/libs/gstnetclientclock.c:
8264 * tests/check/libs/gstnettimeprovider.c:
8265 * tests/check/libs/libsabi.c: (libsabi_suite):
8266 * tests/check/libs/typefindhelper.c:
8267 * tests/check/pipelines/cleanup.c:
8268 * tests/check/pipelines/parse-launch.c:
8269 * tests/check/pipelines/simple-launch-lines.c:
8270 * tests/check/pipelines/stress.c: (stress_suite):
8273 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8275 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8276 * libs/gst/check/gstcheck.h:
8277 create a macro and function so that the simple unit test
8278 case can be just one macro to create main()
8280 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8282 * gst/gstbin.c: (gst_bin_restore_thyself):
8283 * gst/gstxml.c: (gst_xml_make_element):
8284 Fix deserialisation from XML. Set parent manually
8285 instead of using gst_bin_add(), since gst_bin_add()
8286 will unlink all pads of the element being added.
8289 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8291 Patch by: Peter Kjellerstedt <pkj at axis com>
8293 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8294 Fix missing g_strdup() and double free when using the
8295 --gst-plugin-load command line option (#346097).
8297 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8300 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8302 * libs/gst/net/gstnetclientclock.c:
8303 * libs/gst/net/gstnettimeprovider.c:
8304 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8306 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8308 * docs/manual/advanced-dataaccess.xml:
8309 Fix buffer probe example compilation in
8312 2006-06-22 Edward Hervey <edward@fluendo.com>
8314 * gst/gstelement.c: (gst_element_pads_activate):
8315 We need to deactivate src pads first and then sink pads.
8316 The reason is the src pads might be blocking while holding the streaming
8317 lock, so we need to deactivate them first so that deactivating the sink
8318 pads doesn't block (since it will require the streaming lock).
8320 2006-06-22 Wim Taymans <wim@fluendo.com>
8322 * libs/gst/base/gstbasetransform.c:
8323 (gst_base_transform_buffer_alloc):
8324 Forgot to remove two unneeded unrefs.
8325 Simplify a check _is_equal allready checks the obvious case.
8327 2006-06-22 Wim Taymans <wim@fluendo.com>
8329 * docs/design/part-block.txt:
8330 Some docs about what pad_block should do.
8332 2006-06-22 Wim Taymans <wim@fluendo.com>
8334 * gst/gstcaps.c: (gst_caps_replace):
8335 Fix crasher when passed NULL. Doc clarification.
8336 Optimize for the trivial case.
8338 * gst/gstpipeline.c: (gst_pipeline_change_state):
8341 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8342 Small documentation cleanup.
8344 * libs/gst/base/gstbasetransform.c:
8345 (gst_base_transform_buffer_alloc):
8346 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8347 is what we need and it avoids a whole lot of redundant
8348 refcount operations.
8350 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8352 Patch by: Philip Jägenstedt <philip at lysator liu se>
8354 * docs/manual/advanced-dataaccess.xml:
8355 Fix 'Embedding static elements' section to use
8356 GST_PLUGIN_DEFINE_STATIC (#345607).
8358 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8360 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8361 Attempt to 'fix' spuriously failing test case: it seems like the
8362 timeout of half a second is simply too small when the system is under
8363 load otherwise, and the timeout doesn't really seem to serve any
8364 particular purpose here. Give the pipeline a few seconds to preroll
8365 first, and then give it another half a second to go from PAUSED to
8366 PLAYING and marshal the message into the main thread.
8368 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8370 * tools/gst-feedback-m.m:
8371 Don't only use unversioned tools, try versioned tools as well
8374 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8376 * gst/gstbus.c: (gst_bus_class_init):
8377 Fix some typos, make docs more explicit.
8379 2006-06-20 Wim Taymans <wim@fluendo.com>
8381 * tests/check/gst/gstghostpad.c: (block_callback),
8382 (GST_START_TEST), (gst_ghost_pad_suite):
8383 Added some more ghostpad tests, mainly blocking
8386 2006-06-16 Wim Taymans <wim@fluendo.com>
8388 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8389 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8390 (gst_file_sink_event), (gst_file_sink_render):
8391 * plugins/elements/gstfilesink.h:
8392 Check if we can seek in the file instead of assuming
8393 we always can. Post an error when we are asked to seek in a
8394 non-seekable file (like a fifo). Fixes #343312.
8397 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8399 * tools/gst-launch.1.in:
8400 Un-garble (fourcc) bit in filtered caps section.
8402 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8404 * docs/manual/advanced-autoplugging.xml:
8405 * docs/manual/basics-helloworld.xml:
8406 * docs/manual/highlevel-components.xml:
8407 Don't leak bus reference in sample code.
8409 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8412 Add default for new --enable-plugin-docs switch.
8415 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8419 Use new ENABLE_PLUGIN_DOCS conditional.
8421 2006-06-14 Wim Taymans <wim@fluendo.com>
8423 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8424 Make it clear with a FIXME and a real define what the #if 0
8425 previously disabled.
8427 2006-06-14 Wim Taymans <wim@fluendo.com>
8429 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8430 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8431 * libs/gst/base/gstbasetransform.c:
8432 (gst_base_transform_sink_eventfunc):
8433 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8434 Don't randomly and silently reset a segment when the format
8435 changes as this is a bug somewhere upstream. Fixes #330379.
8437 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8439 Patch by: Wouter Paesen <wouter at kangaroot net>
8441 * libs/gst/controller/gstcontroller.c:
8442 (gst_controlled_property_new):
8443 Fix controlling of float properties (#344849).
8445 * tests/check/libs/controller.c:
8446 (gst_test_mono_source_get_property),
8447 (gst_test_mono_source_set_property),
8448 (gst_test_mono_source_class_init), (GST_START_TEST):
8449 While we're at it, add some float stuff to unit test.
8451 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8454 * docs/images/gdp-header.svg:
8456 * docs/libs/Makefile.am:
8457 * docs/libs/gdp-header.png:
8458 * libs/gst/dataprotocol/dataprotocol.c:
8459 add it to the API docs
8460 * docs/manual/intro-motivation.xml:
8463 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8465 * gst/gst.c: (scan_and_update_registry), (init_post):
8466 If the fork()'ed child process can't write the updated registry cache
8467 file to disk for some reason, make it exit with a failure exit code,
8468 so that the parent can then re-scan the plugins itself and update the
8469 registry structures in memory and work with that (rather than failing
8470 when creating elements because seemingly no plugins are available).
8471 Refactor registry scanning code into separate function for this and
8472 also separate fork() and non-fork() code paths. Fixes #344748.
8474 2006-06-13 Wim Taymans <wim@fluendo.com>
8476 * docs/manual/advanced-dataaccess.xml:
8477 Fix wrong PluginDesc. Fixes #344755.
8479 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8481 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8482 Fix silly bug that prevented us from creating
8483 ~/.gstreamer-0.10 and writing the registry in one
8484 go (the first call to g_mkstemp() would overwrite the
8485 placeholder in the template string, so the second call
8486 to g_mkstemp() after creating the missing directory
8487 would then error out with 'invalid argument').
8489 2006-06-13 Edward Hervey <edward@fluendo.com>
8491 * gst/gst.c: (init_post):
8494 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8496 * gst/glib-compat-private.h:
8497 * gst/glib-compat.c:
8498 * gst/glib-compat.h:
8499 * gst/gstvalue.c: (gst_value_serialize_flags):
8500 remove GLib 2.6 compatibility code
8502 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8504 * gst/parse/Makefile.am:
8505 Fix build with 'make -j N' even more (#340016).
8507 2006-06-12 Wim Taymans <wim@fluendo.com>
8509 * docs/gst/gstreamer-sections.txt:
8512 2006-06-12 Wim Taymans <wim@fluendo.com>
8514 * gst/gstsegment.c: (gst_segment_set_duration),
8515 (gst_segment_set_last_stop), (gst_segment_set_seek),
8516 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8517 (gst_segment_to_running_time), (gst_segment_clip):
8518 Use G_UNLIKELY to help the compiler a bit.
8520 2006-06-12 Wim Taymans <wim@fluendo.com>
8522 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8524 * gst/gstevent.c: (gst_event_get_type):
8526 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8528 constify quark registration strings. Fixes #344115
8529 Avoid unneeded type checking is _pad_push() by internally
8530 calling gst_pad_chain_unchecked().
8532 2006-06-12 Wim Taymans <wim@fluendo.com>
8534 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8535 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8536 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8537 (gst_buffer_is_span_fast), (gst_buffer_span):
8538 Init _type for consistency.
8539 Use _FLAGS macro to avoid type check.
8540 Avoid unneeded type checks in subbufer code.
8542 2006-06-12 Wim Taymans <wim@fluendo.com>
8544 * gst/gst.c: (gst_debug_help):
8545 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8546 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8547 (gst_plugin_feature_list_free):
8548 * gst/gstregistry.c: (gst_registry_add_plugin),
8549 (gst_registry_add_feature), (gst_registry_plugin_filter),
8550 (gst_registry_feature_filter), (gst_registry_find_plugin),
8551 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8552 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8553 * gst/gstregistryxml.c: (load_feature),
8554 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8555 * gst/gstminiobject.c: (gst_mini_object_unref),
8556 (gst_mini_object_replace), (gst_value_mini_object_free),
8557 (gst_value_mini_object_copy):
8558 Use _CAST macros to avoid unneeded type checking.
8559 Added some more G_UNLIKELY.
8561 2006-06-12 Wim Taymans <wim@fluendo.com>
8564 Avoid unneeded type checking.
8565 API: GST_BUFFER_IS_DISCONT
8567 * gst/gstminiobject.h:
8568 Avoid type check in flag accessor.
8570 * gst/gstelementfactory.h:
8572 * gst/gstpluginfeature.h:
8574 API: GST_ELEMENT_FACTORY_CAST
8575 API: GST_PLUGIN_CAST
8576 API: GST_PLUGIN_FEATURE_CAST
8578 2006-06-12 Wim Taymans <wim@fluendo.com>
8580 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8582 Add G_UNLIKELY in type registration.
8583 Avoid type check in _ref/_unref since that is also
8586 2006-06-12 Wim Taymans <wim@fluendo.com>
8588 * gst/gsterror.c: (gst_g_error_get_type):
8589 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8590 (gst_static_pad_template_get_type):
8591 * gst/gsttaglist.c: (gst_tag_list_get_type):
8592 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8593 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8594 * gst/gsturi.c: (gst_uri_handler_get_type):
8595 * gst/gstvalue.c: (gst_date_get_type):
8596 * gst/gstxml.c: (gst_xml_get_type):
8597 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8598 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8599 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8600 Add G_UNLIKELY in type registration.
8602 2006-06-12 Wim Taymans <wim@fluendo.com>
8604 * tools/gst-inspect.c: (print_signal_info):
8605 Properly print enum values.
8607 2006-06-12 Wim Taymans <wim@fluendo.com>
8609 * gst/gstinfo.c: (gst_debug_set_active),
8610 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8612 Add some G_[UN]LIKELY.
8613 Maintain __gst_debug_min to avoid formatting the arguments of
8614 debug messages that will be dropped anyway to avoid a lot of
8615 overhead from the debugging system.
8617 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8621 add missing files containing translatable strings, tell intltool about
8624 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8626 * tests/check/libs/.cvsignore:
8627 add test-binary to ignore list
8629 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8631 * docs/libs/gstreamer-libs-docs.sgml:
8632 reorder (put dp into a chapter) and indent
8634 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8639 === release 0.10.8 ===
8641 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8644 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8646 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8648 * gst/gst.c: (init_post):
8649 move pid declaration to declaration block
8651 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8653 * gst/gst.c: (init_post):
8654 use _exit() instead of exit() in our forked child; this ensures
8655 that none of the registered exit handlers from whatever is using
8656 GStreamer get executed. This fixes gnome-mixer-applet failing
8657 to load, because ORBit would shut down.
8658 Spotted by: Edward Hervey <edward@fluendo.com>
8659 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8662 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8667 === release 0.10.7 ===
8669 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8672 releasing 0.10.7, "Soepeke, ik zie ou"
8674 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8697 * win32/common/config.h:
8700 2006-06-07 Wim Taymans <wim@fluendo.com>
8702 * gst/gstindex.c: (gst_index_gtype_resolver):
8703 * tools/gst-xmlinspect.c: (print_plugin_info):
8704 Fix leak spotted by coverity checker. Fixes #343827
8705 Fix another other leak found by paolo borelli.
8707 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8709 * libs/gst/dataprotocol/dataprotocol.c:
8710 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8711 (gst_dp_version_get_type), (gst_dp_init),
8712 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8713 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8714 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8715 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8716 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8717 (gst_dp_packetizer_free):
8718 * libs/gst/dataprotocol/dataprotocol.h:
8719 API: add a GstDPPacketizer object, and create/free functions
8720 API: add GstDPVersion enum
8721 Add 1.0 event function that uses the string serialization
8722 Serialize more useful buffer flags
8725 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8727 * tests/check/Makefile.am:
8728 * tests/check/gst/gstabi.c:
8729 * tests/check/gst/struct_ppc64.h:
8730 * tests/check/libs/libsabi.c:
8731 * tests/check/libs/struct_ppc64.h:
8732 add ppc64 structure sizes
8734 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8736 * tests/check/Makefile.am:
8737 * tests/check/gst/gstabi.c:
8738 * tests/check/gst/struct_x86_64.h:
8739 * tests/check/libs/libsabi.c:
8740 * tests/check/libs/struct_x86_64.h:
8741 generate and add structure size lists for x86_64
8743 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8745 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8746 * libs/gst/check/gstcheck.h:
8747 factor out the method from tests that checks size of structures,
8748 and add code to generate the header containing these sizes
8749 * tests/check/gst/gstabi.c: (GST_START_TEST):
8750 * tests/check/gst/struct_i386.h:
8751 * tests/check/libs/libsabi.c: (GST_START_TEST):
8752 * tests/check/libs/struct_i386.h:
8755 2006-06-06 Michael Smith <msmith@fluendo.com>
8758 Don't use c++-style comments, fixes #343929
8760 2006-06-05 Edward Hervey <edward@fluendo.com>
8763 plugin_paths is not used if we build without registry support.
8765 * gst/gstsegment.c: (gst_segment_copy):
8766 _copy() was always returning NULL...
8768 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8770 * libs/gst/dataprotocol/dataprotocol.c:
8771 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8772 (gst_dp_packet_from_event):
8775 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8777 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8778 make sure we unset caps
8780 2006-06-02 Michael Smith <msmith@fluendo.com>
8782 * libs/gst/check/gstcheck.c: (gst_check_init),
8783 (gst_check_chain_func):
8784 * libs/gst/check/gstcheck.h:
8785 Add a cond/mutex to the check support lib, signal this whenever we
8786 add to the buffers list. This will allow tests to not busy-wait on
8789 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8791 * libs/gst/dataprotocol/dataprotocol.c:
8792 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8793 (gst_dp_packet_from_event):
8794 factor out some common header init code
8796 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8798 * docs/libs/gstreamer-libs-sections.txt:
8799 * docs/libs/tmpl/gstdataprotocol.sgml:
8800 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8801 * libs/gst/dataprotocol/dataprotocol.h:
8802 API: make gst_dp_crc() public
8804 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8806 * plugins/indexers/gstindexers.c: (plugin_init):
8807 conditionally register fileindexer (fixes #343598)
8809 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8811 * gst/gsttagsetter.h:
8812 Can't cast ifaces to a class
8814 * libs/gst/net/gstnetclientclock.h:
8815 * libs/gst/net/gstnettimeprovider.h:
8816 * plugins/elements/gstfakesink.h:
8817 * plugins/elements/gstfakesrc.h:
8818 * plugins/elements/gstfdsink.h:
8819 * plugins/elements/gstfdsrc.h:
8820 * plugins/elements/gstfilesink.h:
8821 * plugins/elements/gstfilesrc.h:
8822 * plugins/elements/gstidentity.h:
8823 * plugins/elements/gstqueue.h:
8824 * plugins/elements/gsttee.h:
8825 * plugins/indexers/gstfileindex.c:
8826 * plugins/indexers/gstmemindex.c:
8827 * tests/old/examples/plugins/example.h:
8828 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8830 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8832 * libs/gst/dataprotocol/dataprotocol.c:
8833 (gst_dp_header_from_buffer):
8834 make sure we zero the whole ABI-compatible area
8836 2006-06-01 Wim Taymans <wim@fluendo.com>
8838 Patch by: Alessandro Decina <alessandro at nnva dot org>
8840 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8841 Make sure the EOS flag is cleared from pads after a flush
8842 or stop. Fixes #343538.
8844 * tests/check/libs/collectpads.c: (GST_START_TEST),
8845 (gst_collect_pads_suite):
8846 Added test for collectpads reusage after EOS.
8848 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8851 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8852 * win32/common/libgstbase.def:
8853 export gst_collect_pads_set_flushing
8854 * win32/common/libgstreamer.def:
8855 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8856 gst_value_fraction_multiply
8857 * win32/vs6/gst_inspect.dsp:
8858 add a link to intl.lib
8860 2006-05-30 Wim Taymans <wim@fluendo.com>
8862 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8863 (gst_collect_pads_chain):
8864 Handle the case where a pad is removed from the collection
8865 that could cause the other pads to become collectable.
8867 2006-05-30 Wim Taymans <wim@fluendo.com>
8870 Clarify the use of _release_request_pad() and
8871 _get_request_pad() a bit better.
8873 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8874 (gst_adapter_take_buffer):
8875 Fix some doc and comment typos.
8877 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8879 * docs/gst/gstreamer-sections.txt:
8880 * docs/libs/gstreamer-libs-sections.txt:
8881 add declared symbols
8883 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8885 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8886 Add debug that can be enabled using a #define at the top of the file,
8887 for dumping stats about how late/early we were when waking up from
8888 waiting on the clock.
8890 2006-05-30 Wim Taymans <wim@fluendo.com>
8892 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8893 When rebuilding the pad list, don't leak the previous list.
8895 2006-05-30 Wim Taymans <wim@fluendo.com>
8897 Patch by: Lutz Mueller <lutz at topfrose dot de>
8899 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8900 (gst_base_src_get_query_types), (gst_base_src_update_length):
8901 Publish supported query types.
8902 Update last_stop field in get_range mode so the position
8903 query works. Fixes #342321.
8905 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8907 * docs/gst/gstreamer-sections.txt:
8908 * gst/gsttaglist.c: (_gst_tag_initialize):
8910 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8912 2006-05-30 Wim Taymans <wim@fluendo.com>
8914 Patch by: Alessandro Decina <alessandro at nnva dot org>
8916 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8917 Unlock mutex when removing an unknown pad.
8920 * tests/check/Makefile.am:
8921 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8922 (push_event), (setup), (teardown), (GST_START_TEST),
8923 (gst_collect_pads_suite), (main):
8924 Added collecpads check, disabled for now as check crashes for
8927 2006-05-29 Wim Taymans <wim@fluendo.com>
8929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8930 Don't leak pads lists.
8932 2006-05-29 Wim Taymans <wim@fluendo.com>
8934 * docs/libs/gstreamer-libs-sections.txt:
8935 * libs/gst/base/gstcollectpads.c:
8936 (gst_collect_pads_set_flushing_unlocked),
8937 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8938 (gst_collect_pads_stop):
8939 * libs/gst/base/gstcollectpads.h:
8940 API: gst_collect_pads_set_flushing()
8941 Added api to set the pads to flushing, useful for seeking
8942 code in elements using collectpads.
8943 Clear segment when receiving a flush.
8945 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8947 * gst/gst.c: (add_path_func), (init_post):
8948 Don't scan registry paths passed via --gst-plugin-path immediately
8949 (will crash, because absolutely nothing is set up and no types are
8950 registered etc.); do this later in init_post(). Fixes #343057.
8952 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8954 * gst/gst.c: (init_post):
8955 if we have fork, fork while reading/rebuilding the registry
8956 so the parent doesn't take the hit of having all plugins loaded
8957 in memory. Fixes #342777.
8959 Check if we have fork()
8960 * win32/common/config.h.in:
8963 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8965 * plugins/elements/gstelements.c:
8966 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8967 (gst_file_src_init), (gst_file_src_set_property),
8968 (gst_file_src_get_property), (gst_file_src_start):
8969 * plugins/elements/gstfilesrc.h:
8970 API: GstFileSrc::use-mmap
8972 Add a use-mmap property to enable easier testing of all code paths.
8973 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8974 in the absence of gnomevfssrc. (Closes #340501)
8976 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8978 * tools/gst-inspect.c:
8979 Add missing include, removes warning of ngettext not being defined on
8982 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8984 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8985 Handle NULL input and output pointers silently as a failed conversion,
8986 rather than g_warnings.
8988 2006-05-25 Wim Taymans <wim@fluendo.com>
8990 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8991 Initialize variable before using. Fixes #342820.
8993 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8995 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8996 Fix off-by-one bug that would only allow peeks of N-1 bytes
8997 from the start even if the buffer to typefind on contains
8998 in fact N bytes of data (makes vorbis typefinding from a
8999 vorbis identification header buffer work).
9001 * tests/check/Makefile.am:
9002 * tests/check/libs/.cvsignore:
9003 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9004 (gst_typefindhelper_suite), (main), (foobar_typefind),
9006 Add very basic unit test for gst_type_find_helper_for_buffer()
9007 that checks for the problem fixed above.
9009 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9011 * tools/gst-inspect.c: (print_interfaces),
9012 (print_element_properties_info), (print_element_list), (main):
9013 add more translatable strings
9015 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9017 Patch by: Julien Moutte <julien at moutte net>
9019 * docs/gst/gstreamer-sections.txt:
9020 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9022 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9023 (gst_fake_sink_preroll):
9024 * plugins/elements/gstfakesink.h:
9025 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9027 2006-05-23 Wim Taymans <wim@fluendo.com>
9029 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9031 Added _CUSTOM error and success GstFlowReturn that can be
9032 used be elements internally.
9033 Added macro to check for SUCCESS flowreturns.
9034 API: GST_FLOW_CUSTOM_SUCCESS
9035 API: GST_FLOW_CUSTOM_ERROR
9036 API: GST_FLOW_IS_SUCCESS
9038 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9039 Added check for GstFlowReturn sanity.
9041 2006-05-23 Wim Taymans <wim@fluendo.com>
9043 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9045 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9046 (gst_collect_pads_event):
9047 clear/reset segment info in FLUSH_STOP.
9050 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9053 (gst_collect_pads_check_collected):
9054 Flush queued buffer on _stop(), fixes playing again (#342454)
9056 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9058 * tests/check/gst/gststructure.c: (GST_START_TEST),
9059 (gst_structure_suite):
9060 add a test for a complete structure
9062 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9064 * docs/faq/developing.xml:
9066 * docs/faq/troubleshooting.xml:
9067 * docs/faq/using.xml:
9068 Some minor FAQ updates that won't change the fact that
9069 our FAQ is badly structured, full of information hardly
9070 anyone new to GStreamer needs to know and lacking lots
9071 of information people constantly ask for.
9073 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9075 * gst/gstpad.c: (gst_pad_set_caps):
9076 Short-circuit gst_pad_set_caps if setting the existing
9077 caps pointer again, and avoid printing debug and
9078 reffing/unreffing the caps.
9080 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9081 There's actually no need to set the caps before pushing -
9082 the acceptcaps method will handle it anyway.
9084 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9086 * docs/gst/gstreamer-sections.txt:
9087 * win32/common/libgstreamer.def:
9088 * gst/gstutils.c: (gst_element_seek_simple):
9090 API: add gst_element_seek_simple() (#342238).
9092 2006-05-18 Edward Hervey <edward@fluendo.com>
9094 * gst/gsttypefind.c: (gst_type_find_get_type):
9095 * gst/gsttypefind.h:
9096 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9097 registered for GstTypeFind pointers. This allows wrapping the structure
9098 in bindings (i.e. gst-python).
9100 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9102 * gst/gsttagsetter.c:
9103 Docs additions and fixes (see #339918).
9105 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9107 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9108 The caps intersection algorithm can produce multiple copies of the
9109 caps. Until that is fixed, we need to simplify the result to be
9110 sure whether the allowed caps are fixed or not.
9112 * plugins/elements/gstqueue.c: (gst_queue_init),
9113 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9114 (gst_queue_push_one):
9115 Proxied buffer alloc should not set the caps on the source pad.
9116 When pushing buffers, we always accept the caps change that triggers.
9117 This prevents negotiation errors caused by caps changing mid-stream
9118 and then being refused on our source pad (because upstream is now
9119 refusing those caps).
9121 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9123 * tests/examples/helloworld/helloworld.c: (main):
9124 Must plug audioconvert and audioresample between decoder
9127 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9129 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9130 (load_feature), (load_plugin):
9131 Allow empty strings for some of the plugin fields so we don't
9132 drop valid plugin entries that were written out correctly
9135 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9137 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9138 Use g_remove and g_rename instead of remove and rename that don't
9139 handle utf8 characters. rename was failing for users who had specific
9140 characters in their name then the registry was built at each
9142 * win32/vs6/gst_inspect.dsp:
9143 * win32/vs6/gst_launch.dsp:
9144 * win32/vs6/libgstbase.dsp:
9145 * win32/vs6/libgstcoreelements.dsp:
9146 * win32/vs6/libgstreamer.dsp:
9147 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9148 build of libgstreamer and clean unused libraries in projects link
9151 2006-05-17 Edward Hervey <edward@fluendo.com>
9153 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9154 The queue is not responsible for pushing an EOS when receiving a fatal
9155 flow error. It's up to the real element driving the pipeline to do that.
9157 2006-05-16 Edward Hervey <edward@fluendo.com>
9159 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9160 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9161 buffer returned a fatal error. It should just send an EOS and stop
9163 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9164 when pushing buffers on the queue and will be able to handle the event.
9166 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9168 * docs/manual/basics-bins.xml:
9169 * docs/manual/basics-init.xml:
9170 Fix typos and minor errors in sample code (#341856).
9172 2006-05-16 Wim Taymans <wim@fluendo.com>
9174 * docs/design/part-qos.txt:
9175 Fix indexes in formulas to make more sense.
9177 2006-05-15 Wim Taymans <wim@fluendo.com>
9179 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9180 Don't report POSITION based on clock time if sync is
9183 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9186 Add cast to make compiler happy - refcount variable was a gint
9187 in GstObject but is a guint in GObject and g_atomic_int_get()
9190 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9192 * gst/parse/Makefile.am:
9193 chain commands using &&, which also makes parallel make work
9195 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9197 * docs/gst/gstreamer-sections.txt:
9203 === release 0.10.6 ===
9205 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9208 releasing 0.10.6, "Take the cannoli"
9210 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9212 * tools/gst-launch.c: (print_tag):
9213 Fix use of uninitialized variable in the hypothetical
9214 case that some broken plugin creates a GST_TAG_IMAGE
9215 tag containing a NULL buffer (#341667).
9217 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9219 * tools/gst-launch.c: (print_tag):
9220 Print something more intelligible for image tags when
9221 using the -t switch (#341556).
9223 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9228 define GST_MAJORMINOR so we have it available in win32/common/config.h
9229 Possibly remove it from our Makefile.am files later
9230 * win32/common/config.h:
9231 * win32/common/config.h.in:
9232 added GST_MAJORMINOR
9233 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9234 * win32/common/gstversion.h:
9237 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9240 Update win32 files listing.
9241 * win32/common/gstversion.h:
9242 Add GST_MAJORMINOR definition.
9243 * win32/common/libgstreamer.def:
9244 Add new exported functions.
9246 2006-05-12 Michael Smith <msmith@fluendo.com>
9248 * gst/gstplugin.c: (gst_plugin_load_file):
9249 If an so file has no plugin entry point, unload the module.
9251 2006-05-11 Wim Taymans <wim@fluendo.com>
9253 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9254 (gst_queue_set_property):
9255 Don't forget to signal the _chain or _loop function
9256 when the queue size or thresholds change since that might
9257 cause them to make progres again.
9259 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9261 * gst/gstclock.c: (gst_clock_class_init):
9262 * gst/gstindex.c: (gst_index_class_init):
9263 * gst/gstobject.c: (gst_object_class_init):
9264 * gst/gstpad.c: (gst_pad_class_init):
9265 * gst/gstpipeline.c: (gst_pipeline_class_init):
9266 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9267 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9268 * libs/gst/base/gstbasetransform.c:
9269 (gst_base_transform_class_init):
9270 * libs/gst/net/gstnetclientclock.c:
9271 (gst_net_client_clock_class_init):
9272 * libs/gst/net/gstnettimeprovider.c:
9273 (gst_net_time_provider_class_init):
9274 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9275 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9276 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9277 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9278 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9279 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9280 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9281 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9282 * plugins/elements/gsttee.c: (gst_tee_class_init):
9283 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9284 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9285 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9287 2006-05-11 Wim Taymans <wim@fluendo.com>
9289 * gst/gstbuffer.c: (_gst_buffer_initialize):
9290 Register subbufer along with the buffer type so that
9291 it does not accidentally gets registered from N
9292 different streaming threads in a non threadsafe way.
9294 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9299 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9300 gst_event_ref() and gst_message_ref() functions again
9301 (ugly hack, please do fix if there's a better way besides
9302 overrides.txt, which doesn't seem to work).
9304 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9306 * libs/gst/check/gstcheck.h:
9307 add an assert for setting state to avoid lots of repetitive code
9310 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9312 * gst/gstvalue.c: (gst_value_serialize_flags):
9313 fix a leak if no flags are set
9314 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9317 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9319 * docs/manual/basics-pads.xml:
9320 Expand a bit on caps and filtered links and update
9321 examples that were still using the no longer existing
9322 gst_pad_link_filtered() (#338206).
9324 2006-05-10 Wim Taymans <wim@fluendo.com>
9326 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9327 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9328 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9329 (gst_collect_pads_stop):
9330 * libs/gst/base/gstcollectpads.h:
9331 No need to call _stop in _finalize.
9332 Iterate the main pad list in _finalize.
9333 Added some more debug.
9334 Free lists and data in the right order.
9335 Also free data whem doing _remove_pad when stopped for
9336 backward compatibility protect ::started with PAD_LOCK as
9339 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9341 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9342 (gst_structure_parse_value):
9344 rename a method so that it actually says what it does better
9346 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9348 * gst/gstevent.c: (_gst_event_initialize):
9349 * gst/gstformat.c: (_gst_format_initialize):
9350 make sure some essential types used by events are registered
9351 as part of gst_init()
9352 * gst/gstvalue.c: (gst_value_serialize_flags):
9353 if no flags are set, serialize them to a value that represents NONE
9354 so that deserializing them works
9355 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9356 add tests for serialization and deserialization of flags
9358 2006-05-10 Wim Taymans <wim@fluendo.com>
9360 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9361 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9362 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9363 (gst_collect_pads_event), (gst_collect_pads_chain):
9366 Catch and return errors from the collect function
9367 Refuse data on eos pads.
9369 2006-05-10 Edward Hervey <edward@fluendo.com>
9371 * gst/gstinterface.h:
9372 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9373 GInterface type checking.
9374 They were previously using non-defined macros.
9376 2006-05-09 Wim Taymans <wim@fluendo.com>
9378 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9379 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9380 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9381 (gst_collect_pads_start), (gst_collect_pads_stop),
9382 (gst_collect_pads_peek), (gst_collect_pads_pop),
9383 (gst_collect_pads_available), (gst_collect_pads_read),
9384 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9385 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9386 (gst_collect_pads_chain):
9387 * libs/gst/base/gstcollectpads.h:
9388 Clean up the mess that is collectpads, add comments and
9389 FIXMEs where needed.
9390 Maintain a separate pad list so we can add pads while
9391 collecting the other ones. For this we need a new separate
9393 Fix memory leak in finalize.
9394 Refactor some weird code to set/unset pad flushing flags, mark
9396 Don't crash in _available, _read, _flush when we're EOS.
9398 * tests/check/libs/.cvsignore:
9399 Ignore adapter check binary.
9401 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9403 * gst/gstindex.c: (gst_index_resolver_get_type):
9404 * plugins/elements/gstfakesink.c:
9405 (gst_fake_sink_state_error_get_type):
9406 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9407 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9408 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9409 Const-ify GEnumValue arrays.
9411 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9413 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9414 Add test case for flags + gst_buffer_make_metadata_writable().
9416 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9418 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9419 gst_buffer_make_metadata_writable() should maintain the
9420 buffer flags (those that make sense at least) (see #340859).
9422 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9424 * tools/gst-inspect.c:
9425 * tools/gst-launch.c:
9426 * tools/gst-typefind.c:
9427 * tools/gst-xmlinspect.c:
9429 Fix up includes: need to include stdlib.h in tools.h for exit().
9431 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9433 * gst/gsttaglist.c: (_gst_tag_initialize):
9435 API: add GST_TAG_IMAGE tag (#340721).
9437 2006-05-08 Wim Taymans <wim@fluendo.com>
9440 Added some docs for the segment query.
9442 2006-05-08 Wim Taymans <wim@fluendo.com>
9444 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9445 (gst_base_src_loop), (gst_base_src_change_state):
9446 Always push non-flushing serialized events in the streaming
9449 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9451 * gst/gsterror.c: (_gst_stream_errors_init):
9452 Add a missing error string.
9454 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9456 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9457 Add applied_rate to the debug
9459 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9460 Copy applied_rate into the outgoing NEWSEGMENT event
9462 2006-05-08 Wim Taymans <wim@fluendo.com>
9464 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9466 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9467 (gst_base_sink_change_state):
9468 call ::unlock before taking the PREROLL_LOCK so we can safely
9469 handle elements that lock in ::render.
9472 2006-05-08 Edward Hervey <edward@fluendo.com>
9474 * autogen.sh: (CONFIGURE_DEF_OPT):
9475 Darwin's libtoolize is in fact called glibtoolize.
9476 Adding glibtoolize to the list of accepted names for libtoolize.
9478 2006-05-08 Wim Taymans <wim@fluendo.com>
9480 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9481 Unify error handling, don't post an error message
9482 when a push() returns EOS but perform our normal EOS
9483 handling code. Fixes #340772.
9485 2006-05-08 Wim Taymans <wim@fluendo.com>
9487 * docs/design/part-overview.txt:
9488 Make upsteam/downstream concepts more clear.
9489 Give an example of serialized/non-serialized events.
9491 * docs/design/part-events.txt:
9492 * docs/design/part-streams.txt:
9493 Mention applied_rate.
9495 * docs/design/part-trickmodes.txt:
9496 Mention applied rate, flesh out some more use cases.
9498 * gst/gstevent.c: (gst_event_new_new_segment),
9499 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9500 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9501 (gst_event_parse_tag), (gst_event_new_buffer_size),
9502 (gst_event_parse_buffer_size), (gst_event_new_qos),
9503 (gst_event_parse_qos), (gst_event_parse_seek),
9504 (gst_event_new_navigation):
9506 Add applied_rate field to NEWSEGMENT event.
9507 API: gst_event_new_new_segment_full()
9508 API: gst_event_parse_new_segment_full()
9510 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9511 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9512 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9514 Add applied_rate to GstSegment structure.
9515 Make calculation of stream_time and running_time more correct
9516 wrt rate/applied_rate.
9518 API: GstSegment::applied_rate field
9519 API: gst_segment_set_newsegment_full();
9521 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9522 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9523 * libs/gst/base/gstbasetransform.c:
9524 (gst_base_transform_sink_eventfunc),
9525 (gst_base_transform_handle_buffer):
9526 Parse and use applied_rate in the GstSegment field.
9528 * tests/check/gst/gstevent.c: (GST_START_TEST):
9529 Add check for applied_rate field.
9531 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9532 (gstsegments_suite):
9533 Add more checks for various GstSegment operations.
9535 2006-05-08 Wim Taymans <wim@fluendo.com>
9537 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9538 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9539 (gst_base_sink_get_position), (gst_base_sink_change_state):
9540 Store the sync time of the buffer end position separatly in a
9541 new variable eos_rtime so we can properly sync the EOS event.
9543 Fix the docs for gst_base_sink_set_qos_enabled().
9544 Don't set segment start to invalid value when we receive a
9545 non TIME newsegment.
9546 get closer to handling position reporting for negative rates
9549 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9552 Docs about how to print caps for debug purposes.
9554 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9555 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9557 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9560 use full enum names and preprend a '%' in docs strings to make recent
9561 gtk-doc turn that into a link
9563 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9565 * docs/manual/basics-bins.xml:
9566 * docs/manual/basics-bus.xml:
9567 * docs/manual/basics-pads.xml:
9568 Some typo fixes, some additions, some clarifications.
9570 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9572 * tools/gst-inspect.c: (main):
9573 * tools/gst-launch.c: (main):
9574 * tools/gst-run.c: (main):
9575 * tools/gst-typefind.c: (main):
9576 * tools/gst-xmlinspect.c: (main):
9577 Use the string passed to g_option_context_new() for
9578 what it's intended for - the program name is already
9581 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9583 * tools/Makefile.am:
9584 * tools/gst-inspect.c: (main):
9585 * tools/gst-launch.c: (main):
9586 * tools/gst-xmlinspect.c: (main):
9588 Add back --version command line option (#340460).
9590 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9591 Add --version option and use GOption for argument parsing; refactor a
9592 bit; accept directories as arguments and recurse into them; lastly,
9593 print a decent error message when things go wrong.
9595 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9597 * docs/manual/basics-bins.xml:
9598 Don't mention GstThread (#340611)
9599 * docs/manual/basics-elements.xml:
9600 Update link to GObject tutorial (#340607)
9602 2006-05-05 Wim Taymans <wim@fluendo.com>
9605 * gst/gstminiobject.c:
9606 Add note about refcounting and miniobject/buffer writeability
9607 to docs. Fixes #340604
9609 * gst/gstelementfactory.h:
9610 Added some explanation about @klass.
9612 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9614 * docs/manual/intro-motivation.xml:
9615 * docs/manual/manual.xml:
9616 Avoid CORBA & Bonobo references (#340598)
9618 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9620 * docs/manual/basics-bus.xml:
9621 * docs/manual/basics-pads.xml:
9622 Fix up some inaccuracies and omissions (#340609)
9624 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9626 * gst/gstghostpad.c:
9627 Small typo in docs (#340625)
9629 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9631 * gst/parse/Makefile.am:
9632 Make 'make -j' proof (see #340698).
9634 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9637 Require GLib-2.8 here as well.
9639 2006-05-05 Wim Taymans <wim@fluendo.com>
9641 * gst/glib-compat.c:
9642 * gst/gst.c: (init_pre):
9643 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9644 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9645 (gst_object_dispatch_properties_changed):
9647 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9648 * gst/gststructure.c: (gst_structure_set_valist):
9649 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9650 Remove pre glib2.8 compatibility, fixes #340508
9652 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9655 Mention type of tags in doc blurbs.
9657 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9659 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9660 (gst_pad_configure_src), (gst_pad_push):
9661 Restore acceptcaps checking behaviour now that good plugins have
9664 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9666 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9677 * gst/parse/Makefile.am:
9678 * libs/gst/base/gstadapter.c:
9679 * libs/gst/base/gstbasesrc.c:
9680 * libs/gst/base/gstpushsrc.c:
9681 * libs/gst/base/gsttypefindhelper.c:
9682 * plugins/elements/gstfakesrc.c:
9683 * plugins/elements/gstidentity.c:
9684 Make sure gstprivate.h and/or config.h are
9685 always included first, otherwise some of our
9686 defines (like _FILE_OFFSET_BITS) might be
9687 redefined in the system headers. Fixes build
9688 on opensolaris (#340016).
9690 2006-05-04 Wim Taymans <wim@fluendo.com>
9692 * docs/libs/gstreamer-libs-sections.txt:
9693 API: addition: gst_adapter_take_buffer()
9695 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9696 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9697 (gst_adapter_available_fast):
9698 * libs/gst/base/gstadapter.h:
9699 Prepare for optimizing the hell out of this hugely inefficient
9701 Added gst_adapter_take_buffer() so we can at least start thinking
9702 about subbuffering and merging.
9703 Added some comments.
9705 * tests/check/Makefile.am:
9706 * tests/check/libs/adapter.c: (GST_START_TEST),
9707 (gst_adapter_suite), (main):
9708 Added GstAdapter check.
9710 2006-05-04 Wim Taymans <wim@fluendo.com>
9712 * docs/design/part-overview.txt:
9713 Fix some typos, add blurb about buffer flags.
9715 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9717 * docs/libs/gstreamer-libs-sections.txt:
9718 make sure GstBaseTransformClass shows up in the docs
9719 * libs/gst/base/gstbasetransform.c:
9720 * libs/gst/base/gstbasetransform.h:
9721 move docs so gtk-doc picks it up now
9723 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9725 * docs/libs/gstreamer-libs-sections.txt:
9726 add missing symbols to docs
9728 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9730 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9731 back out the newsegment handling change, see #340060 for ongoing
9734 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9736 * tools/gst-run.c: (get_candidates), (main):
9737 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9738 work); fix typo in error message. Fixes #340079.
9740 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9742 * common/Makefile.am:
9744 * docs/faq/Makefile.am:
9745 * docs/gst/Makefile.am:
9746 * docs/libs/Makefile.am:
9747 * docs/manual/Makefile.am:
9748 * docs/plugins/Makefile.am:
9749 * docs/pwg/Makefile.am:
9750 * docs/slides/Makefile.am:
9752 * common/upload.mak:
9753 move upload.mak to common
9755 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9757 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9758 add more asserts on refcounts
9759 do more cleanup at end of tests
9760 fix test leaks showing in FC5
9762 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9764 * plugins/elements/gsttypefindelement.c:
9765 (gst_type_find_element_handle_event):
9766 reverted wrong change and reflowed code to avoid others falling into
9769 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9771 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9772 fix changelog entry about last collectpads change,
9773 add notes about proper fix
9775 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9778 * gst/gstregistry.c: (gst_registry_scan_path_level),
9779 (gst_registry_scan_path):
9780 * gst/gstregistry.h:
9781 only write out registry if it has changed, fixes #338339
9783 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9786 * gst/gstpipeline.c:
9787 * plugins/elements/gstcapsfilter.c:
9788 * plugins/elements/gstfakesink.c:
9789 * plugins/elements/gstfakesrc.c:
9790 * plugins/elements/gstfdsink.c:
9791 * plugins/elements/gstfdsrc.c:
9792 * plugins/elements/gstfilesink.c:
9793 * plugins/elements/gstfilesrc.c:
9794 * plugins/elements/gstidentity.c:
9795 * plugins/elements/gstqueue.c:
9796 * plugins/elements/gsttee.c:
9797 * plugins/elements/gsttypefindelement.c:
9798 (gst_type_find_element_handle_event):
9799 make GstElementDetails const
9801 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9803 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9804 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9805 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9806 more detailed debug and formatting cleanup,
9807 forward newsegments to src-pad (so that e.g. adder not eats them)
9809 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9811 * gst/gstutils.c: (gst_element_link_pads):
9814 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9816 * libs/gst/controller/gstcontroller.c:
9817 (gst_controller_sync_values):
9819 * tests/check/libs/controller.c: (GST_START_TEST),
9820 (gst_controller_suite):
9821 a new test for live value handling
9823 2006-04-28 Wim Taymans <wim@fluendo.com>
9825 * gst/gstutils.c: (push_and_ref):
9826 Added some more docs.
9827 Fix refcount issue whith gst_element_found_tags() helper
9828 function. Fixes #338335
9830 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9831 Added testsuite for gst_element_found_tags().
9833 2006-04-28 Michael Smith <msmith@fluendo.com>
9835 * gst/gstvalue.c: (gst_value_serialize_flags):
9836 Avoid NULL dereference when trying to serialize flags containing
9839 2006-04-28 Michael Smith <msmith@fluendo.com>
9841 * plugins/elements/gsttypefindelement.c:
9842 (gst_type_find_element_handle_event):
9843 If we get EOS before any data is accumulated, don't use
9844 uninitialised local variables.
9846 2006-04-28 Michael Smith <msmith@fluendo.com>
9848 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9849 (gst_dp_event_from_packet):
9850 Fixes in reading/writing events over GDP (not currently used?) -
9851 dereferencing NULL events for unknown/invalid event types, memory
9852 leak, and change g_warning to GST_WARNING.
9854 2006-04-28 Wim Taymans <wim@fluendo.com>
9856 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9857 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9858 (gst_base_sink_get_position), (gst_base_sink_change_state):
9859 When frame dropping is enabled, we should not ignore frames
9861 Update some documentation.
9863 2006-04-28 Wim Taymans <wim@fluendo.com>
9865 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9866 (gst_base_src_send_event), (gst_base_src_change_state):
9867 Documentation updates.
9869 2006-04-28 Wim Taymans <wim@fluendo.com>
9871 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9872 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9873 handle EAGAIN, EINTR and short writes correctly. Also clean
9874 up some error cases, avoid a deadlock on bad file descriptors and
9875 use GST_DEBUG_OBJECT.
9878 2006-04-28 Wim Taymans <wim@fluendo.com>
9880 * gst/gstvalue.c: (gst_value_serialize_buffer),
9881 (gst_value_deserialize_buffer):
9882 Don't try to serialize a GValue with a NULL buffer.
9885 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9886 Added check for serialisation of NULL buffers.
9888 2006-04-28 Wim Taymans <wim@fluendo.com>
9890 * gst/gstminiobject.c: (gst_value_take_mini_object):
9891 Taking a NULL miniobject is valid, fix the case where
9892 we try to unref the NULL miniobject.
9894 2006-04-28 Wim Taymans <wim@fluendo.com>
9896 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9898 * gst/gstbin.c: (gst_bin_handle_message_func):
9900 Don't leak bin refcount when a state recalc is
9901 in progress and we delay another one #339808.
9903 2006-04-28 Wim Taymans <wim@fluendo.com>
9905 * docs/design/part-TODO.txt:
9906 Mention QoS as an ongoing work item.
9908 * docs/design/part-buffering.txt:
9909 New doc about buffering that needs to be fleshed out
9912 * docs/design/part-qos.txt:
9913 More QoS policy for decoders/demuxers/transforms
9915 * docs/design/part-trickmodes.txt:
9918 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9923 === release 0.10.5 ===
9925 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9928 releasing 0.10.5, "Fogo"
9930 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9932 patch by: Wim Taymans
9934 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9935 (gst_pad_configure_src), (gst_pad_push):
9936 * gst/gstpipeline.c: (gst_pipeline_init):
9937 Fix internal data flow errors. Fixes #338711.
9939 2006-04-12 Wim Taymans <wim@fluendo.com>
9941 * tests/check/gst/gstelement.c: (GST_START_TEST):
9942 Don't leak the factory.
9944 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9947 * win32/common/config.h:
9950 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9952 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9953 (gst_controller_unset_all):
9954 Free allocated GstTimedValues when freeing list nodes.
9955 Should fix leaks 'make check-valgrind' complains about.
9957 * win32/common/libgstcontroller.def:
9958 Add gst_controller_unset_all.
9960 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9962 * docs/libs/gstreamer-libs-sections.txt:
9963 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9964 (gst_controller_unset_all):
9965 * libs/gst/controller/gstcontroller.h:
9966 API: Added new method gst_controller_unset_all()
9967 fixed gst_controller_unset()
9968 * tests/check/libs/controller.c: (GST_START_TEST),
9969 (gst_controller_suite):
9970 Added two testcases for new and fixed method
9972 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9974 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9975 MSG_DONTWAIT is not defined on Cygwin, so work
9976 around that (fixes #317048).
9978 2006-04-11 Wim Taymans <wim@fluendo.com>
9980 * gst/gstelementfactory.c: (gst_element_register),
9981 (gst_element_factory_create), (gst_element_factory_make):
9984 Updated docs (Fixes #131079)
9986 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9989 * tests/check/gst/gstelement.c: (GST_START_TEST),
9990 (gst_element_suite):
9991 Added testcase for elementfactory class field.
9993 2006-04-10 Wim Taymans <wim@fluendo.com>
9996 Added some more docs.
9998 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9999 (gst_base_sink_reset_qos):
10000 Calculate more accurate rate values.
10002 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10004 * gst/gst_private.h:
10005 add a new #ifdef to use __declspec(dllimport) only for
10006 other modules and not for gstreamer core
10007 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10008 use gst_guint64_to_gdouble for conversion
10009 * win32/common/libgstreamer.def:
10010 add new exported functions
10011 * win32/vs6/gst_inspect.dsp:
10012 * win32/vs6/gst_launch.dsp:
10013 * win32/vs6/libgstbase.dsp:
10014 * win32/vs6/libgstcontroller.dsp:
10015 * win32/vs6/libgstcoreelements.dsp:
10016 * win32/vs6/libgstdataprotocol.dsp:
10017 * win32/vs6/libgstnet.dsp:
10018 update project files
10020 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10022 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10023 * gst/gstclock.c: (gst_clock_class_init):
10024 * gst/gstelement.c: (gst_element_class_init):
10025 * gst/gstindex.c: (gst_index_class_init):
10026 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10027 * gst/gstobject.c: (gst_object_class_init),
10028 (gst_signal_object_class_init):
10029 * gst/gstpad.c: (gst_pad_class_init):
10030 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10031 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10032 * gst/gstregistry.c: (gst_registry_class_init):
10033 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10034 * gst/gsttask.c: (gst_task_class_init):
10035 * gst/gstxml.c: (gst_xml_class_init):
10036 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10037 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10038 (gst_base_src_loop):
10039 * libs/gst/controller/gstcontroller.c:/
10040 (_gst_controller_class_init):
10041 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10042 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10043 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10044 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10045 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10046 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10048 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10050 * gst/gstpad.c: (gst_pad_link):
10051 Must set peer pads before calling the link function, otherwise
10052 a task started from a link function might get a flow-not-linked
10053 result when trying to push because the other thread where the
10054 linking happens hasn't had a chance to set the peers yet. This
10055 might happen for example when a queue gets linked to a downstream
10056 element, as queue starts a streaming task when its source pad
10057 gets linked. Happens in real life when playing back flac/musepack
10058 files in playbin (#332390).
10060 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10064 * libs/gst/base/gstadapter.h:
10065 * libs/gst/base/gstbasesink.h:
10066 * libs/gst/base/gstbasesrc.h:
10067 * libs/gst/base/gstbasetransform.h:
10068 * libs/gst/base/gstcollectpads.h:
10069 * libs/gst/base/gstpushsrc.h:
10070 Fix broken GObject macros
10072 2006-04-07 Wim Taymans <wim@fluendo.com>
10074 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10075 Initialize start and stop times, thanks valgrind.
10077 2006-04-07 Wim Taymans <wim@fluendo.com>
10079 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10080 Be a bit nicer to badly behaving upstream elements that expect
10081 us to deal with non TIME segments and timestamps (such as fakesrc
10084 2006-04-07 Wim Taymans <wim@fluendo.com>
10087 Small documentation clarification about the signal watch.
10089 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10090 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10091 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10092 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10093 (gst_base_sink_get_position_last),
10094 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10095 Convert and store timestamps in stream time and running time, the
10096 raw timestamps are not useful, also document this better.
10097 Use different window sizes for good and bad QoS observations so
10098 we react to badness a little quicker.
10099 Keep track of the amount of rendered and dropped buffers.
10100 Send QoS timestamps in running time.
10102 * libs/gst/base/gstbasetransform.c:
10103 (gst_base_transform_sink_eventfunc),
10104 (gst_base_transform_handle_buffer):
10105 Compare QoS timestamps against running time.
10107 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10110 Typo fixes in docs.
10112 2006-04-06 Michael Smith <msmith@fluendo.com>
10114 * gst/gstpad.c: (gst_pad_set_property):
10115 Use g_value_get_object() instead of g_value_dup_gst_object(),
10116 to avoid double-reffing the pad template (which we then sink,
10117 so this worked previously if (and only if) the pad template
10120 * gst/gstpadtemplate.c: (gst_pad_template_init),
10121 (gst_pad_template_pad_created):
10122 Never return floating references to pad templates, create
10123 them as initially-sunken.
10125 Document an extra function (and make this stop sinking our
10126 pad template, since that is now guaranteed to do nothing,
10127 since we created it sunken).
10129 * gst/gstghostpad.c:
10132 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10134 * gst/gstinfo.c: (__gst_in_valgrind):
10137 * plugins/elements/gsttypefindelement.c:
10138 (gst_type_find_element_chain):
10139 Don't leak buffer caps.
10141 2006-04-06 Michael Smith <msmith@fluendo.com>
10143 * gst/parse/grammar.y:
10144 Fix a leak in parse-launch for any source-or-sink named element
10147 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10148 Unref the pipeline if it exists after we've failed parsing.
10150 2006-04-05 Michael Smith <msmith@fluendo.com>
10152 * gst/gstpipeline.c: (gst_pipeline_init):
10153 When we create a pipeline bus, initially create it in flushing mode.
10154 Fixes leaks in at least one test, and makes a new pipeline work the
10155 same as one that has gone to READY and then back to NULL.
10157 * gst/gstelement.c:
10160 2006-04-05 Michael Smith <msmith@fluendo.com>
10162 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10163 Unref a pad we reffed.
10164 * tests/check/gst/gstutils.c: (GST_START_TEST):
10167 2006-04-05 Michael Smith <msmith@fluendo.com>
10169 * gst/gstquery.c: (gst_query_set_formats),
10170 (gst_query_set_formatsv):
10171 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10173 2006-04-05 Michael Smith <msmith@fluendo.com>
10175 * tests/check/generic/sinks.c: (GST_START_TEST):
10176 Fix a variety of memleaks in sinks check, which are only sometimes
10177 shown by running the tests under valgrind (weird?).
10179 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10181 * docs/version.entities.in:
10182 Fix the substituted entity name after thomas' changes on the
10185 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10187 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10190 2006-04-05 Andy Wingo <wingo@pobox.com>
10192 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10194 * libs/gst/base/gstbasetransform.c
10195 (gst_base_transform_sink_eventfunc): When resetting our segment on
10196 FLUSH_STOP, also update the flag saying we haven't seen a
10199 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10201 Patch by: Paolo Borelli <pborelli at katamail dot com>
10203 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10204 (gst_plugin_check_license):
10205 minor clean-ups: G_DEFINE_TYPE already takes care of the
10206 parent_class stuff, no need to do it twice. Mark array of
10207 license strings as constant. (#337103)
10209 2006-04-04 Michael Smith <msmith@fluendo.com>
10211 * tools/gst-inspect.c: (print_element_list):
10212 Free the right plugin list; fixes a memory leak.
10214 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10216 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10218 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10219 Don't error out on empty buffers (#336945).
10221 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10223 * docs/libs/gstreamer-libs-sections.txt:
10224 * gst/gsttaglist.c:
10225 * libs/gst/base/gstbasesink.c:
10226 * libs/gst/base/gstbasesink.h:
10227 * libs/gst/base/gstbasesrc.c:
10228 * libs/gst/base/gstbasesrc.h:
10229 Documentation updates. Make BaseSink and BaseSrc docs contain the
10230 class structure so that people can actually see the prototypes for
10231 virtual functions they're supposed to be overriding.
10233 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10235 * plugins/elements/gsttypefindelement.c:
10236 (gst_type_find_element_chain):
10237 More debug info; when skipping typefinding, send cached
10238 events in all cases.
10240 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10243 use new AS_VERSION and AS_NANO macros
10244 * gst/gst-i18n-lib.h:
10247 * gst/gstversion.h.in:
10248 * win32/common/config.h:
10249 * win32/common/config.h.in:
10252 2006-03-31 Michael Smith <msmith@fluendo.com>
10254 * plugins/elements/gsttypefindelement.c:
10255 (gst_type_find_element_chain):
10256 Do not typefind content if the buffers already have caps.
10257 Neccesary for icydemux (#333657), and the right thing to do anyway.
10259 2006-03-30 Wim Taymans <wim@fluendo.com>
10261 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10262 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10263 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10264 (gst_base_sink_record_qos_observation),
10265 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10266 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10267 (gst_base_sink_change_state):
10268 More QoS measurements as described in the design doc.
10269 Get rid of ringbuffer with observations, running average is
10270 more simple and equally good.
10271 Calculates valid proportion now.
10272 Added beginning of flood measurement.
10274 2006-03-29 Wim Taymans <wim@fluendo.com>
10276 * docs/design/part-qos.txt:
10278 Small documentation updates and additions.
10280 2006-03-29 Wim Taymans <wim@fluendo.com>
10282 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10283 (gst_base_src_send_event), (gst_base_src_loop),
10284 (gst_base_src_change_state):
10285 Perform the EOS logic when we reach the segment stop position.
10286 Fix compilation on gcc4.1
10288 2006-03-29 Wim Taymans <wim@fluendo.com>
10290 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10292 * plugins/elements/gstqueue.c: (gst_queue_init),
10293 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10294 (gst_queue_set_property):
10295 * plugins/elements/gstqueue.h:
10296 In queue, when EOS is received, if minimum threshold > max_size -
10297 current_level, there is chance that queue blocks forever in conditional
10298 item del wait. This is because the queue is not emptied completely due
10299 to minimum threshold. Here is another approach. Instead of setting
10300 cur_levels to max in EOS, just zero all minimum threshold levels. This
10301 should make sure that queue gives out all data. When going to READY
10302 (stop) state, just reset the original minimum threshold levels.
10305 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10307 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10308 (gst_type_find_element_handle_event),
10309 (gst_type_find_element_send_cached_events),
10310 (gst_type_find_element_change_state):
10311 * plugins/elements/gsttypefindelement.h:
10312 When typefinding is done in push mode, we should cache
10313 events we receive during typefinding instead of just
10314 dropping them (e.g. newsegment, custom events from
10315 dvdreadsrc etc.) and then send them out once we've
10316 determined the type of the stream (and decodebin
10317 has had a chance to plug in a decoder/demuxer).
10319 2006-03-27 Wim Taymans <wim@fluendo.com>
10321 * docs/design/part-qos.txt:
10324 2006-03-27 Wim Taymans <wim@fluendo.com>
10326 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10328 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10329 (gst_base_src_send_event), (gst_base_src_change_state):
10330 Handle element seek correctly when we are streaming.
10333 2006-03-24 Michael Smith <msmith@fluendo.com>
10335 * docs/faq/gst-uninstalled:
10336 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10337 allow you to correctly run intalled applications built against old
10338 core, using plugins that require updated core (e.g. running
10339 installed totem against a full uninstalled gstreamer stack)
10341 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10343 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10346 2006-03-24 Wim Taymans <wim@fluendo.com>
10348 * docs/gst/gstreamer-sections.txt:
10349 Rearrange the order of the methods so that related methods
10350 are grouped together in sections.
10352 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10354 * gst/gstelement.c:
10355 Little clarification in the docs
10357 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10361 * plugins/elements/gstidentity.c:
10362 * plugins/elements/gstqueue.c:
10363 * plugins/elements/gsttee.c:
10364 * plugins/elements/gsttypefindelement.c:
10365 GST_ELEMENT_DETAILS formatting
10367 2006-03-24 Wim Taymans <wim@fluendo.com>
10369 * libs/gst/base/gstbasesink.h:
10370 Only add fields, not insert or we break ABI.
10372 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10374 * win32/common/libgstbase.def:
10375 * win32/common/libgstreamer.def:
10376 Update, add recently added functions.
10378 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10380 * docs/gst/gstreamer-sections.txt:
10381 * gst/gstutils.c: (gst_pad_query_peer_position),
10382 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10384 API: add some new utility functions:
10385 - gst_pad_query_peer_position()
10386 - gst_pad_query_peer_duration()
10387 - gst_pad_query_peer_convert()
10389 2006-03-23 Wim Taymans <wim@fluendo.com>
10391 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10392 (gst_base_sink_init), (gst_base_sink_finalize),
10393 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10394 (gst_base_sink_set_property), (gst_base_sink_get_property),
10395 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10396 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10397 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10398 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10399 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10400 (gst_base_sink_preroll_object), (gst_base_sink_event),
10401 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10402 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10403 (gst_base_sink_query), (gst_base_sink_change_state):
10404 Decouple max-lateness and the fact that QoS messages are generated
10405 with a new property (qos).
10406 added API: GstBaseSink::async_play()
10407 Add vmethod so subclasses can be notified of ASYNC playing
10409 Collect timestamp start and stop to report better current
10410 position in EOS/PLAYING/PAUSED/READY/NULL.
10411 Refactor QoS/frame dropping and other measurements.
10412 API: GstBaseSrc::qos
10415 * libs/gst/base/gstbasesink.h:
10416 Added Private struct.
10417 API: gst_base_sink_set_qos_enabled()
10418 API: gst_base_sink_is_qos_enabled()
10420 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10422 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10423 If compiling against GLib-2.8 or newer, try to read the
10424 registry file using GMappedFile first before falling back
10425 to fopen() + fread() (#332151).
10427 2006-03-22 Wim Taymans <wim@fluendo.com>
10429 * gst/gstinfo.c: (gst_debug_set_active),
10430 (gst_debug_category_set_threshold):
10431 Disable debugging unless explicitly activated.
10434 2006-03-22 Wim Taymans <wim@fluendo.com>
10436 * gst/gstelement.c: (gst_element_set_locked_state),
10437 (gst_element_dispose):
10438 Cleanup the error case.
10440 * gst/gstobject.c: (gst_object_dispose):
10441 print a critical when some object was disposed with
10442 a parent, also revive the object since it might
10445 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10447 * tools/gst-launch.1.in:
10450 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10453 * tests/check/Makefile.am:
10454 disable some tests when we don't have a registry
10455 * tests/check/gst/gstutils.c: (gst_utils_suite):
10456 don't build the part that needs parsing
10458 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10461 * tests/examples/Makefile.am:
10462 fix --disable-parse build
10464 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10466 * tools/gst-feedback.1.in:
10467 Fix typo: s/feeback/feedback/ (#133494).
10469 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10471 * tools/Makefile.am:
10472 * tools/gst-launch.1.in:
10473 Add FILES section and correct entry about GST_REGISTRY_PATH
10474 environment variable (#133495; #133494).
10476 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10478 * tools/Makefile.am:
10479 * tools/gst-md5sum.1.in:
10480 * tools/gst-md5sum.c:
10481 Remove gst-md5sum and man page (the md5sink element
10482 required was removed ages ago)
10484 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10486 * gst/gststructure.c: (gst_structure_id_set_value):
10487 Make sure that string fields in structures/taglists
10488 contain valid UTF-8 - we don't want to pass rubbish to
10489 applications because of a buggy plugin (cp. #334167).
10491 2006-03-21 Edward Hervey <edward@fluendo.com>
10493 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10494 (gst_bin_handle_message_func):
10495 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10496 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10497 (gst_element_set_bus_func):
10498 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10499 * gst/gstminiobject.c: (gst_value_set_mini_object),
10500 (gst_value_take_mini_object):
10501 * gst/gstpad.c: (gst_pad_set_pad_template):
10502 * gst/gstpipeline.c: (gst_pipeline_dispose),
10503 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10504 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10505 (gst_collect_pads_chain):
10506 * libs/gst/net/gstnettimeprovider.c:
10507 (gst_net_time_provider_set_property):
10508 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10509 It's in fact all issues with gst_*object_replace().
10511 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10513 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10515 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10516 * pkgconfig/gstreamer-check.pc.in:
10517 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10519 2006-03-21 Edward Hervey <edward@fluendo.com>
10523 * gst/gstmessage.h:
10524 gst_[buffer|event|message]_ref() macros are replaced by a static
10525 inline functions because gcc-4.1 will about if the return value
10527 * tests/check/gst/gstevent.c: (event_probe):
10528 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10530 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10533 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10534 the type' case. (Closes: #335195 for now). In the future, when we
10535 depend on GLib 2.10, we could also intern the type name using
10536 g_intern_static_string()
10538 2006-03-20 Wim Taymans <wim@fluendo.com>
10540 * gst/gstbin.c: (gst_bin_handle_message_func),
10541 (bin_query_max_init), (bin_query_position_fold),
10542 (bin_query_position_done), (gst_bin_query):
10543 Position query should also take max of all streams.
10545 2006-03-20 Wim Taymans <wim@fluendo.com>
10547 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10548 (gst_fake_src_finalize):
10549 Fix leaks in fakesrc.
10551 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10552 Fix leaks in the testcase.
10554 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10556 * gst/gst_private.h:
10557 add win32 specific import decoration(__declspec(dllimport))
10558 for all extern GstDebugCategory * variables
10559 * win32/common/libgstbase.def:
10560 * win32/common/libgstcontroller.def:
10561 * win32/common/libgstreamer.def:
10562 Add some exports, remove empty lines
10563 * win32/common/libgstdataprotocol.def:
10564 * win32/common/libgstdataprotocol.dsp:
10565 * win32/common/libgstnet.def:
10566 * win32/common/libgstnet.dsp:
10567 new project files and exportation files added
10569 2006-03-19 Wim Taymans <wim@fluendo.com>
10571 * tests/check/libs/basesrc.c: (eos_event_counter):
10572 Use proper return value for probe.
10574 2006-03-17 Wim Taymans <wim@fluendo.com>
10576 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10578 Don't leak buffers, caps and pads on negotiation errors.
10580 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10582 * docs/faq/cvs.xml:
10583 * docs/faq/dependencies.xml:
10584 * docs/faq/developing.xml:
10585 * docs/faq/faq.xml:
10586 * docs/faq/general.xml:
10587 * docs/faq/getting.xml:
10588 * docs/faq/legal.xml:
10589 * docs/faq/troubleshooting.xml:
10590 * docs/faq/using.xml:
10591 Faq review and update.
10593 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10595 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10597 Don't pound the cpu to pieces by checking get_caps when accept_caps
10598 is called with the same caps as the pad already has.
10599 Use GST_DEBUG_OBJECT when outputting caps change information.
10601 2006-03-15 Wim Taymans <wim@fluendo.com>
10603 * gst/gstclock.c: (gst_clock_class_init):
10606 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10611 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10612 (gst_pad_accept_caps), (gst_pad_configure_sink),
10613 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10614 Make the default acceptcaps behaviour be to check the requested
10615 caps against the gst_pad_get_caps output.
10617 Ensure that gst_pad_accept_caps is used to check caps when a pad
10618 doesn't have a setcaps function, so that pads automatically refuse
10619 caps that they don't allow in their pad template. (Fixes #332986)
10621 When a buffer with attached caps is pushed, ensure that the source
10622 pad receives those caps even if the element didn't call
10623 gst_pad_set_caps first.
10625 2006-03-15 Wim Taymans <wim@fluendo.com>
10627 * libs/gst/base/gstadapter.c:
10630 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10632 * win32/common/libgstbase.def:
10633 * win32/common/libgstcontroller.def:
10634 * win32/common/libgstreamer.def:
10635 Add a whole bunch of missing functions (#334434).
10637 2006-03-14 Wim Taymans <wim@fluendo.com>
10639 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10640 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10641 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10642 Better debug info when we receive a segment event.
10643 Reorganize a bit so we can pass the get_times() results around.
10644 Use the segment format when calculating the running time.
10645 Don't do QoS is sync is disabled or we have no clock or the
10646 element does not want us to sync to the clock.
10647 Don't drop buffers if QoS is disabled for now.
10649 2006-03-14 Wim Taymans <wim@fluendo.com>
10651 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10652 Marked the stats property as unimplemented so people don't get
10654 Add debug message when regression goes wrong.
10655 Added some more docs.
10657 2006-03-14 Wim Taymans <wim@fluendo.com>
10659 * gst/gstsegment.c: (gst_segment_to_stream_time):
10660 Return correct return type in case of errors.
10662 2006-03-14 Wim Taymans <wim@fluendo.com>
10664 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10665 Don't segfault on invalid formats.
10667 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10669 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10670 Can't use gst_segment_to_running_time() when the segment
10671 is not in GST_TIME_FORMAT (like with filesink, for example).
10672 Stops flac encoding pipelines from spewing critical warnings
10675 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10677 * gst/gstpipeline.c: (gst_pipeline_class_init):
10678 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10680 * plugins/elements/gsttypefindelement.c:
10681 (gst_type_find_element_handle_event):
10682 Don't try to typefind empty streams.
10684 2006-03-14 Wim Taymans <wim@fluendo.com>
10686 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10687 (gst_base_sink_do_qos):
10688 Separate QoS calculation.
10689 Only drop buffers when lateness is bigger than the
10690 duration of the buffer.
10692 2006-03-13 Wim Taymans <wim@fluendo.com>
10694 * gst/gstpipeline.c: (gst_pipeline_set_property),
10695 (gst_pipeline_get_property), (do_pipeline_seek),
10696 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10697 (gst_pipeline_get_delay):
10698 Don't deadlock when reading properties.
10700 2006-03-13 Wim Taymans <wim@fluendo.com>
10702 * libs/gst/base/gstbasetransform.c:
10703 (gst_base_transform_class_init), (gst_base_transform_init),
10704 (gst_base_transform_sink_event),
10705 (gst_base_transform_sink_eventfunc),
10706 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10707 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10708 (gst_base_transform_set_property),
10709 (gst_base_transform_get_property),
10710 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10711 (gst_base_transform_set_qos_enabled),
10712 (gst_base_transform_is_qos_enabled):
10713 * libs/gst/base/gstbasetransform.h:
10714 Make basetransform virtual method for src events too.
10715 Handle QOS in basetransform.
10716 API: gst_base_transform_update_qos()
10717 API: gst_base_transform_set_qos_enabled()
10718 API: gst_base_transform_is_qos_enabled()
10720 2006-03-13 Wim Taymans <wim@fluendo.com>
10722 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10723 (gst_base_sink_do_sync):
10725 Use QOS debug category.
10727 2006-03-13 Wim Taymans <wim@fluendo.com>
10729 * plugins/elements/gstqueue.c:
10730 Very small doc update.
10732 2006-03-13 Wim Taymans <wim@fluendo.com>
10734 * gst/gst_private.h:
10735 * gst/gstinfo.c: (_gst_debug_init):
10736 Added QOS debug category
10738 2006-03-13 Wim Taymans <wim@fluendo.com>
10740 * docs/gst/gstreamer-sections.txt:
10741 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10743 * gst/gstbus.c: (gst_bus_class_init):
10746 * gst/gstelement.c: (gst_element_set_locked_state):
10747 * gst/gstsegment.c:
10748 Documentation updates.
10750 * gst/gstpipeline.c: (gst_pipeline_get_type),
10751 (gst_pipeline_class_init), (gst_pipeline_init),
10752 (gst_pipeline_dispose), (gst_pipeline_set_property),
10753 (gst_pipeline_get_property), (do_pipeline_seek),
10754 (gst_pipeline_send_event), (gst_pipeline_change_state),
10755 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10756 (gst_pipeline_get_delay):
10757 * gst/gstpipeline.h:
10758 Added methods for setting the delay.
10759 API: gst_pipeline_set_delay()
10760 API: gst_pipeline_get_delay()
10761 Add pipeline debug category
10764 Don't reset stream time when seek failed.
10766 2006-03-13 Wim Taymans <wim@fluendo.com>
10768 * docs/design/draft-klass.txt:
10769 * docs/design/part-clocks.txt:
10770 * docs/design/part-events.txt:
10771 * docs/design/part-gstbin.txt:
10772 * docs/design/part-gstpipeline.txt:
10773 * docs/design/part-messages.txt:
10774 * docs/design/part-negotiation.txt:
10775 * docs/design/part-overview.txt:
10776 * docs/design/part-preroll.txt:
10777 * docs/design/part-seeking.txt:
10778 * docs/design/part-states.txt:
10779 * docs/design/part-streams.txt:
10780 Documentation updates.
10782 2006-03-12 Julien MOUTTE <julien@moutte.net>
10784 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10785 us to leak strings...
10787 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10789 * libs/gst/net/gstnettimeprovider.c:
10791 * win32/common/config.h:
10794 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10796 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10799 Don't check for libgnomeui (leftover from old examples
10800 that aren't built or disted any longer) (#334303).
10802 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10804 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10805 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10806 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10807 there's no space left on the device.
10809 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10812 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10813 to cast the input to GstClockTime before comparing with
10814 another GstClockTime value.
10816 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10821 === release 0.10.4 ===
10823 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10826 releasing 0.10.4, "Light"
10828 2006-03-10 Michael Smith <msmith@fluendo.com>
10830 * libs/gst/dataprotocol/dataprotocol.c:
10831 Fix docs for dataprocotol to not get the return types completely
10832 wrong for a few functions.
10834 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10836 * docs/gst/gstreamer-sections.txt:
10837 * gst/gstpipeline.c: (gst_pipeline_class_init),
10838 (gst_pipeline_init), (gst_pipeline_set_property),
10839 (gst_pipeline_get_property), (gst_pipeline_change_state),
10840 (gst_pipeline_set_auto_flush_bus),
10841 (gst_pipeline_get_auto_flush_bus):
10842 * gst/gstpipeline.h:
10843 Add new API: gst_pipeline_set_auto_flush_bus() and
10844 gst_pipeline_get_auto_flush_bus() to disable automatic
10845 flushing of the pipeline's GstBus when going from READY
10846 to NULL state (#332045).
10848 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10850 * docs/gst/gstreamer-sections.txt:
10851 * gst/gsturi.c: (gst_uri_has_protocol):
10853 Add new API: gst_uri_has_protocol() (#333779).
10855 2006-03-09 Wim Taymans <wim@fluendo.com>
10857 * gst/gstclock.c: (gst_clock_entry_new),
10858 (gst_clock_id_compare_func), (gst_clock_id_wait),
10859 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10860 (gst_clock_init), (gst_clock_get_internal_time),
10861 (gst_clock_set_master), (do_linear_regression),
10862 (gst_clock_add_observation), (gst_clock_set_property):
10866 Fix a possible segfault when the window-size is made smaller.
10867 Calculate jitter before performing the clock wait. Ideally
10868 the clock implementation should calculate jitter but we need
10869 API breakage for that.
10871 * gst/gstsystemclock.c: (gst_system_clock_init):
10874 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10875 Remove leftover else
10877 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10878 (gst_systemclock_suite):
10879 Added check to test GST_CLOCK_DIFF.
10881 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10883 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10884 (gst_type_find_helper_get_range):
10885 If we are provided with the size, we should implement
10886 GstTypeFind::get_length, so that typefind functions who
10887 want to can actually peek at the middle of a file.
10889 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10891 * docs/manual/advanced-dataaccess.xml:
10892 Add some very very basic error checking.
10894 * docs/pwg/appendix-checklist.xml:
10895 Some updates to the list of things to check when writing an element.
10897 2006-03-08 Wim Taymans <wim@fluendo.com>
10899 * docs/design/part-element-transform.txt:
10900 Added some docs about the design of tranform elements.
10902 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10903 (gst_base_src_loop), (gst_base_src_change_state):
10904 Mark buffers with the DISCONT flag.
10906 2006-03-08 Michael Smith <msmith@fluendo.com>
10908 * gst/gstregistry.h:
10909 * gst/gstregistryxml.c: (gst_registry_save),
10910 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10911 (gst_registry_xml_save_pad_template),
10912 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10913 (gst_registry_xml_write_cache):
10914 Rewrite registry-saving to avoid race conditions and check for
10917 2006-03-08 Wim Taymans <wim@fluendo.com>
10919 * libs/gst/base/gstbasetransform.c:
10920 (gst_base_transform_transform_caps),
10921 (gst_base_transform_transform_size),
10922 (gst_base_transform_prepare_output_buffer),
10923 (gst_base_transform_get_unit_size),
10924 (gst_base_transform_buffer_alloc),
10925 (gst_base_transform_handle_buffer),
10926 (gst_base_transform_change_state):
10927 Cleanups, separate normal flow from errors, add sensible
10929 Don't try to renegotiate when allocating an output buffer.
10930 Also copy DISCONT buffer flag when copying a buffer.
10931 Reset the transform after we finish streaming, not during.
10933 2006-03-08 Wim Taymans <wim@fluendo.com>
10935 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10936 Use last buffer timestamp in qos message.
10938 2006-03-07 Wim Taymans <wim@fluendo.com>
10940 Patch by: Christophe Fergeau
10942 * docs/pwg/advanced-tagging.xml:
10943 * docs/pwg/building-pads.xml:
10946 2006-03-07 Wim Taymans <wim@fluendo.com>
10948 * docs/libs/gstreamer-libs-sections.txt:
10949 Added basesink new methods.
10953 Docs updates. Flesh out the QoS docs.
10955 * libs/gst/base/gstadapter.c:
10956 Small doc clarification about ownership and flushing.
10958 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10959 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10960 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10961 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10962 * libs/gst/base/gstbasesink.h:
10964 Added new methods to allow subclass to control max-lateness
10966 Generate very basic QoS events based on last sync observation.
10967 Updated docs, fix typo, added some QoS blurb.
10969 * libs/gst/base/gstbasesrc.c:
10970 Remove obsolete _get_state() calls from docs.
10972 2006-03-07 Wim Taymans <wim@fluendo.com>
10974 * docs/libs/gstreamer-libs-sections.txt:
10975 * libs/gst/base/gstbasetransform.h:
10976 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10977 Fix docs for GstBaseSrc.
10979 2006-03-07 Wim Taymans <wim@fluendo.com>
10981 * docs/gst/gstreamer-sections.txt:
10984 * libs/gst/base/gstbasetransform.h:
10985 Small documentation fixes.
10987 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10990 Document thread-unsafety of gst_value_register_foo_func()
10991 when used at the same time as gst_value_foo() (#322628).
10993 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10995 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10996 (gst_push_src_check_get_range):
10997 Push sources don't support pull mode by default.
10999 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11001 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11002 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11003 (gst_base_src_default_check_get_range):
11004 * libs/gst/base/gstbasesrc.h:
11005 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11006 provide default implementation, and rename
11007 gst_base_src_check_get_range() to
11008 gst_base_src_pad_check_get_range() for clarity.
11010 2006-03-06 Wim Taymans <wim@fluendo.com>
11012 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11013 Make property overridable.
11015 2006-03-06 Wim Taymans <wim@fluendo.com>
11017 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11018 (gst_base_sink_init), (gst_base_sink_set_property),
11019 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11020 * libs/gst/base/gstbasesink.h:
11021 API addition: Make max-lateness a property.
11023 2006-03-06 Wim Taymans <wim@fluendo.com>
11025 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11026 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11027 Don't ever draw a frame that is >10ms late.
11029 2006-03-06 Michael Smith <msmith@fluendo.com>
11031 * gst/gstmessage.c: (_gst_message_copy):
11032 When copying a message, set the parent_refcount of the enclosed
11033 structure to point at the copy, not the original message.
11035 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11037 Patch by: Christophe Fergeau
11040 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11041 usable in c++ code (#333417)
11043 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11046 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11048 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11050 * libs/gst/base/gstbasetransform.c:
11051 (gst_base_transform_transform_caps):
11052 Make sure caps are writable before passing them to
11055 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11058 Fix some minor docs errors.
11060 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11062 Patch by: Ross Burton <ross at burtonini dot com>
11064 * gst/gsterror.c: (_gst_resource_errors_init):
11066 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11068 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11071 Add a check and output a g_warning when GStreamer is built
11072 against GLib 2.6 but running against 2.8 or higher, and vice
11073 versa. (Closes: #323542)
11075 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11077 * gst/parse/parse.l:
11078 Commit patch for parse_launch syntax from #331255. Removes
11079 support for quoted strings and mimetypes when writing filtered
11080 caps. See the bug report for more details - I'm pretty sure this
11081 obscure feature is not in use by _anyone_ anywhere.
11083 With this simple change, the size of the gstreamer.so here
11084 drops from 2193KB to 1565KB.
11086 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11088 * plugins/elements/gsttypefindelement.h:
11089 * plugins/elements/gsttypefindelement.c:
11090 (gst_type_find_element_src_event), (start_typefinding),
11091 (stop_typefinding), (gst_type_find_element_handle_event),
11092 (gst_type_find_element_chain),
11093 (gst_type_find_element_chain_do_typefinding):
11094 Use gst_type_find_helper_for_buffer() for chain-based
11097 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11099 * plugins/elements/gsttypefindelement.c:
11100 (gst_type_find_element_class_init),
11101 (gst_type_find_element_set_property),
11102 (gst_type_find_element_get_property):
11103 Deprecate "maximum" property (not only was it only taken into
11104 account for typefinding in push-mode anyway, it also was never
11105 actually possible to set it in the first place because the
11106 property was registered with the numeric property ID for the
11107 "minimum" property). Register "maximum" property correctly,
11108 for the sake of future copy'n'pasters. Remove some cruft
11109 from property get/set functions.
11111 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11113 * plugins/elements/gsttypefindelement.c:
11114 (gst_type_find_element_activate):
11115 Use gst_type_find_helper_get_range() here, so we
11116 can honour the "minimum" property and also emit
11117 the signal with the correct probability of the found caps.
11119 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11121 * docs/libs/gstreamer-libs-sections.txt:
11122 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11123 (helper_find_suggest), (gst_type_find_helper_get_range),
11124 (gst_type_find_helper):
11125 * libs/gst/base/gsttypefindhelper.h:
11126 New API: gst_type_find_helper_get_range() (#333042).
11128 2006-03-02 Michael Smith <msmith@fluendo.com>
11130 * gst/gstregistryxml.c: (load_feature):
11131 Asserting on a failure to read part of the registry is Not Cool.
11132 Just log a warning and return NULL (which is already handled)
11134 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11136 * win32/common/libgstbase.def:
11137 added export of gst_type_find_helper_for_buffer
11138 * win32/common/libgstbase.def:
11139 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11140 gst_ghost_pad_get_target
11142 2006-02-28 Wim Taymans <wim@fluendo.com>
11144 * docs/design/draft-klass.txt:
11146 Added Connector to mark elements that are only used to
11147 allow pipeline connections.
11148 Moved Debug to extra feature since most of them are
11149 functionally something else.
11151 2006-02-28 Wim Taymans <wim@fluendo.com>
11153 * docs/design/draft-klass.txt:
11154 Some updates and clarifications.
11156 2006-02-28 Wim Taymans <wim@fluendo.com>
11158 * docs/design/draft-klass.txt:
11159 Proposal for klass field values.
11161 * docs/design/part-streams.txt:
11162 Start of a doc describing stream anatomy.
11164 2006-02-28 Wim Taymans <wim@fluendo.com>
11166 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11167 Help the compiler a bit with type registration.
11168 Use existing forward cod path instead of duplicating it when
11169 handling a message.
11171 * gst/gstbus.c: (gst_bus_get_type):
11172 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11173 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11174 * gst/gstclock.c: (gst_clock_get_type):
11175 * gst/gstelement.c: (gst_element_get_type),
11176 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11177 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11178 * gst/gstminiobject.c: (gst_mini_object_get_type):
11179 * gst/gstpad.c: (gst_pad_get_type):
11180 * gst/gstsegment.c: (gst_segment_get_type):
11181 * gst/gststructure.c: (gst_structure_get_type):
11182 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11183 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11185 Help compiler with type registration.
11187 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11190 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11192 * plugins/elements/gsttypefindelement.c:
11193 (gst_type_find_element_handle_event):
11194 When we get an EOS event and have not found a type yet
11195 (most likely because we had not yet accumulated
11196 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11197 type given the data we have so far. Fixes typefinding
11198 for very short streams again, most notably quicktime
11199 redirections as used on Apple's trailer site (#331701).
11201 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11203 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11204 (gst_type_find_helper):
11205 Try typefinding factories with the highest rank first.
11207 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11209 * docs/libs/gstreamer-libs-docs.sgml:
11210 * docs/libs/gstreamer-libs-sections.txt:
11211 * libs/gst/base/gsttypefindhelper.c:
11212 Add section for typefind helper and add documentation
11213 for the old and the new function.
11215 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11217 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11218 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11219 (gst_type_find_helper_for_buffer):
11220 * libs/gst/base/gsttypefindhelper.h:
11221 New API: gst_type_find_helper_for_buffer() (#332723).
11223 2006-02-27 Michael Smith <msmith@fluendo.com>
11225 Patch by: Loïc Minier
11228 * docs/Makefile.am:
11229 * docs/slides/Makefile.am:
11230 prevent CVS directories getting disted.
11232 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11234 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11235 Use the REFCOUNTING category for caps refcounting.
11237 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11239 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11240 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11242 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11244 * plugins/elements/gsttypefindelement.c:
11245 (gst_type_find_element_activate):
11246 Use gst_pad_check_pull_range() before _activate_pull()
11247 to avoid unnecessary open/close (see #331690).
11249 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11252 Docs enhancement: make it crystal clear what the
11253 gst_pad_add_*_probe() callbacks should look like.
11255 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11257 * libs/gst/base/gstbasesrc.c:
11258 Document how applications can stop recording from
11259 live sources (see #330996).
11261 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11263 * tests/check/Makefile.am:
11264 * tests/check/libs/basesrc.c: (eos_event_counter),
11265 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11266 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11267 (gst_basesrc_suite), (main):
11268 ... and add some tests for the base source EOS stuff.
11270 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11272 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11273 Test case originally showed the problem fixed below,
11274 but was then amended. Add checks back at the place
11275 where they used to be.
11277 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11279 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11280 (gst_base_src_init), (gst_base_src_loop),
11281 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11282 (gst_base_src_change_state):
11283 * libs/gst/base/gstbasesrc.h:
11284 Don't unconditionally send EOS when going from PAUSED to
11285 READY state, esp. make sure we don't send two EOS events
11286 in some cases (e.g. one when reaching EOS and one when
11287 going from PAUSED to READY). Also, we don't want to send
11288 EOS events when operating in pull mode. However, we do
11289 want to send an EOS event when shutting down a live
11290 source explicitly, for example (fixes #330996).
11292 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11294 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11295 Update src->read_position after a seek when not using mmap.
11296 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11298 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11304 Make things work with --disable-parse as they do with
11305 --disable-load-save - the symbols involved disappear, but the
11306 header is still installed and GST_DISABLE_PARSE is included via
11309 2006-02-20 Julien MOUTTE <julien@moutte.net>
11311 * libs/gst/base/gstbasetransform.c:
11312 (gst_base_transform_change_state): Fix a stupid bug. I was
11313 sure I compiled that.
11315 2006-02-20 Julien MOUTTE <julien@moutte.net>
11317 * gst/gstpad.c: (gst_pad_set_blocked_async):
11318 * gst/gstutils.c: (gst_pad_add_data_probe),
11319 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11320 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11321 (gst_pad_remove_buffer_probe): Make those function act on the
11322 ghostpad target when it's a ghostpad. (Closes #331727)
11324 2006-02-20 Julien MOUTTE <julien@moutte.net>
11326 * libs/gst/base/gstbasetransform.c:
11327 (gst_base_transform_change_state): Make basetransform reusable.
11330 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11332 * docs/random/release:
11333 Move the current documentation of how to do a release to the top
11336 * gst/gstbin.c: (gst_bin_class_init),
11337 (gst_bin_handle_message_func):
11338 Allow multiple state-recalculation threads. (Closes #328873)
11340 2006-02-19 Julien MOUTTE <julien@moutte.net>
11342 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11343 * gst/gstpad.c: (gst_pad_set_event_function),
11344 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11345 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11346 2 strings. You can't use the STR_NULL macro on that.
11348 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11350 * gst/gstpad.c: (gst_pad_set_event_function),
11351 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11352 (gst_pad_set_getcaps_function)
11353 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11354 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11355 So now, we can use --gst-debug-level=5 on Windows
11356 * win32/common/libgstcontroller.def:
11357 Added export of gst_controller_init
11358 * win32/vs6/libgstcontroller.dsp:
11359 Fixed Release post build configuration
11361 2006-02-17 Wim Taymans <wim@fluendo.com>
11363 * tests/check/gst/gstquery.c: (GST_START_TEST):
11364 Added another check.
11366 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11368 * plugins/elements/gsttypefindelement.c: (find_peek):
11369 We can do peeks at non-zero offsets, as long as they
11370 fall within the buffer we have.
11372 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11374 * tests/check/Makefile.am:
11375 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11376 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11377 (parse_suite), (main):
11378 Add testsuite for parse launch syntax
11380 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11382 * plugins/elements/gsttypefindelement.c:
11383 (gst_type_find_element_chain):
11384 When typefinding is unsuccessful in the chain function, don't
11385 error out immediately. Only error out with NO_CAPS_FOUND if
11386 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11387 otherwise simply wait for more data so we can try typefinding
11388 again with more data later. Also, don't attempt to typefind
11389 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11390 this should improve typefinding from network sources where the
11391 size of the first buffer can be somewhat random.
11393 2006-02-14 Wim Taymans <wim@fluendo.com>
11395 * docs/gst/gstreamer-sections.txt:
11396 * gst/gstpadtemplate.c:
11397 * gst/gstpadtemplate.h:
11398 Fix padtemplate docs, fixes #328805.
11400 2006-02-14 Wim Taymans <wim@fluendo.com>
11402 * tools/gst-launch.c: (main):
11403 NO_PREROLL is not an ERROR so don't send confusing messages
11406 2006-02-14 Wim Taymans <wim@fluendo.com>
11408 Patch by: Torsten Schoenfeld
11410 * gst/gstregistry.c: (gst_registry_get_default),
11411 (_gst_registry_cleanup):
11412 Protect default registry with lock and ref/sink it.
11415 2006-02-14 Wim Taymans <wim@fluendo.com>
11418 * gst/gstquery.c: (gst_query_list_add_format),
11419 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11420 (gst_query_parse_formats_nth):
11421 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11424 2006-02-14 Wim Taymans <wim@fluendo.com>
11426 * docs/gst/gstreamer-sections.txt:
11427 Reworked query docs.
11429 * gst/gstquery.c: (gst_query_new_formats),
11430 (gst_query_list_add_format), (gst_query_set_formats),
11431 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11432 (gst_query_parse_formats_nth):
11434 Flesh out formats query, added some new methods.
11435 Fix part of #324398.
11437 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11438 Added query creation tests.
11440 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11442 * gst/gstpad.c: (fixate_value):
11443 Add a default fixation for fraction lists.
11445 2006-02-13 Wim Taymans <wim@fluendo.com>
11447 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11448 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11451 Detect and warn for obvious deadlocks. fixes #320340
11452 Fix error case where lock was not released.
11454 * tests/check/Makefile.am:
11455 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11456 (task_func), (gst_element_suite), (main):
11459 2006-02-13 Wim Taymans <wim@fluendo.com>
11461 * docs/gst/gstreamer-sections.txt:
11463 Add new functions to docs.
11465 2006-02-13 Wim Taymans <wim@fluendo.com>
11467 * docs/design/part-TODO.txt:
11468 Updated TODO list, basesrc supports seeking to non-bytes
11471 * docs/design/part-element-sink.txt:
11474 * gst/gstbin.c: (bin_replace_message),
11475 (gst_bin_handle_message_func):
11476 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11477 * gst/gstevent.c: (gst_event_finalize):
11478 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11479 (gst_pad_send_event):
11480 Use shiny new _TYPE_NAME macros.
11482 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11483 Move debug statement up.
11485 * gst/gstelement.c: (gst_element_set_locked_state):
11486 Add some debugging.
11488 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11490 * docs/gst/gstreamer-sections.txt:
11491 * gst/gstmessage.h:
11493 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11494 macros (#330906). Also, document the already existing
11495 GST_QUERY_TYPE macro.
11497 2006-02-13 Wim Taymans <wim@fluendo.com>
11499 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11500 (event_probe), (GST_START_TEST):
11501 Only events up to the pipeline EOS are counted, there are
11502 some more when going to NULL currently which we don't care
11505 2006-02-13 Wim Taymans <wim@fluendo.com>
11507 * gst/gstpad.c: (gst_pad_send_event):
11508 Correctly check flushing and emit probes. fixes #330125
11510 2006-02-10 Andy Wingo <wingo@pobox.com>
11512 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11514 (gst_bus_init): Cache the location of the private data in the
11515 instance structure.
11516 (gst_bus_enable_sync_message_emission)
11517 (gst_bus_disable_sync_message_emission): Implement new public
11519 (gst_bus_post): Emit the sync-message signal if the user asked for
11522 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11523 location of the bus-private structure.
11524 (gst_bus_enable_sync_message_emission)
11525 (gst_bus_disable_sync_message_emission): API addition
11527 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11529 Patch by: Vincent Torri
11531 * docs/pwg/building-boiler.xml:
11532 PWG patch from #326800
11534 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11537 * docs/Makefile.am:
11538 * docs/design/Makefile.am:
11541 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11546 === release 0.10.3 ===
11548 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11551 releasing 0.10.3, "Like a virgin"
11553 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11556 2nd prerelease of 0.10.3
11557 Bump libtool versioning.
11559 2006-02-07 Andy Wingo <wingo@pobox.com>
11561 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11562 update last_stop if we're in TIME format and the timestamp is
11565 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11566 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11567 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11568 If we get a new newsegment with a different format, adapt
11571 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11572 of 0. Not a problem, really.
11574 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11577 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11582 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11585 project files updated to the default vs7 configuration
11586 * win32/common/libgstbase.def:
11587 * win32/common/libgstreamer.def:
11589 removed empty lines,
11590 sorted all exported symbols alphabetically
11591 * win32/common/dirent.c:
11592 * win32/common/dirent.h:
11593 * win32/common/gchar.h:
11594 use windows line end.
11596 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11598 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11599 Send EOS event when stopping.
11601 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11604 Tell folks what to do if the plugin-foobar.xml file
11605 hasn't been generated for a newly-added plugin.
11607 2006-02-05 Julien MOUTTE <julien@moutte.net>
11609 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11610 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11611 (gst_collect_pads_start), (gst_collect_pads_stop),
11612 (gst_collect_pads_event): Collectpads now holds a reference
11613 to the GstPad that was added. Indeed we don't want to look
11614 at pads that might just go away with no warning...
11616 2006-02-05 Julien MOUTTE <julien@moutte.net>
11618 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11619 (gst_collect_pads_start), (gst_collect_pads_stop),
11620 (gst_collect_pads_event), (gst_collect_pads_chain):
11621 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11622 Mark Nauwelaerts's patch on bug #328491.
11624 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11626 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11628 Add some simple tests for gst_parse_bin_from_description() and
11629 gst_bin_find_unconnected_pad() (#329069).
11631 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11633 * tools/gst-launch.c: (event_loop), (main):
11634 Catch errors during preroll (#320084).
11636 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11638 * plugins/elements/gsttypefindelement.c:
11639 (gst_type_find_element_activate):
11640 Post TYPE_NOT_FOUND error message when typefinding
11641 is unsuccessful in the activate function as well.
11643 2006-02-02 Wim Taymans <wim@fluendo.com>
11645 * docs/design/part-element-sink.txt:
11648 2006-02-02 Wim Taymans <wim@fluendo.com>
11650 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11651 (gst_base_sink_render_object),
11652 (gst_base_sink_queue_object_unlocked):
11653 Only keep track of prerollable items when we are
11655 Before rendering after preroll, always check if we
11657 Added some more debugging.
11659 2006-02-02 Wim Taymans <wim@fluendo.com>
11661 * gst/gstelement.c: (gst_element_continue_state),
11662 (gst_element_set_state_func), (gst_element_change_state):
11663 Fixed #326576, been running this for quite some time with
11664 no regressions at all.
11666 2006-02-02 Wim Taymans <wim@fluendo.com>
11669 Added more suppressions
11671 2006-02-02 Wim Taymans <wim@fluendo.com>
11673 * docs/design/part-element-sink.txt:
11676 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11677 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11678 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11679 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11680 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11681 (gst_base_sink_preroll_object),
11682 (gst_base_sink_queue_object_unlocked),
11683 (gst_base_sink_queue_object), (gst_base_sink_event),
11684 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11685 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11686 (gst_base_sink_get_position), (gst_base_sink_change_state):
11687 * libs/gst/base/gstbasesink.h:
11688 Totally refactored matching the design doc.
11689 Use two segments, one to clip incomming buffers and another to
11691 Handle queueing correctly, bypass the queue when playing.
11692 Make EOS cancelable.
11693 Handle errors correctly when operating in pull based mode.
11695 * tests/check/elements/fakesink.c: (GST_START_TEST),
11697 Added new check for sinks.
11699 2006-02-02 Wim Taymans <wim@fluendo.com>
11701 * gst/gstsegment.c: (gst_segment_clip):
11702 No reason to refuse to clip when start == -1
11704 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11707 * docs/manual/intro-basics.xml:
11708 * docs/manual/intro-preface.xml:
11709 * docs/manual/manual.xml:
11710 * docs/pwg/advanced-dparams.xml:
11711 * docs/pwg/intro-basics.xml:
11712 * docs/pwg/intro-preface.xml:
11713 * docs/pwg/pwg.xml:
11714 describe dparams (controller) for plugins
11715 unify docs a little more
11717 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11719 * docs/gst/gstreamer-sections.txt:
11720 * gst/gstutils.c: (element_find_unconnected_pad),
11721 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11723 Add new API: gst_parse_bin_from_description() and
11724 gst_bin_find_unconnected_pad() (#329069).
11726 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11728 * docs/manual/README:
11729 uncover a nasty detail of the docs build
11731 2006-01-31 Wim Taymans <wim@fluendo.com>
11733 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11734 Don't cache duration messages if we're not going to use or
11737 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11739 * docs/manual/advanced-dparams.xml:
11740 * docs/pwg/advanced-dparams.xml:
11744 * libs/gst/controller/lib.c: (gst_controller_init):
11747 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11749 * gst/gstelement.c: (gst_element_message_full):
11750 also show file/line/func if no additional debug was given
11752 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11754 * win32/vs7/grammar.vcproj:
11755 activate copy of autogenerated files for Release mode
11757 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11759 * win32/common/libgstreamer.def:
11760 export gst_value_compare
11762 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11764 * plugins/elements/Makefile.am:
11765 * plugins/elements/gstelements.c:
11766 * plugins/elements/gstfdsink.c: (_do_init),
11767 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11768 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11769 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11770 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11771 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11772 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11773 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11774 * plugins/elements/gstfdsink.h:
11775 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11777 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11779 * docs/manual/advanced-dparams.xml:
11780 describe controller
11781 * docs/manual/advanced-position.xml:
11782 * docs/manual/basics-init.xml:
11783 * docs/manual/manual.xml:
11784 * docs/manual/titlepage.xml:
11785 * docs/pwg/pwg.xml:
11786 * docs/pwg/titlepage.xml:
11787 cleanup xml (more to come)
11788 * libs/gst/controller/gstcontroller.c:
11791 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11793 * win32/vs6/grammar.dsp:
11794 add autogen of gstmarshal.c,h for Release mode
11796 2006-01-30 Wim Taymans <wim@fluendo.com>
11798 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11799 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11800 (gst_base_sink_handle_object), (gst_base_sink_event),
11801 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11802 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11803 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11804 (gst_base_sink_deactivate), (gst_base_sink_activate),
11805 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11806 (gst_base_sink_query), (gst_base_sink_change_state):
11807 Basesink cleanups, remove some old code.
11808 Handle the case where a subclass can preroll in the render
11809 method (mostly audiosinks).
11810 Handle more events.
11811 Remove some locks around variables that are now protected
11812 with the PREROLL_LOCK (clock_id, flushing, ..).
11813 Optimize position query some more, do correct locking.
11814 Remove old code to push queue in state change, this is not
11815 needed anymore since preroll blocks on all prerollable items
11817 Almost implemented as described in design doc.
11819 2006-01-30 Wim Taymans <wim@fluendo.com>
11821 * tests/check/gst/gstbin.c: (GST_START_TEST):
11822 Wait for refcount to settle down before checking.
11824 2006-01-30 Wim Taymans <wim@fluendo.com>
11826 * docs/design/part-element-sink.txt:
11827 Pseudo code overview of desired sink behaviour regarding
11830 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11831 * win32/vs6/grammar.dsp:
11832 fix some bugs in Release mode for autogenerated files
11834 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11835 * win32/common/libgstbase.def:
11836 * win32/common/libgstreamer.def:
11837 export some new symbols: gst_base_src_set_format,
11838 gst_iterator_next, gst_structure_set_valist
11840 2006-01-29 Julien MOUTTE <julien@moutte.net>
11842 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11843 Set pad functions unconditionally. Fixes #329105.
11845 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11847 add vs8 project files created by Sergey Scobich
11849 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11851 * gst/gstutils.c: (gst_element_unlink_pads):
11852 Don't leak pad references.
11854 * tests/check/elements/fakesink.c: (GST_START_TEST):
11855 * tests/check/generic/sinks.c: (GST_START_TEST):
11856 * tests/check/generic/states.c: (GST_START_TEST):
11857 * tests/check/gst/gstbin.c: (GST_START_TEST):
11858 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11859 * tests/check/gst/gstelement.c: (GST_START_TEST):
11860 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11861 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11862 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11863 Fix a bunch of leaks. Make generic/sinks.c
11864 use a bit less cpu by slowing the buffer rate
11865 between fakesrc and fakesink.
11867 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11869 * gst/gstelement.c: (gst_element_send_event):
11872 * gst/gstiterator.c:
11873 * gst/gstiterator.h:
11874 * gst/gstpad.c: (gst_pad_send_event):
11875 * gst/gststructure.c:
11879 * libs/gst/base/gstadapter.c:
11880 doc fixes, to link to function, just write gst_cool_function(), don't
11883 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11885 * plugins/elements/gsttee.c: (gst_tee_do_push),
11886 (gst_tee_handle_buffer):
11887 Always prefer an actual return value from a src
11888 pad in place of NOT_LINKED. This means we return
11889 WRONG_STATE when all src pads are WRONG_STATE
11890 instead of NOT_LINKED.
11892 Lock when replacing the last message to prevent
11893 racing with the get_property method.
11897 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11899 * tests/check/Makefile.am:
11900 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11902 Add a very simple check that should have caught the memleak I fixed
11903 last night (if not for the slice allocator hiding it)
11905 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11907 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11908 (gst_bin_remove_func), (gst_bin_handle_message_func),
11909 (bin_query_duration_fold), (bin_query_generic_fold):
11910 Clean up references to the clock provider when disposed or when
11911 handling a clock-lost message from it.
11913 Unref sinks when performing a query via gst_iterator_fold, as the
11914 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11916 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11917 (gst_clock_set_master):
11918 Drop our reference to the master clock, if any, when we are disposed.
11920 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11921 Chain up in dispose.
11923 2006-01-26 Wim Taymans <wim@fluendo.com>
11925 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11926 Add some debugging.
11928 2006-01-26 Julien MOUTTE <julien@moutte.net>
11930 * plugins/elements/gsttee.c: (gst_tee_do_push),
11931 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11932 handles pad being NOT_LINKED or in WRONG_STATE.
11934 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11939 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11942 remove obsolete entry
11944 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11946 * docs/gst/gstreamer-sections.txt:
11947 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11948 (gst_bin_iterate_sources), (gst_bin_send_event):
11950 * gst/gstelement.c: (gst_element_send_event):
11952 * gst/gstpad.c: (gst_pad_send_event):
11953 added code for downstream events, reviewed docs in gstevent.c
11955 2006-01-25 Julien MOUTTE <julien@moutte.net>
11957 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11958 We only query position using the clock in the playing state.
11959 Query peer in the other cases.
11960 * win32/common/config.h: Updates.
11962 2006-01-24 Wim Taymans <wim@fluendo.com>
11964 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11965 A clock entry that is scheduled for the exact time of the
11966 clock is still in time.
11968 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11969 (gst_base_sink_do_sync):
11970 Add some more debug info.
11972 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11975 Add new vs7 project files and solution.
11977 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11980 all files removed as they were out-dated.
11982 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11984 * docs/random/release:
11986 * gst/gstbin.c: (gst_bin_init):
11987 * gst/gstbus.c: (gst_bus_new):
11989 * gst/gstpipeline.c: (gst_pipeline_init):
11990 use gst_bus_new(), improve logging, fix docs
11991 * win32/common/config.h:
11992 update for cvs build
11994 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11997 up required version of automake to 1.7
11999 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12001 * win32/common/libgstreamer.def:
12002 export gst_buffer_is_metadata_writable
12004 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12006 * docs/gst/gstreamer-sections.txt:
12008 Add gst_event_replace() (#327001)
12010 2006-01-20 Wim Taymans <wim@fluendo.com>
12012 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12013 Make it actually compile too..
12015 2006-01-20 Wim Taymans <wim@fluendo.com>
12018 Clarify behaviour of _is_equal() when passing NULL parameters.
12020 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12021 (gst_pad_set_caps):
12022 Cleanups. Don't unref NULL caps.
12023 When setting the same caps, protect caps of the pad with
12025 Use full functionality of _is_equal() when comparing caps.
12027 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12029 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12030 Don't loop infinitely if there are no buffers to present. Partially
12031 fixes #327197, but collectpads is just broken for reusing elements
12032 to do multiple encodes atm.
12034 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12036 * tools/gst-inspect.c: (print_element_features):
12037 * tools/gst-xmlinspect.c: (main):
12038 URL_HANDLER is not a plugin feature we can search for in
12041 2006-01-19 Edward Hervey <edward@fluendo.com>
12043 * gst/gstelement.c: (gst_element_pads_activate):
12044 When activating, do src pads first, then sink pads.
12045 When de-activating, do sink pads first, then src pads.
12047 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12049 * docs/gst/gstreamer-sections.txt:
12050 Add gst_index_add_associationv to the docs
12052 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12057 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12058 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12059 Do some refactoring. Doesn't actually change functionality,
12060 but makes landing the DRAIN event easier later.
12062 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12064 * docs/pwg/advanced-scheduling.xml:
12065 Update from 0.9.x to 0.10 API and make example a bit
12068 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12070 * docs/gst/gstreamer-sections.txt:
12071 Add gst_buffer_(is|make)_metadata_writable methods.
12073 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12075 * docs/design/part-sparsestreams.txt:
12076 Update sparse streams doc, hopefully for greater clarity
12078 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12080 * docs/design/part-events.txt:
12081 Remove mention of FILLER events.
12084 * docs/design/part-sparsestreams.txt:
12085 Write some things about using NEWSEGMENT to keep sparse streams
12088 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12090 * gst/gstbin.c: (gst_bin_dispose):
12091 Guard gst_object_unref call against a NULL object (dispose
12092 can theoretically be called multiple times).
12094 2006-01-18 Wim Taymans <wim@fluendo.com>
12096 * gst/gstbin.c: (gst_bin_element_set_state):
12097 * gst/gstclock.c: (gst_clock_id_wait):
12098 Added some more debug info.
12100 * libs/gst/base/gstadapter.c:
12103 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12104 (gst_base_sink_do_sync), (gst_base_sink_chain):
12105 Added some comments.
12107 2006-01-18 Wim Taymans <wim@fluendo.com>
12109 * tests/check/Makefile.am:
12110 * tests/check/elements/fakesink.c: (chain_async_buffer),
12111 (chain_async), (chain_async_return), (GST_START_TEST),
12112 (fakesink_suite), (main):
12113 Added fakesink test that checks prerolling and clipping
12116 * tests/check/gst/gstutils.c: (GST_START_TEST):
12117 Make check run faster so that buildbots don't timeout.
12119 2006-01-18 Wim Taymans <wim@fluendo.com>
12121 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12122 (gst_base_sink_do_sync):
12124 When the sink finishes blocking on the preroll buffer, it can
12125 immediatly render it instead of rendering when the next buffer
12128 2006-01-18 Wim Taymans <wim@fluendo.com>
12130 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12131 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12132 (gst_base_sink_chain):
12134 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12135 Don't store _last_stop if the buffer is dropped.
12137 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12139 * plugins/elements/gsttypefindelement.c:
12140 (gst_type_find_element_class_init):
12141 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12142 object method handler that sets the caps on the pad and we want
12143 that to happen before we emit the signal (fixes e.g. feeding a
12144 plain text file to decodebin).
12146 2006-01-18 Christian Schaller <Christian@fluendo.com>
12148 * gst/gstplugin.c: Add MPL and Proprietary as license options
12150 2006-01-18 Andy Wingo <wingo@pobox.com>
12152 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12153 symbol was exported before, it appears this was just an oversight.
12155 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12157 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12158 prototype to gint. OK since this prototype was not in the header.
12160 2006-01-17 Andy Wingo <wingo@pobox.com>
12162 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12163 registry while we remove plugins.
12165 * tools/gst-inspect.c (print_element_info): Don't unref the
12166 factory arg, that should be the responsibility of whatever code
12167 received the ref. Fixes a double-free when called from
12168 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12169 (main): Unref the factory if we have one.
12170 (print_element_list): No change -- relies on the
12171 plugin_feature_list_free to free the list of features.
12173 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12175 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12176 (gst_buffer_make_metadata_writable):
12178 * libs/gst/base/gstbasetransform.c:
12179 (gst_base_transform_prepare_output_buf):
12180 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12181 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12182 Replace gst_buffer_(make|is)_metadata_writable patch now
12183 that the release is out.
12185 2006-01-17 Andy Wingo <wingo@pobox.com>
12187 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12188 in the present tense without reference to versions.
12190 * gst/gstregistry.c (gst_registry_add_plugin)
12191 (gst_registry_remove_plugin, gst_registry_remove_feature)
12192 (gst_registry_find_feature, gst_registry_get_feature_list)
12193 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12194 (gst_registry_lookup, gst_registry_scan_path)
12195 (_gst_registry_remove_cache_plugins)
12196 (gst_registry_get_feature_list_by_plugin): Add argument
12199 === release 0.10.2 ===
12201 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12204 releasing 0.10.2, "If man is five"
12206 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12210 * libs/gst/base/gstbasetransform.c:
12211 (gst_base_transform_prepare_output_buf):
12212 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12213 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12214 Back out patch until after the release.
12216 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12218 * gst/gstminiobject.c:
12219 Spelling fix in docs.
12220 * ChangeLog - remove conflict indicator
12222 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12224 Reviewed By: Andy Wingo
12226 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12227 (gst_buffer_make_metadata_writable):
12229 Add gst_buffer_(is|make)_metadata_writable as analogues of
12230 gst_buffer_(is|make)_writable.
12232 * libs/gst/base/gstbasetransform.c:
12233 (gst_base_transform_prepare_output_buf):
12234 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12235 Use name gst_buffer_(is|make)_metadata_writable functions.
12237 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12238 Test gst_buffer_(is|make)_metadata_writable
12242 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12244 * docs/manual/Makefile.am:
12245 don't do parallel make
12248 * win32/common/config.h.in:
12249 add generations for HOST_CPU and GST_MAJORMINOR
12250 * win32/common/config.h:
12251 commit generated result
12253 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12255 * docs/manual/appendix-integration.xml:
12256 Update GNOME integration section to use gst_init_get_option_group()
12257 instead of the old popt stuff (#322911). Also, GNOME applications
12258 should now use gconf*sink and gconf*src instead of the old gconf
12261 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12264 * docs/gst/gstreamer-docs.sgml:
12265 * docs/gst/gstreamer-sections.txt:
12266 * docs/libs/gstreamer-libs-sections.txt:
12267 add new API entries to the docs
12268 * libs/gst/controller/Makefile.am:
12269 * libs/gst/controller/gstcontroller.c:
12270 * libs/gst/controller/gstcontroller.h:
12271 * libs/gst/controller/gstcontrollerprivate.h:
12272 * libs/gst/controller/gsthelper.c:
12273 * libs/gst/controller/gstinterpolation.c:
12274 move private structs to private header
12276 gstreamer-0.7 -> gstreamer-0.10
12277 * tests/check/libs/struct_i386.h:
12278 remove private structs
12280 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12282 * plugins/indexers/Makefile.am:
12283 Fixes as part of #317048
12285 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12287 * plugins/indexers/Makefile.am:
12288 fix #316086 - compilation when mmap is missing
12290 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12292 * libs/gst/base/gstbasesink.c:
12293 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12294 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12295 * win32/common/config.h:
12296 added some defines GST_MAJORMINOR and HOST_CPU
12297 * win32/common/libgstbase.def:
12298 * win32/common/libgstreamer.def:
12299 added some exported functions.
12301 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12303 * libs/gst/controller/gstcontroller.c:
12304 (gst_controlled_property_set_interpolation_mode),
12305 (gst_controlled_property_new):
12306 * libs/gst/controller/gstcontroller.h:
12307 * libs/gst/controller/gstinterpolation.c:
12308 (interpolate_none_get_string_value_array):
12309 make G_TYPE_STRING controlable
12311 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12314 * tools/gst-feedback.1.in:
12315 * tools/gst-inspect.1.in:
12316 * tools/gst-launch.1.in:
12317 * tools/gst-md5sum.1.in:
12318 * tools/gst-typefind.1.in:
12319 * tools/gst-xmlinspect.1.in:
12320 * tools/gst-xmllaunch.1.in:
12321 cleanup man-pages, remove reference to gst-register, document env-vars
12323 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12325 * gst/gstbuffer.c: (gst_buffer_span):
12326 gst_buffer_span should copy the timestamp of the first buffer
12327 if they were both originally overlapping subbuffers of the
12328 same parent, using the same logic as the 'slow copy' case.
12330 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12332 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12333 Need to awaken ALL the pads when we pop a buffer, otherwise
12334 collectpads only works when there is 2 input streams.
12336 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12338 * docs/random/ensonic/media-device-daemon.txt:
12341 fix doc example, add clarification
12342 * tools/gst-launch.1.in:
12343 add initial info about GST_PLUGIN_PATH, needs more work
12345 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12347 * docs/manual/basics-bins.xml:
12348 * docs/manual/basics-elements.xml:
12349 * docs/manual/intro-basics.xml:
12350 Some more minor docs additions and updates.
12352 2006-01-11 Wim Taymans <wim@fluendo.com>
12354 * docs/manual/basics-bins.xml:
12355 * docs/manual/basics-elements.xml:
12356 Some small fixes as pointed out by Ser-ver on IRC.
12358 2006-01-10 Edward Hervey <edward@fluendo.com>
12360 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12361 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12362 the single-segment mode.
12364 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12366 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12368 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12369 (gst_base_src_perform_seek), (gst_base_src_send_event),
12370 (gst_base_src_set_property), (gst_base_src_get_property),
12371 (gst_base_src_loop), (gst_base_src_start),
12372 (gst_base_src_activate_push):
12373 * libs/gst/base/gstbasesrc.h:
12374 Name (private) union; makes Sun's Forte compiler happy (#324900).
12376 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12379 gst-register is gone.
12381 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12383 * gst/gstvalue.c: (_gst_value_initialize):
12384 make the G_TYPE_DATE instantiation work if debug is disabled
12386 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12388 * gst/gstmessage.c: (gst_message_parse_tag),
12389 (gst_message_parse_error), (gst_message_parse_warning):
12390 Don't crash when return location for error/warning debug
12391 string is NULL; add fact that return locations can be
12392 NULL to docs where appropriate.
12394 2006-01-05 Wim Taymans <wim@fluendo.com>
12396 * gst/gstplugin.c: (gst_plugin_load_file):
12397 Replace strdup by g_strdup.
12399 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12401 * docs/pwg/advanced-types.xml:
12404 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12406 submitted by: Abel Cheung
12410 Added Chinese (traditional) translation
12412 2006-01-04 Wim Taymans <wim@fluendo.com>
12414 * docs/manual/basics-pads.xml:
12415 * docs/plugins/Makefile.am:
12416 * docs/plugins/gstreamer-plugins-docs.sgml:
12417 * docs/plugins/gstreamer-plugins-sections.txt:
12418 * docs/pwg/advanced-clock.xml:
12419 * docs/pwg/advanced-scheduling.xml:
12420 * docs/pwg/advanced-types.xml:
12421 * plugins/elements/gstfdsink.c:
12422 * plugins/elements/gstfdsrc.c:
12423 * plugins/elements/gstfdsrc.h:
12424 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12425 * plugins/elements/gstidentity.h:
12426 * plugins/elements/gstqueue.h:
12427 * plugins/elements/gsttee.c:
12428 * plugins/elements/gsttee.h:
12429 * plugins/elements/gsttypefindelement.c:
12430 (gst_type_find_element_class_init):
12431 * plugins/elements/gsttypefindelement.h:
12432 Small updates to various docs.
12433 Added core plugins to docs.
12435 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12438 add a suppression for liboil's uninitialized variable
12440 2006-01-02 James Livingston <jrl at ids dot org dot au>
12442 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12445 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12446 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12447 compiler switch is being used (#325429).
12449 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12451 * gst/gstbin.c: (gst_bin_query):
12452 Disable duration query caching in bins until it gets
12453 fixed (see #324807).
12455 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12457 * tools/gst-inspect.c: (print_element_properties_info):
12458 Handle properties of POINTER and BOXED type.
12460 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12462 * gst/gst.c: (init_post):
12463 Init tags stuff and some other things before loading
12464 any static plugins (there may be other static plugins
12465 than just the GStreamer ones, and they may want to
12466 register their own tags or formats or whatever, and
12467 preferably without segfaulting).
12469 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12470 Print at least a warning in the debug logs if we drop a
12471 query just because we don't know how to adjust the value
12472 in the particular format.
12474 2005-12-24 David Schleef <ds@schleef.org>
12476 * tools/gstreamer-completion:
12477 Replacement for gst-complete written in sh and sed. Only
12478 completes names of features, but that's 90% of what I want
12479 it for. Properties are not available in registry.xml. (Maybe
12482 === release 0.10.1 ===
12484 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12487 releasing 0.10.1, "Nollaig chridheil"
12489 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12491 * docs/faq/cvs.xml:
12492 Add missing quote, should be make ERROR_CFLAGS="".
12494 2005-12-20 Wim Taymans <wim@fluendo.com>
12496 * docs/design/part-trickmodes.txt:
12497 More documentation on trickmodes.
12499 2005-12-20 Edward Hervey <edward@fluendo.com>
12501 * gst/gstcaps.c: (gst_static_caps_get_type):
12503 API addition: GST_TYPE_STATIC_CAPS
12504 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12505 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12506 * gst/gstpadtemplate.h:
12507 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12508 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12511 2005-12-18 Wim Taymans <wim@fluendo.com>
12513 * libs/gst/base/gstadapter.c:
12514 * libs/gst/base/gstadapter.h:
12515 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12516 (gst_base_sink_get_position):
12517 * libs/gst/base/gstbasesink.h:
12518 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12519 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12520 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12521 (gst_base_src_send_event), (gst_base_src_update_length),
12522 (gst_base_src_get_range), (gst_base_src_loop),
12523 (gst_base_src_start):
12524 * libs/gst/base/gstbasesrc.h:
12525 * libs/gst/base/gstbasetransform.h:
12526 * libs/gst/base/gstcollectpads.h:
12527 * libs/gst/base/gstpushsrc.c:
12528 * libs/gst/base/gstpushsrc.h:
12529 * libs/gst/dataprotocol/dataprotocol.c:
12530 * libs/gst/dataprotocol/dataprotocol.h:
12531 * libs/gst/net/gstnetclientclock.h:
12532 * libs/gst/net/gstnettimeprovider.h:
12533 Documentation updates.
12535 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12537 * docs/manual/basics-helloworld.xml:
12538 Remove superfluous closing bracket in helloworld example.
12540 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12542 * tools/gst-launch.1.in:
12543 Update gst-launch man page; add a section with useful
12544 environment variables. Fixes #323882.
12546 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12549 * gst/gst_private.h:
12550 change some char* into char[]
12552 2005-12-16 Wim Taymans <wim@fluendo.com>
12554 * gst/gstregistryxml.c: (load_feature):
12556 Don't use g_object_unref on GstObjects so that we avoid
12557 leaks on unsafe glibs.
12559 2005-12-16 Wim Taymans <wim@fluendo.com>
12561 * gst/gstbin.c: (gst_bin_recalc_state):
12564 2005-12-16 Wim Taymans <wim@fluendo.com>
12566 * common/check.mak:
12567 Added make forever target for check.
12569 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12571 * gst/gst.c: (init_post):
12572 make the registry cache file HOST_CPU-dependent
12574 2005-12-16 Andy Wingo <wingo@pobox.com>
12576 * plugins/elements/gstbufferstore.c
12577 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12580 * tests/check/gst/gstobject.c
12581 (test_fake_object_name_threaded_unique): Pay attention to
12582 g_list_sort return value.
12584 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12586 * tools/gst-feedback-m.m:
12587 Update for 0.9/0.10 (fixes #323870).
12589 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12591 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12592 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12594 * tests/check/gst/gstminiobject.c: (my_foo_init),
12595 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12596 (test_value_collection), (gst_mini_object_suite):
12597 Add test to ensure refcounts end up as expected when passing
12598 GstMiniObjects through g_object_get() and g_object_set().
12600 2005-12-14 Julien MOUTTE <julien@moutte.net>
12602 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12603 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12604 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12605 of collectpads. This version removes a lot of races without
12606 touching API/ABI. Yay !
12608 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12610 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12611 Don't allow activation of a srcpad in pull_range if it has no
12613 Change some debug statements to be a little clearer
12615 * plugins/elements/gsttypefindelement.c:
12616 (gst_type_find_handle_src_query):
12617 Check that we have a peer before executing queries thereupon.
12619 * tests/examples/metadata/read-metadata.c: (message_loop):
12620 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12621 immediately return us any available message with 0 timeout.
12623 2005-12-12 Michael Smith <msmith@fluendo.com>
12625 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12626 Don't unref factories after calling them.
12627 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12628 * plugins/elements/gsttypefindelement.c:
12629 (gst_type_find_element_chain):
12630 Free lists of factories after using them. Fixing typefinding memory
12633 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12635 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12636 (gst_plugin_feature_load):
12637 more meaningful debug output
12639 * tests/Makefile.am:
12640 * tests/old/examples/Makefile.am:
12641 make make distcheck happy again
12643 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12645 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12646 Catch the special case where we are operating chain-based,
12647 but the downstream peer pad has no chain function. Emit a
12648 custom error message in this case instead of letting the
12649 core generate one implying that this is some sort of core
12650 bug. It's not, it just means that whatever got plugged
12651 into the pipeline downstream when we announced the type
12652 can only operate pull-based, while our source can only
12653 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12654 Error string has not been marked for translation yet, as
12655 it probably needs some more work first.
12657 (gst_type_find_element_get_best_possibility):
12658 Add helper function to find the best of all available
12659 found possibilities that qualify given the min. threshold.
12661 (gst_type_find_element_handle_event):
12662 Fix the case where we get an EOS while still in TYPEFIND
12663 mode (we want to chose the best of all possible types,
12664 not just the first type that happens to be in our unsorted
12665 list of possible types).
12667 (gst_type_find_element_chain):
12668 Make sure we return GST_FLOW_ERROR when we errored out
12669 in stop_typefinding(); also, don't just find the best of
12670 all found type entries and then use the last examined
12671 type entry, but actually use the best entry.
12673 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12675 * tests/examples/typefind/typefind.c: (type_found):
12676 * tests/examples/xml/runxml.c: (xml_loaded):
12677 More gcc4 fixes and a mem leak fix.
12679 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12681 * tests/examples/xml/createxml.c: (object_saved):
12684 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12686 * tests/Makefile.am:
12687 enable the examples even more
12689 2005-12-12 Andy Wingo <wingo@pobox.com>
12691 * libs/gst/net/gstnettimeprovider.c
12692 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12693 (gst_net_time_provider_set_property)
12694 (gst_net_time_provider_get_property):
12695 API addition: Export "active" as a GObject property.
12696 (gst_net_time_provider_thread): Only respond to time queries if
12697 the time provider is active.
12699 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12700 NetTimeProvider, preserving binary compat.
12702 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12704 * tests/examples/controller/audio-example.c: (main):
12705 * tests/examples/launch/Makefile.am:
12706 convert comments again
12708 2005-12-12 Wim Taymans <wim@fluendo.com>
12710 * libs/gst/base/gstpushsrc.c:
12713 2005-12-12 Wim Taymans <wim@fluendo.com>
12715 * docs/libs/gstreamer-libs-sections.txt:
12716 Added new symbol to docs.
12718 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12719 (gst_base_src_init), (gst_base_src_set_format),
12720 (gst_base_src_default_query), (gst_base_src_query),
12721 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12722 (gst_base_src_perform_seek), (gst_base_src_send_event),
12723 (gst_base_src_default_event), (gst_base_src_event_handler),
12724 (gst_base_src_set_property), (gst_base_src_get_property),
12725 (gst_base_src_wait), (gst_base_src_do_sync),
12726 (gst_base_src_update_length), (gst_base_src_get_range),
12727 (gst_base_src_check_get_range), (gst_base_src_loop),
12728 (gst_base_src_default_negotiate), (gst_base_src_start),
12729 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12730 (gst_base_src_change_state):
12731 * libs/gst/base/gstbasesrc.h:
12732 Implement seeking to other formats than _BYTES.
12733 Implement more seeking methods correctly.
12735 Added query vmethod.
12736 Added do_seek vmethod to make life easier for subclasses
12738 API addition: gst_base_src_set_format()
12740 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12742 * tests/examples/Makefile.am:
12745 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12748 * docs/random/ensonic/media-device-daemon.txt:
12749 * tests/examples/controller/.cvsignore:
12750 * tests/examples/controller/Makefile.am:
12751 * tests/examples/controller/audio-example.c: (main):
12752 * tests/examples/helloworld/.cvsignore:
12753 * tests/examples/helloworld/Makefile.am:
12754 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12755 * tests/examples/launch/.cvsignore:
12756 * tests/examples/launch/Makefile.am:
12757 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12758 * tests/examples/metadata/.cvsignore:
12759 * tests/examples/metadata/Makefile.am:
12760 * tests/examples/metadata/read-metadata.c: (message_loop),
12761 (make_pipeline), (print_tag), (main):
12762 * tests/examples/queue/.cvsignore:
12763 * tests/examples/queue/Makefile.am:
12764 * tests/examples/queue/queue.c: (event_loop), (main):
12765 * tests/examples/typefind/.cvsignore:
12766 * tests/examples/typefind/Makefile.am:
12767 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12769 * tests/examples/xml/.cvsignore:
12770 * tests/examples/xml/Makefile.am:
12771 * tests/examples/xml/createxml.c: (object_saved), (main):
12772 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12773 * tests/old/examples/Makefile.am:
12774 * tests/old/examples/TODO:
12775 * tests/old/examples/controller/.cvsignore:
12776 * tests/old/examples/controller/Makefile.am:
12777 * tests/old/examples/controller/audio-example.c:
12778 * tests/old/examples/helloworld/.cvsignore:
12779 * tests/old/examples/helloworld/Makefile.am:
12780 * tests/old/examples/helloworld/helloworld.c:
12781 * tests/old/examples/launch/.cvsignore:
12782 * tests/old/examples/launch/Makefile.am:
12783 * tests/old/examples/launch/mp3parselaunch.c:
12784 * tests/old/examples/launch/mp3play:
12785 * tests/old/examples/manual/Makefile.am:
12786 * tests/old/examples/metadata/Makefile.am:
12787 * tests/old/examples/metadata/read-metadata.c:
12788 * tests/old/examples/queue/.cvsignore:
12789 * tests/old/examples/queue/Makefile.am:
12790 * tests/old/examples/queue/queue.c:
12791 * tests/old/examples/typefind/.cvsignore:
12792 * tests/old/examples/typefind/Makefile.am:
12793 * tests/old/examples/typefind/typefind.c:
12794 * tests/old/examples/xml/.cvsignore:
12795 * tests/old/examples/xml/Makefile.am:
12796 * tests/old/examples/xml/createxml.c:
12797 * tests/old/examples/xml/runxml.c:
12798 applied some simple fixing to some examples
12799 re-enabled the working examples
12801 2005-12-12 Wim Taymans <wim@fluendo.com>
12803 * gst/gstsegment.c: (gst_segment_init),
12804 (gst_segment_set_last_stop), (gst_segment_set_seek),
12805 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12806 (gst_segment_to_running_time):
12807 Added more documentation.
12808 Make sure the last_pos value is updated properly.
12809 Make sure to_stream_time and to_running_time don't
12810 operate on wrong values.
12812 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12815 2005-12-12 Michael Smith <msmith@fluendo.com>
12817 * plugins/elements/gsttypefindelement.c: (free_entry),
12818 (gst_type_find_element_chain):
12819 Now that we're not leaking factories, make sure we keep references
12820 to them while we need them.
12822 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12824 * tests/check/gst/struct_i386.h:
12825 ifdef out the XML structs
12827 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12829 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12830 floor is not needed, F is always positive; this obviates the
12831 need for adding -lm when building without libxml
12833 2005-12-12 Wim Taymans <wim@fluendo.com>
12835 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12836 Take current playback rate into account when reporting
12839 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12841 * docs/manual/mime-world.fig:
12842 Let's try this again, this time with a file that is
12843 actually in XFig format.
12845 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12847 * docs/manual/mime-world.fig:
12848 Add audioconvert element to diagram so that it
12849 matches the text and the code (fixes #319526).
12851 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12853 * docs/pwg/building-chainfn.xml:
12854 * docs/pwg/building-pads.xml:
12855 * docs/pwg/building-state.xml:
12856 * docs/pwg/other-source.xml:
12857 Update state change stuff for 0.10 (fixes #322969).
12859 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12861 * docs/manual/advanced-dataaccess.xml:
12862 * docs/manual/appendix-checklist.xml:
12863 * docs/manual/appendix-programs.xml:
12864 * docs/manual/basics-pads.xml:
12865 * docs/manual/highlevel-components.xml:
12866 * docs/manual/manual.xml:
12867 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12868 add converters in front of pipelines; remove curly
12869 brackets for threads stuff, they no longer exist; use
12870 GST_TYPE_FRACTION for framerates; update some pieces of
12871 code to 0.10, but there's plenty more to do.
12873 * docs/manual/appendix-porting.xml:
12874 Expand on asynchroneous state changes; s/0.9/0.10/;
12875 mention disappearance of gst_init_get_popt_table()
12878 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12880 * docs/faq/using.xml:
12881 Spider no longer exists, and neither does gst-launch-ext.
12882 Update examples to use decodebin and playbin and put
12883 converters in front of sinks (fixes #323726).
12885 2005-12-09 Michael Smith <msmith@fluendo.com>
12887 * plugins/elements/gsttypefindelement.c: (find_peek),
12888 (gst_type_find_element_chain):
12889 Fix leaking element factories in typefinding.
12890 Fix problem where we forgot about a probable type on non-seekable
12891 files, and thus later mis-typefound it.
12893 2005-12-09 Michael Smith <msmith@fluendo.com>
12895 * common/m4/gst-makecontext.m4:
12896 * common/m4/gst-mcsc.m4:
12898 * win32/common/config.h:
12899 * win32/common/config.h.in:
12900 Remove makecontext stuff; not used in 0.10 and causes problems on
12901 HPUX according to bug #322441
12903 2005-12-07 Wim Taymans <wim@fluendo.com>
12905 * tests/check/Makefile.am:
12906 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12908 * tests/check/libs/struct_i386.h:
12909 Added ABI check for libs
12911 2005-12-07 Wim Taymans <wim@fluendo.com>
12913 * tests/check/Makefile.am:
12914 And add the struct_i386.h to dist.
12916 2005-12-07 Wim Taymans <wim@fluendo.com>
12918 * tests/check/Makefile.am:
12919 * tests/check/gst/.cvsignore:
12920 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12922 * tests/check/gst/struct_i386.h:
12923 Added check for ABI compatibility.
12925 2005-12-07 Wim Taymans <wim@fluendo.com>
12927 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12928 (gst_fake_src_get_times), (gst_fake_src_create):
12929 Fix broken sync option, fixes #323259
12931 2005-12-07 Wim Taymans <wim@fluendo.com>
12936 * gst/gstcaps.c: (gst_caps_is_equal):
12937 Don't assert on NULL <--> X. Fixes #323260
12939 * gst/gstminiobject.c: (gst_mini_object_replace):
12940 If we're doing atomic operations, we might just as well use
12941 the proper way to get an atomic pointer.
12943 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12944 Clean up debugging.
12946 2005-12-07 Michael Smith <msmith@fluendo.com>
12948 * gst/parse/grammar.y:
12949 Remove handling of { } for threads.
12951 2005-12-06 David Schleef <ds@schleef.org>
12953 * libs/gst/base/gstbasetransform.c: speling fix.
12955 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12957 * docs/libs/tmpl/gstdataprotocol.sgml:
12958 * docs/random/omega/testing/gstobject.c:
12961 * gst/gstelement.c:
12962 * gst/gstelementfactory.c:
12965 * gst/gstghostpad.c:
12967 * gst/gstpadtemplate.c:
12968 * gst/gstregistryxml.c:
12969 * gst/gsttaglist.c:
12970 * gst/gsttagsetter.c:
12971 * gst/gsttypefind.c:
12973 * libs/gst/base/gstbasesrc.c:
12974 * libs/gst/net/gstnetclientclock.c:
12975 * libs/gst/net/gstnettimeprovider.c:
12976 * plugins/elements/gstfakesrc.c:
12977 * plugins/elements/gstfdsrc.c:
12978 * plugins/elements/gstfilesrc.c:
12979 * plugins/elements/gstidentity.c:
12980 * plugins/elements/gstqueue.c:
12981 * plugins/elements/gsttypefindelement.c:
12982 * plugins/indexers/gstfileindex.c:
12983 * plugins/indexers/gstmemindex.c:
12984 * tests/check/gst/gsttag.c:
12985 * tests/old/examples/cutter/cutter.c:
12986 * tests/old/examples/mixer/mixer.c:
12987 * tests/old/examples/xml/runxml.c: (main):
12988 * tests/old/testsuite/caps/normalisation.c:
12989 * tests/old/testsuite/debug/global.c:
12990 * tests/old/testsuite/parse/parse1.c:
12991 * tools/gst-xmlinspect.c:
12992 * win32/common/dirent.c:
12995 === release 0.10.0 ===
12997 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13000 releasing 0.10.0, "Maroilles"
13002 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13004 submitted by: Funda Wang <fundawang@linux.net.cn>
13008 added Chinese (Traditional) translation
13010 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13012 * docs/gst/gstreamer-sections.txt:
13013 * docs/libs/tmpl/gstdataprotocol.sgml:
13014 * docs/random/thomasvs/TODO:
13019 2005-12-05 Andy Wingo <wingo@pobox.com>
13021 patch by: Wim Taymans <wim@fluendo.com>
13023 * libs/gst/base/gstbasetransform.c
13024 (gst_base_transform_prepare_output_buf)
13025 (gst_base_transform_buffer_alloc):
13026 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13027 alloc_buffer_and_set_caps.
13029 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13030 set_caps on the source pad.
13031 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13032 alloc_buffer used to do. Fixes #322874.
13034 * docs/gst/gstreamer-sections.txt:
13035 * docs/design/part-negotiation.txt:
13036 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13039 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13041 patch by: Sebastien Moutte
13044 * win32/common/config.h.in:
13045 * win32/vs6/libgstcontroller.dsp:
13048 2005-12-05 Wim Taymans <wim@fluendo.com>
13050 * gst/gstcaps.c: (gst_caps_is_equal):
13051 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13052 (gst_fake_src_create):
13053 Back out previous code changes, leave doc updates, file bugs
13056 2005-12-05 Wim Taymans <wim@fluendo.com>
13058 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13059 (gst_fake_src_get_times), (gst_fake_src_create):
13060 * plugins/elements/gstfakesrc.h:
13061 Fix broken sync code.
13063 2005-12-05 Wim Taymans <wim@fluendo.com>
13065 * gst/gstcaps.c: (gst_caps_is_equal):
13066 Comparing NULL against !NULL yields different caps, not a
13069 2005-12-05 Wim Taymans <wim@fluendo.com>
13071 * gst/gstpipeline.c:
13072 Fix small typo in docs.
13074 2005-12-05 Andy Wingo <wingo@pobox.com>
13076 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13078 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13079 registries/plugins with a MAJORMINOR one.
13080 (plugin_desc): Rename library from gstcoreleements to
13081 staticelements. Fixes #323222.
13083 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13085 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13086 Change debug category to 'collectpads' from 'collect_pads'
13089 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13091 patch by: Sebastien Moutte
13093 * libs/gst/controller/gstinterpolation.c:
13094 use convert function for uint64/double
13095 * win32/vs6/libgstcontroller.dsp:
13098 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13100 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13101 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13103 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13104 add tests that seem to show that the guint64/gdouble conversions
13107 2005-12-02 Wim Taymans <wim@fluendo.com>
13109 * gst/gstregistry.c: (gst_registry_add_path):
13110 * gst/gstregistry.h:
13111 * gst/gstregistryxml.c:
13114 2005-12-02 Wim Taymans <wim@fluendo.com>
13116 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13117 (gst_util_uint64_scale_int):
13120 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13121 Add debug log line.
13123 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13126 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13129 * win32/common/config.h:
13130 * win32/vs6/gstreamer.dsw:
13131 * win32/vs6/libgstcoreelements.dsp:
13132 * win32/vs6/libgstelements.dsp:
13133 renamed core elements plugin
13135 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13137 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13139 do piece-wise major/minor comparison so 0.9 < 0.10
13140 also allow .exe extensions for tools
13142 2005-12-02 Michael Smith <msmith@fluendo.com>
13145 Escape a % to make gtkdoc happier; bug 322958.
13147 === release 0.9.7 ===
13149 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13152 releasing 0.9.7, "My Dog Has No Nose"
13154 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13156 * common/gst-xmlinspect.py:
13158 * docs/libs/tmpl/gstdataprotocol.sgml:
13159 * docs/random/release:
13178 * win32/common/config.h:
13179 * win32/common/config.h.in:
13180 * win32/vs6/gst_inspect.dsp:
13181 * win32/vs6/gst_launch.dsp:
13182 * win32/vs6/libgstbase.dsp:
13183 * win32/vs6/libgstelements.dsp:
13184 * win32/vs6/libgstreamer.dsp:
13185 * win32/vs7/GStreamer.vcproj:
13186 * win32/vs7/gst-inspect.vcproj:
13187 * win32/vs7/gst-launch.vcproj:
13188 * win32/vs7/libgstbase.vcproj:
13189 bump GST_MAJORMINOR to 0.10
13190 reset libtool version
13192 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13196 Added Bulgarian translation by (Alexander Shopov)
13198 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13200 * tests/check/gst/gstplugin.c:
13203 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13205 * common/gst-xmlinspect.py:
13206 * common/gtk-doc-plugins.mak:
13208 * docs/Makefile.am:
13209 * docs/gst/Makefile.am:
13210 * docs/gst/gstreamer-docs.sgml:
13211 * docs/gst/gstreamer-sections.txt:
13212 * docs/gst/gstreamer.types:
13213 * docs/gst/gstreamer.types.in:
13214 * docs/plugins/Makefile.am:
13215 * docs/plugins/gstreamer-plugins-docs.sgml:
13216 * docs/plugins/gstreamer-plugins-sections.txt:
13217 * docs/plugins/gstreamer-plugins.types:
13218 * docs/plugins/inspect.stamp:
13219 * docs/plugins/inspect/plugin-coreelements.xml:
13220 * docs/plugins/inspect/plugin-coreindexers.xml:
13221 * docs/plugins/scanobj-build.stamp:
13222 * gstreamer.spec.in:
13223 * plugins/elements/Makefile.am:
13224 * plugins/elements/gstelements.c:
13225 * plugins/elements/gstfakesink.c:
13226 * plugins/elements/gstfakesrc.c:
13227 * plugins/elements/gstfilesink.c:
13228 * plugins/elements/gstfilesrc.c:
13229 * plugins/elements/gstqueue.c:
13230 * plugins/indexers/Makefile.am:
13231 * plugins/indexers/gstindexers.c:
13232 document core plugins in a separate document just like all the
13234 rename these plugins to something starting with core
13236 2005-12-01 Andy Wingo <wingo@pobox.com>
13238 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13239 padding here before, but it missed the commit.
13241 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13243 * libs/gst/controller/gstinterpolation.c:
13244 whitespace prices have crashed, we should feel free to use some now
13245 use gst_guint64_to_gdouble
13247 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13249 * libs/gst/controller/gstcontroller.c:
13250 * libs/gst/controller/gsthelper.c:
13251 * libs/gst/controller/gstinterpolation.c:
13252 * libs/gst/controller/lib.c:
13253 wrap config.h include
13255 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13257 * docs/gst/gstreamer-sections.txt:
13260 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13262 * plugins/elements/gstelements.c:
13263 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13264 (gst_fd_sink__class_init), (gst_fd_sink__init),
13265 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13266 (gst_fd_sink__get_property):
13267 * plugins/elements/gstfdsink.h:
13268 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13269 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13270 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13271 (gst_fd_src_unlock), (gst_fd_src_set_property),
13272 (gst_fd_src_get_property), (gst_fd_src_create),
13273 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13274 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13275 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13276 (gst_fd_src_uri_handler_init):
13277 * plugins/elements/gstfdsrc.h:
13278 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13281 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13283 * docs/gst/Makefile.am:
13284 * docs/gst/gstreamer.types.in:
13288 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13294 * gst/gstregistry.h:
13295 * tests/benchmarks/complexity.c:
13296 * tests/benchmarks/mass-elements.c:
13297 * tests/check/Makefile.am:
13298 * tools/Makefile.am:
13299 * tools/gst-inspect.c:
13300 * tools/gst-xmlinspect.c:
13301 various fixes to make
13302 --disable-nls --disable-registry --disable-loadsave
13303 --disable-parse --disable-gst-debug
13304 work and get the core .so down to 360444 bytes after stripping
13306 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13311 * docs/random/thomasvs/TODO:
13312 * tests/Makefile.am:
13316 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13318 * win32/GStreamer.vcproj:
13321 * win32/Makefile.inspect:
13322 * win32/Makefile.launch:
13323 * win32/Makefile.register:
13324 * win32/README.txt:
13325 * win32/gst-inspect.vcproj:
13326 * win32/gst-launch.vcproj:
13327 * win32/gst-register.vcproj:
13328 * win32/gstelements.vcproj:
13329 * win32/gstgetbits.def:
13330 * win32/gstgetbits.vcproj:
13331 * win32/gstreamer-dbg.def:
13332 * win32/gstreamer.def:
13333 * win32/libgstbase.def:
13334 * win32/libgstbase.vcproj:
13335 * win32/link_oldruntime.c:
13339 * win32/msvc71.sln:
13340 move even more stuff, win32/ is nice and clean now
13342 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13344 * libs/gst/control/.cvsignore:
13349 * win32/gstbytestream.def:
13350 * win32/gstbytestream.vcproj:
13351 * win32/gstconfig.h:
13352 * win32/gstenumtypes.c:
13353 * win32/gstenumtypes.h:
13354 * win32/gstoptimalscheduler.vcproj:
13355 * win32/gstversion.h:
13357 * win32/testsuite/bins.vcproj:
13358 * win32/testsuite/bytestream.vcproj:
13359 * win32/testsuite/caps.vcproj:
13360 * win32/testsuite/cleanup.vcproj:
13361 * win32/testsuite/clock.vcproj:
13362 * win32/testsuite/debug.vcproj:
13363 * win32/testsuite/dlopen.vcproj:
13364 * win32/testsuite/dynparams.vcproj:
13365 * win32/testsuite/elements.vcproj:
13366 * win32/testsuite/ghostpads.vcproj:
13367 * win32/testsuite/indexers.vcproj:
13368 * win32/testsuite/negotiation.vcproj:
13369 * win32/testsuite/parse.vcproj:
13370 * win32/testsuite/plugin.vcproj:
13371 * win32/testsuite/refcounting.vcproj:
13372 * win32/testsuite/schedulers.vcproj:
13373 * win32/testsuite/states.vcproj:
13374 * win32/testsuite/tags.vcproj:
13375 * win32/testsuite/threads.vcproj:
13376 remove old win32 stuff that isn't maintained and should be
13379 2005-11-30 Andy Wingo <wingo@pobox.com>
13381 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13382 loading the gst.interfaces python module bork.
13384 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13385 available since GLib 2.2. Fixes #318031.
13387 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13390 * check/.cvsignore:
13391 * check/Makefile.am:
13392 * check/elements/.cvsignore:
13393 * check/elements/fakesrc.c:
13394 * check/elements/fdsrc.c:
13395 * check/elements/identity.c:
13396 * check/generic/.cvsignore:
13397 * check/generic/states.c:
13398 * check/gst-libs/.cvsignore:
13399 * check/gst-libs/controller.c:
13400 * check/gst-libs/gdp.c:
13401 * check/gst/.cvsignore:
13402 * check/gst/capslist.h:
13404 * check/gst/gstbin.c:
13405 * check/gst/gstbuffer.c:
13406 * check/gst/gstbus.c:
13407 * check/gst/gstcaps.c:
13408 * check/gst/gstelement.c:
13409 * check/gst/gstevent.c:
13410 * check/gst/gstghostpad.c:
13411 * check/gst/gstiterator.c:
13412 * check/gst/gstmessage.c:
13413 * check/gst/gstminiobject.c:
13414 * check/gst/gstobject.c:
13415 * check/gst/gstpad.c:
13416 * check/gst/gstpipeline.c:
13417 * check/gst/gstplugin.c:
13418 * check/gst/gstsegment.c:
13419 * check/gst/gststructure.c:
13420 * check/gst/gstsystemclock.c:
13421 * check/gst/gsttag.c:
13422 * check/gst/gstutils.c:
13423 * check/gst/gstvalue.c:
13424 * check/net/.cvsignore:
13425 * check/net/gstnetclientclock.c:
13426 * check/net/gstnettimeprovider.c:
13427 * check/pipelines/.cvsignore:
13428 * check/pipelines/cleanup.c:
13429 * check/pipelines/simple_launch_lines.c:
13430 * check/pipelines/stress.c:
13431 * check/states/.cvsignore:
13432 * check/states/sinks.c:
13434 * examples/Makefile.am:
13435 * examples/appreader/.cvsignore:
13436 * examples/appreader/Makefile.am:
13437 * examples/appreader/appreader.c:
13438 * examples/controller/.cvsignore:
13439 * examples/controller/Makefile.am:
13440 * examples/controller/audio-example.c:
13441 * examples/cutter/.cvsignore:
13442 * examples/cutter/Makefile.am:
13443 * examples/cutter/cutter.c:
13444 * examples/cutter/cutter.h:
13445 * examples/events/Makefile.am:
13446 * examples/events/seek.c:
13447 * examples/helloworld/.cvsignore:
13448 * examples/helloworld/Makefile.am:
13449 * examples/helloworld/helloworld.c:
13450 * examples/helloworld2/.cvsignore:
13451 * examples/helloworld2/Makefile.am:
13452 * examples/helloworld2/helloworld2.c:
13453 * examples/launch/.cvsignore:
13454 * examples/launch/Makefile.am:
13455 * examples/launch/mp3parselaunch.c:
13456 * examples/launch/mp3play:
13457 * examples/manual/.cvsignore:
13458 * examples/manual/Makefile.am:
13459 * examples/manual/extract.pl:
13460 * examples/metadata/Makefile.am:
13461 * examples/metadata/read-metadata.c:
13462 * examples/mixer/.cvsignore:
13463 * examples/mixer/Makefile.am:
13464 * examples/mixer/mixer.c:
13465 * examples/mixer/mixer.h:
13466 * examples/pingpong/.cvsignore:
13467 * examples/pingpong/Makefile.am:
13468 * examples/pingpong/pingpong.c:
13469 * examples/plugins/.cvsignore:
13470 * examples/plugins/Makefile.am:
13471 * examples/plugins/example.c:
13472 * examples/plugins/example.h:
13473 * examples/pwg/.cvsignore:
13474 * examples/pwg/Makefile.am:
13475 * examples/pwg/extract.pl:
13476 * examples/queue/.cvsignore:
13477 * examples/queue/Makefile.am:
13478 * examples/queue/queue.c:
13479 * examples/queue2/.cvsignore:
13480 * examples/queue2/Makefile.am:
13481 * examples/queue2/queue2.c:
13482 * examples/queue3/.cvsignore:
13483 * examples/queue3/Makefile.am:
13484 * examples/queue3/queue3.c:
13485 * examples/queue4/.cvsignore:
13486 * examples/queue4/Makefile.am:
13487 * examples/queue4/queue4.c:
13488 * examples/retag/.cvsignore:
13489 * examples/retag/Makefile.am:
13490 * examples/retag/retag.c:
13491 * examples/retag/transcode.c:
13492 * examples/thread/.cvsignore:
13493 * examples/thread/Makefile.am:
13494 * examples/thread/thread.c:
13495 * examples/typefind/.cvsignore:
13496 * examples/typefind/Makefile.am:
13497 * examples/typefind/typefind.c:
13498 * examples/xml/.cvsignore:
13499 * examples/xml/Makefile.am:
13500 * examples/xml/createxml.c:
13501 * examples/xml/runxml.c:
13502 * tests/Makefile.am:
13503 * tests/check/Makefile.am:
13504 * testsuite/.cvsignore:
13505 * testsuite/Makefile.am:
13507 * testsuite/caps/.cvsignore:
13508 * testsuite/caps/Makefile.am:
13509 * testsuite/caps/app_fixate.c:
13510 * testsuite/caps/audioscale.c:
13511 * testsuite/caps/caps.c:
13512 * testsuite/caps/caps.h:
13513 * testsuite/caps/caps_strings:
13514 * testsuite/caps/compatibility.c:
13515 * testsuite/caps/deserialize.c:
13516 * testsuite/caps/enumcaps.c:
13517 * testsuite/caps/eratosthenes.c:
13518 * testsuite/caps/filtercaps.c:
13519 * testsuite/caps/fixed.c:
13520 * testsuite/caps/fraction-convert.c:
13521 * testsuite/caps/fraction-multiply-and-zero.c:
13522 * testsuite/caps/intersect2.c:
13523 * testsuite/caps/intersection.c:
13524 * testsuite/caps/normalisation.c:
13525 * testsuite/caps/random.c:
13526 * testsuite/caps/renegotiate.c:
13527 * testsuite/caps/sets.c:
13528 * testsuite/caps/simplify.c:
13529 * testsuite/caps/string-conversions.c:
13530 * testsuite/caps/structure.c:
13531 * testsuite/caps/subtract.c:
13532 * testsuite/caps/union.c:
13533 * testsuite/debug/.cvsignore:
13534 * testsuite/debug/Makefile.am:
13535 * testsuite/debug/category.c:
13536 * testsuite/debug/commandline.c:
13537 * testsuite/debug/global.c:
13538 * testsuite/debug/output.c:
13539 * testsuite/debug/printf_extension.c:
13540 * testsuite/dlopen/.cvsignore:
13541 * testsuite/dlopen/Makefile.am:
13542 * testsuite/dlopen/dlopen_gst.c:
13543 * testsuite/dlopen/loadgst.c:
13544 * testsuite/elements/.cvsignore:
13545 * testsuite/elements/Makefile.am:
13546 * testsuite/elements/gst-inspect-check.in:
13547 * testsuite/elements/struct_i386.h:
13548 * testsuite/elements/struct_size.c:
13549 * testsuite/indexers/.cvsignore:
13550 * testsuite/indexers/Makefile.am:
13551 * testsuite/indexers/cache1.c:
13552 * testsuite/indexers/indexdump.c:
13553 * testsuite/parse/.cvsignore:
13554 * testsuite/parse/Makefile.am:
13555 * testsuite/parse/parse1.c:
13556 * testsuite/parse/parse2.c:
13557 * testsuite/plugin/.cvsignore:
13558 * testsuite/plugin/Makefile.am:
13559 * testsuite/plugin/README:
13560 * testsuite/plugin/dynamic.c:
13561 * testsuite/plugin/linked.c:
13562 * testsuite/plugin/loading.c:
13563 * testsuite/plugin/registry.c:
13564 * testsuite/plugin/static.c:
13565 * testsuite/plugin/static2.c:
13566 * testsuite/plugin/testplugin.c:
13567 * testsuite/plugin/testplugin2.c:
13568 * testsuite/plugin/testplugin2_s.c:
13569 * testsuite/plugin/testplugin_s.c:
13570 * testsuite/refcounting/.cvsignore:
13571 * testsuite/refcounting/Makefile.am:
13572 * testsuite/refcounting/bin.c:
13573 * testsuite/refcounting/element.c:
13574 * testsuite/refcounting/element_pad.c:
13575 * testsuite/refcounting/mainloop.c:
13576 * testsuite/refcounting/mem.c:
13577 * testsuite/refcounting/mem.h:
13578 * testsuite/refcounting/object.c:
13579 * testsuite/refcounting/pad.c:
13580 * testsuite/refcounting/sched.c:
13581 * testsuite/refcounting/thread.c:
13582 * testsuite/states/.cvsignore:
13583 * testsuite/states/Makefile.am:
13584 * testsuite/states/bin.c:
13585 * testsuite/states/locked.c:
13586 * testsuite/states/parent.c:
13587 * testsuite/threads/.cvsignore:
13588 * testsuite/threads/159566.c:
13589 * testsuite/threads/159852.c:
13590 * testsuite/threads/Makefile.am:
13591 * testsuite/threads/queue.c:
13592 * testsuite/threads/signals.c:
13593 * testsuite/threads/staticrec.c:
13594 * testsuite/threads/thread.c:
13595 * testsuite/threads/threadb.c:
13596 * testsuite/threads/threadc.c:
13597 * testsuite/threads/threadd.c:
13598 * testsuite/threads/threade.c:
13599 * testsuite/threads/threadf.c:
13600 * testsuite/threads/threadg.c:
13601 * testsuite/threads/threadh.c:
13602 * testsuite/threads/threadi.c:
13603 move all of these under tests
13605 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13608 * tests/Makefile.am:
13611 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13613 * docs/gst/gstreamer-sections.txt:
13614 * tests/sched/.cvsignore:
13615 * tests/sched/Makefile.am:
13616 * tests/sched/cases/(fs-fs).xml:
13617 * tests/sched/cases/(fs-i-fs).xml:
13618 * tests/sched/cases/(fs-i-i-fs).xml:
13619 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13620 * tests/sched/dynamic-pipeline.c:
13621 * tests/sched/interrupt1.c:
13622 * tests/sched/interrupt2.c:
13623 * tests/sched/interrupt3.c:
13624 * tests/sched/runtestcases:
13625 * tests/sched/runxml.c:
13626 * tests/sched/sched-stress.c:
13627 * tests/sched/sort.c:
13628 * tests/sched/testcases:
13629 * tests/sched/testcases1.tc:
13630 * tests/seeking/.cvsignore:
13631 * tests/seeking/Makefile.am:
13632 * tests/seeking/seeking1.c:
13633 * tests/threadstate/.cvsignore:
13634 * tests/threadstate/Makefile.am:
13635 * tests/threadstate/test1.c:
13636 * tests/threadstate/test2.c:
13637 * tests/threadstate/threadstate1.c:
13638 * tests/threadstate/threadstate2.c:
13639 * tests/threadstate/threadstate3.c:
13640 * tests/threadstate/threadstate4.c:
13641 * tests/threadstate/threadstate5.c:
13642 remove obsolete tests
13644 * tests/bench-complexity.scm:
13645 * tests/bench-mass_elements.scm:
13646 * tests/complexity.c:
13647 * tests/complexity.gnuplot:
13648 * tests/instantiate/.cvsignore:
13649 * tests/instantiate/Makefile.am:
13650 * tests/instantiate/caps.c:
13651 * tests/mass_elements.c:
13652 * tests/network-clock-utils.scm:
13653 * tests/network-clock.scm:
13655 First pass at cleaning up tests/ dir before moving the rest
13656 Combined with CVS surgery
13658 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13661 queue has moved, update
13663 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13665 * docs/gst/gstreamer-sections.txt:
13666 remove double entries from the docs
13667 * gst/gst_private.h:
13668 * gst/gstinfo.c: (_gst_debug_init):
13669 remove the THREAD debug category
13673 * docs/gst/gstreamer.types:
13674 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13675 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13676 completely move queue and fix up debugging categories
13678 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13680 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13681 make initialization portable, using LL is not
13683 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13685 * win32/common/gstconfig.h:
13688 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13690 * win32/common/libgstreamer.def:
13691 rename symbols; sort base section
13693 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13695 * gst/gstclock.c: (do_linear_regression):
13696 remove crack non-portable handrolled DEBUG macro
13698 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13700 * docs/random/release:
13702 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13703 (gst_object_flags_get_type), (register_gst_bin_flags),
13704 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13705 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13706 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13707 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13708 (gst_caps_flags_get_type), (register_gst_clock_return),
13709 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13710 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13711 (gst_clock_flags_get_type), (register_gst_state),
13712 (gst_state_get_type), (register_gst_state_change_return),
13713 (gst_state_change_return_get_type), (register_gst_state_change),
13714 (gst_state_change_get_type), (register_gst_element_flags),
13715 (gst_element_flags_get_type), (register_gst_core_error),
13716 (gst_core_error_get_type), (register_gst_library_error),
13717 (gst_library_error_get_type), (register_gst_resource_error),
13718 (gst_resource_error_get_type), (register_gst_stream_error),
13719 (gst_stream_error_get_type), (register_gst_event_type_flags),
13720 (gst_event_type_flags_get_type), (register_gst_event_type),
13721 (gst_event_type_get_type), (register_gst_seek_type),
13722 (gst_seek_type_get_type), (register_gst_seek_flags),
13723 (gst_seek_flags_get_type), (register_gst_format),
13724 (gst_format_get_type), (register_gst_index_certainty),
13725 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13726 (gst_index_entry_type_get_type),
13727 (register_gst_index_lookup_method),
13728 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13729 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13730 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13731 (gst_index_flags_get_type), (register_gst_debug_level),
13732 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13733 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13734 (gst_iterator_result_get_type), (register_gst_iterator_item),
13735 (gst_iterator_item_get_type), (register_gst_message_type),
13736 (gst_message_type_get_type), (register_gst_mini_object_flags),
13737 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13738 (gst_pad_link_return_get_type), (register_gst_flow_return),
13739 (gst_flow_return_get_type), (register_gst_activate_mode),
13740 (gst_activate_mode_get_type), (register_gst_pad_direction),
13741 (gst_pad_direction_get_type), (register_gst_pad_flags),
13742 (gst_pad_flags_get_type), (register_gst_pad_presence),
13743 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13744 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13745 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13746 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13747 (gst_plugin_flags_get_type), (register_gst_rank),
13748 (gst_rank_get_type), (register_gst_query_type),
13749 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13750 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13751 (gst_tag_flag_get_type), (register_gst_task_state),
13752 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13753 (gst_alloc_trace_flags_get_type),
13754 (register_gst_type_find_probability),
13755 (gst_type_find_probability_get_type), (register_gst_uri_type),
13756 (gst_uri_type_get_type), (register_gst_parse_error),
13757 (gst_parse_error_get_type):
13758 * win32/common/gstenumtypes.h:
13759 * win32/common/gstversion.h:
13760 update visual studio generated files
13762 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13764 * win32/vs6/libgstbase.dsp:
13765 * win32/vs6/libgstelements.dsp:
13766 update project files for new locations
13768 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13773 reinstate and update
13778 * docs/random/LICENSE:
13781 2005-11-30 Edward Hervey <edward@fluendo.com>
13783 * gst/gsttypefind.c: (gst_type_find_register):
13784 * gst/gsttypefind.h:
13785 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13786 (gst_type_find_factory_dispose):
13787 * gst/gsttypefindfactory.h:
13788 Fix memory leak in GstTypeFindFactory.
13790 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13793 * plugins/elements/Makefile.am:
13794 * plugins/elements/gstelements.c:
13795 * plugins/elements/gstqueue.c:
13796 move queue from core to the elements plugin
13798 2005-11-29 Andy Wingo <wingo@pobox.com>
13800 * libs/gst/base/gstbasetransform.h:
13801 * libs/gst/base/gstbasesrc.h:
13802 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13804 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13805 of pointers by which to pad very extensible base classes (like the
13806 ones in libs/gst/base).
13808 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13810 * docs/gst/gstreamer-docs.sgml:
13811 * docs/gst/gstreamer-sections.txt:
13812 * docs/libs/gstreamer-libs-docs.sgml:
13813 * docs/libs/gstreamer-libs-sections.txt:
13814 moving documentation from core to lib
13816 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13818 * check/Makefile.am:
13820 * docs/gst/Makefile.am:
13822 * gst/base/.cvsignore:
13823 * gst/base/Makefile.am:
13825 * gst/base/gstadapter.c:
13826 * gst/base/gstadapter.h:
13827 * gst/base/gstbasesink.c:
13828 * gst/base/gstbasesink.h:
13829 * gst/base/gstbasesrc.c:
13830 * gst/base/gstbasesrc.h:
13831 * gst/base/gstbasetransform.c:
13832 * gst/base/gstbasetransform.h:
13833 * gst/base/gstcollectpads.c:
13834 * gst/base/gstcollectpads.h:
13835 * gst/base/gstpushsrc.c:
13836 * gst/base/gstpushsrc.h:
13837 * gst/base/gsttypefindhelper.c:
13838 * gst/base/gsttypefindhelper.h:
13839 * gst/check/Makefile.am:
13840 * gst/check/gstcheck.c:
13841 * gst/check/gstcheck.h:
13842 * gst/net/Makefile.am:
13843 * gst/net/gstnet.h:
13844 * gst/net/gstnetclientclock.c:
13845 * gst/net/gstnetclientclock.h:
13846 * gst/net/gstnettimepacket.c:
13847 * gst/net/gstnettimepacket.h:
13848 * gst/net/gstnettimeprovider.c:
13849 * gst/net/gstnettimeprovider.h:
13850 * libs/gst/Makefile.am:
13851 * libs/gst/base/Makefile.am:
13852 * libs/gst/base/gstbasetransform.c:
13853 * libs/gst/check/Makefile.am:
13854 * plugins/elements/Makefile.am:
13856 CVS surgery + support to move base, check, and net out of gst
13859 2005-11-29 Andy Wingo <wingo@pobox.com>
13861 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13863 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13866 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13868 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13870 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13872 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13873 padding; reduces object size by about 30%. We don't expect
13874 anything else to go into gstobject.
13876 * gst/gstminiobject.h (struct _GstMiniObject)
13877 (struct _GstMiniObjectClass): Only one pointer of padding; the
13878 payload is only a pointer and two ints anyway. For the class there
13879 are only two methods as well.
13881 * gst/gstelement.h (struct _GstElementClass): Removed
13882 the state_changed signal callback, it is not used.
13884 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13886 * docs/gst/gstreamer.types:
13887 fix includes, though they are a little dinky
13889 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13891 * check/Makefile.am:
13892 look in the right place for elements, a lot more chance of
13895 remove indexers and elements subdirs
13896 * plugins/Makefile.am:
13897 make indexers conditional
13899 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13903 * plugins/elements/Makefile.am:
13904 * plugins/elements/gstcapsfilter.c:
13905 * plugins/elements/gstfilesink.c:
13906 * plugins/elements/gstfilesrc.c:
13907 * plugins/elements/gstidentity.c:
13908 * plugins/indexers/Makefile.am:
13909 do CVS surgery and related build fixery to move elements
13910 and indexers in a new gstreamer/plugins directory, out of the
13913 2005-11-29 Andy Wingo <wingo@pobox.com>
13915 * check/Makefile.am:
13916 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13917 * pkgconfig/gstreamer-net.pc.in:
13918 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13921 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13923 * tools/Makefile.am:
13924 * tools/gst-complete.1.in:
13925 * tools/gst-complete.c:
13926 * tools/gst-compprep.1.in:
13927 * tools/gst-compprep.c:
13928 removing -compprep and -complete
13930 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13932 * gst/gstevent.c: (gst_event_new_new_segment),
13933 (gst_event_parse_new_segment):
13935 fix #320529 - clean up new_segment API and structure.
13936 Let's hope everyone was using the methods, and not the structure.
13938 2005-11-29 Edward Hervey <edward@fluendo.com>
13940 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13941 (gst_base_sink_event), (gst_base_sink_do_sync),
13942 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13943 Properly handle non GST_FORMAT_TIME segment
13944 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13945 Properly handle non GST_FORMAT_TIME segment
13946 * gst/gstsegment.c:
13947 This function is valid if the accumulator is 0 and the format
13948 is different from the requested format.
13950 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13952 * docs/gst/gstreamer-sections.txt:
13953 Add gst_query_new_seeking and gst_query_parse_seeking to the
13956 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13958 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13959 Treat a pad alloc with new caps the same as if we were not
13960 negotiated, in order to allow a changing upstream output
13961 to produce a new format of data.
13963 2005-11-29 Edward Hervey <edward@fluendo.com>
13965 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13966 (gst_base_transform_event), (gst_base_transform_eventfunc):
13967 The event virtual method is now properly implemented, with a default
13969 Sub classes should call the parent_class event method. They should
13970 return FALSE if they had a problem handling the given event, or don't
13971 want GstBaseTransform to send that even downstream
13972 * gst/elements/gstidentity.c: (gst_identity_class_init),
13973 (gst_identity_init), (gst_identity_event),
13974 (gst_identity_transform_ip), (gst_identity_set_property),
13975 (gst_identity_get_property):
13976 * gst/elements/gstidentity.h:
13977 Added the single-segment boolean property.
13978 If set to TRUE, it will output a single segment of data, starting from
13979 0, will eat up all incoming newsegment, and modify the timestamp of the
13980 buffers accordingly
13982 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13984 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13985 Don't ref NULL target pad (#322751). Improve docs.
13987 2005-11-29 Michael Smith <msmith@fluendo.com>
13989 * gst/gstregistryxml.c: (load_plugin):
13990 Don't crash if we failed to load a feature from a plugin.
13992 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13994 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13996 use more check API and less GLib API
13998 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14001 don't run checks if we don't have check
14002 * common/check.mak:
14003 remove the registry when running make torture
14004 * docs/gst/gstreamer-sections.txt:
14005 remove second multiply
14006 * gst/gstqueue.c: (gst_queue_loop):
14007 fix a compile warning when disabling debug
14009 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14012 Hey! Let's print the pad name if the pointer != NULL instead
14013 of when it == NULL :-)
14015 2005-11-28 Wim Taymans <wim@fluendo.com>
14017 * check/gst/gstutils.c: (GST_START_TEST):
14018 Updated check, add some scaling accuracy checking code.
14020 * gst/gstutils.c: (gst_util_div128_64),
14021 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14022 (gst_util_uint64_scale_int):
14023 Fix 6 times faster division code. Optimize for common
14024 1/1 and less common X/1 cases.
14026 2005-11-28 Wim Taymans <wim@fluendo.com>
14028 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14031 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14032 (do_linear_regression), (gst_clock_add_observation):
14034 Release lock when the clock cannot be slaved.
14035 Catch the case where the regression returned an invalid denominator.
14037 * gst/gstutils.c: (gst_util_div128_64_iterate),
14038 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14039 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14040 Add protentially more performant non-iterative 128/64 divide function
14041 that unfortunatly does not work yet.
14042 Shortcut the trivial 0/X = 0 case.
14043 Remove the warnings on overflow.
14045 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14047 * gst/gstplugin.c: (gst_plugin_register_func):
14048 everything causing a plugin not to load should be at least a WARNING
14050 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14052 * docs/random/ensonic/dparams.txt:
14053 some TODOs for the next dev cycle
14054 * libs/gst/controller/gstcontroller.c:
14055 (gst_controlled_property_set_interpolation_mode),
14056 (gst_controlled_property_new):
14057 * libs/gst/controller/gstcontroller.h:
14058 use base type to assign acccessor functions
14060 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14062 * check/Makefile.am:
14063 Oops, that should have been top_srcdir
14065 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14067 * check/Makefile.am:
14068 * check/elements/fdsrc.c: (GST_START_TEST):
14069 Use a cmdline define to specify the location of a file to use for
14070 testing, to avoid breaking distcheck.
14072 2005-11-28 Andy Wingo <wingo@pobox.com>
14074 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14076 2005-11-28 Edward Hervey <edward@fluendo.com>
14078 * tools/gst-launch.c: (main):
14079 Clarify the output strings, makes it easier to translate.
14082 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14085 don't try and build net if we don't even have <sys/socket.h>
14087 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14089 * check/Makefile.am:
14090 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14091 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14092 Add tests for fdsrc seekability
14094 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14095 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14096 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14097 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14098 * gst/elements/gstfdsrc.h:
14099 fdsrc should not be a 'live' source.
14100 Implement seeking on seekable fd's.
14102 * gst/gstquery.c: (gst_query_new_seeking),
14103 (gst_query_parse_seeking):
14105 Implement SEEKING query functions:
14106 *_new_seeking and *_parse_seeking
14108 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14110 * gst/gstelement.c: (gst_element_dispose):
14113 * gst/gstiterator.c:
14114 * gst/gststructure.c:
14117 * libs/gst/controller/gstcontroller.c:
14118 (gst_controlled_property_set_interpolation_mode):
14119 * libs/gst/controller/gstcontroller.h:
14120 * libs/gst/controller/gstinterpolation.c:
14121 (interpolate_none_get_enum_value_array):
14122 support controlling enums
14124 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14127 Improve documentation for gst_value_union().
14130 Change return value for union, intersect and subtract functions
14131 from gint to gboolean.
14133 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14135 * gst/gstvalue.c: (gst_value_serialize_any_list),
14136 (gst_value_transform_any_list_string),
14137 (gst_value_deserialize_list), (gst_value_deserialize_array),
14138 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14139 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14140 (gst_value_set_fraction_range_full),
14141 (gst_value_deserialize_fraction_range),
14142 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14143 (gst_value_deserialize_boolean),
14144 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14145 (gst_value_serialize_float), (gst_value_deserialize_float),
14146 (gst_string_wrap), (gst_value_deserialize_string),
14147 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14148 (gst_value_union_int_range_int_range),
14149 (gst_value_intersect_int_range_int_range),
14150 (gst_value_intersect_double_range_double_range),
14151 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14152 (gst_value_subtract_int_range_int_range),
14153 (gst_value_subtract_double_double_range),
14154 (gst_value_subtract_double_range_double_range),
14155 (gst_value_deserialize_fraction):
14157 Use gint, gdouble and gchar in our API instead of int, double and
14158 char (and make usage in gstvalue.c more consistent).
14160 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14162 * check/Makefile.am:
14163 * libs/gst/controller/Makefile.am:
14164 * libs/gst/dataprotocol/Makefile.am:
14165 fix up Makefile.am and remove GST_ENABLE_NEW
14167 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14171 * gst/base/Makefile.am:
14172 * gst/check/Makefile.am:
14173 * gst/elements/Makefile.am:
14174 * gst/net/Makefile.am:
14175 update LDFLAGS use some more
14177 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14179 * common/m4/gst-doc.m4:
14182 2005-11-26 Edward Hervey <edward@fluendo.com>
14184 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14185 This shouldn't issue a g_warning since it returns NULL if it
14186 couldn't find the plugin, and all functions using this behave
14187 properly on a NULL return. Switching to a GST_WARNING.
14189 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14191 * gst/gstbin.c: (gst_bin_handle_message_func):
14192 Don't leak clock messages.
14194 2005-11-25 Wim Taymans <wim@fluendo.com>
14196 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14197 (gst_util_uint64_scale_int):
14198 Optimisations, remove unneeded vars.
14200 2005-11-25 Wim Taymans <wim@fluendo.com>
14202 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14203 Added more checks for the high precision uint64 cases.
14205 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14206 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14207 Implement high precision (guint64 * guint64) / guint64.
14209 2005-11-24 Wim Taymans <wim@fluendo.com>
14211 * gst/base/gstbasesrc.c: (gst_base_src_query):
14212 Fix wrong percentage query.
14214 * gst/gstutils.c: (gst_util_uint64_scale),
14215 (gst_util_uint64_scale_int):
14216 Add some more common cases that can be handled
14217 efficiently to _scale.
14219 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14221 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14222 (gst_mini_object_suite):
14223 don't use check calls from threads; check probably isn't
14224 threadsafe and using a lock to make it threadsafe would
14225 defeat the purpose of this check
14226 * gst/check/gstcheck.c:
14227 * gst/check/gstcheck.h:
14228 use GST_DEBUG some more
14230 2005-11-24 Wim Taymans <wim@fluendo.com>
14232 * gst/gstutils.c: (gst_util_uint64_scale),
14233 (gst_util_uint64_scale_int):
14234 Chain trivial case to _scale_int.
14236 2005-11-24 Wim Taymans <wim@fluendo.com>
14238 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14239 Added test for scaling.
14244 * gst/gstutils.c: (gst_util_uint64_scale_int):
14245 Implemented high precision scaling code.
14247 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14250 do not crash on pad==NULL
14252 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14254 Patch by: Stefan Kost
14256 * common/gtk-doc.mak:
14257 * docs/gst/Makefile.am:
14258 * docs/libs/Makefile.am:
14259 Fix distcheck issues for the libraries docs build
14262 2005-11-24 Michael Smith <msmith@fluendo.com>
14264 * docs/manual/basics-helloworld.xml:
14265 Fix bug #315027: memory leak in example code in docs.
14267 2005-11-24 Michael Smith <msmith@fluendo.com>
14269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14270 Unlock the PREROLL_LOCK in a failure case.
14272 2005-11-24 Wim Taymans <wim@fluendo.com>
14274 * docs/gst/gstreamer-sections.txt:
14275 * gst/base/gstadapter.h:
14276 * gst/base/gstbasesink.h:
14277 * gst/base/gstbasesrc.h:
14278 * gst/base/gstbasetransform.h:
14279 * gst/base/gstpushsrc.h:
14280 * gst/elements/gstfakesink.h:
14281 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14282 * gst/elements/gstfakesrc.h:
14283 * gst/elements/gstfilesink.h:
14284 * gst/elements/gstfilesrc.h:
14287 * gst/gstbuffer.c: (_gst_buffer_copy):
14290 * gst/gstchildproxy.c:
14292 * gst/gstelement.c:
14293 * gst/gstelementfactory.c:
14294 * gst/gstelementfactory.h:
14296 * gst/gstghostpad.h:
14298 * gst/gstinterface.h:
14299 * gst/gstminiobject.c:
14300 * gst/gstminiobject.h:
14303 * gst/gstpadtemplate.h:
14304 * gst/gstpipeline.h:
14305 * gst/gstpluginfeature.h:
14308 * gst/gsttaglist.c:
14309 * gst/gsttaglist.h:
14310 * gst/gsttagsetter.c:
14311 * gst/gsttagsetter.h:
14314 * gst/gsttypefind.h:
14317 * gst/net/gstnetclientclock.c:
14318 * gst/net/gstnetclientclock.h:
14319 * gst/net/gstnettimepacket.c:
14320 * gst/net/gstnettimeprovider.c:
14321 * gst/net/gstnettimeprovider.h:
14324 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14326 * configure.ac: back to HEAD
14328 === release 0.9.6 ===
14330 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14333 releasing 0.9.6, "Always On Time"
14335 2005-11-23 Wim Taymans <wim@fluendo.com>
14337 * docs/gst/gstreamer-sections.txt:
14338 * gst/glib-compat.c:
14339 * gst/gsttagsetter.c:
14341 * gst/net/gstnetclientclock.c:
14342 * gst/net/gstnettimepacket.h:
14345 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14347 * docs/faq/using.xml:
14348 * docs/libs/tmpl/gstcontrol.sgml:
14349 * docs/manual/advanced-dparams.xml:
14350 * docs/manual/appendix-checklist.xml:
14351 * docs/manual/basics-elements.xml:
14352 * docs/pwg/other-source.xml:
14353 * docs/random/moving-plugins:
14355 * tools/gst-launch.1.in:
14356 remove mentions of sinesrc
14358 2005-11-23 Michael Smith <msmith@fluendo.com>
14360 * docs/gst/gstreamer-sections.txt:
14361 Update for new API and API changes.
14363 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14365 Documentation typo fix.
14366 * gst/net/gstnettimepacket.c:
14367 Documentation fixes for arguments.
14369 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14371 * gst/gststructure.c: (gst_structure_get_fraction),
14372 (gst_structure_parse_value),
14373 (gst_structure_fixate_field_nearest_fraction):
14374 * gst/gststructure.h:
14375 * gst/gstutils.c: (gst_util_uint64_scale_int):
14377 * scripts/update-funcnames:
14379 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14380 Make gst_structure_fixate_field_nearest_fraction take a numerator
14381 and denominator argument instead of a GValue
14382 add gst_structure_get_fraction helper function.
14384 2005-11-23 Wim Taymans <wim@fluendo.com>
14386 * docs/design/part-TODO.txt:
14389 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14390 * gst/net/gstnetclientclock.h:
14391 Use parent fields for timeout and window_size.
14393 2005-11-23 Andy Wingo <wingo@pobox.com>
14395 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14396 rate_num/rate_denom change.
14398 * gst/net/gstnetclientclock.c
14399 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14400 OBJECT_LOCK. Don't call add_observation with the lock.
14402 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14404 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14406 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14407 deal with rate as a fraction whose numerator and denominator are
14408 GstClockTime values.
14409 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14410 master; the other fields are protected by the SLAVE_LOCK.
14411 (do_linear_regression): Note that this must be called with the
14413 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14414 OBJECT_LOCK. Call set_calibration instead of touching the
14415 variables directly.
14416 (gst_clock_set_property, gst_clock_get_property): Protect
14417 master/slave parameters with the SLAVE_LOCK.
14419 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14420 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14421 note that all of the instance variables that add_observation and
14422 the set_master functions use are protected by that lock and not
14424 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14426 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14427 the caller to take the object lock.
14429 2005-11-23 Wim Taymans <wim@fluendo.com>
14431 * gst/gsterror.c: (_gst_core_errors_init):
14433 Add error for clock stuff.
14435 * gst/gstpipeline.c: (gst_pipeline_change_state),
14436 (gst_pipeline_set_clock):
14437 Post clock error when clock cannot be used in a pipeline.
14439 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14441 * docs/gst/gstreamer-sections.txt:
14442 make two symbols from gstinfo private for the docs
14443 * gst/base/gstcollectpads.h:
14445 fix doc typos, update docs
14447 2005-11-22 Wim Taymans <wim@fluendo.com>
14449 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14450 (gst_base_sink_wait), (gst_base_sink_do_sync),
14451 (gst_base_sink_handle_event):
14452 * gst/base/gstbasesink.h:
14453 No need to store the clock, the parent element class already
14456 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14457 Updates for clock_set returning a gboolean
14459 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14460 (gst_clock_id_wait_async), (gst_clock_class_init),
14461 (gst_clock_init), (gst_clock_finalize),
14462 (gst_clock_get_internal_time), (gst_clock_get_time),
14463 (gst_clock_slave_callback), (gst_clock_set_master),
14464 (gst_clock_get_master), (do_linear_regression),
14465 (gst_clock_add_observation), (gst_clock_set_property),
14466 (gst_clock_get_property):
14468 Implement master/slave. When setting a clock as a slave, a
14469 periodic timeout is scheduled to sample master and slave times.
14470 Then the slave clock is recalibrated to match offset and rate
14471 of the master clock.
14472 Update logging a bit.
14473 Add flag so that a clock can state that is cannot be slaved to
14476 * gst/gstelement.c: (gst_element_set_clock):
14477 * gst/gstelement.h:
14478 The set clock returns a gboolean for when an element cannot
14479 deal with the selected clock in the pipeline.
14481 * gst/gstpipeline.c: (gst_pipeline_change_state),
14482 (gst_pipeline_set_clock):
14483 * gst/gstpipeline.h:
14484 Handle the case where the selected clock cannot be set on
14487 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14488 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14489 (gst_net_client_clock_set_property),
14490 (gst_net_client_clock_get_property),
14491 (gst_net_client_clock_observe_times):
14492 * gst/net/gstnetclientclock.h:
14493 Use regression code in GstClock parent, remove duplicated
14496 2005-11-22 Michael Smith <msmith@fluendo.com>
14498 * gst/gstutils.c: (gst_util_clock_time_scale):
14500 * docs/gst/gstreamer-sections.txt:
14501 Rename method to have extra underscore.
14503 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14505 * gst/elements/Makefile.am:
14506 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14507 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14508 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14509 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14510 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14511 * gst/elements/gstfakesrc.h:
14512 * gst/gstqueue.c: (queue_leaky_get_type):
14513 correctly fix GEnumValues so that nick is the short lowercase
14515 * tools/gst-inspect.c: (print_element_properties_info):
14516 also show the nick, since it's useful to use from parse_launch
14520 2005-11-22 Michael Smith <msmith@fluendo.com>
14522 * gst/gstutils.c: (gst_util_clocktime_scale):
14524 * docs/gst/gstreamer-sections.txt:
14525 Add util method for scaling a clocktime by a fraction. Useful
14526 implementation is left as an exercise for the reader.
14528 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14530 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14531 If needed, allocate storage in the destination value during
14534 2005-11-22 Edward Hervey <edward@fluendo.com>
14536 * docs/gst/gstreamer-sections.txt:
14539 * gst/gsturitype.c:
14540 * gst/gsturitype.h:
14541 * gst/gstutils.c: (gst_util_set_object_arg):
14542 * tools/gst-compprep.c: (main):
14543 * tools/gst-inspect.c: (print_element_properties_info):
14544 Removed GstURI, closes bug #321061
14546 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14548 * check/gst/gststructure.c: (GST_START_TEST):
14549 * gst/gststructure.c: (gst_structure_parse_value):
14550 Oops, broke automatic string type parsing.
14551 Add a test to catch it in future.
14553 2005-11-22 Andy Wingo <wingo@pobox.com>
14555 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14556 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14557 Actually rename the function implementations. Grr.
14559 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14561 * check/gst/capslist.h:
14563 * check/gst/gststructure.c: (GST_START_TEST),
14564 (gst_structure_suite):
14565 Test automatic value type detection in gst_structure_from_string.
14566 * gst/gststructure.c: (gst_structure_parse_value):
14567 Add fraction as a type we try and guess automatically in
14568 caps/structure strings.
14570 2005-11-22 Andy Wingo <wingo@pobox.com>
14572 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14574 * gst/gsttagsetter.h:
14575 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14576 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14577 (gst_tag_setter_add_tag_valist)
14578 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14579 _add_values, _add_valist, and _add_valist_values. Since this is an
14580 interface the function suffixes should be more explicit so
14581 language binding don't end up with element.add_valist ->
14582 gst_tag_setter_add_valist, for example. Fixes #322069.
14584 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14586 * check/gst/gstcaps.c: (GST_START_TEST):
14587 Extend caps string tests to check that a caps to string
14588 conversion is reversible and produces the same caps.
14590 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14591 Output "fraction" as the generic type fraction range, so caps
14592 serialisation and deserialisation works.
14593 * check/gst/capslist.h:
14594 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14595 Support 'MIN' and 'MAX' for deserialising fractions.
14597 2005-11-22 Andy Wingo <wingo@pobox.com>
14599 * gst/gstevent.h (gst_event_new_new_segment)
14600 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14601 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14602 Renamed from *_newsegment, *_buffersize, *_notarget.
14604 * scripts/update-funcnames: New script, performs the changes
14607 2005-11-22 Wim Taymans <wim@fluendo.com>
14609 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14610 Make sure the GstFlowReturn is returned.
14612 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14613 (gst_bus_add_signal_watch):
14615 add gst_bus_add_signal_watch_full.
14617 * gst/gstplugin.c: (gst_plugin_load_file):
14618 Small style cleanup.
14620 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14622 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14623 Block the fakesrc srcpad when we send an event, to avoid
14624 contention on the stream_lock causing random test failures.
14626 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14628 * check/gst/gstvalue.c: (GST_START_TEST):
14629 * gst/gstvalue.c: (gst_value_fraction_subtract):
14632 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14635 include "gstchildproxy.h"
14636 * gst/gstchildproxy.h:
14637 * libs/gst/controller/gstcontroller.h:
14638 use G_GNUC_NULL_TERMINATED
14640 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14642 * check/gst/capslist.h:
14643 * check/gst/gstcaps.c: (GST_START_TEST):
14644 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14645 * gst/gststructure.c: (gst_structure_parse_range),
14646 (gst_structure_fixate_field_nearest_fraction):
14647 * gst/gststructure.h:
14648 * gst/gstvalue.c: (gst_value_init_fraction_range),
14649 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14650 (gst_value_collect_fraction_range),
14651 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14652 (gst_value_set_fraction_range_full),
14653 (gst_value_get_fraction_range_min),
14654 (gst_value_get_fraction_range_max),
14655 (gst_value_serialize_fraction_range),
14656 (gst_value_transform_fraction_range_string),
14657 (gst_value_compare_fraction_range),
14658 (gst_value_deserialize_fraction_range),
14659 (gst_value_intersect_fraction_fraction_range),
14660 (gst_value_intersect_fraction_range_fraction_range),
14661 (gst_value_subtract_fraction_fraction_range),
14662 (gst_value_subtract_fraction_range_fraction),
14663 (gst_value_subtract_fraction_range_fraction_range),
14664 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14665 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14666 (gst_value_transform_string_fraction), (_gst_value_initialize):
14668 Implement fraction ranges and extend GstFraction to support
14669 arithmetic subtraction, as well as deserialization from integer
14670 strings such as "100"
14671 Add a testsuite as for int and double range set operations
14673 2005-11-21 Andy Wingo <wingo@pobox.com>
14675 * gst/gsttaglist.h:
14677 * gst/gststructure.h: Add glib-compat.h.
14679 2005-11-21 Wim Taymans <wim@fluendo.com>
14681 * gst/gstbin.c: (gst_bin_change_state_func):
14684 2005-11-21 Wim Taymans <wim@fluendo.com>
14686 * gst/gstsegment.h:
14687 And add a nice define too.
14689 2005-11-21 Wim Taymans <wim@fluendo.com>
14691 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14692 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14693 (gst_segment_set_duration), (gst_segment_set_last_stop),
14694 (gst_segment_set_seek), (gst_segment_set_newsegment),
14695 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14696 (gst_segment_clip):
14697 * gst/gstsegment.h:
14698 Make binding friendly.
14700 2005-11-21 Andy Wingo <wingo@pobox.com>
14702 * gst/gsttagsetter.h:
14703 * gst/gsttaglist.h:
14704 * gst/gststructure.h:
14706 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14709 * gst/gsterror.c (_gst_core_errors_init):
14710 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14713 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14714 (noinst_HEADERS): noinst the -private.
14716 2005-11-21 Michael Smith <msmith@fluendo.com>
14719 * gst/gstregistry.h:
14720 Remove unimplemented declarations for which we can see no sensible
14723 2005-11-21 Andy Wingo <wingo@pobox.com>
14725 * gst/gst.h: Include glib-compat.h.
14727 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14729 * gst/glib-compat.c: Include the public and the private header.
14731 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14735 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14737 * check/gst/gstevent.c (create_custom_events): Check that
14738 FLUSH_STOP is serialized.
14740 * check/elements/identity.c (event_func):
14741 * check/elements/fakesrc.c (event_func): No stream lock, the core
14744 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14745 stream lock taking, yay.
14747 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14748 ensure that core takes the stream lock.
14750 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14753 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14754 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14755 it already. For the flush start we do take it though so we get the
14756 right preroll state change messages.
14758 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14759 the stream lock here, the core does it for us.
14761 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14762 GST_STREAM_GET_LOCK.
14763 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14764 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14765 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14766 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14767 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14768 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14770 * gst/gstpad.c: Update for stream lock name change.
14772 * gst/base/gstbasesink.c: Update for preroll lock name change.
14774 2005-11-21 Wim Taymans <wim@fluendo.com>
14776 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14777 (gst_clock_get_master):
14779 * gst/gstsystemclock.c: (gst_system_clock_init):
14780 Convert Clock flags to object flags.
14781 Added methods to manage master/slave clocks.
14783 2005-11-21 Wim Taymans <wim@fluendo.com>
14785 * check/gst/gstsegment.c: (GST_START_TEST):
14786 * docs/design/part-TODO.txt:
14787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14788 (gst_base_sink_event), (gst_base_sink_do_sync),
14789 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14790 (gst_base_sink_query), (gst_base_sink_change_state):
14791 * gst/base/gstbasesink.h:
14792 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14793 (gst_base_src_default_newsegment),
14794 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14795 (gst_base_src_get_range), (gst_base_src_loop),
14796 (gst_base_src_change_state):
14797 * gst/base/gstbasesrc.h:
14798 * gst/base/gstbasetransform.c:
14799 (gst_base_transform_prepare_output_buf),
14800 (gst_base_transform_event), (gst_base_transform_change_state):
14801 * gst/base/gstbasetransform.h:
14802 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14803 (gst_collect_pads_event):
14804 * gst/base/gstcollectpads.h:
14805 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14806 (gst_fake_src_create):
14807 * gst/elements/gstfakesrc.h:
14808 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14809 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14810 (gst_segment_set_last_stop), (gst_segment_set_seek),
14811 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14812 (gst_segment_to_running_time), (gst_segment_clip):
14813 * gst/gstsegment.h:
14814 More segment updates, replace code in plugins with segment
14817 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14819 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14820 Don't ignore sscanf results
14822 2005-11-21 Andy Wingo <wingo@pobox.com>
14824 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14827 * *.c: Ran scripts/update-macros. Oh yes.
14829 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14830 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14833 * scripts/update-macros: New script. Run it on your files to
14834 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14837 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14839 * docs/gst/Makefile.am:
14840 * docs/gst/gstreamer-docs.sgml:
14841 * docs/gst/gstreamer-sections.txt:
14842 * docs/gst/gstreamer.types:
14844 more docs fixes, add new api to the docs
14846 2005-11-21 Andy Wingo <wingo@pobox.com>
14848 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14849 state_broadcast call.
14851 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14853 2005-11-21 Julien MOUTTE <julien@moutte.net>
14855 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14856 function calls for arrays.
14858 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14860 * docs/random/ensonic/media-device-daemon.txt:
14861 wild idea, can this be done?
14862 * docs/gst/gstreamer-sections.txt:
14867 * gst/gstpluginfeature.c:
14871 doc fixes and additions
14873 2005-11-21 Andy Wingo <wingo@pobox.com>
14875 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14876 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14877 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14878 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14879 private to the basesrc implementation.
14881 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14882 behalf of event function if necessary. It should no longer be
14883 necessary to take the stream lock in pad's event functions. Fixes
14886 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14887 * docs/gst/gstreamer-sections.txt:
14888 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14889 (gst_structure_fixate_field_nearest_double),
14890 (gst_structure_fixate_field_boolean):
14891 * gst/gststructure.h:
14892 * win32/common/libgstreamer.def:
14893 * win32/gstreamer.def:
14895 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14898 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14900 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14901 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14902 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14903 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14904 (gst_fdsrc_uri_handler_init):
14905 * gst/elements/gstfdsrc.h:
14906 Port fd:// URI handler from 0.8 to fdsrc
14908 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14910 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14911 (gst_value_serialize_fourcc):
14913 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14914 consistent with our other format defines (#320324).
14916 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14918 * gst/gstvalue.c: (gst_value_is_fixed):
14919 Revert previous commit. Value lists are by definition
14920 not fixed, as they are a list of possible values.
14922 2005-11-21 Andy Wingo <wingo@pobox.com>
14924 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14925 during the stable series if we need it. Fixes #319178.
14927 * gst/gstevent.c (gst_event_new_filler): Removed.
14929 * check/gst/gstevent.c: Update comment about filler events.
14931 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14933 * gst/gstvalue.c: (gst_value_is_fixed):
14934 Should handle both value arrays and value lists.
14936 2005-11-21 Andy Wingo <wingo@pobox.com>
14938 patch by: Alessandro Dessina <alessandro nnva org>
14940 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14941 functions to access arrays. Fixes #321962.
14943 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14945 * docs/gst/gstreamer.types:
14946 gst_collectpads_get_type => gst_collect_pads_get_type.
14948 * gst/base/gstbasetransform.c:
14949 Remove unused SIGNAL_HANDOFF enum.
14951 2005-11-21 Andy Wingo <wingo@pobox.com>
14953 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14954 the event type (upstream, downstream, serialized). Renamed
14955 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14956 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14957 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14959 * gst/gstevent.c: Update for new CUSTOM event names.
14961 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14964 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14967 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14969 * docs/gst/gstreamer-sections.txt:
14970 * win32/common/libgstbase.def:
14971 * win32/libgstbase.def:
14972 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14973 (gst_collect_pads_class_init), (gst_collect_pads_init),
14974 (gst_collect_pads_finalize), (gst_collect_pads_new),
14975 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14976 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14977 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14978 (gst_collect_pads_start), (gst_collect_pads_stop),
14979 (gst_collect_pads_peek), (gst_collect_pads_pop),
14980 (gst_collect_pads_available), (gst_collect_pads_read),
14981 (gst_collect_pads_flush), (gst_collect_pads_event),
14982 (gst_collect_pads_chain):
14983 * gst/base/gstcollectpads.h:
14984 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14985 unimplemented functions as unimplemented. Add padding to
14986 GstCollectData. (#320766, #320423)
14988 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14990 * gst/gstmessage.c:
14991 Improve docs for DURATION message (usage of duration parameter)
14994 2005-11-20 Wim Taymans <wim@fluendo.com>
14996 * check/Makefile.am:
14997 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15001 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15002 (gst_segment_set_seek), (gst_segment_set_newsegment),
15003 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15004 (gst_segment_clip):
15005 * gst/gstsegment.h:
15006 Added segment helper structure and methods. Not fully implemented
15008 Added segment check.
15010 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15012 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15013 Add a deserialisation test for fractions
15014 * examples/metadata/read-metadata.c: (message_loop),
15015 (make_pipeline), (main):
15016 Fix up metadata reading sample.
15017 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15019 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15020 Don't try and fixate empty caps
15021 * gst/gst_private.h:
15022 Wrap in G_BEGIN_DECLS/G_END_DECLS
15023 * gst/gstvalue.c: (gst_value_collect_fraction),
15024 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15025 (gst_value_transform_string_fraction),
15026 (gst_value_compare_fraction):
15027 Add some extra guards to ensure that we don't end up
15028 with an invalid denominator of 0 in a gstfraction and
15029 that fractions always get reduced.
15031 2005-11-20 Wim Taymans <wim@fluendo.com>
15033 * docs/gst/gstreamer-sections.txt:
15035 * gst/gstelement.c:
15044 2005-11-20 Wim Taymans <wim@fluendo.com>
15046 * docs/design/part-TODO.txt:
15048 Make a proper enum of the flag.
15050 2005-11-19 Wim Taymans <wim@fluendo.com>
15052 * docs/design/part-TODO.txt:
15053 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15054 (gst_format_to_quark), (gst_format_register):
15056 * gst/gstquery.c: (_gst_query_initialize),
15057 (gst_query_type_get_name), (gst_query_type_to_quark),
15058 (gst_query_type_register):
15060 Add type to quark and type to string conversions.
15062 2005-11-19 Andy Wingo <wingo@pobox.com>
15064 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15067 2005-11-19 Wim Taymans <wim@fluendo.com>
15069 * docs/design/part-TODO.txt:
15070 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15071 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15072 (gst_bin_handle_message_func):
15074 Make message handling overridable.
15076 2005-11-19 Andy Wingo <wingo@pobox.com>
15078 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15081 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15083 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15084 is a GstClockTime. Fixes #321710.
15086 * gst/gstclock.h (GstClock): Remove offset property. Add
15087 internal_calibration and external_calibration. Fix padding. Pad
15088 also by GstClockTime so we don't run into problems.
15090 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15091 (gst_clock_get_rate_offset): Remove.
15092 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15095 * gst/gstutils.c (g_static_rec_cond_wait)
15096 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15098 * gst/gstbin.c: Remove terrible continue_state prototype.
15100 * gst/gstelement.h (gst_element_continue_state): Make public.
15102 * gst/gstelement.h:
15103 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15104 by continue_state. Fixes #319389.
15106 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15107 Really fixes #168438. However I don't see anywhere where the
15108 filter function is called... stupid GStreamer...
15110 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15111 don't have a dispose function, so it won't get called when the
15112 object is unreffed, but oh well!
15114 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15115 allows a destroy function to be set so user_data can be freed.
15117 (gst_index_set_filter): Call gst_index_set_filter_full.
15119 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15121 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15122 string should produce an error, given the lack of a way to
15123 represent NULL strings. Fixes #165650.
15126 * gst/gstvalue.c (gst_value_array_append_value)
15127 (gst_value_array_prepend_value, gst_value_array_get_size)
15128 (gst_value_array_get_value): New API, copied from
15129 gst_value_list_*, only operates on arrays.
15130 (gst_value_list_append_value, gst_value_list_prepend_value)
15131 (gst_value_list_concat, gst_value_list_get_size)
15132 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15134 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15135 init_list, because it works on both.
15136 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15137 (gst_value_copy_list_or_array): Renamed from copy_list.
15138 (gst_value_free_list_or_array): Renamed from free_list.
15139 (gst_value_collect_list_or_array): Renamed from collect_list.
15140 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15141 (gst_value_list_or_array_peek_pointer): Renamed from
15143 (_gst_value_array_value_table, _gst_value_list_value_table):
15144 Update value table functions.
15145 (gst_value_compare_list_or_array): Renamed from compare_list.
15147 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15150 * gst/gsttaglist.c:
15151 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15152 GstTagList*. Fixes #143472.
15154 * gst/gststructure.h: Clarify what the foreach/map functions can
15155 or can't do to their arguments.
15157 2005-11-18 Wim Taymans <wim@fluendo.com>
15159 * gst/gstclock.c: (gst_clock_set_calibration),
15160 (gst_clock_get_calibration):
15162 Calibration can be set with internal time equal to current
15165 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15171 2005-11-18 Andy Wingo <wingo@pobox.com>
15174 * pkgconfig/gstreamer-net.pc.in:
15175 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15176 * pkgconfig/Makefile.am: Add net pkgconfig files.
15178 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15181 * gst/gstghostpad.c:
15187 2005-11-18 Andy Wingo <wingo@pobox.com>
15189 * gst/net/gstnetclientclock.c: Turn off debugging.
15191 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15192 times connverge somewhat. Can't make a real test.
15194 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15195 integer arithmetic. Return the minimum of the domain, which can be
15196 set as "internal" for gst_clock_set_calibration.
15197 (gst_net_client_clock_observe_times): Call _set_calibration.
15198 (gst_net_client_clock_new): Call _set_calibration instead of
15201 * check/net/gstnetclientclock.c (test_functioning): Use the right
15205 * gst/gstclock.c (gst_clock_get_calibration)
15206 (gst_clock_set_calibration): New functions, obsolete the ones I
15207 added yesterday. Doh. Precision issues mean we have to extrapolate
15208 from a point in the more recent past than 1970.
15209 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15211 (gst_clock_adjust_unlocked): Use the right calibration data.
15213 2005-11-18 Edward Hervey <edward@fluendo.com>
15215 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15216 Also reset the ->current_* values in READY->PAUSED
15218 2005-11-18 Andy Wingo <wingo@pobox.com>
15220 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15221 Whoops, check the right fd. Also add some debugging.
15222 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15223 (do_linear_regression): Add a crapload of debugging. Subtract off
15224 the minimum values from the input series to discard unneeded bits.
15225 Use only int arithmetic. There is still double arithmetic when
15226 calculating the intercept that needs fixing. Return boolean to
15227 indicate success; FALSE would mean the domain or range is too
15228 great. Still needs fixes.
15230 2005-11-18 Wim Taymans <wim@fluendo.com>
15232 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15233 For the current position in stream time, we need to subtract
15236 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15237 Release lock before calling the callback function of async
15240 2005-11-18 Andy Wingo <wingo@pobox.com>
15242 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15243 Port goes all the way to MAXUINT16.
15245 * gst/net/gstnettimeprovider.c: Make the port range the same as
15246 for the kernel: 0 assigns, otherwise ports are less than
15249 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15252 * check/net/gstnetclientclock.c (test_functioning): Add the start
15255 2005-11-18 Wim Taymans <wim@fluendo.com>
15257 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15258 (gst_bin_remove_func), (bin_bus_handler):
15260 Removing a clock provider from a bin, triggers a clock lost message
15261 so that a new clock will be selected.
15262 Adding a clock to a bin triggers a clock provider message.
15263 Make sure we reselect a clock when we received a clock lost message.
15264 Keep a reference to the element that provided the clock.
15266 2005-11-18 Andy Wingo <wingo@pobox.com>
15268 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15269 the clock initially so it produces values around the base time.
15270 (gst_net_client_clock_class_init): Typo fix.
15271 (gst_net_client_clock_thread): Add note on when the socket gets
15274 2005-11-17 Wim Taymans <wim@fluendo.com>
15276 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15277 Free remote and local time arrays.
15279 2005-11-17 Wim Taymans <wim@fluendo.com>
15281 * gst/net/gstnetclientclock.c: (do_linear_regression),
15282 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15283 Fix compilation, uninitialized vars and a forgotten continue.
15285 2005-11-17 Andy Wingo <wingo@pobox.com>
15287 * check/Makefile.am (check_PROGRAMS):
15288 * check/net/gstnetclientclock.c: Add a most minimal test for the
15289 net client clock. More to come later.
15291 * gst/net/gstnet.h:
15292 * gst/net/Makefile.am: Add netclientclock.
15294 * gst/net/gstnetclientclock.h:
15295 * gst/net/gstnetclientclock.c: New files, implement an untested
15296 GstClock that takes its time from a network time provider.
15297 Implements the algorithm in network-clock.scm.
15299 * tests/network-clock.scm (*window-size*): Rename from
15301 * tests/network-clock.scm (network-time):
15302 * tests/network-clock-utils.scm (q-push): Update callers.
15304 2005-11-17 Wim Taymans <wim@fluendo.com>
15306 * gst/gstbin.c: (gst_bin_provide_clock_func),
15307 (gst_bin_sort_iterator_new):
15308 And unref the child too..
15310 2005-11-17 Wim Taymans <wim@fluendo.com>
15312 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15313 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15314 Refactor the sort iterator so it can be used while holding the
15316 Make clock selection select a clock closest to the source.
15318 2005-11-17 Michael Smith <msmith@fluendo.com>
15320 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15321 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15323 Anonymous structs are a gcc (and some other compilers) extension, so
15324 don't use them. Since this is only for ABI-compatibility, and our
15325 API/ABI freeze is over in a few days, this whole thing will only
15326 last a few days, so don't bother trying to think up a meaningful
15327 name for the struct.
15329 2005-11-17 Andy Wingo <wingo@pobox.com>
15331 * gst/gstclock.h (GstClock): Add rate and offset properties,
15332 preserving ABI stability. Add rate/offset accessors. Will file bug
15333 for the freeze break.
15335 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15336 and offset, trying to keep precision and avoiding
15337 underflow/overflow.
15338 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15339 functions. Make gst_clock_set_time_adjust obsolete.
15340 (gst_clock_set_time_adjust): Note that this function is obsolete.
15341 Will file bug soon.
15343 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15344 greppable by using GST_PADDING-1+1.
15346 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15348 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15350 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15351 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15353 * gst/gstpadtemplate.h:
15354 * gst/gstpluginfeature.h:
15355 Don't use c++ style comments in headers (#321638).
15357 2005-11-16 Andy Wingo <wingo@pobox.com>
15359 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15362 * check/net/gstnettimeprovider.c: Check to see that the time
15363 provider actually provides times. Works, yo!
15365 2005-11-16 Wim Taymans <wim@fluendo.com>
15367 * check/Makefile.am:
15370 * check/elements/fakesrc.c: (GST_START_TEST):
15371 Set element to NULL before disposing it.
15373 2005-11-16 Andy Wingo <wingo@pobox.com>
15375 * gst/net/Makefile.am:
15376 * gst/net/gstnet.h:
15377 * gst/net/gstnettimeprovider.c:
15378 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15379 provider, include it from gstnet.h, and add it to the build.
15381 * gst/net/gstnettimepacket.h:
15382 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15383 sending and receiving.
15385 2005-11-16 Wim Taymans <wim@fluendo.com>
15387 * check/Makefile.am:
15388 Enable valgrind check.
15390 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15391 (gst_fake_src_alloc_buffer):
15394 2005-11-16 Wim Taymans <wim@fluendo.com>
15396 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15397 Call parent finalize too.
15399 2005-11-16 Wim Taymans <wim@fluendo.com>
15401 * check/Makefile.am:
15402 Enable valgrind check that should work fine now.
15404 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15405 * gst/gstqueue.c: (gst_queue_init):
15406 Fix memleaks in pad allocation.
15408 2005-11-16 Andy Wingo <wingo@pobox.com>
15410 * gst/net/Makefile.am:
15411 * gst/net/gstnet.h: New part of core to hold network elements and
15412 objects. Put in core because it exposes API that applications want
15413 to use. The library is named libgstnet-tempname right now because
15414 of the existing libgstnet in gst-plugins-base. Solution is
15415 probably to rename the one in plugins-base; will file a bug for
15418 * gst/net/gstnettimeprovider.c:
15419 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15420 get_time call over the network.
15423 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15425 * check/Makefile.am:
15426 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15427 get additions shortly.
15429 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15431 * gst/gstpad.c: (gst_pad_new_from_static_template):
15433 add gst_pad_new_from_static_template functions
15434 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15435 (gst_check_setup_sink_pad):
15436 * gst/elements/gsttee.c: (gst_tee_init):
15439 2005-11-16 Wim Taymans <wim@fluendo.com>
15441 * gst/gstpad.c: (gst_pad_pause_task):
15442 Removed warning, it's not really an error either.
15444 2005-11-16 Wim Taymans <wim@fluendo.com>
15446 * gst/base/gstbasetransform.c:
15447 (gst_base_transform_prepare_output_buf),
15448 (gst_base_transform_event):
15449 Check if the caps are NULL, this can happen if the element
15450 is shutting down and the pad caps are set to NULL.
15452 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15454 * gst/elements/gsttee.c: (gst_tee_init):
15455 fix pad template leak in tee
15457 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15459 * gst/glib-compat.c: (g_value_dup_gst_object):
15460 * gst/glib-compat.h:
15461 * gst/gstpad.c: (gst_pad_set_property):
15462 use gst_object_ref when setting the pad template; this will
15463 trigger the pad template leaks on GLib 2.6 and the slaves
15465 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15467 * gst/glib-compat.c: (gst_flags_get_first_value):
15468 * gst/glib-compat.h:
15469 * gst/gstregistryxml.c:
15470 remove functions copied from GLib 2.6
15472 2005-11-16 Michael Smith <msmith@fluendo.com>
15475 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15476 do, but only breaks with newer valgrind versions. We're not a
15477 valgrind tool, we have no link-time dependencies on libcoregrind.
15479 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15481 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15483 * gst/gstmessage.h:
15486 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15488 * gst/base/gstbasesrc.c: (gst_base_src_init):
15489 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15490 * gst/gstqueue.c: (gst_queue_init):
15491 * gst/gstregistryxml.c: (load_feature):
15492 Revert all these unrefs, they don't even pass make check !
15494 2005-11-15 Johan Dahlin <johan@gnome.org>
15496 * gst/base/gstbasesrc.c: (gst_base_src_init):
15497 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15498 * gst/gstqueue.c: (gst_queue_init):
15499 Free pad templates, fixes a couple of leaks.
15501 2005-11-15 Daniel Fischer <dan at f3c dot com>
15503 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15505 * gst/gstpad.c: (gst_pad_get_property):
15506 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15507 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15510 2005-11-15 Wim Taymans <wim@fluendo.com>
15515 2005-11-15 Andy Wingo <wingo@pobox.com>
15517 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15519 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15520 using GST_CLOCK_TIME_NONE to disable base time management.
15521 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15522 time if it was NONE before.
15523 (gst_pipeline_change_state): Only munge the base time if
15524 stream_time != GST_CLOCK_TIME_NONE.
15526 * check/gst/gstpipeline.c (test_base_time): Punt around the
15527 problem of the probe not being called, because that's not the
15528 issue I'm looking at. Add a check that setting stream_time to NONE
15529 disables base time management.
15531 2005-11-15 Wim Taymans <wim@fluendo.com>
15533 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15534 segment_stop == -1 at startup.
15536 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15537 (gst_base_transform_change_state):
15538 Init segment values at start.
15540 2005-11-15 Wim Taymans <wim@fluendo.com>
15542 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15543 0 segment values are 0 in any format.
15545 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15546 * gst/base/gstbasetransform.h:
15547 Parse newsegment correctly in basetransform
15549 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15550 Sync to clock using updated segment values.
15552 2005-11-15 Andy Wingo <wingo@pobox.com>
15554 * check/gst/gstpipeline.c (test_base_time): Add check that the
15555 base time and stream time are reset correctly.
15557 2005-11-15 Wim Taymans <wim@fluendo.com>
15559 * docs/design/part-TODO.txt:
15560 Some more TODO items.
15562 2005-11-15 Andy Wingo <wingo@pobox.com>
15564 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15565 error if the user selected "no clock" as the clocking method.
15567 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15568 timestamps with live capture.
15570 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15571 is 0 but we are a live source, timestamp the buffers using the
15574 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15576 * docs/gst/gstreamer-sections.txt:
15578 * gst/gstghostpad.c:
15583 2005-11-14 Wim Taymans <wim@fluendo.com>
15586 add suppressions from Wim's Debian machine
15588 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15591 add suppressions from Andy's AMD64 Ubuntu machine
15593 2005-11-14 Andy Wingo <wingo@pobox.com>
15595 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15596 STATE_LOCK not necessary. Fixes #311489.
15598 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15601 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15602 this function is not implemented.
15604 2005-11-14 Julien MOUTTE <julien@moutte.net>
15606 * gst/base/gstbasetransform.c:
15607 (gst_base_transform_prepare_output_buf):
15608 Ref the source pad caps while we need them.
15611 2005-11-11 Wim Taymans <wim@fluendo.com>
15613 * docs/gst/gstreamer-sections.txt:
15614 Added some docs for GstCollectData.
15616 * gst/base/gstadapter.c:
15617 Some small code example fix.
15619 * gst/base/gstcollectpads.c:
15620 * gst/base/gstcollectpads.h:
15621 Document some more.
15623 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15625 * configure.ac: back to HEAD
15627 === release 0.9.5 ===
15629 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15632 releasing 0.9.5, "Bike Lunch Day"
15634 2005-11-11 Wim Taymans <wim@fluendo.com>
15636 * gst/gstbuffer.c: (_gst_buffer_copy):
15639 * gst/gstcaps.c: (gst_caps_is_equal):
15641 Make _is_equal fast in the trivial cases.
15643 * gst/gstminiobject.c:
15644 * gst/gstminiobject.h:
15645 More docs. Spifify .h file.
15650 2005-11-11 Wim Taymans <wim@fluendo.com>
15652 * gst/base/gstbasetransform.c:
15653 (gst_base_transform_prepare_output_buf),
15654 (gst_base_transform_handle_buffer):
15656 If we're processing a buffer and need to allocate an output
15657 buffer, we cannot accept a format change. If we did get a
15658 format change, we have to alloc a buffer ourselves of the
15661 2005-11-11 Wim Taymans <wim@fluendo.com>
15663 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15664 While checking the flag for reentrancy in the gstcaps function
15665 is nice to detect recursive invocations, it also makes it
15666 impossible to call getcaps from multiple threads, which must be
15667 possible. So, checking for recursive calls has to go.
15669 2005-11-11 Michael Smith <msmith@fluendo.com>
15671 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15672 Don't sync on buffers that fall partially outside our current
15673 segment. Prevents an assertion failure/abort playing some files.
15675 2005-11-10 Andy Wingo <wingo@pobox.com>
15677 * check/gst/gstbin.c (test_message_state_changed_children): Style
15680 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15681 gst_bus_poll with the signal watch. Ensures that poll and a signal
15682 watch see the same messages.
15684 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15685 a poll and a watch at the same time get the same messages.
15687 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15689 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15690 * gst/gstcaps.c: (gst_caps_intersect):
15691 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15692 and it's not needed.
15694 2005-11-10 Wim Taymans <wim@fluendo.com>
15696 * docs/design/part-TODO.txt:
15699 2005-11-10 Wim Taymans <wim@fluendo.com>
15701 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15702 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15703 (gst_base_src_do_sync), (gst_base_src_get_range):
15704 Implement clock sync in base class.
15706 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15708 patch by: Tim-Philipp Müller <tim at centricular dot net>
15710 * gst/gststructure.c: (gst_structure_parse_field),
15711 (gst_structure_from_string):
15712 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15713 so that gst_parse_launch() can deal with spaces in filtered link
15714 caps (fixes #164479)
15715 * check/gst/capslist.h:
15716 * check/gst/gststructure.c: (GST_START_TEST):
15717 add unit tests for this change
15719 2005-11-10 Wim Taymans <wim@fluendo.com>
15721 * docs/gst/gstreamer-sections.txt:
15722 * gst/gstelement.c:
15723 * gst/gstelement.h:
15724 Fix docs, move some STATE macros to private.
15726 2005-11-10 Wim Taymans <wim@fluendo.com>
15728 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15729 Added check for bug #317341
15733 Some more spiffifying.
15735 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15736 Call peer linkfunction if we are a source pad. Totally fixes
15740 Update docs, source pads should call the peer linkfunction
15741 so they can atomically perform the pad link.
15743 2005-11-09 Wim Taymans <wim@fluendo.com>
15747 Uber-spiffy-spiffify some more.
15749 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15751 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15752 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15753 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15754 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15755 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15756 * gst/gstpad.c: (gst_pad_init):
15757 Use GST_DEBUG_FUNCPTR() more extensively.
15759 2005-11-09 Wim Taymans <wim@fluendo.com>
15761 * gst/gstobject.c: (gst_object_class_init):
15763 Documentation fixes.
15765 2005-11-09 Edward Hervey <edward@fluendo.com>
15767 * gst/gsttypefindfactory.c:
15770 2005-11-09 Edward Hervey <edward@fluendo.com>
15772 * gst/base/gsttypefindhelper.c:
15773 * gst/gsttypefind.c:
15774 * gst/gsttypefind.h:
15777 2005-11-09 Wim Taymans <wim@fluendo.com>
15779 * gst/gstiterator.c:
15786 2005-11-09 Wim Taymans <wim@fluendo.com>
15792 2005-11-09 Wim Taymans <wim@fluendo.com>
15794 * docs/gst/gstreamer-sections.txt:
15795 Moved the message async delivery private lock and cond
15796 to the private section.
15798 * gst/gstmessage.c:
15799 * gst/gstmessage.h:
15802 2005-11-09 Edward Hervey <edward@fluendo.com>
15804 * docs/gst/gstreamer-sections.txt:
15807 Document GstURIHandler
15809 2005-11-09 Wim Taymans <wim@fluendo.com>
15811 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15812 (gst_iterator_find_custom):
15813 * gst/gstiterator.h:
15816 2005-11-09 Wim Taymans <wim@fluendo.com>
15819 Document another field.
15821 * gst/gststructure.c:
15822 * gst/gststructure.h:
15825 2005-11-09 Wim Taymans <wim@fluendo.com>
15828 Documented structs.
15830 2005-11-09 Wim Taymans <wim@fluendo.com>
15832 * docs/gst/gstreamer-sections.txt:
15833 Added some new macros.
15840 2005-11-09 Wim Taymans <wim@fluendo.com>
15842 * docs/design/part-TODO.txt:
15843 Some more items for the TODO
15849 2005-11-09 Andy Wingo <wingo@pobox.com>
15851 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15852 to work on something else now tho...
15854 * gst/base/gstadapter.c: More adapter docs.
15856 * gst/elements/gstfilesink.c (gst_file_sink_start)
15857 (gst_file_sink_stop): New functions, replace the state change
15859 (gst_file_sink_class_init): Hook up the start and stop functions.
15860 (gst_file_sink_base_init): Don't set the state change handler any
15861 more. It was a bit ugly too, being set from here...
15862 (gst_file_sink_get_property, gst_file_sink_set_property):
15864 (gst_file_sink_set_location): More robust check that doesn't call
15865 GST_STATE. Ugggggg.
15867 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15869 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15870 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15872 2005-11-08 Wim Taymans <wim@fluendo.com>
15874 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15875 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15876 (gst_base_sink_chain), (gst_base_sink_change_state):
15877 * gst/base/gstbasesink.h:
15878 * gst/base/gstbasesrc.h:
15879 * gst/gstelement.h:
15881 Avoid excessive typechecking in macros.
15883 * gst/gstminiobject.c: (gst_mini_object_get_type),
15884 (gst_mini_object_init), (gst_mini_object_new),
15885 (gst_mini_object_free):
15886 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15887 (gst_object_finalize):
15888 Remove cruft code, optimize alloc_trace.
15890 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15892 * docs/faq/gst-uninstalled:
15893 fix up PS1 for systems that try to reset it
15895 2005-11-07 Wim Taymans <wim@fluendo.com>
15897 * gst/base/gstbasesrc.c: (gst_base_src_init),
15898 (gst_base_src_get_range):
15899 Set the segment_end to -1 initially. Fixed typefind.
15901 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15903 * gst/base/gstadapter.c:
15904 Debug category should be 'adapter', not 'GstAdapter'.
15906 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15907 (gst_collectpads_class_init), (gst_collectpads_init),
15908 (gst_collectpads_peek), (gst_collectpads_pop),
15909 (gst_collectpads_event), (gst_collectpads_chain):
15910 Add debug category and some debugging output. Use boilerplate
15911 macros. Remove some extraneous words from docs.
15913 2005-11-05 Andy Wingo <wingo@pobox.com>
15915 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15918 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15920 * docs/gst/gstreamer-sections.txt:
15923 * gst/gstminiobject.h:
15928 2005-11-04 Wim Taymans <wim@fluendo.com>
15930 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15931 Small update to stop at the configured segment_end
15934 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15936 * gst/gstregistry.c:
15937 * gst/gstregistry.h:
15940 2005-11-04 Edward Hervey <edward@fluendo.com>
15942 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15943 Check if we are doing a segment seek and have arrived at the
15944 end of that segment.
15946 2005-11-04 Wim Taymans <wim@fluendo.com>
15948 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15949 Don't leak a mutex unlock in case of an error.
15954 2005-11-04 Wim Taymans <wim@fluendo.com>
15956 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15958 Get the context to wake up only once.
15960 2005-11-03 Wim Taymans <wim@fluendo.com>
15962 * check/states/sinks.c: (GST_START_TEST):
15963 Uncomment fixed check.
15965 * docs/design/part-TODO.txt:
15968 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15969 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15970 (gst_base_sink_get_position):
15971 If we are going to PLAYING, post the right pending state
15972 when we post the intermediate paused message.
15974 * gst/gstelement.c: (gst_element_continue_state),
15975 (gst_element_set_state_func), (gst_element_change_state):
15976 Don't post state changes that were between the same state
15977 and were not ASYNC.
15979 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15981 * docs/gst/gstreamer-sections.txt:
15984 * gst/gstminiobject.h:
15987 more docs and doc style fixes
15989 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15991 * docs/gst/gstreamer-sections.txt:
15992 * gst/gstelement.c:
15993 * gst/gstminiobject.c:
15996 2005-11-03 Andy Wingo <wingo@pobox.com>
15998 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15999 state-changed messages actually have the right order and the right
16002 2005-11-03 Wim Taymans <wim@fluendo.com>
16004 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16005 Added some more checks. Specifically the case where NO_PREROLL
16006 elements are in the pipeline.
16008 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16009 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16010 (gst_base_sink_get_position):
16011 Post READY->PAUSED state change messages too.
16012 Fix bug where VOID was posted as pending state...
16014 * gst/gstbin.c: (gst_bin_recalc_state):
16015 use _element_continue_state() to continue the state change.
16017 * gst/gstelement.c: (gst_element_continue_state),
16018 (gst_element_commit_state), (gst_element_set_state_func),
16019 (gst_element_change_state), (gst_element_change_state_func):
16020 Lots of state change cleanups, assign the STATE_RETURN in
16021 a new continue_state() function that also propagates the
16022 last return value from a state change to the app.
16023 Update some debug statements with proper category.
16025 2005-11-03 Wim Taymans <wim@fluendo.com>
16027 * docs/design/part-events.txt:
16028 * docs/design/part-gstpipeline.txt:
16029 * docs/design/part-messages.txt:
16030 * docs/design/part-overview.txt:
16031 * docs/design/part-seeking.txt:
16032 * docs/design/part-states.txt:
16033 * docs/design/part-trickmodes.txt:
16034 * docs/manual/advanced-position.xml:
16035 Small docs updates.
16038 People think !! is ugly, this looks better.
16040 * gst/gstpad.c: (gst_pad_set_blocked_async):
16041 Remove !! since it's fixed elsewhere now.
16043 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16045 * gst/gstminiobject.h:
16047 Add !! to _FLAG_IS_SET macros to make the result boolean.
16049 2005-11-03 Edward Hervey <edward@fluendo.com>
16051 * gst/gstpad.c: (gst_pad_set_blocked_async):
16052 comparing a flag and a gboolean rarely returns coherent results...
16053 Added two characters (!!) to make that work correctly.
16055 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16057 * gst/gstbus.c: (gst_bus_class_init):
16060 * gst/gstqueue.c: (gst_queue_loop):
16061 Don't assume a miniobject that isn't a buffer is an
16062 event (it could be that there is a refcounting
16063 problem somewhere and the pointer is stale and
16064 refers to an already destroyed miniobject).
16066 2005-11-03 Julien MOUTTE <julien@moutte.net>
16068 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16070 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16072 * docs/manual/advanced-position.xml:
16073 Update seek example and explanations to current 0.9 API.
16075 * gst/elements/gsttypefindelement.c:
16076 (gst_type_find_element_activate):
16077 Remove FIXME comment now that the found caps
16080 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16082 * gst/gstregistryxml.c: (load_feature):
16083 Add another GST_STR_NULL instance
16085 2005-11-02 Edward Hervey <edward@fluendo.com>
16087 * gst/gstpad.c: (handle_pad_block):
16088 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16090 2005-11-02 Wim Taymans <wim@fluendo.com>
16095 * gst/gstelement.c: (gst_element_commit_state):
16096 Remove unused value.
16098 * gst/gstiterator.c:
16099 Mention that the returned element is reffed in the docs.
16101 2005-11-02 Wim Taymans <wim@fluendo.com>
16103 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16104 (gst_pad_push), (gst_pad_push_event):
16105 Unlock blocked pads when they are flushed.
16107 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16110 * docs/gst/gstreamer-sections.txt:
16113 * gst/gstregistry.c: (gst_registry_scan_path_level):
16114 fix for a nasty little missed situation where an installed plug-in
16115 which was in the cache did not get overridden by an uninstalled one
16116 which was earlier in the plugin path because the newly created plugin
16117 for the uninstalled one (not in the registry) didn't get its
16118 ->registered set to TRUE
16120 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16122 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16123 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16124 (gst_collectpads_is_active), (gst_collectpads_collect),
16125 (gst_collectpads_collect_range), (gst_collectpads_start),
16126 (gst_collectpads_stop), (gst_collectpads_peek),
16127 (gst_collectpads_pop), (gst_collectpads_available),
16128 (gst_collectpads_read), (gst_collectpads_flush):
16129 Guard public API with assertions.
16132 Fix docs for gst_pad_set_link_function().
16134 2005-11-02 Johan Dahlin <johan@gnome.org>
16136 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16137 Unref found_caps after we used it.
16139 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16141 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16142 Don't try to ref NULL.
16144 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16146 * win32/common/config.h.in:
16147 provide a GST_FUNCTION that just gives a string for now
16149 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16151 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16152 (gst_object_flags_get_type), (register_gst_bin_flags),
16153 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16154 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16155 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16156 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16157 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16158 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16159 (gst_clock_flags_get_type), (register_gst_state),
16160 (gst_state_get_type), (register_gst_state_change_return),
16161 (gst_state_change_return_get_type), (register_gst_state_change),
16162 (gst_state_change_get_type), (register_gst_element_flags),
16163 (gst_element_flags_get_type), (register_gst_core_error),
16164 (gst_core_error_get_type), (register_gst_library_error),
16165 (gst_library_error_get_type), (register_gst_resource_error),
16166 (gst_resource_error_get_type), (register_gst_stream_error),
16167 (gst_stream_error_get_type), (register_gst_event_type),
16168 (gst_event_type_get_type), (register_gst_seek_type),
16169 (gst_seek_type_get_type), (register_gst_seek_flags),
16170 (gst_seek_flags_get_type), (register_gst_format),
16171 (gst_format_get_type), (register_gst_index_certainty),
16172 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16173 (gst_index_entry_type_get_type),
16174 (register_gst_index_lookup_method),
16175 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16176 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16177 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16178 (gst_index_flags_get_type), (register_gst_debug_level),
16179 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16180 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16181 (gst_iterator_result_get_type), (register_gst_iterator_item),
16182 (gst_iterator_item_get_type), (register_gst_message_type),
16183 (gst_message_type_get_type), (register_gst_mini_object_flags),
16184 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16185 (gst_pad_link_return_get_type), (register_gst_flow_return),
16186 (gst_flow_return_get_type), (register_gst_activate_mode),
16187 (gst_activate_mode_get_type), (register_gst_pad_direction),
16188 (gst_pad_direction_get_type), (register_gst_pad_flags),
16189 (gst_pad_flags_get_type), (register_gst_pad_presence),
16190 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16191 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16192 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16193 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16194 (gst_plugin_flags_get_type), (register_gst_rank),
16195 (gst_rank_get_type), (register_gst_query_type),
16196 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16197 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16198 (gst_tag_flag_get_type), (register_gst_task_state),
16199 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16200 (gst_alloc_trace_flags_get_type),
16201 (register_gst_type_find_probability),
16202 (gst_type_find_probability_get_type), (register_gst_uri_type),
16203 (gst_uri_type_get_type), (register_gst_parse_error),
16204 (gst_parse_error_get_type):
16205 * win32/common/gstversion.h:
16206 update win32 copies
16208 2005-11-01 Luca Ognibene <luogni@tin.it>
16211 fix docs. popt is dead, long live GOption.
16213 2005-10-31 Wim Taymans <wim@fluendo.com>
16218 2005-10-31 Andy Wingo <wingo@pobox.com>
16222 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16224 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16225 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16226 the possibility of deadlocks here if code calling notify() or
16227 set() has a lock that can be taken in another notify handler (ABBA
16228 with class lock and e.g. python GIL state lock).
16230 2005-10-28 Julien MOUTTE <julien@moutte.net>
16232 * gst/gstbus.c: Doc updates.
16234 2005-10-28 Wim Taymans <wim@fluendo.com>
16236 * docs/design/part-TODO.txt:
16237 * gst/gstiterator.c:
16238 * gst/gstsystemclock.c:
16239 * gst/gstsystemclock.h:
16242 2005-10-28 Edward Hervey <edward@fluendo.com>
16244 * docs/gst/gstreamer-docs.sgml:
16245 * docs/gst/gstreamer-sections.txt:
16246 the GstURIType documentation page is private, it only defines GstURIType
16247 which should be defined in the GstURIHandler page
16249 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16251 * gst/gstbin.c: (gst_bin_class_init):
16254 Documentation updates.
16256 2005-10-28 Wim Taymans <wim@fluendo.com>
16258 * docs/gst/gstreamer-sections.txt:
16261 Documented the clocks.
16263 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16265 * docs/gst/gstreamer-sections.txt:
16266 move some macros to private sections
16267 * gst/gstminiobject.c:
16268 * gst/gstminiobject.h:
16269 add descriptions provided by ds and some more
16271 mark macro as to be removed
16273 2005-10-28 Wim Taymans <wim@fluendo.com>
16275 * docs/design/part-TODO.txt:
16276 Add an item to TODO.
16278 * gst/gstiterator.c: (gst_iterator_fold),
16279 (gst_iterator_find_custom):
16280 * gst/gstiterator.h:
16283 2005-10-28 Wim Taymans <wim@fluendo.com>
16285 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16286 (gst_base_transform_init):
16289 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16290 An EOS event marks the queue as completely filled.
16292 2005-10-27 Wim Taymans <wim@fluendo.com>
16294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16295 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16296 Some more debugging.
16298 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16299 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16300 (gst_base_transform_event), (gst_base_transform_getrange),
16301 (gst_base_transform_chain):
16302 * gst/base/gstbasetransform.h:
16304 Protect transform and concurrent buffer alloc with a new lock.
16305 Try not to break ABI/API.
16307 2005-10-27 Wim Taymans <wim@fluendo.com>
16309 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16310 (gst_base_src_init), (gst_base_src_query),
16311 (gst_base_src_default_newsegment),
16312 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16313 (gst_base_src_send_event), (gst_base_src_event_handler),
16314 (gst_base_src_pad_get_range), (gst_base_src_loop),
16315 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16316 (gst_base_src_start), (gst_base_src_deactivate),
16317 (gst_base_src_activate_push), (gst_base_src_change_state):
16318 Move some stuff around and cleanup things.
16320 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16322 * gst/base/gstbasesrc.c: (gst_base_src_query):
16323 Add missing break statements.
16325 2005-10-27 Wim Taymans <wim@fluendo.com>
16327 * check/gst/gstbin.c: (GST_START_TEST):
16328 An extra refcount is taken in basesrc.
16330 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16331 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16332 (gst_base_src_loop):
16333 Small cleanups, check for flushing after being unlocked from the
16334 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16335 Don't send out EOS when going to READY.
16337 2005-10-27 Wim Taymans <wim@fluendo.com>
16339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16340 (gst_base_sink_get_position):
16343 * gst/gstbin.c: (message_check), (bin_replace_message),
16344 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16345 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16346 (bin_query_duration_init), (bin_query_duration_fold),
16347 (bin_query_duration_done), (bin_query_generic_fold),
16349 * tools/gst-launch.c: (main):
16352 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16354 * examples/controller/audio-example.c: (main):
16355 * examples/queue/queue.c: (event_loop):
16356 * gst/base/gstbasetransform.h:
16357 * gst/gstelement.c: (gst_element_send_event):
16359 * gst/gstpad.c: (gst_pad_send_event):
16362 changing log priority in error situations
16364 2005-10-25 Wim Taymans <wim@fluendo.com>
16366 * gst/gstbin.c: (message_check), (bin_replace_message),
16367 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16368 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16369 (bin_query_duration_init), (bin_query_duration_fold),
16370 (bin_query_duration_done), (bin_query_generic_fold),
16372 Some doc and debug updates.
16373 Cache previously requested query DURATION for speed. invalidate
16374 cached duration if element posts a DURATION message.
16376 2005-10-25 Wim Taymans <wim@fluendo.com>
16378 * docs/design/part-TODO.txt:
16381 * gst/gstbin.c: (message_check), (bin_replace_message),
16382 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16383 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16384 (bin_query_duration_init), (bin_query_duration_fold),
16385 (bin_query_duration_done), (bin_query_generic_fold),
16387 Handle SEGMENT_START/DONE messages correctly.
16388 More evolved query algorithm that handles duration queries
16391 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16392 (gst_element_get_state_func), (gst_element_abort_state),
16393 (gst_element_commit_state), (gst_element_lost_state):
16394 Some more debugging.
16396 * gst/gstmessage.h:
16399 2005-10-25 Wim Taymans <wim@fluendo.com>
16401 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16402 Don't use invalid stream_time.
16404 * gst/gstevent.c: (gst_event_new_newsegment):
16405 stream_time in newsegment cannot be undefined.
16407 2005-10-24 Wim Taymans <wim@fluendo.com>
16412 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16414 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16416 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16418 * docs/libs/tmpl/gstdparam.sgml:
16419 * docs/libs/tmpl/gstdplinint.sgml:
16420 * docs/libs/tmpl/gstdpman.sgml:
16421 * docs/libs/tmpl/gstdpsmooth.sgml:
16422 * docs/libs/tmpl/gstunitconvert.sgml:
16425 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16430 === release 0.9.4 ===
16432 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16435 releasing 0.9.4, "Tyrannosaurus Rex"
16437 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16439 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16440 (gst_file_sink_get_current_offset):
16441 Use fseeko() and ftello() if available. When falling back on
16442 lseek() to get the current offset, fflush() first to make sure
16443 everything is up-to-date and we get the right offset.
16445 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16447 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16448 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16449 * gst/gsterror.c: (_gst_stream_errors_init):
16451 * gst/gstqueue.c: (gst_queue_loop):
16453 remove prematurely added error category and clean up the instances
16455 2005-10-21 Wim Taymans <wim@fluendo.com>
16457 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16458 (gst_base_sink_get_position), (gst_base_sink_query),
16459 (gst_base_sink_change_state):
16460 Simply set the right flag when going to playing, that's all
16461 we need to do instead of calling a function inside the object
16462 lock (that could take the lock as well and deadlock)
16464 2005-10-21 Wim Taymans <wim@fluendo.com>
16466 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16467 (gst_base_src_loop):
16468 Don't warn, the peer element knows what to do best when
16469 the seek failed, it might try something else.
16471 2005-10-21 Wim Taymans <wim@fluendo.com>
16473 * gst/base/gstbasesrc.c: (gst_base_src_init),
16474 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16477 2005-10-21 Wim Taymans <wim@fluendo.com>
16479 * docs/design/part-segments.txt:
16482 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16483 Correctly set caps, even on the subbufer.
16485 2005-10-21 Wim Taymans <wim@fluendo.com>
16487 * docs/gst/gstreamer-docs.sgml:
16488 * docs/gst/gstreamer-sections.txt:
16489 * gst/gstelement.h:
16492 * gst/gstmessage.h:
16495 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16499 And 2% more doc coverage.
16501 2005-10-21 Andy Wingo <wingo@pobox.com>
16503 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16504 position reporting.
16506 2005-10-20 Wim Taymans <wim@fluendo.com>
16508 * gst/gsterror.c: (gst_error_get_message):
16511 * gst/gststructure.c:
16516 2005-10-20 Wim Taymans <wim@fluendo.com>
16521 Another 1% more coverage.
16523 2005-10-20 Wim Taymans <wim@fluendo.com>
16525 * docs/gst/gstreamer-sections.txt:
16526 * gst/gstelement.c: (gst_element_get_state_func),
16527 (gst_element_abort_state), (gst_element_commit_state),
16528 (gst_element_lost_state):
16530 * gst/gstquery.c: (gst_query_set_position),
16531 (gst_query_parse_position), (gst_query_set_duration),
16532 (gst_query_parse_duration), (gst_query_new_convert):
16534 Yay! 1% more docs coverage.
16536 2005-10-20 Wim Taymans <wim@fluendo.com>
16539 * gst/gstquery.c: (gst_query_set_position),
16540 (gst_query_parse_position), (gst_query_set_duration),
16541 (gst_query_parse_duration), (gst_query_new_convert):
16543 * gst/gstutils.c: (gst_element_query_convert):
16545 Docs and consistency fixes.
16547 2005-10-20 Wim Taymans <wim@fluendo.com>
16553 2005-10-20 Wim Taymans <wim@fluendo.com>
16555 * gst/gstbin.c: (message_check), (bin_replace_message),
16556 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16557 (update_degree), (gst_bin_sort_iterator_next),
16558 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16559 Reworked the message handling a bit, cache the messages instead of
16560 only the senders. alows us to do more in the future.
16562 2005-10-20 Wim Taymans <wim@fluendo.com>
16564 * docs/design/part-TODO.txt:
16567 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16568 (gst_base_sink_query):
16569 Don't use clock time to report position when in EOS.
16571 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16573 * tools/gst-inspect.c: (print_interfaces),
16574 (print_element_properties_info), (print_element_info):
16575 Fix interface output with gst-inspect -a; don't print
16576 newlines after double/float properties.
16578 2005-10-20 Wim Taymans <wim@fluendo.com>
16580 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16581 (gst_base_sink_query):
16582 Speed up current position calculation.
16584 * gst/base/gstbasesrc.c: (gst_base_src_query),
16585 (gst_base_src_default_newsegment):
16586 Correctly set stream position in newsegment.
16588 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16589 (update_degree), (gst_bin_sort_iterator_next),
16590 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16591 * gst/gstmessage.c: (gst_message_new_custom):
16592 Clean up debugging info
16594 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16595 (gst_queue_loop), (gst_queue_handle_src_query):
16598 2005-10-19 Wim Taymans <wim@fluendo.com>
16600 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16601 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16602 Fix query handling again.
16604 2005-10-19 Wim Taymans <wim@fluendo.com>
16606 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16607 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16608 * gst/base/gstbasesrc.c: (gst_base_src_query):
16609 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16610 * gst/elements/gsttypefindelement.c:
16611 (gst_type_find_handle_src_query), (find_element_get_length),
16612 (gst_type_find_element_activate):
16615 * gst/gstquery.c: (gst_query_new_position),
16616 (gst_query_set_position), (gst_query_parse_position),
16617 (gst_query_new_duration), (gst_query_set_duration),
16618 (gst_query_parse_duration), (gst_query_set_segment),
16619 (gst_query_parse_segment):
16621 Bundling query position/duration is not a good idea since duration
16622 does not change much and we don't want to recalculate it for every
16623 position query, so they are separated again..
16624 Base value in segment query is not needed.
16626 * gst/gstqueue.c: (gst_queue_handle_src_query):
16627 * gst/gstutils.c: (gst_element_query_position),
16628 (gst_element_query_duration), (gst_pad_query_position),
16629 (gst_pad_query_duration):
16631 Updates for query API change.
16632 Added some docs here and there.
16634 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16636 * check/gst/gstbin.c: (GST_START_TEST):
16637 * check/gst/gstghostpad.c: (GST_START_TEST):
16638 * check/pipelines/cleanup.c: (GST_START_TEST):
16639 wait on thread to die so we can check refcount correctly
16641 2005-10-18 Wim Taymans <wim@fluendo.com>
16643 * check/pipelines/stress.c: (GST_START_TEST):
16644 Make check a little more time consuming.
16646 2005-10-18 Wim Taymans <wim@fluendo.com>
16648 * check/Makefile.am:
16649 * check/pipelines/stress.c: (GST_START_TEST),
16650 (simple_launch_lines_suite), (main):
16651 Small state change torture test.
16653 * docs/design/part-states.txt:
16654 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16655 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16656 (gst_base_sink_change_state):
16657 Never take state lock from streaming thread, clean up ugly
16658 hacks. Unfortunatly core does not yet support nice ways to
16659 async commit state.
16661 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16663 Start state recalc if a STATE_DIRTY message is posted, but only
16664 on the toplevel bin.
16666 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16667 (gst_element_get_state_func), (gst_element_abort_state),
16668 (gst_element_commit_state), (gst_element_lost_state),
16669 (gst_element_set_state_func), (gst_element_change_state):
16670 * gst/gstelement.h:
16671 State variables are now protected with the LOCK, the state
16672 lock is only used to serialize _set_state().
16674 2005-10-18 Wim Taymans <wim@fluendo.com>
16676 * check/gst/gstbin.c: (GST_START_TEST):
16677 * check/gst/gstmessage.c: (GST_START_TEST):
16678 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16679 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16681 * gst/gstelement.c: (gst_element_abort_state),
16682 (gst_element_commit_state), (gst_element_lost_state):
16683 * gst/gstmessage.c: (gst_message_new_state_changed),
16684 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16685 (gst_message_new_segment_done), (gst_message_new_duration),
16686 (gst_message_parse_state_changed),
16687 (gst_message_parse_segment_start),
16688 (gst_message_parse_segment_done), (gst_message_parse_duration):
16689 * gst/gstmessage.h:
16690 * tools/gst-launch.c: (event_loop):
16691 Seriously, this is better than a previous commit as we only need
16692 to notify the fact that an element changed state in a streaming
16693 thread, marking the state of the parents dirty, hence the
16694 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16697 2005-10-18 Wim Taymans <wim@fluendo.com>
16699 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16700 (gst_bin_recalc_func):
16701 * gst/gstelement.c: (gst_element_set_clock),
16702 (gst_element_abort_state), (gst_element_lost_state):
16703 Cleanups, prepare for state change fixes.
16705 2005-10-18 Wim Taymans <wim@fluendo.com>
16708 * gst/gstelement.c: (gst_element_class_init),
16709 (gst_element_set_state), (gst_element_set_state_func):
16710 * gst/gstelement.h:
16711 Pending ABI changes.
16712 GThreadPool in GstBinClass to monitor async state changes.
16713 state_cookie in GstElement to detect concurrent gst/set state.
16714 set_state is now virtual too in case a very complicated element
16715 has to be constructed.
16717 2005-10-18 Wim Taymans <wim@fluendo.com>
16719 * check/gst/gstbin.c: (GST_START_TEST):
16720 * check/gst/gstmessage.c: (GST_START_TEST):
16721 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16722 * gst/gstbin.c: (bin_bus_handler):
16723 * gst/gstelement.c: (gst_element_commit_state),
16724 (gst_element_lost_state):
16725 * gst/gstmessage.c: (gst_message_new_state_changed),
16726 (gst_message_new_segment_start), (gst_message_new_segment_done),
16727 (gst_message_new_duration), (gst_message_parse_state_changed),
16728 (gst_message_parse_segment_start),
16729 (gst_message_parse_segment_done), (gst_message_parse_duration):
16730 * gst/gstmessage.h:
16731 * tools/gst-launch.c: (event_loop):
16732 Make messages future proof.
16733 state-change gets a flag if it was a message comming from the
16735 segment-start/stop can also be specified in other formats.
16736 A message to notify an app that a pipeline changed playback
16738 Also fix a GstMessage leak in -launch
16740 2005-10-18 Andy Wingo <wingo@pobox.com>
16742 * gst/gstelement.c (gst_element_dispose): More helpful message.
16744 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16746 reviewed by: <delete if not using a buddy>
16748 * common/gtk-doc.mak:
16750 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16752 * gst/gstregistry.c: (gst_registry_scan_path_level):
16753 unref a plug-in we get that was already initialized
16755 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16757 * docs/gst/gstreamer-sections.txt:
16758 * docs/libs/gstreamer-libs-sections.txt:
16759 * gst/gstelement.h:
16760 add new api entries
16761 hide internal macro
16763 2005-10-17 Andy Wingo <wingo@pobox.com>
16765 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16768 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16770 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16772 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16773 (gst_element_get_state_func): Better debug message.
16774 (gst_element_commit_state): s/INFO/DEBUG/.
16775 (gst_element_lost_state, gst_element_change_state):
16777 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16778 (gst_message_new_custom): s/INFO/LOG/.
16780 2005-10-17 Michael Smith <msmith@fluendo.com>
16782 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16783 Check if end time is valid using end time, not start time.
16785 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16787 * check/gst-libs/controller.c: (GST_START_TEST),
16788 (gst_controller_suite):
16789 * libs/gst/controller/gstcontroller.c:
16790 (gst_controlled_property_set_interpolation_mode):
16791 * libs/gst/controller/gstcontroller.h:
16792 * libs/gst/controller/gstinterpolation.c:
16793 * testsuite/controller/.cvsignore:
16794 * testsuite/controller/Makefile.am:
16795 * testsuite/controller/interpolator.c:
16796 merge controller testsuites
16798 remove mem-chunk from docs
16800 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16802 * gst/gstmemchunk.c:
16803 * gst/gstmemchunk.h:
16804 * gst/gsttrashstack.c:
16805 * gst/gsttrashstack.h:
16806 out. get out. you're fired. to the Attic !
16808 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16810 * gst/gstcaps.c: (gst_caps_intersect):
16811 fix signedness issues in a (hopefully) correct way
16812 * gst/gstelement.c: (gst_element_pads_activate):
16814 * gst/gstobject.c: (gst_object_set_parent):
16817 2005-10-17 Julien MOUTTE <julien@moutte.net>
16819 * gst/gstvalue.h: Fix prototypes.
16821 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16823 * docs/gst/gstreamer-sections.txt:
16824 * gst/gst.c: (gst_version_string):
16826 * gst/gstversion.h.in:
16827 * win32/common/libgstreamer.def:
16828 add gst_version_string ()
16830 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16834 * gst/gst.c: (init_post):
16835 * win32/common/config.h.in:
16837 * gst/gstcaps.c: (gst_caps_intersect):
16838 use gint64, the range could be bigger than a guint
16840 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16843 document potential problem in 2038
16845 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16847 * gst/gstcaps.c: (gst_caps_intersect):
16848 Fix guint j diving under 0
16850 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16853 * win32/common/config.h:
16854 * win32/common/config.h.in:
16855 check for process.h, declares getpid() on Windows
16857 include process.h if we have it
16858 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16859 * gst/gstmemchunk.h:
16860 fix signedness issues
16861 * win32/common/libgstreamer.def:
16864 2005-10-16 Julien MOUTTE <julien@moutte.net>
16866 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16867 fix. Because of unsigned ints, caps intersection was going nuts and
16868 trying to access structures with G_MAXUINT index. That fixes
16869 videotestsrc ! ffmpegcolorspace ! fakesink
16870 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16873 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16876 use the gettext macro
16877 * gst/elements/gstelements.c:
16879 * gst/indexers/gstindexers.c:
16880 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16881 * win32/common/config.h:
16883 * win32/common/config.h.in:
16884 add the template to generate config.h
16885 * win32/common/gstenumtypes.c:
16886 * win32/common/gstversion.h:
16889 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16891 * gst/gst.c: (gst_version):
16892 * gst/gstversion.h.in:
16895 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16898 Oops, add missing closing bracket.
16900 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16903 use common m4's for argument checking
16905 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16907 * docs/gst/gstreamer-sections.txt:
16909 Add GST_EVENT_TYPE_NAME() macro.
16911 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16914 * gst/gstpluginfeature.c:
16916 privatize more symbols
16918 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16921 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16922 everything that uses GStreamer API should have the includes
16924 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16926 * docs/gst/gstreamer-sections.txt:
16927 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16929 give each value a _get_type, removes the DATA exports
16931 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16935 remove _gst_registry_auto_load, not used anymore
16936 * gst/gstbin.c: (gst_bin_get_type):
16938 * gst/gstelement.c: (gst_element_get_type):
16939 * gst/gstelement.h:
16940 * gst/gstobject.c: (gst_object_get_type):
16942 * gst/gstpad.c: (gst_pad_get_type):
16944 make _get_type functions similar, fixes data export from library
16946 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16949 correctly make conditionals
16950 * gst/elements/Makefile.am:
16951 * gst/elements/gstelements.c:
16952 fix typo causing fdsrc not to build
16954 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16956 * testsuite/Makefile.am:
16957 * testsuite/bytestream/.cvsignore:
16958 * testsuite/bytestream/Makefile.am:
16959 * testsuite/bytestream/filepadsink.c:
16960 * testsuite/bytestream/gstbstest.c:
16961 * testsuite/bytestream/test1.c:
16962 * testsuite/bytestream/testfile1:
16963 * testsuite/caps/normalisation.c:
16964 * testsuite/caps/random.c: (main):
16965 * testsuite/cleanup/.cvsignore:
16966 * testsuite/cleanup/Makefile.am:
16967 * testsuite/cleanup/cleanup1.c:
16968 * testsuite/cleanup/cleanup2.c:
16969 * testsuite/cleanup/cleanup3.c:
16970 * testsuite/cleanup/cleanup4.c:
16971 * testsuite/cleanup/cleanup5.c:
16972 * testsuite/controller/interpolator.c:
16973 * testsuite/debug/printf_extension.c: (main):
16974 * testsuite/elements/tee.c:
16975 * testsuite/negotiation/.cvsignore:
16976 * testsuite/negotiation/Makefile.am:
16977 * testsuite/negotiation/pad_link.c:
16978 * testsuite/pad/Makefile.am:
16979 * testsuite/pad/chainnopull.c:
16980 * testsuite/pad/getnopush.c:
16981 * testsuite/pad/link.c:
16982 * testsuite/refcounting/sched.c: (create_pipeline):
16983 * testsuite/registry/Makefile.am:
16984 * testsuite/registry/gst-print-formats.c:
16985 * testsuite/schedulers/.cvsignore:
16986 * testsuite/schedulers/142183-2.c:
16987 * testsuite/schedulers/142183.c:
16988 * testsuite/schedulers/143777-2.c:
16989 * testsuite/schedulers/143777.c:
16990 * testsuite/schedulers/147713.c:
16991 * testsuite/schedulers/147819.c:
16992 * testsuite/schedulers/147894-2.c:
16993 * testsuite/schedulers/147894.c:
16994 * testsuite/schedulers/Makefile.am:
16995 * testsuite/schedulers/group_link.c:
16996 * testsuite/schedulers/queue_link.c:
16997 * testsuite/schedulers/relink.c:
16998 * testsuite/schedulers/unlink.c:
16999 * testsuite/schedulers/unref.c:
17000 * testsuite/schedulers/useless_iteration.c:
17001 * testsuite/states/bin.c:
17002 clean out/remove some stuff from the testsuite directories
17004 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17007 check for some headers
17008 * gst/elements/Makefile.am:
17009 * gst/elements/gstelements.c:
17010 don't compile fdsrc without sys/socket.h
17011 * gst/indexers/Makefile.am:
17012 * gst/indexers/gstindexers.c: (plugin_init):
17013 don't compile fileindex without mmap
17015 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17022 * check/Makefile.am:
17023 * docs/gst/Makefile.am:
17024 * examples/helloworld/Makefile.am:
17026 * gst/base/Makefile.am:
17027 * gst/check/Makefile.am:
17028 * gst/elements/Makefile.am:
17029 * gst/indexers/Makefile.am:
17030 * gst/parse/Makefile.am:
17031 * libs/gst/controller/Makefile.am:
17032 * libs/gst/dataprotocol/Makefile.am:
17033 * examples/helloworld/helloworld.c: (event_loop):
17034 compile fixes, though it's not being compiled currently
17036 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17038 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17039 Add some simple tests for the new taglist date API.
17041 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17043 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17044 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17045 Beautify 'last-message' output: print 'none' for buffer timestamps
17046 and durations if none is set; improve alignment with next messages.
17048 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17050 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17051 * gst/gstpluginfeature.h:
17052 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17053 * gst/gstregistry.h:
17054 * docs/gst/gstreamer-sections.txt:
17055 Add new API to check plugin feature version requirements.
17057 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17058 Some basic tests for the above.
17060 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17062 * gst/gststructure.c: (gst_structure_to_string):
17063 guard against NULL printf - happens when for example
17064 a message structure with GstClock gets serialized
17066 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17068 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17069 Fix presumable copy'n'pasto.
17071 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17073 * gst/elements/gstfakesrc.h:
17074 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17075 * gst/elements/gsttypefindelement.c:
17076 fix some signedness
17077 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17078 I wonder if this could actually write +2GB files before
17080 2005-10-13 Andy Wingo <wingo@pobox.com>
17082 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17083 Fix Timmeke Waymans bug.
17084 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17085 string of the proper length to gst_caps_from_string. There's a
17086 potential for, before this fix, that this could cause someone
17087 connecting over the network to cause a segfault if the payload is
17088 not NUL-terminated.
17090 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17092 * docs/design/draft-push-pull.txt:
17093 * docs/design/part-overview.txt:
17094 * docs/random/TODO-pre-0.9:
17095 * docs/random/old/ChangeLog.gstreamer:
17096 * gst/base/gstpushsrc.c:
17100 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17102 * gst/glib-compat.c: (gst_flags_get_first_value):
17103 * gst/glib-compat.h:
17104 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17105 (gst_value_compare_double), (gst_value_serialize_flags):
17106 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17109 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17112 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17114 * tools/gst-launch.c: (event_loop):
17115 print out clock nicely
17117 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17119 * docs/gst/gstreamer-sections.txt:
17120 * gst/gsttaglist.h:
17121 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17122 (gst_tag_list_get_date_index):
17123 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17124 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17126 2005-10-13 Julien MOUTTE <julien@moutte.net>
17128 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17129 (gst_collectpads_chain):
17130 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17133 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17135 * docs/gst/gstreamer-sections.txt:
17138 * tools/gst-inspect.c: (main):
17139 * tools/gst-launch.c: (main):
17140 * tools/gst-run.c: (main):
17141 * tools/gst-xmlinspect.c: (main):
17142 fix GOption context leaks
17145 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17149 * win32/common/config.h:
17151 * win32/vs6/grammar.dsp:
17152 * win32/vs6/libgstelements.dsp:
17153 * win32/vs6/libgstreamer.dsp:
17156 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17158 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17159 * gst/base/gstbasesrc.c: (gst_base_src_query):
17160 fix more guint64<->gdouble conversions
17162 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17165 add win32-update target
17166 * win32/common/gstconfig.h:
17167 * win32/common/gstenumtypes.c:
17168 * win32/common/gstenumtypes.h:
17169 * win32/common/gstversion.h:
17170 add files that visual studio can't generate
17172 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17175 add a win32-update target
17178 2005-10-12 Wim Taymans <wim@fluendo.com>
17180 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17181 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17182 * gst/gstelement.c: (gst_element_commit_state),
17183 (gst_element_set_state):
17184 Protect flags with proper lock.
17185 unref provided cached clock in dispose.
17187 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17190 * gst/gstminiobject.h:
17192 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17193 removed unused flags from miniobject
17196 2005-10-12 Wim Taymans <wim@fluendo.com>
17198 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17199 (gst_file_sink_event), (gst_file_sink_render):
17200 Flush before seeking.
17202 2005-10-12 Andy Wingo <wingo@pobox.com>
17204 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17205 always been the case.
17207 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17209 * check/gst/gstbin.c: (GST_START_TEST):
17210 * docs/gst/gstreamer-sections.txt:
17211 * gst/base/gstbasesink.c: (gst_base_sink_init):
17212 * gst/base/gstbasesrc.c: (gst_base_src_init),
17213 (gst_base_src_get_range), (gst_base_src_check_get_range),
17214 (gst_base_src_start), (gst_base_src_stop):
17215 * gst/base/gstbasesrc.h:
17216 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17217 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17218 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17222 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17224 * gst/gstelement.c: (gst_element_is_locked_state),
17225 (gst_element_set_locked_state), (gst_element_commit_state),
17226 (gst_element_set_state):
17227 * gst/gstelement.h:
17228 * gst/gstindex.c: (gst_index_init):
17230 * gst/gstminiobject.h:
17231 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17232 (gst_object_set_parent):
17234 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17235 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17237 * gst/gstpadtemplate.h:
17238 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17239 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17240 * gst/gstpipeline.h:
17241 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17242 (gst_file_index_commit):
17243 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17244 * testsuite/pad/link.c: (gst_test_src_init),
17245 (gst_test_filter_init), (gst_test_sink_init):
17246 * testsuite/states/locked.c: (main):
17247 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17248 moved bitshift from macro to enum definition
17250 2005-10-12 Wim Taymans <wim@fluendo.com>
17252 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17253 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17254 (gst_file_sink_render):
17255 Some more debugging info.
17257 2005-10-12 Wim Taymans <wim@fluendo.com>
17259 * docs/design/part-states.txt:
17260 * tools/gst-launch.c: (main):
17262 Revert non-intentional change.
17264 2005-10-12 Wim Taymans <wim@fluendo.com>
17266 * check/gst/gstbin.c: (GST_START_TEST):
17267 * check/gst/gstelement.c: (GST_START_TEST):
17268 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17269 * check/gst/gstghostpad.c: (GST_START_TEST):
17270 * check/gst/gstpipeline.c: (GST_START_TEST):
17271 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17272 * check/states/sinks.c: (GST_START_TEST):
17273 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17274 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17275 (gst_bin_remove_func), (gst_bin_get_state_func),
17276 (gst_bin_recalc_state), (gst_bin_change_state_func),
17278 * gst/gstelement.c: (gst_element_get_state_func),
17279 (gst_element_get_state), (gst_element_abort_state),
17280 (gst_element_commit_state), (gst_element_set_state),
17281 (gst_element_change_state), (gst_element_change_state_func):
17282 * gst/gstelement.h:
17283 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17284 (gst_pipeline_provide_clock_func):
17285 * gst/gstutils.c: (gst_element_link_pads_filtered):
17286 * tools/gst-launch.c: (main):
17287 * tools/gst-typefind.c: (main):
17288 Use GstClockTime in _get_state() instead of GTimeVal.
17289 Remove old code in gstutils.c
17291 2005-10-12 Andy Wingo <wingo@pobox.com>
17293 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17296 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17297 there is no task. Shouldn't affect any code, as nothing in our
17298 plugins checks this return value.
17299 (gst_pad_stop_task): Also take the stream lock if the pad has no
17300 task. Docs updated.
17302 2005-10-12 Wim Taymans <wim@fluendo.com>
17304 * gst/gstpad.c: (pre_activate), (post_activate),
17305 (gst_pad_activate_pull), (gst_pad_activate_push):
17306 Cleanup activation code. Reset old state if
17309 2005-10-12 Wim Taymans <wim@fluendo.com>
17311 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17312 (gst_base_sink_change_state):
17313 No need to prerol after receiving EOS.
17315 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17316 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17317 * gst/elements/gstidentity.c: (gst_identity_event):
17318 Print events more verbosely.
17320 2005-10-12 Wim Taymans <wim@fluendo.com>
17322 * check/Makefile.am:
17323 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17324 * check/states/sinks2.c:
17325 Moved sinks2 testcode in sinks check.
17327 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17328 (gst_bin_remove_func), (gst_bin_recalc_state),
17329 (gst_bin_change_state_func), (bin_bus_handler):
17330 Fix potential race condition when _get_state() iterated over an
17331 ASYNC element right before it posted a state completion.
17334 Do proper cast here.
17336 * gst/gstevent.c: (gst_event_new_newsegment),
17337 (gst_event_parse_newsegment):
17338 A playback rate of 0.0 is not allowed.
17340 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17342 * win32/common/config.h:
17343 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17344 (_trewinddir), (_ttelldir), (_tseekdir):
17345 * win32/common/dirent.h:
17346 * win32/common/gtchar.h:
17347 * win32/common/libgstbase.def:
17348 * win32/common/libgstreamer.def:
17349 * win32/vs6/grammar.dsp:
17350 * win32/vs6/gst_inspect.dsp:
17351 * win32/vs6/gst_launch.dsp:
17352 * win32/vs6/gstreamer.dsw:
17353 * win32/vs6/libgstbase.dsp:
17354 * win32/vs6/libgstelements.dsp:
17355 * win32/vs6/libgstreamer.dsp:
17356 Visual Studio 6 project files, and a new common directory.
17359 2005-10-11 Wim Taymans <wim@fluendo.com>
17361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17362 (gst_base_sink_do_sync), (gst_base_sink_query),
17363 (gst_base_sink_change_state):
17364 * gst/base/gstbasesink.h:
17365 Correctly parse newsegment info.
17367 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17369 * gst/gst.c: (init_post):
17370 split plugin paths correctly
17372 2005-10-11 Wim Taymans <wim@fluendo.com>
17374 * check/gst/gstevent.c: (GST_START_TEST):
17375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17376 (gst_base_sink_change_state):
17377 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17378 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17379 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17380 * gst/gstevent.c: (gst_event_new_newsegment),
17381 (gst_event_parse_newsegment):
17383 Added extra flag to newsegment for future API freeze.
17384 Updated check and base elements.
17386 2005-10-11 Julien MOUTTE <julien@moutte.net>
17388 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17389 (gst_collectpads_add_pad), (gst_collectpads_pop),
17390 (gst_collectpads_event), (gst_collectpads_chain):
17391 * gst/base/gstcollectpads.h: Handle EOS correctly.
17393 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17395 * tools/gst-launch.c: (main):
17396 more null protecting
17398 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17400 * gst/gst-i18n-lib.h:
17401 check for ENABLE_NLS, not GETTEXT_PACKAGE
17402 * gst/gstregistry.c: (gst_registry_add_plugin),
17403 (gst_registry_scan_path_level),
17404 (_gst_registry_remove_cache_plugins):
17405 protect possibly NULL strings
17406 * gst/parse/types.h:
17407 config.h already included before
17408 * tools/gst-inspect.c: (main):
17409 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17410 check for ENABLE_NLS, not GETTEXT_PACKAGE
17411 * tools/gst-launch.c: (main):
17412 check for ENABLE_NLS, not GETTEXT_PACKAGE
17414 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17417 if we don't have glib, fail before testing 2.8
17418 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17419 fix a leak, should fix plugins-base testsuite
17421 2005-10-11 Andy Wingo <wingo@pobox.com>
17423 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17424 take the mode we're going to as an arg. Go head and set the mode
17425 and flushing flags now, so that if the activate function starts a
17426 thread all the flags will be in the right state.
17427 (post_activate): Renamed also. Just handle making sure streaming
17428 finishes for the deactivation case, and setting the deactivated
17430 (gst_pad_set_active): Complain loudly if deactivation fails.
17431 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17432 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17433 remove the terrible hack.
17435 2005-10-11 Wim Taymans <wim@fluendo.com>
17437 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17438 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17439 (gst_bin_recalc_state), (gst_bin_change_state_func),
17440 (gst_bin_dispose), (bin_bus_handler):
17442 Prepare to make current EOS message queue more generic.
17445 * gst/gstevent.c: (gst_event_new_newsegment),
17446 (gst_event_parse_newsegment):
17448 Rename base to stream_time.
17450 * gst/gstmessage.h:
17453 2005-10-11 Wim Taymans <wim@fluendo.com>
17455 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17456 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17457 (gst_bin_change_state_func), (bin_bus_handler):
17459 Work on proper clock selection.
17461 2005-10-11 Edward Hervey <edward@fluendo.com>
17463 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17464 * libs/gst/controller/gstcontroller.h:
17465 Added GList* version of _remove_properties() in order to be able to wrap
17468 2005-10-11 Wim Taymans <wim@fluendo.com>
17470 * docs/design/part-states.txt:
17473 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17474 (gst_bin_change_state_func), (bin_bus_handler):
17475 Doc updates. Don't distribute the same clock over and over again.
17481 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17482 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17483 (gst_pad_send_event):
17485 Make probe emission threadsafe again.
17486 Register quarks and move _get_name() from utils.
17489 * gst/gstpipeline.c: (gst_pipeline_class_init),
17490 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17491 Only redistribute the clock of it changed.
17493 * gst/gstsystemclock.h:
17498 Moved the _flow_get_name() to GstPad.
17500 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17502 * check/gst-libs/gdp.c: (GST_START_TEST):
17503 * check/gst/gstcaps.c: (GST_START_TEST):
17504 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17505 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17506 (gst_dp_packet_from_caps):
17507 fix more valgrind warnings before turning up the heat
17509 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17511 * gst/parse/grammar.y:
17512 some cleanup before the hacking
17514 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17516 * gst/base/gstbasesrc.c: (gst_base_src_query):
17518 * gst/gstutils.c: (gst_guint64_to_gdouble),
17519 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17521 externalize, basesrc uses it
17522 obviously the implementation needs testing
17524 2005-10-10 Wim Taymans <wim@fluendo.com>
17526 * tests/sched/Makefile.am:
17527 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17528 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17530 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17532 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17533 apparently converting from guint64 to double is not implemented
17536 2005-10-10 Wim Taymans <wim@fluendo.com>
17538 * check/Makefile.am:
17539 * check/generic/states.c: (GST_START_TEST):
17540 * check/gst/gstbin.c: (GST_START_TEST):
17541 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17542 * check/states/sinks.c: (GST_START_TEST):
17543 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17545 Check fixes, use API as stated in design docs, remove hacks.
17547 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17548 (gst_base_sink_change_state):
17549 Catch stopping our task while we're shutting down.
17551 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17552 (gst_bin_remove_func), (gst_bin_get_state_func),
17553 (gst_bin_recalc_state), (gst_bin_change_state_func),
17556 * gst/gstelement.c: (gst_element_init),
17557 (gst_element_get_state_func), (gst_element_abort_state),
17558 (gst_element_commit_state), (gst_element_lost_state),
17559 (gst_element_set_state), (gst_element_change_state),
17560 (gst_element_change_state_func):
17561 * gst/gstelement.h:
17562 New state change algorithm (see #318116)
17564 * gst/gstpipeline.c: (gst_pipeline_class_init),
17565 (gst_pipeline_init), (gst_pipeline_set_property),
17566 (gst_pipeline_get_property), (do_pipeline_seek),
17567 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17568 * gst/gstpipeline.h:
17569 Remove crude state change hacks.
17572 Remove crude hacks.
17574 * tools/gst-launch.c: (main):
17575 Fixes for state change. Needs some more work to fully use the
17578 2005-10-10 Andy Wingo <wingo@pobox.com>
17580 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17582 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17583 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17586 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17588 * gst/gstiterator.c: (gst_iterator_new):
17589 Fix my previous commit: GTypes passed to gst_iterator_new()
17590 can be fundamental types.
17592 2005-10-10 Wim Taymans <wim@fluendo.com>
17594 * gst/gstelement.c: (gst_element_iterate_pad_list),
17595 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17596 (gst_element_iterate_sink_pads):
17597 Use src/sink pads lists for the respective iterators instead
17600 2005-10-10 Andy Wingo <wingo@pobox.com>
17602 Merged in popt removal + GOption addition patch from Ronald, bug
17605 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17606 GstElement macros around, remove popt-related symbols, add goption
17609 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17611 * docs/gst/Makefile.am:
17612 * docs/libs/Makefile.am: No POPT_CFLAGS.
17614 * examples/manual/Makefile.am:
17615 * docs/manual/basics-init.xml: Doc updates with an example.
17617 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17618 (gst_init), (parse_one_option), (parse_goption_arg):
17619 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17620 bit of hand merging and debugging to get the GOption stuff working
17623 * tests/Makefile.am:
17624 * tools/Makefile.am:
17625 * tools/gst-inspect.c: (main):
17626 * tools/gst-launch.c: (main):
17627 * tools/gst-run.c: (main):
17628 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17630 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17632 * gst/gstiterator.c: (gst_iterator_new):
17633 Add assertions to make sure passed GType is likely to really
17634 be a GType (as the compiler won't catch it if the size and
17635 GType arguments get mixed up, see #318447).
17637 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17639 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17641 * gst/gstbin.c: (gst_bin_iterate_sorted):
17642 Pass GType and size arguments to gst_iterator_new() in the right
17643 order (maybe we should make _new() take the GType as first argument
17644 just like _new_list()?) (#318447).
17647 2005-10-10 Wim Taymans <wim@fluendo.com>
17649 * gst/gstelement.c: (gst_element_finalize):
17650 And free the GStaticRecMutex too
17652 2005-10-10 Andy Wingo <wingo@pobox.com>
17654 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17655 Allocate and free the mutex properly.
17657 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17659 (GstElement): The state_lock is now recursive. Rebuild your
17660 plugins, suckers. Old macros adapted.
17662 * docs/gst/gstreamer-sections.txt: Doc updates.
17665 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17666 (g_static_rec_cond_wait): Ported from state changes patch, while
17667 we wait on bug #317802 to be solved in a well-distributed GLib.
17669 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17670 gst_element_change_state, variable name changes.
17671 (gst_element_change_state): Split out of gst_element_set_state in
17672 preparation for the state change merge. Doesn't pay attention to
17673 the 'transition' argument.
17674 (gst_element_set_state): Updates, hopefully purely cosmetic.
17675 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17676 state change patch.
17677 (gst_element_get_state_func): Renamed from get_state, cosmetic
17680 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17682 * gst/elements/gstelements.c:
17683 * win32/GStreamer.vcproj:
17685 * win32/dirent.c: (_tseekdir):
17686 * win32/gst-inspect.vcproj:
17687 * win32/gst-launch.vcproj:
17688 * win32/gstconfig.h:
17689 * win32/gstelements.vcproj:
17690 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17691 * win32/gstreamer.def:
17692 * win32/msvc71.sln:
17693 updates for the win32 build (patch from Sebastien Moutte)
17695 2005-10-10 Andy Wingo <wingo@pobox.com>
17697 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17698 gst_bin_get_state, cleaned up (but no logic changes).
17699 (bin_element_is_sink): Comment updates.
17700 (sink_iterator_filter): Remove needless cast.
17701 (gst_bin_iterate_sinks): Doc update.
17702 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17703 cleaned up (but no logic changes).
17705 * check/states/sinks.c (test_src_sink): Cleanups from the state
17707 (test_livesrc_sink): Sync on the state.
17709 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17710 the state change patch.
17712 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17715 * check/gst/gstbin.c: Merge in some style fixes and additional
17716 checks from Wim's state change patch.
17718 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17720 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17721 (gst_type_find_helper):
17722 Check whether we have the requested data already in our list of
17723 cached buffers before pulling a new buffer; also make the buffer
17724 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17726 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17731 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17732 don't use long long, it's not portable. Replacing with
17733 gint64 seems to work; let's hope no skeletons fall out of the closet.
17735 2005-10-10 Andy Wingo <wingo@pobox.com>
17737 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17739 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17741 * docs/gst/gstreamer-sections.txt:
17746 * gst/gstmessage.c: (gst_message_parse_state_changed):
17749 more docs, fix compilation
17751 2005-10-09 Philippe Khalaf <burger@speedy.org>
17752 * gst/gstmessage.c:
17753 Fixed a few forgotten variables on previous commit
17755 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17757 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17758 Fix evil typefind crasher: getrange() might return a short
17759 buffer at the end of a file, but gst_type_find_peek() must
17760 either return the full data as requested or NULL, but
17761 never a short buffer.
17763 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17765 * gst/gstmessage.c: (gst_message_new_state_changed),
17766 (gst_message_parse_state_changed):
17767 * gst/gstmessage.h:
17768 don't use "new", it's a C++ keyword
17770 2005-10-08 Wim Taymans <wim@fluendo.com>
17772 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17773 * gst/gstelement.c: (gst_element_post_message):
17774 * gst/gstpipeline.c: (gst_pipeline_change_state):
17775 Small docs and debug updates.
17777 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17779 * docs/gst/gstreamer-sections.txt:
17780 * gst/gstelementfactory.c:
17782 * gst/gsttaglist.c:
17785 2005-10-08 Wim Taymans <wim@fluendo.com>
17787 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17788 (gst_bin_dispose), (bin_bus_handler):
17789 Fix typos, add comments.
17790 Clear EOS list when going to PAUSED from any direction and do it
17791 in a threadsafe way.
17792 Get base time in a threadsafe way too.
17793 Fix confusing debug in the change_state function.
17794 Various other small cleanups.
17796 * gst/gstelement.c: (gst_element_post_message):
17797 Fix very verbose bus posting code.
17799 * gst/gstpipeline.c: (gst_pipeline_class_init),
17800 (gst_pipeline_set_property), (gst_pipeline_get_property),
17801 (gst_pipeline_change_state):
17802 Small ARG_ -> PROP_ cleanup
17804 2005-10-08 Wim Taymans <wim@fluendo.com>
17806 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17807 Do a less CPU demanding EOS check because we can.
17809 2005-10-08 Wim Taymans <wim@fluendo.com>
17811 * libs/gst/dataprotocol/dataprotocol.c:
17812 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17813 (gst_dp_packet_from_event):
17814 * libs/gst/dataprotocol/dataprotocol.h:
17815 * libs/gst/dataprotocol/dp-private.h:
17816 It's about time we bump the version number.
17817 Since event types don't fit in the guint8 anymore describing
17818 the payload type, make payload type 16 bits wide.
17820 2005-10-08 Wim Taymans <wim@fluendo.com>
17822 * docs/design/part-TODO.txt:
17823 * docs/design/part-clocks.txt:
17824 * docs/design/part-events.txt:
17825 * docs/design/part-gstbin.txt:
17826 * docs/design/part-gstelement.txt:
17827 * docs/design/part-gstpipeline.txt:
17828 * docs/design/part-live-source.txt:
17829 * docs/design/part-messages.txt:
17830 * docs/design/part-overview.txt:
17831 * docs/design/part-states.txt:
17834 2005-10-08 Wim Taymans <wim@fluendo.com>
17838 Fix event quark registration.
17839 Add some space between events so we can insert them in the
17842 2005-10-08 Wim Taymans <wim@fluendo.com>
17844 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17845 (gst_base_sink_handle_buffer):
17846 Better log message.
17849 * gst/gstelement.h:
17852 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17853 (gst_queue_set_property), (gst_queue_get_property):
17855 Remove old unused properties.
17857 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17858 * docs/gst/gstreamer-sections.txt:
17859 * gst/gstmessage.c:
17860 * gst/gstmessage.h:
17861 * gst/gstminiobject.c:
17862 * gst/gstminiobject.h:
17866 lots of new docs and doc fixes
17868 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17870 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17872 * gst/gstregistry.c: (gst_registry_lookup_locked),
17873 (gst_registry_scan_path_level):
17874 * gst/gstregistryxml.c: (load_plugin):
17875 Only ever load one plugin for a given plugin basename.
17876 This ensures correct overriding of GST_PLUGIN_PATH over
17877 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17878 system installed plugins.
17880 2005-10-08 Wim Taymans <wim@fluendo.com>
17882 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17883 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17884 Prepare for doing QOS.
17886 2005-10-08 Wim Taymans <wim@fluendo.com>
17888 * check/gst/gstbin.c: (GST_START_TEST):
17889 * check/pipelines/cleanup.c: (GST_START_TEST):
17890 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17891 Allow new clock message too.
17893 2005-10-08 Wim Taymans <wim@fluendo.com>
17895 * gst/gstmessage.c: (gst_message_new_error),
17896 (gst_message_new_warning), (gst_message_new_tag),
17897 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17898 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17899 (gst_message_new_segment_start), (gst_message_new_segment_done),
17900 (gst_message_parse_state_changed),
17901 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17902 (gst_message_parse_new_clock):
17903 * gst/gstmessage.h:
17904 Also carry the clock in question.
17906 2005-10-08 Wim Taymans <wim@fluendo.com>
17908 * gst/gstmessage.c: (gst_message_new_custom),
17909 (gst_message_new_eos), (gst_message_new_error),
17910 (gst_message_new_warning), (gst_message_new_tag),
17911 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17912 (gst_message_new_new_clock), (gst_message_new_segment_start),
17913 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17914 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17915 * gst/gstmessage.h:
17917 Added clock related messages.
17919 * gst/gstpipeline.c: (gst_pipeline_change_state):
17920 Post message when the clock changed.
17922 * tools/gst-launch.c: (event_loop):
17925 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17927 * tools/gst-inspect.c: (print_element_properties_info):
17928 Can't pass NULL strings to g_print() on windows.
17930 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17932 * docs/Makefile.am:
17933 * docs/gst/Makefile.am:
17934 * docs/gst/gstreamer-docs.sgml:
17935 * docs/gst/running.xml:
17936 * docs/version.entities.in:
17937 add a chapter on running GStreamer.
17938 document GST_DEBUG and GST_PLUGIN* env vars
17940 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17945 remove PLUGINS_BUILDDIR stuff
17946 * gst/gst.c: (init_post):
17947 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17949 remove, it was condescending and not needed
17951 2005-10-08 Wim Taymans <wim@fluendo.com>
17953 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17954 (gst_base_sink_handle_object), (gst_base_sink_event),
17955 (gst_base_sink_wait), (gst_base_sink_handle_event),
17956 (gst_base_sink_change_state):
17957 * gst/base/gstbasesink.h:
17958 Repost EOS message while going to PLAYING if still EOS.
17959 Make sure that when receiving a FLUSH_START we don't attempt
17960 to sync on the clock anymore.
17962 2005-10-08 Wim Taymans <wim@fluendo.com>
17964 * tools/gst-launch.c: (event_loop):
17965 Better message printout.
17967 2005-10-08 Wim Taymans <wim@fluendo.com>
17969 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17970 (gst_bin_child_proxy_get_children_count):
17971 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17972 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17973 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17974 (gst_child_proxy_set_valist):
17975 * gst/parse/grammar.y:
17976 Make ChildProxy threadsafe and fix mem leaks.
17978 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17980 * gst/gst.c: (init_post):
17981 debug the GST_PLUGIN_ env vars
17983 2005-10-08 Wim Taymans <wim@fluendo.com>
17985 * check/gst/gstbin.c: (GST_START_TEST):
17986 * check/gst/gstmessage.c: (GST_START_TEST):
17987 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17988 * gst/gstelement.c: (gst_element_commit_state),
17989 (gst_element_lost_state):
17990 * gst/gstmessage.c: (gst_message_new_state_changed),
17991 (gst_message_parse_state_changed):
17992 * gst/gstmessage.h:
17993 * tools/gst-launch.c: (event_loop):
17994 Added extra field to STATE_CHANGE message with the pending
17995 state, which will be different from the new state soon.
17997 2005-10-08 Wim Taymans <wim@fluendo.com>
17999 * gst/gstbus.c: (gst_bus_pop):
18001 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18002 Small cleanups and doc updates.
18004 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18006 * gst/gst.c: (init_pre):
18007 * gst/gstbin.c: (gst_bin_add_func):
18008 log distributing clocks and base time
18009 * gst/gstregistry.c: (gst_registry_add_plugin),
18010 (gst_registry_scan_path_level), (gst_registry_scan_path):
18011 clean up the debugging output a little
18012 * gst/gstutils.c: (gst_element_state_get_name):
18013 warn about a memleak (I've actually seen this be used, though
18014 it was probably a bug)
18016 2005-10-07 Wim Taymans <wim@fluendo.com>
18018 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18019 (gst_base_src_init), (gst_base_src_default_newsegment),
18020 (gst_base_src_newsegment), (gst_base_src_do_seek),
18021 (gst_base_src_loop), (gst_base_src_start):
18022 * gst/base/gstbasesrc.h:
18023 Make the newsegment event customizable by subclasses.
18025 2005-10-07 Wim Taymans <wim@fluendo.com>
18027 * gst/gstevent.c: (gst_event_new_buffersize),
18028 (gst_event_parse_buffersize):
18030 New event for future idea.
18032 2005-10-07 Andy Wingo <wingo@pobox.com>
18034 * gst/gstelement.c (gst_element_post_message): Doc update.
18036 * docs/gst/gstreamer-sections.txt: Update.
18038 * gst/gstmessage.c (gst_message_new_application): Made into a
18039 function like honest API calls.
18040 (gst_message_new_element): New message type.
18042 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18044 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18045 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18048 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18049 NO_PREROLL from gst_element_change_state to fall through.
18051 2005-10-07 Wim Taymans <wim@fluendo.com>
18053 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18054 (gst_ghost_pad_do_activate_push):
18055 Activating a ghostpad with no internal pad in push mode
18058 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18061 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18062 Fixes compilation on Windows.
18064 2005-10-07 Michael Smith <msmith@fluendo.com>
18066 * tools/gst-inspect.c:
18067 Print out feature and plugin count at the end when printing out
18070 2005-10-04 Michael Smith <msmith@fluendo.com>
18072 * gst/gsterror.c: (_gst_stream_errors_init):
18073 Add another error string used in a few existing plugins.
18076 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18077 * tools/gst-inspect.c: (print_element_info):
18078 When a feature disappears from a plugin (and the feature exists in
18079 the cached registry file), things went horribly wrong. This isn't a
18080 complete fix, we should actually be removing the 'missing' features
18081 from the features list when we load the actual plugin. That's not
18084 2005-10-04 Johan Dahlin <johan@gnome.org>
18086 * check/gst/gstiterator.c: (GST_START_TEST):
18087 * gst/gstbin.c: (gst_bin_iterate_elements),
18088 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18089 * gst/gstelement.c: (gst_element_iterate_pads):
18090 * gst/gstformat.c: (gst_format_iterate_definitions):
18091 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18092 (gst_iterator_new_list), (gst_iterator_filter):
18093 * gst/gstiterator.h:
18094 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18095 Add a GType to GstIterator, update callsites and tests.
18097 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18099 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18100 give events a chance to be handled by event probes when the pad
18103 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18105 * gst/gstevent.c: (gst_event_type_get_name),
18106 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18108 add string representations for event types
18110 2005-10-06 Wim Taymans <wim@fluendo.com>
18112 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18113 Don't use NULL pointers.
18115 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18117 * gst/gst_private.h:
18119 * gst/gstelement.c:
18121 * gst/gstpluginfeature.c:
18122 widen the debug category in output to fit the biggest one we have
18123 add a bus category and use it
18124 play with the colors
18125 fix up some categories
18127 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18129 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18130 add push activation of sink ghost pads.
18131 Andye, please verify
18133 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18135 * gst/gstutils.c: (gst_element_link_pads):
18136 fix a bug in the case where neither element has a pad
18137 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18138 add a test for that case
18140 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18142 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18143 emit have-data before checking for peers. This allows
18144 for probe handlers to connect elements. This helps autopluggers.
18145 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18147 add six checks, linked/unlinked with no/true/false probe
18149 2005-10-04 Wim Taymans <wim@fluendo.com>
18151 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18152 (gst_fake_sink_event), (gst_fake_sink_preroll),
18153 (gst_fake_sink_render), (gst_fake_sink_change_state):
18154 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18155 (gst_fake_src_get_property), (gst_fake_src_create),
18156 (gst_fake_src_stop):
18157 * gst/elements/gstidentity.c: (gst_identity_stop):
18158 Protect last_message with lock.
18160 2005-10-04 Edward Hervey <edward@fluendo.com>
18163 Added precision in the comments for GST_FORMAT_DEFAULT
18165 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18167 * tools/gst-launch.c: (main):
18168 Don't try to run erroneous pipelines.
18170 2005-10-04 Julien MOUTTE <julien@moutte.net>
18172 * gst/gstbus.c: We don't need this header.
18174 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18177 back to development
18179 === release 0.9.3 ===
18181 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18185 Releasing 0.9.3, "Unregistered"
18187 2005-10-03 Andy Wingo <wingo@pobox.com>
18189 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18190 whereby calling a pad's activatepush() function can start a thread
18191 that starts to push or pull before the pad gets the FLUSHING flag
18192 unset. Hack around it by holding the stream lock until the flag is
18193 set. Need to replace this with a proper solution. Together with
18194 the ghost pad fixes, this fixes mp3 playing/tagreading.
18196 * docs/design/part-gstghostpad.txt: Add a note about activation of
18197 proxy pads outside of ghost pads.
18199 * gst/gstghostpad.c: Implement the ghost pad activation design.
18201 2005-10-02 Andy Wingo <wingo@pobox.com>
18203 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18204 It is volatile, after all.
18206 * docs/design/part-gstghostpad.txt: Flesh out activation with
18209 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18212 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18215 Fix (unused) AM_CONDITIONAL tests.
18217 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18219 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18221 * gst/gstutils.c: (gst_pad_query_convert):
18222 Add assertion that makes sure src_val is >=0, just like
18223 gst_query_new_convert() has. (#315895)
18225 2005-09-30 Edward Hervey <edward@fluendo.com>
18227 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18228 Let's not iterate pads we're not interested in, it avoids getting
18229 sky-high refcounts on sinkpad.
18231 2005-09-30 Wim Taymans <wim@fluendo.com>
18233 * gst/gstelement.c: (gst_element_set_state),
18234 (gst_element_change_state):
18235 Small tweak, element in ASYNC remains ASYNC.
18237 2005-09-30 Wim Taymans <wim@fluendo.com>
18239 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18240 Only error is an error.
18242 * gst/gstbin.c: (gst_bin_change_state):
18245 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18246 Also call pad_block in pad alloc.
18248 * gst/gstutils.c: (gst_flow_get_name):
18251 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18253 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18254 (gst_base_src_get_range):
18255 Fix documentation typos. Add some more debug info.
18257 2005-09-29 David Schleef <ds@schleef.org>
18259 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18260 more end-user friendly.
18261 * tools/gst-inspect.c: (main): Check if command-line argument is
18262 a file and attempt to load that file as a plugin.
18264 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18266 * check/gst/gstbin.c:
18267 * check/states/sinks.c:
18268 fix tests for the new warning
18269 * check/gst/gstpipeline.c:
18270 add a test for pipeline and bus interaction
18271 * gst/gstelement.c:
18272 elements should be NULL if they get disposed; add a warning if not
18274 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18277 for 2.6 refcounting, make debug log more correct by printing
18278 the actual refcounts at the time of swap (Wim)
18280 2005-09-29 Andy Wingo <wingo@pobox.com>
18282 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18283 removes signal watches previously added via
18284 gst_bus_add_signal_watch.
18285 (gst_bus_add_signal_watch): Don't return the source id, just store
18286 it on the bus if there wasn't an id already.
18288 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18289 add_signal_watch and remove_signal_watch.
18291 2005-09-29 Edward Hervey <edward@fluendo.com>
18293 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18294 Better if we actually iterate the list :)
18296 2005-09-29 Wim Taymans <wim@fluendo.com>
18298 * check/gst/gstbin.c: (GST_START_TEST):
18299 Change for new bus API.
18301 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18302 (send_messages), (GST_START_TEST), (gstbus_suite):
18303 Change for new bus signal API.
18305 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18306 (gst_bus_source_prepare), (gst_bus_source_check),
18307 (gst_bus_create_watch), (gst_bus_add_watch_full),
18308 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18309 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18311 Remove support for multiple GSources operating on different
18312 message types as it is too complex and unneeded when using
18314 Added support for receiving signals from the bus.
18316 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18318 * docs/libs/tmpl/gstdataprotocol.sgml:
18319 * docs/manual/advanced-dataaccess.xml:
18320 * gst/elements/gstcapsfilter.c:
18322 rename filter-caps to caps property
18324 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18326 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18327 More robust fraction string parsing.
18329 * docs/pwg/appendix-porting.xml:
18330 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18332 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18334 * gst/gstcaps.c: (gst_caps_do_simplify):
18335 Thou shalt not free a structure and then continue using it
18336 in the next loop iteration.
18338 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18340 Add test case for caps simplification.
18342 2005-09-29 Wim Taymans <wim@fluendo.com>
18344 * check/gst/gstbin.c: (GST_START_TEST):
18347 2005-09-29 Wim Taymans <wim@fluendo.com>
18349 * check/gst/gstbin.c: (GST_START_TEST):
18352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18353 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18354 (find_element), (gst_bin_sort_iterator_next),
18355 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18356 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18357 (gst_bin_change_state), (gst_bin_dispose):
18358 A bin does not have a bus, it gets the bus from the parent.
18360 * gst/gstelement.c: (gst_element_requires_clock),
18361 (gst_element_provides_clock), (gst_element_is_indexable),
18362 (gst_element_is_locked_state), (gst_element_change_state),
18363 (gst_element_set_bus_func):
18366 * gst/gstpipeline.c: (gst_pipeline_class_init),
18367 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18368 The pipeline provides a bus.
18370 2005-09-28 Johan Dahlin <johan@gnome.org>
18372 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18373 gst_structure_get_enum instead of gst_structure_get_int
18375 * gst/gststructure.c (gst_structure_get_enum): Impl.
18377 * gst/gststructure.h (gst_structure_get_enum): Add
18379 * docs/gst/gstreamer-sections.txt: Ditto
18381 * gst/gstmessage.c (gst_message_new_state_changed): Use
18382 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18383 which does introspection.
18384 Reviewed by Christian Schaller
18386 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18388 * gst/gstinfo.c: (gst_debug_log_default):
18389 don't do dummy g_strdup()s
18390 * libs/gst/controller/gstcontroller.c:
18391 (on_object_controlled_property_changed),
18392 (gst_controlled_property_new), (gst_controller_new_valist),
18393 (gst_controller_new_list),
18394 (gst_controller_remove_properties_valist), (gst_controller_set),
18395 (gst_controller_get), (gst_controller_sync_values),
18396 (gst_controller_get_value_array), (_gst_controller_class_init),
18397 (gst_controller_get_type):
18398 * libs/gst/controller/gstcontroller.h:
18399 * libs/gst/controller/gstinterpolation.c:
18400 (gst_controlled_property_find_timed_value_node):
18401 convert // to /**/ comments
18403 2005-09-28 Wim Taymans <wim@fluendo.com>
18405 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18406 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18407 (gst_bus_sync_signal_handler):
18409 Added async-message and sync-message signals to the bus.
18410 Added helper BusFunc to emit signals for all posted messages.
18412 * gst/gstmessage.c: (gst_message_type_get_name),
18413 (gst_message_type_to_quark), (gst_message_get_type):
18414 * gst/gstmessage.h:
18415 Register quarks for message names.
18417 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18419 * docs/libs/gstreamer-libs-sections.txt:
18420 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18421 (gst_controller_new_list):
18422 * libs/gst/controller/gstcontroller.h:
18423 added another constructor for language bindings
18425 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18427 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18431 * gst/gstinfo.c: (_gst_debug_init):
18432 slightly more readable color for refcount debugging
18434 2005-09-28 Wim Taymans <wim@fluendo.com>
18436 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18437 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18438 (find_element), (gst_bin_sort_iterator_next),
18439 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18440 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18441 (gst_bin_change_state), (gst_bin_dispose):
18442 Small doc fixes. get_clock -> provide_clock.
18444 * gst/gstelement.c: (gst_element_class_init),
18445 (gst_element_provides_clock), (gst_element_provide_clock),
18446 (gst_element_get_clock), (gst_element_commit_state),
18447 (gst_element_lost_state):
18448 * gst/gstelement.h:
18449 Make get/set_clock() symetric. Add provide_clock vmethod since
18450 that is actually what this function does.
18452 * gst/gstpipeline.c: (gst_pipeline_class_init),
18453 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18454 (gst_pipeline_get_clock):
18455 get_clock -> provide_clock.
18457 2005-09-28 Andy Wingo <wingo@pobox.com>
18459 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18460 lieu of real docs...
18462 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18464 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18466 * gst/elements/gstcapsfilter.c:
18467 * gst/elements/gstfakesink.c:
18468 * gst/elements/gstfakesrc.c:
18469 * gst/elements/gstfdsink.c:
18470 * gst/elements/gstfdsrc.c:
18471 * gst/elements/gstfilesink.c:
18472 * gst/elements/gstfilesrc.c:
18473 * gst/elements/gstidentity.c:
18474 * gst/elements/gsttee.c:
18475 * gst/elements/gsttypefindelement.c:
18476 Make element details static.
18478 2005-09-28 Wim Taymans <wim@fluendo.com>
18480 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18481 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18482 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18483 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18484 (gst_bin_change_state), (gst_bin_dispose):
18485 Some documentation updates.
18486 Clean up dispose handlers.
18488 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18489 * gst/gstpad.c: (gst_pad_dispose):
18490 Clean up dispose handler.
18492 * gst/gstpipeline.c: (gst_pipeline_change_state):
18493 Removed spurious UNLOCK.
18495 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18497 * docs/gst/gstreamer-sections.txt:
18498 * gst/base/gstbasesrc.h:
18499 * gst/gstelement.h:
18503 * gst/gstpipeline.c:
18504 * gst/gstpipeline.h:
18507 added two new functions to the docs
18508 documents all undocumented GstXXXFlags
18509 completed some incomplete docs
18511 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18513 * gst/gstbin.c: (gst_bin_dispose):
18514 * gst/gstelement.c: (gst_element_dispose):
18515 remove now useless and leaky resurrection code in dispose
18516 * gst/base/gstbasesrc.c: (gst_base_src_init):
18517 * gst/gstelementfactory.c: (gst_element_factory_create):
18518 * gst/gstobject.c: (gst_object_set_parent):
18521 2005-09-27 Wim Taymans <wim@fluendo.com>
18523 * docs/design/part-TODO.txt:
18526 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18527 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18528 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18529 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18530 (gst_bin_change_state):
18531 * gst/gstelement.h:
18532 Remove element variable, we keep element info in the iterator now.
18534 2005-09-27 Andy Wingo <wingo@pobox.com>
18536 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18539 2005-09-27 Wim Taymans <wim@fluendo.com>
18541 * check/gst/gstbin.c: (GST_START_TEST):
18542 Enable check that works now.
18544 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18545 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18546 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18547 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18548 (gst_bin_change_state):
18550 Redid the state change algorithm using a topological sort algo.
18551 Handles all cases correctly.
18552 Exposed iterator for state change order.
18554 * gst/gstelement.h:
18555 Temp storage for state changes. Need to get rid of this soon.
18557 2005-09-27 Wim Taymans <wim@fluendo.com>
18559 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18560 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18561 (link_fold_func), (gst_pad_proxy_setcaps):
18562 Leak fixes, the fold functions need to unref the passed object and
18563 _get_parent_*() returns ref to parent.
18565 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18567 * check/gst/gstbuffer.c: (test_make_writable):
18568 Plug leak in test case and fix 'make check-valgrind'
18570 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18572 * gst/gstbuffer.c: (gst_subbuffer_init):
18573 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18574 works correctly in all circumstances (we could have just copied
18575 the parent buffer's readonly flag, but conceptually it seems
18576 cleaner to mark all subbuffers as read-only). (based on patch
18577 by Alessandro Decina, #314710).
18579 * check/gst/gstbuffer.c: (create_read_only_buffer),
18580 (test_make_writable), (test_subbuffer_make_writable),
18582 Add some tests for gst_buffer_make_writable().
18584 2005-09-27 Wim Taymans <wim@fluendo.com>
18586 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18587 use gst_object_has_ancestor().
18589 * gst/gstobject.c: (gst_object_has_ancestor):
18591 gst_object_has_ancestor() copied from gstbin.c as it is a
18594 * tests/instantiate/create.c: (create_all_elements):
18595 * tests/lat.c: (handoff_src), (handoff_sink):
18596 * tests/sched/runxml.c: (main):
18597 * tests/seeking/seeking1.c: (main):
18598 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18600 Fix compilation of some tests.
18602 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18605 Remove comment. GST_TYPE_G_ERROR is here to stay,
18606 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18607 (#316961, #300610).
18609 2005-09-26 Wim Taymans <wim@fluendo.com>
18611 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18612 Added check that shows error in state change order.
18614 2005-09-26 Wim Taymans <wim@fluendo.com>
18616 * gst/gstbin.c: (gst_bin_change_state):
18617 Make state change function use 3 queues again, we were
18618 adding elements in the wrong order.
18620 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18623 * gst/gstpad.c: (gst_pad_dispose):
18624 Added some debug info first.
18626 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18628 * docs/design/draft-push-pull.txt:
18629 * docs/design/part-events.txt:
18630 * docs/design/part-overview.txt:
18631 * docs/design/part-scheduling.txt:
18632 Replace all _pull_region() with _pull_range()
18634 2005-09-26 Andy Wingo <wingo@pobox.com>
18636 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18638 * check/gst-libs/controller.c: Update for controller api change.
18641 * tests/Makefile.am:
18642 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18643 over by GLib bug 118439.
18645 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18646 routines to a function.
18648 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18650 * libs/gst/controller/gsthelper.c:
18651 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18652 (gst_object_sync_values): Renamed from sink_values. Ugh.
18654 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18656 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18657 Renamed from controller_key, as it is exported.
18659 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18661 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18666 * gst/gstpadtemplate.h:
18669 * gst/gstqueryutils.c:
18670 * gst/gstqueryutils.h:
18671 remove queryutils headers after moving the two used functions
18672 to gstquery. also fixes build problem for gstsiddec
18674 2005-09-26 Michael Smith <msmith@fluendo.com>
18676 * tools/gst-launch.1.in:
18677 Correct documentation in manpage of debug syntax
18679 2005-09-26 Wim Taymans <wim@fluendo.com>
18681 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18682 (gst_base_src_is_seekable), (gst_base_src_change_state):
18683 Some more debugging info.
18685 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18687 * docs/gst/gstreamer-sections.txt:
18688 * gst/base/gstbasetransform.h:
18692 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18694 * docs/gst/.cvsignore:
18695 * docs/gst/tmpl/.cvsignore:
18696 * docs/gst/tmpl/gstpipeline.sgml:
18697 * docs/gst/tmpl/gstplugin.sgml:
18698 * gst/gstpipeline.c:
18701 inlined the last two docs files
18702 removed the tmpl directory from cvs (no more conflicts here!)
18704 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18706 * docs/gst/gstreamer-sections.txt:
18707 * docs/gst/tmpl/.cvsignore:
18708 * docs/gst/tmpl/gstpad.sgml:
18709 * docs/gst/tmpl/gstpadtemplate.sgml:
18711 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18712 (gst_pad_finalize), (gst_pad_set_pad_template):
18714 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18715 (gst_pad_template_class_init), (gst_pad_template_init),
18716 (gst_pad_template_dispose), (name_is_valid),
18717 (gst_static_pad_template_get), (gst_pad_template_new),
18718 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18719 (gst_pad_template_pad_created):
18720 * gst/gstpadtemplate.h:
18721 inlined two more docs
18722 factored gstpadtemplate out of gstpad
18724 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18726 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18727 (test_children_state_change_order_semi_sink):
18728 Fix test case: we can't rely on a fixed state change order when
18729 going from READY => PAUSED because the sink might commit its
18730 new state first when the first buffer created by the source
18731 reaches the sink before the source has finished its change state.
18732 (Test case still fails at times, see #316856, comment 5 onwards)
18734 2005-09-24 Wim Taymans <wim@fluendo.com>
18736 * docs/design/part-events.txt:
18737 * docs/design/part-gstbus.txt:
18738 * docs/design/part-gstpipeline.txt:
18739 * docs/design/part-messages.txt:
18740 * docs/design/part-overview.txt:
18741 * docs/design/part-segments.txt:
18745 * gst/gstelement.c:
18748 * gst/gstiterator.c:
18749 Various documentation updates.
18751 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18754 Well, that's embarassing. Luckily we weren't using
18755 GST_CLOCK_DIFF anywhere.
18757 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18759 * common/gtk-doc.mak:
18760 don't fail on building XML, FC4 slave shows a bunch of doc
18761 missing bits that I don't get
18763 * gst/gstpipeline.c:
18764 * gst/gststructure.c:
18767 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18769 * docs/design/part-gstbin.txt:
18770 * docs/design/part-gstbus.txt:
18772 Add blurb about how the bus goes into flushing mode and
18773 drops all messages when its bin goes from READY into NULL
18776 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18778 * docs/gst/gstreamer-sections.txt:
18779 * gst/gststructure.c: (gst_structure_get_clock_time):
18780 * gst/gststructure.h:
18781 add a method to get a GstClockTime out of a structure
18783 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18785 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18786 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18787 Added test to check state change order in bins (can still be made
18788 to fail here under heavy disk load; bails out with 'Push on pad
18789 fakesink:sink0, but it was not activated in push mode').
18791 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18792 Fix state change order when there is only a semi sink (#316856)
18794 * gst/gstbus.c: (gst_bus_class_init):
18795 Use _class_peek_parent(), not _class_ref(); fix docs to say
18796 'default main context' instead of 'mainloop' where that is
18799 * gst/gstelement.c: (gst_element_commit_state),
18800 (gst_element_set_state):
18801 Fix typos in debug messages
18803 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18806 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18807 * gst/gstpluginfeature.c:
18809 various doc updates
18810 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18811 change an assert into an error until it gets fixed properly
18813 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18815 * docs/gst/gstreamer-sections.txt:
18816 * docs/gst/tmpl/.cvsignore:
18817 * docs/gst/tmpl/gstelement.sgml:
18818 * docs/gst/tmpl/gstinfo.sgml:
18819 * docs/gst/tmpl/gstobject.sgml:
18820 * gst/gstelement.c:
18821 * gst/gstelement.h:
18824 * gst/gstobject.c: (gst_object_class_init):
18826 inlined 3 more biiiig doc files and added some missing docs on the fly
18828 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18830 * check/gst/.cvsignore:
18831 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18832 * gst/gstregistryxml.c: (load_plugin),
18833 (gst_registry_xml_save_plugin):
18834 put back source in registry. add checks for find_plugin.
18835 * testsuite/states/bin.c: (assert_state), (empty_bin),
18836 (test_adding_one_element), (main):
18837 * testsuite/states/locked.c: (main):
18838 some compile/run fixes
18840 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18842 * check/gst/gstvalue.c: (GST_START_TEST):
18843 fix leaks in the test itself
18845 2005-09-22 Wim Taymans <wim@fluendo.com>
18847 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18848 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18849 (gst_base_sink_query):
18850 Prepare for more accurate position reporting and query
18853 * gst/gstelement.c: (gst_element_send_event),
18854 (gst_element_set_state):
18857 2005-09-22 Wim Taymans <wim@fluendo.com>
18859 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18860 (gst_query_parse_segment):
18862 More documentation.
18863 Add segment query for future use.
18865 2005-09-22 Wim Taymans <wim@fluendo.com>
18867 * gst/gstbin.c: (gst_bin_add_func):
18868 Some more debug info.
18870 * gst/gstelement.c: (gst_element_send_event):
18871 Simplify send_event
18873 * gst/gstelement.h:
18874 Don't know how flags got broken.
18879 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18881 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18882 Add simplistic test suite for GST_TYPE_DATE serialisation and
18885 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18887 * docs/gst/gstreamer-sections.txt:
18888 * gst/gststructure.c: (gst_structure_set_valist),
18889 (gst_structure_get_date):
18890 * gst/gststructure.h:
18891 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18892 (gst_date_copy), (gst_value_compare_date),
18893 (gst_value_serialize_date), (gst_value_deserialize_date),
18894 (gst_value_transform_date_string),
18895 (gst_value_transform_string_date), (_gst_value_initialize):
18897 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18898 bunch of utility functions along with a hack that checks that
18899 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18900 is required. Part of the grand scheme in #170777.
18902 2005-09-22 Andy Wingo <wingo@pobox.com>
18904 * gst/gstconfig.h.in: Psych out gtk-doc.
18906 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18908 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18910 * tools/gst-inspect.c (print_element_list): Plug some
18911 inconsequential leaks.
18913 * gst/gstregistry.c (gst_registry_get_default): Doc.
18915 * check/gst/gstplugin.c:
18916 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18917 * gst/gstelementfactory.c (gst_element_factory_create):
18918 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18921 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18922 (gst_plugin_feature_load): Doc, don't eat refs.
18924 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18925 (gst_plugin_list_free): Doc.
18926 (gst_plugin_load_file): Doc updates.
18928 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18929 accessors returning refcounted objects, return a ref.
18931 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18932 accessor for caps. IDEMPOTENCE. Oh yes.
18934 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18936 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18938 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18939 (_gst_debug_register_funcptr):
18940 Add mutex to serialise access to the hash table with
18941 the function pointer => function name string mapping;
18942 make that hash table static scope (#316809).
18944 * gst/registries/.cvsignore:
18945 Remove left-over file.
18947 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18949 * docs/pwg/appendix-porting.xml:
18950 And something about newsegment events and caps-on-buffers to
18951 the porting guide (feel free to improve).
18953 2005-09-21 Andy Wingo <wingo@pobox.com>
18955 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18956 data and event probes on the same pad.
18957 (test_buffer_probe_once): Test that removing probes from within
18958 the probe functions works.
18960 2005-09-21 Andy Wingo <wingo@pobox.com>
18962 * check/gst/gstutils.c: New file.
18963 (test_buffer_probe_n_times): A simple buffer probe test. More to
18966 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18967 have-data::buffer, not have-data.
18968 (gst_pad_add_event_probe): Likewise for have-data::event.
18969 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18970 peer' isn't quite right yet though.
18971 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18972 (gst_pad_remove_data_probe): Change to take the guint handler_id
18973 as their arg, not the function+data, which is more glib-like.
18975 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18976 the signal emission to indicate if the data is a buffer or an
18978 (gst_pad_get_type): Initialize buffer and event quarks.
18979 (gst_pad_class_init): have-data is now a detailed signal, yes it
18982 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18984 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18985 * gst/gstutils.c: (gst_util_set_value_from_string),
18986 (gst_util_set_object_arg):
18987 Don't put functional code in g_return_if_fail() or
18988 g_return_val_if_fail() statements, otherwise things will
18989 break when G_DISABLE_CHECKS is defined during compilation.
18991 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18993 * docs/gst/tmpl/.cvsignore:
18994 * docs/gst/tmpl/gstvalue.sgml:
18997 inlied another one and added some obvious docs
18999 2005-09-21 Wim Taymans <wim@fluendo.com>
19001 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19002 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19003 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19004 (gst_fdsrc_get_property), (gst_fdsrc_create):
19005 * gst/elements/gstfdsrc.h:
19006 Properly implement fdsrc. Removed signal and timeout,
19007 better implemented somewhere else.
19009 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19011 * docs/gst/tmpl/.cvsignore:
19012 * docs/gst/tmpl/gstimplementsinterface.sgml:
19013 * gst/gstinterface.c:
19016 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19018 * docs/gst/gstreamer-sections.txt:
19019 * docs/gst/tmpl/.cvsignore:
19020 * docs/gst/tmpl/gstenumtypes.sgml:
19021 remove obsolete doc file
19023 2005-09-21 David Schleef <ds@schleef.org>
19025 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19026 little beer, fix a little leak.
19028 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19030 * docs/gst/gstreamer-docs.sgml:
19031 * docs/gst/gstreamer-sections.txt:
19032 * docs/gst/tmpl/.cvsignore:
19036 * gst/gstelement.h:
19037 * gst/gstindex.c: (gst_index_class_init):
19039 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19040 (gst_index_factory_class_init), (gst_index_factory_init),
19041 (gst_index_factory_finalize), (gst_index_factory_new),
19042 (gst_index_factory_destroy), (gst_index_factory_find),
19043 (gst_index_factory_create), (gst_index_factory_make):
19044 * gst/gstindexfactory.h:
19045 * gst/gstpluginfeature.c:
19046 * gst/gstpluginfeature.h:
19047 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19048 more docs inlined, splitted gstindex.{c,h}
19050 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19052 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19055 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19057 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19058 Set sync to FALSE by default.
19060 2005-09-20 Wim Taymans <wim@fluendo.com>
19062 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19063 (gst_base_sink_init):
19064 Make sync property settable from subclass.
19066 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19067 (gst_fake_sink_change_state):
19068 Set sync to FALSE by default.
19070 2005-09-20 Wim Taymans <wim@fluendo.com>
19072 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19073 * tools/gst-launch.c: (main):
19074 The timeout handler should have lower priority than the source
19075 so we don't timeout before popping a message with 0 timeout.
19076 Dump error messages after failed state change.
19078 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19080 * tools/gst-inspect.c: (print_element_properties_info):
19083 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19085 * check/gst/gstevent.c:
19086 * gst/elements/gstfakesink.c:
19087 * gst/elements/gstfakesink.h:
19088 remove the sync property from fakesink.
19089 has the side effect of setting sync TRUE
19090 for fakesink, which is a change. Anyone who knows how
19091 to fix this nicely in a GObject-y way, feel free.
19093 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19095 * docs/gst/gstreamer-docs.sgml:
19096 remove probe refsection
19098 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19100 * check/Makefile.am:
19101 disable valgrinding the controller test again
19102 * docs/gst/gstreamer-sections.txt:
19103 update for api-changes
19105 2005-09-20 Wim Taymans <wim@fluendo.com>
19107 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19108 (gst_base_sink_set_property), (gst_base_sink_get_property),
19109 (gst_base_sink_do_sync):
19110 * gst/base/gstbasesink.h:
19111 Added sync property to basesink to disable clock sync.
19113 2005-09-20 Andy Wingo <wingo@pobox.com>
19115 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19116 eating the caller's refcount.
19118 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19119 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19122 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19123 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19124 of GLib 2.8 public, so we can know which refcount to check in
19127 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19128 (gst_object_init): Only set the gst refcount if we're going ahead
19129 with the refcount hack.
19131 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19133 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19134 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19135 more leaks plumbed, added more debug-logging
19139 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19141 * gst/gstmessage.c:
19142 remove include of gstmemchunk.h
19144 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19146 * gst/gstclock.c: (_gst_clock_id_free):
19147 Commit from the Political Party For More Atomic CVS Commits,
19148 so that people don't waste too much of their day fishing
19149 out obvious leaks out of massive commits.
19150 Oh, and fix a pretty damn obvious leak in the memchunk
19153 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19155 * check/Makefile.am:
19156 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19157 plug mem-leak, re-add to valgrindable tests
19159 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19162 unbreak the build for those who have chronic arthritis
19163 and typing "make check" is just too taxing on the hands
19165 2005-09-20 Andy Wingo <wingo@pobox.com>
19167 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19168 really want it out, you should fix plugins at the same time.
19170 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19173 * docs/gst/gstreamer-sections.txt:
19175 added missing symbols to api docs
19176 disable ref-count hack if we have glib >= 2.8
19178 2005-09-19 David Schleef <ds@schleef.org>
19180 * docs/gst/Makefile.am: Ignore a few more internal headers
19181 * docs/gst/gstreamer-docs.sgml: Remove old sections
19182 * docs/gst/gstreamer-sections.txt: Remove old sections
19183 * docs/gst/tmpl/gstobject.sgml: update
19184 * docs/gst/tmpl/gstplugin.sgml: update
19185 * docs/gst/tmpl/gstpluginfeature.sgml: update
19186 * docs/random/ds/0.9-suggested-changes: update.
19187 * gst/Makefile.am: remove memchunk and trashstack, since they're
19189 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19190 * gst/gst.h: don't include some headers
19191 * gst/gstchildproxy.c: add gstmarshal.h
19192 * gst/gstclock.c: Don't use memchunks
19193 * gst/gstminiobject.c: Add some docs
19194 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19195 * gst/gstobject.h: same
19196 * gst/gstplugin.c: include gstmacros.h
19197 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19198 * gst/gstquery.c: don't use memchunks
19199 * gst/gstregistry.c: rename gst_registry_deinit()
19200 * gst/gstregistry.h: same
19202 2005-09-19 David Schleef <ds@schleef.org>
19204 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19205 * docs/libs/gstreamer-libs-sections.txt:
19206 * docs/libs/tmpl/gstgetbits.sgml:
19207 * docs/libs/tmpl/gstputbits.sgml:
19209 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19211 * win32/gstenumtypes.c:
19212 * win32/gstenumtypes.h:
19215 2005-09-19 Wim Taymans <wim@fluendo.com>
19217 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19218 Automatically PAUSE and RESUME a pipeline when a flushing seek
19221 2005-09-19 Andy Wingo <wingo@pobox.com>
19223 * gst/gstregistry.h: Spacing fixen.
19225 2005-09-19 Wim Taymans <wim@fluendo.com>
19227 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19228 Handle state change failure more correctly.
19230 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19232 * check/Makefile.am:
19233 * check/pipelines/cleanup.c: (run_pipeline):
19234 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19236 enable cleanup again after fixing the leak
19238 some more info on docs
19240 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19242 * check/Makefile.am:
19243 re-enable tests now that leaks are plugged
19245 * check/gst/gstbin.c:
19246 * check/gst/gstpipeline.c:
19247 add some more tests while fixing leaks
19248 * common/check.mak:
19249 make sure binaries are uptodate when valgrinding/gdbing
19251 * gst/gstelementfactory.c:
19252 remove a ref too many, and add a FIXME for when we get
19253 round to disposing of classes
19255 fix the refcounting when loading a plugin from a file and
19256 the code pretends that the pointer is the same even though
19257 of course it can change
19258 * gst/gstpluginfeature.c:
19259 unref plugins marked cached (a bit confusing as a name)
19260 as the docs state should be done
19261 various doc additions to explain refcounting
19262 * gst/gstregistry.c:
19263 * gst/gstregistryxml.c:
19266 2005-09-19 Wim Taymans <wim@fluendo.com>
19268 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19269 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19270 (send_messages), (GST_START_TEST), (gstbus_suite):
19271 * check/gst/gstpipeline.c: (GST_START_TEST):
19272 * check/pipelines/cleanup.c: (run_pipeline):
19273 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19275 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19276 (gst_bus_source_check), (gst_bus_source_dispatch),
19277 (gst_bus_create_watch), (gst_bus_add_watch_full),
19278 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19280 * tools/gst-launch.c: (event_loop):
19281 * tools/gst-md5sum.c: (event_loop):
19282 GstBusHandler -> GstBusFunc, return value has the same meaning as
19283 any other GSource (FALSE == remove source).
19284 _add_watch() and _add_watch_full() now take a MessageType mask to
19285 only handle specific types of messages.
19286 _poll() returns the GstMessage instead of the message type to avoid
19288 _have_pending() takes a MessageType mask now too.
19289 Added testsuite for multiple bus watches.
19290 Fix testsuites and applications for new bus API.
19292 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19294 * check/Makefile.am:
19295 mark a bunch of the tests as to fix until we fix them
19297 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19299 * common/check.mak:
19300 use GST_PLUGIN settings for valgrind tests as well, so we're
19301 valgrinding the correct thing
19302 * gst/gst.c: (init_post):
19305 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19307 * gst/gst.c: (init_post), (gst_deinit):
19308 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19309 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19310 * gst/gstindex.c: (gst_index_factory_class_init),
19311 (gst_index_factory_finalize):
19312 * gst/gstobject.c: (gst_object_dispose):
19313 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19314 (gst_plugin_load_file), (gst_plugin_desc_free):
19315 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19316 (gst_plugin_feature_finalize):
19317 * gst/gstregistry.c: (gst_registry_class_init),
19318 (gst_registry_init), (gst_registry_finalize),
19319 (gst_registry_get_default), (gst_registry_deinit):
19320 * gst/gstregistry.h:
19321 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19322 various cleanups and memleak plugging. make valgrind is happy now.
19324 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19326 * common/check.mak:
19327 add a check-valgrind target
19329 2005-09-18 David Schleef <ds@schleef.org>
19331 * tools/gst-inspect.c: Revert the GOption code.
19333 2005-09-17 David Schleef <ds@schleef.org>
19335 * check/Makefile.am: Fix environment variables.
19336 * check/gst/gstplugin.c: Fix for API changes.
19337 * tools/gst-inspect.c: Fix for API changes.
19338 * tools/gst-xmlinspect.c: Fix for API changes.
19339 * gst/gstelementfactory.c:
19342 * gst/gstpluginfeature.c:
19343 * gst/gstpluginfeature.h:
19344 * gst/gstregistry.c:
19345 * gst/gstregistry.h:
19346 * gst/gstregistryxml.c:
19347 * gst/gsttypefind.c:
19348 * gst/gsttypefindfactory.c:
19349 * gst/indexers/gstfileindex.c:
19350 * gst/indexers/gstmemindex.c:
19351 * gst/schedulers/Makefile.am:
19352 Change registry to keep track of both plugins and features,
19353 removing the feature tracking from plugins themselves.
19355 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19357 * check/Makefile.am:
19358 * tools/gst-register.1.in:
19359 remove gst-register
19361 2005-09-15 David Schleef <ds@schleef.org>
19363 * check/gst/gstplugin.c:
19364 * gst/gstelementfactory.c:
19366 * gst/gstpluginfeature.c:
19367 * gst/gstregistry.c:
19368 Getting tired of debugging. Disabled all the unreffing of
19369 plugins and features, which fixes the segfaults, but of
19370 course leaks like crazy. At least playbin works.
19372 2005-09-15 David Schleef <ds@schleef.org>
19374 * check/gst/gstplugin.c: (register_check_elements),
19375 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19377 * gst/elements/gsttypefindelement.c: Fix refcounting.
19378 * gst/gsttypefind.c:
19379 * gst/gsttypefindfactory.c:
19380 * gst/gsttypefindfactory.h:
19382 2005-09-15 David Schleef <ds@schleef.org>
19384 * gst/gstindex.c: get refcounting correct.
19385 * gst/gstregistry.c: Handle the case where a feature/plugin is
19388 2005-09-15 David Schleef <ds@schleef.org>
19390 * check/Makefile.am:
19391 * check/gst/gstplugin.c: Add test
19392 * gst/gstplugin.c: Fix problems noticed by testsuite
19394 * gst/gstregistry.c:
19395 * gst/gstregistry.h:
19397 2005-09-15 David Schleef <ds@schleef.org>
19399 * gst/gstplugin.c: Implement semi-decent recounting and locking
19400 in plugins and plugin features.
19402 * gst/gstpluginfeature.c:
19403 * gst/gstpluginfeature.h:
19404 * gst/gstregistry.c:
19406 2005-09-15 Michael Smith <msmith@fluendo.com>
19408 * gst/gstregistry.c: (gst_registry_get_feature_list):
19409 Implement this. Makes oggdemux work; decodebin still broken.
19411 2005-09-14 David Schleef <ds@schleef.org>
19413 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19415 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19416 * gst/check/Makefile.am:
19417 * libs/gst/controller/Makefile.am:
19418 * libs/gst/dataprotocol/Makefile.am:
19420 2005-09-14 David Schleef <ds@schleef.org>
19422 * configure.ac: Remove getbits library. Nothing uses it, and
19423 it should be in something like liboil if someone did want
19425 * libs/gst/Makefile.am:
19426 * libs/gst/getbits/Makefile.am:
19427 * libs/gst/getbits/gbtest.c:
19428 * libs/gst/getbits/getbits.c:
19429 * libs/gst/getbits/getbits.h:
19430 * libs/gst/getbits/gstgetbits_generic.c:
19431 * libs/gst/getbits/gstgetbits_i386.s:
19432 * libs/gst/getbits/gstgetbits_inl.h:
19434 2005-09-14 David Schleef <ds@schleef.org>
19436 * gst/Makefile.am: Dist glib-compat.h
19438 2005-09-14 David Schleef <ds@schleef.org>
19440 * configure.ac: Remove gst/registries, since it's no longer used.
19441 * gst/registries/Makefile.am:
19442 * gst/registries/gstlibxmlregistry.c:
19443 * gst/registries/gstlibxmlregistry.h:
19444 * gst/registries/gstxmlregistry.c:
19445 * gst/registries/gstxmlregistry.h:
19446 * gst/registries/registrytest.c:
19448 2005-09-14 David Schleef <ds@schleef.org>
19450 * gst/glib-compat.h:
19451 * gst/gstregistryxml.c:
19452 Convergence is near. Seriously.
19454 2005-09-14 David Schleef <ds@schleef.org>
19456 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19457 * gst/glib-compat.h:
19458 Attempt #4 to appease the buildbots.
19460 2005-09-14 David Schleef <ds@schleef.org>
19462 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19465 2005-09-14 David Schleef <ds@schleef.org>
19467 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19470 2005-09-14 David Schleef <ds@schleef.org>
19472 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19475 2005-09-14 David Schleef <ds@schleef.org>
19477 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19478 * gst/glib-compat.h: Add some functions that are in newer versions
19479 of glib than we care to require.
19480 * gst/gstregistryxml.c: Use them.
19482 2005-09-14 David Schleef <ds@schleef.org>
19484 * po/POTFILES.in: remove gst-register.c
19486 2005-09-14 David Schleef <ds@schleef.org>
19488 * docs/gst/gstreamer-docs.sgml:
19489 * docs/gst/gstreamer-sections.txt:
19490 * docs/gst/gstreamer.types:
19491 * docs/gst/tmpl/gstelement.sgml:
19492 * docs/gst/tmpl/gstplugin.sgml:
19493 * docs/gst/tmpl/gstpluginfeature.sgml:
19494 Documentation updates for registry changes.
19496 2005-09-14 David Schleef <ds@schleef.org>
19498 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19499 because we don't require glib-2.8.
19501 2005-09-14 David Schleef <ds@schleef.org>
19503 * gst/gstregistryxml.c: Added. Essentially moved out of the
19504 registries directory.
19506 2005-09-14 David Schleef <ds@schleef.org>
19508 * check/Makefile.am:
19509 * check/generic/states.c:
19513 * gst/gst_private.h:
19514 * gst/gstelementfactory.c:
19519 * gst/gstpluginfeature.c:
19520 * gst/gstpluginfeature.h:
19521 * gst/gstregistry.c:
19522 * gst/gstregistry.h:
19523 * gst/gstregistrypool.c: remove
19524 * gst/gstregistrypool.h: remove
19525 * gst/gsttypefind.c:
19526 * gst/gsttypefindfactory.c:
19528 * tools/Makefile.am:
19529 * tools/gst-compprep.c:
19530 * tools/gst-inspect.c:
19531 * tools/gst-register.c: remove
19532 * tools/gst-xmlinspect.c:
19533 Registry rewrite. Changes registry from being a file created
19534 by a tool into a simple cache file created automatically by
19535 libgstreamer. Removed gst-register (because it's no longer
19536 needed). Remove registry pools, because we only have one
19537 registry implementation (XML). Fix up other subsystems as
19540 2005-09-13 Michael Smith <msmith@fluendo.com>
19542 * gst/gstconfig.h.in:
19543 Don't Use windows linking attributes for MinGW. Fixes #316157
19545 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19547 * gst/gstutils.c: (set_state_async_thread_func),
19548 (gst_element_set_state_async):
19549 Apparently people think it's better if this function doesn't
19550 try to set the state to whatever state was asked for on the first
19551 call to this function for any object. Seriously.
19553 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19555 * check/gst/gstpipeline.c: (GST_START_TEST):
19556 * docs/gst/gstreamer-sections.txt:
19557 * gst/gstutils.c: (set_state_async_thread_func),
19558 (gst_element_set_state_async):
19560 add a "gst_element_set_state_async" method that
19561 sets the state and starts a thread to make sure the state
19562 change completes as best as it can
19564 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19566 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19567 codify design+behaviour in testsuite after discussion
19569 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19571 * docs/gst/tmpl/gstelement.sgml:
19572 * docs/manual/appendix-quotes.xml:
19574 * gst/gstelement.c: (gst_element_set_state):
19577 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19579 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19580 (gst_base_transform_prepare_output_buf),
19581 (gst_base_transform_handle_buffer):
19582 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19583 (gst_capsfilter_prepare_buf):
19584 Remove the requirement for sub-classes to call the parent
19585 implementation of prepare_output_buffer with a wrapper function.
19587 * gst/gsttaglist.h:
19588 * gst/gsttagsetter.h:
19589 Fix #define wrapper
19591 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19593 * docs/gst/gstreamer-sections.txt:
19596 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19598 * docs/gst/gstreamer-sections.txt:
19599 * docs/gst/tmpl/gstelement.sgml:
19600 * docs/gst/tmpl/gstplugin.sgml:
19601 * gst/gstminiobject.c:
19603 docs now stop throwing warnings
19605 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19607 * docs/gst/gstreamer-sections.txt:
19608 * docs/gst/gstreamer.types:
19609 * docs/gst/tmpl/gstpad.sgml:
19610 * docs/gst/tmpl/gsttypes.sgml:
19611 * gst/base/gstadapter.h:
19612 * gst/base/gstbasesink.h:
19613 * gst/base/gstbasesrc.h:
19619 * gst/gstelement.h:
19621 * gst/gstmessage.h:
19623 * gst/gststructure.c:
19624 * gst/registries/gstlibxmlregistry.h:
19625 various documentation fixes
19627 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19629 * docs/gst/gstreamer-sections.txt:
19630 * docs/gst/tmpl/gstvalue.sgml:
19631 rearrange gstvalue section
19632 * gst/gstutils.c: (gst_element_state_get_name):
19634 * gst/gstvalue.c: (_gst_value_initialize):
19638 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19640 * check/gst-libs/controller.c:
19641 Header include fix.
19642 * gst/base/gstbasetransform.c:
19643 (gst_base_transform_default_prepare_buf),
19644 (gst_base_transform_handle_buffer):
19645 * gst/base/gstbasetransform.h:
19646 Some more basetransform changes and fixes to enable sub-classes
19647 that modify buffer metadata only.
19648 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19649 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19650 (gst_capsfilter_prepare_buf):
19651 If the output pad has fixed allowed caps and input buffers
19652 don't have any, set the fixed caps on outgoing buffers.
19654 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19655 * check/elements/identity.c: (GST_START_TEST):
19656 Make the error a little clearer when the test fails because
19657 identity made a copy of the buffer.
19658 * docs/gst/gstreamer-sections.txt:
19659 New symbols in gstbasetransform.h
19660 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19661 (gst_base_transform_init), (gst_base_transform_transform_size),
19662 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19663 (gst_base_transform_default_prepare_buf),
19664 (gst_base_transform_get_unit_size),
19665 (gst_base_transform_buffer_alloc),
19666 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19667 (gst_base_transform_change_state),
19668 (gst_base_transform_set_passthrough),
19669 (gst_base_transform_set_in_place),
19670 (gst_base_transform_is_in_place):
19671 * gst/base/gstbasetransform.h:
19672 Change BaseTransform to separate in_place operate from same_caps
19673 output. in_place implies that the element can perform the transform
19674 on incoming buffers in-place, even if the caps on the output are
19676 Sub-class elements can now implement special buffer allocation
19677 methods for outgoing buffers if they wish to.
19678 Big documentation addition.
19679 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19680 * gst/elements/gstelements.c:
19681 Changes for basetransform modifications.
19682 * gst/elements/Makefile.am:
19683 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19684 Compile fix. Extra debug output.
19686 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19688 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19690 add tests for valid pad naming
19691 * gst/check/gstcheck.c: (gst_check_log_message_func),
19692 (gst_check_log_critical_func):
19694 remove printing of code, it is fragile when the code contains
19695 % and the line number is enough info
19696 * gst/check/gstcheck.h:
19697 * gst/gstpad.c: (gst_pad_template_new):
19700 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19703 say what CHECK flags we use
19704 * docs/libs/gstreamer-libs.types:
19705 * libs/gst/controller/Makefile.am:
19706 * libs/gst/controller/gst-controller.c:
19707 * libs/gst/controller/gst-controller.h:
19708 * libs/gst/controller/gst-helper.c:
19709 * libs/gst/controller/gst-interpolation.c:
19710 * libs/gst/controller/gstcontroller.c:
19711 * libs/gst/controller/gsthelper.c:
19712 * libs/gst/controller/gstinterpolation.c:
19713 * tools/gst-inspect.c: (print_plugin_info):
19714 we don't use dashes in header names
19716 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19718 * check/Makefile.am:
19719 * check/gst/.cvsignore:
19720 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19721 (gst_pipeline_suite), (main):
19722 adding a test for pipelines and state changes
19723 * gst/gstutils.c: (get_state_func):
19725 * gstreamer.spec.in:
19728 2005-09-08 Michael Smith <msmith@fluendo.com>
19730 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19731 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19732 (gst_file_src_is_seekable), (gst_file_src_get_size),
19733 (gst_file_src_start):
19734 * gst/elements/gstfilesrc.h:
19735 Various fixes for unseekable, unmmapable, and non-normal files, so
19736 that fallback to read() rather than mmap() works.
19737 * gst/gstevent.c: (gst_event_new_newsegment):
19738 Allow newsegment events with segment_start == segment_end, as will
19739 correctly happen if you use filesrc on a zero-size file, for
19742 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19744 * gst/gstplugin.c: (gst_plugin_load_file):
19745 Call g_module_close when we don't load the module
19747 * gst/registries/gstlibxmlregistry.c:
19748 (gst_xml_registry_get_property):
19749 Port leak fix from 0.8
19751 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19753 * docs/gst/gstreamer-docs.sgml:
19754 * docs/gst/tmpl/.cvsignore:
19755 * docs/gst/tmpl/gsttrace.sgml:
19756 * docs/gst/tmpl/gsttrashstack.sgml:
19759 * gst/gstelement.h:
19761 * gst/gstmessage.c:
19762 * gst/gstmessage.h:
19765 * gst/gsttaginterface.c:
19766 * gst/gsttaginterface.h:
19767 * gst/gsttaglist.c:
19768 * gst/gsttaglist.h:
19769 * gst/gsttagsetter.c:
19770 * gst/gsttagsetter.h:
19773 * gst/gsttrashstack.c:
19774 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19775 inlined docs for gsttrace, gsttrashstack
19777 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19780 * gst/elements/gstbufferstore.h:
19781 * gst/elements/gsttypefindelement.c:
19782 * gst/elements/gsttypefindelement.h:
19784 * gst/gsttypefind.c:
19785 * gst/gsttypefind.h:
19786 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19787 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19788 (gst_type_find_factory_dispose),
19789 (gst_type_find_factory_unload_thyself),
19790 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19791 (gst_type_find_factory_get_caps),
19792 (gst_type_find_factory_get_extensions),
19793 (gst_type_find_factory_call_function):
19794 * gst/gsttypefindfactory.h:
19795 * gst/registries/gstlibxmlregistry.c:
19796 * gst/registries/gstxmlregistry.c:
19797 splitted gsttypefind into gsttypefind, gsttypefindfactory
19799 2005-09-07 Andy Wingo <wingo@pobox.com>
19801 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19802 condition whereby the pad's task function is entered before the
19803 pad_mode variable was set.
19805 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19807 * gst/gstpad.c: (gst_pad_alloc_buffer):
19808 Catch misbehaving pad_alloc functions that don't
19809 set up caps and do it for them.
19811 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19813 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19814 test for pipe!=NULL
19815 * docs/gst/tmpl/.cvsignore:
19816 * docs/gst/tmpl/gstmemchunk.sgml:
19817 * docs/gst/tmpl/gstparse.sgml:
19818 * docs/gst/tmpl/gsttaglist.sgml:
19819 * docs/gst/tmpl/gsttagsetter.sgml:
19820 * docs/gst/tmpl/gsttypefind.sgml:
19821 * docs/gst/tmpl/gsttypefindfactory.sgml:
19822 * gst/gstmemchunk.c:
19825 * gst/gsttaginterface.c:
19826 * gst/gsttypefind.c:
19827 * gst/gsttypefind.h:
19830 === release 0.9.2 ===
19832 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19837 releasing 0.9.2, "South"
19839 2005-09-05 Andy Wingo <wingo@pobox.com>
19841 * gst/registries/gstxmlregistry.h:
19842 * gst/registries/gstxmlregistry.c: Um... resurrect...
19844 * gst/registries/gstxmlregistry.h:
19845 * gst/registries/gstxmlregistry.c: and update to newer API.
19846 Incidentally they should be a bit faster now that they don't have
19849 2005-09-05 Andy Wingo <wingo@pobox.com>
19851 * gst/registries/gstxmlregistry.h:
19852 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19853 replaced by the libxml registry a while back
19855 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19857 * docs/gst/tmpl/gstplugin.sgml:
19858 * gst/elements/gstelements.c:
19860 * gst/gstplugin.c: (gst_plugin_register_func),
19861 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19862 (gst_plugin_get_source):
19864 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19865 (gst_xml_registry_save_plugin):
19866 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19867 (gst_xml_registry_save_plugin):
19868 * tools/gst-inspect.c: (print_plugin_info):
19869 add a "source" plugin description field, to represent the source
19870 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19871 will set it to PACKAGE, which is automake's idea of the name of
19872 the source project.
19874 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19879 * docs/Makefile.am:
19880 * docs/faq/Makefile.am:
19881 * docs/gst/tmpl/gstelement.sgml:
19882 * docs/gst/tmpl/gsttypes.sgml:
19883 * docs/htmlinstall.mak:
19884 * docs/manual/Makefile.am:
19885 * docs/pwg/Makefile.am:
19886 reorganize doc build a little
19887 split out docbook and gtk-doc stuff
19888 have two separate --enable's and enable them through autogen
19889 but disable by default in configure (to be similar to other
19891 * gstreamer.spec.in:
19892 clean up docs install
19910 translation updates
19912 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19914 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19917 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19918 (gst_fake_sink_change_state):
19919 Make state change function thread-safe.
19921 * gst/gstpad.c: (gst_pad_alloc_buffer):
19922 Set offset on generic buffer allocated by fallback.
19924 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19926 * docs/gst/gstreamer-sections.txt:
19927 * docs/gst/tmpl/gstelement.sgml:
19929 * libs/gst/controller/gst-controller.c:
19930 (gst_controlled_property_set_interpolation_mode),
19931 (gst_controlled_property_new),
19932 (gst_controller_find_controlled_property):
19933 run the wingo-magic script against the docs
19935 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19937 * docs/gst/gstreamer-docs.sgml:
19938 * docs/gst/gstreamer-sections.txt:
19939 * docs/gst/tmpl/.cvsignore:
19940 * docs/gst/tmpl/gstelementdetails.sgml:
19941 * docs/gst/tmpl/gstelementfactory.sgml:
19944 * gst/gstelementfactory.c:
19945 * gst/gstelementfactory.h:
19946 merged elementdetails docs into elementfactory docs
19949 2005-09-02 Andy Wingo <wingo@pobox.com>
19951 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19952 consider this enum an enum and not a flags.
19954 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19956 * docs/gst/gstreamer-docs.sgml:
19957 * docs/gst/tmpl/.cvsignore:
19958 * docs/gst/tmpl/gstghostpad.sgml:
19959 * docs/gst/tmpl/gstiterator.sgml:
19960 * docs/gst/tmpl/gstmacros.sgml:
19961 * docs/gst/tmpl/gstrealpad.sgml:
19962 * docs/gst/tmpl/gstregistry.sgml:
19963 * docs/gst/tmpl/gstregistrypool.sgml:
19964 * docs/gst/tmpl/gststructure.sgml:
19965 * docs/gst/tmpl/gstsystemclock.sgml:
19966 * docs/gst/tmpl/gsttrace.sgml:
19967 * gst/gstghostpad.c:
19969 * gst/gstmemchunk.c:
19970 * gst/gstmemchunk.h:
19972 * gst/gstregistry.c:
19973 * gst/gstregistrypool.c:
19974 * gst/gststructure.c:
19975 * gst/gstsystemclock.c:
19978 2005-09-02 Andy Wingo <wingo@pobox.com>
19980 * gst/gstelement.h (GstState): Renamed from GstElementState,
19981 changed to be a normal enum instead of flags.
19982 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19983 munged to be GST_STATE_CHANGE_*.
19984 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19985 work with the new state representation.
19986 (GstStateChange): New enumeration of possible state transitions.
19987 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19988 (GstElementClass::change_state): Pass the GstStateChange along as
19989 an argument. Helps language bindings, so they don't have to use
19990 tricky lock-needing macros like GST_STATE_CHANGE ().
19992 * scripts/update-states (file): New script. Run it on a file to
19993 update it for state naming and API changes. Updates files in
19996 * All files updated for the new API.
19998 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20000 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20001 * gst/gstutils.c: (gst_util_set_value_from_string),
20002 (gst_util_set_object_arg):
20003 fix a bunch of unchecked return values
20004 * tools/gst-complete.c: (main):
20005 * gstreamer.spec.in:
20008 2005-09-01 Wim Taymans <wim@fluendo.com>
20010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20011 (gst_base_sink_event), (gst_base_sink_do_sync),
20012 (gst_base_sink_handle_event):
20013 * gst/base/gstbasesink.h:
20014 Handle newsegments more correctly.
20019 * gst/gstevent.c: (gst_event_new_newsegment):
20020 A newsegment cannot have a start_time of -1
20022 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20024 * win32/gstenumtypes.c:
20025 * win32/gstenumtypes.h:
20028 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20030 * libs/gst/controller/gst-controller.c:
20031 (gst_controlled_property_set_interpolation_mode),
20032 (gst_controlled_property_new):
20033 fixed boolean again
20035 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20037 * docs/faq/gst-uninstalled:
20042 * gst/gstutils.c: (gst_element_link_filtered):
20044 add gst_element_link_filtered
20046 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20048 * docs/gst/gstreamer-docs.sgml:
20049 * docs/gst/gstreamer-sections.txt:
20050 * docs/gst/tmpl/.cvsignore:
20051 * docs/gst/tmpl/gsterror.sgml:
20052 * docs/gst/tmpl/gstfilter.sgml:
20053 * docs/gst/tmpl/gsturihandler.sgml:
20054 * docs/gst/tmpl/gsturitype.sgml:
20055 * docs/gst/tmpl/gstutils.sgml:
20056 * docs/gst/tmpl/gstxml.sgml:
20061 * gst/gsturitype.c:
20064 inlined more docs, fixed double id-ref
20066 2005-08-31 Wim Taymans <wim@fluendo.com>
20068 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20069 (gst_base_transform_handle_buffer):
20070 Passthrough elements don't need the caps as they don't care.
20072 2005-08-31 Wim Taymans <wim@fluendo.com>
20074 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20075 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20076 Don't leak refcounts on buffers.
20078 2005-08-31 Wim Taymans <wim@fluendo.com>
20080 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20081 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20082 (gst_base_transform_chain), (gst_base_transform_change_state):
20083 * gst/base/gstbasetransform.h:
20084 Handle the case where we are not negotiated more gracefully.
20086 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20088 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20089 (gst_file_src_map_region):
20090 Set READONLY flag on mmap'ed buffers, otherwise
20091 gst_buffer_make_writable() won't work properly (#314708).
20093 2005-08-31 Wim Taymans <wim@fluendo.com>
20095 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20096 passthrough elements can even do inplace on non writable
20097 buffers (as they don't touch them).
20099 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20101 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20102 (gst_test_mono_source_set_property),
20103 (gst_test_mono_source_class_init), (GST_START_TEST),
20104 (gst_controller_suite):
20105 more tests (hehe I have the most)
20107 describe popping messages whenusing mulltiple sources
20108 * libs/gst/controller/gst-controller.c:
20109 (gst_controlled_property_set_interpolation_mode),
20110 (gst_controlled_property_new):
20111 * libs/gst/controller/gst-controller.h:
20112 * libs/gst/controller/gst-interpolation.c:
20113 implement boolean properties
20115 2005-08-31 Wim Taymans <wim@fluendo.com>
20117 * gst/gstminiobject.c: (gst_mini_object_ref):
20118 Cannot assert that the refcount has to be positive
20119 since a disposed object can be resurrected.
20121 2005-08-31 Wim Taymans <wim@fluendo.com>
20123 * gst/gstpad.c: (gst_pad_init):
20124 Revert change, need to first fix badly behaving
20127 2005-08-30 Wim Taymans <wim@fluendo.com>
20129 * check/elements/fakesrc.c: (setup_fakesrc):
20130 * check/elements/identity.c: (setup_identity):
20131 Activate pads before using them.
20133 2005-08-30 Wim Taymans <wim@fluendo.com>
20135 * gst/base/gstadapter.c: (gst_adapter_flush):
20136 Flushing out 0 bytes is ok for this function.
20138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20139 no newsegment gives a warning and sets the start/stop to
20142 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20143 (gst_base_transform_set_passthrough):
20146 * gst/gstminiobject.c: (gst_mini_object_ref):
20147 Check refcount here too.
20149 * gst/gstpad.c: (gst_pad_init):
20150 Pads are initially flushing and refusing data.
20152 * gst/gstutils.c: (gst_element_link_pads_filtered):
20153 When adding a capsfilter element make sure it has the
20154 same state as the parent bin.
20156 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20158 * docs/gst/tmpl/.cvsignore:
20159 * docs/gst/tmpl/gstformat.sgml:
20160 * docs/gst/tmpl/gstversion.sgml:
20164 * gst/gstversion.h.in:
20165 more docs and two more inlined
20167 2005-08-30 Wim Taymans <wim@fluendo.com>
20169 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20170 Don't sync to clock.
20172 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20174 * docs/gst/gstreamer-sections.txt:
20175 ultral33t func10ns deserve to appear in the docs actually
20176 * docs/gst/tmpl/.cvsignore:
20177 * docs/gst/tmpl/gstcompat.sgml:
20178 * docs/gst/tmpl/gstconfig.sgml:
20179 * gst/check/gstcheck.c:
20181 * gst/gstconfig.h.in:
20184 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20186 * docs/gst/tmpl/.cvsignore:
20187 * docs/gst/tmpl/gstquery.sgml:
20188 * docs/gst/tmpl/gstutils.sgml:
20191 inlined and extended docs
20193 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20195 * check/gst-libs/controller.c: (GST_START_TEST),
20196 (gst_controller_suite):
20198 * docs/gst/tmpl/gstutils.sgml:
20199 * docs/libs/gstreamer-libs-sections.txt:
20200 * docs/libs/tmpl/gstdataprotocol.sgml:
20202 * examples/controller/audio-example.c: (main):
20203 controller example works now
20206 * tools/gst-inspect.c: (print_element_properties_info):
20207 show param spec flags
20209 2005-08-29 Andy Wingo <wingo@pobox.com>
20211 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20213 2005-08-28 Andy Wingo <wingo@pobox.com>
20215 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20216 as having two arguments instead of just one. Allows superclasses
20217 to access information on subclasses -- see the terrible for() loop
20218 in gtype.c:g_type_create_instance for the reason why. All callers
20221 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20223 * docs/design/part-messages.txt:
20225 * docs/gst/tmpl/.cvsignore:
20226 * docs/gst/tmpl/gstcaps.sgml:
20227 * docs/gst/tmpl/gstclock.sgml:
20233 * gst/gstmessage.c:
20234 added descriptions for bus and message
20235 inline caps and clock docs
20237 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20239 * gst/gstmessage.c:
20240 * gst/gstmessage.h:
20243 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20245 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20248 2005-08-26 Andy Wingo <wingo@pobox.com>
20250 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20251 element_set_state's return val.
20252 (test_2_elements): Add test that's been disabled for months.
20254 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20255 can-activate-pull properties.
20257 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20258 can-activate-pull properties. Implement is_seekable so fakesrc can
20259 operate in pull mode.
20261 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20263 (gst_base_sink_activate, gst_base_sink_activate_pull)
20264 (gst_base_sink_activate_push): Make activation mode choosing work.
20266 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20267 is right. Make pull mode work. Post an eos before pausing in pull
20269 (gst_base_sink_change_state): Pay attention to the core's
20270 change_state() return val.
20272 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20273 has-getrange properties. Cleanups.
20275 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20276 has_getrange and replace with can_activate_pull and
20279 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20280 locking comments. Remove has_loop, has_chain and replace with
20281 can_activate_pull and can_activate_push.
20283 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20286 * examples/Makefile.am:
20287 * examples/metadata/Makefile.am:
20288 * examples/metadata/read-metadata.c: (message_loop),
20289 (have_pad_handler), (make_pipeline), (print_tag), (main):
20290 Add metadata reading example that loops over a list of filenames,
20291 dumping any tags found.
20293 * gst/gstbus.c: (gst_bus_dispose):
20294 * gst/gstelement.c: (gst_element_dispose):
20295 Release a few potentially-held references in dispose.
20297 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20299 * docs/gst/tmpl/gstminiobject.sgml:
20300 do *not* add tmpl/*.sgml files to CVS!
20302 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20304 * libs/gst/bytestream/.cvsignore:
20305 * libs/gst/bytestream/Makefile.am:
20306 * libs/gst/bytestream/adapter.c:
20307 * libs/gst/bytestream/adapter.h:
20308 * libs/gst/bytestream/bytestream.c:
20309 * libs/gst/bytestream/bytestream.h:
20310 * libs/gst/bytestream/filepad.c:
20311 * libs/gst/bytestream/filepad.h:
20312 removing obsolete files
20314 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20316 * docs/gst/gstreamer-docs.sgml:
20317 * docs/libs/gstreamer-libs-docs.sgml:
20318 disabed additional index entries again, as this makes docs-gen just
20319 slow and they aren't useful yet
20320 * docs/libs/gstreamer-libs-sections.txt:
20321 little -section.txt cleanup for libs
20323 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20325 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20326 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20327 fix up some debugging
20328 (gst_base_transform_get_unit_size),
20329 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20330 (gst_base_transform_handle_buffer):
20331 * gst/base/gstbasetransform.h:
20332 handle and store timed NEWSEGMENT events so that subclasses that
20333 calculate time by counting samples have a segment_start time they
20334 need to add to their timestamps - see audioresample
20336 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20339 removed ';' from the end of macro defs
20340 * docs/gst/gstreamer-docs.sgml:
20341 * docs/gst/gstreamer-sections.txt:
20342 * docs/gst/tmpl/.cvsignore:
20344 * gst/gstelement.c: (gst_element_class_init),
20345 (gst_element_set_state), (activate_pads),
20346 (gst_element_save_thyself):
20347 * gst/gstevent.c: (gst_event_new_newsegment):
20349 * gst/gstiterator.c:
20350 * gst/gstiterator.h:
20353 * gst/gstutils.c: (gst_pad_query_convert):
20355 fixed parameter name mismatches between source, header and docs
20356 added some more docs, resolved the last batch of unused elements in
20357 docs (now someone needs to doc them)
20359 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20361 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20362 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20363 don't walk through the plugins backwards. Where is all this
20364 reversed logic coming from ?
20366 2005-08-25 Wim Taymans <wim@fluendo.com>
20368 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20369 (gst_base_transform_transform_size),
20370 (gst_base_transform_configure_caps),
20371 (gst_base_transform_get_unit_size),
20372 (gst_base_transform_buffer_alloc),
20373 (gst_base_transform_change_state):
20374 * gst/base/gstbasetransform.h:
20375 Cache caps unit_size.
20376 Make sure we cannot negotiate up and downstream at the
20379 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20381 * gst/gst.c: (init_pre), (init_post):
20382 register the installed plugin path after the env var
20383 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20384 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20385 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20386 directories, so the tests can prefer uninstalled over installed
20388 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20390 * gst/base/gstbasetransform.h:
20395 2005-08-25 Wim Taymans <wim@fluendo.com>
20397 * gst/gstbin.c: (bin_bus_handler):
20398 Be a bit more conservative about the posted message.
20400 * gst/gstbus.c: (gst_bus_post):
20401 Some cleanups, warn wrong return values.
20403 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20405 * check/gst/gstbin.c: (GST_START_TEST):
20406 * gst/gstbin.c: (bin_bus_handler):
20407 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20408 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20409 (gst_message_new_warning), (gst_message_new_tag),
20410 (gst_message_new_state_changed), (gst_message_new_segment_start),
20411 (gst_message_new_segment_done), (gst_message_new_custom):
20412 * gst/gstmessage.h:
20413 * tools/gst-launch.c: (event_loop):
20414 * tools/gst-md5sum.c: (event_loop):
20415 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20417 2005-08-25 Wim Taymans <wim@fluendo.com>
20419 * check/generic/states.c: (GST_START_TEST):
20420 Cleanup can be done at the end.
20422 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20423 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20424 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20425 Oh boy.. Thanks for finding this, Thomas.
20427 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20429 * docs/gst/gstreamer.types:
20430 added missing types
20432 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20434 * docs/gst/gstreamer-docs.sgml:
20435 * docs/gst/gstreamer-sections.txt:
20436 * docs/gst/tmpl/.cvsignore:
20438 * gst/gstiterator.c:
20440 * gst/registries/gstxmlregistry.h:
20441 added missing classes and symbols (123 more to go)
20442 removed removed symbols from section file
20443 fixed many doc-comments
20445 2005-08-24 Wim Taymans <wim@fluendo.com>
20447 * check/generic/states.c: (GST_START_TEST):
20448 Make sure all tasks are stopped.
20450 * check/gst/gstbin.c: (GST_START_TEST):
20451 Unref after usage for proper valgrinding.
20453 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20454 Really wait for the task to stop before destroying the
20457 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20458 (gst_queue_src_activate_push):
20459 Small cleanups. Don't stop the task when we did not start
20462 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20463 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20464 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20467 Protect the stream lock with the object lock.
20468 Disallow setting the stream lock when running.
20469 Add cleanup_all to wait for the threadpool to finish.
20470 Remove code to autoallocate a mutex if none was provided.
20471 Add _join() to wait for a task to stop.
20472 Protect the thread pool with a global lock.
20474 2005-08-24 Wim Taymans <wim@fluendo.com>
20476 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20477 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20478 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20479 * gst/base/gstbasesink.h:
20480 Handle newsegment events correctly.
20481 Drop buffers out of the segment range.
20483 2005-08-22 Andy Wingo <wingo@pobox.com>
20485 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20486 macro, implements an interface and gstimplementsinterface for a
20489 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20491 * check/Makefile.am:
20492 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20493 add a test that does a bunch of state changes on elements
20494 needs some fixing for valgrind
20495 * check/states/sinks.c: (gst_object_suite):
20498 add prototype for gst_caps_is_equal_fixed
20500 * gst/gstregistrypool.c:
20503 2005-08-24 Andy Wingo <wingo@pobox.com>
20505 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20506 convert a negative value. Doesn't make much sense. Mostly this is
20507 here to force callers to ensure -1 maps to -1.
20509 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20511 * docs/pwg/advanced-types.xml:
20512 Well done to Michael for catching my deliberate introduction
20513 of this spelling mistake.
20514 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20515 * gst/gstelement.h:
20516 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20517 unlink pads before removing the element from the bin.
20519 2005-08-24 Andy Wingo <wingo@pobox.com>
20521 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20522 the same thing as GST_DEBUG=*:4.
20523 (parse_debug_level, parse_debug_category): New helper parsers.
20525 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20527 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20528 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20529 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20530 (gst_base_transform_buffer_alloc),
20531 (gst_base_transform_handle_buffer):
20532 use gboolean return values and pointers to size so we can use the
20533 full GST_BUFFER_SIZE range (guint) for buffer sizes
20534 use GstPadDirection for transform_caps
20535 * gst/base/gstbasetransform.h:
20536 rename get_size to get_unit_size since that's what it is
20537 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20538 use GstPadDirection for transform_caps
20539 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20541 cleanup and debugging
20543 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20545 * gst/gstelement.c: (gst_element_class_init),
20546 (gst_element_set_state), (activate_pads),
20547 (gst_element_save_thyself):
20548 * tools/gst-compprep.c: (main):
20549 * tools/gst-inspect.c: (print_element_properties_info):
20550 * tools/gst-xmlinspect.c: (print_element_properties):
20551 Fixed long standing mem-leak
20553 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20555 * check/gst/gstbin.c: (GST_START_TEST):
20556 * gst/gstbin.c: (bin_bus_handler):
20557 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20558 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20559 (gst_message_new_warning), (gst_message_new_tag),
20560 (gst_message_new_state_changed), (gst_message_new_segment_start),
20561 (gst_message_new_segment_done), (gst_message_new_custom):
20562 * gst/gstmessage.h:
20563 * tools/gst-launch.c: (event_loop):
20564 * tools/gst-md5sum.c: (event_loop):
20565 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20566 that applications can sensibly post custom messages with references
20567 to their own objects.
20569 2005-08-24 Andy Wingo <wingo@pobox.com>
20571 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20574 2005-08-24 Wim Taymans <wim@fluendo.com>
20576 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20577 (gst_base_transform_transform_caps),
20578 (gst_base_transform_transform_size),
20579 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20580 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20581 (gst_base_transform_handle_buffer):
20582 * gst/base/gstbasetransform.h:
20583 Many fixes and new features added by Thomas. Can now also do
20584 transforms with variable sizes and a custom fixate_caps function.
20586 2005-08-24 Wim Taymans <wim@fluendo.com>
20588 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20592 Cast to ClockTime before formatting to time.
20597 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20599 * check/gst-libs/controller.c: (GST_START_TEST),
20600 (gst_controller_suite):
20601 * docs/gst/tmpl/gstcaps.sgml:
20602 * docs/gst/tmpl/gstghostpad.sgml:
20603 * docs/gst/tmpl/gstquery.sgml:
20604 * docs/gst/tmpl/gstutils.sgml:
20605 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20606 (gst_object_sink_values), (gst_object_get_value_arrays),
20607 (gst_object_get_value_array):
20608 gracefully handle helper method calls to objects that are not beeing
20609 controlled, added test case for that
20611 2005-08-23 Wim Taymans <wim@fluendo.com>
20613 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20614 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20615 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20616 (gst_event_parse_qos), (gst_event_new_seek),
20617 (gst_event_parse_seek):
20619 Some more debugging output and doc cleanups.
20621 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20622 Fix possible deadlock.
20624 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20626 * docs/gst/gstreamer-docs.sgml:
20627 * docs/gst/gstreamer-sections.txt:
20628 * docs/gst/gstreamer.types:
20629 * docs/gst/tmpl/.cvsignore:
20632 * gst/gstelement.c:
20634 added 100 symbols from gstreamer-unused.txt to the right sections
20635 fixed more broken comments
20636 added GstBus to docs
20638 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20640 * docs/gst/gstreamer-sections.txt:
20641 * docs/gst/tmpl/.cvsignore:
20642 * docs/gst/tmpl/gstbin.sgml:
20643 * docs/gst/tmpl/gstbuffer.sgml:
20644 * gst/base/gstbasesrc.c:
20645 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20648 * tools/gst-launch.1.in:
20649 inlined more doc comments, added missing comments and fixed comments
20652 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20654 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20658 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20660 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20661 * gst/gststructure.h:
20662 add a fixate function for booleans; add a FIXME that these func
20663 names should probably be gst_structure_fixate_*
20665 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20667 * docs/gst/gstreamer-docs.sgml:
20668 * docs/gst/gstreamer-sections.txt:
20670 * gst/gstbin.c: (gst_bin_get_type),
20671 (gst_bin_child_proxy_get_child_by_index),
20672 (gst_bin_child_proxy_get_children_count),
20673 (gst_bin_child_proxy_init):
20674 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20675 (gst_child_proxy_get_child_by_index),
20676 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20677 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20678 (gst_child_proxy_get), (gst_child_proxy_set_property),
20679 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20680 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20681 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20682 * gst/gstchildproxy.h:
20683 * gst/parse/grammar.y:
20684 * tools/gst-inspect.c: (print_interfaces),
20685 (print_element_properties_info), (print_element_info):
20686 ported gstchildproxy over from 0.8
20687 ported gst-inspect fixes and enhancements over from 0.8
20689 2005-08-22 Wim Taymans <wim@fluendo.com>
20691 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20692 (gst_base_transform_handle_buffer):
20693 Also call the transform function if we have ANY caps.
20695 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20698 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20700 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20701 Don't pretend to handle seek events if the source is not seekable
20703 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20705 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20706 Remove extra parameter to debug output
20708 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20709 (gst_base_src_do_seek), (gst_base_src_activate_push):
20710 Fix seek event handling.
20712 * gst/gstpipeline.c: (gst_pipeline_change_state):
20713 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20714 (gst_queue_src_activate_push):
20715 Don't start the src pad task on FLUSH_STOP if the pad
20719 2005-08-22 Wim Taymans <wim@fluendo.com>
20721 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20722 Added check for gst_static_caps_get() refcounting.
20724 2005-08-22 Wim Taymans <wim@fluendo.com>
20726 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20727 Make _static_caps_get() refcounting sane.
20729 * gst/gstelement.c: (gst_element_set_state):
20730 Add g_return_val_if_fail() to protect against segfaults.
20732 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20734 * docs/gst/tmpl/gstevent.sgml:
20737 inlined remaining docs, added missing doc comments
20739 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20741 * check/gst/gstbin.c: (GST_START_TEST):
20742 since we don't know when preroll is done, use refcount range
20744 * gst/check/gstcheck.h:
20745 add macro for checking refcount range
20747 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20749 * check/Makefile.am:
20750 clean up environment for when registry gets built versus
20751 when actual tests are run; valgrind seems to not report
20752 leaks if GST_PLUGIN_PATH is set to some specific values
20753 * check/gst/gstbin.c: (GST_START_TEST):
20754 add more refcounting checks; maybe this exposes a
20756 * common/check.mak:
20757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20758 * gst/check/gstcheck.h:
20759 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20760 (gst_bin_change_state):
20761 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20762 add/fix debugging/whitespace
20764 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20766 * check/gst/gstevent.c: (event_probe), (test_event),
20768 Er, don't call gst_bin_watch_for_state_change you idiot.
20770 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20772 * check/Makefile.am:
20773 Use CHECK_CFLAGS and CHECK_LIBS
20774 * check/gst/gstevent.c: (event_probe), (test_event),
20777 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20778 (gst_base_src_start), (gst_base_src_stop),
20779 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20780 (gst_base_src_change_state):
20781 Sprinkle gst_base_src_stop liberally around error paths to fix
20782 problems reusing a source after failed state changes.
20783 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20784 (helper_find_suggest), (gst_type_find_helper):
20785 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20787 * docs/gst/tmpl/gstevent.sgml:
20788 Migrate part of the docs from the SGML file. Wait for ensonic to
20789 tell me how I did it wrong ;)
20790 * tools/gst-typefind.c: (main):
20791 Extra robustness to state changes between files.
20793 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20795 * check/Makefile.am:
20796 don't valgrind the controller test - it's leaking - Stefan, HELP
20797 * gst/check/gstcheck.c: (gst_check_message_error),
20798 (gst_check_chain_func), (gst_check_setup_element),
20799 (gst_check_teardown_element), (gst_check_setup_src_pad),
20800 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20801 (gst_check_teardown_sink_pad):
20802 * gst/check/gstcheck.h:
20803 add a bunch of methods to set up elements, and src and sink pads
20804 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20805 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20808 * gst/gstmessage.c:
20810 whitespace/doc fixes
20812 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20814 * gst/gstelement.h:
20815 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20816 be handled by the application and not always printed as well
20818 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20820 * check/Makefile.am:
20822 * gst/check/gstcheck.c: (gst_check_message_error):
20823 * gst/check/gstcheck.h:
20824 add a fail_unless_equals_int
20825 add fail_unless for error messages
20827 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20829 * check/Makefile.am:
20831 * common/Makefile.am:
20832 * common/check.mak:
20834 factor out some of the common stuff so we can use it
20836 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20838 * check/Makefile.am:
20839 * check/gst/gstiterator.c: (GST_START_TEST):
20840 * check/gst/gstsystemclock.c: (GST_START_TEST),
20841 (gst_systemclock_suite):
20842 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20844 valgrind more tests
20846 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20848 * check/elements/.cvsignore:
20849 * check/elements/gstfakesrc.c:
20850 rename to name of element
20851 * check/elements/identity.c: (chain_func), (event_func),
20852 (setup_identity), (cleanup_identity), (GST_START_TEST),
20853 (identity_suite), (main):
20854 add a test for identity
20855 * check/Makefile.am:
20856 * pkgconfig/Makefile.am:
20857 * pkgconfig/gstreamer-check.pc.in:
20858 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20862 move the check stuff to a library that gets installed
20863 * check/gst-libs/controller.c: (GST_START_TEST):
20864 * check/gst-libs/gdp.c:
20865 * check/gst/gst.c: (GST_START_TEST):
20866 * check/gst/gstbin.c:
20867 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20868 * check/gst/gstbus.c:
20869 * check/gst/gstcaps.c: (GST_START_TEST):
20870 * check/gst/gstelement.c:
20871 * check/gst/gstghostpad.c:
20872 * check/gst/gstiterator.c:
20873 * check/gst/gstmessage.c:
20874 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20875 * check/gst/gstobject.c:
20876 * check/gst/gstpad.c: (GST_START_TEST):
20877 * check/gst/gststructure.c: (GST_START_TEST):
20878 * check/gst/gstsystemclock.c: (GST_START_TEST),
20879 (gst_systemclock_suite):
20880 * check/gst/gsttag.c: (gst_tag_suite):
20881 * check/gst/gstvalue.c:
20882 * check/pipelines/cleanup.c:
20883 * check/pipelines/simple_launch_lines.c:
20884 * check/states/sinks.c:
20885 change include statement
20887 * docs/gst/gstreamer-sections.txt:
20888 * docs/gst/tmpl/gstpad.sgml:
20889 document more pad stuff
20890 * gst/gstminiobject.c: (gst_mini_object_ref),
20891 (gst_mini_object_unref):
20894 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20896 * docs/gst/tmpl/gst.sgml:
20898 eliminate another tmpl file, fix spelling in the long-description
20900 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20902 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20903 (test_event), (timediff), (gstevents_suite):
20904 Should fix build on 64-bit arch's
20906 2005-08-18 Andy Wingo <wingo@pobox.com>
20908 Make sure that when a pipeline goes to PLAYING, that data has
20909 actually hit the sink.
20911 * check/states/sinks.c (test_sink): A sink that doesn't get any
20912 data shouldn't return SUCCESS for going to either PLAYING or
20913 PAUSED. Test also the return values on the way back down.
20915 * gst/gstelement.c (gst_element_set_state): When changing the
20916 state of an element currently changing state asynchronously, go to
20917 lost-state after commiting the pending state. Makes future calls
20918 to get_state continue to return ASYNC.
20920 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20921 ASYNC when going to PLAYING if we still don't have preroll, as can
20922 happen with live sources.
20924 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20926 * docs/pwg/advanced-types.xml:
20927 Hack long paragraph into 2 chunks as a workaround for buggy
20928 jadetex version in sid and breezy that loops infinitely and
20931 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20933 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20934 (test_event), (timediff), (gstevents_suite):
20935 Provide more error margin in clock measurements to allow for
20936 g_get_current_time inaccuracies.
20938 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20940 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20941 (test_event), (timediff), (gstevents_suite):
20942 Fix error message output so I might be able to tell why the
20943 test works here but fails on the build farm.
20945 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20947 * check/Makefile.am:
20948 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20949 (test_event), (timediff), (gstevents_suite), (main):
20952 * docs/design/part-seeking.txt:
20953 Spelling correction
20955 * docs/gst/tmpl/gstevent.sgml:
20956 * docs/gst/tmpl/gstfakesrc.sgml:
20959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20960 Treat a buffer-without-newsegment the same as a receiving
20961 a newsegment not in time format, and disable syncing to the clock
20964 * gst/gstbus.c: (gst_bus_set_sync_handler):
20965 Assert if anyone tries to replace the existing sync_handler for bus,
20966 as only the owner should be setting it.
20969 Have a fixed set of custom event enums with events identified by
20970 their structure name (as in 0.8), rather than a free-for-all
20971 allowing collisions between enum values from different plugins.
20973 * gst/gstpad.c: (gst_pad_class_init):
20976 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20977 Handle out-of-band downstream events from the sending thread.
20979 2005-08-17 Andy Wingo <wingo@pobox.com>
20981 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20982 play-timeout==0 to mean no timeout at all. In that case, don't
20983 bother with a get_state or a warning, just return directly, even
20986 * gst/base/gstbasetransform.c: Debug changes.
20989 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20990 ensure bins post state change messages. A bit of a hack but I can't
20991 think of a way to avoid it.
20993 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20995 2005-08-16 Andy Wingo <wingo@pobox.com>
20997 * gst/base/gstadapter.h:
20998 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20999 peek() but you own the data. Not terribly efficient atm.
21001 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21003 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21004 (gst_element_found_tags):
21006 Add two utility functions for tag handling.
21008 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21010 * docs/manual/advanced-dataaccess.xml:
21011 * docs/manual/basics-helloworld.xml:
21012 Fix docs to use _bin_add() before _link(), which fixes the examples
21013 with recent core versions (reported by Madhan Raj M
21014 <raj_madan@rediffmail.com>, #313199).
21016 2005-08-16 Wim Taymans <wim@fluendo.com>
21018 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21019 Added subtract checks.
21021 * docs/design/part-events.txt:
21022 Some more docs about newsegment
21024 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21027 * gst/gstcaps.c: (gst_caps_to_string):
21028 Add comments, cleanups.
21030 * gst/gstelement.c: (gst_element_save_thyself):
21033 * gst/gstvalue.c: (gst_value_collect_int_range),
21034 (gst_string_unwrap), (gst_value_union_int_int_range),
21035 (gst_value_union_int_range_int_range),
21036 (gst_value_intersect_int_int_range),
21037 (gst_value_intersect_int_range_int_range),
21038 (gst_value_intersect_double_double_range),
21039 (gst_value_intersect_double_range_double_range),
21040 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21041 (gst_value_subtract_int_range_int),
21042 (gst_value_subtract_double_range_double),
21043 (gst_value_subtract_double_range_double_range),
21044 (gst_value_subtract_from_list), (gst_value_subtract_list),
21045 (gst_value_can_compare), (gst_value_compare_fraction):
21046 Cleanups, add comments, remove unneeded asserts.
21048 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21050 * tools/gst-launch.c: (event_loop):
21051 don't convert NULL structures to strings
21053 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21055 * docs/gst/gstreamer-sections.txt:
21056 made some defines private
21057 * docs/gst/tmpl/gstconfig.sgml:
21058 * docs/gst/tmpl/gstqueue.sgml:
21059 * docs/gst/tmpl/gsttaglist.sgml:
21060 * docs/gst/tmpl/gsttypes.sgml:
21061 * docs/gst/tmpl/gstutils.sgml:
21062 * docs/pwg/appendix-porting.xml:
21063 * gst/base/gstbasesink.h:
21064 * gst/base/gstbasesrc.c:
21065 * gst/base/gstbasesrc.h:
21066 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21067 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21068 * gst/gstelement.c: (gst_element_class_init):
21069 * gst/gstpad.c: (gst_pad_class_init):
21070 * gst/gstqueue.c: (gst_queue_class_init):
21071 * gst/gstxml.c: (gst_xml_class_init):
21072 documented all undocumented signal inline
21073 * libs/gst/controller/gst-controller.h:
21076 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21078 * docs/pwg/appendix-porting.xml:
21079 Document _set_link_function -> _set_setcaps_function.
21081 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21083 * check/Makefile.am:
21084 add a .check target for running the check
21085 * check/gst-libs/controller.c: (GST_START_TEST):
21087 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21088 complete checks for gstbuffer; would be nice if I could get the
21089 gcov stuff to work so I can see if I actually completed gstbuffer.c
21090 * check/gstcheck.h:
21091 add ASSERT_BUFFER_REFCOUNT
21093 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21095 * docs/gst/gstreamer-sections.txt:
21096 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21098 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21099 spew out a warning if a tag that is already registered
21100 is re-registered, unless it is re-registered with a
21101 different type (#308438).
21103 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21105 * docs/pwg/appendix-porting.xml:
21106 * docs/pwg/building-state.xml:
21107 Add some paragraphs about state changes in 0.9 to the PWG
21108 and the porting guide, in particular about the new meaning
21109 of GST_STATE_PAUSED and how to write state change functions
21110 with concurrent access by multiple threads in mind.
21112 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21114 * docs/gst/gstreamer-docs.sgml:
21115 * docs/libs/gstreamer-libs-docs.sgml:
21116 added deprecation and since indexes
21117 * libs/gst/controller/gst-controller.c:
21118 * libs/gst/controller/gst-helper.c:
21122 2005-08-11 Wim Taymans <wim@fluendo.com>
21124 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21125 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21126 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21127 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21128 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21129 (gst_ghost_pad_set_target):
21130 Actually implement (re)setting the target on a ghostpad
21131 as described in the docs.
21133 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21135 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21136 Check whether GST_DEBUG_NO_COLOR environment variable is
21137 set and disable coloured debug output if that is the case.
21139 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21141 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21142 (gst_type_find_helper):
21143 The memory returned by gst_type_find_peek() needs to
21144 stay valid until the end of a typefind function, and
21145 typefind functions may keep results from different
21146 offsets around, so we can't just unref the buffer from
21147 the previous _peek(), but have to save all buffers
21148 returned by _peek() until typefinding is done and only
21151 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21153 * docs/gst/gstreamer-sections.txt:
21155 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21157 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21159 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21160 Fix a pretty good memleak.
21162 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21164 * gst/gstiterator.h:
21165 Fix wrong include and 'make distcheck'.
21167 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21169 * gst/gstbin.c: (bin_bus_handler):
21170 Use gst_element_post_message() instead.
21172 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21174 * gst/base/gstadapter.h:
21175 * gst/base/gstbasesink.h:
21176 * gst/base/gstbasesrc.h:
21177 * gst/base/gstbasetransform.h:
21178 * gst/base/gstcollectpads.h:
21179 * gst/base/gstpushsrc.h:
21180 * gst/gstiterator.h:
21181 Add padding to our base elements' class and instance structs and
21182 to GstIterator (you will need to rebuild all plugins and apps!)
21184 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21186 * gst/gstbin.c: (bin_bus_handler):
21187 Make default message forwarding from child->bus to bin->bus
21188 threadsafe and make it not emit warnings if the parent has no bus.
21190 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21192 * gst/gstelement.c: (activate_pads):
21193 On paused->ready, set pad->caps to NULL, as is the documented
21194 behaviour in this state change. Fixes playback of series of
21195 media files when visualization is enabled in Totem.
21197 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21199 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21200 Allow NULL as filter-caps (which means "any").
21202 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21204 * docs/libs/gstreamer-libs-sections.txt:
21205 * libs/gst/controller/gst-controller.c:
21206 * libs/gst/controller/gst-controller.h:
21207 * libs/gst/controller/gst-helper.c:
21208 adding more entries to the docs and fix small doc-bugs
21210 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21212 * docs/gst/gstreamer-docs.sgml:
21213 * docs/gst/gstreamer-sections.txt:
21214 * docs/gst/gstreamer.types:
21215 * docs/gst/tmpl/gstbasesink.sgml:
21216 * docs/gst/tmpl/gstbasesrc.sgml:
21217 * docs/gst/tmpl/gstbasetransform.sgml:
21218 * docs/gst/tmpl/gstfakesrc.sgml:
21219 * gst/base/gstcollectpads.c:
21220 * gst/base/gstcollectpads.h:
21221 * libs/gst/controller/gst-controller.c:
21222 * libs/gst/controller/gst-controller.h:
21223 * libs/gst/controller/gst-helper.c:
21224 * libs/gst/controller/gst-interpolation.c:
21225 * libs/gst/controller/lib.c:
21226 added long/short desc for controller docs
21227 added collectpads base class docs
21228 added correct includes to base-class docs
21230 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21232 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21233 (gst_test_mono_source_set_property),
21234 (gst_test_mono_source_class_init), (GST_START_TEST),
21235 (gst_controller_suite):
21236 * docs/gst/gstreamer-docs.sgml:
21237 * docs/gst/gstreamer-sections.txt:
21238 * docs/gst/gstreamer.types:
21239 * docs/libs/gstreamer-libs-docs.sgml:
21240 * docs/libs/gstreamer-libs-sections.txt:
21241 * gst/base/gstadapter.c:
21242 * libs/gst/controller/gst-controller.c:
21243 (gst_controlled_property_new), (gst_controlled_property_free),
21244 (gst_controller_new_valist),
21245 (gst_controller_remove_properties_valist),
21246 (gst_controller_sink_values), (_gst_controller_finalize):
21247 * libs/gst/controller/gst-controller.h:
21248 * libs/gst/controller/gst-helper.c:
21249 (gst_object_control_properties), (gst_object_uncontrol_properties),
21250 (gst_object_get_controller), (gst_object_set_controller),
21251 (gst_object_sink_values), (gst_object_get_value_arrays),
21252 (gst_object_get_value_array):
21253 more tests (and fixes) for the controller
21254 more docs for the controller
21255 integrated companies docs for the adapter
21257 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21259 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21260 (GST_START_TEST), (fakesrc_suite):
21261 add tests for sizetype
21263 2005-08-04 Andy Wingo <wingo@pobox.com>
21265 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21266 fixes buffer_alloc proxying among other things.
21268 * gst/base/gstbasetransform.c:
21269 * gst/base/gstbasetransform.h:
21270 Revert patch to gstbasetransform from 7-28 removing
21273 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21274 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21275 Semantics changed, should return not the size of the output buffer
21276 but the byte size of a buffer with a given caps.
21278 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21280 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21281 out) are not the pad caps until setcaps finishes.
21282 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21283 not-in-place case as well. Deal with changing from in-place to
21284 not-in-place within calling pad_alloc_buffer. Still a bit
21285 concerned about the overhead here...
21287 2005-08-03 Andy Wingo <wingo@pobox.com>
21289 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21290 fixating is an error.
21292 2005-08-04 Edward Hervey <edward@fluendo.com>
21294 * gst/base/gstadapter.h:
21295 Added gst_adapter_get_type() to the header
21297 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21299 * check/Makefile.am:
21300 * check/gst-libs/controller.c:
21301 * libs/gst/controller/gst-controller.c:
21302 (gst_controller_new_valist):
21303 added check test suite for the controller
21304 * gst/base/gstpushsrc.c:
21307 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21309 * docs/gst/Makefile.am:
21310 * docs/gst/gstreamer-docs.sgml:
21311 * docs/gst/gstreamer-sections.txt:
21312 * docs/gst/gstreamer.types:
21313 * docs/gst/tmpl/gstfakesrc.sgml:
21315 * gst/base/gstbasesink.c:
21316 * gst/base/gstbasesink.h:
21317 * gst/base/gstbasesrc.c:
21318 * gst/base/gstbasesrc.h:
21319 * gst/base/gstbasetransform.c:
21320 * gst/base/gstpushsrc.c:
21321 * gst/base/gstpushsrc.h:
21322 add short/long description docs to base classes
21323 add pushsrc to the docs
21324 remove consolidated doc fragments
21326 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21329 * docs/libs/Makefile.am:
21330 * docs/libs/gstreamer-libs-docs.sgml:
21331 * docs/libs/gstreamer-libs-sections.txt:
21332 * docs/libs/gstreamer-libs.types:
21333 * examples/Makefile.am:
21334 * examples/controller/.cvsignore:
21335 * examples/controller/Makefile.am:
21336 * examples/controller/audio-example.c: (main):
21337 * libs/gst/Makefile.am:
21338 * libs/gst/controller/.cvsignore:
21339 * libs/gst/controller/Makefile.am:
21340 * libs/gst/controller/gst-controller.c:
21341 (on_object_controlled_property_changed), (gst_timed_value_compare),
21342 (gst_timed_value_find),
21343 (gst_controlled_property_set_interpolation_mode),
21344 (gst_controlled_property_new), (gst_controlled_property_free),
21345 (gst_controller_find_controlled_property),
21346 (gst_controller_new_valist), (gst_controller_new),
21347 (gst_controller_remove_properties_valist),
21348 (gst_controller_remove_properties), (gst_controller_set),
21349 (gst_controller_set_from_list), (gst_controller_unset),
21350 (gst_controller_get), (gst_controller_get_all),
21351 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21352 (gst_controller_get_value_array),
21353 (gst_controller_set_interpolation_mode),
21354 (_gst_controller_finalize), (_gst_controller_init),
21355 (_gst_controller_class_init), (gst_controller_get_type):
21356 * libs/gst/controller/gst-controller.h:
21357 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21358 (g_object_uncontrol_properties), (g_object_get_controller),
21359 (g_object_set_controller), (g_object_sink_values),
21360 (g_object_get_value_arrays), (g_object_get_value_array):
21361 * libs/gst/controller/gst-interpolation.c:
21362 (gst_controlled_property_find_timed_value_node),
21363 (interpolate_none_get), (interpolate_trigger_get),
21364 (interpolate_trigger_get_value_array):
21365 * libs/gst/controller/lib.c: (gst_controller_init):
21366 * pkgconfig/Makefile.am:
21367 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21368 * pkgconfig/gstreamer-control.pc.in:
21369 * testsuite/Makefile.am:
21370 * testsuite/controller/.cvsignore:
21371 * testsuite/controller/Makefile.am:
21372 * testsuite/controller/interpolator.c: (main):
21373 added controller code
21374 removed dparam pc files
21376 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21377 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21378 (gst_collectpads_stop):
21379 Broadcast the condition when shutting down, to make sure we wake all
21380 threads up. Shut down pads on finalize, for safety.
21382 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21383 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21384 (gst_base_transform_handle_buffer),
21385 (gst_base_transform_change_state):
21386 Handle PAUSED->READY->PAUSED transition after negotiation
21388 * gst/gstmessage.c: (gst_message_init):
21389 Extra piece of debug for new messages.
21391 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21394 * docs/gst/tmpl/gstbasesrc.sgml:
21395 * docs/gst/tmpl/gstelement.sgml:
21396 * docs/gst/tmpl/gstevent.sgml:
21397 * docs/gst/tmpl/gstfakesrc.sgml:
21398 * docs/gst/tmpl/gstformat.sgml:
21399 * docs/gst/tmpl/gstghostpad.sgml:
21400 * docs/gst/tmpl/gstpad.sgml:
21401 * docs/gst/tmpl/gstquery.sgml:
21402 * docs/gst/tmpl/gststructure.sgml:
21403 * docs/gst/tmpl/gsttaglist.sgml:
21404 * docs/gst/tmpl/gstvalue.sgml:
21405 * docs/libs/gstreamer-libs-docs.sgml:
21406 * docs/libs/gstreamer-libs-sections.txt:
21407 * docs/libs/gstreamer-libs.types:
21408 * libs/gst/Makefile.am:
21409 * libs/gst/control/.cvsignore:
21410 * libs/gst/control/Makefile.am:
21411 * libs/gst/control/control.c:
21412 * libs/gst/control/control.h:
21413 * libs/gst/control/dparam.c:
21414 * libs/gst/control/dparam.h:
21415 * libs/gst/control/dparam_smooth.c:
21416 * libs/gst/control/dparam_smooth.h:
21417 * libs/gst/control/dparamcommon.h:
21418 * libs/gst/control/dparammanager.c:
21419 * libs/gst/control/dparammanager.h:
21420 * libs/gst/control/dplinearinterp.c:
21421 * libs/gst/control/dplinearinterp.h:
21422 * libs/gst/control/unitconvert.c:
21423 * libs/gst/control/unitconvert.h:
21424 * testsuite/Makefile.am:
21425 * testsuite/dynparams/.cvsignore:
21426 * testsuite/dynparams/Makefile.am:
21427 * testsuite/dynparams/dparamstest.c:
21428 * tools/Makefile.am:
21429 * tools/gst-inspect.c: (print_element_info), (main):
21430 * tools/gst-xmlinspect.c: (print_element_info), (main):
21431 deactivate and remove dparams (libgstcontrol)
21433 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21435 * gst/elements/gsttypefindelement.c:
21436 (gst_type_find_element_have_type), (gst_type_find_element_init),
21437 (stop_typefinding), (gst_type_find_element_handle_event),
21438 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21439 * gst/elements/gsttypefindelement.h:
21440 Set caps on all outgoing buffers, not just the first one.
21442 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21444 * gst/elements/gsttypefindelement.c:
21445 (gst_type_find_element_have_type),
21446 (gst_type_find_element_check_set_buffer_caps),
21447 (gst_type_find_element_init), (stop_typefinding),
21448 (gst_type_find_element_handle_event),
21449 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21450 * gst/elements/gsttypefindelement.h:
21451 Set caps on first outgoing buffer when we've found the type.
21453 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21455 * docs/gst/gstreamer-docs.sgml:
21456 * docs/gst/gstreamer-sections.txt:
21457 * docs/gst/tmpl/gstscheduler.sgml:
21458 * docs/gst/tmpl/gstschedulerfactory.sgml:
21459 Remove some old cruft from docs.
21461 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21464 Fix inline docs for GstPadLinkReturn.
21466 * gst/gststructure.c: (gst_structure_has_name):
21467 * gst/gststructure.h:
21468 * docs/gst/gstreamer-sections.txt:
21469 New API: gst_structure_has_name().
21471 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21474 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21475 and _LARGEFILE_SOURCE in config.h as required. Do not
21476 export those flags in our .pc files any longer (#142209).
21478 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21480 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21481 (gst_file_sink_do_seek), (gst_file_sink_event),
21482 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21483 Redo seek/tell calls with large file support in mind; add some
21484 debugging messages; add log message that tells us when large
21485 file support is unavailable or not enabled for some reason.
21487 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21488 Add log message that tells us when large file support
21489 is unavailable or not enabled for some reason.
21491 2005-07-29 Wim Taymans <wim@fluendo.com>
21493 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21494 Added test for removing an element with ghostpad from a bin.
21495 Fixed test as current implementation does the right thing.
21497 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21498 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21499 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21500 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21501 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21502 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21503 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21504 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21505 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21506 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21507 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21508 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21509 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21510 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21511 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21512 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21513 * gst/gstghostpad.h:
21514 Clean up ghostpads, remove properties for internal stuff.
21517 Prepare for switching targets, not all use cases work yet.
21519 2005-07-29 Wim Taymans <wim@fluendo.com>
21521 * docs/design/part-gstghostpad.txt:
21524 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21525 (gst_bin_remove_func):
21526 Unlinking pads while holding the bin LOCK is not a good
21529 * gst/gstpad.c: (gst_pad_class_init),
21530 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21531 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21532 No prob setting template after creating the pad.
21534 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21536 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21537 (gst_bus_peek), (gst_bus_source_dispatch),
21538 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21539 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21540 gst_bus_poll may be called from other threads. Handle
21541 this nicely by not making poll_data disappear off the
21542 stack once gst_bus_poll returns.
21543 gst_bus_peek now increments the refcount on the returned
21546 2005-07-29 Wim Taymans <wim@fluendo.com>
21548 * docs/design/part-gstghostpad.txt:
21549 Overview of current GhostPad datastructures and use
21550 cases for changing the target.
21552 2005-07-28 Wim Taymans <wim@fluendo.com>
21554 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21555 Added checks for hierarchy consistency whan adding linked
21558 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21559 Added check to test element scheduling without bin/pipeline.
21561 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21562 First add elements to bin, then link.
21564 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21565 (gst_bin_remove_func):
21566 Unlink pads from elements added/removed from bin to maintain
21567 hierarchy consistency.
21569 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21571 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21572 (gst_base_transform_handle_buffer):
21573 * gst/base/gstbasetransform.h:
21574 Remove broken delay_configure (fixes renegotiation of software
21575 scaling pipelines); remove some leftover printf()s.
21577 2005-07-28 Wim Taymans <wim@fluendo.com>
21579 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21580 Added some more tests for wrong hierarchy
21582 * docs/design/part-overview.txt:
21585 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21588 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21589 (gst_element_dispose):
21590 Some more cleanups.
21592 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21593 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21594 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21595 (gst_pad_set_caps), (gst_pad_send_event):
21596 Check for correct hierarchy when linking pads. Moving to
21597 strict requirement for ghostpads when linking elements in
21601 Clean ups. Added WRONG_HIERARCHY return value.
21603 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21605 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21606 Better debug if no transform is possible.
21608 2005-07-27 Wim Taymans <wim@fluendo.com>
21610 * docs/random/wtay/network-transp:
21611 Some old doc I had.
21613 2005-07-27 Wim Taymans <wim@fluendo.com>
21615 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21616 (gst_dp_event_from_packet):
21617 Fix serialization of seek events.
21619 2005-07-27 Wim Taymans <wim@fluendo.com>
21621 * check/gst-libs/gdp.c: (GST_START_TEST):
21622 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21623 Fix compilation and fix event serialization.
21625 2005-07-27 Wim Taymans <wim@fluendo.com>
21628 * docs/design/part-TODO.txt:
21629 * docs/design/part-events.txt:
21632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21633 (gst_base_sink_event), (gst_base_sink_do_sync),
21634 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21635 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21636 (gst_base_src_do_seek), (gst_base_src_event_handler),
21637 (gst_base_src_loop):
21638 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21639 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21640 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21641 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21642 (gst_base_transform_set_passthrough),
21643 (gst_base_transform_is_passthrough):
21644 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21645 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21651 * gst/gstelement.c: (gst_element_seek):
21652 * gst/gstelement.h:
21653 Update gst_element_seek.
21655 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21656 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21657 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21658 (gst_event_new_eos), (gst_event_new_newsegment),
21659 (gst_event_parse_newsegment), (gst_event_new_tag),
21660 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21661 (gst_event_parse_qos), (gst_event_new_seek),
21662 (gst_event_parse_seek), (gst_event_new_navigation):
21664 Make GstEvent use GstStructure. Add parsing code, make sure the
21665 API is sufficiently generic.
21666 Mark possible directions of events and serialization.
21668 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21669 (_gst_message_copy), (gst_message_new_segment_start),
21670 (gst_message_new_segment_done), (gst_message_new_custom),
21671 (gst_message_parse_segment_start),
21672 (gst_message_parse_segment_done):
21675 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21676 (gst_pad_set_caps), (gst_pad_send_event):
21677 Update for new events.
21678 Catch events sent in wrong directions.
21680 * gst/gstqueue.c: (gst_queue_link_src),
21681 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21682 (gst_queue_handle_src_query):
21687 Remove event code from this file.
21689 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21690 (gst_dp_event_from_packet):
21693 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21695 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21696 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21697 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21698 Make debugging actually useful.
21700 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21702 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21703 (gst_pad_fixate_caps):
21704 Implement default fixation once again, so that gst_pad_fixate()
21705 actually does anything at all. This probably needs to be some
21706 sort of a last resort, and use profile-based fixation first, but
21707 since that doesn't exist yet, this is the best we have. Fixes
21708 visualization in Totem.
21710 2005-07-22 Wim Taymans <wim@fluendo.com>
21712 * docs/design/part-events.txt:
21715 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21716 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21717 (gst_base_sink_activate_pull):
21718 Some more comments.
21720 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21721 (gst_fake_src_create):
21722 Fix handoff marshall.
21724 * gst/elements/gstidentity.c: (gst_identity_class_init),
21725 (gst_identity_transform_ip):
21726 We're a real inplace element.
21728 * gst/gstbus.c: (gst_bus_post):
21729 Added some comments.
21731 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21732 * tests/muxing/case1.c: (main):
21733 * tests/sched/dynamic-pipeline.c: (main):
21734 * tests/sched/interrupt1.c: (main):
21735 * tests/sched/interrupt2.c: (main):
21736 * tests/sched/interrupt3.c: (main):
21737 * tests/sched/runxml.c: (main):
21738 * tests/sched/sched-stress.c: (main):
21739 * tests/seeking/seeking1.c: (event_received), (main):
21740 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21742 * tests/threadstate/threadstate3.c: (main):
21743 * tests/threadstate/threadstate4.c: (main):
21744 * tests/threadstate/threadstate5.c: (main):
21747 2005-07-21 Wim Taymans <wim@fluendo.com>
21749 * docs/design/part-seeking.txt:
21750 Some small additions.
21752 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21753 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21754 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21755 * gst/base/gstbasesink.h:
21756 discont values are gint64, handle the math correctly.
21758 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21759 Make the basesrc report error if the source pad is not linked.
21761 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21762 (gst_queue_loop), (gst_queue_handle_src_query),
21763 (gst_queue_src_activate_push):
21764 Make queue collect data even if the srcpad is not linked.
21765 Start pushing out data as soon as it is linked.
21767 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21769 Added gst_flow_get_name() to ease error reporting.
21771 2005-07-20 Wim Taymans <wim@fluendo.com>
21773 * gst/gstmessage.c: (gst_message_new_segment_start),
21774 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21775 (gst_message_parse_segment_done):
21776 * gst/gstmessage.h:
21777 Added a bunch of messages for advanced seeking.
21779 * gst/parse/grammar.y:
21780 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21781 (gst_dpman_state_changed):
21782 Fix some new-pad -> pad-added signals
21784 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21786 * docs/manual/appendix-porting.xml:
21787 * docs/pwg/appendix-porting.xml:
21788 Document new-pad/state-change signal renames and the FixedList
21791 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21793 * docs/manual/advanced-autoplugging.xml:
21794 * docs/manual/basics-helloworld.xml:
21795 * docs/manual/basics-pads.xml:
21796 * docs/random/ds/0.9-suggested-changes:
21797 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21798 * gst/gstelement.h:
21802 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21803 (gst_structure_parse_array), (gst_structure_parse_value):
21804 * gst/gstvalue.c: (gst_type_is_fixed),
21805 (gst_value_list_prepend_value), (gst_value_list_append_value),
21806 (gst_value_list_get_size), (gst_value_list_get_value),
21807 (gst_value_transform_array_string), (gst_value_serialize_array),
21808 (gst_value_deserialize_array), (gst_value_intersect_array),
21809 (gst_value_is_fixed), (_gst_value_initialize):
21811 GstElement::new-pad -> pad-added, GstElement::state-change ->
21812 state-changed, GstValueFixedList -> GstValueArray, add format and
21813 flags as their own arguments in gst_element_seek() (should improve
21814 "bindeability"), remove function generators since they don't work
21815 under a whole bunch of compilers (they were deprecated already
21818 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21820 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21821 (_gst_debug_register_funcptr):
21823 Fix illegal cast on some platforms (#309253).
21825 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21827 * gst/gstmessage.c: (gst_message_new_custom):
21828 * gst/gstmessage.h:
21829 Add _new_custom, make _new_application a macro to _new_custom.
21831 2005-07-20 Wim Taymans <wim@fluendo.com>
21833 * gst/base/gstbasesrc.c: (gst_base_src_init),
21834 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21835 * gst/base/gstbasesrc.h:
21836 Add a gboolean to decide when to push out a discont.
21838 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21839 (gst_queue_loop), (gst_queue_handle_src_query),
21840 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21841 (gst_queue_set_property), (gst_queue_get_property):
21844 * tests/threadstate/threadstate1.c: (main):
21845 Make a thread test compile and run... very silly..
21848 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21850 * docs/manual/appendix-porting.xml:
21851 Mention removal of libgstgconf-0.9.la and existence of gconf
21854 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21856 * docs/pwg/advanced-clock.xml:
21857 * docs/pwg/appendix-porting.xml:
21858 * docs/pwg/intro-preface.xml:
21859 * docs/pwg/other-base.xml:
21860 * docs/pwg/other-manager.xml:
21861 * docs/pwg/other-nton.xml:
21862 * docs/pwg/other-ntoone.xml:
21863 * docs/pwg/other-oneton.xml:
21864 * docs/pwg/pwg.xml:
21865 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21866 demuxer), remove n-to-n (was never written), fix some code examples
21867 and links and update the porting section to include all this.
21869 2005-07-19 Wim Taymans <wim@fluendo.com>
21871 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21872 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21873 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21874 (gst_queue_src_activate_push), (gst_queue_change_state),
21875 (gst_queue_get_property):
21877 Propagate GstFlowReturn more intelligently upstream and output
21878 an ERROR/EOS when streaming stopped due to fatal error.
21880 2005-07-19 Wim Taymans <wim@fluendo.com>
21882 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21883 Don't block forever for the state change to complete, the
21884 pipeline already did with a sensible timeout.
21886 2005-07-19 Wim Taymans <wim@fluendo.com>
21888 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21889 Make sure we never call the create function is we
21892 2005-07-19 Andy Wingo <wingo@pobox.com>
21894 * gst/parse/parse.l: Attempt to solve bug #172815.
21896 2005-07-19 Wim Taymans <wim@fluendo.com>
21898 * docs/design/part-clocks.txt:
21899 * docs/design/part-events.txt:
21900 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21901 Small docs updates.
21902 Only update the seeking values when we are not
21905 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21907 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21908 Oops, ignore the result of gst_pad_push_event here.
21910 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21912 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21913 (gst_base_src_activate_push):
21914 Send discont event from the loop function, as pads
21915 aren't activated yet in the activate_push handler.
21917 * gst/gstbin.c: (bin_bus_handler):
21918 Don't leak element name.
21920 2005-07-18 Andy Wingo <wingo@pobox.com>
21922 * configure.ac: Use AS_LIBTOOL_TAGS.
21924 2005-07-18 Wim Taymans <wim@fluendo.com>
21926 * docs/gst/gstreamer.types:
21927 Remove deleted types.
21929 2005-07-18 Wim Taymans <wim@fluendo.com>
21931 * check/elements/gstfakesrc.c: (GST_START_TEST):
21934 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21935 (init_popt_callback):
21937 * gst/gst_private.h:
21938 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21939 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21942 * gst/gstconfig.h.in:
21943 * gst/gstelement.c: (gst_element_class_init),
21944 (gst_element_set_base_time), (gst_element_get_base_time),
21945 (iterator_fold_with_resync), (gst_element_change_state),
21946 (gst_element_dispose), (gst_element_get_bus):
21947 * gst/gstelement.h:
21948 * gst/gstelementfactory.h:
21949 * gst/gsterror.c: (_gst_core_errors_init):
21952 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21954 * gst/gstinfo.c: (_gst_debug_init):
21955 * gst/gstmessage.c: (_gst_message_copy):
21956 * gst/gstmessage.h:
21957 * gst/gstminiobject.h:
21960 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21961 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21964 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21965 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21966 (gst_pipeline_get_last_stream_time):
21967 * gst/gstpipeline.h:
21968 * gst/gstpluginfeature.h:
21970 * gst/gstscheduler.c:
21971 * gst/gstscheduler.h:
21972 * gst/gststructure.h:
21973 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21974 (gst_task_finalize), (gst_task_func), (gst_task_create),
21975 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21976 (gst_task_stop), (gst_task_pause):
21978 * gst/gsttypefind.h:
21980 * gst/registries/gstlibxmlregistry.c: (load_feature),
21981 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21982 * gst/registries/gstxmlregistry.c:
21983 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21984 * gst/schedulers/threadscheduler.c:
21985 * libs/gst/control/dparammanager.h:
21986 * tools/gst-inspect.c: (print_element_list),
21987 (print_plugin_features), (print_element_features):
21988 * tools/gst-xmlinspect.c: (print_element_list),
21989 (print_plugin_info), (main):
21990 Removed plugable schedulers.
21991 Removed Scheduler/Manager from elements.
21992 Removed gsttypes.h, rearranged includes.
21993 Removed dependency pad<->element, element<>pipeline, and
21994 various others, fix includes.
21995 implement gst_pad_get_parent() with gst_object_get_parent()
21996 Make GstTask sefcontained.
21997 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21999 Fix endless loop in iterator_fold_with_resync.
22002 2005-07-18 Wim Taymans <wim@fluendo.com>
22008 2005-07-18 Wim Taymans <wim@fluendo.com>
22011 No more cothreads.h
22013 2005-07-18 Wim Taymans <wim@fluendo.com>
22017 Let's remove these.
22019 2005-07-18 Wim Taymans <wim@fluendo.com>
22021 * docs/design/part-dynamic.txt:
22022 * docs/design/part-events.txt:
22023 * docs/design/part-seeking.txt:
22024 Some more docs in the works.
22026 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22027 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22028 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22029 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22030 (gst_base_transform_handle_buffer),
22031 (gst_base_transform_sink_activate_push),
22032 (gst_base_transform_src_activate_pull),
22033 (gst_base_transform_set_passthrough),
22034 (gst_base_transform_is_passthrough):
22037 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22040 * gst/gstevent.c: (gst_event_finalize):
22043 * gst/gstutils.c: (gst_element_unlink),
22044 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22045 (gst_pad_proxy_setcaps):
22047 Add _get_parent_element() to get a pads parent as an element.
22049 2005-07-18 Wim Taymans <wim@fluendo.com>
22051 * check/gst/gstbin.c: (GST_START_TEST):
22054 2005-07-18 Wim Taymans <wim@fluendo.com>
22056 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22057 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22058 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22059 (gst_base_sink_event), (gst_base_sink_do_sync),
22060 (gst_base_sink_chain), (gst_base_sink_loop),
22061 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22062 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22064 Fix logic for returning ASYNC when not prerolled.
22066 2005-07-18 Wim Taymans <wim@fluendo.com>
22068 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22069 Fix nasty refcount bug.
22071 2005-07-16 Philippe Khalaf <burger@speedy.org>
22073 * gst/elements/gstfdsrc.c:
22074 * gst/elements/gstfdsrc.h:
22075 * gst/elements/gstelements.c:
22076 * gst/elements/Makefile.am:
22077 Ported fdsrc to 0.9.
22079 2005-07-16 Wim Taymans <wim@fluendo.com>
22081 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22082 (gst_base_sink_do_sync):
22085 2005-07-16 Wim Taymans <wim@fluendo.com>
22087 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22088 (gst_base_sink_event), (gst_base_sink_get_times),
22089 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22090 * gst/base/gstbasesink.h:
22091 Store and use discont values when syncing buffers as described
22094 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22095 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22096 (gst_base_src_activate_push):
22097 Push discont event when starting.
22099 * gst/elements/gstidentity.c: (gst_identity_transform):
22102 * gst/gstbin.c: (gst_bin_change_state):
22103 Small cleanups in base_time distribution.
22105 * gst/gstelement.c: (gst_element_set_base_time),
22106 (gst_element_get_base_time), (gst_element_change_state):
22107 * gst/gstelement.h:
22108 Added methods for the base_time of the element.
22111 * gst/gstpipeline.c: (gst_pipeline_send_event),
22112 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22113 (gst_pipeline_get_last_stream_time):
22114 * gst/gstpipeline.h:
22116 Handle seeking as described in design doc, remove stream_time
22118 Cleanups clock and stream_time selection code. Added accessors
22119 for the stream_time.
22122 2005-07-16 Andy Wingo <wingo@pobox.com>
22124 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22127 2005-07-16 Wim Taymans <wim@fluendo.com>
22129 * check/gst/gstbin.c: (GST_START_TEST):
22130 Make elements silent as the deep_notify refs the
22131 parent, which might make the test fail.
22133 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22134 Don't hold the lock for too long.
22136 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22138 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22139 Don't unref the caps we passed to gst_caps_make_writable() after
22140 passing them. gst_caps_make_writable() will do that for us.
22142 2005-07-15 Andy Wingo <wingo@pobox.com>
22144 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22147 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22148 own marshalling function for the handoff signal. Properly type the
22149 buffer as a buffer. Fixes some warnings. Should do a more general
22151 (gst_identity_class_init): Plug into the right marshaller.
22153 2005-07-15 Wim Taymans <wim@fluendo.com>
22155 * docs/design/part-TODO.txt:
22156 * docs/design/part-clocks.txt:
22157 * docs/design/part-element-sink.txt:
22158 * docs/design/part-events.txt:
22159 * docs/design/part-gstpipeline.txt:
22160 Updated docs, mostly DISCONT related.
22162 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22164 * docs/pwg/building-pads.xml:
22165 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22167 2005-07-15 Andy Wingo <wingo@pobox.com>
22169 * tools/gst-typefind.c: Update, add copyright block.
22171 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22172 Normalize and truncate caps before fixation.
22175 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22176 discards all but the first structure from its argument.
22178 2005-07-15 Wim Taymans <wim@fluendo.com>
22180 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22181 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22182 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22183 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22184 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22185 (gst_base_transform_chain), (gst_base_transform_change_state),
22186 (gst_base_transform_set_passthrough),
22187 (gst_base_transform_is_passthrough):
22188 * gst/base/gstbasetransform.h:
22189 Make passthrough work using the bufferpools.
22190 Changed API a bit, subclasses have to write into a buffer
22191 provided by the base class.
22192 More debug info in nego functions.
22194 * gst/elements/gstidentity.c: (gst_identity_init),
22195 (gst_identity_transform):
22196 Port to new base class.
22198 2005-07-15 Wim Taymans <wim@fluendo.com>
22200 * gst/gstmessage.c: (gst_message_new_state_changed):
22201 * tools/gst-launch.c: (event_loop), (main):
22202 Totally dump messages in -launch with the -m option.
22203 Fix message name for State messages,
22205 2005-07-14 Wim Taymans <wim@fluendo.com>
22207 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22208 Post error messages on errors.
22210 2005-07-14 Wim Taymans <wim@fluendo.com>
22212 * gst/gstcaps.c: (gst_caps_do_simplify):
22216 Define error for stream stopped.
22218 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22219 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22220 Do proper return values.
22222 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22223 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22224 (gst_pad_get_range):
22225 Better return values.
22228 Reorganise return values, add macro to check for fatal errors.
22230 * gst/gstqueue.c: (gst_queue_chain):
22231 Return proper GstFlowReturn values,
22233 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22235 * docs/gst/gstreamer-sections.txt:
22236 * docs/gst/gstreamer.types:
22237 * docs/gst/tmpl/gst.sgml:
22238 * docs/gst/tmpl/gstbasesink.sgml:
22239 * docs/gst/tmpl/gstbasesrc.sgml:
22240 * docs/gst/tmpl/gstbasetransform.sgml:
22241 * docs/gst/tmpl/gstbin.sgml:
22242 * docs/gst/tmpl/gstbuffer.sgml:
22243 * docs/gst/tmpl/gstcaps.sgml:
22244 * docs/gst/tmpl/gstclock.sgml:
22245 * docs/gst/tmpl/gstcompat.sgml:
22246 * docs/gst/tmpl/gstconfig.sgml:
22247 * docs/gst/tmpl/gstelement.sgml:
22248 * docs/gst/tmpl/gstelementdetails.sgml:
22249 * docs/gst/tmpl/gstelementfactory.sgml:
22250 * docs/gst/tmpl/gstenumtypes.sgml:
22251 * docs/gst/tmpl/gsterror.sgml:
22252 * docs/gst/tmpl/gstevent.sgml:
22253 * docs/gst/tmpl/gstfakesink.sgml:
22254 * docs/gst/tmpl/gstfakesrc.sgml:
22255 * docs/gst/tmpl/gstfilesink.sgml:
22256 * docs/gst/tmpl/gstfilesrc.sgml:
22257 * docs/gst/tmpl/gstfilter.sgml:
22258 * docs/gst/tmpl/gstformat.sgml:
22259 * docs/gst/tmpl/gstghostpad.sgml:
22260 * docs/gst/tmpl/gstimplementsinterface.sgml:
22261 * docs/gst/tmpl/gstindex.sgml:
22262 * docs/gst/tmpl/gstindexfactory.sgml:
22263 * docs/gst/tmpl/gstinfo.sgml:
22264 * docs/gst/tmpl/gstiterator.sgml:
22265 * docs/gst/tmpl/gstmacros.sgml:
22266 * docs/gst/tmpl/gstmemchunk.sgml:
22267 * docs/gst/tmpl/gstminiobject.sgml:
22268 * docs/gst/tmpl/gstobject.sgml:
22269 * docs/gst/tmpl/gstpad.sgml:
22270 * docs/gst/tmpl/gstpadtemplate.sgml:
22271 * docs/gst/tmpl/gstparse.sgml:
22272 * docs/gst/tmpl/gstpipeline.sgml:
22273 * docs/gst/tmpl/gstplugin.sgml:
22274 * docs/gst/tmpl/gstpluginfeature.sgml:
22275 * docs/gst/tmpl/gstquery.sgml:
22276 * docs/gst/tmpl/gstqueue.sgml:
22277 * docs/gst/tmpl/gstregistry.sgml:
22278 * docs/gst/tmpl/gstregistrypool.sgml:
22279 * docs/gst/tmpl/gstscheduler.sgml:
22280 * docs/gst/tmpl/gstschedulerfactory.sgml:
22281 * docs/gst/tmpl/gststructure.sgml:
22282 * docs/gst/tmpl/gstsystemclock.sgml:
22283 * docs/gst/tmpl/gsttaglist.sgml:
22284 * docs/gst/tmpl/gsttagsetter.sgml:
22285 * docs/gst/tmpl/gsttrace.sgml:
22286 * docs/gst/tmpl/gsttrashstack.sgml:
22287 * docs/gst/tmpl/gsttypefind.sgml:
22288 * docs/gst/tmpl/gsttypefindfactory.sgml:
22289 * docs/gst/tmpl/gsttypes.sgml:
22290 * docs/gst/tmpl/gsturihandler.sgml:
22291 * docs/gst/tmpl/gsturitype.sgml:
22292 * docs/gst/tmpl/gstutils.sgml:
22293 * docs/gst/tmpl/gstvalue.sgml:
22294 * docs/gst/tmpl/gstversion.sgml:
22295 * docs/gst/tmpl/gstxml.sgml:
22296 * docs/libs/tmpl/gstcontrol.sgml:
22297 * docs/libs/tmpl/gstdataprotocol.sgml:
22298 * docs/libs/tmpl/gstdparam.sgml:
22299 * docs/libs/tmpl/gstdplinint.sgml:
22300 * docs/libs/tmpl/gstdpman.sgml:
22301 * docs/libs/tmpl/gstdpsmooth.sgml:
22302 * docs/libs/tmpl/gstgetbits.sgml:
22303 * docs/libs/tmpl/gstunitconvert.sgml:
22304 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22305 (gst_push_src_base_init), (gst_push_src_class_init),
22306 (gst_push_src_init), (gst_push_src_create):
22307 * gst/base/gstpushsrc.h:
22308 * gst/elements/gstelements.c:
22309 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22310 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22311 (gst_fake_sink_init), (gst_fake_sink_set_property),
22312 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22313 (gst_fake_sink_event), (gst_fake_sink_preroll),
22314 (gst_fake_sink_render), (gst_fake_sink_change_state):
22315 * gst/elements/gstfakesink.h:
22316 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22317 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22318 (gst_fake_src_base_init), (gst_fake_src_class_init),
22319 (gst_fake_src_init), (gst_fake_src_event_handler),
22320 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22321 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22322 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22323 (gst_fake_src_create_buffer), (gst_fake_src_create),
22324 (gst_fake_src_start), (gst_fake_src_stop):
22325 * gst/elements/gstfakesrc.h:
22326 * gst/elements/gstfilesink.c: (_do_init),
22327 (gst_file_sink_base_init), (gst_file_sink_class_init),
22328 (gst_file_sink_init), (gst_file_sink_dispose),
22329 (gst_file_sink_set_location), (gst_file_sink_set_property),
22330 (gst_file_sink_get_property), (gst_file_sink_open_file),
22331 (gst_file_sink_close_file), (gst_file_sink_query),
22332 (gst_file_sink_event), (gst_file_sink_render),
22333 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22334 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22335 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22336 * gst/elements/gstfilesink.h:
22337 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22338 (gst_file_src_class_init), (gst_file_src_init),
22339 (gst_file_src_finalize), (gst_file_src_set_location),
22340 (gst_file_src_set_property), (gst_file_src_get_property),
22341 (gst_file_src_map_region), (gst_file_src_map_small_region),
22342 (gst_file_src_create_mmap), (gst_file_src_create_read),
22343 (gst_file_src_create), (gst_file_src_is_seekable),
22344 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22345 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22346 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22347 (gst_file_src_uri_handler_init):
22348 * gst/elements/gstfilesrc.h:
22349 more autistic cleanliness in functions/names/defines
22351 2005-07-13 Andy Wingo <wingo@pobox.com>
22353 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22354 source couldn't negotiate.
22356 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22360 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22361 function. I am channeling Hades. Put your boots on suckers!!!
22363 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22365 * testsuite/caps/Makefile.am:
22366 * testsuite/caps/value_compare.c:
22367 * testsuite/caps/value_intersect.c:
22368 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22369 move two testsuite apps over to the check dir
22371 2005-07-12 Wim Taymans <wim@fluendo.com>
22373 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22374 Added more debug info in the negotiate process.
22376 * gst/gstmessage.h:
22377 Prepare for segment playback.
22379 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22385 * tools/gst-launch.c: (main):
22386 NULL pipeline on errors.
22388 2005-07-12 Andy Wingo <wingo@pobox.com>
22390 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22391 not it comes from a malloc region. Make sure our copy gets freed.
22393 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22395 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22396 * check/gst/gstmessage.c: (GST_START_TEST):
22397 * check/gst/gststructure.c: (GST_START_TEST),
22398 (gst_structure_suite), (main):
22400 * gst/gstelement.c: (gst_element_message_full):
22401 clean up GError and debug string now that they get copied
22402 * gst/gstmessage.c: (gst_message_new_error),
22403 (gst_message_new_warning), (gst_message_parse_error),
22404 (gst_message_parse_warning):
22405 use GST_TYPE_G_ERROR for structure_new, and take copies of
22406 arguments, so that we don't mess up refcounting
22408 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22410 * check/Makefile.am:
22411 add per-test valgrind targets
22412 * check/gst-libs/gdp.c: (GST_START_TEST),
22413 (gst_data_protocol_suite), (main):
22416 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22418 * check/Makefile.am:
22419 instate more valgrindable tests
22420 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22421 (GST_START_TEST), (fakesrc_suite):
22422 * check/gst/gstpad.c: (GST_START_TEST):
22423 * check/gst/gststructure.c: (GST_START_TEST):
22425 * docs/gst/tmpl/gstminiobject.sgml:
22426 * gst/gstpad.c: (gst_pad_finalize):
22427 fix the static mutex leak
22429 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22431 * check/Makefile.am:
22432 add two more tests for valgrinding
22433 * check/gst/gstvalue.c: (GST_START_TEST):
22434 test refcount of deserialized buffer, found a leak
22435 * docs/gst/gstreamer-docs.sgml:
22436 * docs/gst/gstreamer-sections.txt:
22437 * docs/gst/gstreamer.types:
22438 * docs/gst/tmpl/gstminiobject.sgml:
22439 add miniobject to docs
22440 * gst/gstminiobject.c:
22442 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22443 (gst_string_unwrap):
22444 fix a hard-to-find invalid write for one of the tests
22445 fix a leak for deserialized buffers
22447 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22449 * docs/pwg/advanced-events.xml:
22450 * docs/pwg/advanced-request.xml:
22451 * docs/pwg/advanced-scheduling.xml:
22452 * docs/pwg/appendix-porting.xml:
22453 * docs/pwg/building-boiler.xml:
22454 * docs/pwg/intro-preface.xml:
22455 * docs/pwg/other-ntoone.xml:
22456 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22457 of example code and explanation for pad activation, loop() and
22458 getrange() functions and a bit more. Remove old comments pointing
22460 * examples/pwg/Makefile.am:
22461 Add loop/getrange examples.
22463 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22466 check for valgrind binary + some fixes
22468 valgrind suppressions for the tests
22469 * check/Makefile.am:
22470 add a valgrind: target that valgrinds the unit tests
22471 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22472 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22473 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22474 * check/gst/gstghostpad.c:
22476 * check/gst/gstdata.c:
22478 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22479 (thread_unref), (gst_mini_object_suite), (main):
22481 * gst/gst.c: (gst_deinit):
22483 add a method to clean up.
22484 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22485 (gst_system_clock_obtain):
22486 allow for disposing the system clock.
22487 * tools/gst-launch.c: (main):
22490 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22492 * docs/gst/tmpl/gstbasesrc.sgml:
22493 * docs/gst/tmpl/gstfakesrc.sgml:
22494 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22495 (gst_base_src_init), (gst_base_src_set_property),
22496 (gst_base_src_get_property), (gst_base_src_get_range),
22497 (gst_base_src_start):
22498 * gst/base/gstbasesrc.h:
22499 add num-buffers property
22500 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22501 (gst_fakesrc_init), (gst_fakesrc_set_property),
22502 (gst_fakesrc_get_property), (gst_fakesrc_create),
22503 (gst_fakesrc_start):
22504 remove num-buffers property
22506 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22508 * docs/gst/gstreamer-sections.txt:
22509 * docs/gst/tmpl/gstbasesink.sgml:
22510 * docs/gst/tmpl/gstbasesrc.sgml:
22511 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22512 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22513 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22514 (gst_base_sink_set_property), (gst_base_sink_get_property),
22515 (gst_base_sink_handle_object), (gst_base_sink_event),
22516 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22517 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22518 (gst_base_sink_loop), (gst_base_sink_deactivate),
22519 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22520 (gst_base_sink_change_state):
22521 * gst/base/gstbasesink.h:
22522 * gst/base/gstbasesrc.h:
22523 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22524 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22525 (gst_filesink_init):
22526 more macro splitting
22528 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22530 * gst/gstelement.c: (gst_element_get_bus):
22532 * tools/gst-launch.c: (check_intr), (event_loop):
22535 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22537 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22540 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22542 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22543 (gst_base_src_finalize):
22544 add finalize method and clean up properly
22545 * gst/gstpipeline.c: (gst_pipeline_dispose):
22548 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22550 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22552 add more things to check
22553 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22554 * gst/gstelement.c:
22557 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22559 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22560 (GST_START_TEST), (fakesrc_suite):
22561 * check/gst-libs/gdp.c: (GST_START_TEST):
22562 * check/gst/gst.c: (GST_START_TEST):
22563 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22564 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22565 * check/gst/gstbus.c: (GST_START_TEST):
22566 * check/gst/gstcaps.c: (GST_START_TEST):
22567 * check/gst/gstdata.c: (GST_START_TEST):
22568 * check/gst/gstelement.c: (GST_START_TEST):
22569 * check/gst/gstghostpad.c: (GST_START_TEST):
22570 * check/gst/gstiterator.c: (GST_START_TEST):
22571 * check/gst/gstmessage.c: (GST_START_TEST):
22572 * check/gst/gstobject.c: (GST_START_TEST):
22573 * check/gst/gstpad.c: (GST_START_TEST):
22574 * check/gst/gststructure.c: (GST_START_TEST):
22575 * check/gst/gstsystemclock.c: (GST_START_TEST),
22576 (gst_systemclock_suite):
22577 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22578 * check/gst/gstvalue.c: (GST_START_TEST):
22579 * check/pipelines/cleanup.c: (GST_START_TEST):
22580 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22581 * check/states/sinks.c: (GST_START_TEST):
22582 * check/gstcheck.c: (gst_check_init):
22583 * check/gstcheck.h:
22584 add debugging category
22585 use GST_START_TEST now, so we add a debug line
22587 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22589 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22590 add test for state change message on a bin
22591 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22593 * gst/gstbin.c: (gst_bin_init):
22594 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22595 * gst/gstelement.c: (gst_element_post_message),
22596 (gst_element_set_state):
22597 * gst/gstelementfactory.c: (gst_element_factory_create):
22598 * gst/gstmessage.c: (gst_message_new):
22599 * gst/gstscheduler.c:
22600 various debugging additions and cleanups
22602 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22604 * check/Makefile.am:
22605 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22607 adding tests for elements
22608 * gst/gstelement.c: (gst_element_dispose):
22610 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22612 * gst/registries/gstlibxmlregistry.c: (load_feature):
22613 plug more leaks. A simple gst_init() now is leakfree, yay.
22615 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22617 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22618 (gst_xml_registry_load):
22619 plug another memleak
22621 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22624 use GST_SET_ERROR_CFLAGS
22625 * docs/faq/cvs.xml:
22626 change to ERROR_CFLAGS
22628 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22631 make GST_ERROR_CFLAGS overridable and re-enable Werror
22632 * docs/faq/cvs.xml:
22633 add a note about error CFLAGS
22634 * docs/gst/tmpl/gstfakesrc.sgml:
22635 * gst/elements/gstfakesrc.c:
22636 comment out some unused code
22637 * gst/gst.c: (split_and_iterate):
22638 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22642 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22644 * common/Makefile.am:
22645 * common/gtk-doc.mak:
22646 * docs/gst/Makefile.am:
22647 factor out gtk-doc.mak
22649 2005-07-07 Wim Taymans <wim@fluendo.com>
22651 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22652 (gst_thread_scheduler_dispose):
22653 Unlock the STREAM_LOCK completely.
22655 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22657 * check/Makefile.am:
22658 * check/elements/.cvsignore:
22659 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22660 (START_TEST), (fakesrc_suite), (main):
22661 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22662 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22663 (gst_fakesrc_create), (gst_fakesrc_start):
22664 * gst/elements/gstfakesrc.h:
22665 adding a first element test
22667 2005-07-07 Andy Wingo <wingo@pobox.com>
22669 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22672 2005-07-07 Wim Taymans <wim@fluendo.com>
22678 2005-07-07 Wim Taymans <wim@fluendo.com>
22680 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22681 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22682 Allow subclasses to implement their own negotiation.
22684 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22686 * docs/design/part-gstbin.txt:
22687 * docs/design/part-gstpipeline.txt:
22688 Update design notes to reflect the movement of
22689 responsibility for bus handling from GstPipeline to
22692 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22695 Remove unnecessary queue2/3/4 examples.
22697 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22699 * examples/Makefile.am:
22700 * examples/helloworld/helloworld.c: (event_loop), (main):
22701 * examples/queue/queue.c: (event_loop), (main):
22702 * examples/queue2/queue2.c: (main):
22703 Update a couple of the examples to work again.
22705 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22706 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22707 Spelling corrections and extra debug.
22709 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22710 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22711 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22713 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22714 (gst_pipeline_change_state):
22715 * gst/gstpipeline.h:
22716 Move the bus handler for children to the GstBin, and create a
22717 separate bus for receiving messages from children to the one the
22718 bus sends 'upwards' on.
22720 2005-07-06 Wim Taymans <wim@fluendo.com>
22723 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22724 (gst_base_sink_handle_object), (gst_base_sink_loop),
22725 (gst_base_sink_change_state):
22726 * gst/base/gstbasesink.h:
22727 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22728 (gst_base_src_init), (gst_base_src_setcaps),
22729 (gst_base_src_getcaps), (gst_base_src_loop),
22730 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22731 (gst_base_src_start), (gst_base_src_change_state):
22732 * gst/base/gstbasesrc.h:
22733 Make basesrc negotiate.
22734 Handle the case where preroll fails in basesink.
22737 2005-07-06 Wim Taymans <wim@fluendo.com>
22739 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22740 Implement the fixate function.
22741 Clean up acceptcaps.
22743 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22745 * docs/pwg/building-filterfactory.xml:
22746 * docs/pwg/pwg.xml:
22747 Remove never-written filter-factory chapter; I'll add the various
22748 base classes to part 4 ("other element types") later on.
22750 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22752 * docs/pwg/advanced-negotiation.xml:
22753 * docs/pwg/building-boiler.xml:
22754 * docs/pwg/building-pads.xml:
22755 * docs/pwg/pwg.xml:
22756 * examples/pwg/Makefile.am:
22757 Add a chapter on caps negotiation, simplify the original code
22758 samples a bit w.r.t. caps negotiation, add link to the advanced
22759 section. Add a bunch of examples showing different use cases of
22760 different types of caps negotiation. Upstream renegotiation isn't
22761 fully documented yet since nobody knows how that works.
22763 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22765 * check/gst/gstpad.c:
22766 * check/gstcheck.c:
22767 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22768 if pad has no parent, return NULL as list of internal links
22770 2005-07-05 Andy Wingo <wingo@pobox.com>
22772 * gst/elements/gstfilesrc.c:
22773 * gst/elements/gstfakesrc.c:
22774 * gst/base/gstpushsrc.c:
22775 * gst/base/gstbasesrc.h:
22776 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22778 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22781 better report generation target (lcov needs a patch)
22783 2005-07-05 Andy Wingo <wingo@pobox.com>
22785 * gst/elements, testsuite: Null if we got it...
22787 2005-07-05 Wim Taymans <wim@fluendo.com>
22790 * libs/gst/dataprotocol/Makefile.am:
22791 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22792 * libs/gst/dataprotocol/dataprotocol.h:
22793 * pkgconfig/Makefile.am:
22794 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22795 * pkgconfig/gstreamer-dataprotocol.pc.in:
22796 Ported dataprotol to 0.9.
22797 Added pkgconfig files.
22799 2005-07-05 Andy Wingo <wingo@pobox.com>
22801 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22802 Default to returning TRUE for the case when tranform_caps returns
22803 a fixed caps, like for identity or volume.
22805 * check/gst/gstbus.c (pound_bus_with_messages):
22806 * check/gst/gstmessage.c (START_TEST):
22807 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22808 message API change.
22810 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22811 logic weaks here: always run transform_caps, trying passthrough
22812 operation only if the original caps intersects with the transform.
22814 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22815 source and sink caps.
22817 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22818 Intersect the peer caps with the pad template before going into
22820 (gst_base_transform_transform_caps): More debugging.
22822 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22825 2005-07-04 Edward Hervey <edward@fluendo.com>
22829 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22832 2005-07-04 Andy Wingo <wingo@pobox.com>
22834 * check/gst/gstpad.c: Only set explicit caps on pads.
22836 2005-07-01 Andy Wingo <wingo@pobox.com>
22838 * tests/network-clock.scm: Commentary update.
22840 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22841 Didn't really make sense, not implementable with basetransform,
22843 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22844 attempt at implementing the sync property, needs an unlock method.
22846 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22847 New func, by default returns the same caps (the identity
22849 (gst_base_transform_getcaps): Uses transform_caps to return
22850 something sensible.
22851 (gst_base_transform_setcaps): Complicated logic to get caps on
22852 both pads, even if they are different, and to call set_caps once
22853 for every time both pads get their caps set.
22854 (gst_base_transform_handle_buffer): Give the ref to the transform
22855 function. Allows in-place modification of the buffer.
22857 * gst/base/gstbasetransform.h (transform_caps): New class method.
22858 Given caps on one side, what can I do on the other.
22859 (set_caps): Take two caps, one for each side of the element.
22862 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22863 caps in place. This is safe because we can check the mutability of
22864 the caps, and a good idea because fixate functions are just called
22865 as a matter of last resort. (Not actually implemented.)
22866 (gst_pad_set_caps): If the caps we're setting is actually the same
22867 as the existing pad caps, just update the pointer without calling
22868 setcaps. Assert that caps is either NULL or fixed, as per the
22871 * gst/gstghostpad.c: Update for fixate changes.
22873 2005-07-02 Andy Wingo <wingo@pobox.com>
22876 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22877 two refcounts makes it immutable, which is enough. Doc more.
22879 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22881 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22882 Put the mini_object into GValue as a mini_object,
22883 not a gpointer, since that's how we declared
22886 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22888 * examples/pwg/Makefile.am:
22889 Fix buildbot again.
22891 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22893 * docs/pwg/building-testapp.xml:
22895 * examples/pwg/Makefile.am:
22898 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22901 * examples/Makefile.am:
22902 * examples/pwg/Makefile.am:
22903 * examples/pwg/extract.pl:
22904 Enable building the PWG examples.
22905 * docs/pwg/advanced-interfaces.xml:
22906 Add URI interface stub.
22907 * docs/pwg/advanced-types.xml:
22908 * docs/pwg/other-autoplugger.xml:
22909 * docs/pwg/appendix-porting.xml:
22910 * docs/pwg/pwg.xml:
22911 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22912 * docs/pwg/building-boiler.xml:
22913 * docs/pwg/building-chainfn.xml:
22914 * docs/pwg/building-pads.xml:
22915 * docs/pwg/building-props.xml:
22916 * docs/pwg/building-state.xml:
22917 * docs/pwg/building-testapp.xml:
22918 Update the building-*.xml parts for 0.9 changes. All examples
22919 code blocks compile in examples/pwg/*.
22921 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22923 * docs/manual/advanced-autoplugging.xml:
22924 * docs/manual/appendix-checklist.xml:
22925 * docs/manual/appendix-integration.xml:
22926 * docs/manual/highlevel-components.xml:
22927 Fix playbin/decodebin examples, update docs a bit, mention bus
22928 instead of signals in various places, mention kmplayer and
22929 kaffeine since they have a working GStreamer backend in the KDE
22932 2005-06-30 Wim Taymans <wim@fluendo.com>
22935 * docs/design/draft-ghostpads.txt:
22936 * docs/design/draft-push-pull.txt:
22937 * docs/design/draft-query.txt:
22938 * docs/design/part-TODO.txt:
22939 * docs/design/part-query.txt:
22940 Added CHANGES-0.9 doc, updated status of other docs.
22945 2005-06-30 Wim Taymans <wim@fluendo.com>
22947 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22948 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22949 (gst_base_sink_change_state):
22950 * gst/base/gstbasesink.h:
22951 Some tweaks, only EOS and a buffer complete a preroll.
22953 2005-06-30 Andy Wingo <wingo@pobox.com>
22955 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22956 activate_push down to the internal pad as well.
22958 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22960 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22962 * gst/gsttaginterface.c:
22963 Some documentation fixes (#307394 and #307397).
22965 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22967 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22969 * gst/gstvalue.c: (gst_value_intersect_list):
22970 Fix memleak (#309125).
22972 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22974 * docs/manual/advanced-dataaccess.xml:
22975 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22976 * docs/manual/basics-pads.xml:
22977 Add reference for filtered caps to above chapter.
22979 2005-06-30 Wim Taymans <wim@fluendo.com>
22981 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22982 (gst_bin_change_state):
22984 Lame attempt at making the state change function a bit
22987 2005-06-30 Wim Taymans <wim@fluendo.com>
22989 * docs/design/part-clocks.txt:
22990 * docs/design/part-element-sink.txt:
22991 * docs/design/part-events.txt:
22992 * docs/design/part-preroll.txt:
22993 * docs/design/part-states.txt:
22994 Some more tweeks and additions to the docs.
22996 2005-06-30 Wim Taymans <wim@fluendo.com>
22998 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22999 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23000 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23001 (gst_pad_check_pull_range), (gst_pad_get_range),
23002 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23004 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23005 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23006 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23007 (gst_pad_remove_buffer_probe):
23008 Removed atomic operations, use existing LOCK.
23009 Move exception handling out of main code path.
23011 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23013 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23014 (silly_return_true_function), (gst_pad_class_init),
23015 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23016 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23017 (gst_pad_send_event):
23018 Fix accumulator, add default value by using _emitv() instead
23019 of _emit() for signal emission.
23021 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23023 * docs/manual/advanced-dataaccess.xml:
23024 * examples/manual/Makefile.am:
23026 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23029 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23031 * gst/elements/gstfilesink.c: (gst_filesink_render):
23032 Simplify code so that we don't have to handle short
23033 writes and return GST_FLOW_ERROR if an error occured.
23035 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23037 * docs/gst/gstreamer-docs.sgml:
23038 Remove probes more.
23040 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23042 * docs/gst/gstreamer-sections.txt:
23043 * docs/gst/tmpl/gstpad.sgml:
23044 * docs/gst/tmpl/gstprobe.sgml:
23046 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23047 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23048 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23049 (gst_pad_push_event), (gst_pad_send_event):
23051 * gst/gstutils.c: (gst_pad_add_data_probe),
23052 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23053 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23054 (gst_pad_remove_buffer_probe):
23056 Remove old probes, add new g-signal-based probes and some utility
23059 2005-06-29 Edward Hervey <edward@fluendo.com>
23061 * gst/gstelementfactory.c:
23064 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23065 the definition to the header file.
23067 2005-06-29 Andy Wingo <wingo@pobox.com>
23069 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23070 plugins from the source directory.
23072 2005-06-29 Wim Taymans <wim@fluendo.com>
23074 * docs/gst/tmpl/gstbuffer.sgml:
23075 * docs/gst/tmpl/gstclock.sgml:
23076 Some fixings for blantently wrong text.
23078 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23080 * check/Makefile.am:
23081 * gst/gst.c: (add_path_func), (init_pre):
23082 * gst/gstregistry.c: (gst_registry_add_path):
23083 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23084 only scan the GST_PLUGIN_PATH locations, and not add
23087 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23089 * docs/gst/gstreamer-sections.txt:
23090 * docs/gst/tmpl/gstbasesrc.sgml:
23091 * gst/gstelement.c:
23092 * gst/gstelement.h:
23097 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23099 * docs/manual/advanced-autoplugging.xml:
23100 Fix autoplugging example.
23102 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23104 * docs/manual/advanced-autoplugging.xml:
23105 * docs/manual/mime-world.fig:
23106 Try to get autoplugging working, fix type detection. Fix text
23107 in hello-world image.
23109 2005-06-29 Wim Taymans <wim@fluendo.com>
23111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23112 (gst_base_sink_change_state):
23116 map SIGNAL and BROADCAST to the right function.
23119 Remove redundant braces.
23121 * gst/gstpad.c: (gst_pad_set_caps):
23122 Don't call setcaps function when reseting caps to NULL.
23124 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23125 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23126 (gst_system_clock_id_unschedule):
23127 Use BROADCAST as this is what we do.
23129 2005-06-29 Wim Taymans <wim@fluendo.com>
23131 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23132 We are actually prerolling before commiting the state
23135 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23137 * docs/manual/advanced-clocks.xml:
23138 * docs/manual/advanced-interfaces.xml:
23139 * docs/manual/advanced-metadata.xml:
23140 * docs/manual/advanced-position.xml:
23141 * docs/manual/advanced-schedulers.xml:
23142 * docs/manual/advanced-threads.xml:
23143 * docs/manual/appendix-porting.xml:
23144 * docs/manual/basics-bins.xml:
23145 * docs/manual/basics-bus.xml:
23146 * docs/manual/basics-elements.xml:
23147 * docs/manual/basics-helloworld.xml:
23148 * docs/manual/basics-pads.xml:
23149 * docs/manual/highlevel-components.xml:
23150 * docs/manual/manual.xml:
23151 * docs/manual/thread.fig:
23152 Update (until threads/scheduling) Application Development Manual;
23153 remove GstThread, add GstBus, add simple porting checklist, add
23154 documentation for tag writing, clocks, make all examples until this
23155 part compile and run.
23156 * examples/manual/Makefile.am:
23157 Update from changes to Application Development Manual; add bus
23158 example, remove thread example.
23160 2005-06-28 Wim Taymans <wim@fluendo.com>
23162 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23163 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23164 (gst_bus_source_dispatch):
23165 Add debugging messages.
23166 Make internal methods static.
23167 Handle the case where the bus is flushed in the handler.
23169 * gst/gstelement.c: (gst_element_get_bus):
23170 Fix refcount in _get_bus();
23172 * gst/gstpipeline.c: (gst_pipeline_change_state),
23173 (gst_pipeline_get_clock_func):
23174 Clock refcounting fixes.
23175 Handle the case where preroll timed out more gracefully.
23177 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23178 Clean up the internal thread in dispose. This is needed
23179 for subclasses that actually get disposed.
23181 * gst/schedulers/threadscheduler.c:
23182 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23183 (gst_thread_scheduler_dispose):
23184 Free thread pool in dispose.
23186 2005-06-28 Andy Wingo <wingo@pobox.com>
23188 * tests/network-clock-utils.scm (debug, print-event): New utils.
23190 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23191 (*packet-loss*): Unified loss probability.
23192 (network-time): Report out-of-band events.
23194 * tests/plot-data: Add support for out-of-band events. Hack it
23195 into this script instead of passing it down the pipe; should fix
23198 2005-06-28 Wim Taymans <wim@fluendo.com>
23200 * docs/gst/gstreamer.types:
23201 * docs/gst/tmpl/gstbasesrc.sgml:
23202 * docs/gst/tmpl/gstpad.sgml:
23205 2005-06-28 Wim Taymans <wim@fluendo.com>
23207 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23208 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23209 (gst_proxy_pad_do_fixatecaps):
23210 Correctly proxy the check_pull_range function.
23212 2005-06-28 Andy Wingo <wingo@pobox.com>
23214 * tests/network-clock.scm: Removed need for slib.
23216 2005-06-28 Wim Taymans <wim@fluendo.com>
23218 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23219 (gst_basesink_preroll_queue_flush):
23220 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23221 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23222 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23223 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23224 (gst_proxy_pad_set_property):
23227 * gst/gstqueue.c: (gst_queue_init):
23228 The deprecated pad loop function is removed now.
23230 2005-06-28 Andy Wingo <wingo@pobox.com>
23232 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23233 New parameters, simulate network packet loss.
23235 * tests/network-clock-utils.scm: Initialize the RNG.
23237 2005-06-28 Wim Taymans <wim@fluendo.com>
23239 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23240 (gst_basesink_event), (gst_basesink_deactivate):
23241 Flushing the preroll queue always needs to unlock the waiters.
23243 2005-06-28 Edward Hervey <edward@fluendo.com>
23245 * gst/gstpipeline.c: (gst_pipeline_send_event):
23246 Wheen a seek was successful on a pipeline, set the stream_time to the
23247 seek offset in order to have a synchronized stream_time.
23249 2005-06-28 Wim Taymans <wim@fluendo.com>
23251 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23252 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23253 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23254 (gst_proxy_pad_do_fixatecaps):
23255 Call wrapper function instead of just calling the function
23256 pointers. This takes care of any locking and whatmore.
23258 2005-06-28 Wim Taymans <wim@fluendo.com>
23260 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23261 (gst_pad_pull_range):
23263 CONNECTED -> LINKED.
23265 2005-06-28 Andy Wingo <wingo@pobox.com>
23267 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23268 source-munging commit!!!
23270 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23271 (gst_object_sink): Take gpointer arguments, not GstObject --
23272 avoids casts. Like GLib.
23274 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23277 2005-06-27 Andy Wingo <wingo@pobox.com>
23279 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23282 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23283 returns a sorted copy of the trace list.
23284 (gst_alloc_trace_print_live): New API, only prints traces with
23285 live objects. Sort the list.
23286 (gst_alloc_trace_print_all): Sort the list.
23287 (gst_alloc_trace_print): Align columns.
23289 * gst/elements/gstttypefindelement.c:
23290 * gst/elements/gsttee.c:
23291 * gst/base/gstbasesrc.c:
23292 * gst/base/gstbasesink.c:
23293 * gst/base/gstbasetransform.c:
23294 * gst/gstqueue.c: Adapt for pad activation changes.
23296 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23298 (gst_pipeline_dispose): Drop ref on sched.
23300 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23301 (gst_pad_activate_default): Push mode by default.
23302 (pre_activate_switch, post_activate_switch): New stubs, things to
23303 do before and after switching activation modes on pads.
23304 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23305 the pad's activate function to choose which mode to activate.
23306 Shortcut on deactivation and call the right function directly.
23307 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23309 (gst_pad_activate_push): New API, same for push mode.
23310 (gst_pad_set_activate_function)
23311 (gst_pad_set_activatepull_function)
23312 (gst_pad_set_activatepush_function): Setters for new API.
23314 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23315 Trace all miniobjects.
23316 (gst_mini_object_make_writable): Unref the arg if we copy, like
23317 gst_caps_make_writable.
23319 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23321 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23322 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23323 Adapt for new pad API.
23325 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23327 * gst/gstelement.h:
23328 * gst/gstelement.c (gst_element_iterate_src_pads)
23329 (gst_element_iterate_sink_pads): New API functions.
23331 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23332 should fold into gstiterator.c in some form.
23333 (gst_element_pads_activate): Simplified via use of fold and
23334 delegation of decisions to gstpad->activate.
23336 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23339 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23340 class once in init, like gstmessage. Didn't run into this issue
23341 but it seems correct. Don't initialize a trace, gstminiobject does
23344 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23345 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23347 (assert_live_count): New util function, uses alloc traces to check
23350 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23351 To be modified when unlink drops the internal pad.
23353 2005-06-27 Wim Taymans <wim@fluendo.com>
23355 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23356 (gst_bin_change_state):
23357 Cleanup the get_state() function a little, make sure it
23358 iterates the same set of elements.
23359 Added stub iterate_state_order().
23361 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23363 * docs/gst/gstreamer-docs.sgml:
23364 * docs/gst/gstreamer-sections.txt:
23365 * docs/gst/gstreamer.types:
23366 * docs/gst/tmpl/gstbasesink.sgml:
23367 * docs/gst/tmpl/gstbasesrc.sgml:
23368 * docs/gst/tmpl/gstbasetransform.sgml:
23369 * docs/gst/tmpl/gstelement.sgml:
23370 * docs/gst/tmpl/gstiterator.sgml:
23371 * gst/base/gstbasesrc.c:
23372 * gst/base/gstbasesrc.h:
23373 * gst/base/gstbasetransform.h:
23374 * gst/gstelement.c:
23375 * gst/gstiterator.h:
23376 adding basetransform and iterator docs
23378 2005-06-27 Andy Wingo <wingo@pobox.com>
23380 * docs/design/part-activation.txt: Notes on how activation should
23381 work -- not quite implemented yet.
23383 2005-06-25 Wim Taymans <wim@fluendo.com>
23385 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23386 At least get the chain function correct, needs more
23389 2005-06-25 Wim Taymans <wim@fluendo.com>
23391 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23392 (gst_basesink_handle_object), (gst_basesink_event),
23393 (gst_basesink_do_sync), (gst_basesink_handle_event),
23394 (gst_basesink_change_state):
23396 Right, two problems here: ghostpads don't take locks and
23397 glib _rec_mutex_lock_full() with depth==0 still locks.
23398 Catch illegal locking and g_warn them.
23400 2005-06-25 Wim Taymans <wim@fluendo.com>
23402 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23403 Have to check for completion now...
23405 2005-06-25 Wim Taymans <wim@fluendo.com>
23407 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23408 (gst_basesink_handle_object), (gst_basesink_event),
23409 (gst_basesink_do_sync), (gst_basesink_handle_event),
23410 (gst_basesink_change_state):
23412 Unlock STREAM_LOCK whatever the recursion was.
23414 2005-06-25 Wim Taymans <wim@fluendo.com>
23416 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23417 (gst_basesink_preroll_queue_empty),
23418 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23419 (gst_basesink_event), (gst_basesink_do_sync),
23420 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23421 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23422 (gst_basesink_change_state):
23423 Reworked the base sink, handle event and buffer serialisation
23424 correctly and removed possible deadlock.
23425 Handle EOS correctly.
23427 2005-06-25 Wim Taymans <wim@fluendo.com>
23429 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23430 (gst_pipeline_change_state):
23431 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23432 Allow elements to post EOS in the state change function.
23433 Fix up -launch, make it exit the poll loop when the
23434 pipeline actually changed state.
23435 Fix up warning parsing in -launch.
23437 2005-06-25 Wim Taymans <wim@fluendo.com>
23439 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23440 (gst_tee_sink_activate):
23441 Core takes STREAM_LOCK for us now.
23443 2005-06-25 Wim Taymans <wim@fluendo.com>
23445 * gst/gstelement.c: (gst_element_get_state_func),
23446 (gst_element_set_state):
23447 * gst/gstelement.h:
23448 * gst/gstmessage.c: (gst_message_parse_error),
23449 (gst_message_parse_warning):
23450 Keep track of current target state while performing a state
23451 change so that subclasses can do something interesting.
23452 Fix parsing of warning/error messages when GError is NULL.
23454 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23456 * docs/gst/Makefile.am:
23457 * docs/gst/gstreamer-docs.sgml:
23458 * docs/gst/gstreamer-sections.txt:
23459 * docs/gst/gstreamer.types:
23460 * docs/gst/tmpl/gstbasesink.sgml:
23461 * docs/gst/tmpl/gstbasesrc.sgml:
23462 * docs/gst/tmpl/gstbin.sgml:
23463 * docs/gst/tmpl/gstcompat.sgml:
23464 * docs/gst/tmpl/gstfakesink.sgml:
23465 * docs/gst/tmpl/gstfakesrc.sgml:
23466 * docs/gst/tmpl/gstfilesink.sgml:
23467 * docs/gst/tmpl/gstfilesrc.sgml:
23468 * docs/gst/tmpl/gstindex.sgml:
23469 * docs/manual/appendix-quotes.xml:
23470 * gst/base/gstbasesrc.h:
23471 * gst/elements/gstfakesrc.h:
23472 * gst/gstmessage.h:
23473 start pulling in base classes and elements in our docs
23475 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23477 * docs/gst/Makefile.am:
23478 * docs/libs/Makefile.am:
23479 fixed make distcheck with gtk-doc 1.3
23481 2005-06-23 Wim Taymans <wim@fluendo.com>
23483 * gst/gstelement.c: (gst_element_get_state_func),
23484 (gst_element_set_state), (gst_element_change_state):
23485 When the state did not change, also report NO_PREROLL
23488 2005-06-23 Wim Taymans <wim@fluendo.com>
23490 * gst/gstpad.c: (gst_pad_event_default):
23491 * gst/gstqueue.c: (gst_queue_loop):
23492 No unsafe task pausing please.
23494 2005-06-23 Wim Taymans <wim@fluendo.com>
23496 * gst/schedulers/threadscheduler.c:
23497 (gst_thread_scheduler_task_start),
23498 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23499 Ref the task before pushing it on the threadpool. This
23500 makes sure that we have a ref when the threadfunction is
23503 2005-06-23 Andy Wingo <wingo@pobox.com>
23505 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23506 offset is greater than the file's size.
23508 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23509 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23510 * gst/gstobject.c (gst_object_class_init): Make the class lock
23511 recursive. Wim won't let me drop deep_notify. Decodebin works
23512 again, whoopdy doo.
23514 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23515 internal pad, and hacks accordingly. Doesn't do it on the target
23516 pad because we change its caps. Probably catches all cases of
23518 (gst_ghost_pad_set_property): Connect to notify::caps as
23521 * tests/network-clock.scm (plot-simulation): Pipe data to the
23522 elite python skript.
23524 * tests/network-clock-utils.scm (define-parameter): New macro,
23525 defines a parameter that can be set via the command line.
23526 (set-parameter!, parse-parameter-arguments): Command line args
23529 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23532 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23534 * gst/elements/gsttypefindelement.c:
23535 (gst_type_find_element_handle_event):
23536 Don't restart typefinding on a discont.
23537 * gst/gstelement.c: (gst_element_set_state):
23538 Debug spelling fix.
23539 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23540 Allow changing mode of an active pad.
23541 Debug output fixes.
23542 * gst/registries/gstlibxmlregistry.c: (load_feature):
23543 Don't cast a static pad template to a normal pad template.
23545 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23547 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23548 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23549 remove gst_strtoll completely, since it didn't actually do
23550 anything more than what g_ascii_strtoull already does.
23551 check for range errors when deserializing
23552 do a cast for the unsigned cases; but further fixing needs
23553 a decision on what the interpretation of "(int)" and
23554 deserialization should be for values that fall outside the
23555 type's boundaries (ie, refuse, or interpret as casting)
23557 2005-06-23 Wim Taymans <wim@fluendo.com>
23559 * check/Makefile.am:
23560 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23561 * docs/design/part-live-source.txt:
23562 * docs/design/part-states.txt:
23563 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23564 (gst_basesrc_set_live), (gst_basesrc_is_live),
23565 (gst_basesrc_get_range), (gst_basesrc_activate),
23566 (gst_basesrc_change_state):
23567 * gst/base/gstbasesrc.h:
23568 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23569 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23570 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23571 * gst/gstelement.c: (gst_element_get_state_func),
23572 (gst_element_set_state):
23573 * gst/gstelement.h:
23575 * tools/gst-launch.c: (event_loop), (main):
23576 Added support for live sources and other elements that
23578 Updated design docs, added live-source design doc.
23579 Implemented live source functionality in basesrc
23580 Fix error condition in _bin_get_state()
23581 Implement live source handling in -launch.
23582 Added check for live sources.
23583 Fixed case in GstBin where elements were changed state
23587 2005-06-23 Andy Wingo <wingo@pobox.com>
23589 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23590 borken refcounting.
23592 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23593 gst_caps_replace takes care of this for us.
23595 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23596 gst_pad_set_caps on the target, not just its setcaps() function.
23598 * tests/network-clock.scm:
23599 * tests/network-clock-utils.scm: A network clock simulator.
23600 Something of an algorithmic testbed before doing something in C.
23602 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23604 * check/Makefile.am:
23605 * check/gst/capslist.h:
23606 copy over from 0.8, and add two with bitmasks specified with
23608 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23609 add test to parse everything from capslist.h
23610 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23612 add test for structure deserialization
23613 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23614 add tests for deserialization of strings to int types
23615 * gst/gststructure.c: (gst_structure_nth_field_name):
23616 * gst/gststructure.h:
23617 add a way to get the name of a field referenced by index
23618 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23619 instead of checking if the resulting long long lies between
23620 min and max, we check if the long long would fit into
23621 a number of bytes for the final type.
23622 This fixes cases where a string represents 2^32 - 1, which
23623 when cast to int would be the (valid) -1, but is bigger than
23626 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23628 * gst/parse/grammar.y:
23629 add a log line for type deserialization
23631 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23633 * check/gst/gstvalue.c: (START_TEST):
23634 * gst/gstvalue.c: (gst_value_deserialize):
23635 return long long, not int, so gint64 deserialization actually
23636 works. Is there any flag that makes the compiler check this ?
23639 2005-06-22 Wim Taymans <wim@fluendo.com>
23642 Added convenience macros for setting buffers in GValue.
23644 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23646 * check/gst/.cvsignore:
23647 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23648 add a test deserializing int64, and comment part out because
23651 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23653 * check/Makefile.am:
23654 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23655 * testsuite/Makefile.am:
23656 * testsuite/caps/Makefile.am:
23657 * testsuite/caps/value_serialize.c:
23658 * testsuite/test_gst_init.c:
23659 move a value_serialize test over
23661 2005-06-20 Wim Taymans <wim@fluendo.com>
23666 * gst/gstvalue.c: (gst_value_compare_buffer),
23667 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23668 (gst_value_compare_flags), (gst_value_serialize_flags),
23669 (gst_value_deserialize_flags), (_gst_value_initialize):
23670 Fix serialisation of buffers, they are not boxed types anymore
23672 2005-06-20 Wim Taymans <wim@fluendo.com>
23674 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23675 Testcase to show error in buffer-on-caps serialisation.
23677 2005-06-20 Andy Wingo <wingo@pobox.com>
23679 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23680 will be adding to later.
23682 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23683 if its socks fill with rocks.
23684 (gst_system_clock_obtain): Set the name on object construction.
23685 Avoid double-checked locking.
23687 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23689 * gst/gsturi.c: (gst_element_make_from_uri):
23690 Fix potential endless loop.
23692 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23694 * check/Makefile.am:
23696 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23698 move over from testsuite dir and clean up
23701 * testsuite/Makefile.am:
23702 * testsuite/tags/.cvsignore:
23703 * testsuite/tags/Makefile.am:
23704 * testsuite/tags/merge.c:
23705 remove testsuite/tags
23707 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23709 * docs/gst/gstreamer-sections.txt:
23710 * docs/gst/tmpl/gstenumtypes.sgml:
23711 * win32/gstenumtypes.c:
23712 clean up documentation build a little
23714 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23716 * check/gstcheck.h:
23717 add macros for checking refcounts on objects and caps
23718 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23719 add some more unit tests
23720 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23721 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23722 fix leaked refcounts (I hope :)) so unittest works
23726 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23728 * configure.ac: back to HEAD
23730 === release 0.9.1 ===
23732 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23738 2005-06-17 Andy Wingo <wingo@pobox.com>
23740 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23741 assert; it's always possible that the pad gets deactivated in
23742 between the checks in gstpad.c and the implementation. Rely on
23743 finish_preroll() to return a FLUSHING or similar instead of on the
23746 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23747 clock and post an EOS message if we come out of finish_preroll in
23750 2005-06-16 David Schleef <ds@schleef.org>
23752 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23753 (gst_capsfilter_set_property): Allow NULL as possible value
23754 for filter_caps property, indicating GST_CAPS_ANY.
23756 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23758 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23760 * gst/schedulers/Makefile.am:
23762 * gstreamer.spec.in:
23765 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23767 * gstreamer.spec.in:
23770 2005-06-08 Andy Wingo <wingo@pobox.com>
23772 * gst/gstutils.c: RPAD fixes all around.
23773 (gst_element_link_pads): Refcounting fixes.
23775 * tools/gst-inspect.c:
23776 * tools/gst-xmlinspect.c:
23778 * gst/base/gsttypefindhelper.c:
23779 * gst/base/gstbasesink.c:
23780 * gst/gstqueue.c: RPAD fixes.
23782 * gst/gstghostpad.h:
23783 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23784 pads. The tricky thing is they provide both source and sink
23785 interfaces, since they proxy the internal pad for the external
23786 pad, and vice versa. Implement with lower-level ProxyPad objects,
23787 with the interior proxy pad as a child of the exterior ghost pad.
23788 Should write a doc on this.
23790 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23791 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23794 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23795 pads are real pads. No ghost pads in this file. Not documenting
23796 the myriad s/RPAD/PAD/ and REALIZE fixes.
23797 (gst_pad_class_init): Add properties for "direction" and
23798 "template". Both are construct-only, so they can't change during
23799 the life of the pad. Fixes properly deriving from GstPad.
23800 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23801 derived objects, just set properties when creating the objects via
23803 (gst_pad_get_parent): Implement as a function, return NULL if the
23804 parent is not an element.
23805 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23806 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23808 * gst/gstobject.c (gst_object_class_init): Make name a construct
23809 property. Don't set it in the object init.
23811 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23812 with UNKNOWN direction.
23813 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23814 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23815 (gst_element_remove_pad): Remove ghost-pad special cases.
23816 (gst_element_pads_activate): Remove rpad cruft.
23818 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23819 catch the pad's-parent-not-an-element case.
23821 * gst/gst.h: Include gstghostpad.h.
23823 * gst/gst.c (init_post): No more real, ghost pads.
23825 * gst/Makefile.am: Add gstghostpad.[ch].
23827 * check/Makefile.am:
23828 * check/gst/gstbin.c:
23829 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23830 into a bin creates ghost pads, and that the refcounts are right.
23831 Partly moved from gstbin.c.
23833 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23835 * check/gst-libs/.cvsignore:
23836 * check/gst/.cvsignore:
23837 * check/pipelines/.cvsignore:
23839 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23840 (START_TEST), (cleanup_suite), (main):
23841 add some tests related to cleanup after running pipelines
23843 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23845 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23846 add a testsuite for GstBuffer
23848 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23850 * gst/gstminiobject.h:
23851 add defines for accessing the refcount
23853 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23855 * Makefile.am: added support for html unit test coverage reports
23857 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23859 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23860 Free existing caps if the capsfilter changes. Add a FIXME about
23861 setting those caps on the pads.
23863 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23864 Before adding a ghost pad to a parent bin, check that there isn't
23865 already one for the element on the bin. Prevents infinite recursion
23866 when using decodebin in parse pipelines. Andy says he'll rewrite the
23867 way this works anyway, so ignore the hack.
23869 2005-06-02 Andy Wingo <wingo@pobox.com>
23871 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23872 file size, pass it on to the type find helper.
23874 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23875 segment_start and segment_end properly according to the seek
23876 method. Segment_end is still a bit flaky because offset can be
23877 negative for CUR and END cases, but it takes -1 as an "unset"
23880 2005-06-02 Wim Taymans <wim@fluendo.com>
23882 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23883 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23884 (gst_basesink_activate):
23885 * gst/base/gstbasesink.h:
23886 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23887 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23888 (gst_pad_query), (gst_pad_start_task):
23890 * gst/gstqueue.c: (gst_queue_bufferalloc),
23891 (gst_queue_handle_sink_event), (gst_queue_chain):
23892 Bufferalloc: return GstFlowReturn to more accuratly report
23893 why allocation failed.
23895 2005-06-02 Wim Taymans <wim@fluendo.com>
23897 * gst/gstpipeline.c: (gst_pipeline_send_event):
23898 Take snapshot of state without blocking.
23900 2005-06-02 Wim Taymans <wim@fluendo.com>
23902 * docs/design/part-TODO.txt:
23903 * docs/design/part-caps.txt:
23904 * docs/design/part-clocks.txt:
23905 * docs/design/part-negotiation.txt:
23906 * docs/design/part-preroll.txt:
23909 2005-05-30 Wim Taymans <wim@fluendo.com>
23911 * gst/elements/gstidentity.c: (gst_identity_event),
23912 (gst_identity_transform), (gst_identity_get_property):
23913 Protect last_message property as it is accessed from
23916 2005-05-30 Wim Taymans <wim@fluendo.com>
23918 * gst/gstelement.c: (gst_element_init),
23919 (gst_element_pads_activate), (gst_element_change_state):
23920 Slicker pad activation code.
23922 2005-05-30 Wim Taymans <wim@fluendo.com>
23925 * gst/gstelement.h:
23926 * gst/gstelementfactory.h:
23928 Move elementfactory methods to separate .h file.
23930 2005-05-30 Wim Taymans <wim@fluendo.com>
23932 * docs/design/part-overview.txt:
23933 * gst/gstsystemclock.h:
23934 Small typo fixes, doc updates.
23936 2005-05-30 Wim Taymans <wim@fluendo.com>
23938 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23939 (init_popt_callback):
23940 Remove cpu-opt flag.
23942 2005-05-30 Wim Taymans <wim@fluendo.com>
23944 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23945 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23947 Avoid typechecking in places where not needed.
23948 Added accessor for malloc_data.
23950 2005-05-30 Wim Taymans <wim@fluendo.com>
23952 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23953 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23954 (gst_pad_configure_sink), (gst_pad_configure_src),
23955 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23956 (gst_pad_start_task):
23957 Propagate errors from _set_caps() in configure_src/sink
23958 functions instead of returning TRUE.
23959 FLUSH events can travel up and downstream
23962 2005-05-30 Wim Taymans <wim@fluendo.com>
23964 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23965 (gst_basesink_activate):
23966 Handle EOS in preroll.
23968 2005-05-30 Wim Taymans <wim@fluendo.com>
23970 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23971 (gst_queue_loop), (gst_queue_handle_src_event):
23972 Remove old pieces of code
23973 Flushing the queue in an upstream event is a very bad idea.
23975 2005-05-26 Andy Wingo <wingo@pobox.com>
23977 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23978 gst_value_set_mini_object so as to add a ref on the object (which
23979 will be removed when the value is unset).
23981 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23982 arg type in ::handoff.
23984 * gst/gstelement.c (gst_element_change_state): Also deactivate
23985 pads in READY->NULL, just in case the element didn't make it to
23986 PAUSED. Wingo tested, Wim approved.
23988 2005-05-26 Wim Taymans <wim@fluendo.com>
23990 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23991 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23992 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23993 A flushing pad cannot be used to alloc_buffer from.
23995 2005-05-26 Wim Taymans <wim@fluendo.com>
23997 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23998 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23999 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24000 (gst_bus_create_watch), (gst_bus_add_watch_full):
24002 Implement a real GSource and use g_main_context_wakeup() to
24003 signal new messages instead of the socketpair.
24005 2005-05-25 Wim Taymans <wim@fluendo.com>
24007 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24008 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24009 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24010 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24011 (gst_pad_send_event), (gst_pad_start_task):
24012 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24013 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24014 (gst_queue_sink_activate), (gst_queue_src_activate),
24015 (gst_queue_change_state):
24017 Fix state changes for non sinks. We now change sinks, then elements
24018 with unconnected srcpads, then the rest.
24019 More efficient queue unlocking in flush and state changes.
24020 Set the pad activate mode even if it does not have an activate
24023 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24025 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24026 Don't go in pull mode for non-seekable sources.
24027 * gst/elements/gsttypefindelement.h:
24028 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24029 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24030 (free_entry), (stop_typefinding),
24031 (gst_type_find_element_handle_event), (find_peek),
24032 (gst_type_find_element_chain), (do_pull_typefind),
24033 (gst_type_find_element_change_state):
24034 Allow typefinding (w/o seeking) in push-mode, simplified version
24035 of what was in 0.8.
24036 * gst/gstutils.c: (gst_buffer_join):
24038 gst_buffer_join() from 0.8.
24040 2005-05-25 Wim Taymans <wim@fluendo.com>
24042 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24043 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24044 (gst_pad_send_event), (gst_pad_start_task):
24045 Disable attempt at mode switching until it is figured out.
24047 2005-05-25 Wim Taymans <wim@fluendo.com>
24049 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24050 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24051 (gst_basesink_finish_preroll), (gst_basesink_chain),
24052 (gst_basesink_loop), (gst_basesink_activate),
24053 (gst_basesink_change_state):
24054 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24055 (gst_basesrc_get_range), (gst_basesrc_loop),
24056 (gst_basesrc_activate):
24057 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24058 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24059 (gst_real_pad_init), (gst_real_pad_set_property),
24060 (gst_real_pad_get_property), (gst_pad_set_active),
24061 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24062 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24063 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24064 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24065 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24066 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24067 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24068 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24069 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24070 (gst_pad_stop_task):
24072 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24073 (gst_queue_loop), (gst_queue_src_activate):
24074 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24075 (gst_task_get_state):
24077 * gst/schedulers/threadscheduler.c:
24078 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24079 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24081 Remove ACTIVE pad flag, use FLUSHING everywhere
24082 Added _pad_chain(), _pad_get_range() to call chain/getrange
24084 Add locks around IS_FLUSHING when reading.
24085 Take STREAM lock in chain(), get_range() functions so plugins
24086 don't need to take it anymore.
24090 2005-05-25 Wim Taymans <wim@fluendo.com>
24092 * tools/gst-launch.c: (event_loop):
24093 Unref message after using its contents instead of
24096 2005-05-24 Wim Taymans <wim@fluendo.com>
24098 * docs/design/draft-ghostpads.txt:
24099 * docs/design/draft-push-pull.txt:
24100 * docs/design/draft-query.txt:
24101 * docs/design/part-overview.txt:
24102 Docs updates, added general overview doc.
24104 2005-05-21 David Schleef <ds@schleef.org>
24106 * docs/gst/tmpl/old/GstBin.sgml:
24107 * docs/gst/tmpl/old/GstBuffer.sgml:
24108 * docs/gst/tmpl/old/GstCaps.sgml:
24109 * docs/gst/tmpl/old/GstClock.sgml:
24110 * docs/gst/tmpl/old/GstCompat.sgml:
24111 * docs/gst/tmpl/old/GstData.sgml:
24112 * docs/gst/tmpl/old/GstElement.sgml:
24113 * docs/gst/tmpl/old/GstEvent.sgml:
24114 * docs/gst/tmpl/old/GstIndex.sgml:
24115 * docs/gst/tmpl/old/GstStructure.sgml:
24116 * docs/gst/tmpl/old/GstTag.sgml:
24117 * docs/gst/tmpl/old/cothreads.sgml:
24118 * docs/gst/tmpl/old/cothreads_compat.sgml:
24119 * docs/gst/tmpl/old/gettext.sgml:
24120 * docs/gst/tmpl/old/gobject2gtk.sgml:
24121 * docs/gst/tmpl/old/grammar.tab.sgml:
24122 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24123 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24124 * docs/gst/tmpl/old/gst_private.sgml:
24125 * docs/gst/tmpl/old/gstaggregator.sgml:
24126 * docs/gst/tmpl/old/gstarch.sgml:
24127 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24128 * docs/gst/tmpl/old/gstbufferstore.sgml:
24129 * docs/gst/tmpl/old/gstdata_private.sgml:
24130 * docs/gst/tmpl/old/gstdisksink.sgml:
24131 * docs/gst/tmpl/old/gstdisksrc.sgml:
24132 * docs/gst/tmpl/old/gstelementfactory.sgml:
24133 * docs/gst/tmpl/old/gstextratypes.sgml:
24134 * docs/gst/tmpl/old/gstfakesink.sgml:
24135 * docs/gst/tmpl/old/gstfakesrc.sgml:
24136 * docs/gst/tmpl/old/gstfdsink.sgml:
24137 * docs/gst/tmpl/old/gstfdsrc.sgml:
24138 * docs/gst/tmpl/old/gstfilesink.sgml:
24139 * docs/gst/tmpl/old/gstfilesrc.sgml:
24140 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24141 * docs/gst/tmpl/old/gstidentity.sgml:
24142 * docs/gst/tmpl/old/gstindexfactory.sgml:
24143 * docs/gst/tmpl/old/gstmarshal.sgml:
24144 * docs/gst/tmpl/old/gstmd5sink.sgml:
24145 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24146 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24147 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24148 * docs/gst/tmpl/old/gstpipefilter.sgml:
24149 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24150 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24151 * docs/gst/tmpl/old/gstshaper.sgml:
24152 * docs/gst/tmpl/old/gstspider.sgml:
24153 * docs/gst/tmpl/old/gstspideridentity.sgml:
24154 * docs/gst/tmpl/old/gststatistics.sgml:
24155 * docs/gst/tmpl/old/gsttee.sgml:
24156 * docs/gst/tmpl/old/gsttimecache.sgml:
24157 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24158 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24159 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24160 * docs/gst/tmpl/old/types.sgml:
24161 I didn't intend to add these or check them in.
24163 2005-05-19 David Schleef <ds@schleef.org>
24165 * configure.ac: Use -no-common everywhere. In a sane world, it
24166 would be the default in libtool, because without it, you can't
24167 build DLLs on Windows.
24168 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24169 * docs/gst/gstreamer-sections.txt:
24170 * docs/gst/tmpl/gstcpu.sgml:
24171 * docs/gst/tmpl/gstdata.sgml:
24172 * docs/gst/tmpl/gstthread.sgml:
24174 2005-05-19 David Schleef <ds@schleef.org>
24176 * gst/gstminiobject.c: (gst_value_set_mini_object),
24177 (gst_value_take_mini_object), (gst_value_get_mini_object):
24178 * gst/gstminiobject.h: Add GValue set/get functions.
24180 2005-05-19 Wim Taymans <wim@fluendo.com>
24182 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24183 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24184 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24186 * gst/gstbus.c: (gst_bus_post):
24187 * gst/gstelement.c: (gst_element_get_random_pad):
24188 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24189 Make subbufer unref the parent in finalize.
24190 some more debugging info.
24193 2005-05-19 Wim Taymans <wim@fluendo.com>
24195 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24196 (gst_basesink_init), (gst_basesink_finalize),
24197 (gst_basesink_activate), (gst_basesink_change_state):
24198 Don't free preroll queue too early.
24200 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24204 Hi, I'm outdated. Please shoot me.
24206 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24208 * gst/gstpipeline.c: (gst_pipeline_send_event):
24209 Do not access variables after they have been deleted.
24211 2005-05-19 Wim Taymans <wim@fluendo.com>
24213 * tools/gst-inspect.c: (print_plugin_features):
24214 A plugin feature does unfortunatly not use the
24217 2005-05-18 Wim Taymans <wim@fluendo.com>
24219 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24220 Port _span() functions to new subbuffers.
24222 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24224 * gst/gstbin.c: (gst_bin_add_func):
24225 Fix clock settery in bins when adding kids after the clock has
24228 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24230 * gst/elements/gstidentity.c: (gst_identity_class_init):
24231 Workaround until signals support GstMiniObject.
24233 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24236 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24238 2005-05-18 Wim Taymans <wim@fluendo.com>
24240 * gst/base/Makefile.am:
24241 * gst/base/gstadapter.c: (gst_adapter_base_init),
24242 (gst_adapter_class_init), (gst_adapter_init),
24243 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24244 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24245 (gst_adapter_flush), (gst_adapter_available),
24246 (gst_adapter_available_fast):
24247 * gst/base/gstadapter.h:
24248 Ported and added adapter to the base classes.
24250 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24253 * gst/gstmessage.c:
24254 Make sure the class is reffed/unreffed once before threads can be
24255 used. Fixes #304551.
24257 2005-05-17 Wim Taymans <wim@fluendo.com>
24259 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24260 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24261 * gst/gstminiobject.c: (gst_mini_object_get_type),
24262 (gst_mini_object_free):
24263 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24264 (gst_pad_push), (gst_pad_push_event):
24265 * gst/gstqueue.c: (gst_queue_change_state):
24266 Don't queue buffers in basesink when we are flushing.
24267 Unref buffer when flushing in basesink.
24268 Flush queue when going to READY
24269 Unref buffer when _push() returns an error.
24270 Don't free MiniObject instance when refcount is incremented
24271 in _finalize() so that we can recover objects.
24273 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24275 * docs/manual/advanced-schedulers.xml:
24276 * docs/manual/appendix-checklist.xml:
24277 * docs/pwg/advanced-clock.xml:
24278 * docs/pwg/advanced-interfaces.xml:
24279 * docs/pwg/advanced-request.xml:
24280 * docs/pwg/advanced-types.xml:
24281 * docs/pwg/intro-preface.xml:
24282 * examples/plugins/example.c: (gst_example_get_type),
24283 (gst_example_class_init), (gst_example_chain),
24284 (gst_example_set_property), (gst_example_get_property),
24285 (gst_example_change_state), (plugin_init):
24286 * examples/plugins/example.h:
24289 2005-05-17 Wim Taymans <wim@fluendo.com>
24291 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24292 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24293 * gst/gstqueue.c: (gst_queue_change_state):
24294 Clear queue when going to READY.
24295 Remove IN_SETCAPS flag too.
24297 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24299 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24300 Remove implicit cast from gboolean to GstElementStateReturn;
24301 make sure we still return failure in paused => ready case if
24302 the parent class fails to change state and our own stop
24305 2005-05-17 Wim Taymans <wim@fluendo.com>
24307 * tools/gst-launch.c: (event_loop):
24308 Message was unreffed too soon.
24310 2005-05-16 Andy Wingo <wingo@pobox.com>
24312 * gst/gstbin.c (sink_iterator_filter): Err... um...
24314 * check/gst/gstbin.c (test_ghost_pads): New test for the
24315 ghosting-if-elements-not-in-same-bin behavior.
24317 2005-05-16 David Schleef <ds@schleef.org>
24319 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24320 accessing refcount directly.
24322 2005-05-15 David Schleef <ds@schleef.org>
24324 * check/Makefile.am: remove GstData checks
24325 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24326 * gst/Makefile.am: add miniobject, remove data
24327 * gst/gst.h: add miniobject, remove data
24328 * gst/gstdata.c: remove
24329 * gst/gstdata.h: remove
24330 * gst/gstdata_private.h: remove
24331 * gst/gsttypes.h: remove GstEvent and GstMessage
24332 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24333 * gst/gstmarshal.list: change BOXED -> OBJECT
24335 Implement GstMiniObject.
24336 * gst/gstminiobject.c:
24337 * gst/gstminiobject.h:
24339 Modify to be subclasses of GstMiniObject.
24340 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24341 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24342 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24343 (gst_subbuffer_get_type), (gst_subbuffer_init),
24344 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24347 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24348 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24349 (_gst_event_copy), (gst_event_new):
24351 * gst/gstmessage.c: (_gst_message_initialize),
24352 (gst_message_get_type), (gst_message_class_init),
24353 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24354 (gst_message_new), (gst_message_new_error),
24355 (gst_message_new_warning), (gst_message_new_tag),
24356 (gst_message_new_state_changed), (gst_message_new_application):
24357 * gst/gstmessage.h:
24358 * gst/gstprobe.c: (gst_probe_perform),
24359 (gst_probe_dispatcher_dispatch):
24361 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24362 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24363 (_gst_query_copy), (gst_query_new):
24365 Update elements for GstData -> GstMiniObject changes
24367 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24368 (gst_queue_chain), (gst_queue_loop):
24369 * gst/elements/gstbufferstore.c:
24370 (gst_buffer_store_add_buffer_func),
24371 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24372 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24373 (gst_fakesink_render):
24374 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24375 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24376 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24377 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24378 (gst_filesrc_create_read):
24379 * gst/elements/gstidentity.c: (gst_identity_class_init):
24380 * gst/elements/gsttypefindelement.c:
24381 (gst_type_find_element_src_event), (free_entry_buffers),
24382 (gst_type_find_element_handle_event):
24383 * libs/gst/dataprotocol/dataprotocol.c:
24384 (gst_dp_header_from_buffer):
24385 * libs/gst/dataprotocol/dataprotocol.h:
24386 * libs/gst/dataprotocol/dp-private.h:
24388 2005-05-15 David Schleef <ds@schleef.org>
24390 * gst/elements/gstelements.c: Don't include headers that were
24393 2005-05-15 David Schleef <ds@schleef.org>
24395 * gst/elements/Makefile.am: Remove some elements that don't
24396 need to be in the core (or even exist at all).
24397 * gst/elements/gstaggregator.c:
24398 * gst/elements/gstaggregator.h:
24399 * gst/elements/gstmd5sink.c:
24400 * gst/elements/gstmd5sink.h:
24401 * gst/elements/gstmultifilesrc.c:
24402 * gst/elements/gstmultifilesrc.h:
24403 * gst/elements/gstpipefilter.c:
24404 * gst/elements/gstpipefilter.h:
24405 * gst/elements/gstshaper.c:
24406 * gst/elements/gstshaper.h:
24407 * gst/elements/gststatistics.c:
24408 * gst/elements/gststatistics.h:
24409 * po/POTFILES.in: Remove above files.
24411 2005-05-14 Andy Wingo <wingo@pobox.com>
24413 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24414 so as to get the refs right.
24415 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24416 unreffing objects that don't pass the filter.
24418 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24419 gst_element_set_bus.
24420 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24421 normal cases, this will destroy the bus.
24423 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24426 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24429 2005-05-13 Andy Wingo <wingo@pobox.com>
24431 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24432 gst_pad_link, call pad_link_maybe_ghosting,
24433 (pad_link_maybe_ghosting): Links pads, making sure that the
24434 elements being linked are in the same bin.
24435 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24436 Helpers for pad_link_maybe_ghosting.
24438 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24441 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24443 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24445 * docs/design/part-element-source.txt:
24448 2005-05-12 Wim Taymans <wim@fluendo.com>
24450 * gst/base/gstbasesink.c: (gst_basesink_init),
24451 (gst_basesink_activate):
24452 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24453 (gst_basesrc_is_seekable):
24454 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24455 (bin_element_is_sink), (gst_bin_change_state):
24456 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24457 * gst/gstelement.h:
24458 Identify sinks by their flag to avoid overly complicated
24460 Do state changes even for elements not reachable from the
24462 BaseSink is a sink now :)
24463 Some more debugging info in the basesrc.
24466 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24468 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24469 Implement _query on a bin, similar to _send_event.
24471 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24473 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24474 Discont event offset format should be GST_FORMAT_BYTES,
24475 not GST_FORMAT_TIME.
24477 2005-05-12 Wim Taymans <wim@fluendo.com>
24479 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24480 Same fix as Ronald's but without the signal.
24482 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24484 * gst/gstutils.c: (gst_element_query_position):
24485 No, an element is not a pad.
24487 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24489 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24490 (gst_bin_get_state):
24491 If a child is removed from a bin while we remove the child from
24492 the bin and while we're retrieving its state, signal this to the
24493 get_state function so we abort the wait (instead of waiting for
24494 a timeout) and can immediately re-iterate over all other elements.
24496 2005-05-12 Wim Taymans <wim@fluendo.com>
24498 * gst/base/Makefile.am:
24499 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24500 (gst_basesrc_start):
24501 * gst/base/gstbasesrc.h:
24502 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24503 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24504 (gst_pushsrc_init), (gst_pushsrc_create):
24505 * gst/base/gstpushsrc.h:
24506 Added is_seekable to BaseSrc
24507 Added simple PushSrc.
24509 2005-05-11 Wim Taymans <wim@fluendo.com>
24511 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24512 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24513 (gst_element_link_pads), (gst_element_query_position),
24514 (gst_element_query_convert), (intersect_caps_func),
24515 (gst_pad_query_position), (gst_pad_query_convert):
24516 Fix refcounting in utils function.
24517 No point in trying to activate a pad when it's added, it could
24518 be added from the state change function and then we deadlock, the
24519 element has to decide what to do.
24521 2005-05-10 Andy Wingo <wingo@pobox.com>
24523 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24524 *all* the arguments.
24526 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24527 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24528 lock (according to the docs -- if this is wrong change the docs).
24530 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24531 flush messages in the NULL state.
24533 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24534 message immediately and return.
24535 (gst_bus_set_flushing): New function. If a bus is flushing, it
24536 flushes out any queued messages and immediately unrefs new
24537 messages. This is so when an element goes to NULL, all of the
24538 unhandled messages coming from it can be freed, and their
24539 references to the element dropped. In other words: message source
24540 ref considered harmful :P
24542 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24543 we're finished with it.
24545 * gst/gstmessage.c (gst_message_new_state_changed):
24547 2005-05-10 Wim Taymans <wim@fluendo.com>
24549 * gst/gstvalue.c: (gst_value_compare_flags),
24550 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24551 (_gst_value_initialize):
24552 Added flags serialize/deserialize/compare code.
24554 2005-05-09 Andy Wingo <wingo@pobox.com>
24556 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24557 Intersect the peer's caps with our caps.
24559 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24561 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24562 * gst/elements/gsttypefindelement.c: (find_peek):
24563 Handle negative offsets better. Fixes decodebin.
24565 2005-05-09 Wim Taymans <wim@fluendo.com>
24567 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24568 (gst_base_transform_event):
24569 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24570 Implement accept_caps.
24571 Fix silly lock/unlock mismatch in base class.
24573 2005-05-09 Wim Taymans <wim@fluendo.com>
24575 * docs/design/draft-push-pull.txt:
24576 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24577 * gst/elements/gstfilesink.c: (gst_filesink_init),
24578 (gst_filesink_query):
24579 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24580 (gst_type_find_handle_src_query), (find_element_get_length):
24581 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24582 * gst/gstelement.h:
24583 * gst/gstmessage.c:
24584 * gst/gstmessage.h:
24585 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24586 (gst_real_pad_get_caps_unlocked),
24587 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24588 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24589 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24590 (gst_real_pad_dispose), (gst_real_pad_finalize),
24591 (gst_pad_load_and_link), (gst_pad_save_thyself),
24592 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24593 (gst_pad_check_pull_range), (gst_pad_pull_range),
24594 (gst_pad_template_get_type), (gst_pad_template_class_init),
24595 (gst_pad_template_init), (gst_pad_template_dispose),
24596 (name_is_valid), (gst_static_pad_template_get),
24597 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24598 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24599 (gst_pad_get_element_private), (gst_pad_start_task),
24600 (gst_pad_pause_task), (gst_pad_stop_task),
24601 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24602 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24603 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24604 (gst_ghost_pad_new):
24606 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24607 (gst_query_new_position), (gst_query_set_position),
24608 (gst_query_parse_position), (gst_query_new_convert),
24609 (gst_query_set_convert), (gst_query_parse_convert):
24611 * gst/gstqueryutils.c:
24612 * gst/gstqueryutils.h:
24613 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24614 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24615 (gst_queue_handle_src_query):
24616 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24617 (gst_element_query_position), (gst_element_query_convert),
24618 (intersect_caps_func), (gst_pad_query_position),
24619 (gst_pad_query_convert):
24621 * tools/gst-inspect.c: (print_pad_info):
24622 * tools/gst-xmlinspect.c: (print_element_info):
24623 Remove old query functions. Ported old code.
24624 Added position/convert helper functions to gstutils.
24625 Reordered gstpad.c code, grouping relevant things.
24626 Remove gst_message_new(), always need to speficy a specific
24630 2005-05-09 Andy Wingo <wingo@pobox.com>
24632 * gst/gstiterator.h: Add some includes.
24634 * gst/gstqueryutils.h: Include more headers.
24637 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24638 some uses of gst_pad_query.
24640 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24641 NULL out parameters.
24642 (gst_query_new_position): New proc, allocates a new position
24645 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24646 gstqueryutils.c to the build.
24648 * gst/gststructure.c (gst_structure_set_valist): Implement with
24649 the generic G_VALUE_COLLECT.
24651 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24653 * gst/Makefile.am: (gst_headers):
24654 Added gstqueryutils.h to the list of headers to install, that was
24655 a 'nachty' move wingo :)
24657 2005-05-06 Andy Wingo <wingo@pobox.com>
24660 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24661 GstData, init a memchunk.
24662 (standard_definitions): Add a few query types, deprecate a few.
24663 (gst_query_get_type): New proc.
24664 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24666 (gst_query_new_application, gst_query_get_structure): New public
24669 * docs/design/draft-query.txt: Removed LINKS from the query types,
24670 because all the rest can be dispatched to other pads -- seemed
24671 ugly to have a query that couldn't be dispatched. internal_links
24672 is fine as a pad method.
24674 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24675 in gstpad.c, but maintain binary compatibility for the moment.
24676 Will fix before 0.9 is out.
24678 * gst/gstqueryutils.c:
24679 * gst/gstqueryutils.h: New files, implement 3 methods for each
24680 query type: parse_query, parse_response, and set. Probably need an
24683 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24685 * gst/elements/gstfilesink.c (gst_filesink_query2):
24686 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24687 query_types, and formats methods.
24689 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24690 (gst_pad_set_query2_function): New functions.
24691 (gst_real_pad_init): Set query2_default as the default query2
24692 function. Basically just dispatches to internally linked pads.
24696 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24697 without using the atomic operations. Only one thread can possibly
24698 be accessing the data at this point. Changed so as to avoid
24699 gst_atomic operations.
24701 2005-05-06 Wim Taymans <wim@fluendo.com>
24703 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24704 Also set caps if we use the fallback buffer alloc.
24706 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24708 * docs/gst/Makefile.am:
24709 * docs/gst/gstreamer-docs.sgml:
24710 * docs/gst/gstreamer-sections.txt:
24711 * docs/gst/tmpl/gstatomic.sgml:
24712 * docs/gst/tmpl/gstmemchunk.sgml:
24713 * testsuite/elements/struct_i386.h:
24714 * win32/GStreamer.vcproj:
24716 Purge GstAtomic stuff from docs and win32 makefiles as well
24718 2005-05-06 Wim Taymans <wim@fluendo.com>
24720 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24721 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24722 * gst/gstpad.c: (gst_pad_peer_get_caps):
24723 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24724 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24725 (gst_queue_src_activate), (gst_queue_change_state):
24727 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24728 (intersect_caps_func):
24729 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24730 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24731 Some fixes for the peer_get_caps() change.
24733 2005-05-06 Wim Taymans <wim@fluendo.com>
24735 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24736 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24737 (gst_basesink_activate):
24738 Actually do something with error codes returned from the push
24741 2005-05-06 Wim Taymans <wim@fluendo.com>
24743 * docs/design/part-element-sink.txt:
24744 * docs/design/part-element-source.txt:
24745 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24746 (gst_basesink_event), (gst_basesink_activate):
24747 * gst/base/gstbasesink.h:
24748 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24749 (gst_basesrc_activate):
24750 * gst/base/gstbasesrc.h:
24751 * gst/gstelement.c: (gst_element_pads_activate):
24752 Some more documentation.
24753 Fixed scheduling decision in _pads_activate().
24755 2005-05-05 Andy Wingo <wingo@pobox.com>
24757 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24760 2005-05-05 Wim Taymans <wim@fluendo.com>
24762 * gst/base/Makefile.am:
24763 * gst/base/gstbasesink.h:
24764 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24765 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24766 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24767 (gst_collectpads_class_init), (gst_collectpads_init),
24768 (gst_collectpads_finalize), (gst_collectpads_new),
24769 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24770 (find_pad), (gst_collectpads_remove_pad),
24771 (gst_collectpads_is_active), (gst_collectpads_collect),
24772 (gst_collectpads_collect_range), (gst_collectpads_start),
24773 (gst_collectpads_stop), (gst_collectpads_peek),
24774 (gst_collectpads_pop), (gst_collectpads_available),
24775 (gst_collectpads_read), (gst_collectpads_flush),
24776 (gst_collectpads_chain):
24777 * gst/base/gstcollectpads.h:
24778 * gst/elements/Makefile.am:
24779 * gst/elements/gstelements.c:
24780 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24781 (gst_fakesink_get_times), (gst_fakesink_event),
24782 (gst_fakesink_preroll), (gst_fakesink_render):
24783 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24784 (gst_filesink_init), (gst_filesink_set_location),
24785 (gst_filesink_open_file), (gst_filesink_close_file),
24786 (gst_filesink_pad_query), (gst_filesink_event),
24787 (gst_filesink_render), (gst_filesink_change_state):
24788 * gst/elements/gstfilesink.h:
24789 Added object to help in making collect pad based elements.
24791 Make event function in sink baseclass return gboolean.
24793 2005-05-05 Wim Taymans <wim@fluendo.com>
24795 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24796 (gst_bin_get_by_name):
24798 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24799 (gst_clock_finalize):
24800 * gst/gstdata.c: (gst_data_replace):
24802 * gst/gstelement.c: (gst_element_request_pad),
24803 (gst_element_pads_activate):
24804 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24805 (gst_object_unref):
24806 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24807 (gst_pad_set_checkgetrange_function),
24808 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24809 (gst_pad_check_pull_range), (gst_pad_pull_range),
24810 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24811 (gst_pad_pause_task), (gst_pad_stop_task):
24812 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24813 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24814 Fix name lookup in GstBin.
24815 Added _data_replace() function and _buffer_replace()
24816 Use finalize method to clean up clock.
24817 Fix refcounting on request pads.
24818 Fix pad schedule mode error.
24819 Some more object refcounting debug info,
24822 2005-05-04 Andy Wingo <wingo@pobox.com>
24824 * check/Makefile.am:
24825 * docs/gst/tmpl/gstatomic.sgml:
24826 * docs/gst/tmpl/gstplugin.sgml:
24827 * gst/base/gstbasesink.c: (gst_basesink_activate):
24828 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24829 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24830 (gst_basesrc_query), (gst_basesrc_set_property),
24831 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24832 (gst_basesrc_activate):
24833 * gst/base/gstbasesrc.h:
24834 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24835 (gst_base_transform_src_activate):
24836 * gst/elements/gstelements.c:
24837 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24838 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24839 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24840 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24841 (gst_type_find_element_checkgetrange),
24842 (gst_type_find_element_activate):
24843 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24844 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24845 (gst_caps_load_thyself):
24846 * gst/gstelement.c: (gst_element_pads_activate),
24847 (gst_element_save_thyself), (gst_element_restore_thyself):
24848 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24849 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24851 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24852 (gst_xml_parse_file), (gst_xml_parse_memory),
24853 (gst_xml_get_element), (gst_xml_make_element):
24854 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24855 (_file_index_id_save_xml), (gst_file_index_commit):
24856 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24857 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24859 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24860 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24861 * tools/gst-complete.c: (main):
24862 * tools/gst-compprep.c: (main):
24863 * tools/gst-inspect.c: (print_element_properties_info):
24864 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24865 * tools/gst-xmlinspect.c: (print_element_properties):
24868 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24870 * gst/gstplugin.c: (gst_plugin_check_module),
24871 (gst_plugin_check_file), (gst_plugin_load_file):
24872 apply patch from #172526 to make register work on MacOSX
24874 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24876 * docs/gst/tmpl/gstconfig.sgml:
24877 * gst/gstconfig.h.in:
24878 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24879 * testsuite/debug/printf_extension.c: (main):
24880 Do not use GST_PTR_FORMAT on pointers to types with
24881 sizeof < sizeof(gpointer). Fixes test on 64-bit
24882 * testsuite/elements/property.h:
24883 use correct printf format
24885 2005-05-02 Wim Taymans <wim@fluendo.com>
24887 * docs/design/draft-push-pull.txt:
24888 * docs/design/draft-query.txt:
24889 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24890 (gst_basesrc_start):
24891 Added draft for new query API.
24892 Added draft for better selecting scheduling methods.
24893 Make basesrc ignore length if the subclass does not support
24896 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24899 possible fixes for automake-1.5 - _LIBADD is reserved
24901 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24903 * docs/faq/Makefile.am:
24904 * docs/manual/Makefile.am:
24905 * docs/manuals.mak:
24906 * docs/pwg/Makefile.am:
24908 possible fixes for automake-1.5
24910 2005-04-28 Wim Taymans <wim@fluendo.com>
24912 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24913 (gst_basesink_pad_getcaps), (gst_basesink_init),
24914 (gst_basesink_do_sync):
24915 * gst/gstclock.c: (gst_clock_entry_new):
24916 * gst/gstevent.c: (gst_event_discont_get_value):
24917 * gst/gstpipeline.c: (pipeline_bus_handler),
24918 (gst_pipeline_change_state):
24919 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24920 Better debugging of clocking info.
24921 Allow NULL values when getting discont values.
24923 2005-04-27 Wim Taymans <wim@fluendo.com>
24925 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24926 * check/gst/gstpad.c: (gst_pad_suite):
24927 Increase timeout for checks.
24929 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24931 * check/Makefile.am:
24932 fix the broken rule for cleanup. Apparently this rule is
24933 only needed on FC2, so maybe this warrants further autotool
24936 2005-04-26 Wim Taymans <wim@fluendo.com>
24938 * gst/gsttrashstack.h:
24939 Ooohh. a nasty one! After having a failed pop() from the stack,
24940 it's possible that the stack is empty. In that case, don't
24941 follow the NULL pointer.
24943 2005-04-25 Wim Taymans <wim@fluendo.com>
24945 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24946 (gst_pad_set_checkgetrange_function),
24947 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24948 (gst_pad_check_pull_range), (gst_pad_pull_range),
24949 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24950 (gst_pad_pause_task), (gst_pad_stop_task):
24951 * gst/gstplugin.c: (gst_plugin_load):
24953 Remove gst_library_load as it does more harm than good with
24954 the new g_module flags.
24955 Revert bogus caps template check in pad linking, pad caps
24956 are important when linking not the template, which is more
24957 general than the current caps.
24959 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24961 * gst/autoplug/.cvsignore:
24962 * gst/autoplug/Makefile.am:
24963 * gst/autoplug/gstsearchfuncs.c:
24964 * gst/autoplug/gstsearchfuncs.h:
24965 * gst/autoplug/gstspider.c:
24966 * gst/autoplug/gstspider.h:
24967 * gst/autoplug/gstspideridentity.c:
24968 * gst/autoplug/gstspideridentity.h:
24969 * gst/autoplug/spidertest.c:
24972 2005-04-25 Wim Taymans <wim@fluendo.com>
24974 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24975 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24976 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24977 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24979 Added stubs for unimplemented functions.
24981 2005-04-24 David Schleef <ds@schleef.org>
24983 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24986 2005-04-24 David Schleef <ds@schleef.org>
24988 Convert everything from GstAtomicInt to g_atomic_int_*, and
24993 * gst/gstatomic_impl.h:
25001 * gst/gstdata_private.h:
25005 * gst/gstmessage.c:
25008 * gst/gststructure.c:
25009 * gst/gststructure.h:
25010 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25013 2005-04-24 David Schleef <ds@schleef.org>
25015 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25016 make the regressions tests work. Remove some code that is no
25018 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25019 Disable warning for pads without templates.
25021 2005-04-24 David Schleef <ds@schleef.org>
25023 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25024 functions that handle filtered links.
25025 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25027 * gst/gstutils.c: Fix/remove utility functions that handle
25030 * gst/gstvalue.c: Add serialization/deserialization of caps
25031 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25032 requires fixing so that the filter caps notation creates
25033 a capsfilter element and sets the filter_caps property. I
25034 think everyone probably wants to keep the shorthand notation.
25035 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25036 * docs/gst/tmpl/gstpad.sgml:
25038 * gst/elements/gstelements.c: Register capsfilter element.
25039 * gst/Makefile.am: fix spacing
25040 * docs/random/ds/0.9-suggested-changes: random
25042 2005-04-23 David Schleef <ds@schleef.org>
25044 * gst/elements/Makefile.am:
25045 * gst/elements/gstcapsfilter.c: New element that acts like an
25046 identity, but filters caps. Will eventually replace filtered
25047 caps in pad linking.
25048 * gst/gstutils.c: (gst_element_create_all_pads): New function
25049 to create all the ALWAYS pads that are registered with an
25050 element class. This functionality should eventually be
25051 merged in with GstElement initialization.
25053 * testsuite/trigger/README: part of trigger test code that should
25054 have been checked in a long time ago.
25056 2005-04-23 David Schleef <ds@schleef.org>
25058 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25059 needed with new versions of libtool (nobody will confirm this),
25060 and hard to carry around.
25061 * gst/autoplug/Makefile.am:
25062 * gst/base/Makefile.am:
25063 * gst/elements/Makefile.am:
25064 * gst/indexers/Makefile.am:
25065 * gst/schedulers/Makefile.am:
25066 * libs/gst/bytestream/Makefile.am:
25067 * libs/gst/control/Makefile.am:
25068 * libs/gst/dataprotocol/Makefile.am:
25069 * libs/gst/getbits/Makefile.am:
25071 2005-04-21 Wim Taymans <wim@fluendo.com>
25073 * docs/design/draft-push-pull.txt:
25074 * docs/design/part-MT-refcounting.txt:
25075 * docs/design/part-TODO.txt:
25076 * docs/design/part-caps.txt:
25077 * docs/design/part-events.txt:
25078 * docs/design/part-gstbus.txt:
25079 * docs/design/part-gstpipeline.txt:
25080 * docs/design/part-messages.txt:
25081 * docs/design/part-push-pull.txt:
25082 * docs/design/part-query.txt:
25085 2005-04-21 Wim Taymans <wim@fluendo.com>
25087 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25088 (gst_message_new), (gst_message_new_error),
25089 (gst_message_new_warning), (gst_message_new_tag),
25090 (gst_message_new_state_changed), (gst_message_new_application),
25091 (gst_message_get_structure):
25092 * gst/gstmessage.h:
25093 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25094 (gst_structure_copy_conditional):
25095 Use parent refcount in GstMessage to ensure GstStructure
25097 Cleaned up headers a bit.
25100 2005-04-20 Wim Taymans <wim@fluendo.com>
25102 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25103 (gst_basesink_pad_getcaps), (gst_basesink_init),
25104 (gst_basesink_chain_unlocked):
25105 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25106 (gst_type_find_helper):
25107 * gst/elements/gsttypefindelement.c:
25108 (gst_type_find_element_have_type), (gst_type_find_element_init),
25109 (stop_typefinding), (gst_type_find_element_handle_event),
25110 (find_suggest), (gst_type_find_element_chain),
25111 (gst_type_find_element_checkgetrange),
25112 (gst_type_find_element_getrange), (do_typefind),
25113 (gst_type_find_element_activate):
25114 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25115 (gst_buffer_default_free), (gst_buffer_default_copy),
25116 (gst_buffer_set_caps):
25117 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25118 (gst_caps_replace):
25119 * gst/gstmessage.c: (gst_message_new),
25120 (gst_message_new_state_changed):
25121 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25122 (gst_pad_set_checkgetrange_function),
25123 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25124 (gst_pad_set_caps), (gst_pad_check_pull_range),
25125 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25127 * gst/gsttypefind.c: (gst_type_find_register):
25128 Make gst_caps_replace() work like other _replace() functions.
25129 Use _caps_replace() where possible.
25130 Make sure _message_new() initialises its field.
25131 Add gst_static_pad_template_get_caps()
25134 2005-04-18 Andy Wingo <wingo@pobox.com>
25136 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25137 on the peer, not the pad. I think that was a typo. Pass an extra
25138 arg to see if random access is possible. Activate the pads as
25139 PULL_RANGE if possible.
25141 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25143 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25144 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25147 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25149 * docs/faq/using.xml:
25150 Add note on gstreamer-properties (#154996).
25152 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25154 * docs/random/bbb/optional-properties:
25155 Some analysis on optional properties.
25157 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25159 * docs/gst/tmpl/gstelementfactory.sgml:
25160 * gst/gstelement.h:
25161 * gst/gstelementfactory.c: (gst_element_factory_init),
25162 (gst_element_factory_cleanup), (gst_element_register),
25163 (__gst_element_factory_add_static_pad_template),
25164 (gst_element_factory_get_static_pad_templates),
25165 (gst_element_factory_can_src_caps),
25166 (gst_element_factory_can_sink_caps):
25167 * gst/registries/Makefile.am:
25168 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25169 (gst_xml_registry_class_init), (gst_xml_registry_init),
25170 (gst_xml_registry_new), (gst_xml_registry_set_property),
25171 (gst_xml_registry_get_property), (get_time), (make_dir),
25172 (gst_xml_registry_get_perms_func),
25173 (plugin_times_older_than_recurse), (plugin_times_older_than),
25174 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25175 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25176 (add_to_char_array), (read_string), (read_uint), (read_enum),
25177 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25178 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25179 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25180 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25181 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25182 (gst_xml_registry_rebuild):
25183 * gst/registries/gstlibxmlregistry.h:
25184 * tools/gst-compprep.c: (main):
25185 * tools/gst-inspect.c: (print_pad_templates_info):
25186 * tools/gst-xmlinspect.c: (print_element_info):
25187 Use libxml2 for registry parsing, use staticpadtemplates in
25188 elementfactories. Makes gst_init() +/- 10x faster.
25190 2005-04-12 Wim Taymans <wim@fluendo.com>
25192 * gst/base/Makefile.am:
25193 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25194 (gst_basesink_pad_getcaps), (gst_basesink_init),
25195 (gst_basesink_event), (gst_basesink_change_state):
25196 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25197 (gst_basesrc_init), (gst_basesrc_query),
25198 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25199 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25200 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25201 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25202 (gst_basesrc_stop), (gst_basesrc_activate),
25203 (gst_basesrc_change_state):
25204 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25205 (helper_find_suggest), (gst_type_find_helper):
25206 * gst/base/gsttypefindhelper.h:
25207 * gst/elements/Makefile.am:
25208 * gst/elements/gstelements.c:
25209 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25210 (gst_fakesink_get_times), (gst_fakesink_event),
25211 (gst_fakesink_preroll), (gst_fakesink_render):
25212 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25213 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25214 (gst_fakesrc_get_property), (gst_fakesrc_create),
25215 (gst_fakesrc_start), (gst_fakesrc_stop):
25216 * gst/elements/gstfakesrc.h:
25217 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25218 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25219 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25220 (gst_filesrc_create_read), (gst_filesrc_create),
25221 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25222 (gst_filesrc_start):
25223 * gst/elements/gsttypefindelement.c:
25224 (gst_type_find_element_have_type), (gst_type_find_element_init),
25225 (start_typefinding), (stop_typefinding), (push_buffer_store),
25226 (gst_type_find_element_handle_event),
25227 (gst_type_find_element_chain),
25228 (gst_type_find_element_checkgetrange),
25229 (gst_type_find_element_getrange), (do_typefind),
25230 (gst_type_find_element_activate),
25231 (gst_type_find_element_change_state):
25232 * gst/elements/gsttypefindelement.h:
25233 * gst/gstpipeline.c: (pipeline_bus_handler):
25234 Added typefind helper.
25235 Small preroll fix in the base sink.
25236 Disable typefind code in basesrc.
25237 Crude port of typefindelement.
25241 2005-04-11 Wim Taymans <wim@fluendo.com>
25243 * check/gst/gstbus.c: (gstbus_suite):
25244 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25245 * check/gstcheck.h:
25246 Fix up the timeout so that the test does not fail.
25248 2005-04-06 Wim Taymans <wim@fluendo.com>
25251 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25252 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25253 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25254 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25255 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25256 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25257 (gst_basesrc_stop), (gst_basesrc_activate),
25258 (gst_basesrc_change_state), (basesrc_find_peek),
25259 (basesrc_find_suggest), (gst_basesrc_type_find):
25260 * gst/base/gstbasesrc.h:
25261 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25262 (gst_filesrc_class_init), (gst_filesrc_init),
25263 (gst_filesrc_finalize), (gst_filesrc_set_location),
25264 (gst_filesrc_set_property), (gst_filesrc_get_property),
25265 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25266 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25267 (gst_filesrc_create_read), (gst_filesrc_create),
25268 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25269 * gst/elements/gstfilesrc.h:
25270 * gst/gstelement.c: (gst_element_get_state_func),
25271 (gst_element_lost_state), (gst_element_pads_activate):
25272 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25273 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25274 (gst_pad_pull_range):
25276 More work on the generic source base class, implement seeking,
25278 Make filesrc extend the base source class.
25279 Added gst_pad_set_checkgetrange_function to GstPad.
25281 2005-04-06 Andy Wingo <wingo@pobox.com>
25283 * pkgconfig/gstreamer-base.pc.in:
25284 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25286 * pkgconfig/Makefile.am:
25287 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25289 2005-04-04 Wim Taymans <wim@fluendo.com>
25291 * gst/base/Makefile.am:
25293 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25294 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25295 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25296 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25297 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25298 (gst_basesrc_base_init), (gst_basesrc_class_init),
25299 (gst_basesrc_init), (gst_basesrc_get_formats),
25300 (gst_basesrc_get_query_types), (gst_basesrc_query),
25301 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25302 (gst_basesrc_set_property), (gst_basesrc_get_property),
25303 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25304 (gst_basesrc_loop), (gst_basesrc_activate),
25305 (gst_basesrc_change_state):
25306 * gst/base/gstbasesrc.h:
25307 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25308 (gst_fakesrc_class_init), (gst_fakesrc_init),
25309 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25310 (gst_fakesrc_get_property), (gst_fakesrc_create):
25311 * gst/elements/gstfakesrc.h:
25312 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25313 (gst_filesrc_open_file), (gst_filesrc_loop),
25314 (gst_filesrc_activate), (filesrc_find_peek),
25315 (gst_filesrc_type_find):
25316 Made base source class, make fakesrc extend it.
25317 Add comments to basesink class.
25318 Some filesrc cleanup.
25320 2005-03-31 David Schleef <ds@schleef.org>
25322 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25323 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25324 expected to link against libgstreamer.
25325 * gst/base/Makefile.am: link against libgstreamer
25326 * gst/elements/Makefile.am: same
25328 2005-03-31 Andy Wingo <wingo@pobox.com>
25330 * tests/instantiate/Makefile.am:
25331 * tests/instantiate/caps.c: Add test to test speed of caps copy
25334 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25335 GMemChunk to be fair.
25337 * gst/gsttrashstack.h: Remove warning about using the fallback
25338 trash stack implementation, it's still faster than malloc.
25340 2005-03-30 Andy Wingo <wingo@pobox.com>
25342 * tests/complexity.c: Add a copyright.
25344 2005-03-31 Wim Taymans <wim@fluendo.com>
25346 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25347 (gst_base_transform_class_init), (gst_base_transform_init),
25348 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25349 (gst_base_transform_get_property),
25350 (gst_base_transform_sink_activate),
25351 (gst_base_transform_src_activate),
25352 (gst_base_transform_change_state):
25353 * gst/base/gstbasetransform.h:
25354 * gst/elements/gstidentity.c: (gst_identity_class_init),
25355 (gst_identity_event), (gst_identity_check_perfect),
25356 (gst_identity_transform), (gst_identity_start),
25357 (gst_identity_stop):
25358 Added start/stop methods to transform base class so subclasses
25359 don't need to deal with state changes even.
25361 2005-03-31 Wim Taymans <wim@fluendo.com>
25363 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25364 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25366 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25367 (gst_pad_pull_range):
25368 Added rate to the discont event to prepare for variable speed
25369 and reverse playback.
25371 2005-03-29 David Schleef <ds@schleef.org>
25374 * testsuite/trigger/Makefile.am:
25375 * testsuite/trigger/trigger.c: A little example program to show
25376 how trigger-based elements can work.
25378 2005-03-29 Wim Taymans <wim@fluendo.com>
25380 * gst/base/Makefile.am:
25382 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25383 (gst_basesink_base_init), (gst_basesink_class_init),
25384 (gst_basesink_pad_getcaps), (gst_basesink_init),
25385 (gst_basesink_activate), (gst_basesink_change_state):
25386 * gst/base/gstbasesink.h:
25387 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25388 (gst_base_transform_base_init), (gst_base_transform_finalize),
25389 (gst_base_transform_class_init), (gst_base_transform_init),
25390 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25391 (gst_base_transform_event), (gst_base_transform_getrange),
25392 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25393 (gst_base_transform_set_property),
25394 (gst_base_transform_get_property),
25395 (gst_base_transform_sink_activate),
25396 (gst_base_transform_src_activate),
25397 (gst_base_transform_change_state):
25398 * gst/base/gstbasetransform.h:
25399 * gst/elements/gstidentity.c: (gst_identity_finalize),
25400 (gst_identity_class_init), (gst_identity_init),
25401 (gst_identity_event), (gst_identity_check_perfect),
25402 (gst_identity_transform), (gst_identity_set_property),
25403 (gst_identity_get_property), (gst_identity_change_state):
25404 * gst/elements/gstidentity.h:
25405 * gst/gstelement.c: (gst_element_get_state_func),
25406 (gst_element_lost_state), (gst_element_pads_activate):
25407 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25408 (gst_pad_check_pull_range), (gst_pad_pull_range):
25410 Simplify pad activation.
25411 Added function to check if pull_range can be performed.
25412 Error out when pulling inactive or flushing pads.
25413 Removed const from refcounted types as it does not make sense.
25414 Simplify pad templates in basesink
25415 Added base class for simple 1-to-1 transforms.
25416 Make identity subclass the base transform.
25418 2005-03-29 Andy Wingo <wingo@pobox.com>
25420 * docs/libs/gstreamer-libs-overrides.txt:
25421 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25422 really don't understand what's going on, but like whatever. I want
25425 * docs/gst/Makefile.am:
25426 * docs/libs/Makefile.am: Dist the overrides files.
25428 * check/Makefile.am (clean-local): Remove .libs directories.
25430 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25431 elements to EXTRA_DIST, so po/ files are happy.
25433 * po/POTFILES.in: Er, remove it here.
25435 * po/POTFILES: Remove gstspider.c.
25437 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25439 * docs/libs/gstreamer-libs-docs.sgml:
25440 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25443 * tests/complexity.c (main): Set the length of the preroll queue
25444 on the sinks to prevent a lockup.
25446 * libs/gst/dataprotocol/Makefile.am:
25447 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25448 the same as the one in check/gst-libs/gdp.c.
25450 * po/, docs/gst/: Commit automatic changes to docs and po files.
25452 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25453 the versioned libgstbase.
25455 * check/Makefile.am: Depend on an unversioned gst-register, seems
25456 to make autoconf happier.
25458 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25460 2005-03-28 Wim Taymans <wim@fluendo.com>
25463 * docs/design/part-gstelement.txt:
25464 * docs/design/part-negotiation.txt:
25465 * docs/design/part-preroll.txt:
25466 * docs/design/part-scheduling.txt:
25467 * docs/design/part-states.txt:
25469 * gst/base/Makefile.am:
25471 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25472 (gst_basesink_base_init), (gst_basesink_class_init),
25473 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25474 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25475 (gst_basesink_set_pad_functions),
25476 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25477 (gst_basesink_set_property), (gst_basesink_get_property),
25478 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25479 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25480 (gst_basesink_preroll_queue_push),
25481 (gst_basesink_preroll_queue_empty),
25482 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25483 (gst_basesink_event), (gst_basesink_get_times),
25484 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25485 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25486 (gst_basesink_loop), (gst_basesink_activate),
25487 (gst_basesink_change_state):
25488 * gst/base/gstbasesink.h:
25489 * gst/elements/Makefile.am:
25490 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25491 (gst_fakesink_class_init), (gst_fakesink_init),
25492 (gst_fakesink_set_property), (gst_fakesink_get_property),
25493 (gst_fakesink_get_times), (gst_fakesink_event),
25494 (gst_fakesink_preroll), (gst_fakesink_render),
25495 (gst_fakesink_change_state):
25496 * gst/elements/gstfakesink.h:
25497 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25498 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25499 * gst/gstelement.c: (gst_element_add_pad),
25500 (gst_element_get_state_func), (gst_element_abort_state),
25501 (gst_element_commit_state), (gst_element_lost_state),
25502 (gst_element_set_state), (gst_element_pads_activate):
25503 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25504 * gst/gstpipeline.c: (gst_pipeline_send_event),
25505 (gst_pipeline_change_state):
25506 Added state change code.
25507 Added/updated docs.
25508 Added sink base class, make fakesink extend the base class.
25509 Small cleanups in GstPipeline.
25511 2005-03-26 David Schleef <ds@schleef.org>
25513 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25514 is broken and should be implemented in a different library.
25515 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25516 * gst/gst.h: remove gstcpu.h
25517 * gst/gstcpu.c: remove
25518 * gst/gstcpu.h: remove
25519 * gst/Makefile.am.future: Remove this file. It's ancient.
25521 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25523 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25524 (gst_bin_send_event):
25525 Add default event/set_manager handlers. The set_manager handler
25526 takes care that the manager is distributed over kids that were
25527 already in the bin before the manager was set. The event handler
25528 is a utility virtual function that sends the event over all sinks,
25529 so that gst_element_send_event (bin, event); has the expected
25531 * gst/gstpad.c: (gst_pad_event_default):
25532 Re-install default event handling for discontinuities, so that
25533 seeking works without requiring hacks in applications or extra
25535 * gst/gstpipeline.c: (gst_pipeline_class_init),
25536 (gst_pipeline_send_event):
25537 Half hack, half utility: set a pipeline to PAUSED for seek events,
25538 since that is the only way we can guarantee a/v sync. Means that
25539 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25540 and it "just works".
25542 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25544 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25545 Lock/unlock mismatch.
25547 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25549 * docs/faq/gst-uninstalled:
25550 add gst-plugins-base
25551 * docs/gst/Makefile.am:
25552 don't error out until docs are fixed
25553 * docs/gst/gstreamer.types:
25556 2005-03-22 Wim Taymans <wim@fluendo.com>
25558 * check/Makefile.am:
25559 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25560 * gst/gststructure.c: (gst_structure_set_valist),
25561 (gst_structure_copy_conditional):
25562 Activated more tests.
25563 Added message test.
25564 Added G_TYPE_POINTER to GstStructure.
25567 2005-03-22 Wim Taymans <wim@fluendo.com>
25569 * docs/design/part-TODO.txt:
25570 * docs/design/part-events.txt:
25571 * docs/design/part-gstbin.txt:
25572 * docs/design/part-gstbus.txt:
25573 * docs/design/part-gstpipeline.txt:
25574 * docs/design/part-messages.txt:
25576 * gst/gstmessage.c:
25579 2005-03-21 Wim Taymans <wim@fluendo.com>
25581 * gst/gstbus.c: (gst_bus_post):
25582 Fix copy-and-paste error.
25584 2005-03-21 Wim Taymans <wim@fluendo.com>
25586 * check/Makefile.am:
25588 * gst/elements/Makefile.am:
25589 * gst/elements/gstelements.c:
25590 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25591 (gst_fakesink_event), (gst_fakesink_chain):
25592 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25593 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25594 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25595 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25596 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25597 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25598 (gst_fakesrc_loop), (gst_fakesrc_activate),
25599 (gst_fakesrc_change_state):
25600 * gst/elements/gstfakesrc.h:
25601 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25602 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25603 (gst_filesrc_open_file), (gst_filesrc_loop),
25604 (gst_filesrc_activate), (gst_filesrc_change_state),
25605 (filesrc_find_peek), (filesrc_find_suggest),
25606 (gst_filesrc_type_find):
25607 * gst/elements/gstidentity.c: (gst_identity_finalize),
25608 (gst_identity_class_init), (gst_identity_init),
25609 (gst_identity_proxy_getcaps), (identity_queue_push),
25610 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25611 (gst_identity_getrange), (gst_identity_chain),
25612 (gst_identity_sink_loop), (gst_identity_src_loop),
25613 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25614 (gst_identity_set_property), (gst_identity_get_property),
25615 (gst_identity_change_state):
25616 * gst/elements/gstidentity.h:
25617 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25618 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25619 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25620 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25621 (gst_tee_sink_activate):
25622 * gst/elements/gsttee.h:
25623 * gst/gst.c: (gst_register_core_elements), (init_post):
25625 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25626 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25627 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25628 (gst_bin_change_state):
25630 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25631 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25632 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25633 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25634 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25635 (bus_watch_callback), (bus_watch_destroy),
25636 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25637 (poll_timeout), (gst_bus_poll):
25641 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25642 (gst_element_post_message), (gst_element_message_full),
25643 (gst_element_get_state_func), (gst_element_get_state),
25644 (gst_element_abort_state), (gst_element_commit_state),
25645 (gst_element_lost_state), (gst_element_set_state),
25646 (gst_element_pads_activate), (gst_element_change_state),
25647 (gst_element_dispose), (gst_element_set_manager_func),
25648 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25649 (gst_element_set_manager), (gst_element_get_manager),
25650 (gst_element_set_bus), (gst_element_get_bus),
25651 (gst_element_set_scheduler), (gst_element_get_scheduler):
25652 * gst/gstelement.h:
25653 * gst/gstevent.c: (gst_event_new_segment_seek),
25654 (gst_event_new_flush):
25656 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25657 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25658 (gst_message_new_eos), (gst_message_new_error),
25659 (gst_message_new_warning), (gst_message_new_tag),
25660 (gst_message_new_state_changed), (gst_message_new_application),
25661 (gst_message_get_structure), (gst_message_parse_tag),
25662 (gst_message_parse_state_changed), (gst_message_parse_error),
25663 (gst_message_parse_warning):
25664 * gst/gstmessage.h:
25665 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25666 (gst_real_pad_set_property), (gst_pad_set_active),
25667 (gst_pad_is_active), (gst_pad_set_blocked_async),
25668 (gst_pad_set_blocked), (gst_pad_is_blocked),
25669 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25670 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25671 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25672 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25673 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25674 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25675 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25676 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25677 (gst_pad_set_caps), (gst_pad_configure_sink),
25678 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25679 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25680 (gst_real_pad_dispose), (gst_real_pad_finalize),
25681 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25682 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25683 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25685 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25686 (pipeline_bus_handler), (gst_pipeline_change_state),
25687 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25688 * gst/gstpipeline.h:
25690 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25691 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25692 (gst_queue_link_src), (gst_queue_bufferalloc),
25693 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25694 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25695 (gst_queue_loop), (gst_queue_handle_src_event),
25696 (gst_queue_handle_src_query), (gst_queue_src_activate),
25697 (gst_queue_change_state):
25699 * gst/gstscheduler.c: (gst_scheduler_init),
25700 (gst_scheduler_dispose), (gst_scheduler_create_task),
25701 (gst_scheduler_factory_create):
25702 * gst/gstscheduler.h:
25703 * gst/gststructure.c: (gst_structure_get_type),
25704 (gst_structure_copy_conditional):
25705 * gst/gststructure.h:
25706 * gst/gsttaginterface.h:
25707 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25708 (gst_task_init), (gst_task_dispose), (gst_task_create),
25709 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25715 * gst/schedulers/Makefile.am:
25716 * gst/schedulers/cothreads_compat.h:
25717 * gst/schedulers/entryscheduler.c:
25718 * gst/schedulers/faircothreads.c:
25719 * gst/schedulers/faircothreads.h:
25720 * gst/schedulers/fairscheduler.c:
25721 * gst/schedulers/gstbasicscheduler.c:
25722 * gst/schedulers/gstoptimalscheduler.c:
25723 * gst/schedulers/gthread-cothreads.h:
25724 * gst/schedulers/threadscheduler.c:
25725 (gst_thread_scheduler_task_get_type),
25726 (gst_thread_scheduler_task_class_init),
25727 (gst_thread_scheduler_task_init),
25728 (gst_thread_scheduler_task_start),
25729 (gst_thread_scheduler_task_stop),
25730 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25731 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25732 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25733 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25735 * libs/gst/Makefile.am:
25736 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25737 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25738 (gst_file_pad_parent_set):
25739 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25740 (gst_dp_event_from_packet):
25741 * tests/complexity.c: (main):
25742 * tests/mass_elements.c: (main):
25743 * testsuite/states/locked.c: (message_received), (main):
25744 * testsuite/states/parent.c: (main):
25745 * tools/gst-inspect.c: (print_element_flag_info),
25746 (print_implementation_info), (print_pad_info):
25747 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25749 * tools/gst-md5sum.c: (event_loop), (main):
25750 * tools/gst-typefind.c: (main):
25751 * tools/gst-xmlinspect.c: (print_element_info):
25753 Added GstBus for mainloop integration.
25754 Added GstMessage for sending notifications on the bus.
25755 Added GstTask as an abstraction for pipeline entry points.
25757 Removed Schedulers.
25758 Simplified GstQueue for multithreaded core.
25759 Made _link threadsafe, removed old capsnego.
25760 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25761 Added pad blocking functions.
25762 Reworked scheduling functions in GstPad to prepare for
25763 scheduling updates soon.
25764 Moved events out of data stream.
25765 Simplified GstEvent types.
25766 Added return values to push/pull.
25767 Removed clocking from GstElement.
25768 Added prototypes for state change function for next merge.
25769 Removed iterate from bins and state change management.
25770 Fixed some elements, disabled others for now.
25771 Fixed -inspect and -launch.
25772 Added check for GstBus.
25774 2005-03-10 Wim Taymans <wim@fluendo.com>
25776 * docs/design/part-MT-refcounting.txt:
25777 * docs/design/part-clocks.txt:
25778 * docs/design/part-gstelement.txt:
25779 * docs/design/part-gstobject.txt:
25780 * docs/design/part-standards.txt:
25781 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25782 (gst_bin_remove_func), (gst_bin_remove):
25786 * testsuite/clock/clock1.c: (main):
25787 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25789 * testsuite/dlopen/loadgst.c: (do_test):
25790 * testsuite/refcounting/bin.c: (add_remove_test1),
25791 (add_remove_test2), (main):
25792 * testsuite/refcounting/element.c: (main):
25793 * testsuite/refcounting/element_pad.c: (main):
25794 * testsuite/refcounting/pad.c: (main):
25795 * tools/gst-launch.c: (sigint_handler_sighandler):
25796 * tools/gst-typefind.c: (main):
25798 Added doc about clock.
25799 removed gst_bin_iterate_recurse_up(), marked methods
25801 Fix more testsuites.
25803 2005-03-09 Wim Taymans <wim@fluendo.com>
25805 * gst/gstpad.c: (gst_pad_get_direction),
25806 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25807 (gst_pad_collect_valist):
25808 * testsuite/bins/interface.c: (main):
25809 * testsuite/caps/audioscale.c: (test_caps):
25810 * testsuite/caps/caps.c: (test1), (test2), (test3):
25811 * testsuite/caps/deserialize.c: (main):
25812 * testsuite/caps/enumcaps.c: (main):
25813 * testsuite/caps/filtercaps.c: (main):
25814 * testsuite/caps/intersect2.c: (main):
25815 * testsuite/caps/random.c: (main):
25816 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25817 * testsuite/caps/sets.c: (check_caps):
25818 * testsuite/caps/simplify.c: (check_caps), (main):
25819 * testsuite/caps/subtract.c: (check_caps):
25820 Fix _pad_get_direction wrt ghostpads.
25821 Fix caps testsuite.
25823 2005-03-09 Wim Taymans <wim@fluendo.com>
25825 * check/Makefile.am:
25826 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25827 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25828 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25829 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25830 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25831 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25832 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25833 (bin_element_is_sink), (gst_bin_iterate_sinks),
25834 (gst_bin_iterate_all_by_interface):
25836 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25837 (gst_element_change_state), (gst_element_dispose),
25838 (gst_element_finalize), (gst_element_set_loop_function):
25839 * gst/gstelement.h:
25840 * gst/gstiterator.c: (find_custom_fold_func):
25841 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25842 (gst_pad_collectv), (gst_pad_collect_valist),
25843 (gst_pad_template_new):
25844 * gst/gstpipeline.c: (gst_pipeline_class_init),
25845 (gst_pipeline_dispose), (gst_pipeline_set_property),
25846 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25847 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25848 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25850 * gst/schedulers/entryscheduler.c:
25851 * gst/schedulers/gstbasicscheduler.c:
25852 (gst_basic_scheduler_cothreaded_chain),
25853 (gst_basic_scheduler_chain_add_element):
25854 * testsuite/bins/interface.c: (main):
25856 Added GstSystemClock test.
25857 Implemented clock distribution code in GstBin.
25858 Implemented iterate sinks method for future use.
25859 Rearranged gstelement.h
25860 Fix GstIterator comparison bug.
25861 Moved some code to GstPipeline, mostly clocking related.
25863 2005-03-09 Wim Taymans <wim@fluendo.com>
25866 * gst/gst_private.h:
25867 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25868 (gst_bin_remove_func), (gst_bin_remove),
25869 (gst_bin_get_by_name_recurse_up):
25870 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25871 (gst_clock_id_compare_func), (gst_clock_id_wait),
25872 (gst_clock_id_wait_async), (gst_clock_init),
25873 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25874 * gst/gstelement.h:
25875 * gst/gstinfo.c: (_gst_debug_init):
25877 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25878 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25880 Bump version number, we're now 0.9.0
25881 Add future debugging category.
25882 Fix NULL _unref() in _get_by_name_recurse_up
25883 Rearrange gstpad.h.
25886 2005-03-08 Wim Taymans <wim@fluendo.com>
25888 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25889 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25890 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25891 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25892 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25893 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25894 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25895 * gst/elements/gstidentity.c: (gst_identity_class_init):
25896 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25897 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25898 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25899 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25900 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25902 * gst/gstelement.c: (gst_element_class_init),
25903 (gst_element_base_class_init), (gst_element_init),
25904 (gst_element_get_random_pad), (gst_element_wait_state_change),
25905 (gst_element_change_state), (gst_element_dispose),
25906 (gst_element_finalize), (gst_element_set_loop_function):
25907 * gst/gstelement.h:
25908 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25909 * gst/gstthread.c: (gst_thread_class_init),
25910 (gst_thread_release_children_locks), (gst_thread_change_state):
25911 * gst/schedulers/gstbasicscheduler.c:
25912 (gst_basic_scheduler_loopfunc_wrapper),
25913 (gst_basic_scheduler_chain_wrapper),
25914 (gst_basic_scheduler_src_wrapper),
25915 (gst_basic_scheduler_remove_element):
25916 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25917 Remove threadsafe properties. Fix elements because GObject
25918 complains when installing a property before declaring a
25919 set/get_property handler.
25920 Rearrange gstelement.h file, use STATE macros for state locks.
25921 Free mutexes in the finalize method instead of dispose.
25923 2005-03-08 Wim Taymans <wim@fluendo.com>
25925 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25926 * gst/gstthread.c: (gst_thread_release_children_locks):
25927 Added parentage check.
25928 Fix build og GstThread again.
25930 2005-03-08 Wim Taymans <wim@fluendo.com>
25932 * docs/design/part-MT-refcounting.txt:
25933 * docs/design/part-conventions.txt:
25934 * docs/design/part-gstobject.txt:
25935 * docs/design/part-relations.txt:
25936 * docs/design/part-standards.txt:
25937 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25938 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25939 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25940 (gst_bin_iterate_all_by_interface):
25943 * gst/gstelement.c: (gst_element_class_init),
25944 (gst_element_change_state), (gst_element_set_loop_function):
25945 * gst/gstelement.h:
25946 * gst/gstiterator.c:
25947 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25948 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25949 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25950 (gst_object_set_parent), (gst_object_unparent),
25951 (gst_object_check_uniqueness):
25953 Docs updates, clean up some headers.
25955 2005-03-07 Wim Taymans <wim@fluendo.com>
25957 * check/.cvsignore:
25958 * check/Makefile.am:
25959 * check/gst-libs/.cvsignore:
25960 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25961 * check/gst/.cvsignore:
25962 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25963 (START_TEST), (gstbus_suite), (main):
25964 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25965 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25966 (gst_data_suite), (main):
25967 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25968 (add_fold_func), (gstiterator_suite), (main):
25969 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25970 (thread_name_object), (thread_name_object_default),
25971 (gst_object_name_compare), (gst_object_suite), (main):
25972 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25973 (gst_pad_suite), (main):
25974 * check/gstcheck.c: (gst_check_log_message_func),
25975 (gst_check_log_critical_func), (gst_check_init):
25976 * check/gstcheck.h:
25977 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25978 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25981 2005-03-07 Wim Taymans <wim@fluendo.com>
25983 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25984 (gst_list_iterator_next), (gst_list_iterator_resync),
25985 (gst_list_iterator_free), (gst_iterator_new_list),
25986 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25987 (gst_iterator_free), (gst_iterator_push), (filter_next),
25988 (filter_resync), (filter_uninit), (filter_free),
25989 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25990 (gst_iterator_foreach), (find_custom_fold_func),
25991 (gst_iterator_find_custom):
25992 * gst/gstiterator.h:
25993 Added missing files.
25995 2005-03-07 Wim Taymans <wim@fluendo.com>
25999 * docs/design/part-MT-refcounting.txt:
26000 * docs/design/part-conventions.txt:
26001 * docs/design/part-gstobject.txt:
26002 * docs/design/part-relations.txt:
26003 * examples/mixer/mixer.c: (main):
26004 * examples/thread/thread.c: (eos), (main):
26006 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26007 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26008 (gst_spider_plug_from_srcpad):
26009 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26010 (gst_spider_identity_change_state),
26011 (gst_spider_identity_sink_loop_type_finding):
26012 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26013 * gst/elements/gstidentity.c: (gst_identity_init):
26014 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26015 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26016 * gst/elements/gsttypefindelement.c: (free_entry):
26019 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26020 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26021 (gst_bin_set_index), (gst_bin_set_element_sched),
26022 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26023 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26024 (gst_bin_iterate_elements), (iterate_child_recurse),
26025 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26026 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26027 (compare_interface), (gst_bin_get_by_interface),
26028 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26030 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26031 (gst_buffer_default_free), (gst_buffer_default_copy),
26032 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26033 (gst_buffer_create_sub):
26035 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26036 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26037 (gst_caps_unref), (gst_static_caps_get),
26038 (gst_caps_remove_and_get_structure), (gst_caps_append),
26039 (gst_caps_append_structure), (gst_caps_remove_structure),
26040 (gst_caps_copy_nth), (gst_caps_set_simple),
26041 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26042 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26043 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26044 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26045 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26046 (gst_caps_structure_figure_out_union),
26047 (gst_caps_switch_structures), (gst_caps_do_simplify),
26048 (gst_caps_replace), (gst_caps_from_string),
26049 (gst_caps_copy_conditional):
26051 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26052 (_gst_clock_id_free), (gst_clock_id_unref),
26053 (gst_clock_id_compare_func), (gst_clock_id_wait),
26054 (gst_clock_id_wait_async), (gst_clock_class_init),
26055 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26056 (gst_clock_get_time), (gst_clock_set_time_adjust),
26057 (gst_clock_set_property), (gst_clock_get_property):
26060 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26061 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26063 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26064 (gst_element_requires_clock), (gst_element_provides_clock),
26065 (gst_element_set_clock), (gst_element_clock_wait),
26066 (gst_element_wait), (gst_element_set_time_delay),
26067 (gst_element_is_indexable), (gst_element_add_pad),
26068 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26069 (pad_compare_name), (gst_element_get_static_pad),
26070 (gst_element_request_pad), (gst_element_get_request_pad),
26071 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26072 (gst_element_class_get_pad_template_list),
26073 (gst_element_class_get_pad_template), (gst_element_error_func),
26074 (gst_element_get_random_pad), (gst_element_get_event_masks),
26075 (gst_element_send_event), (gst_element_seek),
26076 (gst_element_get_query_types), (gst_element_query),
26077 (gst_element_get_formats), (gst_element_convert),
26078 (gst_element_is_locked_state), (gst_element_set_locked_state),
26079 (gst_element_sync_state_with_parent), (gst_element_change_state),
26080 (gst_element_finalize), (gst_element_yield),
26081 (gst_element_interrupt), (gst_element_set_scheduler),
26082 (gst_element_get_scheduler), (gst_element_set_loop_function):
26083 * gst/gstelement.h:
26085 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26086 (gst_format_get_by_nick), (gst_format_get_details),
26087 (gst_format_iterate_definitions):
26089 * gst/gstindex.c: (gst_index_gtype_resolver):
26092 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26093 (gst_mem_chunk_free):
26094 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26095 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26096 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26097 (gst_object_dispatch_properties_changed),
26098 (gst_object_set_name_default), (gst_object_set_name),
26099 (gst_object_get_name), (gst_object_set_name_prefix),
26100 (gst_object_get_name_prefix), (gst_object_set_parent),
26101 (gst_object_get_parent), (gst_object_unparent),
26102 (gst_object_check_uniqueness), (gst_object_save_thyself),
26103 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26104 (gst_object_set_property), (gst_object_get_property),
26105 (gst_object_get_path_string):
26107 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26108 (gst_real_pad_init), (gst_real_pad_get_property),
26109 (gst_pad_custom_new), (gst_pad_get_direction),
26110 (gst_pad_set_active), (gst_pad_is_active),
26111 (gst_pad_set_event_function), (gst_pad_is_linked),
26112 (gst_pad_link_free), (gst_pad_link_intersect),
26113 (gst_pad_link_fixate), (gst_pad_set_caps),
26114 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26115 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26116 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26117 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26118 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26119 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26120 (gst_pad_realize), (gst_pad_get_allowed_caps),
26121 (gst_real_pad_dispose), (gst_real_pad_finalize),
26122 (gst_pad_collectv), (gst_pad_collect_valist),
26123 (gst_pad_template_dispose), (gst_pad_template_new),
26124 (gst_pad_get_internal_links):
26126 * gst/gstpipeline.c: (gst_pipeline_dispose),
26127 (gst_pipeline_change_state):
26128 * gst/gstpipeline.h:
26130 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26131 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26132 * gst/gstpluginfeature.h:
26133 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26134 * gst/gstquery.c: (_gst_query_type_initialize),
26135 (gst_query_type_register), (gst_query_type_get_by_nick),
26136 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26138 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26139 * gst/gstscheduler.c: (gst_scheduler_add_element),
26140 (gst_scheduler_factory_create):
26141 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26142 (gst_structure_free), (gst_structure_set_name),
26143 (gst_structure_id_set_value), (gst_structure_set_value),
26144 (gst_structure_set_valist), (gst_structure_remove_field),
26145 (gst_structure_remove_fields),
26146 (gst_structure_remove_fields_valist),
26147 (gst_structure_remove_all_fields), (gst_structure_foreach),
26148 (gst_structure_map_in_place),
26149 (gst_caps_structure_fixate_field_nearest_int),
26150 (gst_caps_structure_fixate_field_nearest_double):
26151 * gst/gststructure.h:
26152 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26153 (gst_system_clock_init), (gst_system_clock_dispose),
26154 (gst_system_clock_async_thread),
26155 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26156 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26157 * gst/gstsystemclock.h:
26158 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26159 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26160 * gst/gsttaginterface.c:
26161 * gst/gstthread.c: (gst_thread_dispose),
26162 (gst_thread_release_children_locks), (gst_thread_change_state),
26163 (gst_thread_main_loop):
26164 * gst/gsttrashstack.h:
26165 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26167 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26168 (gst_element_request_pad), (gst_element_get_pad_from_template),
26169 (gst_element_request_compatible_pad),
26170 (gst_element_get_compatible_pad_filtered),
26171 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26172 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26173 (gst_element_link_many), (gst_element_link),
26174 (gst_element_link_pads), (gst_element_unlink_pads),
26175 (gst_element_unlink_many), (gst_element_unlink),
26176 (gst_pad_can_link_filtered), (gst_pad_can_link),
26177 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26178 (gst_object_default_error), (gst_bin_add_many),
26179 (gst_bin_remove_many), (gst_element_populate_std_props),
26180 (gst_element_class_install_std_props), (gst_buffer_merge),
26181 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26182 (link_fold_func), (gst_pad_proxy_setcaps):
26184 * gst/gstvalue.c: (gst_value_deserialize_string):
26185 * gst/parse/grammar.y:
26186 * gst/schedulers/gstbasicscheduler.c:
26187 (gst_basic_scheduler_cothreaded_chain),
26188 (gst_basic_scheduler_chain_recursive_add),
26189 (gst_basic_scheduler_pad_link):
26190 * gst/schedulers/gstoptimalscheduler.c:
26191 (get_group_schedule_function),
26192 (gst_opt_scheduler_state_transition),
26193 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26194 * libs/gst/bytestream/bytestream.c:
26195 * libs/gst/dataprotocol/dataprotocol.c:
26196 (gst_dp_header_from_buffer):
26199 * tests/threadstate/threadstate2.c: (eos):
26200 * tools/gst-compprep.c: (main):
26201 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26202 (print_pad_info), (print_children_info):
26203 * tools/gst-launch.c: (idle_func), (main):
26204 * tools/gst-md5sum.c: (idle_func), (main):
26205 * tools/gst-xmlinspect.c: (print_element_info):
26206 First THREADED backport attempt, focusing on adding locks and
26207 making sure the API is threadsafe. Needs more work. More docs
26210 2005-02-24 Andy Wingo <wingo@pobox.com>
26212 * tests/bench-complexity.scm:
26213 * tests/complexity.gnuplot: New files, good for running complexity
26216 * tests/Makefile.am:
26217 * tests/complexity.c: New test, sets up N elements, at each level
26218 teeing into M streams per element. Eeeenteresting.
26220 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26221 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26222 running bench-mass_elements.scm.
26224 * tests/bench-mass_elements.scm: New script, runs mass_elements
26225 for various numbers of identities, outputting the results to a
26226 file. Requires guile 1.6. Just for testing.
26228 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26230 * gst/schedulers/fairscheduler.c:
26231 compile with debug disabled
26233 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26236 hunting season on 0.9 is now OPEN