1 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3 * win32/vs6/libgstreamer.dsp:
4 Convert line endings back to DOS.
6 2007-11-13 Stefan Kost <ensonic@users.sf.net>
8 * docs/design/draft-tagreading.txt:
9 * docs/random/ensonic/profiling.txt:
10 Update fast tagreading draft and performance profiling ideas.
12 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
14 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
15 Don't hold the object lock when unreffing a buffer because it could
16 cause a deadlock when the finalize function wants to grab the object
17 lock too. Fixes #495133.
19 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
21 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
22 (gst_segment_to_stream_time), (gst_segment_to_running_time):
23 Also accumulate time correctly when doing reverse playback. Fixes
25 When converting to running and stream time, use default values for
26 start/stop/time/accum when comparing different formats. Fixes #494245.
28 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
29 Do running/stream time in TIME format.
31 * tests/check/gst/gstsegment.c: (GST_START_TEST),
33 2 new unit tests for segment accumulation.
35 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
37 * gst/gst.c: (init_pre):
38 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
39 (_gst_debug_bin_to_dot_file):
40 Move getenv() back into gst_init, so everyone can live happily
41 ever after. Make sure the symbol isn't exported though.
43 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
45 Patch by: Sebastien Moutte <sebastien moutte net>
47 * win32/common/gstenumtypes.c:
48 * win32/common/gstenumtypes.h:
51 * win32/vs6/libgstreamer.dsp:
52 Update vs6 project files (#494343).
54 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
56 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
57 (gst_base_src_perform_seek), (gst_base_src_default_event),
58 (gst_base_src_set_flushing), (gst_base_src_activate_push),
59 (gst_base_src_activate_pull):
60 Unify flushing code, remove some old unlock code that is no longer used.
61 Take the streaming lock when seeking to avoid races. Fixes #492729.
62 Added some more comments.
64 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
66 * gst/gst.c: (_gst_disable_segtrap):
67 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
68 we can use gst_segtrap_is_enabled() there now that we have that API.
69 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
70 to do the getenv here (and export the variable).
72 * gst/gstdebugutils.c: (debug_dump_element),
73 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
74 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
76 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
77 (gst_debug_log_default):
78 Rename _gst_info_start_time to priv_gst_info_start_time so it
79 doesn't get exported (was never in any header).
81 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
82 (gst_plugin_loading_mutex):
83 Make static mutex gst_plugin_loading_mutex really static (was never
84 in any header), and use gst_segtrap_is_enabled() instead of
87 * gst/gsttrace.c: (_gst_trace_default):
88 Make local _gst_trace_default static (was never in any header).
90 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
92 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
94 * win32/common/libgstbase.def:
95 * win32/common/libgstcontroller.def:
96 * win32/common/libgstdataprotocol.def:
97 * win32/common/libgstnet.def:
98 * win32/common/libgstreamer.def:
99 Add more missing symbols, remove some duplicates, and sort
100 as the 'sort' command sorts it (partially fixes #493983).
102 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
104 * gst/gstelement.c: (gst_element_set_state_func):
105 Only change the state cookie if a different state was set on the
106 element. See #492729.
108 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
111 Remove unused and uninitialised type variables that were still
112 exported for some reason (they were never in any header files
115 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
117 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
118 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
119 (gst_base_sink_event), (gst_base_sink_get_position_last),
120 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
121 (gst_base_sink_change_state):
122 Don't try to report a 0 position when we don't know, return -1 and FALSE
123 instead. This mostly happens when we are prerolling.
124 Make sure we can report the right position before we post the ASYNC_DONE
125 message so that a message handler can query position without races.
127 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
128 (async_done_handoff), (async_done_func), (send_buffer),
129 (async_done_eos_func), (gst_sinks_suite):
130 Add two tests for the above.
132 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
135 Update with new email address.
137 * docs/design/part-TODO.txt:
138 Add some more info about future pad-block and negotiation changes.
140 * docs/design/part-buffering.txt:
141 Add some ideas about buffering reporting.
143 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
145 * tests/check/gst/gstobject.c:
146 Disable silly racy test that always fails on this combination of CPU
149 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
151 Patch by: Murray Cumming <murrayc@murrayc.com>
154 Corrected the registration of the parent-set and parent-unset
155 signals: The parameter is a GstObject, not a GObject (#493134).
157 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
168 Move declaration of private _gst_foo_initialize() functions into
169 our private header file where they should have been all along.
171 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
173 * docs/plugins/gstreamer-plugins-sections.txt:
174 * gst/gstdebugutils.h:
176 * plugins/elements/gstqueue.c:
177 gtk-doc fixes; trailing-comma-in-enum fix.
179 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
181 * gst/gst.c: (gst_deinit):
182 Clean up on deinit (not the external ones though, doesn't seem to be
183 needed for some reason).
185 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
187 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
188 Remove __declspec(dllimport) for MSVC that was copied over into core
189 from a plugin, obviously without ever having been tested (note the
190 single underscore in _declspec in the initial commit), and that doesn't
191 really make sense. See #492077.
193 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
195 * gst/gst.c: (init_post):
196 * gst/gstevent.c: (_gst_event_initialize):
197 * gst/gstquery.c: (_gst_query_initialize):
198 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
199 g_type_class_ref() other types as well, see #349410 and #64764.
201 * gst/gstbuffer.c: (_gst_buffer_initialize):
202 * gst/gstmessage.c: (_gst_message_initialize):
203 Simplify existing g_type_class_ref().
205 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
207 * gst/gstformat.c: (_gst_format_initialize):
208 g_type_class_ref() our GstFormat type to make sure we avoid the
209 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
210 bug #64764. Should fix intermittent tee unit test failures (#474823).
212 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
214 * tests/check/elements/tee.c: (test_num_buffers):
215 Simplify, simplify, simplify - or not. Rewrite unit test
216 not to use gst_parse_launch(); allow N sub-streams. Increasing
217 the number of sub-streams seems to reproduce #474823 more easily.
219 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
221 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
224 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
225 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
226 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
227 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
228 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
229 so use _pipe() directly (#492077).
231 * win32/common/dirent.c: (_treaddir):
232 Add a couple of casts to make it build without warnings with MSVC.
234 * win32/common/libgstreamer.def:
235 Add some more symbols that need to be exported.
237 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
239 * tests/examples/metadata/read-metadata.c: (message_loop):
240 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
241 arriving in a second or third tag message are added to
242 the tag list as well.
244 2007-10-31 Stefan Kost <ensonic@users.sf.net>
246 * libs/gst/base/gstbasesrc.c:
247 Its "Since:" and not "@Since:". And remove an superflous cast.
249 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
251 * docs/libs/gstreamer-libs-sections.txt:
252 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
253 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
254 (gst_base_sink_get_property), (gst_base_sink_render_object),
255 (gst_base_sink_preroll_object),
256 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
257 (gst_base_sink_change_state):
258 * libs/gst/base/gstbasesink.h:
259 Add a new last-buffer property that contains the last buffer used in
260 basesink for preroll or rendering. useful for making snapshots.
261 API: gst_base_sink_get_last_buffer()
262 API: GstBaseSink::last-buffer
264 2007-10-29 Stefan Kost <ensonic@users.sf.net>
266 * docs/gst/running.xml:
268 * gst/gstdebugutils.c:
269 * gst/gstdebugutils.h:
270 * tools/gst-launch.c:
271 Improve bin graph dumping, by using the envvar to specify a path.
272 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
274 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
276 * plugins/elements/gsttypefindelement.c:
277 (gst_type_find_element_handle_event),
278 (gst_type_find_element_activate):
279 Post special error message if we can't determine the type of a stream
282 2007-10-29 Stefan Kost <ensonic@users.sf.net>
284 * docs/gst/running.xml:
285 * gst/gstdebugutils.c:
286 Document new env-var. Add one log-line after dumpng a graph.
288 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
291 Ugly hack to put the (recently removed and non-portable, apparently)
292 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
293 GNU ld, because without that 'make check' fails miserably on my debian
294 stable box. Someone with more knowledge of linker intricacies and
295 portability issues than me fix this properly please.
297 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
299 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
300 Reset last seen position after flushing so that we don't report the old
303 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
305 * gst/gstelementfactory.c: (gst_element_register):
307 Patch from Alessandro Decina adding get_type_full and
308 get_protocols_full private vfuncs to the URIHandler interface
309 to allow bindings to support creating URI handlers.
310 Partially fixes: #339279
311 API: GstURIHandlerInterface::get_type_full
312 API: GstURIHandlerInterface::get_protocols_full
314 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
316 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
317 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
318 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
319 Make it so that pads are considered linked until a buffer is pushed
320 and discovered otherwise. This avoids problems with decodebin2 hanging
321 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
324 Make sure we lock the multiqueue when updating the max-size properties.
326 Fix a crash on Solaris in a debug statement in get_request_pad that
327 passes a NULL string to GST_DEBUG.
329 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
330 (run_output_order_test):
331 Fix the test to allow the first buffer on not-linked pads to come out
332 of sequence while multiqueue discovers that they are not-linked.
334 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
337 * libs/gst/check/Makefile.am:
338 Use a custom export symbol regex for libgstcheck, as it needs
339 to export symbols that don't match the standard GStreamer gst_*
340 pattern, and --export-dynamic is not portable (only works on
343 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
344 (gst_check_setup_sink_pad):
345 Make sure to pass a message parameter to the fail_* macros.
347 * tests/check/gst/gstinfo.c: (GST_START_TEST):
348 Fix some compiler warnings.
350 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
352 * tests/check/gst/gststructure.c: (test_to_string):
353 Disable test that checks that white spaces are not allowed
354 in structure names or field names, since we need to
355 support that for now for backwards compatibility reasons.
357 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
359 * docs/gst/gstreamer-sections.txt:
362 API: add GST_TAG_ARTIST_SORTNAME
363 API: add GST_TAG_ALBUM_SORTNAME
364 API: add GST_TAG_TITLE_SORTNAME
365 Add tag variants for sorting (#414539).
367 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
369 * gst/gststructure.c:
370 Also allow white space for names so we don't break
371 backwards compatibility.
373 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
375 * docs/design/part-TODO.txt:
376 * docs/design/part-segments.txt:
377 * docs/design/part-streams.txt:
380 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
382 * docs/gst/gstreamer-sections.txt:
383 Fixed documentation from my previous commit (added new API add
384 gst_value_set_structure(), add gst_value_get_structure() and
385 GST_VALUE_HOLDS_STRUCTURE).
387 2007-10-22 Stefan Kost <ensonic@users.sf.net>
389 * gst/gstdebugutils.c:
390 Reflow code to fix uninitialized variable warning.
392 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
394 * gst/gstcaps.c: (gst_caps_to_string),
395 (gst_caps_from_string_inplace):
396 * gst/gststructure.c: (gst_structure_get_abbrs),
397 (gst_structure_to_string), (gst_structure_from_string):
398 * gst/gstvalue.c: (gst_value_set_structure),
399 (gst_value_get_structure), (gst_value_serialize_structure),
400 (gst_value_deserialize_structure), (_gst_value_initialize):
402 * tests/check/gst/gststructure.c: (GST_START_TEST),
403 (gst_structure_suite):
404 * tests/check/gst/gstvalue.c: (GST_START_TEST):
405 Added GstStructure to gst_value_table and its related functions.
406 Changed gst_structure_to_string to print ';' in the end.
407 Changed gst_caps_to_string to not print ';' beteween its
408 fields (structures) anymore and remove the lastes ';' from latest
409 structure. Now it is possible to have nested structures.
410 In addition, backward compatibilty is assured by accepting '\0' as
411 end delimiter. Fixes: #487969.
412 API: add gst_value_set_structure()
413 API: add gst_value_get_structure()
414 API: add GST_VALUE_HOLDS_STRUCTURE
416 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
419 When no GSource callback has been set up, tell developer
420 to use a function that actually exists.
422 2007-10-17 Stefan Kost <ensonic@users.sf.net>
424 * docs/gst/gstreamer-sections.txt:
428 * gst/gstdebugutils.c:
429 * gst/gstdebugutils.h:
432 * tools/gst-launch.c:
433 Allow dumping pipelines as dot graphs. Fixes #456573.
435 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
437 * gst/gststructure.c:
438 Allow '+' as well, it can be part of media or mime types
439 such as image/svg+xml.
441 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
443 * docs/gst/gstreamer-sections.txt:
446 API: add gst_bus_pop_filtered
447 API: add gst_bus_timed_pop_filtered
448 Two new functions for waiting for specific message types on the
449 bus for a specified amount of time without iterating any main
450 loops or main contexts.
452 * tests/check/gst/gstbus.c:
453 Some tests for the new functions.
455 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
457 * docs/libs/gstreamer-libs-sections.txt:
458 Make gtk-doc ignore stuff it should ignore.
460 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
462 * libs/gst/check/gstcheck.c:
463 * libs/gst/check/gstcheck.h:
464 Allow runtime selection of unit tests to run via the GST_CHECKS
465 environment variable (test case function names, comma-separated).
467 2007-10-16 Stefan Kost <ensonic@users.sf.net>
469 * gst/gststructure.c:
470 * tests/check/gst/gststructure.c:
471 Revert serialisation change and constrain structure-names after
472 consensus on irc. Update api documentation to reflect the change.
474 2007-10-16 Stefan Kost <ensonic@users.sf.net>
476 * gst/gststructure.c:
477 Improve serialization and fix tests.
479 * tests/check/gst/gststructure.c:
480 Add another test that covers why I actually did the previous structure
483 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
485 * tools/gst-inspect.c: (print_element_info):
486 Don't crash when inspecting an element.
488 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
490 * tests/check/gst/gststructure.c:
491 Add unit test for escaping of structure name when serialising
492 and deserialising to/from strings.
494 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
496 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
497 (gst_single_queue_new):
498 * plugins/elements/gstqueue.c: (gst_queue_init),
499 (gst_queue_push_one):
500 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
501 upstream is tricked into thinking it can suggest a format downstream
502 while downstream does not support that format. The real problem is that
503 core calls acceptcaps when pushing a buffer with new caps, for which we
504 do a little workaround by setting the caps on the srcpad ourselves
505 before pushing the buffer (until this is figured out). Fixes #486758.
507 2007-10-15 Stefan Kost <ensonic@users.sf.net>
509 * gst/gststructure.c:
511 Add some more comments and debug output. Quote structure name to fix
512 deserialisation of some strings.
514 2007-10-15 Stefan Kost <ensonic@users.sf.net>
517 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
518 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
520 2007-10-15 Stefan Kost <ensonic@users.sf.net>
522 * tools/gst-inspect.c:
523 Save approx. 400 1 byte allocs when printing. Use API to acces element
529 * tools/gst-xmlinspect.c:
530 Use API to acces element details.
532 2007-10-15 Stefan Kost <ensonic@users.sf.net>
535 Fix some spelling errors.
537 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
539 * gst/gstbin.c: (bin_handle_async_done):
540 Correctly set the next state if all of our async children commited their
541 state. This makes sure we can actually cancel the state change in
542 progress. Fixes a regression in Rhythmbox when seeking.
544 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
547 Don't shadow local variable.
550 Don't shadow global function name.
552 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
554 * gst/gstelementfactory.c:
555 * gst/gstpluginfeature.c:
556 * gst/gstpluginfeature.h:
557 * gst/gstregistrybinary.c:
558 * gst/gstregistryxml.c:
560 Use already-interned string for the private GstPluginFeature
563 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
565 * docs/libs/gstreamer-libs-sections.txt:
566 Add new API to docs; fixes the build.
568 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
570 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
572 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
573 (gst_base_sink_event):
574 * libs/gst/base/gstbasesink.h:
575 Add function to wait for EOS, subclasses can use this to correctly wait
576 for devices to drain before performing the EOS logic. Fixes #485343.
577 API: gst_base_sink_wait_eos()
579 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
582 Cast description string constants in GST_PLUGIN_DEFINE macros
583 to a (gchar*) to make C++ code using these macros compile
584 without warning with g++-4.2 (see #462737). Even if slightly
585 ugly, this seems preferable to putting the description strings
586 into the GLib quark table or making the structure member a
587 const gchar * and doing casts in core code that allocs and
588 frees these strings, or requiring a cast in the C++ code.
590 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
593 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
594 to print the entire class/function signature into the log
595 file for C++ code. This only affects C++ code, for C code
596 everything remains the same.
598 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
600 * gst/gstbin.c: (remove_from_queue):
601 Work around a problem with pipelines containing (semi)loops until a
602 proper, more complicated solution is ready. See #475455.
604 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
608 * gst/gstregistrybinary.c:
609 * gst/gstregistryxml.c:
610 Put more strings into the GLib quark table. No need to keep
611 a hundred-something copies of identical version strings,
612 license strings, package name strings and package origin
615 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
617 * docs/manual/advanced-dataaccess.xml:
618 Don't imply that it's okay to unconditionally change
619 buffer data or buffer metadata in a pad probe callback,
620 and a bunch of other comments. Fixes #430031.
622 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
624 * win32/common/gstenumtypes.c:
625 * win32/common/gstenumtypes.h:
626 * win32/common/gstversion.h:
627 Update generated files.
629 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
631 * docs/manual/advanced-autoplugging.xml:
632 Prefix section with broken code with a warning (see #342432).
634 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
636 * docs/manual/appendix-integration.xml:
637 * docs/manual/basics-init.xml:
638 Call g_thread_init() before g_option_context_new() to
639 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
641 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
643 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
644 (gst_base_sink_queue_object_unlocked),
645 (gst_base_sink_queue_object), (gst_base_sink_event),
646 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
647 When we received EOS and are waiting for when to post the EOS message,
648 our state is prerolled and we should not return ASYNC.
649 Reorganize some code paths to implement this behavior.
651 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
653 Add unit test to verify above EOS fix.
655 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
657 * plugins/elements/gsttypefindelement.c:
658 (gst_type_find_element_have_type), (gst_type_find_element_init),
659 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
660 Move detecting the input caps of the sinkpad to the setcaps function.
661 This allows us to update the output caps when we receive new input caps
662 instead of always using the first detected caps.
664 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
666 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
667 (gst_base_sink_get_position):
668 Don't try to preroll non-async elements after a flush.
669 Subtract latency form clock times when reporting position.
671 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
673 * gst/gstpad.c: (gst_pad_pause_task):
675 Small comment and documentation update.
677 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
679 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
680 (gst_base_src_set_live), (gst_base_src_is_live),
681 (gst_base_src_query_latency), (gst_base_src_perform_seek),
682 (gst_base_src_default_event), (gst_base_src_wait),
683 (gst_base_src_do_sync), (gst_base_src_get_range),
684 (gst_base_src_pad_get_range), (gst_base_src_loop),
685 (gst_base_src_unlock), (gst_base_src_unlock_stop),
686 (gst_base_src_set_flushing), (gst_base_src_set_playing),
687 (gst_base_src_activate_push), (gst_base_src_activate_pull),
688 (gst_base_src_change_state):
689 Rework the locking of basesrc in a similar fashion to basesink. We
690 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
691 us to handle live sources and semi live ones much better.
693 Fix unlocking when seeking, shutting down and pausing in live sources.
695 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
697 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
698 Fix compilation again.
700 2007-10-03 Stefan Kost <ensonic@users.sf.net>
703 Use meaningful categories for the logs to clean the default one.
705 2007-10-03 Stefan Kost <ensonic@users.sf.net>
707 * tests/check/pipelines/cleanup.c:
708 Print message name and not just number.
710 2007-10-03 Stefan Kost <ensonic@users.sf.net>
712 * docs/design/draft-tagreading.txt:
713 Add some more thoughts.
715 2007-10-03 Stefan Kost <ensonic@users.sf.net>
717 * tests/check/pipelines/simple-launch-lines.c:
718 Print message name and not just number.
720 2007-10-03 Stefan Kost <ensonic@users.sf.net>
722 * libs/gst/base/gsttypefindhelper.c:
723 Speedup typefinding. This is work in progress (see #459862).
725 2007-10-03 Stefan Kost <ensonic@users.sf.net>
728 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
729 Spotted by Josep Torra Valles <josep@fluendo.com>.
731 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
734 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
735 field has moved to GstObject.
737 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
739 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
740 (gst_base_src_get_range), (gst_base_src_change_state):
741 Call unlock for live sources so that they can't get stuck in _create and
742 produce a buffer before they are set back to PLAYING.
744 2007-10-02 Edward Hervey <bilboed@bilboed.com>
746 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
747 (gst_queue_locked_dequeue):
748 Comment the segment-related code... in the PROPER function.
749 See #482147 and my commit from yesterday.
751 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
753 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
754 Also initialize the counter that calculates the first timestamp on a
755 buffer correctly for non-live sources.
757 2007-10-01 Edward Hervey <bilboed@bilboed.com>
759 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
760 Disable code that's breaking the current-time-level reporting.
763 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
765 * docs/gst/gstreamer-sections.txt:
766 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
767 as they shouldn't show up. Fixes the docs build.
769 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
772 Add an explicit variable importation needed on VS6 (only for MSC_VER)
773 Define M_PI which is used in files which are including gstinfo.h.
774 VS6 includes doesn't define it.
775 * win32/common/libgstbase.def:
776 * win32/common/libgstcontroller.def:
777 * win32/common/libgstreamer.def:
778 Add new exported functions and variables.
779 * win32/vs6/libgstcontroller.dsp:
780 * win32/vs6/libgstreamer.dsp:
781 Update the list of files to build.
783 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
785 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
787 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
788 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
789 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
790 Improve debugging. Fixes #480858.
792 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
794 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
796 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
797 First patch of code cleanups, use the macros and right arguments in the
798 macros to signal and lock the queue. See #480858.
800 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
802 * gst/gstbus.c: (poll_func):
803 Improve debugging when dealing with _poll().
805 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
807 * gst/gstregistryxml.c:
808 Fix memory leak I introduced a few days ago.
810 2007-09-26 Michael Smith <msmith@fluendo.com>
812 * gst/gstbuffer.c: (gst_buffer_finalize):
813 Make it once again possible to free GstBuffers in the default
815 The poisoning scribbles on parts of the miniobject we need in
819 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
821 * docs/gst/gstreamer-sections.txt:
824 API: add GST_TAG_COMPOSER, fixes #459809.
826 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
830 Add the 3-clause BSD license and the MIT/X11 license to the license
833 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
835 * docs/faq/getting.xml:
836 Add Q+A about different GStreamer versions (#364056).
838 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
840 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
841 (gst_base_sink_event), (gst_base_sink_change_state):
842 Return correct gboolean from query function.
844 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
846 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
847 (gst_base_sink_event), (gst_base_sink_query),
848 (gst_base_sink_change_state):
849 Simplify latency query.
850 When not synchronizing, we can report latency without querying the peer
853 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
857 Fix small typos in the docs.
859 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
861 * docs/design/draft-latency.txt:
862 * docs/design/draft-push-pull.txt:
863 * docs/design/draft-tagreading.txt:
864 * docs/design/part-MT-refcounting.txt:
865 * docs/design/part-activation.txt:
866 * docs/design/part-block.txt:
867 * docs/design/part-element-source.txt:
868 * docs/design/part-events.txt:
869 * docs/design/part-gstbin.txt:
870 * docs/design/part-gstelement.txt:
871 * docs/design/part-gstobject.txt:
872 * docs/design/part-gstpipeline.txt:
873 * docs/design/part-messages.txt:
874 * docs/design/part-preroll.txt:
875 * docs/design/part-push-pull.txt:
876 * docs/design/part-qos.txt:
877 * docs/design/part-query.txt:
878 * docs/design/part-scheduling.txt:
879 * docs/design/part-seeking.txt:
880 * docs/design/part-segments.txt:
881 * docs/design/part-states.txt:
882 Documentation updates and typo fixes.
884 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
886 * plugins/elements/gstfakesink.c:
887 Add some debug text to error message to indicate that
888 we errored out on request.
890 * tools/gst-launch.c:
891 When the state change to PLAYING fails, check for an
892 error message on the bus and print it.
894 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
896 translated by: Jorge González González <aloriel@gmail.com>
900 Added Spanish translation.
902 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
904 * plugins/elements/gstqueue.c: (gst_queue_push_one):
905 Fix printf arguments.
907 2007-09-20 Stefan Kost <ensonic@users.sf.net>
909 * tests/check/generic/states.c:
910 Improved state change unit test.
912 2007-09-20 Stefan Kost <ensonic@users.sf.net>
915 Move priv to the right place.
917 * gst/gstsystemclock.c:
918 Add FIXME: and improve log.
920 * tests/check/Makefile.am:
921 * tests/examples/manual/Makefile.am:
922 Work with all types of registries.
924 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
926 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
927 Don't unref the event after pushing it. Fixes #478401.
929 2007-09-19 Stefan Kost <ensonic@users.sf.net>
932 * tests/examples/manual/.cvsignore:
933 Ignore registries in any format.
935 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
937 * gst/glib-compat-private.h:
938 Add compatibility macro for g_intern_string() for
939 GLib-2.8 (any reason we can't just bump the
940 requirement to at least 2.10?)
942 * gst/gstpadtemplate.h:
943 * gst/gstelementfactory.c:
944 * gst/gstregistryxml.c:
945 * gst/gstregistrybinary.c:
946 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
947 up the internal code accordingly. This shouldn't be a problem, since
948 there is no reason external code could ever assume the string in such
949 a structure is dynamically allocated unless it did that itself; the
950 use of g_strdup() is private to element factories. The new code also
951 saves some memory by putting pad template name strings into the GLib
952 quark table instead of allocating them dynamically.
953 Declaring this field constant fixes warnings with g++-4.2 when using
954 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
956 2007-09-19 Stefan Kost <ensonic@users.sf.net>
958 * gst/gstelementfactory.c:
959 Release static caps. Fixes #475723.
961 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
965 Make some internal API take const gchar * instead of just
966 gchar * to avoid compiler warnings with g++-4.2.2 when
967 passing string constants (partially fixes #478092).
969 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
971 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
972 A latency query fails when one of the sinks fail.
974 * gst/gstelement.c: (gst_element_set_base_time):
977 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
979 * gst/gstbin.c: (gst_bin_continue_func):
980 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
981 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
982 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
984 Fix minor compilation warnings shown with Forte.
986 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
988 * plugins/elements/gstqueue.c: (apply_buffer),
989 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
990 Measure queue level based on the diff between head and tail timestamps
991 even when pushing the first buffer.
993 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
995 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
996 (gst_base_sink_event), (gst_base_sink_change_state):
997 Sinks that don't preroll can always be queried for the latency.
998 Don't post ASYNC start when we are not async.
1000 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1002 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1003 (gst_queue_handle_sink_event), (gst_queue_chain),
1004 (gst_queue_push_one), (gst_queue_handle_src_query),
1005 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1006 * plugins/elements/gstqueue.h:
1007 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1008 push more buffers but allow pushing of EOS and NEWSEGMENT.
1009 Add some more debug info here and there. Fixes #476514.
1011 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1013 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1014 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1015 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1016 (gst_base_sink_set_flushing), (gst_base_sink_query),
1017 (gst_base_sink_change_state):
1018 Latency query is allowed after we are prerolled. Introduce a new flag
1019 for this and stop abusing other variables.
1021 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1023 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1024 Push OOB events downstream when we get them in send_event. This allows
1025 the application to insert events in the pipeline.
1026 Add some more comments.
1028 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1030 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1031 (do_bin_latency), (gst_bin_change_state_func):
1032 * gst/gstpipeline.c: (gst_pipeline_change_state):
1033 Move latency query from GstPipeline to GstBin so that we can also
1034 use it when async-handling is enabled on bins.
1036 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1038 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1039 (gst_base_src_do_sync), (gst_base_src_change_state):
1041 Clean up the timestamping and syncing code for pseudo live sources.
1043 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1045 Patch by: Steve Fink <sphink gmail com>
1047 * docs/manual/appendix-checklist.xml:
1048 Mention less -R switch in the section about debug output (#474055).
1050 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1052 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1053 Queue can latency to the pipeline up to the configured max size in time.
1054 Report this fact in the latency query.
1056 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1058 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1060 * libs/gst/controller/gstinterpolation.c:
1061 * libs/gst/controller/gstlfocontrolsource.c:
1062 Use gst_guint64_to_gdouble() when converting from a uint64 or
1063 GstClockTime to double to fix the build on win32. Fixes #474371.
1065 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1067 * gst/gstbuffer.c: (gst_buffer_finalize):
1068 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1069 When finalizing a buffer the complete struct is filled with 0xff,
1070 thus making a use of the buffer after the final unref impossible.
1072 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1074 * tests/check/libs/controller.c: (GST_START_TEST):
1075 Use fail_unless_equals_int(a, b) instead of
1076 fail_unless_equals (a == b) to get better output on failures.
1078 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1080 * tests/check/gst/gsturi.c:
1081 Also check for the other file URI variant on win32.
1083 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1085 * gst/gsturi.c: (gst_uri_get_location):
1086 If there's no hostname, we want to return 'c:/foo/bar.txt'
1087 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1089 * tests/check/gst/gsturi.c:
1090 Unit test for the above and a few more things.
1092 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1094 * docs/design/part-live-source.txt:
1095 Add docs on how live sources should timestamp.
1097 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1098 Add some more debug info.
1099 For subclasses that are live and like to sync, add aditional startup
1100 latency to sync time and timestamps so that we timstamp according to the
1103 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1106 Also do a g_type_class_ref() for the subbuffer type in
1109 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1111 * docs/gst/gstreamer-sections.txt:
1112 * gst/gstpad.c: (gst_pad_peer_query):
1114 Add function to perform a query on the peer of a pad.
1115 API: gst_pad_peer_query()
1117 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1119 * tests/check/gst/gstsystemclock.c:
1120 Cleanup the test a little (use gst-logging and not g_message). Improve
1121 test to check if a wait reached the target.
1123 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1125 * docs/libs/gstreamer-libs-sections.txt:
1126 Add new API to docs and fix the build.
1128 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1130 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1131 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1132 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1133 (gst_base_src_get_property), (gst_base_src_do_sync):
1134 * libs/gst/base/gstbasesrc.h:
1135 Add property to make the basesrc timestamp buffers based on the current
1137 API: GstBaseSrc::do-timestamp
1138 API: gst_base_src_set_do_timestamp()
1139 API: gst_base_src_get_do_timestamp()
1141 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1143 * docs/random/release:
1144 Really make sure translations are up-to-date before
1145 a release (#465010).
1147 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1149 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1150 Always destroy the timer, also in error cases.
1152 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1154 * docs/manual/highlevel-xml.xml:
1155 Fix XML example code. Fixes #472714.
1157 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1159 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1160 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1161 (gst_base_sink_query):
1162 Protect eos and have_preroll with the OBJECT lock so we don't need to
1163 take the PREROLL lock when querying the latency. Fixes #473846.
1165 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1168 Give some log-messages a category.
1170 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1172 * gst/gststructure.c:
1173 (gst_structure_fixate_field_nearest_fraction):
1174 Fix fraction list fixation code. Take the fraction with the smallest
1175 difference with the target instead of the first one in the list.
1177 * tests/check/gst/gststructure.c: (GST_START_TEST),
1178 (gst_structure_suite):
1179 Added test to verify correct fraction list fixation behaviour.
1181 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1183 * win32/common/libgstreamer.def:
1184 Export gst_bus_add_signal_watch too.
1186 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1188 * docs/libs/gstreamer-libs-sections.txt:
1189 Add new methods to docs.
1191 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1192 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1193 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1194 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1195 * libs/gst/base/gstbasesink.h:
1196 Add ts-offset property to fine-tune the synchronisation.
1197 API: GstBaseSink::ts-offset property
1198 API: gst_base_sink_set_ts_offset()
1199 API: gst_base_sink_get_ts_offset()
1201 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1203 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1204 (gst_base_sink_init), (gst_base_sink_set_sync),
1205 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1206 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1207 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1208 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1209 (gst_base_sink_get_property), (gst_base_sink_change_state):
1210 * libs/gst/base/gstbasesink.h:
1211 Add async property to instruct the sink never to inform the parent about
1212 ASYNC state changes, update docs.
1213 Check argument with g_return_* for the public functions.
1214 API: GstBaseSink::async property
1215 API: gst_base_sink_set_async_enabled()
1216 API: gst_base_sink_is_async_enabled()
1218 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1220 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1223 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1224 (gst_base_src_default_query), (gst_base_src_wait),
1225 (gst_base_src_do_sync), (gst_base_src_change_state):
1226 Rearrange some code so that we can add support for measuring the
1229 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1231 * docs/random/ensonic/dynlink.txt:
1232 More thoughs on this.
1234 * plugins/elements/gstcapsfilter.c:
1235 Add bugzilla ticket number to FIXME comment.
1237 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1239 * docs/design/part-TODO.txt:
1240 * docs/design/part-block.txt:
1243 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1246 Revert patch which uses $(gst_headers) instead of $^ because it
1249 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1251 * tests/check/gst/gstbin.c: (GST_START_TEST):
1252 Fix leaks in the new unit test.
1254 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1257 Don't use GST_INFO before the debug system is actually initialised
1258 (shouldn't do any harm, but won't print anything either, so we can
1259 just as well remove it).
1262 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1263 compilers that don't support variadic macros (such as MSVC), should
1264 check for debug_level <= __gst_debug_min as well, since that's the
1265 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1266 inline helper functions. Should improve performance a bit, but also
1267 makes sure uses of GST_INFO et.al are ignored if the debugging
1268 system isn't initialised yet (instead of printing an assertion
1271 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1273 patch by: David Nečas <yeti@physics.muni.cz>
1276 Replace some non portable makefile constructs.
1278 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1280 * common/gtk-doc-plugins.mak:
1281 Grrrrr. Don't remove the types file on make clean.
1283 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1285 * tools/gst-launch.1.in:
1286 Add colorspace to example pipeline. Fixes #458274.
1288 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1290 * docs/random/release:
1291 The release manager should run 'make download-po' before making a
1292 release to make sure translations are up-to-date.
1298 Add some new translations.
1300 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1302 * tools/gst-launch.c: (event_loop), (main):
1303 Don´t try to do any state management when a live pipeline posts
1305 Also make the buffering string translatable.
1307 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1309 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1310 (bin_handle_async_start), (gst_bin_handle_message_func):
1312 When adding elements, insert messages into the bus of the newly added
1313 element and make sure the element is the source of the message. This
1314 allows the parent bin to intercept the message and do the
1315 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1316 messages to the app (which is not allowed).
1319 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1320 Fix testsuite so that is does not work around messages that should not
1321 have been posted in the first place.
1323 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1325 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1326 (update_degree), (gst_bin_sort_iterator_next):
1327 Fix annoying bug in the sorted iterator where a sink that is not really
1328 a sink (when it has downstream links) screwed up the iterator.
1330 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1331 Unit test to verify the fix.
1333 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1336 Add some more docs for the messages.
1338 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1339 (gst_base_sink_query):
1340 Add some more debugging.
1342 * tools/gst-launch.c: (event_loop):
1343 When interrupting, don't try to set pipeline to PAUSED twice.
1345 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1348 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1349 (bin_handle_async_start), (gst_bin_handle_message_func):
1350 Move ASYNC_START message posting to where it belongs, similar to
1352 Don't post ASYNC_START when we are in error.
1353 Post ASYNC_START when we added an async element to a bin.
1355 2007-08-14 Julien MOUTTE <julien@moutte.net>
1357 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1358 generation from vargs. Fixes #466595.
1360 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1362 * gst/gstbin.c: (gst_bin_element_set_state):
1363 Always change the state of a NO_PREROLL element even if it has ASYNC
1364 elements inside (in case of a bin).
1366 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1367 Unit test for this case.
1369 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1371 * libs/gst/check/gstbufferstraw.c:
1372 * libs/gst/check/gstcheck.h:
1373 * libs/gst/controller/gstcontroller.c:
1374 * libs/gst/controller/gstcontrolsource.h:
1375 * libs/gst/controller/gstlfocontrolsource.h:
1376 * plugins/elements/gstcapsfilter.h:
1377 * plugins/elements/gstfdsink.h:
1378 * plugins/elements/gstfdsrc.h:
1379 Add more missing docs.
1381 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1383 * gst/gststructure.c:
1384 Add Since tag to docs.
1386 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1388 * docs/gst/gstreamer-sections.txt:
1389 * gst/gststructure.c: (gst_structure_get_uint):
1390 * gst/gststructure.h:
1391 Add function to get uint from a structure.
1392 API: gst_structure_get_uint()
1394 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1396 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1397 (gst_caps_intersect):
1398 Fix proper check for simple caps.
1400 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1402 * docs/gst/Makefile.am:
1403 * docs/libs/Makefile.am:
1404 Remove cruft and do some cleanups.
1406 * docs/gst/gstreamer-docs.sgml:
1407 * docs/libs/gstreamer-libs-docs.sgml:
1408 Prepare for comming gtkdoc features (rebase against online docs).
1410 2007-08-10 Michael Smith <msmith@fluendo.com>
1412 * docs/gst/gstreamer-sections.txt:
1413 Add gst_registry_add_path to docs.
1415 2007-08-10 Michael Smith <msmith@fluendo.com>
1417 * gst/gstregistry.h:
1418 Add gst_registry_add_path, which was missing from this header.
1420 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1422 * libs/gst/controller/gstlfocontrolsource.c:
1425 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1427 * libs/gst/base/gstbasesink.c:
1428 Don't send an async_start message during downwards state change if
1429 target state is less than READY
1431 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1433 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1437 Added Hungarian translation.
1439 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1446 Updated translations.
1448 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1450 * libs/gst/controller/Makefile.am:
1451 Dist gstlfocontrolsourceprivate.h
1453 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1455 * docs/libs/gstreamer-libs.types:
1456 Don't register the enum type gst_lfo_waveform_get_type() in the
1457 .types file - only GObject derived types belong.
1459 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1461 Patch by: <arenevier at fdn dot fr>
1464 Remove comma from last element in enum to avoid compile errors when
1465 using -pendantic. Fixes #464366.
1467 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1469 * docs/design/part-TODO.txt:
1470 Add some more TODO items
1472 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1475 * gst/gstcaps.c: (gst_caps_intersect):
1476 Optimize trivial intersection case between identical caps pointers.
1478 * gst/gstelement.c: (gst_element_continue_state),
1479 (gst_element_set_state_func):
1481 Fix spelling and grammar mistakes.
1483 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1487 Update POTFILES. Fixes #461599.
1489 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1492 Fix confusing typo in debug output.
1494 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1496 reviewed by: Stefan Kost <ensonic@users.sf.net>
1498 * libs/gst/controller/Makefile.am:
1499 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1500 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1501 (gst_lfo_control_source_new),
1502 (gst_lfo_control_source_set_waveform),
1503 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1504 (gst_lfo_control_source_finalize),
1505 (gst_lfo_control_source_dispose),
1506 (gst_lfo_control_source_set_property),
1507 (gst_lfo_control_source_get_property),
1508 (gst_lfo_control_source_class_init):
1509 * libs/gst/controller/gstlfocontrolsource.h:
1510 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1511 API: Add GstLFOControlSource, a control source that gives values
1512 for specific timestamps based on several periodic waveforms.
1515 * tests/check/libs/controller.c: (GST_START_TEST),
1516 (gst_controller_suite):
1517 * docs/libs/gstreamer-libs-docs.sgml:
1518 * docs/libs/gstreamer-libs-sections.txt:
1519 * docs/libs/gstreamer-libs.types:
1520 Add documentation and unit tests for GstLFOControlSource.
1522 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1527 === release 0.10.14 ===
1529 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1532 releasing 0.10.14, "Breathing Vacuum"
1534 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1536 * gst/gstelement.c: (gst_element_class_set_details_simple):
1538 Make strings passed to gst_element_class_set_details_simple()
1539 constant, as they should be (#462752).
1541 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1543 * gst/gstbin.c: (gst_bin_change_state_func),
1544 (bin_handle_async_done), (gst_bin_handle_message_func):
1545 Don't forget about the fact that some element went ASYNC even after a
1546 resync. This makes us post the ASYNC_DONE message correctly.
1549 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1551 * gst/gstregistry.c: (gst_registry_add_feature):
1552 When replacing an existing feature in the registry, make sure to
1553 continue holding a reference until we've replaced the name string
1554 within our feature hash table. Make sure to use g_hash_table_replace
1555 instead of g_hash_table_insert to ensure the new name string is used
1556 as a key instead of the old one that we're about to free.
1559 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1561 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1562 (gst_plugin_feature_set_name):
1563 Revert patch from #459466 until after the release and we can work
1564 out exactly what the problem is (if any).
1566 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1568 * docs/gst/gstreamer-sections.txt:
1571 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1573 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1575 * docs/libs/Makefile.am:
1576 Include our build-prefix libs and includes before the generic ones to
1577 avoid linking against the installed libs when we want the build-tree
1580 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1582 Patch by: Steve Fink <sphink gmail com>
1584 * docs/pwg/building-testapp.xml:
1585 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1586 if people try to build or install the example from the plugin
1587 template against a GStreamer from package using the configure
1590 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1592 Patch by: Steve Fink <sphink gmail com>
1594 * tools/gst-inspect.1.in:
1595 Document --print-all and --print-plugin-auto-install-info command
1596 line options in man page.
1598 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1600 * docs/gst/gstreamer-sections.txt:
1601 Add docs for new api function.
1603 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1605 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1606 * gst/gstelementfactory.h:
1607 API: gst_element_factory_has_interface()
1608 Added method to check if an element factory implements a named
1611 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1614 * docs/gst/gstreamer.types.in:
1615 Another conditional doc check.
1618 * gst/gstparamspecs.h:
1619 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1624 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1626 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1627 (gst_registry_binary_load_feature),
1628 (gst_registry_binary_load_plugin),
1629 (gst_registry_binary_read_cache):
1630 Print error just once and with additional info.
1632 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1634 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1635 (helper_find_suggest), (helper_find_get_length),
1636 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1637 (gst_type_find_helper_for_buffer):
1638 Cleanup the typefindhelper code and add private doc comments.
1640 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1642 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1643 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1644 Fix capsfilter for cases where the caps set on capsfilter will provide
1645 additional information.
1648 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1650 * gst/gsttypefindfactory.c:
1651 Fix docs that recommened wrong function to use.
1653 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1655 * tools/gst-inspect.c: (print_plugin_features):
1656 Also give media-type for typefinders in element output.
1658 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1660 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1661 (gst_registry_remove_features_for_plugin_unlocked),
1662 (gst_registry_add_feature), (gst_registry_remove_feature),
1663 (gst_registry_lookup_feature_locked):
1664 * gst/gstregistry.h:
1665 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1668 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1670 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1671 (gst_plugin_feature_set_name):
1672 Avoid double memory usage for pluginfeature names. Fixes #459466.
1674 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1677 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1678 driving the pipeline may need to explicitly check for NOT_LINKED as
1679 well, since IS_FATAL doesn't cover that.
1681 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1683 * docs/pwg/advanced-types.xml:
1684 Fix typo and duplicate entry in video formats list.
1686 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1688 * libs/gst/controller/gstinterpolation.c:
1689 Also round to the nearest int when using cubic interpolation.
1691 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1693 * libs/gst/controller/gstinterpolation.c:
1694 When linearly interpolating integer types, round to the nearest int
1695 by adding 0.5. Don't do it for float/double types.
1696 Fixes the failing controller test on my machine, which is somehow
1697 rounding differently than on the buildbots.
1699 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1701 * tools/gst-plot-timeline.py:
1702 Better log parsing (categories can have -). Adjust text vs. lines, so
1703 that they span the same y-range.
1705 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1707 * docs/random/ensonic/audiobaseclasses.txt:
1708 * docs/random/ensonic/dynlink.txt:
1709 * docs/random/ensonic/profiling.txt:
1712 * docs/random/moving-plugins:
1713 Add note to use g_assert type macros.
1715 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1718 * libs/gst/check/Makefile.am:
1719 Add libm check as we use in for plugins.
1721 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1723 * gst/gstbin.c: (gst_bin_continue_func):
1724 Check that the state_cookie hasn't changed since the continue_func
1725 was scheduled. Avoids problems where the state changes back to
1726 something it shouldn't be because it was changed in the meantime.
1728 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1730 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1731 (gst_registry_binary_save_string),
1732 (gst_registry_binary_save_pad_template),
1733 (gst_registry_binary_save_feature),
1734 (gst_registry_binary_save_plugin),
1735 (gst_registry_binary_load_feature),
1736 (gst_registry_binary_load_plugin),
1737 (gst_registry_binary_read_cache):
1738 Fix memory leak. Be less verbose in the log.
1740 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1742 * tests/check/elements/.cvsignore:
1743 Add file to cvsignore as commanded.
1745 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1747 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1748 (mq_dummypad_event), (run_output_order_test):
1749 Use a GStaticMutex to protect all cases where libcheck
1750 fail_if/fail_unless macros might be called from multiple threads
1751 simultaneously to avoid errors like:
1752 "check_pack.c:107: :-1081725400:Bad message type arg"
1754 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1756 * tests/check/pipelines/stress.c: (GST_START_TEST):
1757 Make sure we set the pipeline back to the NULL state before
1758 dropping our final reference.
1760 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1762 * tests/check/elements/tee.c: (GST_START_TEST):
1763 Make the tee stress-test a little less stressful so it doesn't just
1764 time out on slow-machines, and remove a small race when it's starting
1765 up by adding a get_state() call.
1767 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1770 Avoid reading registry twice on startup. Fixes #457322.
1772 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1774 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1775 * pkgconfig/gstreamer-check.pc.in:
1776 Substitute the CFLAGS for libcheck into our .pc file too so that
1777 dependent modules will pick it up properly if libcheck is installed
1778 into some other prefix.
1780 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1783 Revert the pkg-config check for libcheck, since it pulls in the
1784 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1785 a proper solution, either from the check project, or something else.
1787 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1790 Use pkg-config to locate check.
1792 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1799 Add deprecation guards.
1801 * libs/gst/base/gstcollectpads.h:
1802 Don't document object (this is implicitly private).
1804 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1806 * gst/gststructure.c: (gst_structure_parse_value):
1807 When deserialising foo=bar without a type cast, check if it's a
1808 boolean before falling back to a string type, otherwise things like
1809 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1810 because the filtercaps end up having a signed=(string)true field,
1811 which causes problems later when intersection caps.
1813 * tests/check/gst/gststructure.c: (GST_START_TEST):
1814 Add a unit test for this.
1816 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1818 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1820 * libs/gst/controller/Makefile.am:
1821 * libs/gst/controller/gstcontroller.c:
1822 (gst_controlled_property_add_interpolation_control_source),
1823 (gst_controlled_property_new), (gst_controlled_property_free),
1824 (gst_controller_find_controlled_property),
1825 (gst_controller_new_valist), (gst_controller_new_list),
1826 (gst_controller_new), (gst_controller_remove_properties_valist),
1827 (gst_controller_remove_properties_list),
1828 (gst_controller_remove_properties),
1829 (gst_controller_set_property_disabled),
1830 (gst_controller_set_disabled), (gst_controller_set_control_source),
1831 (gst_controller_get_control_source), (gst_controller_get),
1832 (gst_controller_sync_values), (gst_controller_get_value_array),
1833 (_gst_controller_dispose), (gst_controller_get_type),
1834 (gst_controlled_property_set_interpolation_mode),
1835 (gst_controller_set), (gst_controller_set_from_list),
1836 (gst_controller_unset), (gst_controller_unset_all),
1837 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1838 * libs/gst/controller/gstcontroller.h:
1839 * libs/gst/controller/gstcontrollerprivate.h:
1840 * libs/gst/controller/gstcontrolsource.c:
1841 (gst_control_source_class_init), (gst_control_source_init),
1842 (gst_control_source_get_value),
1843 (gst_control_source_get_value_array), (gst_control_source_bind):
1844 * libs/gst/controller/gstcontrolsource.h:
1845 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1846 (gst_object_get_control_source):
1847 * libs/gst/controller/gstinterpolation.c:
1848 (gst_interpolation_control_source_find_control_point_node),
1849 (gst_interpolation_control_source_get_first_value),
1850 (_interpolate_none_get), (interpolate_none_get),
1851 (interpolate_none_get_boolean_value_array),
1852 (interpolate_none_get_enum_value_array),
1853 (interpolate_none_get_string_value_array),
1854 (_interpolate_trigger_get), (interpolate_trigger_get),
1855 (interpolate_trigger_get_boolean_value_array),
1856 (interpolate_trigger_get_enum_value_array),
1857 (interpolate_trigger_get_string_value_array):
1858 * libs/gst/controller/gstinterpolationcontrolsource.c:
1859 (gst_control_point_free), (gst_interpolation_control_source_reset),
1860 (gst_interpolation_control_source_new),
1861 (gst_interpolation_control_source_set_interpolation_mode),
1862 (gst_interpolation_control_source_bind),
1863 (gst_control_point_compare), (gst_control_point_find),
1864 (gst_interpolation_control_source_set_internal),
1865 (gst_interpolation_control_source_set),
1866 (gst_interpolation_control_source_set_from_list),
1867 (gst_interpolation_control_source_unset),
1868 (gst_interpolation_control_source_unset_all),
1869 (gst_interpolation_control_source_get_all),
1870 (gst_interpolation_control_source_get_count),
1871 (gst_interpolation_control_source_init),
1872 (gst_interpolation_control_source_finalize),
1873 (gst_interpolation_control_source_dispose),
1874 (gst_interpolation_control_source_class_init):
1875 * libs/gst/controller/gstinterpolationcontrolsource.h:
1876 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1877 API: Refactor GstController into the core controller which can take
1878 a GstControlSource for providing actual values for timestamps.
1879 Implement a interpolation control source and use this for backward
1880 compatibility, deprecate a bunch of functions that are now handled
1881 by GstControlSource or GstInterpolationControlSource.
1882 Make it possible to disable the controller completely or only for
1883 specific properties. Fixes #450711.
1884 * docs/libs/gstreamer-libs-docs.sgml:
1885 * docs/libs/gstreamer-libs-sections.txt:
1886 * docs/libs/gstreamer-libs.types:
1887 Add new functions and classes to the docs.
1888 * tests/check/libs/controller.c: (GST_START_TEST),
1889 (gst_controller_suite):
1890 * tests/examples/controller/audio-example.c: (main):
1891 Port unit test and example to the new API and add some new
1894 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1896 Patch by: Mark Nauwelaerts <manauw at skynet be>
1898 * plugins/elements/gstmultiqueue.c:
1899 (gst_multi_queue_get_internal_links), (apply_buffer),
1900 (single_queue_overrun_cb), (gst_single_queue_new):
1901 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1902 the pipeline layout can be tracked correctly. Fixes #453732.
1904 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1906 * docs/gst/Makefile.am:
1907 * docs/libs/Makefile.am:
1908 * docs/plugins/Makefile.am:
1909 Simplify --extra-dir as gtkdoc scans recursively.
1911 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1913 * tools/gst-launch.c: (main):
1914 When we got an error, there is no point in waiting for preroll when
1917 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1919 * plugins/elements/gsttee.c: (gst_tee_base_init),
1920 (gst_tee_request_new_pad), (gst_tee_release_pad),
1921 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1922 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1924 Be a lot smarter when deciding what srcpad to use for proxying
1925 the buffer_alloc. Also handle pad added/removed when doing so.
1927 Keep track of what pads we already pushed on in case we have pads
1928 added/removed while pushing. Fixes #374639
1930 * tests/check/Makefile.am:
1931 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1933 Added unit test for pad resync.
1935 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1939 Updated translations.
1941 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1943 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1947 Added new Finnish translation.
1949 2007-06-28 Wim Taymans <wim@fluendo.com>
1951 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1952 (single_queue_overrun_cb):
1953 When figuring out when a queue is filled, use our internal time estimate
1954 based on segments, just like check_full does.
1956 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1958 * gst/gstminiobject.c: (gst_mini_object_get_type):
1959 Remove 3 do-nothing methods.
1961 2007-06-27 Wim Taymans <wim@fluendo.com>
1963 Patch by: Tim Angus <tim at ngus dot net>
1965 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1966 (gst_capsfilter_set_property):
1967 Take a reference instead of a copy when setting "caps".
1968 Fix documentation to clarify this behaviour. Fixes #449414.
1970 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1972 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1973 * gst/gstplugin.c: (gst_plugin_init):
1974 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1975 * gst/gstquery.c: (gst_query_get_type):
1976 * gst/gstregistry.c: (gst_registry_init):
1977 * gst/gsturi.c: (gst_uri_handler_base_init):
1978 Remove empty instance_init() functions to save relocs and lessen the
1979 noise. Remove some of the function prototypes that are doubled by
1982 2007-06-27 Wim Taymans <wim@fluendo.com>
1984 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1986 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1987 Add peer and direction in the XML serialisation of ghostpads.
1990 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1993 Preserve useful information, thanks Tim.
1995 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1997 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1998 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1999 (gst_single_queue_push_one), (gst_multi_queue_loop),
2000 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2001 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2002 (compute_high_id), (gst_single_queue_new):
2003 * plugins/elements/gstmultiqueue.h:
2004 Take the multiqueue lock when updating the fill level so we don't get
2007 After applying a buffer or event on the src pad segment, make sure to
2008 call gst_data_queue_limits_changed() to get the data queue to unblock
2009 and check the filled state again.
2011 Rework the not-linked pad handling so the logic is that not-linked
2012 pads can push as fast as they like, but only so they never get
2013 ahead of any linked pads.
2015 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2016 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2017 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2019 Add a test to check that not-linked pads always stay behind
2024 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2026 * docs/random/release:
2027 Some updates to the release procedure.
2029 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2031 * gst/gstelementfactory.c: (__gst_element_details_clear):
2032 Microoptimization that saves stunning 80 bytes.
2034 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2036 * docs/plugins/gstreamer-plugins.args:
2037 * docs/plugins/inspect/plugin-coreelements.xml:
2038 * docs/plugins/inspect/plugin-coreindexers.xml:
2039 Update docs with caps info.
2041 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2044 Updated Italian translation.
2046 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2050 Update Vietnamese translations.
2052 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2054 * libs/gst/base/gstbasesink.c:
2055 Remove unused signal enum.
2057 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2059 * docs/gst/gstreamer-sections.txt:
2061 * gst/gstutils.c: (gst_type_register_static_full):
2062 Beef up and include the docs for gst_type_register_static_full and
2063 gst_element_class_set_details_simple and add the API keyword
2066 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2068 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2069 (update_time_level), (gst_single_queue_push_one),
2070 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2071 (single_queue_overrun_cb), (single_queue_underrun_cb),
2072 (single_queue_check_full):
2073 Fix setting max-* properties after adding queues.
2074 Use IS_FILLED for checking visible items.
2075 Signal overrun if multiple queues overrun.
2076 Add extra debug output.
2077 Patch by: Wim Taymans <wim@fluendo.com>
2079 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2081 * gst/gstelement.c: (gst_element_class_set_details_simple):
2083 * gst/gstutils.c: (gst_type_register_static_full):
2085 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2086 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2087 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2088 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2089 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2090 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2091 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2092 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2093 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2094 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2095 (apply_buffer), (gst_queue_chain):
2096 * plugins/elements/gsttee.c: (gst_tee_base_init):
2097 * plugins/elements/gsttypefindelement.c:
2098 (gst_type_find_element_base_init),
2099 (gst_type_find_element_class_init):
2100 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2101 API: add gst_type_register_static_full
2102 API: add gst_element_class_set_details_simple
2104 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2106 * docs/pwg/advanced-types.xml:
2107 Fix typo in iana.org URI.
2109 2007-06-19 Andy Wingo <wingo@pobox.com>
2111 * tests/check/pipelines/simple-launch-lines.c
2112 (test_state_change_returns): Enable pull-mode tests now that
2113 basesink has been fixed.
2115 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2116 Changed from gst_base_sink_is_prerolled, reversing the sense of
2117 the return value. Returns FALSE also if the sink is in pull mode,
2118 in which case it needs no preroll.
2119 (gst_base_sink_query, gst_base_sink_change_state): Update for
2120 needs_preroll change.
2121 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2122 chaining up, in which we return SUCCESS directly if we activated
2123 in pull mode instead of ASYNC. Involves countering an async_start
2124 message sent before chaining up; not sure if this is correct, in
2125 an ideal world we only send async-start when activating in push
2128 * tests/check/pipelines/simple-launch-lines.c
2129 (test_state_change_returns): New test, partially disabled until
2132 2007-06-19 Wim Taymans <wim@fluendo.com>
2134 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2135 (gst_multi_queue_sink_event):
2138 2007-06-19 Wim Taymans <wim@fluendo.com>
2140 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2141 (gst_bin_change_state_func), (bin_push_state_continue),
2142 (bin_handle_async_start), (bin_handle_async_done),
2143 (gst_bin_handle_message_func):
2144 Move the common code for posting state-change messages into
2146 Broadcast the state signal after we posted the messages.
2147 Mark the bin as busy when it's doing a state-change.
2148 Make sure async-start/done messages don't interfere with the bin's
2149 state when it's busy.
2150 After the state change, let the bin check which elements completed the
2151 state change while it was busy so that it can update its state.
2153 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2155 * docs/random/release:
2156 Add a note about updating the doap file to the release checklist
2158 2007-06-18 Wim Taymans <wim@fluendo.com>
2160 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2161 (gst_single_queue_push_one), (gst_multi_queue_chain),
2162 (gst_multi_queue_sink_event):
2163 Make sure we don't reference the buffer/event after we have given away
2164 ownership in the queue.
2166 2007-06-18 Wim Taymans <wim@fluendo.com>
2168 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2169 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2170 Update queue state _after_ adding the item in the queue because else we
2171 could end up being full without the element added yet.
2173 2007-06-18 Wim Taymans <wim@fluendo.com>
2175 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2176 (gst_bin_remove_func), (gst_bin_get_state_func),
2177 (gst_bin_element_set_state), (gst_bin_continue_func),
2178 (bin_push_state_continue), (bin_handle_async_start),
2179 (bin_handle_async_done), (gst_bin_handle_message_func):
2181 Immediatly commit the toplevel bin state when receiving an async-done
2182 message. This enables us to avoid spawning a thread to commit the state
2183 in some common cases and it also avoids some races.
2184 Avoid spawning a state thread when adding/removing async elements to a
2185 toplevel bin. Instead we immediatly update the bin state.
2186 Get rid of iterating all the children when getting the state in the bin
2187 because it is now always up-to-date.
2188 Fix bug where locked elements would always return _SUCCESS even it they
2189 returned NO_PREROLL before being locked.
2190 Fix the order of the state_change, async-start/done messages that was
2191 sometimes incorrect.
2192 Mark the state_dirty field as deprecated, we don't need it anymore as we
2193 are always up-to-date.
2195 * gst/gstelement.c: (gst_element_get_state_func),
2196 (gst_element_continue_state):
2197 Small debug inprovements.
2198 Return the previous element state return when nothing is pending instead
2199 of blindly returning SUCCESS.
2201 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2203 Add a whole bunch of new testcases.
2205 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2209 Update translations.
2211 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2214 Fix typo in the docs.
2216 2007-06-15 Wim Taymans <wim@fluendo.com>
2218 * docs/libs/gstreamer-libs-sections.txt:
2219 Add docs for new methods.
2221 2007-06-15 Wim Taymans <wim@fluendo.com>
2223 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2224 (gst_multi_queue_item_new):
2225 Don't use GSlice because we don't depend on >= 2.10 yet.
2227 2007-06-15 Wim Taymans <wim@fluendo.com>
2229 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2230 (update_time_level), (apply_segment), (apply_buffer),
2231 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2232 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2233 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2234 (single_queue_underrun_cb), (single_queue_check_full):
2235 Remove debug printf.
2237 2007-06-15 Wim Taymans <wim@fluendo.com>
2239 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2240 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2241 (gst_data_queue_set_flushing), (gst_data_queue_push),
2242 (gst_data_queue_pop), (gst_data_queue_drop_head),
2243 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2244 * libs/gst/base/gstdataqueue.h:
2246 Added methods to get the current levels and to inform the queue that the
2247 'full' limits changed.
2249 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2250 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2251 (gst_single_queue_flush), (update_time_level), (apply_segment),
2252 (apply_buffer), (gst_single_queue_push_one),
2253 (gst_multi_queue_item_steal_object),
2254 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2255 (gst_multi_queue_loop), (gst_multi_queue_chain),
2256 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2257 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2258 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2259 (single_queue_underrun_cb), (single_queue_check_full),
2260 (gst_single_queue_new):
2261 Keep track of time in the queue by measuring the difference between
2262 running_time on input and output. This gives more accurate results and
2263 can compensate for segments correctly.
2264 Make a queue by default only 5 buffers deep. We will now increase the
2265 buffer size depending on the filledness of the other queues.
2266 Factor out commong flush code.
2267 Make sure we don't add additional refcounts to buffers when we can avoid
2269 Propagate GstFlowReturn differently.
2270 Use GSlice for intermediate GstMultiQueueItems.
2272 Resize queues on over and underruns based on filled level of other
2274 When checking if the queue is filled, prefer to measure in time if we
2275 can and fall back to bytes when no time is known.
2277 * plugins/elements/gstqueue.c:
2280 2007-06-15 Wim Taymans <wim@fluendo.com>
2282 * libs/gst/base/gstbasetransform.c:
2283 (gst_base_transform_sink_event):
2284 Work around the brokenness of the event vmethod in basetransform. Prefer
2285 to return TRUE when the subclass returned FALSE (meaning don't forward
2288 * libs/gst/base/gstbasetransform.h:
2291 2007-06-15 Wim Taymans <wim@fluendo.com>
2293 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2294 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2295 (gst_base_src_default_query), (gst_base_src_get_range),
2296 (gst_base_src_start):
2297 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2300 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2302 * docs/pwg/advanced-types.xml:
2303 Added more formats to caps table.
2305 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2307 * tools/gst-launch.c: (main):
2308 Remove crufy code. GOption does not need this workaround.
2310 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2312 * libs/gst/controller/gstcontroller.c:
2313 (gst_controlled_property_set_interpolation_mode):
2314 Fix wrong getter for enums in controller.
2316 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2318 * libs/gst/check/gstcheck.c: (gst_check_init):
2319 Intercept criticals and warnings in the Gst-Phonon log domain, so
2320 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2323 2007-06-14 Edward Hervey <edward@fluendo.com>
2325 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2326 Since this file doesn't include "gst.h" it will not go through the
2327 macros that disable GST_LOG if debugging was disabled.
2329 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2331 * libs/gst/check/Makefile.am:
2332 * libs/gst/check/gstcheck.h:
2333 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2334 * pkgconfig/gstreamer-check.pc.in:
2335 Ugly 'fix' for the controller unit test on the p5 bot: in
2336 fail_unless_equals_float() check whether the values are 'almost
2337 equal' by allowing a small absolute error, which should be good
2338 enough for our use cases (normal numbers and values close to 0).
2339 Proper fixage left to floating point arithmetic aficionados.
2341 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2343 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2344 (gst_base_sink_render_object), (gst_base_sink_get_position):
2345 Add two breaks thats where missing.
2347 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2349 * docs/libs/gstreamer-libs-sections.txt:
2350 * libs/gst/check/gstcheck.h:
2351 API: add fail_unless_equals_float() and assert_equals_float().
2352 Add documentation for some of the macros.
2354 * tests/check/libs/controller.c: (GST_START_TEST):
2355 Use newly-added asserts.
2357 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2359 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2360 Show the caps change in the log to help spotting the case of not
2361 exactly matching caps.
2363 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2365 * docs/pwg/building-boiler.xml:
2366 Fix typos, spotted by Thijs Vermeir (#447190).
2368 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2370 * docs/plugins/tmpl/.cvsignore:
2371 Ignore file to keep the buildbots happy
2373 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2375 * docs/plugins/Makefile.am:
2376 * docs/plugins/gstreamer-plugins-docs.sgml:
2377 * docs/plugins/gstreamer-plugins-sections.txt:
2378 Pull fdsink into the docs too.
2380 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2382 * libs/gst/controller/gstinterpolation.c:
2383 Actually use the new functions with min/max checks for the trigger and
2384 none interpolation modes for get() and get_value_array() instead of
2387 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2389 * libs/gst/controller/gstcontroller.c:
2390 (gst_controlled_property_free):
2391 Unset the minimum and maximum GValues when freeing the corresponding
2392 GstControllerProperty struct.
2394 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2396 * libs/gst/controller/gstcontroller.c:
2397 (gst_controlled_property_new):
2398 * libs/gst/controller/gstcontrollerprivate.h:
2399 * libs/gst/controller/gstinterpolation.c:
2400 (gst_controlled_property_find_control_point_node),
2401 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2402 (interpolate_none_get_string_value_array),
2403 (interpolate_trigger_get),
2404 (interpolate_trigger_get_enum_value_array),
2405 (interpolate_trigger_get_string_value_array):
2406 Protect against values larger or smaller than the minimum or maximum
2407 allowed value for the property when using values that can be compared.
2409 Optimize trigger interpolator a bit by taking the last requested value
2410 into account instead of always looping through the complete list.
2412 Fix coding style a bit, everywhere else we use "return foo" instead
2415 * tests/check/libs/controller.c: (GST_START_TEST),
2416 (gst_controller_suite):
2417 Add unit test for the protection against too large or too small
2420 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2422 * docs/random/slomo/controller.txt:
2423 Add some thoughts about the future of the controller.
2425 2007-06-08 Wim Taymans <wim@fluendo.com>
2427 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2428 Don't overflow in retimestamping code.
2430 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2432 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2433 Use gst_util_guint64_to_gdouble for conversions.
2434 * win32/common/libgstreamer.def:
2435 Add new exported functions.
2437 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2440 Small docs addition.
2442 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2445 Remove that test line again.
2447 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2450 Test commit mail sending.
2452 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2455 Fix typo and test commit mail sending.
2457 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2459 * tests/examples/controller/audio-example.c:
2460 Improve comment and test commit mail sending.
2462 2007-06-07 Wim Taymans <wim@fluendo.com>
2464 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2465 (gst_bin_remove_func), (gst_bin_element_set_state),
2466 (bin_handle_async_start), (bin_handle_async_done),
2467 (gst_bin_handle_message_func):
2468 Add helper function to find messages.
2469 Generate the async-done messages together with the state change
2471 Small cleanups in handling toplevel bins.
2473 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2475 * libs/gst/base/gstdataqueue.c:
2476 * libs/gst/base/gstdataqueue.h:
2477 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2478 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2479 (gst_multi_queue_sink_event):
2480 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2481 Fix multiqueue leaking buffers and events when downstream or the
2482 queue are flushing. Make refcounting assumptions explicit and
2483 document them (shouldn't break existing code that uses it other than
2484 maybe leak miniobjects, but that already happens anyway). Add unit
2485 test for the most common flushing case. Fixes #423700.
2487 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2489 * libs/gst/controller/gstcontroller.c:
2490 Clarify docs: The get_all, get_value_array(s) functions
2491 don't modify the GObject properties.
2493 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2495 * libs/gst/controller/gstcontroller.c:
2496 (gst_controlled_property_set_interpolation_mode),
2497 (gst_controlled_property_prepend_default),
2498 (gst_controlled_property_new), (gst_controller_set_unlocked),
2499 (gst_controller_set), (gst_controller_set_from_list),
2500 (gst_controller_unset), (gst_controller_unset_all):
2501 * libs/gst/controller/gstcontrollerprivate.h:
2502 * libs/gst/controller/gstinterpolation.c:
2503 Factor out the 'set' logic into gst_controller_set_unlocked for the
2504 gst_controller_set and gst_controller_set_from_list functions.
2506 To make life of the interpolators easier always add a control point
2507 at timestamp zero with the default value.
2509 In the linear interpolator make things more obvious by better variable
2512 Implement cubic interpolation mode (by using a natural cubic spline)
2513 and map the quadratic interpolation mode to this too (as quadratic
2514 doesn't make much sense, see discussion on the list).
2516 * tests/check/libs/controller.c: (GST_START_TEST),
2517 (gst_controller_suite):
2518 Add unit test for the cubic interpolation mode and check everywhere
2519 if the interpolation mode could be set as expected.
2521 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2523 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2524 Don't use GLib-2.10 functions, we still depend on
2525 GLib-how-old-is-it-again-2.8.
2527 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2529 * docs/gst/gstreamer-sections.txt:
2533 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2534 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2535 (_gst_param_fraction_values_cmp),
2536 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2537 * gst/gstparamspecs.h:
2539 * tests/check/Makefile.am:
2540 * tests/check/gst/.cvsignore:
2541 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2542 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2543 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2544 (GST_START_TEST), (gst_param_spec_suite):
2545 API: add GstParamSpecFraction, so elements can have fraction
2546 properties without lots of painful string parsing (#444648).
2548 2007-06-05 Wim Taymans <wim@fluendo.com>
2550 * gst/gstobject.c: (gst_object_class_init):
2551 Fix signal signature.
2554 Add small clarification in the api docs.
2556 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2557 States are protected with object lock.
2559 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2562 I should probably be listed as an author by now.
2564 * docs/random/release:
2565 Update the release doc
2567 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2570 Make docs for gst_value_compare() mention return enums that
2573 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2578 === release 0.10.13 ===
2580 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2583 releasing 0.10.13, "With or without you"
2585 2007-05-25 Wim Taymans <wim@fluendo.com>
2587 * gst/gstbin.c: (bin_handle_async_done):
2588 Make sure that the child bin stops after completing the async state
2589 change so that the parent can continue the state change to PLAYING.
2592 2007-05-25 Wim Taymans <wim@fluendo.com>
2594 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2595 (unref_data), (gst_collect_pads_remove_pad),
2596 (gst_collect_pads_check_pads):
2597 Use additional refcounting to avoid crashes when dynamically adding and
2598 removing pads. Fixes #420206.
2600 2007-05-24 Wim Taymans <wim@fluendo.com>
2602 * tools/gst-launch.c: (event_loop):
2603 When buffering goes from a two digit to a single digit number, make sure
2604 to remove the old second digit by writing a blank over it.
2606 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2608 * libs/gst/base/gstdataqueue.c:
2609 Eliminate tabs and trailing comma in enum list; fix some typos.
2611 2007-05-24 Wim Taymans <wim@fluendo.com>
2613 * tests/check/gst/gstbin.c: (GST_START_TEST):
2614 Allow refcount of 3 and 4 because some state thread might still be busy
2617 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2619 * plugins/elements/Makefile.am:
2620 * plugins/elements/gstmultiqueue.h:
2621 * plugins/elements/gstqueue.h:
2622 These are not installed headers, no need for padding.
2624 2007-05-24 Wim Taymans <wim@fluendo.com>
2626 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2627 (gst_bin_continue_func):
2628 Enable latency for next release.
2629 Restore STATE_LOCK around recalc_state that was left out during the
2630 rewrite and could result in racy behaviour when _get_state and
2631 recalc_state are run concurrently. See #440463.
2633 2007-05-23 Wim Taymans <wim@fluendo.com>
2635 * tests/check/gst/gstsystemclock.c: (store_callback),
2637 Improve test_async_order to also work when both timers are already
2638 expired when we get scheduled to check it.
2640 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2642 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2643 (gst_bin_set_property), (gst_bin_get_property),
2644 (gst_bin_remove_func), (gst_bin_handle_message_func):
2646 'private' is a c++ keyword, let's not use that in header files,
2647 otherwise c++ compilers will throw a tantrum.
2649 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2651 * plugins/elements/gstelements.c:
2652 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2653 (gst_file_sink_get_current_offset):
2654 * plugins/indexers/gstindexers.c: (plugin_init):
2655 Use #ifdef for HAVE_XYZ for consistency.
2657 * tests/check/Makefile.am:
2658 * tests/check/elements/.cvsignore:
2659 * tests/check/elements/filesink.c: (setup_filesink),
2660 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2661 Add some unit tests for filesink.
2663 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2665 Patch by: Mark Nauwelaerts <manauw at skynet be>
2667 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2668 (gst_file_sink_query), (gst_file_sink_do_seek),
2669 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2670 * plugins/elements/gstfilesink.h:
2671 Fix position reporting; rename data_written member to current_pos to
2672 reflect its real meaning (fixes #412648).
2674 2007-05-22 Edward Hervey <edward@fluendo.com>
2676 * docs/gst/gstreamer-sections.txt:
2677 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2678 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2679 (gst_bin_remove_func), (gst_bin_handle_message_func):
2681 Add a property for bins that handle the state change of their childs.
2684 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2686 * libs/gst/controller/gstinterpolation.c:
2687 Use an array of the correct type when using _get_value_array with
2688 linear interpolation.
2690 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2692 * gst/gstelement.c (gst_element_requires_clock,
2693 gst_element_provides_clock, gst_element_request_pad,
2694 gst_element_class_set_details, gst_element_class_set_details_simple,
2695 gst_element_default_send_event, gst_element_abort_state,
2696 gst_element_continue_state, gst_element_set_state,
2697 gst_element_set_state_func, iterator_activate_fold_with_resync):
2698 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2699 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2700 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2701 gst_pad_get_range, gst_pad_pull_range):
2702 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2703 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2704 GstPadActivateModeFunction, GstPadChainFunction,
2705 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2706 GstPadFixateCapsFunction, GstPadTemplate):
2707 * gst/gstpipeline.c (gst_pipeline_change_state,
2708 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2709 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2710 gst_pipeline_get_delay):
2711 Whitespace and docs fixes.
2713 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2715 * libs/gst/controller/gstinterpolation.c:
2716 (interpolate_trigger_get_enum_value_array),
2717 (interpolate_trigger_get_string_value_array):
2718 Add support for retrieving value arrays when using the trigger
2721 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2723 * libs/gst/controller/gstcontroller.c:
2724 (gst_controller_get_value_array):
2725 * libs/gst/controller/gstcontroller.h:
2726 Clarify the docs of gst_controller_get_value_array(): The array where
2727 the values should be written to must be allocated as there seems to be
2728 no way to get the size of a random GType. This doesn't change any
2729 behaviour. Also fix some typos all over the place and remove an unused,
2730 commented function that is not necessary as g_object_set() could be
2732 * tests/check/libs/controller.c: (GST_START_TEST),
2733 (gst_controller_suite):
2734 Add unit test for gst_controller_get_value_array().
2736 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2738 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2740 Disable part of the gst_buffer_try_new_and_alloc test, because
2741 it can happily succeed on 64-bit systems where there's more address
2744 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2746 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2747 Add unit test for the improved caps checking from bug #421543.
2749 2007-05-21 Wim Taymans <wim@fluendo.com>
2751 * docs/design/part-synchronisation.txt:
2754 * gst/gstbin.c: (gst_bin_query):
2755 * plugins/elements/gstqueue.c: (apply_segment):
2761 2007-05-21 Wim Taymans <wim@fluendo.com>
2763 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2764 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2765 (gst_pad_configure_src):
2766 Added simple version of improved caps checking. It was previously
2767 assumed that a setcaps function would check the validity of the caps but
2768 people prefer us to check caps against the template automatically.
2771 2007-05-21 Wim Taymans <wim@fluendo.com>
2773 * libs/gst/base/gstbasetransform.h:
2774 Fix macro for locking/unlocking the transform lock.
2776 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2778 * docs/plugins/tmpl/.cvsignore:
2781 2007-05-18 Edward Hervey <edward@fluendo.com>
2783 * plugins/elements/gstqueue.c: (gst_queue_loop):
2784 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2785 for the subtle art of warning a potentially blocking thread that it
2786 should check the source pad return value, and relay the information
2789 2007-05-18 Edward Hervey <edward@fluendo.com>
2791 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2792 Release the queue lock !
2794 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2796 * docs/libs/gstreamer-libs-sections.txt:
2797 Add the two new controller functions to the appropiate places.
2799 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2801 reviewed by: Stefan Kost <ensonic@users.sf.net>
2803 * libs/gst/controller/gstcontroller.c:
2804 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2805 (_gst_controller_get_property), (_gst_controller_set_property),
2806 (_gst_controller_init), (_gst_controller_class_init):
2807 * libs/gst/controller/gstcontroller.h:
2808 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2809 (gst_object_get_control_rate), (gst_object_set_control_rate):
2810 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2811 Add API that provides sync suggestion timestamps for elements that
2812 call gst_object_sync_values() from which those elements can subdivide
2813 their processing loop to get the best results for the controlled
2814 properties. For now it just suggests last_sync + control_rate as
2815 new timestamp but this will be improved in the future.
2817 While doing that change the control-rate property to a GstClockTime
2818 from guint and change it's meaning from samples to nanoseconds as
2819 the GstController doesn't know anything about sampling rate. Strictly
2820 speaking this breaks ABI but as the control-rate property didn't do
2821 anything in the past and as such couldn't be used this should be no
2824 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2826 reviewed by: Stefan Kost <ensonic@users.sf.net>
2828 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2829 (gst_controller_unset_all):
2830 * libs/gst/controller/gstcontrollerprivate.h:
2831 * libs/gst/controller/gstinterpolation.c:
2832 (gst_controlled_property_find_control_point_node):
2833 Save last synced value from the list to continue searching from there
2834 in future syncs. This speeds everything up a bit.
2836 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2838 reviewed by: Stefan Kost <ensonic@users.sf.net>
2840 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2841 (gst_control_point_find), (gst_controlled_property_new),
2842 (gst_control_point_free), (gst_controlled_property_free),
2843 (gst_controller_set), (gst_controller_set_from_list),
2844 (gst_controller_unset), (gst_controller_unset_all),
2845 (gst_controller_sync_values):
2846 * libs/gst/controller/gstcontroller.h:
2847 * libs/gst/controller/gstcontrollerprivate.h:
2848 * libs/gst/controller/gstinterpolation.c:
2849 (gst_controlled_property_find_control_point_node),
2850 (interpolate_none_get), (interpolate_trigger_get):
2851 Add a new private GstControlPoint struct which "inherits" from
2852 GstTimedValue to allow different interpolators to store internal
2853 values next to each control point. From the outside everything is
2854 still a GstControlPoint so we don't loose binary compatibility.
2855 Also fixup all the GValue handling to not leak GValues or list nodes.
2856 * tests/check/libs/controller.c: (GST_START_TEST):
2857 Free the list nodes and GValues in the controller_misc test.
2859 2007-05-17 Edward Hervey <edward@fluendo.com>
2864 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2866 * gst/gstplugin.c: (gst_plugin_load_file):
2867 If we fail to load a plugin because of unresolved symbols or missing
2868 libraries and spew a warning to stderr, we may just as well mention
2869 which plugin it was that failed to load.
2871 2007-05-13 David Schleef <ds@schleef.org>
2873 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2874 handles the case when ENABLE_GTK_DOC is false, and installs
2875 the prebuilt documentation. So gtk-doc subdirs are
2876 unconditionally enabled. Fixes: #349099.
2878 2007-05-13 David Schleef <ds@schleef.org>
2880 * gst/gstutils.h: Reword some documentation.
2882 2007-05-12 David Schleef <ds@schleef.org>
2884 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2885 do anything with the passed "module" parameter, so remove it.
2886 Allows removal of additional vestigal code.
2888 2007-05-12 David Schleef <ds@schleef.org>
2891 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2892 Switch to using g_stat() because it's more portable.
2894 2007-05-12 David Schleef <ds@schleef.org>
2897 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2898 parsing for embedded systems.
2899 * gst/gstelementfactory.c:
2900 Allow gst_element_register() to be called with plugin==NULL.
2901 Did nobody notice that static elements were broken?
2903 2007-05-12 Wim Taymans <wim@fluendo.com>
2905 * tools/gst-launch.c: (event_loop):
2906 Give more interesting info when buffering starts and stops.
2907 Fix case where buffering starts but we fail to update the buffering flag
2908 because the target state is not PLAYING.
2910 2007-05-12 Wim Taymans <wim@fluendo.com>
2912 * plugins/elements/gstqueue.c: (gst_queue_init),
2913 (gst_queue_finalize), (update_time_level), (apply_segment),
2914 (apply_buffer), (gst_queue_locked_flush),
2915 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2916 (gst_queue_handle_sink_event), (gst_queue_chain),
2917 (gst_queue_push_one), (gst_queue_loop):
2918 * plugins/elements/gstqueue.h:
2919 Refactor an cleanup queue a bit.
2920 Do better time level calculations that also work when the srcpad is not
2922 Remove some unneeded debug lines.
2924 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2925 Added testcase for time level measurement.
2926 Try to make some stuff more racefree.
2928 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2930 * gst/gsturi.c: (gst_element_make_from_uri):
2931 Don't leak plugin feature.
2933 * tests/check/Makefile.am:
2934 * tests/check/gst/.cvsignore:
2935 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2936 Add brain-dead unit test.
2938 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2940 Patch by: Jeroen Wouters <woutersj at gmail com>
2942 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2943 Treat protocol strings in a case-insensitive way (#437563).
2945 2007-05-11 Michael Smith <msmith@fluendo.com>
2947 * gst/gstplugin.c: (gst_plugin_load_file):
2948 * gst/gstregistry.c: (gst_registry_scan_path_level):
2949 Don't print a g_warning for any failure to load a shared object.
2950 Instead, push this down into gstplugin.c, and warn _only_ if we
2951 failed to open the module (i.e. failure to link).
2952 Avoids warnings on normal, working, non-plugin .so files.
2954 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2956 * gst/gstplugin.c (gst_plugin_load_file):
2957 * gst/gstregistry.c (GST_CAT_DEFAULT,
2958 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2959 Print a g_warning if there was an error when loading a plugins during
2960 registry scan. The shuld help beginners starting with gst-plugin
2963 2007-05-10 Wim Taymans <wim@fluendo.com>
2965 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2966 (update_time_level), (gst_queue_locked_flush),
2967 (gst_queue_handle_sink_event), (gst_queue_chain),
2968 (gst_queue_push_one), (gst_queue_loop):
2969 * plugins/elements/gstqueue.h:
2970 Be smarter when calculating the current amount of data in the queue by
2971 measuring the difference between start and end timestamps (in running
2972 time) inside the queue. Fixes #432876.
2973 API: GstQueue::pushing to notify elements that we are pushing data again
2974 since the running signal is rather broken for this purpose.
2976 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2978 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2979 gst_queue_base_init, gst_queue_init):
2982 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2984 * win32/common/libgstreamer.def:
2985 Add new exported functions.
2986 * win32/vs6/grammar.dsp:
2987 Use grammar pre-generated files.
2989 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2991 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2994 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2996 * gst/gstutils.c: (gst_parse_bin_from_description):
2998 Maintain API and ABI when --disable-parse is used. Now that
2999 we have an appropriate error code, we can just return NULL and the
3000 appropriate error when gst_parse_launch() is used despite it having
3001 been disabled (#342564).
3003 * tests/check/Makefile.am:
3004 * tests/check/pipelines/.cvsignore:
3005 * tests/check/pipelines/parse-disabled.c:
3006 Make sure these functions exist and return NULL plus a GError when
3007 --disable-parse is used.
3009 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3011 * tests/benchmarks/complexity.c: (main):
3012 * tests/benchmarks/mass-elements.c: (main):
3013 Set a good example and don't leak messages.
3015 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3017 * docs/gst/Makefile.am:
3018 * docs/libs/Makefile.am:
3019 Correct fixxrefs options.
3021 * docs/plugins/Makefile.am:
3022 * docs/plugins/gstreamer-plugins-docs.sgml:
3023 * docs/plugins/gstreamer-plugins-sections.txt:
3024 * plugins/elements/Makefile.am:
3025 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3026 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3027 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3028 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3029 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3030 _GstCapsFilterClass, trans_class):
3031 * plugins/elements/gstelements.c (name, rank, type, _elements):
3032 * plugins/elements/gstidentity.c
3033 (gst_identity_check_imperfect_timestamp,
3034 gst_identity_check_imperfect_offset):
3035 Document capsfilter and add doc-blurb to identity.
3037 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3039 * libs/gst/controller/gstcontroller.c:
3040 (gst_controlled_property_set_interpolation_mode):
3041 * libs/gst/controller/gstinterpolation.c:
3042 Don't crash if someone tries to set an interpolation mode that
3043 is invalid or that isn't supported yet. Fixes #422295.
3045 * tests/check/libs/controller.c: (GST_START_TEST),
3046 (gst_controller_suite):
3047 Add a test case for the above.
3049 2007-05-03 Edward Hervey <edward@fluendo.com>
3051 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3052 Properly set the last_stop position on GstSegment. This will only happen
3053 if there is a buffer to push out.
3055 2007-05-03 Wim Taymans <wim@fluendo.com>
3057 * libs/gst/base/gstbasetransform.c:
3058 (gst_base_transform_buffer_alloc):
3059 always_in_place does not mean that the sink and source caps are the
3060 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3062 2007-05-03 Wim Taymans <wim@fluendo.com>
3064 * docs/libs/gstreamer-libs-sections.txt:
3065 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3066 (gst_base_src_default_query), (gst_base_src_get_range):
3067 * libs/gst/base/gstbasesrc.h:
3068 API: gst_base_src_query_latency(). Added method so that subclasses can
3069 easily get the latency values of the base source class.
3071 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3073 * tools/gst-inspect.c (print_implementation_info):
3076 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3078 * tools/Makefile.am:
3079 * tools/gst-launch.1.in:
3080 Don't create a customised man page based on the host architecture,
3081 describe the default registry path generically. That way the man
3082 page is the same for all architectures and packagers have one
3083 multilib issue less to deal with. Fixes #434926.
3085 2007-05-02 Wim Taymans <wim@fluendo.com>
3088 Fix documentation as spotted by rg on IRC.
3090 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3093 Improve docs for gst_element_{link,unlink}.
3095 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3097 * docs/design/part-events.txt:
3098 * docs/design/part-overview.txt:
3102 * libs/gst/base/gstbasesink.c:
3103 Typo fixes; minor docs addition.
3105 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3107 * docs/gst/gstreamer-sections.txt:
3108 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3109 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3111 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3112 or src that supports a given URI protocol exists.
3114 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3116 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3117 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3118 Set the location to NULL if "file://" is set as URI. Otherwise
3119 some random previous URI would still be set if "file://" is
3120 set on an already used filesink/filesrc.
3122 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3124 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3125 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3126 Special case the "file://" URI as as this is used by some
3127 applications to test with gst_element_make_from_uri if there's
3128 an element that supports the URI protocol.
3129 Also move the g_path_is_absolute() check for the location part
3130 of the URI to also check this for "file://localhost/bla" URIs.
3132 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3134 * docs/gst/gstreamer-sections.txt:
3135 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3137 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3139 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3141 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3143 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3144 (gst_registry_binary_load_pad_template),
3145 (gst_registry_binary_load_plugin),
3146 (gst_registry_binary_read_cache):
3147 * gst/gstregistrybinary.h:
3148 Implement no-mmap alternative for registry reading. Do code cleanups.
3149 Add more comments about avoiding strdups for all text data. Comments
3152 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3154 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3155 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3156 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3157 Comment structs and reformat to fix the build (that stuff should go
3158 into a priv. header).
3160 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3162 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3163 (gst_registry_binary_load_feature):
3164 * gst/gstregistrybinary.h:
3165 Refactor so that we can implement multiple features. Add support for
3166 TypeFindFactory features.
3168 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3170 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3173 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3175 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3177 * gst/gstbin.c: (gst_bin_element_set_state),
3178 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3179 (bin_handle_async_done), (gst_bin_handle_message_func):
3180 Fix build with --gst-disable-gst-debug
3182 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3184 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3185 Make sure streaming has finished before calling the ::stop() vfunc,
3186 since that vfunc might clear state which is being used in the
3187 streaming thread. This fixes a race that caused crashes in
3188 audioresample when shutting down a pipeline (#420106).
3190 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3192 * docs/gst/gstreamer-sections.txt:
3193 That was one byte missing.
3195 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3198 * docs/gst/gstreamer-sections.txt:
3200 * gst/gstconfig.h.in:
3201 * gst/gstobject.c: (gst_object_class_init),
3202 (gst_signal_object_class_init):
3204 2nd attempt to have a xml-less build as a joined effort of #413123
3207 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3209 * docs/design/draft-tagreading.txt:
3210 Added open issues/thoughts to draft.
3212 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3214 * gst/parse/grammar.tab.pre.c:
3215 * gst/parse/grammar.tab.pre.h:
3216 * gst/parse/lex._gst_parse_yy.pre.c:
3217 Update the prebuild parser sources.
3219 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3221 * gst/parse/Makefile.am:
3222 And now fix the building of the flex sources. Now everything should
3225 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3227 * gst/parse/Makefile.am:
3228 Now hopefully fix the build failures by setting proper rule
3229 dependencies and moving instead of copying.
3231 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3233 * tests/benchmarks/complexity.gnuplot:
3234 * tests/benchmarks/complexity.scm:
3235 * tests/benchmarks/mass-elements.gnuplot:
3236 * tests/benchmarks/mass-elements.scm:
3237 Total licensification.
3239 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3241 * gst/parse/Makefile.am:
3242 Fix the build by correcting the rule that gave wrong files to flex.
3244 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3246 * tests/benchmarks/complexity.c:
3247 * tests/benchmarks/mass-elements.c:
3248 Change licence to LGPL as granted by Benjamin and Andy.
3250 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3252 * gst/parse/Makefile.am:
3253 Add correct grammar.tab.h dependency if compiling without new enough
3254 flex. Fixes #431150.
3256 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3258 * gst/parse/Makefile.am:
3259 Fix typo and use outdated sources if the flex/bison sources are newer
3260 than the pregenerated ones but flex is too old. Print a warning in
3261 that case. This should fix the build on the build bot.
3263 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3265 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3266 * gst/parse/Makefile.am:
3267 * gst/parse/grammar.y:
3268 * gst/parse/parse.l:
3269 Make the parser reentrant and recursively callable. This requires flex
3270 >= 2.5.31, for older versions pregenerated sources are used as we
3271 can't bump the build dependency. Finally fixes #349180.
3273 * gst/gstparse.c: (gst_parse_launch):
3274 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3277 * docs/gst/Makefile.am:
3278 * docs/gst/Makefile.am:
3279 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3280 (__gst_parse_strfree), (__gst_parse_link_new),
3281 (__gst_parse_link_free), (__gst_parse_chain_new),
3282 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3283 (gst_parse_element_set), (gst_parse_free_link),
3284 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3285 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3286 (_gst_parse_launch):
3287 * gst/parse/grammar.tab.pre.h:
3288 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3289 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3290 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3291 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3292 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3293 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3294 (_gst_parse_yypop_buffer_state),
3295 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3296 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3297 (yy_fatal_error), (_gst_parse_yyget_extra),
3298 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3299 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3300 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3301 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3302 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3303 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3304 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3305 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3306 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3307 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3308 (_gst_parse_yyfree):
3309 If the installed flex version is too old use pre-generated parser
3310 sources. These pre-generated parser sources are always updated when
3311 the actual flex/bison sources change but require everybody who wants
3312 to change something in the parser to have flex >= 2.5.31 installed.
3314 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3316 * common/m4/gst-gettext.m4:
3317 * gst/gst-i18n-lib.h:
3318 Make --disable-nls to work
3320 2007-04-17 Wim Taymans <wim@fluendo.com>
3322 * gst/gstconfig.h.in:
3323 Revert previous change that broke the build.
3325 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3329 * gst/gstconfig.h.in:
3330 Drop libxml2 dependency when building with
3331 --enable-binary-registry --disable-loadsave
3333 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3335 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3336 (gst_registry_binary_read_cache):
3337 * gst/gstregistrybinary.h:
3338 Remove unnecessary <sys/mman.h> include which broke the win32 build
3339 with MingW; move includes from header file to .c file, even if the
3340 header file isn't installed; use g_strerror() where UTF-8 strings
3341 are expected, such as in GST_DEBUG messages.
3343 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3345 * docs/libs/gstreamer-libs-sections.txt:
3346 Remove bogus addition for API I didn't end up keeping.
3348 * libs/gst/base/gstbasesrc.h:
3349 Mention Since: 0.10.13 in the documentation.
3351 Add the API keyword to the previous ChangeLog entry.
3353 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3355 * docs/libs/gstreamer-libs-sections.txt:
3356 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3357 (gst_base_src_default_prepare_seek_segment),
3358 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3359 * libs/gst/base/gstbasesrc.h:
3360 Allow basesrc derived classes to execute seeks in other formats
3361 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3362 to prepare the GstSegment in any format that their perform_seek method
3363 will be able to understand. The default implementation provides the
3364 old behaviour of attempting to convert the seek offsets to the
3365 configured native format.
3367 API: basesrc::prepare_seek_segment vmethod.
3369 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3371 * gst/gstelement.c: (gst_element_get_state_func):
3372 Don't output the same debug statement twice.
3374 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3375 (gst_adapter_peek), (gst_adapter_take_buffer):
3376 Optimise the case where we have buffers at the head of the queue that
3377 can be joined quickly (because they're contiguous sub-buffers) by
3378 merging them together rather than copying data out into new memory.
3380 * gst/parse/grammar.y:
3381 * tests/check/pipelines/parse-launch.c:
3382 Fix a leak in an error path for parse_launch, and add a check
3383 for it to the testsuite.
3385 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3387 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3388 Don't deadlock when releasing a pad - gst_pad_set_active may try
3389 and take the multiqueue lock too.
3391 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3393 * gst/gsterror.c: (_gst_core_errors_init):
3395 API: add GST_CORE_ERROR_DISABLED (#392804).
3397 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3399 * docs/faq/gst-uninstalled:
3400 don't get empty paths on the PATH variables
3401 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3402 Don't format for the uncommon terminal width of 84 characters.
3404 2007-04-06 Wim Taymans <wim@fluendo.com>
3406 * gst/gstpipeline.c: (reset_stream_time),
3407 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3408 Only try to select a different pipeline clock when we went back to
3409 PAUSED and not when we merely got flushed.
3411 2007-04-05 Michael Smith <msmith@fluendo.com>
3413 * tools/gst-launch.1.in:
3414 fractions are better supported in gstreamer than ractions, so
3415 suggest using those.
3417 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3419 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3423 Added Danish translation.
3425 2007-04-05 Wim Taymans <wim@fluendo.com>
3427 * libs/gst/base/gstbasesink.c:
3428 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3429 Fix leak caused when refusing newsegment after EOS.
3431 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3432 (gst_fake_sink_init), (gst_fake_sink_set_property),
3433 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3434 (gst_fake_sink_render), (gst_fake_sink_change_state):
3435 * plugins/elements/gstfakesink.h:
3436 Add num-buffers property to make the element generate EOS after a
3437 configurable amount of buffers.
3438 API: fakesink::num-buffers property.
3440 * tests/check/elements/fakesink.c: (GST_START_TEST),
3442 Fix GstBus leak in test.
3443 Test for fakesink num-buffers.
3445 2007-04-05 Wim Taymans <wim@fluendo.com>
3447 * libs/gst/base/gstbasesink.c:
3448 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3449 (gst_base_sink_change_state):
3450 Don't accept anything after an EOS, return UNEXPECTED instead.
3452 * tests/check/elements/fakesink.c: (GST_START_TEST),
3454 Unit test for new EOS behaviour.
3456 2007-04-05 Wim Taymans <wim@fluendo.com>
3458 * gst/gstelement.c: (gst_element_get_request_pad):
3459 Make padtemplates also work when they don't contain %s or %d.
3461 2007-04-05 Wim Taymans <wim@fluendo.com>
3463 * docs/gst/gstreamer-sections.txt:
3464 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3465 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3467 Improve _adjust_unlocked() so that it overflows less.
3468 Add gst_clock_unadjust_unlocked to convert from external time to
3469 internal time based on calibration.
3470 Add some more debug.
3471 API: GstClock::gst_clock_unadjust_unlocked()
3473 2007-04-03 Wim Taymans <wim@fluendo.com>
3475 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3477 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3478 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3479 when releasing sink pad. Fixes #425400.
3481 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3483 * docs/random/ensonic/dynlink.txt:
3484 More work on proposal for new core api.
3486 * docs/libs/gstreamer-libs-sections.txt:
3487 * libs/gst/base/gstbasetransform.h:
3488 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3490 * libs/gst/controller/gstcontroller.c:
3491 (on_object_controlled_property_changed),
3492 (gst_controller_sync_values),
3493 (gst_controller_set_interpolation_mode):
3494 * libs/gst/controller/gstcontroller.h:
3495 Less verbose logging add docs for unimplemented parts and correctly
3496 return when using unavailable parts.
3498 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3500 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3501 Move all the debug to the CLOCK category, and associate it with
3504 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3506 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3507 Make take_buffer a bit quicker by removing redundant checks
3508 caused by calling gst_adapter_take.
3510 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3512 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3515 * tests/check/Makefile.am:
3516 * tests/check/elements/.cvsignore:
3517 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3518 (GST_START_TEST), (multiqueue_suite):
3519 Add some dead simple unit tests for the 'multiqueue' element
3520 (some bits don't work yet and are disabled for now).
3522 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3524 * gst/gstelement.c: (gst_element_get_request_pad),
3525 (gst_element_class_get_request_pad_template):
3526 Make gst_element_get_request_pad() create request pads only for
3527 request pad templates and not for, say, sometimes pad templates.
3529 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3531 * docs/design/draft-klass.txt:
3532 Add example that needs more thinking.
3534 * docs/design/draft-missing-plugins.txt:
3535 More thoughts about wrapper plugins.
3537 * docs/random/ensonic/embedded.txt:
3538 * docs/random/ensonic/profiling.txt:
3541 2007-03-25 Wim Taymans <wim@fluendo.com>
3543 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3544 (gst_base_src_loop):
3545 Only push the segment events in the PLAYING state for live sources.
3547 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3549 * gst/gstpipeline.c: (gst_pipeline_change_state):
3550 Modify the clock distribution path in PAUSED->PLAYING so that we
3551 never attempt to choose a new clock unless we're actually leaving
3552 the PAUSED state for the first time. This prevents choosing a
3553 different clock when the state_change gets called for a 2nd time due
3554 to some element doing an async state change.
3556 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3558 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3559 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3560 (gst_pad_chain_unchecked), (gst_pad_push):
3561 Revert last commit. This needs some more thoughts.
3563 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3565 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3566 (gst_pad_chain_unchecked), (gst_pad_push):
3567 Check in set_caps if the caps are compatible with the pad and remove
3568 two functions that are redundant now. Fixes #421543.
3570 2007-03-22 Wim Taymans <wim@fluendo.com>
3572 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3573 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3574 Unref some more to make valgrind happy.
3576 2007-03-22 Wim Taymans <wim@fluendo.com>
3578 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3579 (gst_system_clock_id_wait_jitter),
3580 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3581 Fix anoying regression that survived a few releases. When adding an
3582 async entry while blocking on a sync entry, the sync entry will unblock
3583 but still be busy, so it should continue to wait instead of returning
3585 Add some comments here and there.
3587 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3588 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3589 Add testcase for this.
3591 2007-03-22 Wim Taymans <wim@fluendo.com>
3593 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3594 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3595 WRONG_STATE and can silently pause the task. All other cases should
3598 2007-03-22 Wim Taymans <wim@fluendo.com>
3600 Patch by: Ville Syrjala <syrjala at sci dot fi>
3602 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3603 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3606 2007-03-21 Michael Smith <msmith@fluendo.com>
3608 * docs/pwg/advanced-types.xml:
3609 Fix some errors in the typefinding docs pointed out on irc.
3611 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3613 * libs/gst/base/gstbasesrc.c:
3614 Clarify FIXME comment in the face of having added unlock_stop()
3616 2007-03-21 Wim Taymans <wim@fluendo.com>
3618 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3619 Prepare for release where we warn against possible app breakage in the
3620 case of live pipelines along with an env var to enable/disable live
3621 preroll mode (GST_COMPAT=[no-]live-preroll).
3623 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3625 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3626 So we should use correct constants for checking for None offset.
3628 2007-03-20 Wim Taymans <wim@fluendo.com>
3630 * docs/design/part-block.txt:
3631 Mention the fact that the newly switched element should be set to at
3634 2007-03-20 Wim Taymans <wim@fluendo.com>
3637 Fix compilation with registry disabled as spotted by Saur.
3639 2007-03-20 Wim Taymans <wim@fluendo.com>
3641 Patch by: Olivier Crete <tester at tester dot ca>
3643 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3644 Look at the pending state too when syncing the element state to the
3645 parent. Fixes #420133.
3647 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3649 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3650 (gst_base_sink_change_state):
3651 * libs/gst/base/gstbasesink.h:
3652 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3653 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3654 (gst_base_src_deactivate):
3655 * libs/gst/base/gstbasesrc.h:
3656 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3657 for sub-classes to correctly clear any state they set trying to
3658 unlock, such as clearing out unlock commands from a command fd.
3659 API: basesrc::unlock_stop
3660 API: basesink::unlock_stop
3662 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3663 (gst_fd_sink_render), (gst_fd_sink_unlock),
3664 (gst_fd_sink_unlock_stop):
3665 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3666 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3667 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3669 Implement unlock_stop in fdsrc and fdsink.
3670 Implement seeking in fdsrc when a seekable fd is passed, as in
3671 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3673 2007-03-19 Wim Taymans <wim@fluendo.com>
3675 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3677 * gst/gstelement.c: (gst_element_class_init):
3678 Fix pad-added and pad-removed signal signatures so that the pad type is
3679 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3681 2007-03-19 Wim Taymans <wim@fluendo.com>
3683 * docs/gst/gstreamer-sections.txt:
3684 Add new element field and method.
3686 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3687 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3688 (gst_bin_recalc_state), (gst_bin_get_state_func),
3689 (gst_bin_element_set_state), (gst_bin_change_state_func),
3690 (gst_bin_continue_func), (bin_bus_handler),
3691 (bin_push_state_continue), (bin_handle_async_start),
3692 (bin_handle_async_done), (gst_bin_handle_message_func):
3693 Make async state changes a bit smarter by using new ASYNC_START and
3694 ASYNC_DONE messages. This reduces the number of times we run the state
3695 recalculation thread.
3696 Don't change state of element with a pending ASYNC_START message.
3697 Deprecate STATE_DIRTY messages.
3699 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3700 (gst_element_get_state_func), (gst_element_continue_state),
3701 (gst_element_lost_state), (gst_element_set_state_func),
3702 (gst_element_change_state):
3704 Keep the state that was last set by the app in a new element field.
3705 Don't allow state changes when handling an element event.
3706 Post ASYNC_START and ASYNC_DONE messages.
3707 Change lost_state so that we go to PAUSED and wait for the parent to set
3708 us to PLAYING again (so latency calculation can be performed)
3709 Export gst_element_change_state() method so that subclasses can use it.
3710 API: gst_element_change_state()
3711 API: GST_STATE_TARGET
3713 * gst/gstpipeline.c: (gst_pipeline_class_init),
3714 (reset_stream_time), (gst_pipeline_change_state),
3715 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3716 Using the new ASYNC_START message we can reset the base_time when
3717 needed. This can then be used to implement base_time redistribution in
3718 flushing seeks so that we can remove the explicit seek handling.
3719 Perform latency query and configuration when going to PLAYING.
3721 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3722 (gst_base_sink_query), (gst_base_sink_change_state):
3723 Post new ASYNC_START/ASYNC_DONE messages.
3725 * tests/check/generic/sinks.c: (GST_START_TEST):
3726 Fix test because the bin will not set the async element to PLAYING right
3729 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3730 Make the message check a little stronger.
3731 Handle ASYNC messages.
3733 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3734 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3735 Expect ASYNC_DONE messages.
3737 2007-03-19 Wim Taymans <wim@fluendo.com>
3739 * docs/gst/gstreamer-sections.txt:
3740 * gst/gstmessage.c: (gst_message_new_async_start),
3741 (gst_message_new_async_done), (gst_message_parse_info),
3742 (gst_message_parse_async_start):
3744 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3747 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3749 * tools/gst-inspect.c:
3750 (print_plugin_automatic_install_info_codecs):
3751 Now that we don't check for the 'Codec' keyword any longer in the
3752 klass, we shouldn't spew a warning if the klass isn't a decoder or
3753 encoder (since it might be a Source/Network, for example).
3755 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3757 * tools/gst-inspect.c:
3758 (print_plugin_automatic_install_info_codecs):
3759 Don't require decoder/demuxer/depayloader elements or
3760 encoder/muxer/paylader elements to have 'Codec' as part of their
3761 factory class string when introspecting a plugin's capabilities.
3762 draft-klass.txt mentions that it might be removed in future, and
3763 flump3dec doesn't have it as part of its class string, so chances
3764 are others might also not have it.
3766 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3788 Update translations from translation project
3790 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3792 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3793 (gst_child_proxy_set_property):
3794 Invert precondition check to be alike the ones in the mimiced gobject
3797 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3799 * docs/design/draft-tagreading.txt:
3800 * docs/random/ensonic/audiobaseclasses.txt:
3801 Do some Architect work.
3803 * gst/gstobject.c: (gst_object_set_name):
3807 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3809 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3811 * gst/gstsystemclock.c: (gst_system_clock_init),
3812 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3813 Defer starting the async system clock thread until the first async
3814 wait is scheduled. Fixes #414986.
3816 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3818 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3819 (gst_single_queue_free):
3820 Fix small leak (free GstSingleQueue structure too, not only contents).
3822 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3824 * gst/gstbin.c:(gst_bin_add):
3825 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3826 * win32/common/libgstbase.def:
3827 * win32/common/libgstreamer.def:
3828 Add new exported functions.
3830 2007-03-09 Wim Taymans <wim@fluendo.com>
3832 * docs/plugins/gstreamer-plugins-sections.txt:
3835 2007-03-09 Wim Taymans <wim@fluendo.com>
3837 * docs/gst/gstreamer-sections.txt:
3838 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3840 Add metadata copy functions. Fixes #393099.
3841 API: gst_buffer_copy_metadata()
3843 * gst/gstutils.c: (gst_buffer_stamp):
3844 * libs/gst/base/gstbasetransform.c:
3845 (gst_base_transform_prepare_output_buffer):
3846 Use new metadata copy functions.
3848 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3850 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3851 (gst_identity_init), (gst_identity_check_perfect),
3852 (gst_identity_check_imperfect_timestamp),
3853 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3854 (gst_identity_set_property), (gst_identity_get_property):
3855 * plugins/elements/gstidentity.h:
3856 Separate out check-imperfect-timestamp and check-imperfect-offset.
3857 Put back check-perfect as it was to keep compatibility.
3859 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3861 * gst/gstelement.c: (gst_element_dispose):
3862 There's no need to warn if VOID_PENDING is not NONE here, as
3863 long as the state is NULL it's ok, and that's checked immediately
3866 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3868 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3869 Fix check for perfect stream to ignore buffers with -1
3870 offsets/offset ends when checking data contiguity.
3872 2007-03-08 Wim Taymans <wim@fluendo.com>
3874 * tools/gst-launch.c: (event_loop):
3875 Print INFO messages.
3877 2007-03-08 Wim Taymans <wim@fluendo.com>
3879 * libs/gst/base/gstbasetransform.c:
3880 (gst_base_transform_sink_eventfunc),
3881 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3882 (gst_base_transform_activate):
3883 * libs/gst/base/gstbasetransform.h:
3884 Add support for dropping buffers with custom GstFlowReturn.
3885 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3886 buffers or dropped buffers.
3888 * docs/libs/gstreamer-libs-sections.txt:
3889 docs for new custom return code.
3891 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3892 Use drop support in base class to implement drop-probability.
3894 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3896 * gst/gst.c: (load_plugin_func):
3897 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3898 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3899 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3900 Remove newlines at end of debug log strings.
3902 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3904 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3905 Only post bus message at max, once per buffer received.
3907 2007-03-07 Wim Taymans <wim@fluendo.com>
3909 * docs/design/Makefile.am:
3910 * docs/design/part-synchronisation.txt:
3911 Add doc about synchronisation
3913 * docs/design/draft-latency.txt:
3914 * docs/design/part-TODO.txt:
3915 * docs/design/part-clocks.txt:
3916 * docs/design/part-events.txt:
3917 * docs/design/part-gstbus.txt:
3918 * docs/design/part-gstpipeline.txt:
3919 * docs/design/part-live-source.txt:
3920 * docs/design/part-messages.txt:
3921 * docs/design/part-overview.txt:
3922 * docs/design/part-streams.txt:
3923 * docs/design/part-trickmodes.txt:
3924 Documentation updates.
3926 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3929 Update the doap file.
3931 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3933 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3934 Rename non-perfect to imperfect for Mike and for the sanctity of the
3936 Also make sure bus message gets emitted for data-incontiguities.
3938 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3940 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3941 (gst_identity_start):
3942 * plugins/elements/gstidentity.h:
3943 Emit bus message if check-perfect is true and we encounter a
3944 non-perfect stream between 2 consecutive buffers.
3947 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3952 === release 0.10.12 ===
3954 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3957 releasing 0.10.12, "Inevitable Demise"
3959 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3962 Version 0.10.11.2 (0.10.12 pre-release)
3963 Bump libtool versioning.
3965 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3967 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3968 Log flow-names and not numbers.
3970 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3973 Convert to new AG_GST style.
3975 2007-02-28 Wim Taymans <wim@fluendo.com>
3977 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3978 Don't unref query twice.
3980 2007-02-28 Wim Taymans <wim@fluendo.com>
3982 * gst/gstvalue.c: (gst_value_transform_object_string),
3983 (_gst_value_initialize):
3984 Implement GstObject -> string transform so we print object names
3985 when serializing GValues containing GstObjects.
3987 2007-02-28 Wim Taymans <wim@fluendo.com>
3989 * docs/gst/gstreamer-sections.txt:
3990 Add new stuff to docs.
3992 2007-02-28 Wim Taymans <wim@fluendo.com>
3994 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3995 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3996 (gst_base_sink_change_state):
3997 Improve latency query code.
3998 Don't leak latency events.
4000 * tests/check/gst/gstbin.c: (GST_START_TEST):
4003 2007-02-28 Wim Taymans <wim@fluendo.com>
4005 * gst/gstelement.c: (gst_element_message_full),
4006 (gst_element_get_state_func):
4008 Improve docs a little. Added Since: for new macro.
4010 * gst/gstobject.c: (gst_object_sink):
4011 * gst/gstpipeline.c: (gst_pipeline_change_state),
4012 (gst_pipeline_set_new_stream_time):
4013 * gst/gstpipeline.h:
4014 Improve debugging and docs.
4016 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4019 2007-02-28 Wim Taymans <wim@fluendo.com>
4021 * gst/gstelement.c: (gst_element_message_full),
4022 (gst_element_set_locked_state), (gst_element_get_state_func),
4023 (gst_element_change_state):
4024 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4025 Documentation updates.
4026 Small code cleanups.
4028 * gst/gstmessage.c: (gst_message_new_info),
4029 (gst_message_parse_info):
4031 API: gst_message_new_info()
4032 API: gst_message_parse_info()
4033 Add INFO message create and parse code.
4035 2007-02-28 Wim Taymans <wim@fluendo.com>
4037 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4038 (bin_query_latency_done):
4039 Also report the live parameter of a latency query.
4041 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4043 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4044 Copy the current generic/states example from -base and adapt so
4045 we can use the exact same code everywhere.
4046 Check a STATES_IGNORE_ELEMENTS env var which can be used
4047 to ignore certain element factories for this test, which is
4048 what is being done in -base
4049 * tests/check/Makefile.am:
4050 Mention this environment variable.
4052 2007-02-27 Wim Taymans <wim@fluendo.com>
4054 * docs/gst/gstreamer-sections.txt:
4055 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4056 (gst_bus_timed_pop), (gst_bus_pop):
4058 API: gst_bus_timed_pop()
4059 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4060 message to arrive on the bus.
4062 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4064 Two unit tests for new _timed_pop() function.
4066 2007-02-23 Wim Taymans <wim@fluendo.com>
4068 * gst/gstpipeline.c: (gst_pipeline_change_state),
4069 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4070 Don't ref a NULL clock in _provide_clock_func().
4071 Don't allow an INVALID delay.
4072 Don't try to calculate base_time with an invalid start_time.
4073 Also distribute and notify a NULL clock when it was selected.
4075 * tools/gst-launch.c: (event_loop):
4076 Don't crash when a NULL clock was selected in the pipeline.
4078 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4080 * docs/design/Makefile.am:
4081 * docs/design/draft-missing-plugins.txt:
4082 * docs/random/draft-missing-plugins.txt:
4083 Some small updates: update plugin system identifier prefix
4084 ('gstreamer.net' to 'gstreamer'), mention our new install
4085 API in libgstbaseutils rather than libgimme-codec, add
4086 reference to the online docs.
4088 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4090 * win32/common/config.h:
4091 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4092 use moap cl ci to only check in what is mentioned in the ChangeLog.
4094 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4096 * docs/gst/gstreamer-sections.txt:
4098 Fix up documentation to link to the correct GstGError section.
4099 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4101 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4103 * tools/gst-launch.c: (event_loop):
4104 Make sure that we actually show the important message part of a
4106 No need to check if the gerror is not NULL to free; first of all
4107 g_free accepts NULL; and second the default error handler would
4108 segfault if gerror was NULL.
4110 2007-02-21 Wim Taymans <wim@fluendo.com>
4112 * docs/gst/gstreamer-sections.txt:
4113 Removed docs as well.
4115 2007-02-21 Wim Taymans <wim@fluendo.com>
4117 * gst/gstmessage.c: (gst_message_parse_duration):
4119 Remove new messages for release.
4121 2007-02-20 Wim Taymans <wim@fluendo.com>
4123 * docs/design/part-gstghostpad.txt:
4124 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4125 (gst_ghost_pad_new_full):
4126 Make the ghostpad a parent of the internal pad again for better backward
4127 compatibility. Don't write code that relies on this however.
4129 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4130 (gst_pad_link_check_hierarchy):
4131 Require that parents should be GstElements in the hierarchy check.
4133 2007-02-20 Wim Taymans <wim@fluendo.com>
4135 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4136 (gst_bin_change_state_func), (bin_query_min_max_init),
4137 (bin_query_latency_fold), (bin_query_latency_done),
4140 Implement latency query.
4142 2007-02-20 Wim Taymans <wim@fluendo.com>
4144 * docs/design/part-gstghostpad.txt:
4145 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4146 (gst_ghost_pad_internal_do_activate_push),
4147 (gst_ghost_pad_internal_do_activate_pull),
4148 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4149 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4150 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4151 Do not set the internal pad as a parent anymore so we can avoid
4152 hierarchy linking errors when the ghostpad has no parent yet. This also
4153 fixes failed activation because of unlinked internal pads, which in
4154 turn fixes the impossible case where you have to activate a pad before
4155 you can add it to a running element.
4158 * gst/gstpad.c: (pre_activate), (post_activate),
4159 (gst_pad_set_active), (gst_pad_activate_pull),
4160 (gst_pad_activate_push), (gst_pad_check_pull_range):
4161 Add some more debug info.
4162 Mark activation mode in pre_activate so that we don't try to activate in
4163 endless loops. Fixes #385084.
4165 2007-02-19 Wim Taymans <wim@fluendo.com>
4167 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4168 (gst_base_transform_check_get_range):
4169 Implement a checkgetrange function instead of relying on the default
4170 core behaviour that assumes we can operate in pull mode if we have a
4171 getrange function. First step at fixing #385084.
4173 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4175 * gst/gstchildproxy.h:
4176 * libs/gst/base/gstbasesink.h:
4177 * libs/gst/base/gstbasesrc.h:
4178 * libs/gst/base/gstbasetransform.h:
4179 More docs coverage and some ChangeLog surgery (add missing names)
4181 2007-02-15 Wim Taymans <wim@fluendo.com>
4183 * docs/design/part-TODO.txt:
4184 * docs/design/part-activation.txt:
4185 * docs/design/part-block.txt:
4186 * docs/design/part-buffering.txt:
4187 * docs/design/part-clocks.txt:
4188 * docs/design/part-element-source.txt:
4189 * docs/design/part-events.txt:
4190 * docs/design/part-gstbin.txt:
4191 * docs/design/part-gstbus.txt:
4192 * docs/design/part-gstpipeline.txt:
4193 * docs/design/part-live-source.txt:
4194 * docs/design/part-messages.txt:
4195 * docs/design/part-overview.txt:
4196 * docs/design/part-qos.txt:
4197 * docs/design/part-query.txt:
4198 * docs/design/part-states.txt:
4199 * docs/design/part-trickmodes.txt:
4200 Some doc updates. Start renaming from stream_time to running_time where
4201 it was used wrongly.
4203 2007-02-15 Wim Taymans <wim@fluendo.com>
4205 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4206 Answer LATENCY query.
4208 2007-02-15 Wim Taymans <wim@fluendo.com>
4210 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4214 2007-02-15 Wim Taymans <wim@fluendo.com>
4216 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4217 (gst_pad_dispatcher):
4218 Improve debugging of default pad dispatcher and query functions.
4220 2007-02-15 Wim Taymans <wim@fluendo.com>
4222 * docs/gst/gstreamer-sections.txt:
4223 Remove old unused method.
4225 2007-02-13 Wim Taymans <wim@fluendo.com>
4227 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4230 2007-02-13 Wim Taymans <wim@fluendo.com>
4232 * docs/design/part-seeking.txt:
4235 * gst/gstsegment.c: (gst_segment_set_seek):
4236 Revert old bogus change that should make seeking work again.
4238 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4240 * docs/random/ensonic/dynlink.txt:
4241 * docs/random/ensonic/interfaces.txt:
4242 * docs/random/ensonic/receipies.txt:
4243 Possible dynamic reconnection api, plus some type fixes the other two
4246 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4248 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4249 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4250 Also check for an absolute path following file:// in the filesrc
4251 element. Remove redundant check and call g_path_is_absolute() on the
4254 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4256 * docs/design/draft-klass.txt:
4257 Add existing category analysis.
4260 Fix doc example, framerate is a fraction.
4262 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4265 * docs/gst/Makefile.am:
4266 * docs/gst/gstreamer-sections.txt:
4267 * docs/libs/Makefile.am:
4268 Erm, forgot a bunch of --extra-dir.
4270 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4273 * docs/gst/Makefile.am:
4274 * docs/libs/Makefile.am:
4275 * docs/plugins/Makefile.am:
4276 Add crossreferences to glib/gobject docs.
4278 2007-02-12 Wim Taymans <wim@fluendo.com>
4280 * docs/design/draft-latency.txt:
4283 * docs/libs/gstreamer-libs-sections.txt:
4284 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4285 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4286 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4287 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4288 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4289 (gst_base_sink_get_position), (gst_base_sink_query),
4290 (gst_base_sink_change_state):
4291 * libs/gst/base/gstbasesink.h:
4292 API: gst_base_sink_query_latency() to let subclasses query the upstream
4294 API: gst_base_sink_get_latency() to let subclasses query the configured
4295 latency in the sink.
4296 Implement query and set latency.
4298 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4299 don't continue preroll when we are flushing. Fixes #405284.
4301 * tests/check/pipelines/stress.c: (change_state_timeout),
4302 (quit_timeout), (GST_START_TEST), (stress_suite):
4305 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4307 Patch by: René Stadler <mail at renestadler de>
4309 * docs/gst/gstreamer-sections.txt:
4310 * gst/gsttaglist.c: (_gst_tag_initialize):
4312 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4314 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4316 * docs/libs/Makefile.am:
4317 Fix path to core docs.
4319 * gst/gstbin.c: (gst_bin_get_by_interface),
4320 (gst_bin_iterate_all_by_interface):
4321 Refix docs by also renaming 'interface' to 'iface' in implementation.
4323 * docs/gst/gstreamer-sections.txt:
4325 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4326 * gst/gstchildproxy.h:
4327 * gst/gstelementfactory.c:
4328 * gst/gstpadtemplate.h:
4329 * libs/gst/controller/gstcontroller.c:
4330 (gst_controlled_property_new):
4333 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4335 * gst/gstbin.h:(gst_bin_get_by_interface),
4336 (gst_bin_iterate_all_by_interface):
4337 Replace interface parameter name by iface as interface is
4338 a reserved keyword in Visual Studio for C++ projects so it removes
4339 a build error for application developpers using VS.
4340 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4341 Fix a bug on Windows in uri format check. Now the prefix checked
4342 is file:// and next we check if the path after file:// is absolute.
4343 * win32/common/libgstbase.def:
4344 * win32/common/libgstdataprotocol.def:
4345 * win32/common/libgstgstreamer.def:
4346 Add new exported functions.
4348 2007-02-09 Andy Wingo <wingo@pobox.com>
4350 * tests/check/pipelines/simple-launch-lines.c
4351 (simple_launch_lines_suite, test_tee): Disable tee test until I
4352 have time to fix it :-(
4354 * tests/check/Makefile.am (noinst_HEADERS):
4355 * tests/check/libs/libsabi.c:
4356 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4357 * tests/check/gst/gstabi.c:
4358 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4360 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4361 tests for push and pull tee behavior.
4363 * plugins/elements/gsttee.h:
4364 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4365 mark as deprecated as well as unimplemented. It was a crack idea.
4366 Add support for tee operating in pull mode, off by default.
4368 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4369 normal-case logs down to LOG, raise errors to WARNING.
4370 (gst_registry_xml_read_cache): Don't log before calling a function
4373 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4374 exit (registry finalize).
4375 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4376 DEBUG log when we emit signals that people don't even have the
4377 chance to connect to.
4378 (gst_registry_scan_path_level): Less logging in the normal case.
4380 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4382 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4384 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4385 Correctly generate EOS for non-seekable files. We don't have a total
4386 length for them and would get an unexpected end of file if we only
4387 special-cased for regular files. (Fixes: #404569)
4389 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4391 * tests/check/elements/filesrc.c: (GST_START_TEST),
4393 Add unit test for the GstURIHandler interface in filesrc. This also
4394 tests the newly added file://localhost/foo/bar support.
4396 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4398 * gst/gstelementfactory.h:
4399 The klass string is not a hierarchy. Add reference to the design doc
4400 for more information and common types.
4402 2007-02-02 Wim Taymans <wim@fluendo.com>
4404 * gst/gstquery.c: (gst_query_new_latency):
4405 Remove old structure field.
4407 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4409 * tools/gst-launch.1.in:
4410 Give example for network streaming (#351998)
4412 2007-02-02 Wim Taymans <wim@fluendo.com>
4414 * docs/gst/gstreamer-sections.txt:
4415 Add docs for new methods.
4417 * gst/gstevent.c: (gst_event_new_latency),
4418 (gst_event_parse_latency):
4420 Add new LATENCY event to configure latency in a pipeline.
4421 API: gst_event_new_latency
4422 API: gst_event_parse_latency
4424 * gst/gstmessage.c: (gst_message_new_buffering),
4425 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4426 (gst_message_new_latency), (gst_message_parse_buffering),
4427 (gst_message_parse_lost_preroll):
4429 Added messages used in draft-latency.
4430 API: gst_message_new_lost_preroll
4431 API: gst_message_parse_lost_preroll
4432 API: gst_message_new_prerolled
4433 API: gst_message_new_latency
4435 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4436 (gst_query_parse_latency):
4438 Implemented new latency query as in design doc.
4439 API: gst_query_new_latency
4440 API: gst_query_set_latency
4441 API: gst_query_parse_latency
4443 2007-02-02 Wim Taymans <wim@fluendo.com>
4445 * docs/design/draft-latency.txt:
4446 Slight redesign to allow for dynamic latency adjustments.
4448 * docs/design/part-negotiation.txt:
4451 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4453 reviewed by: Wim Taymans <wim@fluendo.com>
4455 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4456 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4457 Allow file://localhost/foo/bar URLs and correctly fail for every other
4458 hostname that one sets. This was gnomevfssrc is linked for those if
4459 installed as it can handle it (#403172)
4461 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4463 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4465 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4466 (unref_data), (gst_collect_pads_add_pad_full):
4467 * libs/gst/base/gstcollectpads.h:
4468 Don't put the previously added destroy notify in the GstCollectData
4469 struct as all it's padding is already used and we don't want to break
4470 ABI. Instead put in the pad's GObject data for now. This should be
4471 cleaned up for 0.11 (#402393).
4473 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4475 reviewed by: Wim Taymans <wim@fluendo.com>
4477 * docs/libs/gstreamer-libs-sections.txt:
4478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4479 (unref_data), (gst_collect_pads_add_pad),
4480 (gst_collect_pads_add_pad_full):
4481 * libs/gst/base/gstcollectpads.h:
4482 API: Add function to specify a destroy notification for custom
4483 GstCollectData when adding new pads in GstCollectPads (#402393).
4485 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4488 Update Swedish translation (#378255).
4490 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4492 * docs/design/draft-klass.txt:
4493 Fix the previous change, this is a list of categories and not a hierarchy.
4495 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4497 * docs/design/draft-klass.txt:
4498 Add info about how to get a list of used classes.
4500 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4502 * plugins/elements/gsttypefindelement.c:
4503 (gst_type_find_element_chain_do_typefinding),
4504 (gst_type_find_element_change_state):
4505 Don't leak found caps in chain function (no idea why that never
4506 showed up as a leak anywhere).
4508 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4511 Fix and expand GstPluginDesc API docs.
4513 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4516 * gst/gstelementfactory.c:
4517 * gst/gstpadtemplate.h:
4520 * libs/gst/controller/gstcontroller.c:
4521 (gst_controlled_property_new):
4522 * tests/examples/controller/audio-example.c:
4525 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4528 comment about refining the xml deps
4531 comments about moving away from jade for docs
4534 recommit the ifdefs to use the binary registry
4536 * gst/gstbin.c: (gst_bin_change_state_func):
4537 this break is obsolete
4539 * gst/gstelementfactory.h:
4540 better GST_ELEMENT_DETAILS docs, add comment about translation
4545 * gst/gstobject.c: (gst_signal_object_get_type):
4546 add G_UNLIKELY as usual
4548 * gst/gstpad.c: (gst_pad_event_default):
4549 add fall trhu comment
4551 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4552 (gst_registry_binary_initialize_magic),
4553 (gst_registry_binary_save_string),
4554 (gst_registry_binary_save_pad_template),
4555 (gst_registry_binary_save_feature),
4556 (gst_registry_binary_save_plugin),
4557 (gst_registry_binary_write_cache),
4558 (gst_registry_binary_check_magic),
4559 (gst_registry_binary_load_pad_template),
4560 (gst_registry_binary_load_feature),
4561 (gst_registry_binary_load_plugin),
4562 (gst_registry_binary_read_cache):
4563 comment typo and formatting
4565 * gst/gstutils.c: (gst_element_state_get_name),
4566 (gst_element_state_change_return_get_name):
4567 remove obsolete breaks
4569 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4570 add FIXME 0.11 and remove cpp comment
4572 2007-01-29 Edward Hervey <edward@fluendo.com>
4574 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4575 Fix print statement in an even more portable way.
4577 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4579 * docs/gst/gstreamer-sections.txt:
4581 API: add GST_ROUND_DOWN_* macros (#401781).
4583 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4585 * docs/gst/gstreamer.types.in:
4586 * gst/gstregistry.c: (gst_registry_class_init):
4587 Document registry signals and make gtk-doc pick them up (#401381).
4589 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4591 * docs/pwg/building-testapp.xml:
4592 Add some audioconverts and audioresample to the pipeline, and some
4593 more comments and error handling.
4595 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4597 * docs/manual/manual.xml:
4601 2007-01-26 Wim Taymans <wim@fluendo.com>
4603 * gst/gstcaps.c: (gst_static_caps_get):
4604 Init caps flags too.
4606 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4608 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4610 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4611 If not using mmap'ed files try to seek to the end instead of the
4612 start to determine whether we can seek at all. This fixes the case
4613 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4614 seeks for everything afterwards fail. Fixes #400656
4616 2007-01-25 Wim Taymans <wim@fluendo.com>
4618 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4619 Add some refcount debugging.
4620 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4621 in multiple streaming threads.
4623 2007-01-25 Wim Taymans <wim@fluendo.com>
4625 Patch by: David Schleef <ds at schleef dot org>
4627 * docs/libs/gstreamer-libs-sections.txt:
4628 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4629 * libs/gst/base/gstadapter.h:
4630 API: gst_adapter_copy() that can reduce the amount of memcpy when
4631 getting data from the adapter. Fixes #388201.
4633 2007-01-25 Edward Hervey <edward@fluendo.com>
4635 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4636 In print statements, "%x" is for guint. Fixes build on macosx.
4638 2007-01-24 Edward Hervey <edward@fluendo.com>
4640 * plugins/elements/gstmultiqueue.c:
4641 (gst_multi_queue_loop):
4643 (single_queue_overrun_cb), (single_queue_underrun_cb),
4644 (single_queue_check_full), (gst_single_queue_new):
4645 Implement single queue growth system.
4646 This uses the extra-size properties, and will grow single queues by
4647 that much if one goes full whereas there are others empty. This is
4648 called extra-mode in the code.
4649 When a single queue's levels go back below the initial max-size
4650 limits, it is no longer in extra-mode. This is to ensure we don't
4651 consume too much memory.
4654 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4656 * gst/gst.c: (gst_init_get_option_group):
4657 Make warning about late g_thread_init() calls a bit more explicit,
4658 so that it's more obvious to application developers what they need
4659 to do if a user files a bug against their application.
4661 2007-01-22 Edward Hervey <edward@fluendo.com>
4663 * plugins/elements/gstmultiqueue.c:
4664 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4665 Remove previous hack of unsetting the flushing flag for the source pad
4666 instead of activating it. Instead, fix the source pad activate function
4667 so that it no longer depends on having a parent set or not.
4669 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4671 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4673 * docs/manual/basics-bus.xml:
4674 Fix example code, gst_element_unref() doesn't exist any longer.
4676 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4678 Patch by: Mark Nauwelaerts <manauw at skynet be>
4681 Fix two docs typoes (#399094).
4683 2007-01-19 Edward Hervey <edward@fluendo.com>
4685 * docs/faq/gst-uninstalled:
4686 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4687 depending on libgstbaseutils can work in uninstalled environment.
4689 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4692 * gst/gsttagsetter.c:
4693 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4694 statement for new tag.
4696 2007-01-17 Edward Hervey <edward@fluendo.com>
4698 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4699 When dynamically creating single queues, activate sinkpad before adding
4701 We should be doing the same thing for the source pad, but we can't
4702 since it would call a method which needs the parent to be set in order
4703 to work propertly. Instead of activating the source pad, we just unset
4704 the flushing flag, which is the minimal requirement for adding a pad
4705 to an element in a state greater than READY.
4707 2007-01-17 Edward Hervey <edward@fluendo.com>
4709 * docs/faq/gst-uninstalled:
4710 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4713 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4715 * tests/check/gst/gstabi.c:
4716 * tests/check/gst/struct_hppa.h:
4717 * tests/check/libs/libsabi.c:
4718 * tests/check/libs/struct_hppa.h:
4719 Add ABI structs for HPPA (see #393796).
4721 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4723 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4724 Actually write ABI structs to the file specified in the GST_ABI
4725 environment variable, as the message we print claims we would.
4727 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4729 * tests/check/gst/gsttask.c:
4732 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4734 * gst/gsttaglist.c: (_gst_tag_initialize):
4735 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4736 previous two entries.
4738 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4740 * docs/gst/gstreamer-sections.txt:
4741 * gst/gsttaglist.c: (_gst_tag_initialize):
4743 Add tag support for beat-per-minute.
4745 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4747 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4748 (gst_registry_binary_initialize_magic),
4749 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4750 (gst_registry_binary_save_pad_template),
4751 (gst_registry_binary_save_feature),
4752 (gst_registry_binary_save_plugin),
4753 (gst_registry_binary_write_cache),
4754 (gst_registry_binary_check_magic),
4755 (gst_registry_binary_load_pad_template),
4756 (gst_registry_binary_load_feature),
4757 (gst_registry_binary_load_plugin),
4758 (gst_registry_binary_read_cache):
4759 * gst/gstregistrybinary.h:
4760 Use glib types, cleanup comments, impement interfaces and uri-types.
4762 2007-01-13 Andy Wingo <wingo@pobox.com>
4764 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4765 getrange() to return buffers with other caps, while we fix
4766 demuxers and typefind, or otherwise change part-negotiation.txt.
4768 2007-01-12 Andy Wingo <wingo@pobox.com>
4770 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4771 Factor start/stop into this private function instead of partially
4772 in activate functions and partially in the change_state function.
4773 Fixes setup before the element has changed from READY->PAUSED, as
4774 is the case in pull-mode pipelines.
4775 (gst_base_transform_sink_activate_push)
4776 (gst_base_transform_src_activate_pull): Refactor to use
4777 gst_base_transform_activate().
4778 (gst_base_transform_change_state): Removed, not needed any more.
4780 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4781 Truncate before fixating.
4783 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4784 Don't set_caps() if the result of fixating is ANY, as it's not
4785 supported, and not necessary in the case of a link with no
4786 template caps on either side. Fixes tests/check/libs/basesrc in
4787 some pull-mode tests.
4789 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4790 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4791 (gst_base_transform_src_activate_pull):
4792 Track the activation mode.
4793 (gst_base_transform_setcaps): In pull mode, when activating the
4794 src pad, after activating the sink pad, activate the sink pad's
4795 peer, as discussed in part-negotiation.txt.
4797 * libs/gst/base/gstbasesrc.h:
4798 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4799 vmethod, as in basesink.
4801 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4803 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4804 mode, first proxy the setcaps to the peer pad.
4805 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4807 (gst_base_sink_default_activate_pull): Rename from
4808 gst_base_sink_activate_pull.
4809 (gst_base_sink_negotiate_pull): New function, performs negotiation
4810 in pull mode before calling ::activate_pull().
4811 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4812 vmethod instead of the default implementation. I have no idea how
4813 this worked before. Negotiate before calling activate_pull.
4815 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4816 sink pads in pull mode. In addition to being correct, fixes
4817 filesrc ! decodebin ! identity ! fakesink.
4818 (gst_pad_get_range, gst_pad_pull_range): Don't call
4819 gst_pad_set_caps() if the caps changes; instead error out with
4820 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4822 2007-01-12 Andy Wingo <wingo@pobox.com>
4824 * docs/design/part-negotiation.txt: Update with more policy.
4826 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4828 * libs/gst/check/gstbufferstraw.h:
4829 * libs/gst/check/gstcheck.h:
4830 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4833 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4835 * tests/check/Makefile.am:
4836 * tests/check/gst/.cvsignore:
4837 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4838 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4839 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4840 (GST_START_TEST), (gst_tag_setter_suite):
4841 Add minimal unit test for beforementioned GstTagSetter bug.
4843 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4845 Patch by: René Stadler <mail at renestadler dot de>
4847 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4848 gst_tag_list_merge() returns a new list, so it's not the best idea
4849 to ingore its return value. Effectively meant that tags could only
4850 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4851 Also add function guard to require a non-NULL taglist as input (has
4852 always been so due to gst_tag_list_copy(), just making it explicit).
4854 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4856 * docs/random/draft-missing-plugins.txt:
4857 Some additions: mention new API that is supposed to be used at the
4858 various stages; short blob about new gst-inspect introspection
4859 option; mention potential future problem with plugins that have
4860 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4862 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4864 * tools/gst-inspect.c:
4865 (print_plugin_automatic_install_info_codecs),
4866 (print_plugin_automatic_install_info_protocols),
4867 (print_plugin_automatic_install_info), (main):
4868 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4869 introspect plugin files and get machine-parsable output that corresponds
4870 to the last bit of the missing-plugin installer string (small gotcha:
4871 doesn't take into account ranks).
4873 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4876 * docs/gst/gstreamer-sections.txt:
4878 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4879 (gst_registry_lookup_locked):
4880 * gst/gstregistry.h:
4881 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4882 (gst_registry_binary_initialize_magic),
4883 (gst_registry_binary_save_string),
4884 (gst_registry_binary_save_pad_template),
4885 (gst_registry_binary_save_feature),
4886 (gst_registry_binary_save_plugin),
4887 (gst_registry_binary_write_cache),
4888 (gst_registry_binary_check_magic),
4889 (gst_registry_binary_load_pad_template),
4890 (gst_registry_binary_load_feature),
4891 (gst_registry_binary_load_plugin),
4892 (gst_registry_binary_read_cache):
4893 * gst/gstregistrybinary.h:
4894 * gst/gstregistryxml.c: (load_feature),
4895 (gst_registry_xml_read_cache):
4896 commit binary registry (disabled by default, see #359653)
4898 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4900 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4901 Fix 'make check' too.
4903 2007-01-10 Andy Wingo <wingo@pobox.com>
4905 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4908 * docs/design/part-negotiation.txt: Update with, um, one way that
4909 pull-mode negotiation might work?
4912 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4913 that the pad must be a src pad; makes sense to call it the other
4914 way in pull mode, and the logic is symmetric anyway.
4916 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4918 * plugins/elements/gstfilesink.c:
4919 Include <stdio.h> for fseeko().
4921 2007-01-10 Wim Taymans <wim@fluendo.com>
4925 Reserve LATENCY event.
4927 2007-01-09 Wim Taymans <wim@fluendo.com>
4929 * docs/design/draft-latency.txt:
4932 2007-01-09 Wim Taymans <wim@fluendo.com>
4934 * docs/design/draft-latency.txt:
4938 * gst/gststructure.c:
4942 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4944 * tests/check/.cvsignore:
4945 Ignore test-registry.xml as well.
4947 2007-01-09 Wim Taymans <wim@fluendo.com>
4949 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4950 unref data at the end when we are done with the pad.
4952 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4954 * docs/gst/gstreamer-sections.txt:
4955 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4956 (init_post), (gst_deinit), (gst_update_registry):
4958 API: add gst_update_registry() (#391296).
4960 * tests/check/Makefile.am:
4961 * tests/check/gst/gstregistry.c:
4962 * tests/check/gst/.cvsignore:
4963 Simple unit test for the above.
4965 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4967 * gst/gstregistry.c: (gst_registry_scan_path_level):
4968 Plugin extension on HP-UX is .sl, add that to the list of approved
4969 plugin extensions (see #393796).
4971 * tests/check/gst/gstpad.c: (GST_START_TEST):
4972 ulong => gulong. Fixes compilation with HP-UX compiler.
4974 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4975 Fix compilation if valgrind headers are not available.
4977 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4979 * win32/common/libgstreamer.def:
4980 Add new exported function.
4981 * win32/vs6/libgstbase.dsp:
4982 Add gstdataqueue.c to the build.
4983 * win32/vs6/libgstcoreelements.dsp:
4984 Add gstmultiqueue.c to the build.
4986 2007-01-06 Andy Wingo <wingo@pobox.com>
4988 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4989 activate_pull(), providing for a way to specialize the process of
4990 spawning a thread to pull on the sink pad. There is a default
4993 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4994 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4995 (gst_base_sink_init): Renamed pad activation functions (inserting
4996 "_pad" in their names). Refactor to use the new activate_pull
4997 vmethod, as appropriate.
4998 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4999 default activate_pull function to start a task pulling from the
5000 sink pad, as before.
5002 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5003 on the pads if necessary, as in push()/chain(). Update docs.
5004 Shouldn't affect existing pull() usage as it is currently only
5005 being used on buffers without caps.
5007 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5009 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5011 Call g_thread_init() first thing in gst_init() / gst_check_init().
5012 When initialisation is done via gst_init_get_option_group() and
5013 GOption parsing, issue a warning if the GLib thread system has not
5014 been initialised yet by the time gst_init_get_option_group() is
5015 called, as it's quite likely other GLib functions such as
5016 g_option_context_new() have been called already then, and
5017 g_thread_init() must be called before any other GLib function. The
5018 application in question must be fixed in that case, since memory
5019 corruption might happen otherwise.
5020 We issue the warning because even if the GLib folks decide to work
5021 around the problem on their end in future, this is still an issue
5022 with all GLib versions >= 2.10.0, so we should warn until we depend
5023 on a GLib version we know to be safe.
5024 Update documentation as well.
5027 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5029 * tools/gst-inspect.c: (main):
5030 * tools/gst-launch.c: (main):
5031 * tools/gst-typefind.c: (main):
5032 * tools/gst-xmlinspect.c: (main):
5033 Call g_thread_init() really really early, before any other GLib
5034 function (see #342564 and recent discussion on gtk-devel-list).
5036 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5038 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5040 * gst/gst_private.h:
5041 * gst/gstconfig.h.in:
5043 On win32, all the __declspec stuff for symbol exporting is
5044 apparently only needed with MSVC, but doesn't work with MingW.
5045 Fixes compilation with MingW and #391909.
5047 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5049 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5050 Change some GST_ERROR_OBJECT that aren't really errors to
5051 GST_WARNING_OBJECT in order to reduce terminal spam.
5053 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5055 * tests/check/Makefile.am:
5056 disable test again, as there seem to be still race problems
5058 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5060 * tests/check/Makefile.am:
5061 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5062 (GST_START_TEST), (queue_suite):
5063 enable queue test again, add tests for the leaky behaviour
5065 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5068 * tests/examples/Makefile.am:
5069 Compile adapter test/example only if the required headers are
5070 available (fixes #391915).
5072 2007-01-01 David Schleef <ds@schleef.org>
5075 Restore the previous signal handler for SIGSEGV instead of
5076 setting to default, since we may have stolen it away from
5077 someone. (i.e., Mono)
5079 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5081 * docs/random/draft-missing-plugins.txt:
5082 Some small additions and clarifications.
5084 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5086 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5087 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5088 since that can lead to random memory corruptions and crashes
5089 (may or may not be related to #383244, #386711, and #386711).
5091 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5093 * tests/check/.cvsignore:
5094 * tests/check/Makefile.am:
5095 sync .cvsignome and CLEANFILES
5097 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5099 * tests/check/Makefile.am:
5102 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5104 * docs/design/part-states.txt:
5105 two tiny additional comments
5107 * gst/gststructure.c:
5110 * tests/check/Makefile.am:
5111 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5113 disable test for now, unless it gets fixed
5115 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5117 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5119 fix race in underrun test
5121 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5123 * tests/check/elements/.cvsignore:
5126 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5128 try to narrow test failure
5130 2006-12-21 David Schleef <ds@schleef.org>
5132 * plugins/elements/gstfakesrc.c:
5133 Use g_random_int_range(), since it produces better random
5134 numbers in a range than almost-correct floating point code.
5136 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5138 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5139 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5140 (gst_check_teardown_sink_pad):
5141 do not automatically (de)activate pads
5143 * tests/check/Makefile.am:
5144 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5145 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5146 add new, yet simple tests for queue
5148 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5149 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5150 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5152 * tests/check/elements/identity.c: (cleanup_identity):
5153 consistent pad (de)activation
5155 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5157 Patch by: Sebastian Dröge <slomo ubuntu com>
5159 * libs/gst/base/gstcollectpads.c:
5160 Fix two doc typos (#387866).
5162 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5164 * docs/manual/advanced-dparams.xml:
5165 Fix typo (g_object_control_properties() doesn't exist).
5167 2006-12-19 Edward Hervey <edward@fluendo.com>
5169 * gst/gstsegment.c: (gst_segment_set_seek):
5170 Fine tune the cases where the segment start/stop values are really
5172 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5173 Add tests for the return values of gst_segment_set_seek().
5175 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5180 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5182 Fix incorrect documentation and flesh it out a bit more.
5183 Set default values for the max properties on the GParamSpec as well,
5184 so it shows up correctly in gst-inspect.
5186 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5188 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5189 Correct docs of queue, add more detail and crosslink it more.
5191 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5193 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5194 Print additional debug info when the stream isn't perfectly
5195 timestamped; don't try to use invalid durations.
5197 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5199 * docs/design/Makefile.am:
5200 Dist new design docs.
5202 2006-12-16 Wim Taymans <wim@fluendo.com>
5204 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5206 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5207 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5208 (gst_collect_pads_stop), (gst_collect_pads_event),
5209 (gst_collect_pads_chain):
5210 * libs/gst/base/gstcollectpads.h:
5211 Add refcounting to the collectpads data so we can track when it's safe
5212 to free the data. Fixes #383382.
5214 2006-12-15 Wim Taymans <wim@fluendo.com>
5216 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5217 (gst_collect_pads_remove_pad):
5218 Automatically activate/deactivate pads when they are added to a
5219 started/stoped collectpads.
5221 2006-12-15 Wim Taymans <wim@fluendo.com>
5223 * gst/gstelement.c: (gst_element_add_pad):
5224 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5225 * gst/gstpad.c: (gst_pad_init):
5226 Set pads to FLUSHING when they are created. Check, warn and fix when a
5227 demuxer adds an inactive pad to itself when running. Fixes #339326.
5229 2006-12-15 Wim Taymans <wim@fluendo.com>
5231 * gst/gstelement.c: (gst_element_class_init),
5232 (gst_element_default_send_event), (gst_element_send_event),
5233 (gst_element_default_query), (gst_element_query):
5234 Expose default element send_event and query handling as vmethods that
5235 subclasses can chain up to.
5237 2006-12-15 Wim Taymans <wim@fluendo.com>
5239 * gst/gstelement.c: (gst_element_set_state_func):
5240 Small documentation fixes.
5242 2006-12-15 Wim Taymans <wim@fluendo.com>
5244 * docs/design/draft-latency.txt:
5245 Checked in draft for handling latency in pipelines.
5247 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5251 * gstreamer.spec.in:
5254 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5256 * gst/gst.c: (init_pre), (init_post):
5257 init_pre() and init_post() might be called via our GOptionGroup or
5258 from gst_init(), and we should skip both of them if we've already
5259 been initialised, otherwise we will init some things twice or add
5260 two default log functions.
5262 2006-12-13 Edward Hervey <edward@fluendo.com>
5264 * docs/manual/basics-bus.xml:
5265 No, gst_main_loop does not exist. Its g_main_loop.
5266 Discovered by somebody who abused the copy-paste technique of coding :)
5268 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5270 * gst/gstghostpad.c:
5271 Log ghostpad debug stuff to the GST_PADS category as well rather
5272 than just to the default category.
5274 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5277 * gst/gst.c: (init_pre):
5278 Add some basic system details such as OS and architecture
5279 to the debug output if possible, courtesy of uname().
5281 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5283 * docs/gst/running.xml:
5284 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5285 environment variables.
5287 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5289 * tests/check/gst/gstbin.c: (GST_START_TEST):
5290 It is acceptable to have a refcount of 2 or 3 at this point in the
5291 test, because the pipeline might be just posting its state_change
5292 message. The next line then waits for that message to appear using
5293 bus_poll, so that should be fine too.
5295 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5297 * gst/gst.c: (ensure_current_registry_forking):
5298 Ignore EINTR when reading from the child registry pipe.
5299 Explicitly ignore the return value from close, since it makes no
5302 * gst/gstminiobject.c: (gst_mini_object_ref),
5303 (gst_mini_object_unref):
5304 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5306 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5307 When removing cached plugins, remove their features too, so they're
5308 not visible after they've disappeared.
5310 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5311 In the unlikely case that we are linking pads with no parents, don't
5312 crash trying to get the non-existent parent bin.
5314 * gst/parse/grammar.y:
5315 Output debug in the PIPELINE category
5317 2005-03-08 Wim Taymans <wim@fluendo.com>
5319 Patch by: René Stadler <mail at renestadler dot de>
5321 * gst/gstclock.c: (gst_clock_new_periodic_id):
5322 Reject invalid clock times for interval of periodic ids.
5325 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5327 * gst/gstelementfactory.c: (gst_element_factory_create):
5328 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5329 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5330 * tools/gst-inspect.c: (print_element_info):
5331 Fix refcounting of gst_plugin_feature_load to match the docs.
5334 2006-12-07 Wim Taymans <wim@fluendo.com>
5336 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5337 (gst_base_sink_get_position):
5338 Improve debugging of events.
5340 2006-12-07 Wim Taymans <wim@fluendo.com>
5342 Patch by: René Stadler <mail at renestadler dot de>
5344 * gst/gstclock.c: (gst_clock_id_wait):
5345 Make period ids add the interval to the origial requested time instead
5346 of the possibly updated time which can be wrong when there are multiple
5347 waiters for the same id. Fixes #382592.
5349 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5350 (gst_system_clock_id_wait_jitter_unlocked),
5351 (gst_system_clock_id_wait_jitter):
5352 Fix restart in the async notify thread when an async entry is added to
5353 the front of the list. Fixes #381492.
5355 * tests/check/gst/gstsystemclock.c: (store_callback),
5356 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5357 Added test for multiple async waits.
5358 Added test for async wait order.
5360 2006-12-07 Wim Taymans <wim@fluendo.com>
5362 * gst/gstbin.c: (gst_bin_query):
5363 Add some more docs about the POSITION query.
5365 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5368 Bump version nano - back to CVS.
5370 === release 0.10.11 ===
5372 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5375 releasing 0.10.11, "Love never runs on time"
5377 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5379 * win32/common/libgstbase.def:
5380 * win32/common/libgstreamer.def:
5381 * win32/vs8/libgstbase.vcproj:
5382 * win32/vs8/libgstcoreelements.vcproj:
5383 * win32/vs8/libgstreamer.vcproj:
5384 Fix compilation on win32 under VS8
5385 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5386 Partially fixes #381175
5388 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5390 * gst/gstvalue.c: (gst_value_compare_fraction):
5391 If someone is foolish enough to compare 2 fractions with denominator =
5392 0, return UNORDERED rather than aborting.
5394 2006-11-28 Edward Hervey <edward@fluendo.com>
5396 * libs/gst/base/Makefile.am:
5397 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5398 (gst_data_queue_base_init), (gst_data_queue_class_init),
5399 (gst_data_queue_init), (gst_data_queue_new),
5400 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5401 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5402 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5403 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5404 (gst_data_queue_set_flushing), (gst_data_queue_push),
5405 (gst_data_queue_pop), (gst_data_queue_drop_head),
5406 (gst_data_queue_set_property), (gst_data_queue_get_property):
5407 * libs/gst/base/gstdataqueue.h:
5408 New GstDataQueue object for threadsafe queueing. Most useful for
5409 elements that need some queueing functionnality.
5410 * docs/libs/gstreamer-libs-docs.sgml:
5411 * docs/libs/gstreamer-libs-sections.txt:
5412 Insert documentation for GstDataQueue
5413 * plugins/elements/Makefile.am:
5414 * plugins/elements/gstelements.c:
5415 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5416 (gst_multi_queue_class_init), (gst_multi_queue_init),
5417 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5418 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5419 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5420 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5421 (gst_multi_queue_loop), (gst_multi_queue_chain),
5422 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5423 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5424 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5425 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5426 (wake_up_next_non_linked), (compute_next_non_linked),
5427 (single_queue_overrun_cb), (single_queue_underrun_cb),
5428 (single_queue_check_full), (gst_single_queue_new):
5429 * plugins/elements/gstmultiqueue.h:
5430 New multiqueue element, using GstDataQueue. Used for queuing multiple
5432 Closes #344639 and #347785
5434 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5436 * docs/pwg/advanced-types.xml:
5437 add more missing type details
5439 * tools/gst-run.c: (main):
5440 remove unused variable
5442 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5444 * docs/libs/Makefile.am:
5445 * docs/libs/gstreamer-libs.types:
5446 add types of base classes to enable gobject specific stuff in the docs
5448 * docs/random/ensonic/embedded.txt:
5449 more ideas about isolating platform specific things
5451 2006-11-20 Wim Taymans <wim@fluendo.com>
5453 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5455 * libs/gst/check/gstcheck.h:
5456 Fix compilation and running against 0.9.4. Fixes #377332.
5458 2006-11-20 Wim Taymans <wim@fluendo.com>
5460 * gst/gstsegment.c: (gst_segment_set_seek),
5461 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5462 (gst_segment_to_running_time):
5463 Fix boundary checking in to_running_time() and to_stream_time().
5466 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5467 stream and running time can now be calculated for the complete
5470 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5472 * gst/gstpad.c: (gst_pad_push_event):
5473 Can't access event structure after giving away ownership of
5476 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5478 * docs/random/ensonic/embedded.txt:
5479 * docs/random/ensonic/profiling.txt:
5480 * docs/random/ensonic/receipies.txt:
5483 2006-11-13 Wim Taymans <wim@fluendo.com>
5485 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5488 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5490 2006-11-13 Wim Taymans <wim@fluendo.com>
5492 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5494 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5495 Store new length in segment duration so we don't keep on calling the
5496 potentially expensize get_size() call. Fixes #370865.
5498 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5500 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5502 * win32/common/libgstreamer.def:
5503 Add two missing symbols (#366492).
5505 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5507 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5508 (gst_adapter_take_buffer):
5509 Fix format string to use all its arguments.
5510 Remove useless >= check on a guint
5512 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5514 * tests/examples/adapter/.cvsignore:
5515 Ignore build file as commanded by the build-bot
5517 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5519 * tests/examples/adapter/Makefile.am:
5520 * tests/examples/adapter/adapter_test.c: (run_test_take),
5521 (run_test_take_buffer), (run_tests), (main):
5523 Add new files from the previous commit
5525 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5529 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5530 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5531 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5532 * libs/gst/base/gstadapter.h:
5533 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5534 (GST_START_TEST), (gst_adapter_suite):
5535 * tests/examples/Makefile.am:
5536 Do some optimisation work in GstAdapter to avoid copies in more cases.
5537 It could still do slightly better by merging buffers when
5538 gst_buffer_is_span_fast is true, but is already faster.
5540 Also, avoid traversing a single-linked list to append each incoming
5541 buffer inside the adapter.
5543 Add simple test app that times the adapter behaviour in different
5544 situations, and extend the unit test to check that bytes enter and
5545 exit the adapter in their original order.
5547 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5549 * docs/random/draft-missing-plugins.txt:
5550 Update: use element message instead of adding a new message
5551 type to the core; don't provide GStreamer API to initiate the
5552 plugin download, just provide API to compose the strings needed
5553 and let an external libgimmestuff handle the rest.
5555 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5557 * tools/gst-inspect.c: (print_element_properties_info):
5558 Print a string instead of 'unknown type' for GValueArray properties
5560 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5562 * docs/random/draft-missing-plugins.txt:
5565 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5567 * tests/examples/typefind/typefind.c: (type_found), (main):
5568 Make typefind element example work again (#371894); add a
5571 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5573 * docs/random/draft-missing-plugins.txt:
5574 Commit initial draft about how to deal with missing plugins,
5575 needs work (API too).
5577 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5579 * docs/pwg/advanced-types.xml:
5580 documents the new caps elements (see #363118)
5582 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5584 * gst/gstplugin.c: (gst_plugin_load_file):
5585 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5586 (gst_file_src_map_region), (gst_file_src_start):
5587 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5588 (gst_file_index_commit):
5589 Use g_strerror() instead of strerror() - we want UTF-8.
5591 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5593 Patch by: Peter Kjellerstedt <pkj at axis com>
5595 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5596 Another printf fix (#371493).
5598 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5600 * tests/check/gst/gsttag.c:
5601 relicence (okay with author=company)
5603 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5605 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5606 (gst_pad_push_event):
5607 Enhance debug and improve docs
5612 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5614 * docs/random/ensonic/distributed.txt:
5615 * docs/random/ensonic/profiling.txt:
5618 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5620 * docs/gst/gstreamer-sections.txt:
5621 add new API and fix the build
5623 * gst/gstbin.c: (gst_bin_recalc_state):
5624 * gst/gstelement.c: (gst_element_message_full),
5625 (gst_element_get_state_func), (gst_element_set_state_func):
5626 use new API and improve logging
5628 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5630 API: add function to get StateChangereturn names to improve logs
5632 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5634 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5635 I'm considering shooting the next person to put strerror stuff
5636 in the translateable part of the message.
5638 2006-11-03 Wim Taymans <wim@fluendo.com>
5640 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5641 Get the type and printf conversion specifiers right.
5643 2006-11-03 Wim Taymans <wim@fluendo.com>
5645 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5647 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5648 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5649 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5650 Some small cleanups. Improve debugging.
5652 Signal all waiting threads with a broadcast instead of just one.
5655 2006-11-03 Wim Taymans <wim@fluendo.com>
5657 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5658 (gst_fd_src_create):
5660 Only update fd when it's different from the old.
5662 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5664 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5665 Printf fixes for PPC/OSX, take two (#369366).
5667 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5669 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5671 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5672 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5673 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5674 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5675 don't cast to long long for portability reasons, but use
5676 GLib's types instead.
5678 2006-10-30 Michael Smith <msmith@fluendo.com>
5680 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5681 Get the arguments to lseek() the right way around.
5684 2006-10-30 Wim Taymans <wim@fluendo.com>
5686 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5689 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5691 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5693 Patch by: Kjartan Maraas <kmaraas at gnome org>
5695 * docs/design/part-MT-refcounting.txt:
5696 * docs/random/wtay/capsnego2-docs:
5699 Typo fixes (#366212).
5701 2006-10-28 Wim Taymans <wim@fluendo.com>
5703 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5706 * win32/common/libgstbase.def:
5707 * win32/common/libgstreamer.def:
5708 * win32/vs8/libgstbase.vcproj:
5709 * win32/vs8/libgstcontroller.vcproj:
5710 Add needed entries in .def files.
5712 Rearrange def files in vs8 solutions. Fixes #366286.
5714 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5716 * win32/common/gstconfig.h:
5717 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5718 hand-made win32 gstconfig.h. Fixes #366321.
5720 2006-10-27 Wim Taymans <wim@fluendo.com>
5722 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5723 (gst_ghost_pad_new_full):
5724 Make acceptcaps return TRUE when we don't have a target, just like
5727 2006-10-27 Wim Taymans <wim@fluendo.com>
5729 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5730 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5732 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5734 * gst/gststructure.c: (gst_structure_id_set_value):
5735 If someone tries to set a non-UTF8 string field on a structure,
5736 don't just print a warning, but also ignore the request and do
5737 not change/add that field to the structure.
5739 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5742 2006-10-25 David Schleef <ds@schleef.org>
5745 g_hash_table_insert() needs a cast to a non-const pointer duh.
5747 2006-10-25 David Schleef <ds@schleef.org>
5751 Change name parameter of _gst_debug_register_funcptr to const
5752 to reflect the constness of its use in the function as well
5753 as to quiet a gcc warning.
5755 2006-10-25 Edward Hervey <edward@fluendo.com>
5757 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5758 Don't push the buffer if it's empty.
5761 2006-10-24 Wim Taymans <wim@fluendo.com>
5766 * libs/gst/base/gstbasetransform.c:
5767 (gst_base_transform_sink_eventfunc):
5768 Debug segment values *after* updating them as this is more
5771 2006-10-23 Wim Taymans <wim@fluendo.com>
5773 * docs/design/part-events.txt:
5776 * docs/design/part-block.txt:
5777 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5778 (gst_pad_push_event):
5779 Revert BLOCKING patch, it tries to be smart without really having a
5780 clear idea what or how. So, now we discard all FLUSHING events again on
5781 a blocking pad. Should fix gnonlin again.
5783 2006-10-23 Wim Taymans <wim@fluendo.com>
5785 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5787 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5788 (gst_base_src_start), (gst_base_src_activate_push):
5789 Make sure size is always initialized. Fixes #364388.
5791 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5793 * docs/random/ensonic/distributed.txt:
5794 add some ideas about doing distributed processing
5796 * docs/random/ensonic/profiling.txt:
5797 get_rusage look promising
5799 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5801 * docs/manual/basics-helloworld.xml:
5802 Add a cast in example to fix compile warning
5804 2006-10-18 Wim Taymans <wim@fluendo.com>
5806 * gst/gstsegment.c: (gst_segment_set_last_stop),
5807 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5808 Relax arg checking again, -1 is allowed.
5810 2006-10-18 Wim Taymans <wim@fluendo.com>
5812 * gst/gstsegment.c: (gst_segment_set_last_stop),
5813 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5814 _set_last_stop() must be with a value != -1
5815 A _TYPE_SET to -1 means seek to 0.
5816 Calc last_stop correctly for negative rates.
5817 Make sure we work with positive durations when updating a segment.
5819 2006-10-18 Wim Taymans <wim@fluendo.com>
5821 * docs/design/part-live-source.txt:
5825 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5828 Add an explicit cast to GstBuffer** to keep old code that added an
5829 explicit cast to GstMiniObject** for gst_mini_object_replace()
5830 compiling without warning.
5832 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5834 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5835 check for validity of dates
5837 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5839 * docs/gst/gstreamer-sections.txt:
5840 Forgot this one, makes gtk-doc shut up.
5842 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5844 Patch by: Peter Kjellerstedt <pkj at axis com>
5847 Don't define xmlNodePtr to gpointer if the core was built with
5848 --disable-loadsave and --disable-registry, this will break
5849 applications that want to use libxml2 but are buildling against a
5850 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5851 instead so we don't have to mess with the libxml2 namespace
5854 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5857 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5858 type-punned pointer warnings.
5860 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5863 Add casts to the correct return type to state <=> state transition
5866 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5868 * docs/design/part-live-source.txt:
5869 describe howto handle latency
5871 * docs/random/ensonic/profiling.txt:
5874 * tools/gst-plot-timeline.py:
5875 fix log parsing for solaris, remove unused function
5877 2006-10-16 Wim Taymans <wim@fluendo.com>
5879 * docs/design/part-trickmodes.txt:
5881 Update some docs regarding reverse playback.
5883 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5885 Patch by: Marcus Granado <mrc dot gran at gmail com>
5887 * win32/vs8/grammar.vcproj:
5888 Error out with a warning if glib-genmarshal.exe is not in path,
5889 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5891 2006-10-13 Wim Taymans <wim@fluendo.com>
5893 * gst/gstsegment.c: (gst_segment_set_seek):
5894 When seeking to stop -1, set last_stop (current position) to the
5895 duration of the segment.
5897 2006-10-13 Wim Taymans <wim@fluendo.com>
5900 Clarify _NO_PREROLL a bit more.
5905 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5906 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5907 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5908 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5909 due to wrong locking order. Fixes #361769.
5910 Remove some redundant/misplaced checks in pad_block.
5912 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5913 For negative rates, count backwards from the duration.
5915 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5917 * gst/gsterror.c: (_gst_library_errors_init):
5918 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5919 up with something better).
5921 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5923 * win32/vs6/libgstreamer.dsp:
5924 * win32/vs7/libgstreamer.vcproj:
5925 * win32/vs8/libgstreamer.vcproj:
5926 Don't reference glib-compat.c which is currently not used and not
5927 disted; add gstquark.c which was recently added. Fixes #361730.
5929 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5931 * win32/common/libgstbase.def:
5932 * win32/common/libgstcontroller.def:
5933 * win32/common/libgstreamer.def:
5934 Add gst_caps_merge() and a bunch of other recently-added functions.
5937 2006-10-11 Wim Taymans <wim@fluendo.com>
5939 * docs/plugins/gstreamer-plugins.args:
5940 * docs/plugins/inspect/plugin-coreelements.xml:
5941 * docs/plugins/inspect/plugin-coreindexers.xml:
5942 Update element args.
5944 * gst/gstsystemclock.c:
5945 Small comment update.
5947 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5948 (gst_tee_request_new_pad), (gst_tee_release_pad),
5949 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5950 (gst_tee_sink_activate_pull):
5951 * plugins/elements/gsttee.h:
5953 Add default property defines.
5954 Implement release pad function.
5955 Give properties better blubs etc.
5956 Activate pads before adding them to a running tee.
5957 Do simple buffer_alloc on the first requested pad.
5958 Post error when activation fails.
5960 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5962 * gst/gst.c: (ensure_current_registry_forking):
5963 Check return value of write() to make compiler happy.
5965 2006-10-11 Wim Taymans <wim@fluendo.com>
5967 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5969 * plugins/elements/gstqueue.c: (gst_queue_chain):
5970 Recheck queue filledness after signalling the overrun when we're about
5971 to leak downstream because we released the lock when emitting the signal
5972 and the queue could be empty again. Fixes #352345.
5974 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5976 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5977 Fix refcounting here too, just like we did for _new_valist() a few
5978 days ago (#357180) (thanks to René Stadler). Also remove all those
5979 'Since: 0.9' from the gtk-doc blobs.
5981 * tests/check/libs/controller.c: (controller_refcount_new_list),
5982 (gst_controller_suite):
5983 Unit test for the above.
5985 2006-10-10 Wim Taymans <wim@fluendo.com>
5987 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5989 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5990 (gst_pad_save_thyself):
5992 Write pad direction in XML output. Fixes #345496.
5994 2006-10-10 Wim Taymans <wim@fluendo.com>
5996 Patch by: René Stadler <mail at renestadler dot de>
5998 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5999 (gst_controller_new_list), (_gst_controller_dispose),
6000 (_gst_controller_finalize), (_gst_controller_class_init):
6001 Take ref to controlled object so that it cannot disappear.
6004 2006-10-10 Wim Taymans <wim@fluendo.com>
6006 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6007 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6008 (gst_check_teardown_sink_pad):
6009 Activate/deactivate pads in setup/teardown respectively.
6011 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6013 Patch by: Josep Torre Valles <josep@fluendo.com>
6016 Cast values when making gstenumtypes.h. This pacifies Forte
6017 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6020 2006-10-09 Wim Taymans <wim@fluendo.com>
6022 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6023 Rename some more @cur to @start to fix docs.
6025 * gst/gstsegment.c: (gst_segment_set_seek):
6027 time and start must always stay in sync as defined in design doc.
6029 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6030 Rename param to fix docs.
6032 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6033 Check that start and time are in sync.
6035 * tests/check/pipelines/parse-launch.c:
6036 (gst_parse_test_element_change_state):
6037 Activate pad before adding to the element.
6039 2006-10-09 Wim Taymans <wim@fluendo.com>
6041 * docs/design/part-qos.txt:
6046 Update seek event docs regarding negative rates.
6047 Rename @cur to @start.
6049 * gst/gstsegment.c: (gst_segment_set_seek):
6051 Update set_seek docs regarding negative rates.
6052 Correctly update last_stop to @stop when dealing with negative
6054 Rename @cur to @start.
6056 * tests/check/gst/gstpad.c: (GST_START_TEST):
6057 Activate pads before trying to use them.
6059 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6060 (gst_segment_suite):
6061 Add simple check for segments and negative rates.
6063 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6065 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6067 * docs/gst/gstreamer-sections.txt:
6068 API: add gst_tag_list_is_empty() (#360467).
6070 * tests/check/gst/gsttag.c: (GST_START_TEST):
6073 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6076 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6077 a value that doesn't fit on enumeration.
6079 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6081 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6082 Remove local debugging system and use Gstreamer's instead.
6084 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6086 Patch by: Josep Torre Valles <josep@fluendo.com>
6088 * common/m4/gst-error.m4:
6089 Disable warning of statement not reached on Forte.
6091 Fix warning on Forte (value doesn't fit on enumeration).
6092 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6093 Fix warning on Forte (value doesn't fit on enumeration).
6094 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6095 DEBUG macro says it takes minimum of 2 args and so Forte
6096 complains about the use with just 1 arg.
6097 * plugins/elements/gstfdsink.c:
6098 * plugins/elements/gstfdsrc.c:
6099 * plugins/elements/gstfilesink.c:
6100 * plugins/elements/gstfilesrc.c:
6101 Use correct return type for the uri handler implementations.
6103 All these fix warnings in Forte. Fixes bug #360860.
6105 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6108 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6109 format string, so don't use G_GNUC_PRINTF for those versions.
6111 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6113 * gst/gsttaglist.c: (gst_is_tag_list):
6115 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6117 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6118 Small test for the above.
6120 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6123 Less tabs, more spaces.
6125 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6128 Those two function declarations do actually belong there, revert
6129 commit from yesterday that turned them intro macros.
6131 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6133 Patch by: Josep Torre Valles <josep@fluendo.com>
6135 * gst/gst.c: (gst_init_get_option_group):
6136 Fix empty declaration and type mismatch.
6137 * gst/gstbin.c: (gst_bin_change_state_func):
6139 * gst/gstelement.c: (gst_element_continue_state),
6140 (gst_element_set_state_func), (gst_element_change_state),
6141 (gst_element_change_state_func):
6142 Fix type mismatches.
6143 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6144 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6145 Cast as appropriate.
6146 * gst/gstobject.c: (gst_class_signal_connect):
6147 Cast as appropriate. The function pointer parameter really
6148 has the wrong type but would break API if we change it.
6150 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6151 order of including string.h.
6152 * gst/gstutils.c: (gst_element_state_get_name):
6153 Remove unreachable line.
6154 * gst/gstxml.c: (gst_xml_parse_doc):
6156 All these caught by Forte.
6158 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6160 Patch by: Josep Torre Valles <josep@fluendo.com>
6162 * common/m4/gst-error.m4:
6164 We need to disable warnings on Forte for empty declarations
6165 due to gst-indent adding ;s to lines that just use macros
6166 where the macro actually doesn't need a ; at end to end
6169 2006-10-06 Wim Taymans <wim@fluendo.com>
6171 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6172 (gst_file_sink_close_file), (gst_file_sink_event),
6173 (gst_file_sink_render):
6174 Add some FIXME for the NEWSEGMENT handling.
6176 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6178 * gst/parse/grammar.y:
6179 Remove static function gst_parse_element_lock as all it does
6180 is return. Looks like cruft from 0.8.
6182 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6184 Patch by: Josep Torre Valles <josep@fluendo.com>
6186 * common/m4/gst-error.m4:
6188 * libs/gst/net/Makefile.am:
6189 Fix a compilation issue with Forte on Solaris. inet_aton is in
6192 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6194 * gst/gstpad.c: (pre_activate):
6195 * gst/gstregistry.c: (gst_registry_scan_path_level):
6196 * gst/gstregistryxml.c: (load_plugin):
6197 * libs/gst/controller/gstcontroller.c:
6198 (gst_controlled_property_set_interpolation_mode):
6199 * libs/gst/dataprotocol/dataprotocol.c:
6200 (gst_dp_packet_from_event_1_0):
6201 * libs/gst/net/gstnetclientclock.c:
6202 (gst_net_client_clock_observe_times):
6203 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6206 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6209 * docs/gst/gstreamer-sections.txt:
6210 * gst/gstconfig.h.in:
6213 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6214 whether we can use G_GNUC_PRINTF in other header files and at
6215 least check the printf format/arguments of debug messages and
6216 GST_ELEMENT_ERROR messages when the printf extension is not
6218 Replace more tabs with spaces in gstinfo.h and remove two spurious
6219 function declarations in GST_DISABLE_DEBUG part with macros.
6221 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6223 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6224 More docs for the sync-message signal (mention that it is not
6225 emitted by default); log message structures of messages posted on
6228 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6230 * gst/gst.c: (ensure_current_registry_forking):
6231 Use a pipe pair to receive status results from the forked child, and
6232 ignore the result from waitpid. Fixes #355499
6234 2006-10-02 Wim Taymans <wim@fluendo.com>
6236 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6237 (gst_ghost_pad_suite):
6240 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6243 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6245 2006-10-02 Edward Hervey <edward@fluendo.com>
6247 * docs/design/part-block.txt:
6248 Further explain the use of flushing on blocked pads.
6249 * docs/gst/gstreamer-sections.txt:
6250 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6251 (gst_pad_push_event):
6253 Added new GstPadFlag : GST_PAD_BLOCKING.
6254 Adds the notion of pads really blocking, which enables to properly
6255 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6257 API: gst_pad_is_blocking()
6258 API: GST_PAD_IS_BLOCKING() macro
6259 API: GST_PAD_BLOCKING GstPadFlag
6261 2006-10-02 Wim Taymans <wim@fluendo.com>
6263 Patch by: mrcgran <mrc.gran at gmail dot com>
6265 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6266 Filter the proxied caps against the padtemplate if we have one.
6268 * gst/gstquery.c: (gst_query_new_segment):
6269 Add include for gstinfo.h so that compilation with
6270 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6272 2006-10-02 Wim Taymans <wim@fluendo.com>
6274 Patch by: Alessandro Decina <alessandro at nnva org>
6276 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6277 (gst_file_sink_set_location), (gst_file_sink_open_file),
6278 (gst_file_sink_close_file), (gst_file_sink_event),
6279 (gst_file_sink_render):
6280 Set file to NULL when closing filesink so that we can set a new filename
6281 in READY. Fixes #358613.
6283 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6285 Patch by: Alessandro Decina <alessandro at nnva org>
6287 * gst/gstevent.c: (_gst_event_copy):
6288 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6289 with event structures by setting the parent refcount address of the
6290 copied structure to the address of the refcount member of the newly
6291 copied event rather than the address of the refcount member of the
6292 original event. Fixes #358737.
6294 * tests/check/gst/gstevent.c: (GST_START_TEST):
6295 Unit test for the above.
6297 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6299 * docs/design/Makefile.am:
6300 Dist some more files.
6302 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6304 * tests/check/libs/controller.c: (GST_START_TEST),
6305 (gst_controller_suite):
6306 Add test for the previous fix; add some more tests
6307 for correct refcounting behaviour; fix a few leaks
6308 in test cases; call gst_controller_init() at start
6311 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6313 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6314 (gst_controller_set_from_list):
6315 Don't g_return_val_if_fail() on timed values with invalid timestamps
6316 inside a critical section without unlocking the mutex. Spotted by
6317 René Stadler. (#357617)
6318 Also, fix up refcounting properly: when returning an existing
6319 controller, we should increase the reference only once and not
6320 once per property and when trying to control a property again
6321 we should also increase the refcount.
6323 2006-09-29 Wim Taymans <wim@fluendo.com>
6325 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6326 * libs/gst/net/gstnettimeprovider.c:
6327 (gst_net_time_provider_thread):
6328 Stop reading commands when EOF as well.
6330 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6331 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6332 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6333 Unify description of the dump property.
6335 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6337 * tests/examples/manual/.cvsignore:
6338 OK, so it's actually cvsignore that needs changing. Stop laughing.
6340 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6342 * tests/examples/manual/Makefile.am:
6343 Gah, declare vars *before* using them
6345 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6347 * gst/gst.c: (init_pre), (scan_and_update_registry),
6348 (ensure_current_registry_nonforking),
6349 (ensure_current_registry_forking), (ensure_current_registry),
6350 (init_post), (gst_debug_help), (gst_deinit):
6351 * gst/gst_private.h:
6352 * gst/gstregistry.c: (gst_registry_finalize),
6353 (gst_registry_remove_features_for_plugin_unlocked),
6354 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6355 (gst_registry_scan_path),
6356 (_priv_gst_registry_remove_cache_plugins),
6357 (_priv_gst_registry_cleanup):
6358 * gst/gstregistry.h:
6359 Re-commit the registry changes, along with an extra fix:
6360 When a cached plugin is encountered at a different file path,
6361 update the stored path in the registry cache so that the parent
6362 process knows where it actually is now when it re-reads the registry
6363 cache. Fixes the thing that broke distcheck with the previous commit.
6365 * tests/check/Makefile.am:
6366 Clean up files named 'core' too when running make clean.
6368 * tests/examples/manual/Makefile.am:
6369 Set up a registry path for running these tests, and clean it properly
6372 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6375 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6376 want gmodule-no-export-2.0.pc instead so that we don't drag in
6377 --export-dynamic on every project that links to GStreamer.
6379 Also, make our export regex only match the start of symbols, rather
6380 than any symbol that contains '_gst' somewhere.
6382 * libs/gst/check/Makefile.am:
6383 The libgstcheck we build does however need export-dynamic, as it
6384 produces some symbols that don't match our _gst... style regex.
6387 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6389 * gst/gst.c: (init_pre), (scan_and_update_registry),
6390 (ensure_current_registry_nonforking),
6391 (ensure_current_registry_forking), (ensure_current_registry),
6392 (init_post), (gst_debug_help), (gst_deinit):
6393 * gst/gst_private.h:
6394 * gst/gstregistry.c: (gst_registry_finalize),
6395 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6396 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6397 (_gst_registry_cleanup):
6398 * gst/gstregistry.h:
6399 Revert previous change until I figure out why it breaks distcheck.
6401 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6403 * gst/gst.c: (init_pre), (scan_and_update_registry),
6404 (ensure_current_registry_nonforking),
6405 (ensure_current_registry_forking), (ensure_current_registry),
6406 (init_post), (gst_debug_help), (gst_deinit):
6408 Make init_pre and init_post take the full complement of GOptionFunc
6409 args so they can return useful GErrors. Make the registry updating
6412 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6413 ensure that the registry we're about to write out doesn't contain
6414 stale information about old-deleted plugin files.
6416 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6417 that deletion of plugin files is considered a registry change.
6419 * gst/gst_private.h:
6420 * gst/gstregistry.c: (gst_registry_finalize),
6421 (gst_registry_remove_features_for_plugin_unlocked),
6422 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6423 (gst_registry_scan_path),
6424 (_priv_gst_registry_remove_cache_plugins),
6425 (_priv_gst_registry_cleanup):
6426 * gst/gstregistry.h:
6427 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6428 by adding _priv prefix, so that they won't appear in the global
6429 symbol table. They still do atm though because of #318031. Move the
6430 prototypes to gst_private.h
6432 When removing a plugin, remove all features for that plugin too.
6435 2006-09-27 Wim Taymans <wim@fluendo.com>
6437 * docs/random/moving-plugins:
6438 Make it clear that the "compiled-in descriptions" really mean
6439 the element details.
6441 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6442 (gst_base_sink_wait_preroll):
6445 * docs/libs/gstreamer-libs-sections.txt:
6446 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6447 (gst_base_src_get_range), (gst_base_src_activate_push):
6448 * libs/gst/base/gstbasesrc.h:
6449 Added function to block while waiting for PLAYING, this function
6450 is used by live sources that block on the clock.
6451 API: gst_base_src_wait_playing()
6453 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6455 Patch by: Peter Kjellerstedt <pkj at axis com>
6458 gst-element-check.m4 is generated and should therefore be
6459 copied from the build dir rather than the source dir (#357593).
6460 'make distcheck' hasn't noticed this because we were disting
6461 the file as well, so stop doing that.
6463 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6465 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6466 Add some tests for gst_caps_intersect().
6468 * tools/gst-launch.c: (event_loop):
6469 Print all buffering percentages we get, even the 100% one.
6471 2006-09-26 Wim Taymans <wim@fluendo.com>
6473 * tools/gst-inspect.c: (print_element_properties_info),
6474 (print_signal_info):
6475 Fix printing of flags to match the look of enums.
6477 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6479 * gst/gstelementfactory.c:
6480 Fix typo in docs blurb.
6482 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6484 * gst/gsturi.c: (search_by_entry):
6485 Don't assert/crash here if a uri handler doesn't return any
6486 supported protocols. The list of protocols could be generated
6487 dynamically at runtime or at plugin registration, and an error
6488 in the underlying library shouldn't be fatal (#353301).
6490 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6493 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6494 (spotted by Peter Kjellerstedt).
6496 2006-09-23 Wim Taymans <wim@fluendo.com>
6498 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6500 * libs/gst/base/gstbasesrc.c:
6501 (gst_base_src_default_check_get_range), (gst_base_src_start),
6502 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6503 (gst_base_src_change_state):
6504 Match _start/_stop calls in the activate functions. Remove redundant
6505 _stop call from the state change function. Fixes #356910.
6506 Turn failure DEBUG into ERROR.
6508 2006-09-22 Wim Taymans <wim@fluendo.com>
6510 * docs/design/part-buffering.txt:
6511 * gst/gstmessage.c: (gst_message_new_buffering),
6512 (gst_message_parse_buffering):
6513 Update docs about buffering.
6515 * docs/design/part-trickmodes.txt:
6518 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6520 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6521 (gst_controller_new_list):
6522 Ref instances when returning them again (fixes #357180)
6524 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6526 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6527 Don't forget to release proxy lock when there's an error.
6529 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6532 Add extra initialisers for Caps things, to fix some plugin warnings
6535 2006-09-18 Wim Taymans <wim@fluendo.com>
6537 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6538 Also set template on the internal pad so that a getcaps from the
6539 target pad returns the template caps.
6541 2006-09-18 Wim Taymans <wim@fluendo.com>
6543 * gst/gstelement.c: (gst_element_post_message),
6544 (gst_element_dispose):
6545 Use _DEBUG_OBJECT some more.
6547 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6550 * tools/gst-launch.c: (main):
6551 If the toplevel element is not a GstPipeline, it must be put in a
6552 pipeline so that a bus and clock is selected.
6554 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6556 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6557 JITTER, RATE, and LATENCY query should be handled by the
6558 default case and not by the CONVERT query code.
6560 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6562 * gst/gstformat.c: (gst_format_register):
6563 Fix locking order (must take lock before using n_values).
6565 * gst/gstvalue.c: (gst_value_serialize_enum),
6566 (gst_value_deserialize_enum_iter_cmp),
6567 (gst_value_deserialize_enum):
6568 Fix serialisation/deserialisation of custom registered GstFormats.
6570 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6571 Unit test for custom format serialisation/deserialisation.
6573 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6575 * docs/pwg/building-boiler.xml:
6576 * plugins/elements/gstcapsfilter.c:
6577 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6580 2006-09-16 Edward Hervey <edward@fluendo.com>
6582 * libs/gst/base/gstbasetransform.c:
6583 (gst_base_transform_buffer_alloc):
6584 Check if requested caps are the same as the sinks caps IF
6585 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6587 This fixes the renegotiation issues stated in #352827.
6589 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6592 * docs/manual/advanced-autoplugging.xml:
6593 * tests/examples/Makefile.am:
6594 * tests/examples/manual/.cvsignore:
6595 * tests/examples/manual/Makefile.am:
6596 * tests/examples/manual/extract.pl:
6597 Extract the manual examples again like we used to do.
6600 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6602 * win32/common/config.h:
6605 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6608 Documents how to receive errors.
6610 2006-09-15 Wim Taymans <wim@fluendo.com>
6612 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6613 (event_loop), (main):
6614 Added some comments here and there.
6615 Post an application message when an interrupt is caught instead of doing
6616 an uncontrolled state change.
6617 Clean up the event loop.
6618 Handle buffering messages, pause/resume the pipeline.
6619 Make shutdown because of an interrupt more reliable.
6621 2006-09-15 Wim Taymans <wim@fluendo.com>
6623 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6624 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6625 (gst_base_sink_preroll_object):
6626 Make sure that our internal state is correct when we commit our state
6627 asynchronously. This solves a race where a state change to PLAYING
6628 could cause the sink to remain blocked in preroll in some situations.
6630 2006-09-15 Wim Taymans <wim@fluendo.com>
6632 * tools/gst-inspect.c: (print_element_properties_info),
6633 (print_signal_info):
6634 List flags as hex so it's easier to deal with.
6636 2006-09-15 Wim Taymans <wim@fluendo.com>
6638 * docs/libs/gstreamer-libs-sections.txt:
6639 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6640 (gst_base_sink_do_sync):
6641 * libs/gst/base/gstbasesink.h:
6642 Expose logic to wait for preroll so that subclasses such as audiosink
6643 can also use this method.
6644 API: gst_base_sink_wait_preroll()
6646 2006-09-15 Wim Taymans <wim@fluendo.com>
6648 * gst/gstobject.c: (gst_object_set_parent):
6649 * gst/gstpipeline.c: (do_pipeline_seek):
6650 Small cleanups in docs and code.
6652 * gst/gstsegment.c: (gst_segment_clip):
6653 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6654 if stop == start and start is in the segment, no clipping should be
6655 done. Also add a test for this.
6657 2006-09-15 Wim Taymans <wim@fluendo.com>
6659 * docs/design/part-buffering.txt:
6660 * docs/gst/gstreamer-sections.txt:
6661 * gst/gstmessage.c: (gst_message_new_buffering),
6662 (gst_message_parse_buffering):
6664 Added methods to create and parse BUFFERING messages.
6665 Added preliminary docs about buffering.
6666 API: gst_message_new_buffering
6667 API: gst_message_parse_buffering
6669 2006-09-06 Wim Taymans <wim@fluendo.com>
6672 Update documentation.
6674 * gst/gstelement.c: (gst_element_class_init),
6675 (gst_element_release_request_pad), (gst_element_set_clock),
6676 (gst_element_get_index), (gst_element_add_pad),
6677 (gst_element_remove_pad), (gst_element_get_random_pad),
6678 (gst_element_send_event), (gst_element_get_query_types),
6679 (gst_element_query), (gst_element_post_message),
6680 (gst_element_message_full), (gst_element_continue_state),
6681 (gst_element_lost_state), (gst_element_save_thyself),
6682 (gst_element_restore_thyself):
6683 Documentation updates.
6684 Rename last bit of the new-pad -> pad-added signal rename.
6685 Fix the case where an element query would only work if the source
6687 Avoid some useless type checking in message handling.
6692 Documentation updates.
6694 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6696 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6697 add an INFO line for when we actually update the fd
6699 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6704 === release 0.10.10 ===
6706 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6709 releasing 0.10.10, "Pais"
6711 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6713 * docs/manual/advanced-position.xml:
6714 Fix typo in sample code.
6716 2006-09-05 Wim Taymans <wim@fluendo.com>
6718 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6719 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6720 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6721 * libs/gst/net/gstnetclientclock.h:
6722 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6723 * libs/gst/net/gstnettimepacket.h:
6724 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6725 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6726 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6727 * libs/gst/net/gstnettimeprovider.h:
6728 Make stuff compile on windows. Fixes #345295.
6730 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6732 * gst/gst.c: (ensure_current_registry_forking):
6733 Print better details when child was terminated by signal.
6735 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6737 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6738 Print a warning rather than g_assert() if a plugin feature
6739 is a URI handler but returns no protocols (#353976).
6741 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6743 * docs/random/moving-plugins:
6746 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6748 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6749 Fix locking order, handle NULL function values properly.
6754 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6755 Initialise variable before using it and fix debug statement to
6756 print the address of the function rather than the address of the
6757 variable on the stack holding the address of the function.
6759 2006-09-01 Wim Taymans <wim@fluendo.com>
6761 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6762 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6763 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6764 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6765 (gst_ghost_pad_parent_unset),
6766 (gst_ghost_pad_internal_do_activate_push),
6767 (gst_ghost_pad_internal_do_activate_pull),
6768 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6769 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6770 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6771 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6772 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6773 (gst_ghost_pad_new_no_target_from_template),
6774 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6776 Avoid needless typechecking in macros.
6777 Since the internal pad is always present and never changes, there is
6778 no need to locking or ref when retrieving it.
6779 Improve debugging a bit.
6780 Handle link errors when setting the target. Fixes #341029.
6782 2006-09-01 Wim Taymans <wim@fluendo.com>
6784 * docs/libs/gstreamer-libs-sections.txt:
6785 * docs/plugins/gstreamer-plugins-sections.txt:
6788 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6789 (gst_collect_pads_event):
6790 * libs/gst/base/gstcollectpads.h:
6791 Documentation updates.
6792 Free queued buffer when removing a pad.
6794 2006-08-31 Michael Smith <msmith@fluendo.com>
6796 * gst/gstutils.c: (gst_element_link_pads),
6797 (gst_element_link_pads_filtered):
6798 Ensure that we set a capsfilter to NULL if we failed to link it
6799 when doing filtered linking, to avoid criticals.
6801 No need to check for unreffing srcpad, which is explicly NULLed
6802 above (a trivial code cleanup).
6804 2006-08-31 Wim Taymans <wim@fluendo.com>
6806 * docs/design/part-gstghostpad.txt:
6807 Update ascii art in documentation.
6809 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6810 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6811 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6812 (gst_ghost_pad_internal_do_activate_push),
6813 (gst_ghost_pad_internal_do_activate_pull),
6814 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6815 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6816 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6817 (gst_ghost_pad_set_target):
6818 Small cleanups and leak fixes.
6819 Remove some checks now that the internal pad is never NULL.
6820 Fix the case where linking pads without a target would create nasty
6821 criticals. Fixes #341029.
6822 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6823 value of _set_target().
6825 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6826 (gst_ghost_pad_suite):
6827 Some more tests for creating and linking untargeted ghostpads.
6829 2006-08-31 Edward Hervey <edward@fluendo.com>
6831 * docs/gst/gstreamer-sections.txt:
6832 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6833 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6834 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6835 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6836 (gst_ghost_pad_new_from_template),
6837 (gst_ghost_pad_new_no_target_from_template):
6838 * gst/gstghostpad.h:
6839 Refactored *_new() functions.
6840 Templates are now used as a g_object_new() parameter.
6841 Use template in _do_getcaps() if we don't have a target.
6842 Small documentation cleanups.
6843 Added two new constructors:
6844 gst_ghost_pad_new_from_template()
6845 gst_ghost_pad_new_no_target_from_template()
6846 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6847 (gst_ghost_pad_suite):
6848 Added tests for new ghostpad instanciation functions.
6850 API additions: gst_ghost_pad_new_from_template,
6851 gst_ghost_pad_new_no_target_from_template
6853 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6855 * docs/random/ensonic/profiling.txt:
6856 Ideas about qos profiling.
6858 2006-08-29 Wim Taymans <wim@fluendo.com>
6860 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6864 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6867 Improve and detypofy docs.
6869 * tests/check/Makefile.am:
6870 * tests/check/gst/.cvsignore:
6871 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6872 Add a basic test suite for GstXML.
6874 2006-08-29 Wim Taymans <wim@fluendo.com>
6876 * gst/gstelement.c: (activate_pads), (clear_caps),
6877 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6878 Clear the pad caps when the element shut down all of the pads and
6879 is not streaming data that could modify the caps.
6882 2006-08-28 Michael Smith <msmith@fluendo.com>
6884 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6885 Revert previous change; I misunderstood single-segment mode.
6887 2006-08-28 Michael Smith <msmith@fluendo.com>
6889 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6890 Unset DISCONT on buffers when using single-segment mode.
6892 2006-08-28 Wim Taymans <wim@fluendo.com>
6894 * gst/gstcaps.c: (gst_caps_merge_structure):
6896 Fix docs and indentation again.
6898 * tests/check/gst/gstquery.c: (GST_START_TEST):
6899 Fix leak in tests and add some more tests.
6901 2006-08-28 Edward Hervey <edward@fluendo.com>
6903 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6904 Inform GstSegment of the last stop position in order for the current
6905 segment to have a proper duration if it doesn't have a specific stop
6906 position from which a duration could be calculated.
6907 This bug was noticeable when a non-flushing, non-update new segment was
6908 followed by another segment (all buffers from the new segment were being
6911 2006-08-28 Wim Taymans <wim@fluendo.com>
6913 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6914 Small comment update.
6916 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6917 (gst_identity_transform_ip):
6918 Drop-probability is broken, mention this in the code with a
6919 FIXME and also in the property description.
6920 Make silent also be silent about the drop messages.
6922 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6924 * docs/manual/appendix-win32.xml:
6925 Remove mention of popt, we don't depend on that any
6926 longer (#353136). Add some comments pointing out that
6927 this section is slightly outdated.
6929 2006-08-28 Wim Taymans <wim@fluendo.com>
6931 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6933 * gst/gstquery.c: (gst_query_new_segment):
6934 * tests/check/gst/gstquery.c: (GST_START_TEST):
6935 Initialize variables when creating a new segment query.
6938 2006-08-28 Wim Taymans <wim@fluendo.com>
6940 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6942 * gst/gstelement.c: (gst_element_get_bus):
6943 * tests/check/gst/gstelement.c: (GST_START_TEST):
6944 Check for NULL before _reffing the bus. Fixes #353122.
6946 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6948 * docs/manual/basics-bus.xml:
6949 Docs update: fix wrong callback return value explanation; add
6950 some lines about the implicit relationship between main loop
6951 and main context; remove duplicate main loop variable declaration.
6953 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6955 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6956 Don't leak caps in unit test; add a few more simple
6959 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6961 * docs/gst/gstreamer-sections.txt:
6962 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6963 (gst_caps_structure_is_subset), (gst_caps_merge),
6964 (gst_caps_merge_structure):
6966 * libs/gst/base/gstbasetransform.c:
6967 (gst_base_transform_transform_caps):
6968 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6969 implement caps merging (fixes #352580)
6971 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6973 * tools/Makefile.am:
6974 * tools/gst-plot-timeline.py:
6975 add debug-log plotting developer tool (#340674)
6977 2006-08-23 Wim Taymans <wim@fluendo.com>
6979 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6980 (gst_pad_stop_task):
6981 Improve debugging for task functions.
6983 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6984 (gst_task_start), (gst_task_pause), (gst_task_join):
6985 Make sure that the task function started and finished after a
6987 Don't try to push the task function on the threadpool multiple
6989 Improve the g_warning message with some useful suggestions
6990 about how to fix the problem.
6992 2006-08-23 Wim Taymans <wim@fluendo.com>
6994 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6995 Handle RESYNC correctly in _proxy_getcaps.
6997 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6999 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7000 (gst_xml_parse_memory), (gst_xml_get_element):
7001 Chain up to parent class in dispose function and also
7002 unref the elements in the toplevel_elements GList.
7003 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7004 Always return a reference in gst_xml_get_element() rather
7005 than only sometimes.
7007 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7008 Don't leak GstXml object.
7010 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7012 * docs/gst/gstreamer-sections.txt:
7013 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7016 * libs/gst/base/gstbasetransform.c:
7017 (gst_base_transform_transform_caps):
7018 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7021 2006-08-21 Edward Hervey <edward@fluendo.com>
7023 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7024 Implement GObject::dispose virtual method in GstXML so we can free the
7027 2006-08-21 Wim Taymans <wim@fluendo.com>
7029 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7030 (gst_buffer_create_sub):
7031 Copy duration/offset_end/caps when creating a subbuffer of the
7033 Make the subbuffer read-only when we make the metadata writable for
7036 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7037 Added check for metadata copy when creating subbuffers.
7039 2006-08-21 Edward Hervey <edward@fluendo.com>
7041 * libs/gst/base/gstbasetransform.c:
7042 (gst_base_transform_buffer_alloc):
7043 Only call downstream buffer_alloc if transform element is passthrough
7044 or always_in_place. Closes #350449.
7046 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7049 ChangeLog surgery to add comments to previous changes
7051 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7056 * gst/gstpad.c: (gst_pad_set_active):
7057 Be more verbose in the log
7059 * libs/gst/base/gstbasetransform.c:
7060 (gst_base_transform_transform_caps):
7061 Simplify caps to get rid of duplicates, fixes #345444
7063 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7067 Use these optimizations only internally.
7069 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7071 * gst/gstvalue.c: (gst_value_compare_list),
7072 (gst_value_compare_fraction_range),
7073 (gst_value_intersect_fraction_fraction_range),
7074 (gst_value_intersect_fraction_range_fraction_range),
7075 (gst_value_subtract_fraction_fraction_range),
7076 (gst_value_subtract_fraction_range_fraction_range),
7077 (gst_value_get_compare_func), (gst_value_compare),
7078 (gst_value_compare_with_func):
7080 Saves the expensive lookup of the compare function in many cases
7083 2006-08-18 Edward Hervey <edward@fluendo.com>
7085 * tests/check/gst/gstinfo.c: (gst_info_suite):
7086 Disable test that require gstdebug if it wasn't built in core.
7088 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7090 * docs/random/ensonic/logging.txt:
7093 * gst/gstinfo.c: (gst_debug_log_default):
7094 reorder fields, save some columns, add optional color codes for log
7097 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7099 * docs/random/ensonic/logging.txt:
7100 add ideas about making the logs a bit more useful
7102 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7104 * docs/pwg/advanced-events.xml:
7105 * docs/pwg/titlepage.xml:
7106 Update for 0.10 API (#340627). Add myself
7109 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7111 * docs/libs/gstreamer-libs-docs.sgml:
7112 * docs/libs/gstreamer-libs-sections.txt:
7113 * libs/gst/check/gstbufferstraw.c:
7114 Make gstcheck stuff show up in docs (still needs to
7115 be documented properly though).
7117 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7119 * docs/gst/gstreamer-sections.txt:
7121 * gst/gst.c: (init_post):
7122 * gst/gst_private.h:
7123 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7125 * gst/gstquery.c: (gst_query_new_position),
7126 (gst_query_set_position), (gst_query_parse_position),
7127 (gst_query_new_duration), (gst_query_set_duration),
7128 (gst_query_parse_duration), (gst_query_new_convert),
7129 (gst_query_set_convert), (gst_query_parse_convert),
7130 (gst_query_new_segment), (gst_query_set_segment),
7131 (gst_query_parse_segment), (gst_query_new_seeking),
7132 (gst_query_set_seeking), (gst_query_parse_seeking):
7133 Add internal helpers for pre-registering quarks from static strings
7134 and using the quark values directly instead of looking them up when
7135 creating and parsing queries. Can be used for event construction too.
7138 2006-08-16 Wim Taymans <wim@fluendo.com>
7143 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7145 * gst/gstutils.c: (gst_util_set_value_from_string):
7146 Fix memleak (#351502).
7148 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7149 Add unit test for most of gst_util_set_value_from_string()
7150 (not that one would want to encourage use of this function).
7152 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7154 * libs/gst/check/gstcheck.h:
7155 Use const gchar * variables in fail_unless_equals_string
7156 macro to avoid compiler warnings (and don't use tabs for
7159 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7161 * tools/gst-launch.c: (print_tag):
7162 More space on the left for the tag names, to cater
7163 for the 'extended comment' tag (not touching the
7164 string for the first line since it's translated).
7166 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7168 * libs/gst/check/gstcheck.h:
7169 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7170 print something when they fail.
7172 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7174 * docs/gst/gstreamer-sections.txt:
7175 * gst/gsttaglist.c: (_gst_tag_initialize):
7177 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7178 Also change merge function for GST_TAG_COMMENT to
7181 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7183 * gst/gstinfo.c: (gst_debug_print_object):
7184 Make GST_PTR_FORMAT print messages as well.
7186 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7187 (GST_START_TEST), (gst_info_suite):
7190 2006-08-14 Edward Hervey <edward@fluendo.com>
7192 * gst/gstelementfactory.c: (gst_element_register):
7193 If the GstElementClass doesn't have a GstElementDetails with all fields
7194 filled up correctly (longname, description AND author), then error out
7195 nicely instead of crashing.
7197 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7199 * gst/gststructure.c:
7200 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7203 Expand on the difference between arrays and lists as we use them.
7205 2006-08-14 Wim Taymans <wim@fluendo.com>
7207 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7208 If the parent state change function failed, don't assume we can safely
7209 stop the source, this will be done when the pads are deactivated.
7211 2006-08-14 Wim Taymans <wim@fluendo.com>
7214 * gst/gsttask.c: (gst_task_join):
7217 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7218 (gst_pad_stop_task):
7219 When pad (de)activation failed for some reason, restore the old
7220 activation mode and set the pad to flushing instead of assuming the
7222 If the _task_join() failed, reinstall the task on the pad so that it can
7223 be stopped later and return an error.
7225 2006-08-11 Andy Wingo <wingo@pobox.com>
7228 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7229 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7230 is only for users of API that don't want to see deprecated
7231 functions in the headers; people that want to compile out
7232 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7233 CFLAGS. Fixes the build of multifdsink, or will soon..
7235 2006-08-11 Wim Taymans <wim@fluendo.com>
7237 * docs/gst/gstreamer-sections.txt:
7238 Add GstClockClass vmethod docs.
7241 Mark #endif with comment for associated #if
7243 * gst/gstclock.c: (gst_clock_id_wait):
7245 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7246 most clock implementations.
7248 Flesh out docs about resolution methods.
7249 API: GstClockClass::wait_jitter
7251 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7252 (gst_system_clock_async_thread),
7253 (gst_system_clock_id_wait_jitter_unlocked),
7254 (gst_system_clock_id_wait_jitter):
7255 Use base class wait_jitter variant for improved performance
7256 due to less clock polling.
7258 2006-08-11 Edward Hervey <edward@fluendo.com>
7260 * gst/gst.c: (gst_init_check), (init_post):
7261 Set gst as being initialized before scanning/updating the registry,
7262 since there might be my python plugin loader that calls gst_init() and
7263 we don't want to loop back in.
7266 2006-08-11 Wim Taymans <wim@fluendo.com>
7268 * docs/design/part-qos.txt:
7269 Bring docs in line with the code. Mostly the sign of the jitter was
7270 wrong in the docs. Fixes #349943.
7273 Fix the docs for the jitter.
7275 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7276 (gst_event_parse_tag), (gst_event_new_buffer_size),
7277 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7278 (gst_event_new_seek), (gst_event_parse_seek),
7279 (gst_event_new_navigation):
7280 Make sure the GstStructure has no parent when creating custom
7282 Add some more argument checking so that we avoid 0.0 rates.
7283 Flesh out the docs for the QoS event some more.
7285 2006-08-11 Wim Taymans <wim@fluendo.com>
7287 * docs/gst/gstreamer-sections.txt:
7288 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7289 (ensure_current_registry_forking), (ensure_current_registry),
7290 (parse_one_option), (parse_goption_arg), (gst_deinit),
7291 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7294 Added API and command line option to disable registry forking in
7295 addition to the environment variable.
7296 Constify some static arrays.
7297 Added some more debug.
7299 API: gst_registry_fork_is_enabled()
7300 API: gst_registry_fork_set_enabled()
7301 API: --gst-disable-registry-fork command line option
7304 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7306 * gst/gst.c: (gst_init):
7307 Fix typo in error message.
7309 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7311 * libs/gst/controller/gstcontroller.h:
7312 fix ABI size-correction
7314 * tests/check/libs/gdp.c: (gst_dp_suite):
7315 make tests that use deprecated API conditional
7317 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7319 * docs/libs/gstreamer-libs-sections.txt:
7320 * libs/gst/controller/gstcontroller.c:
7321 (_gst_controller_get_property), (_gst_controller_set_property),
7322 (_gst_controller_init), (_gst_controller_class_init):
7323 * libs/gst/controller/gstcontroller.h:
7324 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7325 (gst_object_set_control_rate):
7326 API: add gst_object_{s,g}et_control_rate(), add private data section,
7329 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7330 * libs/gst/dataprotocol/dataprotocol.h:
7331 add deprecation guards to make gtk-doc happy and allow disabling cruft
7333 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7335 * tests/check/Makefile.am:
7336 * tests/check/gst/.cvsignore:
7337 Let's enable the new unit test as well.
7339 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7342 * docs/gst/gstreamer-sections.txt:
7343 * gst/gstconfig.h.in:
7344 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7345 (_gst_info_printf_extension_ptr),
7346 (_gst_info_printf_extension_segment):
7347 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7348 register that lets us easily dump GstSegments into debug
7351 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7352 (info_segment_format_printf_extension), (gst_info_suite):
7353 Add simple unit test that logs a bunch of different segments (not
7354 valgrinded at the moment because of leaks in
7355 gst_debug_add_log_function).
7357 2006-08-09 Edward Hervey <edward@fluendo.com>
7359 * libs/gst/base/gstbasetransform.c:
7360 (gst_base_transform_buffer_alloc):
7361 Even if we can't figure out the proper format to request downstream,
7362 call buffer_alloc() downstream with the input parameters without setting
7363 the caps on the srcpad. This will force negotiation in the chain
7367 2006-08-08 Edward Hervey <edward@fluendo.com>
7369 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7370 Unlinking from a pad without a target is now a perfectly valid case
7371 which should NOT raise an assertion.
7372 This case would happen if a linked ghostpad its target set to NULL after
7373 it was previously linked.
7375 2006-08-08 Edward Hervey <edward@fluendo.com>
7377 * tests/check/libs/gdp.c:
7378 Also comment out the test (see below).
7380 2006-08-08 Edward Hervey <edward@fluendo.com>
7382 * tests/check/libs/gdp.c: (gst_dp_suite):
7383 Use the architecture information from config.h and not gcc macros
7384 in order to properly disable a test that fails on PPC64.
7386 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7388 * gst/gstelement.c: (gst_element_remove_pad):
7389 Don't crash printing the warning if the pad has no parent.
7391 2006-08-02 Wim Taymans <wim@fluendo.com>
7393 * libs/gst/dataprotocol/dataprotocol.c:
7394 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7395 (gst_dp_crc), (gst_dp_header_payload_length),
7396 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7397 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7398 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7399 (gst_dp_event_from_packet), (gst_dp_validate_header),
7400 (gst_dp_validate_payload):
7401 Make debug category static
7402 Constify the crc table.
7403 Do some more arg checking in public functions.
7404 Fix some docs and do some small cleanups.
7406 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7407 Add some more checks to see if GDP deals with bogus input.
7409 2006-07-31 Wim Taymans <wim@fluendo.com>
7411 * gst/gstvalue.c: (gst_value_compare_list):
7412 Fix GstValueList comparison code. Fixes #347293.
7414 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7415 Check to test GstValueList comparison.
7417 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7419 * gst/gstelementfactory.c: (gst_element_factory_create):
7420 Remove unnecessary ref/unref pair
7422 * gst/parse/grammar.y:
7423 Make sure to free the parse buffer on all code paths.
7424 Move a g_free up to the error handler where it's easier to see.
7426 * tests/check/gst/gstevent.c: (test_event):
7427 Extending timeout for downstream travelling events to 10 seconds to
7428 hopefully avoid intermittent failure on the buildbots.
7430 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7431 Don't manually set the state of the src element - it will happen as a
7432 natural consequence of the pipeline changing state, and that way it
7433 will do it in the right order too.
7435 2006-07-31 Wim Taymans <wim@fluendo.com>
7437 * libs/gst/base/gstbasetransform.c:
7438 (gst_base_transform_buffer_alloc):
7439 Use OBJECT_LOCK and refcounting to get the pad caps in the
7440 buffer_alloc function because the caps could change while we are
7441 busy with them. Fixes #349105
7443 2006-07-31 Wim Taymans <wim@fluendo.com>
7445 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7446 Protect _PAD_CAPS with OBJECT_LOCK.
7448 2006-07-31 Wim Taymans <wim@fluendo.com>
7450 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7451 (gst_pad_get_property), (gst_pad_activate_pull),
7452 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7453 (gst_pad_set_activate_function),
7454 (gst_pad_set_activatepull_function),
7455 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7456 (gst_pad_set_getrange_function),
7457 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7458 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7459 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7460 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7461 (gst_pad_set_acceptcaps_function),
7462 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7463 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7464 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7465 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7466 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7467 (gst_pad_configure_sink), (gst_pad_configure_src),
7468 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7469 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7470 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7471 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7472 (gst_pad_send_event):
7473 Use _DEBUG_OBJECT when it makes sense.
7474 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7475 Small cleanups and code reflows.
7476 Avoid caps refcounting in _accept_caps.
7477 Refactor alloc_buffer so that the code performed on the peer is in a
7478 separate function. Also if the pad does not implement a buffer alloc
7479 function, we should still check if the pad is flushing before falling
7480 back to the default allocator.
7482 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7484 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7485 Make all uses of identity and fakesink have silent=true to avoid
7486 serialising every passing data structure, which is breaking tests
7487 on FC4 for some unknown reason.
7489 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7491 * gst/parse/Makefile.am:
7492 * gst/parse/grammar.y:
7493 * gst/parse/parse.l:
7494 Reverted previous patch as it required to bump the flex dependency to
7495 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7497 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7499 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7501 * gst/parse/Makefile.am:
7502 * gst/parse/grammar.y:
7503 * gst/parse/parse.l:
7504 push & pop the state of the lexer for reentrant use case
7507 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7509 * libs/gst/base/gstbasesrc.h:
7510 Note in the docs that the ::newsegment vfunc is not actually used by
7513 2006-07-28 Wim Taymans <wim@fluendo.com>
7515 * libs/gst/base/gstcollectpads.c:
7516 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7517 (gst_collect_pads_clear), (gst_collect_pads_flush),
7518 (gst_collect_pads_event), (gst_collect_pads_chain):
7519 When flushing a pad, also clear the queued buffer so that we don't
7520 accidentally use it when we shouldn't.
7521 Fix leaks by inreffing incomming buffer.
7522 Flush out queued buffers in case of errors.
7525 2006-07-28 Wim Taymans <wim@fluendo.com>
7527 * docs/random/phonon-gst:
7528 Random notes about a Phonon backend.
7530 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7532 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7534 * tests/check/libs/gdp.c: (gst_dp_suite):
7535 Take a whack at fixing the ppc compile using a different define to
7536 disable the broken test.
7538 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7539 Remove excess g_print()
7541 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7543 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7544 Oops, meant to uncomment this line too to dampen the noise a bit.
7546 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7548 * gst/parse/grammar.y:
7549 * gst/parse/parse.l:
7550 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7551 (GST_START_TEST), (parse_suite):
7552 Fix some of the leaks exposed by extending the parse-launch testsuite,
7553 and move the 3 I can't figure out into a separate test that won't run
7554 the pipelines unless the appropriate line is uncommented.
7556 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7558 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7559 Requesting 0 bytes before the end of the file should result in
7560 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7563 2006-07-27 Wim Taymans <wim@fluendo.com>
7565 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7566 Fix useless assert, a uint is always positive.
7568 * gst/gststructure.c: (gst_structure_nth_field_name),
7569 (gst_structure_foreach), (gst_structure_map_in_place):
7570 Check input arguments for public functions to avoid obvious crashes.
7572 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7573 * plugins/elements/gstfakesink.h:
7574 Do less useless typechecking.
7576 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7578 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7579 Do not use mmap() by default since there are a number of error
7580 conditions that we would like to handle in a non-fatal way that
7581 will result in a SIGBUS if we use mmap(). Examples: external
7582 devices (USB harddrive, portable music player) being unplugged
7583 while in use; file on mounted CD/DVD that can't be read because
7584 the medium is partly damaged. Fixes #348455 and #348475.
7586 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7589 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7592 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7594 * gst/gstregistry.c:
7595 Move big documentation comment into class section header, so that it
7596 appears in the API docs.
7598 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7600 * docs/gst/gstreamer-sections.txt:
7601 Oops. Commit the docs additions too for new API.
7602 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7604 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7606 * gst/gststructure.c: (gst_structure_id_set),
7607 (gst_structure_id_set_valist):
7608 * gst/gststructure.h:
7609 Add API for setting values into structures without performing
7610 a quark lookup, if the appropriate quark is already known.
7612 API: gst_structure_id_set
7613 API: gst_structure_id_set_valist
7615 * gst/parse/grammar.y:
7616 * gst/parse/parse.l:
7617 Remove some dead code shown by the coverage information.
7618 Don't throw a critical g_warning when encountering a syntax error,
7619 just warn and let the normal error path handle it.
7621 * plugins/elements/gstelements.c:
7622 Bump the rank of filesink up to PRIMARY so that it is preferred over
7623 gnomevfssink for file:// sink uri's
7625 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7626 (GST_START_TEST), (run_delayed_test),
7627 (gst_parse_test_element_base_init),
7628 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7629 (gst_parse_test_element_change_state),
7630 (gst_register_parse_element), (parse_suite):
7631 Beef up the tests for parse syntax to check that more error cases
7632 fail as they are supposed to. Increases the test coverage a bit.
7634 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7636 * docs/manual/basics-elements.xml:
7637 Fix gst_element_link() example.
7640 Mention in API docs that one should usually gst_bin_add()
7641 elements to a bin or pipeline before doing the linking.
7643 2006-07-26 Wim Taymans <wim@fluendo.com>
7645 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7646 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7647 Avoid function call for known types by keeping the buffer and
7648 subbuffer GType global.
7650 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7651 Random silly optimisations in read() path.
7653 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7655 * tools/gst-launch.c: (main):
7656 If the top-level of the parse is a normal bin, it doesn't do the
7657 right logic to run as a top-level element, so place it inside a
7660 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7662 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7663 Remove superfluous g_object_notify() calls, GObject does
7664 that for us automatically.
7666 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7669 on Win32, use dllspec to export the debug category symbols
7671 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7673 * gst/gsttaglist.c: (_gst_tag_initialize):
7674 Allow more than one GST_TAG_IMAGE per taglist.
7676 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7678 * gst/gstminiobject.c:
7680 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7681 (gst_fd_src_create):
7682 log recurring events at LOG level
7683 add more debug for when the fd gets set
7685 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7687 * gst/gstparse.c: (gst_parse_launch):
7688 Also remove reentrance checks if flex is MT safe (#348179)
7689 Fix my empty ChangeLog entry below
7691 2006-07-21 Andy Wingo <wingo@pobox.com>
7693 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7695 * libs/gst/check/Makefile.am
7696 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7697 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7698 * libs/gst/check/gstbufferstraw.h:
7699 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7700 functions, thus proving I am still a GStreamer haxor. OK I wrote
7701 them a long time ago, but anyways.
7703 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7706 * gst/gstparse.c: (gst_parse_launch):
7707 Check for flex version and omit mutex if we have a MT save flex
7710 2006-07-21 Wim Taymans <wim@fluendo.com>
7712 * gst/gstparse.c: (gst_parse_launch):
7713 Protect recursive calls to _parse with a recursive mutex
7716 2006-07-21 Wim Taymans <wim@fluendo.com>
7718 * tests/check/gst/gstpad.c: (GST_START_TEST):
7721 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7723 * gst/gstparse.c: (gst_parse_launch):
7724 Do not hang on recursive usage of gst_parse_launch()
7726 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7729 Add some more docs, comments and FIXME 0.11s here and there
7730 and also fix some typos.
7732 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7735 Convert tabs to spaces for better readability.
7737 2006-07-20 Edward Hervey <edward@fluendo.com>
7739 * tests/check/libs/gdp.c: (gst_dp_suite):
7740 the test_buffer test fails at line 140 on ppc64 at the following
7742 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7743 GST_BUFFER_FLAG_IN_CAPS),
7744 "GST_BUFFER_IN_CAPS flag should have been copied !");
7745 See bug #348114 for more details.
7747 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7749 * docs/pwg/advanced-scheduling.xml:
7751 Fix typos (#348000).
7753 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7755 * docs/pwg/intro-basics.xml:
7756 Fix wrong links (#347927).
7758 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7760 * gst/gstregistry.h:
7761 * gst/gstregistryxml.c: (load_feature),
7762 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7763 * win32/common/config.h:
7764 make --disable-index work (#342564)
7766 2006-07-18 Wim Taymans <wim@fluendo.com>
7768 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7772 The attached patch adds two missing defines to gsttrace.h when tracing
7773 is disabled. It also corrects one existing define.
7776 2006-07-17 Wim Taymans <wim@fluendo.com>
7778 * docs/gst/gstreamer-sections.txt:
7779 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7781 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7782 Add two functions to check and change the SIGSEGV behaviour
7783 when loading plugins.
7784 Don't mess with the SIGSEGV handler when we were told not to.
7786 API: gst_segtrap_is_enabled
7787 API: gst_segtrap_set_enabled
7789 2006-07-14 Wim Taymans <wim@fluendo.com>
7791 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7792 * tests/check/elements/filesrc.c: (GST_START_TEST):
7793 Revert fix for regression in #347408 after release.
7795 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7797 Patch by: Antoine Tremblay <hexa00 at gmail com>
7799 * gst/gstutils.c: (gst_element_unlink):
7800 Free iterator when done (#347311).
7802 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7803 And add a test case for this.
7805 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7808 Bump nano back to CVS
7810 === release 0.10.9 ===
7812 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7815 releasing 0.10.9, "On the road again"
7817 2006-07-13 Wim Taymans <wim@fluendo.com>
7819 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7820 * tests/check/elements/filesrc.c: (GST_START_TEST):
7821 Revert pull-0 fix for release. Disable check. Fixes #347408.
7823 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7825 * libs/gst/dataprotocol/dataprotocol.c:
7826 (gst_dp_event_from_packet_1_0):
7827 Fixes #347337: failure to deserialize event packets with
7828 empty payload (only event type)
7830 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7833 do not install a .c file in the header directory
7835 2006-07-13 Edward Hervey <edward@fluendo.com>
7837 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7838 GhostPad no longer implicitely use the padtemplates of the targets.
7841 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7843 * gst/gstvalue.c: (gst_value_compare_list),
7844 (gst_value_compare_array), (_gst_value_initialize):
7845 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7846 Make GstValueArray comparison be order dependent as designed.
7847 Add checks for value lists and value array comparisons.
7850 2006-07-11 Edward Hervey <edward@fluendo.com>
7852 * gst/gstbin.c: (activate_pads),
7853 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7854 (gst_bin_change_state_func):
7855 (de)activate src pads before calling state_change on the childs.
7856 This is to avoid the case where a src ghostpad is blocked (holding the
7857 stream lock), which would block the deactivation of the ghostpad's
7859 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7860 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7861 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7862 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7863 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7864 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7865 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7866 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7867 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7868 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7869 (gst_ghost_pad_class_init),
7870 (gst_ghost_pad_internal_do_activate_push),
7871 (gst_ghost_pad_internal_do_activate_pull),
7872 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7873 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7874 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7875 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7876 GhostPads now create their internal GstProxyPad at creation (and not
7877 when they're linked, as it was being done previously).
7878 The internal and target pads are linked straight away.
7879 The data will also travel through the other pad in order to make
7880 pad blocking and probes non-hackish (the probe/block now really happens
7881 on the GhostPad and not on the target).
7882 * gst/gstpad.c: (gst_pad_set_blocked_async),
7883 (gst_pad_link_prepare), (gst_pad_push_event):
7884 Remove previous ghostpad cruft.
7885 * gst/gstutils.c: (gst_pad_add_data_probe),
7886 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7887 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7888 (gst_pad_remove_buffer_probe):
7889 Remove previous ghost pad cruft.
7890 Added more detailed debug statements.
7891 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7892 Fix the testsuite for refcounting changes.
7893 The comments about who has references were correct, but the refcount
7894 being checked wasn't the same (!?!).
7898 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7900 * docs/gst/gstreamer-sections.txt:
7901 * gst/gstconfig.h.in:
7902 More docs for configuration options, add docs to gtk-doc.
7904 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7907 * gst/gstconfig.h.in:
7908 * win32/common/config.h:
7909 Fix build when disabling tracing (fixes #344016). Also start to document
7910 the defines that disable the sub-systems.
7912 2006-07-10 Edward Hervey <edward@fluendo.com>
7914 * gst/gst.c: (ensure_current_registry_forking):
7915 let's make valgrind happy...
7917 2006-07-09 Wim Taymans <wim@fluendo.com>
7919 * gst/gstelement.c: (activate_pads),
7920 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7921 Better pad activation code: Reset the collect value too on resync.
7924 2006-07-09 Wim Taymans <wim@fluendo.com>
7926 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7927 (gst_pad_activate_push):
7928 Use some more macros where it makes sense.
7929 Allow pad mode switching instead of asserting. When a pad
7930 is activated in one mode and we activate it in another,
7931 deactivate it first before activating it in a different mode.
7934 2006-07-08 Andy Wingo <wingo@pobox.com>
7936 * tools/gst-launch.c (main): Handle err == NULL.
7938 * gst/gst.c (init_post, ensure_current_registry)
7939 (ensure_current_registry_forking)
7940 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7941 factoring out the registry scanning into separate functions. Don't
7942 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7943 Better environment var name/interface suggestions accepted.
7945 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7947 * gst/gstobject.c: (gst_object_set_name_default),
7948 (gst_object_set_name):
7949 Random micro-optimisation: don't use a hash table
7950 with strings as keys and the usual strdup/strcmp
7951 involved, but rather just use the GQuark of the
7952 type name as key, since it needs to be looked up
7953 anyway to get the type name string.
7955 * tests/check/gst/gstobject.c: (GST_START_TEST):
7958 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7960 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7961 (gst_bin_iterate_all_by_interface):
7962 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7963 GTypes are gulongs and thus the top 4 bytes might be cut
7964 off on some platforms when doing GPOINTER_TO_INT, leading
7965 to invalid GTypes and bad things happening (see RH bug #179654).
7966 Also add a check to make sure the type passed in is really
7969 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7974 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7978 * gst-element-check.m4:
7979 * gst-element-check.m4.in:
7980 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7981 instead of the unversioned gst-inspect (#324176, #168659).
7983 2006-07-06 Wim Taymans <wim@fluendo.com>
7986 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7989 2006-07-06 Wim Taymans <wim@fluendo.com>
7991 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7992 (gst_base_src_wait), (gst_base_src_update_length),
7993 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7994 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7995 (gst_base_src_loop), (gst_base_src_start),
7996 (gst_base_src_activate_pull):
7998 blocksize == 0 now means the default blocksize when working in push
8000 Remove some pointless asserts in _wait function.
8001 Fix offset/length calculations and EOS handling. We can now pull 0
8002 bytes as well, which is allowed.
8003 use _check_get_range() to decide if we can operate in _pull based
8005 Fix refcounting leak when check_get_range function was not
8007 API GstBaseSrc::blocksize range can be 0 too now (default)
8009 * tests/check/elements/filesrc.c: (GST_START_TEST),
8011 Added check to test _get_range() behaviour.
8013 2006-07-06 Wim Taymans <wim@fluendo.com>
8015 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8016 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8017 (gst_pad_pull_range):
8019 Lots of comments and docs added to the pad functions.
8020 Flesh out the expected behaviour of the get_range() functions.
8022 2006-07-06 Wim Taymans <wim@fluendo.com>
8027 * gst/gstiterator.h:
8031 Remove comma at end of enumerator list.
8033 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8035 * win32/common/libgstbase.def:
8036 * win32/common/libgstdataprotocol.def:
8037 * win32/common/libsgtreamer.def:
8038 Add new exported functions.
8040 2006-07-05 Wim Taymans <wim@fluendo.com>
8042 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8043 Add some more docs here and there.
8045 2006-07-05 Wim Taymans <wim@fluendo.com>
8047 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8048 (gst_base_sink_loop), (gst_base_sink_get_position):
8049 When operating in pull mode update the offset so that we
8052 2006-07-05 Wim Taymans <wim@fluendo.com>
8054 * gst/gstregistryxml.c: (read_string):
8055 Avoid strdup. (will happen in libxml, but hey!)
8060 2006-07-05 Wim Taymans <wim@fluendo.com>
8062 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8063 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8065 No point in checking if the size of the subbuffer > 0, the
8066 code handles it correclty as demonstrated by unit test.
8067 Also add a unit test for the zero sized _new_and_alloc and
8068 _copy. Fixes #346663.
8070 2006-07-05 Wim Taymans <wim@fluendo.com>
8072 * libs/gst/base/gstbasetransform.c:
8073 (gst_base_transform_prepare_output_buffer),
8074 (gst_base_transform_buffer_alloc),
8075 (gst_base_transform_handle_buffer):
8076 Make sure the buffer we pass to transform_ip has a refcount of
8077 1 and thus is writable. Fixes #343196
8079 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8081 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8082 (gst_file_src_init), (gst_file_src_set_property),
8083 (gst_file_src_get_property), (gst_file_src_map_region):
8084 * plugins/elements/gstfilesrc.h:
8085 Add "sequential" property, off by default, to use madvise and hint
8086 to the kernel that sequential access is desired.
8087 Touch all retrieved pages by default to ensure they are pulled
8088 into memory. (Closes #345720)
8090 2006-07-03 Wim Taymans <wim@fluendo.com>
8092 * docs/design/part-block.txt:
8093 * docs/design/part-dynamic.txt:
8096 2006-07-03 Wim Taymans <wim@fluendo.com>
8098 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8099 (gst_caps_unref), (gst_static_caps_get),
8100 (gst_caps_append_structure):
8101 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8102 Use GSlice when the glib we build against is >= 2.10
8104 2006-07-03 Wim Taymans <wim@fluendo.com>
8106 * gst/gstelement.c: (gst_element_pads_activate):
8107 Small cleanup in pad activation code.
8109 2006-07-03 Wim Taymans <wim@fluendo.com>
8111 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8113 * gst/gst-i18n-app.h:
8114 * gst/gst-i18n-lib.h:
8115 * tools/gst-inspect.c: (print_signal_info):
8116 The attached patch will make the inclusion of gettext.h unconditional in
8117 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8118 libintl.h in tools/gst-inspect.c.
8119 This allows use of --disable-nls again and fixes #344642.
8121 2006-07-03 Edward Hervey <edward@fluendo.com>
8123 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8124 Implement pad blocking on events according to part-block.txt.
8125 More comments on behaviour.
8126 * tests/check/gst/gstevent.c: (test_event):
8127 Send event to peer pad of blocked pad (else it will block).
8129 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8131 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8132 (gst_check_run_suite):
8133 if we get the wrong message, give us the types as string
8134 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8136 * tests/check/elements/filesrc.c: (GST_START_TEST):
8137 add a test for trying to open a non-existing file
8139 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8141 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8142 add a test for adding self
8144 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8146 * libs/gst/check/gstcheck.h:
8147 add some assert_ as alias for fail_unless_*
8148 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8149 increase test coverage
8151 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8154 include lcov.mak for lcov coverage generation
8155 * tools/Makefile.am:
8158 2006-07-02 Edward Hervey <edward@fluendo.com>
8160 * tests/check/elements/.cvsignore:
8163 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8166 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8167 * tests/check/Makefile.am:
8170 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8172 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8173 remove gst_caps_simplify; it was not declared and not used
8174 and deprecated in 0.8
8176 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8178 * docs/faq/gst-uninstalled:
8179 don't put empty paths on PYTHONPATH
8180 * docs/gst/gstreamer-sections.txt:
8181 remove some symbols that are not there
8183 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8185 * gst/gstcaps.c: (gst_caps_compare_structures):
8187 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8188 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8191 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8193 * libs/gst/dataprotocol/Makefile.am:
8194 build dataprotocol test by linking to the lib, instead of
8195 compiling the source, so we get coverage
8196 * tests/check/Makefile.am:
8197 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8198 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8199 add a test for filesrc
8201 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8203 * tests/check/gst/gststructure.c: (GST_START_TEST),
8204 (gst_structure_suite):
8205 Push coverage from 59.04% to 70.00%
8207 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8209 * tests/check/Makefile.am:
8210 gst-inspect every element; this makes sure that we also get
8211 coverage on element's get/set functions
8213 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8216 set CFLAGS and friends to -O0 if gcov is being used
8219 * libs/gst/base/Makefile.am:
8220 * libs/gst/check/Makefile.am:
8221 * libs/gst/controller/Makefile.am:
8222 * libs/gst/dataprotocol/Makefile.am:
8223 * libs/gst/net/Makefile.am:
8224 * plugins/elements/Makefile.am:
8225 * plugins/indexers/Makefile.am:
8226 add makefile rules to generate gcov data and clean up
8227 * tests/check/Makefile.am:
8228 add a coverage target that generates an html overview
8231 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8233 * tests/check/elements/fakesink.c:
8234 * tests/check/elements/fakesrc.c:
8235 * tests/check/elements/fdsrc.c:
8236 * tests/check/elements/identity.c:
8237 * tests/check/generic/sinks.c: (gst_sinks_suite):
8238 * tests/check/generic/states.c:
8239 * tests/check/gst/gst.c:
8240 * tests/check/gst/gstabi.c:
8241 * tests/check/gst/gstbin.c:
8242 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8243 * tests/check/gst/gstbus.c: (gst_bus_suite):
8244 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8245 * tests/check/gst/gstelement.c:
8246 * tests/check/gst/gstevent.c: (gst_event_suite):
8247 * tests/check/gst/gstghostpad.c:
8248 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8249 * tests/check/gst/gstmessage.c: (gst_message_suite):
8250 * tests/check/gst/gstminiobject.c:
8251 * tests/check/gst/gstobject.c:
8252 * tests/check/gst/gstpad.c:
8253 * tests/check/gst/gstpipeline.c:
8254 * tests/check/gst/gstplugin.c:
8255 * tests/check/gst/gstquery.c: (gst_query_suite):
8256 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8257 * tests/check/gst/gststructure.c:
8258 * tests/check/gst/gstsystemclock.c:
8259 * tests/check/gst/gsttag.c:
8260 * tests/check/gst/gsttask.c: (gst_task_suite):
8261 * tests/check/gst/gstutils.c:
8262 * tests/check/gst/gstvalue.c:
8263 * tests/check/libs/adapter.c:
8264 * tests/check/libs/basesrc.c:
8265 * tests/check/libs/collectpads.c:
8266 * tests/check/libs/controller.c:
8267 * tests/check/libs/gdp.c: (gst_dp_suite):
8268 * tests/check/libs/gstnetclientclock.c:
8269 * tests/check/libs/gstnettimeprovider.c:
8270 * tests/check/libs/libsabi.c: (libsabi_suite):
8271 * tests/check/libs/typefindhelper.c:
8272 * tests/check/pipelines/cleanup.c:
8273 * tests/check/pipelines/parse-launch.c:
8274 * tests/check/pipelines/simple-launch-lines.c:
8275 * tests/check/pipelines/stress.c: (stress_suite):
8278 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8280 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8281 * libs/gst/check/gstcheck.h:
8282 create a macro and function so that the simple unit test
8283 case can be just one macro to create main()
8285 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8287 * gst/gstbin.c: (gst_bin_restore_thyself):
8288 * gst/gstxml.c: (gst_xml_make_element):
8289 Fix deserialisation from XML. Set parent manually
8290 instead of using gst_bin_add(), since gst_bin_add()
8291 will unlink all pads of the element being added.
8294 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8296 Patch by: Peter Kjellerstedt <pkj at axis com>
8298 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8299 Fix missing g_strdup() and double free when using the
8300 --gst-plugin-load command line option (#346097).
8302 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8305 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8307 * libs/gst/net/gstnetclientclock.c:
8308 * libs/gst/net/gstnettimeprovider.c:
8309 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8311 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8313 * docs/manual/advanced-dataaccess.xml:
8314 Fix buffer probe example compilation in
8317 2006-06-22 Edward Hervey <edward@fluendo.com>
8319 * gst/gstelement.c: (gst_element_pads_activate):
8320 We need to deactivate src pads first and then sink pads.
8321 The reason is the src pads might be blocking while holding the streaming
8322 lock, so we need to deactivate them first so that deactivating the sink
8323 pads doesn't block (since it will require the streaming lock).
8325 2006-06-22 Wim Taymans <wim@fluendo.com>
8327 * libs/gst/base/gstbasetransform.c:
8328 (gst_base_transform_buffer_alloc):
8329 Forgot to remove two unneeded unrefs.
8330 Simplify a check _is_equal allready checks the obvious case.
8332 2006-06-22 Wim Taymans <wim@fluendo.com>
8334 * docs/design/part-block.txt:
8335 Some docs about what pad_block should do.
8337 2006-06-22 Wim Taymans <wim@fluendo.com>
8339 * gst/gstcaps.c: (gst_caps_replace):
8340 Fix crasher when passed NULL. Doc clarification.
8341 Optimize for the trivial case.
8343 * gst/gstpipeline.c: (gst_pipeline_change_state):
8346 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8347 Small documentation cleanup.
8349 * libs/gst/base/gstbasetransform.c:
8350 (gst_base_transform_buffer_alloc):
8351 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8352 is what we need and it avoids a whole lot of redundant
8353 refcount operations.
8355 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8357 Patch by: Philip Jägenstedt <philip at lysator liu se>
8359 * docs/manual/advanced-dataaccess.xml:
8360 Fix 'Embedding static elements' section to use
8361 GST_PLUGIN_DEFINE_STATIC (#345607).
8363 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8365 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8366 Attempt to 'fix' spuriously failing test case: it seems like the
8367 timeout of half a second is simply too small when the system is under
8368 load otherwise, and the timeout doesn't really seem to serve any
8369 particular purpose here. Give the pipeline a few seconds to preroll
8370 first, and then give it another half a second to go from PAUSED to
8371 PLAYING and marshal the message into the main thread.
8373 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8375 * tools/gst-feedback-m.m:
8376 Don't only use unversioned tools, try versioned tools as well
8379 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8381 * gst/gstbus.c: (gst_bus_class_init):
8382 Fix some typos, make docs more explicit.
8384 2006-06-20 Wim Taymans <wim@fluendo.com>
8386 * tests/check/gst/gstghostpad.c: (block_callback),
8387 (GST_START_TEST), (gst_ghost_pad_suite):
8388 Added some more ghostpad tests, mainly blocking
8391 2006-06-16 Wim Taymans <wim@fluendo.com>
8393 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8394 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8395 (gst_file_sink_event), (gst_file_sink_render):
8396 * plugins/elements/gstfilesink.h:
8397 Check if we can seek in the file instead of assuming
8398 we always can. Post an error when we are asked to seek in a
8399 non-seekable file (like a fifo). Fixes #343312.
8402 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8404 * tools/gst-launch.1.in:
8405 Un-garble (fourcc) bit in filtered caps section.
8407 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8409 * docs/manual/advanced-autoplugging.xml:
8410 * docs/manual/basics-helloworld.xml:
8411 * docs/manual/highlevel-components.xml:
8412 Don't leak bus reference in sample code.
8414 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8417 Add default for new --enable-plugin-docs switch.
8420 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8424 Use new ENABLE_PLUGIN_DOCS conditional.
8426 2006-06-14 Wim Taymans <wim@fluendo.com>
8428 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8429 Make it clear with a FIXME and a real define what the #if 0
8430 previously disabled.
8432 2006-06-14 Wim Taymans <wim@fluendo.com>
8434 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8435 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8436 * libs/gst/base/gstbasetransform.c:
8437 (gst_base_transform_sink_eventfunc):
8438 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8439 Don't randomly and silently reset a segment when the format
8440 changes as this is a bug somewhere upstream. Fixes #330379.
8442 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8444 Patch by: Wouter Paesen <wouter at kangaroot net>
8446 * libs/gst/controller/gstcontroller.c:
8447 (gst_controlled_property_new):
8448 Fix controlling of float properties (#344849).
8450 * tests/check/libs/controller.c:
8451 (gst_test_mono_source_get_property),
8452 (gst_test_mono_source_set_property),
8453 (gst_test_mono_source_class_init), (GST_START_TEST):
8454 While we're at it, add some float stuff to unit test.
8456 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8459 * docs/images/gdp-header.svg:
8461 * docs/libs/Makefile.am:
8462 * docs/libs/gdp-header.png:
8463 * libs/gst/dataprotocol/dataprotocol.c:
8464 add it to the API docs
8465 * docs/manual/intro-motivation.xml:
8468 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8470 * gst/gst.c: (scan_and_update_registry), (init_post):
8471 If the fork()'ed child process can't write the updated registry cache
8472 file to disk for some reason, make it exit with a failure exit code,
8473 so that the parent can then re-scan the plugins itself and update the
8474 registry structures in memory and work with that (rather than failing
8475 when creating elements because seemingly no plugins are available).
8476 Refactor registry scanning code into separate function for this and
8477 also separate fork() and non-fork() code paths. Fixes #344748.
8479 2006-06-13 Wim Taymans <wim@fluendo.com>
8481 * docs/manual/advanced-dataaccess.xml:
8482 Fix wrong PluginDesc. Fixes #344755.
8484 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8486 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8487 Fix silly bug that prevented us from creating
8488 ~/.gstreamer-0.10 and writing the registry in one
8489 go (the first call to g_mkstemp() would overwrite the
8490 placeholder in the template string, so the second call
8491 to g_mkstemp() after creating the missing directory
8492 would then error out with 'invalid argument').
8494 2006-06-13 Edward Hervey <edward@fluendo.com>
8496 * gst/gst.c: (init_post):
8499 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8501 * gst/glib-compat-private.h:
8502 * gst/glib-compat.c:
8503 * gst/glib-compat.h:
8504 * gst/gstvalue.c: (gst_value_serialize_flags):
8505 remove GLib 2.6 compatibility code
8507 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8509 * gst/parse/Makefile.am:
8510 Fix build with 'make -j N' even more (#340016).
8512 2006-06-12 Wim Taymans <wim@fluendo.com>
8514 * docs/gst/gstreamer-sections.txt:
8517 2006-06-12 Wim Taymans <wim@fluendo.com>
8519 * gst/gstsegment.c: (gst_segment_set_duration),
8520 (gst_segment_set_last_stop), (gst_segment_set_seek),
8521 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8522 (gst_segment_to_running_time), (gst_segment_clip):
8523 Use G_UNLIKELY to help the compiler a bit.
8525 2006-06-12 Wim Taymans <wim@fluendo.com>
8527 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8529 * gst/gstevent.c: (gst_event_get_type):
8531 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8533 constify quark registration strings. Fixes #344115
8534 Avoid unneeded type checking is _pad_push() by internally
8535 calling gst_pad_chain_unchecked().
8537 2006-06-12 Wim Taymans <wim@fluendo.com>
8539 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8540 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8541 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8542 (gst_buffer_is_span_fast), (gst_buffer_span):
8543 Init _type for consistency.
8544 Use _FLAGS macro to avoid type check.
8545 Avoid unneeded type checks in subbufer code.
8547 2006-06-12 Wim Taymans <wim@fluendo.com>
8549 * gst/gst.c: (gst_debug_help):
8550 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8551 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8552 (gst_plugin_feature_list_free):
8553 * gst/gstregistry.c: (gst_registry_add_plugin),
8554 (gst_registry_add_feature), (gst_registry_plugin_filter),
8555 (gst_registry_feature_filter), (gst_registry_find_plugin),
8556 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8557 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8558 * gst/gstregistryxml.c: (load_feature),
8559 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8560 * gst/gstminiobject.c: (gst_mini_object_unref),
8561 (gst_mini_object_replace), (gst_value_mini_object_free),
8562 (gst_value_mini_object_copy):
8563 Use _CAST macros to avoid unneeded type checking.
8564 Added some more G_UNLIKELY.
8566 2006-06-12 Wim Taymans <wim@fluendo.com>
8569 Avoid unneeded type checking.
8570 API: GST_BUFFER_IS_DISCONT
8572 * gst/gstminiobject.h:
8573 Avoid type check in flag accessor.
8575 * gst/gstelementfactory.h:
8577 * gst/gstpluginfeature.h:
8579 API: GST_ELEMENT_FACTORY_CAST
8580 API: GST_PLUGIN_CAST
8581 API: GST_PLUGIN_FEATURE_CAST
8583 2006-06-12 Wim Taymans <wim@fluendo.com>
8585 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8587 Add G_UNLIKELY in type registration.
8588 Avoid type check in _ref/_unref since that is also
8591 2006-06-12 Wim Taymans <wim@fluendo.com>
8593 * gst/gsterror.c: (gst_g_error_get_type):
8594 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8595 (gst_static_pad_template_get_type):
8596 * gst/gsttaglist.c: (gst_tag_list_get_type):
8597 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8598 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8599 * gst/gsturi.c: (gst_uri_handler_get_type):
8600 * gst/gstvalue.c: (gst_date_get_type):
8601 * gst/gstxml.c: (gst_xml_get_type):
8602 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8603 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8604 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8605 Add G_UNLIKELY in type registration.
8607 2006-06-12 Wim Taymans <wim@fluendo.com>
8609 * tools/gst-inspect.c: (print_signal_info):
8610 Properly print enum values.
8612 2006-06-12 Wim Taymans <wim@fluendo.com>
8614 * gst/gstinfo.c: (gst_debug_set_active),
8615 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8617 Add some G_[UN]LIKELY.
8618 Maintain __gst_debug_min to avoid formatting the arguments of
8619 debug messages that will be dropped anyway to avoid a lot of
8620 overhead from the debugging system.
8622 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8626 add missing files containing translatable strings, tell intltool about
8629 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8631 * tests/check/libs/.cvsignore:
8632 add test-binary to ignore list
8634 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8636 * docs/libs/gstreamer-libs-docs.sgml:
8637 reorder (put dp into a chapter) and indent
8639 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8644 === release 0.10.8 ===
8646 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8649 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8651 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8653 * gst/gst.c: (init_post):
8654 move pid declaration to declaration block
8656 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8658 * gst/gst.c: (init_post):
8659 use _exit() instead of exit() in our forked child; this ensures
8660 that none of the registered exit handlers from whatever is using
8661 GStreamer get executed. This fixes gnome-mixer-applet failing
8662 to load, because ORBit would shut down.
8663 Spotted by: Edward Hervey <edward@fluendo.com>
8664 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8667 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8672 === release 0.10.7 ===
8674 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8677 releasing 0.10.7, "Soepeke, ik zie ou"
8679 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8702 * win32/common/config.h:
8705 2006-06-07 Wim Taymans <wim@fluendo.com>
8707 * gst/gstindex.c: (gst_index_gtype_resolver):
8708 * tools/gst-xmlinspect.c: (print_plugin_info):
8709 Fix leak spotted by coverity checker. Fixes #343827
8710 Fix another other leak found by paolo borelli.
8712 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8714 * libs/gst/dataprotocol/dataprotocol.c:
8715 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8716 (gst_dp_version_get_type), (gst_dp_init),
8717 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8718 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8719 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8720 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8721 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8722 (gst_dp_packetizer_free):
8723 * libs/gst/dataprotocol/dataprotocol.h:
8724 API: add a GstDPPacketizer object, and create/free functions
8725 API: add GstDPVersion enum
8726 Add 1.0 event function that uses the string serialization
8727 Serialize more useful buffer flags
8730 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8732 * tests/check/Makefile.am:
8733 * tests/check/gst/gstabi.c:
8734 * tests/check/gst/struct_ppc64.h:
8735 * tests/check/libs/libsabi.c:
8736 * tests/check/libs/struct_ppc64.h:
8737 add ppc64 structure sizes
8739 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8741 * tests/check/Makefile.am:
8742 * tests/check/gst/gstabi.c:
8743 * tests/check/gst/struct_x86_64.h:
8744 * tests/check/libs/libsabi.c:
8745 * tests/check/libs/struct_x86_64.h:
8746 generate and add structure size lists for x86_64
8748 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8750 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8751 * libs/gst/check/gstcheck.h:
8752 factor out the method from tests that checks size of structures,
8753 and add code to generate the header containing these sizes
8754 * tests/check/gst/gstabi.c: (GST_START_TEST):
8755 * tests/check/gst/struct_i386.h:
8756 * tests/check/libs/libsabi.c: (GST_START_TEST):
8757 * tests/check/libs/struct_i386.h:
8760 2006-06-06 Michael Smith <msmith@fluendo.com>
8763 Don't use c++-style comments, fixes #343929
8765 2006-06-05 Edward Hervey <edward@fluendo.com>
8768 plugin_paths is not used if we build without registry support.
8770 * gst/gstsegment.c: (gst_segment_copy):
8771 _copy() was always returning NULL...
8773 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8775 * libs/gst/dataprotocol/dataprotocol.c:
8776 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8777 (gst_dp_packet_from_event):
8780 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8782 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8783 make sure we unset caps
8785 2006-06-02 Michael Smith <msmith@fluendo.com>
8787 * libs/gst/check/gstcheck.c: (gst_check_init),
8788 (gst_check_chain_func):
8789 * libs/gst/check/gstcheck.h:
8790 Add a cond/mutex to the check support lib, signal this whenever we
8791 add to the buffers list. This will allow tests to not busy-wait on
8794 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8796 * libs/gst/dataprotocol/dataprotocol.c:
8797 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8798 (gst_dp_packet_from_event):
8799 factor out some common header init code
8801 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8803 * docs/libs/gstreamer-libs-sections.txt:
8804 * docs/libs/tmpl/gstdataprotocol.sgml:
8805 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8806 * libs/gst/dataprotocol/dataprotocol.h:
8807 API: make gst_dp_crc() public
8809 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8811 * plugins/indexers/gstindexers.c: (plugin_init):
8812 conditionally register fileindexer (fixes #343598)
8814 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8816 * gst/gsttagsetter.h:
8817 Can't cast ifaces to a class
8819 * libs/gst/net/gstnetclientclock.h:
8820 * libs/gst/net/gstnettimeprovider.h:
8821 * plugins/elements/gstfakesink.h:
8822 * plugins/elements/gstfakesrc.h:
8823 * plugins/elements/gstfdsink.h:
8824 * plugins/elements/gstfdsrc.h:
8825 * plugins/elements/gstfilesink.h:
8826 * plugins/elements/gstfilesrc.h:
8827 * plugins/elements/gstidentity.h:
8828 * plugins/elements/gstqueue.h:
8829 * plugins/elements/gsttee.h:
8830 * plugins/indexers/gstfileindex.c:
8831 * plugins/indexers/gstmemindex.c:
8832 * tests/old/examples/plugins/example.h:
8833 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8835 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8837 * libs/gst/dataprotocol/dataprotocol.c:
8838 (gst_dp_header_from_buffer):
8839 make sure we zero the whole ABI-compatible area
8841 2006-06-01 Wim Taymans <wim@fluendo.com>
8843 Patch by: Alessandro Decina <alessandro at nnva dot org>
8845 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8846 Make sure the EOS flag is cleared from pads after a flush
8847 or stop. Fixes #343538.
8849 * tests/check/libs/collectpads.c: (GST_START_TEST),
8850 (gst_collect_pads_suite):
8851 Added test for collectpads reusage after EOS.
8853 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8856 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8857 * win32/common/libgstbase.def:
8858 export gst_collect_pads_set_flushing
8859 * win32/common/libgstreamer.def:
8860 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8861 gst_value_fraction_multiply
8862 * win32/vs6/gst_inspect.dsp:
8863 add a link to intl.lib
8865 2006-05-30 Wim Taymans <wim@fluendo.com>
8867 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8868 (gst_collect_pads_chain):
8869 Handle the case where a pad is removed from the collection
8870 that could cause the other pads to become collectable.
8872 2006-05-30 Wim Taymans <wim@fluendo.com>
8875 Clarify the use of _release_request_pad() and
8876 _get_request_pad() a bit better.
8878 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8879 (gst_adapter_take_buffer):
8880 Fix some doc and comment typos.
8882 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8884 * docs/gst/gstreamer-sections.txt:
8885 * docs/libs/gstreamer-libs-sections.txt:
8886 add declared symbols
8888 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8890 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8891 Add debug that can be enabled using a #define at the top of the file,
8892 for dumping stats about how late/early we were when waking up from
8893 waiting on the clock.
8895 2006-05-30 Wim Taymans <wim@fluendo.com>
8897 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8898 When rebuilding the pad list, don't leak the previous list.
8900 2006-05-30 Wim Taymans <wim@fluendo.com>
8902 Patch by: Lutz Mueller <lutz at topfrose dot de>
8904 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8905 (gst_base_src_get_query_types), (gst_base_src_update_length):
8906 Publish supported query types.
8907 Update last_stop field in get_range mode so the position
8908 query works. Fixes #342321.
8910 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8912 * docs/gst/gstreamer-sections.txt:
8913 * gst/gsttaglist.c: (_gst_tag_initialize):
8915 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8917 2006-05-30 Wim Taymans <wim@fluendo.com>
8919 Patch by: Alessandro Decina <alessandro at nnva dot org>
8921 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8922 Unlock mutex when removing an unknown pad.
8925 * tests/check/Makefile.am:
8926 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8927 (push_event), (setup), (teardown), (GST_START_TEST),
8928 (gst_collect_pads_suite), (main):
8929 Added collecpads check, disabled for now as check crashes for
8932 2006-05-29 Wim Taymans <wim@fluendo.com>
8934 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8935 Don't leak pads lists.
8937 2006-05-29 Wim Taymans <wim@fluendo.com>
8939 * docs/libs/gstreamer-libs-sections.txt:
8940 * libs/gst/base/gstcollectpads.c:
8941 (gst_collect_pads_set_flushing_unlocked),
8942 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8943 (gst_collect_pads_stop):
8944 * libs/gst/base/gstcollectpads.h:
8945 API: gst_collect_pads_set_flushing()
8946 Added api to set the pads to flushing, useful for seeking
8947 code in elements using collectpads.
8948 Clear segment when receiving a flush.
8950 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8952 * gst/gst.c: (add_path_func), (init_post):
8953 Don't scan registry paths passed via --gst-plugin-path immediately
8954 (will crash, because absolutely nothing is set up and no types are
8955 registered etc.); do this later in init_post(). Fixes #343057.
8957 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8959 * gst/gst.c: (init_post):
8960 if we have fork, fork while reading/rebuilding the registry
8961 so the parent doesn't take the hit of having all plugins loaded
8962 in memory. Fixes #342777.
8964 Check if we have fork()
8965 * win32/common/config.h.in:
8968 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8970 * plugins/elements/gstelements.c:
8971 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8972 (gst_file_src_init), (gst_file_src_set_property),
8973 (gst_file_src_get_property), (gst_file_src_start):
8974 * plugins/elements/gstfilesrc.h:
8975 API: GstFileSrc::use-mmap
8977 Add a use-mmap property to enable easier testing of all code paths.
8978 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8979 in the absence of gnomevfssrc. (Closes #340501)
8981 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8983 * tools/gst-inspect.c:
8984 Add missing include, removes warning of ngettext not being defined on
8987 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8989 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8990 Handle NULL input and output pointers silently as a failed conversion,
8991 rather than g_warnings.
8993 2006-05-25 Wim Taymans <wim@fluendo.com>
8995 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8996 Initialize variable before using. Fixes #342820.
8998 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9000 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9001 Fix off-by-one bug that would only allow peeks of N-1 bytes
9002 from the start even if the buffer to typefind on contains
9003 in fact N bytes of data (makes vorbis typefinding from a
9004 vorbis identification header buffer work).
9006 * tests/check/Makefile.am:
9007 * tests/check/libs/.cvsignore:
9008 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9009 (gst_typefindhelper_suite), (main), (foobar_typefind),
9011 Add very basic unit test for gst_type_find_helper_for_buffer()
9012 that checks for the problem fixed above.
9014 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9016 * tools/gst-inspect.c: (print_interfaces),
9017 (print_element_properties_info), (print_element_list), (main):
9018 add more translatable strings
9020 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9022 Patch by: Julien Moutte <julien at moutte net>
9024 * docs/gst/gstreamer-sections.txt:
9025 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9027 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9028 (gst_fake_sink_preroll):
9029 * plugins/elements/gstfakesink.h:
9030 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9032 2006-05-23 Wim Taymans <wim@fluendo.com>
9034 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9036 Added _CUSTOM error and success GstFlowReturn that can be
9037 used be elements internally.
9038 Added macro to check for SUCCESS flowreturns.
9039 API: GST_FLOW_CUSTOM_SUCCESS
9040 API: GST_FLOW_CUSTOM_ERROR
9041 API: GST_FLOW_IS_SUCCESS
9043 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9044 Added check for GstFlowReturn sanity.
9046 2006-05-23 Wim Taymans <wim@fluendo.com>
9048 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9050 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9051 (gst_collect_pads_event):
9052 clear/reset segment info in FLUSH_STOP.
9055 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9057 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9058 (gst_collect_pads_check_collected):
9059 Flush queued buffer on _stop(), fixes playing again (#342454)
9061 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9063 * tests/check/gst/gststructure.c: (GST_START_TEST),
9064 (gst_structure_suite):
9065 add a test for a complete structure
9067 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9069 * docs/faq/developing.xml:
9071 * docs/faq/troubleshooting.xml:
9072 * docs/faq/using.xml:
9073 Some minor FAQ updates that won't change the fact that
9074 our FAQ is badly structured, full of information hardly
9075 anyone new to GStreamer needs to know and lacking lots
9076 of information people constantly ask for.
9078 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9080 * gst/gstpad.c: (gst_pad_set_caps):
9081 Short-circuit gst_pad_set_caps if setting the existing
9082 caps pointer again, and avoid printing debug and
9083 reffing/unreffing the caps.
9085 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9086 There's actually no need to set the caps before pushing -
9087 the acceptcaps method will handle it anyway.
9089 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9091 * docs/gst/gstreamer-sections.txt:
9092 * win32/common/libgstreamer.def:
9093 * gst/gstutils.c: (gst_element_seek_simple):
9095 API: add gst_element_seek_simple() (#342238).
9097 2006-05-18 Edward Hervey <edward@fluendo.com>
9099 * gst/gsttypefind.c: (gst_type_find_get_type):
9100 * gst/gsttypefind.h:
9101 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9102 registered for GstTypeFind pointers. This allows wrapping the structure
9103 in bindings (i.e. gst-python).
9105 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9107 * gst/gsttagsetter.c:
9108 Docs additions and fixes (see #339918).
9110 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9112 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9113 The caps intersection algorithm can produce multiple copies of the
9114 caps. Until that is fixed, we need to simplify the result to be
9115 sure whether the allowed caps are fixed or not.
9117 * plugins/elements/gstqueue.c: (gst_queue_init),
9118 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9119 (gst_queue_push_one):
9120 Proxied buffer alloc should not set the caps on the source pad.
9121 When pushing buffers, we always accept the caps change that triggers.
9122 This prevents negotiation errors caused by caps changing mid-stream
9123 and then being refused on our source pad (because upstream is now
9124 refusing those caps).
9126 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9128 * tests/examples/helloworld/helloworld.c: (main):
9129 Must plug audioconvert and audioresample between decoder
9132 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9134 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9135 (load_feature), (load_plugin):
9136 Allow empty strings for some of the plugin fields so we don't
9137 drop valid plugin entries that were written out correctly
9140 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9142 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9143 Use g_remove and g_rename instead of remove and rename that don't
9144 handle utf8 characters. rename was failing for users who had specific
9145 characters in their name then the registry was built at each
9147 * win32/vs6/gst_inspect.dsp:
9148 * win32/vs6/gst_launch.dsp:
9149 * win32/vs6/libgstbase.dsp:
9150 * win32/vs6/libgstcoreelements.dsp:
9151 * win32/vs6/libgstreamer.dsp:
9152 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9153 build of libgstreamer and clean unused libraries in projects link
9156 2006-05-17 Edward Hervey <edward@fluendo.com>
9158 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9159 The queue is not responsible for pushing an EOS when receiving a fatal
9160 flow error. It's up to the real element driving the pipeline to do that.
9162 2006-05-16 Edward Hervey <edward@fluendo.com>
9164 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9165 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9166 buffer returned a fatal error. It should just send an EOS and stop
9168 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9169 when pushing buffers on the queue and will be able to handle the event.
9171 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9173 * docs/manual/basics-bins.xml:
9174 * docs/manual/basics-init.xml:
9175 Fix typos and minor errors in sample code (#341856).
9177 2006-05-16 Wim Taymans <wim@fluendo.com>
9179 * docs/design/part-qos.txt:
9180 Fix indexes in formulas to make more sense.
9182 2006-05-15 Wim Taymans <wim@fluendo.com>
9184 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9185 Don't report POSITION based on clock time if sync is
9188 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9191 Add cast to make compiler happy - refcount variable was a gint
9192 in GstObject but is a guint in GObject and g_atomic_int_get()
9195 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9197 * gst/parse/Makefile.am:
9198 chain commands using &&, which also makes parallel make work
9200 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9202 * docs/gst/gstreamer-sections.txt:
9208 === release 0.10.6 ===
9210 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9213 releasing 0.10.6, "Take the cannoli"
9215 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9217 * tools/gst-launch.c: (print_tag):
9218 Fix use of uninitialized variable in the hypothetical
9219 case that some broken plugin creates a GST_TAG_IMAGE
9220 tag containing a NULL buffer (#341667).
9222 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9224 * tools/gst-launch.c: (print_tag):
9225 Print something more intelligible for image tags when
9226 using the -t switch (#341556).
9228 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9233 define GST_MAJORMINOR so we have it available in win32/common/config.h
9234 Possibly remove it from our Makefile.am files later
9235 * win32/common/config.h:
9236 * win32/common/config.h.in:
9237 added GST_MAJORMINOR
9238 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9239 * win32/common/gstversion.h:
9242 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9245 Update win32 files listing.
9246 * win32/common/gstversion.h:
9247 Add GST_MAJORMINOR definition.
9248 * win32/common/libgstreamer.def:
9249 Add new exported functions.
9251 2006-05-12 Michael Smith <msmith@fluendo.com>
9253 * gst/gstplugin.c: (gst_plugin_load_file):
9254 If an so file has no plugin entry point, unload the module.
9256 2006-05-11 Wim Taymans <wim@fluendo.com>
9258 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9259 (gst_queue_set_property):
9260 Don't forget to signal the _chain or _loop function
9261 when the queue size or thresholds change since that might
9262 cause them to make progres again.
9264 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9266 * gst/gstclock.c: (gst_clock_class_init):
9267 * gst/gstindex.c: (gst_index_class_init):
9268 * gst/gstobject.c: (gst_object_class_init):
9269 * gst/gstpad.c: (gst_pad_class_init):
9270 * gst/gstpipeline.c: (gst_pipeline_class_init):
9271 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9272 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9273 * libs/gst/base/gstbasetransform.c:
9274 (gst_base_transform_class_init):
9275 * libs/gst/net/gstnetclientclock.c:
9276 (gst_net_client_clock_class_init):
9277 * libs/gst/net/gstnettimeprovider.c:
9278 (gst_net_time_provider_class_init):
9279 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9280 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9281 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9282 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9283 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9284 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9285 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9286 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9287 * plugins/elements/gsttee.c: (gst_tee_class_init):
9288 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9289 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9290 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9292 2006-05-11 Wim Taymans <wim@fluendo.com>
9294 * gst/gstbuffer.c: (_gst_buffer_initialize):
9295 Register subbufer along with the buffer type so that
9296 it does not accidentally gets registered from N
9297 different streaming threads in a non threadsafe way.
9299 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9304 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9305 gst_event_ref() and gst_message_ref() functions again
9306 (ugly hack, please do fix if there's a better way besides
9307 overrides.txt, which doesn't seem to work).
9309 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9311 * libs/gst/check/gstcheck.h:
9312 add an assert for setting state to avoid lots of repetitive code
9315 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9317 * gst/gstvalue.c: (gst_value_serialize_flags):
9318 fix a leak if no flags are set
9319 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9322 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9324 * docs/manual/basics-pads.xml:
9325 Expand a bit on caps and filtered links and update
9326 examples that were still using the no longer existing
9327 gst_pad_link_filtered() (#338206).
9329 2006-05-10 Wim Taymans <wim@fluendo.com>
9331 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9332 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9333 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9334 (gst_collect_pads_stop):
9335 * libs/gst/base/gstcollectpads.h:
9336 No need to call _stop in _finalize.
9337 Iterate the main pad list in _finalize.
9338 Added some more debug.
9339 Free lists and data in the right order.
9340 Also free data whem doing _remove_pad when stopped for
9341 backward compatibility protect ::started with PAD_LOCK as
9344 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9346 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9347 (gst_structure_parse_value):
9349 rename a method so that it actually says what it does better
9351 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9353 * gst/gstevent.c: (_gst_event_initialize):
9354 * gst/gstformat.c: (_gst_format_initialize):
9355 make sure some essential types used by events are registered
9356 as part of gst_init()
9357 * gst/gstvalue.c: (gst_value_serialize_flags):
9358 if no flags are set, serialize them to a value that represents NONE
9359 so that deserializing them works
9360 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9361 add tests for serialization and deserialization of flags
9363 2006-05-10 Wim Taymans <wim@fluendo.com>
9365 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9366 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9367 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9368 (gst_collect_pads_event), (gst_collect_pads_chain):
9371 Catch and return errors from the collect function
9372 Refuse data on eos pads.
9374 2006-05-10 Edward Hervey <edward@fluendo.com>
9376 * gst/gstinterface.h:
9377 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9378 GInterface type checking.
9379 They were previously using non-defined macros.
9381 2006-05-09 Wim Taymans <wim@fluendo.com>
9383 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9384 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9385 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9386 (gst_collect_pads_start), (gst_collect_pads_stop),
9387 (gst_collect_pads_peek), (gst_collect_pads_pop),
9388 (gst_collect_pads_available), (gst_collect_pads_read),
9389 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9390 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9391 (gst_collect_pads_chain):
9392 * libs/gst/base/gstcollectpads.h:
9393 Clean up the mess that is collectpads, add comments and
9394 FIXMEs where needed.
9395 Maintain a separate pad list so we can add pads while
9396 collecting the other ones. For this we need a new separate
9398 Fix memory leak in finalize.
9399 Refactor some weird code to set/unset pad flushing flags, mark
9401 Don't crash in _available, _read, _flush when we're EOS.
9403 * tests/check/libs/.cvsignore:
9404 Ignore adapter check binary.
9406 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9408 * gst/gstindex.c: (gst_index_resolver_get_type):
9409 * plugins/elements/gstfakesink.c:
9410 (gst_fake_sink_state_error_get_type):
9411 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9412 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9413 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9414 Const-ify GEnumValue arrays.
9416 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9418 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9419 Add test case for flags + gst_buffer_make_metadata_writable().
9421 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9423 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9424 gst_buffer_make_metadata_writable() should maintain the
9425 buffer flags (those that make sense at least) (see #340859).
9427 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9429 * tools/gst-inspect.c:
9430 * tools/gst-launch.c:
9431 * tools/gst-typefind.c:
9432 * tools/gst-xmlinspect.c:
9434 Fix up includes: need to include stdlib.h in tools.h for exit().
9436 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9438 * gst/gsttaglist.c: (_gst_tag_initialize):
9440 API: add GST_TAG_IMAGE tag (#340721).
9442 2006-05-08 Wim Taymans <wim@fluendo.com>
9445 Added some docs for the segment query.
9447 2006-05-08 Wim Taymans <wim@fluendo.com>
9449 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9450 (gst_base_src_loop), (gst_base_src_change_state):
9451 Always push non-flushing serialized events in the streaming
9454 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9456 * gst/gsterror.c: (_gst_stream_errors_init):
9457 Add a missing error string.
9459 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9461 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9462 Add applied_rate to the debug
9464 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9465 Copy applied_rate into the outgoing NEWSEGMENT event
9467 2006-05-08 Wim Taymans <wim@fluendo.com>
9469 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9471 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9472 (gst_base_sink_change_state):
9473 call ::unlock before taking the PREROLL_LOCK so we can safely
9474 handle elements that lock in ::render.
9477 2006-05-08 Edward Hervey <edward@fluendo.com>
9479 * autogen.sh: (CONFIGURE_DEF_OPT):
9480 Darwin's libtoolize is in fact called glibtoolize.
9481 Adding glibtoolize to the list of accepted names for libtoolize.
9483 2006-05-08 Wim Taymans <wim@fluendo.com>
9485 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9486 Unify error handling, don't post an error message
9487 when a push() returns EOS but perform our normal EOS
9488 handling code. Fixes #340772.
9490 2006-05-08 Wim Taymans <wim@fluendo.com>
9492 * docs/design/part-overview.txt:
9493 Make upsteam/downstream concepts more clear.
9494 Give an example of serialized/non-serialized events.
9496 * docs/design/part-events.txt:
9497 * docs/design/part-streams.txt:
9498 Mention applied_rate.
9500 * docs/design/part-trickmodes.txt:
9501 Mention applied rate, flesh out some more use cases.
9503 * gst/gstevent.c: (gst_event_new_new_segment),
9504 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9505 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9506 (gst_event_parse_tag), (gst_event_new_buffer_size),
9507 (gst_event_parse_buffer_size), (gst_event_new_qos),
9508 (gst_event_parse_qos), (gst_event_parse_seek),
9509 (gst_event_new_navigation):
9511 Add applied_rate field to NEWSEGMENT event.
9512 API: gst_event_new_new_segment_full()
9513 API: gst_event_parse_new_segment_full()
9515 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9516 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9517 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9519 Add applied_rate to GstSegment structure.
9520 Make calculation of stream_time and running_time more correct
9521 wrt rate/applied_rate.
9523 API: GstSegment::applied_rate field
9524 API: gst_segment_set_newsegment_full();
9526 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9527 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9528 * libs/gst/base/gstbasetransform.c:
9529 (gst_base_transform_sink_eventfunc),
9530 (gst_base_transform_handle_buffer):
9531 Parse and use applied_rate in the GstSegment field.
9533 * tests/check/gst/gstevent.c: (GST_START_TEST):
9534 Add check for applied_rate field.
9536 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9537 (gstsegments_suite):
9538 Add more checks for various GstSegment operations.
9540 2006-05-08 Wim Taymans <wim@fluendo.com>
9542 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9543 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9544 (gst_base_sink_get_position), (gst_base_sink_change_state):
9545 Store the sync time of the buffer end position separatly in a
9546 new variable eos_rtime so we can properly sync the EOS event.
9548 Fix the docs for gst_base_sink_set_qos_enabled().
9549 Don't set segment start to invalid value when we receive a
9550 non TIME newsegment.
9551 get closer to handling position reporting for negative rates
9554 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9557 Docs about how to print caps for debug purposes.
9559 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9560 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9562 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9565 use full enum names and preprend a '%' in docs strings to make recent
9566 gtk-doc turn that into a link
9568 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9570 * docs/manual/basics-bins.xml:
9571 * docs/manual/basics-bus.xml:
9572 * docs/manual/basics-pads.xml:
9573 Some typo fixes, some additions, some clarifications.
9575 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9577 * tools/gst-inspect.c: (main):
9578 * tools/gst-launch.c: (main):
9579 * tools/gst-run.c: (main):
9580 * tools/gst-typefind.c: (main):
9581 * tools/gst-xmlinspect.c: (main):
9582 Use the string passed to g_option_context_new() for
9583 what it's intended for - the program name is already
9586 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9588 * tools/Makefile.am:
9589 * tools/gst-inspect.c: (main):
9590 * tools/gst-launch.c: (main):
9591 * tools/gst-xmlinspect.c: (main):
9593 Add back --version command line option (#340460).
9595 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9596 Add --version option and use GOption for argument parsing; refactor a
9597 bit; accept directories as arguments and recurse into them; lastly,
9598 print a decent error message when things go wrong.
9600 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9602 * docs/manual/basics-bins.xml:
9603 Don't mention GstThread (#340611)
9604 * docs/manual/basics-elements.xml:
9605 Update link to GObject tutorial (#340607)
9607 2006-05-05 Wim Taymans <wim@fluendo.com>
9610 * gst/gstminiobject.c:
9611 Add note about refcounting and miniobject/buffer writeability
9612 to docs. Fixes #340604
9614 * gst/gstelementfactory.h:
9615 Added some explanation about @klass.
9617 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9619 * docs/manual/intro-motivation.xml:
9620 * docs/manual/manual.xml:
9621 Avoid CORBA & Bonobo references (#340598)
9623 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9625 * docs/manual/basics-bus.xml:
9626 * docs/manual/basics-pads.xml:
9627 Fix up some inaccuracies and omissions (#340609)
9629 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9631 * gst/gstghostpad.c:
9632 Small typo in docs (#340625)
9634 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9636 * gst/parse/Makefile.am:
9637 Make 'make -j' proof (see #340698).
9639 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9642 Require GLib-2.8 here as well.
9644 2006-05-05 Wim Taymans <wim@fluendo.com>
9646 * gst/glib-compat.c:
9647 * gst/gst.c: (init_pre):
9648 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9649 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9650 (gst_object_dispatch_properties_changed):
9652 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9653 * gst/gststructure.c: (gst_structure_set_valist):
9654 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9655 Remove pre glib2.8 compatibility, fixes #340508
9657 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9660 Mention type of tags in doc blurbs.
9662 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9664 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9665 (gst_pad_configure_src), (gst_pad_push):
9666 Restore acceptcaps checking behaviour now that good plugins have
9669 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9671 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9682 * gst/parse/Makefile.am:
9683 * libs/gst/base/gstadapter.c:
9684 * libs/gst/base/gstbasesrc.c:
9685 * libs/gst/base/gstpushsrc.c:
9686 * libs/gst/base/gsttypefindhelper.c:
9687 * plugins/elements/gstfakesrc.c:
9688 * plugins/elements/gstidentity.c:
9689 Make sure gstprivate.h and/or config.h are
9690 always included first, otherwise some of our
9691 defines (like _FILE_OFFSET_BITS) might be
9692 redefined in the system headers. Fixes build
9693 on opensolaris (#340016).
9695 2006-05-04 Wim Taymans <wim@fluendo.com>
9697 * docs/libs/gstreamer-libs-sections.txt:
9698 API: addition: gst_adapter_take_buffer()
9700 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9701 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9702 (gst_adapter_available_fast):
9703 * libs/gst/base/gstadapter.h:
9704 Prepare for optimizing the hell out of this hugely inefficient
9706 Added gst_adapter_take_buffer() so we can at least start thinking
9707 about subbuffering and merging.
9708 Added some comments.
9710 * tests/check/Makefile.am:
9711 * tests/check/libs/adapter.c: (GST_START_TEST),
9712 (gst_adapter_suite), (main):
9713 Added GstAdapter check.
9715 2006-05-04 Wim Taymans <wim@fluendo.com>
9717 * docs/design/part-overview.txt:
9718 Fix some typos, add blurb about buffer flags.
9720 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9722 * docs/libs/gstreamer-libs-sections.txt:
9723 make sure GstBaseTransformClass shows up in the docs
9724 * libs/gst/base/gstbasetransform.c:
9725 * libs/gst/base/gstbasetransform.h:
9726 move docs so gtk-doc picks it up now
9728 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9730 * docs/libs/gstreamer-libs-sections.txt:
9731 add missing symbols to docs
9733 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9735 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9736 back out the newsegment handling change, see #340060 for ongoing
9739 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9741 * tools/gst-run.c: (get_candidates), (main):
9742 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9743 work); fix typo in error message. Fixes #340079.
9745 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9747 * common/Makefile.am:
9749 * docs/faq/Makefile.am:
9750 * docs/gst/Makefile.am:
9751 * docs/libs/Makefile.am:
9752 * docs/manual/Makefile.am:
9753 * docs/plugins/Makefile.am:
9754 * docs/pwg/Makefile.am:
9755 * docs/slides/Makefile.am:
9757 * common/upload.mak:
9758 move upload.mak to common
9760 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9762 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9763 add more asserts on refcounts
9764 do more cleanup at end of tests
9765 fix test leaks showing in FC5
9767 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9769 * plugins/elements/gsttypefindelement.c:
9770 (gst_type_find_element_handle_event):
9771 reverted wrong change and reflowed code to avoid others falling into
9774 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9777 fix changelog entry about last collectpads change,
9778 add notes about proper fix
9780 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9783 * gst/gstregistry.c: (gst_registry_scan_path_level),
9784 (gst_registry_scan_path):
9785 * gst/gstregistry.h:
9786 only write out registry if it has changed, fixes #338339
9788 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9791 * gst/gstpipeline.c:
9792 * plugins/elements/gstcapsfilter.c:
9793 * plugins/elements/gstfakesink.c:
9794 * plugins/elements/gstfakesrc.c:
9795 * plugins/elements/gstfdsink.c:
9796 * plugins/elements/gstfdsrc.c:
9797 * plugins/elements/gstfilesink.c:
9798 * plugins/elements/gstfilesrc.c:
9799 * plugins/elements/gstidentity.c:
9800 * plugins/elements/gstqueue.c:
9801 * plugins/elements/gsttee.c:
9802 * plugins/elements/gsttypefindelement.c:
9803 (gst_type_find_element_handle_event):
9804 make GstElementDetails const
9806 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9808 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9809 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9810 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9811 more detailed debug and formatting cleanup,
9812 forward newsegments to src-pad (so that e.g. adder not eats them)
9814 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9816 * gst/gstutils.c: (gst_element_link_pads):
9819 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9821 * libs/gst/controller/gstcontroller.c:
9822 (gst_controller_sync_values):
9824 * tests/check/libs/controller.c: (GST_START_TEST),
9825 (gst_controller_suite):
9826 a new test for live value handling
9828 2006-04-28 Wim Taymans <wim@fluendo.com>
9830 * gst/gstutils.c: (push_and_ref):
9831 Added some more docs.
9832 Fix refcount issue whith gst_element_found_tags() helper
9833 function. Fixes #338335
9835 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9836 Added testsuite for gst_element_found_tags().
9838 2006-04-28 Michael Smith <msmith@fluendo.com>
9840 * gst/gstvalue.c: (gst_value_serialize_flags):
9841 Avoid NULL dereference when trying to serialize flags containing
9844 2006-04-28 Michael Smith <msmith@fluendo.com>
9846 * plugins/elements/gsttypefindelement.c:
9847 (gst_type_find_element_handle_event):
9848 If we get EOS before any data is accumulated, don't use
9849 uninitialised local variables.
9851 2006-04-28 Michael Smith <msmith@fluendo.com>
9853 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9854 (gst_dp_event_from_packet):
9855 Fixes in reading/writing events over GDP (not currently used?) -
9856 dereferencing NULL events for unknown/invalid event types, memory
9857 leak, and change g_warning to GST_WARNING.
9859 2006-04-28 Wim Taymans <wim@fluendo.com>
9861 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9862 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9863 (gst_base_sink_get_position), (gst_base_sink_change_state):
9864 When frame dropping is enabled, we should not ignore frames
9866 Update some documentation.
9868 2006-04-28 Wim Taymans <wim@fluendo.com>
9870 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9871 (gst_base_src_send_event), (gst_base_src_change_state):
9872 Documentation updates.
9874 2006-04-28 Wim Taymans <wim@fluendo.com>
9876 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9877 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9878 handle EAGAIN, EINTR and short writes correctly. Also clean
9879 up some error cases, avoid a deadlock on bad file descriptors and
9880 use GST_DEBUG_OBJECT.
9883 2006-04-28 Wim Taymans <wim@fluendo.com>
9885 * gst/gstvalue.c: (gst_value_serialize_buffer),
9886 (gst_value_deserialize_buffer):
9887 Don't try to serialize a GValue with a NULL buffer.
9890 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9891 Added check for serialisation of NULL buffers.
9893 2006-04-28 Wim Taymans <wim@fluendo.com>
9895 * gst/gstminiobject.c: (gst_value_take_mini_object):
9896 Taking a NULL miniobject is valid, fix the case where
9897 we try to unref the NULL miniobject.
9899 2006-04-28 Wim Taymans <wim@fluendo.com>
9901 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9903 * gst/gstbin.c: (gst_bin_handle_message_func):
9905 Don't leak bin refcount when a state recalc is
9906 in progress and we delay another one #339808.
9908 2006-04-28 Wim Taymans <wim@fluendo.com>
9910 * docs/design/part-TODO.txt:
9911 Mention QoS as an ongoing work item.
9913 * docs/design/part-buffering.txt:
9914 New doc about buffering that needs to be fleshed out
9917 * docs/design/part-qos.txt:
9918 More QoS policy for decoders/demuxers/transforms
9920 * docs/design/part-trickmodes.txt:
9923 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9928 === release 0.10.5 ===
9930 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9933 releasing 0.10.5, "Fogo"
9935 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9937 patch by: Wim Taymans
9939 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9940 (gst_pad_configure_src), (gst_pad_push):
9941 * gst/gstpipeline.c: (gst_pipeline_init):
9942 Fix internal data flow errors. Fixes #338711.
9944 2006-04-12 Wim Taymans <wim@fluendo.com>
9946 * tests/check/gst/gstelement.c: (GST_START_TEST):
9947 Don't leak the factory.
9949 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9952 * win32/common/config.h:
9955 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9957 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9958 (gst_controller_unset_all):
9959 Free allocated GstTimedValues when freeing list nodes.
9960 Should fix leaks 'make check-valgrind' complains about.
9962 * win32/common/libgstcontroller.def:
9963 Add gst_controller_unset_all.
9965 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9967 * docs/libs/gstreamer-libs-sections.txt:
9968 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9969 (gst_controller_unset_all):
9970 * libs/gst/controller/gstcontroller.h:
9971 API: Added new method gst_controller_unset_all()
9972 fixed gst_controller_unset()
9973 * tests/check/libs/controller.c: (GST_START_TEST),
9974 (gst_controller_suite):
9975 Added two testcases for new and fixed method
9977 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9979 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9980 MSG_DONTWAIT is not defined on Cygwin, so work
9981 around that (fixes #317048).
9983 2006-04-11 Wim Taymans <wim@fluendo.com>
9985 * gst/gstelementfactory.c: (gst_element_register),
9986 (gst_element_factory_create), (gst_element_factory_make):
9989 Updated docs (Fixes #131079)
9991 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9994 * tests/check/gst/gstelement.c: (GST_START_TEST),
9995 (gst_element_suite):
9996 Added testcase for elementfactory class field.
9998 2006-04-10 Wim Taymans <wim@fluendo.com>
10000 * gst/gstsegment.c:
10001 Added some more docs.
10003 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10004 (gst_base_sink_reset_qos):
10005 Calculate more accurate rate values.
10007 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10009 * gst/gst_private.h:
10010 add a new #ifdef to use __declspec(dllimport) only for
10011 other modules and not for gstreamer core
10012 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10013 use gst_guint64_to_gdouble for conversion
10014 * win32/common/libgstreamer.def:
10015 add new exported functions
10016 * win32/vs6/gst_inspect.dsp:
10017 * win32/vs6/gst_launch.dsp:
10018 * win32/vs6/libgstbase.dsp:
10019 * win32/vs6/libgstcontroller.dsp:
10020 * win32/vs6/libgstcoreelements.dsp:
10021 * win32/vs6/libgstdataprotocol.dsp:
10022 * win32/vs6/libgstnet.dsp:
10023 update project files
10025 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10027 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10028 * gst/gstclock.c: (gst_clock_class_init):
10029 * gst/gstelement.c: (gst_element_class_init):
10030 * gst/gstindex.c: (gst_index_class_init):
10031 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10032 * gst/gstobject.c: (gst_object_class_init),
10033 (gst_signal_object_class_init):
10034 * gst/gstpad.c: (gst_pad_class_init):
10035 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10036 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10037 * gst/gstregistry.c: (gst_registry_class_init):
10038 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10039 * gst/gsttask.c: (gst_task_class_init):
10040 * gst/gstxml.c: (gst_xml_class_init):
10041 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10042 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10043 (gst_base_src_loop):
10044 * libs/gst/controller/gstcontroller.c:/
10045 (_gst_controller_class_init):
10046 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10047 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10048 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10049 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10050 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10051 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10053 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10055 * gst/gstpad.c: (gst_pad_link):
10056 Must set peer pads before calling the link function, otherwise
10057 a task started from a link function might get a flow-not-linked
10058 result when trying to push because the other thread where the
10059 linking happens hasn't had a chance to set the peers yet. This
10060 might happen for example when a queue gets linked to a downstream
10061 element, as queue starts a streaming task when its source pad
10062 gets linked. Happens in real life when playing back flac/musepack
10063 files in playbin (#332390).
10065 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10069 * libs/gst/base/gstadapter.h:
10070 * libs/gst/base/gstbasesink.h:
10071 * libs/gst/base/gstbasesrc.h:
10072 * libs/gst/base/gstbasetransform.h:
10073 * libs/gst/base/gstcollectpads.h:
10074 * libs/gst/base/gstpushsrc.h:
10075 Fix broken GObject macros
10077 2006-04-07 Wim Taymans <wim@fluendo.com>
10079 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10080 Initialize start and stop times, thanks valgrind.
10082 2006-04-07 Wim Taymans <wim@fluendo.com>
10084 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10085 Be a bit nicer to badly behaving upstream elements that expect
10086 us to deal with non TIME segments and timestamps (such as fakesrc
10089 2006-04-07 Wim Taymans <wim@fluendo.com>
10092 Small documentation clarification about the signal watch.
10094 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10095 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10096 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10097 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10098 (gst_base_sink_get_position_last),
10099 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10100 Convert and store timestamps in stream time and running time, the
10101 raw timestamps are not useful, also document this better.
10102 Use different window sizes for good and bad QoS observations so
10103 we react to badness a little quicker.
10104 Keep track of the amount of rendered and dropped buffers.
10105 Send QoS timestamps in running time.
10107 * libs/gst/base/gstbasetransform.c:
10108 (gst_base_transform_sink_eventfunc),
10109 (gst_base_transform_handle_buffer):
10110 Compare QoS timestamps against running time.
10112 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10115 Typo fixes in docs.
10117 2006-04-06 Michael Smith <msmith@fluendo.com>
10119 * gst/gstpad.c: (gst_pad_set_property):
10120 Use g_value_get_object() instead of g_value_dup_gst_object(),
10121 to avoid double-reffing the pad template (which we then sink,
10122 so this worked previously if (and only if) the pad template
10125 * gst/gstpadtemplate.c: (gst_pad_template_init),
10126 (gst_pad_template_pad_created):
10127 Never return floating references to pad templates, create
10128 them as initially-sunken.
10130 Document an extra function (and make this stop sinking our
10131 pad template, since that is now guaranteed to do nothing,
10132 since we created it sunken).
10134 * gst/gstghostpad.c:
10137 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10139 * gst/gstinfo.c: (__gst_in_valgrind):
10142 * plugins/elements/gsttypefindelement.c:
10143 (gst_type_find_element_chain):
10144 Don't leak buffer caps.
10146 2006-04-06 Michael Smith <msmith@fluendo.com>
10148 * gst/parse/grammar.y:
10149 Fix a leak in parse-launch for any source-or-sink named element
10152 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10153 Unref the pipeline if it exists after we've failed parsing.
10155 2006-04-05 Michael Smith <msmith@fluendo.com>
10157 * gst/gstpipeline.c: (gst_pipeline_init):
10158 When we create a pipeline bus, initially create it in flushing mode.
10159 Fixes leaks in at least one test, and makes a new pipeline work the
10160 same as one that has gone to READY and then back to NULL.
10162 * gst/gstelement.c:
10165 2006-04-05 Michael Smith <msmith@fluendo.com>
10167 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10168 Unref a pad we reffed.
10169 * tests/check/gst/gstutils.c: (GST_START_TEST):
10172 2006-04-05 Michael Smith <msmith@fluendo.com>
10174 * gst/gstquery.c: (gst_query_set_formats),
10175 (gst_query_set_formatsv):
10176 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10178 2006-04-05 Michael Smith <msmith@fluendo.com>
10180 * tests/check/generic/sinks.c: (GST_START_TEST):
10181 Fix a variety of memleaks in sinks check, which are only sometimes
10182 shown by running the tests under valgrind (weird?).
10184 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10186 * docs/version.entities.in:
10187 Fix the substituted entity name after thomas' changes on the
10190 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10192 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10195 2006-04-05 Andy Wingo <wingo@pobox.com>
10197 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10199 * libs/gst/base/gstbasetransform.c
10200 (gst_base_transform_sink_eventfunc): When resetting our segment on
10201 FLUSH_STOP, also update the flag saying we haven't seen a
10204 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10206 Patch by: Paolo Borelli <pborelli at katamail dot com>
10208 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10209 (gst_plugin_check_license):
10210 minor clean-ups: G_DEFINE_TYPE already takes care of the
10211 parent_class stuff, no need to do it twice. Mark array of
10212 license strings as constant. (#337103)
10214 2006-04-04 Michael Smith <msmith@fluendo.com>
10216 * tools/gst-inspect.c: (print_element_list):
10217 Free the right plugin list; fixes a memory leak.
10219 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10221 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10223 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10224 Don't error out on empty buffers (#336945).
10226 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10228 * docs/libs/gstreamer-libs-sections.txt:
10229 * gst/gsttaglist.c:
10230 * libs/gst/base/gstbasesink.c:
10231 * libs/gst/base/gstbasesink.h:
10232 * libs/gst/base/gstbasesrc.c:
10233 * libs/gst/base/gstbasesrc.h:
10234 Documentation updates. Make BaseSink and BaseSrc docs contain the
10235 class structure so that people can actually see the prototypes for
10236 virtual functions they're supposed to be overriding.
10238 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10240 * plugins/elements/gsttypefindelement.c:
10241 (gst_type_find_element_chain):
10242 More debug info; when skipping typefinding, send cached
10243 events in all cases.
10245 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10248 use new AS_VERSION and AS_NANO macros
10249 * gst/gst-i18n-lib.h:
10252 * gst/gstversion.h.in:
10253 * win32/common/config.h:
10254 * win32/common/config.h.in:
10257 2006-03-31 Michael Smith <msmith@fluendo.com>
10259 * plugins/elements/gsttypefindelement.c:
10260 (gst_type_find_element_chain):
10261 Do not typefind content if the buffers already have caps.
10262 Neccesary for icydemux (#333657), and the right thing to do anyway.
10264 2006-03-30 Wim Taymans <wim@fluendo.com>
10266 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10267 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10268 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10269 (gst_base_sink_record_qos_observation),
10270 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10271 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10272 (gst_base_sink_change_state):
10273 More QoS measurements as described in the design doc.
10274 Get rid of ringbuffer with observations, running average is
10275 more simple and equally good.
10276 Calculates valid proportion now.
10277 Added beginning of flood measurement.
10279 2006-03-29 Wim Taymans <wim@fluendo.com>
10281 * docs/design/part-qos.txt:
10283 Small documentation updates and additions.
10285 2006-03-29 Wim Taymans <wim@fluendo.com>
10287 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10288 (gst_base_src_send_event), (gst_base_src_loop),
10289 (gst_base_src_change_state):
10290 Perform the EOS logic when we reach the segment stop position.
10291 Fix compilation on gcc4.1
10293 2006-03-29 Wim Taymans <wim@fluendo.com>
10295 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10297 * plugins/elements/gstqueue.c: (gst_queue_init),
10298 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10299 (gst_queue_set_property):
10300 * plugins/elements/gstqueue.h:
10301 In queue, when EOS is received, if minimum threshold > max_size -
10302 current_level, there is chance that queue blocks forever in conditional
10303 item del wait. This is because the queue is not emptied completely due
10304 to minimum threshold. Here is another approach. Instead of setting
10305 cur_levels to max in EOS, just zero all minimum threshold levels. This
10306 should make sure that queue gives out all data. When going to READY
10307 (stop) state, just reset the original minimum threshold levels.
10310 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10312 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10313 (gst_type_find_element_handle_event),
10314 (gst_type_find_element_send_cached_events),
10315 (gst_type_find_element_change_state):
10316 * plugins/elements/gsttypefindelement.h:
10317 When typefinding is done in push mode, we should cache
10318 events we receive during typefinding instead of just
10319 dropping them (e.g. newsegment, custom events from
10320 dvdreadsrc etc.) and then send them out once we've
10321 determined the type of the stream (and decodebin
10322 has had a chance to plug in a decoder/demuxer).
10324 2006-03-27 Wim Taymans <wim@fluendo.com>
10326 * docs/design/part-qos.txt:
10329 2006-03-27 Wim Taymans <wim@fluendo.com>
10331 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10333 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10334 (gst_base_src_send_event), (gst_base_src_change_state):
10335 Handle element seek correctly when we are streaming.
10338 2006-03-24 Michael Smith <msmith@fluendo.com>
10340 * docs/faq/gst-uninstalled:
10341 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10342 allow you to correctly run intalled applications built against old
10343 core, using plugins that require updated core (e.g. running
10344 installed totem against a full uninstalled gstreamer stack)
10346 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10348 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10351 2006-03-24 Wim Taymans <wim@fluendo.com>
10353 * docs/gst/gstreamer-sections.txt:
10354 Rearrange the order of the methods so that related methods
10355 are grouped together in sections.
10357 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10359 * gst/gstelement.c:
10360 Little clarification in the docs
10362 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10366 * plugins/elements/gstidentity.c:
10367 * plugins/elements/gstqueue.c:
10368 * plugins/elements/gsttee.c:
10369 * plugins/elements/gsttypefindelement.c:
10370 GST_ELEMENT_DETAILS formatting
10372 2006-03-24 Wim Taymans <wim@fluendo.com>
10374 * libs/gst/base/gstbasesink.h:
10375 Only add fields, not insert or we break ABI.
10377 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10379 * win32/common/libgstbase.def:
10380 * win32/common/libgstreamer.def:
10381 Update, add recently added functions.
10383 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10385 * docs/gst/gstreamer-sections.txt:
10386 * gst/gstutils.c: (gst_pad_query_peer_position),
10387 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10389 API: add some new utility functions:
10390 - gst_pad_query_peer_position()
10391 - gst_pad_query_peer_duration()
10392 - gst_pad_query_peer_convert()
10394 2006-03-23 Wim Taymans <wim@fluendo.com>
10396 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10397 (gst_base_sink_init), (gst_base_sink_finalize),
10398 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10399 (gst_base_sink_set_property), (gst_base_sink_get_property),
10400 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10401 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10402 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10403 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10404 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10405 (gst_base_sink_preroll_object), (gst_base_sink_event),
10406 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10407 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10408 (gst_base_sink_query), (gst_base_sink_change_state):
10409 Decouple max-lateness and the fact that QoS messages are generated
10410 with a new property (qos).
10411 added API: GstBaseSink::async_play()
10412 Add vmethod so subclasses can be notified of ASYNC playing
10414 Collect timestamp start and stop to report better current
10415 position in EOS/PLAYING/PAUSED/READY/NULL.
10416 Refactor QoS/frame dropping and other measurements.
10417 API: GstBaseSrc::qos
10420 * libs/gst/base/gstbasesink.h:
10421 Added Private struct.
10422 API: gst_base_sink_set_qos_enabled()
10423 API: gst_base_sink_is_qos_enabled()
10425 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10427 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10428 If compiling against GLib-2.8 or newer, try to read the
10429 registry file using GMappedFile first before falling back
10430 to fopen() + fread() (#332151).
10432 2006-03-22 Wim Taymans <wim@fluendo.com>
10434 * gst/gstinfo.c: (gst_debug_set_active),
10435 (gst_debug_category_set_threshold):
10436 Disable debugging unless explicitly activated.
10439 2006-03-22 Wim Taymans <wim@fluendo.com>
10441 * gst/gstelement.c: (gst_element_set_locked_state),
10442 (gst_element_dispose):
10443 Cleanup the error case.
10445 * gst/gstobject.c: (gst_object_dispose):
10446 print a critical when some object was disposed with
10447 a parent, also revive the object since it might
10450 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10452 * tools/gst-launch.1.in:
10455 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10458 * tests/check/Makefile.am:
10459 disable some tests when we don't have a registry
10460 * tests/check/gst/gstutils.c: (gst_utils_suite):
10461 don't build the part that needs parsing
10463 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10466 * tests/examples/Makefile.am:
10467 fix --disable-parse build
10469 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10471 * tools/gst-feedback.1.in:
10472 Fix typo: s/feeback/feedback/ (#133494).
10474 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10476 * tools/Makefile.am:
10477 * tools/gst-launch.1.in:
10478 Add FILES section and correct entry about GST_REGISTRY_PATH
10479 environment variable (#133495; #133494).
10481 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10483 * tools/Makefile.am:
10484 * tools/gst-md5sum.1.in:
10485 * tools/gst-md5sum.c:
10486 Remove gst-md5sum and man page (the md5sink element
10487 required was removed ages ago)
10489 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10491 * gst/gststructure.c: (gst_structure_id_set_value):
10492 Make sure that string fields in structures/taglists
10493 contain valid UTF-8 - we don't want to pass rubbish to
10494 applications because of a buggy plugin (cp. #334167).
10496 2006-03-21 Edward Hervey <edward@fluendo.com>
10498 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10499 (gst_bin_handle_message_func):
10500 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10501 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10502 (gst_element_set_bus_func):
10503 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10504 * gst/gstminiobject.c: (gst_value_set_mini_object),
10505 (gst_value_take_mini_object):
10506 * gst/gstpad.c: (gst_pad_set_pad_template):
10507 * gst/gstpipeline.c: (gst_pipeline_dispose),
10508 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10510 (gst_collect_pads_chain):
10511 * libs/gst/net/gstnettimeprovider.c:
10512 (gst_net_time_provider_set_property):
10513 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10514 It's in fact all issues with gst_*object_replace().
10516 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10518 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10520 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10521 * pkgconfig/gstreamer-check.pc.in:
10522 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10524 2006-03-21 Edward Hervey <edward@fluendo.com>
10528 * gst/gstmessage.h:
10529 gst_[buffer|event|message]_ref() macros are replaced by a static
10530 inline functions because gcc-4.1 will about if the return value
10532 * tests/check/gst/gstevent.c: (event_probe):
10533 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10535 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10538 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10539 the type' case. (Closes: #335195 for now). In the future, when we
10540 depend on GLib 2.10, we could also intern the type name using
10541 g_intern_static_string()
10543 2006-03-20 Wim Taymans <wim@fluendo.com>
10545 * gst/gstbin.c: (gst_bin_handle_message_func),
10546 (bin_query_max_init), (bin_query_position_fold),
10547 (bin_query_position_done), (gst_bin_query):
10548 Position query should also take max of all streams.
10550 2006-03-20 Wim Taymans <wim@fluendo.com>
10552 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10553 (gst_fake_src_finalize):
10554 Fix leaks in fakesrc.
10556 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10557 Fix leaks in the testcase.
10559 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10561 * gst/gst_private.h:
10562 add win32 specific import decoration(__declspec(dllimport))
10563 for all extern GstDebugCategory * variables
10564 * win32/common/libgstbase.def:
10565 * win32/common/libgstcontroller.def:
10566 * win32/common/libgstreamer.def:
10567 Add some exports, remove empty lines
10568 * win32/common/libgstdataprotocol.def:
10569 * win32/common/libgstdataprotocol.dsp:
10570 * win32/common/libgstnet.def:
10571 * win32/common/libgstnet.dsp:
10572 new project files and exportation files added
10574 2006-03-19 Wim Taymans <wim@fluendo.com>
10576 * tests/check/libs/basesrc.c: (eos_event_counter):
10577 Use proper return value for probe.
10579 2006-03-17 Wim Taymans <wim@fluendo.com>
10581 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10583 Don't leak buffers, caps and pads on negotiation errors.
10585 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10587 * docs/faq/cvs.xml:
10588 * docs/faq/dependencies.xml:
10589 * docs/faq/developing.xml:
10590 * docs/faq/faq.xml:
10591 * docs/faq/general.xml:
10592 * docs/faq/getting.xml:
10593 * docs/faq/legal.xml:
10594 * docs/faq/troubleshooting.xml:
10595 * docs/faq/using.xml:
10596 Faq review and update.
10598 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10600 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10602 Don't pound the cpu to pieces by checking get_caps when accept_caps
10603 is called with the same caps as the pad already has.
10604 Use GST_DEBUG_OBJECT when outputting caps change information.
10606 2006-03-15 Wim Taymans <wim@fluendo.com>
10608 * gst/gstclock.c: (gst_clock_class_init):
10611 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10616 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10617 (gst_pad_accept_caps), (gst_pad_configure_sink),
10618 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10619 Make the default acceptcaps behaviour be to check the requested
10620 caps against the gst_pad_get_caps output.
10622 Ensure that gst_pad_accept_caps is used to check caps when a pad
10623 doesn't have a setcaps function, so that pads automatically refuse
10624 caps that they don't allow in their pad template. (Fixes #332986)
10626 When a buffer with attached caps is pushed, ensure that the source
10627 pad receives those caps even if the element didn't call
10628 gst_pad_set_caps first.
10630 2006-03-15 Wim Taymans <wim@fluendo.com>
10632 * libs/gst/base/gstadapter.c:
10635 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10637 * win32/common/libgstbase.def:
10638 * win32/common/libgstcontroller.def:
10639 * win32/common/libgstreamer.def:
10640 Add a whole bunch of missing functions (#334434).
10642 2006-03-14 Wim Taymans <wim@fluendo.com>
10644 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10645 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10646 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10647 Better debug info when we receive a segment event.
10648 Reorganize a bit so we can pass the get_times() results around.
10649 Use the segment format when calculating the running time.
10650 Don't do QoS is sync is disabled or we have no clock or the
10651 element does not want us to sync to the clock.
10652 Don't drop buffers if QoS is disabled for now.
10654 2006-03-14 Wim Taymans <wim@fluendo.com>
10656 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10657 Marked the stats property as unimplemented so people don't get
10659 Add debug message when regression goes wrong.
10660 Added some more docs.
10662 2006-03-14 Wim Taymans <wim@fluendo.com>
10664 * gst/gstsegment.c: (gst_segment_to_stream_time):
10665 Return correct return type in case of errors.
10667 2006-03-14 Wim Taymans <wim@fluendo.com>
10669 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10670 Don't segfault on invalid formats.
10672 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10674 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10675 Can't use gst_segment_to_running_time() when the segment
10676 is not in GST_TIME_FORMAT (like with filesink, for example).
10677 Stops flac encoding pipelines from spewing critical warnings
10680 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10682 * gst/gstpipeline.c: (gst_pipeline_class_init):
10683 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10685 * plugins/elements/gsttypefindelement.c:
10686 (gst_type_find_element_handle_event):
10687 Don't try to typefind empty streams.
10689 2006-03-14 Wim Taymans <wim@fluendo.com>
10691 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10692 (gst_base_sink_do_qos):
10693 Separate QoS calculation.
10694 Only drop buffers when lateness is bigger than the
10695 duration of the buffer.
10697 2006-03-13 Wim Taymans <wim@fluendo.com>
10699 * gst/gstpipeline.c: (gst_pipeline_set_property),
10700 (gst_pipeline_get_property), (do_pipeline_seek),
10701 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10702 (gst_pipeline_get_delay):
10703 Don't deadlock when reading properties.
10705 2006-03-13 Wim Taymans <wim@fluendo.com>
10707 * libs/gst/base/gstbasetransform.c:
10708 (gst_base_transform_class_init), (gst_base_transform_init),
10709 (gst_base_transform_sink_event),
10710 (gst_base_transform_sink_eventfunc),
10711 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10712 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10713 (gst_base_transform_set_property),
10714 (gst_base_transform_get_property),
10715 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10716 (gst_base_transform_set_qos_enabled),
10717 (gst_base_transform_is_qos_enabled):
10718 * libs/gst/base/gstbasetransform.h:
10719 Make basetransform virtual method for src events too.
10720 Handle QOS in basetransform.
10721 API: gst_base_transform_update_qos()
10722 API: gst_base_transform_set_qos_enabled()
10723 API: gst_base_transform_is_qos_enabled()
10725 2006-03-13 Wim Taymans <wim@fluendo.com>
10727 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10728 (gst_base_sink_do_sync):
10730 Use QOS debug category.
10732 2006-03-13 Wim Taymans <wim@fluendo.com>
10734 * plugins/elements/gstqueue.c:
10735 Very small doc update.
10737 2006-03-13 Wim Taymans <wim@fluendo.com>
10739 * gst/gst_private.h:
10740 * gst/gstinfo.c: (_gst_debug_init):
10741 Added QOS debug category
10743 2006-03-13 Wim Taymans <wim@fluendo.com>
10745 * docs/gst/gstreamer-sections.txt:
10746 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10748 * gst/gstbus.c: (gst_bus_class_init):
10751 * gst/gstelement.c: (gst_element_set_locked_state):
10752 * gst/gstsegment.c:
10753 Documentation updates.
10755 * gst/gstpipeline.c: (gst_pipeline_get_type),
10756 (gst_pipeline_class_init), (gst_pipeline_init),
10757 (gst_pipeline_dispose), (gst_pipeline_set_property),
10758 (gst_pipeline_get_property), (do_pipeline_seek),
10759 (gst_pipeline_send_event), (gst_pipeline_change_state),
10760 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10761 (gst_pipeline_get_delay):
10762 * gst/gstpipeline.h:
10763 Added methods for setting the delay.
10764 API: gst_pipeline_set_delay()
10765 API: gst_pipeline_get_delay()
10766 Add pipeline debug category
10769 Don't reset stream time when seek failed.
10771 2006-03-13 Wim Taymans <wim@fluendo.com>
10773 * docs/design/draft-klass.txt:
10774 * docs/design/part-clocks.txt:
10775 * docs/design/part-events.txt:
10776 * docs/design/part-gstbin.txt:
10777 * docs/design/part-gstpipeline.txt:
10778 * docs/design/part-messages.txt:
10779 * docs/design/part-negotiation.txt:
10780 * docs/design/part-overview.txt:
10781 * docs/design/part-preroll.txt:
10782 * docs/design/part-seeking.txt:
10783 * docs/design/part-states.txt:
10784 * docs/design/part-streams.txt:
10785 Documentation updates.
10787 2006-03-12 Julien MOUTTE <julien@moutte.net>
10789 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10790 us to leak strings...
10792 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10794 * libs/gst/net/gstnettimeprovider.c:
10796 * win32/common/config.h:
10799 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10801 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10804 Don't check for libgnomeui (leftover from old examples
10805 that aren't built or disted any longer) (#334303).
10807 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10809 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10810 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10811 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10812 there's no space left on the device.
10814 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10817 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10818 to cast the input to GstClockTime before comparing with
10819 another GstClockTime value.
10821 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10826 === release 0.10.4 ===
10828 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10831 releasing 0.10.4, "Light"
10833 2006-03-10 Michael Smith <msmith@fluendo.com>
10835 * libs/gst/dataprotocol/dataprotocol.c:
10836 Fix docs for dataprocotol to not get the return types completely
10837 wrong for a few functions.
10839 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10841 * docs/gst/gstreamer-sections.txt:
10842 * gst/gstpipeline.c: (gst_pipeline_class_init),
10843 (gst_pipeline_init), (gst_pipeline_set_property),
10844 (gst_pipeline_get_property), (gst_pipeline_change_state),
10845 (gst_pipeline_set_auto_flush_bus),
10846 (gst_pipeline_get_auto_flush_bus):
10847 * gst/gstpipeline.h:
10848 Add new API: gst_pipeline_set_auto_flush_bus() and
10849 gst_pipeline_get_auto_flush_bus() to disable automatic
10850 flushing of the pipeline's GstBus when going from READY
10851 to NULL state (#332045).
10853 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10855 * docs/gst/gstreamer-sections.txt:
10856 * gst/gsturi.c: (gst_uri_has_protocol):
10858 Add new API: gst_uri_has_protocol() (#333779).
10860 2006-03-09 Wim Taymans <wim@fluendo.com>
10862 * gst/gstclock.c: (gst_clock_entry_new),
10863 (gst_clock_id_compare_func), (gst_clock_id_wait),
10864 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10865 (gst_clock_init), (gst_clock_get_internal_time),
10866 (gst_clock_set_master), (do_linear_regression),
10867 (gst_clock_add_observation), (gst_clock_set_property):
10871 Fix a possible segfault when the window-size is made smaller.
10872 Calculate jitter before performing the clock wait. Ideally
10873 the clock implementation should calculate jitter but we need
10874 API breakage for that.
10876 * gst/gstsystemclock.c: (gst_system_clock_init):
10879 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10880 Remove leftover else
10882 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10883 (gst_systemclock_suite):
10884 Added check to test GST_CLOCK_DIFF.
10886 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10888 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10889 (gst_type_find_helper_get_range):
10890 If we are provided with the size, we should implement
10891 GstTypeFind::get_length, so that typefind functions who
10892 want to can actually peek at the middle of a file.
10894 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10896 * docs/manual/advanced-dataaccess.xml:
10897 Add some very very basic error checking.
10899 * docs/pwg/appendix-checklist.xml:
10900 Some updates to the list of things to check when writing an element.
10902 2006-03-08 Wim Taymans <wim@fluendo.com>
10904 * docs/design/part-element-transform.txt:
10905 Added some docs about the design of tranform elements.
10907 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10908 (gst_base_src_loop), (gst_base_src_change_state):
10909 Mark buffers with the DISCONT flag.
10911 2006-03-08 Michael Smith <msmith@fluendo.com>
10913 * gst/gstregistry.h:
10914 * gst/gstregistryxml.c: (gst_registry_save),
10915 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10916 (gst_registry_xml_save_pad_template),
10917 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10918 (gst_registry_xml_write_cache):
10919 Rewrite registry-saving to avoid race conditions and check for
10922 2006-03-08 Wim Taymans <wim@fluendo.com>
10924 * libs/gst/base/gstbasetransform.c:
10925 (gst_base_transform_transform_caps),
10926 (gst_base_transform_transform_size),
10927 (gst_base_transform_prepare_output_buffer),
10928 (gst_base_transform_get_unit_size),
10929 (gst_base_transform_buffer_alloc),
10930 (gst_base_transform_handle_buffer),
10931 (gst_base_transform_change_state):
10932 Cleanups, separate normal flow from errors, add sensible
10934 Don't try to renegotiate when allocating an output buffer.
10935 Also copy DISCONT buffer flag when copying a buffer.
10936 Reset the transform after we finish streaming, not during.
10938 2006-03-08 Wim Taymans <wim@fluendo.com>
10940 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10941 Use last buffer timestamp in qos message.
10943 2006-03-07 Wim Taymans <wim@fluendo.com>
10945 Patch by: Christophe Fergeau
10947 * docs/pwg/advanced-tagging.xml:
10948 * docs/pwg/building-pads.xml:
10951 2006-03-07 Wim Taymans <wim@fluendo.com>
10953 * docs/libs/gstreamer-libs-sections.txt:
10954 Added basesink new methods.
10958 Docs updates. Flesh out the QoS docs.
10960 * libs/gst/base/gstadapter.c:
10961 Small doc clarification about ownership and flushing.
10963 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10964 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10965 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10966 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10967 * libs/gst/base/gstbasesink.h:
10969 Added new methods to allow subclass to control max-lateness
10971 Generate very basic QoS events based on last sync observation.
10972 Updated docs, fix typo, added some QoS blurb.
10974 * libs/gst/base/gstbasesrc.c:
10975 Remove obsolete _get_state() calls from docs.
10977 2006-03-07 Wim Taymans <wim@fluendo.com>
10979 * docs/libs/gstreamer-libs-sections.txt:
10980 * libs/gst/base/gstbasetransform.h:
10981 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10982 Fix docs for GstBaseSrc.
10984 2006-03-07 Wim Taymans <wim@fluendo.com>
10986 * docs/gst/gstreamer-sections.txt:
10989 * libs/gst/base/gstbasetransform.h:
10990 Small documentation fixes.
10992 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10995 Document thread-unsafety of gst_value_register_foo_func()
10996 when used at the same time as gst_value_foo() (#322628).
10998 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11000 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11001 (gst_push_src_check_get_range):
11002 Push sources don't support pull mode by default.
11004 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11006 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11007 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11008 (gst_base_src_default_check_get_range):
11009 * libs/gst/base/gstbasesrc.h:
11010 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11011 provide default implementation, and rename
11012 gst_base_src_check_get_range() to
11013 gst_base_src_pad_check_get_range() for clarity.
11015 2006-03-06 Wim Taymans <wim@fluendo.com>
11017 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11018 Make property overridable.
11020 2006-03-06 Wim Taymans <wim@fluendo.com>
11022 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11023 (gst_base_sink_init), (gst_base_sink_set_property),
11024 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11025 * libs/gst/base/gstbasesink.h:
11026 API addition: Make max-lateness a property.
11028 2006-03-06 Wim Taymans <wim@fluendo.com>
11030 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11031 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11032 Don't ever draw a frame that is >10ms late.
11034 2006-03-06 Michael Smith <msmith@fluendo.com>
11036 * gst/gstmessage.c: (_gst_message_copy):
11037 When copying a message, set the parent_refcount of the enclosed
11038 structure to point at the copy, not the original message.
11040 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11042 Patch by: Christophe Fergeau
11045 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11046 usable in c++ code (#333417)
11048 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11051 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11053 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11055 * libs/gst/base/gstbasetransform.c:
11056 (gst_base_transform_transform_caps):
11057 Make sure caps are writable before passing them to
11060 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11063 Fix some minor docs errors.
11065 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11067 Patch by: Ross Burton <ross at burtonini dot com>
11069 * gst/gsterror.c: (_gst_resource_errors_init):
11071 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11073 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11076 Add a check and output a g_warning when GStreamer is built
11077 against GLib 2.6 but running against 2.8 or higher, and vice
11078 versa. (Closes: #323542)
11080 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11082 * gst/parse/parse.l:
11083 Commit patch for parse_launch syntax from #331255. Removes
11084 support for quoted strings and mimetypes when writing filtered
11085 caps. See the bug report for more details - I'm pretty sure this
11086 obscure feature is not in use by _anyone_ anywhere.
11088 With this simple change, the size of the gstreamer.so here
11089 drops from 2193KB to 1565KB.
11091 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11093 * plugins/elements/gsttypefindelement.h:
11094 * plugins/elements/gsttypefindelement.c:
11095 (gst_type_find_element_src_event), (start_typefinding),
11096 (stop_typefinding), (gst_type_find_element_handle_event),
11097 (gst_type_find_element_chain),
11098 (gst_type_find_element_chain_do_typefinding):
11099 Use gst_type_find_helper_for_buffer() for chain-based
11102 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11104 * plugins/elements/gsttypefindelement.c:
11105 (gst_type_find_element_class_init),
11106 (gst_type_find_element_set_property),
11107 (gst_type_find_element_get_property):
11108 Deprecate "maximum" property (not only was it only taken into
11109 account for typefinding in push-mode anyway, it also was never
11110 actually possible to set it in the first place because the
11111 property was registered with the numeric property ID for the
11112 "minimum" property). Register "maximum" property correctly,
11113 for the sake of future copy'n'pasters. Remove some cruft
11114 from property get/set functions.
11116 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11118 * plugins/elements/gsttypefindelement.c:
11119 (gst_type_find_element_activate):
11120 Use gst_type_find_helper_get_range() here, so we
11121 can honour the "minimum" property and also emit
11122 the signal with the correct probability of the found caps.
11124 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11126 * docs/libs/gstreamer-libs-sections.txt:
11127 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11128 (helper_find_suggest), (gst_type_find_helper_get_range),
11129 (gst_type_find_helper):
11130 * libs/gst/base/gsttypefindhelper.h:
11131 New API: gst_type_find_helper_get_range() (#333042).
11133 2006-03-02 Michael Smith <msmith@fluendo.com>
11135 * gst/gstregistryxml.c: (load_feature):
11136 Asserting on a failure to read part of the registry is Not Cool.
11137 Just log a warning and return NULL (which is already handled)
11139 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11141 * win32/common/libgstbase.def:
11142 added export of gst_type_find_helper_for_buffer
11143 * win32/common/libgstbase.def:
11144 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11145 gst_ghost_pad_get_target
11147 2006-02-28 Wim Taymans <wim@fluendo.com>
11149 * docs/design/draft-klass.txt:
11151 Added Connector to mark elements that are only used to
11152 allow pipeline connections.
11153 Moved Debug to extra feature since most of them are
11154 functionally something else.
11156 2006-02-28 Wim Taymans <wim@fluendo.com>
11158 * docs/design/draft-klass.txt:
11159 Some updates and clarifications.
11161 2006-02-28 Wim Taymans <wim@fluendo.com>
11163 * docs/design/draft-klass.txt:
11164 Proposal for klass field values.
11166 * docs/design/part-streams.txt:
11167 Start of a doc describing stream anatomy.
11169 2006-02-28 Wim Taymans <wim@fluendo.com>
11171 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11172 Help the compiler a bit with type registration.
11173 Use existing forward cod path instead of duplicating it when
11174 handling a message.
11176 * gst/gstbus.c: (gst_bus_get_type):
11177 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11178 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11179 * gst/gstclock.c: (gst_clock_get_type):
11180 * gst/gstelement.c: (gst_element_get_type),
11181 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11182 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11183 * gst/gstminiobject.c: (gst_mini_object_get_type):
11184 * gst/gstpad.c: (gst_pad_get_type):
11185 * gst/gstsegment.c: (gst_segment_get_type):
11186 * gst/gststructure.c: (gst_structure_get_type):
11187 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11188 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11190 Help compiler with type registration.
11192 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11195 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11197 * plugins/elements/gsttypefindelement.c:
11198 (gst_type_find_element_handle_event):
11199 When we get an EOS event and have not found a type yet
11200 (most likely because we had not yet accumulated
11201 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11202 type given the data we have so far. Fixes typefinding
11203 for very short streams again, most notably quicktime
11204 redirections as used on Apple's trailer site (#331701).
11206 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11208 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11209 (gst_type_find_helper):
11210 Try typefinding factories with the highest rank first.
11212 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11214 * docs/libs/gstreamer-libs-docs.sgml:
11215 * docs/libs/gstreamer-libs-sections.txt:
11216 * libs/gst/base/gsttypefindhelper.c:
11217 Add section for typefind helper and add documentation
11218 for the old and the new function.
11220 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11222 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11223 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11224 (gst_type_find_helper_for_buffer):
11225 * libs/gst/base/gsttypefindhelper.h:
11226 New API: gst_type_find_helper_for_buffer() (#332723).
11228 2006-02-27 Michael Smith <msmith@fluendo.com>
11230 Patch by: Loïc Minier
11233 * docs/Makefile.am:
11234 * docs/slides/Makefile.am:
11235 prevent CVS directories getting disted.
11237 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11239 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11240 Use the REFCOUNTING category for caps refcounting.
11242 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11244 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11245 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11247 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11249 * plugins/elements/gsttypefindelement.c:
11250 (gst_type_find_element_activate):
11251 Use gst_pad_check_pull_range() before _activate_pull()
11252 to avoid unnecessary open/close (see #331690).
11254 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11257 Docs enhancement: make it crystal clear what the
11258 gst_pad_add_*_probe() callbacks should look like.
11260 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11262 * libs/gst/base/gstbasesrc.c:
11263 Document how applications can stop recording from
11264 live sources (see #330996).
11266 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11268 * tests/check/Makefile.am:
11269 * tests/check/libs/basesrc.c: (eos_event_counter),
11270 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11271 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11272 (gst_basesrc_suite), (main):
11273 ... and add some tests for the base source EOS stuff.
11275 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11277 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11278 Test case originally showed the problem fixed below,
11279 but was then amended. Add checks back at the place
11280 where they used to be.
11282 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11284 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11285 (gst_base_src_init), (gst_base_src_loop),
11286 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11287 (gst_base_src_change_state):
11288 * libs/gst/base/gstbasesrc.h:
11289 Don't unconditionally send EOS when going from PAUSED to
11290 READY state, esp. make sure we don't send two EOS events
11291 in some cases (e.g. one when reaching EOS and one when
11292 going from PAUSED to READY). Also, we don't want to send
11293 EOS events when operating in pull mode. However, we do
11294 want to send an EOS event when shutting down a live
11295 source explicitly, for example (fixes #330996).
11297 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11299 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11300 Update src->read_position after a seek when not using mmap.
11301 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11303 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11309 Make things work with --disable-parse as they do with
11310 --disable-load-save - the symbols involved disappear, but the
11311 header is still installed and GST_DISABLE_PARSE is included via
11314 2006-02-20 Julien MOUTTE <julien@moutte.net>
11316 * libs/gst/base/gstbasetransform.c:
11317 (gst_base_transform_change_state): Fix a stupid bug. I was
11318 sure I compiled that.
11320 2006-02-20 Julien MOUTTE <julien@moutte.net>
11322 * gst/gstpad.c: (gst_pad_set_blocked_async):
11323 * gst/gstutils.c: (gst_pad_add_data_probe),
11324 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11325 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11326 (gst_pad_remove_buffer_probe): Make those function act on the
11327 ghostpad target when it's a ghostpad. (Closes #331727)
11329 2006-02-20 Julien MOUTTE <julien@moutte.net>
11331 * libs/gst/base/gstbasetransform.c:
11332 (gst_base_transform_change_state): Make basetransform reusable.
11335 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11337 * docs/random/release:
11338 Move the current documentation of how to do a release to the top
11341 * gst/gstbin.c: (gst_bin_class_init),
11342 (gst_bin_handle_message_func):
11343 Allow multiple state-recalculation threads. (Closes #328873)
11345 2006-02-19 Julien MOUTTE <julien@moutte.net>
11347 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11348 * gst/gstpad.c: (gst_pad_set_event_function),
11349 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11350 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11351 2 strings. You can't use the STR_NULL macro on that.
11353 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11355 * gst/gstpad.c: (gst_pad_set_event_function),
11356 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11357 (gst_pad_set_getcaps_function)
11358 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11359 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11360 So now, we can use --gst-debug-level=5 on Windows
11361 * win32/common/libgstcontroller.def:
11362 Added export of gst_controller_init
11363 * win32/vs6/libgstcontroller.dsp:
11364 Fixed Release post build configuration
11366 2006-02-17 Wim Taymans <wim@fluendo.com>
11368 * tests/check/gst/gstquery.c: (GST_START_TEST):
11369 Added another check.
11371 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11373 * plugins/elements/gsttypefindelement.c: (find_peek):
11374 We can do peeks at non-zero offsets, as long as they
11375 fall within the buffer we have.
11377 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11379 * tests/check/Makefile.am:
11380 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11381 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11382 (parse_suite), (main):
11383 Add testsuite for parse launch syntax
11385 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11387 * plugins/elements/gsttypefindelement.c:
11388 (gst_type_find_element_chain):
11389 When typefinding is unsuccessful in the chain function, don't
11390 error out immediately. Only error out with NO_CAPS_FOUND if
11391 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11392 otherwise simply wait for more data so we can try typefinding
11393 again with more data later. Also, don't attempt to typefind
11394 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11395 this should improve typefinding from network sources where the
11396 size of the first buffer can be somewhat random.
11398 2006-02-14 Wim Taymans <wim@fluendo.com>
11400 * docs/gst/gstreamer-sections.txt:
11401 * gst/gstpadtemplate.c:
11402 * gst/gstpadtemplate.h:
11403 Fix padtemplate docs, fixes #328805.
11405 2006-02-14 Wim Taymans <wim@fluendo.com>
11407 * tools/gst-launch.c: (main):
11408 NO_PREROLL is not an ERROR so don't send confusing messages
11411 2006-02-14 Wim Taymans <wim@fluendo.com>
11413 Patch by: Torsten Schoenfeld
11415 * gst/gstregistry.c: (gst_registry_get_default),
11416 (_gst_registry_cleanup):
11417 Protect default registry with lock and ref/sink it.
11420 2006-02-14 Wim Taymans <wim@fluendo.com>
11423 * gst/gstquery.c: (gst_query_list_add_format),
11424 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11425 (gst_query_parse_formats_nth):
11426 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11429 2006-02-14 Wim Taymans <wim@fluendo.com>
11431 * docs/gst/gstreamer-sections.txt:
11432 Reworked query docs.
11434 * gst/gstquery.c: (gst_query_new_formats),
11435 (gst_query_list_add_format), (gst_query_set_formats),
11436 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11437 (gst_query_parse_formats_nth):
11439 Flesh out formats query, added some new methods.
11440 Fix part of #324398.
11442 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11443 Added query creation tests.
11445 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11447 * gst/gstpad.c: (fixate_value):
11448 Add a default fixation for fraction lists.
11450 2006-02-13 Wim Taymans <wim@fluendo.com>
11452 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11453 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11456 Detect and warn for obvious deadlocks. fixes #320340
11457 Fix error case where lock was not released.
11459 * tests/check/Makefile.am:
11460 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11461 (task_func), (gst_element_suite), (main):
11464 2006-02-13 Wim Taymans <wim@fluendo.com>
11466 * docs/gst/gstreamer-sections.txt:
11468 Add new functions to docs.
11470 2006-02-13 Wim Taymans <wim@fluendo.com>
11472 * docs/design/part-TODO.txt:
11473 Updated TODO list, basesrc supports seeking to non-bytes
11476 * docs/design/part-element-sink.txt:
11479 * gst/gstbin.c: (bin_replace_message),
11480 (gst_bin_handle_message_func):
11481 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11482 * gst/gstevent.c: (gst_event_finalize):
11483 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11484 (gst_pad_send_event):
11485 Use shiny new _TYPE_NAME macros.
11487 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11488 Move debug statement up.
11490 * gst/gstelement.c: (gst_element_set_locked_state):
11491 Add some debugging.
11493 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11495 * docs/gst/gstreamer-sections.txt:
11496 * gst/gstmessage.h:
11498 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11499 macros (#330906). Also, document the already existing
11500 GST_QUERY_TYPE macro.
11502 2006-02-13 Wim Taymans <wim@fluendo.com>
11504 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11505 (event_probe), (GST_START_TEST):
11506 Only events up to the pipeline EOS are counted, there are
11507 some more when going to NULL currently which we don't care
11510 2006-02-13 Wim Taymans <wim@fluendo.com>
11512 * gst/gstpad.c: (gst_pad_send_event):
11513 Correctly check flushing and emit probes. fixes #330125
11515 2006-02-10 Andy Wingo <wingo@pobox.com>
11517 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11519 (gst_bus_init): Cache the location of the private data in the
11520 instance structure.
11521 (gst_bus_enable_sync_message_emission)
11522 (gst_bus_disable_sync_message_emission): Implement new public
11524 (gst_bus_post): Emit the sync-message signal if the user asked for
11527 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11528 location of the bus-private structure.
11529 (gst_bus_enable_sync_message_emission)
11530 (gst_bus_disable_sync_message_emission): API addition
11532 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11534 Patch by: Vincent Torri
11536 * docs/pwg/building-boiler.xml:
11537 PWG patch from #326800
11539 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11542 * docs/Makefile.am:
11543 * docs/design/Makefile.am:
11546 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11551 === release 0.10.3 ===
11553 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11556 releasing 0.10.3, "Like a virgin"
11558 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11561 2nd prerelease of 0.10.3
11562 Bump libtool versioning.
11564 2006-02-07 Andy Wingo <wingo@pobox.com>
11566 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11567 update last_stop if we're in TIME format and the timestamp is
11570 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11571 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11572 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11573 If we get a new newsegment with a different format, adapt
11576 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11577 of 0. Not a problem, really.
11579 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11582 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11587 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11590 project files updated to the default vs7 configuration
11591 * win32/common/libgstbase.def:
11592 * win32/common/libgstreamer.def:
11594 removed empty lines,
11595 sorted all exported symbols alphabetically
11596 * win32/common/dirent.c:
11597 * win32/common/dirent.h:
11598 * win32/common/gchar.h:
11599 use windows line end.
11601 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11603 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11604 Send EOS event when stopping.
11606 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11609 Tell folks what to do if the plugin-foobar.xml file
11610 hasn't been generated for a newly-added plugin.
11612 2006-02-05 Julien MOUTTE <julien@moutte.net>
11614 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11615 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11616 (gst_collect_pads_start), (gst_collect_pads_stop),
11617 (gst_collect_pads_event): Collectpads now holds a reference
11618 to the GstPad that was added. Indeed we don't want to look
11619 at pads that might just go away with no warning...
11621 2006-02-05 Julien MOUTTE <julien@moutte.net>
11623 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11624 (gst_collect_pads_start), (gst_collect_pads_stop),
11625 (gst_collect_pads_event), (gst_collect_pads_chain):
11626 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11627 Mark Nauwelaerts's patch on bug #328491.
11629 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11631 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11633 Add some simple tests for gst_parse_bin_from_description() and
11634 gst_bin_find_unconnected_pad() (#329069).
11636 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11638 * tools/gst-launch.c: (event_loop), (main):
11639 Catch errors during preroll (#320084).
11641 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11643 * plugins/elements/gsttypefindelement.c:
11644 (gst_type_find_element_activate):
11645 Post TYPE_NOT_FOUND error message when typefinding
11646 is unsuccessful in the activate function as well.
11648 2006-02-02 Wim Taymans <wim@fluendo.com>
11650 * docs/design/part-element-sink.txt:
11653 2006-02-02 Wim Taymans <wim@fluendo.com>
11655 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11656 (gst_base_sink_render_object),
11657 (gst_base_sink_queue_object_unlocked):
11658 Only keep track of prerollable items when we are
11660 Before rendering after preroll, always check if we
11662 Added some more debugging.
11664 2006-02-02 Wim Taymans <wim@fluendo.com>
11666 * gst/gstelement.c: (gst_element_continue_state),
11667 (gst_element_set_state_func), (gst_element_change_state):
11668 Fixed #326576, been running this for quite some time with
11669 no regressions at all.
11671 2006-02-02 Wim Taymans <wim@fluendo.com>
11674 Added more suppressions
11676 2006-02-02 Wim Taymans <wim@fluendo.com>
11678 * docs/design/part-element-sink.txt:
11681 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11682 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11683 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11684 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11685 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11686 (gst_base_sink_preroll_object),
11687 (gst_base_sink_queue_object_unlocked),
11688 (gst_base_sink_queue_object), (gst_base_sink_event),
11689 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11690 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11691 (gst_base_sink_get_position), (gst_base_sink_change_state):
11692 * libs/gst/base/gstbasesink.h:
11693 Totally refactored matching the design doc.
11694 Use two segments, one to clip incomming buffers and another to
11696 Handle queueing correctly, bypass the queue when playing.
11697 Make EOS cancelable.
11698 Handle errors correctly when operating in pull based mode.
11700 * tests/check/elements/fakesink.c: (GST_START_TEST),
11702 Added new check for sinks.
11704 2006-02-02 Wim Taymans <wim@fluendo.com>
11706 * gst/gstsegment.c: (gst_segment_clip):
11707 No reason to refuse to clip when start == -1
11709 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11712 * docs/manual/intro-basics.xml:
11713 * docs/manual/intro-preface.xml:
11714 * docs/manual/manual.xml:
11715 * docs/pwg/advanced-dparams.xml:
11716 * docs/pwg/intro-basics.xml:
11717 * docs/pwg/intro-preface.xml:
11718 * docs/pwg/pwg.xml:
11719 describe dparams (controller) for plugins
11720 unify docs a little more
11722 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11724 * docs/gst/gstreamer-sections.txt:
11725 * gst/gstutils.c: (element_find_unconnected_pad),
11726 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11728 Add new API: gst_parse_bin_from_description() and
11729 gst_bin_find_unconnected_pad() (#329069).
11731 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11733 * docs/manual/README:
11734 uncover a nasty detail of the docs build
11736 2006-01-31 Wim Taymans <wim@fluendo.com>
11738 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11739 Don't cache duration messages if we're not going to use or
11742 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11744 * docs/manual/advanced-dparams.xml:
11745 * docs/pwg/advanced-dparams.xml:
11749 * libs/gst/controller/lib.c: (gst_controller_init):
11752 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11754 * gst/gstelement.c: (gst_element_message_full):
11755 also show file/line/func if no additional debug was given
11757 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11759 * win32/vs7/grammar.vcproj:
11760 activate copy of autogenerated files for Release mode
11762 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11764 * win32/common/libgstreamer.def:
11765 export gst_value_compare
11767 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11769 * plugins/elements/Makefile.am:
11770 * plugins/elements/gstelements.c:
11771 * plugins/elements/gstfdsink.c: (_do_init),
11772 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11773 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11774 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11775 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11776 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11777 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11778 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11779 * plugins/elements/gstfdsink.h:
11780 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11782 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11784 * docs/manual/advanced-dparams.xml:
11785 describe controller
11786 * docs/manual/advanced-position.xml:
11787 * docs/manual/basics-init.xml:
11788 * docs/manual/manual.xml:
11789 * docs/manual/titlepage.xml:
11790 * docs/pwg/pwg.xml:
11791 * docs/pwg/titlepage.xml:
11792 cleanup xml (more to come)
11793 * libs/gst/controller/gstcontroller.c:
11796 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11798 * win32/vs6/grammar.dsp:
11799 add autogen of gstmarshal.c,h for Release mode
11801 2006-01-30 Wim Taymans <wim@fluendo.com>
11803 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11804 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11805 (gst_base_sink_handle_object), (gst_base_sink_event),
11806 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11807 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11808 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11809 (gst_base_sink_deactivate), (gst_base_sink_activate),
11810 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11811 (gst_base_sink_query), (gst_base_sink_change_state):
11812 Basesink cleanups, remove some old code.
11813 Handle the case where a subclass can preroll in the render
11814 method (mostly audiosinks).
11815 Handle more events.
11816 Remove some locks around variables that are now protected
11817 with the PREROLL_LOCK (clock_id, flushing, ..).
11818 Optimize position query some more, do correct locking.
11819 Remove old code to push queue in state change, this is not
11820 needed anymore since preroll blocks on all prerollable items
11822 Almost implemented as described in design doc.
11824 2006-01-30 Wim Taymans <wim@fluendo.com>
11826 * tests/check/gst/gstbin.c: (GST_START_TEST):
11827 Wait for refcount to settle down before checking.
11829 2006-01-30 Wim Taymans <wim@fluendo.com>
11831 * docs/design/part-element-sink.txt:
11832 Pseudo code overview of desired sink behaviour regarding
11835 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11836 * win32/vs6/grammar.dsp:
11837 fix some bugs in Release mode for autogenerated files
11839 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11840 * win32/common/libgstbase.def:
11841 * win32/common/libgstreamer.def:
11842 export some new symbols: gst_base_src_set_format,
11843 gst_iterator_next, gst_structure_set_valist
11845 2006-01-29 Julien MOUTTE <julien@moutte.net>
11847 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11848 Set pad functions unconditionally. Fixes #329105.
11850 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11852 add vs8 project files created by Sergey Scobich
11854 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11856 * gst/gstutils.c: (gst_element_unlink_pads):
11857 Don't leak pad references.
11859 * tests/check/elements/fakesink.c: (GST_START_TEST):
11860 * tests/check/generic/sinks.c: (GST_START_TEST):
11861 * tests/check/generic/states.c: (GST_START_TEST):
11862 * tests/check/gst/gstbin.c: (GST_START_TEST):
11863 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11864 * tests/check/gst/gstelement.c: (GST_START_TEST):
11865 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11866 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11867 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11868 Fix a bunch of leaks. Make generic/sinks.c
11869 use a bit less cpu by slowing the buffer rate
11870 between fakesrc and fakesink.
11872 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11874 * gst/gstelement.c: (gst_element_send_event):
11877 * gst/gstiterator.c:
11878 * gst/gstiterator.h:
11879 * gst/gstpad.c: (gst_pad_send_event):
11880 * gst/gststructure.c:
11884 * libs/gst/base/gstadapter.c:
11885 doc fixes, to link to function, just write gst_cool_function(), don't
11888 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11890 * plugins/elements/gsttee.c: (gst_tee_do_push),
11891 (gst_tee_handle_buffer):
11892 Always prefer an actual return value from a src
11893 pad in place of NOT_LINKED. This means we return
11894 WRONG_STATE when all src pads are WRONG_STATE
11895 instead of NOT_LINKED.
11897 Lock when replacing the last message to prevent
11898 racing with the get_property method.
11902 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11904 * tests/check/Makefile.am:
11905 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11907 Add a very simple check that should have caught the memleak I fixed
11908 last night (if not for the slice allocator hiding it)
11910 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11912 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11913 (gst_bin_remove_func), (gst_bin_handle_message_func),
11914 (bin_query_duration_fold), (bin_query_generic_fold):
11915 Clean up references to the clock provider when disposed or when
11916 handling a clock-lost message from it.
11918 Unref sinks when performing a query via gst_iterator_fold, as the
11919 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11921 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11922 (gst_clock_set_master):
11923 Drop our reference to the master clock, if any, when we are disposed.
11925 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11926 Chain up in dispose.
11928 2006-01-26 Wim Taymans <wim@fluendo.com>
11930 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11931 Add some debugging.
11933 2006-01-26 Julien MOUTTE <julien@moutte.net>
11935 * plugins/elements/gsttee.c: (gst_tee_do_push),
11936 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11937 handles pad being NOT_LINKED or in WRONG_STATE.
11939 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11944 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11947 remove obsolete entry
11949 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11951 * docs/gst/gstreamer-sections.txt:
11952 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11953 (gst_bin_iterate_sources), (gst_bin_send_event):
11955 * gst/gstelement.c: (gst_element_send_event):
11957 * gst/gstpad.c: (gst_pad_send_event):
11958 added code for downstream events, reviewed docs in gstevent.c
11960 2006-01-25 Julien MOUTTE <julien@moutte.net>
11962 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11963 We only query position using the clock in the playing state.
11964 Query peer in the other cases.
11965 * win32/common/config.h: Updates.
11967 2006-01-24 Wim Taymans <wim@fluendo.com>
11969 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11970 A clock entry that is scheduled for the exact time of the
11971 clock is still in time.
11973 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11974 (gst_base_sink_do_sync):
11975 Add some more debug info.
11977 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11980 Add new vs7 project files and solution.
11982 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11985 all files removed as they were out-dated.
11987 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11989 * docs/random/release:
11991 * gst/gstbin.c: (gst_bin_init):
11992 * gst/gstbus.c: (gst_bus_new):
11994 * gst/gstpipeline.c: (gst_pipeline_init):
11995 use gst_bus_new(), improve logging, fix docs
11996 * win32/common/config.h:
11997 update for cvs build
11999 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12002 up required version of automake to 1.7
12004 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12006 * win32/common/libgstreamer.def:
12007 export gst_buffer_is_metadata_writable
12009 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12011 * docs/gst/gstreamer-sections.txt:
12013 Add gst_event_replace() (#327001)
12015 2006-01-20 Wim Taymans <wim@fluendo.com>
12017 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12018 Make it actually compile too..
12020 2006-01-20 Wim Taymans <wim@fluendo.com>
12023 Clarify behaviour of _is_equal() when passing NULL parameters.
12025 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12026 (gst_pad_set_caps):
12027 Cleanups. Don't unref NULL caps.
12028 When setting the same caps, protect caps of the pad with
12030 Use full functionality of _is_equal() when comparing caps.
12032 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12034 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12035 Don't loop infinitely if there are no buffers to present. Partially
12036 fixes #327197, but collectpads is just broken for reusing elements
12037 to do multiple encodes atm.
12039 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12041 * tools/gst-inspect.c: (print_element_features):
12042 * tools/gst-xmlinspect.c: (main):
12043 URL_HANDLER is not a plugin feature we can search for in
12046 2006-01-19 Edward Hervey <edward@fluendo.com>
12048 * gst/gstelement.c: (gst_element_pads_activate):
12049 When activating, do src pads first, then sink pads.
12050 When de-activating, do sink pads first, then src pads.
12052 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12054 * docs/gst/gstreamer-sections.txt:
12055 Add gst_index_add_associationv to the docs
12057 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12062 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12063 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12064 Do some refactoring. Doesn't actually change functionality,
12065 but makes landing the DRAIN event easier later.
12067 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12069 * docs/pwg/advanced-scheduling.xml:
12070 Update from 0.9.x to 0.10 API and make example a bit
12073 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12075 * docs/gst/gstreamer-sections.txt:
12076 Add gst_buffer_(is|make)_metadata_writable methods.
12078 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12080 * docs/design/part-sparsestreams.txt:
12081 Update sparse streams doc, hopefully for greater clarity
12083 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12085 * docs/design/part-events.txt:
12086 Remove mention of FILLER events.
12089 * docs/design/part-sparsestreams.txt:
12090 Write some things about using NEWSEGMENT to keep sparse streams
12093 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12095 * gst/gstbin.c: (gst_bin_dispose):
12096 Guard gst_object_unref call against a NULL object (dispose
12097 can theoretically be called multiple times).
12099 2006-01-18 Wim Taymans <wim@fluendo.com>
12101 * gst/gstbin.c: (gst_bin_element_set_state):
12102 * gst/gstclock.c: (gst_clock_id_wait):
12103 Added some more debug info.
12105 * libs/gst/base/gstadapter.c:
12108 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12109 (gst_base_sink_do_sync), (gst_base_sink_chain):
12110 Added some comments.
12112 2006-01-18 Wim Taymans <wim@fluendo.com>
12114 * tests/check/Makefile.am:
12115 * tests/check/elements/fakesink.c: (chain_async_buffer),
12116 (chain_async), (chain_async_return), (GST_START_TEST),
12117 (fakesink_suite), (main):
12118 Added fakesink test that checks prerolling and clipping
12121 * tests/check/gst/gstutils.c: (GST_START_TEST):
12122 Make check run faster so that buildbots don't timeout.
12124 2006-01-18 Wim Taymans <wim@fluendo.com>
12126 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12127 (gst_base_sink_do_sync):
12129 When the sink finishes blocking on the preroll buffer, it can
12130 immediatly render it instead of rendering when the next buffer
12133 2006-01-18 Wim Taymans <wim@fluendo.com>
12135 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12136 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12137 (gst_base_sink_chain):
12139 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12140 Don't store _last_stop if the buffer is dropped.
12142 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12144 * plugins/elements/gsttypefindelement.c:
12145 (gst_type_find_element_class_init):
12146 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12147 object method handler that sets the caps on the pad and we want
12148 that to happen before we emit the signal (fixes e.g. feeding a
12149 plain text file to decodebin).
12151 2006-01-18 Christian Schaller <Christian@fluendo.com>
12153 * gst/gstplugin.c: Add MPL and Proprietary as license options
12155 2006-01-18 Andy Wingo <wingo@pobox.com>
12157 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12158 symbol was exported before, it appears this was just an oversight.
12160 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12162 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12163 prototype to gint. OK since this prototype was not in the header.
12165 2006-01-17 Andy Wingo <wingo@pobox.com>
12167 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12168 registry while we remove plugins.
12170 * tools/gst-inspect.c (print_element_info): Don't unref the
12171 factory arg, that should be the responsibility of whatever code
12172 received the ref. Fixes a double-free when called from
12173 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12174 (main): Unref the factory if we have one.
12175 (print_element_list): No change -- relies on the
12176 plugin_feature_list_free to free the list of features.
12178 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12180 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12181 (gst_buffer_make_metadata_writable):
12183 * libs/gst/base/gstbasetransform.c:
12184 (gst_base_transform_prepare_output_buf):
12185 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12186 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12187 Replace gst_buffer_(make|is)_metadata_writable patch now
12188 that the release is out.
12190 2006-01-17 Andy Wingo <wingo@pobox.com>
12192 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12193 in the present tense without reference to versions.
12195 * gst/gstregistry.c (gst_registry_add_plugin)
12196 (gst_registry_remove_plugin, gst_registry_remove_feature)
12197 (gst_registry_find_feature, gst_registry_get_feature_list)
12198 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12199 (gst_registry_lookup, gst_registry_scan_path)
12200 (_gst_registry_remove_cache_plugins)
12201 (gst_registry_get_feature_list_by_plugin): Add argument
12204 === release 0.10.2 ===
12206 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12209 releasing 0.10.2, "If man is five"
12211 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12215 * libs/gst/base/gstbasetransform.c:
12216 (gst_base_transform_prepare_output_buf):
12217 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12218 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12219 Back out patch until after the release.
12221 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12223 * gst/gstminiobject.c:
12224 Spelling fix in docs.
12225 * ChangeLog - remove conflict indicator
12227 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12229 Reviewed By: Andy Wingo
12231 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12232 (gst_buffer_make_metadata_writable):
12234 Add gst_buffer_(is|make)_metadata_writable as analogues of
12235 gst_buffer_(is|make)_writable.
12237 * libs/gst/base/gstbasetransform.c:
12238 (gst_base_transform_prepare_output_buf):
12239 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12240 Use name gst_buffer_(is|make)_metadata_writable functions.
12242 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12243 Test gst_buffer_(is|make)_metadata_writable
12247 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12249 * docs/manual/Makefile.am:
12250 don't do parallel make
12253 * win32/common/config.h.in:
12254 add generations for HOST_CPU and GST_MAJORMINOR
12255 * win32/common/config.h:
12256 commit generated result
12258 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12260 * docs/manual/appendix-integration.xml:
12261 Update GNOME integration section to use gst_init_get_option_group()
12262 instead of the old popt stuff (#322911). Also, GNOME applications
12263 should now use gconf*sink and gconf*src instead of the old gconf
12266 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12269 * docs/gst/gstreamer-docs.sgml:
12270 * docs/gst/gstreamer-sections.txt:
12271 * docs/libs/gstreamer-libs-sections.txt:
12272 add new API entries to the docs
12273 * libs/gst/controller/Makefile.am:
12274 * libs/gst/controller/gstcontroller.c:
12275 * libs/gst/controller/gstcontroller.h:
12276 * libs/gst/controller/gstcontrollerprivate.h:
12277 * libs/gst/controller/gsthelper.c:
12278 * libs/gst/controller/gstinterpolation.c:
12279 move private structs to private header
12281 gstreamer-0.7 -> gstreamer-0.10
12282 * tests/check/libs/struct_i386.h:
12283 remove private structs
12285 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12287 * plugins/indexers/Makefile.am:
12288 Fixes as part of #317048
12290 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12292 * plugins/indexers/Makefile.am:
12293 fix #316086 - compilation when mmap is missing
12295 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12297 * libs/gst/base/gstbasesink.c:
12298 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12299 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12300 * win32/common/config.h:
12301 added some defines GST_MAJORMINOR and HOST_CPU
12302 * win32/common/libgstbase.def:
12303 * win32/common/libgstreamer.def:
12304 added some exported functions.
12306 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12308 * libs/gst/controller/gstcontroller.c:
12309 (gst_controlled_property_set_interpolation_mode),
12310 (gst_controlled_property_new):
12311 * libs/gst/controller/gstcontroller.h:
12312 * libs/gst/controller/gstinterpolation.c:
12313 (interpolate_none_get_string_value_array):
12314 make G_TYPE_STRING controlable
12316 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12319 * tools/gst-feedback.1.in:
12320 * tools/gst-inspect.1.in:
12321 * tools/gst-launch.1.in:
12322 * tools/gst-md5sum.1.in:
12323 * tools/gst-typefind.1.in:
12324 * tools/gst-xmlinspect.1.in:
12325 * tools/gst-xmllaunch.1.in:
12326 cleanup man-pages, remove reference to gst-register, document env-vars
12328 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12330 * gst/gstbuffer.c: (gst_buffer_span):
12331 gst_buffer_span should copy the timestamp of the first buffer
12332 if they were both originally overlapping subbuffers of the
12333 same parent, using the same logic as the 'slow copy' case.
12335 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12337 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12338 Need to awaken ALL the pads when we pop a buffer, otherwise
12339 collectpads only works when there is 2 input streams.
12341 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12343 * docs/random/ensonic/media-device-daemon.txt:
12346 fix doc example, add clarification
12347 * tools/gst-launch.1.in:
12348 add initial info about GST_PLUGIN_PATH, needs more work
12350 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12352 * docs/manual/basics-bins.xml:
12353 * docs/manual/basics-elements.xml:
12354 * docs/manual/intro-basics.xml:
12355 Some more minor docs additions and updates.
12357 2006-01-11 Wim Taymans <wim@fluendo.com>
12359 * docs/manual/basics-bins.xml:
12360 * docs/manual/basics-elements.xml:
12361 Some small fixes as pointed out by Ser-ver on IRC.
12363 2006-01-10 Edward Hervey <edward@fluendo.com>
12365 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12366 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12367 the single-segment mode.
12369 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12371 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12373 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12374 (gst_base_src_perform_seek), (gst_base_src_send_event),
12375 (gst_base_src_set_property), (gst_base_src_get_property),
12376 (gst_base_src_loop), (gst_base_src_start),
12377 (gst_base_src_activate_push):
12378 * libs/gst/base/gstbasesrc.h:
12379 Name (private) union; makes Sun's Forte compiler happy (#324900).
12381 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12384 gst-register is gone.
12386 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12388 * gst/gstvalue.c: (_gst_value_initialize):
12389 make the G_TYPE_DATE instantiation work if debug is disabled
12391 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12393 * gst/gstmessage.c: (gst_message_parse_tag),
12394 (gst_message_parse_error), (gst_message_parse_warning):
12395 Don't crash when return location for error/warning debug
12396 string is NULL; add fact that return locations can be
12397 NULL to docs where appropriate.
12399 2006-01-05 Wim Taymans <wim@fluendo.com>
12401 * gst/gstplugin.c: (gst_plugin_load_file):
12402 Replace strdup by g_strdup.
12404 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12406 * docs/pwg/advanced-types.xml:
12409 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12411 submitted by: Abel Cheung
12415 Added Chinese (traditional) translation
12417 2006-01-04 Wim Taymans <wim@fluendo.com>
12419 * docs/manual/basics-pads.xml:
12420 * docs/plugins/Makefile.am:
12421 * docs/plugins/gstreamer-plugins-docs.sgml:
12422 * docs/plugins/gstreamer-plugins-sections.txt:
12423 * docs/pwg/advanced-clock.xml:
12424 * docs/pwg/advanced-scheduling.xml:
12425 * docs/pwg/advanced-types.xml:
12426 * plugins/elements/gstfdsink.c:
12427 * plugins/elements/gstfdsrc.c:
12428 * plugins/elements/gstfdsrc.h:
12429 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12430 * plugins/elements/gstidentity.h:
12431 * plugins/elements/gstqueue.h:
12432 * plugins/elements/gsttee.c:
12433 * plugins/elements/gsttee.h:
12434 * plugins/elements/gsttypefindelement.c:
12435 (gst_type_find_element_class_init):
12436 * plugins/elements/gsttypefindelement.h:
12437 Small updates to various docs.
12438 Added core plugins to docs.
12440 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12443 add a suppression for liboil's uninitialized variable
12445 2006-01-02 James Livingston <jrl at ids dot org dot au>
12447 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12450 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12451 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12452 compiler switch is being used (#325429).
12454 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12456 * gst/gstbin.c: (gst_bin_query):
12457 Disable duration query caching in bins until it gets
12458 fixed (see #324807).
12460 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12462 * tools/gst-inspect.c: (print_element_properties_info):
12463 Handle properties of POINTER and BOXED type.
12465 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12467 * gst/gst.c: (init_post):
12468 Init tags stuff and some other things before loading
12469 any static plugins (there may be other static plugins
12470 than just the GStreamer ones, and they may want to
12471 register their own tags or formats or whatever, and
12472 preferably without segfaulting).
12474 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12475 Print at least a warning in the debug logs if we drop a
12476 query just because we don't know how to adjust the value
12477 in the particular format.
12479 2005-12-24 David Schleef <ds@schleef.org>
12481 * tools/gstreamer-completion:
12482 Replacement for gst-complete written in sh and sed. Only
12483 completes names of features, but that's 90% of what I want
12484 it for. Properties are not available in registry.xml. (Maybe
12487 === release 0.10.1 ===
12489 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12492 releasing 0.10.1, "Nollaig chridheil"
12494 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12496 * docs/faq/cvs.xml:
12497 Add missing quote, should be make ERROR_CFLAGS="".
12499 2005-12-20 Wim Taymans <wim@fluendo.com>
12501 * docs/design/part-trickmodes.txt:
12502 More documentation on trickmodes.
12504 2005-12-20 Edward Hervey <edward@fluendo.com>
12506 * gst/gstcaps.c: (gst_static_caps_get_type):
12508 API addition: GST_TYPE_STATIC_CAPS
12509 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12510 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12511 * gst/gstpadtemplate.h:
12512 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12513 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12516 2005-12-18 Wim Taymans <wim@fluendo.com>
12518 * libs/gst/base/gstadapter.c:
12519 * libs/gst/base/gstadapter.h:
12520 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12521 (gst_base_sink_get_position):
12522 * libs/gst/base/gstbasesink.h:
12523 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12524 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12525 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12526 (gst_base_src_send_event), (gst_base_src_update_length),
12527 (gst_base_src_get_range), (gst_base_src_loop),
12528 (gst_base_src_start):
12529 * libs/gst/base/gstbasesrc.h:
12530 * libs/gst/base/gstbasetransform.h:
12531 * libs/gst/base/gstcollectpads.h:
12532 * libs/gst/base/gstpushsrc.c:
12533 * libs/gst/base/gstpushsrc.h:
12534 * libs/gst/dataprotocol/dataprotocol.c:
12535 * libs/gst/dataprotocol/dataprotocol.h:
12536 * libs/gst/net/gstnetclientclock.h:
12537 * libs/gst/net/gstnettimeprovider.h:
12538 Documentation updates.
12540 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12542 * docs/manual/basics-helloworld.xml:
12543 Remove superfluous closing bracket in helloworld example.
12545 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12547 * tools/gst-launch.1.in:
12548 Update gst-launch man page; add a section with useful
12549 environment variables. Fixes #323882.
12551 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12554 * gst/gst_private.h:
12555 change some char* into char[]
12557 2005-12-16 Wim Taymans <wim@fluendo.com>
12559 * gst/gstregistryxml.c: (load_feature):
12561 Don't use g_object_unref on GstObjects so that we avoid
12562 leaks on unsafe glibs.
12564 2005-12-16 Wim Taymans <wim@fluendo.com>
12566 * gst/gstbin.c: (gst_bin_recalc_state):
12569 2005-12-16 Wim Taymans <wim@fluendo.com>
12571 * common/check.mak:
12572 Added make forever target for check.
12574 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12576 * gst/gst.c: (init_post):
12577 make the registry cache file HOST_CPU-dependent
12579 2005-12-16 Andy Wingo <wingo@pobox.com>
12581 * plugins/elements/gstbufferstore.c
12582 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12585 * tests/check/gst/gstobject.c
12586 (test_fake_object_name_threaded_unique): Pay attention to
12587 g_list_sort return value.
12589 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12591 * tools/gst-feedback-m.m:
12592 Update for 0.9/0.10 (fixes #323870).
12594 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12596 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12597 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12599 * tests/check/gst/gstminiobject.c: (my_foo_init),
12600 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12601 (test_value_collection), (gst_mini_object_suite):
12602 Add test to ensure refcounts end up as expected when passing
12603 GstMiniObjects through g_object_get() and g_object_set().
12605 2005-12-14 Julien MOUTTE <julien@moutte.net>
12607 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12608 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12609 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12610 of collectpads. This version removes a lot of races without
12611 touching API/ABI. Yay !
12613 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12615 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12616 Don't allow activation of a srcpad in pull_range if it has no
12618 Change some debug statements to be a little clearer
12620 * plugins/elements/gsttypefindelement.c:
12621 (gst_type_find_handle_src_query):
12622 Check that we have a peer before executing queries thereupon.
12624 * tests/examples/metadata/read-metadata.c: (message_loop):
12625 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12626 immediately return us any available message with 0 timeout.
12628 2005-12-12 Michael Smith <msmith@fluendo.com>
12630 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12631 Don't unref factories after calling them.
12632 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12633 * plugins/elements/gsttypefindelement.c:
12634 (gst_type_find_element_chain):
12635 Free lists of factories after using them. Fixing typefinding memory
12638 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12640 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12641 (gst_plugin_feature_load):
12642 more meaningful debug output
12644 * tests/Makefile.am:
12645 * tests/old/examples/Makefile.am:
12646 make make distcheck happy again
12648 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12650 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12651 Catch the special case where we are operating chain-based,
12652 but the downstream peer pad has no chain function. Emit a
12653 custom error message in this case instead of letting the
12654 core generate one implying that this is some sort of core
12655 bug. It's not, it just means that whatever got plugged
12656 into the pipeline downstream when we announced the type
12657 can only operate pull-based, while our source can only
12658 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12659 Error string has not been marked for translation yet, as
12660 it probably needs some more work first.
12662 (gst_type_find_element_get_best_possibility):
12663 Add helper function to find the best of all available
12664 found possibilities that qualify given the min. threshold.
12666 (gst_type_find_element_handle_event):
12667 Fix the case where we get an EOS while still in TYPEFIND
12668 mode (we want to chose the best of all possible types,
12669 not just the first type that happens to be in our unsorted
12670 list of possible types).
12672 (gst_type_find_element_chain):
12673 Make sure we return GST_FLOW_ERROR when we errored out
12674 in stop_typefinding(); also, don't just find the best of
12675 all found type entries and then use the last examined
12676 type entry, but actually use the best entry.
12678 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12680 * tests/examples/typefind/typefind.c: (type_found):
12681 * tests/examples/xml/runxml.c: (xml_loaded):
12682 More gcc4 fixes and a mem leak fix.
12684 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12686 * tests/examples/xml/createxml.c: (object_saved):
12689 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12691 * tests/Makefile.am:
12692 enable the examples even more
12694 2005-12-12 Andy Wingo <wingo@pobox.com>
12696 * libs/gst/net/gstnettimeprovider.c
12697 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12698 (gst_net_time_provider_set_property)
12699 (gst_net_time_provider_get_property):
12700 API addition: Export "active" as a GObject property.
12701 (gst_net_time_provider_thread): Only respond to time queries if
12702 the time provider is active.
12704 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12705 NetTimeProvider, preserving binary compat.
12707 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12709 * tests/examples/controller/audio-example.c: (main):
12710 * tests/examples/launch/Makefile.am:
12711 convert comments again
12713 2005-12-12 Wim Taymans <wim@fluendo.com>
12715 * libs/gst/base/gstpushsrc.c:
12718 2005-12-12 Wim Taymans <wim@fluendo.com>
12720 * docs/libs/gstreamer-libs-sections.txt:
12721 Added new symbol to docs.
12723 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12724 (gst_base_src_init), (gst_base_src_set_format),
12725 (gst_base_src_default_query), (gst_base_src_query),
12726 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12727 (gst_base_src_perform_seek), (gst_base_src_send_event),
12728 (gst_base_src_default_event), (gst_base_src_event_handler),
12729 (gst_base_src_set_property), (gst_base_src_get_property),
12730 (gst_base_src_wait), (gst_base_src_do_sync),
12731 (gst_base_src_update_length), (gst_base_src_get_range),
12732 (gst_base_src_check_get_range), (gst_base_src_loop),
12733 (gst_base_src_default_negotiate), (gst_base_src_start),
12734 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12735 (gst_base_src_change_state):
12736 * libs/gst/base/gstbasesrc.h:
12737 Implement seeking to other formats than _BYTES.
12738 Implement more seeking methods correctly.
12740 Added query vmethod.
12741 Added do_seek vmethod to make life easier for subclasses
12743 API addition: gst_base_src_set_format()
12745 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12747 * tests/examples/Makefile.am:
12750 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12753 * docs/random/ensonic/media-device-daemon.txt:
12754 * tests/examples/controller/.cvsignore:
12755 * tests/examples/controller/Makefile.am:
12756 * tests/examples/controller/audio-example.c: (main):
12757 * tests/examples/helloworld/.cvsignore:
12758 * tests/examples/helloworld/Makefile.am:
12759 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12760 * tests/examples/launch/.cvsignore:
12761 * tests/examples/launch/Makefile.am:
12762 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12763 * tests/examples/metadata/.cvsignore:
12764 * tests/examples/metadata/Makefile.am:
12765 * tests/examples/metadata/read-metadata.c: (message_loop),
12766 (make_pipeline), (print_tag), (main):
12767 * tests/examples/queue/.cvsignore:
12768 * tests/examples/queue/Makefile.am:
12769 * tests/examples/queue/queue.c: (event_loop), (main):
12770 * tests/examples/typefind/.cvsignore:
12771 * tests/examples/typefind/Makefile.am:
12772 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12774 * tests/examples/xml/.cvsignore:
12775 * tests/examples/xml/Makefile.am:
12776 * tests/examples/xml/createxml.c: (object_saved), (main):
12777 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12778 * tests/old/examples/Makefile.am:
12779 * tests/old/examples/TODO:
12780 * tests/old/examples/controller/.cvsignore:
12781 * tests/old/examples/controller/Makefile.am:
12782 * tests/old/examples/controller/audio-example.c:
12783 * tests/old/examples/helloworld/.cvsignore:
12784 * tests/old/examples/helloworld/Makefile.am:
12785 * tests/old/examples/helloworld/helloworld.c:
12786 * tests/old/examples/launch/.cvsignore:
12787 * tests/old/examples/launch/Makefile.am:
12788 * tests/old/examples/launch/mp3parselaunch.c:
12789 * tests/old/examples/launch/mp3play:
12790 * tests/old/examples/manual/Makefile.am:
12791 * tests/old/examples/metadata/Makefile.am:
12792 * tests/old/examples/metadata/read-metadata.c:
12793 * tests/old/examples/queue/.cvsignore:
12794 * tests/old/examples/queue/Makefile.am:
12795 * tests/old/examples/queue/queue.c:
12796 * tests/old/examples/typefind/.cvsignore:
12797 * tests/old/examples/typefind/Makefile.am:
12798 * tests/old/examples/typefind/typefind.c:
12799 * tests/old/examples/xml/.cvsignore:
12800 * tests/old/examples/xml/Makefile.am:
12801 * tests/old/examples/xml/createxml.c:
12802 * tests/old/examples/xml/runxml.c:
12803 applied some simple fixing to some examples
12804 re-enabled the working examples
12806 2005-12-12 Wim Taymans <wim@fluendo.com>
12808 * gst/gstsegment.c: (gst_segment_init),
12809 (gst_segment_set_last_stop), (gst_segment_set_seek),
12810 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12811 (gst_segment_to_running_time):
12812 Added more documentation.
12813 Make sure the last_pos value is updated properly.
12814 Make sure to_stream_time and to_running_time don't
12815 operate on wrong values.
12817 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12820 2005-12-12 Michael Smith <msmith@fluendo.com>
12822 * plugins/elements/gsttypefindelement.c: (free_entry),
12823 (gst_type_find_element_chain):
12824 Now that we're not leaking factories, make sure we keep references
12825 to them while we need them.
12827 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12829 * tests/check/gst/struct_i386.h:
12830 ifdef out the XML structs
12832 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12834 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12835 floor is not needed, F is always positive; this obviates the
12836 need for adding -lm when building without libxml
12838 2005-12-12 Wim Taymans <wim@fluendo.com>
12840 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12841 Take current playback rate into account when reporting
12844 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12846 * docs/manual/mime-world.fig:
12847 Let's try this again, this time with a file that is
12848 actually in XFig format.
12850 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12852 * docs/manual/mime-world.fig:
12853 Add audioconvert element to diagram so that it
12854 matches the text and the code (fixes #319526).
12856 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12858 * docs/pwg/building-chainfn.xml:
12859 * docs/pwg/building-pads.xml:
12860 * docs/pwg/building-state.xml:
12861 * docs/pwg/other-source.xml:
12862 Update state change stuff for 0.10 (fixes #322969).
12864 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12866 * docs/manual/advanced-dataaccess.xml:
12867 * docs/manual/appendix-checklist.xml:
12868 * docs/manual/appendix-programs.xml:
12869 * docs/manual/basics-pads.xml:
12870 * docs/manual/highlevel-components.xml:
12871 * docs/manual/manual.xml:
12872 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12873 add converters in front of pipelines; remove curly
12874 brackets for threads stuff, they no longer exist; use
12875 GST_TYPE_FRACTION for framerates; update some pieces of
12876 code to 0.10, but there's plenty more to do.
12878 * docs/manual/appendix-porting.xml:
12879 Expand on asynchroneous state changes; s/0.9/0.10/;
12880 mention disappearance of gst_init_get_popt_table()
12883 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12885 * docs/faq/using.xml:
12886 Spider no longer exists, and neither does gst-launch-ext.
12887 Update examples to use decodebin and playbin and put
12888 converters in front of sinks (fixes #323726).
12890 2005-12-09 Michael Smith <msmith@fluendo.com>
12892 * plugins/elements/gsttypefindelement.c: (find_peek),
12893 (gst_type_find_element_chain):
12894 Fix leaking element factories in typefinding.
12895 Fix problem where we forgot about a probable type on non-seekable
12896 files, and thus later mis-typefound it.
12898 2005-12-09 Michael Smith <msmith@fluendo.com>
12900 * common/m4/gst-makecontext.m4:
12901 * common/m4/gst-mcsc.m4:
12903 * win32/common/config.h:
12904 * win32/common/config.h.in:
12905 Remove makecontext stuff; not used in 0.10 and causes problems on
12906 HPUX according to bug #322441
12908 2005-12-07 Wim Taymans <wim@fluendo.com>
12910 * tests/check/Makefile.am:
12911 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12913 * tests/check/libs/struct_i386.h:
12914 Added ABI check for libs
12916 2005-12-07 Wim Taymans <wim@fluendo.com>
12918 * tests/check/Makefile.am:
12919 And add the struct_i386.h to dist.
12921 2005-12-07 Wim Taymans <wim@fluendo.com>
12923 * tests/check/Makefile.am:
12924 * tests/check/gst/.cvsignore:
12925 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12927 * tests/check/gst/struct_i386.h:
12928 Added check for ABI compatibility.
12930 2005-12-07 Wim Taymans <wim@fluendo.com>
12932 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12933 (gst_fake_src_get_times), (gst_fake_src_create):
12934 Fix broken sync option, fixes #323259
12936 2005-12-07 Wim Taymans <wim@fluendo.com>
12941 * gst/gstcaps.c: (gst_caps_is_equal):
12942 Don't assert on NULL <--> X. Fixes #323260
12944 * gst/gstminiobject.c: (gst_mini_object_replace):
12945 If we're doing atomic operations, we might just as well use
12946 the proper way to get an atomic pointer.
12948 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12949 Clean up debugging.
12951 2005-12-07 Michael Smith <msmith@fluendo.com>
12953 * gst/parse/grammar.y:
12954 Remove handling of { } for threads.
12956 2005-12-06 David Schleef <ds@schleef.org>
12958 * libs/gst/base/gstbasetransform.c: speling fix.
12960 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12962 * docs/libs/tmpl/gstdataprotocol.sgml:
12963 * docs/random/omega/testing/gstobject.c:
12966 * gst/gstelement.c:
12967 * gst/gstelementfactory.c:
12970 * gst/gstghostpad.c:
12972 * gst/gstpadtemplate.c:
12973 * gst/gstregistryxml.c:
12974 * gst/gsttaglist.c:
12975 * gst/gsttagsetter.c:
12976 * gst/gsttypefind.c:
12978 * libs/gst/base/gstbasesrc.c:
12979 * libs/gst/net/gstnetclientclock.c:
12980 * libs/gst/net/gstnettimeprovider.c:
12981 * plugins/elements/gstfakesrc.c:
12982 * plugins/elements/gstfdsrc.c:
12983 * plugins/elements/gstfilesrc.c:
12984 * plugins/elements/gstidentity.c:
12985 * plugins/elements/gstqueue.c:
12986 * plugins/elements/gsttypefindelement.c:
12987 * plugins/indexers/gstfileindex.c:
12988 * plugins/indexers/gstmemindex.c:
12989 * tests/check/gst/gsttag.c:
12990 * tests/old/examples/cutter/cutter.c:
12991 * tests/old/examples/mixer/mixer.c:
12992 * tests/old/examples/xml/runxml.c: (main):
12993 * tests/old/testsuite/caps/normalisation.c:
12994 * tests/old/testsuite/debug/global.c:
12995 * tests/old/testsuite/parse/parse1.c:
12996 * tools/gst-xmlinspect.c:
12997 * win32/common/dirent.c:
13000 === release 0.10.0 ===
13002 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13005 releasing 0.10.0, "Maroilles"
13007 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13009 submitted by: Funda Wang <fundawang@linux.net.cn>
13013 added Chinese (Traditional) translation
13015 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13017 * docs/gst/gstreamer-sections.txt:
13018 * docs/libs/tmpl/gstdataprotocol.sgml:
13019 * docs/random/thomasvs/TODO:
13024 2005-12-05 Andy Wingo <wingo@pobox.com>
13026 patch by: Wim Taymans <wim@fluendo.com>
13028 * libs/gst/base/gstbasetransform.c
13029 (gst_base_transform_prepare_output_buf)
13030 (gst_base_transform_buffer_alloc):
13031 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13032 alloc_buffer_and_set_caps.
13034 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13035 set_caps on the source pad.
13036 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13037 alloc_buffer used to do. Fixes #322874.
13039 * docs/gst/gstreamer-sections.txt:
13040 * docs/design/part-negotiation.txt:
13041 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13044 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13046 patch by: Sebastien Moutte
13049 * win32/common/config.h.in:
13050 * win32/vs6/libgstcontroller.dsp:
13053 2005-12-05 Wim Taymans <wim@fluendo.com>
13055 * gst/gstcaps.c: (gst_caps_is_equal):
13056 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13057 (gst_fake_src_create):
13058 Back out previous code changes, leave doc updates, file bugs
13061 2005-12-05 Wim Taymans <wim@fluendo.com>
13063 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13064 (gst_fake_src_get_times), (gst_fake_src_create):
13065 * plugins/elements/gstfakesrc.h:
13066 Fix broken sync code.
13068 2005-12-05 Wim Taymans <wim@fluendo.com>
13070 * gst/gstcaps.c: (gst_caps_is_equal):
13071 Comparing NULL against !NULL yields different caps, not a
13074 2005-12-05 Wim Taymans <wim@fluendo.com>
13076 * gst/gstpipeline.c:
13077 Fix small typo in docs.
13079 2005-12-05 Andy Wingo <wingo@pobox.com>
13081 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13083 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13084 registries/plugins with a MAJORMINOR one.
13085 (plugin_desc): Rename library from gstcoreleements to
13086 staticelements. Fixes #323222.
13088 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13090 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13091 Change debug category to 'collectpads' from 'collect_pads'
13094 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13096 patch by: Sebastien Moutte
13098 * libs/gst/controller/gstinterpolation.c:
13099 use convert function for uint64/double
13100 * win32/vs6/libgstcontroller.dsp:
13103 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13105 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13106 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13108 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13109 add tests that seem to show that the guint64/gdouble conversions
13112 2005-12-02 Wim Taymans <wim@fluendo.com>
13114 * gst/gstregistry.c: (gst_registry_add_path):
13115 * gst/gstregistry.h:
13116 * gst/gstregistryxml.c:
13119 2005-12-02 Wim Taymans <wim@fluendo.com>
13121 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13122 (gst_util_uint64_scale_int):
13125 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13126 Add debug log line.
13128 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13131 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13134 * win32/common/config.h:
13135 * win32/vs6/gstreamer.dsw:
13136 * win32/vs6/libgstcoreelements.dsp:
13137 * win32/vs6/libgstelements.dsp:
13138 renamed core elements plugin
13140 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13142 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13144 do piece-wise major/minor comparison so 0.9 < 0.10
13145 also allow .exe extensions for tools
13147 2005-12-02 Michael Smith <msmith@fluendo.com>
13150 Escape a % to make gtkdoc happier; bug 322958.
13152 === release 0.9.7 ===
13154 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13157 releasing 0.9.7, "My Dog Has No Nose"
13159 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13161 * common/gst-xmlinspect.py:
13163 * docs/libs/tmpl/gstdataprotocol.sgml:
13164 * docs/random/release:
13183 * win32/common/config.h:
13184 * win32/common/config.h.in:
13185 * win32/vs6/gst_inspect.dsp:
13186 * win32/vs6/gst_launch.dsp:
13187 * win32/vs6/libgstbase.dsp:
13188 * win32/vs6/libgstelements.dsp:
13189 * win32/vs6/libgstreamer.dsp:
13190 * win32/vs7/GStreamer.vcproj:
13191 * win32/vs7/gst-inspect.vcproj:
13192 * win32/vs7/gst-launch.vcproj:
13193 * win32/vs7/libgstbase.vcproj:
13194 bump GST_MAJORMINOR to 0.10
13195 reset libtool version
13197 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13201 Added Bulgarian translation by (Alexander Shopov)
13203 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13205 * tests/check/gst/gstplugin.c:
13208 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13210 * common/gst-xmlinspect.py:
13211 * common/gtk-doc-plugins.mak:
13213 * docs/Makefile.am:
13214 * docs/gst/Makefile.am:
13215 * docs/gst/gstreamer-docs.sgml:
13216 * docs/gst/gstreamer-sections.txt:
13217 * docs/gst/gstreamer.types:
13218 * docs/gst/gstreamer.types.in:
13219 * docs/plugins/Makefile.am:
13220 * docs/plugins/gstreamer-plugins-docs.sgml:
13221 * docs/plugins/gstreamer-plugins-sections.txt:
13222 * docs/plugins/gstreamer-plugins.types:
13223 * docs/plugins/inspect.stamp:
13224 * docs/plugins/inspect/plugin-coreelements.xml:
13225 * docs/plugins/inspect/plugin-coreindexers.xml:
13226 * docs/plugins/scanobj-build.stamp:
13227 * gstreamer.spec.in:
13228 * plugins/elements/Makefile.am:
13229 * plugins/elements/gstelements.c:
13230 * plugins/elements/gstfakesink.c:
13231 * plugins/elements/gstfakesrc.c:
13232 * plugins/elements/gstfilesink.c:
13233 * plugins/elements/gstfilesrc.c:
13234 * plugins/elements/gstqueue.c:
13235 * plugins/indexers/Makefile.am:
13236 * plugins/indexers/gstindexers.c:
13237 document core plugins in a separate document just like all the
13239 rename these plugins to something starting with core
13241 2005-12-01 Andy Wingo <wingo@pobox.com>
13243 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13244 padding here before, but it missed the commit.
13246 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13248 * libs/gst/controller/gstinterpolation.c:
13249 whitespace prices have crashed, we should feel free to use some now
13250 use gst_guint64_to_gdouble
13252 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13254 * libs/gst/controller/gstcontroller.c:
13255 * libs/gst/controller/gsthelper.c:
13256 * libs/gst/controller/gstinterpolation.c:
13257 * libs/gst/controller/lib.c:
13258 wrap config.h include
13260 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13262 * docs/gst/gstreamer-sections.txt:
13265 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13267 * plugins/elements/gstelements.c:
13268 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13269 (gst_fd_sink__class_init), (gst_fd_sink__init),
13270 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13271 (gst_fd_sink__get_property):
13272 * plugins/elements/gstfdsink.h:
13273 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13274 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13275 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13276 (gst_fd_src_unlock), (gst_fd_src_set_property),
13277 (gst_fd_src_get_property), (gst_fd_src_create),
13278 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13279 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13280 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13281 (gst_fd_src_uri_handler_init):
13282 * plugins/elements/gstfdsrc.h:
13283 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13286 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13288 * docs/gst/Makefile.am:
13289 * docs/gst/gstreamer.types.in:
13293 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13299 * gst/gstregistry.h:
13300 * tests/benchmarks/complexity.c:
13301 * tests/benchmarks/mass-elements.c:
13302 * tests/check/Makefile.am:
13303 * tools/Makefile.am:
13304 * tools/gst-inspect.c:
13305 * tools/gst-xmlinspect.c:
13306 various fixes to make
13307 --disable-nls --disable-registry --disable-loadsave
13308 --disable-parse --disable-gst-debug
13309 work and get the core .so down to 360444 bytes after stripping
13311 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13316 * docs/random/thomasvs/TODO:
13317 * tests/Makefile.am:
13321 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13323 * win32/GStreamer.vcproj:
13326 * win32/Makefile.inspect:
13327 * win32/Makefile.launch:
13328 * win32/Makefile.register:
13329 * win32/README.txt:
13330 * win32/gst-inspect.vcproj:
13331 * win32/gst-launch.vcproj:
13332 * win32/gst-register.vcproj:
13333 * win32/gstelements.vcproj:
13334 * win32/gstgetbits.def:
13335 * win32/gstgetbits.vcproj:
13336 * win32/gstreamer-dbg.def:
13337 * win32/gstreamer.def:
13338 * win32/libgstbase.def:
13339 * win32/libgstbase.vcproj:
13340 * win32/link_oldruntime.c:
13344 * win32/msvc71.sln:
13345 move even more stuff, win32/ is nice and clean now
13347 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13349 * libs/gst/control/.cvsignore:
13354 * win32/gstbytestream.def:
13355 * win32/gstbytestream.vcproj:
13356 * win32/gstconfig.h:
13357 * win32/gstenumtypes.c:
13358 * win32/gstenumtypes.h:
13359 * win32/gstoptimalscheduler.vcproj:
13360 * win32/gstversion.h:
13362 * win32/testsuite/bins.vcproj:
13363 * win32/testsuite/bytestream.vcproj:
13364 * win32/testsuite/caps.vcproj:
13365 * win32/testsuite/cleanup.vcproj:
13366 * win32/testsuite/clock.vcproj:
13367 * win32/testsuite/debug.vcproj:
13368 * win32/testsuite/dlopen.vcproj:
13369 * win32/testsuite/dynparams.vcproj:
13370 * win32/testsuite/elements.vcproj:
13371 * win32/testsuite/ghostpads.vcproj:
13372 * win32/testsuite/indexers.vcproj:
13373 * win32/testsuite/negotiation.vcproj:
13374 * win32/testsuite/parse.vcproj:
13375 * win32/testsuite/plugin.vcproj:
13376 * win32/testsuite/refcounting.vcproj:
13377 * win32/testsuite/schedulers.vcproj:
13378 * win32/testsuite/states.vcproj:
13379 * win32/testsuite/tags.vcproj:
13380 * win32/testsuite/threads.vcproj:
13381 remove old win32 stuff that isn't maintained and should be
13384 2005-11-30 Andy Wingo <wingo@pobox.com>
13386 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13387 loading the gst.interfaces python module bork.
13389 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13390 available since GLib 2.2. Fixes #318031.
13392 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13395 * check/.cvsignore:
13396 * check/Makefile.am:
13397 * check/elements/.cvsignore:
13398 * check/elements/fakesrc.c:
13399 * check/elements/fdsrc.c:
13400 * check/elements/identity.c:
13401 * check/generic/.cvsignore:
13402 * check/generic/states.c:
13403 * check/gst-libs/.cvsignore:
13404 * check/gst-libs/controller.c:
13405 * check/gst-libs/gdp.c:
13406 * check/gst/.cvsignore:
13407 * check/gst/capslist.h:
13409 * check/gst/gstbin.c:
13410 * check/gst/gstbuffer.c:
13411 * check/gst/gstbus.c:
13412 * check/gst/gstcaps.c:
13413 * check/gst/gstelement.c:
13414 * check/gst/gstevent.c:
13415 * check/gst/gstghostpad.c:
13416 * check/gst/gstiterator.c:
13417 * check/gst/gstmessage.c:
13418 * check/gst/gstminiobject.c:
13419 * check/gst/gstobject.c:
13420 * check/gst/gstpad.c:
13421 * check/gst/gstpipeline.c:
13422 * check/gst/gstplugin.c:
13423 * check/gst/gstsegment.c:
13424 * check/gst/gststructure.c:
13425 * check/gst/gstsystemclock.c:
13426 * check/gst/gsttag.c:
13427 * check/gst/gstutils.c:
13428 * check/gst/gstvalue.c:
13429 * check/net/.cvsignore:
13430 * check/net/gstnetclientclock.c:
13431 * check/net/gstnettimeprovider.c:
13432 * check/pipelines/.cvsignore:
13433 * check/pipelines/cleanup.c:
13434 * check/pipelines/simple_launch_lines.c:
13435 * check/pipelines/stress.c:
13436 * check/states/.cvsignore:
13437 * check/states/sinks.c:
13439 * examples/Makefile.am:
13440 * examples/appreader/.cvsignore:
13441 * examples/appreader/Makefile.am:
13442 * examples/appreader/appreader.c:
13443 * examples/controller/.cvsignore:
13444 * examples/controller/Makefile.am:
13445 * examples/controller/audio-example.c:
13446 * examples/cutter/.cvsignore:
13447 * examples/cutter/Makefile.am:
13448 * examples/cutter/cutter.c:
13449 * examples/cutter/cutter.h:
13450 * examples/events/Makefile.am:
13451 * examples/events/seek.c:
13452 * examples/helloworld/.cvsignore:
13453 * examples/helloworld/Makefile.am:
13454 * examples/helloworld/helloworld.c:
13455 * examples/helloworld2/.cvsignore:
13456 * examples/helloworld2/Makefile.am:
13457 * examples/helloworld2/helloworld2.c:
13458 * examples/launch/.cvsignore:
13459 * examples/launch/Makefile.am:
13460 * examples/launch/mp3parselaunch.c:
13461 * examples/launch/mp3play:
13462 * examples/manual/.cvsignore:
13463 * examples/manual/Makefile.am:
13464 * examples/manual/extract.pl:
13465 * examples/metadata/Makefile.am:
13466 * examples/metadata/read-metadata.c:
13467 * examples/mixer/.cvsignore:
13468 * examples/mixer/Makefile.am:
13469 * examples/mixer/mixer.c:
13470 * examples/mixer/mixer.h:
13471 * examples/pingpong/.cvsignore:
13472 * examples/pingpong/Makefile.am:
13473 * examples/pingpong/pingpong.c:
13474 * examples/plugins/.cvsignore:
13475 * examples/plugins/Makefile.am:
13476 * examples/plugins/example.c:
13477 * examples/plugins/example.h:
13478 * examples/pwg/.cvsignore:
13479 * examples/pwg/Makefile.am:
13480 * examples/pwg/extract.pl:
13481 * examples/queue/.cvsignore:
13482 * examples/queue/Makefile.am:
13483 * examples/queue/queue.c:
13484 * examples/queue2/.cvsignore:
13485 * examples/queue2/Makefile.am:
13486 * examples/queue2/queue2.c:
13487 * examples/queue3/.cvsignore:
13488 * examples/queue3/Makefile.am:
13489 * examples/queue3/queue3.c:
13490 * examples/queue4/.cvsignore:
13491 * examples/queue4/Makefile.am:
13492 * examples/queue4/queue4.c:
13493 * examples/retag/.cvsignore:
13494 * examples/retag/Makefile.am:
13495 * examples/retag/retag.c:
13496 * examples/retag/transcode.c:
13497 * examples/thread/.cvsignore:
13498 * examples/thread/Makefile.am:
13499 * examples/thread/thread.c:
13500 * examples/typefind/.cvsignore:
13501 * examples/typefind/Makefile.am:
13502 * examples/typefind/typefind.c:
13503 * examples/xml/.cvsignore:
13504 * examples/xml/Makefile.am:
13505 * examples/xml/createxml.c:
13506 * examples/xml/runxml.c:
13507 * tests/Makefile.am:
13508 * tests/check/Makefile.am:
13509 * testsuite/.cvsignore:
13510 * testsuite/Makefile.am:
13512 * testsuite/caps/.cvsignore:
13513 * testsuite/caps/Makefile.am:
13514 * testsuite/caps/app_fixate.c:
13515 * testsuite/caps/audioscale.c:
13516 * testsuite/caps/caps.c:
13517 * testsuite/caps/caps.h:
13518 * testsuite/caps/caps_strings:
13519 * testsuite/caps/compatibility.c:
13520 * testsuite/caps/deserialize.c:
13521 * testsuite/caps/enumcaps.c:
13522 * testsuite/caps/eratosthenes.c:
13523 * testsuite/caps/filtercaps.c:
13524 * testsuite/caps/fixed.c:
13525 * testsuite/caps/fraction-convert.c:
13526 * testsuite/caps/fraction-multiply-and-zero.c:
13527 * testsuite/caps/intersect2.c:
13528 * testsuite/caps/intersection.c:
13529 * testsuite/caps/normalisation.c:
13530 * testsuite/caps/random.c:
13531 * testsuite/caps/renegotiate.c:
13532 * testsuite/caps/sets.c:
13533 * testsuite/caps/simplify.c:
13534 * testsuite/caps/string-conversions.c:
13535 * testsuite/caps/structure.c:
13536 * testsuite/caps/subtract.c:
13537 * testsuite/caps/union.c:
13538 * testsuite/debug/.cvsignore:
13539 * testsuite/debug/Makefile.am:
13540 * testsuite/debug/category.c:
13541 * testsuite/debug/commandline.c:
13542 * testsuite/debug/global.c:
13543 * testsuite/debug/output.c:
13544 * testsuite/debug/printf_extension.c:
13545 * testsuite/dlopen/.cvsignore:
13546 * testsuite/dlopen/Makefile.am:
13547 * testsuite/dlopen/dlopen_gst.c:
13548 * testsuite/dlopen/loadgst.c:
13549 * testsuite/elements/.cvsignore:
13550 * testsuite/elements/Makefile.am:
13551 * testsuite/elements/gst-inspect-check.in:
13552 * testsuite/elements/struct_i386.h:
13553 * testsuite/elements/struct_size.c:
13554 * testsuite/indexers/.cvsignore:
13555 * testsuite/indexers/Makefile.am:
13556 * testsuite/indexers/cache1.c:
13557 * testsuite/indexers/indexdump.c:
13558 * testsuite/parse/.cvsignore:
13559 * testsuite/parse/Makefile.am:
13560 * testsuite/parse/parse1.c:
13561 * testsuite/parse/parse2.c:
13562 * testsuite/plugin/.cvsignore:
13563 * testsuite/plugin/Makefile.am:
13564 * testsuite/plugin/README:
13565 * testsuite/plugin/dynamic.c:
13566 * testsuite/plugin/linked.c:
13567 * testsuite/plugin/loading.c:
13568 * testsuite/plugin/registry.c:
13569 * testsuite/plugin/static.c:
13570 * testsuite/plugin/static2.c:
13571 * testsuite/plugin/testplugin.c:
13572 * testsuite/plugin/testplugin2.c:
13573 * testsuite/plugin/testplugin2_s.c:
13574 * testsuite/plugin/testplugin_s.c:
13575 * testsuite/refcounting/.cvsignore:
13576 * testsuite/refcounting/Makefile.am:
13577 * testsuite/refcounting/bin.c:
13578 * testsuite/refcounting/element.c:
13579 * testsuite/refcounting/element_pad.c:
13580 * testsuite/refcounting/mainloop.c:
13581 * testsuite/refcounting/mem.c:
13582 * testsuite/refcounting/mem.h:
13583 * testsuite/refcounting/object.c:
13584 * testsuite/refcounting/pad.c:
13585 * testsuite/refcounting/sched.c:
13586 * testsuite/refcounting/thread.c:
13587 * testsuite/states/.cvsignore:
13588 * testsuite/states/Makefile.am:
13589 * testsuite/states/bin.c:
13590 * testsuite/states/locked.c:
13591 * testsuite/states/parent.c:
13592 * testsuite/threads/.cvsignore:
13593 * testsuite/threads/159566.c:
13594 * testsuite/threads/159852.c:
13595 * testsuite/threads/Makefile.am:
13596 * testsuite/threads/queue.c:
13597 * testsuite/threads/signals.c:
13598 * testsuite/threads/staticrec.c:
13599 * testsuite/threads/thread.c:
13600 * testsuite/threads/threadb.c:
13601 * testsuite/threads/threadc.c:
13602 * testsuite/threads/threadd.c:
13603 * testsuite/threads/threade.c:
13604 * testsuite/threads/threadf.c:
13605 * testsuite/threads/threadg.c:
13606 * testsuite/threads/threadh.c:
13607 * testsuite/threads/threadi.c:
13608 move all of these under tests
13610 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13613 * tests/Makefile.am:
13616 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13618 * docs/gst/gstreamer-sections.txt:
13619 * tests/sched/.cvsignore:
13620 * tests/sched/Makefile.am:
13621 * tests/sched/cases/(fs-fs).xml:
13622 * tests/sched/cases/(fs-i-fs).xml:
13623 * tests/sched/cases/(fs-i-i-fs).xml:
13624 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13625 * tests/sched/dynamic-pipeline.c:
13626 * tests/sched/interrupt1.c:
13627 * tests/sched/interrupt2.c:
13628 * tests/sched/interrupt3.c:
13629 * tests/sched/runtestcases:
13630 * tests/sched/runxml.c:
13631 * tests/sched/sched-stress.c:
13632 * tests/sched/sort.c:
13633 * tests/sched/testcases:
13634 * tests/sched/testcases1.tc:
13635 * tests/seeking/.cvsignore:
13636 * tests/seeking/Makefile.am:
13637 * tests/seeking/seeking1.c:
13638 * tests/threadstate/.cvsignore:
13639 * tests/threadstate/Makefile.am:
13640 * tests/threadstate/test1.c:
13641 * tests/threadstate/test2.c:
13642 * tests/threadstate/threadstate1.c:
13643 * tests/threadstate/threadstate2.c:
13644 * tests/threadstate/threadstate3.c:
13645 * tests/threadstate/threadstate4.c:
13646 * tests/threadstate/threadstate5.c:
13647 remove obsolete tests
13649 * tests/bench-complexity.scm:
13650 * tests/bench-mass_elements.scm:
13651 * tests/complexity.c:
13652 * tests/complexity.gnuplot:
13653 * tests/instantiate/.cvsignore:
13654 * tests/instantiate/Makefile.am:
13655 * tests/instantiate/caps.c:
13656 * tests/mass_elements.c:
13657 * tests/network-clock-utils.scm:
13658 * tests/network-clock.scm:
13660 First pass at cleaning up tests/ dir before moving the rest
13661 Combined with CVS surgery
13663 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13666 queue has moved, update
13668 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13670 * docs/gst/gstreamer-sections.txt:
13671 remove double entries from the docs
13672 * gst/gst_private.h:
13673 * gst/gstinfo.c: (_gst_debug_init):
13674 remove the THREAD debug category
13678 * docs/gst/gstreamer.types:
13679 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13680 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13681 completely move queue and fix up debugging categories
13683 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13685 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13686 make initialization portable, using LL is not
13688 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13690 * win32/common/gstconfig.h:
13693 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13695 * win32/common/libgstreamer.def:
13696 rename symbols; sort base section
13698 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13700 * gst/gstclock.c: (do_linear_regression):
13701 remove crack non-portable handrolled DEBUG macro
13703 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13705 * docs/random/release:
13707 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13708 (gst_object_flags_get_type), (register_gst_bin_flags),
13709 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13710 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13711 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13712 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13713 (gst_caps_flags_get_type), (register_gst_clock_return),
13714 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13715 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13716 (gst_clock_flags_get_type), (register_gst_state),
13717 (gst_state_get_type), (register_gst_state_change_return),
13718 (gst_state_change_return_get_type), (register_gst_state_change),
13719 (gst_state_change_get_type), (register_gst_element_flags),
13720 (gst_element_flags_get_type), (register_gst_core_error),
13721 (gst_core_error_get_type), (register_gst_library_error),
13722 (gst_library_error_get_type), (register_gst_resource_error),
13723 (gst_resource_error_get_type), (register_gst_stream_error),
13724 (gst_stream_error_get_type), (register_gst_event_type_flags),
13725 (gst_event_type_flags_get_type), (register_gst_event_type),
13726 (gst_event_type_get_type), (register_gst_seek_type),
13727 (gst_seek_type_get_type), (register_gst_seek_flags),
13728 (gst_seek_flags_get_type), (register_gst_format),
13729 (gst_format_get_type), (register_gst_index_certainty),
13730 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13731 (gst_index_entry_type_get_type),
13732 (register_gst_index_lookup_method),
13733 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13734 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13735 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13736 (gst_index_flags_get_type), (register_gst_debug_level),
13737 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13738 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13739 (gst_iterator_result_get_type), (register_gst_iterator_item),
13740 (gst_iterator_item_get_type), (register_gst_message_type),
13741 (gst_message_type_get_type), (register_gst_mini_object_flags),
13742 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13743 (gst_pad_link_return_get_type), (register_gst_flow_return),
13744 (gst_flow_return_get_type), (register_gst_activate_mode),
13745 (gst_activate_mode_get_type), (register_gst_pad_direction),
13746 (gst_pad_direction_get_type), (register_gst_pad_flags),
13747 (gst_pad_flags_get_type), (register_gst_pad_presence),
13748 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13749 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13750 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13751 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13752 (gst_plugin_flags_get_type), (register_gst_rank),
13753 (gst_rank_get_type), (register_gst_query_type),
13754 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13755 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13756 (gst_tag_flag_get_type), (register_gst_task_state),
13757 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13758 (gst_alloc_trace_flags_get_type),
13759 (register_gst_type_find_probability),
13760 (gst_type_find_probability_get_type), (register_gst_uri_type),
13761 (gst_uri_type_get_type), (register_gst_parse_error),
13762 (gst_parse_error_get_type):
13763 * win32/common/gstenumtypes.h:
13764 * win32/common/gstversion.h:
13765 update visual studio generated files
13767 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13769 * win32/vs6/libgstbase.dsp:
13770 * win32/vs6/libgstelements.dsp:
13771 update project files for new locations
13773 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13778 reinstate and update
13783 * docs/random/LICENSE:
13786 2005-11-30 Edward Hervey <edward@fluendo.com>
13788 * gst/gsttypefind.c: (gst_type_find_register):
13789 * gst/gsttypefind.h:
13790 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13791 (gst_type_find_factory_dispose):
13792 * gst/gsttypefindfactory.h:
13793 Fix memory leak in GstTypeFindFactory.
13795 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13798 * plugins/elements/Makefile.am:
13799 * plugins/elements/gstelements.c:
13800 * plugins/elements/gstqueue.c:
13801 move queue from core to the elements plugin
13803 2005-11-29 Andy Wingo <wingo@pobox.com>
13805 * libs/gst/base/gstbasetransform.h:
13806 * libs/gst/base/gstbasesrc.h:
13807 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13809 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13810 of pointers by which to pad very extensible base classes (like the
13811 ones in libs/gst/base).
13813 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13815 * docs/gst/gstreamer-docs.sgml:
13816 * docs/gst/gstreamer-sections.txt:
13817 * docs/libs/gstreamer-libs-docs.sgml:
13818 * docs/libs/gstreamer-libs-sections.txt:
13819 moving documentation from core to lib
13821 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13823 * check/Makefile.am:
13825 * docs/gst/Makefile.am:
13827 * gst/base/.cvsignore:
13828 * gst/base/Makefile.am:
13830 * gst/base/gstadapter.c:
13831 * gst/base/gstadapter.h:
13832 * gst/base/gstbasesink.c:
13833 * gst/base/gstbasesink.h:
13834 * gst/base/gstbasesrc.c:
13835 * gst/base/gstbasesrc.h:
13836 * gst/base/gstbasetransform.c:
13837 * gst/base/gstbasetransform.h:
13838 * gst/base/gstcollectpads.c:
13839 * gst/base/gstcollectpads.h:
13840 * gst/base/gstpushsrc.c:
13841 * gst/base/gstpushsrc.h:
13842 * gst/base/gsttypefindhelper.c:
13843 * gst/base/gsttypefindhelper.h:
13844 * gst/check/Makefile.am:
13845 * gst/check/gstcheck.c:
13846 * gst/check/gstcheck.h:
13847 * gst/net/Makefile.am:
13848 * gst/net/gstnet.h:
13849 * gst/net/gstnetclientclock.c:
13850 * gst/net/gstnetclientclock.h:
13851 * gst/net/gstnettimepacket.c:
13852 * gst/net/gstnettimepacket.h:
13853 * gst/net/gstnettimeprovider.c:
13854 * gst/net/gstnettimeprovider.h:
13855 * libs/gst/Makefile.am:
13856 * libs/gst/base/Makefile.am:
13857 * libs/gst/base/gstbasetransform.c:
13858 * libs/gst/check/Makefile.am:
13859 * plugins/elements/Makefile.am:
13861 CVS surgery + support to move base, check, and net out of gst
13864 2005-11-29 Andy Wingo <wingo@pobox.com>
13866 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13868 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13871 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13873 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13875 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13877 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13878 padding; reduces object size by about 30%. We don't expect
13879 anything else to go into gstobject.
13881 * gst/gstminiobject.h (struct _GstMiniObject)
13882 (struct _GstMiniObjectClass): Only one pointer of padding; the
13883 payload is only a pointer and two ints anyway. For the class there
13884 are only two methods as well.
13886 * gst/gstelement.h (struct _GstElementClass): Removed
13887 the state_changed signal callback, it is not used.
13889 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13891 * docs/gst/gstreamer.types:
13892 fix includes, though they are a little dinky
13894 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13896 * check/Makefile.am:
13897 look in the right place for elements, a lot more chance of
13900 remove indexers and elements subdirs
13901 * plugins/Makefile.am:
13902 make indexers conditional
13904 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13908 * plugins/elements/Makefile.am:
13909 * plugins/elements/gstcapsfilter.c:
13910 * plugins/elements/gstfilesink.c:
13911 * plugins/elements/gstfilesrc.c:
13912 * plugins/elements/gstidentity.c:
13913 * plugins/indexers/Makefile.am:
13914 do CVS surgery and related build fixery to move elements
13915 and indexers in a new gstreamer/plugins directory, out of the
13918 2005-11-29 Andy Wingo <wingo@pobox.com>
13920 * check/Makefile.am:
13921 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13922 * pkgconfig/gstreamer-net.pc.in:
13923 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13926 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13928 * tools/Makefile.am:
13929 * tools/gst-complete.1.in:
13930 * tools/gst-complete.c:
13931 * tools/gst-compprep.1.in:
13932 * tools/gst-compprep.c:
13933 removing -compprep and -complete
13935 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13937 * gst/gstevent.c: (gst_event_new_new_segment),
13938 (gst_event_parse_new_segment):
13940 fix #320529 - clean up new_segment API and structure.
13941 Let's hope everyone was using the methods, and not the structure.
13943 2005-11-29 Edward Hervey <edward@fluendo.com>
13945 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13946 (gst_base_sink_event), (gst_base_sink_do_sync),
13947 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13948 Properly handle non GST_FORMAT_TIME segment
13949 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13950 Properly handle non GST_FORMAT_TIME segment
13951 * gst/gstsegment.c:
13952 This function is valid if the accumulator is 0 and the format
13953 is different from the requested format.
13955 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13957 * docs/gst/gstreamer-sections.txt:
13958 Add gst_query_new_seeking and gst_query_parse_seeking to the
13961 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13963 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13964 Treat a pad alloc with new caps the same as if we were not
13965 negotiated, in order to allow a changing upstream output
13966 to produce a new format of data.
13968 2005-11-29 Edward Hervey <edward@fluendo.com>
13970 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13971 (gst_base_transform_event), (gst_base_transform_eventfunc):
13972 The event virtual method is now properly implemented, with a default
13974 Sub classes should call the parent_class event method. They should
13975 return FALSE if they had a problem handling the given event, or don't
13976 want GstBaseTransform to send that even downstream
13977 * gst/elements/gstidentity.c: (gst_identity_class_init),
13978 (gst_identity_init), (gst_identity_event),
13979 (gst_identity_transform_ip), (gst_identity_set_property),
13980 (gst_identity_get_property):
13981 * gst/elements/gstidentity.h:
13982 Added the single-segment boolean property.
13983 If set to TRUE, it will output a single segment of data, starting from
13984 0, will eat up all incoming newsegment, and modify the timestamp of the
13985 buffers accordingly
13987 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13989 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13990 Don't ref NULL target pad (#322751). Improve docs.
13992 2005-11-29 Michael Smith <msmith@fluendo.com>
13994 * gst/gstregistryxml.c: (load_plugin):
13995 Don't crash if we failed to load a feature from a plugin.
13997 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13999 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14001 use more check API and less GLib API
14003 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14006 don't run checks if we don't have check
14007 * common/check.mak:
14008 remove the registry when running make torture
14009 * docs/gst/gstreamer-sections.txt:
14010 remove second multiply
14011 * gst/gstqueue.c: (gst_queue_loop):
14012 fix a compile warning when disabling debug
14014 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14017 Hey! Let's print the pad name if the pointer != NULL instead
14018 of when it == NULL :-)
14020 2005-11-28 Wim Taymans <wim@fluendo.com>
14022 * check/gst/gstutils.c: (GST_START_TEST):
14023 Updated check, add some scaling accuracy checking code.
14025 * gst/gstutils.c: (gst_util_div128_64),
14026 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14027 (gst_util_uint64_scale_int):
14028 Fix 6 times faster division code. Optimize for common
14029 1/1 and less common X/1 cases.
14031 2005-11-28 Wim Taymans <wim@fluendo.com>
14033 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14036 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14037 (do_linear_regression), (gst_clock_add_observation):
14039 Release lock when the clock cannot be slaved.
14040 Catch the case where the regression returned an invalid denominator.
14042 * gst/gstutils.c: (gst_util_div128_64_iterate),
14043 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14044 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14045 Add protentially more performant non-iterative 128/64 divide function
14046 that unfortunatly does not work yet.
14047 Shortcut the trivial 0/X = 0 case.
14048 Remove the warnings on overflow.
14050 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14052 * gst/gstplugin.c: (gst_plugin_register_func):
14053 everything causing a plugin not to load should be at least a WARNING
14055 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14057 * docs/random/ensonic/dparams.txt:
14058 some TODOs for the next dev cycle
14059 * libs/gst/controller/gstcontroller.c:
14060 (gst_controlled_property_set_interpolation_mode),
14061 (gst_controlled_property_new):
14062 * libs/gst/controller/gstcontroller.h:
14063 use base type to assign acccessor functions
14065 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14067 * check/Makefile.am:
14068 Oops, that should have been top_srcdir
14070 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14072 * check/Makefile.am:
14073 * check/elements/fdsrc.c: (GST_START_TEST):
14074 Use a cmdline define to specify the location of a file to use for
14075 testing, to avoid breaking distcheck.
14077 2005-11-28 Andy Wingo <wingo@pobox.com>
14079 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14081 2005-11-28 Edward Hervey <edward@fluendo.com>
14083 * tools/gst-launch.c: (main):
14084 Clarify the output strings, makes it easier to translate.
14087 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14090 don't try and build net if we don't even have <sys/socket.h>
14092 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14094 * check/Makefile.am:
14095 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14096 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14097 Add tests for fdsrc seekability
14099 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14100 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14101 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14102 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14103 * gst/elements/gstfdsrc.h:
14104 fdsrc should not be a 'live' source.
14105 Implement seeking on seekable fd's.
14107 * gst/gstquery.c: (gst_query_new_seeking),
14108 (gst_query_parse_seeking):
14110 Implement SEEKING query functions:
14111 *_new_seeking and *_parse_seeking
14113 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14115 * gst/gstelement.c: (gst_element_dispose):
14118 * gst/gstiterator.c:
14119 * gst/gststructure.c:
14122 * libs/gst/controller/gstcontroller.c:
14123 (gst_controlled_property_set_interpolation_mode):
14124 * libs/gst/controller/gstcontroller.h:
14125 * libs/gst/controller/gstinterpolation.c:
14126 (interpolate_none_get_enum_value_array):
14127 support controlling enums
14129 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14132 Improve documentation for gst_value_union().
14135 Change return value for union, intersect and subtract functions
14136 from gint to gboolean.
14138 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14140 * gst/gstvalue.c: (gst_value_serialize_any_list),
14141 (gst_value_transform_any_list_string),
14142 (gst_value_deserialize_list), (gst_value_deserialize_array),
14143 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14144 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14145 (gst_value_set_fraction_range_full),
14146 (gst_value_deserialize_fraction_range),
14147 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14148 (gst_value_deserialize_boolean),
14149 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14150 (gst_value_serialize_float), (gst_value_deserialize_float),
14151 (gst_string_wrap), (gst_value_deserialize_string),
14152 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14153 (gst_value_union_int_range_int_range),
14154 (gst_value_intersect_int_range_int_range),
14155 (gst_value_intersect_double_range_double_range),
14156 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14157 (gst_value_subtract_int_range_int_range),
14158 (gst_value_subtract_double_double_range),
14159 (gst_value_subtract_double_range_double_range),
14160 (gst_value_deserialize_fraction):
14162 Use gint, gdouble and gchar in our API instead of int, double and
14163 char (and make usage in gstvalue.c more consistent).
14165 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14167 * check/Makefile.am:
14168 * libs/gst/controller/Makefile.am:
14169 * libs/gst/dataprotocol/Makefile.am:
14170 fix up Makefile.am and remove GST_ENABLE_NEW
14172 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14176 * gst/base/Makefile.am:
14177 * gst/check/Makefile.am:
14178 * gst/elements/Makefile.am:
14179 * gst/net/Makefile.am:
14180 update LDFLAGS use some more
14182 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14184 * common/m4/gst-doc.m4:
14187 2005-11-26 Edward Hervey <edward@fluendo.com>
14189 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14190 This shouldn't issue a g_warning since it returns NULL if it
14191 couldn't find the plugin, and all functions using this behave
14192 properly on a NULL return. Switching to a GST_WARNING.
14194 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14196 * gst/gstbin.c: (gst_bin_handle_message_func):
14197 Don't leak clock messages.
14199 2005-11-25 Wim Taymans <wim@fluendo.com>
14201 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14202 (gst_util_uint64_scale_int):
14203 Optimisations, remove unneeded vars.
14205 2005-11-25 Wim Taymans <wim@fluendo.com>
14207 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14208 Added more checks for the high precision uint64 cases.
14210 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14211 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14212 Implement high precision (guint64 * guint64) / guint64.
14214 2005-11-24 Wim Taymans <wim@fluendo.com>
14216 * gst/base/gstbasesrc.c: (gst_base_src_query):
14217 Fix wrong percentage query.
14219 * gst/gstutils.c: (gst_util_uint64_scale),
14220 (gst_util_uint64_scale_int):
14221 Add some more common cases that can be handled
14222 efficiently to _scale.
14224 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14226 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14227 (gst_mini_object_suite):
14228 don't use check calls from threads; check probably isn't
14229 threadsafe and using a lock to make it threadsafe would
14230 defeat the purpose of this check
14231 * gst/check/gstcheck.c:
14232 * gst/check/gstcheck.h:
14233 use GST_DEBUG some more
14235 2005-11-24 Wim Taymans <wim@fluendo.com>
14237 * gst/gstutils.c: (gst_util_uint64_scale),
14238 (gst_util_uint64_scale_int):
14239 Chain trivial case to _scale_int.
14241 2005-11-24 Wim Taymans <wim@fluendo.com>
14243 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14244 Added test for scaling.
14249 * gst/gstutils.c: (gst_util_uint64_scale_int):
14250 Implemented high precision scaling code.
14252 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14255 do not crash on pad==NULL
14257 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14259 Patch by: Stefan Kost
14261 * common/gtk-doc.mak:
14262 * docs/gst/Makefile.am:
14263 * docs/libs/Makefile.am:
14264 Fix distcheck issues for the libraries docs build
14267 2005-11-24 Michael Smith <msmith@fluendo.com>
14269 * docs/manual/basics-helloworld.xml:
14270 Fix bug #315027: memory leak in example code in docs.
14272 2005-11-24 Michael Smith <msmith@fluendo.com>
14274 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14275 Unlock the PREROLL_LOCK in a failure case.
14277 2005-11-24 Wim Taymans <wim@fluendo.com>
14279 * docs/gst/gstreamer-sections.txt:
14280 * gst/base/gstadapter.h:
14281 * gst/base/gstbasesink.h:
14282 * gst/base/gstbasesrc.h:
14283 * gst/base/gstbasetransform.h:
14284 * gst/base/gstpushsrc.h:
14285 * gst/elements/gstfakesink.h:
14286 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14287 * gst/elements/gstfakesrc.h:
14288 * gst/elements/gstfilesink.h:
14289 * gst/elements/gstfilesrc.h:
14292 * gst/gstbuffer.c: (_gst_buffer_copy):
14295 * gst/gstchildproxy.c:
14297 * gst/gstelement.c:
14298 * gst/gstelementfactory.c:
14299 * gst/gstelementfactory.h:
14301 * gst/gstghostpad.h:
14303 * gst/gstinterface.h:
14304 * gst/gstminiobject.c:
14305 * gst/gstminiobject.h:
14308 * gst/gstpadtemplate.h:
14309 * gst/gstpipeline.h:
14310 * gst/gstpluginfeature.h:
14313 * gst/gsttaglist.c:
14314 * gst/gsttaglist.h:
14315 * gst/gsttagsetter.c:
14316 * gst/gsttagsetter.h:
14319 * gst/gsttypefind.h:
14322 * gst/net/gstnetclientclock.c:
14323 * gst/net/gstnetclientclock.h:
14324 * gst/net/gstnettimepacket.c:
14325 * gst/net/gstnettimeprovider.c:
14326 * gst/net/gstnettimeprovider.h:
14329 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14331 * configure.ac: back to HEAD
14333 === release 0.9.6 ===
14335 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14338 releasing 0.9.6, "Always On Time"
14340 2005-11-23 Wim Taymans <wim@fluendo.com>
14342 * docs/gst/gstreamer-sections.txt:
14343 * gst/glib-compat.c:
14344 * gst/gsttagsetter.c:
14346 * gst/net/gstnetclientclock.c:
14347 * gst/net/gstnettimepacket.h:
14350 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14352 * docs/faq/using.xml:
14353 * docs/libs/tmpl/gstcontrol.sgml:
14354 * docs/manual/advanced-dparams.xml:
14355 * docs/manual/appendix-checklist.xml:
14356 * docs/manual/basics-elements.xml:
14357 * docs/pwg/other-source.xml:
14358 * docs/random/moving-plugins:
14360 * tools/gst-launch.1.in:
14361 remove mentions of sinesrc
14363 2005-11-23 Michael Smith <msmith@fluendo.com>
14365 * docs/gst/gstreamer-sections.txt:
14366 Update for new API and API changes.
14368 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14370 Documentation typo fix.
14371 * gst/net/gstnettimepacket.c:
14372 Documentation fixes for arguments.
14374 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14376 * gst/gststructure.c: (gst_structure_get_fraction),
14377 (gst_structure_parse_value),
14378 (gst_structure_fixate_field_nearest_fraction):
14379 * gst/gststructure.h:
14380 * gst/gstutils.c: (gst_util_uint64_scale_int):
14382 * scripts/update-funcnames:
14384 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14385 Make gst_structure_fixate_field_nearest_fraction take a numerator
14386 and denominator argument instead of a GValue
14387 add gst_structure_get_fraction helper function.
14389 2005-11-23 Wim Taymans <wim@fluendo.com>
14391 * docs/design/part-TODO.txt:
14394 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14395 * gst/net/gstnetclientclock.h:
14396 Use parent fields for timeout and window_size.
14398 2005-11-23 Andy Wingo <wingo@pobox.com>
14400 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14401 rate_num/rate_denom change.
14403 * gst/net/gstnetclientclock.c
14404 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14405 OBJECT_LOCK. Don't call add_observation with the lock.
14407 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14409 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14411 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14412 deal with rate as a fraction whose numerator and denominator are
14413 GstClockTime values.
14414 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14415 master; the other fields are protected by the SLAVE_LOCK.
14416 (do_linear_regression): Note that this must be called with the
14418 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14419 OBJECT_LOCK. Call set_calibration instead of touching the
14420 variables directly.
14421 (gst_clock_set_property, gst_clock_get_property): Protect
14422 master/slave parameters with the SLAVE_LOCK.
14424 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14425 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14426 note that all of the instance variables that add_observation and
14427 the set_master functions use are protected by that lock and not
14429 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14431 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14432 the caller to take the object lock.
14434 2005-11-23 Wim Taymans <wim@fluendo.com>
14436 * gst/gsterror.c: (_gst_core_errors_init):
14438 Add error for clock stuff.
14440 * gst/gstpipeline.c: (gst_pipeline_change_state),
14441 (gst_pipeline_set_clock):
14442 Post clock error when clock cannot be used in a pipeline.
14444 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14446 * docs/gst/gstreamer-sections.txt:
14447 make two symbols from gstinfo private for the docs
14448 * gst/base/gstcollectpads.h:
14450 fix doc typos, update docs
14452 2005-11-22 Wim Taymans <wim@fluendo.com>
14454 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14455 (gst_base_sink_wait), (gst_base_sink_do_sync),
14456 (gst_base_sink_handle_event):
14457 * gst/base/gstbasesink.h:
14458 No need to store the clock, the parent element class already
14461 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14462 Updates for clock_set returning a gboolean
14464 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14465 (gst_clock_id_wait_async), (gst_clock_class_init),
14466 (gst_clock_init), (gst_clock_finalize),
14467 (gst_clock_get_internal_time), (gst_clock_get_time),
14468 (gst_clock_slave_callback), (gst_clock_set_master),
14469 (gst_clock_get_master), (do_linear_regression),
14470 (gst_clock_add_observation), (gst_clock_set_property),
14471 (gst_clock_get_property):
14473 Implement master/slave. When setting a clock as a slave, a
14474 periodic timeout is scheduled to sample master and slave times.
14475 Then the slave clock is recalibrated to match offset and rate
14476 of the master clock.
14477 Update logging a bit.
14478 Add flag so that a clock can state that is cannot be slaved to
14481 * gst/gstelement.c: (gst_element_set_clock):
14482 * gst/gstelement.h:
14483 The set clock returns a gboolean for when an element cannot
14484 deal with the selected clock in the pipeline.
14486 * gst/gstpipeline.c: (gst_pipeline_change_state),
14487 (gst_pipeline_set_clock):
14488 * gst/gstpipeline.h:
14489 Handle the case where the selected clock cannot be set on
14492 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14493 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14494 (gst_net_client_clock_set_property),
14495 (gst_net_client_clock_get_property),
14496 (gst_net_client_clock_observe_times):
14497 * gst/net/gstnetclientclock.h:
14498 Use regression code in GstClock parent, remove duplicated
14501 2005-11-22 Michael Smith <msmith@fluendo.com>
14503 * gst/gstutils.c: (gst_util_clock_time_scale):
14505 * docs/gst/gstreamer-sections.txt:
14506 Rename method to have extra underscore.
14508 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14510 * gst/elements/Makefile.am:
14511 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14512 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14513 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14514 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14515 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14516 * gst/elements/gstfakesrc.h:
14517 * gst/gstqueue.c: (queue_leaky_get_type):
14518 correctly fix GEnumValues so that nick is the short lowercase
14520 * tools/gst-inspect.c: (print_element_properties_info):
14521 also show the nick, since it's useful to use from parse_launch
14525 2005-11-22 Michael Smith <msmith@fluendo.com>
14527 * gst/gstutils.c: (gst_util_clocktime_scale):
14529 * docs/gst/gstreamer-sections.txt:
14530 Add util method for scaling a clocktime by a fraction. Useful
14531 implementation is left as an exercise for the reader.
14533 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14535 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14536 If needed, allocate storage in the destination value during
14539 2005-11-22 Edward Hervey <edward@fluendo.com>
14541 * docs/gst/gstreamer-sections.txt:
14544 * gst/gsturitype.c:
14545 * gst/gsturitype.h:
14546 * gst/gstutils.c: (gst_util_set_object_arg):
14547 * tools/gst-compprep.c: (main):
14548 * tools/gst-inspect.c: (print_element_properties_info):
14549 Removed GstURI, closes bug #321061
14551 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14553 * check/gst/gststructure.c: (GST_START_TEST):
14554 * gst/gststructure.c: (gst_structure_parse_value):
14555 Oops, broke automatic string type parsing.
14556 Add a test to catch it in future.
14558 2005-11-22 Andy Wingo <wingo@pobox.com>
14560 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14561 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14562 Actually rename the function implementations. Grr.
14564 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14566 * check/gst/capslist.h:
14568 * check/gst/gststructure.c: (GST_START_TEST),
14569 (gst_structure_suite):
14570 Test automatic value type detection in gst_structure_from_string.
14571 * gst/gststructure.c: (gst_structure_parse_value):
14572 Add fraction as a type we try and guess automatically in
14573 caps/structure strings.
14575 2005-11-22 Andy Wingo <wingo@pobox.com>
14577 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14579 * gst/gsttagsetter.h:
14580 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14581 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14582 (gst_tag_setter_add_tag_valist)
14583 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14584 _add_values, _add_valist, and _add_valist_values. Since this is an
14585 interface the function suffixes should be more explicit so
14586 language binding don't end up with element.add_valist ->
14587 gst_tag_setter_add_valist, for example. Fixes #322069.
14589 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14591 * check/gst/gstcaps.c: (GST_START_TEST):
14592 Extend caps string tests to check that a caps to string
14593 conversion is reversible and produces the same caps.
14595 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14596 Output "fraction" as the generic type fraction range, so caps
14597 serialisation and deserialisation works.
14598 * check/gst/capslist.h:
14599 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14600 Support 'MIN' and 'MAX' for deserialising fractions.
14602 2005-11-22 Andy Wingo <wingo@pobox.com>
14604 * gst/gstevent.h (gst_event_new_new_segment)
14605 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14606 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14607 Renamed from *_newsegment, *_buffersize, *_notarget.
14609 * scripts/update-funcnames: New script, performs the changes
14612 2005-11-22 Wim Taymans <wim@fluendo.com>
14614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14615 Make sure the GstFlowReturn is returned.
14617 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14618 (gst_bus_add_signal_watch):
14620 add gst_bus_add_signal_watch_full.
14622 * gst/gstplugin.c: (gst_plugin_load_file):
14623 Small style cleanup.
14625 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14627 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14628 Block the fakesrc srcpad when we send an event, to avoid
14629 contention on the stream_lock causing random test failures.
14631 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14633 * check/gst/gstvalue.c: (GST_START_TEST):
14634 * gst/gstvalue.c: (gst_value_fraction_subtract):
14637 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14640 include "gstchildproxy.h"
14641 * gst/gstchildproxy.h:
14642 * libs/gst/controller/gstcontroller.h:
14643 use G_GNUC_NULL_TERMINATED
14645 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14647 * check/gst/capslist.h:
14648 * check/gst/gstcaps.c: (GST_START_TEST):
14649 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14650 * gst/gststructure.c: (gst_structure_parse_range),
14651 (gst_structure_fixate_field_nearest_fraction):
14652 * gst/gststructure.h:
14653 * gst/gstvalue.c: (gst_value_init_fraction_range),
14654 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14655 (gst_value_collect_fraction_range),
14656 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14657 (gst_value_set_fraction_range_full),
14658 (gst_value_get_fraction_range_min),
14659 (gst_value_get_fraction_range_max),
14660 (gst_value_serialize_fraction_range),
14661 (gst_value_transform_fraction_range_string),
14662 (gst_value_compare_fraction_range),
14663 (gst_value_deserialize_fraction_range),
14664 (gst_value_intersect_fraction_fraction_range),
14665 (gst_value_intersect_fraction_range_fraction_range),
14666 (gst_value_subtract_fraction_fraction_range),
14667 (gst_value_subtract_fraction_range_fraction),
14668 (gst_value_subtract_fraction_range_fraction_range),
14669 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14670 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14671 (gst_value_transform_string_fraction), (_gst_value_initialize):
14673 Implement fraction ranges and extend GstFraction to support
14674 arithmetic subtraction, as well as deserialization from integer
14675 strings such as "100"
14676 Add a testsuite as for int and double range set operations
14678 2005-11-21 Andy Wingo <wingo@pobox.com>
14680 * gst/gsttaglist.h:
14682 * gst/gststructure.h: Add glib-compat.h.
14684 2005-11-21 Wim Taymans <wim@fluendo.com>
14686 * gst/gstbin.c: (gst_bin_change_state_func):
14689 2005-11-21 Wim Taymans <wim@fluendo.com>
14691 * gst/gstsegment.h:
14692 And add a nice define too.
14694 2005-11-21 Wim Taymans <wim@fluendo.com>
14696 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14697 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14698 (gst_segment_set_duration), (gst_segment_set_last_stop),
14699 (gst_segment_set_seek), (gst_segment_set_newsegment),
14700 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14701 (gst_segment_clip):
14702 * gst/gstsegment.h:
14703 Make binding friendly.
14705 2005-11-21 Andy Wingo <wingo@pobox.com>
14707 * gst/gsttagsetter.h:
14708 * gst/gsttaglist.h:
14709 * gst/gststructure.h:
14711 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14714 * gst/gsterror.c (_gst_core_errors_init):
14715 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14718 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14719 (noinst_HEADERS): noinst the -private.
14721 2005-11-21 Michael Smith <msmith@fluendo.com>
14724 * gst/gstregistry.h:
14725 Remove unimplemented declarations for which we can see no sensible
14728 2005-11-21 Andy Wingo <wingo@pobox.com>
14730 * gst/gst.h: Include glib-compat.h.
14732 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14734 * gst/glib-compat.c: Include the public and the private header.
14736 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14740 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14742 * check/gst/gstevent.c (create_custom_events): Check that
14743 FLUSH_STOP is serialized.
14745 * check/elements/identity.c (event_func):
14746 * check/elements/fakesrc.c (event_func): No stream lock, the core
14749 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14750 stream lock taking, yay.
14752 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14753 ensure that core takes the stream lock.
14755 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14758 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14759 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14760 it already. For the flush start we do take it though so we get the
14761 right preroll state change messages.
14763 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14764 the stream lock here, the core does it for us.
14766 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14767 GST_STREAM_GET_LOCK.
14768 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14769 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14770 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14771 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14772 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14773 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14775 * gst/gstpad.c: Update for stream lock name change.
14777 * gst/base/gstbasesink.c: Update for preroll lock name change.
14779 2005-11-21 Wim Taymans <wim@fluendo.com>
14781 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14782 (gst_clock_get_master):
14784 * gst/gstsystemclock.c: (gst_system_clock_init):
14785 Convert Clock flags to object flags.
14786 Added methods to manage master/slave clocks.
14788 2005-11-21 Wim Taymans <wim@fluendo.com>
14790 * check/gst/gstsegment.c: (GST_START_TEST):
14791 * docs/design/part-TODO.txt:
14792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14793 (gst_base_sink_event), (gst_base_sink_do_sync),
14794 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14795 (gst_base_sink_query), (gst_base_sink_change_state):
14796 * gst/base/gstbasesink.h:
14797 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14798 (gst_base_src_default_newsegment),
14799 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14800 (gst_base_src_get_range), (gst_base_src_loop),
14801 (gst_base_src_change_state):
14802 * gst/base/gstbasesrc.h:
14803 * gst/base/gstbasetransform.c:
14804 (gst_base_transform_prepare_output_buf),
14805 (gst_base_transform_event), (gst_base_transform_change_state):
14806 * gst/base/gstbasetransform.h:
14807 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14808 (gst_collect_pads_event):
14809 * gst/base/gstcollectpads.h:
14810 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14811 (gst_fake_src_create):
14812 * gst/elements/gstfakesrc.h:
14813 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14814 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14815 (gst_segment_set_last_stop), (gst_segment_set_seek),
14816 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14817 (gst_segment_to_running_time), (gst_segment_clip):
14818 * gst/gstsegment.h:
14819 More segment updates, replace code in plugins with segment
14822 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14824 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14825 Don't ignore sscanf results
14827 2005-11-21 Andy Wingo <wingo@pobox.com>
14829 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14832 * *.c: Ran scripts/update-macros. Oh yes.
14834 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14835 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14838 * scripts/update-macros: New script. Run it on your files to
14839 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14842 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14844 * docs/gst/Makefile.am:
14845 * docs/gst/gstreamer-docs.sgml:
14846 * docs/gst/gstreamer-sections.txt:
14847 * docs/gst/gstreamer.types:
14849 more docs fixes, add new api to the docs
14851 2005-11-21 Andy Wingo <wingo@pobox.com>
14853 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14854 state_broadcast call.
14856 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14858 2005-11-21 Julien MOUTTE <julien@moutte.net>
14860 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14861 function calls for arrays.
14863 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14865 * docs/random/ensonic/media-device-daemon.txt:
14866 wild idea, can this be done?
14867 * docs/gst/gstreamer-sections.txt:
14872 * gst/gstpluginfeature.c:
14876 doc fixes and additions
14878 2005-11-21 Andy Wingo <wingo@pobox.com>
14880 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14881 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14882 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14883 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14884 private to the basesrc implementation.
14886 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14887 behalf of event function if necessary. It should no longer be
14888 necessary to take the stream lock in pad's event functions. Fixes
14891 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14892 * docs/gst/gstreamer-sections.txt:
14893 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14894 (gst_structure_fixate_field_nearest_double),
14895 (gst_structure_fixate_field_boolean):
14896 * gst/gststructure.h:
14897 * win32/common/libgstreamer.def:
14898 * win32/gstreamer.def:
14900 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14903 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14905 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14906 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14907 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14908 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14909 (gst_fdsrc_uri_handler_init):
14910 * gst/elements/gstfdsrc.h:
14911 Port fd:// URI handler from 0.8 to fdsrc
14913 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14915 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14916 (gst_value_serialize_fourcc):
14918 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14919 consistent with our other format defines (#320324).
14921 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14923 * gst/gstvalue.c: (gst_value_is_fixed):
14924 Revert previous commit. Value lists are by definition
14925 not fixed, as they are a list of possible values.
14927 2005-11-21 Andy Wingo <wingo@pobox.com>
14929 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14930 during the stable series if we need it. Fixes #319178.
14932 * gst/gstevent.c (gst_event_new_filler): Removed.
14934 * check/gst/gstevent.c: Update comment about filler events.
14936 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14938 * gst/gstvalue.c: (gst_value_is_fixed):
14939 Should handle both value arrays and value lists.
14941 2005-11-21 Andy Wingo <wingo@pobox.com>
14943 patch by: Alessandro Dessina <alessandro nnva org>
14945 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14946 functions to access arrays. Fixes #321962.
14948 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14950 * docs/gst/gstreamer.types:
14951 gst_collectpads_get_type => gst_collect_pads_get_type.
14953 * gst/base/gstbasetransform.c:
14954 Remove unused SIGNAL_HANDOFF enum.
14956 2005-11-21 Andy Wingo <wingo@pobox.com>
14958 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14959 the event type (upstream, downstream, serialized). Renamed
14960 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14961 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14962 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14964 * gst/gstevent.c: Update for new CUSTOM event names.
14966 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14969 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14972 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14974 * docs/gst/gstreamer-sections.txt:
14975 * win32/common/libgstbase.def:
14976 * win32/libgstbase.def:
14977 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14978 (gst_collect_pads_class_init), (gst_collect_pads_init),
14979 (gst_collect_pads_finalize), (gst_collect_pads_new),
14980 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14981 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14982 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14983 (gst_collect_pads_start), (gst_collect_pads_stop),
14984 (gst_collect_pads_peek), (gst_collect_pads_pop),
14985 (gst_collect_pads_available), (gst_collect_pads_read),
14986 (gst_collect_pads_flush), (gst_collect_pads_event),
14987 (gst_collect_pads_chain):
14988 * gst/base/gstcollectpads.h:
14989 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14990 unimplemented functions as unimplemented. Add padding to
14991 GstCollectData. (#320766, #320423)
14993 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14995 * gst/gstmessage.c:
14996 Improve docs for DURATION message (usage of duration parameter)
14999 2005-11-20 Wim Taymans <wim@fluendo.com>
15001 * check/Makefile.am:
15002 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15006 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15007 (gst_segment_set_seek), (gst_segment_set_newsegment),
15008 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15009 (gst_segment_clip):
15010 * gst/gstsegment.h:
15011 Added segment helper structure and methods. Not fully implemented
15013 Added segment check.
15015 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15017 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15018 Add a deserialisation test for fractions
15019 * examples/metadata/read-metadata.c: (message_loop),
15020 (make_pipeline), (main):
15021 Fix up metadata reading sample.
15022 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15024 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15025 Don't try and fixate empty caps
15026 * gst/gst_private.h:
15027 Wrap in G_BEGIN_DECLS/G_END_DECLS
15028 * gst/gstvalue.c: (gst_value_collect_fraction),
15029 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15030 (gst_value_transform_string_fraction),
15031 (gst_value_compare_fraction):
15032 Add some extra guards to ensure that we don't end up
15033 with an invalid denominator of 0 in a gstfraction and
15034 that fractions always get reduced.
15036 2005-11-20 Wim Taymans <wim@fluendo.com>
15038 * docs/gst/gstreamer-sections.txt:
15040 * gst/gstelement.c:
15049 2005-11-20 Wim Taymans <wim@fluendo.com>
15051 * docs/design/part-TODO.txt:
15053 Make a proper enum of the flag.
15055 2005-11-19 Wim Taymans <wim@fluendo.com>
15057 * docs/design/part-TODO.txt:
15058 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15059 (gst_format_to_quark), (gst_format_register):
15061 * gst/gstquery.c: (_gst_query_initialize),
15062 (gst_query_type_get_name), (gst_query_type_to_quark),
15063 (gst_query_type_register):
15065 Add type to quark and type to string conversions.
15067 2005-11-19 Andy Wingo <wingo@pobox.com>
15069 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15072 2005-11-19 Wim Taymans <wim@fluendo.com>
15074 * docs/design/part-TODO.txt:
15075 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15076 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15077 (gst_bin_handle_message_func):
15079 Make message handling overridable.
15081 2005-11-19 Andy Wingo <wingo@pobox.com>
15083 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15086 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15088 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15089 is a GstClockTime. Fixes #321710.
15091 * gst/gstclock.h (GstClock): Remove offset property. Add
15092 internal_calibration and external_calibration. Fix padding. Pad
15093 also by GstClockTime so we don't run into problems.
15095 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15096 (gst_clock_get_rate_offset): Remove.
15097 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15100 * gst/gstutils.c (g_static_rec_cond_wait)
15101 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15103 * gst/gstbin.c: Remove terrible continue_state prototype.
15105 * gst/gstelement.h (gst_element_continue_state): Make public.
15107 * gst/gstelement.h:
15108 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15109 by continue_state. Fixes #319389.
15111 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15112 Really fixes #168438. However I don't see anywhere where the
15113 filter function is called... stupid GStreamer...
15115 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15116 don't have a dispose function, so it won't get called when the
15117 object is unreffed, but oh well!
15119 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15120 allows a destroy function to be set so user_data can be freed.
15122 (gst_index_set_filter): Call gst_index_set_filter_full.
15124 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15126 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15127 string should produce an error, given the lack of a way to
15128 represent NULL strings. Fixes #165650.
15131 * gst/gstvalue.c (gst_value_array_append_value)
15132 (gst_value_array_prepend_value, gst_value_array_get_size)
15133 (gst_value_array_get_value): New API, copied from
15134 gst_value_list_*, only operates on arrays.
15135 (gst_value_list_append_value, gst_value_list_prepend_value)
15136 (gst_value_list_concat, gst_value_list_get_size)
15137 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15139 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15140 init_list, because it works on both.
15141 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15142 (gst_value_copy_list_or_array): Renamed from copy_list.
15143 (gst_value_free_list_or_array): Renamed from free_list.
15144 (gst_value_collect_list_or_array): Renamed from collect_list.
15145 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15146 (gst_value_list_or_array_peek_pointer): Renamed from
15148 (_gst_value_array_value_table, _gst_value_list_value_table):
15149 Update value table functions.
15150 (gst_value_compare_list_or_array): Renamed from compare_list.
15152 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15155 * gst/gsttaglist.c:
15156 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15157 GstTagList*. Fixes #143472.
15159 * gst/gststructure.h: Clarify what the foreach/map functions can
15160 or can't do to their arguments.
15162 2005-11-18 Wim Taymans <wim@fluendo.com>
15164 * gst/gstclock.c: (gst_clock_set_calibration),
15165 (gst_clock_get_calibration):
15167 Calibration can be set with internal time equal to current
15170 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15176 2005-11-18 Andy Wingo <wingo@pobox.com>
15179 * pkgconfig/gstreamer-net.pc.in:
15180 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15181 * pkgconfig/Makefile.am: Add net pkgconfig files.
15183 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15186 * gst/gstghostpad.c:
15192 2005-11-18 Andy Wingo <wingo@pobox.com>
15194 * gst/net/gstnetclientclock.c: Turn off debugging.
15196 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15197 times connverge somewhat. Can't make a real test.
15199 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15200 integer arithmetic. Return the minimum of the domain, which can be
15201 set as "internal" for gst_clock_set_calibration.
15202 (gst_net_client_clock_observe_times): Call _set_calibration.
15203 (gst_net_client_clock_new): Call _set_calibration instead of
15206 * check/net/gstnetclientclock.c (test_functioning): Use the right
15210 * gst/gstclock.c (gst_clock_get_calibration)
15211 (gst_clock_set_calibration): New functions, obsolete the ones I
15212 added yesterday. Doh. Precision issues mean we have to extrapolate
15213 from a point in the more recent past than 1970.
15214 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15216 (gst_clock_adjust_unlocked): Use the right calibration data.
15218 2005-11-18 Edward Hervey <edward@fluendo.com>
15220 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15221 Also reset the ->current_* values in READY->PAUSED
15223 2005-11-18 Andy Wingo <wingo@pobox.com>
15225 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15226 Whoops, check the right fd. Also add some debugging.
15227 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15228 (do_linear_regression): Add a crapload of debugging. Subtract off
15229 the minimum values from the input series to discard unneeded bits.
15230 Use only int arithmetic. There is still double arithmetic when
15231 calculating the intercept that needs fixing. Return boolean to
15232 indicate success; FALSE would mean the domain or range is too
15233 great. Still needs fixes.
15235 2005-11-18 Wim Taymans <wim@fluendo.com>
15237 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15238 For the current position in stream time, we need to subtract
15241 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15242 Release lock before calling the callback function of async
15245 2005-11-18 Andy Wingo <wingo@pobox.com>
15247 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15248 Port goes all the way to MAXUINT16.
15250 * gst/net/gstnettimeprovider.c: Make the port range the same as
15251 for the kernel: 0 assigns, otherwise ports are less than
15254 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15257 * check/net/gstnetclientclock.c (test_functioning): Add the start
15260 2005-11-18 Wim Taymans <wim@fluendo.com>
15262 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15263 (gst_bin_remove_func), (bin_bus_handler):
15265 Removing a clock provider from a bin, triggers a clock lost message
15266 so that a new clock will be selected.
15267 Adding a clock to a bin triggers a clock provider message.
15268 Make sure we reselect a clock when we received a clock lost message.
15269 Keep a reference to the element that provided the clock.
15271 2005-11-18 Andy Wingo <wingo@pobox.com>
15273 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15274 the clock initially so it produces values around the base time.
15275 (gst_net_client_clock_class_init): Typo fix.
15276 (gst_net_client_clock_thread): Add note on when the socket gets
15279 2005-11-17 Wim Taymans <wim@fluendo.com>
15281 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15282 Free remote and local time arrays.
15284 2005-11-17 Wim Taymans <wim@fluendo.com>
15286 * gst/net/gstnetclientclock.c: (do_linear_regression),
15287 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15288 Fix compilation, uninitialized vars and a forgotten continue.
15290 2005-11-17 Andy Wingo <wingo@pobox.com>
15292 * check/Makefile.am (check_PROGRAMS):
15293 * check/net/gstnetclientclock.c: Add a most minimal test for the
15294 net client clock. More to come later.
15296 * gst/net/gstnet.h:
15297 * gst/net/Makefile.am: Add netclientclock.
15299 * gst/net/gstnetclientclock.h:
15300 * gst/net/gstnetclientclock.c: New files, implement an untested
15301 GstClock that takes its time from a network time provider.
15302 Implements the algorithm in network-clock.scm.
15304 * tests/network-clock.scm (*window-size*): Rename from
15306 * tests/network-clock.scm (network-time):
15307 * tests/network-clock-utils.scm (q-push): Update callers.
15309 2005-11-17 Wim Taymans <wim@fluendo.com>
15311 * gst/gstbin.c: (gst_bin_provide_clock_func),
15312 (gst_bin_sort_iterator_new):
15313 And unref the child too..
15315 2005-11-17 Wim Taymans <wim@fluendo.com>
15317 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15318 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15319 Refactor the sort iterator so it can be used while holding the
15321 Make clock selection select a clock closest to the source.
15323 2005-11-17 Michael Smith <msmith@fluendo.com>
15325 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15326 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15328 Anonymous structs are a gcc (and some other compilers) extension, so
15329 don't use them. Since this is only for ABI-compatibility, and our
15330 API/ABI freeze is over in a few days, this whole thing will only
15331 last a few days, so don't bother trying to think up a meaningful
15332 name for the struct.
15334 2005-11-17 Andy Wingo <wingo@pobox.com>
15336 * gst/gstclock.h (GstClock): Add rate and offset properties,
15337 preserving ABI stability. Add rate/offset accessors. Will file bug
15338 for the freeze break.
15340 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15341 and offset, trying to keep precision and avoiding
15342 underflow/overflow.
15343 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15344 functions. Make gst_clock_set_time_adjust obsolete.
15345 (gst_clock_set_time_adjust): Note that this function is obsolete.
15346 Will file bug soon.
15348 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15349 greppable by using GST_PADDING-1+1.
15351 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15353 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15355 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15356 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15358 * gst/gstpadtemplate.h:
15359 * gst/gstpluginfeature.h:
15360 Don't use c++ style comments in headers (#321638).
15362 2005-11-16 Andy Wingo <wingo@pobox.com>
15364 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15367 * check/net/gstnettimeprovider.c: Check to see that the time
15368 provider actually provides times. Works, yo!
15370 2005-11-16 Wim Taymans <wim@fluendo.com>
15372 * check/Makefile.am:
15375 * check/elements/fakesrc.c: (GST_START_TEST):
15376 Set element to NULL before disposing it.
15378 2005-11-16 Andy Wingo <wingo@pobox.com>
15380 * gst/net/Makefile.am:
15381 * gst/net/gstnet.h:
15382 * gst/net/gstnettimeprovider.c:
15383 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15384 provider, include it from gstnet.h, and add it to the build.
15386 * gst/net/gstnettimepacket.h:
15387 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15388 sending and receiving.
15390 2005-11-16 Wim Taymans <wim@fluendo.com>
15392 * check/Makefile.am:
15393 Enable valgrind check.
15395 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15396 (gst_fake_src_alloc_buffer):
15399 2005-11-16 Wim Taymans <wim@fluendo.com>
15401 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15402 Call parent finalize too.
15404 2005-11-16 Wim Taymans <wim@fluendo.com>
15406 * check/Makefile.am:
15407 Enable valgrind check that should work fine now.
15409 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15410 * gst/gstqueue.c: (gst_queue_init):
15411 Fix memleaks in pad allocation.
15413 2005-11-16 Andy Wingo <wingo@pobox.com>
15415 * gst/net/Makefile.am:
15416 * gst/net/gstnet.h: New part of core to hold network elements and
15417 objects. Put in core because it exposes API that applications want
15418 to use. The library is named libgstnet-tempname right now because
15419 of the existing libgstnet in gst-plugins-base. Solution is
15420 probably to rename the one in plugins-base; will file a bug for
15423 * gst/net/gstnettimeprovider.c:
15424 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15425 get_time call over the network.
15428 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15430 * check/Makefile.am:
15431 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15432 get additions shortly.
15434 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15436 * gst/gstpad.c: (gst_pad_new_from_static_template):
15438 add gst_pad_new_from_static_template functions
15439 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15440 (gst_check_setup_sink_pad):
15441 * gst/elements/gsttee.c: (gst_tee_init):
15444 2005-11-16 Wim Taymans <wim@fluendo.com>
15446 * gst/gstpad.c: (gst_pad_pause_task):
15447 Removed warning, it's not really an error either.
15449 2005-11-16 Wim Taymans <wim@fluendo.com>
15451 * gst/base/gstbasetransform.c:
15452 (gst_base_transform_prepare_output_buf),
15453 (gst_base_transform_event):
15454 Check if the caps are NULL, this can happen if the element
15455 is shutting down and the pad caps are set to NULL.
15457 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15459 * gst/elements/gsttee.c: (gst_tee_init):
15460 fix pad template leak in tee
15462 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15464 * gst/glib-compat.c: (g_value_dup_gst_object):
15465 * gst/glib-compat.h:
15466 * gst/gstpad.c: (gst_pad_set_property):
15467 use gst_object_ref when setting the pad template; this will
15468 trigger the pad template leaks on GLib 2.6 and the slaves
15470 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15472 * gst/glib-compat.c: (gst_flags_get_first_value):
15473 * gst/glib-compat.h:
15474 * gst/gstregistryxml.c:
15475 remove functions copied from GLib 2.6
15477 2005-11-16 Michael Smith <msmith@fluendo.com>
15480 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15481 do, but only breaks with newer valgrind versions. We're not a
15482 valgrind tool, we have no link-time dependencies on libcoregrind.
15484 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15486 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15488 * gst/gstmessage.h:
15491 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15493 * gst/base/gstbasesrc.c: (gst_base_src_init):
15494 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15495 * gst/gstqueue.c: (gst_queue_init):
15496 * gst/gstregistryxml.c: (load_feature):
15497 Revert all these unrefs, they don't even pass make check !
15499 2005-11-15 Johan Dahlin <johan@gnome.org>
15501 * gst/base/gstbasesrc.c: (gst_base_src_init):
15502 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15503 * gst/gstqueue.c: (gst_queue_init):
15504 Free pad templates, fixes a couple of leaks.
15506 2005-11-15 Daniel Fischer <dan at f3c dot com>
15508 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15510 * gst/gstpad.c: (gst_pad_get_property):
15511 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15512 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15515 2005-11-15 Wim Taymans <wim@fluendo.com>
15520 2005-11-15 Andy Wingo <wingo@pobox.com>
15522 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15524 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15525 using GST_CLOCK_TIME_NONE to disable base time management.
15526 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15527 time if it was NONE before.
15528 (gst_pipeline_change_state): Only munge the base time if
15529 stream_time != GST_CLOCK_TIME_NONE.
15531 * check/gst/gstpipeline.c (test_base_time): Punt around the
15532 problem of the probe not being called, because that's not the
15533 issue I'm looking at. Add a check that setting stream_time to NONE
15534 disables base time management.
15536 2005-11-15 Wim Taymans <wim@fluendo.com>
15538 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15539 segment_stop == -1 at startup.
15541 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15542 (gst_base_transform_change_state):
15543 Init segment values at start.
15545 2005-11-15 Wim Taymans <wim@fluendo.com>
15547 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15548 0 segment values are 0 in any format.
15550 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15551 * gst/base/gstbasetransform.h:
15552 Parse newsegment correctly in basetransform
15554 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15555 Sync to clock using updated segment values.
15557 2005-11-15 Andy Wingo <wingo@pobox.com>
15559 * check/gst/gstpipeline.c (test_base_time): Add check that the
15560 base time and stream time are reset correctly.
15562 2005-11-15 Wim Taymans <wim@fluendo.com>
15564 * docs/design/part-TODO.txt:
15565 Some more TODO items.
15567 2005-11-15 Andy Wingo <wingo@pobox.com>
15569 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15570 error if the user selected "no clock" as the clocking method.
15572 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15573 timestamps with live capture.
15575 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15576 is 0 but we are a live source, timestamp the buffers using the
15579 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15581 * docs/gst/gstreamer-sections.txt:
15583 * gst/gstghostpad.c:
15588 2005-11-14 Wim Taymans <wim@fluendo.com>
15591 add suppressions from Wim's Debian machine
15593 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15596 add suppressions from Andy's AMD64 Ubuntu machine
15598 2005-11-14 Andy Wingo <wingo@pobox.com>
15600 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15601 STATE_LOCK not necessary. Fixes #311489.
15603 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15606 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15607 this function is not implemented.
15609 2005-11-14 Julien MOUTTE <julien@moutte.net>
15611 * gst/base/gstbasetransform.c:
15612 (gst_base_transform_prepare_output_buf):
15613 Ref the source pad caps while we need them.
15616 2005-11-11 Wim Taymans <wim@fluendo.com>
15618 * docs/gst/gstreamer-sections.txt:
15619 Added some docs for GstCollectData.
15621 * gst/base/gstadapter.c:
15622 Some small code example fix.
15624 * gst/base/gstcollectpads.c:
15625 * gst/base/gstcollectpads.h:
15626 Document some more.
15628 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15630 * configure.ac: back to HEAD
15632 === release 0.9.5 ===
15634 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15637 releasing 0.9.5, "Bike Lunch Day"
15639 2005-11-11 Wim Taymans <wim@fluendo.com>
15641 * gst/gstbuffer.c: (_gst_buffer_copy):
15644 * gst/gstcaps.c: (gst_caps_is_equal):
15646 Make _is_equal fast in the trivial cases.
15648 * gst/gstminiobject.c:
15649 * gst/gstminiobject.h:
15650 More docs. Spifify .h file.
15655 2005-11-11 Wim Taymans <wim@fluendo.com>
15657 * gst/base/gstbasetransform.c:
15658 (gst_base_transform_prepare_output_buf),
15659 (gst_base_transform_handle_buffer):
15661 If we're processing a buffer and need to allocate an output
15662 buffer, we cannot accept a format change. If we did get a
15663 format change, we have to alloc a buffer ourselves of the
15666 2005-11-11 Wim Taymans <wim@fluendo.com>
15668 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15669 While checking the flag for reentrancy in the gstcaps function
15670 is nice to detect recursive invocations, it also makes it
15671 impossible to call getcaps from multiple threads, which must be
15672 possible. So, checking for recursive calls has to go.
15674 2005-11-11 Michael Smith <msmith@fluendo.com>
15676 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15677 Don't sync on buffers that fall partially outside our current
15678 segment. Prevents an assertion failure/abort playing some files.
15680 2005-11-10 Andy Wingo <wingo@pobox.com>
15682 * check/gst/gstbin.c (test_message_state_changed_children): Style
15685 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15686 gst_bus_poll with the signal watch. Ensures that poll and a signal
15687 watch see the same messages.
15689 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15690 a poll and a watch at the same time get the same messages.
15692 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15694 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15695 * gst/gstcaps.c: (gst_caps_intersect):
15696 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15697 and it's not needed.
15699 2005-11-10 Wim Taymans <wim@fluendo.com>
15701 * docs/design/part-TODO.txt:
15704 2005-11-10 Wim Taymans <wim@fluendo.com>
15706 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15707 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15708 (gst_base_src_do_sync), (gst_base_src_get_range):
15709 Implement clock sync in base class.
15711 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15713 patch by: Tim-Philipp Müller <tim at centricular dot net>
15715 * gst/gststructure.c: (gst_structure_parse_field),
15716 (gst_structure_from_string):
15717 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15718 so that gst_parse_launch() can deal with spaces in filtered link
15719 caps (fixes #164479)
15720 * check/gst/capslist.h:
15721 * check/gst/gststructure.c: (GST_START_TEST):
15722 add unit tests for this change
15724 2005-11-10 Wim Taymans <wim@fluendo.com>
15726 * docs/gst/gstreamer-sections.txt:
15727 * gst/gstelement.c:
15728 * gst/gstelement.h:
15729 Fix docs, move some STATE macros to private.
15731 2005-11-10 Wim Taymans <wim@fluendo.com>
15733 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15734 Added check for bug #317341
15738 Some more spiffifying.
15740 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15741 Call peer linkfunction if we are a source pad. Totally fixes
15745 Update docs, source pads should call the peer linkfunction
15746 so they can atomically perform the pad link.
15748 2005-11-09 Wim Taymans <wim@fluendo.com>
15752 Uber-spiffy-spiffify some more.
15754 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15756 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15757 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15758 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15759 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15760 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15761 * gst/gstpad.c: (gst_pad_init):
15762 Use GST_DEBUG_FUNCPTR() more extensively.
15764 2005-11-09 Wim Taymans <wim@fluendo.com>
15766 * gst/gstobject.c: (gst_object_class_init):
15768 Documentation fixes.
15770 2005-11-09 Edward Hervey <edward@fluendo.com>
15772 * gst/gsttypefindfactory.c:
15775 2005-11-09 Edward Hervey <edward@fluendo.com>
15777 * gst/base/gsttypefindhelper.c:
15778 * gst/gsttypefind.c:
15779 * gst/gsttypefind.h:
15782 2005-11-09 Wim Taymans <wim@fluendo.com>
15784 * gst/gstiterator.c:
15791 2005-11-09 Wim Taymans <wim@fluendo.com>
15797 2005-11-09 Wim Taymans <wim@fluendo.com>
15799 * docs/gst/gstreamer-sections.txt:
15800 Moved the message async delivery private lock and cond
15801 to the private section.
15803 * gst/gstmessage.c:
15804 * gst/gstmessage.h:
15807 2005-11-09 Edward Hervey <edward@fluendo.com>
15809 * docs/gst/gstreamer-sections.txt:
15812 Document GstURIHandler
15814 2005-11-09 Wim Taymans <wim@fluendo.com>
15816 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15817 (gst_iterator_find_custom):
15818 * gst/gstiterator.h:
15821 2005-11-09 Wim Taymans <wim@fluendo.com>
15824 Document another field.
15826 * gst/gststructure.c:
15827 * gst/gststructure.h:
15830 2005-11-09 Wim Taymans <wim@fluendo.com>
15833 Documented structs.
15835 2005-11-09 Wim Taymans <wim@fluendo.com>
15837 * docs/gst/gstreamer-sections.txt:
15838 Added some new macros.
15845 2005-11-09 Wim Taymans <wim@fluendo.com>
15847 * docs/design/part-TODO.txt:
15848 Some more items for the TODO
15854 2005-11-09 Andy Wingo <wingo@pobox.com>
15856 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15857 to work on something else now tho...
15859 * gst/base/gstadapter.c: More adapter docs.
15861 * gst/elements/gstfilesink.c (gst_file_sink_start)
15862 (gst_file_sink_stop): New functions, replace the state change
15864 (gst_file_sink_class_init): Hook up the start and stop functions.
15865 (gst_file_sink_base_init): Don't set the state change handler any
15866 more. It was a bit ugly too, being set from here...
15867 (gst_file_sink_get_property, gst_file_sink_set_property):
15869 (gst_file_sink_set_location): More robust check that doesn't call
15870 GST_STATE. Ugggggg.
15872 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15874 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15875 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15877 2005-11-08 Wim Taymans <wim@fluendo.com>
15879 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15880 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15881 (gst_base_sink_chain), (gst_base_sink_change_state):
15882 * gst/base/gstbasesink.h:
15883 * gst/base/gstbasesrc.h:
15884 * gst/gstelement.h:
15886 Avoid excessive typechecking in macros.
15888 * gst/gstminiobject.c: (gst_mini_object_get_type),
15889 (gst_mini_object_init), (gst_mini_object_new),
15890 (gst_mini_object_free):
15891 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15892 (gst_object_finalize):
15893 Remove cruft code, optimize alloc_trace.
15895 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15897 * docs/faq/gst-uninstalled:
15898 fix up PS1 for systems that try to reset it
15900 2005-11-07 Wim Taymans <wim@fluendo.com>
15902 * gst/base/gstbasesrc.c: (gst_base_src_init),
15903 (gst_base_src_get_range):
15904 Set the segment_end to -1 initially. Fixed typefind.
15906 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15908 * gst/base/gstadapter.c:
15909 Debug category should be 'adapter', not 'GstAdapter'.
15911 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15912 (gst_collectpads_class_init), (gst_collectpads_init),
15913 (gst_collectpads_peek), (gst_collectpads_pop),
15914 (gst_collectpads_event), (gst_collectpads_chain):
15915 Add debug category and some debugging output. Use boilerplate
15916 macros. Remove some extraneous words from docs.
15918 2005-11-05 Andy Wingo <wingo@pobox.com>
15920 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15923 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15925 * docs/gst/gstreamer-sections.txt:
15928 * gst/gstminiobject.h:
15933 2005-11-04 Wim Taymans <wim@fluendo.com>
15935 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15936 Small update to stop at the configured segment_end
15939 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15941 * gst/gstregistry.c:
15942 * gst/gstregistry.h:
15945 2005-11-04 Edward Hervey <edward@fluendo.com>
15947 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15948 Check if we are doing a segment seek and have arrived at the
15949 end of that segment.
15951 2005-11-04 Wim Taymans <wim@fluendo.com>
15953 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15954 Don't leak a mutex unlock in case of an error.
15959 2005-11-04 Wim Taymans <wim@fluendo.com>
15961 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15963 Get the context to wake up only once.
15965 2005-11-03 Wim Taymans <wim@fluendo.com>
15967 * check/states/sinks.c: (GST_START_TEST):
15968 Uncomment fixed check.
15970 * docs/design/part-TODO.txt:
15973 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15974 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15975 (gst_base_sink_get_position):
15976 If we are going to PLAYING, post the right pending state
15977 when we post the intermediate paused message.
15979 * gst/gstelement.c: (gst_element_continue_state),
15980 (gst_element_set_state_func), (gst_element_change_state):
15981 Don't post state changes that were between the same state
15982 and were not ASYNC.
15984 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15986 * docs/gst/gstreamer-sections.txt:
15989 * gst/gstminiobject.h:
15992 more docs and doc style fixes
15994 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15996 * docs/gst/gstreamer-sections.txt:
15997 * gst/gstelement.c:
15998 * gst/gstminiobject.c:
16001 2005-11-03 Andy Wingo <wingo@pobox.com>
16003 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16004 state-changed messages actually have the right order and the right
16007 2005-11-03 Wim Taymans <wim@fluendo.com>
16009 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16010 Added some more checks. Specifically the case where NO_PREROLL
16011 elements are in the pipeline.
16013 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16014 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16015 (gst_base_sink_get_position):
16016 Post READY->PAUSED state change messages too.
16017 Fix bug where VOID was posted as pending state...
16019 * gst/gstbin.c: (gst_bin_recalc_state):
16020 use _element_continue_state() to continue the state change.
16022 * gst/gstelement.c: (gst_element_continue_state),
16023 (gst_element_commit_state), (gst_element_set_state_func),
16024 (gst_element_change_state), (gst_element_change_state_func):
16025 Lots of state change cleanups, assign the STATE_RETURN in
16026 a new continue_state() function that also propagates the
16027 last return value from a state change to the app.
16028 Update some debug statements with proper category.
16030 2005-11-03 Wim Taymans <wim@fluendo.com>
16032 * docs/design/part-events.txt:
16033 * docs/design/part-gstpipeline.txt:
16034 * docs/design/part-messages.txt:
16035 * docs/design/part-overview.txt:
16036 * docs/design/part-seeking.txt:
16037 * docs/design/part-states.txt:
16038 * docs/design/part-trickmodes.txt:
16039 * docs/manual/advanced-position.xml:
16040 Small docs updates.
16043 People think !! is ugly, this looks better.
16045 * gst/gstpad.c: (gst_pad_set_blocked_async):
16046 Remove !! since it's fixed elsewhere now.
16048 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16050 * gst/gstminiobject.h:
16052 Add !! to _FLAG_IS_SET macros to make the result boolean.
16054 2005-11-03 Edward Hervey <edward@fluendo.com>
16056 * gst/gstpad.c: (gst_pad_set_blocked_async):
16057 comparing a flag and a gboolean rarely returns coherent results...
16058 Added two characters (!!) to make that work correctly.
16060 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16062 * gst/gstbus.c: (gst_bus_class_init):
16065 * gst/gstqueue.c: (gst_queue_loop):
16066 Don't assume a miniobject that isn't a buffer is an
16067 event (it could be that there is a refcounting
16068 problem somewhere and the pointer is stale and
16069 refers to an already destroyed miniobject).
16071 2005-11-03 Julien MOUTTE <julien@moutte.net>
16073 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16075 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16077 * docs/manual/advanced-position.xml:
16078 Update seek example and explanations to current 0.9 API.
16080 * gst/elements/gsttypefindelement.c:
16081 (gst_type_find_element_activate):
16082 Remove FIXME comment now that the found caps
16085 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16087 * gst/gstregistryxml.c: (load_feature):
16088 Add another GST_STR_NULL instance
16090 2005-11-02 Edward Hervey <edward@fluendo.com>
16092 * gst/gstpad.c: (handle_pad_block):
16093 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16095 2005-11-02 Wim Taymans <wim@fluendo.com>
16100 * gst/gstelement.c: (gst_element_commit_state):
16101 Remove unused value.
16103 * gst/gstiterator.c:
16104 Mention that the returned element is reffed in the docs.
16106 2005-11-02 Wim Taymans <wim@fluendo.com>
16108 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16109 (gst_pad_push), (gst_pad_push_event):
16110 Unlock blocked pads when they are flushed.
16112 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16115 * docs/gst/gstreamer-sections.txt:
16118 * gst/gstregistry.c: (gst_registry_scan_path_level):
16119 fix for a nasty little missed situation where an installed plug-in
16120 which was in the cache did not get overridden by an uninstalled one
16121 which was earlier in the plugin path because the newly created plugin
16122 for the uninstalled one (not in the registry) didn't get its
16123 ->registered set to TRUE
16125 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16127 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16128 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16129 (gst_collectpads_is_active), (gst_collectpads_collect),
16130 (gst_collectpads_collect_range), (gst_collectpads_start),
16131 (gst_collectpads_stop), (gst_collectpads_peek),
16132 (gst_collectpads_pop), (gst_collectpads_available),
16133 (gst_collectpads_read), (gst_collectpads_flush):
16134 Guard public API with assertions.
16137 Fix docs for gst_pad_set_link_function().
16139 2005-11-02 Johan Dahlin <johan@gnome.org>
16141 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16142 Unref found_caps after we used it.
16144 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16146 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16147 Don't try to ref NULL.
16149 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16151 * win32/common/config.h.in:
16152 provide a GST_FUNCTION that just gives a string for now
16154 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16156 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16157 (gst_object_flags_get_type), (register_gst_bin_flags),
16158 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16159 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16160 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16161 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16162 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16163 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16164 (gst_clock_flags_get_type), (register_gst_state),
16165 (gst_state_get_type), (register_gst_state_change_return),
16166 (gst_state_change_return_get_type), (register_gst_state_change),
16167 (gst_state_change_get_type), (register_gst_element_flags),
16168 (gst_element_flags_get_type), (register_gst_core_error),
16169 (gst_core_error_get_type), (register_gst_library_error),
16170 (gst_library_error_get_type), (register_gst_resource_error),
16171 (gst_resource_error_get_type), (register_gst_stream_error),
16172 (gst_stream_error_get_type), (register_gst_event_type),
16173 (gst_event_type_get_type), (register_gst_seek_type),
16174 (gst_seek_type_get_type), (register_gst_seek_flags),
16175 (gst_seek_flags_get_type), (register_gst_format),
16176 (gst_format_get_type), (register_gst_index_certainty),
16177 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16178 (gst_index_entry_type_get_type),
16179 (register_gst_index_lookup_method),
16180 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16181 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16182 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16183 (gst_index_flags_get_type), (register_gst_debug_level),
16184 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16185 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16186 (gst_iterator_result_get_type), (register_gst_iterator_item),
16187 (gst_iterator_item_get_type), (register_gst_message_type),
16188 (gst_message_type_get_type), (register_gst_mini_object_flags),
16189 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16190 (gst_pad_link_return_get_type), (register_gst_flow_return),
16191 (gst_flow_return_get_type), (register_gst_activate_mode),
16192 (gst_activate_mode_get_type), (register_gst_pad_direction),
16193 (gst_pad_direction_get_type), (register_gst_pad_flags),
16194 (gst_pad_flags_get_type), (register_gst_pad_presence),
16195 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16196 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16197 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16198 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16199 (gst_plugin_flags_get_type), (register_gst_rank),
16200 (gst_rank_get_type), (register_gst_query_type),
16201 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16202 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16203 (gst_tag_flag_get_type), (register_gst_task_state),
16204 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16205 (gst_alloc_trace_flags_get_type),
16206 (register_gst_type_find_probability),
16207 (gst_type_find_probability_get_type), (register_gst_uri_type),
16208 (gst_uri_type_get_type), (register_gst_parse_error),
16209 (gst_parse_error_get_type):
16210 * win32/common/gstversion.h:
16211 update win32 copies
16213 2005-11-01 Luca Ognibene <luogni@tin.it>
16216 fix docs. popt is dead, long live GOption.
16218 2005-10-31 Wim Taymans <wim@fluendo.com>
16223 2005-10-31 Andy Wingo <wingo@pobox.com>
16227 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16229 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16230 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16231 the possibility of deadlocks here if code calling notify() or
16232 set() has a lock that can be taken in another notify handler (ABBA
16233 with class lock and e.g. python GIL state lock).
16235 2005-10-28 Julien MOUTTE <julien@moutte.net>
16237 * gst/gstbus.c: Doc updates.
16239 2005-10-28 Wim Taymans <wim@fluendo.com>
16241 * docs/design/part-TODO.txt:
16242 * gst/gstiterator.c:
16243 * gst/gstsystemclock.c:
16244 * gst/gstsystemclock.h:
16247 2005-10-28 Edward Hervey <edward@fluendo.com>
16249 * docs/gst/gstreamer-docs.sgml:
16250 * docs/gst/gstreamer-sections.txt:
16251 the GstURIType documentation page is private, it only defines GstURIType
16252 which should be defined in the GstURIHandler page
16254 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16256 * gst/gstbin.c: (gst_bin_class_init):
16259 Documentation updates.
16261 2005-10-28 Wim Taymans <wim@fluendo.com>
16263 * docs/gst/gstreamer-sections.txt:
16266 Documented the clocks.
16268 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16270 * docs/gst/gstreamer-sections.txt:
16271 move some macros to private sections
16272 * gst/gstminiobject.c:
16273 * gst/gstminiobject.h:
16274 add descriptions provided by ds and some more
16276 mark macro as to be removed
16278 2005-10-28 Wim Taymans <wim@fluendo.com>
16280 * docs/design/part-TODO.txt:
16281 Add an item to TODO.
16283 * gst/gstiterator.c: (gst_iterator_fold),
16284 (gst_iterator_find_custom):
16285 * gst/gstiterator.h:
16288 2005-10-28 Wim Taymans <wim@fluendo.com>
16290 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16291 (gst_base_transform_init):
16294 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16295 An EOS event marks the queue as completely filled.
16297 2005-10-27 Wim Taymans <wim@fluendo.com>
16299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16300 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16301 Some more debugging.
16303 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16304 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16305 (gst_base_transform_event), (gst_base_transform_getrange),
16306 (gst_base_transform_chain):
16307 * gst/base/gstbasetransform.h:
16309 Protect transform and concurrent buffer alloc with a new lock.
16310 Try not to break ABI/API.
16312 2005-10-27 Wim Taymans <wim@fluendo.com>
16314 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16315 (gst_base_src_init), (gst_base_src_query),
16316 (gst_base_src_default_newsegment),
16317 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16318 (gst_base_src_send_event), (gst_base_src_event_handler),
16319 (gst_base_src_pad_get_range), (gst_base_src_loop),
16320 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16321 (gst_base_src_start), (gst_base_src_deactivate),
16322 (gst_base_src_activate_push), (gst_base_src_change_state):
16323 Move some stuff around and cleanup things.
16325 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16327 * gst/base/gstbasesrc.c: (gst_base_src_query):
16328 Add missing break statements.
16330 2005-10-27 Wim Taymans <wim@fluendo.com>
16332 * check/gst/gstbin.c: (GST_START_TEST):
16333 An extra refcount is taken in basesrc.
16335 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16336 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16337 (gst_base_src_loop):
16338 Small cleanups, check for flushing after being unlocked from the
16339 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16340 Don't send out EOS when going to READY.
16342 2005-10-27 Wim Taymans <wim@fluendo.com>
16344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16345 (gst_base_sink_get_position):
16348 * gst/gstbin.c: (message_check), (bin_replace_message),
16349 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16350 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16351 (bin_query_duration_init), (bin_query_duration_fold),
16352 (bin_query_duration_done), (bin_query_generic_fold),
16354 * tools/gst-launch.c: (main):
16357 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16359 * examples/controller/audio-example.c: (main):
16360 * examples/queue/queue.c: (event_loop):
16361 * gst/base/gstbasetransform.h:
16362 * gst/gstelement.c: (gst_element_send_event):
16364 * gst/gstpad.c: (gst_pad_send_event):
16367 changing log priority in error situations
16369 2005-10-25 Wim Taymans <wim@fluendo.com>
16371 * gst/gstbin.c: (message_check), (bin_replace_message),
16372 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16373 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16374 (bin_query_duration_init), (bin_query_duration_fold),
16375 (bin_query_duration_done), (bin_query_generic_fold),
16377 Some doc and debug updates.
16378 Cache previously requested query DURATION for speed. invalidate
16379 cached duration if element posts a DURATION message.
16381 2005-10-25 Wim Taymans <wim@fluendo.com>
16383 * docs/design/part-TODO.txt:
16386 * gst/gstbin.c: (message_check), (bin_replace_message),
16387 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16388 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16389 (bin_query_duration_init), (bin_query_duration_fold),
16390 (bin_query_duration_done), (bin_query_generic_fold),
16392 Handle SEGMENT_START/DONE messages correctly.
16393 More evolved query algorithm that handles duration queries
16396 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16397 (gst_element_get_state_func), (gst_element_abort_state),
16398 (gst_element_commit_state), (gst_element_lost_state):
16399 Some more debugging.
16401 * gst/gstmessage.h:
16404 2005-10-25 Wim Taymans <wim@fluendo.com>
16406 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16407 Don't use invalid stream_time.
16409 * gst/gstevent.c: (gst_event_new_newsegment):
16410 stream_time in newsegment cannot be undefined.
16412 2005-10-24 Wim Taymans <wim@fluendo.com>
16417 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16419 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16421 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16423 * docs/libs/tmpl/gstdparam.sgml:
16424 * docs/libs/tmpl/gstdplinint.sgml:
16425 * docs/libs/tmpl/gstdpman.sgml:
16426 * docs/libs/tmpl/gstdpsmooth.sgml:
16427 * docs/libs/tmpl/gstunitconvert.sgml:
16430 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16435 === release 0.9.4 ===
16437 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16440 releasing 0.9.4, "Tyrannosaurus Rex"
16442 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16444 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16445 (gst_file_sink_get_current_offset):
16446 Use fseeko() and ftello() if available. When falling back on
16447 lseek() to get the current offset, fflush() first to make sure
16448 everything is up-to-date and we get the right offset.
16450 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16453 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16454 * gst/gsterror.c: (_gst_stream_errors_init):
16456 * gst/gstqueue.c: (gst_queue_loop):
16458 remove prematurely added error category and clean up the instances
16460 2005-10-21 Wim Taymans <wim@fluendo.com>
16462 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16463 (gst_base_sink_get_position), (gst_base_sink_query),
16464 (gst_base_sink_change_state):
16465 Simply set the right flag when going to playing, that's all
16466 we need to do instead of calling a function inside the object
16467 lock (that could take the lock as well and deadlock)
16469 2005-10-21 Wim Taymans <wim@fluendo.com>
16471 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16472 (gst_base_src_loop):
16473 Don't warn, the peer element knows what to do best when
16474 the seek failed, it might try something else.
16476 2005-10-21 Wim Taymans <wim@fluendo.com>
16478 * gst/base/gstbasesrc.c: (gst_base_src_init),
16479 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16482 2005-10-21 Wim Taymans <wim@fluendo.com>
16484 * docs/design/part-segments.txt:
16487 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16488 Correctly set caps, even on the subbufer.
16490 2005-10-21 Wim Taymans <wim@fluendo.com>
16492 * docs/gst/gstreamer-docs.sgml:
16493 * docs/gst/gstreamer-sections.txt:
16494 * gst/gstelement.h:
16497 * gst/gstmessage.h:
16500 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16504 And 2% more doc coverage.
16506 2005-10-21 Andy Wingo <wingo@pobox.com>
16508 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16509 position reporting.
16511 2005-10-20 Wim Taymans <wim@fluendo.com>
16513 * gst/gsterror.c: (gst_error_get_message):
16516 * gst/gststructure.c:
16521 2005-10-20 Wim Taymans <wim@fluendo.com>
16526 Another 1% more coverage.
16528 2005-10-20 Wim Taymans <wim@fluendo.com>
16530 * docs/gst/gstreamer-sections.txt:
16531 * gst/gstelement.c: (gst_element_get_state_func),
16532 (gst_element_abort_state), (gst_element_commit_state),
16533 (gst_element_lost_state):
16535 * gst/gstquery.c: (gst_query_set_position),
16536 (gst_query_parse_position), (gst_query_set_duration),
16537 (gst_query_parse_duration), (gst_query_new_convert):
16539 Yay! 1% more docs coverage.
16541 2005-10-20 Wim Taymans <wim@fluendo.com>
16544 * gst/gstquery.c: (gst_query_set_position),
16545 (gst_query_parse_position), (gst_query_set_duration),
16546 (gst_query_parse_duration), (gst_query_new_convert):
16548 * gst/gstutils.c: (gst_element_query_convert):
16550 Docs and consistency fixes.
16552 2005-10-20 Wim Taymans <wim@fluendo.com>
16558 2005-10-20 Wim Taymans <wim@fluendo.com>
16560 * gst/gstbin.c: (message_check), (bin_replace_message),
16561 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16562 (update_degree), (gst_bin_sort_iterator_next),
16563 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16564 Reworked the message handling a bit, cache the messages instead of
16565 only the senders. alows us to do more in the future.
16567 2005-10-20 Wim Taymans <wim@fluendo.com>
16569 * docs/design/part-TODO.txt:
16572 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16573 (gst_base_sink_query):
16574 Don't use clock time to report position when in EOS.
16576 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16578 * tools/gst-inspect.c: (print_interfaces),
16579 (print_element_properties_info), (print_element_info):
16580 Fix interface output with gst-inspect -a; don't print
16581 newlines after double/float properties.
16583 2005-10-20 Wim Taymans <wim@fluendo.com>
16585 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16586 (gst_base_sink_query):
16587 Speed up current position calculation.
16589 * gst/base/gstbasesrc.c: (gst_base_src_query),
16590 (gst_base_src_default_newsegment):
16591 Correctly set stream position in newsegment.
16593 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16594 (update_degree), (gst_bin_sort_iterator_next),
16595 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16596 * gst/gstmessage.c: (gst_message_new_custom):
16597 Clean up debugging info
16599 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16600 (gst_queue_loop), (gst_queue_handle_src_query):
16603 2005-10-19 Wim Taymans <wim@fluendo.com>
16605 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16606 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16607 Fix query handling again.
16609 2005-10-19 Wim Taymans <wim@fluendo.com>
16611 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16612 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16613 * gst/base/gstbasesrc.c: (gst_base_src_query):
16614 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16615 * gst/elements/gsttypefindelement.c:
16616 (gst_type_find_handle_src_query), (find_element_get_length),
16617 (gst_type_find_element_activate):
16620 * gst/gstquery.c: (gst_query_new_position),
16621 (gst_query_set_position), (gst_query_parse_position),
16622 (gst_query_new_duration), (gst_query_set_duration),
16623 (gst_query_parse_duration), (gst_query_set_segment),
16624 (gst_query_parse_segment):
16626 Bundling query position/duration is not a good idea since duration
16627 does not change much and we don't want to recalculate it for every
16628 position query, so they are separated again..
16629 Base value in segment query is not needed.
16631 * gst/gstqueue.c: (gst_queue_handle_src_query):
16632 * gst/gstutils.c: (gst_element_query_position),
16633 (gst_element_query_duration), (gst_pad_query_position),
16634 (gst_pad_query_duration):
16636 Updates for query API change.
16637 Added some docs here and there.
16639 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16641 * check/gst/gstbin.c: (GST_START_TEST):
16642 * check/gst/gstghostpad.c: (GST_START_TEST):
16643 * check/pipelines/cleanup.c: (GST_START_TEST):
16644 wait on thread to die so we can check refcount correctly
16646 2005-10-18 Wim Taymans <wim@fluendo.com>
16648 * check/pipelines/stress.c: (GST_START_TEST):
16649 Make check a little more time consuming.
16651 2005-10-18 Wim Taymans <wim@fluendo.com>
16653 * check/Makefile.am:
16654 * check/pipelines/stress.c: (GST_START_TEST),
16655 (simple_launch_lines_suite), (main):
16656 Small state change torture test.
16658 * docs/design/part-states.txt:
16659 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16660 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16661 (gst_base_sink_change_state):
16662 Never take state lock from streaming thread, clean up ugly
16663 hacks. Unfortunatly core does not yet support nice ways to
16664 async commit state.
16666 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16668 Start state recalc if a STATE_DIRTY message is posted, but only
16669 on the toplevel bin.
16671 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16672 (gst_element_get_state_func), (gst_element_abort_state),
16673 (gst_element_commit_state), (gst_element_lost_state),
16674 (gst_element_set_state_func), (gst_element_change_state):
16675 * gst/gstelement.h:
16676 State variables are now protected with the LOCK, the state
16677 lock is only used to serialize _set_state().
16679 2005-10-18 Wim Taymans <wim@fluendo.com>
16681 * check/gst/gstbin.c: (GST_START_TEST):
16682 * check/gst/gstmessage.c: (GST_START_TEST):
16683 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16684 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16686 * gst/gstelement.c: (gst_element_abort_state),
16687 (gst_element_commit_state), (gst_element_lost_state):
16688 * gst/gstmessage.c: (gst_message_new_state_changed),
16689 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16690 (gst_message_new_segment_done), (gst_message_new_duration),
16691 (gst_message_parse_state_changed),
16692 (gst_message_parse_segment_start),
16693 (gst_message_parse_segment_done), (gst_message_parse_duration):
16694 * gst/gstmessage.h:
16695 * tools/gst-launch.c: (event_loop):
16696 Seriously, this is better than a previous commit as we only need
16697 to notify the fact that an element changed state in a streaming
16698 thread, marking the state of the parents dirty, hence the
16699 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16702 2005-10-18 Wim Taymans <wim@fluendo.com>
16704 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16705 (gst_bin_recalc_func):
16706 * gst/gstelement.c: (gst_element_set_clock),
16707 (gst_element_abort_state), (gst_element_lost_state):
16708 Cleanups, prepare for state change fixes.
16710 2005-10-18 Wim Taymans <wim@fluendo.com>
16713 * gst/gstelement.c: (gst_element_class_init),
16714 (gst_element_set_state), (gst_element_set_state_func):
16715 * gst/gstelement.h:
16716 Pending ABI changes.
16717 GThreadPool in GstBinClass to monitor async state changes.
16718 state_cookie in GstElement to detect concurrent gst/set state.
16719 set_state is now virtual too in case a very complicated element
16720 has to be constructed.
16722 2005-10-18 Wim Taymans <wim@fluendo.com>
16724 * check/gst/gstbin.c: (GST_START_TEST):
16725 * check/gst/gstmessage.c: (GST_START_TEST):
16726 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16727 * gst/gstbin.c: (bin_bus_handler):
16728 * gst/gstelement.c: (gst_element_commit_state),
16729 (gst_element_lost_state):
16730 * gst/gstmessage.c: (gst_message_new_state_changed),
16731 (gst_message_new_segment_start), (gst_message_new_segment_done),
16732 (gst_message_new_duration), (gst_message_parse_state_changed),
16733 (gst_message_parse_segment_start),
16734 (gst_message_parse_segment_done), (gst_message_parse_duration):
16735 * gst/gstmessage.h:
16736 * tools/gst-launch.c: (event_loop):
16737 Make messages future proof.
16738 state-change gets a flag if it was a message comming from the
16740 segment-start/stop can also be specified in other formats.
16741 A message to notify an app that a pipeline changed playback
16743 Also fix a GstMessage leak in -launch
16745 2005-10-18 Andy Wingo <wingo@pobox.com>
16747 * gst/gstelement.c (gst_element_dispose): More helpful message.
16749 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16751 reviewed by: <delete if not using a buddy>
16753 * common/gtk-doc.mak:
16755 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16757 * gst/gstregistry.c: (gst_registry_scan_path_level):
16758 unref a plug-in we get that was already initialized
16760 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16762 * docs/gst/gstreamer-sections.txt:
16763 * docs/libs/gstreamer-libs-sections.txt:
16764 * gst/gstelement.h:
16765 add new api entries
16766 hide internal macro
16768 2005-10-17 Andy Wingo <wingo@pobox.com>
16770 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16773 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16775 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16777 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16778 (gst_element_get_state_func): Better debug message.
16779 (gst_element_commit_state): s/INFO/DEBUG/.
16780 (gst_element_lost_state, gst_element_change_state):
16782 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16783 (gst_message_new_custom): s/INFO/LOG/.
16785 2005-10-17 Michael Smith <msmith@fluendo.com>
16787 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16788 Check if end time is valid using end time, not start time.
16790 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16792 * check/gst-libs/controller.c: (GST_START_TEST),
16793 (gst_controller_suite):
16794 * libs/gst/controller/gstcontroller.c:
16795 (gst_controlled_property_set_interpolation_mode):
16796 * libs/gst/controller/gstcontroller.h:
16797 * libs/gst/controller/gstinterpolation.c:
16798 * testsuite/controller/.cvsignore:
16799 * testsuite/controller/Makefile.am:
16800 * testsuite/controller/interpolator.c:
16801 merge controller testsuites
16803 remove mem-chunk from docs
16805 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16807 * gst/gstmemchunk.c:
16808 * gst/gstmemchunk.h:
16809 * gst/gsttrashstack.c:
16810 * gst/gsttrashstack.h:
16811 out. get out. you're fired. to the Attic !
16813 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16815 * gst/gstcaps.c: (gst_caps_intersect):
16816 fix signedness issues in a (hopefully) correct way
16817 * gst/gstelement.c: (gst_element_pads_activate):
16819 * gst/gstobject.c: (gst_object_set_parent):
16822 2005-10-17 Julien MOUTTE <julien@moutte.net>
16824 * gst/gstvalue.h: Fix prototypes.
16826 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16828 * docs/gst/gstreamer-sections.txt:
16829 * gst/gst.c: (gst_version_string):
16831 * gst/gstversion.h.in:
16832 * win32/common/libgstreamer.def:
16833 add gst_version_string ()
16835 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16839 * gst/gst.c: (init_post):
16840 * win32/common/config.h.in:
16842 * gst/gstcaps.c: (gst_caps_intersect):
16843 use gint64, the range could be bigger than a guint
16845 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16848 document potential problem in 2038
16850 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16852 * gst/gstcaps.c: (gst_caps_intersect):
16853 Fix guint j diving under 0
16855 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16858 * win32/common/config.h:
16859 * win32/common/config.h.in:
16860 check for process.h, declares getpid() on Windows
16862 include process.h if we have it
16863 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16864 * gst/gstmemchunk.h:
16865 fix signedness issues
16866 * win32/common/libgstreamer.def:
16869 2005-10-16 Julien MOUTTE <julien@moutte.net>
16871 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16872 fix. Because of unsigned ints, caps intersection was going nuts and
16873 trying to access structures with G_MAXUINT index. That fixes
16874 videotestsrc ! ffmpegcolorspace ! fakesink
16875 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16878 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16881 use the gettext macro
16882 * gst/elements/gstelements.c:
16884 * gst/indexers/gstindexers.c:
16885 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16886 * win32/common/config.h:
16888 * win32/common/config.h.in:
16889 add the template to generate config.h
16890 * win32/common/gstenumtypes.c:
16891 * win32/common/gstversion.h:
16894 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16896 * gst/gst.c: (gst_version):
16897 * gst/gstversion.h.in:
16900 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16903 Oops, add missing closing bracket.
16905 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16908 use common m4's for argument checking
16910 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16912 * docs/gst/gstreamer-sections.txt:
16914 Add GST_EVENT_TYPE_NAME() macro.
16916 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16919 * gst/gstpluginfeature.c:
16921 privatize more symbols
16923 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16926 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16927 everything that uses GStreamer API should have the includes
16929 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16931 * docs/gst/gstreamer-sections.txt:
16932 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16934 give each value a _get_type, removes the DATA exports
16936 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16940 remove _gst_registry_auto_load, not used anymore
16941 * gst/gstbin.c: (gst_bin_get_type):
16943 * gst/gstelement.c: (gst_element_get_type):
16944 * gst/gstelement.h:
16945 * gst/gstobject.c: (gst_object_get_type):
16947 * gst/gstpad.c: (gst_pad_get_type):
16949 make _get_type functions similar, fixes data export from library
16951 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16954 correctly make conditionals
16955 * gst/elements/Makefile.am:
16956 * gst/elements/gstelements.c:
16957 fix typo causing fdsrc not to build
16959 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16961 * testsuite/Makefile.am:
16962 * testsuite/bytestream/.cvsignore:
16963 * testsuite/bytestream/Makefile.am:
16964 * testsuite/bytestream/filepadsink.c:
16965 * testsuite/bytestream/gstbstest.c:
16966 * testsuite/bytestream/test1.c:
16967 * testsuite/bytestream/testfile1:
16968 * testsuite/caps/normalisation.c:
16969 * testsuite/caps/random.c: (main):
16970 * testsuite/cleanup/.cvsignore:
16971 * testsuite/cleanup/Makefile.am:
16972 * testsuite/cleanup/cleanup1.c:
16973 * testsuite/cleanup/cleanup2.c:
16974 * testsuite/cleanup/cleanup3.c:
16975 * testsuite/cleanup/cleanup4.c:
16976 * testsuite/cleanup/cleanup5.c:
16977 * testsuite/controller/interpolator.c:
16978 * testsuite/debug/printf_extension.c: (main):
16979 * testsuite/elements/tee.c:
16980 * testsuite/negotiation/.cvsignore:
16981 * testsuite/negotiation/Makefile.am:
16982 * testsuite/negotiation/pad_link.c:
16983 * testsuite/pad/Makefile.am:
16984 * testsuite/pad/chainnopull.c:
16985 * testsuite/pad/getnopush.c:
16986 * testsuite/pad/link.c:
16987 * testsuite/refcounting/sched.c: (create_pipeline):
16988 * testsuite/registry/Makefile.am:
16989 * testsuite/registry/gst-print-formats.c:
16990 * testsuite/schedulers/.cvsignore:
16991 * testsuite/schedulers/142183-2.c:
16992 * testsuite/schedulers/142183.c:
16993 * testsuite/schedulers/143777-2.c:
16994 * testsuite/schedulers/143777.c:
16995 * testsuite/schedulers/147713.c:
16996 * testsuite/schedulers/147819.c:
16997 * testsuite/schedulers/147894-2.c:
16998 * testsuite/schedulers/147894.c:
16999 * testsuite/schedulers/Makefile.am:
17000 * testsuite/schedulers/group_link.c:
17001 * testsuite/schedulers/queue_link.c:
17002 * testsuite/schedulers/relink.c:
17003 * testsuite/schedulers/unlink.c:
17004 * testsuite/schedulers/unref.c:
17005 * testsuite/schedulers/useless_iteration.c:
17006 * testsuite/states/bin.c:
17007 clean out/remove some stuff from the testsuite directories
17009 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17012 check for some headers
17013 * gst/elements/Makefile.am:
17014 * gst/elements/gstelements.c:
17015 don't compile fdsrc without sys/socket.h
17016 * gst/indexers/Makefile.am:
17017 * gst/indexers/gstindexers.c: (plugin_init):
17018 don't compile fileindex without mmap
17020 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17027 * check/Makefile.am:
17028 * docs/gst/Makefile.am:
17029 * examples/helloworld/Makefile.am:
17031 * gst/base/Makefile.am:
17032 * gst/check/Makefile.am:
17033 * gst/elements/Makefile.am:
17034 * gst/indexers/Makefile.am:
17035 * gst/parse/Makefile.am:
17036 * libs/gst/controller/Makefile.am:
17037 * libs/gst/dataprotocol/Makefile.am:
17038 * examples/helloworld/helloworld.c: (event_loop):
17039 compile fixes, though it's not being compiled currently
17041 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17043 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17044 Add some simple tests for the new taglist date API.
17046 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17048 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17049 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17050 Beautify 'last-message' output: print 'none' for buffer timestamps
17051 and durations if none is set; improve alignment with next messages.
17053 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17055 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17056 * gst/gstpluginfeature.h:
17057 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17058 * gst/gstregistry.h:
17059 * docs/gst/gstreamer-sections.txt:
17060 Add new API to check plugin feature version requirements.
17062 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17063 Some basic tests for the above.
17065 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17067 * gst/gststructure.c: (gst_structure_to_string):
17068 guard against NULL printf - happens when for example
17069 a message structure with GstClock gets serialized
17071 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17073 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17074 Fix presumable copy'n'pasto.
17076 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17078 * gst/elements/gstfakesrc.h:
17079 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17080 * gst/elements/gsttypefindelement.c:
17081 fix some signedness
17082 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17083 I wonder if this could actually write +2GB files before
17085 2005-10-13 Andy Wingo <wingo@pobox.com>
17087 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17088 Fix Timmeke Waymans bug.
17089 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17090 string of the proper length to gst_caps_from_string. There's a
17091 potential for, before this fix, that this could cause someone
17092 connecting over the network to cause a segfault if the payload is
17093 not NUL-terminated.
17095 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17097 * docs/design/draft-push-pull.txt:
17098 * docs/design/part-overview.txt:
17099 * docs/random/TODO-pre-0.9:
17100 * docs/random/old/ChangeLog.gstreamer:
17101 * gst/base/gstpushsrc.c:
17105 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17107 * gst/glib-compat.c: (gst_flags_get_first_value):
17108 * gst/glib-compat.h:
17109 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17110 (gst_value_compare_double), (gst_value_serialize_flags):
17111 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17114 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17116 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17117 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17119 * tools/gst-launch.c: (event_loop):
17120 print out clock nicely
17122 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17124 * docs/gst/gstreamer-sections.txt:
17125 * gst/gsttaglist.h:
17126 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17127 (gst_tag_list_get_date_index):
17128 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17129 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17131 2005-10-13 Julien MOUTTE <julien@moutte.net>
17133 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17134 (gst_collectpads_chain):
17135 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17138 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17140 * docs/gst/gstreamer-sections.txt:
17143 * tools/gst-inspect.c: (main):
17144 * tools/gst-launch.c: (main):
17145 * tools/gst-run.c: (main):
17146 * tools/gst-xmlinspect.c: (main):
17147 fix GOption context leaks
17150 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17154 * win32/common/config.h:
17156 * win32/vs6/grammar.dsp:
17157 * win32/vs6/libgstelements.dsp:
17158 * win32/vs6/libgstreamer.dsp:
17161 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17164 * gst/base/gstbasesrc.c: (gst_base_src_query):
17165 fix more guint64<->gdouble conversions
17167 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17170 add win32-update target
17171 * win32/common/gstconfig.h:
17172 * win32/common/gstenumtypes.c:
17173 * win32/common/gstenumtypes.h:
17174 * win32/common/gstversion.h:
17175 add files that visual studio can't generate
17177 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17180 add a win32-update target
17183 2005-10-12 Wim Taymans <wim@fluendo.com>
17185 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17186 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17187 * gst/gstelement.c: (gst_element_commit_state),
17188 (gst_element_set_state):
17189 Protect flags with proper lock.
17190 unref provided cached clock in dispose.
17192 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17195 * gst/gstminiobject.h:
17197 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17198 removed unused flags from miniobject
17201 2005-10-12 Wim Taymans <wim@fluendo.com>
17203 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17204 (gst_file_sink_event), (gst_file_sink_render):
17205 Flush before seeking.
17207 2005-10-12 Andy Wingo <wingo@pobox.com>
17209 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17210 always been the case.
17212 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17214 * check/gst/gstbin.c: (GST_START_TEST):
17215 * docs/gst/gstreamer-sections.txt:
17216 * gst/base/gstbasesink.c: (gst_base_sink_init):
17217 * gst/base/gstbasesrc.c: (gst_base_src_init),
17218 (gst_base_src_get_range), (gst_base_src_check_get_range),
17219 (gst_base_src_start), (gst_base_src_stop):
17220 * gst/base/gstbasesrc.h:
17221 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17222 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17223 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17227 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17229 * gst/gstelement.c: (gst_element_is_locked_state),
17230 (gst_element_set_locked_state), (gst_element_commit_state),
17231 (gst_element_set_state):
17232 * gst/gstelement.h:
17233 * gst/gstindex.c: (gst_index_init):
17235 * gst/gstminiobject.h:
17236 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17237 (gst_object_set_parent):
17239 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17240 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17242 * gst/gstpadtemplate.h:
17243 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17244 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17245 * gst/gstpipeline.h:
17246 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17247 (gst_file_index_commit):
17248 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17249 * testsuite/pad/link.c: (gst_test_src_init),
17250 (gst_test_filter_init), (gst_test_sink_init):
17251 * testsuite/states/locked.c: (main):
17252 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17253 moved bitshift from macro to enum definition
17255 2005-10-12 Wim Taymans <wim@fluendo.com>
17257 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17258 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17259 (gst_file_sink_render):
17260 Some more debugging info.
17262 2005-10-12 Wim Taymans <wim@fluendo.com>
17264 * docs/design/part-states.txt:
17265 * tools/gst-launch.c: (main):
17267 Revert non-intentional change.
17269 2005-10-12 Wim Taymans <wim@fluendo.com>
17271 * check/gst/gstbin.c: (GST_START_TEST):
17272 * check/gst/gstelement.c: (GST_START_TEST):
17273 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17274 * check/gst/gstghostpad.c: (GST_START_TEST):
17275 * check/gst/gstpipeline.c: (GST_START_TEST):
17276 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17277 * check/states/sinks.c: (GST_START_TEST):
17278 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17279 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17280 (gst_bin_remove_func), (gst_bin_get_state_func),
17281 (gst_bin_recalc_state), (gst_bin_change_state_func),
17283 * gst/gstelement.c: (gst_element_get_state_func),
17284 (gst_element_get_state), (gst_element_abort_state),
17285 (gst_element_commit_state), (gst_element_set_state),
17286 (gst_element_change_state), (gst_element_change_state_func):
17287 * gst/gstelement.h:
17288 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17289 (gst_pipeline_provide_clock_func):
17290 * gst/gstutils.c: (gst_element_link_pads_filtered):
17291 * tools/gst-launch.c: (main):
17292 * tools/gst-typefind.c: (main):
17293 Use GstClockTime in _get_state() instead of GTimeVal.
17294 Remove old code in gstutils.c
17296 2005-10-12 Andy Wingo <wingo@pobox.com>
17298 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17301 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17302 there is no task. Shouldn't affect any code, as nothing in our
17303 plugins checks this return value.
17304 (gst_pad_stop_task): Also take the stream lock if the pad has no
17305 task. Docs updated.
17307 2005-10-12 Wim Taymans <wim@fluendo.com>
17309 * gst/gstpad.c: (pre_activate), (post_activate),
17310 (gst_pad_activate_pull), (gst_pad_activate_push):
17311 Cleanup activation code. Reset old state if
17314 2005-10-12 Wim Taymans <wim@fluendo.com>
17316 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17317 (gst_base_sink_change_state):
17318 No need to prerol after receiving EOS.
17320 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17321 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17322 * gst/elements/gstidentity.c: (gst_identity_event):
17323 Print events more verbosely.
17325 2005-10-12 Wim Taymans <wim@fluendo.com>
17327 * check/Makefile.am:
17328 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17329 * check/states/sinks2.c:
17330 Moved sinks2 testcode in sinks check.
17332 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17333 (gst_bin_remove_func), (gst_bin_recalc_state),
17334 (gst_bin_change_state_func), (bin_bus_handler):
17335 Fix potential race condition when _get_state() iterated over an
17336 ASYNC element right before it posted a state completion.
17339 Do proper cast here.
17341 * gst/gstevent.c: (gst_event_new_newsegment),
17342 (gst_event_parse_newsegment):
17343 A playback rate of 0.0 is not allowed.
17345 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17347 * win32/common/config.h:
17348 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17349 (_trewinddir), (_ttelldir), (_tseekdir):
17350 * win32/common/dirent.h:
17351 * win32/common/gtchar.h:
17352 * win32/common/libgstbase.def:
17353 * win32/common/libgstreamer.def:
17354 * win32/vs6/grammar.dsp:
17355 * win32/vs6/gst_inspect.dsp:
17356 * win32/vs6/gst_launch.dsp:
17357 * win32/vs6/gstreamer.dsw:
17358 * win32/vs6/libgstbase.dsp:
17359 * win32/vs6/libgstelements.dsp:
17360 * win32/vs6/libgstreamer.dsp:
17361 Visual Studio 6 project files, and a new common directory.
17364 2005-10-11 Wim Taymans <wim@fluendo.com>
17366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17367 (gst_base_sink_do_sync), (gst_base_sink_query),
17368 (gst_base_sink_change_state):
17369 * gst/base/gstbasesink.h:
17370 Correctly parse newsegment info.
17372 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17374 * gst/gst.c: (init_post):
17375 split plugin paths correctly
17377 2005-10-11 Wim Taymans <wim@fluendo.com>
17379 * check/gst/gstevent.c: (GST_START_TEST):
17380 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17381 (gst_base_sink_change_state):
17382 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17383 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17384 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17385 * gst/gstevent.c: (gst_event_new_newsegment),
17386 (gst_event_parse_newsegment):
17388 Added extra flag to newsegment for future API freeze.
17389 Updated check and base elements.
17391 2005-10-11 Julien MOUTTE <julien@moutte.net>
17393 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17394 (gst_collectpads_add_pad), (gst_collectpads_pop),
17395 (gst_collectpads_event), (gst_collectpads_chain):
17396 * gst/base/gstcollectpads.h: Handle EOS correctly.
17398 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17400 * tools/gst-launch.c: (main):
17401 more null protecting
17403 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17405 * gst/gst-i18n-lib.h:
17406 check for ENABLE_NLS, not GETTEXT_PACKAGE
17407 * gst/gstregistry.c: (gst_registry_add_plugin),
17408 (gst_registry_scan_path_level),
17409 (_gst_registry_remove_cache_plugins):
17410 protect possibly NULL strings
17411 * gst/parse/types.h:
17412 config.h already included before
17413 * tools/gst-inspect.c: (main):
17414 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17415 check for ENABLE_NLS, not GETTEXT_PACKAGE
17416 * tools/gst-launch.c: (main):
17417 check for ENABLE_NLS, not GETTEXT_PACKAGE
17419 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17422 if we don't have glib, fail before testing 2.8
17423 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17424 fix a leak, should fix plugins-base testsuite
17426 2005-10-11 Andy Wingo <wingo@pobox.com>
17428 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17429 take the mode we're going to as an arg. Go head and set the mode
17430 and flushing flags now, so that if the activate function starts a
17431 thread all the flags will be in the right state.
17432 (post_activate): Renamed also. Just handle making sure streaming
17433 finishes for the deactivation case, and setting the deactivated
17435 (gst_pad_set_active): Complain loudly if deactivation fails.
17436 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17437 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17438 remove the terrible hack.
17440 2005-10-11 Wim Taymans <wim@fluendo.com>
17442 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17443 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17444 (gst_bin_recalc_state), (gst_bin_change_state_func),
17445 (gst_bin_dispose), (bin_bus_handler):
17447 Prepare to make current EOS message queue more generic.
17450 * gst/gstevent.c: (gst_event_new_newsegment),
17451 (gst_event_parse_newsegment):
17453 Rename base to stream_time.
17455 * gst/gstmessage.h:
17458 2005-10-11 Wim Taymans <wim@fluendo.com>
17460 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17461 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17462 (gst_bin_change_state_func), (bin_bus_handler):
17464 Work on proper clock selection.
17466 2005-10-11 Edward Hervey <edward@fluendo.com>
17468 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17469 * libs/gst/controller/gstcontroller.h:
17470 Added GList* version of _remove_properties() in order to be able to wrap
17473 2005-10-11 Wim Taymans <wim@fluendo.com>
17475 * docs/design/part-states.txt:
17478 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17479 (gst_bin_change_state_func), (bin_bus_handler):
17480 Doc updates. Don't distribute the same clock over and over again.
17486 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17487 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17488 (gst_pad_send_event):
17490 Make probe emission threadsafe again.
17491 Register quarks and move _get_name() from utils.
17494 * gst/gstpipeline.c: (gst_pipeline_class_init),
17495 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17496 Only redistribute the clock of it changed.
17498 * gst/gstsystemclock.h:
17503 Moved the _flow_get_name() to GstPad.
17505 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17507 * check/gst-libs/gdp.c: (GST_START_TEST):
17508 * check/gst/gstcaps.c: (GST_START_TEST):
17509 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17510 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17511 (gst_dp_packet_from_caps):
17512 fix more valgrind warnings before turning up the heat
17514 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17516 * gst/parse/grammar.y:
17517 some cleanup before the hacking
17519 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17521 * gst/base/gstbasesrc.c: (gst_base_src_query):
17523 * gst/gstutils.c: (gst_guint64_to_gdouble),
17524 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17526 externalize, basesrc uses it
17527 obviously the implementation needs testing
17529 2005-10-10 Wim Taymans <wim@fluendo.com>
17531 * tests/sched/Makefile.am:
17532 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17533 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17535 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17537 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17538 apparently converting from guint64 to double is not implemented
17541 2005-10-10 Wim Taymans <wim@fluendo.com>
17543 * check/Makefile.am:
17544 * check/generic/states.c: (GST_START_TEST):
17545 * check/gst/gstbin.c: (GST_START_TEST):
17546 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17547 * check/states/sinks.c: (GST_START_TEST):
17548 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17550 Check fixes, use API as stated in design docs, remove hacks.
17552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17553 (gst_base_sink_change_state):
17554 Catch stopping our task while we're shutting down.
17556 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17557 (gst_bin_remove_func), (gst_bin_get_state_func),
17558 (gst_bin_recalc_state), (gst_bin_change_state_func),
17561 * gst/gstelement.c: (gst_element_init),
17562 (gst_element_get_state_func), (gst_element_abort_state),
17563 (gst_element_commit_state), (gst_element_lost_state),
17564 (gst_element_set_state), (gst_element_change_state),
17565 (gst_element_change_state_func):
17566 * gst/gstelement.h:
17567 New state change algorithm (see #318116)
17569 * gst/gstpipeline.c: (gst_pipeline_class_init),
17570 (gst_pipeline_init), (gst_pipeline_set_property),
17571 (gst_pipeline_get_property), (do_pipeline_seek),
17572 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17573 * gst/gstpipeline.h:
17574 Remove crude state change hacks.
17577 Remove crude hacks.
17579 * tools/gst-launch.c: (main):
17580 Fixes for state change. Needs some more work to fully use the
17583 2005-10-10 Andy Wingo <wingo@pobox.com>
17585 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17587 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17588 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17591 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17593 * gst/gstiterator.c: (gst_iterator_new):
17594 Fix my previous commit: GTypes passed to gst_iterator_new()
17595 can be fundamental types.
17597 2005-10-10 Wim Taymans <wim@fluendo.com>
17599 * gst/gstelement.c: (gst_element_iterate_pad_list),
17600 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17601 (gst_element_iterate_sink_pads):
17602 Use src/sink pads lists for the respective iterators instead
17605 2005-10-10 Andy Wingo <wingo@pobox.com>
17607 Merged in popt removal + GOption addition patch from Ronald, bug
17610 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17611 GstElement macros around, remove popt-related symbols, add goption
17614 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17616 * docs/gst/Makefile.am:
17617 * docs/libs/Makefile.am: No POPT_CFLAGS.
17619 * examples/manual/Makefile.am:
17620 * docs/manual/basics-init.xml: Doc updates with an example.
17622 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17623 (gst_init), (parse_one_option), (parse_goption_arg):
17624 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17625 bit of hand merging and debugging to get the GOption stuff working
17628 * tests/Makefile.am:
17629 * tools/Makefile.am:
17630 * tools/gst-inspect.c: (main):
17631 * tools/gst-launch.c: (main):
17632 * tools/gst-run.c: (main):
17633 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17635 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17637 * gst/gstiterator.c: (gst_iterator_new):
17638 Add assertions to make sure passed GType is likely to really
17639 be a GType (as the compiler won't catch it if the size and
17640 GType arguments get mixed up, see #318447).
17642 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17644 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17646 * gst/gstbin.c: (gst_bin_iterate_sorted):
17647 Pass GType and size arguments to gst_iterator_new() in the right
17648 order (maybe we should make _new() take the GType as first argument
17649 just like _new_list()?) (#318447).
17652 2005-10-10 Wim Taymans <wim@fluendo.com>
17654 * gst/gstelement.c: (gst_element_finalize):
17655 And free the GStaticRecMutex too
17657 2005-10-10 Andy Wingo <wingo@pobox.com>
17659 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17660 Allocate and free the mutex properly.
17662 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17664 (GstElement): The state_lock is now recursive. Rebuild your
17665 plugins, suckers. Old macros adapted.
17667 * docs/gst/gstreamer-sections.txt: Doc updates.
17670 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17671 (g_static_rec_cond_wait): Ported from state changes patch, while
17672 we wait on bug #317802 to be solved in a well-distributed GLib.
17674 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17675 gst_element_change_state, variable name changes.
17676 (gst_element_change_state): Split out of gst_element_set_state in
17677 preparation for the state change merge. Doesn't pay attention to
17678 the 'transition' argument.
17679 (gst_element_set_state): Updates, hopefully purely cosmetic.
17680 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17681 state change patch.
17682 (gst_element_get_state_func): Renamed from get_state, cosmetic
17685 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17687 * gst/elements/gstelements.c:
17688 * win32/GStreamer.vcproj:
17690 * win32/dirent.c: (_tseekdir):
17691 * win32/gst-inspect.vcproj:
17692 * win32/gst-launch.vcproj:
17693 * win32/gstconfig.h:
17694 * win32/gstelements.vcproj:
17695 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17696 * win32/gstreamer.def:
17697 * win32/msvc71.sln:
17698 updates for the win32 build (patch from Sebastien Moutte)
17700 2005-10-10 Andy Wingo <wingo@pobox.com>
17702 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17703 gst_bin_get_state, cleaned up (but no logic changes).
17704 (bin_element_is_sink): Comment updates.
17705 (sink_iterator_filter): Remove needless cast.
17706 (gst_bin_iterate_sinks): Doc update.
17707 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17708 cleaned up (but no logic changes).
17710 * check/states/sinks.c (test_src_sink): Cleanups from the state
17712 (test_livesrc_sink): Sync on the state.
17714 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17715 the state change patch.
17717 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17720 * check/gst/gstbin.c: Merge in some style fixes and additional
17721 checks from Wim's state change patch.
17723 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17725 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17726 (gst_type_find_helper):
17727 Check whether we have the requested data already in our list of
17728 cached buffers before pulling a new buffer; also make the buffer
17729 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17731 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17736 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17737 don't use long long, it's not portable. Replacing with
17738 gint64 seems to work; let's hope no skeletons fall out of the closet.
17740 2005-10-10 Andy Wingo <wingo@pobox.com>
17742 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17744 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17746 * docs/gst/gstreamer-sections.txt:
17751 * gst/gstmessage.c: (gst_message_parse_state_changed):
17754 more docs, fix compilation
17756 2005-10-09 Philippe Khalaf <burger@speedy.org>
17757 * gst/gstmessage.c:
17758 Fixed a few forgotten variables on previous commit
17760 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17762 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17763 Fix evil typefind crasher: getrange() might return a short
17764 buffer at the end of a file, but gst_type_find_peek() must
17765 either return the full data as requested or NULL, but
17766 never a short buffer.
17768 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17770 * gst/gstmessage.c: (gst_message_new_state_changed),
17771 (gst_message_parse_state_changed):
17772 * gst/gstmessage.h:
17773 don't use "new", it's a C++ keyword
17775 2005-10-08 Wim Taymans <wim@fluendo.com>
17777 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17778 * gst/gstelement.c: (gst_element_post_message):
17779 * gst/gstpipeline.c: (gst_pipeline_change_state):
17780 Small docs and debug updates.
17782 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17784 * docs/gst/gstreamer-sections.txt:
17785 * gst/gstelementfactory.c:
17787 * gst/gsttaglist.c:
17790 2005-10-08 Wim Taymans <wim@fluendo.com>
17792 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17793 (gst_bin_dispose), (bin_bus_handler):
17794 Fix typos, add comments.
17795 Clear EOS list when going to PAUSED from any direction and do it
17796 in a threadsafe way.
17797 Get base time in a threadsafe way too.
17798 Fix confusing debug in the change_state function.
17799 Various other small cleanups.
17801 * gst/gstelement.c: (gst_element_post_message):
17802 Fix very verbose bus posting code.
17804 * gst/gstpipeline.c: (gst_pipeline_class_init),
17805 (gst_pipeline_set_property), (gst_pipeline_get_property),
17806 (gst_pipeline_change_state):
17807 Small ARG_ -> PROP_ cleanup
17809 2005-10-08 Wim Taymans <wim@fluendo.com>
17811 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17812 Do a less CPU demanding EOS check because we can.
17814 2005-10-08 Wim Taymans <wim@fluendo.com>
17816 * libs/gst/dataprotocol/dataprotocol.c:
17817 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17818 (gst_dp_packet_from_event):
17819 * libs/gst/dataprotocol/dataprotocol.h:
17820 * libs/gst/dataprotocol/dp-private.h:
17821 It's about time we bump the version number.
17822 Since event types don't fit in the guint8 anymore describing
17823 the payload type, make payload type 16 bits wide.
17825 2005-10-08 Wim Taymans <wim@fluendo.com>
17827 * docs/design/part-TODO.txt:
17828 * docs/design/part-clocks.txt:
17829 * docs/design/part-events.txt:
17830 * docs/design/part-gstbin.txt:
17831 * docs/design/part-gstelement.txt:
17832 * docs/design/part-gstpipeline.txt:
17833 * docs/design/part-live-source.txt:
17834 * docs/design/part-messages.txt:
17835 * docs/design/part-overview.txt:
17836 * docs/design/part-states.txt:
17839 2005-10-08 Wim Taymans <wim@fluendo.com>
17843 Fix event quark registration.
17844 Add some space between events so we can insert them in the
17847 2005-10-08 Wim Taymans <wim@fluendo.com>
17849 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17850 (gst_base_sink_handle_buffer):
17851 Better log message.
17854 * gst/gstelement.h:
17857 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17858 (gst_queue_set_property), (gst_queue_get_property):
17860 Remove old unused properties.
17862 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17863 * docs/gst/gstreamer-sections.txt:
17864 * gst/gstmessage.c:
17865 * gst/gstmessage.h:
17866 * gst/gstminiobject.c:
17867 * gst/gstminiobject.h:
17871 lots of new docs and doc fixes
17873 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17875 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17877 * gst/gstregistry.c: (gst_registry_lookup_locked),
17878 (gst_registry_scan_path_level):
17879 * gst/gstregistryxml.c: (load_plugin):
17880 Only ever load one plugin for a given plugin basename.
17881 This ensures correct overriding of GST_PLUGIN_PATH over
17882 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17883 system installed plugins.
17885 2005-10-08 Wim Taymans <wim@fluendo.com>
17887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17888 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17889 Prepare for doing QOS.
17891 2005-10-08 Wim Taymans <wim@fluendo.com>
17893 * check/gst/gstbin.c: (GST_START_TEST):
17894 * check/pipelines/cleanup.c: (GST_START_TEST):
17895 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17896 Allow new clock message too.
17898 2005-10-08 Wim Taymans <wim@fluendo.com>
17900 * gst/gstmessage.c: (gst_message_new_error),
17901 (gst_message_new_warning), (gst_message_new_tag),
17902 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17903 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17904 (gst_message_new_segment_start), (gst_message_new_segment_done),
17905 (gst_message_parse_state_changed),
17906 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17907 (gst_message_parse_new_clock):
17908 * gst/gstmessage.h:
17909 Also carry the clock in question.
17911 2005-10-08 Wim Taymans <wim@fluendo.com>
17913 * gst/gstmessage.c: (gst_message_new_custom),
17914 (gst_message_new_eos), (gst_message_new_error),
17915 (gst_message_new_warning), (gst_message_new_tag),
17916 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17917 (gst_message_new_new_clock), (gst_message_new_segment_start),
17918 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17919 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17920 * gst/gstmessage.h:
17922 Added clock related messages.
17924 * gst/gstpipeline.c: (gst_pipeline_change_state):
17925 Post message when the clock changed.
17927 * tools/gst-launch.c: (event_loop):
17930 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17932 * tools/gst-inspect.c: (print_element_properties_info):
17933 Can't pass NULL strings to g_print() on windows.
17935 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17937 * docs/Makefile.am:
17938 * docs/gst/Makefile.am:
17939 * docs/gst/gstreamer-docs.sgml:
17940 * docs/gst/running.xml:
17941 * docs/version.entities.in:
17942 add a chapter on running GStreamer.
17943 document GST_DEBUG and GST_PLUGIN* env vars
17945 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17950 remove PLUGINS_BUILDDIR stuff
17951 * gst/gst.c: (init_post):
17952 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17954 remove, it was condescending and not needed
17956 2005-10-08 Wim Taymans <wim@fluendo.com>
17958 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17959 (gst_base_sink_handle_object), (gst_base_sink_event),
17960 (gst_base_sink_wait), (gst_base_sink_handle_event),
17961 (gst_base_sink_change_state):
17962 * gst/base/gstbasesink.h:
17963 Repost EOS message while going to PLAYING if still EOS.
17964 Make sure that when receiving a FLUSH_START we don't attempt
17965 to sync on the clock anymore.
17967 2005-10-08 Wim Taymans <wim@fluendo.com>
17969 * tools/gst-launch.c: (event_loop):
17970 Better message printout.
17972 2005-10-08 Wim Taymans <wim@fluendo.com>
17974 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17975 (gst_bin_child_proxy_get_children_count):
17976 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17977 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17978 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17979 (gst_child_proxy_set_valist):
17980 * gst/parse/grammar.y:
17981 Make ChildProxy threadsafe and fix mem leaks.
17983 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17985 * gst/gst.c: (init_post):
17986 debug the GST_PLUGIN_ env vars
17988 2005-10-08 Wim Taymans <wim@fluendo.com>
17990 * check/gst/gstbin.c: (GST_START_TEST):
17991 * check/gst/gstmessage.c: (GST_START_TEST):
17992 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17993 * gst/gstelement.c: (gst_element_commit_state),
17994 (gst_element_lost_state):
17995 * gst/gstmessage.c: (gst_message_new_state_changed),
17996 (gst_message_parse_state_changed):
17997 * gst/gstmessage.h:
17998 * tools/gst-launch.c: (event_loop):
17999 Added extra field to STATE_CHANGE message with the pending
18000 state, which will be different from the new state soon.
18002 2005-10-08 Wim Taymans <wim@fluendo.com>
18004 * gst/gstbus.c: (gst_bus_pop):
18006 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18007 Small cleanups and doc updates.
18009 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18011 * gst/gst.c: (init_pre):
18012 * gst/gstbin.c: (gst_bin_add_func):
18013 log distributing clocks and base time
18014 * gst/gstregistry.c: (gst_registry_add_plugin),
18015 (gst_registry_scan_path_level), (gst_registry_scan_path):
18016 clean up the debugging output a little
18017 * gst/gstutils.c: (gst_element_state_get_name):
18018 warn about a memleak (I've actually seen this be used, though
18019 it was probably a bug)
18021 2005-10-07 Wim Taymans <wim@fluendo.com>
18023 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18024 (gst_base_src_init), (gst_base_src_default_newsegment),
18025 (gst_base_src_newsegment), (gst_base_src_do_seek),
18026 (gst_base_src_loop), (gst_base_src_start):
18027 * gst/base/gstbasesrc.h:
18028 Make the newsegment event customizable by subclasses.
18030 2005-10-07 Wim Taymans <wim@fluendo.com>
18032 * gst/gstevent.c: (gst_event_new_buffersize),
18033 (gst_event_parse_buffersize):
18035 New event for future idea.
18037 2005-10-07 Andy Wingo <wingo@pobox.com>
18039 * gst/gstelement.c (gst_element_post_message): Doc update.
18041 * docs/gst/gstreamer-sections.txt: Update.
18043 * gst/gstmessage.c (gst_message_new_application): Made into a
18044 function like honest API calls.
18045 (gst_message_new_element): New message type.
18047 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18049 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18050 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18053 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18054 NO_PREROLL from gst_element_change_state to fall through.
18056 2005-10-07 Wim Taymans <wim@fluendo.com>
18058 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18059 (gst_ghost_pad_do_activate_push):
18060 Activating a ghostpad with no internal pad in push mode
18063 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18066 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18067 Fixes compilation on Windows.
18069 2005-10-07 Michael Smith <msmith@fluendo.com>
18071 * tools/gst-inspect.c:
18072 Print out feature and plugin count at the end when printing out
18075 2005-10-04 Michael Smith <msmith@fluendo.com>
18077 * gst/gsterror.c: (_gst_stream_errors_init):
18078 Add another error string used in a few existing plugins.
18081 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18082 * tools/gst-inspect.c: (print_element_info):
18083 When a feature disappears from a plugin (and the feature exists in
18084 the cached registry file), things went horribly wrong. This isn't a
18085 complete fix, we should actually be removing the 'missing' features
18086 from the features list when we load the actual plugin. That's not
18089 2005-10-04 Johan Dahlin <johan@gnome.org>
18091 * check/gst/gstiterator.c: (GST_START_TEST):
18092 * gst/gstbin.c: (gst_bin_iterate_elements),
18093 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18094 * gst/gstelement.c: (gst_element_iterate_pads):
18095 * gst/gstformat.c: (gst_format_iterate_definitions):
18096 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18097 (gst_iterator_new_list), (gst_iterator_filter):
18098 * gst/gstiterator.h:
18099 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18100 Add a GType to GstIterator, update callsites and tests.
18102 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18104 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18105 give events a chance to be handled by event probes when the pad
18108 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18110 * gst/gstevent.c: (gst_event_type_get_name),
18111 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18113 add string representations for event types
18115 2005-10-06 Wim Taymans <wim@fluendo.com>
18117 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18118 Don't use NULL pointers.
18120 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18122 * gst/gst_private.h:
18124 * gst/gstelement.c:
18126 * gst/gstpluginfeature.c:
18127 widen the debug category in output to fit the biggest one we have
18128 add a bus category and use it
18129 play with the colors
18130 fix up some categories
18132 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18134 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18135 add push activation of sink ghost pads.
18136 Andye, please verify
18138 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18140 * gst/gstutils.c: (gst_element_link_pads):
18141 fix a bug in the case where neither element has a pad
18142 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18143 add a test for that case
18145 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18147 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18148 emit have-data before checking for peers. This allows
18149 for probe handlers to connect elements. This helps autopluggers.
18150 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18152 add six checks, linked/unlinked with no/true/false probe
18154 2005-10-04 Wim Taymans <wim@fluendo.com>
18156 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18157 (gst_fake_sink_event), (gst_fake_sink_preroll),
18158 (gst_fake_sink_render), (gst_fake_sink_change_state):
18159 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18160 (gst_fake_src_get_property), (gst_fake_src_create),
18161 (gst_fake_src_stop):
18162 * gst/elements/gstidentity.c: (gst_identity_stop):
18163 Protect last_message with lock.
18165 2005-10-04 Edward Hervey <edward@fluendo.com>
18168 Added precision in the comments for GST_FORMAT_DEFAULT
18170 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18172 * tools/gst-launch.c: (main):
18173 Don't try to run erroneous pipelines.
18175 2005-10-04 Julien MOUTTE <julien@moutte.net>
18177 * gst/gstbus.c: We don't need this header.
18179 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18182 back to development
18184 === release 0.9.3 ===
18186 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18190 Releasing 0.9.3, "Unregistered"
18192 2005-10-03 Andy Wingo <wingo@pobox.com>
18194 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18195 whereby calling a pad's activatepush() function can start a thread
18196 that starts to push or pull before the pad gets the FLUSHING flag
18197 unset. Hack around it by holding the stream lock until the flag is
18198 set. Need to replace this with a proper solution. Together with
18199 the ghost pad fixes, this fixes mp3 playing/tagreading.
18201 * docs/design/part-gstghostpad.txt: Add a note about activation of
18202 proxy pads outside of ghost pads.
18204 * gst/gstghostpad.c: Implement the ghost pad activation design.
18206 2005-10-02 Andy Wingo <wingo@pobox.com>
18208 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18209 It is volatile, after all.
18211 * docs/design/part-gstghostpad.txt: Flesh out activation with
18214 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18217 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18220 Fix (unused) AM_CONDITIONAL tests.
18222 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18224 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18226 * gst/gstutils.c: (gst_pad_query_convert):
18227 Add assertion that makes sure src_val is >=0, just like
18228 gst_query_new_convert() has. (#315895)
18230 2005-09-30 Edward Hervey <edward@fluendo.com>
18232 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18233 Let's not iterate pads we're not interested in, it avoids getting
18234 sky-high refcounts on sinkpad.
18236 2005-09-30 Wim Taymans <wim@fluendo.com>
18238 * gst/gstelement.c: (gst_element_set_state),
18239 (gst_element_change_state):
18240 Small tweak, element in ASYNC remains ASYNC.
18242 2005-09-30 Wim Taymans <wim@fluendo.com>
18244 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18245 Only error is an error.
18247 * gst/gstbin.c: (gst_bin_change_state):
18250 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18251 Also call pad_block in pad alloc.
18253 * gst/gstutils.c: (gst_flow_get_name):
18256 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18258 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18259 (gst_base_src_get_range):
18260 Fix documentation typos. Add some more debug info.
18262 2005-09-29 David Schleef <ds@schleef.org>
18264 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18265 more end-user friendly.
18266 * tools/gst-inspect.c: (main): Check if command-line argument is
18267 a file and attempt to load that file as a plugin.
18269 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18271 * check/gst/gstbin.c:
18272 * check/states/sinks.c:
18273 fix tests for the new warning
18274 * check/gst/gstpipeline.c:
18275 add a test for pipeline and bus interaction
18276 * gst/gstelement.c:
18277 elements should be NULL if they get disposed; add a warning if not
18279 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18282 for 2.6 refcounting, make debug log more correct by printing
18283 the actual refcounts at the time of swap (Wim)
18285 2005-09-29 Andy Wingo <wingo@pobox.com>
18287 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18288 removes signal watches previously added via
18289 gst_bus_add_signal_watch.
18290 (gst_bus_add_signal_watch): Don't return the source id, just store
18291 it on the bus if there wasn't an id already.
18293 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18294 add_signal_watch and remove_signal_watch.
18296 2005-09-29 Edward Hervey <edward@fluendo.com>
18298 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18299 Better if we actually iterate the list :)
18301 2005-09-29 Wim Taymans <wim@fluendo.com>
18303 * check/gst/gstbin.c: (GST_START_TEST):
18304 Change for new bus API.
18306 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18307 (send_messages), (GST_START_TEST), (gstbus_suite):
18308 Change for new bus signal API.
18310 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18311 (gst_bus_source_prepare), (gst_bus_source_check),
18312 (gst_bus_create_watch), (gst_bus_add_watch_full),
18313 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18314 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18316 Remove support for multiple GSources operating on different
18317 message types as it is too complex and unneeded when using
18319 Added support for receiving signals from the bus.
18321 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18323 * docs/libs/tmpl/gstdataprotocol.sgml:
18324 * docs/manual/advanced-dataaccess.xml:
18325 * gst/elements/gstcapsfilter.c:
18327 rename filter-caps to caps property
18329 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18331 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18332 More robust fraction string parsing.
18334 * docs/pwg/appendix-porting.xml:
18335 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18337 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18339 * gst/gstcaps.c: (gst_caps_do_simplify):
18340 Thou shalt not free a structure and then continue using it
18341 in the next loop iteration.
18343 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18345 Add test case for caps simplification.
18347 2005-09-29 Wim Taymans <wim@fluendo.com>
18349 * check/gst/gstbin.c: (GST_START_TEST):
18352 2005-09-29 Wim Taymans <wim@fluendo.com>
18354 * check/gst/gstbin.c: (GST_START_TEST):
18357 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18358 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18359 (find_element), (gst_bin_sort_iterator_next),
18360 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18361 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18362 (gst_bin_change_state), (gst_bin_dispose):
18363 A bin does not have a bus, it gets the bus from the parent.
18365 * gst/gstelement.c: (gst_element_requires_clock),
18366 (gst_element_provides_clock), (gst_element_is_indexable),
18367 (gst_element_is_locked_state), (gst_element_change_state),
18368 (gst_element_set_bus_func):
18371 * gst/gstpipeline.c: (gst_pipeline_class_init),
18372 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18373 The pipeline provides a bus.
18375 2005-09-28 Johan Dahlin <johan@gnome.org>
18377 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18378 gst_structure_get_enum instead of gst_structure_get_int
18380 * gst/gststructure.c (gst_structure_get_enum): Impl.
18382 * gst/gststructure.h (gst_structure_get_enum): Add
18384 * docs/gst/gstreamer-sections.txt: Ditto
18386 * gst/gstmessage.c (gst_message_new_state_changed): Use
18387 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18388 which does introspection.
18389 Reviewed by Christian Schaller
18391 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18393 * gst/gstinfo.c: (gst_debug_log_default):
18394 don't do dummy g_strdup()s
18395 * libs/gst/controller/gstcontroller.c:
18396 (on_object_controlled_property_changed),
18397 (gst_controlled_property_new), (gst_controller_new_valist),
18398 (gst_controller_new_list),
18399 (gst_controller_remove_properties_valist), (gst_controller_set),
18400 (gst_controller_get), (gst_controller_sync_values),
18401 (gst_controller_get_value_array), (_gst_controller_class_init),
18402 (gst_controller_get_type):
18403 * libs/gst/controller/gstcontroller.h:
18404 * libs/gst/controller/gstinterpolation.c:
18405 (gst_controlled_property_find_timed_value_node):
18406 convert // to /**/ comments
18408 2005-09-28 Wim Taymans <wim@fluendo.com>
18410 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18411 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18412 (gst_bus_sync_signal_handler):
18414 Added async-message and sync-message signals to the bus.
18415 Added helper BusFunc to emit signals for all posted messages.
18417 * gst/gstmessage.c: (gst_message_type_get_name),
18418 (gst_message_type_to_quark), (gst_message_get_type):
18419 * gst/gstmessage.h:
18420 Register quarks for message names.
18422 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18424 * docs/libs/gstreamer-libs-sections.txt:
18425 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18426 (gst_controller_new_list):
18427 * libs/gst/controller/gstcontroller.h:
18428 added another constructor for language bindings
18430 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18432 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18436 * gst/gstinfo.c: (_gst_debug_init):
18437 slightly more readable color for refcount debugging
18439 2005-09-28 Wim Taymans <wim@fluendo.com>
18441 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18442 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18443 (find_element), (gst_bin_sort_iterator_next),
18444 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18445 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18446 (gst_bin_change_state), (gst_bin_dispose):
18447 Small doc fixes. get_clock -> provide_clock.
18449 * gst/gstelement.c: (gst_element_class_init),
18450 (gst_element_provides_clock), (gst_element_provide_clock),
18451 (gst_element_get_clock), (gst_element_commit_state),
18452 (gst_element_lost_state):
18453 * gst/gstelement.h:
18454 Make get/set_clock() symetric. Add provide_clock vmethod since
18455 that is actually what this function does.
18457 * gst/gstpipeline.c: (gst_pipeline_class_init),
18458 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18459 (gst_pipeline_get_clock):
18460 get_clock -> provide_clock.
18462 2005-09-28 Andy Wingo <wingo@pobox.com>
18464 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18465 lieu of real docs...
18467 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18469 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18471 * gst/elements/gstcapsfilter.c:
18472 * gst/elements/gstfakesink.c:
18473 * gst/elements/gstfakesrc.c:
18474 * gst/elements/gstfdsink.c:
18475 * gst/elements/gstfdsrc.c:
18476 * gst/elements/gstfilesink.c:
18477 * gst/elements/gstfilesrc.c:
18478 * gst/elements/gstidentity.c:
18479 * gst/elements/gsttee.c:
18480 * gst/elements/gsttypefindelement.c:
18481 Make element details static.
18483 2005-09-28 Wim Taymans <wim@fluendo.com>
18485 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18486 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18487 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18488 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18489 (gst_bin_change_state), (gst_bin_dispose):
18490 Some documentation updates.
18491 Clean up dispose handlers.
18493 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18494 * gst/gstpad.c: (gst_pad_dispose):
18495 Clean up dispose handler.
18497 * gst/gstpipeline.c: (gst_pipeline_change_state):
18498 Removed spurious UNLOCK.
18500 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18502 * docs/gst/gstreamer-sections.txt:
18503 * gst/base/gstbasesrc.h:
18504 * gst/gstelement.h:
18508 * gst/gstpipeline.c:
18509 * gst/gstpipeline.h:
18512 added two new functions to the docs
18513 documents all undocumented GstXXXFlags
18514 completed some incomplete docs
18516 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18518 * gst/gstbin.c: (gst_bin_dispose):
18519 * gst/gstelement.c: (gst_element_dispose):
18520 remove now useless and leaky resurrection code in dispose
18521 * gst/base/gstbasesrc.c: (gst_base_src_init):
18522 * gst/gstelementfactory.c: (gst_element_factory_create):
18523 * gst/gstobject.c: (gst_object_set_parent):
18526 2005-09-27 Wim Taymans <wim@fluendo.com>
18528 * docs/design/part-TODO.txt:
18531 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18532 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18533 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18534 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18535 (gst_bin_change_state):
18536 * gst/gstelement.h:
18537 Remove element variable, we keep element info in the iterator now.
18539 2005-09-27 Andy Wingo <wingo@pobox.com>
18541 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18544 2005-09-27 Wim Taymans <wim@fluendo.com>
18546 * check/gst/gstbin.c: (GST_START_TEST):
18547 Enable check that works now.
18549 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18550 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18551 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18552 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18553 (gst_bin_change_state):
18555 Redid the state change algorithm using a topological sort algo.
18556 Handles all cases correctly.
18557 Exposed iterator for state change order.
18559 * gst/gstelement.h:
18560 Temp storage for state changes. Need to get rid of this soon.
18562 2005-09-27 Wim Taymans <wim@fluendo.com>
18564 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18565 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18566 (link_fold_func), (gst_pad_proxy_setcaps):
18567 Leak fixes, the fold functions need to unref the passed object and
18568 _get_parent_*() returns ref to parent.
18570 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18572 * check/gst/gstbuffer.c: (test_make_writable):
18573 Plug leak in test case and fix 'make check-valgrind'
18575 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18577 * gst/gstbuffer.c: (gst_subbuffer_init):
18578 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18579 works correctly in all circumstances (we could have just copied
18580 the parent buffer's readonly flag, but conceptually it seems
18581 cleaner to mark all subbuffers as read-only). (based on patch
18582 by Alessandro Decina, #314710).
18584 * check/gst/gstbuffer.c: (create_read_only_buffer),
18585 (test_make_writable), (test_subbuffer_make_writable),
18587 Add some tests for gst_buffer_make_writable().
18589 2005-09-27 Wim Taymans <wim@fluendo.com>
18591 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18592 use gst_object_has_ancestor().
18594 * gst/gstobject.c: (gst_object_has_ancestor):
18596 gst_object_has_ancestor() copied from gstbin.c as it is a
18599 * tests/instantiate/create.c: (create_all_elements):
18600 * tests/lat.c: (handoff_src), (handoff_sink):
18601 * tests/sched/runxml.c: (main):
18602 * tests/seeking/seeking1.c: (main):
18603 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18605 Fix compilation of some tests.
18607 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18610 Remove comment. GST_TYPE_G_ERROR is here to stay,
18611 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18612 (#316961, #300610).
18614 2005-09-26 Wim Taymans <wim@fluendo.com>
18616 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18617 Added check that shows error in state change order.
18619 2005-09-26 Wim Taymans <wim@fluendo.com>
18621 * gst/gstbin.c: (gst_bin_change_state):
18622 Make state change function use 3 queues again, we were
18623 adding elements in the wrong order.
18625 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18628 * gst/gstpad.c: (gst_pad_dispose):
18629 Added some debug info first.
18631 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18633 * docs/design/draft-push-pull.txt:
18634 * docs/design/part-events.txt:
18635 * docs/design/part-overview.txt:
18636 * docs/design/part-scheduling.txt:
18637 Replace all _pull_region() with _pull_range()
18639 2005-09-26 Andy Wingo <wingo@pobox.com>
18641 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18643 * check/gst-libs/controller.c: Update for controller api change.
18646 * tests/Makefile.am:
18647 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18648 over by GLib bug 118439.
18650 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18651 routines to a function.
18653 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18655 * libs/gst/controller/gsthelper.c:
18656 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18657 (gst_object_sync_values): Renamed from sink_values. Ugh.
18659 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18661 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18662 Renamed from controller_key, as it is exported.
18664 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18666 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18671 * gst/gstpadtemplate.h:
18674 * gst/gstqueryutils.c:
18675 * gst/gstqueryutils.h:
18676 remove queryutils headers after moving the two used functions
18677 to gstquery. also fixes build problem for gstsiddec
18679 2005-09-26 Michael Smith <msmith@fluendo.com>
18681 * tools/gst-launch.1.in:
18682 Correct documentation in manpage of debug syntax
18684 2005-09-26 Wim Taymans <wim@fluendo.com>
18686 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18687 (gst_base_src_is_seekable), (gst_base_src_change_state):
18688 Some more debugging info.
18690 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18692 * docs/gst/gstreamer-sections.txt:
18693 * gst/base/gstbasetransform.h:
18697 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18699 * docs/gst/.cvsignore:
18700 * docs/gst/tmpl/.cvsignore:
18701 * docs/gst/tmpl/gstpipeline.sgml:
18702 * docs/gst/tmpl/gstplugin.sgml:
18703 * gst/gstpipeline.c:
18706 inlined the last two docs files
18707 removed the tmpl directory from cvs (no more conflicts here!)
18709 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18711 * docs/gst/gstreamer-sections.txt:
18712 * docs/gst/tmpl/.cvsignore:
18713 * docs/gst/tmpl/gstpad.sgml:
18714 * docs/gst/tmpl/gstpadtemplate.sgml:
18716 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18717 (gst_pad_finalize), (gst_pad_set_pad_template):
18719 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18720 (gst_pad_template_class_init), (gst_pad_template_init),
18721 (gst_pad_template_dispose), (name_is_valid),
18722 (gst_static_pad_template_get), (gst_pad_template_new),
18723 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18724 (gst_pad_template_pad_created):
18725 * gst/gstpadtemplate.h:
18726 inlined two more docs
18727 factored gstpadtemplate out of gstpad
18729 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18731 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18732 (test_children_state_change_order_semi_sink):
18733 Fix test case: we can't rely on a fixed state change order when
18734 going from READY => PAUSED because the sink might commit its
18735 new state first when the first buffer created by the source
18736 reaches the sink before the source has finished its change state.
18737 (Test case still fails at times, see #316856, comment 5 onwards)
18739 2005-09-24 Wim Taymans <wim@fluendo.com>
18741 * docs/design/part-events.txt:
18742 * docs/design/part-gstbus.txt:
18743 * docs/design/part-gstpipeline.txt:
18744 * docs/design/part-messages.txt:
18745 * docs/design/part-overview.txt:
18746 * docs/design/part-segments.txt:
18750 * gst/gstelement.c:
18753 * gst/gstiterator.c:
18754 Various documentation updates.
18756 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18759 Well, that's embarassing. Luckily we weren't using
18760 GST_CLOCK_DIFF anywhere.
18762 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18764 * common/gtk-doc.mak:
18765 don't fail on building XML, FC4 slave shows a bunch of doc
18766 missing bits that I don't get
18768 * gst/gstpipeline.c:
18769 * gst/gststructure.c:
18772 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18774 * docs/design/part-gstbin.txt:
18775 * docs/design/part-gstbus.txt:
18777 Add blurb about how the bus goes into flushing mode and
18778 drops all messages when its bin goes from READY into NULL
18781 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18783 * docs/gst/gstreamer-sections.txt:
18784 * gst/gststructure.c: (gst_structure_get_clock_time):
18785 * gst/gststructure.h:
18786 add a method to get a GstClockTime out of a structure
18788 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18790 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18791 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18792 Added test to check state change order in bins (can still be made
18793 to fail here under heavy disk load; bails out with 'Push on pad
18794 fakesink:sink0, but it was not activated in push mode').
18796 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18797 Fix state change order when there is only a semi sink (#316856)
18799 * gst/gstbus.c: (gst_bus_class_init):
18800 Use _class_peek_parent(), not _class_ref(); fix docs to say
18801 'default main context' instead of 'mainloop' where that is
18804 * gst/gstelement.c: (gst_element_commit_state),
18805 (gst_element_set_state):
18806 Fix typos in debug messages
18808 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18811 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18812 * gst/gstpluginfeature.c:
18814 various doc updates
18815 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18816 change an assert into an error until it gets fixed properly
18818 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18820 * docs/gst/gstreamer-sections.txt:
18821 * docs/gst/tmpl/.cvsignore:
18822 * docs/gst/tmpl/gstelement.sgml:
18823 * docs/gst/tmpl/gstinfo.sgml:
18824 * docs/gst/tmpl/gstobject.sgml:
18825 * gst/gstelement.c:
18826 * gst/gstelement.h:
18829 * gst/gstobject.c: (gst_object_class_init):
18831 inlined 3 more biiiig doc files and added some missing docs on the fly
18833 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18835 * check/gst/.cvsignore:
18836 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18837 * gst/gstregistryxml.c: (load_plugin),
18838 (gst_registry_xml_save_plugin):
18839 put back source in registry. add checks for find_plugin.
18840 * testsuite/states/bin.c: (assert_state), (empty_bin),
18841 (test_adding_one_element), (main):
18842 * testsuite/states/locked.c: (main):
18843 some compile/run fixes
18845 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18847 * check/gst/gstvalue.c: (GST_START_TEST):
18848 fix leaks in the test itself
18850 2005-09-22 Wim Taymans <wim@fluendo.com>
18852 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18853 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18854 (gst_base_sink_query):
18855 Prepare for more accurate position reporting and query
18858 * gst/gstelement.c: (gst_element_send_event),
18859 (gst_element_set_state):
18862 2005-09-22 Wim Taymans <wim@fluendo.com>
18864 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18865 (gst_query_parse_segment):
18867 More documentation.
18868 Add segment query for future use.
18870 2005-09-22 Wim Taymans <wim@fluendo.com>
18872 * gst/gstbin.c: (gst_bin_add_func):
18873 Some more debug info.
18875 * gst/gstelement.c: (gst_element_send_event):
18876 Simplify send_event
18878 * gst/gstelement.h:
18879 Don't know how flags got broken.
18884 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18886 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18887 Add simplistic test suite for GST_TYPE_DATE serialisation and
18890 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18892 * docs/gst/gstreamer-sections.txt:
18893 * gst/gststructure.c: (gst_structure_set_valist),
18894 (gst_structure_get_date):
18895 * gst/gststructure.h:
18896 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18897 (gst_date_copy), (gst_value_compare_date),
18898 (gst_value_serialize_date), (gst_value_deserialize_date),
18899 (gst_value_transform_date_string),
18900 (gst_value_transform_string_date), (_gst_value_initialize):
18902 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18903 bunch of utility functions along with a hack that checks that
18904 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18905 is required. Part of the grand scheme in #170777.
18907 2005-09-22 Andy Wingo <wingo@pobox.com>
18909 * gst/gstconfig.h.in: Psych out gtk-doc.
18911 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18913 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18915 * tools/gst-inspect.c (print_element_list): Plug some
18916 inconsequential leaks.
18918 * gst/gstregistry.c (gst_registry_get_default): Doc.
18920 * check/gst/gstplugin.c:
18921 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18922 * gst/gstelementfactory.c (gst_element_factory_create):
18923 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18926 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18927 (gst_plugin_feature_load): Doc, don't eat refs.
18929 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18930 (gst_plugin_list_free): Doc.
18931 (gst_plugin_load_file): Doc updates.
18933 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18934 accessors returning refcounted objects, return a ref.
18936 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18937 accessor for caps. IDEMPOTENCE. Oh yes.
18939 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18941 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18943 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18944 (_gst_debug_register_funcptr):
18945 Add mutex to serialise access to the hash table with
18946 the function pointer => function name string mapping;
18947 make that hash table static scope (#316809).
18949 * gst/registries/.cvsignore:
18950 Remove left-over file.
18952 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18954 * docs/pwg/appendix-porting.xml:
18955 And something about newsegment events and caps-on-buffers to
18956 the porting guide (feel free to improve).
18958 2005-09-21 Andy Wingo <wingo@pobox.com>
18960 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18961 data and event probes on the same pad.
18962 (test_buffer_probe_once): Test that removing probes from within
18963 the probe functions works.
18965 2005-09-21 Andy Wingo <wingo@pobox.com>
18967 * check/gst/gstutils.c: New file.
18968 (test_buffer_probe_n_times): A simple buffer probe test. More to
18971 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18972 have-data::buffer, not have-data.
18973 (gst_pad_add_event_probe): Likewise for have-data::event.
18974 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18975 peer' isn't quite right yet though.
18976 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18977 (gst_pad_remove_data_probe): Change to take the guint handler_id
18978 as their arg, not the function+data, which is more glib-like.
18980 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18981 the signal emission to indicate if the data is a buffer or an
18983 (gst_pad_get_type): Initialize buffer and event quarks.
18984 (gst_pad_class_init): have-data is now a detailed signal, yes it
18987 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18989 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18990 * gst/gstutils.c: (gst_util_set_value_from_string),
18991 (gst_util_set_object_arg):
18992 Don't put functional code in g_return_if_fail() or
18993 g_return_val_if_fail() statements, otherwise things will
18994 break when G_DISABLE_CHECKS is defined during compilation.
18996 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18998 * docs/gst/tmpl/.cvsignore:
18999 * docs/gst/tmpl/gstvalue.sgml:
19002 inlied another one and added some obvious docs
19004 2005-09-21 Wim Taymans <wim@fluendo.com>
19006 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19007 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19008 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19009 (gst_fdsrc_get_property), (gst_fdsrc_create):
19010 * gst/elements/gstfdsrc.h:
19011 Properly implement fdsrc. Removed signal and timeout,
19012 better implemented somewhere else.
19014 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19016 * docs/gst/tmpl/.cvsignore:
19017 * docs/gst/tmpl/gstimplementsinterface.sgml:
19018 * gst/gstinterface.c:
19021 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19023 * docs/gst/gstreamer-sections.txt:
19024 * docs/gst/tmpl/.cvsignore:
19025 * docs/gst/tmpl/gstenumtypes.sgml:
19026 remove obsolete doc file
19028 2005-09-21 David Schleef <ds@schleef.org>
19030 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19031 little beer, fix a little leak.
19033 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19035 * docs/gst/gstreamer-docs.sgml:
19036 * docs/gst/gstreamer-sections.txt:
19037 * docs/gst/tmpl/.cvsignore:
19041 * gst/gstelement.h:
19042 * gst/gstindex.c: (gst_index_class_init):
19044 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19045 (gst_index_factory_class_init), (gst_index_factory_init),
19046 (gst_index_factory_finalize), (gst_index_factory_new),
19047 (gst_index_factory_destroy), (gst_index_factory_find),
19048 (gst_index_factory_create), (gst_index_factory_make):
19049 * gst/gstindexfactory.h:
19050 * gst/gstpluginfeature.c:
19051 * gst/gstpluginfeature.h:
19052 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19053 more docs inlined, splitted gstindex.{c,h}
19055 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19057 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19060 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19062 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19063 Set sync to FALSE by default.
19065 2005-09-20 Wim Taymans <wim@fluendo.com>
19067 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19068 (gst_base_sink_init):
19069 Make sync property settable from subclass.
19071 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19072 (gst_fake_sink_change_state):
19073 Set sync to FALSE by default.
19075 2005-09-20 Wim Taymans <wim@fluendo.com>
19077 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19078 * tools/gst-launch.c: (main):
19079 The timeout handler should have lower priority than the source
19080 so we don't timeout before popping a message with 0 timeout.
19081 Dump error messages after failed state change.
19083 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19085 * tools/gst-inspect.c: (print_element_properties_info):
19088 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19090 * check/gst/gstevent.c:
19091 * gst/elements/gstfakesink.c:
19092 * gst/elements/gstfakesink.h:
19093 remove the sync property from fakesink.
19094 has the side effect of setting sync TRUE
19095 for fakesink, which is a change. Anyone who knows how
19096 to fix this nicely in a GObject-y way, feel free.
19098 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19100 * docs/gst/gstreamer-docs.sgml:
19101 remove probe refsection
19103 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19105 * check/Makefile.am:
19106 disable valgrinding the controller test again
19107 * docs/gst/gstreamer-sections.txt:
19108 update for api-changes
19110 2005-09-20 Wim Taymans <wim@fluendo.com>
19112 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19113 (gst_base_sink_set_property), (gst_base_sink_get_property),
19114 (gst_base_sink_do_sync):
19115 * gst/base/gstbasesink.h:
19116 Added sync property to basesink to disable clock sync.
19118 2005-09-20 Andy Wingo <wingo@pobox.com>
19120 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19121 eating the caller's refcount.
19123 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19124 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19127 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19128 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19129 of GLib 2.8 public, so we can know which refcount to check in
19132 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19133 (gst_object_init): Only set the gst refcount if we're going ahead
19134 with the refcount hack.
19136 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19138 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19139 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19140 more leaks plumbed, added more debug-logging
19144 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19146 * gst/gstmessage.c:
19147 remove include of gstmemchunk.h
19149 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19151 * gst/gstclock.c: (_gst_clock_id_free):
19152 Commit from the Political Party For More Atomic CVS Commits,
19153 so that people don't waste too much of their day fishing
19154 out obvious leaks out of massive commits.
19155 Oh, and fix a pretty damn obvious leak in the memchunk
19158 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19160 * check/Makefile.am:
19161 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19162 plug mem-leak, re-add to valgrindable tests
19164 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19167 unbreak the build for those who have chronic arthritis
19168 and typing "make check" is just too taxing on the hands
19170 2005-09-20 Andy Wingo <wingo@pobox.com>
19172 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19173 really want it out, you should fix plugins at the same time.
19175 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19178 * docs/gst/gstreamer-sections.txt:
19180 added missing symbols to api docs
19181 disable ref-count hack if we have glib >= 2.8
19183 2005-09-19 David Schleef <ds@schleef.org>
19185 * docs/gst/Makefile.am: Ignore a few more internal headers
19186 * docs/gst/gstreamer-docs.sgml: Remove old sections
19187 * docs/gst/gstreamer-sections.txt: Remove old sections
19188 * docs/gst/tmpl/gstobject.sgml: update
19189 * docs/gst/tmpl/gstplugin.sgml: update
19190 * docs/gst/tmpl/gstpluginfeature.sgml: update
19191 * docs/random/ds/0.9-suggested-changes: update.
19192 * gst/Makefile.am: remove memchunk and trashstack, since they're
19194 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19195 * gst/gst.h: don't include some headers
19196 * gst/gstchildproxy.c: add gstmarshal.h
19197 * gst/gstclock.c: Don't use memchunks
19198 * gst/gstminiobject.c: Add some docs
19199 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19200 * gst/gstobject.h: same
19201 * gst/gstplugin.c: include gstmacros.h
19202 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19203 * gst/gstquery.c: don't use memchunks
19204 * gst/gstregistry.c: rename gst_registry_deinit()
19205 * gst/gstregistry.h: same
19207 2005-09-19 David Schleef <ds@schleef.org>
19209 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19210 * docs/libs/gstreamer-libs-sections.txt:
19211 * docs/libs/tmpl/gstgetbits.sgml:
19212 * docs/libs/tmpl/gstputbits.sgml:
19214 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19216 * win32/gstenumtypes.c:
19217 * win32/gstenumtypes.h:
19220 2005-09-19 Wim Taymans <wim@fluendo.com>
19222 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19223 Automatically PAUSE and RESUME a pipeline when a flushing seek
19226 2005-09-19 Andy Wingo <wingo@pobox.com>
19228 * gst/gstregistry.h: Spacing fixen.
19230 2005-09-19 Wim Taymans <wim@fluendo.com>
19232 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19233 Handle state change failure more correctly.
19235 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19237 * check/Makefile.am:
19238 * check/pipelines/cleanup.c: (run_pipeline):
19239 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19241 enable cleanup again after fixing the leak
19243 some more info on docs
19245 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19247 * check/Makefile.am:
19248 re-enable tests now that leaks are plugged
19250 * check/gst/gstbin.c:
19251 * check/gst/gstpipeline.c:
19252 add some more tests while fixing leaks
19253 * common/check.mak:
19254 make sure binaries are uptodate when valgrinding/gdbing
19256 * gst/gstelementfactory.c:
19257 remove a ref too many, and add a FIXME for when we get
19258 round to disposing of classes
19260 fix the refcounting when loading a plugin from a file and
19261 the code pretends that the pointer is the same even though
19262 of course it can change
19263 * gst/gstpluginfeature.c:
19264 unref plugins marked cached (a bit confusing as a name)
19265 as the docs state should be done
19266 various doc additions to explain refcounting
19267 * gst/gstregistry.c:
19268 * gst/gstregistryxml.c:
19271 2005-09-19 Wim Taymans <wim@fluendo.com>
19273 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19274 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19275 (send_messages), (GST_START_TEST), (gstbus_suite):
19276 * check/gst/gstpipeline.c: (GST_START_TEST):
19277 * check/pipelines/cleanup.c: (run_pipeline):
19278 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19280 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19281 (gst_bus_source_check), (gst_bus_source_dispatch),
19282 (gst_bus_create_watch), (gst_bus_add_watch_full),
19283 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19285 * tools/gst-launch.c: (event_loop):
19286 * tools/gst-md5sum.c: (event_loop):
19287 GstBusHandler -> GstBusFunc, return value has the same meaning as
19288 any other GSource (FALSE == remove source).
19289 _add_watch() and _add_watch_full() now take a MessageType mask to
19290 only handle specific types of messages.
19291 _poll() returns the GstMessage instead of the message type to avoid
19293 _have_pending() takes a MessageType mask now too.
19294 Added testsuite for multiple bus watches.
19295 Fix testsuites and applications for new bus API.
19297 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19299 * check/Makefile.am:
19300 mark a bunch of the tests as to fix until we fix them
19302 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19304 * common/check.mak:
19305 use GST_PLUGIN settings for valgrind tests as well, so we're
19306 valgrinding the correct thing
19307 * gst/gst.c: (init_post):
19310 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19312 * gst/gst.c: (init_post), (gst_deinit):
19313 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19314 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19315 * gst/gstindex.c: (gst_index_factory_class_init),
19316 (gst_index_factory_finalize):
19317 * gst/gstobject.c: (gst_object_dispose):
19318 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19319 (gst_plugin_load_file), (gst_plugin_desc_free):
19320 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19321 (gst_plugin_feature_finalize):
19322 * gst/gstregistry.c: (gst_registry_class_init),
19323 (gst_registry_init), (gst_registry_finalize),
19324 (gst_registry_get_default), (gst_registry_deinit):
19325 * gst/gstregistry.h:
19326 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19327 various cleanups and memleak plugging. make valgrind is happy now.
19329 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19331 * common/check.mak:
19332 add a check-valgrind target
19334 2005-09-18 David Schleef <ds@schleef.org>
19336 * tools/gst-inspect.c: Revert the GOption code.
19338 2005-09-17 David Schleef <ds@schleef.org>
19340 * check/Makefile.am: Fix environment variables.
19341 * check/gst/gstplugin.c: Fix for API changes.
19342 * tools/gst-inspect.c: Fix for API changes.
19343 * tools/gst-xmlinspect.c: Fix for API changes.
19344 * gst/gstelementfactory.c:
19347 * gst/gstpluginfeature.c:
19348 * gst/gstpluginfeature.h:
19349 * gst/gstregistry.c:
19350 * gst/gstregistry.h:
19351 * gst/gstregistryxml.c:
19352 * gst/gsttypefind.c:
19353 * gst/gsttypefindfactory.c:
19354 * gst/indexers/gstfileindex.c:
19355 * gst/indexers/gstmemindex.c:
19356 * gst/schedulers/Makefile.am:
19357 Change registry to keep track of both plugins and features,
19358 removing the feature tracking from plugins themselves.
19360 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19362 * check/Makefile.am:
19363 * tools/gst-register.1.in:
19364 remove gst-register
19366 2005-09-15 David Schleef <ds@schleef.org>
19368 * check/gst/gstplugin.c:
19369 * gst/gstelementfactory.c:
19371 * gst/gstpluginfeature.c:
19372 * gst/gstregistry.c:
19373 Getting tired of debugging. Disabled all the unreffing of
19374 plugins and features, which fixes the segfaults, but of
19375 course leaks like crazy. At least playbin works.
19377 2005-09-15 David Schleef <ds@schleef.org>
19379 * check/gst/gstplugin.c: (register_check_elements),
19380 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19382 * gst/elements/gsttypefindelement.c: Fix refcounting.
19383 * gst/gsttypefind.c:
19384 * gst/gsttypefindfactory.c:
19385 * gst/gsttypefindfactory.h:
19387 2005-09-15 David Schleef <ds@schleef.org>
19389 * gst/gstindex.c: get refcounting correct.
19390 * gst/gstregistry.c: Handle the case where a feature/plugin is
19393 2005-09-15 David Schleef <ds@schleef.org>
19395 * check/Makefile.am:
19396 * check/gst/gstplugin.c: Add test
19397 * gst/gstplugin.c: Fix problems noticed by testsuite
19399 * gst/gstregistry.c:
19400 * gst/gstregistry.h:
19402 2005-09-15 David Schleef <ds@schleef.org>
19404 * gst/gstplugin.c: Implement semi-decent recounting and locking
19405 in plugins and plugin features.
19407 * gst/gstpluginfeature.c:
19408 * gst/gstpluginfeature.h:
19409 * gst/gstregistry.c:
19411 2005-09-15 Michael Smith <msmith@fluendo.com>
19413 * gst/gstregistry.c: (gst_registry_get_feature_list):
19414 Implement this. Makes oggdemux work; decodebin still broken.
19416 2005-09-14 David Schleef <ds@schleef.org>
19418 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19420 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19421 * gst/check/Makefile.am:
19422 * libs/gst/controller/Makefile.am:
19423 * libs/gst/dataprotocol/Makefile.am:
19425 2005-09-14 David Schleef <ds@schleef.org>
19427 * configure.ac: Remove getbits library. Nothing uses it, and
19428 it should be in something like liboil if someone did want
19430 * libs/gst/Makefile.am:
19431 * libs/gst/getbits/Makefile.am:
19432 * libs/gst/getbits/gbtest.c:
19433 * libs/gst/getbits/getbits.c:
19434 * libs/gst/getbits/getbits.h:
19435 * libs/gst/getbits/gstgetbits_generic.c:
19436 * libs/gst/getbits/gstgetbits_i386.s:
19437 * libs/gst/getbits/gstgetbits_inl.h:
19439 2005-09-14 David Schleef <ds@schleef.org>
19441 * gst/Makefile.am: Dist glib-compat.h
19443 2005-09-14 David Schleef <ds@schleef.org>
19445 * configure.ac: Remove gst/registries, since it's no longer used.
19446 * gst/registries/Makefile.am:
19447 * gst/registries/gstlibxmlregistry.c:
19448 * gst/registries/gstlibxmlregistry.h:
19449 * gst/registries/gstxmlregistry.c:
19450 * gst/registries/gstxmlregistry.h:
19451 * gst/registries/registrytest.c:
19453 2005-09-14 David Schleef <ds@schleef.org>
19455 * gst/glib-compat.h:
19456 * gst/gstregistryxml.c:
19457 Convergence is near. Seriously.
19459 2005-09-14 David Schleef <ds@schleef.org>
19461 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19462 * gst/glib-compat.h:
19463 Attempt #4 to appease the buildbots.
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/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19475 2005-09-14 David Schleef <ds@schleef.org>
19477 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19480 2005-09-14 David Schleef <ds@schleef.org>
19482 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19483 * gst/glib-compat.h: Add some functions that are in newer versions
19484 of glib than we care to require.
19485 * gst/gstregistryxml.c: Use them.
19487 2005-09-14 David Schleef <ds@schleef.org>
19489 * po/POTFILES.in: remove gst-register.c
19491 2005-09-14 David Schleef <ds@schleef.org>
19493 * docs/gst/gstreamer-docs.sgml:
19494 * docs/gst/gstreamer-sections.txt:
19495 * docs/gst/gstreamer.types:
19496 * docs/gst/tmpl/gstelement.sgml:
19497 * docs/gst/tmpl/gstplugin.sgml:
19498 * docs/gst/tmpl/gstpluginfeature.sgml:
19499 Documentation updates for registry changes.
19501 2005-09-14 David Schleef <ds@schleef.org>
19503 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19504 because we don't require glib-2.8.
19506 2005-09-14 David Schleef <ds@schleef.org>
19508 * gst/gstregistryxml.c: Added. Essentially moved out of the
19509 registries directory.
19511 2005-09-14 David Schleef <ds@schleef.org>
19513 * check/Makefile.am:
19514 * check/generic/states.c:
19518 * gst/gst_private.h:
19519 * gst/gstelementfactory.c:
19524 * gst/gstpluginfeature.c:
19525 * gst/gstpluginfeature.h:
19526 * gst/gstregistry.c:
19527 * gst/gstregistry.h:
19528 * gst/gstregistrypool.c: remove
19529 * gst/gstregistrypool.h: remove
19530 * gst/gsttypefind.c:
19531 * gst/gsttypefindfactory.c:
19533 * tools/Makefile.am:
19534 * tools/gst-compprep.c:
19535 * tools/gst-inspect.c:
19536 * tools/gst-register.c: remove
19537 * tools/gst-xmlinspect.c:
19538 Registry rewrite. Changes registry from being a file created
19539 by a tool into a simple cache file created automatically by
19540 libgstreamer. Removed gst-register (because it's no longer
19541 needed). Remove registry pools, because we only have one
19542 registry implementation (XML). Fix up other subsystems as
19545 2005-09-13 Michael Smith <msmith@fluendo.com>
19547 * gst/gstconfig.h.in:
19548 Don't Use windows linking attributes for MinGW. Fixes #316157
19550 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19552 * gst/gstutils.c: (set_state_async_thread_func),
19553 (gst_element_set_state_async):
19554 Apparently people think it's better if this function doesn't
19555 try to set the state to whatever state was asked for on the first
19556 call to this function for any object. Seriously.
19558 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19560 * check/gst/gstpipeline.c: (GST_START_TEST):
19561 * docs/gst/gstreamer-sections.txt:
19562 * gst/gstutils.c: (set_state_async_thread_func),
19563 (gst_element_set_state_async):
19565 add a "gst_element_set_state_async" method that
19566 sets the state and starts a thread to make sure the state
19567 change completes as best as it can
19569 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19571 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19572 codify design+behaviour in testsuite after discussion
19574 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19576 * docs/gst/tmpl/gstelement.sgml:
19577 * docs/manual/appendix-quotes.xml:
19579 * gst/gstelement.c: (gst_element_set_state):
19582 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19584 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19585 (gst_base_transform_prepare_output_buf),
19586 (gst_base_transform_handle_buffer):
19587 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19588 (gst_capsfilter_prepare_buf):
19589 Remove the requirement for sub-classes to call the parent
19590 implementation of prepare_output_buffer with a wrapper function.
19592 * gst/gsttaglist.h:
19593 * gst/gsttagsetter.h:
19594 Fix #define wrapper
19596 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19598 * docs/gst/gstreamer-sections.txt:
19601 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19603 * docs/gst/gstreamer-sections.txt:
19604 * docs/gst/tmpl/gstelement.sgml:
19605 * docs/gst/tmpl/gstplugin.sgml:
19606 * gst/gstminiobject.c:
19608 docs now stop throwing warnings
19610 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19612 * docs/gst/gstreamer-sections.txt:
19613 * docs/gst/gstreamer.types:
19614 * docs/gst/tmpl/gstpad.sgml:
19615 * docs/gst/tmpl/gsttypes.sgml:
19616 * gst/base/gstadapter.h:
19617 * gst/base/gstbasesink.h:
19618 * gst/base/gstbasesrc.h:
19624 * gst/gstelement.h:
19626 * gst/gstmessage.h:
19628 * gst/gststructure.c:
19629 * gst/registries/gstlibxmlregistry.h:
19630 various documentation fixes
19632 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19634 * docs/gst/gstreamer-sections.txt:
19635 * docs/gst/tmpl/gstvalue.sgml:
19636 rearrange gstvalue section
19637 * gst/gstutils.c: (gst_element_state_get_name):
19639 * gst/gstvalue.c: (_gst_value_initialize):
19643 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19645 * check/gst-libs/controller.c:
19646 Header include fix.
19647 * gst/base/gstbasetransform.c:
19648 (gst_base_transform_default_prepare_buf),
19649 (gst_base_transform_handle_buffer):
19650 * gst/base/gstbasetransform.h:
19651 Some more basetransform changes and fixes to enable sub-classes
19652 that modify buffer metadata only.
19653 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19654 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19655 (gst_capsfilter_prepare_buf):
19656 If the output pad has fixed allowed caps and input buffers
19657 don't have any, set the fixed caps on outgoing buffers.
19659 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19660 * check/elements/identity.c: (GST_START_TEST):
19661 Make the error a little clearer when the test fails because
19662 identity made a copy of the buffer.
19663 * docs/gst/gstreamer-sections.txt:
19664 New symbols in gstbasetransform.h
19665 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19666 (gst_base_transform_init), (gst_base_transform_transform_size),
19667 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19668 (gst_base_transform_default_prepare_buf),
19669 (gst_base_transform_get_unit_size),
19670 (gst_base_transform_buffer_alloc),
19671 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19672 (gst_base_transform_change_state),
19673 (gst_base_transform_set_passthrough),
19674 (gst_base_transform_set_in_place),
19675 (gst_base_transform_is_in_place):
19676 * gst/base/gstbasetransform.h:
19677 Change BaseTransform to separate in_place operate from same_caps
19678 output. in_place implies that the element can perform the transform
19679 on incoming buffers in-place, even if the caps on the output are
19681 Sub-class elements can now implement special buffer allocation
19682 methods for outgoing buffers if they wish to.
19683 Big documentation addition.
19684 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19685 * gst/elements/gstelements.c:
19686 Changes for basetransform modifications.
19687 * gst/elements/Makefile.am:
19688 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19689 Compile fix. Extra debug output.
19691 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19693 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19695 add tests for valid pad naming
19696 * gst/check/gstcheck.c: (gst_check_log_message_func),
19697 (gst_check_log_critical_func):
19699 remove printing of code, it is fragile when the code contains
19700 % and the line number is enough info
19701 * gst/check/gstcheck.h:
19702 * gst/gstpad.c: (gst_pad_template_new):
19705 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19708 say what CHECK flags we use
19709 * docs/libs/gstreamer-libs.types:
19710 * libs/gst/controller/Makefile.am:
19711 * libs/gst/controller/gst-controller.c:
19712 * libs/gst/controller/gst-controller.h:
19713 * libs/gst/controller/gst-helper.c:
19714 * libs/gst/controller/gst-interpolation.c:
19715 * libs/gst/controller/gstcontroller.c:
19716 * libs/gst/controller/gsthelper.c:
19717 * libs/gst/controller/gstinterpolation.c:
19718 * tools/gst-inspect.c: (print_plugin_info):
19719 we don't use dashes in header names
19721 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19723 * check/Makefile.am:
19724 * check/gst/.cvsignore:
19725 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19726 (gst_pipeline_suite), (main):
19727 adding a test for pipelines and state changes
19728 * gst/gstutils.c: (get_state_func):
19730 * gstreamer.spec.in:
19733 2005-09-08 Michael Smith <msmith@fluendo.com>
19735 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19736 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19737 (gst_file_src_is_seekable), (gst_file_src_get_size),
19738 (gst_file_src_start):
19739 * gst/elements/gstfilesrc.h:
19740 Various fixes for unseekable, unmmapable, and non-normal files, so
19741 that fallback to read() rather than mmap() works.
19742 * gst/gstevent.c: (gst_event_new_newsegment):
19743 Allow newsegment events with segment_start == segment_end, as will
19744 correctly happen if you use filesrc on a zero-size file, for
19747 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19749 * gst/gstplugin.c: (gst_plugin_load_file):
19750 Call g_module_close when we don't load the module
19752 * gst/registries/gstlibxmlregistry.c:
19753 (gst_xml_registry_get_property):
19754 Port leak fix from 0.8
19756 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19758 * docs/gst/gstreamer-docs.sgml:
19759 * docs/gst/tmpl/.cvsignore:
19760 * docs/gst/tmpl/gsttrace.sgml:
19761 * docs/gst/tmpl/gsttrashstack.sgml:
19764 * gst/gstelement.h:
19766 * gst/gstmessage.c:
19767 * gst/gstmessage.h:
19770 * gst/gsttaginterface.c:
19771 * gst/gsttaginterface.h:
19772 * gst/gsttaglist.c:
19773 * gst/gsttaglist.h:
19774 * gst/gsttagsetter.c:
19775 * gst/gsttagsetter.h:
19778 * gst/gsttrashstack.c:
19779 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19780 inlined docs for gsttrace, gsttrashstack
19782 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19785 * gst/elements/gstbufferstore.h:
19786 * gst/elements/gsttypefindelement.c:
19787 * gst/elements/gsttypefindelement.h:
19789 * gst/gsttypefind.c:
19790 * gst/gsttypefind.h:
19791 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19792 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19793 (gst_type_find_factory_dispose),
19794 (gst_type_find_factory_unload_thyself),
19795 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19796 (gst_type_find_factory_get_caps),
19797 (gst_type_find_factory_get_extensions),
19798 (gst_type_find_factory_call_function):
19799 * gst/gsttypefindfactory.h:
19800 * gst/registries/gstlibxmlregistry.c:
19801 * gst/registries/gstxmlregistry.c:
19802 splitted gsttypefind into gsttypefind, gsttypefindfactory
19804 2005-09-07 Andy Wingo <wingo@pobox.com>
19806 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19807 condition whereby the pad's task function is entered before the
19808 pad_mode variable was set.
19810 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19812 * gst/gstpad.c: (gst_pad_alloc_buffer):
19813 Catch misbehaving pad_alloc functions that don't
19814 set up caps and do it for them.
19816 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19818 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19819 test for pipe!=NULL
19820 * docs/gst/tmpl/.cvsignore:
19821 * docs/gst/tmpl/gstmemchunk.sgml:
19822 * docs/gst/tmpl/gstparse.sgml:
19823 * docs/gst/tmpl/gsttaglist.sgml:
19824 * docs/gst/tmpl/gsttagsetter.sgml:
19825 * docs/gst/tmpl/gsttypefind.sgml:
19826 * docs/gst/tmpl/gsttypefindfactory.sgml:
19827 * gst/gstmemchunk.c:
19830 * gst/gsttaginterface.c:
19831 * gst/gsttypefind.c:
19832 * gst/gsttypefind.h:
19835 === release 0.9.2 ===
19837 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19842 releasing 0.9.2, "South"
19844 2005-09-05 Andy Wingo <wingo@pobox.com>
19846 * gst/registries/gstxmlregistry.h:
19847 * gst/registries/gstxmlregistry.c: Um... resurrect...
19849 * gst/registries/gstxmlregistry.h:
19850 * gst/registries/gstxmlregistry.c: and update to newer API.
19851 Incidentally they should be a bit faster now that they don't have
19854 2005-09-05 Andy Wingo <wingo@pobox.com>
19856 * gst/registries/gstxmlregistry.h:
19857 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19858 replaced by the libxml registry a while back
19860 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19862 * docs/gst/tmpl/gstplugin.sgml:
19863 * gst/elements/gstelements.c:
19865 * gst/gstplugin.c: (gst_plugin_register_func),
19866 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19867 (gst_plugin_get_source):
19869 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19870 (gst_xml_registry_save_plugin):
19871 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19872 (gst_xml_registry_save_plugin):
19873 * tools/gst-inspect.c: (print_plugin_info):
19874 add a "source" plugin description field, to represent the source
19875 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19876 will set it to PACKAGE, which is automake's idea of the name of
19877 the source project.
19879 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19884 * docs/Makefile.am:
19885 * docs/faq/Makefile.am:
19886 * docs/gst/tmpl/gstelement.sgml:
19887 * docs/gst/tmpl/gsttypes.sgml:
19888 * docs/htmlinstall.mak:
19889 * docs/manual/Makefile.am:
19890 * docs/pwg/Makefile.am:
19891 reorganize doc build a little
19892 split out docbook and gtk-doc stuff
19893 have two separate --enable's and enable them through autogen
19894 but disable by default in configure (to be similar to other
19896 * gstreamer.spec.in:
19897 clean up docs install
19915 translation updates
19917 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19919 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19922 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19923 (gst_fake_sink_change_state):
19924 Make state change function thread-safe.
19926 * gst/gstpad.c: (gst_pad_alloc_buffer):
19927 Set offset on generic buffer allocated by fallback.
19929 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19931 * docs/gst/gstreamer-sections.txt:
19932 * docs/gst/tmpl/gstelement.sgml:
19934 * libs/gst/controller/gst-controller.c:
19935 (gst_controlled_property_set_interpolation_mode),
19936 (gst_controlled_property_new),
19937 (gst_controller_find_controlled_property):
19938 run the wingo-magic script against the docs
19940 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19942 * docs/gst/gstreamer-docs.sgml:
19943 * docs/gst/gstreamer-sections.txt:
19944 * docs/gst/tmpl/.cvsignore:
19945 * docs/gst/tmpl/gstelementdetails.sgml:
19946 * docs/gst/tmpl/gstelementfactory.sgml:
19949 * gst/gstelementfactory.c:
19950 * gst/gstelementfactory.h:
19951 merged elementdetails docs into elementfactory docs
19954 2005-09-02 Andy Wingo <wingo@pobox.com>
19956 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19957 consider this enum an enum and not a flags.
19959 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19961 * docs/gst/gstreamer-docs.sgml:
19962 * docs/gst/tmpl/.cvsignore:
19963 * docs/gst/tmpl/gstghostpad.sgml:
19964 * docs/gst/tmpl/gstiterator.sgml:
19965 * docs/gst/tmpl/gstmacros.sgml:
19966 * docs/gst/tmpl/gstrealpad.sgml:
19967 * docs/gst/tmpl/gstregistry.sgml:
19968 * docs/gst/tmpl/gstregistrypool.sgml:
19969 * docs/gst/tmpl/gststructure.sgml:
19970 * docs/gst/tmpl/gstsystemclock.sgml:
19971 * docs/gst/tmpl/gsttrace.sgml:
19972 * gst/gstghostpad.c:
19974 * gst/gstmemchunk.c:
19975 * gst/gstmemchunk.h:
19977 * gst/gstregistry.c:
19978 * gst/gstregistrypool.c:
19979 * gst/gststructure.c:
19980 * gst/gstsystemclock.c:
19983 2005-09-02 Andy Wingo <wingo@pobox.com>
19985 * gst/gstelement.h (GstState): Renamed from GstElementState,
19986 changed to be a normal enum instead of flags.
19987 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19988 munged to be GST_STATE_CHANGE_*.
19989 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19990 work with the new state representation.
19991 (GstStateChange): New enumeration of possible state transitions.
19992 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19993 (GstElementClass::change_state): Pass the GstStateChange along as
19994 an argument. Helps language bindings, so they don't have to use
19995 tricky lock-needing macros like GST_STATE_CHANGE ().
19997 * scripts/update-states (file): New script. Run it on a file to
19998 update it for state naming and API changes. Updates files in
20001 * All files updated for the new API.
20003 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20005 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20006 * gst/gstutils.c: (gst_util_set_value_from_string),
20007 (gst_util_set_object_arg):
20008 fix a bunch of unchecked return values
20009 * tools/gst-complete.c: (main):
20010 * gstreamer.spec.in:
20013 2005-09-01 Wim Taymans <wim@fluendo.com>
20015 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20016 (gst_base_sink_event), (gst_base_sink_do_sync),
20017 (gst_base_sink_handle_event):
20018 * gst/base/gstbasesink.h:
20019 Handle newsegments more correctly.
20024 * gst/gstevent.c: (gst_event_new_newsegment):
20025 A newsegment cannot have a start_time of -1
20027 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20029 * win32/gstenumtypes.c:
20030 * win32/gstenumtypes.h:
20033 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20035 * libs/gst/controller/gst-controller.c:
20036 (gst_controlled_property_set_interpolation_mode),
20037 (gst_controlled_property_new):
20038 fixed boolean again
20040 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20042 * docs/faq/gst-uninstalled:
20047 * gst/gstutils.c: (gst_element_link_filtered):
20049 add gst_element_link_filtered
20051 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20053 * docs/gst/gstreamer-docs.sgml:
20054 * docs/gst/gstreamer-sections.txt:
20055 * docs/gst/tmpl/.cvsignore:
20056 * docs/gst/tmpl/gsterror.sgml:
20057 * docs/gst/tmpl/gstfilter.sgml:
20058 * docs/gst/tmpl/gsturihandler.sgml:
20059 * docs/gst/tmpl/gsturitype.sgml:
20060 * docs/gst/tmpl/gstutils.sgml:
20061 * docs/gst/tmpl/gstxml.sgml:
20066 * gst/gsturitype.c:
20069 inlined more docs, fixed double id-ref
20071 2005-08-31 Wim Taymans <wim@fluendo.com>
20073 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20074 (gst_base_transform_handle_buffer):
20075 Passthrough elements don't need the caps as they don't care.
20077 2005-08-31 Wim Taymans <wim@fluendo.com>
20079 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20080 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20081 Don't leak refcounts on buffers.
20083 2005-08-31 Wim Taymans <wim@fluendo.com>
20085 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20086 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20087 (gst_base_transform_chain), (gst_base_transform_change_state):
20088 * gst/base/gstbasetransform.h:
20089 Handle the case where we are not negotiated more gracefully.
20091 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20093 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20094 (gst_file_src_map_region):
20095 Set READONLY flag on mmap'ed buffers, otherwise
20096 gst_buffer_make_writable() won't work properly (#314708).
20098 2005-08-31 Wim Taymans <wim@fluendo.com>
20100 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20101 passthrough elements can even do inplace on non writable
20102 buffers (as they don't touch them).
20104 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20106 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20107 (gst_test_mono_source_set_property),
20108 (gst_test_mono_source_class_init), (GST_START_TEST),
20109 (gst_controller_suite):
20110 more tests (hehe I have the most)
20112 describe popping messages whenusing mulltiple sources
20113 * libs/gst/controller/gst-controller.c:
20114 (gst_controlled_property_set_interpolation_mode),
20115 (gst_controlled_property_new):
20116 * libs/gst/controller/gst-controller.h:
20117 * libs/gst/controller/gst-interpolation.c:
20118 implement boolean properties
20120 2005-08-31 Wim Taymans <wim@fluendo.com>
20122 * gst/gstminiobject.c: (gst_mini_object_ref):
20123 Cannot assert that the refcount has to be positive
20124 since a disposed object can be resurrected.
20126 2005-08-31 Wim Taymans <wim@fluendo.com>
20128 * gst/gstpad.c: (gst_pad_init):
20129 Revert change, need to first fix badly behaving
20132 2005-08-30 Wim Taymans <wim@fluendo.com>
20134 * check/elements/fakesrc.c: (setup_fakesrc):
20135 * check/elements/identity.c: (setup_identity):
20136 Activate pads before using them.
20138 2005-08-30 Wim Taymans <wim@fluendo.com>
20140 * gst/base/gstadapter.c: (gst_adapter_flush):
20141 Flushing out 0 bytes is ok for this function.
20143 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20144 no newsegment gives a warning and sets the start/stop to
20147 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20148 (gst_base_transform_set_passthrough):
20151 * gst/gstminiobject.c: (gst_mini_object_ref):
20152 Check refcount here too.
20154 * gst/gstpad.c: (gst_pad_init):
20155 Pads are initially flushing and refusing data.
20157 * gst/gstutils.c: (gst_element_link_pads_filtered):
20158 When adding a capsfilter element make sure it has the
20159 same state as the parent bin.
20161 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20163 * docs/gst/tmpl/.cvsignore:
20164 * docs/gst/tmpl/gstformat.sgml:
20165 * docs/gst/tmpl/gstversion.sgml:
20169 * gst/gstversion.h.in:
20170 more docs and two more inlined
20172 2005-08-30 Wim Taymans <wim@fluendo.com>
20174 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20175 Don't sync to clock.
20177 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20179 * docs/gst/gstreamer-sections.txt:
20180 ultral33t func10ns deserve to appear in the docs actually
20181 * docs/gst/tmpl/.cvsignore:
20182 * docs/gst/tmpl/gstcompat.sgml:
20183 * docs/gst/tmpl/gstconfig.sgml:
20184 * gst/check/gstcheck.c:
20186 * gst/gstconfig.h.in:
20189 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20191 * docs/gst/tmpl/.cvsignore:
20192 * docs/gst/tmpl/gstquery.sgml:
20193 * docs/gst/tmpl/gstutils.sgml:
20196 inlined and extended docs
20198 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20200 * check/gst-libs/controller.c: (GST_START_TEST),
20201 (gst_controller_suite):
20203 * docs/gst/tmpl/gstutils.sgml:
20204 * docs/libs/gstreamer-libs-sections.txt:
20205 * docs/libs/tmpl/gstdataprotocol.sgml:
20207 * examples/controller/audio-example.c: (main):
20208 controller example works now
20211 * tools/gst-inspect.c: (print_element_properties_info):
20212 show param spec flags
20214 2005-08-29 Andy Wingo <wingo@pobox.com>
20216 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20218 2005-08-28 Andy Wingo <wingo@pobox.com>
20220 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20221 as having two arguments instead of just one. Allows superclasses
20222 to access information on subclasses -- see the terrible for() loop
20223 in gtype.c:g_type_create_instance for the reason why. All callers
20226 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20228 * docs/design/part-messages.txt:
20230 * docs/gst/tmpl/.cvsignore:
20231 * docs/gst/tmpl/gstcaps.sgml:
20232 * docs/gst/tmpl/gstclock.sgml:
20238 * gst/gstmessage.c:
20239 added descriptions for bus and message
20240 inline caps and clock docs
20242 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20244 * gst/gstmessage.c:
20245 * gst/gstmessage.h:
20248 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20250 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20253 2005-08-26 Andy Wingo <wingo@pobox.com>
20255 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20256 element_set_state's return val.
20257 (test_2_elements): Add test that's been disabled for months.
20259 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20260 can-activate-pull properties.
20262 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20263 can-activate-pull properties. Implement is_seekable so fakesrc can
20264 operate in pull mode.
20266 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20268 (gst_base_sink_activate, gst_base_sink_activate_pull)
20269 (gst_base_sink_activate_push): Make activation mode choosing work.
20271 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20272 is right. Make pull mode work. Post an eos before pausing in pull
20274 (gst_base_sink_change_state): Pay attention to the core's
20275 change_state() return val.
20277 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20278 has-getrange properties. Cleanups.
20280 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20281 has_getrange and replace with can_activate_pull and
20284 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20285 locking comments. Remove has_loop, has_chain and replace with
20286 can_activate_pull and can_activate_push.
20288 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20291 * examples/Makefile.am:
20292 * examples/metadata/Makefile.am:
20293 * examples/metadata/read-metadata.c: (message_loop),
20294 (have_pad_handler), (make_pipeline), (print_tag), (main):
20295 Add metadata reading example that loops over a list of filenames,
20296 dumping any tags found.
20298 * gst/gstbus.c: (gst_bus_dispose):
20299 * gst/gstelement.c: (gst_element_dispose):
20300 Release a few potentially-held references in dispose.
20302 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20304 * docs/gst/tmpl/gstminiobject.sgml:
20305 do *not* add tmpl/*.sgml files to CVS!
20307 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20309 * libs/gst/bytestream/.cvsignore:
20310 * libs/gst/bytestream/Makefile.am:
20311 * libs/gst/bytestream/adapter.c:
20312 * libs/gst/bytestream/adapter.h:
20313 * libs/gst/bytestream/bytestream.c:
20314 * libs/gst/bytestream/bytestream.h:
20315 * libs/gst/bytestream/filepad.c:
20316 * libs/gst/bytestream/filepad.h:
20317 removing obsolete files
20319 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20321 * docs/gst/gstreamer-docs.sgml:
20322 * docs/libs/gstreamer-libs-docs.sgml:
20323 disabed additional index entries again, as this makes docs-gen just
20324 slow and they aren't useful yet
20325 * docs/libs/gstreamer-libs-sections.txt:
20326 little -section.txt cleanup for libs
20328 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20330 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20331 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20332 fix up some debugging
20333 (gst_base_transform_get_unit_size),
20334 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20335 (gst_base_transform_handle_buffer):
20336 * gst/base/gstbasetransform.h:
20337 handle and store timed NEWSEGMENT events so that subclasses that
20338 calculate time by counting samples have a segment_start time they
20339 need to add to their timestamps - see audioresample
20341 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20344 removed ';' from the end of macro defs
20345 * docs/gst/gstreamer-docs.sgml:
20346 * docs/gst/gstreamer-sections.txt:
20347 * docs/gst/tmpl/.cvsignore:
20349 * gst/gstelement.c: (gst_element_class_init),
20350 (gst_element_set_state), (activate_pads),
20351 (gst_element_save_thyself):
20352 * gst/gstevent.c: (gst_event_new_newsegment):
20354 * gst/gstiterator.c:
20355 * gst/gstiterator.h:
20358 * gst/gstutils.c: (gst_pad_query_convert):
20360 fixed parameter name mismatches between source, header and docs
20361 added some more docs, resolved the last batch of unused elements in
20362 docs (now someone needs to doc them)
20364 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20366 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20367 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20368 don't walk through the plugins backwards. Where is all this
20369 reversed logic coming from ?
20371 2005-08-25 Wim Taymans <wim@fluendo.com>
20373 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20374 (gst_base_transform_transform_size),
20375 (gst_base_transform_configure_caps),
20376 (gst_base_transform_get_unit_size),
20377 (gst_base_transform_buffer_alloc),
20378 (gst_base_transform_change_state):
20379 * gst/base/gstbasetransform.h:
20380 Cache caps unit_size.
20381 Make sure we cannot negotiate up and downstream at the
20384 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20386 * gst/gst.c: (init_pre), (init_post):
20387 register the installed plugin path after the env var
20388 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20389 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20390 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20391 directories, so the tests can prefer uninstalled over installed
20393 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20395 * gst/base/gstbasetransform.h:
20400 2005-08-25 Wim Taymans <wim@fluendo.com>
20402 * gst/gstbin.c: (bin_bus_handler):
20403 Be a bit more conservative about the posted message.
20405 * gst/gstbus.c: (gst_bus_post):
20406 Some cleanups, warn wrong return values.
20408 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20410 * check/gst/gstbin.c: (GST_START_TEST):
20411 * gst/gstbin.c: (bin_bus_handler):
20412 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20413 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20414 (gst_message_new_warning), (gst_message_new_tag),
20415 (gst_message_new_state_changed), (gst_message_new_segment_start),
20416 (gst_message_new_segment_done), (gst_message_new_custom):
20417 * gst/gstmessage.h:
20418 * tools/gst-launch.c: (event_loop):
20419 * tools/gst-md5sum.c: (event_loop):
20420 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20422 2005-08-25 Wim Taymans <wim@fluendo.com>
20424 * check/generic/states.c: (GST_START_TEST):
20425 Cleanup can be done at the end.
20427 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20428 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20429 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20430 Oh boy.. Thanks for finding this, Thomas.
20432 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20434 * docs/gst/gstreamer.types:
20435 added missing types
20437 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20439 * docs/gst/gstreamer-docs.sgml:
20440 * docs/gst/gstreamer-sections.txt:
20441 * docs/gst/tmpl/.cvsignore:
20443 * gst/gstiterator.c:
20445 * gst/registries/gstxmlregistry.h:
20446 added missing classes and symbols (123 more to go)
20447 removed removed symbols from section file
20448 fixed many doc-comments
20450 2005-08-24 Wim Taymans <wim@fluendo.com>
20452 * check/generic/states.c: (GST_START_TEST):
20453 Make sure all tasks are stopped.
20455 * check/gst/gstbin.c: (GST_START_TEST):
20456 Unref after usage for proper valgrinding.
20458 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20459 Really wait for the task to stop before destroying the
20462 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20463 (gst_queue_src_activate_push):
20464 Small cleanups. Don't stop the task when we did not start
20467 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20468 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20469 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20472 Protect the stream lock with the object lock.
20473 Disallow setting the stream lock when running.
20474 Add cleanup_all to wait for the threadpool to finish.
20475 Remove code to autoallocate a mutex if none was provided.
20476 Add _join() to wait for a task to stop.
20477 Protect the thread pool with a global lock.
20479 2005-08-24 Wim Taymans <wim@fluendo.com>
20481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20482 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20483 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20484 * gst/base/gstbasesink.h:
20485 Handle newsegment events correctly.
20486 Drop buffers out of the segment range.
20488 2005-08-22 Andy Wingo <wingo@pobox.com>
20490 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20491 macro, implements an interface and gstimplementsinterface for a
20494 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20496 * check/Makefile.am:
20497 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20498 add a test that does a bunch of state changes on elements
20499 needs some fixing for valgrind
20500 * check/states/sinks.c: (gst_object_suite):
20503 add prototype for gst_caps_is_equal_fixed
20505 * gst/gstregistrypool.c:
20508 2005-08-24 Andy Wingo <wingo@pobox.com>
20510 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20511 convert a negative value. Doesn't make much sense. Mostly this is
20512 here to force callers to ensure -1 maps to -1.
20514 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20516 * docs/pwg/advanced-types.xml:
20517 Well done to Michael for catching my deliberate introduction
20518 of this spelling mistake.
20519 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20520 * gst/gstelement.h:
20521 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20522 unlink pads before removing the element from the bin.
20524 2005-08-24 Andy Wingo <wingo@pobox.com>
20526 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20527 the same thing as GST_DEBUG=*:4.
20528 (parse_debug_level, parse_debug_category): New helper parsers.
20530 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20532 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20533 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20534 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20535 (gst_base_transform_buffer_alloc),
20536 (gst_base_transform_handle_buffer):
20537 use gboolean return values and pointers to size so we can use the
20538 full GST_BUFFER_SIZE range (guint) for buffer sizes
20539 use GstPadDirection for transform_caps
20540 * gst/base/gstbasetransform.h:
20541 rename get_size to get_unit_size since that's what it is
20542 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20543 use GstPadDirection for transform_caps
20544 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20546 cleanup and debugging
20548 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20550 * gst/gstelement.c: (gst_element_class_init),
20551 (gst_element_set_state), (activate_pads),
20552 (gst_element_save_thyself):
20553 * tools/gst-compprep.c: (main):
20554 * tools/gst-inspect.c: (print_element_properties_info):
20555 * tools/gst-xmlinspect.c: (print_element_properties):
20556 Fixed long standing mem-leak
20558 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20560 * check/gst/gstbin.c: (GST_START_TEST):
20561 * gst/gstbin.c: (bin_bus_handler):
20562 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20563 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20564 (gst_message_new_warning), (gst_message_new_tag),
20565 (gst_message_new_state_changed), (gst_message_new_segment_start),
20566 (gst_message_new_segment_done), (gst_message_new_custom):
20567 * gst/gstmessage.h:
20568 * tools/gst-launch.c: (event_loop):
20569 * tools/gst-md5sum.c: (event_loop):
20570 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20571 that applications can sensibly post custom messages with references
20572 to their own objects.
20574 2005-08-24 Andy Wingo <wingo@pobox.com>
20576 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20579 2005-08-24 Wim Taymans <wim@fluendo.com>
20581 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20582 (gst_base_transform_transform_caps),
20583 (gst_base_transform_transform_size),
20584 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20585 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20586 (gst_base_transform_handle_buffer):
20587 * gst/base/gstbasetransform.h:
20588 Many fixes and new features added by Thomas. Can now also do
20589 transforms with variable sizes and a custom fixate_caps function.
20591 2005-08-24 Wim Taymans <wim@fluendo.com>
20593 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20597 Cast to ClockTime before formatting to time.
20602 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20604 * check/gst-libs/controller.c: (GST_START_TEST),
20605 (gst_controller_suite):
20606 * docs/gst/tmpl/gstcaps.sgml:
20607 * docs/gst/tmpl/gstghostpad.sgml:
20608 * docs/gst/tmpl/gstquery.sgml:
20609 * docs/gst/tmpl/gstutils.sgml:
20610 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20611 (gst_object_sink_values), (gst_object_get_value_arrays),
20612 (gst_object_get_value_array):
20613 gracefully handle helper method calls to objects that are not beeing
20614 controlled, added test case for that
20616 2005-08-23 Wim Taymans <wim@fluendo.com>
20618 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20619 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20620 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20621 (gst_event_parse_qos), (gst_event_new_seek),
20622 (gst_event_parse_seek):
20624 Some more debugging output and doc cleanups.
20626 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20627 Fix possible deadlock.
20629 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20631 * docs/gst/gstreamer-docs.sgml:
20632 * docs/gst/gstreamer-sections.txt:
20633 * docs/gst/gstreamer.types:
20634 * docs/gst/tmpl/.cvsignore:
20637 * gst/gstelement.c:
20639 added 100 symbols from gstreamer-unused.txt to the right sections
20640 fixed more broken comments
20641 added GstBus to docs
20643 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20645 * docs/gst/gstreamer-sections.txt:
20646 * docs/gst/tmpl/.cvsignore:
20647 * docs/gst/tmpl/gstbin.sgml:
20648 * docs/gst/tmpl/gstbuffer.sgml:
20649 * gst/base/gstbasesrc.c:
20650 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20653 * tools/gst-launch.1.in:
20654 inlined more doc comments, added missing comments and fixed comments
20657 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20659 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20663 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20665 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20666 * gst/gststructure.h:
20667 add a fixate function for booleans; add a FIXME that these func
20668 names should probably be gst_structure_fixate_*
20670 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20672 * docs/gst/gstreamer-docs.sgml:
20673 * docs/gst/gstreamer-sections.txt:
20675 * gst/gstbin.c: (gst_bin_get_type),
20676 (gst_bin_child_proxy_get_child_by_index),
20677 (gst_bin_child_proxy_get_children_count),
20678 (gst_bin_child_proxy_init):
20679 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20680 (gst_child_proxy_get_child_by_index),
20681 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20682 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20683 (gst_child_proxy_get), (gst_child_proxy_set_property),
20684 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20685 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20686 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20687 * gst/gstchildproxy.h:
20688 * gst/parse/grammar.y:
20689 * tools/gst-inspect.c: (print_interfaces),
20690 (print_element_properties_info), (print_element_info):
20691 ported gstchildproxy over from 0.8
20692 ported gst-inspect fixes and enhancements over from 0.8
20694 2005-08-22 Wim Taymans <wim@fluendo.com>
20696 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20697 (gst_base_transform_handle_buffer):
20698 Also call the transform function if we have ANY caps.
20700 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20703 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20705 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20706 Don't pretend to handle seek events if the source is not seekable
20708 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20710 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20711 Remove extra parameter to debug output
20713 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20714 (gst_base_src_do_seek), (gst_base_src_activate_push):
20715 Fix seek event handling.
20717 * gst/gstpipeline.c: (gst_pipeline_change_state):
20718 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20719 (gst_queue_src_activate_push):
20720 Don't start the src pad task on FLUSH_STOP if the pad
20724 2005-08-22 Wim Taymans <wim@fluendo.com>
20726 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20727 Added check for gst_static_caps_get() refcounting.
20729 2005-08-22 Wim Taymans <wim@fluendo.com>
20731 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20732 Make _static_caps_get() refcounting sane.
20734 * gst/gstelement.c: (gst_element_set_state):
20735 Add g_return_val_if_fail() to protect against segfaults.
20737 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20739 * docs/gst/tmpl/gstevent.sgml:
20742 inlined remaining docs, added missing doc comments
20744 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20746 * check/gst/gstbin.c: (GST_START_TEST):
20747 since we don't know when preroll is done, use refcount range
20749 * gst/check/gstcheck.h:
20750 add macro for checking refcount range
20752 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20754 * check/Makefile.am:
20755 clean up environment for when registry gets built versus
20756 when actual tests are run; valgrind seems to not report
20757 leaks if GST_PLUGIN_PATH is set to some specific values
20758 * check/gst/gstbin.c: (GST_START_TEST):
20759 add more refcounting checks; maybe this exposes a
20761 * common/check.mak:
20762 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20763 * gst/check/gstcheck.h:
20764 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20765 (gst_bin_change_state):
20766 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20767 add/fix debugging/whitespace
20769 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20771 * check/gst/gstevent.c: (event_probe), (test_event),
20773 Er, don't call gst_bin_watch_for_state_change you idiot.
20775 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20777 * check/Makefile.am:
20778 Use CHECK_CFLAGS and CHECK_LIBS
20779 * check/gst/gstevent.c: (event_probe), (test_event),
20782 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20783 (gst_base_src_start), (gst_base_src_stop),
20784 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20785 (gst_base_src_change_state):
20786 Sprinkle gst_base_src_stop liberally around error paths to fix
20787 problems reusing a source after failed state changes.
20788 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20789 (helper_find_suggest), (gst_type_find_helper):
20790 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20792 * docs/gst/tmpl/gstevent.sgml:
20793 Migrate part of the docs from the SGML file. Wait for ensonic to
20794 tell me how I did it wrong ;)
20795 * tools/gst-typefind.c: (main):
20796 Extra robustness to state changes between files.
20798 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20800 * check/Makefile.am:
20801 don't valgrind the controller test - it's leaking - Stefan, HELP
20802 * gst/check/gstcheck.c: (gst_check_message_error),
20803 (gst_check_chain_func), (gst_check_setup_element),
20804 (gst_check_teardown_element), (gst_check_setup_src_pad),
20805 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20806 (gst_check_teardown_sink_pad):
20807 * gst/check/gstcheck.h:
20808 add a bunch of methods to set up elements, and src and sink pads
20809 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20810 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20813 * gst/gstmessage.c:
20815 whitespace/doc fixes
20817 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20819 * gst/gstelement.h:
20820 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20821 be handled by the application and not always printed as well
20823 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20825 * check/Makefile.am:
20827 * gst/check/gstcheck.c: (gst_check_message_error):
20828 * gst/check/gstcheck.h:
20829 add a fail_unless_equals_int
20830 add fail_unless for error messages
20832 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20834 * check/Makefile.am:
20836 * common/Makefile.am:
20837 * common/check.mak:
20839 factor out some of the common stuff so we can use it
20841 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20843 * check/Makefile.am:
20844 * check/gst/gstiterator.c: (GST_START_TEST):
20845 * check/gst/gstsystemclock.c: (GST_START_TEST),
20846 (gst_systemclock_suite):
20847 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20849 valgrind more tests
20851 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20853 * check/elements/.cvsignore:
20854 * check/elements/gstfakesrc.c:
20855 rename to name of element
20856 * check/elements/identity.c: (chain_func), (event_func),
20857 (setup_identity), (cleanup_identity), (GST_START_TEST),
20858 (identity_suite), (main):
20859 add a test for identity
20860 * check/Makefile.am:
20861 * pkgconfig/Makefile.am:
20862 * pkgconfig/gstreamer-check.pc.in:
20863 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20867 move the check stuff to a library that gets installed
20868 * check/gst-libs/controller.c: (GST_START_TEST):
20869 * check/gst-libs/gdp.c:
20870 * check/gst/gst.c: (GST_START_TEST):
20871 * check/gst/gstbin.c:
20872 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20873 * check/gst/gstbus.c:
20874 * check/gst/gstcaps.c: (GST_START_TEST):
20875 * check/gst/gstelement.c:
20876 * check/gst/gstghostpad.c:
20877 * check/gst/gstiterator.c:
20878 * check/gst/gstmessage.c:
20879 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20880 * check/gst/gstobject.c:
20881 * check/gst/gstpad.c: (GST_START_TEST):
20882 * check/gst/gststructure.c: (GST_START_TEST):
20883 * check/gst/gstsystemclock.c: (GST_START_TEST),
20884 (gst_systemclock_suite):
20885 * check/gst/gsttag.c: (gst_tag_suite):
20886 * check/gst/gstvalue.c:
20887 * check/pipelines/cleanup.c:
20888 * check/pipelines/simple_launch_lines.c:
20889 * check/states/sinks.c:
20890 change include statement
20892 * docs/gst/gstreamer-sections.txt:
20893 * docs/gst/tmpl/gstpad.sgml:
20894 document more pad stuff
20895 * gst/gstminiobject.c: (gst_mini_object_ref),
20896 (gst_mini_object_unref):
20899 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20901 * docs/gst/tmpl/gst.sgml:
20903 eliminate another tmpl file, fix spelling in the long-description
20905 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20907 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20908 (test_event), (timediff), (gstevents_suite):
20909 Should fix build on 64-bit arch's
20911 2005-08-18 Andy Wingo <wingo@pobox.com>
20913 Make sure that when a pipeline goes to PLAYING, that data has
20914 actually hit the sink.
20916 * check/states/sinks.c (test_sink): A sink that doesn't get any
20917 data shouldn't return SUCCESS for going to either PLAYING or
20918 PAUSED. Test also the return values on the way back down.
20920 * gst/gstelement.c (gst_element_set_state): When changing the
20921 state of an element currently changing state asynchronously, go to
20922 lost-state after commiting the pending state. Makes future calls
20923 to get_state continue to return ASYNC.
20925 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20926 ASYNC when going to PLAYING if we still don't have preroll, as can
20927 happen with live sources.
20929 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20931 * docs/pwg/advanced-types.xml:
20932 Hack long paragraph into 2 chunks as a workaround for buggy
20933 jadetex version in sid and breezy that loops infinitely and
20936 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20938 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20939 (test_event), (timediff), (gstevents_suite):
20940 Provide more error margin in clock measurements to allow for
20941 g_get_current_time inaccuracies.
20943 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20945 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20946 (test_event), (timediff), (gstevents_suite):
20947 Fix error message output so I might be able to tell why the
20948 test works here but fails on the build farm.
20950 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20952 * check/Makefile.am:
20953 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20954 (test_event), (timediff), (gstevents_suite), (main):
20957 * docs/design/part-seeking.txt:
20958 Spelling correction
20960 * docs/gst/tmpl/gstevent.sgml:
20961 * docs/gst/tmpl/gstfakesrc.sgml:
20964 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20965 Treat a buffer-without-newsegment the same as a receiving
20966 a newsegment not in time format, and disable syncing to the clock
20969 * gst/gstbus.c: (gst_bus_set_sync_handler):
20970 Assert if anyone tries to replace the existing sync_handler for bus,
20971 as only the owner should be setting it.
20974 Have a fixed set of custom event enums with events identified by
20975 their structure name (as in 0.8), rather than a free-for-all
20976 allowing collisions between enum values from different plugins.
20978 * gst/gstpad.c: (gst_pad_class_init):
20981 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20982 Handle out-of-band downstream events from the sending thread.
20984 2005-08-17 Andy Wingo <wingo@pobox.com>
20986 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20987 play-timeout==0 to mean no timeout at all. In that case, don't
20988 bother with a get_state or a warning, just return directly, even
20991 * gst/base/gstbasetransform.c: Debug changes.
20994 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20995 ensure bins post state change messages. A bit of a hack but I can't
20996 think of a way to avoid it.
20998 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21000 2005-08-16 Andy Wingo <wingo@pobox.com>
21002 * gst/base/gstadapter.h:
21003 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21004 peek() but you own the data. Not terribly efficient atm.
21006 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21008 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21009 (gst_element_found_tags):
21011 Add two utility functions for tag handling.
21013 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21015 * docs/manual/advanced-dataaccess.xml:
21016 * docs/manual/basics-helloworld.xml:
21017 Fix docs to use _bin_add() before _link(), which fixes the examples
21018 with recent core versions (reported by Madhan Raj M
21019 <raj_madan@rediffmail.com>, #313199).
21021 2005-08-16 Wim Taymans <wim@fluendo.com>
21023 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21024 Added subtract checks.
21026 * docs/design/part-events.txt:
21027 Some more docs about newsegment
21029 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21032 * gst/gstcaps.c: (gst_caps_to_string):
21033 Add comments, cleanups.
21035 * gst/gstelement.c: (gst_element_save_thyself):
21038 * gst/gstvalue.c: (gst_value_collect_int_range),
21039 (gst_string_unwrap), (gst_value_union_int_int_range),
21040 (gst_value_union_int_range_int_range),
21041 (gst_value_intersect_int_int_range),
21042 (gst_value_intersect_int_range_int_range),
21043 (gst_value_intersect_double_double_range),
21044 (gst_value_intersect_double_range_double_range),
21045 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21046 (gst_value_subtract_int_range_int),
21047 (gst_value_subtract_double_range_double),
21048 (gst_value_subtract_double_range_double_range),
21049 (gst_value_subtract_from_list), (gst_value_subtract_list),
21050 (gst_value_can_compare), (gst_value_compare_fraction):
21051 Cleanups, add comments, remove unneeded asserts.
21053 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21055 * tools/gst-launch.c: (event_loop):
21056 don't convert NULL structures to strings
21058 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21060 * docs/gst/gstreamer-sections.txt:
21061 made some defines private
21062 * docs/gst/tmpl/gstconfig.sgml:
21063 * docs/gst/tmpl/gstqueue.sgml:
21064 * docs/gst/tmpl/gsttaglist.sgml:
21065 * docs/gst/tmpl/gsttypes.sgml:
21066 * docs/gst/tmpl/gstutils.sgml:
21067 * docs/pwg/appendix-porting.xml:
21068 * gst/base/gstbasesink.h:
21069 * gst/base/gstbasesrc.c:
21070 * gst/base/gstbasesrc.h:
21071 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21072 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21073 * gst/gstelement.c: (gst_element_class_init):
21074 * gst/gstpad.c: (gst_pad_class_init):
21075 * gst/gstqueue.c: (gst_queue_class_init):
21076 * gst/gstxml.c: (gst_xml_class_init):
21077 documented all undocumented signal inline
21078 * libs/gst/controller/gst-controller.h:
21081 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21083 * docs/pwg/appendix-porting.xml:
21084 Document _set_link_function -> _set_setcaps_function.
21086 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21088 * check/Makefile.am:
21089 add a .check target for running the check
21090 * check/gst-libs/controller.c: (GST_START_TEST):
21092 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21093 complete checks for gstbuffer; would be nice if I could get the
21094 gcov stuff to work so I can see if I actually completed gstbuffer.c
21095 * check/gstcheck.h:
21096 add ASSERT_BUFFER_REFCOUNT
21098 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21100 * docs/gst/gstreamer-sections.txt:
21101 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21103 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21104 spew out a warning if a tag that is already registered
21105 is re-registered, unless it is re-registered with a
21106 different type (#308438).
21108 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21110 * docs/pwg/appendix-porting.xml:
21111 * docs/pwg/building-state.xml:
21112 Add some paragraphs about state changes in 0.9 to the PWG
21113 and the porting guide, in particular about the new meaning
21114 of GST_STATE_PAUSED and how to write state change functions
21115 with concurrent access by multiple threads in mind.
21117 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21119 * docs/gst/gstreamer-docs.sgml:
21120 * docs/libs/gstreamer-libs-docs.sgml:
21121 added deprecation and since indexes
21122 * libs/gst/controller/gst-controller.c:
21123 * libs/gst/controller/gst-helper.c:
21127 2005-08-11 Wim Taymans <wim@fluendo.com>
21129 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21130 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21131 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21132 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21133 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21134 (gst_ghost_pad_set_target):
21135 Actually implement (re)setting the target on a ghostpad
21136 as described in the docs.
21138 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21140 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21141 Check whether GST_DEBUG_NO_COLOR environment variable is
21142 set and disable coloured debug output if that is the case.
21144 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21146 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21147 (gst_type_find_helper):
21148 The memory returned by gst_type_find_peek() needs to
21149 stay valid until the end of a typefind function, and
21150 typefind functions may keep results from different
21151 offsets around, so we can't just unref the buffer from
21152 the previous _peek(), but have to save all buffers
21153 returned by _peek() until typefinding is done and only
21156 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21158 * docs/gst/gstreamer-sections.txt:
21160 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21162 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21164 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21165 Fix a pretty good memleak.
21167 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21169 * gst/gstiterator.h:
21170 Fix wrong include and 'make distcheck'.
21172 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21174 * gst/gstbin.c: (bin_bus_handler):
21175 Use gst_element_post_message() instead.
21177 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21179 * gst/base/gstadapter.h:
21180 * gst/base/gstbasesink.h:
21181 * gst/base/gstbasesrc.h:
21182 * gst/base/gstbasetransform.h:
21183 * gst/base/gstcollectpads.h:
21184 * gst/base/gstpushsrc.h:
21185 * gst/gstiterator.h:
21186 Add padding to our base elements' class and instance structs and
21187 to GstIterator (you will need to rebuild all plugins and apps!)
21189 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21191 * gst/gstbin.c: (bin_bus_handler):
21192 Make default message forwarding from child->bus to bin->bus
21193 threadsafe and make it not emit warnings if the parent has no bus.
21195 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21197 * gst/gstelement.c: (activate_pads):
21198 On paused->ready, set pad->caps to NULL, as is the documented
21199 behaviour in this state change. Fixes playback of series of
21200 media files when visualization is enabled in Totem.
21202 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21204 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21205 Allow NULL as filter-caps (which means "any").
21207 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21209 * docs/libs/gstreamer-libs-sections.txt:
21210 * libs/gst/controller/gst-controller.c:
21211 * libs/gst/controller/gst-controller.h:
21212 * libs/gst/controller/gst-helper.c:
21213 adding more entries to the docs and fix small doc-bugs
21215 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21217 * docs/gst/gstreamer-docs.sgml:
21218 * docs/gst/gstreamer-sections.txt:
21219 * docs/gst/gstreamer.types:
21220 * docs/gst/tmpl/gstbasesink.sgml:
21221 * docs/gst/tmpl/gstbasesrc.sgml:
21222 * docs/gst/tmpl/gstbasetransform.sgml:
21223 * docs/gst/tmpl/gstfakesrc.sgml:
21224 * gst/base/gstcollectpads.c:
21225 * gst/base/gstcollectpads.h:
21226 * libs/gst/controller/gst-controller.c:
21227 * libs/gst/controller/gst-controller.h:
21228 * libs/gst/controller/gst-helper.c:
21229 * libs/gst/controller/gst-interpolation.c:
21230 * libs/gst/controller/lib.c:
21231 added long/short desc for controller docs
21232 added collectpads base class docs
21233 added correct includes to base-class docs
21235 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21237 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21238 (gst_test_mono_source_set_property),
21239 (gst_test_mono_source_class_init), (GST_START_TEST),
21240 (gst_controller_suite):
21241 * docs/gst/gstreamer-docs.sgml:
21242 * docs/gst/gstreamer-sections.txt:
21243 * docs/gst/gstreamer.types:
21244 * docs/libs/gstreamer-libs-docs.sgml:
21245 * docs/libs/gstreamer-libs-sections.txt:
21246 * gst/base/gstadapter.c:
21247 * libs/gst/controller/gst-controller.c:
21248 (gst_controlled_property_new), (gst_controlled_property_free),
21249 (gst_controller_new_valist),
21250 (gst_controller_remove_properties_valist),
21251 (gst_controller_sink_values), (_gst_controller_finalize):
21252 * libs/gst/controller/gst-controller.h:
21253 * libs/gst/controller/gst-helper.c:
21254 (gst_object_control_properties), (gst_object_uncontrol_properties),
21255 (gst_object_get_controller), (gst_object_set_controller),
21256 (gst_object_sink_values), (gst_object_get_value_arrays),
21257 (gst_object_get_value_array):
21258 more tests (and fixes) for the controller
21259 more docs for the controller
21260 integrated companies docs for the adapter
21262 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21264 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21265 (GST_START_TEST), (fakesrc_suite):
21266 add tests for sizetype
21268 2005-08-04 Andy Wingo <wingo@pobox.com>
21270 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21271 fixes buffer_alloc proxying among other things.
21273 * gst/base/gstbasetransform.c:
21274 * gst/base/gstbasetransform.h:
21275 Revert patch to gstbasetransform from 7-28 removing
21278 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21279 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21280 Semantics changed, should return not the size of the output buffer
21281 but the byte size of a buffer with a given caps.
21283 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21285 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21286 out) are not the pad caps until setcaps finishes.
21287 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21288 not-in-place case as well. Deal with changing from in-place to
21289 not-in-place within calling pad_alloc_buffer. Still a bit
21290 concerned about the overhead here...
21292 2005-08-03 Andy Wingo <wingo@pobox.com>
21294 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21295 fixating is an error.
21297 2005-08-04 Edward Hervey <edward@fluendo.com>
21299 * gst/base/gstadapter.h:
21300 Added gst_adapter_get_type() to the header
21302 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21304 * check/Makefile.am:
21305 * check/gst-libs/controller.c:
21306 * libs/gst/controller/gst-controller.c:
21307 (gst_controller_new_valist):
21308 added check test suite for the controller
21309 * gst/base/gstpushsrc.c:
21312 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21314 * docs/gst/Makefile.am:
21315 * docs/gst/gstreamer-docs.sgml:
21316 * docs/gst/gstreamer-sections.txt:
21317 * docs/gst/gstreamer.types:
21318 * docs/gst/tmpl/gstfakesrc.sgml:
21320 * gst/base/gstbasesink.c:
21321 * gst/base/gstbasesink.h:
21322 * gst/base/gstbasesrc.c:
21323 * gst/base/gstbasesrc.h:
21324 * gst/base/gstbasetransform.c:
21325 * gst/base/gstpushsrc.c:
21326 * gst/base/gstpushsrc.h:
21327 add short/long description docs to base classes
21328 add pushsrc to the docs
21329 remove consolidated doc fragments
21331 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21334 * docs/libs/Makefile.am:
21335 * docs/libs/gstreamer-libs-docs.sgml:
21336 * docs/libs/gstreamer-libs-sections.txt:
21337 * docs/libs/gstreamer-libs.types:
21338 * examples/Makefile.am:
21339 * examples/controller/.cvsignore:
21340 * examples/controller/Makefile.am:
21341 * examples/controller/audio-example.c: (main):
21342 * libs/gst/Makefile.am:
21343 * libs/gst/controller/.cvsignore:
21344 * libs/gst/controller/Makefile.am:
21345 * libs/gst/controller/gst-controller.c:
21346 (on_object_controlled_property_changed), (gst_timed_value_compare),
21347 (gst_timed_value_find),
21348 (gst_controlled_property_set_interpolation_mode),
21349 (gst_controlled_property_new), (gst_controlled_property_free),
21350 (gst_controller_find_controlled_property),
21351 (gst_controller_new_valist), (gst_controller_new),
21352 (gst_controller_remove_properties_valist),
21353 (gst_controller_remove_properties), (gst_controller_set),
21354 (gst_controller_set_from_list), (gst_controller_unset),
21355 (gst_controller_get), (gst_controller_get_all),
21356 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21357 (gst_controller_get_value_array),
21358 (gst_controller_set_interpolation_mode),
21359 (_gst_controller_finalize), (_gst_controller_init),
21360 (_gst_controller_class_init), (gst_controller_get_type):
21361 * libs/gst/controller/gst-controller.h:
21362 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21363 (g_object_uncontrol_properties), (g_object_get_controller),
21364 (g_object_set_controller), (g_object_sink_values),
21365 (g_object_get_value_arrays), (g_object_get_value_array):
21366 * libs/gst/controller/gst-interpolation.c:
21367 (gst_controlled_property_find_timed_value_node),
21368 (interpolate_none_get), (interpolate_trigger_get),
21369 (interpolate_trigger_get_value_array):
21370 * libs/gst/controller/lib.c: (gst_controller_init):
21371 * pkgconfig/Makefile.am:
21372 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21373 * pkgconfig/gstreamer-control.pc.in:
21374 * testsuite/Makefile.am:
21375 * testsuite/controller/.cvsignore:
21376 * testsuite/controller/Makefile.am:
21377 * testsuite/controller/interpolator.c: (main):
21378 added controller code
21379 removed dparam pc files
21381 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21382 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21383 (gst_collectpads_stop):
21384 Broadcast the condition when shutting down, to make sure we wake all
21385 threads up. Shut down pads on finalize, for safety.
21387 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21388 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21389 (gst_base_transform_handle_buffer),
21390 (gst_base_transform_change_state):
21391 Handle PAUSED->READY->PAUSED transition after negotiation
21393 * gst/gstmessage.c: (gst_message_init):
21394 Extra piece of debug for new messages.
21396 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21399 * docs/gst/tmpl/gstbasesrc.sgml:
21400 * docs/gst/tmpl/gstelement.sgml:
21401 * docs/gst/tmpl/gstevent.sgml:
21402 * docs/gst/tmpl/gstfakesrc.sgml:
21403 * docs/gst/tmpl/gstformat.sgml:
21404 * docs/gst/tmpl/gstghostpad.sgml:
21405 * docs/gst/tmpl/gstpad.sgml:
21406 * docs/gst/tmpl/gstquery.sgml:
21407 * docs/gst/tmpl/gststructure.sgml:
21408 * docs/gst/tmpl/gsttaglist.sgml:
21409 * docs/gst/tmpl/gstvalue.sgml:
21410 * docs/libs/gstreamer-libs-docs.sgml:
21411 * docs/libs/gstreamer-libs-sections.txt:
21412 * docs/libs/gstreamer-libs.types:
21413 * libs/gst/Makefile.am:
21414 * libs/gst/control/.cvsignore:
21415 * libs/gst/control/Makefile.am:
21416 * libs/gst/control/control.c:
21417 * libs/gst/control/control.h:
21418 * libs/gst/control/dparam.c:
21419 * libs/gst/control/dparam.h:
21420 * libs/gst/control/dparam_smooth.c:
21421 * libs/gst/control/dparam_smooth.h:
21422 * libs/gst/control/dparamcommon.h:
21423 * libs/gst/control/dparammanager.c:
21424 * libs/gst/control/dparammanager.h:
21425 * libs/gst/control/dplinearinterp.c:
21426 * libs/gst/control/dplinearinterp.h:
21427 * libs/gst/control/unitconvert.c:
21428 * libs/gst/control/unitconvert.h:
21429 * testsuite/Makefile.am:
21430 * testsuite/dynparams/.cvsignore:
21431 * testsuite/dynparams/Makefile.am:
21432 * testsuite/dynparams/dparamstest.c:
21433 * tools/Makefile.am:
21434 * tools/gst-inspect.c: (print_element_info), (main):
21435 * tools/gst-xmlinspect.c: (print_element_info), (main):
21436 deactivate and remove dparams (libgstcontrol)
21438 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21440 * gst/elements/gsttypefindelement.c:
21441 (gst_type_find_element_have_type), (gst_type_find_element_init),
21442 (stop_typefinding), (gst_type_find_element_handle_event),
21443 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21444 * gst/elements/gsttypefindelement.h:
21445 Set caps on all outgoing buffers, not just the first one.
21447 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21449 * gst/elements/gsttypefindelement.c:
21450 (gst_type_find_element_have_type),
21451 (gst_type_find_element_check_set_buffer_caps),
21452 (gst_type_find_element_init), (stop_typefinding),
21453 (gst_type_find_element_handle_event),
21454 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21455 * gst/elements/gsttypefindelement.h:
21456 Set caps on first outgoing buffer when we've found the type.
21458 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21460 * docs/gst/gstreamer-docs.sgml:
21461 * docs/gst/gstreamer-sections.txt:
21462 * docs/gst/tmpl/gstscheduler.sgml:
21463 * docs/gst/tmpl/gstschedulerfactory.sgml:
21464 Remove some old cruft from docs.
21466 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21469 Fix inline docs for GstPadLinkReturn.
21471 * gst/gststructure.c: (gst_structure_has_name):
21472 * gst/gststructure.h:
21473 * docs/gst/gstreamer-sections.txt:
21474 New API: gst_structure_has_name().
21476 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21479 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21480 and _LARGEFILE_SOURCE in config.h as required. Do not
21481 export those flags in our .pc files any longer (#142209).
21483 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21485 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21486 (gst_file_sink_do_seek), (gst_file_sink_event),
21487 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21488 Redo seek/tell calls with large file support in mind; add some
21489 debugging messages; add log message that tells us when large
21490 file support is unavailable or not enabled for some reason.
21492 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21493 Add log message that tells us when large file support
21494 is unavailable or not enabled for some reason.
21496 2005-07-29 Wim Taymans <wim@fluendo.com>
21498 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21499 Added test for removing an element with ghostpad from a bin.
21500 Fixed test as current implementation does the right thing.
21502 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21503 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21504 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21505 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21506 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21507 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21508 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21509 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21510 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21511 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21512 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21513 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21514 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21515 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21516 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21517 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21518 * gst/gstghostpad.h:
21519 Clean up ghostpads, remove properties for internal stuff.
21522 Prepare for switching targets, not all use cases work yet.
21524 2005-07-29 Wim Taymans <wim@fluendo.com>
21526 * docs/design/part-gstghostpad.txt:
21529 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21530 (gst_bin_remove_func):
21531 Unlinking pads while holding the bin LOCK is not a good
21534 * gst/gstpad.c: (gst_pad_class_init),
21535 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21536 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21537 No prob setting template after creating the pad.
21539 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21541 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21542 (gst_bus_peek), (gst_bus_source_dispatch),
21543 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21544 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21545 gst_bus_poll may be called from other threads. Handle
21546 this nicely by not making poll_data disappear off the
21547 stack once gst_bus_poll returns.
21548 gst_bus_peek now increments the refcount on the returned
21551 2005-07-29 Wim Taymans <wim@fluendo.com>
21553 * docs/design/part-gstghostpad.txt:
21554 Overview of current GhostPad datastructures and use
21555 cases for changing the target.
21557 2005-07-28 Wim Taymans <wim@fluendo.com>
21559 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21560 Added checks for hierarchy consistency whan adding linked
21563 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21564 Added check to test element scheduling without bin/pipeline.
21566 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21567 First add elements to bin, then link.
21569 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21570 (gst_bin_remove_func):
21571 Unlink pads from elements added/removed from bin to maintain
21572 hierarchy consistency.
21574 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21576 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21577 (gst_base_transform_handle_buffer):
21578 * gst/base/gstbasetransform.h:
21579 Remove broken delay_configure (fixes renegotiation of software
21580 scaling pipelines); remove some leftover printf()s.
21582 2005-07-28 Wim Taymans <wim@fluendo.com>
21584 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21585 Added some more tests for wrong hierarchy
21587 * docs/design/part-overview.txt:
21590 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21593 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21594 (gst_element_dispose):
21595 Some more cleanups.
21597 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21598 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21599 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21600 (gst_pad_set_caps), (gst_pad_send_event):
21601 Check for correct hierarchy when linking pads. Moving to
21602 strict requirement for ghostpads when linking elements in
21606 Clean ups. Added WRONG_HIERARCHY return value.
21608 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21610 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21611 Better debug if no transform is possible.
21613 2005-07-27 Wim Taymans <wim@fluendo.com>
21615 * docs/random/wtay/network-transp:
21616 Some old doc I had.
21618 2005-07-27 Wim Taymans <wim@fluendo.com>
21620 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21621 (gst_dp_event_from_packet):
21622 Fix serialization of seek events.
21624 2005-07-27 Wim Taymans <wim@fluendo.com>
21626 * check/gst-libs/gdp.c: (GST_START_TEST):
21627 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21628 Fix compilation and fix event serialization.
21630 2005-07-27 Wim Taymans <wim@fluendo.com>
21633 * docs/design/part-TODO.txt:
21634 * docs/design/part-events.txt:
21637 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21638 (gst_base_sink_event), (gst_base_sink_do_sync),
21639 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21640 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21641 (gst_base_src_do_seek), (gst_base_src_event_handler),
21642 (gst_base_src_loop):
21643 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21644 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21645 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21646 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21647 (gst_base_transform_set_passthrough),
21648 (gst_base_transform_is_passthrough):
21649 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21650 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21656 * gst/gstelement.c: (gst_element_seek):
21657 * gst/gstelement.h:
21658 Update gst_element_seek.
21660 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21661 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21662 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21663 (gst_event_new_eos), (gst_event_new_newsegment),
21664 (gst_event_parse_newsegment), (gst_event_new_tag),
21665 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21666 (gst_event_parse_qos), (gst_event_new_seek),
21667 (gst_event_parse_seek), (gst_event_new_navigation):
21669 Make GstEvent use GstStructure. Add parsing code, make sure the
21670 API is sufficiently generic.
21671 Mark possible directions of events and serialization.
21673 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21674 (_gst_message_copy), (gst_message_new_segment_start),
21675 (gst_message_new_segment_done), (gst_message_new_custom),
21676 (gst_message_parse_segment_start),
21677 (gst_message_parse_segment_done):
21680 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21681 (gst_pad_set_caps), (gst_pad_send_event):
21682 Update for new events.
21683 Catch events sent in wrong directions.
21685 * gst/gstqueue.c: (gst_queue_link_src),
21686 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21687 (gst_queue_handle_src_query):
21692 Remove event code from this file.
21694 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21695 (gst_dp_event_from_packet):
21698 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21700 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21701 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21702 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21703 Make debugging actually useful.
21705 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21707 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21708 (gst_pad_fixate_caps):
21709 Implement default fixation once again, so that gst_pad_fixate()
21710 actually does anything at all. This probably needs to be some
21711 sort of a last resort, and use profile-based fixation first, but
21712 since that doesn't exist yet, this is the best we have. Fixes
21713 visualization in Totem.
21715 2005-07-22 Wim Taymans <wim@fluendo.com>
21717 * docs/design/part-events.txt:
21720 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21721 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21722 (gst_base_sink_activate_pull):
21723 Some more comments.
21725 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21726 (gst_fake_src_create):
21727 Fix handoff marshall.
21729 * gst/elements/gstidentity.c: (gst_identity_class_init),
21730 (gst_identity_transform_ip):
21731 We're a real inplace element.
21733 * gst/gstbus.c: (gst_bus_post):
21734 Added some comments.
21736 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21737 * tests/muxing/case1.c: (main):
21738 * tests/sched/dynamic-pipeline.c: (main):
21739 * tests/sched/interrupt1.c: (main):
21740 * tests/sched/interrupt2.c: (main):
21741 * tests/sched/interrupt3.c: (main):
21742 * tests/sched/runxml.c: (main):
21743 * tests/sched/sched-stress.c: (main):
21744 * tests/seeking/seeking1.c: (event_received), (main):
21745 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21747 * tests/threadstate/threadstate3.c: (main):
21748 * tests/threadstate/threadstate4.c: (main):
21749 * tests/threadstate/threadstate5.c: (main):
21752 2005-07-21 Wim Taymans <wim@fluendo.com>
21754 * docs/design/part-seeking.txt:
21755 Some small additions.
21757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21758 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21759 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21760 * gst/base/gstbasesink.h:
21761 discont values are gint64, handle the math correctly.
21763 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21764 Make the basesrc report error if the source pad is not linked.
21766 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21767 (gst_queue_loop), (gst_queue_handle_src_query),
21768 (gst_queue_src_activate_push):
21769 Make queue collect data even if the srcpad is not linked.
21770 Start pushing out data as soon as it is linked.
21772 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21774 Added gst_flow_get_name() to ease error reporting.
21776 2005-07-20 Wim Taymans <wim@fluendo.com>
21778 * gst/gstmessage.c: (gst_message_new_segment_start),
21779 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21780 (gst_message_parse_segment_done):
21781 * gst/gstmessage.h:
21782 Added a bunch of messages for advanced seeking.
21784 * gst/parse/grammar.y:
21785 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21786 (gst_dpman_state_changed):
21787 Fix some new-pad -> pad-added signals
21789 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21791 * docs/manual/appendix-porting.xml:
21792 * docs/pwg/appendix-porting.xml:
21793 Document new-pad/state-change signal renames and the FixedList
21796 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21798 * docs/manual/advanced-autoplugging.xml:
21799 * docs/manual/basics-helloworld.xml:
21800 * docs/manual/basics-pads.xml:
21801 * docs/random/ds/0.9-suggested-changes:
21802 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21803 * gst/gstelement.h:
21807 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21808 (gst_structure_parse_array), (gst_structure_parse_value):
21809 * gst/gstvalue.c: (gst_type_is_fixed),
21810 (gst_value_list_prepend_value), (gst_value_list_append_value),
21811 (gst_value_list_get_size), (gst_value_list_get_value),
21812 (gst_value_transform_array_string), (gst_value_serialize_array),
21813 (gst_value_deserialize_array), (gst_value_intersect_array),
21814 (gst_value_is_fixed), (_gst_value_initialize):
21816 GstElement::new-pad -> pad-added, GstElement::state-change ->
21817 state-changed, GstValueFixedList -> GstValueArray, add format and
21818 flags as their own arguments in gst_element_seek() (should improve
21819 "bindeability"), remove function generators since they don't work
21820 under a whole bunch of compilers (they were deprecated already
21823 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21825 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21826 (_gst_debug_register_funcptr):
21828 Fix illegal cast on some platforms (#309253).
21830 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21832 * gst/gstmessage.c: (gst_message_new_custom):
21833 * gst/gstmessage.h:
21834 Add _new_custom, make _new_application a macro to _new_custom.
21836 2005-07-20 Wim Taymans <wim@fluendo.com>
21838 * gst/base/gstbasesrc.c: (gst_base_src_init),
21839 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21840 * gst/base/gstbasesrc.h:
21841 Add a gboolean to decide when to push out a discont.
21843 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21844 (gst_queue_loop), (gst_queue_handle_src_query),
21845 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21846 (gst_queue_set_property), (gst_queue_get_property):
21849 * tests/threadstate/threadstate1.c: (main):
21850 Make a thread test compile and run... very silly..
21853 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21855 * docs/manual/appendix-porting.xml:
21856 Mention removal of libgstgconf-0.9.la and existence of gconf
21859 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21861 * docs/pwg/advanced-clock.xml:
21862 * docs/pwg/appendix-porting.xml:
21863 * docs/pwg/intro-preface.xml:
21864 * docs/pwg/other-base.xml:
21865 * docs/pwg/other-manager.xml:
21866 * docs/pwg/other-nton.xml:
21867 * docs/pwg/other-ntoone.xml:
21868 * docs/pwg/other-oneton.xml:
21869 * docs/pwg/pwg.xml:
21870 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21871 demuxer), remove n-to-n (was never written), fix some code examples
21872 and links and update the porting section to include all this.
21874 2005-07-19 Wim Taymans <wim@fluendo.com>
21876 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21877 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21878 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21879 (gst_queue_src_activate_push), (gst_queue_change_state),
21880 (gst_queue_get_property):
21882 Propagate GstFlowReturn more intelligently upstream and output
21883 an ERROR/EOS when streaming stopped due to fatal error.
21885 2005-07-19 Wim Taymans <wim@fluendo.com>
21887 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21888 Don't block forever for the state change to complete, the
21889 pipeline already did with a sensible timeout.
21891 2005-07-19 Wim Taymans <wim@fluendo.com>
21893 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21894 Make sure we never call the create function is we
21897 2005-07-19 Andy Wingo <wingo@pobox.com>
21899 * gst/parse/parse.l: Attempt to solve bug #172815.
21901 2005-07-19 Wim Taymans <wim@fluendo.com>
21903 * docs/design/part-clocks.txt:
21904 * docs/design/part-events.txt:
21905 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21906 Small docs updates.
21907 Only update the seeking values when we are not
21910 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21912 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21913 Oops, ignore the result of gst_pad_push_event here.
21915 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21917 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21918 (gst_base_src_activate_push):
21919 Send discont event from the loop function, as pads
21920 aren't activated yet in the activate_push handler.
21922 * gst/gstbin.c: (bin_bus_handler):
21923 Don't leak element name.
21925 2005-07-18 Andy Wingo <wingo@pobox.com>
21927 * configure.ac: Use AS_LIBTOOL_TAGS.
21929 2005-07-18 Wim Taymans <wim@fluendo.com>
21931 * docs/gst/gstreamer.types:
21932 Remove deleted types.
21934 2005-07-18 Wim Taymans <wim@fluendo.com>
21936 * check/elements/gstfakesrc.c: (GST_START_TEST):
21939 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21940 (init_popt_callback):
21942 * gst/gst_private.h:
21943 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21944 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21947 * gst/gstconfig.h.in:
21948 * gst/gstelement.c: (gst_element_class_init),
21949 (gst_element_set_base_time), (gst_element_get_base_time),
21950 (iterator_fold_with_resync), (gst_element_change_state),
21951 (gst_element_dispose), (gst_element_get_bus):
21952 * gst/gstelement.h:
21953 * gst/gstelementfactory.h:
21954 * gst/gsterror.c: (_gst_core_errors_init):
21957 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21959 * gst/gstinfo.c: (_gst_debug_init):
21960 * gst/gstmessage.c: (_gst_message_copy):
21961 * gst/gstmessage.h:
21962 * gst/gstminiobject.h:
21965 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21966 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21969 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21970 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21971 (gst_pipeline_get_last_stream_time):
21972 * gst/gstpipeline.h:
21973 * gst/gstpluginfeature.h:
21975 * gst/gstscheduler.c:
21976 * gst/gstscheduler.h:
21977 * gst/gststructure.h:
21978 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21979 (gst_task_finalize), (gst_task_func), (gst_task_create),
21980 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21981 (gst_task_stop), (gst_task_pause):
21983 * gst/gsttypefind.h:
21985 * gst/registries/gstlibxmlregistry.c: (load_feature),
21986 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21987 * gst/registries/gstxmlregistry.c:
21988 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21989 * gst/schedulers/threadscheduler.c:
21990 * libs/gst/control/dparammanager.h:
21991 * tools/gst-inspect.c: (print_element_list),
21992 (print_plugin_features), (print_element_features):
21993 * tools/gst-xmlinspect.c: (print_element_list),
21994 (print_plugin_info), (main):
21995 Removed plugable schedulers.
21996 Removed Scheduler/Manager from elements.
21997 Removed gsttypes.h, rearranged includes.
21998 Removed dependency pad<->element, element<>pipeline, and
21999 various others, fix includes.
22000 implement gst_pad_get_parent() with gst_object_get_parent()
22001 Make GstTask sefcontained.
22002 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22004 Fix endless loop in iterator_fold_with_resync.
22007 2005-07-18 Wim Taymans <wim@fluendo.com>
22013 2005-07-18 Wim Taymans <wim@fluendo.com>
22016 No more cothreads.h
22018 2005-07-18 Wim Taymans <wim@fluendo.com>
22022 Let's remove these.
22024 2005-07-18 Wim Taymans <wim@fluendo.com>
22026 * docs/design/part-dynamic.txt:
22027 * docs/design/part-events.txt:
22028 * docs/design/part-seeking.txt:
22029 Some more docs in the works.
22031 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22032 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22033 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22034 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22035 (gst_base_transform_handle_buffer),
22036 (gst_base_transform_sink_activate_push),
22037 (gst_base_transform_src_activate_pull),
22038 (gst_base_transform_set_passthrough),
22039 (gst_base_transform_is_passthrough):
22042 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22045 * gst/gstevent.c: (gst_event_finalize):
22048 * gst/gstutils.c: (gst_element_unlink),
22049 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22050 (gst_pad_proxy_setcaps):
22052 Add _get_parent_element() to get a pads parent as an element.
22054 2005-07-18 Wim Taymans <wim@fluendo.com>
22056 * check/gst/gstbin.c: (GST_START_TEST):
22059 2005-07-18 Wim Taymans <wim@fluendo.com>
22061 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22062 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22063 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22064 (gst_base_sink_event), (gst_base_sink_do_sync),
22065 (gst_base_sink_chain), (gst_base_sink_loop),
22066 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22067 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22069 Fix logic for returning ASYNC when not prerolled.
22071 2005-07-18 Wim Taymans <wim@fluendo.com>
22073 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22074 Fix nasty refcount bug.
22076 2005-07-16 Philippe Khalaf <burger@speedy.org>
22078 * gst/elements/gstfdsrc.c:
22079 * gst/elements/gstfdsrc.h:
22080 * gst/elements/gstelements.c:
22081 * gst/elements/Makefile.am:
22082 Ported fdsrc to 0.9.
22084 2005-07-16 Wim Taymans <wim@fluendo.com>
22086 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22087 (gst_base_sink_do_sync):
22090 2005-07-16 Wim Taymans <wim@fluendo.com>
22092 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22093 (gst_base_sink_event), (gst_base_sink_get_times),
22094 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22095 * gst/base/gstbasesink.h:
22096 Store and use discont values when syncing buffers as described
22099 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22100 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22101 (gst_base_src_activate_push):
22102 Push discont event when starting.
22104 * gst/elements/gstidentity.c: (gst_identity_transform):
22107 * gst/gstbin.c: (gst_bin_change_state):
22108 Small cleanups in base_time distribution.
22110 * gst/gstelement.c: (gst_element_set_base_time),
22111 (gst_element_get_base_time), (gst_element_change_state):
22112 * gst/gstelement.h:
22113 Added methods for the base_time of the element.
22116 * gst/gstpipeline.c: (gst_pipeline_send_event),
22117 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22118 (gst_pipeline_get_last_stream_time):
22119 * gst/gstpipeline.h:
22121 Handle seeking as described in design doc, remove stream_time
22123 Cleanups clock and stream_time selection code. Added accessors
22124 for the stream_time.
22127 2005-07-16 Andy Wingo <wingo@pobox.com>
22129 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22132 2005-07-16 Wim Taymans <wim@fluendo.com>
22134 * check/gst/gstbin.c: (GST_START_TEST):
22135 Make elements silent as the deep_notify refs the
22136 parent, which might make the test fail.
22138 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22139 Don't hold the lock for too long.
22141 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22143 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22144 Don't unref the caps we passed to gst_caps_make_writable() after
22145 passing them. gst_caps_make_writable() will do that for us.
22147 2005-07-15 Andy Wingo <wingo@pobox.com>
22149 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22152 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22153 own marshalling function for the handoff signal. Properly type the
22154 buffer as a buffer. Fixes some warnings. Should do a more general
22156 (gst_identity_class_init): Plug into the right marshaller.
22158 2005-07-15 Wim Taymans <wim@fluendo.com>
22160 * docs/design/part-TODO.txt:
22161 * docs/design/part-clocks.txt:
22162 * docs/design/part-element-sink.txt:
22163 * docs/design/part-events.txt:
22164 * docs/design/part-gstpipeline.txt:
22165 Updated docs, mostly DISCONT related.
22167 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22169 * docs/pwg/building-pads.xml:
22170 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22172 2005-07-15 Andy Wingo <wingo@pobox.com>
22174 * tools/gst-typefind.c: Update, add copyright block.
22176 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22177 Normalize and truncate caps before fixation.
22180 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22181 discards all but the first structure from its argument.
22183 2005-07-15 Wim Taymans <wim@fluendo.com>
22185 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22186 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22187 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22188 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22189 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22190 (gst_base_transform_chain), (gst_base_transform_change_state),
22191 (gst_base_transform_set_passthrough),
22192 (gst_base_transform_is_passthrough):
22193 * gst/base/gstbasetransform.h:
22194 Make passthrough work using the bufferpools.
22195 Changed API a bit, subclasses have to write into a buffer
22196 provided by the base class.
22197 More debug info in nego functions.
22199 * gst/elements/gstidentity.c: (gst_identity_init),
22200 (gst_identity_transform):
22201 Port to new base class.
22203 2005-07-15 Wim Taymans <wim@fluendo.com>
22205 * gst/gstmessage.c: (gst_message_new_state_changed):
22206 * tools/gst-launch.c: (event_loop), (main):
22207 Totally dump messages in -launch with the -m option.
22208 Fix message name for State messages,
22210 2005-07-14 Wim Taymans <wim@fluendo.com>
22212 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22213 Post error messages on errors.
22215 2005-07-14 Wim Taymans <wim@fluendo.com>
22217 * gst/gstcaps.c: (gst_caps_do_simplify):
22221 Define error for stream stopped.
22223 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22224 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22225 Do proper return values.
22227 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22228 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22229 (gst_pad_get_range):
22230 Better return values.
22233 Reorganise return values, add macro to check for fatal errors.
22235 * gst/gstqueue.c: (gst_queue_chain):
22236 Return proper GstFlowReturn values,
22238 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22240 * docs/gst/gstreamer-sections.txt:
22241 * docs/gst/gstreamer.types:
22242 * docs/gst/tmpl/gst.sgml:
22243 * docs/gst/tmpl/gstbasesink.sgml:
22244 * docs/gst/tmpl/gstbasesrc.sgml:
22245 * docs/gst/tmpl/gstbasetransform.sgml:
22246 * docs/gst/tmpl/gstbin.sgml:
22247 * docs/gst/tmpl/gstbuffer.sgml:
22248 * docs/gst/tmpl/gstcaps.sgml:
22249 * docs/gst/tmpl/gstclock.sgml:
22250 * docs/gst/tmpl/gstcompat.sgml:
22251 * docs/gst/tmpl/gstconfig.sgml:
22252 * docs/gst/tmpl/gstelement.sgml:
22253 * docs/gst/tmpl/gstelementdetails.sgml:
22254 * docs/gst/tmpl/gstelementfactory.sgml:
22255 * docs/gst/tmpl/gstenumtypes.sgml:
22256 * docs/gst/tmpl/gsterror.sgml:
22257 * docs/gst/tmpl/gstevent.sgml:
22258 * docs/gst/tmpl/gstfakesink.sgml:
22259 * docs/gst/tmpl/gstfakesrc.sgml:
22260 * docs/gst/tmpl/gstfilesink.sgml:
22261 * docs/gst/tmpl/gstfilesrc.sgml:
22262 * docs/gst/tmpl/gstfilter.sgml:
22263 * docs/gst/tmpl/gstformat.sgml:
22264 * docs/gst/tmpl/gstghostpad.sgml:
22265 * docs/gst/tmpl/gstimplementsinterface.sgml:
22266 * docs/gst/tmpl/gstindex.sgml:
22267 * docs/gst/tmpl/gstindexfactory.sgml:
22268 * docs/gst/tmpl/gstinfo.sgml:
22269 * docs/gst/tmpl/gstiterator.sgml:
22270 * docs/gst/tmpl/gstmacros.sgml:
22271 * docs/gst/tmpl/gstmemchunk.sgml:
22272 * docs/gst/tmpl/gstminiobject.sgml:
22273 * docs/gst/tmpl/gstobject.sgml:
22274 * docs/gst/tmpl/gstpad.sgml:
22275 * docs/gst/tmpl/gstpadtemplate.sgml:
22276 * docs/gst/tmpl/gstparse.sgml:
22277 * docs/gst/tmpl/gstpipeline.sgml:
22278 * docs/gst/tmpl/gstplugin.sgml:
22279 * docs/gst/tmpl/gstpluginfeature.sgml:
22280 * docs/gst/tmpl/gstquery.sgml:
22281 * docs/gst/tmpl/gstqueue.sgml:
22282 * docs/gst/tmpl/gstregistry.sgml:
22283 * docs/gst/tmpl/gstregistrypool.sgml:
22284 * docs/gst/tmpl/gstscheduler.sgml:
22285 * docs/gst/tmpl/gstschedulerfactory.sgml:
22286 * docs/gst/tmpl/gststructure.sgml:
22287 * docs/gst/tmpl/gstsystemclock.sgml:
22288 * docs/gst/tmpl/gsttaglist.sgml:
22289 * docs/gst/tmpl/gsttagsetter.sgml:
22290 * docs/gst/tmpl/gsttrace.sgml:
22291 * docs/gst/tmpl/gsttrashstack.sgml:
22292 * docs/gst/tmpl/gsttypefind.sgml:
22293 * docs/gst/tmpl/gsttypefindfactory.sgml:
22294 * docs/gst/tmpl/gsttypes.sgml:
22295 * docs/gst/tmpl/gsturihandler.sgml:
22296 * docs/gst/tmpl/gsturitype.sgml:
22297 * docs/gst/tmpl/gstutils.sgml:
22298 * docs/gst/tmpl/gstvalue.sgml:
22299 * docs/gst/tmpl/gstversion.sgml:
22300 * docs/gst/tmpl/gstxml.sgml:
22301 * docs/libs/tmpl/gstcontrol.sgml:
22302 * docs/libs/tmpl/gstdataprotocol.sgml:
22303 * docs/libs/tmpl/gstdparam.sgml:
22304 * docs/libs/tmpl/gstdplinint.sgml:
22305 * docs/libs/tmpl/gstdpman.sgml:
22306 * docs/libs/tmpl/gstdpsmooth.sgml:
22307 * docs/libs/tmpl/gstgetbits.sgml:
22308 * docs/libs/tmpl/gstunitconvert.sgml:
22309 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22310 (gst_push_src_base_init), (gst_push_src_class_init),
22311 (gst_push_src_init), (gst_push_src_create):
22312 * gst/base/gstpushsrc.h:
22313 * gst/elements/gstelements.c:
22314 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22315 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22316 (gst_fake_sink_init), (gst_fake_sink_set_property),
22317 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22318 (gst_fake_sink_event), (gst_fake_sink_preroll),
22319 (gst_fake_sink_render), (gst_fake_sink_change_state):
22320 * gst/elements/gstfakesink.h:
22321 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22322 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22323 (gst_fake_src_base_init), (gst_fake_src_class_init),
22324 (gst_fake_src_init), (gst_fake_src_event_handler),
22325 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22326 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22327 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22328 (gst_fake_src_create_buffer), (gst_fake_src_create),
22329 (gst_fake_src_start), (gst_fake_src_stop):
22330 * gst/elements/gstfakesrc.h:
22331 * gst/elements/gstfilesink.c: (_do_init),
22332 (gst_file_sink_base_init), (gst_file_sink_class_init),
22333 (gst_file_sink_init), (gst_file_sink_dispose),
22334 (gst_file_sink_set_location), (gst_file_sink_set_property),
22335 (gst_file_sink_get_property), (gst_file_sink_open_file),
22336 (gst_file_sink_close_file), (gst_file_sink_query),
22337 (gst_file_sink_event), (gst_file_sink_render),
22338 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22339 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22340 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22341 * gst/elements/gstfilesink.h:
22342 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22343 (gst_file_src_class_init), (gst_file_src_init),
22344 (gst_file_src_finalize), (gst_file_src_set_location),
22345 (gst_file_src_set_property), (gst_file_src_get_property),
22346 (gst_file_src_map_region), (gst_file_src_map_small_region),
22347 (gst_file_src_create_mmap), (gst_file_src_create_read),
22348 (gst_file_src_create), (gst_file_src_is_seekable),
22349 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22350 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22351 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22352 (gst_file_src_uri_handler_init):
22353 * gst/elements/gstfilesrc.h:
22354 more autistic cleanliness in functions/names/defines
22356 2005-07-13 Andy Wingo <wingo@pobox.com>
22358 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22359 source couldn't negotiate.
22361 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22365 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22366 function. I am channeling Hades. Put your boots on suckers!!!
22368 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22370 * testsuite/caps/Makefile.am:
22371 * testsuite/caps/value_compare.c:
22372 * testsuite/caps/value_intersect.c:
22373 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22374 move two testsuite apps over to the check dir
22376 2005-07-12 Wim Taymans <wim@fluendo.com>
22378 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22379 Added more debug info in the negotiate process.
22381 * gst/gstmessage.h:
22382 Prepare for segment playback.
22384 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22390 * tools/gst-launch.c: (main):
22391 NULL pipeline on errors.
22393 2005-07-12 Andy Wingo <wingo@pobox.com>
22395 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22396 not it comes from a malloc region. Make sure our copy gets freed.
22398 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22400 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22401 * check/gst/gstmessage.c: (GST_START_TEST):
22402 * check/gst/gststructure.c: (GST_START_TEST),
22403 (gst_structure_suite), (main):
22405 * gst/gstelement.c: (gst_element_message_full):
22406 clean up GError and debug string now that they get copied
22407 * gst/gstmessage.c: (gst_message_new_error),
22408 (gst_message_new_warning), (gst_message_parse_error),
22409 (gst_message_parse_warning):
22410 use GST_TYPE_G_ERROR for structure_new, and take copies of
22411 arguments, so that we don't mess up refcounting
22413 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22415 * check/Makefile.am:
22416 add per-test valgrind targets
22417 * check/gst-libs/gdp.c: (GST_START_TEST),
22418 (gst_data_protocol_suite), (main):
22421 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22423 * check/Makefile.am:
22424 instate more valgrindable tests
22425 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22426 (GST_START_TEST), (fakesrc_suite):
22427 * check/gst/gstpad.c: (GST_START_TEST):
22428 * check/gst/gststructure.c: (GST_START_TEST):
22430 * docs/gst/tmpl/gstminiobject.sgml:
22431 * gst/gstpad.c: (gst_pad_finalize):
22432 fix the static mutex leak
22434 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22436 * check/Makefile.am:
22437 add two more tests for valgrinding
22438 * check/gst/gstvalue.c: (GST_START_TEST):
22439 test refcount of deserialized buffer, found a leak
22440 * docs/gst/gstreamer-docs.sgml:
22441 * docs/gst/gstreamer-sections.txt:
22442 * docs/gst/gstreamer.types:
22443 * docs/gst/tmpl/gstminiobject.sgml:
22444 add miniobject to docs
22445 * gst/gstminiobject.c:
22447 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22448 (gst_string_unwrap):
22449 fix a hard-to-find invalid write for one of the tests
22450 fix a leak for deserialized buffers
22452 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22454 * docs/pwg/advanced-events.xml:
22455 * docs/pwg/advanced-request.xml:
22456 * docs/pwg/advanced-scheduling.xml:
22457 * docs/pwg/appendix-porting.xml:
22458 * docs/pwg/building-boiler.xml:
22459 * docs/pwg/intro-preface.xml:
22460 * docs/pwg/other-ntoone.xml:
22461 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22462 of example code and explanation for pad activation, loop() and
22463 getrange() functions and a bit more. Remove old comments pointing
22465 * examples/pwg/Makefile.am:
22466 Add loop/getrange examples.
22468 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22471 check for valgrind binary + some fixes
22473 valgrind suppressions for the tests
22474 * check/Makefile.am:
22475 add a valgrind: target that valgrinds the unit tests
22476 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22477 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22478 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22479 * check/gst/gstghostpad.c:
22481 * check/gst/gstdata.c:
22483 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22484 (thread_unref), (gst_mini_object_suite), (main):
22486 * gst/gst.c: (gst_deinit):
22488 add a method to clean up.
22489 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22490 (gst_system_clock_obtain):
22491 allow for disposing the system clock.
22492 * tools/gst-launch.c: (main):
22495 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22497 * docs/gst/tmpl/gstbasesrc.sgml:
22498 * docs/gst/tmpl/gstfakesrc.sgml:
22499 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22500 (gst_base_src_init), (gst_base_src_set_property),
22501 (gst_base_src_get_property), (gst_base_src_get_range),
22502 (gst_base_src_start):
22503 * gst/base/gstbasesrc.h:
22504 add num-buffers property
22505 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22506 (gst_fakesrc_init), (gst_fakesrc_set_property),
22507 (gst_fakesrc_get_property), (gst_fakesrc_create),
22508 (gst_fakesrc_start):
22509 remove num-buffers property
22511 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22513 * docs/gst/gstreamer-sections.txt:
22514 * docs/gst/tmpl/gstbasesink.sgml:
22515 * docs/gst/tmpl/gstbasesrc.sgml:
22516 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22517 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22518 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22519 (gst_base_sink_set_property), (gst_base_sink_get_property),
22520 (gst_base_sink_handle_object), (gst_base_sink_event),
22521 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22522 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22523 (gst_base_sink_loop), (gst_base_sink_deactivate),
22524 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22525 (gst_base_sink_change_state):
22526 * gst/base/gstbasesink.h:
22527 * gst/base/gstbasesrc.h:
22528 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22529 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22530 (gst_filesink_init):
22531 more macro splitting
22533 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22535 * gst/gstelement.c: (gst_element_get_bus):
22537 * tools/gst-launch.c: (check_intr), (event_loop):
22540 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22542 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22545 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22547 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22548 (gst_base_src_finalize):
22549 add finalize method and clean up properly
22550 * gst/gstpipeline.c: (gst_pipeline_dispose):
22553 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22555 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22557 add more things to check
22558 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22559 * gst/gstelement.c:
22562 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22564 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22565 (GST_START_TEST), (fakesrc_suite):
22566 * check/gst-libs/gdp.c: (GST_START_TEST):
22567 * check/gst/gst.c: (GST_START_TEST):
22568 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22569 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22570 * check/gst/gstbus.c: (GST_START_TEST):
22571 * check/gst/gstcaps.c: (GST_START_TEST):
22572 * check/gst/gstdata.c: (GST_START_TEST):
22573 * check/gst/gstelement.c: (GST_START_TEST):
22574 * check/gst/gstghostpad.c: (GST_START_TEST):
22575 * check/gst/gstiterator.c: (GST_START_TEST):
22576 * check/gst/gstmessage.c: (GST_START_TEST):
22577 * check/gst/gstobject.c: (GST_START_TEST):
22578 * check/gst/gstpad.c: (GST_START_TEST):
22579 * check/gst/gststructure.c: (GST_START_TEST):
22580 * check/gst/gstsystemclock.c: (GST_START_TEST),
22581 (gst_systemclock_suite):
22582 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22583 * check/gst/gstvalue.c: (GST_START_TEST):
22584 * check/pipelines/cleanup.c: (GST_START_TEST):
22585 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22586 * check/states/sinks.c: (GST_START_TEST):
22587 * check/gstcheck.c: (gst_check_init):
22588 * check/gstcheck.h:
22589 add debugging category
22590 use GST_START_TEST now, so we add a debug line
22592 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22594 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22595 add test for state change message on a bin
22596 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22598 * gst/gstbin.c: (gst_bin_init):
22599 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22600 * gst/gstelement.c: (gst_element_post_message),
22601 (gst_element_set_state):
22602 * gst/gstelementfactory.c: (gst_element_factory_create):
22603 * gst/gstmessage.c: (gst_message_new):
22604 * gst/gstscheduler.c:
22605 various debugging additions and cleanups
22607 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22609 * check/Makefile.am:
22610 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22612 adding tests for elements
22613 * gst/gstelement.c: (gst_element_dispose):
22615 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22617 * gst/registries/gstlibxmlregistry.c: (load_feature):
22618 plug more leaks. A simple gst_init() now is leakfree, yay.
22620 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22622 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22623 (gst_xml_registry_load):
22624 plug another memleak
22626 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22629 use GST_SET_ERROR_CFLAGS
22630 * docs/faq/cvs.xml:
22631 change to ERROR_CFLAGS
22633 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22636 make GST_ERROR_CFLAGS overridable and re-enable Werror
22637 * docs/faq/cvs.xml:
22638 add a note about error CFLAGS
22639 * docs/gst/tmpl/gstfakesrc.sgml:
22640 * gst/elements/gstfakesrc.c:
22641 comment out some unused code
22642 * gst/gst.c: (split_and_iterate):
22643 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22647 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22649 * common/Makefile.am:
22650 * common/gtk-doc.mak:
22651 * docs/gst/Makefile.am:
22652 factor out gtk-doc.mak
22654 2005-07-07 Wim Taymans <wim@fluendo.com>
22656 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22657 (gst_thread_scheduler_dispose):
22658 Unlock the STREAM_LOCK completely.
22660 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22662 * check/Makefile.am:
22663 * check/elements/.cvsignore:
22664 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22665 (START_TEST), (fakesrc_suite), (main):
22666 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22667 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22668 (gst_fakesrc_create), (gst_fakesrc_start):
22669 * gst/elements/gstfakesrc.h:
22670 adding a first element test
22672 2005-07-07 Andy Wingo <wingo@pobox.com>
22674 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22677 2005-07-07 Wim Taymans <wim@fluendo.com>
22683 2005-07-07 Wim Taymans <wim@fluendo.com>
22685 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22686 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22687 Allow subclasses to implement their own negotiation.
22689 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22691 * docs/design/part-gstbin.txt:
22692 * docs/design/part-gstpipeline.txt:
22693 Update design notes to reflect the movement of
22694 responsibility for bus handling from GstPipeline to
22697 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22700 Remove unnecessary queue2/3/4 examples.
22702 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22704 * examples/Makefile.am:
22705 * examples/helloworld/helloworld.c: (event_loop), (main):
22706 * examples/queue/queue.c: (event_loop), (main):
22707 * examples/queue2/queue2.c: (main):
22708 Update a couple of the examples to work again.
22710 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22711 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22712 Spelling corrections and extra debug.
22714 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22715 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22716 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22718 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22719 (gst_pipeline_change_state):
22720 * gst/gstpipeline.h:
22721 Move the bus handler for children to the GstBin, and create a
22722 separate bus for receiving messages from children to the one the
22723 bus sends 'upwards' on.
22725 2005-07-06 Wim Taymans <wim@fluendo.com>
22728 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22729 (gst_base_sink_handle_object), (gst_base_sink_loop),
22730 (gst_base_sink_change_state):
22731 * gst/base/gstbasesink.h:
22732 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22733 (gst_base_src_init), (gst_base_src_setcaps),
22734 (gst_base_src_getcaps), (gst_base_src_loop),
22735 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22736 (gst_base_src_start), (gst_base_src_change_state):
22737 * gst/base/gstbasesrc.h:
22738 Make basesrc negotiate.
22739 Handle the case where preroll fails in basesink.
22742 2005-07-06 Wim Taymans <wim@fluendo.com>
22744 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22745 Implement the fixate function.
22746 Clean up acceptcaps.
22748 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22750 * docs/pwg/building-filterfactory.xml:
22751 * docs/pwg/pwg.xml:
22752 Remove never-written filter-factory chapter; I'll add the various
22753 base classes to part 4 ("other element types") later on.
22755 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22757 * docs/pwg/advanced-negotiation.xml:
22758 * docs/pwg/building-boiler.xml:
22759 * docs/pwg/building-pads.xml:
22760 * docs/pwg/pwg.xml:
22761 * examples/pwg/Makefile.am:
22762 Add a chapter on caps negotiation, simplify the original code
22763 samples a bit w.r.t. caps negotiation, add link to the advanced
22764 section. Add a bunch of examples showing different use cases of
22765 different types of caps negotiation. Upstream renegotiation isn't
22766 fully documented yet since nobody knows how that works.
22768 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22770 * check/gst/gstpad.c:
22771 * check/gstcheck.c:
22772 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22773 if pad has no parent, return NULL as list of internal links
22775 2005-07-05 Andy Wingo <wingo@pobox.com>
22777 * gst/elements/gstfilesrc.c:
22778 * gst/elements/gstfakesrc.c:
22779 * gst/base/gstpushsrc.c:
22780 * gst/base/gstbasesrc.h:
22781 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22783 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22786 better report generation target (lcov needs a patch)
22788 2005-07-05 Andy Wingo <wingo@pobox.com>
22790 * gst/elements, testsuite: Null if we got it...
22792 2005-07-05 Wim Taymans <wim@fluendo.com>
22795 * libs/gst/dataprotocol/Makefile.am:
22796 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22797 * libs/gst/dataprotocol/dataprotocol.h:
22798 * pkgconfig/Makefile.am:
22799 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22800 * pkgconfig/gstreamer-dataprotocol.pc.in:
22801 Ported dataprotol to 0.9.
22802 Added pkgconfig files.
22804 2005-07-05 Andy Wingo <wingo@pobox.com>
22806 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22807 Default to returning TRUE for the case when tranform_caps returns
22808 a fixed caps, like for identity or volume.
22810 * check/gst/gstbus.c (pound_bus_with_messages):
22811 * check/gst/gstmessage.c (START_TEST):
22812 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22813 message API change.
22815 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22816 logic weaks here: always run transform_caps, trying passthrough
22817 operation only if the original caps intersects with the transform.
22819 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22820 source and sink caps.
22822 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22823 Intersect the peer caps with the pad template before going into
22825 (gst_base_transform_transform_caps): More debugging.
22827 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22830 2005-07-04 Edward Hervey <edward@fluendo.com>
22834 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22837 2005-07-04 Andy Wingo <wingo@pobox.com>
22839 * check/gst/gstpad.c: Only set explicit caps on pads.
22841 2005-07-01 Andy Wingo <wingo@pobox.com>
22843 * tests/network-clock.scm: Commentary update.
22845 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22846 Didn't really make sense, not implementable with basetransform,
22848 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22849 attempt at implementing the sync property, needs an unlock method.
22851 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22852 New func, by default returns the same caps (the identity
22854 (gst_base_transform_getcaps): Uses transform_caps to return
22855 something sensible.
22856 (gst_base_transform_setcaps): Complicated logic to get caps on
22857 both pads, even if they are different, and to call set_caps once
22858 for every time both pads get their caps set.
22859 (gst_base_transform_handle_buffer): Give the ref to the transform
22860 function. Allows in-place modification of the buffer.
22862 * gst/base/gstbasetransform.h (transform_caps): New class method.
22863 Given caps on one side, what can I do on the other.
22864 (set_caps): Take two caps, one for each side of the element.
22867 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22868 caps in place. This is safe because we can check the mutability of
22869 the caps, and a good idea because fixate functions are just called
22870 as a matter of last resort. (Not actually implemented.)
22871 (gst_pad_set_caps): If the caps we're setting is actually the same
22872 as the existing pad caps, just update the pointer without calling
22873 setcaps. Assert that caps is either NULL or fixed, as per the
22876 * gst/gstghostpad.c: Update for fixate changes.
22878 2005-07-02 Andy Wingo <wingo@pobox.com>
22881 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22882 two refcounts makes it immutable, which is enough. Doc more.
22884 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22886 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22887 Put the mini_object into GValue as a mini_object,
22888 not a gpointer, since that's how we declared
22891 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22893 * examples/pwg/Makefile.am:
22894 Fix buildbot again.
22896 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22898 * docs/pwg/building-testapp.xml:
22900 * examples/pwg/Makefile.am:
22903 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22906 * examples/Makefile.am:
22907 * examples/pwg/Makefile.am:
22908 * examples/pwg/extract.pl:
22909 Enable building the PWG examples.
22910 * docs/pwg/advanced-interfaces.xml:
22911 Add URI interface stub.
22912 * docs/pwg/advanced-types.xml:
22913 * docs/pwg/other-autoplugger.xml:
22914 * docs/pwg/appendix-porting.xml:
22915 * docs/pwg/pwg.xml:
22916 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22917 * docs/pwg/building-boiler.xml:
22918 * docs/pwg/building-chainfn.xml:
22919 * docs/pwg/building-pads.xml:
22920 * docs/pwg/building-props.xml:
22921 * docs/pwg/building-state.xml:
22922 * docs/pwg/building-testapp.xml:
22923 Update the building-*.xml parts for 0.9 changes. All examples
22924 code blocks compile in examples/pwg/*.
22926 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22928 * docs/manual/advanced-autoplugging.xml:
22929 * docs/manual/appendix-checklist.xml:
22930 * docs/manual/appendix-integration.xml:
22931 * docs/manual/highlevel-components.xml:
22932 Fix playbin/decodebin examples, update docs a bit, mention bus
22933 instead of signals in various places, mention kmplayer and
22934 kaffeine since they have a working GStreamer backend in the KDE
22937 2005-06-30 Wim Taymans <wim@fluendo.com>
22940 * docs/design/draft-ghostpads.txt:
22941 * docs/design/draft-push-pull.txt:
22942 * docs/design/draft-query.txt:
22943 * docs/design/part-TODO.txt:
22944 * docs/design/part-query.txt:
22945 Added CHANGES-0.9 doc, updated status of other docs.
22950 2005-06-30 Wim Taymans <wim@fluendo.com>
22952 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22953 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22954 (gst_base_sink_change_state):
22955 * gst/base/gstbasesink.h:
22956 Some tweaks, only EOS and a buffer complete a preroll.
22958 2005-06-30 Andy Wingo <wingo@pobox.com>
22960 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22961 activate_push down to the internal pad as well.
22963 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22965 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22967 * gst/gsttaginterface.c:
22968 Some documentation fixes (#307394 and #307397).
22970 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22972 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22974 * gst/gstvalue.c: (gst_value_intersect_list):
22975 Fix memleak (#309125).
22977 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22979 * docs/manual/advanced-dataaccess.xml:
22980 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22981 * docs/manual/basics-pads.xml:
22982 Add reference for filtered caps to above chapter.
22984 2005-06-30 Wim Taymans <wim@fluendo.com>
22986 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22987 (gst_bin_change_state):
22989 Lame attempt at making the state change function a bit
22992 2005-06-30 Wim Taymans <wim@fluendo.com>
22994 * docs/design/part-clocks.txt:
22995 * docs/design/part-element-sink.txt:
22996 * docs/design/part-events.txt:
22997 * docs/design/part-preroll.txt:
22998 * docs/design/part-states.txt:
22999 Some more tweeks and additions to the docs.
23001 2005-06-30 Wim Taymans <wim@fluendo.com>
23003 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23004 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23005 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23006 (gst_pad_check_pull_range), (gst_pad_get_range),
23007 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23009 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23010 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23011 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23012 (gst_pad_remove_buffer_probe):
23013 Removed atomic operations, use existing LOCK.
23014 Move exception handling out of main code path.
23016 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23018 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23019 (silly_return_true_function), (gst_pad_class_init),
23020 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23021 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23022 (gst_pad_send_event):
23023 Fix accumulator, add default value by using _emitv() instead
23024 of _emit() for signal emission.
23026 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23028 * docs/manual/advanced-dataaccess.xml:
23029 * examples/manual/Makefile.am:
23031 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23034 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23036 * gst/elements/gstfilesink.c: (gst_filesink_render):
23037 Simplify code so that we don't have to handle short
23038 writes and return GST_FLOW_ERROR if an error occured.
23040 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23042 * docs/gst/gstreamer-docs.sgml:
23043 Remove probes more.
23045 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23047 * docs/gst/gstreamer-sections.txt:
23048 * docs/gst/tmpl/gstpad.sgml:
23049 * docs/gst/tmpl/gstprobe.sgml:
23051 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23052 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23053 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23054 (gst_pad_push_event), (gst_pad_send_event):
23056 * gst/gstutils.c: (gst_pad_add_data_probe),
23057 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23058 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23059 (gst_pad_remove_buffer_probe):
23061 Remove old probes, add new g-signal-based probes and some utility
23064 2005-06-29 Edward Hervey <edward@fluendo.com>
23066 * gst/gstelementfactory.c:
23069 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23070 the definition to the header file.
23072 2005-06-29 Andy Wingo <wingo@pobox.com>
23074 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23075 plugins from the source directory.
23077 2005-06-29 Wim Taymans <wim@fluendo.com>
23079 * docs/gst/tmpl/gstbuffer.sgml:
23080 * docs/gst/tmpl/gstclock.sgml:
23081 Some fixings for blantently wrong text.
23083 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23085 * check/Makefile.am:
23086 * gst/gst.c: (add_path_func), (init_pre):
23087 * gst/gstregistry.c: (gst_registry_add_path):
23088 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23089 only scan the GST_PLUGIN_PATH locations, and not add
23092 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23094 * docs/gst/gstreamer-sections.txt:
23095 * docs/gst/tmpl/gstbasesrc.sgml:
23096 * gst/gstelement.c:
23097 * gst/gstelement.h:
23102 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23104 * docs/manual/advanced-autoplugging.xml:
23105 Fix autoplugging example.
23107 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23109 * docs/manual/advanced-autoplugging.xml:
23110 * docs/manual/mime-world.fig:
23111 Try to get autoplugging working, fix type detection. Fix text
23112 in hello-world image.
23114 2005-06-29 Wim Taymans <wim@fluendo.com>
23116 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23117 (gst_base_sink_change_state):
23121 map SIGNAL and BROADCAST to the right function.
23124 Remove redundant braces.
23126 * gst/gstpad.c: (gst_pad_set_caps):
23127 Don't call setcaps function when reseting caps to NULL.
23129 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23130 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23131 (gst_system_clock_id_unschedule):
23132 Use BROADCAST as this is what we do.
23134 2005-06-29 Wim Taymans <wim@fluendo.com>
23136 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23137 We are actually prerolling before commiting the state
23140 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23142 * docs/manual/advanced-clocks.xml:
23143 * docs/manual/advanced-interfaces.xml:
23144 * docs/manual/advanced-metadata.xml:
23145 * docs/manual/advanced-position.xml:
23146 * docs/manual/advanced-schedulers.xml:
23147 * docs/manual/advanced-threads.xml:
23148 * docs/manual/appendix-porting.xml:
23149 * docs/manual/basics-bins.xml:
23150 * docs/manual/basics-bus.xml:
23151 * docs/manual/basics-elements.xml:
23152 * docs/manual/basics-helloworld.xml:
23153 * docs/manual/basics-pads.xml:
23154 * docs/manual/highlevel-components.xml:
23155 * docs/manual/manual.xml:
23156 * docs/manual/thread.fig:
23157 Update (until threads/scheduling) Application Development Manual;
23158 remove GstThread, add GstBus, add simple porting checklist, add
23159 documentation for tag writing, clocks, make all examples until this
23160 part compile and run.
23161 * examples/manual/Makefile.am:
23162 Update from changes to Application Development Manual; add bus
23163 example, remove thread example.
23165 2005-06-28 Wim Taymans <wim@fluendo.com>
23167 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23168 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23169 (gst_bus_source_dispatch):
23170 Add debugging messages.
23171 Make internal methods static.
23172 Handle the case where the bus is flushed in the handler.
23174 * gst/gstelement.c: (gst_element_get_bus):
23175 Fix refcount in _get_bus();
23177 * gst/gstpipeline.c: (gst_pipeline_change_state),
23178 (gst_pipeline_get_clock_func):
23179 Clock refcounting fixes.
23180 Handle the case where preroll timed out more gracefully.
23182 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23183 Clean up the internal thread in dispose. This is needed
23184 for subclasses that actually get disposed.
23186 * gst/schedulers/threadscheduler.c:
23187 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23188 (gst_thread_scheduler_dispose):
23189 Free thread pool in dispose.
23191 2005-06-28 Andy Wingo <wingo@pobox.com>
23193 * tests/network-clock-utils.scm (debug, print-event): New utils.
23195 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23196 (*packet-loss*): Unified loss probability.
23197 (network-time): Report out-of-band events.
23199 * tests/plot-data: Add support for out-of-band events. Hack it
23200 into this script instead of passing it down the pipe; should fix
23203 2005-06-28 Wim Taymans <wim@fluendo.com>
23205 * docs/gst/gstreamer.types:
23206 * docs/gst/tmpl/gstbasesrc.sgml:
23207 * docs/gst/tmpl/gstpad.sgml:
23210 2005-06-28 Wim Taymans <wim@fluendo.com>
23212 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23213 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23214 (gst_proxy_pad_do_fixatecaps):
23215 Correctly proxy the check_pull_range function.
23217 2005-06-28 Andy Wingo <wingo@pobox.com>
23219 * tests/network-clock.scm: Removed need for slib.
23221 2005-06-28 Wim Taymans <wim@fluendo.com>
23223 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23224 (gst_basesink_preroll_queue_flush):
23225 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23226 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23227 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23228 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23229 (gst_proxy_pad_set_property):
23232 * gst/gstqueue.c: (gst_queue_init):
23233 The deprecated pad loop function is removed now.
23235 2005-06-28 Andy Wingo <wingo@pobox.com>
23237 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23238 New parameters, simulate network packet loss.
23240 * tests/network-clock-utils.scm: Initialize the RNG.
23242 2005-06-28 Wim Taymans <wim@fluendo.com>
23244 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23245 (gst_basesink_event), (gst_basesink_deactivate):
23246 Flushing the preroll queue always needs to unlock the waiters.
23248 2005-06-28 Edward Hervey <edward@fluendo.com>
23250 * gst/gstpipeline.c: (gst_pipeline_send_event):
23251 Wheen a seek was successful on a pipeline, set the stream_time to the
23252 seek offset in order to have a synchronized stream_time.
23254 2005-06-28 Wim Taymans <wim@fluendo.com>
23256 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23257 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23258 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23259 (gst_proxy_pad_do_fixatecaps):
23260 Call wrapper function instead of just calling the function
23261 pointers. This takes care of any locking and whatmore.
23263 2005-06-28 Wim Taymans <wim@fluendo.com>
23265 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23266 (gst_pad_pull_range):
23268 CONNECTED -> LINKED.
23270 2005-06-28 Andy Wingo <wingo@pobox.com>
23272 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23273 source-munging commit!!!
23275 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23276 (gst_object_sink): Take gpointer arguments, not GstObject --
23277 avoids casts. Like GLib.
23279 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23282 2005-06-27 Andy Wingo <wingo@pobox.com>
23284 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23287 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23288 returns a sorted copy of the trace list.
23289 (gst_alloc_trace_print_live): New API, only prints traces with
23290 live objects. Sort the list.
23291 (gst_alloc_trace_print_all): Sort the list.
23292 (gst_alloc_trace_print): Align columns.
23294 * gst/elements/gstttypefindelement.c:
23295 * gst/elements/gsttee.c:
23296 * gst/base/gstbasesrc.c:
23297 * gst/base/gstbasesink.c:
23298 * gst/base/gstbasetransform.c:
23299 * gst/gstqueue.c: Adapt for pad activation changes.
23301 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23303 (gst_pipeline_dispose): Drop ref on sched.
23305 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23306 (gst_pad_activate_default): Push mode by default.
23307 (pre_activate_switch, post_activate_switch): New stubs, things to
23308 do before and after switching activation modes on pads.
23309 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23310 the pad's activate function to choose which mode to activate.
23311 Shortcut on deactivation and call the right function directly.
23312 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23314 (gst_pad_activate_push): New API, same for push mode.
23315 (gst_pad_set_activate_function)
23316 (gst_pad_set_activatepull_function)
23317 (gst_pad_set_activatepush_function): Setters for new API.
23319 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23320 Trace all miniobjects.
23321 (gst_mini_object_make_writable): Unref the arg if we copy, like
23322 gst_caps_make_writable.
23324 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23326 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23327 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23328 Adapt for new pad API.
23330 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23332 * gst/gstelement.h:
23333 * gst/gstelement.c (gst_element_iterate_src_pads)
23334 (gst_element_iterate_sink_pads): New API functions.
23336 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23337 should fold into gstiterator.c in some form.
23338 (gst_element_pads_activate): Simplified via use of fold and
23339 delegation of decisions to gstpad->activate.
23341 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23344 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23345 class once in init, like gstmessage. Didn't run into this issue
23346 but it seems correct. Don't initialize a trace, gstminiobject does
23349 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23350 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23352 (assert_live_count): New util function, uses alloc traces to check
23355 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23356 To be modified when unlink drops the internal pad.
23358 2005-06-27 Wim Taymans <wim@fluendo.com>
23360 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23361 (gst_bin_change_state):
23362 Cleanup the get_state() function a little, make sure it
23363 iterates the same set of elements.
23364 Added stub iterate_state_order().
23366 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23368 * docs/gst/gstreamer-docs.sgml:
23369 * docs/gst/gstreamer-sections.txt:
23370 * docs/gst/gstreamer.types:
23371 * docs/gst/tmpl/gstbasesink.sgml:
23372 * docs/gst/tmpl/gstbasesrc.sgml:
23373 * docs/gst/tmpl/gstbasetransform.sgml:
23374 * docs/gst/tmpl/gstelement.sgml:
23375 * docs/gst/tmpl/gstiterator.sgml:
23376 * gst/base/gstbasesrc.c:
23377 * gst/base/gstbasesrc.h:
23378 * gst/base/gstbasetransform.h:
23379 * gst/gstelement.c:
23380 * gst/gstiterator.h:
23381 adding basetransform and iterator docs
23383 2005-06-27 Andy Wingo <wingo@pobox.com>
23385 * docs/design/part-activation.txt: Notes on how activation should
23386 work -- not quite implemented yet.
23388 2005-06-25 Wim Taymans <wim@fluendo.com>
23390 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23391 At least get the chain function correct, needs more
23394 2005-06-25 Wim Taymans <wim@fluendo.com>
23396 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23397 (gst_basesink_handle_object), (gst_basesink_event),
23398 (gst_basesink_do_sync), (gst_basesink_handle_event),
23399 (gst_basesink_change_state):
23401 Right, two problems here: ghostpads don't take locks and
23402 glib _rec_mutex_lock_full() with depth==0 still locks.
23403 Catch illegal locking and g_warn them.
23405 2005-06-25 Wim Taymans <wim@fluendo.com>
23407 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23408 Have to check for completion now...
23410 2005-06-25 Wim Taymans <wim@fluendo.com>
23412 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23413 (gst_basesink_handle_object), (gst_basesink_event),
23414 (gst_basesink_do_sync), (gst_basesink_handle_event),
23415 (gst_basesink_change_state):
23417 Unlock STREAM_LOCK whatever the recursion was.
23419 2005-06-25 Wim Taymans <wim@fluendo.com>
23421 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23422 (gst_basesink_preroll_queue_empty),
23423 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23424 (gst_basesink_event), (gst_basesink_do_sync),
23425 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23426 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23427 (gst_basesink_change_state):
23428 Reworked the base sink, handle event and buffer serialisation
23429 correctly and removed possible deadlock.
23430 Handle EOS correctly.
23432 2005-06-25 Wim Taymans <wim@fluendo.com>
23434 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23435 (gst_pipeline_change_state):
23436 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23437 Allow elements to post EOS in the state change function.
23438 Fix up -launch, make it exit the poll loop when the
23439 pipeline actually changed state.
23440 Fix up warning parsing in -launch.
23442 2005-06-25 Wim Taymans <wim@fluendo.com>
23444 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23445 (gst_tee_sink_activate):
23446 Core takes STREAM_LOCK for us now.
23448 2005-06-25 Wim Taymans <wim@fluendo.com>
23450 * gst/gstelement.c: (gst_element_get_state_func),
23451 (gst_element_set_state):
23452 * gst/gstelement.h:
23453 * gst/gstmessage.c: (gst_message_parse_error),
23454 (gst_message_parse_warning):
23455 Keep track of current target state while performing a state
23456 change so that subclasses can do something interesting.
23457 Fix parsing of warning/error messages when GError is NULL.
23459 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23461 * docs/gst/Makefile.am:
23462 * docs/gst/gstreamer-docs.sgml:
23463 * docs/gst/gstreamer-sections.txt:
23464 * docs/gst/gstreamer.types:
23465 * docs/gst/tmpl/gstbasesink.sgml:
23466 * docs/gst/tmpl/gstbasesrc.sgml:
23467 * docs/gst/tmpl/gstbin.sgml:
23468 * docs/gst/tmpl/gstcompat.sgml:
23469 * docs/gst/tmpl/gstfakesink.sgml:
23470 * docs/gst/tmpl/gstfakesrc.sgml:
23471 * docs/gst/tmpl/gstfilesink.sgml:
23472 * docs/gst/tmpl/gstfilesrc.sgml:
23473 * docs/gst/tmpl/gstindex.sgml:
23474 * docs/manual/appendix-quotes.xml:
23475 * gst/base/gstbasesrc.h:
23476 * gst/elements/gstfakesrc.h:
23477 * gst/gstmessage.h:
23478 start pulling in base classes and elements in our docs
23480 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23482 * docs/gst/Makefile.am:
23483 * docs/libs/Makefile.am:
23484 fixed make distcheck with gtk-doc 1.3
23486 2005-06-23 Wim Taymans <wim@fluendo.com>
23488 * gst/gstelement.c: (gst_element_get_state_func),
23489 (gst_element_set_state), (gst_element_change_state):
23490 When the state did not change, also report NO_PREROLL
23493 2005-06-23 Wim Taymans <wim@fluendo.com>
23495 * gst/gstpad.c: (gst_pad_event_default):
23496 * gst/gstqueue.c: (gst_queue_loop):
23497 No unsafe task pausing please.
23499 2005-06-23 Wim Taymans <wim@fluendo.com>
23501 * gst/schedulers/threadscheduler.c:
23502 (gst_thread_scheduler_task_start),
23503 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23504 Ref the task before pushing it on the threadpool. This
23505 makes sure that we have a ref when the threadfunction is
23508 2005-06-23 Andy Wingo <wingo@pobox.com>
23510 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23511 offset is greater than the file's size.
23513 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23514 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23515 * gst/gstobject.c (gst_object_class_init): Make the class lock
23516 recursive. Wim won't let me drop deep_notify. Decodebin works
23517 again, whoopdy doo.
23519 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23520 internal pad, and hacks accordingly. Doesn't do it on the target
23521 pad because we change its caps. Probably catches all cases of
23523 (gst_ghost_pad_set_property): Connect to notify::caps as
23526 * tests/network-clock.scm (plot-simulation): Pipe data to the
23527 elite python skript.
23529 * tests/network-clock-utils.scm (define-parameter): New macro,
23530 defines a parameter that can be set via the command line.
23531 (set-parameter!, parse-parameter-arguments): Command line args
23534 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23537 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23539 * gst/elements/gsttypefindelement.c:
23540 (gst_type_find_element_handle_event):
23541 Don't restart typefinding on a discont.
23542 * gst/gstelement.c: (gst_element_set_state):
23543 Debug spelling fix.
23544 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23545 Allow changing mode of an active pad.
23546 Debug output fixes.
23547 * gst/registries/gstlibxmlregistry.c: (load_feature):
23548 Don't cast a static pad template to a normal pad template.
23550 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23552 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23553 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23554 remove gst_strtoll completely, since it didn't actually do
23555 anything more than what g_ascii_strtoull already does.
23556 check for range errors when deserializing
23557 do a cast for the unsigned cases; but further fixing needs
23558 a decision on what the interpretation of "(int)" and
23559 deserialization should be for values that fall outside the
23560 type's boundaries (ie, refuse, or interpret as casting)
23562 2005-06-23 Wim Taymans <wim@fluendo.com>
23564 * check/Makefile.am:
23565 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23566 * docs/design/part-live-source.txt:
23567 * docs/design/part-states.txt:
23568 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23569 (gst_basesrc_set_live), (gst_basesrc_is_live),
23570 (gst_basesrc_get_range), (gst_basesrc_activate),
23571 (gst_basesrc_change_state):
23572 * gst/base/gstbasesrc.h:
23573 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23574 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23575 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23576 * gst/gstelement.c: (gst_element_get_state_func),
23577 (gst_element_set_state):
23578 * gst/gstelement.h:
23580 * tools/gst-launch.c: (event_loop), (main):
23581 Added support for live sources and other elements that
23583 Updated design docs, added live-source design doc.
23584 Implemented live source functionality in basesrc
23585 Fix error condition in _bin_get_state()
23586 Implement live source handling in -launch.
23587 Added check for live sources.
23588 Fixed case in GstBin where elements were changed state
23592 2005-06-23 Andy Wingo <wingo@pobox.com>
23594 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23595 borken refcounting.
23597 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23598 gst_caps_replace takes care of this for us.
23600 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23601 gst_pad_set_caps on the target, not just its setcaps() function.
23603 * tests/network-clock.scm:
23604 * tests/network-clock-utils.scm: A network clock simulator.
23605 Something of an algorithmic testbed before doing something in C.
23607 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23609 * check/Makefile.am:
23610 * check/gst/capslist.h:
23611 copy over from 0.8, and add two with bitmasks specified with
23613 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23614 add test to parse everything from capslist.h
23615 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23617 add test for structure deserialization
23618 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23619 add tests for deserialization of strings to int types
23620 * gst/gststructure.c: (gst_structure_nth_field_name):
23621 * gst/gststructure.h:
23622 add a way to get the name of a field referenced by index
23623 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23624 instead of checking if the resulting long long lies between
23625 min and max, we check if the long long would fit into
23626 a number of bytes for the final type.
23627 This fixes cases where a string represents 2^32 - 1, which
23628 when cast to int would be the (valid) -1, but is bigger than
23631 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23633 * gst/parse/grammar.y:
23634 add a log line for type deserialization
23636 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23638 * check/gst/gstvalue.c: (START_TEST):
23639 * gst/gstvalue.c: (gst_value_deserialize):
23640 return long long, not int, so gint64 deserialization actually
23641 works. Is there any flag that makes the compiler check this ?
23644 2005-06-22 Wim Taymans <wim@fluendo.com>
23647 Added convenience macros for setting buffers in GValue.
23649 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23651 * check/gst/.cvsignore:
23652 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23653 add a test deserializing int64, and comment part out because
23656 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23658 * check/Makefile.am:
23659 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23660 * testsuite/Makefile.am:
23661 * testsuite/caps/Makefile.am:
23662 * testsuite/caps/value_serialize.c:
23663 * testsuite/test_gst_init.c:
23664 move a value_serialize test over
23666 2005-06-20 Wim Taymans <wim@fluendo.com>
23671 * gst/gstvalue.c: (gst_value_compare_buffer),
23672 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23673 (gst_value_compare_flags), (gst_value_serialize_flags),
23674 (gst_value_deserialize_flags), (_gst_value_initialize):
23675 Fix serialisation of buffers, they are not boxed types anymore
23677 2005-06-20 Wim Taymans <wim@fluendo.com>
23679 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23680 Testcase to show error in buffer-on-caps serialisation.
23682 2005-06-20 Andy Wingo <wingo@pobox.com>
23684 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23685 will be adding to later.
23687 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23688 if its socks fill with rocks.
23689 (gst_system_clock_obtain): Set the name on object construction.
23690 Avoid double-checked locking.
23692 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23694 * gst/gsturi.c: (gst_element_make_from_uri):
23695 Fix potential endless loop.
23697 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23699 * check/Makefile.am:
23701 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23703 move over from testsuite dir and clean up
23706 * testsuite/Makefile.am:
23707 * testsuite/tags/.cvsignore:
23708 * testsuite/tags/Makefile.am:
23709 * testsuite/tags/merge.c:
23710 remove testsuite/tags
23712 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23714 * docs/gst/gstreamer-sections.txt:
23715 * docs/gst/tmpl/gstenumtypes.sgml:
23716 * win32/gstenumtypes.c:
23717 clean up documentation build a little
23719 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23721 * check/gstcheck.h:
23722 add macros for checking refcounts on objects and caps
23723 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23724 add some more unit tests
23725 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23726 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23727 fix leaked refcounts (I hope :)) so unittest works
23731 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23733 * configure.ac: back to HEAD
23735 === release 0.9.1 ===
23737 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23743 2005-06-17 Andy Wingo <wingo@pobox.com>
23745 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23746 assert; it's always possible that the pad gets deactivated in
23747 between the checks in gstpad.c and the implementation. Rely on
23748 finish_preroll() to return a FLUSHING or similar instead of on the
23751 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23752 clock and post an EOS message if we come out of finish_preroll in
23755 2005-06-16 David Schleef <ds@schleef.org>
23757 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23758 (gst_capsfilter_set_property): Allow NULL as possible value
23759 for filter_caps property, indicating GST_CAPS_ANY.
23761 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23763 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23765 * gst/schedulers/Makefile.am:
23767 * gstreamer.spec.in:
23770 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23772 * gstreamer.spec.in:
23775 2005-06-08 Andy Wingo <wingo@pobox.com>
23777 * gst/gstutils.c: RPAD fixes all around.
23778 (gst_element_link_pads): Refcounting fixes.
23780 * tools/gst-inspect.c:
23781 * tools/gst-xmlinspect.c:
23783 * gst/base/gsttypefindhelper.c:
23784 * gst/base/gstbasesink.c:
23785 * gst/gstqueue.c: RPAD fixes.
23787 * gst/gstghostpad.h:
23788 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23789 pads. The tricky thing is they provide both source and sink
23790 interfaces, since they proxy the internal pad for the external
23791 pad, and vice versa. Implement with lower-level ProxyPad objects,
23792 with the interior proxy pad as a child of the exterior ghost pad.
23793 Should write a doc on this.
23795 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23796 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23799 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23800 pads are real pads. No ghost pads in this file. Not documenting
23801 the myriad s/RPAD/PAD/ and REALIZE fixes.
23802 (gst_pad_class_init): Add properties for "direction" and
23803 "template". Both are construct-only, so they can't change during
23804 the life of the pad. Fixes properly deriving from GstPad.
23805 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23806 derived objects, just set properties when creating the objects via
23808 (gst_pad_get_parent): Implement as a function, return NULL if the
23809 parent is not an element.
23810 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23811 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23813 * gst/gstobject.c (gst_object_class_init): Make name a construct
23814 property. Don't set it in the object init.
23816 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23817 with UNKNOWN direction.
23818 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23819 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23820 (gst_element_remove_pad): Remove ghost-pad special cases.
23821 (gst_element_pads_activate): Remove rpad cruft.
23823 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23824 catch the pad's-parent-not-an-element case.
23826 * gst/gst.h: Include gstghostpad.h.
23828 * gst/gst.c (init_post): No more real, ghost pads.
23830 * gst/Makefile.am: Add gstghostpad.[ch].
23832 * check/Makefile.am:
23833 * check/gst/gstbin.c:
23834 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23835 into a bin creates ghost pads, and that the refcounts are right.
23836 Partly moved from gstbin.c.
23838 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23840 * check/gst-libs/.cvsignore:
23841 * check/gst/.cvsignore:
23842 * check/pipelines/.cvsignore:
23844 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23845 (START_TEST), (cleanup_suite), (main):
23846 add some tests related to cleanup after running pipelines
23848 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23850 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23851 add a testsuite for GstBuffer
23853 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23855 * gst/gstminiobject.h:
23856 add defines for accessing the refcount
23858 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23860 * Makefile.am: added support for html unit test coverage reports
23862 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23864 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23865 Free existing caps if the capsfilter changes. Add a FIXME about
23866 setting those caps on the pads.
23868 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23869 Before adding a ghost pad to a parent bin, check that there isn't
23870 already one for the element on the bin. Prevents infinite recursion
23871 when using decodebin in parse pipelines. Andy says he'll rewrite the
23872 way this works anyway, so ignore the hack.
23874 2005-06-02 Andy Wingo <wingo@pobox.com>
23876 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23877 file size, pass it on to the type find helper.
23879 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23880 segment_start and segment_end properly according to the seek
23881 method. Segment_end is still a bit flaky because offset can be
23882 negative for CUR and END cases, but it takes -1 as an "unset"
23885 2005-06-02 Wim Taymans <wim@fluendo.com>
23887 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23888 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23889 (gst_basesink_activate):
23890 * gst/base/gstbasesink.h:
23891 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23892 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23893 (gst_pad_query), (gst_pad_start_task):
23895 * gst/gstqueue.c: (gst_queue_bufferalloc),
23896 (gst_queue_handle_sink_event), (gst_queue_chain):
23897 Bufferalloc: return GstFlowReturn to more accuratly report
23898 why allocation failed.
23900 2005-06-02 Wim Taymans <wim@fluendo.com>
23902 * gst/gstpipeline.c: (gst_pipeline_send_event):
23903 Take snapshot of state without blocking.
23905 2005-06-02 Wim Taymans <wim@fluendo.com>
23907 * docs/design/part-TODO.txt:
23908 * docs/design/part-caps.txt:
23909 * docs/design/part-clocks.txt:
23910 * docs/design/part-negotiation.txt:
23911 * docs/design/part-preroll.txt:
23914 2005-05-30 Wim Taymans <wim@fluendo.com>
23916 * gst/elements/gstidentity.c: (gst_identity_event),
23917 (gst_identity_transform), (gst_identity_get_property):
23918 Protect last_message property as it is accessed from
23921 2005-05-30 Wim Taymans <wim@fluendo.com>
23923 * gst/gstelement.c: (gst_element_init),
23924 (gst_element_pads_activate), (gst_element_change_state):
23925 Slicker pad activation code.
23927 2005-05-30 Wim Taymans <wim@fluendo.com>
23930 * gst/gstelement.h:
23931 * gst/gstelementfactory.h:
23933 Move elementfactory methods to separate .h file.
23935 2005-05-30 Wim Taymans <wim@fluendo.com>
23937 * docs/design/part-overview.txt:
23938 * gst/gstsystemclock.h:
23939 Small typo fixes, doc updates.
23941 2005-05-30 Wim Taymans <wim@fluendo.com>
23943 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23944 (init_popt_callback):
23945 Remove cpu-opt flag.
23947 2005-05-30 Wim Taymans <wim@fluendo.com>
23949 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23950 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23952 Avoid typechecking in places where not needed.
23953 Added accessor for malloc_data.
23955 2005-05-30 Wim Taymans <wim@fluendo.com>
23957 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23958 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23959 (gst_pad_configure_sink), (gst_pad_configure_src),
23960 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23961 (gst_pad_start_task):
23962 Propagate errors from _set_caps() in configure_src/sink
23963 functions instead of returning TRUE.
23964 FLUSH events can travel up and downstream
23967 2005-05-30 Wim Taymans <wim@fluendo.com>
23969 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23970 (gst_basesink_activate):
23971 Handle EOS in preroll.
23973 2005-05-30 Wim Taymans <wim@fluendo.com>
23975 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23976 (gst_queue_loop), (gst_queue_handle_src_event):
23977 Remove old pieces of code
23978 Flushing the queue in an upstream event is a very bad idea.
23980 2005-05-26 Andy Wingo <wingo@pobox.com>
23982 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23983 gst_value_set_mini_object so as to add a ref on the object (which
23984 will be removed when the value is unset).
23986 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23987 arg type in ::handoff.
23989 * gst/gstelement.c (gst_element_change_state): Also deactivate
23990 pads in READY->NULL, just in case the element didn't make it to
23991 PAUSED. Wingo tested, Wim approved.
23993 2005-05-26 Wim Taymans <wim@fluendo.com>
23995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23996 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23997 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23998 A flushing pad cannot be used to alloc_buffer from.
24000 2005-05-26 Wim Taymans <wim@fluendo.com>
24002 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24003 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24004 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24005 (gst_bus_create_watch), (gst_bus_add_watch_full):
24007 Implement a real GSource and use g_main_context_wakeup() to
24008 signal new messages instead of the socketpair.
24010 2005-05-25 Wim Taymans <wim@fluendo.com>
24012 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24013 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24014 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24015 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24016 (gst_pad_send_event), (gst_pad_start_task):
24017 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24018 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24019 (gst_queue_sink_activate), (gst_queue_src_activate),
24020 (gst_queue_change_state):
24022 Fix state changes for non sinks. We now change sinks, then elements
24023 with unconnected srcpads, then the rest.
24024 More efficient queue unlocking in flush and state changes.
24025 Set the pad activate mode even if it does not have an activate
24028 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24030 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24031 Don't go in pull mode for non-seekable sources.
24032 * gst/elements/gsttypefindelement.h:
24033 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24034 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24035 (free_entry), (stop_typefinding),
24036 (gst_type_find_element_handle_event), (find_peek),
24037 (gst_type_find_element_chain), (do_pull_typefind),
24038 (gst_type_find_element_change_state):
24039 Allow typefinding (w/o seeking) in push-mode, simplified version
24040 of what was in 0.8.
24041 * gst/gstutils.c: (gst_buffer_join):
24043 gst_buffer_join() from 0.8.
24045 2005-05-25 Wim Taymans <wim@fluendo.com>
24047 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24048 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24049 (gst_pad_send_event), (gst_pad_start_task):
24050 Disable attempt at mode switching until it is figured out.
24052 2005-05-25 Wim Taymans <wim@fluendo.com>
24054 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24055 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24056 (gst_basesink_finish_preroll), (gst_basesink_chain),
24057 (gst_basesink_loop), (gst_basesink_activate),
24058 (gst_basesink_change_state):
24059 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24060 (gst_basesrc_get_range), (gst_basesrc_loop),
24061 (gst_basesrc_activate):
24062 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24063 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24064 (gst_real_pad_init), (gst_real_pad_set_property),
24065 (gst_real_pad_get_property), (gst_pad_set_active),
24066 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24067 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24068 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24069 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24070 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24071 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24072 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24073 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24074 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24075 (gst_pad_stop_task):
24077 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24078 (gst_queue_loop), (gst_queue_src_activate):
24079 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24080 (gst_task_get_state):
24082 * gst/schedulers/threadscheduler.c:
24083 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24084 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24086 Remove ACTIVE pad flag, use FLUSHING everywhere
24087 Added _pad_chain(), _pad_get_range() to call chain/getrange
24089 Add locks around IS_FLUSHING when reading.
24090 Take STREAM lock in chain(), get_range() functions so plugins
24091 don't need to take it anymore.
24095 2005-05-25 Wim Taymans <wim@fluendo.com>
24097 * tools/gst-launch.c: (event_loop):
24098 Unref message after using its contents instead of
24101 2005-05-24 Wim Taymans <wim@fluendo.com>
24103 * docs/design/draft-ghostpads.txt:
24104 * docs/design/draft-push-pull.txt:
24105 * docs/design/draft-query.txt:
24106 * docs/design/part-overview.txt:
24107 Docs updates, added general overview doc.
24109 2005-05-21 David Schleef <ds@schleef.org>
24111 * docs/gst/tmpl/old/GstBin.sgml:
24112 * docs/gst/tmpl/old/GstBuffer.sgml:
24113 * docs/gst/tmpl/old/GstCaps.sgml:
24114 * docs/gst/tmpl/old/GstClock.sgml:
24115 * docs/gst/tmpl/old/GstCompat.sgml:
24116 * docs/gst/tmpl/old/GstData.sgml:
24117 * docs/gst/tmpl/old/GstElement.sgml:
24118 * docs/gst/tmpl/old/GstEvent.sgml:
24119 * docs/gst/tmpl/old/GstIndex.sgml:
24120 * docs/gst/tmpl/old/GstStructure.sgml:
24121 * docs/gst/tmpl/old/GstTag.sgml:
24122 * docs/gst/tmpl/old/cothreads.sgml:
24123 * docs/gst/tmpl/old/cothreads_compat.sgml:
24124 * docs/gst/tmpl/old/gettext.sgml:
24125 * docs/gst/tmpl/old/gobject2gtk.sgml:
24126 * docs/gst/tmpl/old/grammar.tab.sgml:
24127 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24128 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24129 * docs/gst/tmpl/old/gst_private.sgml:
24130 * docs/gst/tmpl/old/gstaggregator.sgml:
24131 * docs/gst/tmpl/old/gstarch.sgml:
24132 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24133 * docs/gst/tmpl/old/gstbufferstore.sgml:
24134 * docs/gst/tmpl/old/gstdata_private.sgml:
24135 * docs/gst/tmpl/old/gstdisksink.sgml:
24136 * docs/gst/tmpl/old/gstdisksrc.sgml:
24137 * docs/gst/tmpl/old/gstelementfactory.sgml:
24138 * docs/gst/tmpl/old/gstextratypes.sgml:
24139 * docs/gst/tmpl/old/gstfakesink.sgml:
24140 * docs/gst/tmpl/old/gstfakesrc.sgml:
24141 * docs/gst/tmpl/old/gstfdsink.sgml:
24142 * docs/gst/tmpl/old/gstfdsrc.sgml:
24143 * docs/gst/tmpl/old/gstfilesink.sgml:
24144 * docs/gst/tmpl/old/gstfilesrc.sgml:
24145 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24146 * docs/gst/tmpl/old/gstidentity.sgml:
24147 * docs/gst/tmpl/old/gstindexfactory.sgml:
24148 * docs/gst/tmpl/old/gstmarshal.sgml:
24149 * docs/gst/tmpl/old/gstmd5sink.sgml:
24150 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24151 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24152 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24153 * docs/gst/tmpl/old/gstpipefilter.sgml:
24154 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24155 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24156 * docs/gst/tmpl/old/gstshaper.sgml:
24157 * docs/gst/tmpl/old/gstspider.sgml:
24158 * docs/gst/tmpl/old/gstspideridentity.sgml:
24159 * docs/gst/tmpl/old/gststatistics.sgml:
24160 * docs/gst/tmpl/old/gsttee.sgml:
24161 * docs/gst/tmpl/old/gsttimecache.sgml:
24162 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24163 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24164 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24165 * docs/gst/tmpl/old/types.sgml:
24166 I didn't intend to add these or check them in.
24168 2005-05-19 David Schleef <ds@schleef.org>
24170 * configure.ac: Use -no-common everywhere. In a sane world, it
24171 would be the default in libtool, because without it, you can't
24172 build DLLs on Windows.
24173 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24174 * docs/gst/gstreamer-sections.txt:
24175 * docs/gst/tmpl/gstcpu.sgml:
24176 * docs/gst/tmpl/gstdata.sgml:
24177 * docs/gst/tmpl/gstthread.sgml:
24179 2005-05-19 David Schleef <ds@schleef.org>
24181 * gst/gstminiobject.c: (gst_value_set_mini_object),
24182 (gst_value_take_mini_object), (gst_value_get_mini_object):
24183 * gst/gstminiobject.h: Add GValue set/get functions.
24185 2005-05-19 Wim Taymans <wim@fluendo.com>
24187 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24188 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24189 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24191 * gst/gstbus.c: (gst_bus_post):
24192 * gst/gstelement.c: (gst_element_get_random_pad):
24193 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24194 Make subbufer unref the parent in finalize.
24195 some more debugging info.
24198 2005-05-19 Wim Taymans <wim@fluendo.com>
24200 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24201 (gst_basesink_init), (gst_basesink_finalize),
24202 (gst_basesink_activate), (gst_basesink_change_state):
24203 Don't free preroll queue too early.
24205 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24209 Hi, I'm outdated. Please shoot me.
24211 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24213 * gst/gstpipeline.c: (gst_pipeline_send_event):
24214 Do not access variables after they have been deleted.
24216 2005-05-19 Wim Taymans <wim@fluendo.com>
24218 * tools/gst-inspect.c: (print_plugin_features):
24219 A plugin feature does unfortunatly not use the
24222 2005-05-18 Wim Taymans <wim@fluendo.com>
24224 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24225 Port _span() functions to new subbuffers.
24227 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24229 * gst/gstbin.c: (gst_bin_add_func):
24230 Fix clock settery in bins when adding kids after the clock has
24233 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24235 * gst/elements/gstidentity.c: (gst_identity_class_init):
24236 Workaround until signals support GstMiniObject.
24238 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24241 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24243 2005-05-18 Wim Taymans <wim@fluendo.com>
24245 * gst/base/Makefile.am:
24246 * gst/base/gstadapter.c: (gst_adapter_base_init),
24247 (gst_adapter_class_init), (gst_adapter_init),
24248 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24249 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24250 (gst_adapter_flush), (gst_adapter_available),
24251 (gst_adapter_available_fast):
24252 * gst/base/gstadapter.h:
24253 Ported and added adapter to the base classes.
24255 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24258 * gst/gstmessage.c:
24259 Make sure the class is reffed/unreffed once before threads can be
24260 used. Fixes #304551.
24262 2005-05-17 Wim Taymans <wim@fluendo.com>
24264 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24265 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24266 * gst/gstminiobject.c: (gst_mini_object_get_type),
24267 (gst_mini_object_free):
24268 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24269 (gst_pad_push), (gst_pad_push_event):
24270 * gst/gstqueue.c: (gst_queue_change_state):
24271 Don't queue buffers in basesink when we are flushing.
24272 Unref buffer when flushing in basesink.
24273 Flush queue when going to READY
24274 Unref buffer when _push() returns an error.
24275 Don't free MiniObject instance when refcount is incremented
24276 in _finalize() so that we can recover objects.
24278 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24280 * docs/manual/advanced-schedulers.xml:
24281 * docs/manual/appendix-checklist.xml:
24282 * docs/pwg/advanced-clock.xml:
24283 * docs/pwg/advanced-interfaces.xml:
24284 * docs/pwg/advanced-request.xml:
24285 * docs/pwg/advanced-types.xml:
24286 * docs/pwg/intro-preface.xml:
24287 * examples/plugins/example.c: (gst_example_get_type),
24288 (gst_example_class_init), (gst_example_chain),
24289 (gst_example_set_property), (gst_example_get_property),
24290 (gst_example_change_state), (plugin_init):
24291 * examples/plugins/example.h:
24294 2005-05-17 Wim Taymans <wim@fluendo.com>
24296 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24297 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24298 * gst/gstqueue.c: (gst_queue_change_state):
24299 Clear queue when going to READY.
24300 Remove IN_SETCAPS flag too.
24302 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24304 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24305 Remove implicit cast from gboolean to GstElementStateReturn;
24306 make sure we still return failure in paused => ready case if
24307 the parent class fails to change state and our own stop
24310 2005-05-17 Wim Taymans <wim@fluendo.com>
24312 * tools/gst-launch.c: (event_loop):
24313 Message was unreffed too soon.
24315 2005-05-16 Andy Wingo <wingo@pobox.com>
24317 * gst/gstbin.c (sink_iterator_filter): Err... um...
24319 * check/gst/gstbin.c (test_ghost_pads): New test for the
24320 ghosting-if-elements-not-in-same-bin behavior.
24322 2005-05-16 David Schleef <ds@schleef.org>
24324 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24325 accessing refcount directly.
24327 2005-05-15 David Schleef <ds@schleef.org>
24329 * check/Makefile.am: remove GstData checks
24330 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24331 * gst/Makefile.am: add miniobject, remove data
24332 * gst/gst.h: add miniobject, remove data
24333 * gst/gstdata.c: remove
24334 * gst/gstdata.h: remove
24335 * gst/gstdata_private.h: remove
24336 * gst/gsttypes.h: remove GstEvent and GstMessage
24337 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24338 * gst/gstmarshal.list: change BOXED -> OBJECT
24340 Implement GstMiniObject.
24341 * gst/gstminiobject.c:
24342 * gst/gstminiobject.h:
24344 Modify to be subclasses of GstMiniObject.
24345 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24346 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24347 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24348 (gst_subbuffer_get_type), (gst_subbuffer_init),
24349 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24352 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24353 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24354 (_gst_event_copy), (gst_event_new):
24356 * gst/gstmessage.c: (_gst_message_initialize),
24357 (gst_message_get_type), (gst_message_class_init),
24358 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24359 (gst_message_new), (gst_message_new_error),
24360 (gst_message_new_warning), (gst_message_new_tag),
24361 (gst_message_new_state_changed), (gst_message_new_application):
24362 * gst/gstmessage.h:
24363 * gst/gstprobe.c: (gst_probe_perform),
24364 (gst_probe_dispatcher_dispatch):
24366 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24367 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24368 (_gst_query_copy), (gst_query_new):
24370 Update elements for GstData -> GstMiniObject changes
24372 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24373 (gst_queue_chain), (gst_queue_loop):
24374 * gst/elements/gstbufferstore.c:
24375 (gst_buffer_store_add_buffer_func),
24376 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24377 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24378 (gst_fakesink_render):
24379 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24380 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24381 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24382 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24383 (gst_filesrc_create_read):
24384 * gst/elements/gstidentity.c: (gst_identity_class_init):
24385 * gst/elements/gsttypefindelement.c:
24386 (gst_type_find_element_src_event), (free_entry_buffers),
24387 (gst_type_find_element_handle_event):
24388 * libs/gst/dataprotocol/dataprotocol.c:
24389 (gst_dp_header_from_buffer):
24390 * libs/gst/dataprotocol/dataprotocol.h:
24391 * libs/gst/dataprotocol/dp-private.h:
24393 2005-05-15 David Schleef <ds@schleef.org>
24395 * gst/elements/gstelements.c: Don't include headers that were
24398 2005-05-15 David Schleef <ds@schleef.org>
24400 * gst/elements/Makefile.am: Remove some elements that don't
24401 need to be in the core (or even exist at all).
24402 * gst/elements/gstaggregator.c:
24403 * gst/elements/gstaggregator.h:
24404 * gst/elements/gstmd5sink.c:
24405 * gst/elements/gstmd5sink.h:
24406 * gst/elements/gstmultifilesrc.c:
24407 * gst/elements/gstmultifilesrc.h:
24408 * gst/elements/gstpipefilter.c:
24409 * gst/elements/gstpipefilter.h:
24410 * gst/elements/gstshaper.c:
24411 * gst/elements/gstshaper.h:
24412 * gst/elements/gststatistics.c:
24413 * gst/elements/gststatistics.h:
24414 * po/POTFILES.in: Remove above files.
24416 2005-05-14 Andy Wingo <wingo@pobox.com>
24418 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24419 so as to get the refs right.
24420 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24421 unreffing objects that don't pass the filter.
24423 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24424 gst_element_set_bus.
24425 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24426 normal cases, this will destroy the bus.
24428 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24431 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24434 2005-05-13 Andy Wingo <wingo@pobox.com>
24436 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24437 gst_pad_link, call pad_link_maybe_ghosting,
24438 (pad_link_maybe_ghosting): Links pads, making sure that the
24439 elements being linked are in the same bin.
24440 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24441 Helpers for pad_link_maybe_ghosting.
24443 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24446 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24448 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24450 * docs/design/part-element-source.txt:
24453 2005-05-12 Wim Taymans <wim@fluendo.com>
24455 * gst/base/gstbasesink.c: (gst_basesink_init),
24456 (gst_basesink_activate):
24457 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24458 (gst_basesrc_is_seekable):
24459 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24460 (bin_element_is_sink), (gst_bin_change_state):
24461 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24462 * gst/gstelement.h:
24463 Identify sinks by their flag to avoid overly complicated
24465 Do state changes even for elements not reachable from the
24467 BaseSink is a sink now :)
24468 Some more debugging info in the basesrc.
24471 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24473 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24474 Implement _query on a bin, similar to _send_event.
24476 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24478 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24479 Discont event offset format should be GST_FORMAT_BYTES,
24480 not GST_FORMAT_TIME.
24482 2005-05-12 Wim Taymans <wim@fluendo.com>
24484 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24485 Same fix as Ronald's but without the signal.
24487 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24489 * gst/gstutils.c: (gst_element_query_position):
24490 No, an element is not a pad.
24492 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24494 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24495 (gst_bin_get_state):
24496 If a child is removed from a bin while we remove the child from
24497 the bin and while we're retrieving its state, signal this to the
24498 get_state function so we abort the wait (instead of waiting for
24499 a timeout) and can immediately re-iterate over all other elements.
24501 2005-05-12 Wim Taymans <wim@fluendo.com>
24503 * gst/base/Makefile.am:
24504 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24505 (gst_basesrc_start):
24506 * gst/base/gstbasesrc.h:
24507 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24508 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24509 (gst_pushsrc_init), (gst_pushsrc_create):
24510 * gst/base/gstpushsrc.h:
24511 Added is_seekable to BaseSrc
24512 Added simple PushSrc.
24514 2005-05-11 Wim Taymans <wim@fluendo.com>
24516 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24517 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24518 (gst_element_link_pads), (gst_element_query_position),
24519 (gst_element_query_convert), (intersect_caps_func),
24520 (gst_pad_query_position), (gst_pad_query_convert):
24521 Fix refcounting in utils function.
24522 No point in trying to activate a pad when it's added, it could
24523 be added from the state change function and then we deadlock, the
24524 element has to decide what to do.
24526 2005-05-10 Andy Wingo <wingo@pobox.com>
24528 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24529 *all* the arguments.
24531 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24532 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24533 lock (according to the docs -- if this is wrong change the docs).
24535 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24536 flush messages in the NULL state.
24538 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24539 message immediately and return.
24540 (gst_bus_set_flushing): New function. If a bus is flushing, it
24541 flushes out any queued messages and immediately unrefs new
24542 messages. This is so when an element goes to NULL, all of the
24543 unhandled messages coming from it can be freed, and their
24544 references to the element dropped. In other words: message source
24545 ref considered harmful :P
24547 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24548 we're finished with it.
24550 * gst/gstmessage.c (gst_message_new_state_changed):
24552 2005-05-10 Wim Taymans <wim@fluendo.com>
24554 * gst/gstvalue.c: (gst_value_compare_flags),
24555 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24556 (_gst_value_initialize):
24557 Added flags serialize/deserialize/compare code.
24559 2005-05-09 Andy Wingo <wingo@pobox.com>
24561 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24562 Intersect the peer's caps with our caps.
24564 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24566 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24567 * gst/elements/gsttypefindelement.c: (find_peek):
24568 Handle negative offsets better. Fixes decodebin.
24570 2005-05-09 Wim Taymans <wim@fluendo.com>
24572 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24573 (gst_base_transform_event):
24574 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24575 Implement accept_caps.
24576 Fix silly lock/unlock mismatch in base class.
24578 2005-05-09 Wim Taymans <wim@fluendo.com>
24580 * docs/design/draft-push-pull.txt:
24581 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24582 * gst/elements/gstfilesink.c: (gst_filesink_init),
24583 (gst_filesink_query):
24584 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24585 (gst_type_find_handle_src_query), (find_element_get_length):
24586 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24587 * gst/gstelement.h:
24588 * gst/gstmessage.c:
24589 * gst/gstmessage.h:
24590 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24591 (gst_real_pad_get_caps_unlocked),
24592 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24593 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24594 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24595 (gst_real_pad_dispose), (gst_real_pad_finalize),
24596 (gst_pad_load_and_link), (gst_pad_save_thyself),
24597 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24598 (gst_pad_check_pull_range), (gst_pad_pull_range),
24599 (gst_pad_template_get_type), (gst_pad_template_class_init),
24600 (gst_pad_template_init), (gst_pad_template_dispose),
24601 (name_is_valid), (gst_static_pad_template_get),
24602 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24603 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24604 (gst_pad_get_element_private), (gst_pad_start_task),
24605 (gst_pad_pause_task), (gst_pad_stop_task),
24606 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24607 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24608 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24609 (gst_ghost_pad_new):
24611 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24612 (gst_query_new_position), (gst_query_set_position),
24613 (gst_query_parse_position), (gst_query_new_convert),
24614 (gst_query_set_convert), (gst_query_parse_convert):
24616 * gst/gstqueryutils.c:
24617 * gst/gstqueryutils.h:
24618 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24619 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24620 (gst_queue_handle_src_query):
24621 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24622 (gst_element_query_position), (gst_element_query_convert),
24623 (intersect_caps_func), (gst_pad_query_position),
24624 (gst_pad_query_convert):
24626 * tools/gst-inspect.c: (print_pad_info):
24627 * tools/gst-xmlinspect.c: (print_element_info):
24628 Remove old query functions. Ported old code.
24629 Added position/convert helper functions to gstutils.
24630 Reordered gstpad.c code, grouping relevant things.
24631 Remove gst_message_new(), always need to speficy a specific
24635 2005-05-09 Andy Wingo <wingo@pobox.com>
24637 * gst/gstiterator.h: Add some includes.
24639 * gst/gstqueryutils.h: Include more headers.
24642 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24643 some uses of gst_pad_query.
24645 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24646 NULL out parameters.
24647 (gst_query_new_position): New proc, allocates a new position
24650 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24651 gstqueryutils.c to the build.
24653 * gst/gststructure.c (gst_structure_set_valist): Implement with
24654 the generic G_VALUE_COLLECT.
24656 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24658 * gst/Makefile.am: (gst_headers):
24659 Added gstqueryutils.h to the list of headers to install, that was
24660 a 'nachty' move wingo :)
24662 2005-05-06 Andy Wingo <wingo@pobox.com>
24665 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24666 GstData, init a memchunk.
24667 (standard_definitions): Add a few query types, deprecate a few.
24668 (gst_query_get_type): New proc.
24669 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24671 (gst_query_new_application, gst_query_get_structure): New public
24674 * docs/design/draft-query.txt: Removed LINKS from the query types,
24675 because all the rest can be dispatched to other pads -- seemed
24676 ugly to have a query that couldn't be dispatched. internal_links
24677 is fine as a pad method.
24679 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24680 in gstpad.c, but maintain binary compatibility for the moment.
24681 Will fix before 0.9 is out.
24683 * gst/gstqueryutils.c:
24684 * gst/gstqueryutils.h: New files, implement 3 methods for each
24685 query type: parse_query, parse_response, and set. Probably need an
24688 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24690 * gst/elements/gstfilesink.c (gst_filesink_query2):
24691 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24692 query_types, and formats methods.
24694 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24695 (gst_pad_set_query2_function): New functions.
24696 (gst_real_pad_init): Set query2_default as the default query2
24697 function. Basically just dispatches to internally linked pads.
24701 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24702 without using the atomic operations. Only one thread can possibly
24703 be accessing the data at this point. Changed so as to avoid
24704 gst_atomic operations.
24706 2005-05-06 Wim Taymans <wim@fluendo.com>
24708 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24709 Also set caps if we use the fallback buffer alloc.
24711 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24713 * docs/gst/Makefile.am:
24714 * docs/gst/gstreamer-docs.sgml:
24715 * docs/gst/gstreamer-sections.txt:
24716 * docs/gst/tmpl/gstatomic.sgml:
24717 * docs/gst/tmpl/gstmemchunk.sgml:
24718 * testsuite/elements/struct_i386.h:
24719 * win32/GStreamer.vcproj:
24721 Purge GstAtomic stuff from docs and win32 makefiles as well
24723 2005-05-06 Wim Taymans <wim@fluendo.com>
24725 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24726 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24727 * gst/gstpad.c: (gst_pad_peer_get_caps):
24728 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24729 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24730 (gst_queue_src_activate), (gst_queue_change_state):
24732 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24733 (intersect_caps_func):
24734 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24735 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24736 Some fixes for the peer_get_caps() change.
24738 2005-05-06 Wim Taymans <wim@fluendo.com>
24740 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24741 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24742 (gst_basesink_activate):
24743 Actually do something with error codes returned from the push
24746 2005-05-06 Wim Taymans <wim@fluendo.com>
24748 * docs/design/part-element-sink.txt:
24749 * docs/design/part-element-source.txt:
24750 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24751 (gst_basesink_event), (gst_basesink_activate):
24752 * gst/base/gstbasesink.h:
24753 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24754 (gst_basesrc_activate):
24755 * gst/base/gstbasesrc.h:
24756 * gst/gstelement.c: (gst_element_pads_activate):
24757 Some more documentation.
24758 Fixed scheduling decision in _pads_activate().
24760 2005-05-05 Andy Wingo <wingo@pobox.com>
24762 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24765 2005-05-05 Wim Taymans <wim@fluendo.com>
24767 * gst/base/Makefile.am:
24768 * gst/base/gstbasesink.h:
24769 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24770 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24771 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24772 (gst_collectpads_class_init), (gst_collectpads_init),
24773 (gst_collectpads_finalize), (gst_collectpads_new),
24774 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24775 (find_pad), (gst_collectpads_remove_pad),
24776 (gst_collectpads_is_active), (gst_collectpads_collect),
24777 (gst_collectpads_collect_range), (gst_collectpads_start),
24778 (gst_collectpads_stop), (gst_collectpads_peek),
24779 (gst_collectpads_pop), (gst_collectpads_available),
24780 (gst_collectpads_read), (gst_collectpads_flush),
24781 (gst_collectpads_chain):
24782 * gst/base/gstcollectpads.h:
24783 * gst/elements/Makefile.am:
24784 * gst/elements/gstelements.c:
24785 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24786 (gst_fakesink_get_times), (gst_fakesink_event),
24787 (gst_fakesink_preroll), (gst_fakesink_render):
24788 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24789 (gst_filesink_init), (gst_filesink_set_location),
24790 (gst_filesink_open_file), (gst_filesink_close_file),
24791 (gst_filesink_pad_query), (gst_filesink_event),
24792 (gst_filesink_render), (gst_filesink_change_state):
24793 * gst/elements/gstfilesink.h:
24794 Added object to help in making collect pad based elements.
24796 Make event function in sink baseclass return gboolean.
24798 2005-05-05 Wim Taymans <wim@fluendo.com>
24800 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24801 (gst_bin_get_by_name):
24803 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24804 (gst_clock_finalize):
24805 * gst/gstdata.c: (gst_data_replace):
24807 * gst/gstelement.c: (gst_element_request_pad),
24808 (gst_element_pads_activate):
24809 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24810 (gst_object_unref):
24811 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24812 (gst_pad_set_checkgetrange_function),
24813 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24814 (gst_pad_check_pull_range), (gst_pad_pull_range),
24815 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24816 (gst_pad_pause_task), (gst_pad_stop_task):
24817 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24818 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24819 Fix name lookup in GstBin.
24820 Added _data_replace() function and _buffer_replace()
24821 Use finalize method to clean up clock.
24822 Fix refcounting on request pads.
24823 Fix pad schedule mode error.
24824 Some more object refcounting debug info,
24827 2005-05-04 Andy Wingo <wingo@pobox.com>
24829 * check/Makefile.am:
24830 * docs/gst/tmpl/gstatomic.sgml:
24831 * docs/gst/tmpl/gstplugin.sgml:
24832 * gst/base/gstbasesink.c: (gst_basesink_activate):
24833 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24834 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24835 (gst_basesrc_query), (gst_basesrc_set_property),
24836 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24837 (gst_basesrc_activate):
24838 * gst/base/gstbasesrc.h:
24839 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24840 (gst_base_transform_src_activate):
24841 * gst/elements/gstelements.c:
24842 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24843 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24844 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24845 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24846 (gst_type_find_element_checkgetrange),
24847 (gst_type_find_element_activate):
24848 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24849 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24850 (gst_caps_load_thyself):
24851 * gst/gstelement.c: (gst_element_pads_activate),
24852 (gst_element_save_thyself), (gst_element_restore_thyself):
24853 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24854 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24856 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24857 (gst_xml_parse_file), (gst_xml_parse_memory),
24858 (gst_xml_get_element), (gst_xml_make_element):
24859 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24860 (_file_index_id_save_xml), (gst_file_index_commit):
24861 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24862 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24864 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24865 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24866 * tools/gst-complete.c: (main):
24867 * tools/gst-compprep.c: (main):
24868 * tools/gst-inspect.c: (print_element_properties_info):
24869 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24870 * tools/gst-xmlinspect.c: (print_element_properties):
24873 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24875 * gst/gstplugin.c: (gst_plugin_check_module),
24876 (gst_plugin_check_file), (gst_plugin_load_file):
24877 apply patch from #172526 to make register work on MacOSX
24879 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24881 * docs/gst/tmpl/gstconfig.sgml:
24882 * gst/gstconfig.h.in:
24883 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24884 * testsuite/debug/printf_extension.c: (main):
24885 Do not use GST_PTR_FORMAT on pointers to types with
24886 sizeof < sizeof(gpointer). Fixes test on 64-bit
24887 * testsuite/elements/property.h:
24888 use correct printf format
24890 2005-05-02 Wim Taymans <wim@fluendo.com>
24892 * docs/design/draft-push-pull.txt:
24893 * docs/design/draft-query.txt:
24894 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24895 (gst_basesrc_start):
24896 Added draft for new query API.
24897 Added draft for better selecting scheduling methods.
24898 Make basesrc ignore length if the subclass does not support
24901 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24904 possible fixes for automake-1.5 - _LIBADD is reserved
24906 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24908 * docs/faq/Makefile.am:
24909 * docs/manual/Makefile.am:
24910 * docs/manuals.mak:
24911 * docs/pwg/Makefile.am:
24913 possible fixes for automake-1.5
24915 2005-04-28 Wim Taymans <wim@fluendo.com>
24917 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24918 (gst_basesink_pad_getcaps), (gst_basesink_init),
24919 (gst_basesink_do_sync):
24920 * gst/gstclock.c: (gst_clock_entry_new):
24921 * gst/gstevent.c: (gst_event_discont_get_value):
24922 * gst/gstpipeline.c: (pipeline_bus_handler),
24923 (gst_pipeline_change_state):
24924 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24925 Better debugging of clocking info.
24926 Allow NULL values when getting discont values.
24928 2005-04-27 Wim Taymans <wim@fluendo.com>
24930 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24931 * check/gst/gstpad.c: (gst_pad_suite):
24932 Increase timeout for checks.
24934 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24936 * check/Makefile.am:
24937 fix the broken rule for cleanup. Apparently this rule is
24938 only needed on FC2, so maybe this warrants further autotool
24941 2005-04-26 Wim Taymans <wim@fluendo.com>
24943 * gst/gsttrashstack.h:
24944 Ooohh. a nasty one! After having a failed pop() from the stack,
24945 it's possible that the stack is empty. In that case, don't
24946 follow the NULL pointer.
24948 2005-04-25 Wim Taymans <wim@fluendo.com>
24950 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24951 (gst_pad_set_checkgetrange_function),
24952 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24953 (gst_pad_check_pull_range), (gst_pad_pull_range),
24954 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24955 (gst_pad_pause_task), (gst_pad_stop_task):
24956 * gst/gstplugin.c: (gst_plugin_load):
24958 Remove gst_library_load as it does more harm than good with
24959 the new g_module flags.
24960 Revert bogus caps template check in pad linking, pad caps
24961 are important when linking not the template, which is more
24962 general than the current caps.
24964 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24966 * gst/autoplug/.cvsignore:
24967 * gst/autoplug/Makefile.am:
24968 * gst/autoplug/gstsearchfuncs.c:
24969 * gst/autoplug/gstsearchfuncs.h:
24970 * gst/autoplug/gstspider.c:
24971 * gst/autoplug/gstspider.h:
24972 * gst/autoplug/gstspideridentity.c:
24973 * gst/autoplug/gstspideridentity.h:
24974 * gst/autoplug/spidertest.c:
24977 2005-04-25 Wim Taymans <wim@fluendo.com>
24979 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24980 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24981 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24982 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24984 Added stubs for unimplemented functions.
24986 2005-04-24 David Schleef <ds@schleef.org>
24988 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24991 2005-04-24 David Schleef <ds@schleef.org>
24993 Convert everything from GstAtomicInt to g_atomic_int_*, and
24998 * gst/gstatomic_impl.h:
25006 * gst/gstdata_private.h:
25010 * gst/gstmessage.c:
25013 * gst/gststructure.c:
25014 * gst/gststructure.h:
25015 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25018 2005-04-24 David Schleef <ds@schleef.org>
25020 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25021 make the regressions tests work. Remove some code that is no
25023 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25024 Disable warning for pads without templates.
25026 2005-04-24 David Schleef <ds@schleef.org>
25028 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25029 functions that handle filtered links.
25030 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25032 * gst/gstutils.c: Fix/remove utility functions that handle
25035 * gst/gstvalue.c: Add serialization/deserialization of caps
25036 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25037 requires fixing so that the filter caps notation creates
25038 a capsfilter element and sets the filter_caps property. I
25039 think everyone probably wants to keep the shorthand notation.
25040 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25041 * docs/gst/tmpl/gstpad.sgml:
25043 * gst/elements/gstelements.c: Register capsfilter element.
25044 * gst/Makefile.am: fix spacing
25045 * docs/random/ds/0.9-suggested-changes: random
25047 2005-04-23 David Schleef <ds@schleef.org>
25049 * gst/elements/Makefile.am:
25050 * gst/elements/gstcapsfilter.c: New element that acts like an
25051 identity, but filters caps. Will eventually replace filtered
25052 caps in pad linking.
25053 * gst/gstutils.c: (gst_element_create_all_pads): New function
25054 to create all the ALWAYS pads that are registered with an
25055 element class. This functionality should eventually be
25056 merged in with GstElement initialization.
25058 * testsuite/trigger/README: part of trigger test code that should
25059 have been checked in a long time ago.
25061 2005-04-23 David Schleef <ds@schleef.org>
25063 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25064 needed with new versions of libtool (nobody will confirm this),
25065 and hard to carry around.
25066 * gst/autoplug/Makefile.am:
25067 * gst/base/Makefile.am:
25068 * gst/elements/Makefile.am:
25069 * gst/indexers/Makefile.am:
25070 * gst/schedulers/Makefile.am:
25071 * libs/gst/bytestream/Makefile.am:
25072 * libs/gst/control/Makefile.am:
25073 * libs/gst/dataprotocol/Makefile.am:
25074 * libs/gst/getbits/Makefile.am:
25076 2005-04-21 Wim Taymans <wim@fluendo.com>
25078 * docs/design/draft-push-pull.txt:
25079 * docs/design/part-MT-refcounting.txt:
25080 * docs/design/part-TODO.txt:
25081 * docs/design/part-caps.txt:
25082 * docs/design/part-events.txt:
25083 * docs/design/part-gstbus.txt:
25084 * docs/design/part-gstpipeline.txt:
25085 * docs/design/part-messages.txt:
25086 * docs/design/part-push-pull.txt:
25087 * docs/design/part-query.txt:
25090 2005-04-21 Wim Taymans <wim@fluendo.com>
25092 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25093 (gst_message_new), (gst_message_new_error),
25094 (gst_message_new_warning), (gst_message_new_tag),
25095 (gst_message_new_state_changed), (gst_message_new_application),
25096 (gst_message_get_structure):
25097 * gst/gstmessage.h:
25098 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25099 (gst_structure_copy_conditional):
25100 Use parent refcount in GstMessage to ensure GstStructure
25102 Cleaned up headers a bit.
25105 2005-04-20 Wim Taymans <wim@fluendo.com>
25107 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25108 (gst_basesink_pad_getcaps), (gst_basesink_init),
25109 (gst_basesink_chain_unlocked):
25110 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25111 (gst_type_find_helper):
25112 * gst/elements/gsttypefindelement.c:
25113 (gst_type_find_element_have_type), (gst_type_find_element_init),
25114 (stop_typefinding), (gst_type_find_element_handle_event),
25115 (find_suggest), (gst_type_find_element_chain),
25116 (gst_type_find_element_checkgetrange),
25117 (gst_type_find_element_getrange), (do_typefind),
25118 (gst_type_find_element_activate):
25119 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25120 (gst_buffer_default_free), (gst_buffer_default_copy),
25121 (gst_buffer_set_caps):
25122 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25123 (gst_caps_replace):
25124 * gst/gstmessage.c: (gst_message_new),
25125 (gst_message_new_state_changed):
25126 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25127 (gst_pad_set_checkgetrange_function),
25128 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25129 (gst_pad_set_caps), (gst_pad_check_pull_range),
25130 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25132 * gst/gsttypefind.c: (gst_type_find_register):
25133 Make gst_caps_replace() work like other _replace() functions.
25134 Use _caps_replace() where possible.
25135 Make sure _message_new() initialises its field.
25136 Add gst_static_pad_template_get_caps()
25139 2005-04-18 Andy Wingo <wingo@pobox.com>
25141 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25142 on the peer, not the pad. I think that was a typo. Pass an extra
25143 arg to see if random access is possible. Activate the pads as
25144 PULL_RANGE if possible.
25146 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25148 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25149 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25152 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25154 * docs/faq/using.xml:
25155 Add note on gstreamer-properties (#154996).
25157 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25159 * docs/random/bbb/optional-properties:
25160 Some analysis on optional properties.
25162 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25164 * docs/gst/tmpl/gstelementfactory.sgml:
25165 * gst/gstelement.h:
25166 * gst/gstelementfactory.c: (gst_element_factory_init),
25167 (gst_element_factory_cleanup), (gst_element_register),
25168 (__gst_element_factory_add_static_pad_template),
25169 (gst_element_factory_get_static_pad_templates),
25170 (gst_element_factory_can_src_caps),
25171 (gst_element_factory_can_sink_caps):
25172 * gst/registries/Makefile.am:
25173 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25174 (gst_xml_registry_class_init), (gst_xml_registry_init),
25175 (gst_xml_registry_new), (gst_xml_registry_set_property),
25176 (gst_xml_registry_get_property), (get_time), (make_dir),
25177 (gst_xml_registry_get_perms_func),
25178 (plugin_times_older_than_recurse), (plugin_times_older_than),
25179 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25180 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25181 (add_to_char_array), (read_string), (read_uint), (read_enum),
25182 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25183 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25184 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25185 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25186 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25187 (gst_xml_registry_rebuild):
25188 * gst/registries/gstlibxmlregistry.h:
25189 * tools/gst-compprep.c: (main):
25190 * tools/gst-inspect.c: (print_pad_templates_info):
25191 * tools/gst-xmlinspect.c: (print_element_info):
25192 Use libxml2 for registry parsing, use staticpadtemplates in
25193 elementfactories. Makes gst_init() +/- 10x faster.
25195 2005-04-12 Wim Taymans <wim@fluendo.com>
25197 * gst/base/Makefile.am:
25198 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25199 (gst_basesink_pad_getcaps), (gst_basesink_init),
25200 (gst_basesink_event), (gst_basesink_change_state):
25201 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25202 (gst_basesrc_init), (gst_basesrc_query),
25203 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25204 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25205 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25206 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25207 (gst_basesrc_stop), (gst_basesrc_activate),
25208 (gst_basesrc_change_state):
25209 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25210 (helper_find_suggest), (gst_type_find_helper):
25211 * gst/base/gsttypefindhelper.h:
25212 * gst/elements/Makefile.am:
25213 * gst/elements/gstelements.c:
25214 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25215 (gst_fakesink_get_times), (gst_fakesink_event),
25216 (gst_fakesink_preroll), (gst_fakesink_render):
25217 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25218 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25219 (gst_fakesrc_get_property), (gst_fakesrc_create),
25220 (gst_fakesrc_start), (gst_fakesrc_stop):
25221 * gst/elements/gstfakesrc.h:
25222 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25223 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25224 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25225 (gst_filesrc_create_read), (gst_filesrc_create),
25226 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25227 (gst_filesrc_start):
25228 * gst/elements/gsttypefindelement.c:
25229 (gst_type_find_element_have_type), (gst_type_find_element_init),
25230 (start_typefinding), (stop_typefinding), (push_buffer_store),
25231 (gst_type_find_element_handle_event),
25232 (gst_type_find_element_chain),
25233 (gst_type_find_element_checkgetrange),
25234 (gst_type_find_element_getrange), (do_typefind),
25235 (gst_type_find_element_activate),
25236 (gst_type_find_element_change_state):
25237 * gst/elements/gsttypefindelement.h:
25238 * gst/gstpipeline.c: (pipeline_bus_handler):
25239 Added typefind helper.
25240 Small preroll fix in the base sink.
25241 Disable typefind code in basesrc.
25242 Crude port of typefindelement.
25246 2005-04-11 Wim Taymans <wim@fluendo.com>
25248 * check/gst/gstbus.c: (gstbus_suite):
25249 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25250 * check/gstcheck.h:
25251 Fix up the timeout so that the test does not fail.
25253 2005-04-06 Wim Taymans <wim@fluendo.com>
25256 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25257 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25258 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25259 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25260 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25261 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25262 (gst_basesrc_stop), (gst_basesrc_activate),
25263 (gst_basesrc_change_state), (basesrc_find_peek),
25264 (basesrc_find_suggest), (gst_basesrc_type_find):
25265 * gst/base/gstbasesrc.h:
25266 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25267 (gst_filesrc_class_init), (gst_filesrc_init),
25268 (gst_filesrc_finalize), (gst_filesrc_set_location),
25269 (gst_filesrc_set_property), (gst_filesrc_get_property),
25270 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25271 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25272 (gst_filesrc_create_read), (gst_filesrc_create),
25273 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25274 * gst/elements/gstfilesrc.h:
25275 * gst/gstelement.c: (gst_element_get_state_func),
25276 (gst_element_lost_state), (gst_element_pads_activate):
25277 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25278 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25279 (gst_pad_pull_range):
25281 More work on the generic source base class, implement seeking,
25283 Make filesrc extend the base source class.
25284 Added gst_pad_set_checkgetrange_function to GstPad.
25286 2005-04-06 Andy Wingo <wingo@pobox.com>
25288 * pkgconfig/gstreamer-base.pc.in:
25289 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25291 * pkgconfig/Makefile.am:
25292 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25294 2005-04-04 Wim Taymans <wim@fluendo.com>
25296 * gst/base/Makefile.am:
25298 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25299 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25300 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25301 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25302 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25303 (gst_basesrc_base_init), (gst_basesrc_class_init),
25304 (gst_basesrc_init), (gst_basesrc_get_formats),
25305 (gst_basesrc_get_query_types), (gst_basesrc_query),
25306 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25307 (gst_basesrc_set_property), (gst_basesrc_get_property),
25308 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25309 (gst_basesrc_loop), (gst_basesrc_activate),
25310 (gst_basesrc_change_state):
25311 * gst/base/gstbasesrc.h:
25312 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25313 (gst_fakesrc_class_init), (gst_fakesrc_init),
25314 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25315 (gst_fakesrc_get_property), (gst_fakesrc_create):
25316 * gst/elements/gstfakesrc.h:
25317 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25318 (gst_filesrc_open_file), (gst_filesrc_loop),
25319 (gst_filesrc_activate), (filesrc_find_peek),
25320 (gst_filesrc_type_find):
25321 Made base source class, make fakesrc extend it.
25322 Add comments to basesink class.
25323 Some filesrc cleanup.
25325 2005-03-31 David Schleef <ds@schleef.org>
25327 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25328 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25329 expected to link against libgstreamer.
25330 * gst/base/Makefile.am: link against libgstreamer
25331 * gst/elements/Makefile.am: same
25333 2005-03-31 Andy Wingo <wingo@pobox.com>
25335 * tests/instantiate/Makefile.am:
25336 * tests/instantiate/caps.c: Add test to test speed of caps copy
25339 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25340 GMemChunk to be fair.
25342 * gst/gsttrashstack.h: Remove warning about using the fallback
25343 trash stack implementation, it's still faster than malloc.
25345 2005-03-30 Andy Wingo <wingo@pobox.com>
25347 * tests/complexity.c: Add a copyright.
25349 2005-03-31 Wim Taymans <wim@fluendo.com>
25351 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25352 (gst_base_transform_class_init), (gst_base_transform_init),
25353 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25354 (gst_base_transform_get_property),
25355 (gst_base_transform_sink_activate),
25356 (gst_base_transform_src_activate),
25357 (gst_base_transform_change_state):
25358 * gst/base/gstbasetransform.h:
25359 * gst/elements/gstidentity.c: (gst_identity_class_init),
25360 (gst_identity_event), (gst_identity_check_perfect),
25361 (gst_identity_transform), (gst_identity_start),
25362 (gst_identity_stop):
25363 Added start/stop methods to transform base class so subclasses
25364 don't need to deal with state changes even.
25366 2005-03-31 Wim Taymans <wim@fluendo.com>
25368 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25369 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25371 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25372 (gst_pad_pull_range):
25373 Added rate to the discont event to prepare for variable speed
25374 and reverse playback.
25376 2005-03-29 David Schleef <ds@schleef.org>
25379 * testsuite/trigger/Makefile.am:
25380 * testsuite/trigger/trigger.c: A little example program to show
25381 how trigger-based elements can work.
25383 2005-03-29 Wim Taymans <wim@fluendo.com>
25385 * gst/base/Makefile.am:
25387 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25388 (gst_basesink_base_init), (gst_basesink_class_init),
25389 (gst_basesink_pad_getcaps), (gst_basesink_init),
25390 (gst_basesink_activate), (gst_basesink_change_state):
25391 * gst/base/gstbasesink.h:
25392 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25393 (gst_base_transform_base_init), (gst_base_transform_finalize),
25394 (gst_base_transform_class_init), (gst_base_transform_init),
25395 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25396 (gst_base_transform_event), (gst_base_transform_getrange),
25397 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25398 (gst_base_transform_set_property),
25399 (gst_base_transform_get_property),
25400 (gst_base_transform_sink_activate),
25401 (gst_base_transform_src_activate),
25402 (gst_base_transform_change_state):
25403 * gst/base/gstbasetransform.h:
25404 * gst/elements/gstidentity.c: (gst_identity_finalize),
25405 (gst_identity_class_init), (gst_identity_init),
25406 (gst_identity_event), (gst_identity_check_perfect),
25407 (gst_identity_transform), (gst_identity_set_property),
25408 (gst_identity_get_property), (gst_identity_change_state):
25409 * gst/elements/gstidentity.h:
25410 * gst/gstelement.c: (gst_element_get_state_func),
25411 (gst_element_lost_state), (gst_element_pads_activate):
25412 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25413 (gst_pad_check_pull_range), (gst_pad_pull_range):
25415 Simplify pad activation.
25416 Added function to check if pull_range can be performed.
25417 Error out when pulling inactive or flushing pads.
25418 Removed const from refcounted types as it does not make sense.
25419 Simplify pad templates in basesink
25420 Added base class for simple 1-to-1 transforms.
25421 Make identity subclass the base transform.
25423 2005-03-29 Andy Wingo <wingo@pobox.com>
25425 * docs/libs/gstreamer-libs-overrides.txt:
25426 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25427 really don't understand what's going on, but like whatever. I want
25430 * docs/gst/Makefile.am:
25431 * docs/libs/Makefile.am: Dist the overrides files.
25433 * check/Makefile.am (clean-local): Remove .libs directories.
25435 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25436 elements to EXTRA_DIST, so po/ files are happy.
25438 * po/POTFILES.in: Er, remove it here.
25440 * po/POTFILES: Remove gstspider.c.
25442 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25444 * docs/libs/gstreamer-libs-docs.sgml:
25445 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25448 * tests/complexity.c (main): Set the length of the preroll queue
25449 on the sinks to prevent a lockup.
25451 * libs/gst/dataprotocol/Makefile.am:
25452 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25453 the same as the one in check/gst-libs/gdp.c.
25455 * po/, docs/gst/: Commit automatic changes to docs and po files.
25457 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25458 the versioned libgstbase.
25460 * check/Makefile.am: Depend on an unversioned gst-register, seems
25461 to make autoconf happier.
25463 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25465 2005-03-28 Wim Taymans <wim@fluendo.com>
25468 * docs/design/part-gstelement.txt:
25469 * docs/design/part-negotiation.txt:
25470 * docs/design/part-preroll.txt:
25471 * docs/design/part-scheduling.txt:
25472 * docs/design/part-states.txt:
25474 * gst/base/Makefile.am:
25476 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25477 (gst_basesink_base_init), (gst_basesink_class_init),
25478 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25479 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25480 (gst_basesink_set_pad_functions),
25481 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25482 (gst_basesink_set_property), (gst_basesink_get_property),
25483 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25484 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25485 (gst_basesink_preroll_queue_push),
25486 (gst_basesink_preroll_queue_empty),
25487 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25488 (gst_basesink_event), (gst_basesink_get_times),
25489 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25490 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25491 (gst_basesink_loop), (gst_basesink_activate),
25492 (gst_basesink_change_state):
25493 * gst/base/gstbasesink.h:
25494 * gst/elements/Makefile.am:
25495 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25496 (gst_fakesink_class_init), (gst_fakesink_init),
25497 (gst_fakesink_set_property), (gst_fakesink_get_property),
25498 (gst_fakesink_get_times), (gst_fakesink_event),
25499 (gst_fakesink_preroll), (gst_fakesink_render),
25500 (gst_fakesink_change_state):
25501 * gst/elements/gstfakesink.h:
25502 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25503 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25504 * gst/gstelement.c: (gst_element_add_pad),
25505 (gst_element_get_state_func), (gst_element_abort_state),
25506 (gst_element_commit_state), (gst_element_lost_state),
25507 (gst_element_set_state), (gst_element_pads_activate):
25508 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25509 * gst/gstpipeline.c: (gst_pipeline_send_event),
25510 (gst_pipeline_change_state):
25511 Added state change code.
25512 Added/updated docs.
25513 Added sink base class, make fakesink extend the base class.
25514 Small cleanups in GstPipeline.
25516 2005-03-26 David Schleef <ds@schleef.org>
25518 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25519 is broken and should be implemented in a different library.
25520 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25521 * gst/gst.h: remove gstcpu.h
25522 * gst/gstcpu.c: remove
25523 * gst/gstcpu.h: remove
25524 * gst/Makefile.am.future: Remove this file. It's ancient.
25526 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25528 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25529 (gst_bin_send_event):
25530 Add default event/set_manager handlers. The set_manager handler
25531 takes care that the manager is distributed over kids that were
25532 already in the bin before the manager was set. The event handler
25533 is a utility virtual function that sends the event over all sinks,
25534 so that gst_element_send_event (bin, event); has the expected
25536 * gst/gstpad.c: (gst_pad_event_default):
25537 Re-install default event handling for discontinuities, so that
25538 seeking works without requiring hacks in applications or extra
25540 * gst/gstpipeline.c: (gst_pipeline_class_init),
25541 (gst_pipeline_send_event):
25542 Half hack, half utility: set a pipeline to PAUSED for seek events,
25543 since that is the only way we can guarantee a/v sync. Means that
25544 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25545 and it "just works".
25547 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25549 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25550 Lock/unlock mismatch.
25552 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25554 * docs/faq/gst-uninstalled:
25555 add gst-plugins-base
25556 * docs/gst/Makefile.am:
25557 don't error out until docs are fixed
25558 * docs/gst/gstreamer.types:
25561 2005-03-22 Wim Taymans <wim@fluendo.com>
25563 * check/Makefile.am:
25564 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25565 * gst/gststructure.c: (gst_structure_set_valist),
25566 (gst_structure_copy_conditional):
25567 Activated more tests.
25568 Added message test.
25569 Added G_TYPE_POINTER to GstStructure.
25572 2005-03-22 Wim Taymans <wim@fluendo.com>
25574 * docs/design/part-TODO.txt:
25575 * docs/design/part-events.txt:
25576 * docs/design/part-gstbin.txt:
25577 * docs/design/part-gstbus.txt:
25578 * docs/design/part-gstpipeline.txt:
25579 * docs/design/part-messages.txt:
25581 * gst/gstmessage.c:
25584 2005-03-21 Wim Taymans <wim@fluendo.com>
25586 * gst/gstbus.c: (gst_bus_post):
25587 Fix copy-and-paste error.
25589 2005-03-21 Wim Taymans <wim@fluendo.com>
25591 * check/Makefile.am:
25593 * gst/elements/Makefile.am:
25594 * gst/elements/gstelements.c:
25595 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25596 (gst_fakesink_event), (gst_fakesink_chain):
25597 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25598 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25599 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25600 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25601 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25602 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25603 (gst_fakesrc_loop), (gst_fakesrc_activate),
25604 (gst_fakesrc_change_state):
25605 * gst/elements/gstfakesrc.h:
25606 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25607 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25608 (gst_filesrc_open_file), (gst_filesrc_loop),
25609 (gst_filesrc_activate), (gst_filesrc_change_state),
25610 (filesrc_find_peek), (filesrc_find_suggest),
25611 (gst_filesrc_type_find):
25612 * gst/elements/gstidentity.c: (gst_identity_finalize),
25613 (gst_identity_class_init), (gst_identity_init),
25614 (gst_identity_proxy_getcaps), (identity_queue_push),
25615 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25616 (gst_identity_getrange), (gst_identity_chain),
25617 (gst_identity_sink_loop), (gst_identity_src_loop),
25618 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25619 (gst_identity_set_property), (gst_identity_get_property),
25620 (gst_identity_change_state):
25621 * gst/elements/gstidentity.h:
25622 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25623 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25624 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25625 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25626 (gst_tee_sink_activate):
25627 * gst/elements/gsttee.h:
25628 * gst/gst.c: (gst_register_core_elements), (init_post):
25630 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25631 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25632 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25633 (gst_bin_change_state):
25635 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25636 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25637 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25638 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25639 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25640 (bus_watch_callback), (bus_watch_destroy),
25641 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25642 (poll_timeout), (gst_bus_poll):
25646 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25647 (gst_element_post_message), (gst_element_message_full),
25648 (gst_element_get_state_func), (gst_element_get_state),
25649 (gst_element_abort_state), (gst_element_commit_state),
25650 (gst_element_lost_state), (gst_element_set_state),
25651 (gst_element_pads_activate), (gst_element_change_state),
25652 (gst_element_dispose), (gst_element_set_manager_func),
25653 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25654 (gst_element_set_manager), (gst_element_get_manager),
25655 (gst_element_set_bus), (gst_element_get_bus),
25656 (gst_element_set_scheduler), (gst_element_get_scheduler):
25657 * gst/gstelement.h:
25658 * gst/gstevent.c: (gst_event_new_segment_seek),
25659 (gst_event_new_flush):
25661 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25662 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25663 (gst_message_new_eos), (gst_message_new_error),
25664 (gst_message_new_warning), (gst_message_new_tag),
25665 (gst_message_new_state_changed), (gst_message_new_application),
25666 (gst_message_get_structure), (gst_message_parse_tag),
25667 (gst_message_parse_state_changed), (gst_message_parse_error),
25668 (gst_message_parse_warning):
25669 * gst/gstmessage.h:
25670 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25671 (gst_real_pad_set_property), (gst_pad_set_active),
25672 (gst_pad_is_active), (gst_pad_set_blocked_async),
25673 (gst_pad_set_blocked), (gst_pad_is_blocked),
25674 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25675 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25676 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25677 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25678 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25679 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25680 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25681 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25682 (gst_pad_set_caps), (gst_pad_configure_sink),
25683 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25684 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25685 (gst_real_pad_dispose), (gst_real_pad_finalize),
25686 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25687 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25688 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25690 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25691 (pipeline_bus_handler), (gst_pipeline_change_state),
25692 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25693 * gst/gstpipeline.h:
25695 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25696 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25697 (gst_queue_link_src), (gst_queue_bufferalloc),
25698 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25699 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25700 (gst_queue_loop), (gst_queue_handle_src_event),
25701 (gst_queue_handle_src_query), (gst_queue_src_activate),
25702 (gst_queue_change_state):
25704 * gst/gstscheduler.c: (gst_scheduler_init),
25705 (gst_scheduler_dispose), (gst_scheduler_create_task),
25706 (gst_scheduler_factory_create):
25707 * gst/gstscheduler.h:
25708 * gst/gststructure.c: (gst_structure_get_type),
25709 (gst_structure_copy_conditional):
25710 * gst/gststructure.h:
25711 * gst/gsttaginterface.h:
25712 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25713 (gst_task_init), (gst_task_dispose), (gst_task_create),
25714 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25720 * gst/schedulers/Makefile.am:
25721 * gst/schedulers/cothreads_compat.h:
25722 * gst/schedulers/entryscheduler.c:
25723 * gst/schedulers/faircothreads.c:
25724 * gst/schedulers/faircothreads.h:
25725 * gst/schedulers/fairscheduler.c:
25726 * gst/schedulers/gstbasicscheduler.c:
25727 * gst/schedulers/gstoptimalscheduler.c:
25728 * gst/schedulers/gthread-cothreads.h:
25729 * gst/schedulers/threadscheduler.c:
25730 (gst_thread_scheduler_task_get_type),
25731 (gst_thread_scheduler_task_class_init),
25732 (gst_thread_scheduler_task_init),
25733 (gst_thread_scheduler_task_start),
25734 (gst_thread_scheduler_task_stop),
25735 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25736 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25737 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25738 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25740 * libs/gst/Makefile.am:
25741 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25742 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25743 (gst_file_pad_parent_set):
25744 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25745 (gst_dp_event_from_packet):
25746 * tests/complexity.c: (main):
25747 * tests/mass_elements.c: (main):
25748 * testsuite/states/locked.c: (message_received), (main):
25749 * testsuite/states/parent.c: (main):
25750 * tools/gst-inspect.c: (print_element_flag_info),
25751 (print_implementation_info), (print_pad_info):
25752 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25754 * tools/gst-md5sum.c: (event_loop), (main):
25755 * tools/gst-typefind.c: (main):
25756 * tools/gst-xmlinspect.c: (print_element_info):
25758 Added GstBus for mainloop integration.
25759 Added GstMessage for sending notifications on the bus.
25760 Added GstTask as an abstraction for pipeline entry points.
25762 Removed Schedulers.
25763 Simplified GstQueue for multithreaded core.
25764 Made _link threadsafe, removed old capsnego.
25765 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25766 Added pad blocking functions.
25767 Reworked scheduling functions in GstPad to prepare for
25768 scheduling updates soon.
25769 Moved events out of data stream.
25770 Simplified GstEvent types.
25771 Added return values to push/pull.
25772 Removed clocking from GstElement.
25773 Added prototypes for state change function for next merge.
25774 Removed iterate from bins and state change management.
25775 Fixed some elements, disabled others for now.
25776 Fixed -inspect and -launch.
25777 Added check for GstBus.
25779 2005-03-10 Wim Taymans <wim@fluendo.com>
25781 * docs/design/part-MT-refcounting.txt:
25782 * docs/design/part-clocks.txt:
25783 * docs/design/part-gstelement.txt:
25784 * docs/design/part-gstobject.txt:
25785 * docs/design/part-standards.txt:
25786 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25787 (gst_bin_remove_func), (gst_bin_remove):
25791 * testsuite/clock/clock1.c: (main):
25792 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25794 * testsuite/dlopen/loadgst.c: (do_test):
25795 * testsuite/refcounting/bin.c: (add_remove_test1),
25796 (add_remove_test2), (main):
25797 * testsuite/refcounting/element.c: (main):
25798 * testsuite/refcounting/element_pad.c: (main):
25799 * testsuite/refcounting/pad.c: (main):
25800 * tools/gst-launch.c: (sigint_handler_sighandler):
25801 * tools/gst-typefind.c: (main):
25803 Added doc about clock.
25804 removed gst_bin_iterate_recurse_up(), marked methods
25806 Fix more testsuites.
25808 2005-03-09 Wim Taymans <wim@fluendo.com>
25810 * gst/gstpad.c: (gst_pad_get_direction),
25811 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25812 (gst_pad_collect_valist):
25813 * testsuite/bins/interface.c: (main):
25814 * testsuite/caps/audioscale.c: (test_caps):
25815 * testsuite/caps/caps.c: (test1), (test2), (test3):
25816 * testsuite/caps/deserialize.c: (main):
25817 * testsuite/caps/enumcaps.c: (main):
25818 * testsuite/caps/filtercaps.c: (main):
25819 * testsuite/caps/intersect2.c: (main):
25820 * testsuite/caps/random.c: (main):
25821 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25822 * testsuite/caps/sets.c: (check_caps):
25823 * testsuite/caps/simplify.c: (check_caps), (main):
25824 * testsuite/caps/subtract.c: (check_caps):
25825 Fix _pad_get_direction wrt ghostpads.
25826 Fix caps testsuite.
25828 2005-03-09 Wim Taymans <wim@fluendo.com>
25830 * check/Makefile.am:
25831 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25832 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25833 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25834 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25835 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25836 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25837 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25838 (bin_element_is_sink), (gst_bin_iterate_sinks),
25839 (gst_bin_iterate_all_by_interface):
25841 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25842 (gst_element_change_state), (gst_element_dispose),
25843 (gst_element_finalize), (gst_element_set_loop_function):
25844 * gst/gstelement.h:
25845 * gst/gstiterator.c: (find_custom_fold_func):
25846 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25847 (gst_pad_collectv), (gst_pad_collect_valist),
25848 (gst_pad_template_new):
25849 * gst/gstpipeline.c: (gst_pipeline_class_init),
25850 (gst_pipeline_dispose), (gst_pipeline_set_property),
25851 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25852 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25853 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25855 * gst/schedulers/entryscheduler.c:
25856 * gst/schedulers/gstbasicscheduler.c:
25857 (gst_basic_scheduler_cothreaded_chain),
25858 (gst_basic_scheduler_chain_add_element):
25859 * testsuite/bins/interface.c: (main):
25861 Added GstSystemClock test.
25862 Implemented clock distribution code in GstBin.
25863 Implemented iterate sinks method for future use.
25864 Rearranged gstelement.h
25865 Fix GstIterator comparison bug.
25866 Moved some code to GstPipeline, mostly clocking related.
25868 2005-03-09 Wim Taymans <wim@fluendo.com>
25871 * gst/gst_private.h:
25872 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25873 (gst_bin_remove_func), (gst_bin_remove),
25874 (gst_bin_get_by_name_recurse_up):
25875 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25876 (gst_clock_id_compare_func), (gst_clock_id_wait),
25877 (gst_clock_id_wait_async), (gst_clock_init),
25878 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25879 * gst/gstelement.h:
25880 * gst/gstinfo.c: (_gst_debug_init):
25882 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25883 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25885 Bump version number, we're now 0.9.0
25886 Add future debugging category.
25887 Fix NULL _unref() in _get_by_name_recurse_up
25888 Rearrange gstpad.h.
25891 2005-03-08 Wim Taymans <wim@fluendo.com>
25893 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25894 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25895 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25896 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25897 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25898 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25899 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25900 * gst/elements/gstidentity.c: (gst_identity_class_init):
25901 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25902 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25903 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25904 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25905 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25907 * gst/gstelement.c: (gst_element_class_init),
25908 (gst_element_base_class_init), (gst_element_init),
25909 (gst_element_get_random_pad), (gst_element_wait_state_change),
25910 (gst_element_change_state), (gst_element_dispose),
25911 (gst_element_finalize), (gst_element_set_loop_function):
25912 * gst/gstelement.h:
25913 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25914 * gst/gstthread.c: (gst_thread_class_init),
25915 (gst_thread_release_children_locks), (gst_thread_change_state):
25916 * gst/schedulers/gstbasicscheduler.c:
25917 (gst_basic_scheduler_loopfunc_wrapper),
25918 (gst_basic_scheduler_chain_wrapper),
25919 (gst_basic_scheduler_src_wrapper),
25920 (gst_basic_scheduler_remove_element):
25921 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25922 Remove threadsafe properties. Fix elements because GObject
25923 complains when installing a property before declaring a
25924 set/get_property handler.
25925 Rearrange gstelement.h file, use STATE macros for state locks.
25926 Free mutexes in the finalize method instead of dispose.
25928 2005-03-08 Wim Taymans <wim@fluendo.com>
25930 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25931 * gst/gstthread.c: (gst_thread_release_children_locks):
25932 Added parentage check.
25933 Fix build og GstThread again.
25935 2005-03-08 Wim Taymans <wim@fluendo.com>
25937 * docs/design/part-MT-refcounting.txt:
25938 * docs/design/part-conventions.txt:
25939 * docs/design/part-gstobject.txt:
25940 * docs/design/part-relations.txt:
25941 * docs/design/part-standards.txt:
25942 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25943 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25944 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25945 (gst_bin_iterate_all_by_interface):
25948 * gst/gstelement.c: (gst_element_class_init),
25949 (gst_element_change_state), (gst_element_set_loop_function):
25950 * gst/gstelement.h:
25951 * gst/gstiterator.c:
25952 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25953 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25954 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25955 (gst_object_set_parent), (gst_object_unparent),
25956 (gst_object_check_uniqueness):
25958 Docs updates, clean up some headers.
25960 2005-03-07 Wim Taymans <wim@fluendo.com>
25962 * check/.cvsignore:
25963 * check/Makefile.am:
25964 * check/gst-libs/.cvsignore:
25965 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25966 * check/gst/.cvsignore:
25967 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25968 (START_TEST), (gstbus_suite), (main):
25969 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25970 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25971 (gst_data_suite), (main):
25972 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25973 (add_fold_func), (gstiterator_suite), (main):
25974 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25975 (thread_name_object), (thread_name_object_default),
25976 (gst_object_name_compare), (gst_object_suite), (main):
25977 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25978 (gst_pad_suite), (main):
25979 * check/gstcheck.c: (gst_check_log_message_func),
25980 (gst_check_log_critical_func), (gst_check_init):
25981 * check/gstcheck.h:
25982 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25983 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25986 2005-03-07 Wim Taymans <wim@fluendo.com>
25988 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25989 (gst_list_iterator_next), (gst_list_iterator_resync),
25990 (gst_list_iterator_free), (gst_iterator_new_list),
25991 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25992 (gst_iterator_free), (gst_iterator_push), (filter_next),
25993 (filter_resync), (filter_uninit), (filter_free),
25994 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25995 (gst_iterator_foreach), (find_custom_fold_func),
25996 (gst_iterator_find_custom):
25997 * gst/gstiterator.h:
25998 Added missing files.
26000 2005-03-07 Wim Taymans <wim@fluendo.com>
26004 * docs/design/part-MT-refcounting.txt:
26005 * docs/design/part-conventions.txt:
26006 * docs/design/part-gstobject.txt:
26007 * docs/design/part-relations.txt:
26008 * examples/mixer/mixer.c: (main):
26009 * examples/thread/thread.c: (eos), (main):
26011 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26012 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26013 (gst_spider_plug_from_srcpad):
26014 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26015 (gst_spider_identity_change_state),
26016 (gst_spider_identity_sink_loop_type_finding):
26017 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26018 * gst/elements/gstidentity.c: (gst_identity_init):
26019 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26020 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26021 * gst/elements/gsttypefindelement.c: (free_entry):
26024 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26025 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26026 (gst_bin_set_index), (gst_bin_set_element_sched),
26027 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26028 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26029 (gst_bin_iterate_elements), (iterate_child_recurse),
26030 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26031 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26032 (compare_interface), (gst_bin_get_by_interface),
26033 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26035 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26036 (gst_buffer_default_free), (gst_buffer_default_copy),
26037 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26038 (gst_buffer_create_sub):
26040 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26041 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26042 (gst_caps_unref), (gst_static_caps_get),
26043 (gst_caps_remove_and_get_structure), (gst_caps_append),
26044 (gst_caps_append_structure), (gst_caps_remove_structure),
26045 (gst_caps_copy_nth), (gst_caps_set_simple),
26046 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26047 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26048 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26049 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26050 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26051 (gst_caps_structure_figure_out_union),
26052 (gst_caps_switch_structures), (gst_caps_do_simplify),
26053 (gst_caps_replace), (gst_caps_from_string),
26054 (gst_caps_copy_conditional):
26056 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26057 (_gst_clock_id_free), (gst_clock_id_unref),
26058 (gst_clock_id_compare_func), (gst_clock_id_wait),
26059 (gst_clock_id_wait_async), (gst_clock_class_init),
26060 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26061 (gst_clock_get_time), (gst_clock_set_time_adjust),
26062 (gst_clock_set_property), (gst_clock_get_property):
26065 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26066 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26068 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26069 (gst_element_requires_clock), (gst_element_provides_clock),
26070 (gst_element_set_clock), (gst_element_clock_wait),
26071 (gst_element_wait), (gst_element_set_time_delay),
26072 (gst_element_is_indexable), (gst_element_add_pad),
26073 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26074 (pad_compare_name), (gst_element_get_static_pad),
26075 (gst_element_request_pad), (gst_element_get_request_pad),
26076 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26077 (gst_element_class_get_pad_template_list),
26078 (gst_element_class_get_pad_template), (gst_element_error_func),
26079 (gst_element_get_random_pad), (gst_element_get_event_masks),
26080 (gst_element_send_event), (gst_element_seek),
26081 (gst_element_get_query_types), (gst_element_query),
26082 (gst_element_get_formats), (gst_element_convert),
26083 (gst_element_is_locked_state), (gst_element_set_locked_state),
26084 (gst_element_sync_state_with_parent), (gst_element_change_state),
26085 (gst_element_finalize), (gst_element_yield),
26086 (gst_element_interrupt), (gst_element_set_scheduler),
26087 (gst_element_get_scheduler), (gst_element_set_loop_function):
26088 * gst/gstelement.h:
26090 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26091 (gst_format_get_by_nick), (gst_format_get_details),
26092 (gst_format_iterate_definitions):
26094 * gst/gstindex.c: (gst_index_gtype_resolver):
26097 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26098 (gst_mem_chunk_free):
26099 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26100 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26101 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26102 (gst_object_dispatch_properties_changed),
26103 (gst_object_set_name_default), (gst_object_set_name),
26104 (gst_object_get_name), (gst_object_set_name_prefix),
26105 (gst_object_get_name_prefix), (gst_object_set_parent),
26106 (gst_object_get_parent), (gst_object_unparent),
26107 (gst_object_check_uniqueness), (gst_object_save_thyself),
26108 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26109 (gst_object_set_property), (gst_object_get_property),
26110 (gst_object_get_path_string):
26112 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26113 (gst_real_pad_init), (gst_real_pad_get_property),
26114 (gst_pad_custom_new), (gst_pad_get_direction),
26115 (gst_pad_set_active), (gst_pad_is_active),
26116 (gst_pad_set_event_function), (gst_pad_is_linked),
26117 (gst_pad_link_free), (gst_pad_link_intersect),
26118 (gst_pad_link_fixate), (gst_pad_set_caps),
26119 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26120 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26121 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26122 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26123 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26124 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26125 (gst_pad_realize), (gst_pad_get_allowed_caps),
26126 (gst_real_pad_dispose), (gst_real_pad_finalize),
26127 (gst_pad_collectv), (gst_pad_collect_valist),
26128 (gst_pad_template_dispose), (gst_pad_template_new),
26129 (gst_pad_get_internal_links):
26131 * gst/gstpipeline.c: (gst_pipeline_dispose),
26132 (gst_pipeline_change_state):
26133 * gst/gstpipeline.h:
26135 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26136 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26137 * gst/gstpluginfeature.h:
26138 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26139 * gst/gstquery.c: (_gst_query_type_initialize),
26140 (gst_query_type_register), (gst_query_type_get_by_nick),
26141 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26143 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26144 * gst/gstscheduler.c: (gst_scheduler_add_element),
26145 (gst_scheduler_factory_create):
26146 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26147 (gst_structure_free), (gst_structure_set_name),
26148 (gst_structure_id_set_value), (gst_structure_set_value),
26149 (gst_structure_set_valist), (gst_structure_remove_field),
26150 (gst_structure_remove_fields),
26151 (gst_structure_remove_fields_valist),
26152 (gst_structure_remove_all_fields), (gst_structure_foreach),
26153 (gst_structure_map_in_place),
26154 (gst_caps_structure_fixate_field_nearest_int),
26155 (gst_caps_structure_fixate_field_nearest_double):
26156 * gst/gststructure.h:
26157 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26158 (gst_system_clock_init), (gst_system_clock_dispose),
26159 (gst_system_clock_async_thread),
26160 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26161 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26162 * gst/gstsystemclock.h:
26163 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26164 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26165 * gst/gsttaginterface.c:
26166 * gst/gstthread.c: (gst_thread_dispose),
26167 (gst_thread_release_children_locks), (gst_thread_change_state),
26168 (gst_thread_main_loop):
26169 * gst/gsttrashstack.h:
26170 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26172 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26173 (gst_element_request_pad), (gst_element_get_pad_from_template),
26174 (gst_element_request_compatible_pad),
26175 (gst_element_get_compatible_pad_filtered),
26176 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26177 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26178 (gst_element_link_many), (gst_element_link),
26179 (gst_element_link_pads), (gst_element_unlink_pads),
26180 (gst_element_unlink_many), (gst_element_unlink),
26181 (gst_pad_can_link_filtered), (gst_pad_can_link),
26182 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26183 (gst_object_default_error), (gst_bin_add_many),
26184 (gst_bin_remove_many), (gst_element_populate_std_props),
26185 (gst_element_class_install_std_props), (gst_buffer_merge),
26186 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26187 (link_fold_func), (gst_pad_proxy_setcaps):
26189 * gst/gstvalue.c: (gst_value_deserialize_string):
26190 * gst/parse/grammar.y:
26191 * gst/schedulers/gstbasicscheduler.c:
26192 (gst_basic_scheduler_cothreaded_chain),
26193 (gst_basic_scheduler_chain_recursive_add),
26194 (gst_basic_scheduler_pad_link):
26195 * gst/schedulers/gstoptimalscheduler.c:
26196 (get_group_schedule_function),
26197 (gst_opt_scheduler_state_transition),
26198 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26199 * libs/gst/bytestream/bytestream.c:
26200 * libs/gst/dataprotocol/dataprotocol.c:
26201 (gst_dp_header_from_buffer):
26204 * tests/threadstate/threadstate2.c: (eos):
26205 * tools/gst-compprep.c: (main):
26206 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26207 (print_pad_info), (print_children_info):
26208 * tools/gst-launch.c: (idle_func), (main):
26209 * tools/gst-md5sum.c: (idle_func), (main):
26210 * tools/gst-xmlinspect.c: (print_element_info):
26211 First THREADED backport attempt, focusing on adding locks and
26212 making sure the API is threadsafe. Needs more work. More docs
26215 2005-02-24 Andy Wingo <wingo@pobox.com>
26217 * tests/bench-complexity.scm:
26218 * tests/complexity.gnuplot: New files, good for running complexity
26221 * tests/Makefile.am:
26222 * tests/complexity.c: New test, sets up N elements, at each level
26223 teeing into M streams per element. Eeeenteresting.
26225 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26226 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26227 running bench-mass_elements.scm.
26229 * tests/bench-mass_elements.scm: New script, runs mass_elements
26230 for various numbers of identities, outputting the results to a
26231 file. Requires guile 1.6. Just for testing.
26233 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26235 * gst/schedulers/fairscheduler.c:
26236 compile with debug disabled
26238 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26241 hunting season on 0.9 is now OPEN