1 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3 * tests/check/gst/gstobject.c:
4 Disable silly racy test that always fails on this combination of CPU
7 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
9 Patch by: Murray Cumming <murrayc@murrayc.com>
12 Corrected the registration of the parent-set and parent-unset
13 signals: The parameter is a GstObject, not a GObject (#493134).
15 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
26 Move declaration of private _gst_foo_initialize() functions into
27 our private header file where they should have been all along.
29 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
31 * docs/plugins/gstreamer-plugins-sections.txt:
32 * gst/gstdebugutils.h:
34 * plugins/elements/gstqueue.c:
35 gtk-doc fixes; trailing-comma-in-enum fix.
37 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
39 * gst/gst.c: (gst_deinit):
40 Clean up on deinit (not the external ones though, doesn't seem to be
41 needed for some reason).
43 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
45 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
46 Remove __declspec(dllimport) for MSVC that was copied over into core
47 from a plugin, obviously without ever having been tested (note the
48 single underscore in _declspec in the initial commit), and that doesn't
49 really make sense. See #492077.
51 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
53 * gst/gst.c: (init_post):
54 * gst/gstevent.c: (_gst_event_initialize):
55 * gst/gstquery.c: (_gst_query_initialize):
56 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
57 g_type_class_ref() other types as well, see #349410 and #64764.
59 * gst/gstbuffer.c: (_gst_buffer_initialize):
60 * gst/gstmessage.c: (_gst_message_initialize):
61 Simplify existing g_type_class_ref().
63 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
65 * gst/gstformat.c: (_gst_format_initialize):
66 g_type_class_ref() our GstFormat type to make sure we avoid the
67 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
68 bug #64764. Should fix intermittent tee unit test failures (#474823).
70 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
72 * tests/check/elements/tee.c: (test_num_buffers):
73 Simplify, simplify, simplify - or not. Rewrite unit test
74 not to use gst_parse_launch(); allow N sub-streams. Increasing
75 the number of sub-streams seems to reproduce #474823 more easily.
77 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
79 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
82 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
83 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
84 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
85 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
86 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
87 so use _pipe() directly (#492077).
89 * win32/common/dirent.c: (_treaddir):
90 Add a couple of casts to make it build without warnings with MSVC.
92 * win32/common/libgstreamer.def:
93 Add some more symbols that need to be exported.
95 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
97 * tests/examples/metadata/read-metadata.c: (message_loop):
98 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
99 arriving in a second or third tag message are added to
100 the tag list as well.
102 2007-10-31 Stefan Kost <ensonic@users.sf.net>
104 * libs/gst/base/gstbasesrc.c:
105 Its "Since:" and not "@Since:". And remove an superflous cast.
107 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
109 * docs/libs/gstreamer-libs-sections.txt:
110 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
111 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
112 (gst_base_sink_get_property), (gst_base_sink_render_object),
113 (gst_base_sink_preroll_object),
114 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
115 (gst_base_sink_change_state):
116 * libs/gst/base/gstbasesink.h:
117 Add a new last-buffer property that contains the last buffer used in
118 basesink for preroll or rendering. useful for making snapshots.
119 API: gst_base_sink_get_last_buffer()
120 API: GstBaseSink::last-buffer
122 2007-10-29 Stefan Kost <ensonic@users.sf.net>
124 * docs/gst/running.xml:
126 * gst/gstdebugutils.c:
127 * gst/gstdebugutils.h:
128 * tools/gst-launch.c:
129 Improve bin graph dumping, by using the envvar to specify a path.
130 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
132 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
134 * plugins/elements/gsttypefindelement.c:
135 (gst_type_find_element_handle_event),
136 (gst_type_find_element_activate):
137 Post special error message if we can't determine the type of a stream
140 2007-10-29 Stefan Kost <ensonic@users.sf.net>
142 * docs/gst/running.xml:
143 * gst/gstdebugutils.c:
144 Document new env-var. Add one log-line after dumpng a graph.
146 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
149 Ugly hack to put the (recently removed and non-portable, apparently)
150 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
151 GNU ld, because without that 'make check' fails miserably on my debian
152 stable box. Someone with more knowledge of linker intricacies and
153 portability issues than me fix this properly please.
155 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
157 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
158 Reset last seen position after flushing so that we don't report the old
161 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
163 * gst/gstelementfactory.c: (gst_element_register):
165 Patch from Alessandro Decina adding get_type_full and
166 get_protocols_full private vfuncs to the URIHandler interface
167 to allow bindings to support creating URI handlers.
168 Partially fixes: #339279
169 API: GstURIHandlerInterface::get_type_full
170 API: GstURIHandlerInterface::get_protocols_full
172 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
174 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
175 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
176 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
177 Make it so that pads are considered linked until a buffer is pushed
178 and discovered otherwise. This avoids problems with decodebin2 hanging
179 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
182 Make sure we lock the multiqueue when updating the max-size properties.
184 Fix a crash on Solaris in a debug statement in get_request_pad that
185 passes a NULL string to GST_DEBUG.
187 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
188 (run_output_order_test):
189 Fix the test to allow the first buffer on not-linked pads to come out
190 of sequence while multiqueue discovers that they are not-linked.
192 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
195 * libs/gst/check/Makefile.am:
196 Use a custom export symbol regex for libgstcheck, as it needs
197 to export symbols that don't match the standard GStreamer gst_*
198 pattern, and --export-dynamic is not portable (only works on
201 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
202 (gst_check_setup_sink_pad):
203 Make sure to pass a message parameter to the fail_* macros.
205 * tests/check/gst/gstinfo.c: (GST_START_TEST):
206 Fix some compiler warnings.
208 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
210 * tests/check/gst/gststructure.c: (test_to_string):
211 Disable test that checks that white spaces are not allowed
212 in structure names or field names, since we need to
213 support that for now for backwards compatibility reasons.
215 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
217 * docs/gst/gstreamer-sections.txt:
220 API: add GST_TAG_ARTIST_SORTNAME
221 API: add GST_TAG_ALBUM_SORTNAME
222 API: add GST_TAG_TITLE_SORTNAME
223 Add tag variants for sorting (#414539).
225 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
227 * gst/gststructure.c:
228 Also allow white space for names so we don't break
229 backwards compatibility.
231 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
233 * docs/design/part-TODO.txt:
234 * docs/design/part-segments.txt:
235 * docs/design/part-streams.txt:
238 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
240 * docs/gst/gstreamer-sections.txt:
241 Fixed documentation from my previous commit (added new API add
242 gst_value_set_structure(), add gst_value_get_structure() and
243 GST_VALUE_HOLDS_STRUCTURE).
245 2007-10-22 Stefan Kost <ensonic@users.sf.net>
247 * gst/gstdebugutils.c:
248 Reflow code to fix uninitialized variable warning.
250 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
252 * gst/gstcaps.c: (gst_caps_to_string),
253 (gst_caps_from_string_inplace):
254 * gst/gststructure.c: (gst_structure_get_abbrs),
255 (gst_structure_to_string), (gst_structure_from_string):
256 * gst/gstvalue.c: (gst_value_set_structure),
257 (gst_value_get_structure), (gst_value_serialize_structure),
258 (gst_value_deserialize_structure), (_gst_value_initialize):
260 * tests/check/gst/gststructure.c: (GST_START_TEST),
261 (gst_structure_suite):
262 * tests/check/gst/gstvalue.c: (GST_START_TEST):
263 Added GstStructure to gst_value_table and its related functions.
264 Changed gst_structure_to_string to print ';' in the end.
265 Changed gst_caps_to_string to not print ';' beteween its
266 fields (structures) anymore and remove the lastes ';' from latest
267 structure. Now it is possible to have nested structures.
268 In addition, backward compatibilty is assured by accepting '\0' as
269 end delimiter. Fixes: #487969.
270 API: add gst_value_set_structure()
271 API: add gst_value_get_structure()
272 API: add GST_VALUE_HOLDS_STRUCTURE
274 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
277 When no GSource callback has been set up, tell developer
278 to use a function that actually exists.
280 2007-10-17 Stefan Kost <ensonic@users.sf.net>
282 * docs/gst/gstreamer-sections.txt:
286 * gst/gstdebugutils.c:
287 * gst/gstdebugutils.h:
290 * tools/gst-launch.c:
291 Allow dumping pipelines as dot graphs. Fixes #456573.
293 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
295 * gst/gststructure.c:
296 Allow '+' as well, it can be part of media or mime types
297 such as image/svg+xml.
299 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
301 * docs/gst/gstreamer-sections.txt:
304 API: add gst_bus_pop_filtered
305 API: add gst_bus_timed_pop_filtered
306 Two new functions for waiting for specific message types on the
307 bus for a specified amount of time without iterating any main
308 loops or main contexts.
310 * tests/check/gst/gstbus.c:
311 Some tests for the new functions.
313 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
315 * docs/libs/gstreamer-libs-sections.txt:
316 Make gtk-doc ignore stuff it should ignore.
318 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
320 * libs/gst/check/gstcheck.c:
321 * libs/gst/check/gstcheck.h:
322 Allow runtime selection of unit tests to run via the GST_CHECKS
323 environment variable (test case function names, comma-separated).
325 2007-10-16 Stefan Kost <ensonic@users.sf.net>
327 * gst/gststructure.c:
328 * tests/check/gst/gststructure.c:
329 Revert serialisation change and constrain structure-names after
330 consensus on irc. Update api documentation to reflect the change.
332 2007-10-16 Stefan Kost <ensonic@users.sf.net>
334 * gst/gststructure.c:
335 Improve serialization and fix tests.
337 * tests/check/gst/gststructure.c:
338 Add another test that covers why I actually did the previous structure
341 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
343 * tools/gst-inspect.c: (print_element_info):
344 Don't crash when inspecting an element.
346 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
348 * tests/check/gst/gststructure.c:
349 Add unit test for escaping of structure name when serialising
350 and deserialising to/from strings.
352 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
354 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
355 (gst_single_queue_new):
356 * plugins/elements/gstqueue.c: (gst_queue_init),
357 (gst_queue_push_one):
358 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
359 upstream is tricked into thinking it can suggest a format downstream
360 while downstream does not support that format. The real problem is that
361 core calls acceptcaps when pushing a buffer with new caps, for which we
362 do a little workaround by setting the caps on the srcpad ourselves
363 before pushing the buffer (until this is figured out). Fixes #486758.
365 2007-10-15 Stefan Kost <ensonic@users.sf.net>
367 * gst/gststructure.c:
369 Add some more comments and debug output. Quote structure name to fix
370 deserialisation of some strings.
372 2007-10-15 Stefan Kost <ensonic@users.sf.net>
375 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
376 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
378 2007-10-15 Stefan Kost <ensonic@users.sf.net>
380 * tools/gst-inspect.c:
381 Save approx. 400 1 byte allocs when printing. Use API to acces element
387 * tools/gst-xmlinspect.c:
388 Use API to acces element details.
390 2007-10-15 Stefan Kost <ensonic@users.sf.net>
393 Fix some spelling errors.
395 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
397 * gst/gstbin.c: (bin_handle_async_done):
398 Correctly set the next state if all of our async children commited their
399 state. This makes sure we can actually cancel the state change in
400 progress. Fixes a regression in Rhythmbox when seeking.
402 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
405 Don't shadow local variable.
408 Don't shadow global function name.
410 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
412 * gst/gstelementfactory.c:
413 * gst/gstpluginfeature.c:
414 * gst/gstpluginfeature.h:
415 * gst/gstregistrybinary.c:
416 * gst/gstregistryxml.c:
418 Use already-interned string for the private GstPluginFeature
421 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
423 * docs/libs/gstreamer-libs-sections.txt:
424 Add new API to docs; fixes the build.
426 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
428 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
430 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
431 (gst_base_sink_event):
432 * libs/gst/base/gstbasesink.h:
433 Add function to wait for EOS, subclasses can use this to correctly wait
434 for devices to drain before performing the EOS logic. Fixes #485343.
435 API: gst_base_sink_wait_eos()
437 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
440 Cast description string constants in GST_PLUGIN_DEFINE macros
441 to a (gchar*) to make C++ code using these macros compile
442 without warning with g++-4.2 (see #462737). Even if slightly
443 ugly, this seems preferable to putting the description strings
444 into the GLib quark table or making the structure member a
445 const gchar * and doing casts in core code that allocs and
446 frees these strings, or requiring a cast in the C++ code.
448 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
451 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
452 to print the entire class/function signature into the log
453 file for C++ code. This only affects C++ code, for C code
454 everything remains the same.
456 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
458 * gst/gstbin.c: (remove_from_queue):
459 Work around a problem with pipelines containing (semi)loops until a
460 proper, more complicated solution is ready. See #475455.
462 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
466 * gst/gstregistrybinary.c:
467 * gst/gstregistryxml.c:
468 Put more strings into the GLib quark table. No need to keep
469 a hundred-something copies of identical version strings,
470 license strings, package name strings and package origin
473 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
475 * docs/manual/advanced-dataaccess.xml:
476 Don't imply that it's okay to unconditionally change
477 buffer data or buffer metadata in a pad probe callback,
478 and a bunch of other comments. Fixes #430031.
480 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
482 * win32/common/gstenumtypes.c:
483 * win32/common/gstenumtypes.h:
484 * win32/common/gstversion.h:
485 Update generated files.
487 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
489 * docs/manual/advanced-autoplugging.xml:
490 Prefix section with broken code with a warning (see #342432).
492 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
494 * docs/manual/appendix-integration.xml:
495 * docs/manual/basics-init.xml:
496 Call g_thread_init() before g_option_context_new() to
497 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
499 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
501 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
502 (gst_base_sink_queue_object_unlocked),
503 (gst_base_sink_queue_object), (gst_base_sink_event),
504 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
505 When we received EOS and are waiting for when to post the EOS message,
506 our state is prerolled and we should not return ASYNC.
507 Reorganize some code paths to implement this behavior.
509 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
511 Add unit test to verify above EOS fix.
513 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
515 * plugins/elements/gsttypefindelement.c:
516 (gst_type_find_element_have_type), (gst_type_find_element_init),
517 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
518 Move detecting the input caps of the sinkpad to the setcaps function.
519 This allows us to update the output caps when we receive new input caps
520 instead of always using the first detected caps.
522 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
524 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
525 (gst_base_sink_get_position):
526 Don't try to preroll non-async elements after a flush.
527 Subtract latency form clock times when reporting position.
529 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
531 * gst/gstpad.c: (gst_pad_pause_task):
533 Small comment and documentation update.
535 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
537 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
538 (gst_base_src_set_live), (gst_base_src_is_live),
539 (gst_base_src_query_latency), (gst_base_src_perform_seek),
540 (gst_base_src_default_event), (gst_base_src_wait),
541 (gst_base_src_do_sync), (gst_base_src_get_range),
542 (gst_base_src_pad_get_range), (gst_base_src_loop),
543 (gst_base_src_unlock), (gst_base_src_unlock_stop),
544 (gst_base_src_set_flushing), (gst_base_src_set_playing),
545 (gst_base_src_activate_push), (gst_base_src_activate_pull),
546 (gst_base_src_change_state):
547 Rework the locking of basesrc in a similar fashion to basesink. We
548 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
549 us to handle live sources and semi live ones much better.
551 Fix unlocking when seeking, shutting down and pausing in live sources.
553 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
555 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
556 Fix compilation again.
558 2007-10-03 Stefan Kost <ensonic@users.sf.net>
561 Use meaningful categories for the logs to clean the default one.
563 2007-10-03 Stefan Kost <ensonic@users.sf.net>
565 * tests/check/pipelines/cleanup.c:
566 Print message name and not just number.
568 2007-10-03 Stefan Kost <ensonic@users.sf.net>
570 * docs/design/draft-tagreading.txt:
571 Add some more thoughts.
573 2007-10-03 Stefan Kost <ensonic@users.sf.net>
575 * tests/check/pipelines/simple-launch-lines.c:
576 Print message name and not just number.
578 2007-10-03 Stefan Kost <ensonic@users.sf.net>
580 * libs/gst/base/gsttypefindhelper.c:
581 Speedup typefinding. This is work in progress (see #459862).
583 2007-10-03 Stefan Kost <ensonic@users.sf.net>
586 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
587 Spotted by Josep Torra Valles <josep@fluendo.com>.
589 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
592 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
593 field has moved to GstObject.
595 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
597 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
598 (gst_base_src_get_range), (gst_base_src_change_state):
599 Call unlock for live sources so that they can't get stuck in _create and
600 produce a buffer before they are set back to PLAYING.
602 2007-10-02 Edward Hervey <bilboed@bilboed.com>
604 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
605 (gst_queue_locked_dequeue):
606 Comment the segment-related code... in the PROPER function.
607 See #482147 and my commit from yesterday.
609 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
611 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
612 Also initialize the counter that calculates the first timestamp on a
613 buffer correctly for non-live sources.
615 2007-10-01 Edward Hervey <bilboed@bilboed.com>
617 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
618 Disable code that's breaking the current-time-level reporting.
621 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
623 * docs/gst/gstreamer-sections.txt:
624 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
625 as they shouldn't show up. Fixes the docs build.
627 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
630 Add an explicit variable importation needed on VS6 (only for MSC_VER)
631 Define M_PI which is used in files which are including gstinfo.h.
632 VS6 includes doesn't define it.
633 * win32/common/libgstbase.def:
634 * win32/common/libgstcontroller.def:
635 * win32/common/libgstreamer.def:
636 Add new exported functions and variables.
637 * win32/vs6/libgstcontroller.dsp:
638 * win32/vs6/libgstreamer.dsp:
639 Update the list of files to build.
641 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
643 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
645 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
646 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
647 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
648 Improve debugging. Fixes #480858.
650 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
652 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
654 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
655 First patch of code cleanups, use the macros and right arguments in the
656 macros to signal and lock the queue. See #480858.
658 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
660 * gst/gstbus.c: (poll_func):
661 Improve debugging when dealing with _poll().
663 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
665 * gst/gstregistryxml.c:
666 Fix memory leak I introduced a few days ago.
668 2007-09-26 Michael Smith <msmith@fluendo.com>
670 * gst/gstbuffer.c: (gst_buffer_finalize):
671 Make it once again possible to free GstBuffers in the default
673 The poisoning scribbles on parts of the miniobject we need in
677 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
679 * docs/gst/gstreamer-sections.txt:
682 API: add GST_TAG_COMPOSER, fixes #459809.
684 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
688 Add the 3-clause BSD license and the MIT/X11 license to the license
691 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
693 * docs/faq/getting.xml:
694 Add Q+A about different GStreamer versions (#364056).
696 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
698 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
699 (gst_base_sink_event), (gst_base_sink_change_state):
700 Return correct gboolean from query function.
702 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
704 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
705 (gst_base_sink_event), (gst_base_sink_query),
706 (gst_base_sink_change_state):
707 Simplify latency query.
708 When not synchronizing, we can report latency without querying the peer
711 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
715 Fix small typos in the docs.
717 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
719 * docs/design/draft-latency.txt:
720 * docs/design/draft-push-pull.txt:
721 * docs/design/draft-tagreading.txt:
722 * docs/design/part-MT-refcounting.txt:
723 * docs/design/part-activation.txt:
724 * docs/design/part-block.txt:
725 * docs/design/part-element-source.txt:
726 * docs/design/part-events.txt:
727 * docs/design/part-gstbin.txt:
728 * docs/design/part-gstelement.txt:
729 * docs/design/part-gstobject.txt:
730 * docs/design/part-gstpipeline.txt:
731 * docs/design/part-messages.txt:
732 * docs/design/part-preroll.txt:
733 * docs/design/part-push-pull.txt:
734 * docs/design/part-qos.txt:
735 * docs/design/part-query.txt:
736 * docs/design/part-scheduling.txt:
737 * docs/design/part-seeking.txt:
738 * docs/design/part-segments.txt:
739 * docs/design/part-states.txt:
740 Documentation updates and typo fixes.
742 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
744 * plugins/elements/gstfakesink.c:
745 Add some debug text to error message to indicate that
746 we errored out on request.
748 * tools/gst-launch.c:
749 When the state change to PLAYING fails, check for an
750 error message on the bus and print it.
752 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
754 translated by: Jorge González González <aloriel@gmail.com>
758 Added Spanish translation.
760 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
762 * plugins/elements/gstqueue.c: (gst_queue_push_one):
763 Fix printf arguments.
765 2007-09-20 Stefan Kost <ensonic@users.sf.net>
767 * tests/check/generic/states.c:
768 Improved state change unit test.
770 2007-09-20 Stefan Kost <ensonic@users.sf.net>
773 Move priv to the right place.
775 * gst/gstsystemclock.c:
776 Add FIXME: and improve log.
778 * tests/check/Makefile.am:
779 * tests/examples/manual/Makefile.am:
780 Work with all types of registries.
782 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
784 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
785 Don't unref the event after pushing it. Fixes #478401.
787 2007-09-19 Stefan Kost <ensonic@users.sf.net>
790 * tests/examples/manual/.cvsignore:
791 Ignore registries in any format.
793 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
795 * gst/glib-compat-private.h:
796 Add compatibility macro for g_intern_string() for
797 GLib-2.8 (any reason we can't just bump the
798 requirement to at least 2.10?)
800 * gst/gstpadtemplate.h:
801 * gst/gstelementfactory.c:
802 * gst/gstregistryxml.c:
803 * gst/gstregistrybinary.c:
804 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
805 up the internal code accordingly. This shouldn't be a problem, since
806 there is no reason external code could ever assume the string in such
807 a structure is dynamically allocated unless it did that itself; the
808 use of g_strdup() is private to element factories. The new code also
809 saves some memory by putting pad template name strings into the GLib
810 quark table instead of allocating them dynamically.
811 Declaring this field constant fixes warnings with g++-4.2 when using
812 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
814 2007-09-19 Stefan Kost <ensonic@users.sf.net>
816 * gst/gstelementfactory.c:
817 Release static caps. Fixes #475723.
819 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
823 Make some internal API take const gchar * instead of just
824 gchar * to avoid compiler warnings with g++-4.2.2 when
825 passing string constants (partially fixes #478092).
827 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
829 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
830 A latency query fails when one of the sinks fail.
832 * gst/gstelement.c: (gst_element_set_base_time):
835 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
837 * gst/gstbin.c: (gst_bin_continue_func):
838 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
839 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
840 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
842 Fix minor compilation warnings shown with Forte.
844 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
846 * plugins/elements/gstqueue.c: (apply_buffer),
847 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
848 Measure queue level based on the diff between head and tail timestamps
849 even when pushing the first buffer.
851 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
853 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
854 (gst_base_sink_event), (gst_base_sink_change_state):
855 Sinks that don't preroll can always be queried for the latency.
856 Don't post ASYNC start when we are not async.
858 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
860 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
861 (gst_queue_handle_sink_event), (gst_queue_chain),
862 (gst_queue_push_one), (gst_queue_handle_src_query),
863 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
864 * plugins/elements/gstqueue.h:
865 When downstream returns UNEXPECTED from pushing a buffer, don't try to
866 push more buffers but allow pushing of EOS and NEWSEGMENT.
867 Add some more debug info here and there. Fixes #476514.
869 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
871 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
872 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
873 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
874 (gst_base_sink_set_flushing), (gst_base_sink_query),
875 (gst_base_sink_change_state):
876 Latency query is allowed after we are prerolled. Introduce a new flag
877 for this and stop abusing other variables.
879 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
881 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
882 Push OOB events downstream when we get them in send_event. This allows
883 the application to insert events in the pipeline.
884 Add some more comments.
886 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
888 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
889 (do_bin_latency), (gst_bin_change_state_func):
890 * gst/gstpipeline.c: (gst_pipeline_change_state):
891 Move latency query from GstPipeline to GstBin so that we can also
892 use it when async-handling is enabled on bins.
894 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
896 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
897 (gst_base_src_do_sync), (gst_base_src_change_state):
899 Clean up the timestamping and syncing code for pseudo live sources.
901 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
903 Patch by: Steve Fink <sphink gmail com>
905 * docs/manual/appendix-checklist.xml:
906 Mention less -R switch in the section about debug output (#474055).
908 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
910 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
911 Queue can latency to the pipeline up to the configured max size in time.
912 Report this fact in the latency query.
914 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
916 Patch by: Sebastien Moutte <sebastien at moutte dot net>
918 * libs/gst/controller/gstinterpolation.c:
919 * libs/gst/controller/gstlfocontrolsource.c:
920 Use gst_guint64_to_gdouble() when converting from a uint64 or
921 GstClockTime to double to fix the build on win32. Fixes #474371.
923 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
925 * gst/gstbuffer.c: (gst_buffer_finalize):
926 Implement poisoning for GstBuffer if --enable-poisoning is specified.
927 When finalizing a buffer the complete struct is filled with 0xff,
928 thus making a use of the buffer after the final unref impossible.
930 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
932 * tests/check/libs/controller.c: (GST_START_TEST):
933 Use fail_unless_equals_int(a, b) instead of
934 fail_unless_equals (a == b) to get better output on failures.
936 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
938 * tests/check/gst/gsturi.c:
939 Also check for the other file URI variant on win32.
941 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
943 * gst/gsturi.c: (gst_uri_get_location):
944 If there's no hostname, we want to return 'c:/foo/bar.txt'
945 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
947 * tests/check/gst/gsturi.c:
948 Unit test for the above and a few more things.
950 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
952 * docs/design/part-live-source.txt:
953 Add docs on how live sources should timestamp.
955 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
956 Add some more debug info.
957 For subclasses that are live and like to sync, add aditional startup
958 latency to sync time and timestamps so that we timstamp according to the
961 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
964 Also do a g_type_class_ref() for the subbuffer type in
967 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
969 * docs/gst/gstreamer-sections.txt:
970 * gst/gstpad.c: (gst_pad_peer_query):
972 Add function to perform a query on the peer of a pad.
973 API: gst_pad_peer_query()
975 2007-09-11 Stefan Kost <ensonic@users.sf.net>
977 * tests/check/gst/gstsystemclock.c:
978 Cleanup the test a little (use gst-logging and not g_message). Improve
979 test to check if a wait reached the target.
981 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
983 * docs/libs/gstreamer-libs-sections.txt:
984 Add new API to docs and fix the build.
986 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
988 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
989 (gst_base_src_init), (gst_base_src_set_do_timestamp),
990 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
991 (gst_base_src_get_property), (gst_base_src_do_sync):
992 * libs/gst/base/gstbasesrc.h:
993 Add property to make the basesrc timestamp buffers based on the current
995 API: GstBaseSrc::do-timestamp
996 API: gst_base_src_set_do_timestamp()
997 API: gst_base_src_get_do_timestamp()
999 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1001 * docs/random/release:
1002 Really make sure translations are up-to-date before
1003 a release (#465010).
1005 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1007 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1008 Always destroy the timer, also in error cases.
1010 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1012 * docs/manual/highlevel-xml.xml:
1013 Fix XML example code. Fixes #472714.
1015 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1017 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1018 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1019 (gst_base_sink_query):
1020 Protect eos and have_preroll with the OBJECT lock so we don't need to
1021 take the PREROLL lock when querying the latency. Fixes #473846.
1023 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1026 Give some log-messages a category.
1028 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1030 * gst/gststructure.c:
1031 (gst_structure_fixate_field_nearest_fraction):
1032 Fix fraction list fixation code. Take the fraction with the smallest
1033 difference with the target instead of the first one in the list.
1035 * tests/check/gst/gststructure.c: (GST_START_TEST),
1036 (gst_structure_suite):
1037 Added test to verify correct fraction list fixation behaviour.
1039 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1041 * win32/common/libgstreamer.def:
1042 Export gst_bus_add_signal_watch too.
1044 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1046 * docs/libs/gstreamer-libs-sections.txt:
1047 Add new methods to docs.
1049 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1050 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1051 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1052 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1053 * libs/gst/base/gstbasesink.h:
1054 Add ts-offset property to fine-tune the synchronisation.
1055 API: GstBaseSink::ts-offset property
1056 API: gst_base_sink_set_ts_offset()
1057 API: gst_base_sink_get_ts_offset()
1059 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1061 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1062 (gst_base_sink_init), (gst_base_sink_set_sync),
1063 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1064 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1065 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1066 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1067 (gst_base_sink_get_property), (gst_base_sink_change_state):
1068 * libs/gst/base/gstbasesink.h:
1069 Add async property to instruct the sink never to inform the parent about
1070 ASYNC state changes, update docs.
1071 Check argument with g_return_* for the public functions.
1072 API: GstBaseSink::async property
1073 API: gst_base_sink_set_async_enabled()
1074 API: gst_base_sink_is_async_enabled()
1076 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1078 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1081 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1082 (gst_base_src_default_query), (gst_base_src_wait),
1083 (gst_base_src_do_sync), (gst_base_src_change_state):
1084 Rearrange some code so that we can add support for measuring the
1087 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1089 * docs/random/ensonic/dynlink.txt:
1090 More thoughs on this.
1092 * plugins/elements/gstcapsfilter.c:
1093 Add bugzilla ticket number to FIXME comment.
1095 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1097 * docs/design/part-TODO.txt:
1098 * docs/design/part-block.txt:
1101 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1104 Revert patch which uses $(gst_headers) instead of $^ because it
1107 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1109 * tests/check/gst/gstbin.c: (GST_START_TEST):
1110 Fix leaks in the new unit test.
1112 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1115 Don't use GST_INFO before the debug system is actually initialised
1116 (shouldn't do any harm, but won't print anything either, so we can
1117 just as well remove it).
1120 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1121 compilers that don't support variadic macros (such as MSVC), should
1122 check for debug_level <= __gst_debug_min as well, since that's the
1123 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1124 inline helper functions. Should improve performance a bit, but also
1125 makes sure uses of GST_INFO et.al are ignored if the debugging
1126 system isn't initialised yet (instead of printing an assertion
1129 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1131 patch by: David Nečas <yeti@physics.muni.cz>
1134 Replace some non portable makefile constructs.
1136 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1138 * common/gtk-doc-plugins.mak:
1139 Grrrrr. Don't remove the types file on make clean.
1141 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1143 * tools/gst-launch.1.in:
1144 Add colorspace to example pipeline. Fixes #458274.
1146 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1148 * docs/random/release:
1149 The release manager should run 'make download-po' before making a
1150 release to make sure translations are up-to-date.
1156 Add some new translations.
1158 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1160 * tools/gst-launch.c: (event_loop), (main):
1161 Don´t try to do any state management when a live pipeline posts
1163 Also make the buffering string translatable.
1165 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1167 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1168 (bin_handle_async_start), (gst_bin_handle_message_func):
1170 When adding elements, insert messages into the bus of the newly added
1171 element and make sure the element is the source of the message. This
1172 allows the parent bin to intercept the message and do the
1173 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1174 messages to the app (which is not allowed).
1177 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1178 Fix testsuite so that is does not work around messages that should not
1179 have been posted in the first place.
1181 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1183 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1184 (update_degree), (gst_bin_sort_iterator_next):
1185 Fix annoying bug in the sorted iterator where a sink that is not really
1186 a sink (when it has downstream links) screwed up the iterator.
1188 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1189 Unit test to verify the fix.
1191 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1194 Add some more docs for the messages.
1196 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1197 (gst_base_sink_query):
1198 Add some more debugging.
1200 * tools/gst-launch.c: (event_loop):
1201 When interrupting, don't try to set pipeline to PAUSED twice.
1203 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1206 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1207 (bin_handle_async_start), (gst_bin_handle_message_func):
1208 Move ASYNC_START message posting to where it belongs, similar to
1210 Don't post ASYNC_START when we are in error.
1211 Post ASYNC_START when we added an async element to a bin.
1213 2007-08-14 Julien MOUTTE <julien@moutte.net>
1215 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1216 generation from vargs. Fixes #466595.
1218 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1220 * gst/gstbin.c: (gst_bin_element_set_state):
1221 Always change the state of a NO_PREROLL element even if it has ASYNC
1222 elements inside (in case of a bin).
1224 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1225 Unit test for this case.
1227 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1229 * libs/gst/check/gstbufferstraw.c:
1230 * libs/gst/check/gstcheck.h:
1231 * libs/gst/controller/gstcontroller.c:
1232 * libs/gst/controller/gstcontrolsource.h:
1233 * libs/gst/controller/gstlfocontrolsource.h:
1234 * plugins/elements/gstcapsfilter.h:
1235 * plugins/elements/gstfdsink.h:
1236 * plugins/elements/gstfdsrc.h:
1237 Add more missing docs.
1239 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1241 * gst/gststructure.c:
1242 Add Since tag to docs.
1244 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1246 * docs/gst/gstreamer-sections.txt:
1247 * gst/gststructure.c: (gst_structure_get_uint):
1248 * gst/gststructure.h:
1249 Add function to get uint from a structure.
1250 API: gst_structure_get_uint()
1252 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1254 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1255 (gst_caps_intersect):
1256 Fix proper check for simple caps.
1258 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1260 * docs/gst/Makefile.am:
1261 * docs/libs/Makefile.am:
1262 Remove cruft and do some cleanups.
1264 * docs/gst/gstreamer-docs.sgml:
1265 * docs/libs/gstreamer-libs-docs.sgml:
1266 Prepare for comming gtkdoc features (rebase against online docs).
1268 2007-08-10 Michael Smith <msmith@fluendo.com>
1270 * docs/gst/gstreamer-sections.txt:
1271 Add gst_registry_add_path to docs.
1273 2007-08-10 Michael Smith <msmith@fluendo.com>
1275 * gst/gstregistry.h:
1276 Add gst_registry_add_path, which was missing from this header.
1278 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1280 * libs/gst/controller/gstlfocontrolsource.c:
1283 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1285 * libs/gst/base/gstbasesink.c:
1286 Don't send an async_start message during downwards state change if
1287 target state is less than READY
1289 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1291 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1295 Added Hungarian translation.
1297 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1304 Updated translations.
1306 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1308 * libs/gst/controller/Makefile.am:
1309 Dist gstlfocontrolsourceprivate.h
1311 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1313 * docs/libs/gstreamer-libs.types:
1314 Don't register the enum type gst_lfo_waveform_get_type() in the
1315 .types file - only GObject derived types belong.
1317 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1319 Patch by: <arenevier at fdn dot fr>
1322 Remove comma from last element in enum to avoid compile errors when
1323 using -pendantic. Fixes #464366.
1325 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1327 * docs/design/part-TODO.txt:
1328 Add some more TODO items
1330 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1333 * gst/gstcaps.c: (gst_caps_intersect):
1334 Optimize trivial intersection case between identical caps pointers.
1336 * gst/gstelement.c: (gst_element_continue_state),
1337 (gst_element_set_state_func):
1339 Fix spelling and grammar mistakes.
1341 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1345 Update POTFILES. Fixes #461599.
1347 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1350 Fix confusing typo in debug output.
1352 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1354 reviewed by: Stefan Kost <ensonic@users.sf.net>
1356 * libs/gst/controller/Makefile.am:
1357 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1358 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1359 (gst_lfo_control_source_new),
1360 (gst_lfo_control_source_set_waveform),
1361 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1362 (gst_lfo_control_source_finalize),
1363 (gst_lfo_control_source_dispose),
1364 (gst_lfo_control_source_set_property),
1365 (gst_lfo_control_source_get_property),
1366 (gst_lfo_control_source_class_init):
1367 * libs/gst/controller/gstlfocontrolsource.h:
1368 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1369 API: Add GstLFOControlSource, a control source that gives values
1370 for specific timestamps based on several periodic waveforms.
1373 * tests/check/libs/controller.c: (GST_START_TEST),
1374 (gst_controller_suite):
1375 * docs/libs/gstreamer-libs-docs.sgml:
1376 * docs/libs/gstreamer-libs-sections.txt:
1377 * docs/libs/gstreamer-libs.types:
1378 Add documentation and unit tests for GstLFOControlSource.
1380 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1385 === release 0.10.14 ===
1387 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1390 releasing 0.10.14, "Breathing Vacuum"
1392 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1394 * gst/gstelement.c: (gst_element_class_set_details_simple):
1396 Make strings passed to gst_element_class_set_details_simple()
1397 constant, as they should be (#462752).
1399 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1401 * gst/gstbin.c: (gst_bin_change_state_func),
1402 (bin_handle_async_done), (gst_bin_handle_message_func):
1403 Don't forget about the fact that some element went ASYNC even after a
1404 resync. This makes us post the ASYNC_DONE message correctly.
1407 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1409 * gst/gstregistry.c: (gst_registry_add_feature):
1410 When replacing an existing feature in the registry, make sure to
1411 continue holding a reference until we've replaced the name string
1412 within our feature hash table. Make sure to use g_hash_table_replace
1413 instead of g_hash_table_insert to ensure the new name string is used
1414 as a key instead of the old one that we're about to free.
1417 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1419 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1420 (gst_plugin_feature_set_name):
1421 Revert patch from #459466 until after the release and we can work
1422 out exactly what the problem is (if any).
1424 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1426 * docs/gst/gstreamer-sections.txt:
1429 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1431 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1433 * docs/libs/Makefile.am:
1434 Include our build-prefix libs and includes before the generic ones to
1435 avoid linking against the installed libs when we want the build-tree
1438 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1440 Patch by: Steve Fink <sphink gmail com>
1442 * docs/pwg/building-testapp.xml:
1443 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1444 if people try to build or install the example from the plugin
1445 template against a GStreamer from package using the configure
1448 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1450 Patch by: Steve Fink <sphink gmail com>
1452 * tools/gst-inspect.1.in:
1453 Document --print-all and --print-plugin-auto-install-info command
1454 line options in man page.
1456 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1458 * docs/gst/gstreamer-sections.txt:
1459 Add docs for new api function.
1461 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1463 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1464 * gst/gstelementfactory.h:
1465 API: gst_element_factory_has_interface()
1466 Added method to check if an element factory implements a named
1469 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1472 * docs/gst/gstreamer.types.in:
1473 Another conditional doc check.
1476 * gst/gstparamspecs.h:
1477 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1482 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1484 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1485 (gst_registry_binary_load_feature),
1486 (gst_registry_binary_load_plugin),
1487 (gst_registry_binary_read_cache):
1488 Print error just once and with additional info.
1490 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1492 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1493 (helper_find_suggest), (helper_find_get_length),
1494 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1495 (gst_type_find_helper_for_buffer):
1496 Cleanup the typefindhelper code and add private doc comments.
1498 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1500 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1501 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1502 Fix capsfilter for cases where the caps set on capsfilter will provide
1503 additional information.
1506 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1508 * gst/gsttypefindfactory.c:
1509 Fix docs that recommened wrong function to use.
1511 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1513 * tools/gst-inspect.c: (print_plugin_features):
1514 Also give media-type for typefinders in element output.
1516 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1518 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1519 (gst_registry_remove_features_for_plugin_unlocked),
1520 (gst_registry_add_feature), (gst_registry_remove_feature),
1521 (gst_registry_lookup_feature_locked):
1522 * gst/gstregistry.h:
1523 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1526 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1528 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1529 (gst_plugin_feature_set_name):
1530 Avoid double memory usage for pluginfeature names. Fixes #459466.
1532 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1535 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1536 driving the pipeline may need to explicitly check for NOT_LINKED as
1537 well, since IS_FATAL doesn't cover that.
1539 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1541 * docs/pwg/advanced-types.xml:
1542 Fix typo and duplicate entry in video formats list.
1544 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1546 * libs/gst/controller/gstinterpolation.c:
1547 Also round to the nearest int when using cubic interpolation.
1549 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1551 * libs/gst/controller/gstinterpolation.c:
1552 When linearly interpolating integer types, round to the nearest int
1553 by adding 0.5. Don't do it for float/double types.
1554 Fixes the failing controller test on my machine, which is somehow
1555 rounding differently than on the buildbots.
1557 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1559 * tools/gst-plot-timeline.py:
1560 Better log parsing (categories can have -). Adjust text vs. lines, so
1561 that they span the same y-range.
1563 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1565 * docs/random/ensonic/audiobaseclasses.txt:
1566 * docs/random/ensonic/dynlink.txt:
1567 * docs/random/ensonic/profiling.txt:
1570 * docs/random/moving-plugins:
1571 Add note to use g_assert type macros.
1573 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1576 * libs/gst/check/Makefile.am:
1577 Add libm check as we use in for plugins.
1579 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1581 * gst/gstbin.c: (gst_bin_continue_func):
1582 Check that the state_cookie hasn't changed since the continue_func
1583 was scheduled. Avoids problems where the state changes back to
1584 something it shouldn't be because it was changed in the meantime.
1586 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1588 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1589 (gst_registry_binary_save_string),
1590 (gst_registry_binary_save_pad_template),
1591 (gst_registry_binary_save_feature),
1592 (gst_registry_binary_save_plugin),
1593 (gst_registry_binary_load_feature),
1594 (gst_registry_binary_load_plugin),
1595 (gst_registry_binary_read_cache):
1596 Fix memory leak. Be less verbose in the log.
1598 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1600 * tests/check/elements/.cvsignore:
1601 Add file to cvsignore as commanded.
1603 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1605 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1606 (mq_dummypad_event), (run_output_order_test):
1607 Use a GStaticMutex to protect all cases where libcheck
1608 fail_if/fail_unless macros might be called from multiple threads
1609 simultaneously to avoid errors like:
1610 "check_pack.c:107: :-1081725400:Bad message type arg"
1612 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1614 * tests/check/pipelines/stress.c: (GST_START_TEST):
1615 Make sure we set the pipeline back to the NULL state before
1616 dropping our final reference.
1618 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1620 * tests/check/elements/tee.c: (GST_START_TEST):
1621 Make the tee stress-test a little less stressful so it doesn't just
1622 time out on slow-machines, and remove a small race when it's starting
1623 up by adding a get_state() call.
1625 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1628 Avoid reading registry twice on startup. Fixes #457322.
1630 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1632 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1633 * pkgconfig/gstreamer-check.pc.in:
1634 Substitute the CFLAGS for libcheck into our .pc file too so that
1635 dependent modules will pick it up properly if libcheck is installed
1636 into some other prefix.
1638 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1641 Revert the pkg-config check for libcheck, since it pulls in the
1642 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1643 a proper solution, either from the check project, or something else.
1645 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1648 Use pkg-config to locate check.
1650 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1657 Add deprecation guards.
1659 * libs/gst/base/gstcollectpads.h:
1660 Don't document object (this is implicitly private).
1662 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1664 * gst/gststructure.c: (gst_structure_parse_value):
1665 When deserialising foo=bar without a type cast, check if it's a
1666 boolean before falling back to a string type, otherwise things like
1667 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1668 because the filtercaps end up having a signed=(string)true field,
1669 which causes problems later when intersection caps.
1671 * tests/check/gst/gststructure.c: (GST_START_TEST):
1672 Add a unit test for this.
1674 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1676 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1678 * libs/gst/controller/Makefile.am:
1679 * libs/gst/controller/gstcontroller.c:
1680 (gst_controlled_property_add_interpolation_control_source),
1681 (gst_controlled_property_new), (gst_controlled_property_free),
1682 (gst_controller_find_controlled_property),
1683 (gst_controller_new_valist), (gst_controller_new_list),
1684 (gst_controller_new), (gst_controller_remove_properties_valist),
1685 (gst_controller_remove_properties_list),
1686 (gst_controller_remove_properties),
1687 (gst_controller_set_property_disabled),
1688 (gst_controller_set_disabled), (gst_controller_set_control_source),
1689 (gst_controller_get_control_source), (gst_controller_get),
1690 (gst_controller_sync_values), (gst_controller_get_value_array),
1691 (_gst_controller_dispose), (gst_controller_get_type),
1692 (gst_controlled_property_set_interpolation_mode),
1693 (gst_controller_set), (gst_controller_set_from_list),
1694 (gst_controller_unset), (gst_controller_unset_all),
1695 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1696 * libs/gst/controller/gstcontroller.h:
1697 * libs/gst/controller/gstcontrollerprivate.h:
1698 * libs/gst/controller/gstcontrolsource.c:
1699 (gst_control_source_class_init), (gst_control_source_init),
1700 (gst_control_source_get_value),
1701 (gst_control_source_get_value_array), (gst_control_source_bind):
1702 * libs/gst/controller/gstcontrolsource.h:
1703 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1704 (gst_object_get_control_source):
1705 * libs/gst/controller/gstinterpolation.c:
1706 (gst_interpolation_control_source_find_control_point_node),
1707 (gst_interpolation_control_source_get_first_value),
1708 (_interpolate_none_get), (interpolate_none_get),
1709 (interpolate_none_get_boolean_value_array),
1710 (interpolate_none_get_enum_value_array),
1711 (interpolate_none_get_string_value_array),
1712 (_interpolate_trigger_get), (interpolate_trigger_get),
1713 (interpolate_trigger_get_boolean_value_array),
1714 (interpolate_trigger_get_enum_value_array),
1715 (interpolate_trigger_get_string_value_array):
1716 * libs/gst/controller/gstinterpolationcontrolsource.c:
1717 (gst_control_point_free), (gst_interpolation_control_source_reset),
1718 (gst_interpolation_control_source_new),
1719 (gst_interpolation_control_source_set_interpolation_mode),
1720 (gst_interpolation_control_source_bind),
1721 (gst_control_point_compare), (gst_control_point_find),
1722 (gst_interpolation_control_source_set_internal),
1723 (gst_interpolation_control_source_set),
1724 (gst_interpolation_control_source_set_from_list),
1725 (gst_interpolation_control_source_unset),
1726 (gst_interpolation_control_source_unset_all),
1727 (gst_interpolation_control_source_get_all),
1728 (gst_interpolation_control_source_get_count),
1729 (gst_interpolation_control_source_init),
1730 (gst_interpolation_control_source_finalize),
1731 (gst_interpolation_control_source_dispose),
1732 (gst_interpolation_control_source_class_init):
1733 * libs/gst/controller/gstinterpolationcontrolsource.h:
1734 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1735 API: Refactor GstController into the core controller which can take
1736 a GstControlSource for providing actual values for timestamps.
1737 Implement a interpolation control source and use this for backward
1738 compatibility, deprecate a bunch of functions that are now handled
1739 by GstControlSource or GstInterpolationControlSource.
1740 Make it possible to disable the controller completely or only for
1741 specific properties. Fixes #450711.
1742 * docs/libs/gstreamer-libs-docs.sgml:
1743 * docs/libs/gstreamer-libs-sections.txt:
1744 * docs/libs/gstreamer-libs.types:
1745 Add new functions and classes to the docs.
1746 * tests/check/libs/controller.c: (GST_START_TEST),
1747 (gst_controller_suite):
1748 * tests/examples/controller/audio-example.c: (main):
1749 Port unit test and example to the new API and add some new
1752 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1754 Patch by: Mark Nauwelaerts <manauw at skynet be>
1756 * plugins/elements/gstmultiqueue.c:
1757 (gst_multi_queue_get_internal_links), (apply_buffer),
1758 (single_queue_overrun_cb), (gst_single_queue_new):
1759 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1760 the pipeline layout can be tracked correctly. Fixes #453732.
1762 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1764 * docs/gst/Makefile.am:
1765 * docs/libs/Makefile.am:
1766 * docs/plugins/Makefile.am:
1767 Simplify --extra-dir as gtkdoc scans recursively.
1769 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1771 * tools/gst-launch.c: (main):
1772 When we got an error, there is no point in waiting for preroll when
1775 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1777 * plugins/elements/gsttee.c: (gst_tee_base_init),
1778 (gst_tee_request_new_pad), (gst_tee_release_pad),
1779 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1780 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1782 Be a lot smarter when deciding what srcpad to use for proxying
1783 the buffer_alloc. Also handle pad added/removed when doing so.
1785 Keep track of what pads we already pushed on in case we have pads
1786 added/removed while pushing. Fixes #374639
1788 * tests/check/Makefile.am:
1789 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1791 Added unit test for pad resync.
1793 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1797 Updated translations.
1799 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1801 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1805 Added new Finnish translation.
1807 2007-06-28 Wim Taymans <wim@fluendo.com>
1809 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1810 (single_queue_overrun_cb):
1811 When figuring out when a queue is filled, use our internal time estimate
1812 based on segments, just like check_full does.
1814 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1816 * gst/gstminiobject.c: (gst_mini_object_get_type):
1817 Remove 3 do-nothing methods.
1819 2007-06-27 Wim Taymans <wim@fluendo.com>
1821 Patch by: Tim Angus <tim at ngus dot net>
1823 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1824 (gst_capsfilter_set_property):
1825 Take a reference instead of a copy when setting "caps".
1826 Fix documentation to clarify this behaviour. Fixes #449414.
1828 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1830 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1831 * gst/gstplugin.c: (gst_plugin_init):
1832 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1833 * gst/gstquery.c: (gst_query_get_type):
1834 * gst/gstregistry.c: (gst_registry_init):
1835 * gst/gsturi.c: (gst_uri_handler_base_init):
1836 Remove empty instance_init() functions to save relocs and lessen the
1837 noise. Remove some of the function prototypes that are doubled by
1840 2007-06-27 Wim Taymans <wim@fluendo.com>
1842 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1844 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1845 Add peer and direction in the XML serialisation of ghostpads.
1848 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1851 Preserve useful information, thanks Tim.
1853 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1855 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1856 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1857 (gst_single_queue_push_one), (gst_multi_queue_loop),
1858 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1859 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1860 (compute_high_id), (gst_single_queue_new):
1861 * plugins/elements/gstmultiqueue.h:
1862 Take the multiqueue lock when updating the fill level so we don't get
1865 After applying a buffer or event on the src pad segment, make sure to
1866 call gst_data_queue_limits_changed() to get the data queue to unblock
1867 and check the filled state again.
1869 Rework the not-linked pad handling so the logic is that not-linked
1870 pads can push as fast as they like, but only so they never get
1871 ahead of any linked pads.
1873 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1874 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1875 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1877 Add a test to check that not-linked pads always stay behind
1882 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1884 * docs/random/release:
1885 Some updates to the release procedure.
1887 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1889 * gst/gstelementfactory.c: (__gst_element_details_clear):
1890 Microoptimization that saves stunning 80 bytes.
1892 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1894 * docs/plugins/gstreamer-plugins.args:
1895 * docs/plugins/inspect/plugin-coreelements.xml:
1896 * docs/plugins/inspect/plugin-coreindexers.xml:
1897 Update docs with caps info.
1899 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1902 Updated Italian translation.
1904 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1908 Update Vietnamese translations.
1910 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1912 * libs/gst/base/gstbasesink.c:
1913 Remove unused signal enum.
1915 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1917 * docs/gst/gstreamer-sections.txt:
1919 * gst/gstutils.c: (gst_type_register_static_full):
1920 Beef up and include the docs for gst_type_register_static_full and
1921 gst_element_class_set_details_simple and add the API keyword
1924 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1926 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1927 (update_time_level), (gst_single_queue_push_one),
1928 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1929 (single_queue_overrun_cb), (single_queue_underrun_cb),
1930 (single_queue_check_full):
1931 Fix setting max-* properties after adding queues.
1932 Use IS_FILLED for checking visible items.
1933 Signal overrun if multiple queues overrun.
1934 Add extra debug output.
1935 Patch by: Wim Taymans <wim@fluendo.com>
1937 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1939 * gst/gstelement.c: (gst_element_class_set_details_simple):
1941 * gst/gstutils.c: (gst_type_register_static_full):
1943 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1944 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1945 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1946 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1947 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1948 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1949 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1950 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1951 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1952 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1953 (apply_buffer), (gst_queue_chain):
1954 * plugins/elements/gsttee.c: (gst_tee_base_init):
1955 * plugins/elements/gsttypefindelement.c:
1956 (gst_type_find_element_base_init),
1957 (gst_type_find_element_class_init):
1958 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1959 API: add gst_type_register_static_full
1960 API: add gst_element_class_set_details_simple
1962 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1964 * docs/pwg/advanced-types.xml:
1965 Fix typo in iana.org URI.
1967 2007-06-19 Andy Wingo <wingo@pobox.com>
1969 * tests/check/pipelines/simple-launch-lines.c
1970 (test_state_change_returns): Enable pull-mode tests now that
1971 basesink has been fixed.
1973 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1974 Changed from gst_base_sink_is_prerolled, reversing the sense of
1975 the return value. Returns FALSE also if the sink is in pull mode,
1976 in which case it needs no preroll.
1977 (gst_base_sink_query, gst_base_sink_change_state): Update for
1978 needs_preroll change.
1979 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1980 chaining up, in which we return SUCCESS directly if we activated
1981 in pull mode instead of ASYNC. Involves countering an async_start
1982 message sent before chaining up; not sure if this is correct, in
1983 an ideal world we only send async-start when activating in push
1986 * tests/check/pipelines/simple-launch-lines.c
1987 (test_state_change_returns): New test, partially disabled until
1990 2007-06-19 Wim Taymans <wim@fluendo.com>
1992 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1993 (gst_multi_queue_sink_event):
1996 2007-06-19 Wim Taymans <wim@fluendo.com>
1998 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1999 (gst_bin_change_state_func), (bin_push_state_continue),
2000 (bin_handle_async_start), (bin_handle_async_done),
2001 (gst_bin_handle_message_func):
2002 Move the common code for posting state-change messages into
2004 Broadcast the state signal after we posted the messages.
2005 Mark the bin as busy when it's doing a state-change.
2006 Make sure async-start/done messages don't interfere with the bin's
2007 state when it's busy.
2008 After the state change, let the bin check which elements completed the
2009 state change while it was busy so that it can update its state.
2011 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2013 * docs/random/release:
2014 Add a note about updating the doap file to the release checklist
2016 2007-06-18 Wim Taymans <wim@fluendo.com>
2018 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2019 (gst_single_queue_push_one), (gst_multi_queue_chain),
2020 (gst_multi_queue_sink_event):
2021 Make sure we don't reference the buffer/event after we have given away
2022 ownership in the queue.
2024 2007-06-18 Wim Taymans <wim@fluendo.com>
2026 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2027 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2028 Update queue state _after_ adding the item in the queue because else we
2029 could end up being full without the element added yet.
2031 2007-06-18 Wim Taymans <wim@fluendo.com>
2033 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2034 (gst_bin_remove_func), (gst_bin_get_state_func),
2035 (gst_bin_element_set_state), (gst_bin_continue_func),
2036 (bin_push_state_continue), (bin_handle_async_start),
2037 (bin_handle_async_done), (gst_bin_handle_message_func):
2039 Immediatly commit the toplevel bin state when receiving an async-done
2040 message. This enables us to avoid spawning a thread to commit the state
2041 in some common cases and it also avoids some races.
2042 Avoid spawning a state thread when adding/removing async elements to a
2043 toplevel bin. Instead we immediatly update the bin state.
2044 Get rid of iterating all the children when getting the state in the bin
2045 because it is now always up-to-date.
2046 Fix bug where locked elements would always return _SUCCESS even it they
2047 returned NO_PREROLL before being locked.
2048 Fix the order of the state_change, async-start/done messages that was
2049 sometimes incorrect.
2050 Mark the state_dirty field as deprecated, we don't need it anymore as we
2051 are always up-to-date.
2053 * gst/gstelement.c: (gst_element_get_state_func),
2054 (gst_element_continue_state):
2055 Small debug inprovements.
2056 Return the previous element state return when nothing is pending instead
2057 of blindly returning SUCCESS.
2059 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2061 Add a whole bunch of new testcases.
2063 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2067 Update translations.
2069 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2072 Fix typo in the docs.
2074 2007-06-15 Wim Taymans <wim@fluendo.com>
2076 * docs/libs/gstreamer-libs-sections.txt:
2077 Add docs for new methods.
2079 2007-06-15 Wim Taymans <wim@fluendo.com>
2081 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2082 (gst_multi_queue_item_new):
2083 Don't use GSlice because we don't depend on >= 2.10 yet.
2085 2007-06-15 Wim Taymans <wim@fluendo.com>
2087 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2088 (update_time_level), (apply_segment), (apply_buffer),
2089 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2090 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2091 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2092 (single_queue_underrun_cb), (single_queue_check_full):
2093 Remove debug printf.
2095 2007-06-15 Wim Taymans <wim@fluendo.com>
2097 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2098 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2099 (gst_data_queue_set_flushing), (gst_data_queue_push),
2100 (gst_data_queue_pop), (gst_data_queue_drop_head),
2101 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2102 * libs/gst/base/gstdataqueue.h:
2104 Added methods to get the current levels and to inform the queue that the
2105 'full' limits changed.
2107 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2108 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2109 (gst_single_queue_flush), (update_time_level), (apply_segment),
2110 (apply_buffer), (gst_single_queue_push_one),
2111 (gst_multi_queue_item_steal_object),
2112 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2113 (gst_multi_queue_loop), (gst_multi_queue_chain),
2114 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2115 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2116 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2117 (single_queue_underrun_cb), (single_queue_check_full),
2118 (gst_single_queue_new):
2119 Keep track of time in the queue by measuring the difference between
2120 running_time on input and output. This gives more accurate results and
2121 can compensate for segments correctly.
2122 Make a queue by default only 5 buffers deep. We will now increase the
2123 buffer size depending on the filledness of the other queues.
2124 Factor out commong flush code.
2125 Make sure we don't add additional refcounts to buffers when we can avoid
2127 Propagate GstFlowReturn differently.
2128 Use GSlice for intermediate GstMultiQueueItems.
2130 Resize queues on over and underruns based on filled level of other
2132 When checking if the queue is filled, prefer to measure in time if we
2133 can and fall back to bytes when no time is known.
2135 * plugins/elements/gstqueue.c:
2138 2007-06-15 Wim Taymans <wim@fluendo.com>
2140 * libs/gst/base/gstbasetransform.c:
2141 (gst_base_transform_sink_event):
2142 Work around the brokenness of the event vmethod in basetransform. Prefer
2143 to return TRUE when the subclass returned FALSE (meaning don't forward
2146 * libs/gst/base/gstbasetransform.h:
2149 2007-06-15 Wim Taymans <wim@fluendo.com>
2151 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2152 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2153 (gst_base_src_default_query), (gst_base_src_get_range),
2154 (gst_base_src_start):
2155 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2158 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2160 * docs/pwg/advanced-types.xml:
2161 Added more formats to caps table.
2163 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2165 * tools/gst-launch.c: (main):
2166 Remove crufy code. GOption does not need this workaround.
2168 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2170 * libs/gst/controller/gstcontroller.c:
2171 (gst_controlled_property_set_interpolation_mode):
2172 Fix wrong getter for enums in controller.
2174 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2176 * libs/gst/check/gstcheck.c: (gst_check_init):
2177 Intercept criticals and warnings in the Gst-Phonon log domain, so
2178 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2181 2007-06-14 Edward Hervey <edward@fluendo.com>
2183 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2184 Since this file doesn't include "gst.h" it will not go through the
2185 macros that disable GST_LOG if debugging was disabled.
2187 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2189 * libs/gst/check/Makefile.am:
2190 * libs/gst/check/gstcheck.h:
2191 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2192 * pkgconfig/gstreamer-check.pc.in:
2193 Ugly 'fix' for the controller unit test on the p5 bot: in
2194 fail_unless_equals_float() check whether the values are 'almost
2195 equal' by allowing a small absolute error, which should be good
2196 enough for our use cases (normal numbers and values close to 0).
2197 Proper fixage left to floating point arithmetic aficionados.
2199 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2201 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2202 (gst_base_sink_render_object), (gst_base_sink_get_position):
2203 Add two breaks thats where missing.
2205 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2207 * docs/libs/gstreamer-libs-sections.txt:
2208 * libs/gst/check/gstcheck.h:
2209 API: add fail_unless_equals_float() and assert_equals_float().
2210 Add documentation for some of the macros.
2212 * tests/check/libs/controller.c: (GST_START_TEST):
2213 Use newly-added asserts.
2215 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2217 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2218 Show the caps change in the log to help spotting the case of not
2219 exactly matching caps.
2221 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2223 * docs/pwg/building-boiler.xml:
2224 Fix typos, spotted by Thijs Vermeir (#447190).
2226 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2228 * docs/plugins/tmpl/.cvsignore:
2229 Ignore file to keep the buildbots happy
2231 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2233 * docs/plugins/Makefile.am:
2234 * docs/plugins/gstreamer-plugins-docs.sgml:
2235 * docs/plugins/gstreamer-plugins-sections.txt:
2236 Pull fdsink into the docs too.
2238 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2240 * libs/gst/controller/gstinterpolation.c:
2241 Actually use the new functions with min/max checks for the trigger and
2242 none interpolation modes for get() and get_value_array() instead of
2245 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2247 * libs/gst/controller/gstcontroller.c:
2248 (gst_controlled_property_free):
2249 Unset the minimum and maximum GValues when freeing the corresponding
2250 GstControllerProperty struct.
2252 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2254 * libs/gst/controller/gstcontroller.c:
2255 (gst_controlled_property_new):
2256 * libs/gst/controller/gstcontrollerprivate.h:
2257 * libs/gst/controller/gstinterpolation.c:
2258 (gst_controlled_property_find_control_point_node),
2259 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2260 (interpolate_none_get_string_value_array),
2261 (interpolate_trigger_get),
2262 (interpolate_trigger_get_enum_value_array),
2263 (interpolate_trigger_get_string_value_array):
2264 Protect against values larger or smaller than the minimum or maximum
2265 allowed value for the property when using values that can be compared.
2267 Optimize trigger interpolator a bit by taking the last requested value
2268 into account instead of always looping through the complete list.
2270 Fix coding style a bit, everywhere else we use "return foo" instead
2273 * tests/check/libs/controller.c: (GST_START_TEST),
2274 (gst_controller_suite):
2275 Add unit test for the protection against too large or too small
2278 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2280 * docs/random/slomo/controller.txt:
2281 Add some thoughts about the future of the controller.
2283 2007-06-08 Wim Taymans <wim@fluendo.com>
2285 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2286 Don't overflow in retimestamping code.
2288 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2290 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2291 Use gst_util_guint64_to_gdouble for conversions.
2292 * win32/common/libgstreamer.def:
2293 Add new exported functions.
2295 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2298 Small docs addition.
2300 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2303 Remove that test line again.
2305 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2308 Test commit mail sending.
2310 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2313 Fix typo and test commit mail sending.
2315 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2317 * tests/examples/controller/audio-example.c:
2318 Improve comment and test commit mail sending.
2320 2007-06-07 Wim Taymans <wim@fluendo.com>
2322 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2323 (gst_bin_remove_func), (gst_bin_element_set_state),
2324 (bin_handle_async_start), (bin_handle_async_done),
2325 (gst_bin_handle_message_func):
2326 Add helper function to find messages.
2327 Generate the async-done messages together with the state change
2329 Small cleanups in handling toplevel bins.
2331 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2333 * libs/gst/base/gstdataqueue.c:
2334 * libs/gst/base/gstdataqueue.h:
2335 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2336 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2337 (gst_multi_queue_sink_event):
2338 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2339 Fix multiqueue leaking buffers and events when downstream or the
2340 queue are flushing. Make refcounting assumptions explicit and
2341 document them (shouldn't break existing code that uses it other than
2342 maybe leak miniobjects, but that already happens anyway). Add unit
2343 test for the most common flushing case. Fixes #423700.
2345 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2347 * libs/gst/controller/gstcontroller.c:
2348 Clarify docs: The get_all, get_value_array(s) functions
2349 don't modify the GObject properties.
2351 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2353 * libs/gst/controller/gstcontroller.c:
2354 (gst_controlled_property_set_interpolation_mode),
2355 (gst_controlled_property_prepend_default),
2356 (gst_controlled_property_new), (gst_controller_set_unlocked),
2357 (gst_controller_set), (gst_controller_set_from_list),
2358 (gst_controller_unset), (gst_controller_unset_all):
2359 * libs/gst/controller/gstcontrollerprivate.h:
2360 * libs/gst/controller/gstinterpolation.c:
2361 Factor out the 'set' logic into gst_controller_set_unlocked for the
2362 gst_controller_set and gst_controller_set_from_list functions.
2364 To make life of the interpolators easier always add a control point
2365 at timestamp zero with the default value.
2367 In the linear interpolator make things more obvious by better variable
2370 Implement cubic interpolation mode (by using a natural cubic spline)
2371 and map the quadratic interpolation mode to this too (as quadratic
2372 doesn't make much sense, see discussion on the list).
2374 * tests/check/libs/controller.c: (GST_START_TEST),
2375 (gst_controller_suite):
2376 Add unit test for the cubic interpolation mode and check everywhere
2377 if the interpolation mode could be set as expected.
2379 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2381 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2382 Don't use GLib-2.10 functions, we still depend on
2383 GLib-how-old-is-it-again-2.8.
2385 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2387 * docs/gst/gstreamer-sections.txt:
2391 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2392 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2393 (_gst_param_fraction_values_cmp),
2394 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2395 * gst/gstparamspecs.h:
2397 * tests/check/Makefile.am:
2398 * tests/check/gst/.cvsignore:
2399 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2400 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2401 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2402 (GST_START_TEST), (gst_param_spec_suite):
2403 API: add GstParamSpecFraction, so elements can have fraction
2404 properties without lots of painful string parsing (#444648).
2406 2007-06-05 Wim Taymans <wim@fluendo.com>
2408 * gst/gstobject.c: (gst_object_class_init):
2409 Fix signal signature.
2412 Add small clarification in the api docs.
2414 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2415 States are protected with object lock.
2417 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2420 I should probably be listed as an author by now.
2422 * docs/random/release:
2423 Update the release doc
2425 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2428 Make docs for gst_value_compare() mention return enums that
2431 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2436 === release 0.10.13 ===
2438 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2441 releasing 0.10.13, "With or without you"
2443 2007-05-25 Wim Taymans <wim@fluendo.com>
2445 * gst/gstbin.c: (bin_handle_async_done):
2446 Make sure that the child bin stops after completing the async state
2447 change so that the parent can continue the state change to PLAYING.
2450 2007-05-25 Wim Taymans <wim@fluendo.com>
2452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2453 (unref_data), (gst_collect_pads_remove_pad),
2454 (gst_collect_pads_check_pads):
2455 Use additional refcounting to avoid crashes when dynamically adding and
2456 removing pads. Fixes #420206.
2458 2007-05-24 Wim Taymans <wim@fluendo.com>
2460 * tools/gst-launch.c: (event_loop):
2461 When buffering goes from a two digit to a single digit number, make sure
2462 to remove the old second digit by writing a blank over it.
2464 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2466 * libs/gst/base/gstdataqueue.c:
2467 Eliminate tabs and trailing comma in enum list; fix some typos.
2469 2007-05-24 Wim Taymans <wim@fluendo.com>
2471 * tests/check/gst/gstbin.c: (GST_START_TEST):
2472 Allow refcount of 3 and 4 because some state thread might still be busy
2475 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2477 * plugins/elements/Makefile.am:
2478 * plugins/elements/gstmultiqueue.h:
2479 * plugins/elements/gstqueue.h:
2480 These are not installed headers, no need for padding.
2482 2007-05-24 Wim Taymans <wim@fluendo.com>
2484 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2485 (gst_bin_continue_func):
2486 Enable latency for next release.
2487 Restore STATE_LOCK around recalc_state that was left out during the
2488 rewrite and could result in racy behaviour when _get_state and
2489 recalc_state are run concurrently. See #440463.
2491 2007-05-23 Wim Taymans <wim@fluendo.com>
2493 * tests/check/gst/gstsystemclock.c: (store_callback),
2495 Improve test_async_order to also work when both timers are already
2496 expired when we get scheduled to check it.
2498 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2500 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2501 (gst_bin_set_property), (gst_bin_get_property),
2502 (gst_bin_remove_func), (gst_bin_handle_message_func):
2504 'private' is a c++ keyword, let's not use that in header files,
2505 otherwise c++ compilers will throw a tantrum.
2507 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2509 * plugins/elements/gstelements.c:
2510 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2511 (gst_file_sink_get_current_offset):
2512 * plugins/indexers/gstindexers.c: (plugin_init):
2513 Use #ifdef for HAVE_XYZ for consistency.
2515 * tests/check/Makefile.am:
2516 * tests/check/elements/.cvsignore:
2517 * tests/check/elements/filesink.c: (setup_filesink),
2518 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2519 Add some unit tests for filesink.
2521 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2523 Patch by: Mark Nauwelaerts <manauw at skynet be>
2525 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2526 (gst_file_sink_query), (gst_file_sink_do_seek),
2527 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2528 * plugins/elements/gstfilesink.h:
2529 Fix position reporting; rename data_written member to current_pos to
2530 reflect its real meaning (fixes #412648).
2532 2007-05-22 Edward Hervey <edward@fluendo.com>
2534 * docs/gst/gstreamer-sections.txt:
2535 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2536 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2537 (gst_bin_remove_func), (gst_bin_handle_message_func):
2539 Add a property for bins that handle the state change of their childs.
2542 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2544 * libs/gst/controller/gstinterpolation.c:
2545 Use an array of the correct type when using _get_value_array with
2546 linear interpolation.
2548 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2550 * gst/gstelement.c (gst_element_requires_clock,
2551 gst_element_provides_clock, gst_element_request_pad,
2552 gst_element_class_set_details, gst_element_class_set_details_simple,
2553 gst_element_default_send_event, gst_element_abort_state,
2554 gst_element_continue_state, gst_element_set_state,
2555 gst_element_set_state_func, iterator_activate_fold_with_resync):
2556 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2557 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2558 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2559 gst_pad_get_range, gst_pad_pull_range):
2560 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2561 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2562 GstPadActivateModeFunction, GstPadChainFunction,
2563 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2564 GstPadFixateCapsFunction, GstPadTemplate):
2565 * gst/gstpipeline.c (gst_pipeline_change_state,
2566 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2567 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2568 gst_pipeline_get_delay):
2569 Whitespace and docs fixes.
2571 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2573 * libs/gst/controller/gstinterpolation.c:
2574 (interpolate_trigger_get_enum_value_array),
2575 (interpolate_trigger_get_string_value_array):
2576 Add support for retrieving value arrays when using the trigger
2579 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2581 * libs/gst/controller/gstcontroller.c:
2582 (gst_controller_get_value_array):
2583 * libs/gst/controller/gstcontroller.h:
2584 Clarify the docs of gst_controller_get_value_array(): The array where
2585 the values should be written to must be allocated as there seems to be
2586 no way to get the size of a random GType. This doesn't change any
2587 behaviour. Also fix some typos all over the place and remove an unused,
2588 commented function that is not necessary as g_object_set() could be
2590 * tests/check/libs/controller.c: (GST_START_TEST),
2591 (gst_controller_suite):
2592 Add unit test for gst_controller_get_value_array().
2594 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2596 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2598 Disable part of the gst_buffer_try_new_and_alloc test, because
2599 it can happily succeed on 64-bit systems where there's more address
2602 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2604 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2605 Add unit test for the improved caps checking from bug #421543.
2607 2007-05-21 Wim Taymans <wim@fluendo.com>
2609 * docs/design/part-synchronisation.txt:
2612 * gst/gstbin.c: (gst_bin_query):
2613 * plugins/elements/gstqueue.c: (apply_segment):
2619 2007-05-21 Wim Taymans <wim@fluendo.com>
2621 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2622 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2623 (gst_pad_configure_src):
2624 Added simple version of improved caps checking. It was previously
2625 assumed that a setcaps function would check the validity of the caps but
2626 people prefer us to check caps against the template automatically.
2629 2007-05-21 Wim Taymans <wim@fluendo.com>
2631 * libs/gst/base/gstbasetransform.h:
2632 Fix macro for locking/unlocking the transform lock.
2634 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2636 * docs/plugins/tmpl/.cvsignore:
2639 2007-05-18 Edward Hervey <edward@fluendo.com>
2641 * plugins/elements/gstqueue.c: (gst_queue_loop):
2642 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2643 for the subtle art of warning a potentially blocking thread that it
2644 should check the source pad return value, and relay the information
2647 2007-05-18 Edward Hervey <edward@fluendo.com>
2649 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2650 Release the queue lock !
2652 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2654 * docs/libs/gstreamer-libs-sections.txt:
2655 Add the two new controller functions to the appropiate places.
2657 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2659 reviewed by: Stefan Kost <ensonic@users.sf.net>
2661 * libs/gst/controller/gstcontroller.c:
2662 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2663 (_gst_controller_get_property), (_gst_controller_set_property),
2664 (_gst_controller_init), (_gst_controller_class_init):
2665 * libs/gst/controller/gstcontroller.h:
2666 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2667 (gst_object_get_control_rate), (gst_object_set_control_rate):
2668 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2669 Add API that provides sync suggestion timestamps for elements that
2670 call gst_object_sync_values() from which those elements can subdivide
2671 their processing loop to get the best results for the controlled
2672 properties. For now it just suggests last_sync + control_rate as
2673 new timestamp but this will be improved in the future.
2675 While doing that change the control-rate property to a GstClockTime
2676 from guint and change it's meaning from samples to nanoseconds as
2677 the GstController doesn't know anything about sampling rate. Strictly
2678 speaking this breaks ABI but as the control-rate property didn't do
2679 anything in the past and as such couldn't be used this should be no
2682 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2684 reviewed by: Stefan Kost <ensonic@users.sf.net>
2686 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2687 (gst_controller_unset_all):
2688 * libs/gst/controller/gstcontrollerprivate.h:
2689 * libs/gst/controller/gstinterpolation.c:
2690 (gst_controlled_property_find_control_point_node):
2691 Save last synced value from the list to continue searching from there
2692 in future syncs. This speeds everything up a bit.
2694 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2696 reviewed by: Stefan Kost <ensonic@users.sf.net>
2698 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2699 (gst_control_point_find), (gst_controlled_property_new),
2700 (gst_control_point_free), (gst_controlled_property_free),
2701 (gst_controller_set), (gst_controller_set_from_list),
2702 (gst_controller_unset), (gst_controller_unset_all),
2703 (gst_controller_sync_values):
2704 * libs/gst/controller/gstcontroller.h:
2705 * libs/gst/controller/gstcontrollerprivate.h:
2706 * libs/gst/controller/gstinterpolation.c:
2707 (gst_controlled_property_find_control_point_node),
2708 (interpolate_none_get), (interpolate_trigger_get):
2709 Add a new private GstControlPoint struct which "inherits" from
2710 GstTimedValue to allow different interpolators to store internal
2711 values next to each control point. From the outside everything is
2712 still a GstControlPoint so we don't loose binary compatibility.
2713 Also fixup all the GValue handling to not leak GValues or list nodes.
2714 * tests/check/libs/controller.c: (GST_START_TEST):
2715 Free the list nodes and GValues in the controller_misc test.
2717 2007-05-17 Edward Hervey <edward@fluendo.com>
2722 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2724 * gst/gstplugin.c: (gst_plugin_load_file):
2725 If we fail to load a plugin because of unresolved symbols or missing
2726 libraries and spew a warning to stderr, we may just as well mention
2727 which plugin it was that failed to load.
2729 2007-05-13 David Schleef <ds@schleef.org>
2731 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2732 handles the case when ENABLE_GTK_DOC is false, and installs
2733 the prebuilt documentation. So gtk-doc subdirs are
2734 unconditionally enabled. Fixes: #349099.
2736 2007-05-13 David Schleef <ds@schleef.org>
2738 * gst/gstutils.h: Reword some documentation.
2740 2007-05-12 David Schleef <ds@schleef.org>
2742 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2743 do anything with the passed "module" parameter, so remove it.
2744 Allows removal of additional vestigal code.
2746 2007-05-12 David Schleef <ds@schleef.org>
2749 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2750 Switch to using g_stat() because it's more portable.
2752 2007-05-12 David Schleef <ds@schleef.org>
2755 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2756 parsing for embedded systems.
2757 * gst/gstelementfactory.c:
2758 Allow gst_element_register() to be called with plugin==NULL.
2759 Did nobody notice that static elements were broken?
2761 2007-05-12 Wim Taymans <wim@fluendo.com>
2763 * tools/gst-launch.c: (event_loop):
2764 Give more interesting info when buffering starts and stops.
2765 Fix case where buffering starts but we fail to update the buffering flag
2766 because the target state is not PLAYING.
2768 2007-05-12 Wim Taymans <wim@fluendo.com>
2770 * plugins/elements/gstqueue.c: (gst_queue_init),
2771 (gst_queue_finalize), (update_time_level), (apply_segment),
2772 (apply_buffer), (gst_queue_locked_flush),
2773 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2774 (gst_queue_handle_sink_event), (gst_queue_chain),
2775 (gst_queue_push_one), (gst_queue_loop):
2776 * plugins/elements/gstqueue.h:
2777 Refactor an cleanup queue a bit.
2778 Do better time level calculations that also work when the srcpad is not
2780 Remove some unneeded debug lines.
2782 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2783 Added testcase for time level measurement.
2784 Try to make some stuff more racefree.
2786 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2788 * gst/gsturi.c: (gst_element_make_from_uri):
2789 Don't leak plugin feature.
2791 * tests/check/Makefile.am:
2792 * tests/check/gst/.cvsignore:
2793 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2794 Add brain-dead unit test.
2796 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2798 Patch by: Jeroen Wouters <woutersj at gmail com>
2800 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2801 Treat protocol strings in a case-insensitive way (#437563).
2803 2007-05-11 Michael Smith <msmith@fluendo.com>
2805 * gst/gstplugin.c: (gst_plugin_load_file):
2806 * gst/gstregistry.c: (gst_registry_scan_path_level):
2807 Don't print a g_warning for any failure to load a shared object.
2808 Instead, push this down into gstplugin.c, and warn _only_ if we
2809 failed to open the module (i.e. failure to link).
2810 Avoids warnings on normal, working, non-plugin .so files.
2812 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2814 * gst/gstplugin.c (gst_plugin_load_file):
2815 * gst/gstregistry.c (GST_CAT_DEFAULT,
2816 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2817 Print a g_warning if there was an error when loading a plugins during
2818 registry scan. The shuld help beginners starting with gst-plugin
2821 2007-05-10 Wim Taymans <wim@fluendo.com>
2823 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2824 (update_time_level), (gst_queue_locked_flush),
2825 (gst_queue_handle_sink_event), (gst_queue_chain),
2826 (gst_queue_push_one), (gst_queue_loop):
2827 * plugins/elements/gstqueue.h:
2828 Be smarter when calculating the current amount of data in the queue by
2829 measuring the difference between start and end timestamps (in running
2830 time) inside the queue. Fixes #432876.
2831 API: GstQueue::pushing to notify elements that we are pushing data again
2832 since the running signal is rather broken for this purpose.
2834 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2836 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2837 gst_queue_base_init, gst_queue_init):
2840 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2842 * win32/common/libgstreamer.def:
2843 Add new exported functions.
2844 * win32/vs6/grammar.dsp:
2845 Use grammar pre-generated files.
2847 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2849 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2852 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2854 * gst/gstutils.c: (gst_parse_bin_from_description):
2856 Maintain API and ABI when --disable-parse is used. Now that
2857 we have an appropriate error code, we can just return NULL and the
2858 appropriate error when gst_parse_launch() is used despite it having
2859 been disabled (#342564).
2861 * tests/check/Makefile.am:
2862 * tests/check/pipelines/.cvsignore:
2863 * tests/check/pipelines/parse-disabled.c:
2864 Make sure these functions exist and return NULL plus a GError when
2865 --disable-parse is used.
2867 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2869 * tests/benchmarks/complexity.c: (main):
2870 * tests/benchmarks/mass-elements.c: (main):
2871 Set a good example and don't leak messages.
2873 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2875 * docs/gst/Makefile.am:
2876 * docs/libs/Makefile.am:
2877 Correct fixxrefs options.
2879 * docs/plugins/Makefile.am:
2880 * docs/plugins/gstreamer-plugins-docs.sgml:
2881 * docs/plugins/gstreamer-plugins-sections.txt:
2882 * plugins/elements/Makefile.am:
2883 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2884 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2885 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2886 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2887 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2888 _GstCapsFilterClass, trans_class):
2889 * plugins/elements/gstelements.c (name, rank, type, _elements):
2890 * plugins/elements/gstidentity.c
2891 (gst_identity_check_imperfect_timestamp,
2892 gst_identity_check_imperfect_offset):
2893 Document capsfilter and add doc-blurb to identity.
2895 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2897 * libs/gst/controller/gstcontroller.c:
2898 (gst_controlled_property_set_interpolation_mode):
2899 * libs/gst/controller/gstinterpolation.c:
2900 Don't crash if someone tries to set an interpolation mode that
2901 is invalid or that isn't supported yet. Fixes #422295.
2903 * tests/check/libs/controller.c: (GST_START_TEST),
2904 (gst_controller_suite):
2905 Add a test case for the above.
2907 2007-05-03 Edward Hervey <edward@fluendo.com>
2909 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2910 Properly set the last_stop position on GstSegment. This will only happen
2911 if there is a buffer to push out.
2913 2007-05-03 Wim Taymans <wim@fluendo.com>
2915 * libs/gst/base/gstbasetransform.c:
2916 (gst_base_transform_buffer_alloc):
2917 always_in_place does not mean that the sink and source caps are the
2918 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2920 2007-05-03 Wim Taymans <wim@fluendo.com>
2922 * docs/libs/gstreamer-libs-sections.txt:
2923 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2924 (gst_base_src_default_query), (gst_base_src_get_range):
2925 * libs/gst/base/gstbasesrc.h:
2926 API: gst_base_src_query_latency(). Added method so that subclasses can
2927 easily get the latency values of the base source class.
2929 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2931 * tools/gst-inspect.c (print_implementation_info):
2934 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2936 * tools/Makefile.am:
2937 * tools/gst-launch.1.in:
2938 Don't create a customised man page based on the host architecture,
2939 describe the default registry path generically. That way the man
2940 page is the same for all architectures and packagers have one
2941 multilib issue less to deal with. Fixes #434926.
2943 2007-05-02 Wim Taymans <wim@fluendo.com>
2946 Fix documentation as spotted by rg on IRC.
2948 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2951 Improve docs for gst_element_{link,unlink}.
2953 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2955 * docs/design/part-events.txt:
2956 * docs/design/part-overview.txt:
2960 * libs/gst/base/gstbasesink.c:
2961 Typo fixes; minor docs addition.
2963 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2965 * docs/gst/gstreamer-sections.txt:
2966 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2967 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2969 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2970 or src that supports a given URI protocol exists.
2972 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2974 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2975 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2976 Set the location to NULL if "file://" is set as URI. Otherwise
2977 some random previous URI would still be set if "file://" is
2978 set on an already used filesink/filesrc.
2980 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2982 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2983 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2984 Special case the "file://" URI as as this is used by some
2985 applications to test with gst_element_make_from_uri if there's
2986 an element that supports the URI protocol.
2987 Also move the g_path_is_absolute() check for the location part
2988 of the URI to also check this for "file://localhost/bla" URIs.
2990 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
2992 * docs/gst/gstreamer-sections.txt:
2993 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2995 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2997 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2999 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3001 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3002 (gst_registry_binary_load_pad_template),
3003 (gst_registry_binary_load_plugin),
3004 (gst_registry_binary_read_cache):
3005 * gst/gstregistrybinary.h:
3006 Implement no-mmap alternative for registry reading. Do code cleanups.
3007 Add more comments about avoiding strdups for all text data. Comments
3010 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3012 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3013 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3014 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3015 Comment structs and reformat to fix the build (that stuff should go
3016 into a priv. header).
3018 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3020 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3021 (gst_registry_binary_load_feature):
3022 * gst/gstregistrybinary.h:
3023 Refactor so that we can implement multiple features. Add support for
3024 TypeFindFactory features.
3026 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3028 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3031 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3033 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3035 * gst/gstbin.c: (gst_bin_element_set_state),
3036 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3037 (bin_handle_async_done), (gst_bin_handle_message_func):
3038 Fix build with --gst-disable-gst-debug
3040 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3042 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3043 Make sure streaming has finished before calling the ::stop() vfunc,
3044 since that vfunc might clear state which is being used in the
3045 streaming thread. This fixes a race that caused crashes in
3046 audioresample when shutting down a pipeline (#420106).
3048 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3050 * docs/gst/gstreamer-sections.txt:
3051 That was one byte missing.
3053 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3056 * docs/gst/gstreamer-sections.txt:
3058 * gst/gstconfig.h.in:
3059 * gst/gstobject.c: (gst_object_class_init),
3060 (gst_signal_object_class_init):
3062 2nd attempt to have a xml-less build as a joined effort of #413123
3065 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3067 * docs/design/draft-tagreading.txt:
3068 Added open issues/thoughts to draft.
3070 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3072 * gst/parse/grammar.tab.pre.c:
3073 * gst/parse/grammar.tab.pre.h:
3074 * gst/parse/lex._gst_parse_yy.pre.c:
3075 Update the prebuild parser sources.
3077 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3079 * gst/parse/Makefile.am:
3080 And now fix the building of the flex sources. Now everything should
3083 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3085 * gst/parse/Makefile.am:
3086 Now hopefully fix the build failures by setting proper rule
3087 dependencies and moving instead of copying.
3089 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3091 * tests/benchmarks/complexity.gnuplot:
3092 * tests/benchmarks/complexity.scm:
3093 * tests/benchmarks/mass-elements.gnuplot:
3094 * tests/benchmarks/mass-elements.scm:
3095 Total licensification.
3097 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3099 * gst/parse/Makefile.am:
3100 Fix the build by correcting the rule that gave wrong files to flex.
3102 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3104 * tests/benchmarks/complexity.c:
3105 * tests/benchmarks/mass-elements.c:
3106 Change licence to LGPL as granted by Benjamin and Andy.
3108 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3110 * gst/parse/Makefile.am:
3111 Add correct grammar.tab.h dependency if compiling without new enough
3112 flex. Fixes #431150.
3114 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3116 * gst/parse/Makefile.am:
3117 Fix typo and use outdated sources if the flex/bison sources are newer
3118 than the pregenerated ones but flex is too old. Print a warning in
3119 that case. This should fix the build on the build bot.
3121 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3123 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3124 * gst/parse/Makefile.am:
3125 * gst/parse/grammar.y:
3126 * gst/parse/parse.l:
3127 Make the parser reentrant and recursively callable. This requires flex
3128 >= 2.5.31, for older versions pregenerated sources are used as we
3129 can't bump the build dependency. Finally fixes #349180.
3131 * gst/gstparse.c: (gst_parse_launch):
3132 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3135 * docs/gst/Makefile.am:
3136 * docs/gst/Makefile.am:
3137 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3138 (__gst_parse_strfree), (__gst_parse_link_new),
3139 (__gst_parse_link_free), (__gst_parse_chain_new),
3140 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3141 (gst_parse_element_set), (gst_parse_free_link),
3142 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3143 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3144 (_gst_parse_launch):
3145 * gst/parse/grammar.tab.pre.h:
3146 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3147 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3148 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3149 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3150 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3151 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3152 (_gst_parse_yypop_buffer_state),
3153 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3154 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3155 (yy_fatal_error), (_gst_parse_yyget_extra),
3156 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3157 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3158 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3159 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3160 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3161 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3162 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3163 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3164 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3165 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3166 (_gst_parse_yyfree):
3167 If the installed flex version is too old use pre-generated parser
3168 sources. These pre-generated parser sources are always updated when
3169 the actual flex/bison sources change but require everybody who wants
3170 to change something in the parser to have flex >= 2.5.31 installed.
3172 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3174 * common/m4/gst-gettext.m4:
3175 * gst/gst-i18n-lib.h:
3176 Make --disable-nls to work
3178 2007-04-17 Wim Taymans <wim@fluendo.com>
3180 * gst/gstconfig.h.in:
3181 Revert previous change that broke the build.
3183 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3187 * gst/gstconfig.h.in:
3188 Drop libxml2 dependency when building with
3189 --enable-binary-registry --disable-loadsave
3191 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3193 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3194 (gst_registry_binary_read_cache):
3195 * gst/gstregistrybinary.h:
3196 Remove unnecessary <sys/mman.h> include which broke the win32 build
3197 with MingW; move includes from header file to .c file, even if the
3198 header file isn't installed; use g_strerror() where UTF-8 strings
3199 are expected, such as in GST_DEBUG messages.
3201 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3203 * docs/libs/gstreamer-libs-sections.txt:
3204 Remove bogus addition for API I didn't end up keeping.
3206 * libs/gst/base/gstbasesrc.h:
3207 Mention Since: 0.10.13 in the documentation.
3209 Add the API keyword to the previous ChangeLog entry.
3211 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3213 * docs/libs/gstreamer-libs-sections.txt:
3214 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3215 (gst_base_src_default_prepare_seek_segment),
3216 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3217 * libs/gst/base/gstbasesrc.h:
3218 Allow basesrc derived classes to execute seeks in other formats
3219 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3220 to prepare the GstSegment in any format that their perform_seek method
3221 will be able to understand. The default implementation provides the
3222 old behaviour of attempting to convert the seek offsets to the
3223 configured native format.
3225 API: basesrc::prepare_seek_segment vmethod.
3227 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3229 * gst/gstelement.c: (gst_element_get_state_func):
3230 Don't output the same debug statement twice.
3232 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3233 (gst_adapter_peek), (gst_adapter_take_buffer):
3234 Optimise the case where we have buffers at the head of the queue that
3235 can be joined quickly (because they're contiguous sub-buffers) by
3236 merging them together rather than copying data out into new memory.
3238 * gst/parse/grammar.y:
3239 * tests/check/pipelines/parse-launch.c:
3240 Fix a leak in an error path for parse_launch, and add a check
3241 for it to the testsuite.
3243 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3245 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3246 Don't deadlock when releasing a pad - gst_pad_set_active may try
3247 and take the multiqueue lock too.
3249 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3251 * gst/gsterror.c: (_gst_core_errors_init):
3253 API: add GST_CORE_ERROR_DISABLED (#392804).
3255 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3257 * docs/faq/gst-uninstalled:
3258 don't get empty paths on the PATH variables
3259 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3260 Don't format for the uncommon terminal width of 84 characters.
3262 2007-04-06 Wim Taymans <wim@fluendo.com>
3264 * gst/gstpipeline.c: (reset_stream_time),
3265 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3266 Only try to select a different pipeline clock when we went back to
3267 PAUSED and not when we merely got flushed.
3269 2007-04-05 Michael Smith <msmith@fluendo.com>
3271 * tools/gst-launch.1.in:
3272 fractions are better supported in gstreamer than ractions, so
3273 suggest using those.
3275 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3277 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3281 Added Danish translation.
3283 2007-04-05 Wim Taymans <wim@fluendo.com>
3285 * libs/gst/base/gstbasesink.c:
3286 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3287 Fix leak caused when refusing newsegment after EOS.
3289 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3290 (gst_fake_sink_init), (gst_fake_sink_set_property),
3291 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3292 (gst_fake_sink_render), (gst_fake_sink_change_state):
3293 * plugins/elements/gstfakesink.h:
3294 Add num-buffers property to make the element generate EOS after a
3295 configurable amount of buffers.
3296 API: fakesink::num-buffers property.
3298 * tests/check/elements/fakesink.c: (GST_START_TEST),
3300 Fix GstBus leak in test.
3301 Test for fakesink num-buffers.
3303 2007-04-05 Wim Taymans <wim@fluendo.com>
3305 * libs/gst/base/gstbasesink.c:
3306 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3307 (gst_base_sink_change_state):
3308 Don't accept anything after an EOS, return UNEXPECTED instead.
3310 * tests/check/elements/fakesink.c: (GST_START_TEST),
3312 Unit test for new EOS behaviour.
3314 2007-04-05 Wim Taymans <wim@fluendo.com>
3316 * gst/gstelement.c: (gst_element_get_request_pad):
3317 Make padtemplates also work when they don't contain %s or %d.
3319 2007-04-05 Wim Taymans <wim@fluendo.com>
3321 * docs/gst/gstreamer-sections.txt:
3322 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3323 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3325 Improve _adjust_unlocked() so that it overflows less.
3326 Add gst_clock_unadjust_unlocked to convert from external time to
3327 internal time based on calibration.
3328 Add some more debug.
3329 API: GstClock::gst_clock_unadjust_unlocked()
3331 2007-04-03 Wim Taymans <wim@fluendo.com>
3333 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3335 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3336 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3337 when releasing sink pad. Fixes #425400.
3339 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3341 * docs/random/ensonic/dynlink.txt:
3342 More work on proposal for new core api.
3344 * docs/libs/gstreamer-libs-sections.txt:
3345 * libs/gst/base/gstbasetransform.h:
3346 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3348 * libs/gst/controller/gstcontroller.c:
3349 (on_object_controlled_property_changed),
3350 (gst_controller_sync_values),
3351 (gst_controller_set_interpolation_mode):
3352 * libs/gst/controller/gstcontroller.h:
3353 Less verbose logging add docs for unimplemented parts and correctly
3354 return when using unavailable parts.
3356 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3358 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3359 Move all the debug to the CLOCK category, and associate it with
3362 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3364 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3365 Make take_buffer a bit quicker by removing redundant checks
3366 caused by calling gst_adapter_take.
3368 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3370 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3373 * tests/check/Makefile.am:
3374 * tests/check/elements/.cvsignore:
3375 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3376 (GST_START_TEST), (multiqueue_suite):
3377 Add some dead simple unit tests for the 'multiqueue' element
3378 (some bits don't work yet and are disabled for now).
3380 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3382 * gst/gstelement.c: (gst_element_get_request_pad),
3383 (gst_element_class_get_request_pad_template):
3384 Make gst_element_get_request_pad() create request pads only for
3385 request pad templates and not for, say, sometimes pad templates.
3387 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3389 * docs/design/draft-klass.txt:
3390 Add example that needs more thinking.
3392 * docs/design/draft-missing-plugins.txt:
3393 More thoughts about wrapper plugins.
3395 * docs/random/ensonic/embedded.txt:
3396 * docs/random/ensonic/profiling.txt:
3399 2007-03-25 Wim Taymans <wim@fluendo.com>
3401 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3402 (gst_base_src_loop):
3403 Only push the segment events in the PLAYING state for live sources.
3405 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3407 * gst/gstpipeline.c: (gst_pipeline_change_state):
3408 Modify the clock distribution path in PAUSED->PLAYING so that we
3409 never attempt to choose a new clock unless we're actually leaving
3410 the PAUSED state for the first time. This prevents choosing a
3411 different clock when the state_change gets called for a 2nd time due
3412 to some element doing an async state change.
3414 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3416 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3417 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3418 (gst_pad_chain_unchecked), (gst_pad_push):
3419 Revert last commit. This needs some more thoughts.
3421 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3423 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3424 (gst_pad_chain_unchecked), (gst_pad_push):
3425 Check in set_caps if the caps are compatible with the pad and remove
3426 two functions that are redundant now. Fixes #421543.
3428 2007-03-22 Wim Taymans <wim@fluendo.com>
3430 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3431 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3432 Unref some more to make valgrind happy.
3434 2007-03-22 Wim Taymans <wim@fluendo.com>
3436 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3437 (gst_system_clock_id_wait_jitter),
3438 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3439 Fix anoying regression that survived a few releases. When adding an
3440 async entry while blocking on a sync entry, the sync entry will unblock
3441 but still be busy, so it should continue to wait instead of returning
3443 Add some comments here and there.
3445 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3446 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3447 Add testcase for this.
3449 2007-03-22 Wim Taymans <wim@fluendo.com>
3451 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3452 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3453 WRONG_STATE and can silently pause the task. All other cases should
3456 2007-03-22 Wim Taymans <wim@fluendo.com>
3458 Patch by: Ville Syrjala <syrjala at sci dot fi>
3460 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3461 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3464 2007-03-21 Michael Smith <msmith@fluendo.com>
3466 * docs/pwg/advanced-types.xml:
3467 Fix some errors in the typefinding docs pointed out on irc.
3469 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3471 * libs/gst/base/gstbasesrc.c:
3472 Clarify FIXME comment in the face of having added unlock_stop()
3474 2007-03-21 Wim Taymans <wim@fluendo.com>
3476 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3477 Prepare for release where we warn against possible app breakage in the
3478 case of live pipelines along with an env var to enable/disable live
3479 preroll mode (GST_COMPAT=[no-]live-preroll).
3481 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3483 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3484 So we should use correct constants for checking for None offset.
3486 2007-03-20 Wim Taymans <wim@fluendo.com>
3488 * docs/design/part-block.txt:
3489 Mention the fact that the newly switched element should be set to at
3492 2007-03-20 Wim Taymans <wim@fluendo.com>
3495 Fix compilation with registry disabled as spotted by Saur.
3497 2007-03-20 Wim Taymans <wim@fluendo.com>
3499 Patch by: Olivier Crete <tester at tester dot ca>
3501 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3502 Look at the pending state too when syncing the element state to the
3503 parent. Fixes #420133.
3505 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3507 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3508 (gst_base_sink_change_state):
3509 * libs/gst/base/gstbasesink.h:
3510 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3511 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3512 (gst_base_src_deactivate):
3513 * libs/gst/base/gstbasesrc.h:
3514 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3515 for sub-classes to correctly clear any state they set trying to
3516 unlock, such as clearing out unlock commands from a command fd.
3517 API: basesrc::unlock_stop
3518 API: basesink::unlock_stop
3520 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3521 (gst_fd_sink_render), (gst_fd_sink_unlock),
3522 (gst_fd_sink_unlock_stop):
3523 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3524 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3525 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3527 Implement unlock_stop in fdsrc and fdsink.
3528 Implement seeking in fdsrc when a seekable fd is passed, as in
3529 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3531 2007-03-19 Wim Taymans <wim@fluendo.com>
3533 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3535 * gst/gstelement.c: (gst_element_class_init):
3536 Fix pad-added and pad-removed signal signatures so that the pad type is
3537 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3539 2007-03-19 Wim Taymans <wim@fluendo.com>
3541 * docs/gst/gstreamer-sections.txt:
3542 Add new element field and method.
3544 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3545 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3546 (gst_bin_recalc_state), (gst_bin_get_state_func),
3547 (gst_bin_element_set_state), (gst_bin_change_state_func),
3548 (gst_bin_continue_func), (bin_bus_handler),
3549 (bin_push_state_continue), (bin_handle_async_start),
3550 (bin_handle_async_done), (gst_bin_handle_message_func):
3551 Make async state changes a bit smarter by using new ASYNC_START and
3552 ASYNC_DONE messages. This reduces the number of times we run the state
3553 recalculation thread.
3554 Don't change state of element with a pending ASYNC_START message.
3555 Deprecate STATE_DIRTY messages.
3557 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3558 (gst_element_get_state_func), (gst_element_continue_state),
3559 (gst_element_lost_state), (gst_element_set_state_func),
3560 (gst_element_change_state):
3562 Keep the state that was last set by the app in a new element field.
3563 Don't allow state changes when handling an element event.
3564 Post ASYNC_START and ASYNC_DONE messages.
3565 Change lost_state so that we go to PAUSED and wait for the parent to set
3566 us to PLAYING again (so latency calculation can be performed)
3567 Export gst_element_change_state() method so that subclasses can use it.
3568 API: gst_element_change_state()
3569 API: GST_STATE_TARGET
3571 * gst/gstpipeline.c: (gst_pipeline_class_init),
3572 (reset_stream_time), (gst_pipeline_change_state),
3573 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3574 Using the new ASYNC_START message we can reset the base_time when
3575 needed. This can then be used to implement base_time redistribution in
3576 flushing seeks so that we can remove the explicit seek handling.
3577 Perform latency query and configuration when going to PLAYING.
3579 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3580 (gst_base_sink_query), (gst_base_sink_change_state):
3581 Post new ASYNC_START/ASYNC_DONE messages.
3583 * tests/check/generic/sinks.c: (GST_START_TEST):
3584 Fix test because the bin will not set the async element to PLAYING right
3587 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3588 Make the message check a little stronger.
3589 Handle ASYNC messages.
3591 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3592 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3593 Expect ASYNC_DONE messages.
3595 2007-03-19 Wim Taymans <wim@fluendo.com>
3597 * docs/gst/gstreamer-sections.txt:
3598 * gst/gstmessage.c: (gst_message_new_async_start),
3599 (gst_message_new_async_done), (gst_message_parse_info),
3600 (gst_message_parse_async_start):
3602 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3605 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3607 * tools/gst-inspect.c:
3608 (print_plugin_automatic_install_info_codecs):
3609 Now that we don't check for the 'Codec' keyword any longer in the
3610 klass, we shouldn't spew a warning if the klass isn't a decoder or
3611 encoder (since it might be a Source/Network, for example).
3613 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3615 * tools/gst-inspect.c:
3616 (print_plugin_automatic_install_info_codecs):
3617 Don't require decoder/demuxer/depayloader elements or
3618 encoder/muxer/paylader elements to have 'Codec' as part of their
3619 factory class string when introspecting a plugin's capabilities.
3620 draft-klass.txt mentions that it might be removed in future, and
3621 flump3dec doesn't have it as part of its class string, so chances
3622 are others might also not have it.
3624 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3646 Update translations from translation project
3648 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3650 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3651 (gst_child_proxy_set_property):
3652 Invert precondition check to be alike the ones in the mimiced gobject
3655 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3657 * docs/design/draft-tagreading.txt:
3658 * docs/random/ensonic/audiobaseclasses.txt:
3659 Do some Architect work.
3661 * gst/gstobject.c: (gst_object_set_name):
3665 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3667 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3669 * gst/gstsystemclock.c: (gst_system_clock_init),
3670 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3671 Defer starting the async system clock thread until the first async
3672 wait is scheduled. Fixes #414986.
3674 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3676 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3677 (gst_single_queue_free):
3678 Fix small leak (free GstSingleQueue structure too, not only contents).
3680 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3682 * gst/gstbin.c:(gst_bin_add):
3683 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3684 * win32/common/libgstbase.def:
3685 * win32/common/libgstreamer.def:
3686 Add new exported functions.
3688 2007-03-09 Wim Taymans <wim@fluendo.com>
3690 * docs/plugins/gstreamer-plugins-sections.txt:
3693 2007-03-09 Wim Taymans <wim@fluendo.com>
3695 * docs/gst/gstreamer-sections.txt:
3696 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3698 Add metadata copy functions. Fixes #393099.
3699 API: gst_buffer_copy_metadata()
3701 * gst/gstutils.c: (gst_buffer_stamp):
3702 * libs/gst/base/gstbasetransform.c:
3703 (gst_base_transform_prepare_output_buffer):
3704 Use new metadata copy functions.
3706 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3708 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3709 (gst_identity_init), (gst_identity_check_perfect),
3710 (gst_identity_check_imperfect_timestamp),
3711 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3712 (gst_identity_set_property), (gst_identity_get_property):
3713 * plugins/elements/gstidentity.h:
3714 Separate out check-imperfect-timestamp and check-imperfect-offset.
3715 Put back check-perfect as it was to keep compatibility.
3717 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3719 * gst/gstelement.c: (gst_element_dispose):
3720 There's no need to warn if VOID_PENDING is not NONE here, as
3721 long as the state is NULL it's ok, and that's checked immediately
3724 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3726 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3727 Fix check for perfect stream to ignore buffers with -1
3728 offsets/offset ends when checking data contiguity.
3730 2007-03-08 Wim Taymans <wim@fluendo.com>
3732 * tools/gst-launch.c: (event_loop):
3733 Print INFO messages.
3735 2007-03-08 Wim Taymans <wim@fluendo.com>
3737 * libs/gst/base/gstbasetransform.c:
3738 (gst_base_transform_sink_eventfunc),
3739 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3740 (gst_base_transform_activate):
3741 * libs/gst/base/gstbasetransform.h:
3742 Add support for dropping buffers with custom GstFlowReturn.
3743 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3744 buffers or dropped buffers.
3746 * docs/libs/gstreamer-libs-sections.txt:
3747 docs for new custom return code.
3749 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3750 Use drop support in base class to implement drop-probability.
3752 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3754 * gst/gst.c: (load_plugin_func):
3755 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3756 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3757 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3758 Remove newlines at end of debug log strings.
3760 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3762 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3763 Only post bus message at max, once per buffer received.
3765 2007-03-07 Wim Taymans <wim@fluendo.com>
3767 * docs/design/Makefile.am:
3768 * docs/design/part-synchronisation.txt:
3769 Add doc about synchronisation
3771 * docs/design/draft-latency.txt:
3772 * docs/design/part-TODO.txt:
3773 * docs/design/part-clocks.txt:
3774 * docs/design/part-events.txt:
3775 * docs/design/part-gstbus.txt:
3776 * docs/design/part-gstpipeline.txt:
3777 * docs/design/part-live-source.txt:
3778 * docs/design/part-messages.txt:
3779 * docs/design/part-overview.txt:
3780 * docs/design/part-streams.txt:
3781 * docs/design/part-trickmodes.txt:
3782 Documentation updates.
3784 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3787 Update the doap file.
3789 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3791 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3792 Rename non-perfect to imperfect for Mike and for the sanctity of the
3794 Also make sure bus message gets emitted for data-incontiguities.
3796 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3798 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3799 (gst_identity_start):
3800 * plugins/elements/gstidentity.h:
3801 Emit bus message if check-perfect is true and we encounter a
3802 non-perfect stream between 2 consecutive buffers.
3805 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3810 === release 0.10.12 ===
3812 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3815 releasing 0.10.12, "Inevitable Demise"
3817 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3820 Version 0.10.11.2 (0.10.12 pre-release)
3821 Bump libtool versioning.
3823 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3825 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3826 Log flow-names and not numbers.
3828 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3831 Convert to new AG_GST style.
3833 2007-02-28 Wim Taymans <wim@fluendo.com>
3835 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3836 Don't unref query twice.
3838 2007-02-28 Wim Taymans <wim@fluendo.com>
3840 * gst/gstvalue.c: (gst_value_transform_object_string),
3841 (_gst_value_initialize):
3842 Implement GstObject -> string transform so we print object names
3843 when serializing GValues containing GstObjects.
3845 2007-02-28 Wim Taymans <wim@fluendo.com>
3847 * docs/gst/gstreamer-sections.txt:
3848 Add new stuff to docs.
3850 2007-02-28 Wim Taymans <wim@fluendo.com>
3852 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3853 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3854 (gst_base_sink_change_state):
3855 Improve latency query code.
3856 Don't leak latency events.
3858 * tests/check/gst/gstbin.c: (GST_START_TEST):
3861 2007-02-28 Wim Taymans <wim@fluendo.com>
3863 * gst/gstelement.c: (gst_element_message_full),
3864 (gst_element_get_state_func):
3866 Improve docs a little. Added Since: for new macro.
3868 * gst/gstobject.c: (gst_object_sink):
3869 * gst/gstpipeline.c: (gst_pipeline_change_state),
3870 (gst_pipeline_set_new_stream_time):
3871 * gst/gstpipeline.h:
3872 Improve debugging and docs.
3874 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3877 2007-02-28 Wim Taymans <wim@fluendo.com>
3879 * gst/gstelement.c: (gst_element_message_full),
3880 (gst_element_set_locked_state), (gst_element_get_state_func),
3881 (gst_element_change_state):
3882 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3883 Documentation updates.
3884 Small code cleanups.
3886 * gst/gstmessage.c: (gst_message_new_info),
3887 (gst_message_parse_info):
3889 API: gst_message_new_info()
3890 API: gst_message_parse_info()
3891 Add INFO message create and parse code.
3893 2007-02-28 Wim Taymans <wim@fluendo.com>
3895 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3896 (bin_query_latency_done):
3897 Also report the live parameter of a latency query.
3899 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3901 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3902 Copy the current generic/states example from -base and adapt so
3903 we can use the exact same code everywhere.
3904 Check a STATES_IGNORE_ELEMENTS env var which can be used
3905 to ignore certain element factories for this test, which is
3906 what is being done in -base
3907 * tests/check/Makefile.am:
3908 Mention this environment variable.
3910 2007-02-27 Wim Taymans <wim@fluendo.com>
3912 * docs/gst/gstreamer-sections.txt:
3913 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3914 (gst_bus_timed_pop), (gst_bus_pop):
3916 API: gst_bus_timed_pop()
3917 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3918 message to arrive on the bus.
3920 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3922 Two unit tests for new _timed_pop() function.
3924 2007-02-23 Wim Taymans <wim@fluendo.com>
3926 * gst/gstpipeline.c: (gst_pipeline_change_state),
3927 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3928 Don't ref a NULL clock in _provide_clock_func().
3929 Don't allow an INVALID delay.
3930 Don't try to calculate base_time with an invalid start_time.
3931 Also distribute and notify a NULL clock when it was selected.
3933 * tools/gst-launch.c: (event_loop):
3934 Don't crash when a NULL clock was selected in the pipeline.
3936 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3938 * docs/design/Makefile.am:
3939 * docs/design/draft-missing-plugins.txt:
3940 * docs/random/draft-missing-plugins.txt:
3941 Some small updates: update plugin system identifier prefix
3942 ('gstreamer.net' to 'gstreamer'), mention our new install
3943 API in libgstbaseutils rather than libgimme-codec, add
3944 reference to the online docs.
3946 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3948 * win32/common/config.h:
3949 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3950 use moap cl ci to only check in what is mentioned in the ChangeLog.
3952 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3954 * docs/gst/gstreamer-sections.txt:
3956 Fix up documentation to link to the correct GstGError section.
3957 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3959 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3961 * tools/gst-launch.c: (event_loop):
3962 Make sure that we actually show the important message part of a
3964 No need to check if the gerror is not NULL to free; first of all
3965 g_free accepts NULL; and second the default error handler would
3966 segfault if gerror was NULL.
3968 2007-02-21 Wim Taymans <wim@fluendo.com>
3970 * docs/gst/gstreamer-sections.txt:
3971 Removed docs as well.
3973 2007-02-21 Wim Taymans <wim@fluendo.com>
3975 * gst/gstmessage.c: (gst_message_parse_duration):
3977 Remove new messages for release.
3979 2007-02-20 Wim Taymans <wim@fluendo.com>
3981 * docs/design/part-gstghostpad.txt:
3982 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3983 (gst_ghost_pad_new_full):
3984 Make the ghostpad a parent of the internal pad again for better backward
3985 compatibility. Don't write code that relies on this however.
3987 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3988 (gst_pad_link_check_hierarchy):
3989 Require that parents should be GstElements in the hierarchy check.
3991 2007-02-20 Wim Taymans <wim@fluendo.com>
3993 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3994 (gst_bin_change_state_func), (bin_query_min_max_init),
3995 (bin_query_latency_fold), (bin_query_latency_done),
3998 Implement latency query.
4000 2007-02-20 Wim Taymans <wim@fluendo.com>
4002 * docs/design/part-gstghostpad.txt:
4003 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4004 (gst_ghost_pad_internal_do_activate_push),
4005 (gst_ghost_pad_internal_do_activate_pull),
4006 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4007 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4008 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4009 Do not set the internal pad as a parent anymore so we can avoid
4010 hierarchy linking errors when the ghostpad has no parent yet. This also
4011 fixes failed activation because of unlinked internal pads, which in
4012 turn fixes the impossible case where you have to activate a pad before
4013 you can add it to a running element.
4016 * gst/gstpad.c: (pre_activate), (post_activate),
4017 (gst_pad_set_active), (gst_pad_activate_pull),
4018 (gst_pad_activate_push), (gst_pad_check_pull_range):
4019 Add some more debug info.
4020 Mark activation mode in pre_activate so that we don't try to activate in
4021 endless loops. Fixes #385084.
4023 2007-02-19 Wim Taymans <wim@fluendo.com>
4025 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4026 (gst_base_transform_check_get_range):
4027 Implement a checkgetrange function instead of relying on the default
4028 core behaviour that assumes we can operate in pull mode if we have a
4029 getrange function. First step at fixing #385084.
4031 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4033 * gst/gstchildproxy.h:
4034 * libs/gst/base/gstbasesink.h:
4035 * libs/gst/base/gstbasesrc.h:
4036 * libs/gst/base/gstbasetransform.h:
4037 More docs coverage and some ChangeLog surgery (add missing names)
4039 2007-02-15 Wim Taymans <wim@fluendo.com>
4041 * docs/design/part-TODO.txt:
4042 * docs/design/part-activation.txt:
4043 * docs/design/part-block.txt:
4044 * docs/design/part-buffering.txt:
4045 * docs/design/part-clocks.txt:
4046 * docs/design/part-element-source.txt:
4047 * docs/design/part-events.txt:
4048 * docs/design/part-gstbin.txt:
4049 * docs/design/part-gstbus.txt:
4050 * docs/design/part-gstpipeline.txt:
4051 * docs/design/part-live-source.txt:
4052 * docs/design/part-messages.txt:
4053 * docs/design/part-overview.txt:
4054 * docs/design/part-qos.txt:
4055 * docs/design/part-query.txt:
4056 * docs/design/part-states.txt:
4057 * docs/design/part-trickmodes.txt:
4058 Some doc updates. Start renaming from stream_time to running_time where
4059 it was used wrongly.
4061 2007-02-15 Wim Taymans <wim@fluendo.com>
4063 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4064 Answer LATENCY query.
4066 2007-02-15 Wim Taymans <wim@fluendo.com>
4068 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4072 2007-02-15 Wim Taymans <wim@fluendo.com>
4074 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4075 (gst_pad_dispatcher):
4076 Improve debugging of default pad dispatcher and query functions.
4078 2007-02-15 Wim Taymans <wim@fluendo.com>
4080 * docs/gst/gstreamer-sections.txt:
4081 Remove old unused method.
4083 2007-02-13 Wim Taymans <wim@fluendo.com>
4085 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4088 2007-02-13 Wim Taymans <wim@fluendo.com>
4090 * docs/design/part-seeking.txt:
4093 * gst/gstsegment.c: (gst_segment_set_seek):
4094 Revert old bogus change that should make seeking work again.
4096 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4098 * docs/random/ensonic/dynlink.txt:
4099 * docs/random/ensonic/interfaces.txt:
4100 * docs/random/ensonic/receipies.txt:
4101 Possible dynamic reconnection api, plus some type fixes the other two
4104 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4106 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4107 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4108 Also check for an absolute path following file:// in the filesrc
4109 element. Remove redundant check and call g_path_is_absolute() on the
4112 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4114 * docs/design/draft-klass.txt:
4115 Add existing category analysis.
4118 Fix doc example, framerate is a fraction.
4120 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4123 * docs/gst/Makefile.am:
4124 * docs/gst/gstreamer-sections.txt:
4125 * docs/libs/Makefile.am:
4126 Erm, forgot a bunch of --extra-dir.
4128 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4131 * docs/gst/Makefile.am:
4132 * docs/libs/Makefile.am:
4133 * docs/plugins/Makefile.am:
4134 Add crossreferences to glib/gobject docs.
4136 2007-02-12 Wim Taymans <wim@fluendo.com>
4138 * docs/design/draft-latency.txt:
4141 * docs/libs/gstreamer-libs-sections.txt:
4142 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4143 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4144 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4145 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4146 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4147 (gst_base_sink_get_position), (gst_base_sink_query),
4148 (gst_base_sink_change_state):
4149 * libs/gst/base/gstbasesink.h:
4150 API: gst_base_sink_query_latency() to let subclasses query the upstream
4152 API: gst_base_sink_get_latency() to let subclasses query the configured
4153 latency in the sink.
4154 Implement query and set latency.
4156 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4157 don't continue preroll when we are flushing. Fixes #405284.
4159 * tests/check/pipelines/stress.c: (change_state_timeout),
4160 (quit_timeout), (GST_START_TEST), (stress_suite):
4163 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4165 Patch by: René Stadler <mail at renestadler de>
4167 * docs/gst/gstreamer-sections.txt:
4168 * gst/gsttaglist.c: (_gst_tag_initialize):
4170 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4172 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4174 * docs/libs/Makefile.am:
4175 Fix path to core docs.
4177 * gst/gstbin.c: (gst_bin_get_by_interface),
4178 (gst_bin_iterate_all_by_interface):
4179 Refix docs by also renaming 'interface' to 'iface' in implementation.
4181 * docs/gst/gstreamer-sections.txt:
4183 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4184 * gst/gstchildproxy.h:
4185 * gst/gstelementfactory.c:
4186 * gst/gstpadtemplate.h:
4187 * libs/gst/controller/gstcontroller.c:
4188 (gst_controlled_property_new):
4191 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4193 * gst/gstbin.h:(gst_bin_get_by_interface),
4194 (gst_bin_iterate_all_by_interface):
4195 Replace interface parameter name by iface as interface is
4196 a reserved keyword in Visual Studio for C++ projects so it removes
4197 a build error for application developpers using VS.
4198 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4199 Fix a bug on Windows in uri format check. Now the prefix checked
4200 is file:// and next we check if the path after file:// is absolute.
4201 * win32/common/libgstbase.def:
4202 * win32/common/libgstdataprotocol.def:
4203 * win32/common/libgstgstreamer.def:
4204 Add new exported functions.
4206 2007-02-09 Andy Wingo <wingo@pobox.com>
4208 * tests/check/pipelines/simple-launch-lines.c
4209 (simple_launch_lines_suite, test_tee): Disable tee test until I
4210 have time to fix it :-(
4212 * tests/check/Makefile.am (noinst_HEADERS):
4213 * tests/check/libs/libsabi.c:
4214 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4215 * tests/check/gst/gstabi.c:
4216 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4218 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4219 tests for push and pull tee behavior.
4221 * plugins/elements/gsttee.h:
4222 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4223 mark as deprecated as well as unimplemented. It was a crack idea.
4224 Add support for tee operating in pull mode, off by default.
4226 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4227 normal-case logs down to LOG, raise errors to WARNING.
4228 (gst_registry_xml_read_cache): Don't log before calling a function
4231 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4232 exit (registry finalize).
4233 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4234 DEBUG log when we emit signals that people don't even have the
4235 chance to connect to.
4236 (gst_registry_scan_path_level): Less logging in the normal case.
4238 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4240 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4242 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4243 Correctly generate EOS for non-seekable files. We don't have a total
4244 length for them and would get an unexpected end of file if we only
4245 special-cased for regular files. (Fixes: #404569)
4247 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4249 * tests/check/elements/filesrc.c: (GST_START_TEST),
4251 Add unit test for the GstURIHandler interface in filesrc. This also
4252 tests the newly added file://localhost/foo/bar support.
4254 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4256 * gst/gstelementfactory.h:
4257 The klass string is not a hierarchy. Add reference to the design doc
4258 for more information and common types.
4260 2007-02-02 Wim Taymans <wim@fluendo.com>
4262 * gst/gstquery.c: (gst_query_new_latency):
4263 Remove old structure field.
4265 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4267 * tools/gst-launch.1.in:
4268 Give example for network streaming (#351998)
4270 2007-02-02 Wim Taymans <wim@fluendo.com>
4272 * docs/gst/gstreamer-sections.txt:
4273 Add docs for new methods.
4275 * gst/gstevent.c: (gst_event_new_latency),
4276 (gst_event_parse_latency):
4278 Add new LATENCY event to configure latency in a pipeline.
4279 API: gst_event_new_latency
4280 API: gst_event_parse_latency
4282 * gst/gstmessage.c: (gst_message_new_buffering),
4283 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4284 (gst_message_new_latency), (gst_message_parse_buffering),
4285 (gst_message_parse_lost_preroll):
4287 Added messages used in draft-latency.
4288 API: gst_message_new_lost_preroll
4289 API: gst_message_parse_lost_preroll
4290 API: gst_message_new_prerolled
4291 API: gst_message_new_latency
4293 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4294 (gst_query_parse_latency):
4296 Implemented new latency query as in design doc.
4297 API: gst_query_new_latency
4298 API: gst_query_set_latency
4299 API: gst_query_parse_latency
4301 2007-02-02 Wim Taymans <wim@fluendo.com>
4303 * docs/design/draft-latency.txt:
4304 Slight redesign to allow for dynamic latency adjustments.
4306 * docs/design/part-negotiation.txt:
4309 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4311 reviewed by: Wim Taymans <wim@fluendo.com>
4313 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4314 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4315 Allow file://localhost/foo/bar URLs and correctly fail for every other
4316 hostname that one sets. This was gnomevfssrc is linked for those if
4317 installed as it can handle it (#403172)
4319 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4321 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4323 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4324 (unref_data), (gst_collect_pads_add_pad_full):
4325 * libs/gst/base/gstcollectpads.h:
4326 Don't put the previously added destroy notify in the GstCollectData
4327 struct as all it's padding is already used and we don't want to break
4328 ABI. Instead put in the pad's GObject data for now. This should be
4329 cleaned up for 0.11 (#402393).
4331 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4333 reviewed by: Wim Taymans <wim@fluendo.com>
4335 * docs/libs/gstreamer-libs-sections.txt:
4336 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4337 (unref_data), (gst_collect_pads_add_pad),
4338 (gst_collect_pads_add_pad_full):
4339 * libs/gst/base/gstcollectpads.h:
4340 API: Add function to specify a destroy notification for custom
4341 GstCollectData when adding new pads in GstCollectPads (#402393).
4343 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4346 Update Swedish translation (#378255).
4348 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4350 * docs/design/draft-klass.txt:
4351 Fix the previous change, this is a list of categories and not a hierarchy.
4353 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4355 * docs/design/draft-klass.txt:
4356 Add info about how to get a list of used classes.
4358 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4360 * plugins/elements/gsttypefindelement.c:
4361 (gst_type_find_element_chain_do_typefinding),
4362 (gst_type_find_element_change_state):
4363 Don't leak found caps in chain function (no idea why that never
4364 showed up as a leak anywhere).
4366 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4369 Fix and expand GstPluginDesc API docs.
4371 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4374 * gst/gstelementfactory.c:
4375 * gst/gstpadtemplate.h:
4378 * libs/gst/controller/gstcontroller.c:
4379 (gst_controlled_property_new):
4380 * tests/examples/controller/audio-example.c:
4383 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4386 comment about refining the xml deps
4389 comments about moving away from jade for docs
4392 recommit the ifdefs to use the binary registry
4394 * gst/gstbin.c: (gst_bin_change_state_func):
4395 this break is obsolete
4397 * gst/gstelementfactory.h:
4398 better GST_ELEMENT_DETAILS docs, add comment about translation
4403 * gst/gstobject.c: (gst_signal_object_get_type):
4404 add G_UNLIKELY as usual
4406 * gst/gstpad.c: (gst_pad_event_default):
4407 add fall trhu comment
4409 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4410 (gst_registry_binary_initialize_magic),
4411 (gst_registry_binary_save_string),
4412 (gst_registry_binary_save_pad_template),
4413 (gst_registry_binary_save_feature),
4414 (gst_registry_binary_save_plugin),
4415 (gst_registry_binary_write_cache),
4416 (gst_registry_binary_check_magic),
4417 (gst_registry_binary_load_pad_template),
4418 (gst_registry_binary_load_feature),
4419 (gst_registry_binary_load_plugin),
4420 (gst_registry_binary_read_cache):
4421 comment typo and formatting
4423 * gst/gstutils.c: (gst_element_state_get_name),
4424 (gst_element_state_change_return_get_name):
4425 remove obsolete breaks
4427 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4428 add FIXME 0.11 and remove cpp comment
4430 2007-01-29 Edward Hervey <edward@fluendo.com>
4432 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4433 Fix print statement in an even more portable way.
4435 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4437 * docs/gst/gstreamer-sections.txt:
4439 API: add GST_ROUND_DOWN_* macros (#401781).
4441 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4443 * docs/gst/gstreamer.types.in:
4444 * gst/gstregistry.c: (gst_registry_class_init):
4445 Document registry signals and make gtk-doc pick them up (#401381).
4447 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4449 * docs/pwg/building-testapp.xml:
4450 Add some audioconverts and audioresample to the pipeline, and some
4451 more comments and error handling.
4453 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4455 * docs/manual/manual.xml:
4459 2007-01-26 Wim Taymans <wim@fluendo.com>
4461 * gst/gstcaps.c: (gst_static_caps_get):
4462 Init caps flags too.
4464 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4466 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4468 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4469 If not using mmap'ed files try to seek to the end instead of the
4470 start to determine whether we can seek at all. This fixes the case
4471 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4472 seeks for everything afterwards fail. Fixes #400656
4474 2007-01-25 Wim Taymans <wim@fluendo.com>
4476 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4477 Add some refcount debugging.
4478 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4479 in multiple streaming threads.
4481 2007-01-25 Wim Taymans <wim@fluendo.com>
4483 Patch by: David Schleef <ds at schleef dot org>
4485 * docs/libs/gstreamer-libs-sections.txt:
4486 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4487 * libs/gst/base/gstadapter.h:
4488 API: gst_adapter_copy() that can reduce the amount of memcpy when
4489 getting data from the adapter. Fixes #388201.
4491 2007-01-25 Edward Hervey <edward@fluendo.com>
4493 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4494 In print statements, "%x" is for guint. Fixes build on macosx.
4496 2007-01-24 Edward Hervey <edward@fluendo.com>
4498 * plugins/elements/gstmultiqueue.c:
4499 (gst_multi_queue_loop):
4501 (single_queue_overrun_cb), (single_queue_underrun_cb),
4502 (single_queue_check_full), (gst_single_queue_new):
4503 Implement single queue growth system.
4504 This uses the extra-size properties, and will grow single queues by
4505 that much if one goes full whereas there are others empty. This is
4506 called extra-mode in the code.
4507 When a single queue's levels go back below the initial max-size
4508 limits, it is no longer in extra-mode. This is to ensure we don't
4509 consume too much memory.
4512 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4514 * gst/gst.c: (gst_init_get_option_group):
4515 Make warning about late g_thread_init() calls a bit more explicit,
4516 so that it's more obvious to application developers what they need
4517 to do if a user files a bug against their application.
4519 2007-01-22 Edward Hervey <edward@fluendo.com>
4521 * plugins/elements/gstmultiqueue.c:
4522 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4523 Remove previous hack of unsetting the flushing flag for the source pad
4524 instead of activating it. Instead, fix the source pad activate function
4525 so that it no longer depends on having a parent set or not.
4527 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4529 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4531 * docs/manual/basics-bus.xml:
4532 Fix example code, gst_element_unref() doesn't exist any longer.
4534 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4536 Patch by: Mark Nauwelaerts <manauw at skynet be>
4539 Fix two docs typoes (#399094).
4541 2007-01-19 Edward Hervey <edward@fluendo.com>
4543 * docs/faq/gst-uninstalled:
4544 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4545 depending on libgstbaseutils can work in uninstalled environment.
4547 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4550 * gst/gsttagsetter.c:
4551 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4552 statement for new tag.
4554 2007-01-17 Edward Hervey <edward@fluendo.com>
4556 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4557 When dynamically creating single queues, activate sinkpad before adding
4559 We should be doing the same thing for the source pad, but we can't
4560 since it would call a method which needs the parent to be set in order
4561 to work propertly. Instead of activating the source pad, we just unset
4562 the flushing flag, which is the minimal requirement for adding a pad
4563 to an element in a state greater than READY.
4565 2007-01-17 Edward Hervey <edward@fluendo.com>
4567 * docs/faq/gst-uninstalled:
4568 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4571 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4573 * tests/check/gst/gstabi.c:
4574 * tests/check/gst/struct_hppa.h:
4575 * tests/check/libs/libsabi.c:
4576 * tests/check/libs/struct_hppa.h:
4577 Add ABI structs for HPPA (see #393796).
4579 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4581 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4582 Actually write ABI structs to the file specified in the GST_ABI
4583 environment variable, as the message we print claims we would.
4585 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4587 * tests/check/gst/gsttask.c:
4590 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4592 * gst/gsttaglist.c: (_gst_tag_initialize):
4593 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4594 previous two entries.
4596 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4598 * docs/gst/gstreamer-sections.txt:
4599 * gst/gsttaglist.c: (_gst_tag_initialize):
4601 Add tag support for beat-per-minute.
4603 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4605 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4606 (gst_registry_binary_initialize_magic),
4607 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4608 (gst_registry_binary_save_pad_template),
4609 (gst_registry_binary_save_feature),
4610 (gst_registry_binary_save_plugin),
4611 (gst_registry_binary_write_cache),
4612 (gst_registry_binary_check_magic),
4613 (gst_registry_binary_load_pad_template),
4614 (gst_registry_binary_load_feature),
4615 (gst_registry_binary_load_plugin),
4616 (gst_registry_binary_read_cache):
4617 * gst/gstregistrybinary.h:
4618 Use glib types, cleanup comments, impement interfaces and uri-types.
4620 2007-01-13 Andy Wingo <wingo@pobox.com>
4622 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4623 getrange() to return buffers with other caps, while we fix
4624 demuxers and typefind, or otherwise change part-negotiation.txt.
4626 2007-01-12 Andy Wingo <wingo@pobox.com>
4628 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4629 Factor start/stop into this private function instead of partially
4630 in activate functions and partially in the change_state function.
4631 Fixes setup before the element has changed from READY->PAUSED, as
4632 is the case in pull-mode pipelines.
4633 (gst_base_transform_sink_activate_push)
4634 (gst_base_transform_src_activate_pull): Refactor to use
4635 gst_base_transform_activate().
4636 (gst_base_transform_change_state): Removed, not needed any more.
4638 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4639 Truncate before fixating.
4641 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4642 Don't set_caps() if the result of fixating is ANY, as it's not
4643 supported, and not necessary in the case of a link with no
4644 template caps on either side. Fixes tests/check/libs/basesrc in
4645 some pull-mode tests.
4647 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4648 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4649 (gst_base_transform_src_activate_pull):
4650 Track the activation mode.
4651 (gst_base_transform_setcaps): In pull mode, when activating the
4652 src pad, after activating the sink pad, activate the sink pad's
4653 peer, as discussed in part-negotiation.txt.
4655 * libs/gst/base/gstbasesrc.h:
4656 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4657 vmethod, as in basesink.
4659 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4661 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4662 mode, first proxy the setcaps to the peer pad.
4663 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4665 (gst_base_sink_default_activate_pull): Rename from
4666 gst_base_sink_activate_pull.
4667 (gst_base_sink_negotiate_pull): New function, performs negotiation
4668 in pull mode before calling ::activate_pull().
4669 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4670 vmethod instead of the default implementation. I have no idea how
4671 this worked before. Negotiate before calling activate_pull.
4673 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4674 sink pads in pull mode. In addition to being correct, fixes
4675 filesrc ! decodebin ! identity ! fakesink.
4676 (gst_pad_get_range, gst_pad_pull_range): Don't call
4677 gst_pad_set_caps() if the caps changes; instead error out with
4678 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4680 2007-01-12 Andy Wingo <wingo@pobox.com>
4682 * docs/design/part-negotiation.txt: Update with more policy.
4684 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4686 * libs/gst/check/gstbufferstraw.h:
4687 * libs/gst/check/gstcheck.h:
4688 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4691 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4693 * tests/check/Makefile.am:
4694 * tests/check/gst/.cvsignore:
4695 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4696 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4697 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4698 (GST_START_TEST), (gst_tag_setter_suite):
4699 Add minimal unit test for beforementioned GstTagSetter bug.
4701 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4703 Patch by: René Stadler <mail at renestadler dot de>
4705 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4706 gst_tag_list_merge() returns a new list, so it's not the best idea
4707 to ingore its return value. Effectively meant that tags could only
4708 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4709 Also add function guard to require a non-NULL taglist as input (has
4710 always been so due to gst_tag_list_copy(), just making it explicit).
4712 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4714 * docs/random/draft-missing-plugins.txt:
4715 Some additions: mention new API that is supposed to be used at the
4716 various stages; short blob about new gst-inspect introspection
4717 option; mention potential future problem with plugins that have
4718 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4720 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4722 * tools/gst-inspect.c:
4723 (print_plugin_automatic_install_info_codecs),
4724 (print_plugin_automatic_install_info_protocols),
4725 (print_plugin_automatic_install_info), (main):
4726 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4727 introspect plugin files and get machine-parsable output that corresponds
4728 to the last bit of the missing-plugin installer string (small gotcha:
4729 doesn't take into account ranks).
4731 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4734 * docs/gst/gstreamer-sections.txt:
4736 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4737 (gst_registry_lookup_locked):
4738 * gst/gstregistry.h:
4739 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4740 (gst_registry_binary_initialize_magic),
4741 (gst_registry_binary_save_string),
4742 (gst_registry_binary_save_pad_template),
4743 (gst_registry_binary_save_feature),
4744 (gst_registry_binary_save_plugin),
4745 (gst_registry_binary_write_cache),
4746 (gst_registry_binary_check_magic),
4747 (gst_registry_binary_load_pad_template),
4748 (gst_registry_binary_load_feature),
4749 (gst_registry_binary_load_plugin),
4750 (gst_registry_binary_read_cache):
4751 * gst/gstregistrybinary.h:
4752 * gst/gstregistryxml.c: (load_feature),
4753 (gst_registry_xml_read_cache):
4754 commit binary registry (disabled by default, see #359653)
4756 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4758 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4759 Fix 'make check' too.
4761 2007-01-10 Andy Wingo <wingo@pobox.com>
4763 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4766 * docs/design/part-negotiation.txt: Update with, um, one way that
4767 pull-mode negotiation might work?
4770 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4771 that the pad must be a src pad; makes sense to call it the other
4772 way in pull mode, and the logic is symmetric anyway.
4774 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4776 * plugins/elements/gstfilesink.c:
4777 Include <stdio.h> for fseeko().
4779 2007-01-10 Wim Taymans <wim@fluendo.com>
4783 Reserve LATENCY event.
4785 2007-01-09 Wim Taymans <wim@fluendo.com>
4787 * docs/design/draft-latency.txt:
4790 2007-01-09 Wim Taymans <wim@fluendo.com>
4792 * docs/design/draft-latency.txt:
4796 * gst/gststructure.c:
4800 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4802 * tests/check/.cvsignore:
4803 Ignore test-registry.xml as well.
4805 2007-01-09 Wim Taymans <wim@fluendo.com>
4807 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4808 unref data at the end when we are done with the pad.
4810 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4812 * docs/gst/gstreamer-sections.txt:
4813 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4814 (init_post), (gst_deinit), (gst_update_registry):
4816 API: add gst_update_registry() (#391296).
4818 * tests/check/Makefile.am:
4819 * tests/check/gst/gstregistry.c:
4820 * tests/check/gst/.cvsignore:
4821 Simple unit test for the above.
4823 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4825 * gst/gstregistry.c: (gst_registry_scan_path_level):
4826 Plugin extension on HP-UX is .sl, add that to the list of approved
4827 plugin extensions (see #393796).
4829 * tests/check/gst/gstpad.c: (GST_START_TEST):
4830 ulong => gulong. Fixes compilation with HP-UX compiler.
4832 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4833 Fix compilation if valgrind headers are not available.
4835 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4837 * win32/common/libgstreamer.def:
4838 Add new exported function.
4839 * win32/vs6/libgstbase.dsp:
4840 Add gstdataqueue.c to the build.
4841 * win32/vs6/libgstcoreelements.dsp:
4842 Add gstmultiqueue.c to the build.
4844 2007-01-06 Andy Wingo <wingo@pobox.com>
4846 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4847 activate_pull(), providing for a way to specialize the process of
4848 spawning a thread to pull on the sink pad. There is a default
4851 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4852 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4853 (gst_base_sink_init): Renamed pad activation functions (inserting
4854 "_pad" in their names). Refactor to use the new activate_pull
4855 vmethod, as appropriate.
4856 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4857 default activate_pull function to start a task pulling from the
4858 sink pad, as before.
4860 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4861 on the pads if necessary, as in push()/chain(). Update docs.
4862 Shouldn't affect existing pull() usage as it is currently only
4863 being used on buffers without caps.
4865 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4867 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4869 Call g_thread_init() first thing in gst_init() / gst_check_init().
4870 When initialisation is done via gst_init_get_option_group() and
4871 GOption parsing, issue a warning if the GLib thread system has not
4872 been initialised yet by the time gst_init_get_option_group() is
4873 called, as it's quite likely other GLib functions such as
4874 g_option_context_new() have been called already then, and
4875 g_thread_init() must be called before any other GLib function. The
4876 application in question must be fixed in that case, since memory
4877 corruption might happen otherwise.
4878 We issue the warning because even if the GLib folks decide to work
4879 around the problem on their end in future, this is still an issue
4880 with all GLib versions >= 2.10.0, so we should warn until we depend
4881 on a GLib version we know to be safe.
4882 Update documentation as well.
4885 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4887 * tools/gst-inspect.c: (main):
4888 * tools/gst-launch.c: (main):
4889 * tools/gst-typefind.c: (main):
4890 * tools/gst-xmlinspect.c: (main):
4891 Call g_thread_init() really really early, before any other GLib
4892 function (see #342564 and recent discussion on gtk-devel-list).
4894 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4896 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4898 * gst/gst_private.h:
4899 * gst/gstconfig.h.in:
4901 On win32, all the __declspec stuff for symbol exporting is
4902 apparently only needed with MSVC, but doesn't work with MingW.
4903 Fixes compilation with MingW and #391909.
4905 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4907 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4908 Change some GST_ERROR_OBJECT that aren't really errors to
4909 GST_WARNING_OBJECT in order to reduce terminal spam.
4911 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4913 * tests/check/Makefile.am:
4914 disable test again, as there seem to be still race problems
4916 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4918 * tests/check/Makefile.am:
4919 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4920 (GST_START_TEST), (queue_suite):
4921 enable queue test again, add tests for the leaky behaviour
4923 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4926 * tests/examples/Makefile.am:
4927 Compile adapter test/example only if the required headers are
4928 available (fixes #391915).
4930 2007-01-01 David Schleef <ds@schleef.org>
4933 Restore the previous signal handler for SIGSEGV instead of
4934 setting to default, since we may have stolen it away from
4935 someone. (i.e., Mono)
4937 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4939 * docs/random/draft-missing-plugins.txt:
4940 Some small additions and clarifications.
4942 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4944 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4945 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4946 since that can lead to random memory corruptions and crashes
4947 (may or may not be related to #383244, #386711, and #386711).
4949 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4951 * tests/check/.cvsignore:
4952 * tests/check/Makefile.am:
4953 sync .cvsignome and CLEANFILES
4955 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4957 * tests/check/Makefile.am:
4960 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4962 * docs/design/part-states.txt:
4963 two tiny additional comments
4965 * gst/gststructure.c:
4968 * tests/check/Makefile.am:
4969 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4971 disable test for now, unless it gets fixed
4973 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4975 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4977 fix race in underrun test
4979 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4981 * tests/check/elements/.cvsignore:
4984 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4986 try to narrow test failure
4988 2006-12-21 David Schleef <ds@schleef.org>
4990 * plugins/elements/gstfakesrc.c:
4991 Use g_random_int_range(), since it produces better random
4992 numbers in a range than almost-correct floating point code.
4994 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4996 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4997 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4998 (gst_check_teardown_sink_pad):
4999 do not automatically (de)activate pads
5001 * tests/check/Makefile.am:
5002 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5003 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5004 add new, yet simple tests for queue
5006 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5007 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5008 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5010 * tests/check/elements/identity.c: (cleanup_identity):
5011 consistent pad (de)activation
5013 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5015 Patch by: Sebastian Dröge <slomo ubuntu com>
5017 * libs/gst/base/gstcollectpads.c:
5018 Fix two doc typos (#387866).
5020 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5022 * docs/manual/advanced-dparams.xml:
5023 Fix typo (g_object_control_properties() doesn't exist).
5025 2006-12-19 Edward Hervey <edward@fluendo.com>
5027 * gst/gstsegment.c: (gst_segment_set_seek):
5028 Fine tune the cases where the segment start/stop values are really
5030 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5031 Add tests for the return values of gst_segment_set_seek().
5033 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5038 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5040 Fix incorrect documentation and flesh it out a bit more.
5041 Set default values for the max properties on the GParamSpec as well,
5042 so it shows up correctly in gst-inspect.
5044 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5046 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5047 Correct docs of queue, add more detail and crosslink it more.
5049 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5051 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5052 Print additional debug info when the stream isn't perfectly
5053 timestamped; don't try to use invalid durations.
5055 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5057 * docs/design/Makefile.am:
5058 Dist new design docs.
5060 2006-12-16 Wim Taymans <wim@fluendo.com>
5062 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5064 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5065 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5066 (gst_collect_pads_stop), (gst_collect_pads_event),
5067 (gst_collect_pads_chain):
5068 * libs/gst/base/gstcollectpads.h:
5069 Add refcounting to the collectpads data so we can track when it's safe
5070 to free the data. Fixes #383382.
5072 2006-12-15 Wim Taymans <wim@fluendo.com>
5074 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5075 (gst_collect_pads_remove_pad):
5076 Automatically activate/deactivate pads when they are added to a
5077 started/stoped collectpads.
5079 2006-12-15 Wim Taymans <wim@fluendo.com>
5081 * gst/gstelement.c: (gst_element_add_pad):
5082 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5083 * gst/gstpad.c: (gst_pad_init):
5084 Set pads to FLUSHING when they are created. Check, warn and fix when a
5085 demuxer adds an inactive pad to itself when running. Fixes #339326.
5087 2006-12-15 Wim Taymans <wim@fluendo.com>
5089 * gst/gstelement.c: (gst_element_class_init),
5090 (gst_element_default_send_event), (gst_element_send_event),
5091 (gst_element_default_query), (gst_element_query):
5092 Expose default element send_event and query handling as vmethods that
5093 subclasses can chain up to.
5095 2006-12-15 Wim Taymans <wim@fluendo.com>
5097 * gst/gstelement.c: (gst_element_set_state_func):
5098 Small documentation fixes.
5100 2006-12-15 Wim Taymans <wim@fluendo.com>
5102 * docs/design/draft-latency.txt:
5103 Checked in draft for handling latency in pipelines.
5105 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5109 * gstreamer.spec.in:
5112 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5114 * gst/gst.c: (init_pre), (init_post):
5115 init_pre() and init_post() might be called via our GOptionGroup or
5116 from gst_init(), and we should skip both of them if we've already
5117 been initialised, otherwise we will init some things twice or add
5118 two default log functions.
5120 2006-12-13 Edward Hervey <edward@fluendo.com>
5122 * docs/manual/basics-bus.xml:
5123 No, gst_main_loop does not exist. Its g_main_loop.
5124 Discovered by somebody who abused the copy-paste technique of coding :)
5126 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5128 * gst/gstghostpad.c:
5129 Log ghostpad debug stuff to the GST_PADS category as well rather
5130 than just to the default category.
5132 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5135 * gst/gst.c: (init_pre):
5136 Add some basic system details such as OS and architecture
5137 to the debug output if possible, courtesy of uname().
5139 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5141 * docs/gst/running.xml:
5142 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5143 environment variables.
5145 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5147 * tests/check/gst/gstbin.c: (GST_START_TEST):
5148 It is acceptable to have a refcount of 2 or 3 at this point in the
5149 test, because the pipeline might be just posting its state_change
5150 message. The next line then waits for that message to appear using
5151 bus_poll, so that should be fine too.
5153 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5155 * gst/gst.c: (ensure_current_registry_forking):
5156 Ignore EINTR when reading from the child registry pipe.
5157 Explicitly ignore the return value from close, since it makes no
5160 * gst/gstminiobject.c: (gst_mini_object_ref),
5161 (gst_mini_object_unref):
5162 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5164 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5165 When removing cached plugins, remove their features too, so they're
5166 not visible after they've disappeared.
5168 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5169 In the unlikely case that we are linking pads with no parents, don't
5170 crash trying to get the non-existent parent bin.
5172 * gst/parse/grammar.y:
5173 Output debug in the PIPELINE category
5175 2005-03-08 Wim Taymans <wim@fluendo.com>
5177 Patch by: René Stadler <mail at renestadler dot de>
5179 * gst/gstclock.c: (gst_clock_new_periodic_id):
5180 Reject invalid clock times for interval of periodic ids.
5183 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5185 * gst/gstelementfactory.c: (gst_element_factory_create):
5186 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5187 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5188 * tools/gst-inspect.c: (print_element_info):
5189 Fix refcounting of gst_plugin_feature_load to match the docs.
5192 2006-12-07 Wim Taymans <wim@fluendo.com>
5194 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5195 (gst_base_sink_get_position):
5196 Improve debugging of events.
5198 2006-12-07 Wim Taymans <wim@fluendo.com>
5200 Patch by: René Stadler <mail at renestadler dot de>
5202 * gst/gstclock.c: (gst_clock_id_wait):
5203 Make period ids add the interval to the origial requested time instead
5204 of the possibly updated time which can be wrong when there are multiple
5205 waiters for the same id. Fixes #382592.
5207 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5208 (gst_system_clock_id_wait_jitter_unlocked),
5209 (gst_system_clock_id_wait_jitter):
5210 Fix restart in the async notify thread when an async entry is added to
5211 the front of the list. Fixes #381492.
5213 * tests/check/gst/gstsystemclock.c: (store_callback),
5214 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5215 Added test for multiple async waits.
5216 Added test for async wait order.
5218 2006-12-07 Wim Taymans <wim@fluendo.com>
5220 * gst/gstbin.c: (gst_bin_query):
5221 Add some more docs about the POSITION query.
5223 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5226 Bump version nano - back to CVS.
5228 === release 0.10.11 ===
5230 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5233 releasing 0.10.11, "Love never runs on time"
5235 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5237 * win32/common/libgstbase.def:
5238 * win32/common/libgstreamer.def:
5239 * win32/vs8/libgstbase.vcproj:
5240 * win32/vs8/libgstcoreelements.vcproj:
5241 * win32/vs8/libgstreamer.vcproj:
5242 Fix compilation on win32 under VS8
5243 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5244 Partially fixes #381175
5246 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5248 * gst/gstvalue.c: (gst_value_compare_fraction):
5249 If someone is foolish enough to compare 2 fractions with denominator =
5250 0, return UNORDERED rather than aborting.
5252 2006-11-28 Edward Hervey <edward@fluendo.com>
5254 * libs/gst/base/Makefile.am:
5255 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5256 (gst_data_queue_base_init), (gst_data_queue_class_init),
5257 (gst_data_queue_init), (gst_data_queue_new),
5258 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5259 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5260 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5261 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5262 (gst_data_queue_set_flushing), (gst_data_queue_push),
5263 (gst_data_queue_pop), (gst_data_queue_drop_head),
5264 (gst_data_queue_set_property), (gst_data_queue_get_property):
5265 * libs/gst/base/gstdataqueue.h:
5266 New GstDataQueue object for threadsafe queueing. Most useful for
5267 elements that need some queueing functionnality.
5268 * docs/libs/gstreamer-libs-docs.sgml:
5269 * docs/libs/gstreamer-libs-sections.txt:
5270 Insert documentation for GstDataQueue
5271 * plugins/elements/Makefile.am:
5272 * plugins/elements/gstelements.c:
5273 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5274 (gst_multi_queue_class_init), (gst_multi_queue_init),
5275 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5276 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5277 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5278 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5279 (gst_multi_queue_loop), (gst_multi_queue_chain),
5280 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5281 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5282 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5283 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5284 (wake_up_next_non_linked), (compute_next_non_linked),
5285 (single_queue_overrun_cb), (single_queue_underrun_cb),
5286 (single_queue_check_full), (gst_single_queue_new):
5287 * plugins/elements/gstmultiqueue.h:
5288 New multiqueue element, using GstDataQueue. Used for queuing multiple
5290 Closes #344639 and #347785
5292 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5294 * docs/pwg/advanced-types.xml:
5295 add more missing type details
5297 * tools/gst-run.c: (main):
5298 remove unused variable
5300 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5302 * docs/libs/Makefile.am:
5303 * docs/libs/gstreamer-libs.types:
5304 add types of base classes to enable gobject specific stuff in the docs
5306 * docs/random/ensonic/embedded.txt:
5307 more ideas about isolating platform specific things
5309 2006-11-20 Wim Taymans <wim@fluendo.com>
5311 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5313 * libs/gst/check/gstcheck.h:
5314 Fix compilation and running against 0.9.4. Fixes #377332.
5316 2006-11-20 Wim Taymans <wim@fluendo.com>
5318 * gst/gstsegment.c: (gst_segment_set_seek),
5319 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5320 (gst_segment_to_running_time):
5321 Fix boundary checking in to_running_time() and to_stream_time().
5324 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5325 stream and running time can now be calculated for the complete
5328 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5330 * gst/gstpad.c: (gst_pad_push_event):
5331 Can't access event structure after giving away ownership of
5334 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5336 * docs/random/ensonic/embedded.txt:
5337 * docs/random/ensonic/profiling.txt:
5338 * docs/random/ensonic/receipies.txt:
5341 2006-11-13 Wim Taymans <wim@fluendo.com>
5343 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5346 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5348 2006-11-13 Wim Taymans <wim@fluendo.com>
5350 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5352 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5353 Store new length in segment duration so we don't keep on calling the
5354 potentially expensize get_size() call. Fixes #370865.
5356 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5358 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5360 * win32/common/libgstreamer.def:
5361 Add two missing symbols (#366492).
5363 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5365 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5366 (gst_adapter_take_buffer):
5367 Fix format string to use all its arguments.
5368 Remove useless >= check on a guint
5370 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5372 * tests/examples/adapter/.cvsignore:
5373 Ignore build file as commanded by the build-bot
5375 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5377 * tests/examples/adapter/Makefile.am:
5378 * tests/examples/adapter/adapter_test.c: (run_test_take),
5379 (run_test_take_buffer), (run_tests), (main):
5381 Add new files from the previous commit
5383 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5387 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5388 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5389 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5390 * libs/gst/base/gstadapter.h:
5391 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5392 (GST_START_TEST), (gst_adapter_suite):
5393 * tests/examples/Makefile.am:
5394 Do some optimisation work in GstAdapter to avoid copies in more cases.
5395 It could still do slightly better by merging buffers when
5396 gst_buffer_is_span_fast is true, but is already faster.
5398 Also, avoid traversing a single-linked list to append each incoming
5399 buffer inside the adapter.
5401 Add simple test app that times the adapter behaviour in different
5402 situations, and extend the unit test to check that bytes enter and
5403 exit the adapter in their original order.
5405 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5407 * docs/random/draft-missing-plugins.txt:
5408 Update: use element message instead of adding a new message
5409 type to the core; don't provide GStreamer API to initiate the
5410 plugin download, just provide API to compose the strings needed
5411 and let an external libgimmestuff handle the rest.
5413 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5415 * tools/gst-inspect.c: (print_element_properties_info):
5416 Print a string instead of 'unknown type' for GValueArray properties
5418 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5420 * docs/random/draft-missing-plugins.txt:
5423 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5425 * tests/examples/typefind/typefind.c: (type_found), (main):
5426 Make typefind element example work again (#371894); add a
5429 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5431 * docs/random/draft-missing-plugins.txt:
5432 Commit initial draft about how to deal with missing plugins,
5433 needs work (API too).
5435 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5437 * docs/pwg/advanced-types.xml:
5438 documents the new caps elements (see #363118)
5440 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5442 * gst/gstplugin.c: (gst_plugin_load_file):
5443 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5444 (gst_file_src_map_region), (gst_file_src_start):
5445 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5446 (gst_file_index_commit):
5447 Use g_strerror() instead of strerror() - we want UTF-8.
5449 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5451 Patch by: Peter Kjellerstedt <pkj at axis com>
5453 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5454 Another printf fix (#371493).
5456 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5458 * tests/check/gst/gsttag.c:
5459 relicence (okay with author=company)
5461 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5463 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5464 (gst_pad_push_event):
5465 Enhance debug and improve docs
5470 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5472 * docs/random/ensonic/distributed.txt:
5473 * docs/random/ensonic/profiling.txt:
5476 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5478 * docs/gst/gstreamer-sections.txt:
5479 add new API and fix the build
5481 * gst/gstbin.c: (gst_bin_recalc_state):
5482 * gst/gstelement.c: (gst_element_message_full),
5483 (gst_element_get_state_func), (gst_element_set_state_func):
5484 use new API and improve logging
5486 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5488 API: add function to get StateChangereturn names to improve logs
5490 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5492 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5493 I'm considering shooting the next person to put strerror stuff
5494 in the translateable part of the message.
5496 2006-11-03 Wim Taymans <wim@fluendo.com>
5498 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5499 Get the type and printf conversion specifiers right.
5501 2006-11-03 Wim Taymans <wim@fluendo.com>
5503 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5505 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5506 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5507 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5508 Some small cleanups. Improve debugging.
5510 Signal all waiting threads with a broadcast instead of just one.
5513 2006-11-03 Wim Taymans <wim@fluendo.com>
5515 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5516 (gst_fd_src_create):
5518 Only update fd when it's different from the old.
5520 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5522 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5523 Printf fixes for PPC/OSX, take two (#369366).
5525 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5527 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5529 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5530 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5531 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5532 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5533 don't cast to long long for portability reasons, but use
5534 GLib's types instead.
5536 2006-10-30 Michael Smith <msmith@fluendo.com>
5538 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5539 Get the arguments to lseek() the right way around.
5542 2006-10-30 Wim Taymans <wim@fluendo.com>
5544 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5547 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5549 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5551 Patch by: Kjartan Maraas <kmaraas at gnome org>
5553 * docs/design/part-MT-refcounting.txt:
5554 * docs/random/wtay/capsnego2-docs:
5557 Typo fixes (#366212).
5559 2006-10-28 Wim Taymans <wim@fluendo.com>
5561 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5564 * win32/common/libgstbase.def:
5565 * win32/common/libgstreamer.def:
5566 * win32/vs8/libgstbase.vcproj:
5567 * win32/vs8/libgstcontroller.vcproj:
5568 Add needed entries in .def files.
5570 Rearrange def files in vs8 solutions. Fixes #366286.
5572 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5574 * win32/common/gstconfig.h:
5575 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5576 hand-made win32 gstconfig.h. Fixes #366321.
5578 2006-10-27 Wim Taymans <wim@fluendo.com>
5580 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5581 (gst_ghost_pad_new_full):
5582 Make acceptcaps return TRUE when we don't have a target, just like
5585 2006-10-27 Wim Taymans <wim@fluendo.com>
5587 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5588 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5590 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5592 * gst/gststructure.c: (gst_structure_id_set_value):
5593 If someone tries to set a non-UTF8 string field on a structure,
5594 don't just print a warning, but also ignore the request and do
5595 not change/add that field to the structure.
5597 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5600 2006-10-25 David Schleef <ds@schleef.org>
5603 g_hash_table_insert() needs a cast to a non-const pointer duh.
5605 2006-10-25 David Schleef <ds@schleef.org>
5609 Change name parameter of _gst_debug_register_funcptr to const
5610 to reflect the constness of its use in the function as well
5611 as to quiet a gcc warning.
5613 2006-10-25 Edward Hervey <edward@fluendo.com>
5615 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5616 Don't push the buffer if it's empty.
5619 2006-10-24 Wim Taymans <wim@fluendo.com>
5624 * libs/gst/base/gstbasetransform.c:
5625 (gst_base_transform_sink_eventfunc):
5626 Debug segment values *after* updating them as this is more
5629 2006-10-23 Wim Taymans <wim@fluendo.com>
5631 * docs/design/part-events.txt:
5634 * docs/design/part-block.txt:
5635 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5636 (gst_pad_push_event):
5637 Revert BLOCKING patch, it tries to be smart without really having a
5638 clear idea what or how. So, now we discard all FLUSHING events again on
5639 a blocking pad. Should fix gnonlin again.
5641 2006-10-23 Wim Taymans <wim@fluendo.com>
5643 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5645 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5646 (gst_base_src_start), (gst_base_src_activate_push):
5647 Make sure size is always initialized. Fixes #364388.
5649 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5651 * docs/random/ensonic/distributed.txt:
5652 add some ideas about doing distributed processing
5654 * docs/random/ensonic/profiling.txt:
5655 get_rusage look promising
5657 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5659 * docs/manual/basics-helloworld.xml:
5660 Add a cast in example to fix compile warning
5662 2006-10-18 Wim Taymans <wim@fluendo.com>
5664 * gst/gstsegment.c: (gst_segment_set_last_stop),
5665 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5666 Relax arg checking again, -1 is allowed.
5668 2006-10-18 Wim Taymans <wim@fluendo.com>
5670 * gst/gstsegment.c: (gst_segment_set_last_stop),
5671 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5672 _set_last_stop() must be with a value != -1
5673 A _TYPE_SET to -1 means seek to 0.
5674 Calc last_stop correctly for negative rates.
5675 Make sure we work with positive durations when updating a segment.
5677 2006-10-18 Wim Taymans <wim@fluendo.com>
5679 * docs/design/part-live-source.txt:
5683 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5686 Add an explicit cast to GstBuffer** to keep old code that added an
5687 explicit cast to GstMiniObject** for gst_mini_object_replace()
5688 compiling without warning.
5690 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5692 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5693 check for validity of dates
5695 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5697 * docs/gst/gstreamer-sections.txt:
5698 Forgot this one, makes gtk-doc shut up.
5700 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5702 Patch by: Peter Kjellerstedt <pkj at axis com>
5705 Don't define xmlNodePtr to gpointer if the core was built with
5706 --disable-loadsave and --disable-registry, this will break
5707 applications that want to use libxml2 but are buildling against a
5708 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5709 instead so we don't have to mess with the libxml2 namespace
5712 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5715 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5716 type-punned pointer warnings.
5718 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5721 Add casts to the correct return type to state <=> state transition
5724 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5726 * docs/design/part-live-source.txt:
5727 describe howto handle latency
5729 * docs/random/ensonic/profiling.txt:
5732 * tools/gst-plot-timeline.py:
5733 fix log parsing for solaris, remove unused function
5735 2006-10-16 Wim Taymans <wim@fluendo.com>
5737 * docs/design/part-trickmodes.txt:
5739 Update some docs regarding reverse playback.
5741 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5743 Patch by: Marcus Granado <mrc dot gran at gmail com>
5745 * win32/vs8/grammar.vcproj:
5746 Error out with a warning if glib-genmarshal.exe is not in path,
5747 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5749 2006-10-13 Wim Taymans <wim@fluendo.com>
5751 * gst/gstsegment.c: (gst_segment_set_seek):
5752 When seeking to stop -1, set last_stop (current position) to the
5753 duration of the segment.
5755 2006-10-13 Wim Taymans <wim@fluendo.com>
5758 Clarify _NO_PREROLL a bit more.
5763 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5764 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5765 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5766 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5767 due to wrong locking order. Fixes #361769.
5768 Remove some redundant/misplaced checks in pad_block.
5770 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5771 For negative rates, count backwards from the duration.
5773 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5775 * gst/gsterror.c: (_gst_library_errors_init):
5776 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5777 up with something better).
5779 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5781 * win32/vs6/libgstreamer.dsp:
5782 * win32/vs7/libgstreamer.vcproj:
5783 * win32/vs8/libgstreamer.vcproj:
5784 Don't reference glib-compat.c which is currently not used and not
5785 disted; add gstquark.c which was recently added. Fixes #361730.
5787 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5789 * win32/common/libgstbase.def:
5790 * win32/common/libgstcontroller.def:
5791 * win32/common/libgstreamer.def:
5792 Add gst_caps_merge() and a bunch of other recently-added functions.
5795 2006-10-11 Wim Taymans <wim@fluendo.com>
5797 * docs/plugins/gstreamer-plugins.args:
5798 * docs/plugins/inspect/plugin-coreelements.xml:
5799 * docs/plugins/inspect/plugin-coreindexers.xml:
5800 Update element args.
5802 * gst/gstsystemclock.c:
5803 Small comment update.
5805 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5806 (gst_tee_request_new_pad), (gst_tee_release_pad),
5807 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5808 (gst_tee_sink_activate_pull):
5809 * plugins/elements/gsttee.h:
5811 Add default property defines.
5812 Implement release pad function.
5813 Give properties better blubs etc.
5814 Activate pads before adding them to a running tee.
5815 Do simple buffer_alloc on the first requested pad.
5816 Post error when activation fails.
5818 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5820 * gst/gst.c: (ensure_current_registry_forking):
5821 Check return value of write() to make compiler happy.
5823 2006-10-11 Wim Taymans <wim@fluendo.com>
5825 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5827 * plugins/elements/gstqueue.c: (gst_queue_chain):
5828 Recheck queue filledness after signalling the overrun when we're about
5829 to leak downstream because we released the lock when emitting the signal
5830 and the queue could be empty again. Fixes #352345.
5832 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5834 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5835 Fix refcounting here too, just like we did for _new_valist() a few
5836 days ago (#357180) (thanks to René Stadler). Also remove all those
5837 'Since: 0.9' from the gtk-doc blobs.
5839 * tests/check/libs/controller.c: (controller_refcount_new_list),
5840 (gst_controller_suite):
5841 Unit test for the above.
5843 2006-10-10 Wim Taymans <wim@fluendo.com>
5845 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5847 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5848 (gst_pad_save_thyself):
5850 Write pad direction in XML output. Fixes #345496.
5852 2006-10-10 Wim Taymans <wim@fluendo.com>
5854 Patch by: René Stadler <mail at renestadler dot de>
5856 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5857 (gst_controller_new_list), (_gst_controller_dispose),
5858 (_gst_controller_finalize), (_gst_controller_class_init):
5859 Take ref to controlled object so that it cannot disappear.
5862 2006-10-10 Wim Taymans <wim@fluendo.com>
5864 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5865 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5866 (gst_check_teardown_sink_pad):
5867 Activate/deactivate pads in setup/teardown respectively.
5869 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5871 Patch by: Josep Torre Valles <josep@fluendo.com>
5874 Cast values when making gstenumtypes.h. This pacifies Forte
5875 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5878 2006-10-09 Wim Taymans <wim@fluendo.com>
5880 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5881 Rename some more @cur to @start to fix docs.
5883 * gst/gstsegment.c: (gst_segment_set_seek):
5885 time and start must always stay in sync as defined in design doc.
5887 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5888 Rename param to fix docs.
5890 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5891 Check that start and time are in sync.
5893 * tests/check/pipelines/parse-launch.c:
5894 (gst_parse_test_element_change_state):
5895 Activate pad before adding to the element.
5897 2006-10-09 Wim Taymans <wim@fluendo.com>
5899 * docs/design/part-qos.txt:
5904 Update seek event docs regarding negative rates.
5905 Rename @cur to @start.
5907 * gst/gstsegment.c: (gst_segment_set_seek):
5909 Update set_seek docs regarding negative rates.
5910 Correctly update last_stop to @stop when dealing with negative
5912 Rename @cur to @start.
5914 * tests/check/gst/gstpad.c: (GST_START_TEST):
5915 Activate pads before trying to use them.
5917 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5918 (gst_segment_suite):
5919 Add simple check for segments and negative rates.
5921 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5923 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5925 * docs/gst/gstreamer-sections.txt:
5926 API: add gst_tag_list_is_empty() (#360467).
5928 * tests/check/gst/gsttag.c: (GST_START_TEST):
5931 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5934 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5935 a value that doesn't fit on enumeration.
5937 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5939 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5940 Remove local debugging system and use Gstreamer's instead.
5942 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5944 Patch by: Josep Torre Valles <josep@fluendo.com>
5946 * common/m4/gst-error.m4:
5947 Disable warning of statement not reached on Forte.
5949 Fix warning on Forte (value doesn't fit on enumeration).
5950 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5951 Fix warning on Forte (value doesn't fit on enumeration).
5952 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5953 DEBUG macro says it takes minimum of 2 args and so Forte
5954 complains about the use with just 1 arg.
5955 * plugins/elements/gstfdsink.c:
5956 * plugins/elements/gstfdsrc.c:
5957 * plugins/elements/gstfilesink.c:
5958 * plugins/elements/gstfilesrc.c:
5959 Use correct return type for the uri handler implementations.
5961 All these fix warnings in Forte. Fixes bug #360860.
5963 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5966 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5967 format string, so don't use G_GNUC_PRINTF for those versions.
5969 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5971 * gst/gsttaglist.c: (gst_is_tag_list):
5973 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5975 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5976 Small test for the above.
5978 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5981 Less tabs, more spaces.
5983 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
5986 Those two function declarations do actually belong there, revert
5987 commit from yesterday that turned them intro macros.
5989 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5991 Patch by: Josep Torre Valles <josep@fluendo.com>
5993 * gst/gst.c: (gst_init_get_option_group):
5994 Fix empty declaration and type mismatch.
5995 * gst/gstbin.c: (gst_bin_change_state_func):
5997 * gst/gstelement.c: (gst_element_continue_state),
5998 (gst_element_set_state_func), (gst_element_change_state),
5999 (gst_element_change_state_func):
6000 Fix type mismatches.
6001 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6002 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6003 Cast as appropriate.
6004 * gst/gstobject.c: (gst_class_signal_connect):
6005 Cast as appropriate. The function pointer parameter really
6006 has the wrong type but would break API if we change it.
6008 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6009 order of including string.h.
6010 * gst/gstutils.c: (gst_element_state_get_name):
6011 Remove unreachable line.
6012 * gst/gstxml.c: (gst_xml_parse_doc):
6014 All these caught by Forte.
6016 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6018 Patch by: Josep Torre Valles <josep@fluendo.com>
6020 * common/m4/gst-error.m4:
6022 We need to disable warnings on Forte for empty declarations
6023 due to gst-indent adding ;s to lines that just use macros
6024 where the macro actually doesn't need a ; at end to end
6027 2006-10-06 Wim Taymans <wim@fluendo.com>
6029 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6030 (gst_file_sink_close_file), (gst_file_sink_event),
6031 (gst_file_sink_render):
6032 Add some FIXME for the NEWSEGMENT handling.
6034 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6036 * gst/parse/grammar.y:
6037 Remove static function gst_parse_element_lock as all it does
6038 is return. Looks like cruft from 0.8.
6040 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6042 Patch by: Josep Torre Valles <josep@fluendo.com>
6044 * common/m4/gst-error.m4:
6046 * libs/gst/net/Makefile.am:
6047 Fix a compilation issue with Forte on Solaris. inet_aton is in
6050 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6052 * gst/gstpad.c: (pre_activate):
6053 * gst/gstregistry.c: (gst_registry_scan_path_level):
6054 * gst/gstregistryxml.c: (load_plugin):
6055 * libs/gst/controller/gstcontroller.c:
6056 (gst_controlled_property_set_interpolation_mode):
6057 * libs/gst/dataprotocol/dataprotocol.c:
6058 (gst_dp_packet_from_event_1_0):
6059 * libs/gst/net/gstnetclientclock.c:
6060 (gst_net_client_clock_observe_times):
6061 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6064 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6067 * docs/gst/gstreamer-sections.txt:
6068 * gst/gstconfig.h.in:
6071 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6072 whether we can use G_GNUC_PRINTF in other header files and at
6073 least check the printf format/arguments of debug messages and
6074 GST_ELEMENT_ERROR messages when the printf extension is not
6076 Replace more tabs with spaces in gstinfo.h and remove two spurious
6077 function declarations in GST_DISABLE_DEBUG part with macros.
6079 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6081 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6082 More docs for the sync-message signal (mention that it is not
6083 emitted by default); log message structures of messages posted on
6086 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6088 * gst/gst.c: (ensure_current_registry_forking):
6089 Use a pipe pair to receive status results from the forked child, and
6090 ignore the result from waitpid. Fixes #355499
6092 2006-10-02 Wim Taymans <wim@fluendo.com>
6094 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6095 (gst_ghost_pad_suite):
6098 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6101 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6103 2006-10-02 Edward Hervey <edward@fluendo.com>
6105 * docs/design/part-block.txt:
6106 Further explain the use of flushing on blocked pads.
6107 * docs/gst/gstreamer-sections.txt:
6108 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6109 (gst_pad_push_event):
6111 Added new GstPadFlag : GST_PAD_BLOCKING.
6112 Adds the notion of pads really blocking, which enables to properly
6113 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6115 API: gst_pad_is_blocking()
6116 API: GST_PAD_IS_BLOCKING() macro
6117 API: GST_PAD_BLOCKING GstPadFlag
6119 2006-10-02 Wim Taymans <wim@fluendo.com>
6121 Patch by: mrcgran <mrc.gran at gmail dot com>
6123 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6124 Filter the proxied caps against the padtemplate if we have one.
6126 * gst/gstquery.c: (gst_query_new_segment):
6127 Add include for gstinfo.h so that compilation with
6128 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6130 2006-10-02 Wim Taymans <wim@fluendo.com>
6132 Patch by: Alessandro Decina <alessandro at nnva org>
6134 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6135 (gst_file_sink_set_location), (gst_file_sink_open_file),
6136 (gst_file_sink_close_file), (gst_file_sink_event),
6137 (gst_file_sink_render):
6138 Set file to NULL when closing filesink so that we can set a new filename
6139 in READY. Fixes #358613.
6141 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6143 Patch by: Alessandro Decina <alessandro at nnva org>
6145 * gst/gstevent.c: (_gst_event_copy):
6146 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6147 with event structures by setting the parent refcount address of the
6148 copied structure to the address of the refcount member of the newly
6149 copied event rather than the address of the refcount member of the
6150 original event. Fixes #358737.
6152 * tests/check/gst/gstevent.c: (GST_START_TEST):
6153 Unit test for the above.
6155 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6157 * docs/design/Makefile.am:
6158 Dist some more files.
6160 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6162 * tests/check/libs/controller.c: (GST_START_TEST),
6163 (gst_controller_suite):
6164 Add test for the previous fix; add some more tests
6165 for correct refcounting behaviour; fix a few leaks
6166 in test cases; call gst_controller_init() at start
6169 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6171 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6172 (gst_controller_set_from_list):
6173 Don't g_return_val_if_fail() on timed values with invalid timestamps
6174 inside a critical section without unlocking the mutex. Spotted by
6175 René Stadler. (#357617)
6176 Also, fix up refcounting properly: when returning an existing
6177 controller, we should increase the reference only once and not
6178 once per property and when trying to control a property again
6179 we should also increase the refcount.
6181 2006-09-29 Wim Taymans <wim@fluendo.com>
6183 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6184 * libs/gst/net/gstnettimeprovider.c:
6185 (gst_net_time_provider_thread):
6186 Stop reading commands when EOF as well.
6188 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6189 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6190 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6191 Unify description of the dump property.
6193 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6195 * tests/examples/manual/.cvsignore:
6196 OK, so it's actually cvsignore that needs changing. Stop laughing.
6198 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6200 * tests/examples/manual/Makefile.am:
6201 Gah, declare vars *before* using them
6203 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6205 * gst/gst.c: (init_pre), (scan_and_update_registry),
6206 (ensure_current_registry_nonforking),
6207 (ensure_current_registry_forking), (ensure_current_registry),
6208 (init_post), (gst_debug_help), (gst_deinit):
6209 * gst/gst_private.h:
6210 * gst/gstregistry.c: (gst_registry_finalize),
6211 (gst_registry_remove_features_for_plugin_unlocked),
6212 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6213 (gst_registry_scan_path),
6214 (_priv_gst_registry_remove_cache_plugins),
6215 (_priv_gst_registry_cleanup):
6216 * gst/gstregistry.h:
6217 Re-commit the registry changes, along with an extra fix:
6218 When a cached plugin is encountered at a different file path,
6219 update the stored path in the registry cache so that the parent
6220 process knows where it actually is now when it re-reads the registry
6221 cache. Fixes the thing that broke distcheck with the previous commit.
6223 * tests/check/Makefile.am:
6224 Clean up files named 'core' too when running make clean.
6226 * tests/examples/manual/Makefile.am:
6227 Set up a registry path for running these tests, and clean it properly
6230 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6233 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6234 want gmodule-no-export-2.0.pc instead so that we don't drag in
6235 --export-dynamic on every project that links to GStreamer.
6237 Also, make our export regex only match the start of symbols, rather
6238 than any symbol that contains '_gst' somewhere.
6240 * libs/gst/check/Makefile.am:
6241 The libgstcheck we build does however need export-dynamic, as it
6242 produces some symbols that don't match our _gst... style regex.
6245 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6247 * gst/gst.c: (init_pre), (scan_and_update_registry),
6248 (ensure_current_registry_nonforking),
6249 (ensure_current_registry_forking), (ensure_current_registry),
6250 (init_post), (gst_debug_help), (gst_deinit):
6251 * gst/gst_private.h:
6252 * gst/gstregistry.c: (gst_registry_finalize),
6253 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6254 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6255 (_gst_registry_cleanup):
6256 * gst/gstregistry.h:
6257 Revert previous change until I figure out why it breaks distcheck.
6259 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6261 * gst/gst.c: (init_pre), (scan_and_update_registry),
6262 (ensure_current_registry_nonforking),
6263 (ensure_current_registry_forking), (ensure_current_registry),
6264 (init_post), (gst_debug_help), (gst_deinit):
6266 Make init_pre and init_post take the full complement of GOptionFunc
6267 args so they can return useful GErrors. Make the registry updating
6270 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6271 ensure that the registry we're about to write out doesn't contain
6272 stale information about old-deleted plugin files.
6274 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6275 that deletion of plugin files is considered a registry change.
6277 * gst/gst_private.h:
6278 * gst/gstregistry.c: (gst_registry_finalize),
6279 (gst_registry_remove_features_for_plugin_unlocked),
6280 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6281 (gst_registry_scan_path),
6282 (_priv_gst_registry_remove_cache_plugins),
6283 (_priv_gst_registry_cleanup):
6284 * gst/gstregistry.h:
6285 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6286 by adding _priv prefix, so that they won't appear in the global
6287 symbol table. They still do atm though because of #318031. Move the
6288 prototypes to gst_private.h
6290 When removing a plugin, remove all features for that plugin too.
6293 2006-09-27 Wim Taymans <wim@fluendo.com>
6295 * docs/random/moving-plugins:
6296 Make it clear that the "compiled-in descriptions" really mean
6297 the element details.
6299 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6300 (gst_base_sink_wait_preroll):
6303 * docs/libs/gstreamer-libs-sections.txt:
6304 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6305 (gst_base_src_get_range), (gst_base_src_activate_push):
6306 * libs/gst/base/gstbasesrc.h:
6307 Added function to block while waiting for PLAYING, this function
6308 is used by live sources that block on the clock.
6309 API: gst_base_src_wait_playing()
6311 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6313 Patch by: Peter Kjellerstedt <pkj at axis com>
6316 gst-element-check.m4 is generated and should therefore be
6317 copied from the build dir rather than the source dir (#357593).
6318 'make distcheck' hasn't noticed this because we were disting
6319 the file as well, so stop doing that.
6321 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6323 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6324 Add some tests for gst_caps_intersect().
6326 * tools/gst-launch.c: (event_loop):
6327 Print all buffering percentages we get, even the 100% one.
6329 2006-09-26 Wim Taymans <wim@fluendo.com>
6331 * tools/gst-inspect.c: (print_element_properties_info),
6332 (print_signal_info):
6333 Fix printing of flags to match the look of enums.
6335 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6337 * gst/gstelementfactory.c:
6338 Fix typo in docs blurb.
6340 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6342 * gst/gsturi.c: (search_by_entry):
6343 Don't assert/crash here if a uri handler doesn't return any
6344 supported protocols. The list of protocols could be generated
6345 dynamically at runtime or at plugin registration, and an error
6346 in the underlying library shouldn't be fatal (#353301).
6348 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6351 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6352 (spotted by Peter Kjellerstedt).
6354 2006-09-23 Wim Taymans <wim@fluendo.com>
6356 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6358 * libs/gst/base/gstbasesrc.c:
6359 (gst_base_src_default_check_get_range), (gst_base_src_start),
6360 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6361 (gst_base_src_change_state):
6362 Match _start/_stop calls in the activate functions. Remove redundant
6363 _stop call from the state change function. Fixes #356910.
6364 Turn failure DEBUG into ERROR.
6366 2006-09-22 Wim Taymans <wim@fluendo.com>
6368 * docs/design/part-buffering.txt:
6369 * gst/gstmessage.c: (gst_message_new_buffering),
6370 (gst_message_parse_buffering):
6371 Update docs about buffering.
6373 * docs/design/part-trickmodes.txt:
6376 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6378 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6379 (gst_controller_new_list):
6380 Ref instances when returning them again (fixes #357180)
6382 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6384 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6385 Don't forget to release proxy lock when there's an error.
6387 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6390 Add extra initialisers for Caps things, to fix some plugin warnings
6393 2006-09-18 Wim Taymans <wim@fluendo.com>
6395 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6396 Also set template on the internal pad so that a getcaps from the
6397 target pad returns the template caps.
6399 2006-09-18 Wim Taymans <wim@fluendo.com>
6401 * gst/gstelement.c: (gst_element_post_message),
6402 (gst_element_dispose):
6403 Use _DEBUG_OBJECT some more.
6405 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6408 * tools/gst-launch.c: (main):
6409 If the toplevel element is not a GstPipeline, it must be put in a
6410 pipeline so that a bus and clock is selected.
6412 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6414 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6415 JITTER, RATE, and LATENCY query should be handled by the
6416 default case and not by the CONVERT query code.
6418 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6420 * gst/gstformat.c: (gst_format_register):
6421 Fix locking order (must take lock before using n_values).
6423 * gst/gstvalue.c: (gst_value_serialize_enum),
6424 (gst_value_deserialize_enum_iter_cmp),
6425 (gst_value_deserialize_enum):
6426 Fix serialisation/deserialisation of custom registered GstFormats.
6428 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6429 Unit test for custom format serialisation/deserialisation.
6431 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6433 * docs/pwg/building-boiler.xml:
6434 * plugins/elements/gstcapsfilter.c:
6435 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6438 2006-09-16 Edward Hervey <edward@fluendo.com>
6440 * libs/gst/base/gstbasetransform.c:
6441 (gst_base_transform_buffer_alloc):
6442 Check if requested caps are the same as the sinks caps IF
6443 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6445 This fixes the renegotiation issues stated in #352827.
6447 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6450 * docs/manual/advanced-autoplugging.xml:
6451 * tests/examples/Makefile.am:
6452 * tests/examples/manual/.cvsignore:
6453 * tests/examples/manual/Makefile.am:
6454 * tests/examples/manual/extract.pl:
6455 Extract the manual examples again like we used to do.
6458 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6460 * win32/common/config.h:
6463 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6466 Documents how to receive errors.
6468 2006-09-15 Wim Taymans <wim@fluendo.com>
6470 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6471 (event_loop), (main):
6472 Added some comments here and there.
6473 Post an application message when an interrupt is caught instead of doing
6474 an uncontrolled state change.
6475 Clean up the event loop.
6476 Handle buffering messages, pause/resume the pipeline.
6477 Make shutdown because of an interrupt more reliable.
6479 2006-09-15 Wim Taymans <wim@fluendo.com>
6481 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6482 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6483 (gst_base_sink_preroll_object):
6484 Make sure that our internal state is correct when we commit our state
6485 asynchronously. This solves a race where a state change to PLAYING
6486 could cause the sink to remain blocked in preroll in some situations.
6488 2006-09-15 Wim Taymans <wim@fluendo.com>
6490 * tools/gst-inspect.c: (print_element_properties_info),
6491 (print_signal_info):
6492 List flags as hex so it's easier to deal with.
6494 2006-09-15 Wim Taymans <wim@fluendo.com>
6496 * docs/libs/gstreamer-libs-sections.txt:
6497 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6498 (gst_base_sink_do_sync):
6499 * libs/gst/base/gstbasesink.h:
6500 Expose logic to wait for preroll so that subclasses such as audiosink
6501 can also use this method.
6502 API: gst_base_sink_wait_preroll()
6504 2006-09-15 Wim Taymans <wim@fluendo.com>
6506 * gst/gstobject.c: (gst_object_set_parent):
6507 * gst/gstpipeline.c: (do_pipeline_seek):
6508 Small cleanups in docs and code.
6510 * gst/gstsegment.c: (gst_segment_clip):
6511 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6512 if stop == start and start is in the segment, no clipping should be
6513 done. Also add a test for this.
6515 2006-09-15 Wim Taymans <wim@fluendo.com>
6517 * docs/design/part-buffering.txt:
6518 * docs/gst/gstreamer-sections.txt:
6519 * gst/gstmessage.c: (gst_message_new_buffering),
6520 (gst_message_parse_buffering):
6522 Added methods to create and parse BUFFERING messages.
6523 Added preliminary docs about buffering.
6524 API: gst_message_new_buffering
6525 API: gst_message_parse_buffering
6527 2006-09-06 Wim Taymans <wim@fluendo.com>
6530 Update documentation.
6532 * gst/gstelement.c: (gst_element_class_init),
6533 (gst_element_release_request_pad), (gst_element_set_clock),
6534 (gst_element_get_index), (gst_element_add_pad),
6535 (gst_element_remove_pad), (gst_element_get_random_pad),
6536 (gst_element_send_event), (gst_element_get_query_types),
6537 (gst_element_query), (gst_element_post_message),
6538 (gst_element_message_full), (gst_element_continue_state),
6539 (gst_element_lost_state), (gst_element_save_thyself),
6540 (gst_element_restore_thyself):
6541 Documentation updates.
6542 Rename last bit of the new-pad -> pad-added signal rename.
6543 Fix the case where an element query would only work if the source
6545 Avoid some useless type checking in message handling.
6550 Documentation updates.
6552 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6554 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6555 add an INFO line for when we actually update the fd
6557 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6562 === release 0.10.10 ===
6564 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6567 releasing 0.10.10, "Pais"
6569 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6571 * docs/manual/advanced-position.xml:
6572 Fix typo in sample code.
6574 2006-09-05 Wim Taymans <wim@fluendo.com>
6576 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6577 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6578 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6579 * libs/gst/net/gstnetclientclock.h:
6580 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6581 * libs/gst/net/gstnettimepacket.h:
6582 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6583 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6584 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6585 * libs/gst/net/gstnettimeprovider.h:
6586 Make stuff compile on windows. Fixes #345295.
6588 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6590 * gst/gst.c: (ensure_current_registry_forking):
6591 Print better details when child was terminated by signal.
6593 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6595 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6596 Print a warning rather than g_assert() if a plugin feature
6597 is a URI handler but returns no protocols (#353976).
6599 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6601 * docs/random/moving-plugins:
6604 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6606 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6607 Fix locking order, handle NULL function values properly.
6612 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6613 Initialise variable before using it and fix debug statement to
6614 print the address of the function rather than the address of the
6615 variable on the stack holding the address of the function.
6617 2006-09-01 Wim Taymans <wim@fluendo.com>
6619 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6620 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6621 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6622 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6623 (gst_ghost_pad_parent_unset),
6624 (gst_ghost_pad_internal_do_activate_push),
6625 (gst_ghost_pad_internal_do_activate_pull),
6626 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6627 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6628 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6629 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6630 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6631 (gst_ghost_pad_new_no_target_from_template),
6632 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6634 Avoid needless typechecking in macros.
6635 Since the internal pad is always present and never changes, there is
6636 no need to locking or ref when retrieving it.
6637 Improve debugging a bit.
6638 Handle link errors when setting the target. Fixes #341029.
6640 2006-09-01 Wim Taymans <wim@fluendo.com>
6642 * docs/libs/gstreamer-libs-sections.txt:
6643 * docs/plugins/gstreamer-plugins-sections.txt:
6646 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6647 (gst_collect_pads_event):
6648 * libs/gst/base/gstcollectpads.h:
6649 Documentation updates.
6650 Free queued buffer when removing a pad.
6652 2006-08-31 Michael Smith <msmith@fluendo.com>
6654 * gst/gstutils.c: (gst_element_link_pads),
6655 (gst_element_link_pads_filtered):
6656 Ensure that we set a capsfilter to NULL if we failed to link it
6657 when doing filtered linking, to avoid criticals.
6659 No need to check for unreffing srcpad, which is explicly NULLed
6660 above (a trivial code cleanup).
6662 2006-08-31 Wim Taymans <wim@fluendo.com>
6664 * docs/design/part-gstghostpad.txt:
6665 Update ascii art in documentation.
6667 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6668 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6669 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6670 (gst_ghost_pad_internal_do_activate_push),
6671 (gst_ghost_pad_internal_do_activate_pull),
6672 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6673 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6674 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6675 (gst_ghost_pad_set_target):
6676 Small cleanups and leak fixes.
6677 Remove some checks now that the internal pad is never NULL.
6678 Fix the case where linking pads without a target would create nasty
6679 criticals. Fixes #341029.
6680 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6681 value of _set_target().
6683 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6684 (gst_ghost_pad_suite):
6685 Some more tests for creating and linking untargeted ghostpads.
6687 2006-08-31 Edward Hervey <edward@fluendo.com>
6689 * docs/gst/gstreamer-sections.txt:
6690 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6691 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6692 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6693 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6694 (gst_ghost_pad_new_from_template),
6695 (gst_ghost_pad_new_no_target_from_template):
6696 * gst/gstghostpad.h:
6697 Refactored *_new() functions.
6698 Templates are now used as a g_object_new() parameter.
6699 Use template in _do_getcaps() if we don't have a target.
6700 Small documentation cleanups.
6701 Added two new constructors:
6702 gst_ghost_pad_new_from_template()
6703 gst_ghost_pad_new_no_target_from_template()
6704 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6705 (gst_ghost_pad_suite):
6706 Added tests for new ghostpad instanciation functions.
6708 API additions: gst_ghost_pad_new_from_template,
6709 gst_ghost_pad_new_no_target_from_template
6711 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6713 * docs/random/ensonic/profiling.txt:
6714 Ideas about qos profiling.
6716 2006-08-29 Wim Taymans <wim@fluendo.com>
6718 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6722 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6725 Improve and detypofy docs.
6727 * tests/check/Makefile.am:
6728 * tests/check/gst/.cvsignore:
6729 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6730 Add a basic test suite for GstXML.
6732 2006-08-29 Wim Taymans <wim@fluendo.com>
6734 * gst/gstelement.c: (activate_pads), (clear_caps),
6735 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6736 Clear the pad caps when the element shut down all of the pads and
6737 is not streaming data that could modify the caps.
6740 2006-08-28 Michael Smith <msmith@fluendo.com>
6742 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6743 Revert previous change; I misunderstood single-segment mode.
6745 2006-08-28 Michael Smith <msmith@fluendo.com>
6747 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6748 Unset DISCONT on buffers when using single-segment mode.
6750 2006-08-28 Wim Taymans <wim@fluendo.com>
6752 * gst/gstcaps.c: (gst_caps_merge_structure):
6754 Fix docs and indentation again.
6756 * tests/check/gst/gstquery.c: (GST_START_TEST):
6757 Fix leak in tests and add some more tests.
6759 2006-08-28 Edward Hervey <edward@fluendo.com>
6761 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6762 Inform GstSegment of the last stop position in order for the current
6763 segment to have a proper duration if it doesn't have a specific stop
6764 position from which a duration could be calculated.
6765 This bug was noticeable when a non-flushing, non-update new segment was
6766 followed by another segment (all buffers from the new segment were being
6769 2006-08-28 Wim Taymans <wim@fluendo.com>
6771 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6772 Small comment update.
6774 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6775 (gst_identity_transform_ip):
6776 Drop-probability is broken, mention this in the code with a
6777 FIXME and also in the property description.
6778 Make silent also be silent about the drop messages.
6780 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6782 * docs/manual/appendix-win32.xml:
6783 Remove mention of popt, we don't depend on that any
6784 longer (#353136). Add some comments pointing out that
6785 this section is slightly outdated.
6787 2006-08-28 Wim Taymans <wim@fluendo.com>
6789 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6791 * gst/gstquery.c: (gst_query_new_segment):
6792 * tests/check/gst/gstquery.c: (GST_START_TEST):
6793 Initialize variables when creating a new segment query.
6796 2006-08-28 Wim Taymans <wim@fluendo.com>
6798 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6800 * gst/gstelement.c: (gst_element_get_bus):
6801 * tests/check/gst/gstelement.c: (GST_START_TEST):
6802 Check for NULL before _reffing the bus. Fixes #353122.
6804 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6806 * docs/manual/basics-bus.xml:
6807 Docs update: fix wrong callback return value explanation; add
6808 some lines about the implicit relationship between main loop
6809 and main context; remove duplicate main loop variable declaration.
6811 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6813 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6814 Don't leak caps in unit test; add a few more simple
6817 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6819 * docs/gst/gstreamer-sections.txt:
6820 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6821 (gst_caps_structure_is_subset), (gst_caps_merge),
6822 (gst_caps_merge_structure):
6824 * libs/gst/base/gstbasetransform.c:
6825 (gst_base_transform_transform_caps):
6826 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6827 implement caps merging (fixes #352580)
6829 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6831 * tools/Makefile.am:
6832 * tools/gst-plot-timeline.py:
6833 add debug-log plotting developer tool (#340674)
6835 2006-08-23 Wim Taymans <wim@fluendo.com>
6837 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6838 (gst_pad_stop_task):
6839 Improve debugging for task functions.
6841 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6842 (gst_task_start), (gst_task_pause), (gst_task_join):
6843 Make sure that the task function started and finished after a
6845 Don't try to push the task function on the threadpool multiple
6847 Improve the g_warning message with some useful suggestions
6848 about how to fix the problem.
6850 2006-08-23 Wim Taymans <wim@fluendo.com>
6852 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6853 Handle RESYNC correctly in _proxy_getcaps.
6855 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6857 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6858 (gst_xml_parse_memory), (gst_xml_get_element):
6859 Chain up to parent class in dispose function and also
6860 unref the elements in the toplevel_elements GList.
6861 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6862 Always return a reference in gst_xml_get_element() rather
6863 than only sometimes.
6865 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6866 Don't leak GstXml object.
6868 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6870 * docs/gst/gstreamer-sections.txt:
6871 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6874 * libs/gst/base/gstbasetransform.c:
6875 (gst_base_transform_transform_caps):
6876 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6879 2006-08-21 Edward Hervey <edward@fluendo.com>
6881 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6882 Implement GObject::dispose virtual method in GstXML so we can free the
6885 2006-08-21 Wim Taymans <wim@fluendo.com>
6887 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6888 (gst_buffer_create_sub):
6889 Copy duration/offset_end/caps when creating a subbuffer of the
6891 Make the subbuffer read-only when we make the metadata writable for
6894 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6895 Added check for metadata copy when creating subbuffers.
6897 2006-08-21 Edward Hervey <edward@fluendo.com>
6899 * libs/gst/base/gstbasetransform.c:
6900 (gst_base_transform_buffer_alloc):
6901 Only call downstream buffer_alloc if transform element is passthrough
6902 or always_in_place. Closes #350449.
6904 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6907 ChangeLog surgery to add comments to previous changes
6909 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6914 * gst/gstpad.c: (gst_pad_set_active):
6915 Be more verbose in the log
6917 * libs/gst/base/gstbasetransform.c:
6918 (gst_base_transform_transform_caps):
6919 Simplify caps to get rid of duplicates, fixes #345444
6921 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6925 Use these optimizations only internally.
6927 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6929 * gst/gstvalue.c: (gst_value_compare_list),
6930 (gst_value_compare_fraction_range),
6931 (gst_value_intersect_fraction_fraction_range),
6932 (gst_value_intersect_fraction_range_fraction_range),
6933 (gst_value_subtract_fraction_fraction_range),
6934 (gst_value_subtract_fraction_range_fraction_range),
6935 (gst_value_get_compare_func), (gst_value_compare),
6936 (gst_value_compare_with_func):
6938 Saves the expensive lookup of the compare function in many cases
6941 2006-08-18 Edward Hervey <edward@fluendo.com>
6943 * tests/check/gst/gstinfo.c: (gst_info_suite):
6944 Disable test that require gstdebug if it wasn't built in core.
6946 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6948 * docs/random/ensonic/logging.txt:
6951 * gst/gstinfo.c: (gst_debug_log_default):
6952 reorder fields, save some columns, add optional color codes for log
6955 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6957 * docs/random/ensonic/logging.txt:
6958 add ideas about making the logs a bit more useful
6960 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6962 * docs/pwg/advanced-events.xml:
6963 * docs/pwg/titlepage.xml:
6964 Update for 0.10 API (#340627). Add myself
6967 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6969 * docs/libs/gstreamer-libs-docs.sgml:
6970 * docs/libs/gstreamer-libs-sections.txt:
6971 * libs/gst/check/gstbufferstraw.c:
6972 Make gstcheck stuff show up in docs (still needs to
6973 be documented properly though).
6975 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
6977 * docs/gst/gstreamer-sections.txt:
6979 * gst/gst.c: (init_post):
6980 * gst/gst_private.h:
6981 * gst/gstquark.c: (_priv_gst_quarks_initialize):
6983 * gst/gstquery.c: (gst_query_new_position),
6984 (gst_query_set_position), (gst_query_parse_position),
6985 (gst_query_new_duration), (gst_query_set_duration),
6986 (gst_query_parse_duration), (gst_query_new_convert),
6987 (gst_query_set_convert), (gst_query_parse_convert),
6988 (gst_query_new_segment), (gst_query_set_segment),
6989 (gst_query_parse_segment), (gst_query_new_seeking),
6990 (gst_query_set_seeking), (gst_query_parse_seeking):
6991 Add internal helpers for pre-registering quarks from static strings
6992 and using the quark values directly instead of looking them up when
6993 creating and parsing queries. Can be used for event construction too.
6996 2006-08-16 Wim Taymans <wim@fluendo.com>
7001 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7003 * gst/gstutils.c: (gst_util_set_value_from_string):
7004 Fix memleak (#351502).
7006 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7007 Add unit test for most of gst_util_set_value_from_string()
7008 (not that one would want to encourage use of this function).
7010 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7012 * libs/gst/check/gstcheck.h:
7013 Use const gchar * variables in fail_unless_equals_string
7014 macro to avoid compiler warnings (and don't use tabs for
7017 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7019 * tools/gst-launch.c: (print_tag):
7020 More space on the left for the tag names, to cater
7021 for the 'extended comment' tag (not touching the
7022 string for the first line since it's translated).
7024 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7026 * libs/gst/check/gstcheck.h:
7027 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7028 print something when they fail.
7030 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7032 * docs/gst/gstreamer-sections.txt:
7033 * gst/gsttaglist.c: (_gst_tag_initialize):
7035 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7036 Also change merge function for GST_TAG_COMMENT to
7039 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7041 * gst/gstinfo.c: (gst_debug_print_object):
7042 Make GST_PTR_FORMAT print messages as well.
7044 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7045 (GST_START_TEST), (gst_info_suite):
7048 2006-08-14 Edward Hervey <edward@fluendo.com>
7050 * gst/gstelementfactory.c: (gst_element_register):
7051 If the GstElementClass doesn't have a GstElementDetails with all fields
7052 filled up correctly (longname, description AND author), then error out
7053 nicely instead of crashing.
7055 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7057 * gst/gststructure.c:
7058 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7061 Expand on the difference between arrays and lists as we use them.
7063 2006-08-14 Wim Taymans <wim@fluendo.com>
7065 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7066 If the parent state change function failed, don't assume we can safely
7067 stop the source, this will be done when the pads are deactivated.
7069 2006-08-14 Wim Taymans <wim@fluendo.com>
7072 * gst/gsttask.c: (gst_task_join):
7075 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7076 (gst_pad_stop_task):
7077 When pad (de)activation failed for some reason, restore the old
7078 activation mode and set the pad to flushing instead of assuming the
7080 If the _task_join() failed, reinstall the task on the pad so that it can
7081 be stopped later and return an error.
7083 2006-08-11 Andy Wingo <wingo@pobox.com>
7086 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7087 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7088 is only for users of API that don't want to see deprecated
7089 functions in the headers; people that want to compile out
7090 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7091 CFLAGS. Fixes the build of multifdsink, or will soon..
7093 2006-08-11 Wim Taymans <wim@fluendo.com>
7095 * docs/gst/gstreamer-sections.txt:
7096 Add GstClockClass vmethod docs.
7099 Mark #endif with comment for associated #if
7101 * gst/gstclock.c: (gst_clock_id_wait):
7103 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7104 most clock implementations.
7106 Flesh out docs about resolution methods.
7107 API: GstClockClass::wait_jitter
7109 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7110 (gst_system_clock_async_thread),
7111 (gst_system_clock_id_wait_jitter_unlocked),
7112 (gst_system_clock_id_wait_jitter):
7113 Use base class wait_jitter variant for improved performance
7114 due to less clock polling.
7116 2006-08-11 Edward Hervey <edward@fluendo.com>
7118 * gst/gst.c: (gst_init_check), (init_post):
7119 Set gst as being initialized before scanning/updating the registry,
7120 since there might be my python plugin loader that calls gst_init() and
7121 we don't want to loop back in.
7124 2006-08-11 Wim Taymans <wim@fluendo.com>
7126 * docs/design/part-qos.txt:
7127 Bring docs in line with the code. Mostly the sign of the jitter was
7128 wrong in the docs. Fixes #349943.
7131 Fix the docs for the jitter.
7133 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7134 (gst_event_parse_tag), (gst_event_new_buffer_size),
7135 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7136 (gst_event_new_seek), (gst_event_parse_seek),
7137 (gst_event_new_navigation):
7138 Make sure the GstStructure has no parent when creating custom
7140 Add some more argument checking so that we avoid 0.0 rates.
7141 Flesh out the docs for the QoS event some more.
7143 2006-08-11 Wim Taymans <wim@fluendo.com>
7145 * docs/gst/gstreamer-sections.txt:
7146 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7147 (ensure_current_registry_forking), (ensure_current_registry),
7148 (parse_one_option), (parse_goption_arg), (gst_deinit),
7149 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7152 Added API and command line option to disable registry forking in
7153 addition to the environment variable.
7154 Constify some static arrays.
7155 Added some more debug.
7157 API: gst_registry_fork_is_enabled()
7158 API: gst_registry_fork_set_enabled()
7159 API: --gst-disable-registry-fork command line option
7162 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7164 * gst/gst.c: (gst_init):
7165 Fix typo in error message.
7167 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7169 * libs/gst/controller/gstcontroller.h:
7170 fix ABI size-correction
7172 * tests/check/libs/gdp.c: (gst_dp_suite):
7173 make tests that use deprecated API conditional
7175 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7177 * docs/libs/gstreamer-libs-sections.txt:
7178 * libs/gst/controller/gstcontroller.c:
7179 (_gst_controller_get_property), (_gst_controller_set_property),
7180 (_gst_controller_init), (_gst_controller_class_init):
7181 * libs/gst/controller/gstcontroller.h:
7182 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7183 (gst_object_set_control_rate):
7184 API: add gst_object_{s,g}et_control_rate(), add private data section,
7187 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7188 * libs/gst/dataprotocol/dataprotocol.h:
7189 add deprecation guards to make gtk-doc happy and allow disabling cruft
7191 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7193 * tests/check/Makefile.am:
7194 * tests/check/gst/.cvsignore:
7195 Let's enable the new unit test as well.
7197 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7200 * docs/gst/gstreamer-sections.txt:
7201 * gst/gstconfig.h.in:
7202 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7203 (_gst_info_printf_extension_ptr),
7204 (_gst_info_printf_extension_segment):
7205 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7206 register that lets us easily dump GstSegments into debug
7209 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7210 (info_segment_format_printf_extension), (gst_info_suite):
7211 Add simple unit test that logs a bunch of different segments (not
7212 valgrinded at the moment because of leaks in
7213 gst_debug_add_log_function).
7215 2006-08-09 Edward Hervey <edward@fluendo.com>
7217 * libs/gst/base/gstbasetransform.c:
7218 (gst_base_transform_buffer_alloc):
7219 Even if we can't figure out the proper format to request downstream,
7220 call buffer_alloc() downstream with the input parameters without setting
7221 the caps on the srcpad. This will force negotiation in the chain
7225 2006-08-08 Edward Hervey <edward@fluendo.com>
7227 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7228 Unlinking from a pad without a target is now a perfectly valid case
7229 which should NOT raise an assertion.
7230 This case would happen if a linked ghostpad its target set to NULL after
7231 it was previously linked.
7233 2006-08-08 Edward Hervey <edward@fluendo.com>
7235 * tests/check/libs/gdp.c:
7236 Also comment out the test (see below).
7238 2006-08-08 Edward Hervey <edward@fluendo.com>
7240 * tests/check/libs/gdp.c: (gst_dp_suite):
7241 Use the architecture information from config.h and not gcc macros
7242 in order to properly disable a test that fails on PPC64.
7244 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7246 * gst/gstelement.c: (gst_element_remove_pad):
7247 Don't crash printing the warning if the pad has no parent.
7249 2006-08-02 Wim Taymans <wim@fluendo.com>
7251 * libs/gst/dataprotocol/dataprotocol.c:
7252 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7253 (gst_dp_crc), (gst_dp_header_payload_length),
7254 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7255 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7256 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7257 (gst_dp_event_from_packet), (gst_dp_validate_header),
7258 (gst_dp_validate_payload):
7259 Make debug category static
7260 Constify the crc table.
7261 Do some more arg checking in public functions.
7262 Fix some docs and do some small cleanups.
7264 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7265 Add some more checks to see if GDP deals with bogus input.
7267 2006-07-31 Wim Taymans <wim@fluendo.com>
7269 * gst/gstvalue.c: (gst_value_compare_list):
7270 Fix GstValueList comparison code. Fixes #347293.
7272 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7273 Check to test GstValueList comparison.
7275 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7277 * gst/gstelementfactory.c: (gst_element_factory_create):
7278 Remove unnecessary ref/unref pair
7280 * gst/parse/grammar.y:
7281 Make sure to free the parse buffer on all code paths.
7282 Move a g_free up to the error handler where it's easier to see.
7284 * tests/check/gst/gstevent.c: (test_event):
7285 Extending timeout for downstream travelling events to 10 seconds to
7286 hopefully avoid intermittent failure on the buildbots.
7288 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7289 Don't manually set the state of the src element - it will happen as a
7290 natural consequence of the pipeline changing state, and that way it
7291 will do it in the right order too.
7293 2006-07-31 Wim Taymans <wim@fluendo.com>
7295 * libs/gst/base/gstbasetransform.c:
7296 (gst_base_transform_buffer_alloc):
7297 Use OBJECT_LOCK and refcounting to get the pad caps in the
7298 buffer_alloc function because the caps could change while we are
7299 busy with them. Fixes #349105
7301 2006-07-31 Wim Taymans <wim@fluendo.com>
7303 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7304 Protect _PAD_CAPS with OBJECT_LOCK.
7306 2006-07-31 Wim Taymans <wim@fluendo.com>
7308 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7309 (gst_pad_get_property), (gst_pad_activate_pull),
7310 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7311 (gst_pad_set_activate_function),
7312 (gst_pad_set_activatepull_function),
7313 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7314 (gst_pad_set_getrange_function),
7315 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7316 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7317 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7318 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7319 (gst_pad_set_acceptcaps_function),
7320 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7321 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7322 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7323 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7324 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7325 (gst_pad_configure_sink), (gst_pad_configure_src),
7326 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7327 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7328 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7329 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7330 (gst_pad_send_event):
7331 Use _DEBUG_OBJECT when it makes sense.
7332 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7333 Small cleanups and code reflows.
7334 Avoid caps refcounting in _accept_caps.
7335 Refactor alloc_buffer so that the code performed on the peer is in a
7336 separate function. Also if the pad does not implement a buffer alloc
7337 function, we should still check if the pad is flushing before falling
7338 back to the default allocator.
7340 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7342 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7343 Make all uses of identity and fakesink have silent=true to avoid
7344 serialising every passing data structure, which is breaking tests
7345 on FC4 for some unknown reason.
7347 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7349 * gst/parse/Makefile.am:
7350 * gst/parse/grammar.y:
7351 * gst/parse/parse.l:
7352 Reverted previous patch as it required to bump the flex dependency to
7353 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7355 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7357 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7359 * gst/parse/Makefile.am:
7360 * gst/parse/grammar.y:
7361 * gst/parse/parse.l:
7362 push & pop the state of the lexer for reentrant use case
7365 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7367 * libs/gst/base/gstbasesrc.h:
7368 Note in the docs that the ::newsegment vfunc is not actually used by
7371 2006-07-28 Wim Taymans <wim@fluendo.com>
7373 * libs/gst/base/gstcollectpads.c:
7374 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7375 (gst_collect_pads_clear), (gst_collect_pads_flush),
7376 (gst_collect_pads_event), (gst_collect_pads_chain):
7377 When flushing a pad, also clear the queued buffer so that we don't
7378 accidentally use it when we shouldn't.
7379 Fix leaks by inreffing incomming buffer.
7380 Flush out queued buffers in case of errors.
7383 2006-07-28 Wim Taymans <wim@fluendo.com>
7385 * docs/random/phonon-gst:
7386 Random notes about a Phonon backend.
7388 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7390 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7392 * tests/check/libs/gdp.c: (gst_dp_suite):
7393 Take a whack at fixing the ppc compile using a different define to
7394 disable the broken test.
7396 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7397 Remove excess g_print()
7399 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7401 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7402 Oops, meant to uncomment this line too to dampen the noise a bit.
7404 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7406 * gst/parse/grammar.y:
7407 * gst/parse/parse.l:
7408 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7409 (GST_START_TEST), (parse_suite):
7410 Fix some of the leaks exposed by extending the parse-launch testsuite,
7411 and move the 3 I can't figure out into a separate test that won't run
7412 the pipelines unless the appropriate line is uncommented.
7414 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7416 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7417 Requesting 0 bytes before the end of the file should result in
7418 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7421 2006-07-27 Wim Taymans <wim@fluendo.com>
7423 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7424 Fix useless assert, a uint is always positive.
7426 * gst/gststructure.c: (gst_structure_nth_field_name),
7427 (gst_structure_foreach), (gst_structure_map_in_place):
7428 Check input arguments for public functions to avoid obvious crashes.
7430 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7431 * plugins/elements/gstfakesink.h:
7432 Do less useless typechecking.
7434 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7436 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7437 Do not use mmap() by default since there are a number of error
7438 conditions that we would like to handle in a non-fatal way that
7439 will result in a SIGBUS if we use mmap(). Examples: external
7440 devices (USB harddrive, portable music player) being unplugged
7441 while in use; file on mounted CD/DVD that can't be read because
7442 the medium is partly damaged. Fixes #348455 and #348475.
7444 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7447 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7450 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7452 * gst/gstregistry.c:
7453 Move big documentation comment into class section header, so that it
7454 appears in the API docs.
7456 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7458 * docs/gst/gstreamer-sections.txt:
7459 Oops. Commit the docs additions too for new API.
7460 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7462 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7464 * gst/gststructure.c: (gst_structure_id_set),
7465 (gst_structure_id_set_valist):
7466 * gst/gststructure.h:
7467 Add API for setting values into structures without performing
7468 a quark lookup, if the appropriate quark is already known.
7470 API: gst_structure_id_set
7471 API: gst_structure_id_set_valist
7473 * gst/parse/grammar.y:
7474 * gst/parse/parse.l:
7475 Remove some dead code shown by the coverage information.
7476 Don't throw a critical g_warning when encountering a syntax error,
7477 just warn and let the normal error path handle it.
7479 * plugins/elements/gstelements.c:
7480 Bump the rank of filesink up to PRIMARY so that it is preferred over
7481 gnomevfssink for file:// sink uri's
7483 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7484 (GST_START_TEST), (run_delayed_test),
7485 (gst_parse_test_element_base_init),
7486 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7487 (gst_parse_test_element_change_state),
7488 (gst_register_parse_element), (parse_suite):
7489 Beef up the tests for parse syntax to check that more error cases
7490 fail as they are supposed to. Increases the test coverage a bit.
7492 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7494 * docs/manual/basics-elements.xml:
7495 Fix gst_element_link() example.
7498 Mention in API docs that one should usually gst_bin_add()
7499 elements to a bin or pipeline before doing the linking.
7501 2006-07-26 Wim Taymans <wim@fluendo.com>
7503 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7504 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7505 Avoid function call for known types by keeping the buffer and
7506 subbuffer GType global.
7508 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7509 Random silly optimisations in read() path.
7511 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7513 * tools/gst-launch.c: (main):
7514 If the top-level of the parse is a normal bin, it doesn't do the
7515 right logic to run as a top-level element, so place it inside a
7518 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7520 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7521 Remove superfluous g_object_notify() calls, GObject does
7522 that for us automatically.
7524 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7527 on Win32, use dllspec to export the debug category symbols
7529 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7531 * gst/gsttaglist.c: (_gst_tag_initialize):
7532 Allow more than one GST_TAG_IMAGE per taglist.
7534 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7536 * gst/gstminiobject.c:
7538 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7539 (gst_fd_src_create):
7540 log recurring events at LOG level
7541 add more debug for when the fd gets set
7543 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7545 * gst/gstparse.c: (gst_parse_launch):
7546 Also remove reentrance checks if flex is MT safe (#348179)
7547 Fix my empty ChangeLog entry below
7549 2006-07-21 Andy Wingo <wingo@pobox.com>
7551 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7553 * libs/gst/check/Makefile.am
7554 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7555 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7556 * libs/gst/check/gstbufferstraw.h:
7557 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7558 functions, thus proving I am still a GStreamer haxor. OK I wrote
7559 them a long time ago, but anyways.
7561 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7564 * gst/gstparse.c: (gst_parse_launch):
7565 Check for flex version and omit mutex if we have a MT save flex
7568 2006-07-21 Wim Taymans <wim@fluendo.com>
7570 * gst/gstparse.c: (gst_parse_launch):
7571 Protect recursive calls to _parse with a recursive mutex
7574 2006-07-21 Wim Taymans <wim@fluendo.com>
7576 * tests/check/gst/gstpad.c: (GST_START_TEST):
7579 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7581 * gst/gstparse.c: (gst_parse_launch):
7582 Do not hang on recursive usage of gst_parse_launch()
7584 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7587 Add some more docs, comments and FIXME 0.11s here and there
7588 and also fix some typos.
7590 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7593 Convert tabs to spaces for better readability.
7595 2006-07-20 Edward Hervey <edward@fluendo.com>
7597 * tests/check/libs/gdp.c: (gst_dp_suite):
7598 the test_buffer test fails at line 140 on ppc64 at the following
7600 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7601 GST_BUFFER_FLAG_IN_CAPS),
7602 "GST_BUFFER_IN_CAPS flag should have been copied !");
7603 See bug #348114 for more details.
7605 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7607 * docs/pwg/advanced-scheduling.xml:
7609 Fix typos (#348000).
7611 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7613 * docs/pwg/intro-basics.xml:
7614 Fix wrong links (#347927).
7616 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7618 * gst/gstregistry.h:
7619 * gst/gstregistryxml.c: (load_feature),
7620 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7621 * win32/common/config.h:
7622 make --disable-index work (#342564)
7624 2006-07-18 Wim Taymans <wim@fluendo.com>
7626 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7630 The attached patch adds two missing defines to gsttrace.h when tracing
7631 is disabled. It also corrects one existing define.
7634 2006-07-17 Wim Taymans <wim@fluendo.com>
7636 * docs/gst/gstreamer-sections.txt:
7637 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7639 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7640 Add two functions to check and change the SIGSEGV behaviour
7641 when loading plugins.
7642 Don't mess with the SIGSEGV handler when we were told not to.
7644 API: gst_segtrap_is_enabled
7645 API: gst_segtrap_set_enabled
7647 2006-07-14 Wim Taymans <wim@fluendo.com>
7649 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7650 * tests/check/elements/filesrc.c: (GST_START_TEST):
7651 Revert fix for regression in #347408 after release.
7653 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7655 Patch by: Antoine Tremblay <hexa00 at gmail com>
7657 * gst/gstutils.c: (gst_element_unlink):
7658 Free iterator when done (#347311).
7660 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7661 And add a test case for this.
7663 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7666 Bump nano back to CVS
7668 === release 0.10.9 ===
7670 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7673 releasing 0.10.9, "On the road again"
7675 2006-07-13 Wim Taymans <wim@fluendo.com>
7677 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7678 * tests/check/elements/filesrc.c: (GST_START_TEST):
7679 Revert pull-0 fix for release. Disable check. Fixes #347408.
7681 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7683 * libs/gst/dataprotocol/dataprotocol.c:
7684 (gst_dp_event_from_packet_1_0):
7685 Fixes #347337: failure to deserialize event packets with
7686 empty payload (only event type)
7688 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7691 do not install a .c file in the header directory
7693 2006-07-13 Edward Hervey <edward@fluendo.com>
7695 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7696 GhostPad no longer implicitely use the padtemplates of the targets.
7699 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7701 * gst/gstvalue.c: (gst_value_compare_list),
7702 (gst_value_compare_array), (_gst_value_initialize):
7703 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7704 Make GstValueArray comparison be order dependent as designed.
7705 Add checks for value lists and value array comparisons.
7708 2006-07-11 Edward Hervey <edward@fluendo.com>
7710 * gst/gstbin.c: (activate_pads),
7711 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7712 (gst_bin_change_state_func):
7713 (de)activate src pads before calling state_change on the childs.
7714 This is to avoid the case where a src ghostpad is blocked (holding the
7715 stream lock), which would block the deactivation of the ghostpad's
7717 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7718 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7719 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7720 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7721 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7722 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7723 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7724 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7725 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7726 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7727 (gst_ghost_pad_class_init),
7728 (gst_ghost_pad_internal_do_activate_push),
7729 (gst_ghost_pad_internal_do_activate_pull),
7730 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7731 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7732 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7733 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7734 GhostPads now create their internal GstProxyPad at creation (and not
7735 when they're linked, as it was being done previously).
7736 The internal and target pads are linked straight away.
7737 The data will also travel through the other pad in order to make
7738 pad blocking and probes non-hackish (the probe/block now really happens
7739 on the GhostPad and not on the target).
7740 * gst/gstpad.c: (gst_pad_set_blocked_async),
7741 (gst_pad_link_prepare), (gst_pad_push_event):
7742 Remove previous ghostpad cruft.
7743 * gst/gstutils.c: (gst_pad_add_data_probe),
7744 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7745 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7746 (gst_pad_remove_buffer_probe):
7747 Remove previous ghost pad cruft.
7748 Added more detailed debug statements.
7749 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7750 Fix the testsuite for refcounting changes.
7751 The comments about who has references were correct, but the refcount
7752 being checked wasn't the same (!?!).
7756 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7758 * docs/gst/gstreamer-sections.txt:
7759 * gst/gstconfig.h.in:
7760 More docs for configuration options, add docs to gtk-doc.
7762 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7765 * gst/gstconfig.h.in:
7766 * win32/common/config.h:
7767 Fix build when disabling tracing (fixes #344016). Also start to document
7768 the defines that disable the sub-systems.
7770 2006-07-10 Edward Hervey <edward@fluendo.com>
7772 * gst/gst.c: (ensure_current_registry_forking):
7773 let's make valgrind happy...
7775 2006-07-09 Wim Taymans <wim@fluendo.com>
7777 * gst/gstelement.c: (activate_pads),
7778 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7779 Better pad activation code: Reset the collect value too on resync.
7782 2006-07-09 Wim Taymans <wim@fluendo.com>
7784 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7785 (gst_pad_activate_push):
7786 Use some more macros where it makes sense.
7787 Allow pad mode switching instead of asserting. When a pad
7788 is activated in one mode and we activate it in another,
7789 deactivate it first before activating it in a different mode.
7792 2006-07-08 Andy Wingo <wingo@pobox.com>
7794 * tools/gst-launch.c (main): Handle err == NULL.
7796 * gst/gst.c (init_post, ensure_current_registry)
7797 (ensure_current_registry_forking)
7798 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7799 factoring out the registry scanning into separate functions. Don't
7800 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7801 Better environment var name/interface suggestions accepted.
7803 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7805 * gst/gstobject.c: (gst_object_set_name_default),
7806 (gst_object_set_name):
7807 Random micro-optimisation: don't use a hash table
7808 with strings as keys and the usual strdup/strcmp
7809 involved, but rather just use the GQuark of the
7810 type name as key, since it needs to be looked up
7811 anyway to get the type name string.
7813 * tests/check/gst/gstobject.c: (GST_START_TEST):
7816 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7818 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7819 (gst_bin_iterate_all_by_interface):
7820 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7821 GTypes are gulongs and thus the top 4 bytes might be cut
7822 off on some platforms when doing GPOINTER_TO_INT, leading
7823 to invalid GTypes and bad things happening (see RH bug #179654).
7824 Also add a check to make sure the type passed in is really
7827 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7832 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7836 * gst-element-check.m4:
7837 * gst-element-check.m4.in:
7838 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7839 instead of the unversioned gst-inspect (#324176, #168659).
7841 2006-07-06 Wim Taymans <wim@fluendo.com>
7844 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7847 2006-07-06 Wim Taymans <wim@fluendo.com>
7849 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7850 (gst_base_src_wait), (gst_base_src_update_length),
7851 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7852 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7853 (gst_base_src_loop), (gst_base_src_start),
7854 (gst_base_src_activate_pull):
7856 blocksize == 0 now means the default blocksize when working in push
7858 Remove some pointless asserts in _wait function.
7859 Fix offset/length calculations and EOS handling. We can now pull 0
7860 bytes as well, which is allowed.
7861 use _check_get_range() to decide if we can operate in _pull based
7863 Fix refcounting leak when check_get_range function was not
7865 API GstBaseSrc::blocksize range can be 0 too now (default)
7867 * tests/check/elements/filesrc.c: (GST_START_TEST),
7869 Added check to test _get_range() behaviour.
7871 2006-07-06 Wim Taymans <wim@fluendo.com>
7873 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7874 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7875 (gst_pad_pull_range):
7877 Lots of comments and docs added to the pad functions.
7878 Flesh out the expected behaviour of the get_range() functions.
7880 2006-07-06 Wim Taymans <wim@fluendo.com>
7885 * gst/gstiterator.h:
7889 Remove comma at end of enumerator list.
7891 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7893 * win32/common/libgstbase.def:
7894 * win32/common/libgstdataprotocol.def:
7895 * win32/common/libsgtreamer.def:
7896 Add new exported functions.
7898 2006-07-05 Wim Taymans <wim@fluendo.com>
7900 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7901 Add some more docs here and there.
7903 2006-07-05 Wim Taymans <wim@fluendo.com>
7905 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7906 (gst_base_sink_loop), (gst_base_sink_get_position):
7907 When operating in pull mode update the offset so that we
7910 2006-07-05 Wim Taymans <wim@fluendo.com>
7912 * gst/gstregistryxml.c: (read_string):
7913 Avoid strdup. (will happen in libxml, but hey!)
7918 2006-07-05 Wim Taymans <wim@fluendo.com>
7920 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7921 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7923 No point in checking if the size of the subbuffer > 0, the
7924 code handles it correclty as demonstrated by unit test.
7925 Also add a unit test for the zero sized _new_and_alloc and
7926 _copy. Fixes #346663.
7928 2006-07-05 Wim Taymans <wim@fluendo.com>
7930 * libs/gst/base/gstbasetransform.c:
7931 (gst_base_transform_prepare_output_buffer),
7932 (gst_base_transform_buffer_alloc),
7933 (gst_base_transform_handle_buffer):
7934 Make sure the buffer we pass to transform_ip has a refcount of
7935 1 and thus is writable. Fixes #343196
7937 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7939 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7940 (gst_file_src_init), (gst_file_src_set_property),
7941 (gst_file_src_get_property), (gst_file_src_map_region):
7942 * plugins/elements/gstfilesrc.h:
7943 Add "sequential" property, off by default, to use madvise and hint
7944 to the kernel that sequential access is desired.
7945 Touch all retrieved pages by default to ensure they are pulled
7946 into memory. (Closes #345720)
7948 2006-07-03 Wim Taymans <wim@fluendo.com>
7950 * docs/design/part-block.txt:
7951 * docs/design/part-dynamic.txt:
7954 2006-07-03 Wim Taymans <wim@fluendo.com>
7956 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7957 (gst_caps_unref), (gst_static_caps_get),
7958 (gst_caps_append_structure):
7959 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7960 Use GSlice when the glib we build against is >= 2.10
7962 2006-07-03 Wim Taymans <wim@fluendo.com>
7964 * gst/gstelement.c: (gst_element_pads_activate):
7965 Small cleanup in pad activation code.
7967 2006-07-03 Wim Taymans <wim@fluendo.com>
7969 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7971 * gst/gst-i18n-app.h:
7972 * gst/gst-i18n-lib.h:
7973 * tools/gst-inspect.c: (print_signal_info):
7974 The attached patch will make the inclusion of gettext.h unconditional in
7975 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7976 libintl.h in tools/gst-inspect.c.
7977 This allows use of --disable-nls again and fixes #344642.
7979 2006-07-03 Edward Hervey <edward@fluendo.com>
7981 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7982 Implement pad blocking on events according to part-block.txt.
7983 More comments on behaviour.
7984 * tests/check/gst/gstevent.c: (test_event):
7985 Send event to peer pad of blocked pad (else it will block).
7987 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7989 * libs/gst/check/gstcheck.c: (gst_check_message_error),
7990 (gst_check_run_suite):
7991 if we get the wrong message, give us the types as string
7992 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7994 * tests/check/elements/filesrc.c: (GST_START_TEST):
7995 add a test for trying to open a non-existing file
7997 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7999 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8000 add a test for adding self
8002 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8004 * libs/gst/check/gstcheck.h:
8005 add some assert_ as alias for fail_unless_*
8006 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8007 increase test coverage
8009 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8012 include lcov.mak for lcov coverage generation
8013 * tools/Makefile.am:
8016 2006-07-02 Edward Hervey <edward@fluendo.com>
8018 * tests/check/elements/.cvsignore:
8021 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8024 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8025 * tests/check/Makefile.am:
8028 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8030 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8031 remove gst_caps_simplify; it was not declared and not used
8032 and deprecated in 0.8
8034 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8036 * docs/faq/gst-uninstalled:
8037 don't put empty paths on PYTHONPATH
8038 * docs/gst/gstreamer-sections.txt:
8039 remove some symbols that are not there
8041 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8043 * gst/gstcaps.c: (gst_caps_compare_structures):
8045 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8046 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8049 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8051 * libs/gst/dataprotocol/Makefile.am:
8052 build dataprotocol test by linking to the lib, instead of
8053 compiling the source, so we get coverage
8054 * tests/check/Makefile.am:
8055 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8056 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8057 add a test for filesrc
8059 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8061 * tests/check/gst/gststructure.c: (GST_START_TEST),
8062 (gst_structure_suite):
8063 Push coverage from 59.04% to 70.00%
8065 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8067 * tests/check/Makefile.am:
8068 gst-inspect every element; this makes sure that we also get
8069 coverage on element's get/set functions
8071 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8074 set CFLAGS and friends to -O0 if gcov is being used
8077 * libs/gst/base/Makefile.am:
8078 * libs/gst/check/Makefile.am:
8079 * libs/gst/controller/Makefile.am:
8080 * libs/gst/dataprotocol/Makefile.am:
8081 * libs/gst/net/Makefile.am:
8082 * plugins/elements/Makefile.am:
8083 * plugins/indexers/Makefile.am:
8084 add makefile rules to generate gcov data and clean up
8085 * tests/check/Makefile.am:
8086 add a coverage target that generates an html overview
8089 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8091 * tests/check/elements/fakesink.c:
8092 * tests/check/elements/fakesrc.c:
8093 * tests/check/elements/fdsrc.c:
8094 * tests/check/elements/identity.c:
8095 * tests/check/generic/sinks.c: (gst_sinks_suite):
8096 * tests/check/generic/states.c:
8097 * tests/check/gst/gst.c:
8098 * tests/check/gst/gstabi.c:
8099 * tests/check/gst/gstbin.c:
8100 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8101 * tests/check/gst/gstbus.c: (gst_bus_suite):
8102 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8103 * tests/check/gst/gstelement.c:
8104 * tests/check/gst/gstevent.c: (gst_event_suite):
8105 * tests/check/gst/gstghostpad.c:
8106 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8107 * tests/check/gst/gstmessage.c: (gst_message_suite):
8108 * tests/check/gst/gstminiobject.c:
8109 * tests/check/gst/gstobject.c:
8110 * tests/check/gst/gstpad.c:
8111 * tests/check/gst/gstpipeline.c:
8112 * tests/check/gst/gstplugin.c:
8113 * tests/check/gst/gstquery.c: (gst_query_suite):
8114 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8115 * tests/check/gst/gststructure.c:
8116 * tests/check/gst/gstsystemclock.c:
8117 * tests/check/gst/gsttag.c:
8118 * tests/check/gst/gsttask.c: (gst_task_suite):
8119 * tests/check/gst/gstutils.c:
8120 * tests/check/gst/gstvalue.c:
8121 * tests/check/libs/adapter.c:
8122 * tests/check/libs/basesrc.c:
8123 * tests/check/libs/collectpads.c:
8124 * tests/check/libs/controller.c:
8125 * tests/check/libs/gdp.c: (gst_dp_suite):
8126 * tests/check/libs/gstnetclientclock.c:
8127 * tests/check/libs/gstnettimeprovider.c:
8128 * tests/check/libs/libsabi.c: (libsabi_suite):
8129 * tests/check/libs/typefindhelper.c:
8130 * tests/check/pipelines/cleanup.c:
8131 * tests/check/pipelines/parse-launch.c:
8132 * tests/check/pipelines/simple-launch-lines.c:
8133 * tests/check/pipelines/stress.c: (stress_suite):
8136 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8138 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8139 * libs/gst/check/gstcheck.h:
8140 create a macro and function so that the simple unit test
8141 case can be just one macro to create main()
8143 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8145 * gst/gstbin.c: (gst_bin_restore_thyself):
8146 * gst/gstxml.c: (gst_xml_make_element):
8147 Fix deserialisation from XML. Set parent manually
8148 instead of using gst_bin_add(), since gst_bin_add()
8149 will unlink all pads of the element being added.
8152 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8154 Patch by: Peter Kjellerstedt <pkj at axis com>
8156 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8157 Fix missing g_strdup() and double free when using the
8158 --gst-plugin-load command line option (#346097).
8160 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8163 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8165 * libs/gst/net/gstnetclientclock.c:
8166 * libs/gst/net/gstnettimeprovider.c:
8167 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8169 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8171 * docs/manual/advanced-dataaccess.xml:
8172 Fix buffer probe example compilation in
8175 2006-06-22 Edward Hervey <edward@fluendo.com>
8177 * gst/gstelement.c: (gst_element_pads_activate):
8178 We need to deactivate src pads first and then sink pads.
8179 The reason is the src pads might be blocking while holding the streaming
8180 lock, so we need to deactivate them first so that deactivating the sink
8181 pads doesn't block (since it will require the streaming lock).
8183 2006-06-22 Wim Taymans <wim@fluendo.com>
8185 * libs/gst/base/gstbasetransform.c:
8186 (gst_base_transform_buffer_alloc):
8187 Forgot to remove two unneeded unrefs.
8188 Simplify a check _is_equal allready checks the obvious case.
8190 2006-06-22 Wim Taymans <wim@fluendo.com>
8192 * docs/design/part-block.txt:
8193 Some docs about what pad_block should do.
8195 2006-06-22 Wim Taymans <wim@fluendo.com>
8197 * gst/gstcaps.c: (gst_caps_replace):
8198 Fix crasher when passed NULL. Doc clarification.
8199 Optimize for the trivial case.
8201 * gst/gstpipeline.c: (gst_pipeline_change_state):
8204 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8205 Small documentation cleanup.
8207 * libs/gst/base/gstbasetransform.c:
8208 (gst_base_transform_buffer_alloc):
8209 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8210 is what we need and it avoids a whole lot of redundant
8211 refcount operations.
8213 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8215 Patch by: Philip Jägenstedt <philip at lysator liu se>
8217 * docs/manual/advanced-dataaccess.xml:
8218 Fix 'Embedding static elements' section to use
8219 GST_PLUGIN_DEFINE_STATIC (#345607).
8221 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8223 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8224 Attempt to 'fix' spuriously failing test case: it seems like the
8225 timeout of half a second is simply too small when the system is under
8226 load otherwise, and the timeout doesn't really seem to serve any
8227 particular purpose here. Give the pipeline a few seconds to preroll
8228 first, and then give it another half a second to go from PAUSED to
8229 PLAYING and marshal the message into the main thread.
8231 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8233 * tools/gst-feedback-m.m:
8234 Don't only use unversioned tools, try versioned tools as well
8237 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8239 * gst/gstbus.c: (gst_bus_class_init):
8240 Fix some typos, make docs more explicit.
8242 2006-06-20 Wim Taymans <wim@fluendo.com>
8244 * tests/check/gst/gstghostpad.c: (block_callback),
8245 (GST_START_TEST), (gst_ghost_pad_suite):
8246 Added some more ghostpad tests, mainly blocking
8249 2006-06-16 Wim Taymans <wim@fluendo.com>
8251 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8252 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8253 (gst_file_sink_event), (gst_file_sink_render):
8254 * plugins/elements/gstfilesink.h:
8255 Check if we can seek in the file instead of assuming
8256 we always can. Post an error when we are asked to seek in a
8257 non-seekable file (like a fifo). Fixes #343312.
8260 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8262 * tools/gst-launch.1.in:
8263 Un-garble (fourcc) bit in filtered caps section.
8265 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8267 * docs/manual/advanced-autoplugging.xml:
8268 * docs/manual/basics-helloworld.xml:
8269 * docs/manual/highlevel-components.xml:
8270 Don't leak bus reference in sample code.
8272 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8275 Add default for new --enable-plugin-docs switch.
8278 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8282 Use new ENABLE_PLUGIN_DOCS conditional.
8284 2006-06-14 Wim Taymans <wim@fluendo.com>
8286 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8287 Make it clear with a FIXME and a real define what the #if 0
8288 previously disabled.
8290 2006-06-14 Wim Taymans <wim@fluendo.com>
8292 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8293 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8294 * libs/gst/base/gstbasetransform.c:
8295 (gst_base_transform_sink_eventfunc):
8296 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8297 Don't randomly and silently reset a segment when the format
8298 changes as this is a bug somewhere upstream. Fixes #330379.
8300 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8302 Patch by: Wouter Paesen <wouter at kangaroot net>
8304 * libs/gst/controller/gstcontroller.c:
8305 (gst_controlled_property_new):
8306 Fix controlling of float properties (#344849).
8308 * tests/check/libs/controller.c:
8309 (gst_test_mono_source_get_property),
8310 (gst_test_mono_source_set_property),
8311 (gst_test_mono_source_class_init), (GST_START_TEST):
8312 While we're at it, add some float stuff to unit test.
8314 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8317 * docs/images/gdp-header.svg:
8319 * docs/libs/Makefile.am:
8320 * docs/libs/gdp-header.png:
8321 * libs/gst/dataprotocol/dataprotocol.c:
8322 add it to the API docs
8323 * docs/manual/intro-motivation.xml:
8326 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8328 * gst/gst.c: (scan_and_update_registry), (init_post):
8329 If the fork()'ed child process can't write the updated registry cache
8330 file to disk for some reason, make it exit with a failure exit code,
8331 so that the parent can then re-scan the plugins itself and update the
8332 registry structures in memory and work with that (rather than failing
8333 when creating elements because seemingly no plugins are available).
8334 Refactor registry scanning code into separate function for this and
8335 also separate fork() and non-fork() code paths. Fixes #344748.
8337 2006-06-13 Wim Taymans <wim@fluendo.com>
8339 * docs/manual/advanced-dataaccess.xml:
8340 Fix wrong PluginDesc. Fixes #344755.
8342 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8344 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8345 Fix silly bug that prevented us from creating
8346 ~/.gstreamer-0.10 and writing the registry in one
8347 go (the first call to g_mkstemp() would overwrite the
8348 placeholder in the template string, so the second call
8349 to g_mkstemp() after creating the missing directory
8350 would then error out with 'invalid argument').
8352 2006-06-13 Edward Hervey <edward@fluendo.com>
8354 * gst/gst.c: (init_post):
8357 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8359 * gst/glib-compat-private.h:
8360 * gst/glib-compat.c:
8361 * gst/glib-compat.h:
8362 * gst/gstvalue.c: (gst_value_serialize_flags):
8363 remove GLib 2.6 compatibility code
8365 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8367 * gst/parse/Makefile.am:
8368 Fix build with 'make -j N' even more (#340016).
8370 2006-06-12 Wim Taymans <wim@fluendo.com>
8372 * docs/gst/gstreamer-sections.txt:
8375 2006-06-12 Wim Taymans <wim@fluendo.com>
8377 * gst/gstsegment.c: (gst_segment_set_duration),
8378 (gst_segment_set_last_stop), (gst_segment_set_seek),
8379 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8380 (gst_segment_to_running_time), (gst_segment_clip):
8381 Use G_UNLIKELY to help the compiler a bit.
8383 2006-06-12 Wim Taymans <wim@fluendo.com>
8385 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8387 * gst/gstevent.c: (gst_event_get_type):
8389 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8391 constify quark registration strings. Fixes #344115
8392 Avoid unneeded type checking is _pad_push() by internally
8393 calling gst_pad_chain_unchecked().
8395 2006-06-12 Wim Taymans <wim@fluendo.com>
8397 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8398 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8399 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8400 (gst_buffer_is_span_fast), (gst_buffer_span):
8401 Init _type for consistency.
8402 Use _FLAGS macro to avoid type check.
8403 Avoid unneeded type checks in subbufer code.
8405 2006-06-12 Wim Taymans <wim@fluendo.com>
8407 * gst/gst.c: (gst_debug_help):
8408 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8409 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8410 (gst_plugin_feature_list_free):
8411 * gst/gstregistry.c: (gst_registry_add_plugin),
8412 (gst_registry_add_feature), (gst_registry_plugin_filter),
8413 (gst_registry_feature_filter), (gst_registry_find_plugin),
8414 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8415 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8416 * gst/gstregistryxml.c: (load_feature),
8417 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8418 * gst/gstminiobject.c: (gst_mini_object_unref),
8419 (gst_mini_object_replace), (gst_value_mini_object_free),
8420 (gst_value_mini_object_copy):
8421 Use _CAST macros to avoid unneeded type checking.
8422 Added some more G_UNLIKELY.
8424 2006-06-12 Wim Taymans <wim@fluendo.com>
8427 Avoid unneeded type checking.
8428 API: GST_BUFFER_IS_DISCONT
8430 * gst/gstminiobject.h:
8431 Avoid type check in flag accessor.
8433 * gst/gstelementfactory.h:
8435 * gst/gstpluginfeature.h:
8437 API: GST_ELEMENT_FACTORY_CAST
8438 API: GST_PLUGIN_CAST
8439 API: GST_PLUGIN_FEATURE_CAST
8441 2006-06-12 Wim Taymans <wim@fluendo.com>
8443 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8445 Add G_UNLIKELY in type registration.
8446 Avoid type check in _ref/_unref since that is also
8449 2006-06-12 Wim Taymans <wim@fluendo.com>
8451 * gst/gsterror.c: (gst_g_error_get_type):
8452 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8453 (gst_static_pad_template_get_type):
8454 * gst/gsttaglist.c: (gst_tag_list_get_type):
8455 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8456 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8457 * gst/gsturi.c: (gst_uri_handler_get_type):
8458 * gst/gstvalue.c: (gst_date_get_type):
8459 * gst/gstxml.c: (gst_xml_get_type):
8460 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8461 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8462 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8463 Add G_UNLIKELY in type registration.
8465 2006-06-12 Wim Taymans <wim@fluendo.com>
8467 * tools/gst-inspect.c: (print_signal_info):
8468 Properly print enum values.
8470 2006-06-12 Wim Taymans <wim@fluendo.com>
8472 * gst/gstinfo.c: (gst_debug_set_active),
8473 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8475 Add some G_[UN]LIKELY.
8476 Maintain __gst_debug_min to avoid formatting the arguments of
8477 debug messages that will be dropped anyway to avoid a lot of
8478 overhead from the debugging system.
8480 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8484 add missing files containing translatable strings, tell intltool about
8487 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8489 * tests/check/libs/.cvsignore:
8490 add test-binary to ignore list
8492 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8494 * docs/libs/gstreamer-libs-docs.sgml:
8495 reorder (put dp into a chapter) and indent
8497 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8502 === release 0.10.8 ===
8504 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8507 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8509 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8511 * gst/gst.c: (init_post):
8512 move pid declaration to declaration block
8514 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8516 * gst/gst.c: (init_post):
8517 use _exit() instead of exit() in our forked child; this ensures
8518 that none of the registered exit handlers from whatever is using
8519 GStreamer get executed. This fixes gnome-mixer-applet failing
8520 to load, because ORBit would shut down.
8521 Spotted by: Edward Hervey <edward@fluendo.com>
8522 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8525 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8530 === release 0.10.7 ===
8532 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8535 releasing 0.10.7, "Soepeke, ik zie ou"
8537 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8560 * win32/common/config.h:
8563 2006-06-07 Wim Taymans <wim@fluendo.com>
8565 * gst/gstindex.c: (gst_index_gtype_resolver):
8566 * tools/gst-xmlinspect.c: (print_plugin_info):
8567 Fix leak spotted by coverity checker. Fixes #343827
8568 Fix another other leak found by paolo borelli.
8570 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8572 * libs/gst/dataprotocol/dataprotocol.c:
8573 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8574 (gst_dp_version_get_type), (gst_dp_init),
8575 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8576 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8577 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8578 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8579 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8580 (gst_dp_packetizer_free):
8581 * libs/gst/dataprotocol/dataprotocol.h:
8582 API: add a GstDPPacketizer object, and create/free functions
8583 API: add GstDPVersion enum
8584 Add 1.0 event function that uses the string serialization
8585 Serialize more useful buffer flags
8588 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8590 * tests/check/Makefile.am:
8591 * tests/check/gst/gstabi.c:
8592 * tests/check/gst/struct_ppc64.h:
8593 * tests/check/libs/libsabi.c:
8594 * tests/check/libs/struct_ppc64.h:
8595 add ppc64 structure sizes
8597 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8599 * tests/check/Makefile.am:
8600 * tests/check/gst/gstabi.c:
8601 * tests/check/gst/struct_x86_64.h:
8602 * tests/check/libs/libsabi.c:
8603 * tests/check/libs/struct_x86_64.h:
8604 generate and add structure size lists for x86_64
8606 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8608 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8609 * libs/gst/check/gstcheck.h:
8610 factor out the method from tests that checks size of structures,
8611 and add code to generate the header containing these sizes
8612 * tests/check/gst/gstabi.c: (GST_START_TEST):
8613 * tests/check/gst/struct_i386.h:
8614 * tests/check/libs/libsabi.c: (GST_START_TEST):
8615 * tests/check/libs/struct_i386.h:
8618 2006-06-06 Michael Smith <msmith@fluendo.com>
8621 Don't use c++-style comments, fixes #343929
8623 2006-06-05 Edward Hervey <edward@fluendo.com>
8626 plugin_paths is not used if we build without registry support.
8628 * gst/gstsegment.c: (gst_segment_copy):
8629 _copy() was always returning NULL...
8631 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8633 * libs/gst/dataprotocol/dataprotocol.c:
8634 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8635 (gst_dp_packet_from_event):
8638 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8640 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8641 make sure we unset caps
8643 2006-06-02 Michael Smith <msmith@fluendo.com>
8645 * libs/gst/check/gstcheck.c: (gst_check_init),
8646 (gst_check_chain_func):
8647 * libs/gst/check/gstcheck.h:
8648 Add a cond/mutex to the check support lib, signal this whenever we
8649 add to the buffers list. This will allow tests to not busy-wait on
8652 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8654 * libs/gst/dataprotocol/dataprotocol.c:
8655 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8656 (gst_dp_packet_from_event):
8657 factor out some common header init code
8659 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8661 * docs/libs/gstreamer-libs-sections.txt:
8662 * docs/libs/tmpl/gstdataprotocol.sgml:
8663 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8664 * libs/gst/dataprotocol/dataprotocol.h:
8665 API: make gst_dp_crc() public
8667 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8669 * plugins/indexers/gstindexers.c: (plugin_init):
8670 conditionally register fileindexer (fixes #343598)
8672 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8674 * gst/gsttagsetter.h:
8675 Can't cast ifaces to a class
8677 * libs/gst/net/gstnetclientclock.h:
8678 * libs/gst/net/gstnettimeprovider.h:
8679 * plugins/elements/gstfakesink.h:
8680 * plugins/elements/gstfakesrc.h:
8681 * plugins/elements/gstfdsink.h:
8682 * plugins/elements/gstfdsrc.h:
8683 * plugins/elements/gstfilesink.h:
8684 * plugins/elements/gstfilesrc.h:
8685 * plugins/elements/gstidentity.h:
8686 * plugins/elements/gstqueue.h:
8687 * plugins/elements/gsttee.h:
8688 * plugins/indexers/gstfileindex.c:
8689 * plugins/indexers/gstmemindex.c:
8690 * tests/old/examples/plugins/example.h:
8691 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8693 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8695 * libs/gst/dataprotocol/dataprotocol.c:
8696 (gst_dp_header_from_buffer):
8697 make sure we zero the whole ABI-compatible area
8699 2006-06-01 Wim Taymans <wim@fluendo.com>
8701 Patch by: Alessandro Decina <alessandro at nnva dot org>
8703 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8704 Make sure the EOS flag is cleared from pads after a flush
8705 or stop. Fixes #343538.
8707 * tests/check/libs/collectpads.c: (GST_START_TEST),
8708 (gst_collect_pads_suite):
8709 Added test for collectpads reusage after EOS.
8711 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8714 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8715 * win32/common/libgstbase.def:
8716 export gst_collect_pads_set_flushing
8717 * win32/common/libgstreamer.def:
8718 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8719 gst_value_fraction_multiply
8720 * win32/vs6/gst_inspect.dsp:
8721 add a link to intl.lib
8723 2006-05-30 Wim Taymans <wim@fluendo.com>
8725 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8726 (gst_collect_pads_chain):
8727 Handle the case where a pad is removed from the collection
8728 that could cause the other pads to become collectable.
8730 2006-05-30 Wim Taymans <wim@fluendo.com>
8733 Clarify the use of _release_request_pad() and
8734 _get_request_pad() a bit better.
8736 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8737 (gst_adapter_take_buffer):
8738 Fix some doc and comment typos.
8740 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8742 * docs/gst/gstreamer-sections.txt:
8743 * docs/libs/gstreamer-libs-sections.txt:
8744 add declared symbols
8746 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8748 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8749 Add debug that can be enabled using a #define at the top of the file,
8750 for dumping stats about how late/early we were when waking up from
8751 waiting on the clock.
8753 2006-05-30 Wim Taymans <wim@fluendo.com>
8755 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8756 When rebuilding the pad list, don't leak the previous list.
8758 2006-05-30 Wim Taymans <wim@fluendo.com>
8760 Patch by: Lutz Mueller <lutz at topfrose dot de>
8762 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8763 (gst_base_src_get_query_types), (gst_base_src_update_length):
8764 Publish supported query types.
8765 Update last_stop field in get_range mode so the position
8766 query works. Fixes #342321.
8768 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8770 * docs/gst/gstreamer-sections.txt:
8771 * gst/gsttaglist.c: (_gst_tag_initialize):
8773 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8775 2006-05-30 Wim Taymans <wim@fluendo.com>
8777 Patch by: Alessandro Decina <alessandro at nnva dot org>
8779 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8780 Unlock mutex when removing an unknown pad.
8783 * tests/check/Makefile.am:
8784 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8785 (push_event), (setup), (teardown), (GST_START_TEST),
8786 (gst_collect_pads_suite), (main):
8787 Added collecpads check, disabled for now as check crashes for
8790 2006-05-29 Wim Taymans <wim@fluendo.com>
8792 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8793 Don't leak pads lists.
8795 2006-05-29 Wim Taymans <wim@fluendo.com>
8797 * docs/libs/gstreamer-libs-sections.txt:
8798 * libs/gst/base/gstcollectpads.c:
8799 (gst_collect_pads_set_flushing_unlocked),
8800 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8801 (gst_collect_pads_stop):
8802 * libs/gst/base/gstcollectpads.h:
8803 API: gst_collect_pads_set_flushing()
8804 Added api to set the pads to flushing, useful for seeking
8805 code in elements using collectpads.
8806 Clear segment when receiving a flush.
8808 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8810 * gst/gst.c: (add_path_func), (init_post):
8811 Don't scan registry paths passed via --gst-plugin-path immediately
8812 (will crash, because absolutely nothing is set up and no types are
8813 registered etc.); do this later in init_post(). Fixes #343057.
8815 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8817 * gst/gst.c: (init_post):
8818 if we have fork, fork while reading/rebuilding the registry
8819 so the parent doesn't take the hit of having all plugins loaded
8820 in memory. Fixes #342777.
8822 Check if we have fork()
8823 * win32/common/config.h.in:
8826 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8828 * plugins/elements/gstelements.c:
8829 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8830 (gst_file_src_init), (gst_file_src_set_property),
8831 (gst_file_src_get_property), (gst_file_src_start):
8832 * plugins/elements/gstfilesrc.h:
8833 API: GstFileSrc::use-mmap
8835 Add a use-mmap property to enable easier testing of all code paths.
8836 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8837 in the absence of gnomevfssrc. (Closes #340501)
8839 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8841 * tools/gst-inspect.c:
8842 Add missing include, removes warning of ngettext not being defined on
8845 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8847 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8848 Handle NULL input and output pointers silently as a failed conversion,
8849 rather than g_warnings.
8851 2006-05-25 Wim Taymans <wim@fluendo.com>
8853 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8854 Initialize variable before using. Fixes #342820.
8856 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8858 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8859 Fix off-by-one bug that would only allow peeks of N-1 bytes
8860 from the start even if the buffer to typefind on contains
8861 in fact N bytes of data (makes vorbis typefinding from a
8862 vorbis identification header buffer work).
8864 * tests/check/Makefile.am:
8865 * tests/check/libs/.cvsignore:
8866 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8867 (gst_typefindhelper_suite), (main), (foobar_typefind),
8869 Add very basic unit test for gst_type_find_helper_for_buffer()
8870 that checks for the problem fixed above.
8872 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8874 * tools/gst-inspect.c: (print_interfaces),
8875 (print_element_properties_info), (print_element_list), (main):
8876 add more translatable strings
8878 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8880 Patch by: Julien Moutte <julien at moutte net>
8882 * docs/gst/gstreamer-sections.txt:
8883 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8885 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8886 (gst_fake_sink_preroll):
8887 * plugins/elements/gstfakesink.h:
8888 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8890 2006-05-23 Wim Taymans <wim@fluendo.com>
8892 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8894 Added _CUSTOM error and success GstFlowReturn that can be
8895 used be elements internally.
8896 Added macro to check for SUCCESS flowreturns.
8897 API: GST_FLOW_CUSTOM_SUCCESS
8898 API: GST_FLOW_CUSTOM_ERROR
8899 API: GST_FLOW_IS_SUCCESS
8901 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8902 Added check for GstFlowReturn sanity.
8904 2006-05-23 Wim Taymans <wim@fluendo.com>
8906 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8908 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8909 (gst_collect_pads_event):
8910 clear/reset segment info in FLUSH_STOP.
8913 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8915 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8916 (gst_collect_pads_check_collected):
8917 Flush queued buffer on _stop(), fixes playing again (#342454)
8919 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8921 * tests/check/gst/gststructure.c: (GST_START_TEST),
8922 (gst_structure_suite):
8923 add a test for a complete structure
8925 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8927 * docs/faq/developing.xml:
8929 * docs/faq/troubleshooting.xml:
8930 * docs/faq/using.xml:
8931 Some minor FAQ updates that won't change the fact that
8932 our FAQ is badly structured, full of information hardly
8933 anyone new to GStreamer needs to know and lacking lots
8934 of information people constantly ask for.
8936 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8938 * gst/gstpad.c: (gst_pad_set_caps):
8939 Short-circuit gst_pad_set_caps if setting the existing
8940 caps pointer again, and avoid printing debug and
8941 reffing/unreffing the caps.
8943 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8944 There's actually no need to set the caps before pushing -
8945 the acceptcaps method will handle it anyway.
8947 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8949 * docs/gst/gstreamer-sections.txt:
8950 * win32/common/libgstreamer.def:
8951 * gst/gstutils.c: (gst_element_seek_simple):
8953 API: add gst_element_seek_simple() (#342238).
8955 2006-05-18 Edward Hervey <edward@fluendo.com>
8957 * gst/gsttypefind.c: (gst_type_find_get_type):
8958 * gst/gsttypefind.h:
8959 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8960 registered for GstTypeFind pointers. This allows wrapping the structure
8961 in bindings (i.e. gst-python).
8963 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8965 * gst/gsttagsetter.c:
8966 Docs additions and fixes (see #339918).
8968 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8970 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8971 The caps intersection algorithm can produce multiple copies of the
8972 caps. Until that is fixed, we need to simplify the result to be
8973 sure whether the allowed caps are fixed or not.
8975 * plugins/elements/gstqueue.c: (gst_queue_init),
8976 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8977 (gst_queue_push_one):
8978 Proxied buffer alloc should not set the caps on the source pad.
8979 When pushing buffers, we always accept the caps change that triggers.
8980 This prevents negotiation errors caused by caps changing mid-stream
8981 and then being refused on our source pad (because upstream is now
8982 refusing those caps).
8984 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8986 * tests/examples/helloworld/helloworld.c: (main):
8987 Must plug audioconvert and audioresample between decoder
8990 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
8992 * gst/gstregistryxml.c: (read_string), (load_pad_template),
8993 (load_feature), (load_plugin):
8994 Allow empty strings for some of the plugin fields so we don't
8995 drop valid plugin entries that were written out correctly
8998 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9000 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9001 Use g_remove and g_rename instead of remove and rename that don't
9002 handle utf8 characters. rename was failing for users who had specific
9003 characters in their name then the registry was built at each
9005 * win32/vs6/gst_inspect.dsp:
9006 * win32/vs6/gst_launch.dsp:
9007 * win32/vs6/libgstbase.dsp:
9008 * win32/vs6/libgstcoreelements.dsp:
9009 * win32/vs6/libgstreamer.dsp:
9010 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9011 build of libgstreamer and clean unused libraries in projects link
9014 2006-05-17 Edward Hervey <edward@fluendo.com>
9016 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9017 The queue is not responsible for pushing an EOS when receiving a fatal
9018 flow error. It's up to the real element driving the pipeline to do that.
9020 2006-05-16 Edward Hervey <edward@fluendo.com>
9022 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9023 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9024 buffer returned a fatal error. It should just send an EOS and stop
9026 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9027 when pushing buffers on the queue and will be able to handle the event.
9029 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9031 * docs/manual/basics-bins.xml:
9032 * docs/manual/basics-init.xml:
9033 Fix typos and minor errors in sample code (#341856).
9035 2006-05-16 Wim Taymans <wim@fluendo.com>
9037 * docs/design/part-qos.txt:
9038 Fix indexes in formulas to make more sense.
9040 2006-05-15 Wim Taymans <wim@fluendo.com>
9042 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9043 Don't report POSITION based on clock time if sync is
9046 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9049 Add cast to make compiler happy - refcount variable was a gint
9050 in GstObject but is a guint in GObject and g_atomic_int_get()
9053 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9055 * gst/parse/Makefile.am:
9056 chain commands using &&, which also makes parallel make work
9058 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9060 * docs/gst/gstreamer-sections.txt:
9066 === release 0.10.6 ===
9068 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9071 releasing 0.10.6, "Take the cannoli"
9073 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9075 * tools/gst-launch.c: (print_tag):
9076 Fix use of uninitialized variable in the hypothetical
9077 case that some broken plugin creates a GST_TAG_IMAGE
9078 tag containing a NULL buffer (#341667).
9080 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9082 * tools/gst-launch.c: (print_tag):
9083 Print something more intelligible for image tags when
9084 using the -t switch (#341556).
9086 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9091 define GST_MAJORMINOR so we have it available in win32/common/config.h
9092 Possibly remove it from our Makefile.am files later
9093 * win32/common/config.h:
9094 * win32/common/config.h.in:
9095 added GST_MAJORMINOR
9096 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9097 * win32/common/gstversion.h:
9100 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9103 Update win32 files listing.
9104 * win32/common/gstversion.h:
9105 Add GST_MAJORMINOR definition.
9106 * win32/common/libgstreamer.def:
9107 Add new exported functions.
9109 2006-05-12 Michael Smith <msmith@fluendo.com>
9111 * gst/gstplugin.c: (gst_plugin_load_file):
9112 If an so file has no plugin entry point, unload the module.
9114 2006-05-11 Wim Taymans <wim@fluendo.com>
9116 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9117 (gst_queue_set_property):
9118 Don't forget to signal the _chain or _loop function
9119 when the queue size or thresholds change since that might
9120 cause them to make progres again.
9122 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9124 * gst/gstclock.c: (gst_clock_class_init):
9125 * gst/gstindex.c: (gst_index_class_init):
9126 * gst/gstobject.c: (gst_object_class_init):
9127 * gst/gstpad.c: (gst_pad_class_init):
9128 * gst/gstpipeline.c: (gst_pipeline_class_init):
9129 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9130 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9131 * libs/gst/base/gstbasetransform.c:
9132 (gst_base_transform_class_init):
9133 * libs/gst/net/gstnetclientclock.c:
9134 (gst_net_client_clock_class_init):
9135 * libs/gst/net/gstnettimeprovider.c:
9136 (gst_net_time_provider_class_init):
9137 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9138 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9139 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9140 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9141 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9142 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9143 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9144 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9145 * plugins/elements/gsttee.c: (gst_tee_class_init):
9146 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9147 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9148 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9150 2006-05-11 Wim Taymans <wim@fluendo.com>
9152 * gst/gstbuffer.c: (_gst_buffer_initialize):
9153 Register subbufer along with the buffer type so that
9154 it does not accidentally gets registered from N
9155 different streaming threads in a non threadsafe way.
9157 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9162 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9163 gst_event_ref() and gst_message_ref() functions again
9164 (ugly hack, please do fix if there's a better way besides
9165 overrides.txt, which doesn't seem to work).
9167 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9169 * libs/gst/check/gstcheck.h:
9170 add an assert for setting state to avoid lots of repetitive code
9173 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9175 * gst/gstvalue.c: (gst_value_serialize_flags):
9176 fix a leak if no flags are set
9177 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9180 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9182 * docs/manual/basics-pads.xml:
9183 Expand a bit on caps and filtered links and update
9184 examples that were still using the no longer existing
9185 gst_pad_link_filtered() (#338206).
9187 2006-05-10 Wim Taymans <wim@fluendo.com>
9189 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9190 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9191 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9192 (gst_collect_pads_stop):
9193 * libs/gst/base/gstcollectpads.h:
9194 No need to call _stop in _finalize.
9195 Iterate the main pad list in _finalize.
9196 Added some more debug.
9197 Free lists and data in the right order.
9198 Also free data whem doing _remove_pad when stopped for
9199 backward compatibility protect ::started with PAD_LOCK as
9202 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9204 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9205 (gst_structure_parse_value):
9207 rename a method so that it actually says what it does better
9209 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9211 * gst/gstevent.c: (_gst_event_initialize):
9212 * gst/gstformat.c: (_gst_format_initialize):
9213 make sure some essential types used by events are registered
9214 as part of gst_init()
9215 * gst/gstvalue.c: (gst_value_serialize_flags):
9216 if no flags are set, serialize them to a value that represents NONE
9217 so that deserializing them works
9218 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9219 add tests for serialization and deserialization of flags
9221 2006-05-10 Wim Taymans <wim@fluendo.com>
9223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9224 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9225 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9226 (gst_collect_pads_event), (gst_collect_pads_chain):
9229 Catch and return errors from the collect function
9230 Refuse data on eos pads.
9232 2006-05-10 Edward Hervey <edward@fluendo.com>
9234 * gst/gstinterface.h:
9235 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9236 GInterface type checking.
9237 They were previously using non-defined macros.
9239 2006-05-09 Wim Taymans <wim@fluendo.com>
9241 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9242 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9243 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9244 (gst_collect_pads_start), (gst_collect_pads_stop),
9245 (gst_collect_pads_peek), (gst_collect_pads_pop),
9246 (gst_collect_pads_available), (gst_collect_pads_read),
9247 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9248 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9249 (gst_collect_pads_chain):
9250 * libs/gst/base/gstcollectpads.h:
9251 Clean up the mess that is collectpads, add comments and
9252 FIXMEs where needed.
9253 Maintain a separate pad list so we can add pads while
9254 collecting the other ones. For this we need a new separate
9256 Fix memory leak in finalize.
9257 Refactor some weird code to set/unset pad flushing flags, mark
9259 Don't crash in _available, _read, _flush when we're EOS.
9261 * tests/check/libs/.cvsignore:
9262 Ignore adapter check binary.
9264 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9266 * gst/gstindex.c: (gst_index_resolver_get_type):
9267 * plugins/elements/gstfakesink.c:
9268 (gst_fake_sink_state_error_get_type):
9269 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9270 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9271 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9272 Const-ify GEnumValue arrays.
9274 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9276 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9277 Add test case for flags + gst_buffer_make_metadata_writable().
9279 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9281 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9282 gst_buffer_make_metadata_writable() should maintain the
9283 buffer flags (those that make sense at least) (see #340859).
9285 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9287 * tools/gst-inspect.c:
9288 * tools/gst-launch.c:
9289 * tools/gst-typefind.c:
9290 * tools/gst-xmlinspect.c:
9292 Fix up includes: need to include stdlib.h in tools.h for exit().
9294 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9296 * gst/gsttaglist.c: (_gst_tag_initialize):
9298 API: add GST_TAG_IMAGE tag (#340721).
9300 2006-05-08 Wim Taymans <wim@fluendo.com>
9303 Added some docs for the segment query.
9305 2006-05-08 Wim Taymans <wim@fluendo.com>
9307 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9308 (gst_base_src_loop), (gst_base_src_change_state):
9309 Always push non-flushing serialized events in the streaming
9312 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9314 * gst/gsterror.c: (_gst_stream_errors_init):
9315 Add a missing error string.
9317 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9319 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9320 Add applied_rate to the debug
9322 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9323 Copy applied_rate into the outgoing NEWSEGMENT event
9325 2006-05-08 Wim Taymans <wim@fluendo.com>
9327 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9329 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9330 (gst_base_sink_change_state):
9331 call ::unlock before taking the PREROLL_LOCK so we can safely
9332 handle elements that lock in ::render.
9335 2006-05-08 Edward Hervey <edward@fluendo.com>
9337 * autogen.sh: (CONFIGURE_DEF_OPT):
9338 Darwin's libtoolize is in fact called glibtoolize.
9339 Adding glibtoolize to the list of accepted names for libtoolize.
9341 2006-05-08 Wim Taymans <wim@fluendo.com>
9343 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9344 Unify error handling, don't post an error message
9345 when a push() returns EOS but perform our normal EOS
9346 handling code. Fixes #340772.
9348 2006-05-08 Wim Taymans <wim@fluendo.com>
9350 * docs/design/part-overview.txt:
9351 Make upsteam/downstream concepts more clear.
9352 Give an example of serialized/non-serialized events.
9354 * docs/design/part-events.txt:
9355 * docs/design/part-streams.txt:
9356 Mention applied_rate.
9358 * docs/design/part-trickmodes.txt:
9359 Mention applied rate, flesh out some more use cases.
9361 * gst/gstevent.c: (gst_event_new_new_segment),
9362 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9363 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9364 (gst_event_parse_tag), (gst_event_new_buffer_size),
9365 (gst_event_parse_buffer_size), (gst_event_new_qos),
9366 (gst_event_parse_qos), (gst_event_parse_seek),
9367 (gst_event_new_navigation):
9369 Add applied_rate field to NEWSEGMENT event.
9370 API: gst_event_new_new_segment_full()
9371 API: gst_event_parse_new_segment_full()
9373 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9374 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9375 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9377 Add applied_rate to GstSegment structure.
9378 Make calculation of stream_time and running_time more correct
9379 wrt rate/applied_rate.
9381 API: GstSegment::applied_rate field
9382 API: gst_segment_set_newsegment_full();
9384 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9385 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9386 * libs/gst/base/gstbasetransform.c:
9387 (gst_base_transform_sink_eventfunc),
9388 (gst_base_transform_handle_buffer):
9389 Parse and use applied_rate in the GstSegment field.
9391 * tests/check/gst/gstevent.c: (GST_START_TEST):
9392 Add check for applied_rate field.
9394 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9395 (gstsegments_suite):
9396 Add more checks for various GstSegment operations.
9398 2006-05-08 Wim Taymans <wim@fluendo.com>
9400 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9401 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9402 (gst_base_sink_get_position), (gst_base_sink_change_state):
9403 Store the sync time of the buffer end position separatly in a
9404 new variable eos_rtime so we can properly sync the EOS event.
9406 Fix the docs for gst_base_sink_set_qos_enabled().
9407 Don't set segment start to invalid value when we receive a
9408 non TIME newsegment.
9409 get closer to handling position reporting for negative rates
9412 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9415 Docs about how to print caps for debug purposes.
9417 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9418 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9420 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9423 use full enum names and preprend a '%' in docs strings to make recent
9424 gtk-doc turn that into a link
9426 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9428 * docs/manual/basics-bins.xml:
9429 * docs/manual/basics-bus.xml:
9430 * docs/manual/basics-pads.xml:
9431 Some typo fixes, some additions, some clarifications.
9433 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9435 * tools/gst-inspect.c: (main):
9436 * tools/gst-launch.c: (main):
9437 * tools/gst-run.c: (main):
9438 * tools/gst-typefind.c: (main):
9439 * tools/gst-xmlinspect.c: (main):
9440 Use the string passed to g_option_context_new() for
9441 what it's intended for - the program name is already
9444 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9446 * tools/Makefile.am:
9447 * tools/gst-inspect.c: (main):
9448 * tools/gst-launch.c: (main):
9449 * tools/gst-xmlinspect.c: (main):
9451 Add back --version command line option (#340460).
9453 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9454 Add --version option and use GOption for argument parsing; refactor a
9455 bit; accept directories as arguments and recurse into them; lastly,
9456 print a decent error message when things go wrong.
9458 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9460 * docs/manual/basics-bins.xml:
9461 Don't mention GstThread (#340611)
9462 * docs/manual/basics-elements.xml:
9463 Update link to GObject tutorial (#340607)
9465 2006-05-05 Wim Taymans <wim@fluendo.com>
9468 * gst/gstminiobject.c:
9469 Add note about refcounting and miniobject/buffer writeability
9470 to docs. Fixes #340604
9472 * gst/gstelementfactory.h:
9473 Added some explanation about @klass.
9475 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9477 * docs/manual/intro-motivation.xml:
9478 * docs/manual/manual.xml:
9479 Avoid CORBA & Bonobo references (#340598)
9481 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9483 * docs/manual/basics-bus.xml:
9484 * docs/manual/basics-pads.xml:
9485 Fix up some inaccuracies and omissions (#340609)
9487 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9489 * gst/gstghostpad.c:
9490 Small typo in docs (#340625)
9492 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9494 * gst/parse/Makefile.am:
9495 Make 'make -j' proof (see #340698).
9497 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9500 Require GLib-2.8 here as well.
9502 2006-05-05 Wim Taymans <wim@fluendo.com>
9504 * gst/glib-compat.c:
9505 * gst/gst.c: (init_pre):
9506 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9507 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9508 (gst_object_dispatch_properties_changed):
9510 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9511 * gst/gststructure.c: (gst_structure_set_valist):
9512 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9513 Remove pre glib2.8 compatibility, fixes #340508
9515 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9518 Mention type of tags in doc blurbs.
9520 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9522 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9523 (gst_pad_configure_src), (gst_pad_push):
9524 Restore acceptcaps checking behaviour now that good plugins have
9527 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9529 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9540 * gst/parse/Makefile.am:
9541 * libs/gst/base/gstadapter.c:
9542 * libs/gst/base/gstbasesrc.c:
9543 * libs/gst/base/gstpushsrc.c:
9544 * libs/gst/base/gsttypefindhelper.c:
9545 * plugins/elements/gstfakesrc.c:
9546 * plugins/elements/gstidentity.c:
9547 Make sure gstprivate.h and/or config.h are
9548 always included first, otherwise some of our
9549 defines (like _FILE_OFFSET_BITS) might be
9550 redefined in the system headers. Fixes build
9551 on opensolaris (#340016).
9553 2006-05-04 Wim Taymans <wim@fluendo.com>
9555 * docs/libs/gstreamer-libs-sections.txt:
9556 API: addition: gst_adapter_take_buffer()
9558 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9559 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9560 (gst_adapter_available_fast):
9561 * libs/gst/base/gstadapter.h:
9562 Prepare for optimizing the hell out of this hugely inefficient
9564 Added gst_adapter_take_buffer() so we can at least start thinking
9565 about subbuffering and merging.
9566 Added some comments.
9568 * tests/check/Makefile.am:
9569 * tests/check/libs/adapter.c: (GST_START_TEST),
9570 (gst_adapter_suite), (main):
9571 Added GstAdapter check.
9573 2006-05-04 Wim Taymans <wim@fluendo.com>
9575 * docs/design/part-overview.txt:
9576 Fix some typos, add blurb about buffer flags.
9578 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9580 * docs/libs/gstreamer-libs-sections.txt:
9581 make sure GstBaseTransformClass shows up in the docs
9582 * libs/gst/base/gstbasetransform.c:
9583 * libs/gst/base/gstbasetransform.h:
9584 move docs so gtk-doc picks it up now
9586 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9588 * docs/libs/gstreamer-libs-sections.txt:
9589 add missing symbols to docs
9591 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9593 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9594 back out the newsegment handling change, see #340060 for ongoing
9597 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9599 * tools/gst-run.c: (get_candidates), (main):
9600 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9601 work); fix typo in error message. Fixes #340079.
9603 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9605 * common/Makefile.am:
9607 * docs/faq/Makefile.am:
9608 * docs/gst/Makefile.am:
9609 * docs/libs/Makefile.am:
9610 * docs/manual/Makefile.am:
9611 * docs/plugins/Makefile.am:
9612 * docs/pwg/Makefile.am:
9613 * docs/slides/Makefile.am:
9615 * common/upload.mak:
9616 move upload.mak to common
9618 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9620 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9621 add more asserts on refcounts
9622 do more cleanup at end of tests
9623 fix test leaks showing in FC5
9625 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9627 * plugins/elements/gsttypefindelement.c:
9628 (gst_type_find_element_handle_event):
9629 reverted wrong change and reflowed code to avoid others falling into
9632 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9634 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9635 fix changelog entry about last collectpads change,
9636 add notes about proper fix
9638 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9641 * gst/gstregistry.c: (gst_registry_scan_path_level),
9642 (gst_registry_scan_path):
9643 * gst/gstregistry.h:
9644 only write out registry if it has changed, fixes #338339
9646 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9649 * gst/gstpipeline.c:
9650 * plugins/elements/gstcapsfilter.c:
9651 * plugins/elements/gstfakesink.c:
9652 * plugins/elements/gstfakesrc.c:
9653 * plugins/elements/gstfdsink.c:
9654 * plugins/elements/gstfdsrc.c:
9655 * plugins/elements/gstfilesink.c:
9656 * plugins/elements/gstfilesrc.c:
9657 * plugins/elements/gstidentity.c:
9658 * plugins/elements/gstqueue.c:
9659 * plugins/elements/gsttee.c:
9660 * plugins/elements/gsttypefindelement.c:
9661 (gst_type_find_element_handle_event):
9662 make GstElementDetails const
9664 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9666 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9667 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9668 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9669 more detailed debug and formatting cleanup,
9670 forward newsegments to src-pad (so that e.g. adder not eats them)
9672 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9674 * gst/gstutils.c: (gst_element_link_pads):
9677 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9679 * libs/gst/controller/gstcontroller.c:
9680 (gst_controller_sync_values):
9682 * tests/check/libs/controller.c: (GST_START_TEST),
9683 (gst_controller_suite):
9684 a new test for live value handling
9686 2006-04-28 Wim Taymans <wim@fluendo.com>
9688 * gst/gstutils.c: (push_and_ref):
9689 Added some more docs.
9690 Fix refcount issue whith gst_element_found_tags() helper
9691 function. Fixes #338335
9693 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9694 Added testsuite for gst_element_found_tags().
9696 2006-04-28 Michael Smith <msmith@fluendo.com>
9698 * gst/gstvalue.c: (gst_value_serialize_flags):
9699 Avoid NULL dereference when trying to serialize flags containing
9702 2006-04-28 Michael Smith <msmith@fluendo.com>
9704 * plugins/elements/gsttypefindelement.c:
9705 (gst_type_find_element_handle_event):
9706 If we get EOS before any data is accumulated, don't use
9707 uninitialised local variables.
9709 2006-04-28 Michael Smith <msmith@fluendo.com>
9711 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9712 (gst_dp_event_from_packet):
9713 Fixes in reading/writing events over GDP (not currently used?) -
9714 dereferencing NULL events for unknown/invalid event types, memory
9715 leak, and change g_warning to GST_WARNING.
9717 2006-04-28 Wim Taymans <wim@fluendo.com>
9719 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9720 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9721 (gst_base_sink_get_position), (gst_base_sink_change_state):
9722 When frame dropping is enabled, we should not ignore frames
9724 Update some documentation.
9726 2006-04-28 Wim Taymans <wim@fluendo.com>
9728 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9729 (gst_base_src_send_event), (gst_base_src_change_state):
9730 Documentation updates.
9732 2006-04-28 Wim Taymans <wim@fluendo.com>
9734 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9735 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9736 handle EAGAIN, EINTR and short writes correctly. Also clean
9737 up some error cases, avoid a deadlock on bad file descriptors and
9738 use GST_DEBUG_OBJECT.
9741 2006-04-28 Wim Taymans <wim@fluendo.com>
9743 * gst/gstvalue.c: (gst_value_serialize_buffer),
9744 (gst_value_deserialize_buffer):
9745 Don't try to serialize a GValue with a NULL buffer.
9748 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9749 Added check for serialisation of NULL buffers.
9751 2006-04-28 Wim Taymans <wim@fluendo.com>
9753 * gst/gstminiobject.c: (gst_value_take_mini_object):
9754 Taking a NULL miniobject is valid, fix the case where
9755 we try to unref the NULL miniobject.
9757 2006-04-28 Wim Taymans <wim@fluendo.com>
9759 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9761 * gst/gstbin.c: (gst_bin_handle_message_func):
9763 Don't leak bin refcount when a state recalc is
9764 in progress and we delay another one #339808.
9766 2006-04-28 Wim Taymans <wim@fluendo.com>
9768 * docs/design/part-TODO.txt:
9769 Mention QoS as an ongoing work item.
9771 * docs/design/part-buffering.txt:
9772 New doc about buffering that needs to be fleshed out
9775 * docs/design/part-qos.txt:
9776 More QoS policy for decoders/demuxers/transforms
9778 * docs/design/part-trickmodes.txt:
9781 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9786 === release 0.10.5 ===
9788 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9791 releasing 0.10.5, "Fogo"
9793 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9795 patch by: Wim Taymans
9797 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9798 (gst_pad_configure_src), (gst_pad_push):
9799 * gst/gstpipeline.c: (gst_pipeline_init):
9800 Fix internal data flow errors. Fixes #338711.
9802 2006-04-12 Wim Taymans <wim@fluendo.com>
9804 * tests/check/gst/gstelement.c: (GST_START_TEST):
9805 Don't leak the factory.
9807 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9810 * win32/common/config.h:
9813 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9815 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9816 (gst_controller_unset_all):
9817 Free allocated GstTimedValues when freeing list nodes.
9818 Should fix leaks 'make check-valgrind' complains about.
9820 * win32/common/libgstcontroller.def:
9821 Add gst_controller_unset_all.
9823 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9825 * docs/libs/gstreamer-libs-sections.txt:
9826 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9827 (gst_controller_unset_all):
9828 * libs/gst/controller/gstcontroller.h:
9829 API: Added new method gst_controller_unset_all()
9830 fixed gst_controller_unset()
9831 * tests/check/libs/controller.c: (GST_START_TEST),
9832 (gst_controller_suite):
9833 Added two testcases for new and fixed method
9835 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9837 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9838 MSG_DONTWAIT is not defined on Cygwin, so work
9839 around that (fixes #317048).
9841 2006-04-11 Wim Taymans <wim@fluendo.com>
9843 * gst/gstelementfactory.c: (gst_element_register),
9844 (gst_element_factory_create), (gst_element_factory_make):
9847 Updated docs (Fixes #131079)
9849 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9852 * tests/check/gst/gstelement.c: (GST_START_TEST),
9853 (gst_element_suite):
9854 Added testcase for elementfactory class field.
9856 2006-04-10 Wim Taymans <wim@fluendo.com>
9859 Added some more docs.
9861 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9862 (gst_base_sink_reset_qos):
9863 Calculate more accurate rate values.
9865 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9867 * gst/gst_private.h:
9868 add a new #ifdef to use __declspec(dllimport) only for
9869 other modules and not for gstreamer core
9870 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9871 use gst_guint64_to_gdouble for conversion
9872 * win32/common/libgstreamer.def:
9873 add new exported functions
9874 * win32/vs6/gst_inspect.dsp:
9875 * win32/vs6/gst_launch.dsp:
9876 * win32/vs6/libgstbase.dsp:
9877 * win32/vs6/libgstcontroller.dsp:
9878 * win32/vs6/libgstcoreelements.dsp:
9879 * win32/vs6/libgstdataprotocol.dsp:
9880 * win32/vs6/libgstnet.dsp:
9881 update project files
9883 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9885 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9886 * gst/gstclock.c: (gst_clock_class_init):
9887 * gst/gstelement.c: (gst_element_class_init):
9888 * gst/gstindex.c: (gst_index_class_init):
9889 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9890 * gst/gstobject.c: (gst_object_class_init),
9891 (gst_signal_object_class_init):
9892 * gst/gstpad.c: (gst_pad_class_init):
9893 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9894 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9895 * gst/gstregistry.c: (gst_registry_class_init):
9896 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9897 * gst/gsttask.c: (gst_task_class_init):
9898 * gst/gstxml.c: (gst_xml_class_init):
9899 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9900 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9901 (gst_base_src_loop):
9902 * libs/gst/controller/gstcontroller.c:/
9903 (_gst_controller_class_init):
9904 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9905 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9906 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9907 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9908 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9909 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9911 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9913 * gst/gstpad.c: (gst_pad_link):
9914 Must set peer pads before calling the link function, otherwise
9915 a task started from a link function might get a flow-not-linked
9916 result when trying to push because the other thread where the
9917 linking happens hasn't had a chance to set the peers yet. This
9918 might happen for example when a queue gets linked to a downstream
9919 element, as queue starts a streaming task when its source pad
9920 gets linked. Happens in real life when playing back flac/musepack
9921 files in playbin (#332390).
9923 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9927 * libs/gst/base/gstadapter.h:
9928 * libs/gst/base/gstbasesink.h:
9929 * libs/gst/base/gstbasesrc.h:
9930 * libs/gst/base/gstbasetransform.h:
9931 * libs/gst/base/gstcollectpads.h:
9932 * libs/gst/base/gstpushsrc.h:
9933 Fix broken GObject macros
9935 2006-04-07 Wim Taymans <wim@fluendo.com>
9937 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9938 Initialize start and stop times, thanks valgrind.
9940 2006-04-07 Wim Taymans <wim@fluendo.com>
9942 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9943 Be a bit nicer to badly behaving upstream elements that expect
9944 us to deal with non TIME segments and timestamps (such as fakesrc
9947 2006-04-07 Wim Taymans <wim@fluendo.com>
9950 Small documentation clarification about the signal watch.
9952 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9953 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9954 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9955 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9956 (gst_base_sink_get_position_last),
9957 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9958 Convert and store timestamps in stream time and running time, the
9959 raw timestamps are not useful, also document this better.
9960 Use different window sizes for good and bad QoS observations so
9961 we react to badness a little quicker.
9962 Keep track of the amount of rendered and dropped buffers.
9963 Send QoS timestamps in running time.
9965 * libs/gst/base/gstbasetransform.c:
9966 (gst_base_transform_sink_eventfunc),
9967 (gst_base_transform_handle_buffer):
9968 Compare QoS timestamps against running time.
9970 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9975 2006-04-06 Michael Smith <msmith@fluendo.com>
9977 * gst/gstpad.c: (gst_pad_set_property):
9978 Use g_value_get_object() instead of g_value_dup_gst_object(),
9979 to avoid double-reffing the pad template (which we then sink,
9980 so this worked previously if (and only if) the pad template
9983 * gst/gstpadtemplate.c: (gst_pad_template_init),
9984 (gst_pad_template_pad_created):
9985 Never return floating references to pad templates, create
9986 them as initially-sunken.
9988 Document an extra function (and make this stop sinking our
9989 pad template, since that is now guaranteed to do nothing,
9990 since we created it sunken).
9992 * gst/gstghostpad.c:
9995 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
9997 * gst/gstinfo.c: (__gst_in_valgrind):
10000 * plugins/elements/gsttypefindelement.c:
10001 (gst_type_find_element_chain):
10002 Don't leak buffer caps.
10004 2006-04-06 Michael Smith <msmith@fluendo.com>
10006 * gst/parse/grammar.y:
10007 Fix a leak in parse-launch for any source-or-sink named element
10010 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10011 Unref the pipeline if it exists after we've failed parsing.
10013 2006-04-05 Michael Smith <msmith@fluendo.com>
10015 * gst/gstpipeline.c: (gst_pipeline_init):
10016 When we create a pipeline bus, initially create it in flushing mode.
10017 Fixes leaks in at least one test, and makes a new pipeline work the
10018 same as one that has gone to READY and then back to NULL.
10020 * gst/gstelement.c:
10023 2006-04-05 Michael Smith <msmith@fluendo.com>
10025 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10026 Unref a pad we reffed.
10027 * tests/check/gst/gstutils.c: (GST_START_TEST):
10030 2006-04-05 Michael Smith <msmith@fluendo.com>
10032 * gst/gstquery.c: (gst_query_set_formats),
10033 (gst_query_set_formatsv):
10034 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10036 2006-04-05 Michael Smith <msmith@fluendo.com>
10038 * tests/check/generic/sinks.c: (GST_START_TEST):
10039 Fix a variety of memleaks in sinks check, which are only sometimes
10040 shown by running the tests under valgrind (weird?).
10042 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10044 * docs/version.entities.in:
10045 Fix the substituted entity name after thomas' changes on the
10048 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10050 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10053 2006-04-05 Andy Wingo <wingo@pobox.com>
10055 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10057 * libs/gst/base/gstbasetransform.c
10058 (gst_base_transform_sink_eventfunc): When resetting our segment on
10059 FLUSH_STOP, also update the flag saying we haven't seen a
10062 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10064 Patch by: Paolo Borelli <pborelli at katamail dot com>
10066 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10067 (gst_plugin_check_license):
10068 minor clean-ups: G_DEFINE_TYPE already takes care of the
10069 parent_class stuff, no need to do it twice. Mark array of
10070 license strings as constant. (#337103)
10072 2006-04-04 Michael Smith <msmith@fluendo.com>
10074 * tools/gst-inspect.c: (print_element_list):
10075 Free the right plugin list; fixes a memory leak.
10077 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10079 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10081 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10082 Don't error out on empty buffers (#336945).
10084 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10086 * docs/libs/gstreamer-libs-sections.txt:
10087 * gst/gsttaglist.c:
10088 * libs/gst/base/gstbasesink.c:
10089 * libs/gst/base/gstbasesink.h:
10090 * libs/gst/base/gstbasesrc.c:
10091 * libs/gst/base/gstbasesrc.h:
10092 Documentation updates. Make BaseSink and BaseSrc docs contain the
10093 class structure so that people can actually see the prototypes for
10094 virtual functions they're supposed to be overriding.
10096 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10098 * plugins/elements/gsttypefindelement.c:
10099 (gst_type_find_element_chain):
10100 More debug info; when skipping typefinding, send cached
10101 events in all cases.
10103 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10106 use new AS_VERSION and AS_NANO macros
10107 * gst/gst-i18n-lib.h:
10110 * gst/gstversion.h.in:
10111 * win32/common/config.h:
10112 * win32/common/config.h.in:
10115 2006-03-31 Michael Smith <msmith@fluendo.com>
10117 * plugins/elements/gsttypefindelement.c:
10118 (gst_type_find_element_chain):
10119 Do not typefind content if the buffers already have caps.
10120 Neccesary for icydemux (#333657), and the right thing to do anyway.
10122 2006-03-30 Wim Taymans <wim@fluendo.com>
10124 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10125 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10126 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10127 (gst_base_sink_record_qos_observation),
10128 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10129 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10130 (gst_base_sink_change_state):
10131 More QoS measurements as described in the design doc.
10132 Get rid of ringbuffer with observations, running average is
10133 more simple and equally good.
10134 Calculates valid proportion now.
10135 Added beginning of flood measurement.
10137 2006-03-29 Wim Taymans <wim@fluendo.com>
10139 * docs/design/part-qos.txt:
10141 Small documentation updates and additions.
10143 2006-03-29 Wim Taymans <wim@fluendo.com>
10145 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10146 (gst_base_src_send_event), (gst_base_src_loop),
10147 (gst_base_src_change_state):
10148 Perform the EOS logic when we reach the segment stop position.
10149 Fix compilation on gcc4.1
10151 2006-03-29 Wim Taymans <wim@fluendo.com>
10153 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10155 * plugins/elements/gstqueue.c: (gst_queue_init),
10156 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10157 (gst_queue_set_property):
10158 * plugins/elements/gstqueue.h:
10159 In queue, when EOS is received, if minimum threshold > max_size -
10160 current_level, there is chance that queue blocks forever in conditional
10161 item del wait. This is because the queue is not emptied completely due
10162 to minimum threshold. Here is another approach. Instead of setting
10163 cur_levels to max in EOS, just zero all minimum threshold levels. This
10164 should make sure that queue gives out all data. When going to READY
10165 (stop) state, just reset the original minimum threshold levels.
10168 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10170 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10171 (gst_type_find_element_handle_event),
10172 (gst_type_find_element_send_cached_events),
10173 (gst_type_find_element_change_state):
10174 * plugins/elements/gsttypefindelement.h:
10175 When typefinding is done in push mode, we should cache
10176 events we receive during typefinding instead of just
10177 dropping them (e.g. newsegment, custom events from
10178 dvdreadsrc etc.) and then send them out once we've
10179 determined the type of the stream (and decodebin
10180 has had a chance to plug in a decoder/demuxer).
10182 2006-03-27 Wim Taymans <wim@fluendo.com>
10184 * docs/design/part-qos.txt:
10187 2006-03-27 Wim Taymans <wim@fluendo.com>
10189 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10191 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10192 (gst_base_src_send_event), (gst_base_src_change_state):
10193 Handle element seek correctly when we are streaming.
10196 2006-03-24 Michael Smith <msmith@fluendo.com>
10198 * docs/faq/gst-uninstalled:
10199 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10200 allow you to correctly run intalled applications built against old
10201 core, using plugins that require updated core (e.g. running
10202 installed totem against a full uninstalled gstreamer stack)
10204 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10206 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10209 2006-03-24 Wim Taymans <wim@fluendo.com>
10211 * docs/gst/gstreamer-sections.txt:
10212 Rearrange the order of the methods so that related methods
10213 are grouped together in sections.
10215 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10217 * gst/gstelement.c:
10218 Little clarification in the docs
10220 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10224 * plugins/elements/gstidentity.c:
10225 * plugins/elements/gstqueue.c:
10226 * plugins/elements/gsttee.c:
10227 * plugins/elements/gsttypefindelement.c:
10228 GST_ELEMENT_DETAILS formatting
10230 2006-03-24 Wim Taymans <wim@fluendo.com>
10232 * libs/gst/base/gstbasesink.h:
10233 Only add fields, not insert or we break ABI.
10235 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10237 * win32/common/libgstbase.def:
10238 * win32/common/libgstreamer.def:
10239 Update, add recently added functions.
10241 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10243 * docs/gst/gstreamer-sections.txt:
10244 * gst/gstutils.c: (gst_pad_query_peer_position),
10245 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10247 API: add some new utility functions:
10248 - gst_pad_query_peer_position()
10249 - gst_pad_query_peer_duration()
10250 - gst_pad_query_peer_convert()
10252 2006-03-23 Wim Taymans <wim@fluendo.com>
10254 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10255 (gst_base_sink_init), (gst_base_sink_finalize),
10256 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10257 (gst_base_sink_set_property), (gst_base_sink_get_property),
10258 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10259 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10260 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10261 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10262 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10263 (gst_base_sink_preroll_object), (gst_base_sink_event),
10264 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10265 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10266 (gst_base_sink_query), (gst_base_sink_change_state):
10267 Decouple max-lateness and the fact that QoS messages are generated
10268 with a new property (qos).
10269 added API: GstBaseSink::async_play()
10270 Add vmethod so subclasses can be notified of ASYNC playing
10272 Collect timestamp start and stop to report better current
10273 position in EOS/PLAYING/PAUSED/READY/NULL.
10274 Refactor QoS/frame dropping and other measurements.
10275 API: GstBaseSrc::qos
10278 * libs/gst/base/gstbasesink.h:
10279 Added Private struct.
10280 API: gst_base_sink_set_qos_enabled()
10281 API: gst_base_sink_is_qos_enabled()
10283 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10285 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10286 If compiling against GLib-2.8 or newer, try to read the
10287 registry file using GMappedFile first before falling back
10288 to fopen() + fread() (#332151).
10290 2006-03-22 Wim Taymans <wim@fluendo.com>
10292 * gst/gstinfo.c: (gst_debug_set_active),
10293 (gst_debug_category_set_threshold):
10294 Disable debugging unless explicitly activated.
10297 2006-03-22 Wim Taymans <wim@fluendo.com>
10299 * gst/gstelement.c: (gst_element_set_locked_state),
10300 (gst_element_dispose):
10301 Cleanup the error case.
10303 * gst/gstobject.c: (gst_object_dispose):
10304 print a critical when some object was disposed with
10305 a parent, also revive the object since it might
10308 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10310 * tools/gst-launch.1.in:
10313 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10316 * tests/check/Makefile.am:
10317 disable some tests when we don't have a registry
10318 * tests/check/gst/gstutils.c: (gst_utils_suite):
10319 don't build the part that needs parsing
10321 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10324 * tests/examples/Makefile.am:
10325 fix --disable-parse build
10327 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10329 * tools/gst-feedback.1.in:
10330 Fix typo: s/feeback/feedback/ (#133494).
10332 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10334 * tools/Makefile.am:
10335 * tools/gst-launch.1.in:
10336 Add FILES section and correct entry about GST_REGISTRY_PATH
10337 environment variable (#133495; #133494).
10339 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10341 * tools/Makefile.am:
10342 * tools/gst-md5sum.1.in:
10343 * tools/gst-md5sum.c:
10344 Remove gst-md5sum and man page (the md5sink element
10345 required was removed ages ago)
10347 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10349 * gst/gststructure.c: (gst_structure_id_set_value):
10350 Make sure that string fields in structures/taglists
10351 contain valid UTF-8 - we don't want to pass rubbish to
10352 applications because of a buggy plugin (cp. #334167).
10354 2006-03-21 Edward Hervey <edward@fluendo.com>
10356 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10357 (gst_bin_handle_message_func):
10358 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10359 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10360 (gst_element_set_bus_func):
10361 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10362 * gst/gstminiobject.c: (gst_value_set_mini_object),
10363 (gst_value_take_mini_object):
10364 * gst/gstpad.c: (gst_pad_set_pad_template):
10365 * gst/gstpipeline.c: (gst_pipeline_dispose),
10366 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10367 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10368 (gst_collect_pads_chain):
10369 * libs/gst/net/gstnettimeprovider.c:
10370 (gst_net_time_provider_set_property):
10371 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10372 It's in fact all issues with gst_*object_replace().
10374 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10376 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10378 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10379 * pkgconfig/gstreamer-check.pc.in:
10380 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10382 2006-03-21 Edward Hervey <edward@fluendo.com>
10386 * gst/gstmessage.h:
10387 gst_[buffer|event|message]_ref() macros are replaced by a static
10388 inline functions because gcc-4.1 will about if the return value
10390 * tests/check/gst/gstevent.c: (event_probe):
10391 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10393 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10396 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10397 the type' case. (Closes: #335195 for now). In the future, when we
10398 depend on GLib 2.10, we could also intern the type name using
10399 g_intern_static_string()
10401 2006-03-20 Wim Taymans <wim@fluendo.com>
10403 * gst/gstbin.c: (gst_bin_handle_message_func),
10404 (bin_query_max_init), (bin_query_position_fold),
10405 (bin_query_position_done), (gst_bin_query):
10406 Position query should also take max of all streams.
10408 2006-03-20 Wim Taymans <wim@fluendo.com>
10410 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10411 (gst_fake_src_finalize):
10412 Fix leaks in fakesrc.
10414 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10415 Fix leaks in the testcase.
10417 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10419 * gst/gst_private.h:
10420 add win32 specific import decoration(__declspec(dllimport))
10421 for all extern GstDebugCategory * variables
10422 * win32/common/libgstbase.def:
10423 * win32/common/libgstcontroller.def:
10424 * win32/common/libgstreamer.def:
10425 Add some exports, remove empty lines
10426 * win32/common/libgstdataprotocol.def:
10427 * win32/common/libgstdataprotocol.dsp:
10428 * win32/common/libgstnet.def:
10429 * win32/common/libgstnet.dsp:
10430 new project files and exportation files added
10432 2006-03-19 Wim Taymans <wim@fluendo.com>
10434 * tests/check/libs/basesrc.c: (eos_event_counter):
10435 Use proper return value for probe.
10437 2006-03-17 Wim Taymans <wim@fluendo.com>
10439 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10441 Don't leak buffers, caps and pads on negotiation errors.
10443 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10445 * docs/faq/cvs.xml:
10446 * docs/faq/dependencies.xml:
10447 * docs/faq/developing.xml:
10448 * docs/faq/faq.xml:
10449 * docs/faq/general.xml:
10450 * docs/faq/getting.xml:
10451 * docs/faq/legal.xml:
10452 * docs/faq/troubleshooting.xml:
10453 * docs/faq/using.xml:
10454 Faq review and update.
10456 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10458 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10460 Don't pound the cpu to pieces by checking get_caps when accept_caps
10461 is called with the same caps as the pad already has.
10462 Use GST_DEBUG_OBJECT when outputting caps change information.
10464 2006-03-15 Wim Taymans <wim@fluendo.com>
10466 * gst/gstclock.c: (gst_clock_class_init):
10469 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10474 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10475 (gst_pad_accept_caps), (gst_pad_configure_sink),
10476 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10477 Make the default acceptcaps behaviour be to check the requested
10478 caps against the gst_pad_get_caps output.
10480 Ensure that gst_pad_accept_caps is used to check caps when a pad
10481 doesn't have a setcaps function, so that pads automatically refuse
10482 caps that they don't allow in their pad template. (Fixes #332986)
10484 When a buffer with attached caps is pushed, ensure that the source
10485 pad receives those caps even if the element didn't call
10486 gst_pad_set_caps first.
10488 2006-03-15 Wim Taymans <wim@fluendo.com>
10490 * libs/gst/base/gstadapter.c:
10493 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10495 * win32/common/libgstbase.def:
10496 * win32/common/libgstcontroller.def:
10497 * win32/common/libgstreamer.def:
10498 Add a whole bunch of missing functions (#334434).
10500 2006-03-14 Wim Taymans <wim@fluendo.com>
10502 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10503 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10504 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10505 Better debug info when we receive a segment event.
10506 Reorganize a bit so we can pass the get_times() results around.
10507 Use the segment format when calculating the running time.
10508 Don't do QoS is sync is disabled or we have no clock or the
10509 element does not want us to sync to the clock.
10510 Don't drop buffers if QoS is disabled for now.
10512 2006-03-14 Wim Taymans <wim@fluendo.com>
10514 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10515 Marked the stats property as unimplemented so people don't get
10517 Add debug message when regression goes wrong.
10518 Added some more docs.
10520 2006-03-14 Wim Taymans <wim@fluendo.com>
10522 * gst/gstsegment.c: (gst_segment_to_stream_time):
10523 Return correct return type in case of errors.
10525 2006-03-14 Wim Taymans <wim@fluendo.com>
10527 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10528 Don't segfault on invalid formats.
10530 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10532 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10533 Can't use gst_segment_to_running_time() when the segment
10534 is not in GST_TIME_FORMAT (like with filesink, for example).
10535 Stops flac encoding pipelines from spewing critical warnings
10538 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10540 * gst/gstpipeline.c: (gst_pipeline_class_init):
10541 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10543 * plugins/elements/gsttypefindelement.c:
10544 (gst_type_find_element_handle_event):
10545 Don't try to typefind empty streams.
10547 2006-03-14 Wim Taymans <wim@fluendo.com>
10549 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10550 (gst_base_sink_do_qos):
10551 Separate QoS calculation.
10552 Only drop buffers when lateness is bigger than the
10553 duration of the buffer.
10555 2006-03-13 Wim Taymans <wim@fluendo.com>
10557 * gst/gstpipeline.c: (gst_pipeline_set_property),
10558 (gst_pipeline_get_property), (do_pipeline_seek),
10559 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10560 (gst_pipeline_get_delay):
10561 Don't deadlock when reading properties.
10563 2006-03-13 Wim Taymans <wim@fluendo.com>
10565 * libs/gst/base/gstbasetransform.c:
10566 (gst_base_transform_class_init), (gst_base_transform_init),
10567 (gst_base_transform_sink_event),
10568 (gst_base_transform_sink_eventfunc),
10569 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10570 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10571 (gst_base_transform_set_property),
10572 (gst_base_transform_get_property),
10573 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10574 (gst_base_transform_set_qos_enabled),
10575 (gst_base_transform_is_qos_enabled):
10576 * libs/gst/base/gstbasetransform.h:
10577 Make basetransform virtual method for src events too.
10578 Handle QOS in basetransform.
10579 API: gst_base_transform_update_qos()
10580 API: gst_base_transform_set_qos_enabled()
10581 API: gst_base_transform_is_qos_enabled()
10583 2006-03-13 Wim Taymans <wim@fluendo.com>
10585 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10586 (gst_base_sink_do_sync):
10588 Use QOS debug category.
10590 2006-03-13 Wim Taymans <wim@fluendo.com>
10592 * plugins/elements/gstqueue.c:
10593 Very small doc update.
10595 2006-03-13 Wim Taymans <wim@fluendo.com>
10597 * gst/gst_private.h:
10598 * gst/gstinfo.c: (_gst_debug_init):
10599 Added QOS debug category
10601 2006-03-13 Wim Taymans <wim@fluendo.com>
10603 * docs/gst/gstreamer-sections.txt:
10604 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10606 * gst/gstbus.c: (gst_bus_class_init):
10609 * gst/gstelement.c: (gst_element_set_locked_state):
10610 * gst/gstsegment.c:
10611 Documentation updates.
10613 * gst/gstpipeline.c: (gst_pipeline_get_type),
10614 (gst_pipeline_class_init), (gst_pipeline_init),
10615 (gst_pipeline_dispose), (gst_pipeline_set_property),
10616 (gst_pipeline_get_property), (do_pipeline_seek),
10617 (gst_pipeline_send_event), (gst_pipeline_change_state),
10618 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10619 (gst_pipeline_get_delay):
10620 * gst/gstpipeline.h:
10621 Added methods for setting the delay.
10622 API: gst_pipeline_set_delay()
10623 API: gst_pipeline_get_delay()
10624 Add pipeline debug category
10627 Don't reset stream time when seek failed.
10629 2006-03-13 Wim Taymans <wim@fluendo.com>
10631 * docs/design/draft-klass.txt:
10632 * docs/design/part-clocks.txt:
10633 * docs/design/part-events.txt:
10634 * docs/design/part-gstbin.txt:
10635 * docs/design/part-gstpipeline.txt:
10636 * docs/design/part-messages.txt:
10637 * docs/design/part-negotiation.txt:
10638 * docs/design/part-overview.txt:
10639 * docs/design/part-preroll.txt:
10640 * docs/design/part-seeking.txt:
10641 * docs/design/part-states.txt:
10642 * docs/design/part-streams.txt:
10643 Documentation updates.
10645 2006-03-12 Julien MOUTTE <julien@moutte.net>
10647 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10648 us to leak strings...
10650 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10652 * libs/gst/net/gstnettimeprovider.c:
10654 * win32/common/config.h:
10657 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10659 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10662 Don't check for libgnomeui (leftover from old examples
10663 that aren't built or disted any longer) (#334303).
10665 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10667 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10668 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10669 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10670 there's no space left on the device.
10672 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10675 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10676 to cast the input to GstClockTime before comparing with
10677 another GstClockTime value.
10679 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10684 === release 0.10.4 ===
10686 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10689 releasing 0.10.4, "Light"
10691 2006-03-10 Michael Smith <msmith@fluendo.com>
10693 * libs/gst/dataprotocol/dataprotocol.c:
10694 Fix docs for dataprocotol to not get the return types completely
10695 wrong for a few functions.
10697 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10699 * docs/gst/gstreamer-sections.txt:
10700 * gst/gstpipeline.c: (gst_pipeline_class_init),
10701 (gst_pipeline_init), (gst_pipeline_set_property),
10702 (gst_pipeline_get_property), (gst_pipeline_change_state),
10703 (gst_pipeline_set_auto_flush_bus),
10704 (gst_pipeline_get_auto_flush_bus):
10705 * gst/gstpipeline.h:
10706 Add new API: gst_pipeline_set_auto_flush_bus() and
10707 gst_pipeline_get_auto_flush_bus() to disable automatic
10708 flushing of the pipeline's GstBus when going from READY
10709 to NULL state (#332045).
10711 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10713 * docs/gst/gstreamer-sections.txt:
10714 * gst/gsturi.c: (gst_uri_has_protocol):
10716 Add new API: gst_uri_has_protocol() (#333779).
10718 2006-03-09 Wim Taymans <wim@fluendo.com>
10720 * gst/gstclock.c: (gst_clock_entry_new),
10721 (gst_clock_id_compare_func), (gst_clock_id_wait),
10722 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10723 (gst_clock_init), (gst_clock_get_internal_time),
10724 (gst_clock_set_master), (do_linear_regression),
10725 (gst_clock_add_observation), (gst_clock_set_property):
10729 Fix a possible segfault when the window-size is made smaller.
10730 Calculate jitter before performing the clock wait. Ideally
10731 the clock implementation should calculate jitter but we need
10732 API breakage for that.
10734 * gst/gstsystemclock.c: (gst_system_clock_init):
10737 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10738 Remove leftover else
10740 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10741 (gst_systemclock_suite):
10742 Added check to test GST_CLOCK_DIFF.
10744 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10746 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10747 (gst_type_find_helper_get_range):
10748 If we are provided with the size, we should implement
10749 GstTypeFind::get_length, so that typefind functions who
10750 want to can actually peek at the middle of a file.
10752 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10754 * docs/manual/advanced-dataaccess.xml:
10755 Add some very very basic error checking.
10757 * docs/pwg/appendix-checklist.xml:
10758 Some updates to the list of things to check when writing an element.
10760 2006-03-08 Wim Taymans <wim@fluendo.com>
10762 * docs/design/part-element-transform.txt:
10763 Added some docs about the design of tranform elements.
10765 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10766 (gst_base_src_loop), (gst_base_src_change_state):
10767 Mark buffers with the DISCONT flag.
10769 2006-03-08 Michael Smith <msmith@fluendo.com>
10771 * gst/gstregistry.h:
10772 * gst/gstregistryxml.c: (gst_registry_save),
10773 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10774 (gst_registry_xml_save_pad_template),
10775 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10776 (gst_registry_xml_write_cache):
10777 Rewrite registry-saving to avoid race conditions and check for
10780 2006-03-08 Wim Taymans <wim@fluendo.com>
10782 * libs/gst/base/gstbasetransform.c:
10783 (gst_base_transform_transform_caps),
10784 (gst_base_transform_transform_size),
10785 (gst_base_transform_prepare_output_buffer),
10786 (gst_base_transform_get_unit_size),
10787 (gst_base_transform_buffer_alloc),
10788 (gst_base_transform_handle_buffer),
10789 (gst_base_transform_change_state):
10790 Cleanups, separate normal flow from errors, add sensible
10792 Don't try to renegotiate when allocating an output buffer.
10793 Also copy DISCONT buffer flag when copying a buffer.
10794 Reset the transform after we finish streaming, not during.
10796 2006-03-08 Wim Taymans <wim@fluendo.com>
10798 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10799 Use last buffer timestamp in qos message.
10801 2006-03-07 Wim Taymans <wim@fluendo.com>
10803 Patch by: Christophe Fergeau
10805 * docs/pwg/advanced-tagging.xml:
10806 * docs/pwg/building-pads.xml:
10809 2006-03-07 Wim Taymans <wim@fluendo.com>
10811 * docs/libs/gstreamer-libs-sections.txt:
10812 Added basesink new methods.
10816 Docs updates. Flesh out the QoS docs.
10818 * libs/gst/base/gstadapter.c:
10819 Small doc clarification about ownership and flushing.
10821 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10822 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10823 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10824 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10825 * libs/gst/base/gstbasesink.h:
10827 Added new methods to allow subclass to control max-lateness
10829 Generate very basic QoS events based on last sync observation.
10830 Updated docs, fix typo, added some QoS blurb.
10832 * libs/gst/base/gstbasesrc.c:
10833 Remove obsolete _get_state() calls from docs.
10835 2006-03-07 Wim Taymans <wim@fluendo.com>
10837 * docs/libs/gstreamer-libs-sections.txt:
10838 * libs/gst/base/gstbasetransform.h:
10839 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10840 Fix docs for GstBaseSrc.
10842 2006-03-07 Wim Taymans <wim@fluendo.com>
10844 * docs/gst/gstreamer-sections.txt:
10847 * libs/gst/base/gstbasetransform.h:
10848 Small documentation fixes.
10850 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10853 Document thread-unsafety of gst_value_register_foo_func()
10854 when used at the same time as gst_value_foo() (#322628).
10856 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10858 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10859 (gst_push_src_check_get_range):
10860 Push sources don't support pull mode by default.
10862 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10864 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10865 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10866 (gst_base_src_default_check_get_range):
10867 * libs/gst/base/gstbasesrc.h:
10868 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10869 provide default implementation, and rename
10870 gst_base_src_check_get_range() to
10871 gst_base_src_pad_check_get_range() for clarity.
10873 2006-03-06 Wim Taymans <wim@fluendo.com>
10875 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10876 Make property overridable.
10878 2006-03-06 Wim Taymans <wim@fluendo.com>
10880 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10881 (gst_base_sink_init), (gst_base_sink_set_property),
10882 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10883 * libs/gst/base/gstbasesink.h:
10884 API addition: Make max-lateness a property.
10886 2006-03-06 Wim Taymans <wim@fluendo.com>
10888 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10889 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10890 Don't ever draw a frame that is >10ms late.
10892 2006-03-06 Michael Smith <msmith@fluendo.com>
10894 * gst/gstmessage.c: (_gst_message_copy):
10895 When copying a message, set the parent_refcount of the enclosed
10896 structure to point at the copy, not the original message.
10898 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10900 Patch by: Christophe Fergeau
10903 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10904 usable in c++ code (#333417)
10906 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10909 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10911 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10913 * libs/gst/base/gstbasetransform.c:
10914 (gst_base_transform_transform_caps):
10915 Make sure caps are writable before passing them to
10918 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10921 Fix some minor docs errors.
10923 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10925 Patch by: Ross Burton <ross at burtonini dot com>
10927 * gst/gsterror.c: (_gst_resource_errors_init):
10929 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10931 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10934 Add a check and output a g_warning when GStreamer is built
10935 against GLib 2.6 but running against 2.8 or higher, and vice
10936 versa. (Closes: #323542)
10938 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10940 * gst/parse/parse.l:
10941 Commit patch for parse_launch syntax from #331255. Removes
10942 support for quoted strings and mimetypes when writing filtered
10943 caps. See the bug report for more details - I'm pretty sure this
10944 obscure feature is not in use by _anyone_ anywhere.
10946 With this simple change, the size of the gstreamer.so here
10947 drops from 2193KB to 1565KB.
10949 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10951 * plugins/elements/gsttypefindelement.h:
10952 * plugins/elements/gsttypefindelement.c:
10953 (gst_type_find_element_src_event), (start_typefinding),
10954 (stop_typefinding), (gst_type_find_element_handle_event),
10955 (gst_type_find_element_chain),
10956 (gst_type_find_element_chain_do_typefinding):
10957 Use gst_type_find_helper_for_buffer() for chain-based
10960 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10962 * plugins/elements/gsttypefindelement.c:
10963 (gst_type_find_element_class_init),
10964 (gst_type_find_element_set_property),
10965 (gst_type_find_element_get_property):
10966 Deprecate "maximum" property (not only was it only taken into
10967 account for typefinding in push-mode anyway, it also was never
10968 actually possible to set it in the first place because the
10969 property was registered with the numeric property ID for the
10970 "minimum" property). Register "maximum" property correctly,
10971 for the sake of future copy'n'pasters. Remove some cruft
10972 from property get/set functions.
10974 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10976 * plugins/elements/gsttypefindelement.c:
10977 (gst_type_find_element_activate):
10978 Use gst_type_find_helper_get_range() here, so we
10979 can honour the "minimum" property and also emit
10980 the signal with the correct probability of the found caps.
10982 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
10984 * docs/libs/gstreamer-libs-sections.txt:
10985 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10986 (helper_find_suggest), (gst_type_find_helper_get_range),
10987 (gst_type_find_helper):
10988 * libs/gst/base/gsttypefindhelper.h:
10989 New API: gst_type_find_helper_get_range() (#333042).
10991 2006-03-02 Michael Smith <msmith@fluendo.com>
10993 * gst/gstregistryxml.c: (load_feature):
10994 Asserting on a failure to read part of the registry is Not Cool.
10995 Just log a warning and return NULL (which is already handled)
10997 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
10999 * win32/common/libgstbase.def:
11000 added export of gst_type_find_helper_for_buffer
11001 * win32/common/libgstbase.def:
11002 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11003 gst_ghost_pad_get_target
11005 2006-02-28 Wim Taymans <wim@fluendo.com>
11007 * docs/design/draft-klass.txt:
11009 Added Connector to mark elements that are only used to
11010 allow pipeline connections.
11011 Moved Debug to extra feature since most of them are
11012 functionally something else.
11014 2006-02-28 Wim Taymans <wim@fluendo.com>
11016 * docs/design/draft-klass.txt:
11017 Some updates and clarifications.
11019 2006-02-28 Wim Taymans <wim@fluendo.com>
11021 * docs/design/draft-klass.txt:
11022 Proposal for klass field values.
11024 * docs/design/part-streams.txt:
11025 Start of a doc describing stream anatomy.
11027 2006-02-28 Wim Taymans <wim@fluendo.com>
11029 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11030 Help the compiler a bit with type registration.
11031 Use existing forward cod path instead of duplicating it when
11032 handling a message.
11034 * gst/gstbus.c: (gst_bus_get_type):
11035 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11036 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11037 * gst/gstclock.c: (gst_clock_get_type):
11038 * gst/gstelement.c: (gst_element_get_type),
11039 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11040 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11041 * gst/gstminiobject.c: (gst_mini_object_get_type):
11042 * gst/gstpad.c: (gst_pad_get_type):
11043 * gst/gstsegment.c: (gst_segment_get_type):
11044 * gst/gststructure.c: (gst_structure_get_type):
11045 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11046 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11048 Help compiler with type registration.
11050 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11053 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11055 * plugins/elements/gsttypefindelement.c:
11056 (gst_type_find_element_handle_event):
11057 When we get an EOS event and have not found a type yet
11058 (most likely because we had not yet accumulated
11059 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11060 type given the data we have so far. Fixes typefinding
11061 for very short streams again, most notably quicktime
11062 redirections as used on Apple's trailer site (#331701).
11064 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11066 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11067 (gst_type_find_helper):
11068 Try typefinding factories with the highest rank first.
11070 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11072 * docs/libs/gstreamer-libs-docs.sgml:
11073 * docs/libs/gstreamer-libs-sections.txt:
11074 * libs/gst/base/gsttypefindhelper.c:
11075 Add section for typefind helper and add documentation
11076 for the old and the new function.
11078 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11080 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11081 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11082 (gst_type_find_helper_for_buffer):
11083 * libs/gst/base/gsttypefindhelper.h:
11084 New API: gst_type_find_helper_for_buffer() (#332723).
11086 2006-02-27 Michael Smith <msmith@fluendo.com>
11088 Patch by: Loïc Minier
11091 * docs/Makefile.am:
11092 * docs/slides/Makefile.am:
11093 prevent CVS directories getting disted.
11095 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11097 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11098 Use the REFCOUNTING category for caps refcounting.
11100 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11102 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11103 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11105 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11107 * plugins/elements/gsttypefindelement.c:
11108 (gst_type_find_element_activate):
11109 Use gst_pad_check_pull_range() before _activate_pull()
11110 to avoid unnecessary open/close (see #331690).
11112 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11115 Docs enhancement: make it crystal clear what the
11116 gst_pad_add_*_probe() callbacks should look like.
11118 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11120 * libs/gst/base/gstbasesrc.c:
11121 Document how applications can stop recording from
11122 live sources (see #330996).
11124 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11126 * tests/check/Makefile.am:
11127 * tests/check/libs/basesrc.c: (eos_event_counter),
11128 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11129 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11130 (gst_basesrc_suite), (main):
11131 ... and add some tests for the base source EOS stuff.
11133 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11135 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11136 Test case originally showed the problem fixed below,
11137 but was then amended. Add checks back at the place
11138 where they used to be.
11140 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11142 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11143 (gst_base_src_init), (gst_base_src_loop),
11144 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11145 (gst_base_src_change_state):
11146 * libs/gst/base/gstbasesrc.h:
11147 Don't unconditionally send EOS when going from PAUSED to
11148 READY state, esp. make sure we don't send two EOS events
11149 in some cases (e.g. one when reaching EOS and one when
11150 going from PAUSED to READY). Also, we don't want to send
11151 EOS events when operating in pull mode. However, we do
11152 want to send an EOS event when shutting down a live
11153 source explicitly, for example (fixes #330996).
11155 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11157 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11158 Update src->read_position after a seek when not using mmap.
11159 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11161 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11167 Make things work with --disable-parse as they do with
11168 --disable-load-save - the symbols involved disappear, but the
11169 header is still installed and GST_DISABLE_PARSE is included via
11172 2006-02-20 Julien MOUTTE <julien@moutte.net>
11174 * libs/gst/base/gstbasetransform.c:
11175 (gst_base_transform_change_state): Fix a stupid bug. I was
11176 sure I compiled that.
11178 2006-02-20 Julien MOUTTE <julien@moutte.net>
11180 * gst/gstpad.c: (gst_pad_set_blocked_async):
11181 * gst/gstutils.c: (gst_pad_add_data_probe),
11182 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11183 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11184 (gst_pad_remove_buffer_probe): Make those function act on the
11185 ghostpad target when it's a ghostpad. (Closes #331727)
11187 2006-02-20 Julien MOUTTE <julien@moutte.net>
11189 * libs/gst/base/gstbasetransform.c:
11190 (gst_base_transform_change_state): Make basetransform reusable.
11193 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11195 * docs/random/release:
11196 Move the current documentation of how to do a release to the top
11199 * gst/gstbin.c: (gst_bin_class_init),
11200 (gst_bin_handle_message_func):
11201 Allow multiple state-recalculation threads. (Closes #328873)
11203 2006-02-19 Julien MOUTTE <julien@moutte.net>
11205 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11206 * gst/gstpad.c: (gst_pad_set_event_function),
11207 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11208 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11209 2 strings. You can't use the STR_NULL macro on that.
11211 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11213 * gst/gstpad.c: (gst_pad_set_event_function),
11214 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11215 (gst_pad_set_getcaps_function)
11216 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11217 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11218 So now, we can use --gst-debug-level=5 on Windows
11219 * win32/common/libgstcontroller.def:
11220 Added export of gst_controller_init
11221 * win32/vs6/libgstcontroller.dsp:
11222 Fixed Release post build configuration
11224 2006-02-17 Wim Taymans <wim@fluendo.com>
11226 * tests/check/gst/gstquery.c: (GST_START_TEST):
11227 Added another check.
11229 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11231 * plugins/elements/gsttypefindelement.c: (find_peek):
11232 We can do peeks at non-zero offsets, as long as they
11233 fall within the buffer we have.
11235 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11237 * tests/check/Makefile.am:
11238 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11239 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11240 (parse_suite), (main):
11241 Add testsuite for parse launch syntax
11243 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11245 * plugins/elements/gsttypefindelement.c:
11246 (gst_type_find_element_chain):
11247 When typefinding is unsuccessful in the chain function, don't
11248 error out immediately. Only error out with NO_CAPS_FOUND if
11249 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11250 otherwise simply wait for more data so we can try typefinding
11251 again with more data later. Also, don't attempt to typefind
11252 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11253 this should improve typefinding from network sources where the
11254 size of the first buffer can be somewhat random.
11256 2006-02-14 Wim Taymans <wim@fluendo.com>
11258 * docs/gst/gstreamer-sections.txt:
11259 * gst/gstpadtemplate.c:
11260 * gst/gstpadtemplate.h:
11261 Fix padtemplate docs, fixes #328805.
11263 2006-02-14 Wim Taymans <wim@fluendo.com>
11265 * tools/gst-launch.c: (main):
11266 NO_PREROLL is not an ERROR so don't send confusing messages
11269 2006-02-14 Wim Taymans <wim@fluendo.com>
11271 Patch by: Torsten Schoenfeld
11273 * gst/gstregistry.c: (gst_registry_get_default),
11274 (_gst_registry_cleanup):
11275 Protect default registry with lock and ref/sink it.
11278 2006-02-14 Wim Taymans <wim@fluendo.com>
11281 * gst/gstquery.c: (gst_query_list_add_format),
11282 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11283 (gst_query_parse_formats_nth):
11284 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11287 2006-02-14 Wim Taymans <wim@fluendo.com>
11289 * docs/gst/gstreamer-sections.txt:
11290 Reworked query docs.
11292 * gst/gstquery.c: (gst_query_new_formats),
11293 (gst_query_list_add_format), (gst_query_set_formats),
11294 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11295 (gst_query_parse_formats_nth):
11297 Flesh out formats query, added some new methods.
11298 Fix part of #324398.
11300 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11301 Added query creation tests.
11303 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11305 * gst/gstpad.c: (fixate_value):
11306 Add a default fixation for fraction lists.
11308 2006-02-13 Wim Taymans <wim@fluendo.com>
11310 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11311 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11314 Detect and warn for obvious deadlocks. fixes #320340
11315 Fix error case where lock was not released.
11317 * tests/check/Makefile.am:
11318 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11319 (task_func), (gst_element_suite), (main):
11322 2006-02-13 Wim Taymans <wim@fluendo.com>
11324 * docs/gst/gstreamer-sections.txt:
11326 Add new functions to docs.
11328 2006-02-13 Wim Taymans <wim@fluendo.com>
11330 * docs/design/part-TODO.txt:
11331 Updated TODO list, basesrc supports seeking to non-bytes
11334 * docs/design/part-element-sink.txt:
11337 * gst/gstbin.c: (bin_replace_message),
11338 (gst_bin_handle_message_func):
11339 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11340 * gst/gstevent.c: (gst_event_finalize):
11341 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11342 (gst_pad_send_event):
11343 Use shiny new _TYPE_NAME macros.
11345 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11346 Move debug statement up.
11348 * gst/gstelement.c: (gst_element_set_locked_state):
11349 Add some debugging.
11351 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11353 * docs/gst/gstreamer-sections.txt:
11354 * gst/gstmessage.h:
11356 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11357 macros (#330906). Also, document the already existing
11358 GST_QUERY_TYPE macro.
11360 2006-02-13 Wim Taymans <wim@fluendo.com>
11362 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11363 (event_probe), (GST_START_TEST):
11364 Only events up to the pipeline EOS are counted, there are
11365 some more when going to NULL currently which we don't care
11368 2006-02-13 Wim Taymans <wim@fluendo.com>
11370 * gst/gstpad.c: (gst_pad_send_event):
11371 Correctly check flushing and emit probes. fixes #330125
11373 2006-02-10 Andy Wingo <wingo@pobox.com>
11375 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11377 (gst_bus_init): Cache the location of the private data in the
11378 instance structure.
11379 (gst_bus_enable_sync_message_emission)
11380 (gst_bus_disable_sync_message_emission): Implement new public
11382 (gst_bus_post): Emit the sync-message signal if the user asked for
11385 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11386 location of the bus-private structure.
11387 (gst_bus_enable_sync_message_emission)
11388 (gst_bus_disable_sync_message_emission): API addition
11390 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11392 Patch by: Vincent Torri
11394 * docs/pwg/building-boiler.xml:
11395 PWG patch from #326800
11397 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11400 * docs/Makefile.am:
11401 * docs/design/Makefile.am:
11404 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11409 === release 0.10.3 ===
11411 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11414 releasing 0.10.3, "Like a virgin"
11416 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11419 2nd prerelease of 0.10.3
11420 Bump libtool versioning.
11422 2006-02-07 Andy Wingo <wingo@pobox.com>
11424 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11425 update last_stop if we're in TIME format and the timestamp is
11428 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11429 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11430 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11431 If we get a new newsegment with a different format, adapt
11434 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11435 of 0. Not a problem, really.
11437 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11440 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11445 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11448 project files updated to the default vs7 configuration
11449 * win32/common/libgstbase.def:
11450 * win32/common/libgstreamer.def:
11452 removed empty lines,
11453 sorted all exported symbols alphabetically
11454 * win32/common/dirent.c:
11455 * win32/common/dirent.h:
11456 * win32/common/gchar.h:
11457 use windows line end.
11459 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11461 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11462 Send EOS event when stopping.
11464 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11467 Tell folks what to do if the plugin-foobar.xml file
11468 hasn't been generated for a newly-added plugin.
11470 2006-02-05 Julien MOUTTE <julien@moutte.net>
11472 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11473 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11474 (gst_collect_pads_start), (gst_collect_pads_stop),
11475 (gst_collect_pads_event): Collectpads now holds a reference
11476 to the GstPad that was added. Indeed we don't want to look
11477 at pads that might just go away with no warning...
11479 2006-02-05 Julien MOUTTE <julien@moutte.net>
11481 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11482 (gst_collect_pads_start), (gst_collect_pads_stop),
11483 (gst_collect_pads_event), (gst_collect_pads_chain):
11484 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11485 Mark Nauwelaerts's patch on bug #328491.
11487 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11489 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11491 Add some simple tests for gst_parse_bin_from_description() and
11492 gst_bin_find_unconnected_pad() (#329069).
11494 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11496 * tools/gst-launch.c: (event_loop), (main):
11497 Catch errors during preroll (#320084).
11499 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11501 * plugins/elements/gsttypefindelement.c:
11502 (gst_type_find_element_activate):
11503 Post TYPE_NOT_FOUND error message when typefinding
11504 is unsuccessful in the activate function as well.
11506 2006-02-02 Wim Taymans <wim@fluendo.com>
11508 * docs/design/part-element-sink.txt:
11511 2006-02-02 Wim Taymans <wim@fluendo.com>
11513 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11514 (gst_base_sink_render_object),
11515 (gst_base_sink_queue_object_unlocked):
11516 Only keep track of prerollable items when we are
11518 Before rendering after preroll, always check if we
11520 Added some more debugging.
11522 2006-02-02 Wim Taymans <wim@fluendo.com>
11524 * gst/gstelement.c: (gst_element_continue_state),
11525 (gst_element_set_state_func), (gst_element_change_state):
11526 Fixed #326576, been running this for quite some time with
11527 no regressions at all.
11529 2006-02-02 Wim Taymans <wim@fluendo.com>
11532 Added more suppressions
11534 2006-02-02 Wim Taymans <wim@fluendo.com>
11536 * docs/design/part-element-sink.txt:
11539 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11540 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11541 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11542 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11543 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11544 (gst_base_sink_preroll_object),
11545 (gst_base_sink_queue_object_unlocked),
11546 (gst_base_sink_queue_object), (gst_base_sink_event),
11547 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11548 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11549 (gst_base_sink_get_position), (gst_base_sink_change_state):
11550 * libs/gst/base/gstbasesink.h:
11551 Totally refactored matching the design doc.
11552 Use two segments, one to clip incomming buffers and another to
11554 Handle queueing correctly, bypass the queue when playing.
11555 Make EOS cancelable.
11556 Handle errors correctly when operating in pull based mode.
11558 * tests/check/elements/fakesink.c: (GST_START_TEST),
11560 Added new check for sinks.
11562 2006-02-02 Wim Taymans <wim@fluendo.com>
11564 * gst/gstsegment.c: (gst_segment_clip):
11565 No reason to refuse to clip when start == -1
11567 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11570 * docs/manual/intro-basics.xml:
11571 * docs/manual/intro-preface.xml:
11572 * docs/manual/manual.xml:
11573 * docs/pwg/advanced-dparams.xml:
11574 * docs/pwg/intro-basics.xml:
11575 * docs/pwg/intro-preface.xml:
11576 * docs/pwg/pwg.xml:
11577 describe dparams (controller) for plugins
11578 unify docs a little more
11580 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11582 * docs/gst/gstreamer-sections.txt:
11583 * gst/gstutils.c: (element_find_unconnected_pad),
11584 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11586 Add new API: gst_parse_bin_from_description() and
11587 gst_bin_find_unconnected_pad() (#329069).
11589 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11591 * docs/manual/README:
11592 uncover a nasty detail of the docs build
11594 2006-01-31 Wim Taymans <wim@fluendo.com>
11596 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11597 Don't cache duration messages if we're not going to use or
11600 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11602 * docs/manual/advanced-dparams.xml:
11603 * docs/pwg/advanced-dparams.xml:
11607 * libs/gst/controller/lib.c: (gst_controller_init):
11610 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11612 * gst/gstelement.c: (gst_element_message_full):
11613 also show file/line/func if no additional debug was given
11615 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11617 * win32/vs7/grammar.vcproj:
11618 activate copy of autogenerated files for Release mode
11620 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11622 * win32/common/libgstreamer.def:
11623 export gst_value_compare
11625 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11627 * plugins/elements/Makefile.am:
11628 * plugins/elements/gstelements.c:
11629 * plugins/elements/gstfdsink.c: (_do_init),
11630 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11631 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11632 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11633 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11634 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11635 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11636 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11637 * plugins/elements/gstfdsink.h:
11638 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11640 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11642 * docs/manual/advanced-dparams.xml:
11643 describe controller
11644 * docs/manual/advanced-position.xml:
11645 * docs/manual/basics-init.xml:
11646 * docs/manual/manual.xml:
11647 * docs/manual/titlepage.xml:
11648 * docs/pwg/pwg.xml:
11649 * docs/pwg/titlepage.xml:
11650 cleanup xml (more to come)
11651 * libs/gst/controller/gstcontroller.c:
11654 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11656 * win32/vs6/grammar.dsp:
11657 add autogen of gstmarshal.c,h for Release mode
11659 2006-01-30 Wim Taymans <wim@fluendo.com>
11661 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11662 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11663 (gst_base_sink_handle_object), (gst_base_sink_event),
11664 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11665 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11666 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11667 (gst_base_sink_deactivate), (gst_base_sink_activate),
11668 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11669 (gst_base_sink_query), (gst_base_sink_change_state):
11670 Basesink cleanups, remove some old code.
11671 Handle the case where a subclass can preroll in the render
11672 method (mostly audiosinks).
11673 Handle more events.
11674 Remove some locks around variables that are now protected
11675 with the PREROLL_LOCK (clock_id, flushing, ..).
11676 Optimize position query some more, do correct locking.
11677 Remove old code to push queue in state change, this is not
11678 needed anymore since preroll blocks on all prerollable items
11680 Almost implemented as described in design doc.
11682 2006-01-30 Wim Taymans <wim@fluendo.com>
11684 * tests/check/gst/gstbin.c: (GST_START_TEST):
11685 Wait for refcount to settle down before checking.
11687 2006-01-30 Wim Taymans <wim@fluendo.com>
11689 * docs/design/part-element-sink.txt:
11690 Pseudo code overview of desired sink behaviour regarding
11693 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11694 * win32/vs6/grammar.dsp:
11695 fix some bugs in Release mode for autogenerated files
11697 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11698 * win32/common/libgstbase.def:
11699 * win32/common/libgstreamer.def:
11700 export some new symbols: gst_base_src_set_format,
11701 gst_iterator_next, gst_structure_set_valist
11703 2006-01-29 Julien MOUTTE <julien@moutte.net>
11705 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11706 Set pad functions unconditionally. Fixes #329105.
11708 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11710 add vs8 project files created by Sergey Scobich
11712 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11714 * gst/gstutils.c: (gst_element_unlink_pads):
11715 Don't leak pad references.
11717 * tests/check/elements/fakesink.c: (GST_START_TEST):
11718 * tests/check/generic/sinks.c: (GST_START_TEST):
11719 * tests/check/generic/states.c: (GST_START_TEST):
11720 * tests/check/gst/gstbin.c: (GST_START_TEST):
11721 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11722 * tests/check/gst/gstelement.c: (GST_START_TEST):
11723 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11724 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11725 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11726 Fix a bunch of leaks. Make generic/sinks.c
11727 use a bit less cpu by slowing the buffer rate
11728 between fakesrc and fakesink.
11730 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11732 * gst/gstelement.c: (gst_element_send_event):
11735 * gst/gstiterator.c:
11736 * gst/gstiterator.h:
11737 * gst/gstpad.c: (gst_pad_send_event):
11738 * gst/gststructure.c:
11742 * libs/gst/base/gstadapter.c:
11743 doc fixes, to link to function, just write gst_cool_function(), don't
11746 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11748 * plugins/elements/gsttee.c: (gst_tee_do_push),
11749 (gst_tee_handle_buffer):
11750 Always prefer an actual return value from a src
11751 pad in place of NOT_LINKED. This means we return
11752 WRONG_STATE when all src pads are WRONG_STATE
11753 instead of NOT_LINKED.
11755 Lock when replacing the last message to prevent
11756 racing with the get_property method.
11760 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11762 * tests/check/Makefile.am:
11763 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11765 Add a very simple check that should have caught the memleak I fixed
11766 last night (if not for the slice allocator hiding it)
11768 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11770 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11771 (gst_bin_remove_func), (gst_bin_handle_message_func),
11772 (bin_query_duration_fold), (bin_query_generic_fold):
11773 Clean up references to the clock provider when disposed or when
11774 handling a clock-lost message from it.
11776 Unref sinks when performing a query via gst_iterator_fold, as the
11777 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11779 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11780 (gst_clock_set_master):
11781 Drop our reference to the master clock, if any, when we are disposed.
11783 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11784 Chain up in dispose.
11786 2006-01-26 Wim Taymans <wim@fluendo.com>
11788 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11789 Add some debugging.
11791 2006-01-26 Julien MOUTTE <julien@moutte.net>
11793 * plugins/elements/gsttee.c: (gst_tee_do_push),
11794 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11795 handles pad being NOT_LINKED or in WRONG_STATE.
11797 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11802 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11805 remove obsolete entry
11807 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11809 * docs/gst/gstreamer-sections.txt:
11810 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11811 (gst_bin_iterate_sources), (gst_bin_send_event):
11813 * gst/gstelement.c: (gst_element_send_event):
11815 * gst/gstpad.c: (gst_pad_send_event):
11816 added code for downstream events, reviewed docs in gstevent.c
11818 2006-01-25 Julien MOUTTE <julien@moutte.net>
11820 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11821 We only query position using the clock in the playing state.
11822 Query peer in the other cases.
11823 * win32/common/config.h: Updates.
11825 2006-01-24 Wim Taymans <wim@fluendo.com>
11827 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11828 A clock entry that is scheduled for the exact time of the
11829 clock is still in time.
11831 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11832 (gst_base_sink_do_sync):
11833 Add some more debug info.
11835 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11838 Add new vs7 project files and solution.
11840 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11843 all files removed as they were out-dated.
11845 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11847 * docs/random/release:
11849 * gst/gstbin.c: (gst_bin_init):
11850 * gst/gstbus.c: (gst_bus_new):
11852 * gst/gstpipeline.c: (gst_pipeline_init):
11853 use gst_bus_new(), improve logging, fix docs
11854 * win32/common/config.h:
11855 update for cvs build
11857 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11860 up required version of automake to 1.7
11862 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11864 * win32/common/libgstreamer.def:
11865 export gst_buffer_is_metadata_writable
11867 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11869 * docs/gst/gstreamer-sections.txt:
11871 Add gst_event_replace() (#327001)
11873 2006-01-20 Wim Taymans <wim@fluendo.com>
11875 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11876 Make it actually compile too..
11878 2006-01-20 Wim Taymans <wim@fluendo.com>
11881 Clarify behaviour of _is_equal() when passing NULL parameters.
11883 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11884 (gst_pad_set_caps):
11885 Cleanups. Don't unref NULL caps.
11886 When setting the same caps, protect caps of the pad with
11888 Use full functionality of _is_equal() when comparing caps.
11890 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11892 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11893 Don't loop infinitely if there are no buffers to present. Partially
11894 fixes #327197, but collectpads is just broken for reusing elements
11895 to do multiple encodes atm.
11897 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11899 * tools/gst-inspect.c: (print_element_features):
11900 * tools/gst-xmlinspect.c: (main):
11901 URL_HANDLER is not a plugin feature we can search for in
11904 2006-01-19 Edward Hervey <edward@fluendo.com>
11906 * gst/gstelement.c: (gst_element_pads_activate):
11907 When activating, do src pads first, then sink pads.
11908 When de-activating, do sink pads first, then src pads.
11910 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11912 * docs/gst/gstreamer-sections.txt:
11913 Add gst_index_add_associationv to the docs
11915 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11920 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11921 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11922 Do some refactoring. Doesn't actually change functionality,
11923 but makes landing the DRAIN event easier later.
11925 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11927 * docs/pwg/advanced-scheduling.xml:
11928 Update from 0.9.x to 0.10 API and make example a bit
11931 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11933 * docs/gst/gstreamer-sections.txt:
11934 Add gst_buffer_(is|make)_metadata_writable methods.
11936 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11938 * docs/design/part-sparsestreams.txt:
11939 Update sparse streams doc, hopefully for greater clarity
11941 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11943 * docs/design/part-events.txt:
11944 Remove mention of FILLER events.
11947 * docs/design/part-sparsestreams.txt:
11948 Write some things about using NEWSEGMENT to keep sparse streams
11951 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11953 * gst/gstbin.c: (gst_bin_dispose):
11954 Guard gst_object_unref call against a NULL object (dispose
11955 can theoretically be called multiple times).
11957 2006-01-18 Wim Taymans <wim@fluendo.com>
11959 * gst/gstbin.c: (gst_bin_element_set_state):
11960 * gst/gstclock.c: (gst_clock_id_wait):
11961 Added some more debug info.
11963 * libs/gst/base/gstadapter.c:
11966 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11967 (gst_base_sink_do_sync), (gst_base_sink_chain):
11968 Added some comments.
11970 2006-01-18 Wim Taymans <wim@fluendo.com>
11972 * tests/check/Makefile.am:
11973 * tests/check/elements/fakesink.c: (chain_async_buffer),
11974 (chain_async), (chain_async_return), (GST_START_TEST),
11975 (fakesink_suite), (main):
11976 Added fakesink test that checks prerolling and clipping
11979 * tests/check/gst/gstutils.c: (GST_START_TEST):
11980 Make check run faster so that buildbots don't timeout.
11982 2006-01-18 Wim Taymans <wim@fluendo.com>
11984 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11985 (gst_base_sink_do_sync):
11987 When the sink finishes blocking on the preroll buffer, it can
11988 immediatly render it instead of rendering when the next buffer
11991 2006-01-18 Wim Taymans <wim@fluendo.com>
11993 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11994 (gst_base_sink_get_property), (gst_base_sink_do_sync),
11995 (gst_base_sink_chain):
11997 GST_ELEMENT_CLOCK and sync are protected with LOCK.
11998 Don't store _last_stop if the buffer is dropped.
12000 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12002 * plugins/elements/gsttypefindelement.c:
12003 (gst_type_find_element_class_init):
12004 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12005 object method handler that sets the caps on the pad and we want
12006 that to happen before we emit the signal (fixes e.g. feeding a
12007 plain text file to decodebin).
12009 2006-01-18 Christian Schaller <Christian@fluendo.com>
12011 * gst/gstplugin.c: Add MPL and Proprietary as license options
12013 2006-01-18 Andy Wingo <wingo@pobox.com>
12015 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12016 symbol was exported before, it appears this was just an oversight.
12018 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12020 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12021 prototype to gint. OK since this prototype was not in the header.
12023 2006-01-17 Andy Wingo <wingo@pobox.com>
12025 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12026 registry while we remove plugins.
12028 * tools/gst-inspect.c (print_element_info): Don't unref the
12029 factory arg, that should be the responsibility of whatever code
12030 received the ref. Fixes a double-free when called from
12031 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12032 (main): Unref the factory if we have one.
12033 (print_element_list): No change -- relies on the
12034 plugin_feature_list_free to free the list of features.
12036 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12038 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12039 (gst_buffer_make_metadata_writable):
12041 * libs/gst/base/gstbasetransform.c:
12042 (gst_base_transform_prepare_output_buf):
12043 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12044 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12045 Replace gst_buffer_(make|is)_metadata_writable patch now
12046 that the release is out.
12048 2006-01-17 Andy Wingo <wingo@pobox.com>
12050 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12051 in the present tense without reference to versions.
12053 * gst/gstregistry.c (gst_registry_add_plugin)
12054 (gst_registry_remove_plugin, gst_registry_remove_feature)
12055 (gst_registry_find_feature, gst_registry_get_feature_list)
12056 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12057 (gst_registry_lookup, gst_registry_scan_path)
12058 (_gst_registry_remove_cache_plugins)
12059 (gst_registry_get_feature_list_by_plugin): Add argument
12062 === release 0.10.2 ===
12064 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12067 releasing 0.10.2, "If man is five"
12069 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12073 * libs/gst/base/gstbasetransform.c:
12074 (gst_base_transform_prepare_output_buf):
12075 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12076 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12077 Back out patch until after the release.
12079 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12081 * gst/gstminiobject.c:
12082 Spelling fix in docs.
12083 * ChangeLog - remove conflict indicator
12085 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12087 Reviewed By: Andy Wingo
12089 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12090 (gst_buffer_make_metadata_writable):
12092 Add gst_buffer_(is|make)_metadata_writable as analogues of
12093 gst_buffer_(is|make)_writable.
12095 * libs/gst/base/gstbasetransform.c:
12096 (gst_base_transform_prepare_output_buf):
12097 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12098 Use name gst_buffer_(is|make)_metadata_writable functions.
12100 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12101 Test gst_buffer_(is|make)_metadata_writable
12105 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12107 * docs/manual/Makefile.am:
12108 don't do parallel make
12111 * win32/common/config.h.in:
12112 add generations for HOST_CPU and GST_MAJORMINOR
12113 * win32/common/config.h:
12114 commit generated result
12116 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12118 * docs/manual/appendix-integration.xml:
12119 Update GNOME integration section to use gst_init_get_option_group()
12120 instead of the old popt stuff (#322911). Also, GNOME applications
12121 should now use gconf*sink and gconf*src instead of the old gconf
12124 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12127 * docs/gst/gstreamer-docs.sgml:
12128 * docs/gst/gstreamer-sections.txt:
12129 * docs/libs/gstreamer-libs-sections.txt:
12130 add new API entries to the docs
12131 * libs/gst/controller/Makefile.am:
12132 * libs/gst/controller/gstcontroller.c:
12133 * libs/gst/controller/gstcontroller.h:
12134 * libs/gst/controller/gstcontrollerprivate.h:
12135 * libs/gst/controller/gsthelper.c:
12136 * libs/gst/controller/gstinterpolation.c:
12137 move private structs to private header
12139 gstreamer-0.7 -> gstreamer-0.10
12140 * tests/check/libs/struct_i386.h:
12141 remove private structs
12143 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12145 * plugins/indexers/Makefile.am:
12146 Fixes as part of #317048
12148 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12150 * plugins/indexers/Makefile.am:
12151 fix #316086 - compilation when mmap is missing
12153 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12155 * libs/gst/base/gstbasesink.c:
12156 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12157 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12158 * win32/common/config.h:
12159 added some defines GST_MAJORMINOR and HOST_CPU
12160 * win32/common/libgstbase.def:
12161 * win32/common/libgstreamer.def:
12162 added some exported functions.
12164 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12166 * libs/gst/controller/gstcontroller.c:
12167 (gst_controlled_property_set_interpolation_mode),
12168 (gst_controlled_property_new):
12169 * libs/gst/controller/gstcontroller.h:
12170 * libs/gst/controller/gstinterpolation.c:
12171 (interpolate_none_get_string_value_array):
12172 make G_TYPE_STRING controlable
12174 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12177 * tools/gst-feedback.1.in:
12178 * tools/gst-inspect.1.in:
12179 * tools/gst-launch.1.in:
12180 * tools/gst-md5sum.1.in:
12181 * tools/gst-typefind.1.in:
12182 * tools/gst-xmlinspect.1.in:
12183 * tools/gst-xmllaunch.1.in:
12184 cleanup man-pages, remove reference to gst-register, document env-vars
12186 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12188 * gst/gstbuffer.c: (gst_buffer_span):
12189 gst_buffer_span should copy the timestamp of the first buffer
12190 if they were both originally overlapping subbuffers of the
12191 same parent, using the same logic as the 'slow copy' case.
12193 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12195 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12196 Need to awaken ALL the pads when we pop a buffer, otherwise
12197 collectpads only works when there is 2 input streams.
12199 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12201 * docs/random/ensonic/media-device-daemon.txt:
12204 fix doc example, add clarification
12205 * tools/gst-launch.1.in:
12206 add initial info about GST_PLUGIN_PATH, needs more work
12208 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12210 * docs/manual/basics-bins.xml:
12211 * docs/manual/basics-elements.xml:
12212 * docs/manual/intro-basics.xml:
12213 Some more minor docs additions and updates.
12215 2006-01-11 Wim Taymans <wim@fluendo.com>
12217 * docs/manual/basics-bins.xml:
12218 * docs/manual/basics-elements.xml:
12219 Some small fixes as pointed out by Ser-ver on IRC.
12221 2006-01-10 Edward Hervey <edward@fluendo.com>
12223 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12224 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12225 the single-segment mode.
12227 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12229 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12231 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12232 (gst_base_src_perform_seek), (gst_base_src_send_event),
12233 (gst_base_src_set_property), (gst_base_src_get_property),
12234 (gst_base_src_loop), (gst_base_src_start),
12235 (gst_base_src_activate_push):
12236 * libs/gst/base/gstbasesrc.h:
12237 Name (private) union; makes Sun's Forte compiler happy (#324900).
12239 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12242 gst-register is gone.
12244 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12246 * gst/gstvalue.c: (_gst_value_initialize):
12247 make the G_TYPE_DATE instantiation work if debug is disabled
12249 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12251 * gst/gstmessage.c: (gst_message_parse_tag),
12252 (gst_message_parse_error), (gst_message_parse_warning):
12253 Don't crash when return location for error/warning debug
12254 string is NULL; add fact that return locations can be
12255 NULL to docs where appropriate.
12257 2006-01-05 Wim Taymans <wim@fluendo.com>
12259 * gst/gstplugin.c: (gst_plugin_load_file):
12260 Replace strdup by g_strdup.
12262 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12264 * docs/pwg/advanced-types.xml:
12267 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12269 submitted by: Abel Cheung
12273 Added Chinese (traditional) translation
12275 2006-01-04 Wim Taymans <wim@fluendo.com>
12277 * docs/manual/basics-pads.xml:
12278 * docs/plugins/Makefile.am:
12279 * docs/plugins/gstreamer-plugins-docs.sgml:
12280 * docs/plugins/gstreamer-plugins-sections.txt:
12281 * docs/pwg/advanced-clock.xml:
12282 * docs/pwg/advanced-scheduling.xml:
12283 * docs/pwg/advanced-types.xml:
12284 * plugins/elements/gstfdsink.c:
12285 * plugins/elements/gstfdsrc.c:
12286 * plugins/elements/gstfdsrc.h:
12287 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12288 * plugins/elements/gstidentity.h:
12289 * plugins/elements/gstqueue.h:
12290 * plugins/elements/gsttee.c:
12291 * plugins/elements/gsttee.h:
12292 * plugins/elements/gsttypefindelement.c:
12293 (gst_type_find_element_class_init):
12294 * plugins/elements/gsttypefindelement.h:
12295 Small updates to various docs.
12296 Added core plugins to docs.
12298 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12301 add a suppression for liboil's uninitialized variable
12303 2006-01-02 James Livingston <jrl at ids dot org dot au>
12305 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12308 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12309 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12310 compiler switch is being used (#325429).
12312 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12314 * gst/gstbin.c: (gst_bin_query):
12315 Disable duration query caching in bins until it gets
12316 fixed (see #324807).
12318 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12320 * tools/gst-inspect.c: (print_element_properties_info):
12321 Handle properties of POINTER and BOXED type.
12323 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12325 * gst/gst.c: (init_post):
12326 Init tags stuff and some other things before loading
12327 any static plugins (there may be other static plugins
12328 than just the GStreamer ones, and they may want to
12329 register their own tags or formats or whatever, and
12330 preferably without segfaulting).
12332 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12333 Print at least a warning in the debug logs if we drop a
12334 query just because we don't know how to adjust the value
12335 in the particular format.
12337 2005-12-24 David Schleef <ds@schleef.org>
12339 * tools/gstreamer-completion:
12340 Replacement for gst-complete written in sh and sed. Only
12341 completes names of features, but that's 90% of what I want
12342 it for. Properties are not available in registry.xml. (Maybe
12345 === release 0.10.1 ===
12347 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12350 releasing 0.10.1, "Nollaig chridheil"
12352 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12354 * docs/faq/cvs.xml:
12355 Add missing quote, should be make ERROR_CFLAGS="".
12357 2005-12-20 Wim Taymans <wim@fluendo.com>
12359 * docs/design/part-trickmodes.txt:
12360 More documentation on trickmodes.
12362 2005-12-20 Edward Hervey <edward@fluendo.com>
12364 * gst/gstcaps.c: (gst_static_caps_get_type):
12366 API addition: GST_TYPE_STATIC_CAPS
12367 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12368 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12369 * gst/gstpadtemplate.h:
12370 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12371 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12374 2005-12-18 Wim Taymans <wim@fluendo.com>
12376 * libs/gst/base/gstadapter.c:
12377 * libs/gst/base/gstadapter.h:
12378 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12379 (gst_base_sink_get_position):
12380 * libs/gst/base/gstbasesink.h:
12381 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12382 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12383 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12384 (gst_base_src_send_event), (gst_base_src_update_length),
12385 (gst_base_src_get_range), (gst_base_src_loop),
12386 (gst_base_src_start):
12387 * libs/gst/base/gstbasesrc.h:
12388 * libs/gst/base/gstbasetransform.h:
12389 * libs/gst/base/gstcollectpads.h:
12390 * libs/gst/base/gstpushsrc.c:
12391 * libs/gst/base/gstpushsrc.h:
12392 * libs/gst/dataprotocol/dataprotocol.c:
12393 * libs/gst/dataprotocol/dataprotocol.h:
12394 * libs/gst/net/gstnetclientclock.h:
12395 * libs/gst/net/gstnettimeprovider.h:
12396 Documentation updates.
12398 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12400 * docs/manual/basics-helloworld.xml:
12401 Remove superfluous closing bracket in helloworld example.
12403 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12405 * tools/gst-launch.1.in:
12406 Update gst-launch man page; add a section with useful
12407 environment variables. Fixes #323882.
12409 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12412 * gst/gst_private.h:
12413 change some char* into char[]
12415 2005-12-16 Wim Taymans <wim@fluendo.com>
12417 * gst/gstregistryxml.c: (load_feature):
12419 Don't use g_object_unref on GstObjects so that we avoid
12420 leaks on unsafe glibs.
12422 2005-12-16 Wim Taymans <wim@fluendo.com>
12424 * gst/gstbin.c: (gst_bin_recalc_state):
12427 2005-12-16 Wim Taymans <wim@fluendo.com>
12429 * common/check.mak:
12430 Added make forever target for check.
12432 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12434 * gst/gst.c: (init_post):
12435 make the registry cache file HOST_CPU-dependent
12437 2005-12-16 Andy Wingo <wingo@pobox.com>
12439 * plugins/elements/gstbufferstore.c
12440 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12443 * tests/check/gst/gstobject.c
12444 (test_fake_object_name_threaded_unique): Pay attention to
12445 g_list_sort return value.
12447 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12449 * tools/gst-feedback-m.m:
12450 Update for 0.9/0.10 (fixes #323870).
12452 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12454 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12455 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12457 * tests/check/gst/gstminiobject.c: (my_foo_init),
12458 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12459 (test_value_collection), (gst_mini_object_suite):
12460 Add test to ensure refcounts end up as expected when passing
12461 GstMiniObjects through g_object_get() and g_object_set().
12463 2005-12-14 Julien MOUTTE <julien@moutte.net>
12465 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12466 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12467 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12468 of collectpads. This version removes a lot of races without
12469 touching API/ABI. Yay !
12471 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12473 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12474 Don't allow activation of a srcpad in pull_range if it has no
12476 Change some debug statements to be a little clearer
12478 * plugins/elements/gsttypefindelement.c:
12479 (gst_type_find_handle_src_query):
12480 Check that we have a peer before executing queries thereupon.
12482 * tests/examples/metadata/read-metadata.c: (message_loop):
12483 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12484 immediately return us any available message with 0 timeout.
12486 2005-12-12 Michael Smith <msmith@fluendo.com>
12488 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12489 Don't unref factories after calling them.
12490 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12491 * plugins/elements/gsttypefindelement.c:
12492 (gst_type_find_element_chain):
12493 Free lists of factories after using them. Fixing typefinding memory
12496 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12498 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12499 (gst_plugin_feature_load):
12500 more meaningful debug output
12502 * tests/Makefile.am:
12503 * tests/old/examples/Makefile.am:
12504 make make distcheck happy again
12506 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12508 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12509 Catch the special case where we are operating chain-based,
12510 but the downstream peer pad has no chain function. Emit a
12511 custom error message in this case instead of letting the
12512 core generate one implying that this is some sort of core
12513 bug. It's not, it just means that whatever got plugged
12514 into the pipeline downstream when we announced the type
12515 can only operate pull-based, while our source can only
12516 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12517 Error string has not been marked for translation yet, as
12518 it probably needs some more work first.
12520 (gst_type_find_element_get_best_possibility):
12521 Add helper function to find the best of all available
12522 found possibilities that qualify given the min. threshold.
12524 (gst_type_find_element_handle_event):
12525 Fix the case where we get an EOS while still in TYPEFIND
12526 mode (we want to chose the best of all possible types,
12527 not just the first type that happens to be in our unsorted
12528 list of possible types).
12530 (gst_type_find_element_chain):
12531 Make sure we return GST_FLOW_ERROR when we errored out
12532 in stop_typefinding(); also, don't just find the best of
12533 all found type entries and then use the last examined
12534 type entry, but actually use the best entry.
12536 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12538 * tests/examples/typefind/typefind.c: (type_found):
12539 * tests/examples/xml/runxml.c: (xml_loaded):
12540 More gcc4 fixes and a mem leak fix.
12542 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12544 * tests/examples/xml/createxml.c: (object_saved):
12547 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12549 * tests/Makefile.am:
12550 enable the examples even more
12552 2005-12-12 Andy Wingo <wingo@pobox.com>
12554 * libs/gst/net/gstnettimeprovider.c
12555 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12556 (gst_net_time_provider_set_property)
12557 (gst_net_time_provider_get_property):
12558 API addition: Export "active" as a GObject property.
12559 (gst_net_time_provider_thread): Only respond to time queries if
12560 the time provider is active.
12562 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12563 NetTimeProvider, preserving binary compat.
12565 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12567 * tests/examples/controller/audio-example.c: (main):
12568 * tests/examples/launch/Makefile.am:
12569 convert comments again
12571 2005-12-12 Wim Taymans <wim@fluendo.com>
12573 * libs/gst/base/gstpushsrc.c:
12576 2005-12-12 Wim Taymans <wim@fluendo.com>
12578 * docs/libs/gstreamer-libs-sections.txt:
12579 Added new symbol to docs.
12581 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12582 (gst_base_src_init), (gst_base_src_set_format),
12583 (gst_base_src_default_query), (gst_base_src_query),
12584 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12585 (gst_base_src_perform_seek), (gst_base_src_send_event),
12586 (gst_base_src_default_event), (gst_base_src_event_handler),
12587 (gst_base_src_set_property), (gst_base_src_get_property),
12588 (gst_base_src_wait), (gst_base_src_do_sync),
12589 (gst_base_src_update_length), (gst_base_src_get_range),
12590 (gst_base_src_check_get_range), (gst_base_src_loop),
12591 (gst_base_src_default_negotiate), (gst_base_src_start),
12592 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12593 (gst_base_src_change_state):
12594 * libs/gst/base/gstbasesrc.h:
12595 Implement seeking to other formats than _BYTES.
12596 Implement more seeking methods correctly.
12598 Added query vmethod.
12599 Added do_seek vmethod to make life easier for subclasses
12601 API addition: gst_base_src_set_format()
12603 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12605 * tests/examples/Makefile.am:
12608 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12611 * docs/random/ensonic/media-device-daemon.txt:
12612 * tests/examples/controller/.cvsignore:
12613 * tests/examples/controller/Makefile.am:
12614 * tests/examples/controller/audio-example.c: (main):
12615 * tests/examples/helloworld/.cvsignore:
12616 * tests/examples/helloworld/Makefile.am:
12617 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12618 * tests/examples/launch/.cvsignore:
12619 * tests/examples/launch/Makefile.am:
12620 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12621 * tests/examples/metadata/.cvsignore:
12622 * tests/examples/metadata/Makefile.am:
12623 * tests/examples/metadata/read-metadata.c: (message_loop),
12624 (make_pipeline), (print_tag), (main):
12625 * tests/examples/queue/.cvsignore:
12626 * tests/examples/queue/Makefile.am:
12627 * tests/examples/queue/queue.c: (event_loop), (main):
12628 * tests/examples/typefind/.cvsignore:
12629 * tests/examples/typefind/Makefile.am:
12630 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12632 * tests/examples/xml/.cvsignore:
12633 * tests/examples/xml/Makefile.am:
12634 * tests/examples/xml/createxml.c: (object_saved), (main):
12635 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12636 * tests/old/examples/Makefile.am:
12637 * tests/old/examples/TODO:
12638 * tests/old/examples/controller/.cvsignore:
12639 * tests/old/examples/controller/Makefile.am:
12640 * tests/old/examples/controller/audio-example.c:
12641 * tests/old/examples/helloworld/.cvsignore:
12642 * tests/old/examples/helloworld/Makefile.am:
12643 * tests/old/examples/helloworld/helloworld.c:
12644 * tests/old/examples/launch/.cvsignore:
12645 * tests/old/examples/launch/Makefile.am:
12646 * tests/old/examples/launch/mp3parselaunch.c:
12647 * tests/old/examples/launch/mp3play:
12648 * tests/old/examples/manual/Makefile.am:
12649 * tests/old/examples/metadata/Makefile.am:
12650 * tests/old/examples/metadata/read-metadata.c:
12651 * tests/old/examples/queue/.cvsignore:
12652 * tests/old/examples/queue/Makefile.am:
12653 * tests/old/examples/queue/queue.c:
12654 * tests/old/examples/typefind/.cvsignore:
12655 * tests/old/examples/typefind/Makefile.am:
12656 * tests/old/examples/typefind/typefind.c:
12657 * tests/old/examples/xml/.cvsignore:
12658 * tests/old/examples/xml/Makefile.am:
12659 * tests/old/examples/xml/createxml.c:
12660 * tests/old/examples/xml/runxml.c:
12661 applied some simple fixing to some examples
12662 re-enabled the working examples
12664 2005-12-12 Wim Taymans <wim@fluendo.com>
12666 * gst/gstsegment.c: (gst_segment_init),
12667 (gst_segment_set_last_stop), (gst_segment_set_seek),
12668 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12669 (gst_segment_to_running_time):
12670 Added more documentation.
12671 Make sure the last_pos value is updated properly.
12672 Make sure to_stream_time and to_running_time don't
12673 operate on wrong values.
12675 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12678 2005-12-12 Michael Smith <msmith@fluendo.com>
12680 * plugins/elements/gsttypefindelement.c: (free_entry),
12681 (gst_type_find_element_chain):
12682 Now that we're not leaking factories, make sure we keep references
12683 to them while we need them.
12685 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12687 * tests/check/gst/struct_i386.h:
12688 ifdef out the XML structs
12690 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12692 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12693 floor is not needed, F is always positive; this obviates the
12694 need for adding -lm when building without libxml
12696 2005-12-12 Wim Taymans <wim@fluendo.com>
12698 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12699 Take current playback rate into account when reporting
12702 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12704 * docs/manual/mime-world.fig:
12705 Let's try this again, this time with a file that is
12706 actually in XFig format.
12708 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12710 * docs/manual/mime-world.fig:
12711 Add audioconvert element to diagram so that it
12712 matches the text and the code (fixes #319526).
12714 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12716 * docs/pwg/building-chainfn.xml:
12717 * docs/pwg/building-pads.xml:
12718 * docs/pwg/building-state.xml:
12719 * docs/pwg/other-source.xml:
12720 Update state change stuff for 0.10 (fixes #322969).
12722 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12724 * docs/manual/advanced-dataaccess.xml:
12725 * docs/manual/appendix-checklist.xml:
12726 * docs/manual/appendix-programs.xml:
12727 * docs/manual/basics-pads.xml:
12728 * docs/manual/highlevel-components.xml:
12729 * docs/manual/manual.xml:
12730 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12731 add converters in front of pipelines; remove curly
12732 brackets for threads stuff, they no longer exist; use
12733 GST_TYPE_FRACTION for framerates; update some pieces of
12734 code to 0.10, but there's plenty more to do.
12736 * docs/manual/appendix-porting.xml:
12737 Expand on asynchroneous state changes; s/0.9/0.10/;
12738 mention disappearance of gst_init_get_popt_table()
12741 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12743 * docs/faq/using.xml:
12744 Spider no longer exists, and neither does gst-launch-ext.
12745 Update examples to use decodebin and playbin and put
12746 converters in front of sinks (fixes #323726).
12748 2005-12-09 Michael Smith <msmith@fluendo.com>
12750 * plugins/elements/gsttypefindelement.c: (find_peek),
12751 (gst_type_find_element_chain):
12752 Fix leaking element factories in typefinding.
12753 Fix problem where we forgot about a probable type on non-seekable
12754 files, and thus later mis-typefound it.
12756 2005-12-09 Michael Smith <msmith@fluendo.com>
12758 * common/m4/gst-makecontext.m4:
12759 * common/m4/gst-mcsc.m4:
12761 * win32/common/config.h:
12762 * win32/common/config.h.in:
12763 Remove makecontext stuff; not used in 0.10 and causes problems on
12764 HPUX according to bug #322441
12766 2005-12-07 Wim Taymans <wim@fluendo.com>
12768 * tests/check/Makefile.am:
12769 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12771 * tests/check/libs/struct_i386.h:
12772 Added ABI check for libs
12774 2005-12-07 Wim Taymans <wim@fluendo.com>
12776 * tests/check/Makefile.am:
12777 And add the struct_i386.h to dist.
12779 2005-12-07 Wim Taymans <wim@fluendo.com>
12781 * tests/check/Makefile.am:
12782 * tests/check/gst/.cvsignore:
12783 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12785 * tests/check/gst/struct_i386.h:
12786 Added check for ABI compatibility.
12788 2005-12-07 Wim Taymans <wim@fluendo.com>
12790 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12791 (gst_fake_src_get_times), (gst_fake_src_create):
12792 Fix broken sync option, fixes #323259
12794 2005-12-07 Wim Taymans <wim@fluendo.com>
12799 * gst/gstcaps.c: (gst_caps_is_equal):
12800 Don't assert on NULL <--> X. Fixes #323260
12802 * gst/gstminiobject.c: (gst_mini_object_replace):
12803 If we're doing atomic operations, we might just as well use
12804 the proper way to get an atomic pointer.
12806 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12807 Clean up debugging.
12809 2005-12-07 Michael Smith <msmith@fluendo.com>
12811 * gst/parse/grammar.y:
12812 Remove handling of { } for threads.
12814 2005-12-06 David Schleef <ds@schleef.org>
12816 * libs/gst/base/gstbasetransform.c: speling fix.
12818 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12820 * docs/libs/tmpl/gstdataprotocol.sgml:
12821 * docs/random/omega/testing/gstobject.c:
12824 * gst/gstelement.c:
12825 * gst/gstelementfactory.c:
12828 * gst/gstghostpad.c:
12830 * gst/gstpadtemplate.c:
12831 * gst/gstregistryxml.c:
12832 * gst/gsttaglist.c:
12833 * gst/gsttagsetter.c:
12834 * gst/gsttypefind.c:
12836 * libs/gst/base/gstbasesrc.c:
12837 * libs/gst/net/gstnetclientclock.c:
12838 * libs/gst/net/gstnettimeprovider.c:
12839 * plugins/elements/gstfakesrc.c:
12840 * plugins/elements/gstfdsrc.c:
12841 * plugins/elements/gstfilesrc.c:
12842 * plugins/elements/gstidentity.c:
12843 * plugins/elements/gstqueue.c:
12844 * plugins/elements/gsttypefindelement.c:
12845 * plugins/indexers/gstfileindex.c:
12846 * plugins/indexers/gstmemindex.c:
12847 * tests/check/gst/gsttag.c:
12848 * tests/old/examples/cutter/cutter.c:
12849 * tests/old/examples/mixer/mixer.c:
12850 * tests/old/examples/xml/runxml.c: (main):
12851 * tests/old/testsuite/caps/normalisation.c:
12852 * tests/old/testsuite/debug/global.c:
12853 * tests/old/testsuite/parse/parse1.c:
12854 * tools/gst-xmlinspect.c:
12855 * win32/common/dirent.c:
12858 === release 0.10.0 ===
12860 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12863 releasing 0.10.0, "Maroilles"
12865 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12867 submitted by: Funda Wang <fundawang@linux.net.cn>
12871 added Chinese (Traditional) translation
12873 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12875 * docs/gst/gstreamer-sections.txt:
12876 * docs/libs/tmpl/gstdataprotocol.sgml:
12877 * docs/random/thomasvs/TODO:
12882 2005-12-05 Andy Wingo <wingo@pobox.com>
12884 patch by: Wim Taymans <wim@fluendo.com>
12886 * libs/gst/base/gstbasetransform.c
12887 (gst_base_transform_prepare_output_buf)
12888 (gst_base_transform_buffer_alloc):
12889 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12890 alloc_buffer_and_set_caps.
12892 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12893 set_caps on the source pad.
12894 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12895 alloc_buffer used to do. Fixes #322874.
12897 * docs/gst/gstreamer-sections.txt:
12898 * docs/design/part-negotiation.txt:
12899 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12902 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12904 patch by: Sebastien Moutte
12907 * win32/common/config.h.in:
12908 * win32/vs6/libgstcontroller.dsp:
12911 2005-12-05 Wim Taymans <wim@fluendo.com>
12913 * gst/gstcaps.c: (gst_caps_is_equal):
12914 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12915 (gst_fake_src_create):
12916 Back out previous code changes, leave doc updates, file bugs
12919 2005-12-05 Wim Taymans <wim@fluendo.com>
12921 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12922 (gst_fake_src_get_times), (gst_fake_src_create):
12923 * plugins/elements/gstfakesrc.h:
12924 Fix broken sync code.
12926 2005-12-05 Wim Taymans <wim@fluendo.com>
12928 * gst/gstcaps.c: (gst_caps_is_equal):
12929 Comparing NULL against !NULL yields different caps, not a
12932 2005-12-05 Wim Taymans <wim@fluendo.com>
12934 * gst/gstpipeline.c:
12935 Fix small typo in docs.
12937 2005-12-05 Andy Wingo <wingo@pobox.com>
12939 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12941 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12942 registries/plugins with a MAJORMINOR one.
12943 (plugin_desc): Rename library from gstcoreleements to
12944 staticelements. Fixes #323222.
12946 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12948 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12949 Change debug category to 'collectpads' from 'collect_pads'
12952 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12954 patch by: Sebastien Moutte
12956 * libs/gst/controller/gstinterpolation.c:
12957 use convert function for uint64/double
12958 * win32/vs6/libgstcontroller.dsp:
12961 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12963 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12964 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12966 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12967 add tests that seem to show that the guint64/gdouble conversions
12970 2005-12-02 Wim Taymans <wim@fluendo.com>
12972 * gst/gstregistry.c: (gst_registry_add_path):
12973 * gst/gstregistry.h:
12974 * gst/gstregistryxml.c:
12977 2005-12-02 Wim Taymans <wim@fluendo.com>
12979 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12980 (gst_util_uint64_scale_int):
12983 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12984 Add debug log line.
12986 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12989 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
12992 * win32/common/config.h:
12993 * win32/vs6/gstreamer.dsw:
12994 * win32/vs6/libgstcoreelements.dsp:
12995 * win32/vs6/libgstelements.dsp:
12996 renamed core elements plugin
12998 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13000 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13002 do piece-wise major/minor comparison so 0.9 < 0.10
13003 also allow .exe extensions for tools
13005 2005-12-02 Michael Smith <msmith@fluendo.com>
13008 Escape a % to make gtkdoc happier; bug 322958.
13010 === release 0.9.7 ===
13012 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13015 releasing 0.9.7, "My Dog Has No Nose"
13017 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13019 * common/gst-xmlinspect.py:
13021 * docs/libs/tmpl/gstdataprotocol.sgml:
13022 * docs/random/release:
13041 * win32/common/config.h:
13042 * win32/common/config.h.in:
13043 * win32/vs6/gst_inspect.dsp:
13044 * win32/vs6/gst_launch.dsp:
13045 * win32/vs6/libgstbase.dsp:
13046 * win32/vs6/libgstelements.dsp:
13047 * win32/vs6/libgstreamer.dsp:
13048 * win32/vs7/GStreamer.vcproj:
13049 * win32/vs7/gst-inspect.vcproj:
13050 * win32/vs7/gst-launch.vcproj:
13051 * win32/vs7/libgstbase.vcproj:
13052 bump GST_MAJORMINOR to 0.10
13053 reset libtool version
13055 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13059 Added Bulgarian translation by (Alexander Shopov)
13061 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13063 * tests/check/gst/gstplugin.c:
13066 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13068 * common/gst-xmlinspect.py:
13069 * common/gtk-doc-plugins.mak:
13071 * docs/Makefile.am:
13072 * docs/gst/Makefile.am:
13073 * docs/gst/gstreamer-docs.sgml:
13074 * docs/gst/gstreamer-sections.txt:
13075 * docs/gst/gstreamer.types:
13076 * docs/gst/gstreamer.types.in:
13077 * docs/plugins/Makefile.am:
13078 * docs/plugins/gstreamer-plugins-docs.sgml:
13079 * docs/plugins/gstreamer-plugins-sections.txt:
13080 * docs/plugins/gstreamer-plugins.types:
13081 * docs/plugins/inspect.stamp:
13082 * docs/plugins/inspect/plugin-coreelements.xml:
13083 * docs/plugins/inspect/plugin-coreindexers.xml:
13084 * docs/plugins/scanobj-build.stamp:
13085 * gstreamer.spec.in:
13086 * plugins/elements/Makefile.am:
13087 * plugins/elements/gstelements.c:
13088 * plugins/elements/gstfakesink.c:
13089 * plugins/elements/gstfakesrc.c:
13090 * plugins/elements/gstfilesink.c:
13091 * plugins/elements/gstfilesrc.c:
13092 * plugins/elements/gstqueue.c:
13093 * plugins/indexers/Makefile.am:
13094 * plugins/indexers/gstindexers.c:
13095 document core plugins in a separate document just like all the
13097 rename these plugins to something starting with core
13099 2005-12-01 Andy Wingo <wingo@pobox.com>
13101 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13102 padding here before, but it missed the commit.
13104 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13106 * libs/gst/controller/gstinterpolation.c:
13107 whitespace prices have crashed, we should feel free to use some now
13108 use gst_guint64_to_gdouble
13110 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13112 * libs/gst/controller/gstcontroller.c:
13113 * libs/gst/controller/gsthelper.c:
13114 * libs/gst/controller/gstinterpolation.c:
13115 * libs/gst/controller/lib.c:
13116 wrap config.h include
13118 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13120 * docs/gst/gstreamer-sections.txt:
13123 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13125 * plugins/elements/gstelements.c:
13126 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13127 (gst_fd_sink__class_init), (gst_fd_sink__init),
13128 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13129 (gst_fd_sink__get_property):
13130 * plugins/elements/gstfdsink.h:
13131 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13132 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13133 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13134 (gst_fd_src_unlock), (gst_fd_src_set_property),
13135 (gst_fd_src_get_property), (gst_fd_src_create),
13136 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13137 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13138 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13139 (gst_fd_src_uri_handler_init):
13140 * plugins/elements/gstfdsrc.h:
13141 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13144 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13146 * docs/gst/Makefile.am:
13147 * docs/gst/gstreamer.types.in:
13151 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13157 * gst/gstregistry.h:
13158 * tests/benchmarks/complexity.c:
13159 * tests/benchmarks/mass-elements.c:
13160 * tests/check/Makefile.am:
13161 * tools/Makefile.am:
13162 * tools/gst-inspect.c:
13163 * tools/gst-xmlinspect.c:
13164 various fixes to make
13165 --disable-nls --disable-registry --disable-loadsave
13166 --disable-parse --disable-gst-debug
13167 work and get the core .so down to 360444 bytes after stripping
13169 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13174 * docs/random/thomasvs/TODO:
13175 * tests/Makefile.am:
13179 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13181 * win32/GStreamer.vcproj:
13184 * win32/Makefile.inspect:
13185 * win32/Makefile.launch:
13186 * win32/Makefile.register:
13187 * win32/README.txt:
13188 * win32/gst-inspect.vcproj:
13189 * win32/gst-launch.vcproj:
13190 * win32/gst-register.vcproj:
13191 * win32/gstelements.vcproj:
13192 * win32/gstgetbits.def:
13193 * win32/gstgetbits.vcproj:
13194 * win32/gstreamer-dbg.def:
13195 * win32/gstreamer.def:
13196 * win32/libgstbase.def:
13197 * win32/libgstbase.vcproj:
13198 * win32/link_oldruntime.c:
13202 * win32/msvc71.sln:
13203 move even more stuff, win32/ is nice and clean now
13205 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13207 * libs/gst/control/.cvsignore:
13212 * win32/gstbytestream.def:
13213 * win32/gstbytestream.vcproj:
13214 * win32/gstconfig.h:
13215 * win32/gstenumtypes.c:
13216 * win32/gstenumtypes.h:
13217 * win32/gstoptimalscheduler.vcproj:
13218 * win32/gstversion.h:
13220 * win32/testsuite/bins.vcproj:
13221 * win32/testsuite/bytestream.vcproj:
13222 * win32/testsuite/caps.vcproj:
13223 * win32/testsuite/cleanup.vcproj:
13224 * win32/testsuite/clock.vcproj:
13225 * win32/testsuite/debug.vcproj:
13226 * win32/testsuite/dlopen.vcproj:
13227 * win32/testsuite/dynparams.vcproj:
13228 * win32/testsuite/elements.vcproj:
13229 * win32/testsuite/ghostpads.vcproj:
13230 * win32/testsuite/indexers.vcproj:
13231 * win32/testsuite/negotiation.vcproj:
13232 * win32/testsuite/parse.vcproj:
13233 * win32/testsuite/plugin.vcproj:
13234 * win32/testsuite/refcounting.vcproj:
13235 * win32/testsuite/schedulers.vcproj:
13236 * win32/testsuite/states.vcproj:
13237 * win32/testsuite/tags.vcproj:
13238 * win32/testsuite/threads.vcproj:
13239 remove old win32 stuff that isn't maintained and should be
13242 2005-11-30 Andy Wingo <wingo@pobox.com>
13244 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13245 loading the gst.interfaces python module bork.
13247 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13248 available since GLib 2.2. Fixes #318031.
13250 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13253 * check/.cvsignore:
13254 * check/Makefile.am:
13255 * check/elements/.cvsignore:
13256 * check/elements/fakesrc.c:
13257 * check/elements/fdsrc.c:
13258 * check/elements/identity.c:
13259 * check/generic/.cvsignore:
13260 * check/generic/states.c:
13261 * check/gst-libs/.cvsignore:
13262 * check/gst-libs/controller.c:
13263 * check/gst-libs/gdp.c:
13264 * check/gst/.cvsignore:
13265 * check/gst/capslist.h:
13267 * check/gst/gstbin.c:
13268 * check/gst/gstbuffer.c:
13269 * check/gst/gstbus.c:
13270 * check/gst/gstcaps.c:
13271 * check/gst/gstelement.c:
13272 * check/gst/gstevent.c:
13273 * check/gst/gstghostpad.c:
13274 * check/gst/gstiterator.c:
13275 * check/gst/gstmessage.c:
13276 * check/gst/gstminiobject.c:
13277 * check/gst/gstobject.c:
13278 * check/gst/gstpad.c:
13279 * check/gst/gstpipeline.c:
13280 * check/gst/gstplugin.c:
13281 * check/gst/gstsegment.c:
13282 * check/gst/gststructure.c:
13283 * check/gst/gstsystemclock.c:
13284 * check/gst/gsttag.c:
13285 * check/gst/gstutils.c:
13286 * check/gst/gstvalue.c:
13287 * check/net/.cvsignore:
13288 * check/net/gstnetclientclock.c:
13289 * check/net/gstnettimeprovider.c:
13290 * check/pipelines/.cvsignore:
13291 * check/pipelines/cleanup.c:
13292 * check/pipelines/simple_launch_lines.c:
13293 * check/pipelines/stress.c:
13294 * check/states/.cvsignore:
13295 * check/states/sinks.c:
13297 * examples/Makefile.am:
13298 * examples/appreader/.cvsignore:
13299 * examples/appreader/Makefile.am:
13300 * examples/appreader/appreader.c:
13301 * examples/controller/.cvsignore:
13302 * examples/controller/Makefile.am:
13303 * examples/controller/audio-example.c:
13304 * examples/cutter/.cvsignore:
13305 * examples/cutter/Makefile.am:
13306 * examples/cutter/cutter.c:
13307 * examples/cutter/cutter.h:
13308 * examples/events/Makefile.am:
13309 * examples/events/seek.c:
13310 * examples/helloworld/.cvsignore:
13311 * examples/helloworld/Makefile.am:
13312 * examples/helloworld/helloworld.c:
13313 * examples/helloworld2/.cvsignore:
13314 * examples/helloworld2/Makefile.am:
13315 * examples/helloworld2/helloworld2.c:
13316 * examples/launch/.cvsignore:
13317 * examples/launch/Makefile.am:
13318 * examples/launch/mp3parselaunch.c:
13319 * examples/launch/mp3play:
13320 * examples/manual/.cvsignore:
13321 * examples/manual/Makefile.am:
13322 * examples/manual/extract.pl:
13323 * examples/metadata/Makefile.am:
13324 * examples/metadata/read-metadata.c:
13325 * examples/mixer/.cvsignore:
13326 * examples/mixer/Makefile.am:
13327 * examples/mixer/mixer.c:
13328 * examples/mixer/mixer.h:
13329 * examples/pingpong/.cvsignore:
13330 * examples/pingpong/Makefile.am:
13331 * examples/pingpong/pingpong.c:
13332 * examples/plugins/.cvsignore:
13333 * examples/plugins/Makefile.am:
13334 * examples/plugins/example.c:
13335 * examples/plugins/example.h:
13336 * examples/pwg/.cvsignore:
13337 * examples/pwg/Makefile.am:
13338 * examples/pwg/extract.pl:
13339 * examples/queue/.cvsignore:
13340 * examples/queue/Makefile.am:
13341 * examples/queue/queue.c:
13342 * examples/queue2/.cvsignore:
13343 * examples/queue2/Makefile.am:
13344 * examples/queue2/queue2.c:
13345 * examples/queue3/.cvsignore:
13346 * examples/queue3/Makefile.am:
13347 * examples/queue3/queue3.c:
13348 * examples/queue4/.cvsignore:
13349 * examples/queue4/Makefile.am:
13350 * examples/queue4/queue4.c:
13351 * examples/retag/.cvsignore:
13352 * examples/retag/Makefile.am:
13353 * examples/retag/retag.c:
13354 * examples/retag/transcode.c:
13355 * examples/thread/.cvsignore:
13356 * examples/thread/Makefile.am:
13357 * examples/thread/thread.c:
13358 * examples/typefind/.cvsignore:
13359 * examples/typefind/Makefile.am:
13360 * examples/typefind/typefind.c:
13361 * examples/xml/.cvsignore:
13362 * examples/xml/Makefile.am:
13363 * examples/xml/createxml.c:
13364 * examples/xml/runxml.c:
13365 * tests/Makefile.am:
13366 * tests/check/Makefile.am:
13367 * testsuite/.cvsignore:
13368 * testsuite/Makefile.am:
13370 * testsuite/caps/.cvsignore:
13371 * testsuite/caps/Makefile.am:
13372 * testsuite/caps/app_fixate.c:
13373 * testsuite/caps/audioscale.c:
13374 * testsuite/caps/caps.c:
13375 * testsuite/caps/caps.h:
13376 * testsuite/caps/caps_strings:
13377 * testsuite/caps/compatibility.c:
13378 * testsuite/caps/deserialize.c:
13379 * testsuite/caps/enumcaps.c:
13380 * testsuite/caps/eratosthenes.c:
13381 * testsuite/caps/filtercaps.c:
13382 * testsuite/caps/fixed.c:
13383 * testsuite/caps/fraction-convert.c:
13384 * testsuite/caps/fraction-multiply-and-zero.c:
13385 * testsuite/caps/intersect2.c:
13386 * testsuite/caps/intersection.c:
13387 * testsuite/caps/normalisation.c:
13388 * testsuite/caps/random.c:
13389 * testsuite/caps/renegotiate.c:
13390 * testsuite/caps/sets.c:
13391 * testsuite/caps/simplify.c:
13392 * testsuite/caps/string-conversions.c:
13393 * testsuite/caps/structure.c:
13394 * testsuite/caps/subtract.c:
13395 * testsuite/caps/union.c:
13396 * testsuite/debug/.cvsignore:
13397 * testsuite/debug/Makefile.am:
13398 * testsuite/debug/category.c:
13399 * testsuite/debug/commandline.c:
13400 * testsuite/debug/global.c:
13401 * testsuite/debug/output.c:
13402 * testsuite/debug/printf_extension.c:
13403 * testsuite/dlopen/.cvsignore:
13404 * testsuite/dlopen/Makefile.am:
13405 * testsuite/dlopen/dlopen_gst.c:
13406 * testsuite/dlopen/loadgst.c:
13407 * testsuite/elements/.cvsignore:
13408 * testsuite/elements/Makefile.am:
13409 * testsuite/elements/gst-inspect-check.in:
13410 * testsuite/elements/struct_i386.h:
13411 * testsuite/elements/struct_size.c:
13412 * testsuite/indexers/.cvsignore:
13413 * testsuite/indexers/Makefile.am:
13414 * testsuite/indexers/cache1.c:
13415 * testsuite/indexers/indexdump.c:
13416 * testsuite/parse/.cvsignore:
13417 * testsuite/parse/Makefile.am:
13418 * testsuite/parse/parse1.c:
13419 * testsuite/parse/parse2.c:
13420 * testsuite/plugin/.cvsignore:
13421 * testsuite/plugin/Makefile.am:
13422 * testsuite/plugin/README:
13423 * testsuite/plugin/dynamic.c:
13424 * testsuite/plugin/linked.c:
13425 * testsuite/plugin/loading.c:
13426 * testsuite/plugin/registry.c:
13427 * testsuite/plugin/static.c:
13428 * testsuite/plugin/static2.c:
13429 * testsuite/plugin/testplugin.c:
13430 * testsuite/plugin/testplugin2.c:
13431 * testsuite/plugin/testplugin2_s.c:
13432 * testsuite/plugin/testplugin_s.c:
13433 * testsuite/refcounting/.cvsignore:
13434 * testsuite/refcounting/Makefile.am:
13435 * testsuite/refcounting/bin.c:
13436 * testsuite/refcounting/element.c:
13437 * testsuite/refcounting/element_pad.c:
13438 * testsuite/refcounting/mainloop.c:
13439 * testsuite/refcounting/mem.c:
13440 * testsuite/refcounting/mem.h:
13441 * testsuite/refcounting/object.c:
13442 * testsuite/refcounting/pad.c:
13443 * testsuite/refcounting/sched.c:
13444 * testsuite/refcounting/thread.c:
13445 * testsuite/states/.cvsignore:
13446 * testsuite/states/Makefile.am:
13447 * testsuite/states/bin.c:
13448 * testsuite/states/locked.c:
13449 * testsuite/states/parent.c:
13450 * testsuite/threads/.cvsignore:
13451 * testsuite/threads/159566.c:
13452 * testsuite/threads/159852.c:
13453 * testsuite/threads/Makefile.am:
13454 * testsuite/threads/queue.c:
13455 * testsuite/threads/signals.c:
13456 * testsuite/threads/staticrec.c:
13457 * testsuite/threads/thread.c:
13458 * testsuite/threads/threadb.c:
13459 * testsuite/threads/threadc.c:
13460 * testsuite/threads/threadd.c:
13461 * testsuite/threads/threade.c:
13462 * testsuite/threads/threadf.c:
13463 * testsuite/threads/threadg.c:
13464 * testsuite/threads/threadh.c:
13465 * testsuite/threads/threadi.c:
13466 move all of these under tests
13468 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13471 * tests/Makefile.am:
13474 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13476 * docs/gst/gstreamer-sections.txt:
13477 * tests/sched/.cvsignore:
13478 * tests/sched/Makefile.am:
13479 * tests/sched/cases/(fs-fs).xml:
13480 * tests/sched/cases/(fs-i-fs).xml:
13481 * tests/sched/cases/(fs-i-i-fs).xml:
13482 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13483 * tests/sched/dynamic-pipeline.c:
13484 * tests/sched/interrupt1.c:
13485 * tests/sched/interrupt2.c:
13486 * tests/sched/interrupt3.c:
13487 * tests/sched/runtestcases:
13488 * tests/sched/runxml.c:
13489 * tests/sched/sched-stress.c:
13490 * tests/sched/sort.c:
13491 * tests/sched/testcases:
13492 * tests/sched/testcases1.tc:
13493 * tests/seeking/.cvsignore:
13494 * tests/seeking/Makefile.am:
13495 * tests/seeking/seeking1.c:
13496 * tests/threadstate/.cvsignore:
13497 * tests/threadstate/Makefile.am:
13498 * tests/threadstate/test1.c:
13499 * tests/threadstate/test2.c:
13500 * tests/threadstate/threadstate1.c:
13501 * tests/threadstate/threadstate2.c:
13502 * tests/threadstate/threadstate3.c:
13503 * tests/threadstate/threadstate4.c:
13504 * tests/threadstate/threadstate5.c:
13505 remove obsolete tests
13507 * tests/bench-complexity.scm:
13508 * tests/bench-mass_elements.scm:
13509 * tests/complexity.c:
13510 * tests/complexity.gnuplot:
13511 * tests/instantiate/.cvsignore:
13512 * tests/instantiate/Makefile.am:
13513 * tests/instantiate/caps.c:
13514 * tests/mass_elements.c:
13515 * tests/network-clock-utils.scm:
13516 * tests/network-clock.scm:
13518 First pass at cleaning up tests/ dir before moving the rest
13519 Combined with CVS surgery
13521 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13524 queue has moved, update
13526 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13528 * docs/gst/gstreamer-sections.txt:
13529 remove double entries from the docs
13530 * gst/gst_private.h:
13531 * gst/gstinfo.c: (_gst_debug_init):
13532 remove the THREAD debug category
13536 * docs/gst/gstreamer.types:
13537 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13538 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13539 completely move queue and fix up debugging categories
13541 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13543 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13544 make initialization portable, using LL is not
13546 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13548 * win32/common/gstconfig.h:
13551 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13553 * win32/common/libgstreamer.def:
13554 rename symbols; sort base section
13556 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13558 * gst/gstclock.c: (do_linear_regression):
13559 remove crack non-portable handrolled DEBUG macro
13561 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13563 * docs/random/release:
13565 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13566 (gst_object_flags_get_type), (register_gst_bin_flags),
13567 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13568 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13569 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13570 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13571 (gst_caps_flags_get_type), (register_gst_clock_return),
13572 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13573 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13574 (gst_clock_flags_get_type), (register_gst_state),
13575 (gst_state_get_type), (register_gst_state_change_return),
13576 (gst_state_change_return_get_type), (register_gst_state_change),
13577 (gst_state_change_get_type), (register_gst_element_flags),
13578 (gst_element_flags_get_type), (register_gst_core_error),
13579 (gst_core_error_get_type), (register_gst_library_error),
13580 (gst_library_error_get_type), (register_gst_resource_error),
13581 (gst_resource_error_get_type), (register_gst_stream_error),
13582 (gst_stream_error_get_type), (register_gst_event_type_flags),
13583 (gst_event_type_flags_get_type), (register_gst_event_type),
13584 (gst_event_type_get_type), (register_gst_seek_type),
13585 (gst_seek_type_get_type), (register_gst_seek_flags),
13586 (gst_seek_flags_get_type), (register_gst_format),
13587 (gst_format_get_type), (register_gst_index_certainty),
13588 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13589 (gst_index_entry_type_get_type),
13590 (register_gst_index_lookup_method),
13591 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13592 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13593 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13594 (gst_index_flags_get_type), (register_gst_debug_level),
13595 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13596 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13597 (gst_iterator_result_get_type), (register_gst_iterator_item),
13598 (gst_iterator_item_get_type), (register_gst_message_type),
13599 (gst_message_type_get_type), (register_gst_mini_object_flags),
13600 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13601 (gst_pad_link_return_get_type), (register_gst_flow_return),
13602 (gst_flow_return_get_type), (register_gst_activate_mode),
13603 (gst_activate_mode_get_type), (register_gst_pad_direction),
13604 (gst_pad_direction_get_type), (register_gst_pad_flags),
13605 (gst_pad_flags_get_type), (register_gst_pad_presence),
13606 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13607 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13608 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13609 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13610 (gst_plugin_flags_get_type), (register_gst_rank),
13611 (gst_rank_get_type), (register_gst_query_type),
13612 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13613 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13614 (gst_tag_flag_get_type), (register_gst_task_state),
13615 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13616 (gst_alloc_trace_flags_get_type),
13617 (register_gst_type_find_probability),
13618 (gst_type_find_probability_get_type), (register_gst_uri_type),
13619 (gst_uri_type_get_type), (register_gst_parse_error),
13620 (gst_parse_error_get_type):
13621 * win32/common/gstenumtypes.h:
13622 * win32/common/gstversion.h:
13623 update visual studio generated files
13625 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13627 * win32/vs6/libgstbase.dsp:
13628 * win32/vs6/libgstelements.dsp:
13629 update project files for new locations
13631 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13636 reinstate and update
13641 * docs/random/LICENSE:
13644 2005-11-30 Edward Hervey <edward@fluendo.com>
13646 * gst/gsttypefind.c: (gst_type_find_register):
13647 * gst/gsttypefind.h:
13648 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13649 (gst_type_find_factory_dispose):
13650 * gst/gsttypefindfactory.h:
13651 Fix memory leak in GstTypeFindFactory.
13653 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13656 * plugins/elements/Makefile.am:
13657 * plugins/elements/gstelements.c:
13658 * plugins/elements/gstqueue.c:
13659 move queue from core to the elements plugin
13661 2005-11-29 Andy Wingo <wingo@pobox.com>
13663 * libs/gst/base/gstbasetransform.h:
13664 * libs/gst/base/gstbasesrc.h:
13665 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13667 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13668 of pointers by which to pad very extensible base classes (like the
13669 ones in libs/gst/base).
13671 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13673 * docs/gst/gstreamer-docs.sgml:
13674 * docs/gst/gstreamer-sections.txt:
13675 * docs/libs/gstreamer-libs-docs.sgml:
13676 * docs/libs/gstreamer-libs-sections.txt:
13677 moving documentation from core to lib
13679 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13681 * check/Makefile.am:
13683 * docs/gst/Makefile.am:
13685 * gst/base/.cvsignore:
13686 * gst/base/Makefile.am:
13688 * gst/base/gstadapter.c:
13689 * gst/base/gstadapter.h:
13690 * gst/base/gstbasesink.c:
13691 * gst/base/gstbasesink.h:
13692 * gst/base/gstbasesrc.c:
13693 * gst/base/gstbasesrc.h:
13694 * gst/base/gstbasetransform.c:
13695 * gst/base/gstbasetransform.h:
13696 * gst/base/gstcollectpads.c:
13697 * gst/base/gstcollectpads.h:
13698 * gst/base/gstpushsrc.c:
13699 * gst/base/gstpushsrc.h:
13700 * gst/base/gsttypefindhelper.c:
13701 * gst/base/gsttypefindhelper.h:
13702 * gst/check/Makefile.am:
13703 * gst/check/gstcheck.c:
13704 * gst/check/gstcheck.h:
13705 * gst/net/Makefile.am:
13706 * gst/net/gstnet.h:
13707 * gst/net/gstnetclientclock.c:
13708 * gst/net/gstnetclientclock.h:
13709 * gst/net/gstnettimepacket.c:
13710 * gst/net/gstnettimepacket.h:
13711 * gst/net/gstnettimeprovider.c:
13712 * gst/net/gstnettimeprovider.h:
13713 * libs/gst/Makefile.am:
13714 * libs/gst/base/Makefile.am:
13715 * libs/gst/base/gstbasetransform.c:
13716 * libs/gst/check/Makefile.am:
13717 * plugins/elements/Makefile.am:
13719 CVS surgery + support to move base, check, and net out of gst
13722 2005-11-29 Andy Wingo <wingo@pobox.com>
13724 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13726 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13729 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13731 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13733 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13735 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13736 padding; reduces object size by about 30%. We don't expect
13737 anything else to go into gstobject.
13739 * gst/gstminiobject.h (struct _GstMiniObject)
13740 (struct _GstMiniObjectClass): Only one pointer of padding; the
13741 payload is only a pointer and two ints anyway. For the class there
13742 are only two methods as well.
13744 * gst/gstelement.h (struct _GstElementClass): Removed
13745 the state_changed signal callback, it is not used.
13747 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13749 * docs/gst/gstreamer.types:
13750 fix includes, though they are a little dinky
13752 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13754 * check/Makefile.am:
13755 look in the right place for elements, a lot more chance of
13758 remove indexers and elements subdirs
13759 * plugins/Makefile.am:
13760 make indexers conditional
13762 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13766 * plugins/elements/Makefile.am:
13767 * plugins/elements/gstcapsfilter.c:
13768 * plugins/elements/gstfilesink.c:
13769 * plugins/elements/gstfilesrc.c:
13770 * plugins/elements/gstidentity.c:
13771 * plugins/indexers/Makefile.am:
13772 do CVS surgery and related build fixery to move elements
13773 and indexers in a new gstreamer/plugins directory, out of the
13776 2005-11-29 Andy Wingo <wingo@pobox.com>
13778 * check/Makefile.am:
13779 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13780 * pkgconfig/gstreamer-net.pc.in:
13781 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13784 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13786 * tools/Makefile.am:
13787 * tools/gst-complete.1.in:
13788 * tools/gst-complete.c:
13789 * tools/gst-compprep.1.in:
13790 * tools/gst-compprep.c:
13791 removing -compprep and -complete
13793 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13795 * gst/gstevent.c: (gst_event_new_new_segment),
13796 (gst_event_parse_new_segment):
13798 fix #320529 - clean up new_segment API and structure.
13799 Let's hope everyone was using the methods, and not the structure.
13801 2005-11-29 Edward Hervey <edward@fluendo.com>
13803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13804 (gst_base_sink_event), (gst_base_sink_do_sync),
13805 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13806 Properly handle non GST_FORMAT_TIME segment
13807 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13808 Properly handle non GST_FORMAT_TIME segment
13809 * gst/gstsegment.c:
13810 This function is valid if the accumulator is 0 and the format
13811 is different from the requested format.
13813 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13815 * docs/gst/gstreamer-sections.txt:
13816 Add gst_query_new_seeking and gst_query_parse_seeking to the
13819 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13821 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13822 Treat a pad alloc with new caps the same as if we were not
13823 negotiated, in order to allow a changing upstream output
13824 to produce a new format of data.
13826 2005-11-29 Edward Hervey <edward@fluendo.com>
13828 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13829 (gst_base_transform_event), (gst_base_transform_eventfunc):
13830 The event virtual method is now properly implemented, with a default
13832 Sub classes should call the parent_class event method. They should
13833 return FALSE if they had a problem handling the given event, or don't
13834 want GstBaseTransform to send that even downstream
13835 * gst/elements/gstidentity.c: (gst_identity_class_init),
13836 (gst_identity_init), (gst_identity_event),
13837 (gst_identity_transform_ip), (gst_identity_set_property),
13838 (gst_identity_get_property):
13839 * gst/elements/gstidentity.h:
13840 Added the single-segment boolean property.
13841 If set to TRUE, it will output a single segment of data, starting from
13842 0, will eat up all incoming newsegment, and modify the timestamp of the
13843 buffers accordingly
13845 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13847 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13848 Don't ref NULL target pad (#322751). Improve docs.
13850 2005-11-29 Michael Smith <msmith@fluendo.com>
13852 * gst/gstregistryxml.c: (load_plugin):
13853 Don't crash if we failed to load a feature from a plugin.
13855 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13857 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13859 use more check API and less GLib API
13861 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13864 don't run checks if we don't have check
13865 * common/check.mak:
13866 remove the registry when running make torture
13867 * docs/gst/gstreamer-sections.txt:
13868 remove second multiply
13869 * gst/gstqueue.c: (gst_queue_loop):
13870 fix a compile warning when disabling debug
13872 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13875 Hey! Let's print the pad name if the pointer != NULL instead
13876 of when it == NULL :-)
13878 2005-11-28 Wim Taymans <wim@fluendo.com>
13880 * check/gst/gstutils.c: (GST_START_TEST):
13881 Updated check, add some scaling accuracy checking code.
13883 * gst/gstutils.c: (gst_util_div128_64),
13884 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13885 (gst_util_uint64_scale_int):
13886 Fix 6 times faster division code. Optimize for common
13887 1/1 and less common X/1 cases.
13889 2005-11-28 Wim Taymans <wim@fluendo.com>
13891 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13894 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13895 (do_linear_regression), (gst_clock_add_observation):
13897 Release lock when the clock cannot be slaved.
13898 Catch the case where the regression returned an invalid denominator.
13900 * gst/gstutils.c: (gst_util_div128_64_iterate),
13901 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13902 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13903 Add protentially more performant non-iterative 128/64 divide function
13904 that unfortunatly does not work yet.
13905 Shortcut the trivial 0/X = 0 case.
13906 Remove the warnings on overflow.
13908 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13910 * gst/gstplugin.c: (gst_plugin_register_func):
13911 everything causing a plugin not to load should be at least a WARNING
13913 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13915 * docs/random/ensonic/dparams.txt:
13916 some TODOs for the next dev cycle
13917 * libs/gst/controller/gstcontroller.c:
13918 (gst_controlled_property_set_interpolation_mode),
13919 (gst_controlled_property_new):
13920 * libs/gst/controller/gstcontroller.h:
13921 use base type to assign acccessor functions
13923 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13925 * check/Makefile.am:
13926 Oops, that should have been top_srcdir
13928 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13930 * check/Makefile.am:
13931 * check/elements/fdsrc.c: (GST_START_TEST):
13932 Use a cmdline define to specify the location of a file to use for
13933 testing, to avoid breaking distcheck.
13935 2005-11-28 Andy Wingo <wingo@pobox.com>
13937 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13939 2005-11-28 Edward Hervey <edward@fluendo.com>
13941 * tools/gst-launch.c: (main):
13942 Clarify the output strings, makes it easier to translate.
13945 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13948 don't try and build net if we don't even have <sys/socket.h>
13950 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13952 * check/Makefile.am:
13953 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13954 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13955 Add tests for fdsrc seekability
13957 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13958 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13959 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13960 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13961 * gst/elements/gstfdsrc.h:
13962 fdsrc should not be a 'live' source.
13963 Implement seeking on seekable fd's.
13965 * gst/gstquery.c: (gst_query_new_seeking),
13966 (gst_query_parse_seeking):
13968 Implement SEEKING query functions:
13969 *_new_seeking and *_parse_seeking
13971 2005-11-27 Stefan Kost <ensonic@users.sf.net>
13973 * gst/gstelement.c: (gst_element_dispose):
13976 * gst/gstiterator.c:
13977 * gst/gststructure.c:
13980 * libs/gst/controller/gstcontroller.c:
13981 (gst_controlled_property_set_interpolation_mode):
13982 * libs/gst/controller/gstcontroller.h:
13983 * libs/gst/controller/gstinterpolation.c:
13984 (interpolate_none_get_enum_value_array):
13985 support controlling enums
13987 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13990 Improve documentation for gst_value_union().
13993 Change return value for union, intersect and subtract functions
13994 from gint to gboolean.
13996 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
13998 * gst/gstvalue.c: (gst_value_serialize_any_list),
13999 (gst_value_transform_any_list_string),
14000 (gst_value_deserialize_list), (gst_value_deserialize_array),
14001 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14002 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14003 (gst_value_set_fraction_range_full),
14004 (gst_value_deserialize_fraction_range),
14005 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14006 (gst_value_deserialize_boolean),
14007 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14008 (gst_value_serialize_float), (gst_value_deserialize_float),
14009 (gst_string_wrap), (gst_value_deserialize_string),
14010 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14011 (gst_value_union_int_range_int_range),
14012 (gst_value_intersect_int_range_int_range),
14013 (gst_value_intersect_double_range_double_range),
14014 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14015 (gst_value_subtract_int_range_int_range),
14016 (gst_value_subtract_double_double_range),
14017 (gst_value_subtract_double_range_double_range),
14018 (gst_value_deserialize_fraction):
14020 Use gint, gdouble and gchar in our API instead of int, double and
14021 char (and make usage in gstvalue.c more consistent).
14023 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14025 * check/Makefile.am:
14026 * libs/gst/controller/Makefile.am:
14027 * libs/gst/dataprotocol/Makefile.am:
14028 fix up Makefile.am and remove GST_ENABLE_NEW
14030 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14034 * gst/base/Makefile.am:
14035 * gst/check/Makefile.am:
14036 * gst/elements/Makefile.am:
14037 * gst/net/Makefile.am:
14038 update LDFLAGS use some more
14040 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14042 * common/m4/gst-doc.m4:
14045 2005-11-26 Edward Hervey <edward@fluendo.com>
14047 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14048 This shouldn't issue a g_warning since it returns NULL if it
14049 couldn't find the plugin, and all functions using this behave
14050 properly on a NULL return. Switching to a GST_WARNING.
14052 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14054 * gst/gstbin.c: (gst_bin_handle_message_func):
14055 Don't leak clock messages.
14057 2005-11-25 Wim Taymans <wim@fluendo.com>
14059 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14060 (gst_util_uint64_scale_int):
14061 Optimisations, remove unneeded vars.
14063 2005-11-25 Wim Taymans <wim@fluendo.com>
14065 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14066 Added more checks for the high precision uint64 cases.
14068 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14069 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14070 Implement high precision (guint64 * guint64) / guint64.
14072 2005-11-24 Wim Taymans <wim@fluendo.com>
14074 * gst/base/gstbasesrc.c: (gst_base_src_query):
14075 Fix wrong percentage query.
14077 * gst/gstutils.c: (gst_util_uint64_scale),
14078 (gst_util_uint64_scale_int):
14079 Add some more common cases that can be handled
14080 efficiently to _scale.
14082 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14084 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14085 (gst_mini_object_suite):
14086 don't use check calls from threads; check probably isn't
14087 threadsafe and using a lock to make it threadsafe would
14088 defeat the purpose of this check
14089 * gst/check/gstcheck.c:
14090 * gst/check/gstcheck.h:
14091 use GST_DEBUG some more
14093 2005-11-24 Wim Taymans <wim@fluendo.com>
14095 * gst/gstutils.c: (gst_util_uint64_scale),
14096 (gst_util_uint64_scale_int):
14097 Chain trivial case to _scale_int.
14099 2005-11-24 Wim Taymans <wim@fluendo.com>
14101 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14102 Added test for scaling.
14107 * gst/gstutils.c: (gst_util_uint64_scale_int):
14108 Implemented high precision scaling code.
14110 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14113 do not crash on pad==NULL
14115 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14117 Patch by: Stefan Kost
14119 * common/gtk-doc.mak:
14120 * docs/gst/Makefile.am:
14121 * docs/libs/Makefile.am:
14122 Fix distcheck issues for the libraries docs build
14125 2005-11-24 Michael Smith <msmith@fluendo.com>
14127 * docs/manual/basics-helloworld.xml:
14128 Fix bug #315027: memory leak in example code in docs.
14130 2005-11-24 Michael Smith <msmith@fluendo.com>
14132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14133 Unlock the PREROLL_LOCK in a failure case.
14135 2005-11-24 Wim Taymans <wim@fluendo.com>
14137 * docs/gst/gstreamer-sections.txt:
14138 * gst/base/gstadapter.h:
14139 * gst/base/gstbasesink.h:
14140 * gst/base/gstbasesrc.h:
14141 * gst/base/gstbasetransform.h:
14142 * gst/base/gstpushsrc.h:
14143 * gst/elements/gstfakesink.h:
14144 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14145 * gst/elements/gstfakesrc.h:
14146 * gst/elements/gstfilesink.h:
14147 * gst/elements/gstfilesrc.h:
14150 * gst/gstbuffer.c: (_gst_buffer_copy):
14153 * gst/gstchildproxy.c:
14155 * gst/gstelement.c:
14156 * gst/gstelementfactory.c:
14157 * gst/gstelementfactory.h:
14159 * gst/gstghostpad.h:
14161 * gst/gstinterface.h:
14162 * gst/gstminiobject.c:
14163 * gst/gstminiobject.h:
14166 * gst/gstpadtemplate.h:
14167 * gst/gstpipeline.h:
14168 * gst/gstpluginfeature.h:
14171 * gst/gsttaglist.c:
14172 * gst/gsttaglist.h:
14173 * gst/gsttagsetter.c:
14174 * gst/gsttagsetter.h:
14177 * gst/gsttypefind.h:
14180 * gst/net/gstnetclientclock.c:
14181 * gst/net/gstnetclientclock.h:
14182 * gst/net/gstnettimepacket.c:
14183 * gst/net/gstnettimeprovider.c:
14184 * gst/net/gstnettimeprovider.h:
14187 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14189 * configure.ac: back to HEAD
14191 === release 0.9.6 ===
14193 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14196 releasing 0.9.6, "Always On Time"
14198 2005-11-23 Wim Taymans <wim@fluendo.com>
14200 * docs/gst/gstreamer-sections.txt:
14201 * gst/glib-compat.c:
14202 * gst/gsttagsetter.c:
14204 * gst/net/gstnetclientclock.c:
14205 * gst/net/gstnettimepacket.h:
14208 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14210 * docs/faq/using.xml:
14211 * docs/libs/tmpl/gstcontrol.sgml:
14212 * docs/manual/advanced-dparams.xml:
14213 * docs/manual/appendix-checklist.xml:
14214 * docs/manual/basics-elements.xml:
14215 * docs/pwg/other-source.xml:
14216 * docs/random/moving-plugins:
14218 * tools/gst-launch.1.in:
14219 remove mentions of sinesrc
14221 2005-11-23 Michael Smith <msmith@fluendo.com>
14223 * docs/gst/gstreamer-sections.txt:
14224 Update for new API and API changes.
14226 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14228 Documentation typo fix.
14229 * gst/net/gstnettimepacket.c:
14230 Documentation fixes for arguments.
14232 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14234 * gst/gststructure.c: (gst_structure_get_fraction),
14235 (gst_structure_parse_value),
14236 (gst_structure_fixate_field_nearest_fraction):
14237 * gst/gststructure.h:
14238 * gst/gstutils.c: (gst_util_uint64_scale_int):
14240 * scripts/update-funcnames:
14242 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14243 Make gst_structure_fixate_field_nearest_fraction take a numerator
14244 and denominator argument instead of a GValue
14245 add gst_structure_get_fraction helper function.
14247 2005-11-23 Wim Taymans <wim@fluendo.com>
14249 * docs/design/part-TODO.txt:
14252 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14253 * gst/net/gstnetclientclock.h:
14254 Use parent fields for timeout and window_size.
14256 2005-11-23 Andy Wingo <wingo@pobox.com>
14258 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14259 rate_num/rate_denom change.
14261 * gst/net/gstnetclientclock.c
14262 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14263 OBJECT_LOCK. Don't call add_observation with the lock.
14265 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14267 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14269 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14270 deal with rate as a fraction whose numerator and denominator are
14271 GstClockTime values.
14272 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14273 master; the other fields are protected by the SLAVE_LOCK.
14274 (do_linear_regression): Note that this must be called with the
14276 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14277 OBJECT_LOCK. Call set_calibration instead of touching the
14278 variables directly.
14279 (gst_clock_set_property, gst_clock_get_property): Protect
14280 master/slave parameters with the SLAVE_LOCK.
14282 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14283 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14284 note that all of the instance variables that add_observation and
14285 the set_master functions use are protected by that lock and not
14287 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14289 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14290 the caller to take the object lock.
14292 2005-11-23 Wim Taymans <wim@fluendo.com>
14294 * gst/gsterror.c: (_gst_core_errors_init):
14296 Add error for clock stuff.
14298 * gst/gstpipeline.c: (gst_pipeline_change_state),
14299 (gst_pipeline_set_clock):
14300 Post clock error when clock cannot be used in a pipeline.
14302 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14304 * docs/gst/gstreamer-sections.txt:
14305 make two symbols from gstinfo private for the docs
14306 * gst/base/gstcollectpads.h:
14308 fix doc typos, update docs
14310 2005-11-22 Wim Taymans <wim@fluendo.com>
14312 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14313 (gst_base_sink_wait), (gst_base_sink_do_sync),
14314 (gst_base_sink_handle_event):
14315 * gst/base/gstbasesink.h:
14316 No need to store the clock, the parent element class already
14319 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14320 Updates for clock_set returning a gboolean
14322 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14323 (gst_clock_id_wait_async), (gst_clock_class_init),
14324 (gst_clock_init), (gst_clock_finalize),
14325 (gst_clock_get_internal_time), (gst_clock_get_time),
14326 (gst_clock_slave_callback), (gst_clock_set_master),
14327 (gst_clock_get_master), (do_linear_regression),
14328 (gst_clock_add_observation), (gst_clock_set_property),
14329 (gst_clock_get_property):
14331 Implement master/slave. When setting a clock as a slave, a
14332 periodic timeout is scheduled to sample master and slave times.
14333 Then the slave clock is recalibrated to match offset and rate
14334 of the master clock.
14335 Update logging a bit.
14336 Add flag so that a clock can state that is cannot be slaved to
14339 * gst/gstelement.c: (gst_element_set_clock):
14340 * gst/gstelement.h:
14341 The set clock returns a gboolean for when an element cannot
14342 deal with the selected clock in the pipeline.
14344 * gst/gstpipeline.c: (gst_pipeline_change_state),
14345 (gst_pipeline_set_clock):
14346 * gst/gstpipeline.h:
14347 Handle the case where the selected clock cannot be set on
14350 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14351 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14352 (gst_net_client_clock_set_property),
14353 (gst_net_client_clock_get_property),
14354 (gst_net_client_clock_observe_times):
14355 * gst/net/gstnetclientclock.h:
14356 Use regression code in GstClock parent, remove duplicated
14359 2005-11-22 Michael Smith <msmith@fluendo.com>
14361 * gst/gstutils.c: (gst_util_clock_time_scale):
14363 * docs/gst/gstreamer-sections.txt:
14364 Rename method to have extra underscore.
14366 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14368 * gst/elements/Makefile.am:
14369 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14370 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14371 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14372 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14373 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14374 * gst/elements/gstfakesrc.h:
14375 * gst/gstqueue.c: (queue_leaky_get_type):
14376 correctly fix GEnumValues so that nick is the short lowercase
14378 * tools/gst-inspect.c: (print_element_properties_info):
14379 also show the nick, since it's useful to use from parse_launch
14383 2005-11-22 Michael Smith <msmith@fluendo.com>
14385 * gst/gstutils.c: (gst_util_clocktime_scale):
14387 * docs/gst/gstreamer-sections.txt:
14388 Add util method for scaling a clocktime by a fraction. Useful
14389 implementation is left as an exercise for the reader.
14391 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14393 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14394 If needed, allocate storage in the destination value during
14397 2005-11-22 Edward Hervey <edward@fluendo.com>
14399 * docs/gst/gstreamer-sections.txt:
14402 * gst/gsturitype.c:
14403 * gst/gsturitype.h:
14404 * gst/gstutils.c: (gst_util_set_object_arg):
14405 * tools/gst-compprep.c: (main):
14406 * tools/gst-inspect.c: (print_element_properties_info):
14407 Removed GstURI, closes bug #321061
14409 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14411 * check/gst/gststructure.c: (GST_START_TEST):
14412 * gst/gststructure.c: (gst_structure_parse_value):
14413 Oops, broke automatic string type parsing.
14414 Add a test to catch it in future.
14416 2005-11-22 Andy Wingo <wingo@pobox.com>
14418 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14419 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14420 Actually rename the function implementations. Grr.
14422 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14424 * check/gst/capslist.h:
14426 * check/gst/gststructure.c: (GST_START_TEST),
14427 (gst_structure_suite):
14428 Test automatic value type detection in gst_structure_from_string.
14429 * gst/gststructure.c: (gst_structure_parse_value):
14430 Add fraction as a type we try and guess automatically in
14431 caps/structure strings.
14433 2005-11-22 Andy Wingo <wingo@pobox.com>
14435 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14437 * gst/gsttagsetter.h:
14438 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14439 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14440 (gst_tag_setter_add_tag_valist)
14441 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14442 _add_values, _add_valist, and _add_valist_values. Since this is an
14443 interface the function suffixes should be more explicit so
14444 language binding don't end up with element.add_valist ->
14445 gst_tag_setter_add_valist, for example. Fixes #322069.
14447 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14449 * check/gst/gstcaps.c: (GST_START_TEST):
14450 Extend caps string tests to check that a caps to string
14451 conversion is reversible and produces the same caps.
14453 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14454 Output "fraction" as the generic type fraction range, so caps
14455 serialisation and deserialisation works.
14456 * check/gst/capslist.h:
14457 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14458 Support 'MIN' and 'MAX' for deserialising fractions.
14460 2005-11-22 Andy Wingo <wingo@pobox.com>
14462 * gst/gstevent.h (gst_event_new_new_segment)
14463 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14464 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14465 Renamed from *_newsegment, *_buffersize, *_notarget.
14467 * scripts/update-funcnames: New script, performs the changes
14470 2005-11-22 Wim Taymans <wim@fluendo.com>
14472 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14473 Make sure the GstFlowReturn is returned.
14475 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14476 (gst_bus_add_signal_watch):
14478 add gst_bus_add_signal_watch_full.
14480 * gst/gstplugin.c: (gst_plugin_load_file):
14481 Small style cleanup.
14483 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14485 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14486 Block the fakesrc srcpad when we send an event, to avoid
14487 contention on the stream_lock causing random test failures.
14489 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14491 * check/gst/gstvalue.c: (GST_START_TEST):
14492 * gst/gstvalue.c: (gst_value_fraction_subtract):
14495 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14498 include "gstchildproxy.h"
14499 * gst/gstchildproxy.h:
14500 * libs/gst/controller/gstcontroller.h:
14501 use G_GNUC_NULL_TERMINATED
14503 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14505 * check/gst/capslist.h:
14506 * check/gst/gstcaps.c: (GST_START_TEST):
14507 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14508 * gst/gststructure.c: (gst_structure_parse_range),
14509 (gst_structure_fixate_field_nearest_fraction):
14510 * gst/gststructure.h:
14511 * gst/gstvalue.c: (gst_value_init_fraction_range),
14512 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14513 (gst_value_collect_fraction_range),
14514 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14515 (gst_value_set_fraction_range_full),
14516 (gst_value_get_fraction_range_min),
14517 (gst_value_get_fraction_range_max),
14518 (gst_value_serialize_fraction_range),
14519 (gst_value_transform_fraction_range_string),
14520 (gst_value_compare_fraction_range),
14521 (gst_value_deserialize_fraction_range),
14522 (gst_value_intersect_fraction_fraction_range),
14523 (gst_value_intersect_fraction_range_fraction_range),
14524 (gst_value_subtract_fraction_fraction_range),
14525 (gst_value_subtract_fraction_range_fraction),
14526 (gst_value_subtract_fraction_range_fraction_range),
14527 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14528 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14529 (gst_value_transform_string_fraction), (_gst_value_initialize):
14531 Implement fraction ranges and extend GstFraction to support
14532 arithmetic subtraction, as well as deserialization from integer
14533 strings such as "100"
14534 Add a testsuite as for int and double range set operations
14536 2005-11-21 Andy Wingo <wingo@pobox.com>
14538 * gst/gsttaglist.h:
14540 * gst/gststructure.h: Add glib-compat.h.
14542 2005-11-21 Wim Taymans <wim@fluendo.com>
14544 * gst/gstbin.c: (gst_bin_change_state_func):
14547 2005-11-21 Wim Taymans <wim@fluendo.com>
14549 * gst/gstsegment.h:
14550 And add a nice define too.
14552 2005-11-21 Wim Taymans <wim@fluendo.com>
14554 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14555 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14556 (gst_segment_set_duration), (gst_segment_set_last_stop),
14557 (gst_segment_set_seek), (gst_segment_set_newsegment),
14558 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14559 (gst_segment_clip):
14560 * gst/gstsegment.h:
14561 Make binding friendly.
14563 2005-11-21 Andy Wingo <wingo@pobox.com>
14565 * gst/gsttagsetter.h:
14566 * gst/gsttaglist.h:
14567 * gst/gststructure.h:
14569 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14572 * gst/gsterror.c (_gst_core_errors_init):
14573 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14576 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14577 (noinst_HEADERS): noinst the -private.
14579 2005-11-21 Michael Smith <msmith@fluendo.com>
14582 * gst/gstregistry.h:
14583 Remove unimplemented declarations for which we can see no sensible
14586 2005-11-21 Andy Wingo <wingo@pobox.com>
14588 * gst/gst.h: Include glib-compat.h.
14590 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14592 * gst/glib-compat.c: Include the public and the private header.
14594 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14598 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14600 * check/gst/gstevent.c (create_custom_events): Check that
14601 FLUSH_STOP is serialized.
14603 * check/elements/identity.c (event_func):
14604 * check/elements/fakesrc.c (event_func): No stream lock, the core
14607 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14608 stream lock taking, yay.
14610 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14611 ensure that core takes the stream lock.
14613 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14616 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14617 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14618 it already. For the flush start we do take it though so we get the
14619 right preroll state change messages.
14621 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14622 the stream lock here, the core does it for us.
14624 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14625 GST_STREAM_GET_LOCK.
14626 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14627 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14628 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14629 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14630 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14631 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14633 * gst/gstpad.c: Update for stream lock name change.
14635 * gst/base/gstbasesink.c: Update for preroll lock name change.
14637 2005-11-21 Wim Taymans <wim@fluendo.com>
14639 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14640 (gst_clock_get_master):
14642 * gst/gstsystemclock.c: (gst_system_clock_init):
14643 Convert Clock flags to object flags.
14644 Added methods to manage master/slave clocks.
14646 2005-11-21 Wim Taymans <wim@fluendo.com>
14648 * check/gst/gstsegment.c: (GST_START_TEST):
14649 * docs/design/part-TODO.txt:
14650 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14651 (gst_base_sink_event), (gst_base_sink_do_sync),
14652 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14653 (gst_base_sink_query), (gst_base_sink_change_state):
14654 * gst/base/gstbasesink.h:
14655 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14656 (gst_base_src_default_newsegment),
14657 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14658 (gst_base_src_get_range), (gst_base_src_loop),
14659 (gst_base_src_change_state):
14660 * gst/base/gstbasesrc.h:
14661 * gst/base/gstbasetransform.c:
14662 (gst_base_transform_prepare_output_buf),
14663 (gst_base_transform_event), (gst_base_transform_change_state):
14664 * gst/base/gstbasetransform.h:
14665 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14666 (gst_collect_pads_event):
14667 * gst/base/gstcollectpads.h:
14668 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14669 (gst_fake_src_create):
14670 * gst/elements/gstfakesrc.h:
14671 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14672 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14673 (gst_segment_set_last_stop), (gst_segment_set_seek),
14674 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14675 (gst_segment_to_running_time), (gst_segment_clip):
14676 * gst/gstsegment.h:
14677 More segment updates, replace code in plugins with segment
14680 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14682 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14683 Don't ignore sscanf results
14685 2005-11-21 Andy Wingo <wingo@pobox.com>
14687 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14690 * *.c: Ran scripts/update-macros. Oh yes.
14692 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14693 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14696 * scripts/update-macros: New script. Run it on your files to
14697 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14700 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14702 * docs/gst/Makefile.am:
14703 * docs/gst/gstreamer-docs.sgml:
14704 * docs/gst/gstreamer-sections.txt:
14705 * docs/gst/gstreamer.types:
14707 more docs fixes, add new api to the docs
14709 2005-11-21 Andy Wingo <wingo@pobox.com>
14711 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14712 state_broadcast call.
14714 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14716 2005-11-21 Julien MOUTTE <julien@moutte.net>
14718 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14719 function calls for arrays.
14721 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14723 * docs/random/ensonic/media-device-daemon.txt:
14724 wild idea, can this be done?
14725 * docs/gst/gstreamer-sections.txt:
14730 * gst/gstpluginfeature.c:
14734 doc fixes and additions
14736 2005-11-21 Andy Wingo <wingo@pobox.com>
14738 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14739 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14740 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14741 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14742 private to the basesrc implementation.
14744 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14745 behalf of event function if necessary. It should no longer be
14746 necessary to take the stream lock in pad's event functions. Fixes
14749 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14750 * docs/gst/gstreamer-sections.txt:
14751 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14752 (gst_structure_fixate_field_nearest_double),
14753 (gst_structure_fixate_field_boolean):
14754 * gst/gststructure.h:
14755 * win32/common/libgstreamer.def:
14756 * win32/gstreamer.def:
14758 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14761 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14763 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14764 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14765 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14766 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14767 (gst_fdsrc_uri_handler_init):
14768 * gst/elements/gstfdsrc.h:
14769 Port fd:// URI handler from 0.8 to fdsrc
14771 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14773 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14774 (gst_value_serialize_fourcc):
14776 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14777 consistent with our other format defines (#320324).
14779 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14781 * gst/gstvalue.c: (gst_value_is_fixed):
14782 Revert previous commit. Value lists are by definition
14783 not fixed, as they are a list of possible values.
14785 2005-11-21 Andy Wingo <wingo@pobox.com>
14787 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14788 during the stable series if we need it. Fixes #319178.
14790 * gst/gstevent.c (gst_event_new_filler): Removed.
14792 * check/gst/gstevent.c: Update comment about filler events.
14794 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14796 * gst/gstvalue.c: (gst_value_is_fixed):
14797 Should handle both value arrays and value lists.
14799 2005-11-21 Andy Wingo <wingo@pobox.com>
14801 patch by: Alessandro Dessina <alessandro nnva org>
14803 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14804 functions to access arrays. Fixes #321962.
14806 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14808 * docs/gst/gstreamer.types:
14809 gst_collectpads_get_type => gst_collect_pads_get_type.
14811 * gst/base/gstbasetransform.c:
14812 Remove unused SIGNAL_HANDOFF enum.
14814 2005-11-21 Andy Wingo <wingo@pobox.com>
14816 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14817 the event type (upstream, downstream, serialized). Renamed
14818 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14819 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14820 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14822 * gst/gstevent.c: Update for new CUSTOM event names.
14824 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14827 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14830 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14832 * docs/gst/gstreamer-sections.txt:
14833 * win32/common/libgstbase.def:
14834 * win32/libgstbase.def:
14835 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14836 (gst_collect_pads_class_init), (gst_collect_pads_init),
14837 (gst_collect_pads_finalize), (gst_collect_pads_new),
14838 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14839 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14840 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14841 (gst_collect_pads_start), (gst_collect_pads_stop),
14842 (gst_collect_pads_peek), (gst_collect_pads_pop),
14843 (gst_collect_pads_available), (gst_collect_pads_read),
14844 (gst_collect_pads_flush), (gst_collect_pads_event),
14845 (gst_collect_pads_chain):
14846 * gst/base/gstcollectpads.h:
14847 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14848 unimplemented functions as unimplemented. Add padding to
14849 GstCollectData. (#320766, #320423)
14851 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14853 * gst/gstmessage.c:
14854 Improve docs for DURATION message (usage of duration parameter)
14857 2005-11-20 Wim Taymans <wim@fluendo.com>
14859 * check/Makefile.am:
14860 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14864 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14865 (gst_segment_set_seek), (gst_segment_set_newsegment),
14866 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14867 (gst_segment_clip):
14868 * gst/gstsegment.h:
14869 Added segment helper structure and methods. Not fully implemented
14871 Added segment check.
14873 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14875 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14876 Add a deserialisation test for fractions
14877 * examples/metadata/read-metadata.c: (message_loop),
14878 (make_pipeline), (main):
14879 Fix up metadata reading sample.
14880 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14882 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14883 Don't try and fixate empty caps
14884 * gst/gst_private.h:
14885 Wrap in G_BEGIN_DECLS/G_END_DECLS
14886 * gst/gstvalue.c: (gst_value_collect_fraction),
14887 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14888 (gst_value_transform_string_fraction),
14889 (gst_value_compare_fraction):
14890 Add some extra guards to ensure that we don't end up
14891 with an invalid denominator of 0 in a gstfraction and
14892 that fractions always get reduced.
14894 2005-11-20 Wim Taymans <wim@fluendo.com>
14896 * docs/gst/gstreamer-sections.txt:
14898 * gst/gstelement.c:
14907 2005-11-20 Wim Taymans <wim@fluendo.com>
14909 * docs/design/part-TODO.txt:
14911 Make a proper enum of the flag.
14913 2005-11-19 Wim Taymans <wim@fluendo.com>
14915 * docs/design/part-TODO.txt:
14916 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14917 (gst_format_to_quark), (gst_format_register):
14919 * gst/gstquery.c: (_gst_query_initialize),
14920 (gst_query_type_get_name), (gst_query_type_to_quark),
14921 (gst_query_type_register):
14923 Add type to quark and type to string conversions.
14925 2005-11-19 Andy Wingo <wingo@pobox.com>
14927 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14930 2005-11-19 Wim Taymans <wim@fluendo.com>
14932 * docs/design/part-TODO.txt:
14933 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14934 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14935 (gst_bin_handle_message_func):
14937 Make message handling overridable.
14939 2005-11-19 Andy Wingo <wingo@pobox.com>
14941 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14944 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14946 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14947 is a GstClockTime. Fixes #321710.
14949 * gst/gstclock.h (GstClock): Remove offset property. Add
14950 internal_calibration and external_calibration. Fix padding. Pad
14951 also by GstClockTime so we don't run into problems.
14953 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14954 (gst_clock_get_rate_offset): Remove.
14955 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14958 * gst/gstutils.c (g_static_rec_cond_wait)
14959 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14961 * gst/gstbin.c: Remove terrible continue_state prototype.
14963 * gst/gstelement.h (gst_element_continue_state): Make public.
14965 * gst/gstelement.h:
14966 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14967 by continue_state. Fixes #319389.
14969 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14970 Really fixes #168438. However I don't see anywhere where the
14971 filter function is called... stupid GStreamer...
14973 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14974 don't have a dispose function, so it won't get called when the
14975 object is unreffed, but oh well!
14977 * gst/gstindex.c (gst_index_set_filter_full): New API function,
14978 allows a destroy function to be set so user_data can be freed.
14980 (gst_index_set_filter): Call gst_index_set_filter_full.
14982 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14984 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14985 string should produce an error, given the lack of a way to
14986 represent NULL strings. Fixes #165650.
14989 * gst/gstvalue.c (gst_value_array_append_value)
14990 (gst_value_array_prepend_value, gst_value_array_get_size)
14991 (gst_value_array_get_value): New API, copied from
14992 gst_value_list_*, only operates on arrays.
14993 (gst_value_list_append_value, gst_value_list_prepend_value)
14994 (gst_value_list_concat, gst_value_list_get_size)
14995 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14997 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14998 init_list, because it works on both.
14999 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15000 (gst_value_copy_list_or_array): Renamed from copy_list.
15001 (gst_value_free_list_or_array): Renamed from free_list.
15002 (gst_value_collect_list_or_array): Renamed from collect_list.
15003 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15004 (gst_value_list_or_array_peek_pointer): Renamed from
15006 (_gst_value_array_value_table, _gst_value_list_value_table):
15007 Update value table functions.
15008 (gst_value_compare_list_or_array): Renamed from compare_list.
15010 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15013 * gst/gsttaglist.c:
15014 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15015 GstTagList*. Fixes #143472.
15017 * gst/gststructure.h: Clarify what the foreach/map functions can
15018 or can't do to their arguments.
15020 2005-11-18 Wim Taymans <wim@fluendo.com>
15022 * gst/gstclock.c: (gst_clock_set_calibration),
15023 (gst_clock_get_calibration):
15025 Calibration can be set with internal time equal to current
15028 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15034 2005-11-18 Andy Wingo <wingo@pobox.com>
15037 * pkgconfig/gstreamer-net.pc.in:
15038 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15039 * pkgconfig/Makefile.am: Add net pkgconfig files.
15041 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15044 * gst/gstghostpad.c:
15050 2005-11-18 Andy Wingo <wingo@pobox.com>
15052 * gst/net/gstnetclientclock.c: Turn off debugging.
15054 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15055 times connverge somewhat. Can't make a real test.
15057 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15058 integer arithmetic. Return the minimum of the domain, which can be
15059 set as "internal" for gst_clock_set_calibration.
15060 (gst_net_client_clock_observe_times): Call _set_calibration.
15061 (gst_net_client_clock_new): Call _set_calibration instead of
15064 * check/net/gstnetclientclock.c (test_functioning): Use the right
15068 * gst/gstclock.c (gst_clock_get_calibration)
15069 (gst_clock_set_calibration): New functions, obsolete the ones I
15070 added yesterday. Doh. Precision issues mean we have to extrapolate
15071 from a point in the more recent past than 1970.
15072 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15074 (gst_clock_adjust_unlocked): Use the right calibration data.
15076 2005-11-18 Edward Hervey <edward@fluendo.com>
15078 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15079 Also reset the ->current_* values in READY->PAUSED
15081 2005-11-18 Andy Wingo <wingo@pobox.com>
15083 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15084 Whoops, check the right fd. Also add some debugging.
15085 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15086 (do_linear_regression): Add a crapload of debugging. Subtract off
15087 the minimum values from the input series to discard unneeded bits.
15088 Use only int arithmetic. There is still double arithmetic when
15089 calculating the intercept that needs fixing. Return boolean to
15090 indicate success; FALSE would mean the domain or range is too
15091 great. Still needs fixes.
15093 2005-11-18 Wim Taymans <wim@fluendo.com>
15095 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15096 For the current position in stream time, we need to subtract
15099 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15100 Release lock before calling the callback function of async
15103 2005-11-18 Andy Wingo <wingo@pobox.com>
15105 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15106 Port goes all the way to MAXUINT16.
15108 * gst/net/gstnettimeprovider.c: Make the port range the same as
15109 for the kernel: 0 assigns, otherwise ports are less than
15112 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15115 * check/net/gstnetclientclock.c (test_functioning): Add the start
15118 2005-11-18 Wim Taymans <wim@fluendo.com>
15120 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15121 (gst_bin_remove_func), (bin_bus_handler):
15123 Removing a clock provider from a bin, triggers a clock lost message
15124 so that a new clock will be selected.
15125 Adding a clock to a bin triggers a clock provider message.
15126 Make sure we reselect a clock when we received a clock lost message.
15127 Keep a reference to the element that provided the clock.
15129 2005-11-18 Andy Wingo <wingo@pobox.com>
15131 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15132 the clock initially so it produces values around the base time.
15133 (gst_net_client_clock_class_init): Typo fix.
15134 (gst_net_client_clock_thread): Add note on when the socket gets
15137 2005-11-17 Wim Taymans <wim@fluendo.com>
15139 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15140 Free remote and local time arrays.
15142 2005-11-17 Wim Taymans <wim@fluendo.com>
15144 * gst/net/gstnetclientclock.c: (do_linear_regression),
15145 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15146 Fix compilation, uninitialized vars and a forgotten continue.
15148 2005-11-17 Andy Wingo <wingo@pobox.com>
15150 * check/Makefile.am (check_PROGRAMS):
15151 * check/net/gstnetclientclock.c: Add a most minimal test for the
15152 net client clock. More to come later.
15154 * gst/net/gstnet.h:
15155 * gst/net/Makefile.am: Add netclientclock.
15157 * gst/net/gstnetclientclock.h:
15158 * gst/net/gstnetclientclock.c: New files, implement an untested
15159 GstClock that takes its time from a network time provider.
15160 Implements the algorithm in network-clock.scm.
15162 * tests/network-clock.scm (*window-size*): Rename from
15164 * tests/network-clock.scm (network-time):
15165 * tests/network-clock-utils.scm (q-push): Update callers.
15167 2005-11-17 Wim Taymans <wim@fluendo.com>
15169 * gst/gstbin.c: (gst_bin_provide_clock_func),
15170 (gst_bin_sort_iterator_new):
15171 And unref the child too..
15173 2005-11-17 Wim Taymans <wim@fluendo.com>
15175 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15176 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15177 Refactor the sort iterator so it can be used while holding the
15179 Make clock selection select a clock closest to the source.
15181 2005-11-17 Michael Smith <msmith@fluendo.com>
15183 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15184 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15186 Anonymous structs are a gcc (and some other compilers) extension, so
15187 don't use them. Since this is only for ABI-compatibility, and our
15188 API/ABI freeze is over in a few days, this whole thing will only
15189 last a few days, so don't bother trying to think up a meaningful
15190 name for the struct.
15192 2005-11-17 Andy Wingo <wingo@pobox.com>
15194 * gst/gstclock.h (GstClock): Add rate and offset properties,
15195 preserving ABI stability. Add rate/offset accessors. Will file bug
15196 for the freeze break.
15198 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15199 and offset, trying to keep precision and avoiding
15200 underflow/overflow.
15201 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15202 functions. Make gst_clock_set_time_adjust obsolete.
15203 (gst_clock_set_time_adjust): Note that this function is obsolete.
15204 Will file bug soon.
15206 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15207 greppable by using GST_PADDING-1+1.
15209 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15211 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15213 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15214 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15216 * gst/gstpadtemplate.h:
15217 * gst/gstpluginfeature.h:
15218 Don't use c++ style comments in headers (#321638).
15220 2005-11-16 Andy Wingo <wingo@pobox.com>
15222 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15225 * check/net/gstnettimeprovider.c: Check to see that the time
15226 provider actually provides times. Works, yo!
15228 2005-11-16 Wim Taymans <wim@fluendo.com>
15230 * check/Makefile.am:
15233 * check/elements/fakesrc.c: (GST_START_TEST):
15234 Set element to NULL before disposing it.
15236 2005-11-16 Andy Wingo <wingo@pobox.com>
15238 * gst/net/Makefile.am:
15239 * gst/net/gstnet.h:
15240 * gst/net/gstnettimeprovider.c:
15241 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15242 provider, include it from gstnet.h, and add it to the build.
15244 * gst/net/gstnettimepacket.h:
15245 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15246 sending and receiving.
15248 2005-11-16 Wim Taymans <wim@fluendo.com>
15250 * check/Makefile.am:
15251 Enable valgrind check.
15253 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15254 (gst_fake_src_alloc_buffer):
15257 2005-11-16 Wim Taymans <wim@fluendo.com>
15259 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15260 Call parent finalize too.
15262 2005-11-16 Wim Taymans <wim@fluendo.com>
15264 * check/Makefile.am:
15265 Enable valgrind check that should work fine now.
15267 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15268 * gst/gstqueue.c: (gst_queue_init):
15269 Fix memleaks in pad allocation.
15271 2005-11-16 Andy Wingo <wingo@pobox.com>
15273 * gst/net/Makefile.am:
15274 * gst/net/gstnet.h: New part of core to hold network elements and
15275 objects. Put in core because it exposes API that applications want
15276 to use. The library is named libgstnet-tempname right now because
15277 of the existing libgstnet in gst-plugins-base. Solution is
15278 probably to rename the one in plugins-base; will file a bug for
15281 * gst/net/gstnettimeprovider.c:
15282 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15283 get_time call over the network.
15286 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15288 * check/Makefile.am:
15289 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15290 get additions shortly.
15292 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15294 * gst/gstpad.c: (gst_pad_new_from_static_template):
15296 add gst_pad_new_from_static_template functions
15297 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15298 (gst_check_setup_sink_pad):
15299 * gst/elements/gsttee.c: (gst_tee_init):
15302 2005-11-16 Wim Taymans <wim@fluendo.com>
15304 * gst/gstpad.c: (gst_pad_pause_task):
15305 Removed warning, it's not really an error either.
15307 2005-11-16 Wim Taymans <wim@fluendo.com>
15309 * gst/base/gstbasetransform.c:
15310 (gst_base_transform_prepare_output_buf),
15311 (gst_base_transform_event):
15312 Check if the caps are NULL, this can happen if the element
15313 is shutting down and the pad caps are set to NULL.
15315 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15317 * gst/elements/gsttee.c: (gst_tee_init):
15318 fix pad template leak in tee
15320 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15322 * gst/glib-compat.c: (g_value_dup_gst_object):
15323 * gst/glib-compat.h:
15324 * gst/gstpad.c: (gst_pad_set_property):
15325 use gst_object_ref when setting the pad template; this will
15326 trigger the pad template leaks on GLib 2.6 and the slaves
15328 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15330 * gst/glib-compat.c: (gst_flags_get_first_value):
15331 * gst/glib-compat.h:
15332 * gst/gstregistryxml.c:
15333 remove functions copied from GLib 2.6
15335 2005-11-16 Michael Smith <msmith@fluendo.com>
15338 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15339 do, but only breaks with newer valgrind versions. We're not a
15340 valgrind tool, we have no link-time dependencies on libcoregrind.
15342 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15344 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15346 * gst/gstmessage.h:
15349 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15351 * gst/base/gstbasesrc.c: (gst_base_src_init):
15352 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15353 * gst/gstqueue.c: (gst_queue_init):
15354 * gst/gstregistryxml.c: (load_feature):
15355 Revert all these unrefs, they don't even pass make check !
15357 2005-11-15 Johan Dahlin <johan@gnome.org>
15359 * gst/base/gstbasesrc.c: (gst_base_src_init):
15360 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15361 * gst/gstqueue.c: (gst_queue_init):
15362 Free pad templates, fixes a couple of leaks.
15364 2005-11-15 Daniel Fischer <dan at f3c dot com>
15366 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15368 * gst/gstpad.c: (gst_pad_get_property):
15369 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15370 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15373 2005-11-15 Wim Taymans <wim@fluendo.com>
15378 2005-11-15 Andy Wingo <wingo@pobox.com>
15380 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15382 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15383 using GST_CLOCK_TIME_NONE to disable base time management.
15384 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15385 time if it was NONE before.
15386 (gst_pipeline_change_state): Only munge the base time if
15387 stream_time != GST_CLOCK_TIME_NONE.
15389 * check/gst/gstpipeline.c (test_base_time): Punt around the
15390 problem of the probe not being called, because that's not the
15391 issue I'm looking at. Add a check that setting stream_time to NONE
15392 disables base time management.
15394 2005-11-15 Wim Taymans <wim@fluendo.com>
15396 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15397 segment_stop == -1 at startup.
15399 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15400 (gst_base_transform_change_state):
15401 Init segment values at start.
15403 2005-11-15 Wim Taymans <wim@fluendo.com>
15405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15406 0 segment values are 0 in any format.
15408 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15409 * gst/base/gstbasetransform.h:
15410 Parse newsegment correctly in basetransform
15412 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15413 Sync to clock using updated segment values.
15415 2005-11-15 Andy Wingo <wingo@pobox.com>
15417 * check/gst/gstpipeline.c (test_base_time): Add check that the
15418 base time and stream time are reset correctly.
15420 2005-11-15 Wim Taymans <wim@fluendo.com>
15422 * docs/design/part-TODO.txt:
15423 Some more TODO items.
15425 2005-11-15 Andy Wingo <wingo@pobox.com>
15427 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15428 error if the user selected "no clock" as the clocking method.
15430 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15431 timestamps with live capture.
15433 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15434 is 0 but we are a live source, timestamp the buffers using the
15437 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15439 * docs/gst/gstreamer-sections.txt:
15441 * gst/gstghostpad.c:
15446 2005-11-14 Wim Taymans <wim@fluendo.com>
15449 add suppressions from Wim's Debian machine
15451 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15454 add suppressions from Andy's AMD64 Ubuntu machine
15456 2005-11-14 Andy Wingo <wingo@pobox.com>
15458 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15459 STATE_LOCK not necessary. Fixes #311489.
15461 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15464 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15465 this function is not implemented.
15467 2005-11-14 Julien MOUTTE <julien@moutte.net>
15469 * gst/base/gstbasetransform.c:
15470 (gst_base_transform_prepare_output_buf):
15471 Ref the source pad caps while we need them.
15474 2005-11-11 Wim Taymans <wim@fluendo.com>
15476 * docs/gst/gstreamer-sections.txt:
15477 Added some docs for GstCollectData.
15479 * gst/base/gstadapter.c:
15480 Some small code example fix.
15482 * gst/base/gstcollectpads.c:
15483 * gst/base/gstcollectpads.h:
15484 Document some more.
15486 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15488 * configure.ac: back to HEAD
15490 === release 0.9.5 ===
15492 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15495 releasing 0.9.5, "Bike Lunch Day"
15497 2005-11-11 Wim Taymans <wim@fluendo.com>
15499 * gst/gstbuffer.c: (_gst_buffer_copy):
15502 * gst/gstcaps.c: (gst_caps_is_equal):
15504 Make _is_equal fast in the trivial cases.
15506 * gst/gstminiobject.c:
15507 * gst/gstminiobject.h:
15508 More docs. Spifify .h file.
15513 2005-11-11 Wim Taymans <wim@fluendo.com>
15515 * gst/base/gstbasetransform.c:
15516 (gst_base_transform_prepare_output_buf),
15517 (gst_base_transform_handle_buffer):
15519 If we're processing a buffer and need to allocate an output
15520 buffer, we cannot accept a format change. If we did get a
15521 format change, we have to alloc a buffer ourselves of the
15524 2005-11-11 Wim Taymans <wim@fluendo.com>
15526 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15527 While checking the flag for reentrancy in the gstcaps function
15528 is nice to detect recursive invocations, it also makes it
15529 impossible to call getcaps from multiple threads, which must be
15530 possible. So, checking for recursive calls has to go.
15532 2005-11-11 Michael Smith <msmith@fluendo.com>
15534 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15535 Don't sync on buffers that fall partially outside our current
15536 segment. Prevents an assertion failure/abort playing some files.
15538 2005-11-10 Andy Wingo <wingo@pobox.com>
15540 * check/gst/gstbin.c (test_message_state_changed_children): Style
15543 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15544 gst_bus_poll with the signal watch. Ensures that poll and a signal
15545 watch see the same messages.
15547 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15548 a poll and a watch at the same time get the same messages.
15550 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15552 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15553 * gst/gstcaps.c: (gst_caps_intersect):
15554 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15555 and it's not needed.
15557 2005-11-10 Wim Taymans <wim@fluendo.com>
15559 * docs/design/part-TODO.txt:
15562 2005-11-10 Wim Taymans <wim@fluendo.com>
15564 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15565 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15566 (gst_base_src_do_sync), (gst_base_src_get_range):
15567 Implement clock sync in base class.
15569 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15571 patch by: Tim-Philipp Müller <tim at centricular dot net>
15573 * gst/gststructure.c: (gst_structure_parse_field),
15574 (gst_structure_from_string):
15575 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15576 so that gst_parse_launch() can deal with spaces in filtered link
15577 caps (fixes #164479)
15578 * check/gst/capslist.h:
15579 * check/gst/gststructure.c: (GST_START_TEST):
15580 add unit tests for this change
15582 2005-11-10 Wim Taymans <wim@fluendo.com>
15584 * docs/gst/gstreamer-sections.txt:
15585 * gst/gstelement.c:
15586 * gst/gstelement.h:
15587 Fix docs, move some STATE macros to private.
15589 2005-11-10 Wim Taymans <wim@fluendo.com>
15591 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15592 Added check for bug #317341
15596 Some more spiffifying.
15598 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15599 Call peer linkfunction if we are a source pad. Totally fixes
15603 Update docs, source pads should call the peer linkfunction
15604 so they can atomically perform the pad link.
15606 2005-11-09 Wim Taymans <wim@fluendo.com>
15610 Uber-spiffy-spiffify some more.
15612 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15614 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15615 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15616 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15617 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15618 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15619 * gst/gstpad.c: (gst_pad_init):
15620 Use GST_DEBUG_FUNCPTR() more extensively.
15622 2005-11-09 Wim Taymans <wim@fluendo.com>
15624 * gst/gstobject.c: (gst_object_class_init):
15626 Documentation fixes.
15628 2005-11-09 Edward Hervey <edward@fluendo.com>
15630 * gst/gsttypefindfactory.c:
15633 2005-11-09 Edward Hervey <edward@fluendo.com>
15635 * gst/base/gsttypefindhelper.c:
15636 * gst/gsttypefind.c:
15637 * gst/gsttypefind.h:
15640 2005-11-09 Wim Taymans <wim@fluendo.com>
15642 * gst/gstiterator.c:
15649 2005-11-09 Wim Taymans <wim@fluendo.com>
15655 2005-11-09 Wim Taymans <wim@fluendo.com>
15657 * docs/gst/gstreamer-sections.txt:
15658 Moved the message async delivery private lock and cond
15659 to the private section.
15661 * gst/gstmessage.c:
15662 * gst/gstmessage.h:
15665 2005-11-09 Edward Hervey <edward@fluendo.com>
15667 * docs/gst/gstreamer-sections.txt:
15670 Document GstURIHandler
15672 2005-11-09 Wim Taymans <wim@fluendo.com>
15674 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15675 (gst_iterator_find_custom):
15676 * gst/gstiterator.h:
15679 2005-11-09 Wim Taymans <wim@fluendo.com>
15682 Document another field.
15684 * gst/gststructure.c:
15685 * gst/gststructure.h:
15688 2005-11-09 Wim Taymans <wim@fluendo.com>
15691 Documented structs.
15693 2005-11-09 Wim Taymans <wim@fluendo.com>
15695 * docs/gst/gstreamer-sections.txt:
15696 Added some new macros.
15703 2005-11-09 Wim Taymans <wim@fluendo.com>
15705 * docs/design/part-TODO.txt:
15706 Some more items for the TODO
15712 2005-11-09 Andy Wingo <wingo@pobox.com>
15714 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15715 to work on something else now tho...
15717 * gst/base/gstadapter.c: More adapter docs.
15719 * gst/elements/gstfilesink.c (gst_file_sink_start)
15720 (gst_file_sink_stop): New functions, replace the state change
15722 (gst_file_sink_class_init): Hook up the start and stop functions.
15723 (gst_file_sink_base_init): Don't set the state change handler any
15724 more. It was a bit ugly too, being set from here...
15725 (gst_file_sink_get_property, gst_file_sink_set_property):
15727 (gst_file_sink_set_location): More robust check that doesn't call
15728 GST_STATE. Ugggggg.
15730 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15732 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15733 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15735 2005-11-08 Wim Taymans <wim@fluendo.com>
15737 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15738 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15739 (gst_base_sink_chain), (gst_base_sink_change_state):
15740 * gst/base/gstbasesink.h:
15741 * gst/base/gstbasesrc.h:
15742 * gst/gstelement.h:
15744 Avoid excessive typechecking in macros.
15746 * gst/gstminiobject.c: (gst_mini_object_get_type),
15747 (gst_mini_object_init), (gst_mini_object_new),
15748 (gst_mini_object_free):
15749 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15750 (gst_object_finalize):
15751 Remove cruft code, optimize alloc_trace.
15753 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15755 * docs/faq/gst-uninstalled:
15756 fix up PS1 for systems that try to reset it
15758 2005-11-07 Wim Taymans <wim@fluendo.com>
15760 * gst/base/gstbasesrc.c: (gst_base_src_init),
15761 (gst_base_src_get_range):
15762 Set the segment_end to -1 initially. Fixed typefind.
15764 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15766 * gst/base/gstadapter.c:
15767 Debug category should be 'adapter', not 'GstAdapter'.
15769 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15770 (gst_collectpads_class_init), (gst_collectpads_init),
15771 (gst_collectpads_peek), (gst_collectpads_pop),
15772 (gst_collectpads_event), (gst_collectpads_chain):
15773 Add debug category and some debugging output. Use boilerplate
15774 macros. Remove some extraneous words from docs.
15776 2005-11-05 Andy Wingo <wingo@pobox.com>
15778 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15781 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15783 * docs/gst/gstreamer-sections.txt:
15786 * gst/gstminiobject.h:
15791 2005-11-04 Wim Taymans <wim@fluendo.com>
15793 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15794 Small update to stop at the configured segment_end
15797 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15799 * gst/gstregistry.c:
15800 * gst/gstregistry.h:
15803 2005-11-04 Edward Hervey <edward@fluendo.com>
15805 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15806 Check if we are doing a segment seek and have arrived at the
15807 end of that segment.
15809 2005-11-04 Wim Taymans <wim@fluendo.com>
15811 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15812 Don't leak a mutex unlock in case of an error.
15817 2005-11-04 Wim Taymans <wim@fluendo.com>
15819 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15821 Get the context to wake up only once.
15823 2005-11-03 Wim Taymans <wim@fluendo.com>
15825 * check/states/sinks.c: (GST_START_TEST):
15826 Uncomment fixed check.
15828 * docs/design/part-TODO.txt:
15831 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15832 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15833 (gst_base_sink_get_position):
15834 If we are going to PLAYING, post the right pending state
15835 when we post the intermediate paused message.
15837 * gst/gstelement.c: (gst_element_continue_state),
15838 (gst_element_set_state_func), (gst_element_change_state):
15839 Don't post state changes that were between the same state
15840 and were not ASYNC.
15842 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15844 * docs/gst/gstreamer-sections.txt:
15847 * gst/gstminiobject.h:
15850 more docs and doc style fixes
15852 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15854 * docs/gst/gstreamer-sections.txt:
15855 * gst/gstelement.c:
15856 * gst/gstminiobject.c:
15859 2005-11-03 Andy Wingo <wingo@pobox.com>
15861 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15862 state-changed messages actually have the right order and the right
15865 2005-11-03 Wim Taymans <wim@fluendo.com>
15867 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15868 Added some more checks. Specifically the case where NO_PREROLL
15869 elements are in the pipeline.
15871 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15872 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15873 (gst_base_sink_get_position):
15874 Post READY->PAUSED state change messages too.
15875 Fix bug where VOID was posted as pending state...
15877 * gst/gstbin.c: (gst_bin_recalc_state):
15878 use _element_continue_state() to continue the state change.
15880 * gst/gstelement.c: (gst_element_continue_state),
15881 (gst_element_commit_state), (gst_element_set_state_func),
15882 (gst_element_change_state), (gst_element_change_state_func):
15883 Lots of state change cleanups, assign the STATE_RETURN in
15884 a new continue_state() function that also propagates the
15885 last return value from a state change to the app.
15886 Update some debug statements with proper category.
15888 2005-11-03 Wim Taymans <wim@fluendo.com>
15890 * docs/design/part-events.txt:
15891 * docs/design/part-gstpipeline.txt:
15892 * docs/design/part-messages.txt:
15893 * docs/design/part-overview.txt:
15894 * docs/design/part-seeking.txt:
15895 * docs/design/part-states.txt:
15896 * docs/design/part-trickmodes.txt:
15897 * docs/manual/advanced-position.xml:
15898 Small docs updates.
15901 People think !! is ugly, this looks better.
15903 * gst/gstpad.c: (gst_pad_set_blocked_async):
15904 Remove !! since it's fixed elsewhere now.
15906 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15908 * gst/gstminiobject.h:
15910 Add !! to _FLAG_IS_SET macros to make the result boolean.
15912 2005-11-03 Edward Hervey <edward@fluendo.com>
15914 * gst/gstpad.c: (gst_pad_set_blocked_async):
15915 comparing a flag and a gboolean rarely returns coherent results...
15916 Added two characters (!!) to make that work correctly.
15918 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15920 * gst/gstbus.c: (gst_bus_class_init):
15923 * gst/gstqueue.c: (gst_queue_loop):
15924 Don't assume a miniobject that isn't a buffer is an
15925 event (it could be that there is a refcounting
15926 problem somewhere and the pointer is stale and
15927 refers to an already destroyed miniobject).
15929 2005-11-03 Julien MOUTTE <julien@moutte.net>
15931 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15933 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15935 * docs/manual/advanced-position.xml:
15936 Update seek example and explanations to current 0.9 API.
15938 * gst/elements/gsttypefindelement.c:
15939 (gst_type_find_element_activate):
15940 Remove FIXME comment now that the found caps
15943 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15945 * gst/gstregistryxml.c: (load_feature):
15946 Add another GST_STR_NULL instance
15948 2005-11-02 Edward Hervey <edward@fluendo.com>
15950 * gst/gstpad.c: (handle_pad_block):
15951 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15953 2005-11-02 Wim Taymans <wim@fluendo.com>
15958 * gst/gstelement.c: (gst_element_commit_state):
15959 Remove unused value.
15961 * gst/gstiterator.c:
15962 Mention that the returned element is reffed in the docs.
15964 2005-11-02 Wim Taymans <wim@fluendo.com>
15966 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15967 (gst_pad_push), (gst_pad_push_event):
15968 Unlock blocked pads when they are flushed.
15970 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
15973 * docs/gst/gstreamer-sections.txt:
15976 * gst/gstregistry.c: (gst_registry_scan_path_level):
15977 fix for a nasty little missed situation where an installed plug-in
15978 which was in the cache did not get overridden by an uninstalled one
15979 which was earlier in the plugin path because the newly created plugin
15980 for the uninstalled one (not in the registry) didn't get its
15981 ->registered set to TRUE
15983 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
15985 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15986 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15987 (gst_collectpads_is_active), (gst_collectpads_collect),
15988 (gst_collectpads_collect_range), (gst_collectpads_start),
15989 (gst_collectpads_stop), (gst_collectpads_peek),
15990 (gst_collectpads_pop), (gst_collectpads_available),
15991 (gst_collectpads_read), (gst_collectpads_flush):
15992 Guard public API with assertions.
15995 Fix docs for gst_pad_set_link_function().
15997 2005-11-02 Johan Dahlin <johan@gnome.org>
15999 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16000 Unref found_caps after we used it.
16002 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16004 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16005 Don't try to ref NULL.
16007 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16009 * win32/common/config.h.in:
16010 provide a GST_FUNCTION that just gives a string for now
16012 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16014 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16015 (gst_object_flags_get_type), (register_gst_bin_flags),
16016 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16017 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16018 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16019 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16020 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16021 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16022 (gst_clock_flags_get_type), (register_gst_state),
16023 (gst_state_get_type), (register_gst_state_change_return),
16024 (gst_state_change_return_get_type), (register_gst_state_change),
16025 (gst_state_change_get_type), (register_gst_element_flags),
16026 (gst_element_flags_get_type), (register_gst_core_error),
16027 (gst_core_error_get_type), (register_gst_library_error),
16028 (gst_library_error_get_type), (register_gst_resource_error),
16029 (gst_resource_error_get_type), (register_gst_stream_error),
16030 (gst_stream_error_get_type), (register_gst_event_type),
16031 (gst_event_type_get_type), (register_gst_seek_type),
16032 (gst_seek_type_get_type), (register_gst_seek_flags),
16033 (gst_seek_flags_get_type), (register_gst_format),
16034 (gst_format_get_type), (register_gst_index_certainty),
16035 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16036 (gst_index_entry_type_get_type),
16037 (register_gst_index_lookup_method),
16038 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16039 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16040 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16041 (gst_index_flags_get_type), (register_gst_debug_level),
16042 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16043 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16044 (gst_iterator_result_get_type), (register_gst_iterator_item),
16045 (gst_iterator_item_get_type), (register_gst_message_type),
16046 (gst_message_type_get_type), (register_gst_mini_object_flags),
16047 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16048 (gst_pad_link_return_get_type), (register_gst_flow_return),
16049 (gst_flow_return_get_type), (register_gst_activate_mode),
16050 (gst_activate_mode_get_type), (register_gst_pad_direction),
16051 (gst_pad_direction_get_type), (register_gst_pad_flags),
16052 (gst_pad_flags_get_type), (register_gst_pad_presence),
16053 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16054 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16055 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16056 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16057 (gst_plugin_flags_get_type), (register_gst_rank),
16058 (gst_rank_get_type), (register_gst_query_type),
16059 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16060 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16061 (gst_tag_flag_get_type), (register_gst_task_state),
16062 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16063 (gst_alloc_trace_flags_get_type),
16064 (register_gst_type_find_probability),
16065 (gst_type_find_probability_get_type), (register_gst_uri_type),
16066 (gst_uri_type_get_type), (register_gst_parse_error),
16067 (gst_parse_error_get_type):
16068 * win32/common/gstversion.h:
16069 update win32 copies
16071 2005-11-01 Luca Ognibene <luogni@tin.it>
16074 fix docs. popt is dead, long live GOption.
16076 2005-10-31 Wim Taymans <wim@fluendo.com>
16081 2005-10-31 Andy Wingo <wingo@pobox.com>
16085 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16087 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16088 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16089 the possibility of deadlocks here if code calling notify() or
16090 set() has a lock that can be taken in another notify handler (ABBA
16091 with class lock and e.g. python GIL state lock).
16093 2005-10-28 Julien MOUTTE <julien@moutte.net>
16095 * gst/gstbus.c: Doc updates.
16097 2005-10-28 Wim Taymans <wim@fluendo.com>
16099 * docs/design/part-TODO.txt:
16100 * gst/gstiterator.c:
16101 * gst/gstsystemclock.c:
16102 * gst/gstsystemclock.h:
16105 2005-10-28 Edward Hervey <edward@fluendo.com>
16107 * docs/gst/gstreamer-docs.sgml:
16108 * docs/gst/gstreamer-sections.txt:
16109 the GstURIType documentation page is private, it only defines GstURIType
16110 which should be defined in the GstURIHandler page
16112 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16114 * gst/gstbin.c: (gst_bin_class_init):
16117 Documentation updates.
16119 2005-10-28 Wim Taymans <wim@fluendo.com>
16121 * docs/gst/gstreamer-sections.txt:
16124 Documented the clocks.
16126 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16128 * docs/gst/gstreamer-sections.txt:
16129 move some macros to private sections
16130 * gst/gstminiobject.c:
16131 * gst/gstminiobject.h:
16132 add descriptions provided by ds and some more
16134 mark macro as to be removed
16136 2005-10-28 Wim Taymans <wim@fluendo.com>
16138 * docs/design/part-TODO.txt:
16139 Add an item to TODO.
16141 * gst/gstiterator.c: (gst_iterator_fold),
16142 (gst_iterator_find_custom):
16143 * gst/gstiterator.h:
16146 2005-10-28 Wim Taymans <wim@fluendo.com>
16148 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16149 (gst_base_transform_init):
16152 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16153 An EOS event marks the queue as completely filled.
16155 2005-10-27 Wim Taymans <wim@fluendo.com>
16157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16158 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16159 Some more debugging.
16161 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16162 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16163 (gst_base_transform_event), (gst_base_transform_getrange),
16164 (gst_base_transform_chain):
16165 * gst/base/gstbasetransform.h:
16167 Protect transform and concurrent buffer alloc with a new lock.
16168 Try not to break ABI/API.
16170 2005-10-27 Wim Taymans <wim@fluendo.com>
16172 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16173 (gst_base_src_init), (gst_base_src_query),
16174 (gst_base_src_default_newsegment),
16175 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16176 (gst_base_src_send_event), (gst_base_src_event_handler),
16177 (gst_base_src_pad_get_range), (gst_base_src_loop),
16178 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16179 (gst_base_src_start), (gst_base_src_deactivate),
16180 (gst_base_src_activate_push), (gst_base_src_change_state):
16181 Move some stuff around and cleanup things.
16183 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16185 * gst/base/gstbasesrc.c: (gst_base_src_query):
16186 Add missing break statements.
16188 2005-10-27 Wim Taymans <wim@fluendo.com>
16190 * check/gst/gstbin.c: (GST_START_TEST):
16191 An extra refcount is taken in basesrc.
16193 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16194 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16195 (gst_base_src_loop):
16196 Small cleanups, check for flushing after being unlocked from the
16197 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16198 Don't send out EOS when going to READY.
16200 2005-10-27 Wim Taymans <wim@fluendo.com>
16202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16203 (gst_base_sink_get_position):
16206 * gst/gstbin.c: (message_check), (bin_replace_message),
16207 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16208 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16209 (bin_query_duration_init), (bin_query_duration_fold),
16210 (bin_query_duration_done), (bin_query_generic_fold),
16212 * tools/gst-launch.c: (main):
16215 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16217 * examples/controller/audio-example.c: (main):
16218 * examples/queue/queue.c: (event_loop):
16219 * gst/base/gstbasetransform.h:
16220 * gst/gstelement.c: (gst_element_send_event):
16222 * gst/gstpad.c: (gst_pad_send_event):
16225 changing log priority in error situations
16227 2005-10-25 Wim Taymans <wim@fluendo.com>
16229 * gst/gstbin.c: (message_check), (bin_replace_message),
16230 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16231 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16232 (bin_query_duration_init), (bin_query_duration_fold),
16233 (bin_query_duration_done), (bin_query_generic_fold),
16235 Some doc and debug updates.
16236 Cache previously requested query DURATION for speed. invalidate
16237 cached duration if element posts a DURATION message.
16239 2005-10-25 Wim Taymans <wim@fluendo.com>
16241 * docs/design/part-TODO.txt:
16244 * gst/gstbin.c: (message_check), (bin_replace_message),
16245 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16246 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16247 (bin_query_duration_init), (bin_query_duration_fold),
16248 (bin_query_duration_done), (bin_query_generic_fold),
16250 Handle SEGMENT_START/DONE messages correctly.
16251 More evolved query algorithm that handles duration queries
16254 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16255 (gst_element_get_state_func), (gst_element_abort_state),
16256 (gst_element_commit_state), (gst_element_lost_state):
16257 Some more debugging.
16259 * gst/gstmessage.h:
16262 2005-10-25 Wim Taymans <wim@fluendo.com>
16264 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16265 Don't use invalid stream_time.
16267 * gst/gstevent.c: (gst_event_new_newsegment):
16268 stream_time in newsegment cannot be undefined.
16270 2005-10-24 Wim Taymans <wim@fluendo.com>
16275 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16277 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16279 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16281 * docs/libs/tmpl/gstdparam.sgml:
16282 * docs/libs/tmpl/gstdplinint.sgml:
16283 * docs/libs/tmpl/gstdpman.sgml:
16284 * docs/libs/tmpl/gstdpsmooth.sgml:
16285 * docs/libs/tmpl/gstunitconvert.sgml:
16288 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16293 === release 0.9.4 ===
16295 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16298 releasing 0.9.4, "Tyrannosaurus Rex"
16300 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16302 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16303 (gst_file_sink_get_current_offset):
16304 Use fseeko() and ftello() if available. When falling back on
16305 lseek() to get the current offset, fflush() first to make sure
16306 everything is up-to-date and we get the right offset.
16308 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16311 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16312 * gst/gsterror.c: (_gst_stream_errors_init):
16314 * gst/gstqueue.c: (gst_queue_loop):
16316 remove prematurely added error category and clean up the instances
16318 2005-10-21 Wim Taymans <wim@fluendo.com>
16320 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16321 (gst_base_sink_get_position), (gst_base_sink_query),
16322 (gst_base_sink_change_state):
16323 Simply set the right flag when going to playing, that's all
16324 we need to do instead of calling a function inside the object
16325 lock (that could take the lock as well and deadlock)
16327 2005-10-21 Wim Taymans <wim@fluendo.com>
16329 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16330 (gst_base_src_loop):
16331 Don't warn, the peer element knows what to do best when
16332 the seek failed, it might try something else.
16334 2005-10-21 Wim Taymans <wim@fluendo.com>
16336 * gst/base/gstbasesrc.c: (gst_base_src_init),
16337 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16340 2005-10-21 Wim Taymans <wim@fluendo.com>
16342 * docs/design/part-segments.txt:
16345 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16346 Correctly set caps, even on the subbufer.
16348 2005-10-21 Wim Taymans <wim@fluendo.com>
16350 * docs/gst/gstreamer-docs.sgml:
16351 * docs/gst/gstreamer-sections.txt:
16352 * gst/gstelement.h:
16355 * gst/gstmessage.h:
16358 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16362 And 2% more doc coverage.
16364 2005-10-21 Andy Wingo <wingo@pobox.com>
16366 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16367 position reporting.
16369 2005-10-20 Wim Taymans <wim@fluendo.com>
16371 * gst/gsterror.c: (gst_error_get_message):
16374 * gst/gststructure.c:
16379 2005-10-20 Wim Taymans <wim@fluendo.com>
16384 Another 1% more coverage.
16386 2005-10-20 Wim Taymans <wim@fluendo.com>
16388 * docs/gst/gstreamer-sections.txt:
16389 * gst/gstelement.c: (gst_element_get_state_func),
16390 (gst_element_abort_state), (gst_element_commit_state),
16391 (gst_element_lost_state):
16393 * gst/gstquery.c: (gst_query_set_position),
16394 (gst_query_parse_position), (gst_query_set_duration),
16395 (gst_query_parse_duration), (gst_query_new_convert):
16397 Yay! 1% more docs coverage.
16399 2005-10-20 Wim Taymans <wim@fluendo.com>
16402 * gst/gstquery.c: (gst_query_set_position),
16403 (gst_query_parse_position), (gst_query_set_duration),
16404 (gst_query_parse_duration), (gst_query_new_convert):
16406 * gst/gstutils.c: (gst_element_query_convert):
16408 Docs and consistency fixes.
16410 2005-10-20 Wim Taymans <wim@fluendo.com>
16416 2005-10-20 Wim Taymans <wim@fluendo.com>
16418 * gst/gstbin.c: (message_check), (bin_replace_message),
16419 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16420 (update_degree), (gst_bin_sort_iterator_next),
16421 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16422 Reworked the message handling a bit, cache the messages instead of
16423 only the senders. alows us to do more in the future.
16425 2005-10-20 Wim Taymans <wim@fluendo.com>
16427 * docs/design/part-TODO.txt:
16430 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16431 (gst_base_sink_query):
16432 Don't use clock time to report position when in EOS.
16434 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16436 * tools/gst-inspect.c: (print_interfaces),
16437 (print_element_properties_info), (print_element_info):
16438 Fix interface output with gst-inspect -a; don't print
16439 newlines after double/float properties.
16441 2005-10-20 Wim Taymans <wim@fluendo.com>
16443 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16444 (gst_base_sink_query):
16445 Speed up current position calculation.
16447 * gst/base/gstbasesrc.c: (gst_base_src_query),
16448 (gst_base_src_default_newsegment):
16449 Correctly set stream position in newsegment.
16451 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16452 (update_degree), (gst_bin_sort_iterator_next),
16453 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16454 * gst/gstmessage.c: (gst_message_new_custom):
16455 Clean up debugging info
16457 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16458 (gst_queue_loop), (gst_queue_handle_src_query):
16461 2005-10-19 Wim Taymans <wim@fluendo.com>
16463 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16464 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16465 Fix query handling again.
16467 2005-10-19 Wim Taymans <wim@fluendo.com>
16469 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16470 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16471 * gst/base/gstbasesrc.c: (gst_base_src_query):
16472 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16473 * gst/elements/gsttypefindelement.c:
16474 (gst_type_find_handle_src_query), (find_element_get_length),
16475 (gst_type_find_element_activate):
16478 * gst/gstquery.c: (gst_query_new_position),
16479 (gst_query_set_position), (gst_query_parse_position),
16480 (gst_query_new_duration), (gst_query_set_duration),
16481 (gst_query_parse_duration), (gst_query_set_segment),
16482 (gst_query_parse_segment):
16484 Bundling query position/duration is not a good idea since duration
16485 does not change much and we don't want to recalculate it for every
16486 position query, so they are separated again..
16487 Base value in segment query is not needed.
16489 * gst/gstqueue.c: (gst_queue_handle_src_query):
16490 * gst/gstutils.c: (gst_element_query_position),
16491 (gst_element_query_duration), (gst_pad_query_position),
16492 (gst_pad_query_duration):
16494 Updates for query API change.
16495 Added some docs here and there.
16497 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16499 * check/gst/gstbin.c: (GST_START_TEST):
16500 * check/gst/gstghostpad.c: (GST_START_TEST):
16501 * check/pipelines/cleanup.c: (GST_START_TEST):
16502 wait on thread to die so we can check refcount correctly
16504 2005-10-18 Wim Taymans <wim@fluendo.com>
16506 * check/pipelines/stress.c: (GST_START_TEST):
16507 Make check a little more time consuming.
16509 2005-10-18 Wim Taymans <wim@fluendo.com>
16511 * check/Makefile.am:
16512 * check/pipelines/stress.c: (GST_START_TEST),
16513 (simple_launch_lines_suite), (main):
16514 Small state change torture test.
16516 * docs/design/part-states.txt:
16517 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16518 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16519 (gst_base_sink_change_state):
16520 Never take state lock from streaming thread, clean up ugly
16521 hacks. Unfortunatly core does not yet support nice ways to
16522 async commit state.
16524 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16526 Start state recalc if a STATE_DIRTY message is posted, but only
16527 on the toplevel bin.
16529 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16530 (gst_element_get_state_func), (gst_element_abort_state),
16531 (gst_element_commit_state), (gst_element_lost_state),
16532 (gst_element_set_state_func), (gst_element_change_state):
16533 * gst/gstelement.h:
16534 State variables are now protected with the LOCK, the state
16535 lock is only used to serialize _set_state().
16537 2005-10-18 Wim Taymans <wim@fluendo.com>
16539 * check/gst/gstbin.c: (GST_START_TEST):
16540 * check/gst/gstmessage.c: (GST_START_TEST):
16541 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16542 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16544 * gst/gstelement.c: (gst_element_abort_state),
16545 (gst_element_commit_state), (gst_element_lost_state):
16546 * gst/gstmessage.c: (gst_message_new_state_changed),
16547 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16548 (gst_message_new_segment_done), (gst_message_new_duration),
16549 (gst_message_parse_state_changed),
16550 (gst_message_parse_segment_start),
16551 (gst_message_parse_segment_done), (gst_message_parse_duration):
16552 * gst/gstmessage.h:
16553 * tools/gst-launch.c: (event_loop):
16554 Seriously, this is better than a previous commit as we only need
16555 to notify the fact that an element changed state in a streaming
16556 thread, marking the state of the parents dirty, hence the
16557 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16560 2005-10-18 Wim Taymans <wim@fluendo.com>
16562 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16563 (gst_bin_recalc_func):
16564 * gst/gstelement.c: (gst_element_set_clock),
16565 (gst_element_abort_state), (gst_element_lost_state):
16566 Cleanups, prepare for state change fixes.
16568 2005-10-18 Wim Taymans <wim@fluendo.com>
16571 * gst/gstelement.c: (gst_element_class_init),
16572 (gst_element_set_state), (gst_element_set_state_func):
16573 * gst/gstelement.h:
16574 Pending ABI changes.
16575 GThreadPool in GstBinClass to monitor async state changes.
16576 state_cookie in GstElement to detect concurrent gst/set state.
16577 set_state is now virtual too in case a very complicated element
16578 has to be constructed.
16580 2005-10-18 Wim Taymans <wim@fluendo.com>
16582 * check/gst/gstbin.c: (GST_START_TEST):
16583 * check/gst/gstmessage.c: (GST_START_TEST):
16584 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16585 * gst/gstbin.c: (bin_bus_handler):
16586 * gst/gstelement.c: (gst_element_commit_state),
16587 (gst_element_lost_state):
16588 * gst/gstmessage.c: (gst_message_new_state_changed),
16589 (gst_message_new_segment_start), (gst_message_new_segment_done),
16590 (gst_message_new_duration), (gst_message_parse_state_changed),
16591 (gst_message_parse_segment_start),
16592 (gst_message_parse_segment_done), (gst_message_parse_duration):
16593 * gst/gstmessage.h:
16594 * tools/gst-launch.c: (event_loop):
16595 Make messages future proof.
16596 state-change gets a flag if it was a message comming from the
16598 segment-start/stop can also be specified in other formats.
16599 A message to notify an app that a pipeline changed playback
16601 Also fix a GstMessage leak in -launch
16603 2005-10-18 Andy Wingo <wingo@pobox.com>
16605 * gst/gstelement.c (gst_element_dispose): More helpful message.
16607 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16609 reviewed by: <delete if not using a buddy>
16611 * common/gtk-doc.mak:
16613 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16615 * gst/gstregistry.c: (gst_registry_scan_path_level):
16616 unref a plug-in we get that was already initialized
16618 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16620 * docs/gst/gstreamer-sections.txt:
16621 * docs/libs/gstreamer-libs-sections.txt:
16622 * gst/gstelement.h:
16623 add new api entries
16624 hide internal macro
16626 2005-10-17 Andy Wingo <wingo@pobox.com>
16628 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16631 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16633 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16635 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16636 (gst_element_get_state_func): Better debug message.
16637 (gst_element_commit_state): s/INFO/DEBUG/.
16638 (gst_element_lost_state, gst_element_change_state):
16640 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16641 (gst_message_new_custom): s/INFO/LOG/.
16643 2005-10-17 Michael Smith <msmith@fluendo.com>
16645 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16646 Check if end time is valid using end time, not start time.
16648 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16650 * check/gst-libs/controller.c: (GST_START_TEST),
16651 (gst_controller_suite):
16652 * libs/gst/controller/gstcontroller.c:
16653 (gst_controlled_property_set_interpolation_mode):
16654 * libs/gst/controller/gstcontroller.h:
16655 * libs/gst/controller/gstinterpolation.c:
16656 * testsuite/controller/.cvsignore:
16657 * testsuite/controller/Makefile.am:
16658 * testsuite/controller/interpolator.c:
16659 merge controller testsuites
16661 remove mem-chunk from docs
16663 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16665 * gst/gstmemchunk.c:
16666 * gst/gstmemchunk.h:
16667 * gst/gsttrashstack.c:
16668 * gst/gsttrashstack.h:
16669 out. get out. you're fired. to the Attic !
16671 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16673 * gst/gstcaps.c: (gst_caps_intersect):
16674 fix signedness issues in a (hopefully) correct way
16675 * gst/gstelement.c: (gst_element_pads_activate):
16677 * gst/gstobject.c: (gst_object_set_parent):
16680 2005-10-17 Julien MOUTTE <julien@moutte.net>
16682 * gst/gstvalue.h: Fix prototypes.
16684 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16686 * docs/gst/gstreamer-sections.txt:
16687 * gst/gst.c: (gst_version_string):
16689 * gst/gstversion.h.in:
16690 * win32/common/libgstreamer.def:
16691 add gst_version_string ()
16693 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16697 * gst/gst.c: (init_post):
16698 * win32/common/config.h.in:
16700 * gst/gstcaps.c: (gst_caps_intersect):
16701 use gint64, the range could be bigger than a guint
16703 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16706 document potential problem in 2038
16708 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16710 * gst/gstcaps.c: (gst_caps_intersect):
16711 Fix guint j diving under 0
16713 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16716 * win32/common/config.h:
16717 * win32/common/config.h.in:
16718 check for process.h, declares getpid() on Windows
16720 include process.h if we have it
16721 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16722 * gst/gstmemchunk.h:
16723 fix signedness issues
16724 * win32/common/libgstreamer.def:
16727 2005-10-16 Julien MOUTTE <julien@moutte.net>
16729 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16730 fix. Because of unsigned ints, caps intersection was going nuts and
16731 trying to access structures with G_MAXUINT index. That fixes
16732 videotestsrc ! ffmpegcolorspace ! fakesink
16733 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16736 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16739 use the gettext macro
16740 * gst/elements/gstelements.c:
16742 * gst/indexers/gstindexers.c:
16743 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16744 * win32/common/config.h:
16746 * win32/common/config.h.in:
16747 add the template to generate config.h
16748 * win32/common/gstenumtypes.c:
16749 * win32/common/gstversion.h:
16752 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16754 * gst/gst.c: (gst_version):
16755 * gst/gstversion.h.in:
16758 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16761 Oops, add missing closing bracket.
16763 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16766 use common m4's for argument checking
16768 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16770 * docs/gst/gstreamer-sections.txt:
16772 Add GST_EVENT_TYPE_NAME() macro.
16774 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16777 * gst/gstpluginfeature.c:
16779 privatize more symbols
16781 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16784 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16785 everything that uses GStreamer API should have the includes
16787 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16789 * docs/gst/gstreamer-sections.txt:
16790 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16792 give each value a _get_type, removes the DATA exports
16794 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16798 remove _gst_registry_auto_load, not used anymore
16799 * gst/gstbin.c: (gst_bin_get_type):
16801 * gst/gstelement.c: (gst_element_get_type):
16802 * gst/gstelement.h:
16803 * gst/gstobject.c: (gst_object_get_type):
16805 * gst/gstpad.c: (gst_pad_get_type):
16807 make _get_type functions similar, fixes data export from library
16809 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16812 correctly make conditionals
16813 * gst/elements/Makefile.am:
16814 * gst/elements/gstelements.c:
16815 fix typo causing fdsrc not to build
16817 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16819 * testsuite/Makefile.am:
16820 * testsuite/bytestream/.cvsignore:
16821 * testsuite/bytestream/Makefile.am:
16822 * testsuite/bytestream/filepadsink.c:
16823 * testsuite/bytestream/gstbstest.c:
16824 * testsuite/bytestream/test1.c:
16825 * testsuite/bytestream/testfile1:
16826 * testsuite/caps/normalisation.c:
16827 * testsuite/caps/random.c: (main):
16828 * testsuite/cleanup/.cvsignore:
16829 * testsuite/cleanup/Makefile.am:
16830 * testsuite/cleanup/cleanup1.c:
16831 * testsuite/cleanup/cleanup2.c:
16832 * testsuite/cleanup/cleanup3.c:
16833 * testsuite/cleanup/cleanup4.c:
16834 * testsuite/cleanup/cleanup5.c:
16835 * testsuite/controller/interpolator.c:
16836 * testsuite/debug/printf_extension.c: (main):
16837 * testsuite/elements/tee.c:
16838 * testsuite/negotiation/.cvsignore:
16839 * testsuite/negotiation/Makefile.am:
16840 * testsuite/negotiation/pad_link.c:
16841 * testsuite/pad/Makefile.am:
16842 * testsuite/pad/chainnopull.c:
16843 * testsuite/pad/getnopush.c:
16844 * testsuite/pad/link.c:
16845 * testsuite/refcounting/sched.c: (create_pipeline):
16846 * testsuite/registry/Makefile.am:
16847 * testsuite/registry/gst-print-formats.c:
16848 * testsuite/schedulers/.cvsignore:
16849 * testsuite/schedulers/142183-2.c:
16850 * testsuite/schedulers/142183.c:
16851 * testsuite/schedulers/143777-2.c:
16852 * testsuite/schedulers/143777.c:
16853 * testsuite/schedulers/147713.c:
16854 * testsuite/schedulers/147819.c:
16855 * testsuite/schedulers/147894-2.c:
16856 * testsuite/schedulers/147894.c:
16857 * testsuite/schedulers/Makefile.am:
16858 * testsuite/schedulers/group_link.c:
16859 * testsuite/schedulers/queue_link.c:
16860 * testsuite/schedulers/relink.c:
16861 * testsuite/schedulers/unlink.c:
16862 * testsuite/schedulers/unref.c:
16863 * testsuite/schedulers/useless_iteration.c:
16864 * testsuite/states/bin.c:
16865 clean out/remove some stuff from the testsuite directories
16867 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16870 check for some headers
16871 * gst/elements/Makefile.am:
16872 * gst/elements/gstelements.c:
16873 don't compile fdsrc without sys/socket.h
16874 * gst/indexers/Makefile.am:
16875 * gst/indexers/gstindexers.c: (plugin_init):
16876 don't compile fileindex without mmap
16878 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16885 * check/Makefile.am:
16886 * docs/gst/Makefile.am:
16887 * examples/helloworld/Makefile.am:
16889 * gst/base/Makefile.am:
16890 * gst/check/Makefile.am:
16891 * gst/elements/Makefile.am:
16892 * gst/indexers/Makefile.am:
16893 * gst/parse/Makefile.am:
16894 * libs/gst/controller/Makefile.am:
16895 * libs/gst/dataprotocol/Makefile.am:
16896 * examples/helloworld/helloworld.c: (event_loop):
16897 compile fixes, though it's not being compiled currently
16899 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16901 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16902 Add some simple tests for the new taglist date API.
16904 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16906 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16907 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16908 Beautify 'last-message' output: print 'none' for buffer timestamps
16909 and durations if none is set; improve alignment with next messages.
16911 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16913 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16914 * gst/gstpluginfeature.h:
16915 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16916 * gst/gstregistry.h:
16917 * docs/gst/gstreamer-sections.txt:
16918 Add new API to check plugin feature version requirements.
16920 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16921 Some basic tests for the above.
16923 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16925 * gst/gststructure.c: (gst_structure_to_string):
16926 guard against NULL printf - happens when for example
16927 a message structure with GstClock gets serialized
16929 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16931 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16932 Fix presumable copy'n'pasto.
16934 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16936 * gst/elements/gstfakesrc.h:
16937 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16938 * gst/elements/gsttypefindelement.c:
16939 fix some signedness
16940 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16941 I wonder if this could actually write +2GB files before
16943 2005-10-13 Andy Wingo <wingo@pobox.com>
16945 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16946 Fix Timmeke Waymans bug.
16947 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16948 string of the proper length to gst_caps_from_string. There's a
16949 potential for, before this fix, that this could cause someone
16950 connecting over the network to cause a segfault if the payload is
16951 not NUL-terminated.
16953 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16955 * docs/design/draft-push-pull.txt:
16956 * docs/design/part-overview.txt:
16957 * docs/random/TODO-pre-0.9:
16958 * docs/random/old/ChangeLog.gstreamer:
16959 * gst/base/gstpushsrc.c:
16963 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16965 * gst/glib-compat.c: (gst_flags_get_first_value):
16966 * gst/glib-compat.h:
16967 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16968 (gst_value_compare_double), (gst_value_serialize_flags):
16969 GLib 2.6 g_flags_get_first_value has a bug that triggers an
16972 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16975 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16977 * tools/gst-launch.c: (event_loop):
16978 print out clock nicely
16980 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16982 * docs/gst/gstreamer-sections.txt:
16983 * gst/gsttaglist.h:
16984 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16985 (gst_tag_list_get_date_index):
16986 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16987 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16989 2005-10-13 Julien MOUTTE <julien@moutte.net>
16991 * gst/base/gstcollectpads.c: (gst_collectpads_event),
16992 (gst_collectpads_chain):
16993 * gst/base/gstcollectpads.h: Handle newsegment and store informations
16996 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16998 * docs/gst/gstreamer-sections.txt:
17001 * tools/gst-inspect.c: (main):
17002 * tools/gst-launch.c: (main):
17003 * tools/gst-run.c: (main):
17004 * tools/gst-xmlinspect.c: (main):
17005 fix GOption context leaks
17008 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17012 * win32/common/config.h:
17014 * win32/vs6/grammar.dsp:
17015 * win32/vs6/libgstelements.dsp:
17016 * win32/vs6/libgstreamer.dsp:
17019 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17021 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17022 * gst/base/gstbasesrc.c: (gst_base_src_query):
17023 fix more guint64<->gdouble conversions
17025 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17028 add win32-update target
17029 * win32/common/gstconfig.h:
17030 * win32/common/gstenumtypes.c:
17031 * win32/common/gstenumtypes.h:
17032 * win32/common/gstversion.h:
17033 add files that visual studio can't generate
17035 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17038 add a win32-update target
17041 2005-10-12 Wim Taymans <wim@fluendo.com>
17043 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17044 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17045 * gst/gstelement.c: (gst_element_commit_state),
17046 (gst_element_set_state):
17047 Protect flags with proper lock.
17048 unref provided cached clock in dispose.
17050 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17053 * gst/gstminiobject.h:
17055 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17056 removed unused flags from miniobject
17059 2005-10-12 Wim Taymans <wim@fluendo.com>
17061 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17062 (gst_file_sink_event), (gst_file_sink_render):
17063 Flush before seeking.
17065 2005-10-12 Andy Wingo <wingo@pobox.com>
17067 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17068 always been the case.
17070 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17072 * check/gst/gstbin.c: (GST_START_TEST):
17073 * docs/gst/gstreamer-sections.txt:
17074 * gst/base/gstbasesink.c: (gst_base_sink_init):
17075 * gst/base/gstbasesrc.c: (gst_base_src_init),
17076 (gst_base_src_get_range), (gst_base_src_check_get_range),
17077 (gst_base_src_start), (gst_base_src_stop):
17078 * gst/base/gstbasesrc.h:
17079 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17080 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17081 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17085 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17087 * gst/gstelement.c: (gst_element_is_locked_state),
17088 (gst_element_set_locked_state), (gst_element_commit_state),
17089 (gst_element_set_state):
17090 * gst/gstelement.h:
17091 * gst/gstindex.c: (gst_index_init):
17093 * gst/gstminiobject.h:
17094 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17095 (gst_object_set_parent):
17097 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17098 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17100 * gst/gstpadtemplate.h:
17101 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17102 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17103 * gst/gstpipeline.h:
17104 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17105 (gst_file_index_commit):
17106 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17107 * testsuite/pad/link.c: (gst_test_src_init),
17108 (gst_test_filter_init), (gst_test_sink_init):
17109 * testsuite/states/locked.c: (main):
17110 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17111 moved bitshift from macro to enum definition
17113 2005-10-12 Wim Taymans <wim@fluendo.com>
17115 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17116 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17117 (gst_file_sink_render):
17118 Some more debugging info.
17120 2005-10-12 Wim Taymans <wim@fluendo.com>
17122 * docs/design/part-states.txt:
17123 * tools/gst-launch.c: (main):
17125 Revert non-intentional change.
17127 2005-10-12 Wim Taymans <wim@fluendo.com>
17129 * check/gst/gstbin.c: (GST_START_TEST):
17130 * check/gst/gstelement.c: (GST_START_TEST):
17131 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17132 * check/gst/gstghostpad.c: (GST_START_TEST):
17133 * check/gst/gstpipeline.c: (GST_START_TEST):
17134 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17135 * check/states/sinks.c: (GST_START_TEST):
17136 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17137 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17138 (gst_bin_remove_func), (gst_bin_get_state_func),
17139 (gst_bin_recalc_state), (gst_bin_change_state_func),
17141 * gst/gstelement.c: (gst_element_get_state_func),
17142 (gst_element_get_state), (gst_element_abort_state),
17143 (gst_element_commit_state), (gst_element_set_state),
17144 (gst_element_change_state), (gst_element_change_state_func):
17145 * gst/gstelement.h:
17146 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17147 (gst_pipeline_provide_clock_func):
17148 * gst/gstutils.c: (gst_element_link_pads_filtered):
17149 * tools/gst-launch.c: (main):
17150 * tools/gst-typefind.c: (main):
17151 Use GstClockTime in _get_state() instead of GTimeVal.
17152 Remove old code in gstutils.c
17154 2005-10-12 Andy Wingo <wingo@pobox.com>
17156 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17159 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17160 there is no task. Shouldn't affect any code, as nothing in our
17161 plugins checks this return value.
17162 (gst_pad_stop_task): Also take the stream lock if the pad has no
17163 task. Docs updated.
17165 2005-10-12 Wim Taymans <wim@fluendo.com>
17167 * gst/gstpad.c: (pre_activate), (post_activate),
17168 (gst_pad_activate_pull), (gst_pad_activate_push):
17169 Cleanup activation code. Reset old state if
17172 2005-10-12 Wim Taymans <wim@fluendo.com>
17174 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17175 (gst_base_sink_change_state):
17176 No need to prerol after receiving EOS.
17178 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17179 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17180 * gst/elements/gstidentity.c: (gst_identity_event):
17181 Print events more verbosely.
17183 2005-10-12 Wim Taymans <wim@fluendo.com>
17185 * check/Makefile.am:
17186 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17187 * check/states/sinks2.c:
17188 Moved sinks2 testcode in sinks check.
17190 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17191 (gst_bin_remove_func), (gst_bin_recalc_state),
17192 (gst_bin_change_state_func), (bin_bus_handler):
17193 Fix potential race condition when _get_state() iterated over an
17194 ASYNC element right before it posted a state completion.
17197 Do proper cast here.
17199 * gst/gstevent.c: (gst_event_new_newsegment),
17200 (gst_event_parse_newsegment):
17201 A playback rate of 0.0 is not allowed.
17203 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17205 * win32/common/config.h:
17206 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17207 (_trewinddir), (_ttelldir), (_tseekdir):
17208 * win32/common/dirent.h:
17209 * win32/common/gtchar.h:
17210 * win32/common/libgstbase.def:
17211 * win32/common/libgstreamer.def:
17212 * win32/vs6/grammar.dsp:
17213 * win32/vs6/gst_inspect.dsp:
17214 * win32/vs6/gst_launch.dsp:
17215 * win32/vs6/gstreamer.dsw:
17216 * win32/vs6/libgstbase.dsp:
17217 * win32/vs6/libgstelements.dsp:
17218 * win32/vs6/libgstreamer.dsp:
17219 Visual Studio 6 project files, and a new common directory.
17222 2005-10-11 Wim Taymans <wim@fluendo.com>
17224 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17225 (gst_base_sink_do_sync), (gst_base_sink_query),
17226 (gst_base_sink_change_state):
17227 * gst/base/gstbasesink.h:
17228 Correctly parse newsegment info.
17230 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17232 * gst/gst.c: (init_post):
17233 split plugin paths correctly
17235 2005-10-11 Wim Taymans <wim@fluendo.com>
17237 * check/gst/gstevent.c: (GST_START_TEST):
17238 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17239 (gst_base_sink_change_state):
17240 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17241 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17242 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17243 * gst/gstevent.c: (gst_event_new_newsegment),
17244 (gst_event_parse_newsegment):
17246 Added extra flag to newsegment for future API freeze.
17247 Updated check and base elements.
17249 2005-10-11 Julien MOUTTE <julien@moutte.net>
17251 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17252 (gst_collectpads_add_pad), (gst_collectpads_pop),
17253 (gst_collectpads_event), (gst_collectpads_chain):
17254 * gst/base/gstcollectpads.h: Handle EOS correctly.
17256 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17258 * tools/gst-launch.c: (main):
17259 more null protecting
17261 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17263 * gst/gst-i18n-lib.h:
17264 check for ENABLE_NLS, not GETTEXT_PACKAGE
17265 * gst/gstregistry.c: (gst_registry_add_plugin),
17266 (gst_registry_scan_path_level),
17267 (_gst_registry_remove_cache_plugins):
17268 protect possibly NULL strings
17269 * gst/parse/types.h:
17270 config.h already included before
17271 * tools/gst-inspect.c: (main):
17272 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17273 check for ENABLE_NLS, not GETTEXT_PACKAGE
17274 * tools/gst-launch.c: (main):
17275 check for ENABLE_NLS, not GETTEXT_PACKAGE
17277 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17280 if we don't have glib, fail before testing 2.8
17281 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17282 fix a leak, should fix plugins-base testsuite
17284 2005-10-11 Andy Wingo <wingo@pobox.com>
17286 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17287 take the mode we're going to as an arg. Go head and set the mode
17288 and flushing flags now, so that if the activate function starts a
17289 thread all the flags will be in the right state.
17290 (post_activate): Renamed also. Just handle making sure streaming
17291 finishes for the deactivation case, and setting the deactivated
17293 (gst_pad_set_active): Complain loudly if deactivation fails.
17294 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17295 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17296 remove the terrible hack.
17298 2005-10-11 Wim Taymans <wim@fluendo.com>
17300 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17301 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17302 (gst_bin_recalc_state), (gst_bin_change_state_func),
17303 (gst_bin_dispose), (bin_bus_handler):
17305 Prepare to make current EOS message queue more generic.
17308 * gst/gstevent.c: (gst_event_new_newsegment),
17309 (gst_event_parse_newsegment):
17311 Rename base to stream_time.
17313 * gst/gstmessage.h:
17316 2005-10-11 Wim Taymans <wim@fluendo.com>
17318 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17319 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17320 (gst_bin_change_state_func), (bin_bus_handler):
17322 Work on proper clock selection.
17324 2005-10-11 Edward Hervey <edward@fluendo.com>
17326 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17327 * libs/gst/controller/gstcontroller.h:
17328 Added GList* version of _remove_properties() in order to be able to wrap
17331 2005-10-11 Wim Taymans <wim@fluendo.com>
17333 * docs/design/part-states.txt:
17336 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17337 (gst_bin_change_state_func), (bin_bus_handler):
17338 Doc updates. Don't distribute the same clock over and over again.
17344 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17345 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17346 (gst_pad_send_event):
17348 Make probe emission threadsafe again.
17349 Register quarks and move _get_name() from utils.
17352 * gst/gstpipeline.c: (gst_pipeline_class_init),
17353 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17354 Only redistribute the clock of it changed.
17356 * gst/gstsystemclock.h:
17361 Moved the _flow_get_name() to GstPad.
17363 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17365 * check/gst-libs/gdp.c: (GST_START_TEST):
17366 * check/gst/gstcaps.c: (GST_START_TEST):
17367 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17368 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17369 (gst_dp_packet_from_caps):
17370 fix more valgrind warnings before turning up the heat
17372 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17374 * gst/parse/grammar.y:
17375 some cleanup before the hacking
17377 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17379 * gst/base/gstbasesrc.c: (gst_base_src_query):
17381 * gst/gstutils.c: (gst_guint64_to_gdouble),
17382 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17384 externalize, basesrc uses it
17385 obviously the implementation needs testing
17387 2005-10-10 Wim Taymans <wim@fluendo.com>
17389 * tests/sched/Makefile.am:
17390 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17391 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17393 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17395 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17396 apparently converting from guint64 to double is not implemented
17399 2005-10-10 Wim Taymans <wim@fluendo.com>
17401 * check/Makefile.am:
17402 * check/generic/states.c: (GST_START_TEST):
17403 * check/gst/gstbin.c: (GST_START_TEST):
17404 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17405 * check/states/sinks.c: (GST_START_TEST):
17406 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17408 Check fixes, use API as stated in design docs, remove hacks.
17410 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17411 (gst_base_sink_change_state):
17412 Catch stopping our task while we're shutting down.
17414 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17415 (gst_bin_remove_func), (gst_bin_get_state_func),
17416 (gst_bin_recalc_state), (gst_bin_change_state_func),
17419 * gst/gstelement.c: (gst_element_init),
17420 (gst_element_get_state_func), (gst_element_abort_state),
17421 (gst_element_commit_state), (gst_element_lost_state),
17422 (gst_element_set_state), (gst_element_change_state),
17423 (gst_element_change_state_func):
17424 * gst/gstelement.h:
17425 New state change algorithm (see #318116)
17427 * gst/gstpipeline.c: (gst_pipeline_class_init),
17428 (gst_pipeline_init), (gst_pipeline_set_property),
17429 (gst_pipeline_get_property), (do_pipeline_seek),
17430 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17431 * gst/gstpipeline.h:
17432 Remove crude state change hacks.
17435 Remove crude hacks.
17437 * tools/gst-launch.c: (main):
17438 Fixes for state change. Needs some more work to fully use the
17441 2005-10-10 Andy Wingo <wingo@pobox.com>
17443 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17445 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17446 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17449 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17451 * gst/gstiterator.c: (gst_iterator_new):
17452 Fix my previous commit: GTypes passed to gst_iterator_new()
17453 can be fundamental types.
17455 2005-10-10 Wim Taymans <wim@fluendo.com>
17457 * gst/gstelement.c: (gst_element_iterate_pad_list),
17458 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17459 (gst_element_iterate_sink_pads):
17460 Use src/sink pads lists for the respective iterators instead
17463 2005-10-10 Andy Wingo <wingo@pobox.com>
17465 Merged in popt removal + GOption addition patch from Ronald, bug
17468 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17469 GstElement macros around, remove popt-related symbols, add goption
17472 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17474 * docs/gst/Makefile.am:
17475 * docs/libs/Makefile.am: No POPT_CFLAGS.
17477 * examples/manual/Makefile.am:
17478 * docs/manual/basics-init.xml: Doc updates with an example.
17480 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17481 (gst_init), (parse_one_option), (parse_goption_arg):
17482 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17483 bit of hand merging and debugging to get the GOption stuff working
17486 * tests/Makefile.am:
17487 * tools/Makefile.am:
17488 * tools/gst-inspect.c: (main):
17489 * tools/gst-launch.c: (main):
17490 * tools/gst-run.c: (main):
17491 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17493 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17495 * gst/gstiterator.c: (gst_iterator_new):
17496 Add assertions to make sure passed GType is likely to really
17497 be a GType (as the compiler won't catch it if the size and
17498 GType arguments get mixed up, see #318447).
17500 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17502 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17504 * gst/gstbin.c: (gst_bin_iterate_sorted):
17505 Pass GType and size arguments to gst_iterator_new() in the right
17506 order (maybe we should make _new() take the GType as first argument
17507 just like _new_list()?) (#318447).
17510 2005-10-10 Wim Taymans <wim@fluendo.com>
17512 * gst/gstelement.c: (gst_element_finalize):
17513 And free the GStaticRecMutex too
17515 2005-10-10 Andy Wingo <wingo@pobox.com>
17517 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17518 Allocate and free the mutex properly.
17520 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17522 (GstElement): The state_lock is now recursive. Rebuild your
17523 plugins, suckers. Old macros adapted.
17525 * docs/gst/gstreamer-sections.txt: Doc updates.
17528 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17529 (g_static_rec_cond_wait): Ported from state changes patch, while
17530 we wait on bug #317802 to be solved in a well-distributed GLib.
17532 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17533 gst_element_change_state, variable name changes.
17534 (gst_element_change_state): Split out of gst_element_set_state in
17535 preparation for the state change merge. Doesn't pay attention to
17536 the 'transition' argument.
17537 (gst_element_set_state): Updates, hopefully purely cosmetic.
17538 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17539 state change patch.
17540 (gst_element_get_state_func): Renamed from get_state, cosmetic
17543 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17545 * gst/elements/gstelements.c:
17546 * win32/GStreamer.vcproj:
17548 * win32/dirent.c: (_tseekdir):
17549 * win32/gst-inspect.vcproj:
17550 * win32/gst-launch.vcproj:
17551 * win32/gstconfig.h:
17552 * win32/gstelements.vcproj:
17553 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17554 * win32/gstreamer.def:
17555 * win32/msvc71.sln:
17556 updates for the win32 build (patch from Sebastien Moutte)
17558 2005-10-10 Andy Wingo <wingo@pobox.com>
17560 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17561 gst_bin_get_state, cleaned up (but no logic changes).
17562 (bin_element_is_sink): Comment updates.
17563 (sink_iterator_filter): Remove needless cast.
17564 (gst_bin_iterate_sinks): Doc update.
17565 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17566 cleaned up (but no logic changes).
17568 * check/states/sinks.c (test_src_sink): Cleanups from the state
17570 (test_livesrc_sink): Sync on the state.
17572 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17573 the state change patch.
17575 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17578 * check/gst/gstbin.c: Merge in some style fixes and additional
17579 checks from Wim's state change patch.
17581 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17583 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17584 (gst_type_find_helper):
17585 Check whether we have the requested data already in our list of
17586 cached buffers before pulling a new buffer; also make the buffer
17587 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17589 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17594 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17595 don't use long long, it's not portable. Replacing with
17596 gint64 seems to work; let's hope no skeletons fall out of the closet.
17598 2005-10-10 Andy Wingo <wingo@pobox.com>
17600 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17602 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17604 * docs/gst/gstreamer-sections.txt:
17609 * gst/gstmessage.c: (gst_message_parse_state_changed):
17612 more docs, fix compilation
17614 2005-10-09 Philippe Khalaf <burger@speedy.org>
17615 * gst/gstmessage.c:
17616 Fixed a few forgotten variables on previous commit
17618 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17620 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17621 Fix evil typefind crasher: getrange() might return a short
17622 buffer at the end of a file, but gst_type_find_peek() must
17623 either return the full data as requested or NULL, but
17624 never a short buffer.
17626 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17628 * gst/gstmessage.c: (gst_message_new_state_changed),
17629 (gst_message_parse_state_changed):
17630 * gst/gstmessage.h:
17631 don't use "new", it's a C++ keyword
17633 2005-10-08 Wim Taymans <wim@fluendo.com>
17635 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17636 * gst/gstelement.c: (gst_element_post_message):
17637 * gst/gstpipeline.c: (gst_pipeline_change_state):
17638 Small docs and debug updates.
17640 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17642 * docs/gst/gstreamer-sections.txt:
17643 * gst/gstelementfactory.c:
17645 * gst/gsttaglist.c:
17648 2005-10-08 Wim Taymans <wim@fluendo.com>
17650 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17651 (gst_bin_dispose), (bin_bus_handler):
17652 Fix typos, add comments.
17653 Clear EOS list when going to PAUSED from any direction and do it
17654 in a threadsafe way.
17655 Get base time in a threadsafe way too.
17656 Fix confusing debug in the change_state function.
17657 Various other small cleanups.
17659 * gst/gstelement.c: (gst_element_post_message):
17660 Fix very verbose bus posting code.
17662 * gst/gstpipeline.c: (gst_pipeline_class_init),
17663 (gst_pipeline_set_property), (gst_pipeline_get_property),
17664 (gst_pipeline_change_state):
17665 Small ARG_ -> PROP_ cleanup
17667 2005-10-08 Wim Taymans <wim@fluendo.com>
17669 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17670 Do a less CPU demanding EOS check because we can.
17672 2005-10-08 Wim Taymans <wim@fluendo.com>
17674 * libs/gst/dataprotocol/dataprotocol.c:
17675 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17676 (gst_dp_packet_from_event):
17677 * libs/gst/dataprotocol/dataprotocol.h:
17678 * libs/gst/dataprotocol/dp-private.h:
17679 It's about time we bump the version number.
17680 Since event types don't fit in the guint8 anymore describing
17681 the payload type, make payload type 16 bits wide.
17683 2005-10-08 Wim Taymans <wim@fluendo.com>
17685 * docs/design/part-TODO.txt:
17686 * docs/design/part-clocks.txt:
17687 * docs/design/part-events.txt:
17688 * docs/design/part-gstbin.txt:
17689 * docs/design/part-gstelement.txt:
17690 * docs/design/part-gstpipeline.txt:
17691 * docs/design/part-live-source.txt:
17692 * docs/design/part-messages.txt:
17693 * docs/design/part-overview.txt:
17694 * docs/design/part-states.txt:
17697 2005-10-08 Wim Taymans <wim@fluendo.com>
17701 Fix event quark registration.
17702 Add some space between events so we can insert them in the
17705 2005-10-08 Wim Taymans <wim@fluendo.com>
17707 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17708 (gst_base_sink_handle_buffer):
17709 Better log message.
17712 * gst/gstelement.h:
17715 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17716 (gst_queue_set_property), (gst_queue_get_property):
17718 Remove old unused properties.
17720 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17721 * docs/gst/gstreamer-sections.txt:
17722 * gst/gstmessage.c:
17723 * gst/gstmessage.h:
17724 * gst/gstminiobject.c:
17725 * gst/gstminiobject.h:
17729 lots of new docs and doc fixes
17731 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17733 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17735 * gst/gstregistry.c: (gst_registry_lookup_locked),
17736 (gst_registry_scan_path_level):
17737 * gst/gstregistryxml.c: (load_plugin):
17738 Only ever load one plugin for a given plugin basename.
17739 This ensures correct overriding of GST_PLUGIN_PATH over
17740 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17741 system installed plugins.
17743 2005-10-08 Wim Taymans <wim@fluendo.com>
17745 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17746 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17747 Prepare for doing QOS.
17749 2005-10-08 Wim Taymans <wim@fluendo.com>
17751 * check/gst/gstbin.c: (GST_START_TEST):
17752 * check/pipelines/cleanup.c: (GST_START_TEST):
17753 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17754 Allow new clock message too.
17756 2005-10-08 Wim Taymans <wim@fluendo.com>
17758 * gst/gstmessage.c: (gst_message_new_error),
17759 (gst_message_new_warning), (gst_message_new_tag),
17760 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17761 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17762 (gst_message_new_segment_start), (gst_message_new_segment_done),
17763 (gst_message_parse_state_changed),
17764 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17765 (gst_message_parse_new_clock):
17766 * gst/gstmessage.h:
17767 Also carry the clock in question.
17769 2005-10-08 Wim Taymans <wim@fluendo.com>
17771 * gst/gstmessage.c: (gst_message_new_custom),
17772 (gst_message_new_eos), (gst_message_new_error),
17773 (gst_message_new_warning), (gst_message_new_tag),
17774 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17775 (gst_message_new_new_clock), (gst_message_new_segment_start),
17776 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17777 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17778 * gst/gstmessage.h:
17780 Added clock related messages.
17782 * gst/gstpipeline.c: (gst_pipeline_change_state):
17783 Post message when the clock changed.
17785 * tools/gst-launch.c: (event_loop):
17788 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17790 * tools/gst-inspect.c: (print_element_properties_info):
17791 Can't pass NULL strings to g_print() on windows.
17793 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17795 * docs/Makefile.am:
17796 * docs/gst/Makefile.am:
17797 * docs/gst/gstreamer-docs.sgml:
17798 * docs/gst/running.xml:
17799 * docs/version.entities.in:
17800 add a chapter on running GStreamer.
17801 document GST_DEBUG and GST_PLUGIN* env vars
17803 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17808 remove PLUGINS_BUILDDIR stuff
17809 * gst/gst.c: (init_post):
17810 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17812 remove, it was condescending and not needed
17814 2005-10-08 Wim Taymans <wim@fluendo.com>
17816 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17817 (gst_base_sink_handle_object), (gst_base_sink_event),
17818 (gst_base_sink_wait), (gst_base_sink_handle_event),
17819 (gst_base_sink_change_state):
17820 * gst/base/gstbasesink.h:
17821 Repost EOS message while going to PLAYING if still EOS.
17822 Make sure that when receiving a FLUSH_START we don't attempt
17823 to sync on the clock anymore.
17825 2005-10-08 Wim Taymans <wim@fluendo.com>
17827 * tools/gst-launch.c: (event_loop):
17828 Better message printout.
17830 2005-10-08 Wim Taymans <wim@fluendo.com>
17832 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17833 (gst_bin_child_proxy_get_children_count):
17834 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17835 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17836 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17837 (gst_child_proxy_set_valist):
17838 * gst/parse/grammar.y:
17839 Make ChildProxy threadsafe and fix mem leaks.
17841 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17843 * gst/gst.c: (init_post):
17844 debug the GST_PLUGIN_ env vars
17846 2005-10-08 Wim Taymans <wim@fluendo.com>
17848 * check/gst/gstbin.c: (GST_START_TEST):
17849 * check/gst/gstmessage.c: (GST_START_TEST):
17850 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17851 * gst/gstelement.c: (gst_element_commit_state),
17852 (gst_element_lost_state):
17853 * gst/gstmessage.c: (gst_message_new_state_changed),
17854 (gst_message_parse_state_changed):
17855 * gst/gstmessage.h:
17856 * tools/gst-launch.c: (event_loop):
17857 Added extra field to STATE_CHANGE message with the pending
17858 state, which will be different from the new state soon.
17860 2005-10-08 Wim Taymans <wim@fluendo.com>
17862 * gst/gstbus.c: (gst_bus_pop):
17864 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17865 Small cleanups and doc updates.
17867 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17869 * gst/gst.c: (init_pre):
17870 * gst/gstbin.c: (gst_bin_add_func):
17871 log distributing clocks and base time
17872 * gst/gstregistry.c: (gst_registry_add_plugin),
17873 (gst_registry_scan_path_level), (gst_registry_scan_path):
17874 clean up the debugging output a little
17875 * gst/gstutils.c: (gst_element_state_get_name):
17876 warn about a memleak (I've actually seen this be used, though
17877 it was probably a bug)
17879 2005-10-07 Wim Taymans <wim@fluendo.com>
17881 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17882 (gst_base_src_init), (gst_base_src_default_newsegment),
17883 (gst_base_src_newsegment), (gst_base_src_do_seek),
17884 (gst_base_src_loop), (gst_base_src_start):
17885 * gst/base/gstbasesrc.h:
17886 Make the newsegment event customizable by subclasses.
17888 2005-10-07 Wim Taymans <wim@fluendo.com>
17890 * gst/gstevent.c: (gst_event_new_buffersize),
17891 (gst_event_parse_buffersize):
17893 New event for future idea.
17895 2005-10-07 Andy Wingo <wingo@pobox.com>
17897 * gst/gstelement.c (gst_element_post_message): Doc update.
17899 * docs/gst/gstreamer-sections.txt: Update.
17901 * gst/gstmessage.c (gst_message_new_application): Made into a
17902 function like honest API calls.
17903 (gst_message_new_element): New message type.
17905 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17907 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17908 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17911 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17912 NO_PREROLL from gst_element_change_state to fall through.
17914 2005-10-07 Wim Taymans <wim@fluendo.com>
17916 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17917 (gst_ghost_pad_do_activate_push):
17918 Activating a ghostpad with no internal pad in push mode
17921 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17924 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17925 Fixes compilation on Windows.
17927 2005-10-07 Michael Smith <msmith@fluendo.com>
17929 * tools/gst-inspect.c:
17930 Print out feature and plugin count at the end when printing out
17933 2005-10-04 Michael Smith <msmith@fluendo.com>
17935 * gst/gsterror.c: (_gst_stream_errors_init):
17936 Add another error string used in a few existing plugins.
17939 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17940 * tools/gst-inspect.c: (print_element_info):
17941 When a feature disappears from a plugin (and the feature exists in
17942 the cached registry file), things went horribly wrong. This isn't a
17943 complete fix, we should actually be removing the 'missing' features
17944 from the features list when we load the actual plugin. That's not
17947 2005-10-04 Johan Dahlin <johan@gnome.org>
17949 * check/gst/gstiterator.c: (GST_START_TEST):
17950 * gst/gstbin.c: (gst_bin_iterate_elements),
17951 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17952 * gst/gstelement.c: (gst_element_iterate_pads):
17953 * gst/gstformat.c: (gst_format_iterate_definitions):
17954 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17955 (gst_iterator_new_list), (gst_iterator_filter):
17956 * gst/gstiterator.h:
17957 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17958 Add a GType to GstIterator, update callsites and tests.
17960 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17962 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17963 give events a chance to be handled by event probes when the pad
17966 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17968 * gst/gstevent.c: (gst_event_type_get_name),
17969 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17971 add string representations for event types
17973 2005-10-06 Wim Taymans <wim@fluendo.com>
17975 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17976 Don't use NULL pointers.
17978 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17980 * gst/gst_private.h:
17982 * gst/gstelement.c:
17984 * gst/gstpluginfeature.c:
17985 widen the debug category in output to fit the biggest one we have
17986 add a bus category and use it
17987 play with the colors
17988 fix up some categories
17990 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17992 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17993 add push activation of sink ghost pads.
17994 Andye, please verify
17996 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
17998 * gst/gstutils.c: (gst_element_link_pads):
17999 fix a bug in the case where neither element has a pad
18000 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18001 add a test for that case
18003 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18005 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18006 emit have-data before checking for peers. This allows
18007 for probe handlers to connect elements. This helps autopluggers.
18008 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18010 add six checks, linked/unlinked with no/true/false probe
18012 2005-10-04 Wim Taymans <wim@fluendo.com>
18014 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18015 (gst_fake_sink_event), (gst_fake_sink_preroll),
18016 (gst_fake_sink_render), (gst_fake_sink_change_state):
18017 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18018 (gst_fake_src_get_property), (gst_fake_src_create),
18019 (gst_fake_src_stop):
18020 * gst/elements/gstidentity.c: (gst_identity_stop):
18021 Protect last_message with lock.
18023 2005-10-04 Edward Hervey <edward@fluendo.com>
18026 Added precision in the comments for GST_FORMAT_DEFAULT
18028 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18030 * tools/gst-launch.c: (main):
18031 Don't try to run erroneous pipelines.
18033 2005-10-04 Julien MOUTTE <julien@moutte.net>
18035 * gst/gstbus.c: We don't need this header.
18037 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18040 back to development
18042 === release 0.9.3 ===
18044 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18048 Releasing 0.9.3, "Unregistered"
18050 2005-10-03 Andy Wingo <wingo@pobox.com>
18052 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18053 whereby calling a pad's activatepush() function can start a thread
18054 that starts to push or pull before the pad gets the FLUSHING flag
18055 unset. Hack around it by holding the stream lock until the flag is
18056 set. Need to replace this with a proper solution. Together with
18057 the ghost pad fixes, this fixes mp3 playing/tagreading.
18059 * docs/design/part-gstghostpad.txt: Add a note about activation of
18060 proxy pads outside of ghost pads.
18062 * gst/gstghostpad.c: Implement the ghost pad activation design.
18064 2005-10-02 Andy Wingo <wingo@pobox.com>
18066 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18067 It is volatile, after all.
18069 * docs/design/part-gstghostpad.txt: Flesh out activation with
18072 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18075 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18078 Fix (unused) AM_CONDITIONAL tests.
18080 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18082 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18084 * gst/gstutils.c: (gst_pad_query_convert):
18085 Add assertion that makes sure src_val is >=0, just like
18086 gst_query_new_convert() has. (#315895)
18088 2005-09-30 Edward Hervey <edward@fluendo.com>
18090 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18091 Let's not iterate pads we're not interested in, it avoids getting
18092 sky-high refcounts on sinkpad.
18094 2005-09-30 Wim Taymans <wim@fluendo.com>
18096 * gst/gstelement.c: (gst_element_set_state),
18097 (gst_element_change_state):
18098 Small tweak, element in ASYNC remains ASYNC.
18100 2005-09-30 Wim Taymans <wim@fluendo.com>
18102 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18103 Only error is an error.
18105 * gst/gstbin.c: (gst_bin_change_state):
18108 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18109 Also call pad_block in pad alloc.
18111 * gst/gstutils.c: (gst_flow_get_name):
18114 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18116 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18117 (gst_base_src_get_range):
18118 Fix documentation typos. Add some more debug info.
18120 2005-09-29 David Schleef <ds@schleef.org>
18122 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18123 more end-user friendly.
18124 * tools/gst-inspect.c: (main): Check if command-line argument is
18125 a file and attempt to load that file as a plugin.
18127 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18129 * check/gst/gstbin.c:
18130 * check/states/sinks.c:
18131 fix tests for the new warning
18132 * check/gst/gstpipeline.c:
18133 add a test for pipeline and bus interaction
18134 * gst/gstelement.c:
18135 elements should be NULL if they get disposed; add a warning if not
18137 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18140 for 2.6 refcounting, make debug log more correct by printing
18141 the actual refcounts at the time of swap (Wim)
18143 2005-09-29 Andy Wingo <wingo@pobox.com>
18145 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18146 removes signal watches previously added via
18147 gst_bus_add_signal_watch.
18148 (gst_bus_add_signal_watch): Don't return the source id, just store
18149 it on the bus if there wasn't an id already.
18151 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18152 add_signal_watch and remove_signal_watch.
18154 2005-09-29 Edward Hervey <edward@fluendo.com>
18156 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18157 Better if we actually iterate the list :)
18159 2005-09-29 Wim Taymans <wim@fluendo.com>
18161 * check/gst/gstbin.c: (GST_START_TEST):
18162 Change for new bus API.
18164 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18165 (send_messages), (GST_START_TEST), (gstbus_suite):
18166 Change for new bus signal API.
18168 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18169 (gst_bus_source_prepare), (gst_bus_source_check),
18170 (gst_bus_create_watch), (gst_bus_add_watch_full),
18171 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18172 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18174 Remove support for multiple GSources operating on different
18175 message types as it is too complex and unneeded when using
18177 Added support for receiving signals from the bus.
18179 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18181 * docs/libs/tmpl/gstdataprotocol.sgml:
18182 * docs/manual/advanced-dataaccess.xml:
18183 * gst/elements/gstcapsfilter.c:
18185 rename filter-caps to caps property
18187 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18189 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18190 More robust fraction string parsing.
18192 * docs/pwg/appendix-porting.xml:
18193 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18195 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18197 * gst/gstcaps.c: (gst_caps_do_simplify):
18198 Thou shalt not free a structure and then continue using it
18199 in the next loop iteration.
18201 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18203 Add test case for caps simplification.
18205 2005-09-29 Wim Taymans <wim@fluendo.com>
18207 * check/gst/gstbin.c: (GST_START_TEST):
18210 2005-09-29 Wim Taymans <wim@fluendo.com>
18212 * check/gst/gstbin.c: (GST_START_TEST):
18215 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18216 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18217 (find_element), (gst_bin_sort_iterator_next),
18218 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18219 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18220 (gst_bin_change_state), (gst_bin_dispose):
18221 A bin does not have a bus, it gets the bus from the parent.
18223 * gst/gstelement.c: (gst_element_requires_clock),
18224 (gst_element_provides_clock), (gst_element_is_indexable),
18225 (gst_element_is_locked_state), (gst_element_change_state),
18226 (gst_element_set_bus_func):
18229 * gst/gstpipeline.c: (gst_pipeline_class_init),
18230 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18231 The pipeline provides a bus.
18233 2005-09-28 Johan Dahlin <johan@gnome.org>
18235 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18236 gst_structure_get_enum instead of gst_structure_get_int
18238 * gst/gststructure.c (gst_structure_get_enum): Impl.
18240 * gst/gststructure.h (gst_structure_get_enum): Add
18242 * docs/gst/gstreamer-sections.txt: Ditto
18244 * gst/gstmessage.c (gst_message_new_state_changed): Use
18245 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18246 which does introspection.
18247 Reviewed by Christian Schaller
18249 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18251 * gst/gstinfo.c: (gst_debug_log_default):
18252 don't do dummy g_strdup()s
18253 * libs/gst/controller/gstcontroller.c:
18254 (on_object_controlled_property_changed),
18255 (gst_controlled_property_new), (gst_controller_new_valist),
18256 (gst_controller_new_list),
18257 (gst_controller_remove_properties_valist), (gst_controller_set),
18258 (gst_controller_get), (gst_controller_sync_values),
18259 (gst_controller_get_value_array), (_gst_controller_class_init),
18260 (gst_controller_get_type):
18261 * libs/gst/controller/gstcontroller.h:
18262 * libs/gst/controller/gstinterpolation.c:
18263 (gst_controlled_property_find_timed_value_node):
18264 convert // to /**/ comments
18266 2005-09-28 Wim Taymans <wim@fluendo.com>
18268 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18269 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18270 (gst_bus_sync_signal_handler):
18272 Added async-message and sync-message signals to the bus.
18273 Added helper BusFunc to emit signals for all posted messages.
18275 * gst/gstmessage.c: (gst_message_type_get_name),
18276 (gst_message_type_to_quark), (gst_message_get_type):
18277 * gst/gstmessage.h:
18278 Register quarks for message names.
18280 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18282 * docs/libs/gstreamer-libs-sections.txt:
18283 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18284 (gst_controller_new_list):
18285 * libs/gst/controller/gstcontroller.h:
18286 added another constructor for language bindings
18288 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18290 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18294 * gst/gstinfo.c: (_gst_debug_init):
18295 slightly more readable color for refcount debugging
18297 2005-09-28 Wim Taymans <wim@fluendo.com>
18299 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18300 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18301 (find_element), (gst_bin_sort_iterator_next),
18302 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18303 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18304 (gst_bin_change_state), (gst_bin_dispose):
18305 Small doc fixes. get_clock -> provide_clock.
18307 * gst/gstelement.c: (gst_element_class_init),
18308 (gst_element_provides_clock), (gst_element_provide_clock),
18309 (gst_element_get_clock), (gst_element_commit_state),
18310 (gst_element_lost_state):
18311 * gst/gstelement.h:
18312 Make get/set_clock() symetric. Add provide_clock vmethod since
18313 that is actually what this function does.
18315 * gst/gstpipeline.c: (gst_pipeline_class_init),
18316 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18317 (gst_pipeline_get_clock):
18318 get_clock -> provide_clock.
18320 2005-09-28 Andy Wingo <wingo@pobox.com>
18322 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18323 lieu of real docs...
18325 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18327 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18329 * gst/elements/gstcapsfilter.c:
18330 * gst/elements/gstfakesink.c:
18331 * gst/elements/gstfakesrc.c:
18332 * gst/elements/gstfdsink.c:
18333 * gst/elements/gstfdsrc.c:
18334 * gst/elements/gstfilesink.c:
18335 * gst/elements/gstfilesrc.c:
18336 * gst/elements/gstidentity.c:
18337 * gst/elements/gsttee.c:
18338 * gst/elements/gsttypefindelement.c:
18339 Make element details static.
18341 2005-09-28 Wim Taymans <wim@fluendo.com>
18343 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18344 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18345 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18346 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18347 (gst_bin_change_state), (gst_bin_dispose):
18348 Some documentation updates.
18349 Clean up dispose handlers.
18351 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18352 * gst/gstpad.c: (gst_pad_dispose):
18353 Clean up dispose handler.
18355 * gst/gstpipeline.c: (gst_pipeline_change_state):
18356 Removed spurious UNLOCK.
18358 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18360 * docs/gst/gstreamer-sections.txt:
18361 * gst/base/gstbasesrc.h:
18362 * gst/gstelement.h:
18366 * gst/gstpipeline.c:
18367 * gst/gstpipeline.h:
18370 added two new functions to the docs
18371 documents all undocumented GstXXXFlags
18372 completed some incomplete docs
18374 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18376 * gst/gstbin.c: (gst_bin_dispose):
18377 * gst/gstelement.c: (gst_element_dispose):
18378 remove now useless and leaky resurrection code in dispose
18379 * gst/base/gstbasesrc.c: (gst_base_src_init):
18380 * gst/gstelementfactory.c: (gst_element_factory_create):
18381 * gst/gstobject.c: (gst_object_set_parent):
18384 2005-09-27 Wim Taymans <wim@fluendo.com>
18386 * docs/design/part-TODO.txt:
18389 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18390 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18391 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18392 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18393 (gst_bin_change_state):
18394 * gst/gstelement.h:
18395 Remove element variable, we keep element info in the iterator now.
18397 2005-09-27 Andy Wingo <wingo@pobox.com>
18399 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18402 2005-09-27 Wim Taymans <wim@fluendo.com>
18404 * check/gst/gstbin.c: (GST_START_TEST):
18405 Enable check that works now.
18407 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18408 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18409 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18410 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18411 (gst_bin_change_state):
18413 Redid the state change algorithm using a topological sort algo.
18414 Handles all cases correctly.
18415 Exposed iterator for state change order.
18417 * gst/gstelement.h:
18418 Temp storage for state changes. Need to get rid of this soon.
18420 2005-09-27 Wim Taymans <wim@fluendo.com>
18422 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18423 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18424 (link_fold_func), (gst_pad_proxy_setcaps):
18425 Leak fixes, the fold functions need to unref the passed object and
18426 _get_parent_*() returns ref to parent.
18428 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18430 * check/gst/gstbuffer.c: (test_make_writable):
18431 Plug leak in test case and fix 'make check-valgrind'
18433 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18435 * gst/gstbuffer.c: (gst_subbuffer_init):
18436 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18437 works correctly in all circumstances (we could have just copied
18438 the parent buffer's readonly flag, but conceptually it seems
18439 cleaner to mark all subbuffers as read-only). (based on patch
18440 by Alessandro Decina, #314710).
18442 * check/gst/gstbuffer.c: (create_read_only_buffer),
18443 (test_make_writable), (test_subbuffer_make_writable),
18445 Add some tests for gst_buffer_make_writable().
18447 2005-09-27 Wim Taymans <wim@fluendo.com>
18449 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18450 use gst_object_has_ancestor().
18452 * gst/gstobject.c: (gst_object_has_ancestor):
18454 gst_object_has_ancestor() copied from gstbin.c as it is a
18457 * tests/instantiate/create.c: (create_all_elements):
18458 * tests/lat.c: (handoff_src), (handoff_sink):
18459 * tests/sched/runxml.c: (main):
18460 * tests/seeking/seeking1.c: (main):
18461 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18463 Fix compilation of some tests.
18465 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18468 Remove comment. GST_TYPE_G_ERROR is here to stay,
18469 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18470 (#316961, #300610).
18472 2005-09-26 Wim Taymans <wim@fluendo.com>
18474 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18475 Added check that shows error in state change order.
18477 2005-09-26 Wim Taymans <wim@fluendo.com>
18479 * gst/gstbin.c: (gst_bin_change_state):
18480 Make state change function use 3 queues again, we were
18481 adding elements in the wrong order.
18483 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18486 * gst/gstpad.c: (gst_pad_dispose):
18487 Added some debug info first.
18489 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18491 * docs/design/draft-push-pull.txt:
18492 * docs/design/part-events.txt:
18493 * docs/design/part-overview.txt:
18494 * docs/design/part-scheduling.txt:
18495 Replace all _pull_region() with _pull_range()
18497 2005-09-26 Andy Wingo <wingo@pobox.com>
18499 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18501 * check/gst-libs/controller.c: Update for controller api change.
18504 * tests/Makefile.am:
18505 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18506 over by GLib bug 118439.
18508 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18509 routines to a function.
18511 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18513 * libs/gst/controller/gsthelper.c:
18514 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18515 (gst_object_sync_values): Renamed from sink_values. Ugh.
18517 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18519 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18520 Renamed from controller_key, as it is exported.
18522 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18524 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18529 * gst/gstpadtemplate.h:
18532 * gst/gstqueryutils.c:
18533 * gst/gstqueryutils.h:
18534 remove queryutils headers after moving the two used functions
18535 to gstquery. also fixes build problem for gstsiddec
18537 2005-09-26 Michael Smith <msmith@fluendo.com>
18539 * tools/gst-launch.1.in:
18540 Correct documentation in manpage of debug syntax
18542 2005-09-26 Wim Taymans <wim@fluendo.com>
18544 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18545 (gst_base_src_is_seekable), (gst_base_src_change_state):
18546 Some more debugging info.
18548 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18550 * docs/gst/gstreamer-sections.txt:
18551 * gst/base/gstbasetransform.h:
18555 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18557 * docs/gst/.cvsignore:
18558 * docs/gst/tmpl/.cvsignore:
18559 * docs/gst/tmpl/gstpipeline.sgml:
18560 * docs/gst/tmpl/gstplugin.sgml:
18561 * gst/gstpipeline.c:
18564 inlined the last two docs files
18565 removed the tmpl directory from cvs (no more conflicts here!)
18567 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18569 * docs/gst/gstreamer-sections.txt:
18570 * docs/gst/tmpl/.cvsignore:
18571 * docs/gst/tmpl/gstpad.sgml:
18572 * docs/gst/tmpl/gstpadtemplate.sgml:
18574 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18575 (gst_pad_finalize), (gst_pad_set_pad_template):
18577 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18578 (gst_pad_template_class_init), (gst_pad_template_init),
18579 (gst_pad_template_dispose), (name_is_valid),
18580 (gst_static_pad_template_get), (gst_pad_template_new),
18581 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18582 (gst_pad_template_pad_created):
18583 * gst/gstpadtemplate.h:
18584 inlined two more docs
18585 factored gstpadtemplate out of gstpad
18587 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18589 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18590 (test_children_state_change_order_semi_sink):
18591 Fix test case: we can't rely on a fixed state change order when
18592 going from READY => PAUSED because the sink might commit its
18593 new state first when the first buffer created by the source
18594 reaches the sink before the source has finished its change state.
18595 (Test case still fails at times, see #316856, comment 5 onwards)
18597 2005-09-24 Wim Taymans <wim@fluendo.com>
18599 * docs/design/part-events.txt:
18600 * docs/design/part-gstbus.txt:
18601 * docs/design/part-gstpipeline.txt:
18602 * docs/design/part-messages.txt:
18603 * docs/design/part-overview.txt:
18604 * docs/design/part-segments.txt:
18608 * gst/gstelement.c:
18611 * gst/gstiterator.c:
18612 Various documentation updates.
18614 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18617 Well, that's embarassing. Luckily we weren't using
18618 GST_CLOCK_DIFF anywhere.
18620 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18622 * common/gtk-doc.mak:
18623 don't fail on building XML, FC4 slave shows a bunch of doc
18624 missing bits that I don't get
18626 * gst/gstpipeline.c:
18627 * gst/gststructure.c:
18630 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18632 * docs/design/part-gstbin.txt:
18633 * docs/design/part-gstbus.txt:
18635 Add blurb about how the bus goes into flushing mode and
18636 drops all messages when its bin goes from READY into NULL
18639 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18641 * docs/gst/gstreamer-sections.txt:
18642 * gst/gststructure.c: (gst_structure_get_clock_time):
18643 * gst/gststructure.h:
18644 add a method to get a GstClockTime out of a structure
18646 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18648 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18649 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18650 Added test to check state change order in bins (can still be made
18651 to fail here under heavy disk load; bails out with 'Push on pad
18652 fakesink:sink0, but it was not activated in push mode').
18654 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18655 Fix state change order when there is only a semi sink (#316856)
18657 * gst/gstbus.c: (gst_bus_class_init):
18658 Use _class_peek_parent(), not _class_ref(); fix docs to say
18659 'default main context' instead of 'mainloop' where that is
18662 * gst/gstelement.c: (gst_element_commit_state),
18663 (gst_element_set_state):
18664 Fix typos in debug messages
18666 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18669 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18670 * gst/gstpluginfeature.c:
18672 various doc updates
18673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18674 change an assert into an error until it gets fixed properly
18676 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18678 * docs/gst/gstreamer-sections.txt:
18679 * docs/gst/tmpl/.cvsignore:
18680 * docs/gst/tmpl/gstelement.sgml:
18681 * docs/gst/tmpl/gstinfo.sgml:
18682 * docs/gst/tmpl/gstobject.sgml:
18683 * gst/gstelement.c:
18684 * gst/gstelement.h:
18687 * gst/gstobject.c: (gst_object_class_init):
18689 inlined 3 more biiiig doc files and added some missing docs on the fly
18691 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18693 * check/gst/.cvsignore:
18694 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18695 * gst/gstregistryxml.c: (load_plugin),
18696 (gst_registry_xml_save_plugin):
18697 put back source in registry. add checks for find_plugin.
18698 * testsuite/states/bin.c: (assert_state), (empty_bin),
18699 (test_adding_one_element), (main):
18700 * testsuite/states/locked.c: (main):
18701 some compile/run fixes
18703 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18705 * check/gst/gstvalue.c: (GST_START_TEST):
18706 fix leaks in the test itself
18708 2005-09-22 Wim Taymans <wim@fluendo.com>
18710 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18711 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18712 (gst_base_sink_query):
18713 Prepare for more accurate position reporting and query
18716 * gst/gstelement.c: (gst_element_send_event),
18717 (gst_element_set_state):
18720 2005-09-22 Wim Taymans <wim@fluendo.com>
18722 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18723 (gst_query_parse_segment):
18725 More documentation.
18726 Add segment query for future use.
18728 2005-09-22 Wim Taymans <wim@fluendo.com>
18730 * gst/gstbin.c: (gst_bin_add_func):
18731 Some more debug info.
18733 * gst/gstelement.c: (gst_element_send_event):
18734 Simplify send_event
18736 * gst/gstelement.h:
18737 Don't know how flags got broken.
18742 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18744 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18745 Add simplistic test suite for GST_TYPE_DATE serialisation and
18748 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18750 * docs/gst/gstreamer-sections.txt:
18751 * gst/gststructure.c: (gst_structure_set_valist),
18752 (gst_structure_get_date):
18753 * gst/gststructure.h:
18754 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18755 (gst_date_copy), (gst_value_compare_date),
18756 (gst_value_serialize_date), (gst_value_deserialize_date),
18757 (gst_value_transform_date_string),
18758 (gst_value_transform_string_date), (_gst_value_initialize):
18760 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18761 bunch of utility functions along with a hack that checks that
18762 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18763 is required. Part of the grand scheme in #170777.
18765 2005-09-22 Andy Wingo <wingo@pobox.com>
18767 * gst/gstconfig.h.in: Psych out gtk-doc.
18769 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18771 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18773 * tools/gst-inspect.c (print_element_list): Plug some
18774 inconsequential leaks.
18776 * gst/gstregistry.c (gst_registry_get_default): Doc.
18778 * check/gst/gstplugin.c:
18779 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18780 * gst/gstelementfactory.c (gst_element_factory_create):
18781 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18784 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18785 (gst_plugin_feature_load): Doc, don't eat refs.
18787 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18788 (gst_plugin_list_free): Doc.
18789 (gst_plugin_load_file): Doc updates.
18791 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18792 accessors returning refcounted objects, return a ref.
18794 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18795 accessor for caps. IDEMPOTENCE. Oh yes.
18797 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18799 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18801 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18802 (_gst_debug_register_funcptr):
18803 Add mutex to serialise access to the hash table with
18804 the function pointer => function name string mapping;
18805 make that hash table static scope (#316809).
18807 * gst/registries/.cvsignore:
18808 Remove left-over file.
18810 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18812 * docs/pwg/appendix-porting.xml:
18813 And something about newsegment events and caps-on-buffers to
18814 the porting guide (feel free to improve).
18816 2005-09-21 Andy Wingo <wingo@pobox.com>
18818 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18819 data and event probes on the same pad.
18820 (test_buffer_probe_once): Test that removing probes from within
18821 the probe functions works.
18823 2005-09-21 Andy Wingo <wingo@pobox.com>
18825 * check/gst/gstutils.c: New file.
18826 (test_buffer_probe_n_times): A simple buffer probe test. More to
18829 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18830 have-data::buffer, not have-data.
18831 (gst_pad_add_event_probe): Likewise for have-data::event.
18832 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18833 peer' isn't quite right yet though.
18834 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18835 (gst_pad_remove_data_probe): Change to take the guint handler_id
18836 as their arg, not the function+data, which is more glib-like.
18838 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18839 the signal emission to indicate if the data is a buffer or an
18841 (gst_pad_get_type): Initialize buffer and event quarks.
18842 (gst_pad_class_init): have-data is now a detailed signal, yes it
18845 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18847 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18848 * gst/gstutils.c: (gst_util_set_value_from_string),
18849 (gst_util_set_object_arg):
18850 Don't put functional code in g_return_if_fail() or
18851 g_return_val_if_fail() statements, otherwise things will
18852 break when G_DISABLE_CHECKS is defined during compilation.
18854 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18856 * docs/gst/tmpl/.cvsignore:
18857 * docs/gst/tmpl/gstvalue.sgml:
18860 inlied another one and added some obvious docs
18862 2005-09-21 Wim Taymans <wim@fluendo.com>
18864 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18865 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18866 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18867 (gst_fdsrc_get_property), (gst_fdsrc_create):
18868 * gst/elements/gstfdsrc.h:
18869 Properly implement fdsrc. Removed signal and timeout,
18870 better implemented somewhere else.
18872 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18874 * docs/gst/tmpl/.cvsignore:
18875 * docs/gst/tmpl/gstimplementsinterface.sgml:
18876 * gst/gstinterface.c:
18879 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18881 * docs/gst/gstreamer-sections.txt:
18882 * docs/gst/tmpl/.cvsignore:
18883 * docs/gst/tmpl/gstenumtypes.sgml:
18884 remove obsolete doc file
18886 2005-09-21 David Schleef <ds@schleef.org>
18888 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18889 little beer, fix a little leak.
18891 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18893 * docs/gst/gstreamer-docs.sgml:
18894 * docs/gst/gstreamer-sections.txt:
18895 * docs/gst/tmpl/.cvsignore:
18899 * gst/gstelement.h:
18900 * gst/gstindex.c: (gst_index_class_init):
18902 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18903 (gst_index_factory_class_init), (gst_index_factory_init),
18904 (gst_index_factory_finalize), (gst_index_factory_new),
18905 (gst_index_factory_destroy), (gst_index_factory_find),
18906 (gst_index_factory_create), (gst_index_factory_make):
18907 * gst/gstindexfactory.h:
18908 * gst/gstpluginfeature.c:
18909 * gst/gstpluginfeature.h:
18910 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18911 more docs inlined, splitted gstindex.{c,h}
18913 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18915 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18918 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18920 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18921 Set sync to FALSE by default.
18923 2005-09-20 Wim Taymans <wim@fluendo.com>
18925 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18926 (gst_base_sink_init):
18927 Make sync property settable from subclass.
18929 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18930 (gst_fake_sink_change_state):
18931 Set sync to FALSE by default.
18933 2005-09-20 Wim Taymans <wim@fluendo.com>
18935 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18936 * tools/gst-launch.c: (main):
18937 The timeout handler should have lower priority than the source
18938 so we don't timeout before popping a message with 0 timeout.
18939 Dump error messages after failed state change.
18941 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18943 * tools/gst-inspect.c: (print_element_properties_info):
18946 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18948 * check/gst/gstevent.c:
18949 * gst/elements/gstfakesink.c:
18950 * gst/elements/gstfakesink.h:
18951 remove the sync property from fakesink.
18952 has the side effect of setting sync TRUE
18953 for fakesink, which is a change. Anyone who knows how
18954 to fix this nicely in a GObject-y way, feel free.
18956 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18958 * docs/gst/gstreamer-docs.sgml:
18959 remove probe refsection
18961 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18963 * check/Makefile.am:
18964 disable valgrinding the controller test again
18965 * docs/gst/gstreamer-sections.txt:
18966 update for api-changes
18968 2005-09-20 Wim Taymans <wim@fluendo.com>
18970 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18971 (gst_base_sink_set_property), (gst_base_sink_get_property),
18972 (gst_base_sink_do_sync):
18973 * gst/base/gstbasesink.h:
18974 Added sync property to basesink to disable clock sync.
18976 2005-09-20 Andy Wingo <wingo@pobox.com>
18978 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18979 eating the caller's refcount.
18981 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
18982 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18985 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18986 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18987 of GLib 2.8 public, so we can know which refcount to check in
18990 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18991 (gst_object_init): Only set the gst refcount if we're going ahead
18992 with the refcount hack.
18994 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18996 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18997 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18998 more leaks plumbed, added more debug-logging
19002 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19004 * gst/gstmessage.c:
19005 remove include of gstmemchunk.h
19007 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19009 * gst/gstclock.c: (_gst_clock_id_free):
19010 Commit from the Political Party For More Atomic CVS Commits,
19011 so that people don't waste too much of their day fishing
19012 out obvious leaks out of massive commits.
19013 Oh, and fix a pretty damn obvious leak in the memchunk
19016 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19018 * check/Makefile.am:
19019 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19020 plug mem-leak, re-add to valgrindable tests
19022 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19025 unbreak the build for those who have chronic arthritis
19026 and typing "make check" is just too taxing on the hands
19028 2005-09-20 Andy Wingo <wingo@pobox.com>
19030 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19031 really want it out, you should fix plugins at the same time.
19033 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19036 * docs/gst/gstreamer-sections.txt:
19038 added missing symbols to api docs
19039 disable ref-count hack if we have glib >= 2.8
19041 2005-09-19 David Schleef <ds@schleef.org>
19043 * docs/gst/Makefile.am: Ignore a few more internal headers
19044 * docs/gst/gstreamer-docs.sgml: Remove old sections
19045 * docs/gst/gstreamer-sections.txt: Remove old sections
19046 * docs/gst/tmpl/gstobject.sgml: update
19047 * docs/gst/tmpl/gstplugin.sgml: update
19048 * docs/gst/tmpl/gstpluginfeature.sgml: update
19049 * docs/random/ds/0.9-suggested-changes: update.
19050 * gst/Makefile.am: remove memchunk and trashstack, since they're
19052 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19053 * gst/gst.h: don't include some headers
19054 * gst/gstchildproxy.c: add gstmarshal.h
19055 * gst/gstclock.c: Don't use memchunks
19056 * gst/gstminiobject.c: Add some docs
19057 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19058 * gst/gstobject.h: same
19059 * gst/gstplugin.c: include gstmacros.h
19060 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19061 * gst/gstquery.c: don't use memchunks
19062 * gst/gstregistry.c: rename gst_registry_deinit()
19063 * gst/gstregistry.h: same
19065 2005-09-19 David Schleef <ds@schleef.org>
19067 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19068 * docs/libs/gstreamer-libs-sections.txt:
19069 * docs/libs/tmpl/gstgetbits.sgml:
19070 * docs/libs/tmpl/gstputbits.sgml:
19072 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19074 * win32/gstenumtypes.c:
19075 * win32/gstenumtypes.h:
19078 2005-09-19 Wim Taymans <wim@fluendo.com>
19080 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19081 Automatically PAUSE and RESUME a pipeline when a flushing seek
19084 2005-09-19 Andy Wingo <wingo@pobox.com>
19086 * gst/gstregistry.h: Spacing fixen.
19088 2005-09-19 Wim Taymans <wim@fluendo.com>
19090 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19091 Handle state change failure more correctly.
19093 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19095 * check/Makefile.am:
19096 * check/pipelines/cleanup.c: (run_pipeline):
19097 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19099 enable cleanup again after fixing the leak
19101 some more info on docs
19103 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19105 * check/Makefile.am:
19106 re-enable tests now that leaks are plugged
19108 * check/gst/gstbin.c:
19109 * check/gst/gstpipeline.c:
19110 add some more tests while fixing leaks
19111 * common/check.mak:
19112 make sure binaries are uptodate when valgrinding/gdbing
19114 * gst/gstelementfactory.c:
19115 remove a ref too many, and add a FIXME for when we get
19116 round to disposing of classes
19118 fix the refcounting when loading a plugin from a file and
19119 the code pretends that the pointer is the same even though
19120 of course it can change
19121 * gst/gstpluginfeature.c:
19122 unref plugins marked cached (a bit confusing as a name)
19123 as the docs state should be done
19124 various doc additions to explain refcounting
19125 * gst/gstregistry.c:
19126 * gst/gstregistryxml.c:
19129 2005-09-19 Wim Taymans <wim@fluendo.com>
19131 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19132 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19133 (send_messages), (GST_START_TEST), (gstbus_suite):
19134 * check/gst/gstpipeline.c: (GST_START_TEST):
19135 * check/pipelines/cleanup.c: (run_pipeline):
19136 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19138 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19139 (gst_bus_source_check), (gst_bus_source_dispatch),
19140 (gst_bus_create_watch), (gst_bus_add_watch_full),
19141 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19143 * tools/gst-launch.c: (event_loop):
19144 * tools/gst-md5sum.c: (event_loop):
19145 GstBusHandler -> GstBusFunc, return value has the same meaning as
19146 any other GSource (FALSE == remove source).
19147 _add_watch() and _add_watch_full() now take a MessageType mask to
19148 only handle specific types of messages.
19149 _poll() returns the GstMessage instead of the message type to avoid
19151 _have_pending() takes a MessageType mask now too.
19152 Added testsuite for multiple bus watches.
19153 Fix testsuites and applications for new bus API.
19155 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19157 * check/Makefile.am:
19158 mark a bunch of the tests as to fix until we fix them
19160 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19162 * common/check.mak:
19163 use GST_PLUGIN settings for valgrind tests as well, so we're
19164 valgrinding the correct thing
19165 * gst/gst.c: (init_post):
19168 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19170 * gst/gst.c: (init_post), (gst_deinit):
19171 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19172 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19173 * gst/gstindex.c: (gst_index_factory_class_init),
19174 (gst_index_factory_finalize):
19175 * gst/gstobject.c: (gst_object_dispose):
19176 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19177 (gst_plugin_load_file), (gst_plugin_desc_free):
19178 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19179 (gst_plugin_feature_finalize):
19180 * gst/gstregistry.c: (gst_registry_class_init),
19181 (gst_registry_init), (gst_registry_finalize),
19182 (gst_registry_get_default), (gst_registry_deinit):
19183 * gst/gstregistry.h:
19184 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19185 various cleanups and memleak plugging. make valgrind is happy now.
19187 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19189 * common/check.mak:
19190 add a check-valgrind target
19192 2005-09-18 David Schleef <ds@schleef.org>
19194 * tools/gst-inspect.c: Revert the GOption code.
19196 2005-09-17 David Schleef <ds@schleef.org>
19198 * check/Makefile.am: Fix environment variables.
19199 * check/gst/gstplugin.c: Fix for API changes.
19200 * tools/gst-inspect.c: Fix for API changes.
19201 * tools/gst-xmlinspect.c: Fix for API changes.
19202 * gst/gstelementfactory.c:
19205 * gst/gstpluginfeature.c:
19206 * gst/gstpluginfeature.h:
19207 * gst/gstregistry.c:
19208 * gst/gstregistry.h:
19209 * gst/gstregistryxml.c:
19210 * gst/gsttypefind.c:
19211 * gst/gsttypefindfactory.c:
19212 * gst/indexers/gstfileindex.c:
19213 * gst/indexers/gstmemindex.c:
19214 * gst/schedulers/Makefile.am:
19215 Change registry to keep track of both plugins and features,
19216 removing the feature tracking from plugins themselves.
19218 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19220 * check/Makefile.am:
19221 * tools/gst-register.1.in:
19222 remove gst-register
19224 2005-09-15 David Schleef <ds@schleef.org>
19226 * check/gst/gstplugin.c:
19227 * gst/gstelementfactory.c:
19229 * gst/gstpluginfeature.c:
19230 * gst/gstregistry.c:
19231 Getting tired of debugging. Disabled all the unreffing of
19232 plugins and features, which fixes the segfaults, but of
19233 course leaks like crazy. At least playbin works.
19235 2005-09-15 David Schleef <ds@schleef.org>
19237 * check/gst/gstplugin.c: (register_check_elements),
19238 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19240 * gst/elements/gsttypefindelement.c: Fix refcounting.
19241 * gst/gsttypefind.c:
19242 * gst/gsttypefindfactory.c:
19243 * gst/gsttypefindfactory.h:
19245 2005-09-15 David Schleef <ds@schleef.org>
19247 * gst/gstindex.c: get refcounting correct.
19248 * gst/gstregistry.c: Handle the case where a feature/plugin is
19251 2005-09-15 David Schleef <ds@schleef.org>
19253 * check/Makefile.am:
19254 * check/gst/gstplugin.c: Add test
19255 * gst/gstplugin.c: Fix problems noticed by testsuite
19257 * gst/gstregistry.c:
19258 * gst/gstregistry.h:
19260 2005-09-15 David Schleef <ds@schleef.org>
19262 * gst/gstplugin.c: Implement semi-decent recounting and locking
19263 in plugins and plugin features.
19265 * gst/gstpluginfeature.c:
19266 * gst/gstpluginfeature.h:
19267 * gst/gstregistry.c:
19269 2005-09-15 Michael Smith <msmith@fluendo.com>
19271 * gst/gstregistry.c: (gst_registry_get_feature_list):
19272 Implement this. Makes oggdemux work; decodebin still broken.
19274 2005-09-14 David Schleef <ds@schleef.org>
19276 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19278 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19279 * gst/check/Makefile.am:
19280 * libs/gst/controller/Makefile.am:
19281 * libs/gst/dataprotocol/Makefile.am:
19283 2005-09-14 David Schleef <ds@schleef.org>
19285 * configure.ac: Remove getbits library. Nothing uses it, and
19286 it should be in something like liboil if someone did want
19288 * libs/gst/Makefile.am:
19289 * libs/gst/getbits/Makefile.am:
19290 * libs/gst/getbits/gbtest.c:
19291 * libs/gst/getbits/getbits.c:
19292 * libs/gst/getbits/getbits.h:
19293 * libs/gst/getbits/gstgetbits_generic.c:
19294 * libs/gst/getbits/gstgetbits_i386.s:
19295 * libs/gst/getbits/gstgetbits_inl.h:
19297 2005-09-14 David Schleef <ds@schleef.org>
19299 * gst/Makefile.am: Dist glib-compat.h
19301 2005-09-14 David Schleef <ds@schleef.org>
19303 * configure.ac: Remove gst/registries, since it's no longer used.
19304 * gst/registries/Makefile.am:
19305 * gst/registries/gstlibxmlregistry.c:
19306 * gst/registries/gstlibxmlregistry.h:
19307 * gst/registries/gstxmlregistry.c:
19308 * gst/registries/gstxmlregistry.h:
19309 * gst/registries/registrytest.c:
19311 2005-09-14 David Schleef <ds@schleef.org>
19313 * gst/glib-compat.h:
19314 * gst/gstregistryxml.c:
19315 Convergence is near. Seriously.
19317 2005-09-14 David Schleef <ds@schleef.org>
19319 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19320 * gst/glib-compat.h:
19321 Attempt #4 to appease the buildbots.
19323 2005-09-14 David Schleef <ds@schleef.org>
19325 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19328 2005-09-14 David Schleef <ds@schleef.org>
19330 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19333 2005-09-14 David Schleef <ds@schleef.org>
19335 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19338 2005-09-14 David Schleef <ds@schleef.org>
19340 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19341 * gst/glib-compat.h: Add some functions that are in newer versions
19342 of glib than we care to require.
19343 * gst/gstregistryxml.c: Use them.
19345 2005-09-14 David Schleef <ds@schleef.org>
19347 * po/POTFILES.in: remove gst-register.c
19349 2005-09-14 David Schleef <ds@schleef.org>
19351 * docs/gst/gstreamer-docs.sgml:
19352 * docs/gst/gstreamer-sections.txt:
19353 * docs/gst/gstreamer.types:
19354 * docs/gst/tmpl/gstelement.sgml:
19355 * docs/gst/tmpl/gstplugin.sgml:
19356 * docs/gst/tmpl/gstpluginfeature.sgml:
19357 Documentation updates for registry changes.
19359 2005-09-14 David Schleef <ds@schleef.org>
19361 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19362 because we don't require glib-2.8.
19364 2005-09-14 David Schleef <ds@schleef.org>
19366 * gst/gstregistryxml.c: Added. Essentially moved out of the
19367 registries directory.
19369 2005-09-14 David Schleef <ds@schleef.org>
19371 * check/Makefile.am:
19372 * check/generic/states.c:
19376 * gst/gst_private.h:
19377 * gst/gstelementfactory.c:
19382 * gst/gstpluginfeature.c:
19383 * gst/gstpluginfeature.h:
19384 * gst/gstregistry.c:
19385 * gst/gstregistry.h:
19386 * gst/gstregistrypool.c: remove
19387 * gst/gstregistrypool.h: remove
19388 * gst/gsttypefind.c:
19389 * gst/gsttypefindfactory.c:
19391 * tools/Makefile.am:
19392 * tools/gst-compprep.c:
19393 * tools/gst-inspect.c:
19394 * tools/gst-register.c: remove
19395 * tools/gst-xmlinspect.c:
19396 Registry rewrite. Changes registry from being a file created
19397 by a tool into a simple cache file created automatically by
19398 libgstreamer. Removed gst-register (because it's no longer
19399 needed). Remove registry pools, because we only have one
19400 registry implementation (XML). Fix up other subsystems as
19403 2005-09-13 Michael Smith <msmith@fluendo.com>
19405 * gst/gstconfig.h.in:
19406 Don't Use windows linking attributes for MinGW. Fixes #316157
19408 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19410 * gst/gstutils.c: (set_state_async_thread_func),
19411 (gst_element_set_state_async):
19412 Apparently people think it's better if this function doesn't
19413 try to set the state to whatever state was asked for on the first
19414 call to this function for any object. Seriously.
19416 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19418 * check/gst/gstpipeline.c: (GST_START_TEST):
19419 * docs/gst/gstreamer-sections.txt:
19420 * gst/gstutils.c: (set_state_async_thread_func),
19421 (gst_element_set_state_async):
19423 add a "gst_element_set_state_async" method that
19424 sets the state and starts a thread to make sure the state
19425 change completes as best as it can
19427 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19429 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19430 codify design+behaviour in testsuite after discussion
19432 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19434 * docs/gst/tmpl/gstelement.sgml:
19435 * docs/manual/appendix-quotes.xml:
19437 * gst/gstelement.c: (gst_element_set_state):
19440 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19442 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19443 (gst_base_transform_prepare_output_buf),
19444 (gst_base_transform_handle_buffer):
19445 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19446 (gst_capsfilter_prepare_buf):
19447 Remove the requirement for sub-classes to call the parent
19448 implementation of prepare_output_buffer with a wrapper function.
19450 * gst/gsttaglist.h:
19451 * gst/gsttagsetter.h:
19452 Fix #define wrapper
19454 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19456 * docs/gst/gstreamer-sections.txt:
19459 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19461 * docs/gst/gstreamer-sections.txt:
19462 * docs/gst/tmpl/gstelement.sgml:
19463 * docs/gst/tmpl/gstplugin.sgml:
19464 * gst/gstminiobject.c:
19466 docs now stop throwing warnings
19468 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19470 * docs/gst/gstreamer-sections.txt:
19471 * docs/gst/gstreamer.types:
19472 * docs/gst/tmpl/gstpad.sgml:
19473 * docs/gst/tmpl/gsttypes.sgml:
19474 * gst/base/gstadapter.h:
19475 * gst/base/gstbasesink.h:
19476 * gst/base/gstbasesrc.h:
19482 * gst/gstelement.h:
19484 * gst/gstmessage.h:
19486 * gst/gststructure.c:
19487 * gst/registries/gstlibxmlregistry.h:
19488 various documentation fixes
19490 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19492 * docs/gst/gstreamer-sections.txt:
19493 * docs/gst/tmpl/gstvalue.sgml:
19494 rearrange gstvalue section
19495 * gst/gstutils.c: (gst_element_state_get_name):
19497 * gst/gstvalue.c: (_gst_value_initialize):
19501 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19503 * check/gst-libs/controller.c:
19504 Header include fix.
19505 * gst/base/gstbasetransform.c:
19506 (gst_base_transform_default_prepare_buf),
19507 (gst_base_transform_handle_buffer):
19508 * gst/base/gstbasetransform.h:
19509 Some more basetransform changes and fixes to enable sub-classes
19510 that modify buffer metadata only.
19511 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19512 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19513 (gst_capsfilter_prepare_buf):
19514 If the output pad has fixed allowed caps and input buffers
19515 don't have any, set the fixed caps on outgoing buffers.
19517 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19518 * check/elements/identity.c: (GST_START_TEST):
19519 Make the error a little clearer when the test fails because
19520 identity made a copy of the buffer.
19521 * docs/gst/gstreamer-sections.txt:
19522 New symbols in gstbasetransform.h
19523 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19524 (gst_base_transform_init), (gst_base_transform_transform_size),
19525 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19526 (gst_base_transform_default_prepare_buf),
19527 (gst_base_transform_get_unit_size),
19528 (gst_base_transform_buffer_alloc),
19529 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19530 (gst_base_transform_change_state),
19531 (gst_base_transform_set_passthrough),
19532 (gst_base_transform_set_in_place),
19533 (gst_base_transform_is_in_place):
19534 * gst/base/gstbasetransform.h:
19535 Change BaseTransform to separate in_place operate from same_caps
19536 output. in_place implies that the element can perform the transform
19537 on incoming buffers in-place, even if the caps on the output are
19539 Sub-class elements can now implement special buffer allocation
19540 methods for outgoing buffers if they wish to.
19541 Big documentation addition.
19542 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19543 * gst/elements/gstelements.c:
19544 Changes for basetransform modifications.
19545 * gst/elements/Makefile.am:
19546 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19547 Compile fix. Extra debug output.
19549 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19551 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19553 add tests for valid pad naming
19554 * gst/check/gstcheck.c: (gst_check_log_message_func),
19555 (gst_check_log_critical_func):
19557 remove printing of code, it is fragile when the code contains
19558 % and the line number is enough info
19559 * gst/check/gstcheck.h:
19560 * gst/gstpad.c: (gst_pad_template_new):
19563 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19566 say what CHECK flags we use
19567 * docs/libs/gstreamer-libs.types:
19568 * libs/gst/controller/Makefile.am:
19569 * libs/gst/controller/gst-controller.c:
19570 * libs/gst/controller/gst-controller.h:
19571 * libs/gst/controller/gst-helper.c:
19572 * libs/gst/controller/gst-interpolation.c:
19573 * libs/gst/controller/gstcontroller.c:
19574 * libs/gst/controller/gsthelper.c:
19575 * libs/gst/controller/gstinterpolation.c:
19576 * tools/gst-inspect.c: (print_plugin_info):
19577 we don't use dashes in header names
19579 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19581 * check/Makefile.am:
19582 * check/gst/.cvsignore:
19583 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19584 (gst_pipeline_suite), (main):
19585 adding a test for pipelines and state changes
19586 * gst/gstutils.c: (get_state_func):
19588 * gstreamer.spec.in:
19591 2005-09-08 Michael Smith <msmith@fluendo.com>
19593 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19594 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19595 (gst_file_src_is_seekable), (gst_file_src_get_size),
19596 (gst_file_src_start):
19597 * gst/elements/gstfilesrc.h:
19598 Various fixes for unseekable, unmmapable, and non-normal files, so
19599 that fallback to read() rather than mmap() works.
19600 * gst/gstevent.c: (gst_event_new_newsegment):
19601 Allow newsegment events with segment_start == segment_end, as will
19602 correctly happen if you use filesrc on a zero-size file, for
19605 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19607 * gst/gstplugin.c: (gst_plugin_load_file):
19608 Call g_module_close when we don't load the module
19610 * gst/registries/gstlibxmlregistry.c:
19611 (gst_xml_registry_get_property):
19612 Port leak fix from 0.8
19614 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19616 * docs/gst/gstreamer-docs.sgml:
19617 * docs/gst/tmpl/.cvsignore:
19618 * docs/gst/tmpl/gsttrace.sgml:
19619 * docs/gst/tmpl/gsttrashstack.sgml:
19622 * gst/gstelement.h:
19624 * gst/gstmessage.c:
19625 * gst/gstmessage.h:
19628 * gst/gsttaginterface.c:
19629 * gst/gsttaginterface.h:
19630 * gst/gsttaglist.c:
19631 * gst/gsttaglist.h:
19632 * gst/gsttagsetter.c:
19633 * gst/gsttagsetter.h:
19636 * gst/gsttrashstack.c:
19637 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19638 inlined docs for gsttrace, gsttrashstack
19640 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19643 * gst/elements/gstbufferstore.h:
19644 * gst/elements/gsttypefindelement.c:
19645 * gst/elements/gsttypefindelement.h:
19647 * gst/gsttypefind.c:
19648 * gst/gsttypefind.h:
19649 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19650 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19651 (gst_type_find_factory_dispose),
19652 (gst_type_find_factory_unload_thyself),
19653 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19654 (gst_type_find_factory_get_caps),
19655 (gst_type_find_factory_get_extensions),
19656 (gst_type_find_factory_call_function):
19657 * gst/gsttypefindfactory.h:
19658 * gst/registries/gstlibxmlregistry.c:
19659 * gst/registries/gstxmlregistry.c:
19660 splitted gsttypefind into gsttypefind, gsttypefindfactory
19662 2005-09-07 Andy Wingo <wingo@pobox.com>
19664 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19665 condition whereby the pad's task function is entered before the
19666 pad_mode variable was set.
19668 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19670 * gst/gstpad.c: (gst_pad_alloc_buffer):
19671 Catch misbehaving pad_alloc functions that don't
19672 set up caps and do it for them.
19674 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19676 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19677 test for pipe!=NULL
19678 * docs/gst/tmpl/.cvsignore:
19679 * docs/gst/tmpl/gstmemchunk.sgml:
19680 * docs/gst/tmpl/gstparse.sgml:
19681 * docs/gst/tmpl/gsttaglist.sgml:
19682 * docs/gst/tmpl/gsttagsetter.sgml:
19683 * docs/gst/tmpl/gsttypefind.sgml:
19684 * docs/gst/tmpl/gsttypefindfactory.sgml:
19685 * gst/gstmemchunk.c:
19688 * gst/gsttaginterface.c:
19689 * gst/gsttypefind.c:
19690 * gst/gsttypefind.h:
19693 === release 0.9.2 ===
19695 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19700 releasing 0.9.2, "South"
19702 2005-09-05 Andy Wingo <wingo@pobox.com>
19704 * gst/registries/gstxmlregistry.h:
19705 * gst/registries/gstxmlregistry.c: Um... resurrect...
19707 * gst/registries/gstxmlregistry.h:
19708 * gst/registries/gstxmlregistry.c: and update to newer API.
19709 Incidentally they should be a bit faster now that they don't have
19712 2005-09-05 Andy Wingo <wingo@pobox.com>
19714 * gst/registries/gstxmlregistry.h:
19715 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19716 replaced by the libxml registry a while back
19718 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19720 * docs/gst/tmpl/gstplugin.sgml:
19721 * gst/elements/gstelements.c:
19723 * gst/gstplugin.c: (gst_plugin_register_func),
19724 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19725 (gst_plugin_get_source):
19727 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19728 (gst_xml_registry_save_plugin):
19729 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19730 (gst_xml_registry_save_plugin):
19731 * tools/gst-inspect.c: (print_plugin_info):
19732 add a "source" plugin description field, to represent the source
19733 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19734 will set it to PACKAGE, which is automake's idea of the name of
19735 the source project.
19737 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19742 * docs/Makefile.am:
19743 * docs/faq/Makefile.am:
19744 * docs/gst/tmpl/gstelement.sgml:
19745 * docs/gst/tmpl/gsttypes.sgml:
19746 * docs/htmlinstall.mak:
19747 * docs/manual/Makefile.am:
19748 * docs/pwg/Makefile.am:
19749 reorganize doc build a little
19750 split out docbook and gtk-doc stuff
19751 have two separate --enable's and enable them through autogen
19752 but disable by default in configure (to be similar to other
19754 * gstreamer.spec.in:
19755 clean up docs install
19773 translation updates
19775 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19777 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19780 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19781 (gst_fake_sink_change_state):
19782 Make state change function thread-safe.
19784 * gst/gstpad.c: (gst_pad_alloc_buffer):
19785 Set offset on generic buffer allocated by fallback.
19787 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19789 * docs/gst/gstreamer-sections.txt:
19790 * docs/gst/tmpl/gstelement.sgml:
19792 * libs/gst/controller/gst-controller.c:
19793 (gst_controlled_property_set_interpolation_mode),
19794 (gst_controlled_property_new),
19795 (gst_controller_find_controlled_property):
19796 run the wingo-magic script against the docs
19798 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19800 * docs/gst/gstreamer-docs.sgml:
19801 * docs/gst/gstreamer-sections.txt:
19802 * docs/gst/tmpl/.cvsignore:
19803 * docs/gst/tmpl/gstelementdetails.sgml:
19804 * docs/gst/tmpl/gstelementfactory.sgml:
19807 * gst/gstelementfactory.c:
19808 * gst/gstelementfactory.h:
19809 merged elementdetails docs into elementfactory docs
19812 2005-09-02 Andy Wingo <wingo@pobox.com>
19814 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19815 consider this enum an enum and not a flags.
19817 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19819 * docs/gst/gstreamer-docs.sgml:
19820 * docs/gst/tmpl/.cvsignore:
19821 * docs/gst/tmpl/gstghostpad.sgml:
19822 * docs/gst/tmpl/gstiterator.sgml:
19823 * docs/gst/tmpl/gstmacros.sgml:
19824 * docs/gst/tmpl/gstrealpad.sgml:
19825 * docs/gst/tmpl/gstregistry.sgml:
19826 * docs/gst/tmpl/gstregistrypool.sgml:
19827 * docs/gst/tmpl/gststructure.sgml:
19828 * docs/gst/tmpl/gstsystemclock.sgml:
19829 * docs/gst/tmpl/gsttrace.sgml:
19830 * gst/gstghostpad.c:
19832 * gst/gstmemchunk.c:
19833 * gst/gstmemchunk.h:
19835 * gst/gstregistry.c:
19836 * gst/gstregistrypool.c:
19837 * gst/gststructure.c:
19838 * gst/gstsystemclock.c:
19841 2005-09-02 Andy Wingo <wingo@pobox.com>
19843 * gst/gstelement.h (GstState): Renamed from GstElementState,
19844 changed to be a normal enum instead of flags.
19845 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19846 munged to be GST_STATE_CHANGE_*.
19847 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19848 work with the new state representation.
19849 (GstStateChange): New enumeration of possible state transitions.
19850 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19851 (GstElementClass::change_state): Pass the GstStateChange along as
19852 an argument. Helps language bindings, so they don't have to use
19853 tricky lock-needing macros like GST_STATE_CHANGE ().
19855 * scripts/update-states (file): New script. Run it on a file to
19856 update it for state naming and API changes. Updates files in
19859 * All files updated for the new API.
19861 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19863 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19864 * gst/gstutils.c: (gst_util_set_value_from_string),
19865 (gst_util_set_object_arg):
19866 fix a bunch of unchecked return values
19867 * tools/gst-complete.c: (main):
19868 * gstreamer.spec.in:
19871 2005-09-01 Wim Taymans <wim@fluendo.com>
19873 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19874 (gst_base_sink_event), (gst_base_sink_do_sync),
19875 (gst_base_sink_handle_event):
19876 * gst/base/gstbasesink.h:
19877 Handle newsegments more correctly.
19882 * gst/gstevent.c: (gst_event_new_newsegment):
19883 A newsegment cannot have a start_time of -1
19885 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19887 * win32/gstenumtypes.c:
19888 * win32/gstenumtypes.h:
19891 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19893 * libs/gst/controller/gst-controller.c:
19894 (gst_controlled_property_set_interpolation_mode),
19895 (gst_controlled_property_new):
19896 fixed boolean again
19898 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19900 * docs/faq/gst-uninstalled:
19905 * gst/gstutils.c: (gst_element_link_filtered):
19907 add gst_element_link_filtered
19909 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19911 * docs/gst/gstreamer-docs.sgml:
19912 * docs/gst/gstreamer-sections.txt:
19913 * docs/gst/tmpl/.cvsignore:
19914 * docs/gst/tmpl/gsterror.sgml:
19915 * docs/gst/tmpl/gstfilter.sgml:
19916 * docs/gst/tmpl/gsturihandler.sgml:
19917 * docs/gst/tmpl/gsturitype.sgml:
19918 * docs/gst/tmpl/gstutils.sgml:
19919 * docs/gst/tmpl/gstxml.sgml:
19924 * gst/gsturitype.c:
19927 inlined more docs, fixed double id-ref
19929 2005-08-31 Wim Taymans <wim@fluendo.com>
19931 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19932 (gst_base_transform_handle_buffer):
19933 Passthrough elements don't need the caps as they don't care.
19935 2005-08-31 Wim Taymans <wim@fluendo.com>
19937 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19938 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19939 Don't leak refcounts on buffers.
19941 2005-08-31 Wim Taymans <wim@fluendo.com>
19943 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19944 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19945 (gst_base_transform_chain), (gst_base_transform_change_state):
19946 * gst/base/gstbasetransform.h:
19947 Handle the case where we are not negotiated more gracefully.
19949 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19951 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19952 (gst_file_src_map_region):
19953 Set READONLY flag on mmap'ed buffers, otherwise
19954 gst_buffer_make_writable() won't work properly (#314708).
19956 2005-08-31 Wim Taymans <wim@fluendo.com>
19958 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19959 passthrough elements can even do inplace on non writable
19960 buffers (as they don't touch them).
19962 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19964 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19965 (gst_test_mono_source_set_property),
19966 (gst_test_mono_source_class_init), (GST_START_TEST),
19967 (gst_controller_suite):
19968 more tests (hehe I have the most)
19970 describe popping messages whenusing mulltiple sources
19971 * libs/gst/controller/gst-controller.c:
19972 (gst_controlled_property_set_interpolation_mode),
19973 (gst_controlled_property_new):
19974 * libs/gst/controller/gst-controller.h:
19975 * libs/gst/controller/gst-interpolation.c:
19976 implement boolean properties
19978 2005-08-31 Wim Taymans <wim@fluendo.com>
19980 * gst/gstminiobject.c: (gst_mini_object_ref):
19981 Cannot assert that the refcount has to be positive
19982 since a disposed object can be resurrected.
19984 2005-08-31 Wim Taymans <wim@fluendo.com>
19986 * gst/gstpad.c: (gst_pad_init):
19987 Revert change, need to first fix badly behaving
19990 2005-08-30 Wim Taymans <wim@fluendo.com>
19992 * check/elements/fakesrc.c: (setup_fakesrc):
19993 * check/elements/identity.c: (setup_identity):
19994 Activate pads before using them.
19996 2005-08-30 Wim Taymans <wim@fluendo.com>
19998 * gst/base/gstadapter.c: (gst_adapter_flush):
19999 Flushing out 0 bytes is ok for this function.
20001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20002 no newsegment gives a warning and sets the start/stop to
20005 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20006 (gst_base_transform_set_passthrough):
20009 * gst/gstminiobject.c: (gst_mini_object_ref):
20010 Check refcount here too.
20012 * gst/gstpad.c: (gst_pad_init):
20013 Pads are initially flushing and refusing data.
20015 * gst/gstutils.c: (gst_element_link_pads_filtered):
20016 When adding a capsfilter element make sure it has the
20017 same state as the parent bin.
20019 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20021 * docs/gst/tmpl/.cvsignore:
20022 * docs/gst/tmpl/gstformat.sgml:
20023 * docs/gst/tmpl/gstversion.sgml:
20027 * gst/gstversion.h.in:
20028 more docs and two more inlined
20030 2005-08-30 Wim Taymans <wim@fluendo.com>
20032 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20033 Don't sync to clock.
20035 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20037 * docs/gst/gstreamer-sections.txt:
20038 ultral33t func10ns deserve to appear in the docs actually
20039 * docs/gst/tmpl/.cvsignore:
20040 * docs/gst/tmpl/gstcompat.sgml:
20041 * docs/gst/tmpl/gstconfig.sgml:
20042 * gst/check/gstcheck.c:
20044 * gst/gstconfig.h.in:
20047 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20049 * docs/gst/tmpl/.cvsignore:
20050 * docs/gst/tmpl/gstquery.sgml:
20051 * docs/gst/tmpl/gstutils.sgml:
20054 inlined and extended docs
20056 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20058 * check/gst-libs/controller.c: (GST_START_TEST),
20059 (gst_controller_suite):
20061 * docs/gst/tmpl/gstutils.sgml:
20062 * docs/libs/gstreamer-libs-sections.txt:
20063 * docs/libs/tmpl/gstdataprotocol.sgml:
20065 * examples/controller/audio-example.c: (main):
20066 controller example works now
20069 * tools/gst-inspect.c: (print_element_properties_info):
20070 show param spec flags
20072 2005-08-29 Andy Wingo <wingo@pobox.com>
20074 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20076 2005-08-28 Andy Wingo <wingo@pobox.com>
20078 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20079 as having two arguments instead of just one. Allows superclasses
20080 to access information on subclasses -- see the terrible for() loop
20081 in gtype.c:g_type_create_instance for the reason why. All callers
20084 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20086 * docs/design/part-messages.txt:
20088 * docs/gst/tmpl/.cvsignore:
20089 * docs/gst/tmpl/gstcaps.sgml:
20090 * docs/gst/tmpl/gstclock.sgml:
20096 * gst/gstmessage.c:
20097 added descriptions for bus and message
20098 inline caps and clock docs
20100 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20102 * gst/gstmessage.c:
20103 * gst/gstmessage.h:
20106 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20108 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20111 2005-08-26 Andy Wingo <wingo@pobox.com>
20113 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20114 element_set_state's return val.
20115 (test_2_elements): Add test that's been disabled for months.
20117 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20118 can-activate-pull properties.
20120 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20121 can-activate-pull properties. Implement is_seekable so fakesrc can
20122 operate in pull mode.
20124 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20126 (gst_base_sink_activate, gst_base_sink_activate_pull)
20127 (gst_base_sink_activate_push): Make activation mode choosing work.
20129 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20130 is right. Make pull mode work. Post an eos before pausing in pull
20132 (gst_base_sink_change_state): Pay attention to the core's
20133 change_state() return val.
20135 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20136 has-getrange properties. Cleanups.
20138 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20139 has_getrange and replace with can_activate_pull and
20142 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20143 locking comments. Remove has_loop, has_chain and replace with
20144 can_activate_pull and can_activate_push.
20146 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20149 * examples/Makefile.am:
20150 * examples/metadata/Makefile.am:
20151 * examples/metadata/read-metadata.c: (message_loop),
20152 (have_pad_handler), (make_pipeline), (print_tag), (main):
20153 Add metadata reading example that loops over a list of filenames,
20154 dumping any tags found.
20156 * gst/gstbus.c: (gst_bus_dispose):
20157 * gst/gstelement.c: (gst_element_dispose):
20158 Release a few potentially-held references in dispose.
20160 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20162 * docs/gst/tmpl/gstminiobject.sgml:
20163 do *not* add tmpl/*.sgml files to CVS!
20165 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20167 * libs/gst/bytestream/.cvsignore:
20168 * libs/gst/bytestream/Makefile.am:
20169 * libs/gst/bytestream/adapter.c:
20170 * libs/gst/bytestream/adapter.h:
20171 * libs/gst/bytestream/bytestream.c:
20172 * libs/gst/bytestream/bytestream.h:
20173 * libs/gst/bytestream/filepad.c:
20174 * libs/gst/bytestream/filepad.h:
20175 removing obsolete files
20177 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20179 * docs/gst/gstreamer-docs.sgml:
20180 * docs/libs/gstreamer-libs-docs.sgml:
20181 disabed additional index entries again, as this makes docs-gen just
20182 slow and they aren't useful yet
20183 * docs/libs/gstreamer-libs-sections.txt:
20184 little -section.txt cleanup for libs
20186 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20188 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20189 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20190 fix up some debugging
20191 (gst_base_transform_get_unit_size),
20192 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20193 (gst_base_transform_handle_buffer):
20194 * gst/base/gstbasetransform.h:
20195 handle and store timed NEWSEGMENT events so that subclasses that
20196 calculate time by counting samples have a segment_start time they
20197 need to add to their timestamps - see audioresample
20199 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20202 removed ';' from the end of macro defs
20203 * docs/gst/gstreamer-docs.sgml:
20204 * docs/gst/gstreamer-sections.txt:
20205 * docs/gst/tmpl/.cvsignore:
20207 * gst/gstelement.c: (gst_element_class_init),
20208 (gst_element_set_state), (activate_pads),
20209 (gst_element_save_thyself):
20210 * gst/gstevent.c: (gst_event_new_newsegment):
20212 * gst/gstiterator.c:
20213 * gst/gstiterator.h:
20216 * gst/gstutils.c: (gst_pad_query_convert):
20218 fixed parameter name mismatches between source, header and docs
20219 added some more docs, resolved the last batch of unused elements in
20220 docs (now someone needs to doc them)
20222 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20224 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20225 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20226 don't walk through the plugins backwards. Where is all this
20227 reversed logic coming from ?
20229 2005-08-25 Wim Taymans <wim@fluendo.com>
20231 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20232 (gst_base_transform_transform_size),
20233 (gst_base_transform_configure_caps),
20234 (gst_base_transform_get_unit_size),
20235 (gst_base_transform_buffer_alloc),
20236 (gst_base_transform_change_state):
20237 * gst/base/gstbasetransform.h:
20238 Cache caps unit_size.
20239 Make sure we cannot negotiate up and downstream at the
20242 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20244 * gst/gst.c: (init_pre), (init_post):
20245 register the installed plugin path after the env var
20246 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20247 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20248 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20249 directories, so the tests can prefer uninstalled over installed
20251 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20253 * gst/base/gstbasetransform.h:
20258 2005-08-25 Wim Taymans <wim@fluendo.com>
20260 * gst/gstbin.c: (bin_bus_handler):
20261 Be a bit more conservative about the posted message.
20263 * gst/gstbus.c: (gst_bus_post):
20264 Some cleanups, warn wrong return values.
20266 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20268 * check/gst/gstbin.c: (GST_START_TEST):
20269 * gst/gstbin.c: (bin_bus_handler):
20270 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20271 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20272 (gst_message_new_warning), (gst_message_new_tag),
20273 (gst_message_new_state_changed), (gst_message_new_segment_start),
20274 (gst_message_new_segment_done), (gst_message_new_custom):
20275 * gst/gstmessage.h:
20276 * tools/gst-launch.c: (event_loop):
20277 * tools/gst-md5sum.c: (event_loop):
20278 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20280 2005-08-25 Wim Taymans <wim@fluendo.com>
20282 * check/generic/states.c: (GST_START_TEST):
20283 Cleanup can be done at the end.
20285 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20286 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20287 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20288 Oh boy.. Thanks for finding this, Thomas.
20290 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20292 * docs/gst/gstreamer.types:
20293 added missing types
20295 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20297 * docs/gst/gstreamer-docs.sgml:
20298 * docs/gst/gstreamer-sections.txt:
20299 * docs/gst/tmpl/.cvsignore:
20301 * gst/gstiterator.c:
20303 * gst/registries/gstxmlregistry.h:
20304 added missing classes and symbols (123 more to go)
20305 removed removed symbols from section file
20306 fixed many doc-comments
20308 2005-08-24 Wim Taymans <wim@fluendo.com>
20310 * check/generic/states.c: (GST_START_TEST):
20311 Make sure all tasks are stopped.
20313 * check/gst/gstbin.c: (GST_START_TEST):
20314 Unref after usage for proper valgrinding.
20316 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20317 Really wait for the task to stop before destroying the
20320 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20321 (gst_queue_src_activate_push):
20322 Small cleanups. Don't stop the task when we did not start
20325 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20326 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20327 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20330 Protect the stream lock with the object lock.
20331 Disallow setting the stream lock when running.
20332 Add cleanup_all to wait for the threadpool to finish.
20333 Remove code to autoallocate a mutex if none was provided.
20334 Add _join() to wait for a task to stop.
20335 Protect the thread pool with a global lock.
20337 2005-08-24 Wim Taymans <wim@fluendo.com>
20339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20340 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20341 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20342 * gst/base/gstbasesink.h:
20343 Handle newsegment events correctly.
20344 Drop buffers out of the segment range.
20346 2005-08-22 Andy Wingo <wingo@pobox.com>
20348 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20349 macro, implements an interface and gstimplementsinterface for a
20352 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20354 * check/Makefile.am:
20355 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20356 add a test that does a bunch of state changes on elements
20357 needs some fixing for valgrind
20358 * check/states/sinks.c: (gst_object_suite):
20361 add prototype for gst_caps_is_equal_fixed
20363 * gst/gstregistrypool.c:
20366 2005-08-24 Andy Wingo <wingo@pobox.com>
20368 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20369 convert a negative value. Doesn't make much sense. Mostly this is
20370 here to force callers to ensure -1 maps to -1.
20372 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20374 * docs/pwg/advanced-types.xml:
20375 Well done to Michael for catching my deliberate introduction
20376 of this spelling mistake.
20377 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20378 * gst/gstelement.h:
20379 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20380 unlink pads before removing the element from the bin.
20382 2005-08-24 Andy Wingo <wingo@pobox.com>
20384 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20385 the same thing as GST_DEBUG=*:4.
20386 (parse_debug_level, parse_debug_category): New helper parsers.
20388 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20390 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20391 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20392 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20393 (gst_base_transform_buffer_alloc),
20394 (gst_base_transform_handle_buffer):
20395 use gboolean return values and pointers to size so we can use the
20396 full GST_BUFFER_SIZE range (guint) for buffer sizes
20397 use GstPadDirection for transform_caps
20398 * gst/base/gstbasetransform.h:
20399 rename get_size to get_unit_size since that's what it is
20400 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20401 use GstPadDirection for transform_caps
20402 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20404 cleanup and debugging
20406 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20408 * gst/gstelement.c: (gst_element_class_init),
20409 (gst_element_set_state), (activate_pads),
20410 (gst_element_save_thyself):
20411 * tools/gst-compprep.c: (main):
20412 * tools/gst-inspect.c: (print_element_properties_info):
20413 * tools/gst-xmlinspect.c: (print_element_properties):
20414 Fixed long standing mem-leak
20416 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20418 * check/gst/gstbin.c: (GST_START_TEST):
20419 * gst/gstbin.c: (bin_bus_handler):
20420 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20421 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20422 (gst_message_new_warning), (gst_message_new_tag),
20423 (gst_message_new_state_changed), (gst_message_new_segment_start),
20424 (gst_message_new_segment_done), (gst_message_new_custom):
20425 * gst/gstmessage.h:
20426 * tools/gst-launch.c: (event_loop):
20427 * tools/gst-md5sum.c: (event_loop):
20428 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20429 that applications can sensibly post custom messages with references
20430 to their own objects.
20432 2005-08-24 Andy Wingo <wingo@pobox.com>
20434 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20437 2005-08-24 Wim Taymans <wim@fluendo.com>
20439 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20440 (gst_base_transform_transform_caps),
20441 (gst_base_transform_transform_size),
20442 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20443 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20444 (gst_base_transform_handle_buffer):
20445 * gst/base/gstbasetransform.h:
20446 Many fixes and new features added by Thomas. Can now also do
20447 transforms with variable sizes and a custom fixate_caps function.
20449 2005-08-24 Wim Taymans <wim@fluendo.com>
20451 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20455 Cast to ClockTime before formatting to time.
20460 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20462 * check/gst-libs/controller.c: (GST_START_TEST),
20463 (gst_controller_suite):
20464 * docs/gst/tmpl/gstcaps.sgml:
20465 * docs/gst/tmpl/gstghostpad.sgml:
20466 * docs/gst/tmpl/gstquery.sgml:
20467 * docs/gst/tmpl/gstutils.sgml:
20468 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20469 (gst_object_sink_values), (gst_object_get_value_arrays),
20470 (gst_object_get_value_array):
20471 gracefully handle helper method calls to objects that are not beeing
20472 controlled, added test case for that
20474 2005-08-23 Wim Taymans <wim@fluendo.com>
20476 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20477 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20478 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20479 (gst_event_parse_qos), (gst_event_new_seek),
20480 (gst_event_parse_seek):
20482 Some more debugging output and doc cleanups.
20484 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20485 Fix possible deadlock.
20487 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20489 * docs/gst/gstreamer-docs.sgml:
20490 * docs/gst/gstreamer-sections.txt:
20491 * docs/gst/gstreamer.types:
20492 * docs/gst/tmpl/.cvsignore:
20495 * gst/gstelement.c:
20497 added 100 symbols from gstreamer-unused.txt to the right sections
20498 fixed more broken comments
20499 added GstBus to docs
20501 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20503 * docs/gst/gstreamer-sections.txt:
20504 * docs/gst/tmpl/.cvsignore:
20505 * docs/gst/tmpl/gstbin.sgml:
20506 * docs/gst/tmpl/gstbuffer.sgml:
20507 * gst/base/gstbasesrc.c:
20508 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20511 * tools/gst-launch.1.in:
20512 inlined more doc comments, added missing comments and fixed comments
20515 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20517 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20521 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20523 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20524 * gst/gststructure.h:
20525 add a fixate function for booleans; add a FIXME that these func
20526 names should probably be gst_structure_fixate_*
20528 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20530 * docs/gst/gstreamer-docs.sgml:
20531 * docs/gst/gstreamer-sections.txt:
20533 * gst/gstbin.c: (gst_bin_get_type),
20534 (gst_bin_child_proxy_get_child_by_index),
20535 (gst_bin_child_proxy_get_children_count),
20536 (gst_bin_child_proxy_init):
20537 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20538 (gst_child_proxy_get_child_by_index),
20539 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20540 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20541 (gst_child_proxy_get), (gst_child_proxy_set_property),
20542 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20543 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20544 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20545 * gst/gstchildproxy.h:
20546 * gst/parse/grammar.y:
20547 * tools/gst-inspect.c: (print_interfaces),
20548 (print_element_properties_info), (print_element_info):
20549 ported gstchildproxy over from 0.8
20550 ported gst-inspect fixes and enhancements over from 0.8
20552 2005-08-22 Wim Taymans <wim@fluendo.com>
20554 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20555 (gst_base_transform_handle_buffer):
20556 Also call the transform function if we have ANY caps.
20558 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20561 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20563 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20564 Don't pretend to handle seek events if the source is not seekable
20566 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20568 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20569 Remove extra parameter to debug output
20571 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20572 (gst_base_src_do_seek), (gst_base_src_activate_push):
20573 Fix seek event handling.
20575 * gst/gstpipeline.c: (gst_pipeline_change_state):
20576 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20577 (gst_queue_src_activate_push):
20578 Don't start the src pad task on FLUSH_STOP if the pad
20582 2005-08-22 Wim Taymans <wim@fluendo.com>
20584 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20585 Added check for gst_static_caps_get() refcounting.
20587 2005-08-22 Wim Taymans <wim@fluendo.com>
20589 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20590 Make _static_caps_get() refcounting sane.
20592 * gst/gstelement.c: (gst_element_set_state):
20593 Add g_return_val_if_fail() to protect against segfaults.
20595 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20597 * docs/gst/tmpl/gstevent.sgml:
20600 inlined remaining docs, added missing doc comments
20602 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20604 * check/gst/gstbin.c: (GST_START_TEST):
20605 since we don't know when preroll is done, use refcount range
20607 * gst/check/gstcheck.h:
20608 add macro for checking refcount range
20610 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20612 * check/Makefile.am:
20613 clean up environment for when registry gets built versus
20614 when actual tests are run; valgrind seems to not report
20615 leaks if GST_PLUGIN_PATH is set to some specific values
20616 * check/gst/gstbin.c: (GST_START_TEST):
20617 add more refcounting checks; maybe this exposes a
20619 * common/check.mak:
20620 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20621 * gst/check/gstcheck.h:
20622 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20623 (gst_bin_change_state):
20624 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20625 add/fix debugging/whitespace
20627 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20629 * check/gst/gstevent.c: (event_probe), (test_event),
20631 Er, don't call gst_bin_watch_for_state_change you idiot.
20633 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20635 * check/Makefile.am:
20636 Use CHECK_CFLAGS and CHECK_LIBS
20637 * check/gst/gstevent.c: (event_probe), (test_event),
20640 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20641 (gst_base_src_start), (gst_base_src_stop),
20642 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20643 (gst_base_src_change_state):
20644 Sprinkle gst_base_src_stop liberally around error paths to fix
20645 problems reusing a source after failed state changes.
20646 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20647 (helper_find_suggest), (gst_type_find_helper):
20648 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20650 * docs/gst/tmpl/gstevent.sgml:
20651 Migrate part of the docs from the SGML file. Wait for ensonic to
20652 tell me how I did it wrong ;)
20653 * tools/gst-typefind.c: (main):
20654 Extra robustness to state changes between files.
20656 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20658 * check/Makefile.am:
20659 don't valgrind the controller test - it's leaking - Stefan, HELP
20660 * gst/check/gstcheck.c: (gst_check_message_error),
20661 (gst_check_chain_func), (gst_check_setup_element),
20662 (gst_check_teardown_element), (gst_check_setup_src_pad),
20663 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20664 (gst_check_teardown_sink_pad):
20665 * gst/check/gstcheck.h:
20666 add a bunch of methods to set up elements, and src and sink pads
20667 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20668 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20671 * gst/gstmessage.c:
20673 whitespace/doc fixes
20675 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20677 * gst/gstelement.h:
20678 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20679 be handled by the application and not always printed as well
20681 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20683 * check/Makefile.am:
20685 * gst/check/gstcheck.c: (gst_check_message_error):
20686 * gst/check/gstcheck.h:
20687 add a fail_unless_equals_int
20688 add fail_unless for error messages
20690 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20692 * check/Makefile.am:
20694 * common/Makefile.am:
20695 * common/check.mak:
20697 factor out some of the common stuff so we can use it
20699 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20701 * check/Makefile.am:
20702 * check/gst/gstiterator.c: (GST_START_TEST):
20703 * check/gst/gstsystemclock.c: (GST_START_TEST),
20704 (gst_systemclock_suite):
20705 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20707 valgrind more tests
20709 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20711 * check/elements/.cvsignore:
20712 * check/elements/gstfakesrc.c:
20713 rename to name of element
20714 * check/elements/identity.c: (chain_func), (event_func),
20715 (setup_identity), (cleanup_identity), (GST_START_TEST),
20716 (identity_suite), (main):
20717 add a test for identity
20718 * check/Makefile.am:
20719 * pkgconfig/Makefile.am:
20720 * pkgconfig/gstreamer-check.pc.in:
20721 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20725 move the check stuff to a library that gets installed
20726 * check/gst-libs/controller.c: (GST_START_TEST):
20727 * check/gst-libs/gdp.c:
20728 * check/gst/gst.c: (GST_START_TEST):
20729 * check/gst/gstbin.c:
20730 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20731 * check/gst/gstbus.c:
20732 * check/gst/gstcaps.c: (GST_START_TEST):
20733 * check/gst/gstelement.c:
20734 * check/gst/gstghostpad.c:
20735 * check/gst/gstiterator.c:
20736 * check/gst/gstmessage.c:
20737 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20738 * check/gst/gstobject.c:
20739 * check/gst/gstpad.c: (GST_START_TEST):
20740 * check/gst/gststructure.c: (GST_START_TEST):
20741 * check/gst/gstsystemclock.c: (GST_START_TEST),
20742 (gst_systemclock_suite):
20743 * check/gst/gsttag.c: (gst_tag_suite):
20744 * check/gst/gstvalue.c:
20745 * check/pipelines/cleanup.c:
20746 * check/pipelines/simple_launch_lines.c:
20747 * check/states/sinks.c:
20748 change include statement
20750 * docs/gst/gstreamer-sections.txt:
20751 * docs/gst/tmpl/gstpad.sgml:
20752 document more pad stuff
20753 * gst/gstminiobject.c: (gst_mini_object_ref),
20754 (gst_mini_object_unref):
20757 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20759 * docs/gst/tmpl/gst.sgml:
20761 eliminate another tmpl file, fix spelling in the long-description
20763 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20765 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20766 (test_event), (timediff), (gstevents_suite):
20767 Should fix build on 64-bit arch's
20769 2005-08-18 Andy Wingo <wingo@pobox.com>
20771 Make sure that when a pipeline goes to PLAYING, that data has
20772 actually hit the sink.
20774 * check/states/sinks.c (test_sink): A sink that doesn't get any
20775 data shouldn't return SUCCESS for going to either PLAYING or
20776 PAUSED. Test also the return values on the way back down.
20778 * gst/gstelement.c (gst_element_set_state): When changing the
20779 state of an element currently changing state asynchronously, go to
20780 lost-state after commiting the pending state. Makes future calls
20781 to get_state continue to return ASYNC.
20783 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20784 ASYNC when going to PLAYING if we still don't have preroll, as can
20785 happen with live sources.
20787 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20789 * docs/pwg/advanced-types.xml:
20790 Hack long paragraph into 2 chunks as a workaround for buggy
20791 jadetex version in sid and breezy that loops infinitely and
20794 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20796 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20797 (test_event), (timediff), (gstevents_suite):
20798 Provide more error margin in clock measurements to allow for
20799 g_get_current_time inaccuracies.
20801 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20803 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20804 (test_event), (timediff), (gstevents_suite):
20805 Fix error message output so I might be able to tell why the
20806 test works here but fails on the build farm.
20808 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20810 * check/Makefile.am:
20811 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20812 (test_event), (timediff), (gstevents_suite), (main):
20815 * docs/design/part-seeking.txt:
20816 Spelling correction
20818 * docs/gst/tmpl/gstevent.sgml:
20819 * docs/gst/tmpl/gstfakesrc.sgml:
20822 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20823 Treat a buffer-without-newsegment the same as a receiving
20824 a newsegment not in time format, and disable syncing to the clock
20827 * gst/gstbus.c: (gst_bus_set_sync_handler):
20828 Assert if anyone tries to replace the existing sync_handler for bus,
20829 as only the owner should be setting it.
20832 Have a fixed set of custom event enums with events identified by
20833 their structure name (as in 0.8), rather than a free-for-all
20834 allowing collisions between enum values from different plugins.
20836 * gst/gstpad.c: (gst_pad_class_init):
20839 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20840 Handle out-of-band downstream events from the sending thread.
20842 2005-08-17 Andy Wingo <wingo@pobox.com>
20844 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20845 play-timeout==0 to mean no timeout at all. In that case, don't
20846 bother with a get_state or a warning, just return directly, even
20849 * gst/base/gstbasetransform.c: Debug changes.
20852 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20853 ensure bins post state change messages. A bit of a hack but I can't
20854 think of a way to avoid it.
20856 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20858 2005-08-16 Andy Wingo <wingo@pobox.com>
20860 * gst/base/gstadapter.h:
20861 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20862 peek() but you own the data. Not terribly efficient atm.
20864 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20866 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20867 (gst_element_found_tags):
20869 Add two utility functions for tag handling.
20871 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20873 * docs/manual/advanced-dataaccess.xml:
20874 * docs/manual/basics-helloworld.xml:
20875 Fix docs to use _bin_add() before _link(), which fixes the examples
20876 with recent core versions (reported by Madhan Raj M
20877 <raj_madan@rediffmail.com>, #313199).
20879 2005-08-16 Wim Taymans <wim@fluendo.com>
20881 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20882 Added subtract checks.
20884 * docs/design/part-events.txt:
20885 Some more docs about newsegment
20887 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20890 * gst/gstcaps.c: (gst_caps_to_string):
20891 Add comments, cleanups.
20893 * gst/gstelement.c: (gst_element_save_thyself):
20896 * gst/gstvalue.c: (gst_value_collect_int_range),
20897 (gst_string_unwrap), (gst_value_union_int_int_range),
20898 (gst_value_union_int_range_int_range),
20899 (gst_value_intersect_int_int_range),
20900 (gst_value_intersect_int_range_int_range),
20901 (gst_value_intersect_double_double_range),
20902 (gst_value_intersect_double_range_double_range),
20903 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20904 (gst_value_subtract_int_range_int),
20905 (gst_value_subtract_double_range_double),
20906 (gst_value_subtract_double_range_double_range),
20907 (gst_value_subtract_from_list), (gst_value_subtract_list),
20908 (gst_value_can_compare), (gst_value_compare_fraction):
20909 Cleanups, add comments, remove unneeded asserts.
20911 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20913 * tools/gst-launch.c: (event_loop):
20914 don't convert NULL structures to strings
20916 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20918 * docs/gst/gstreamer-sections.txt:
20919 made some defines private
20920 * docs/gst/tmpl/gstconfig.sgml:
20921 * docs/gst/tmpl/gstqueue.sgml:
20922 * docs/gst/tmpl/gsttaglist.sgml:
20923 * docs/gst/tmpl/gsttypes.sgml:
20924 * docs/gst/tmpl/gstutils.sgml:
20925 * docs/pwg/appendix-porting.xml:
20926 * gst/base/gstbasesink.h:
20927 * gst/base/gstbasesrc.c:
20928 * gst/base/gstbasesrc.h:
20929 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20930 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20931 * gst/gstelement.c: (gst_element_class_init):
20932 * gst/gstpad.c: (gst_pad_class_init):
20933 * gst/gstqueue.c: (gst_queue_class_init):
20934 * gst/gstxml.c: (gst_xml_class_init):
20935 documented all undocumented signal inline
20936 * libs/gst/controller/gst-controller.h:
20939 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20941 * docs/pwg/appendix-porting.xml:
20942 Document _set_link_function -> _set_setcaps_function.
20944 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20946 * check/Makefile.am:
20947 add a .check target for running the check
20948 * check/gst-libs/controller.c: (GST_START_TEST):
20950 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20951 complete checks for gstbuffer; would be nice if I could get the
20952 gcov stuff to work so I can see if I actually completed gstbuffer.c
20953 * check/gstcheck.h:
20954 add ASSERT_BUFFER_REFCOUNT
20956 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20958 * docs/gst/gstreamer-sections.txt:
20959 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20961 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20962 spew out a warning if a tag that is already registered
20963 is re-registered, unless it is re-registered with a
20964 different type (#308438).
20966 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20968 * docs/pwg/appendix-porting.xml:
20969 * docs/pwg/building-state.xml:
20970 Add some paragraphs about state changes in 0.9 to the PWG
20971 and the porting guide, in particular about the new meaning
20972 of GST_STATE_PAUSED and how to write state change functions
20973 with concurrent access by multiple threads in mind.
20975 2005-08-11 Stefan Kost <ensonic@users.sf.net>
20977 * docs/gst/gstreamer-docs.sgml:
20978 * docs/libs/gstreamer-libs-docs.sgml:
20979 added deprecation and since indexes
20980 * libs/gst/controller/gst-controller.c:
20981 * libs/gst/controller/gst-helper.c:
20985 2005-08-11 Wim Taymans <wim@fluendo.com>
20987 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20988 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20989 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20990 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20991 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20992 (gst_ghost_pad_set_target):
20993 Actually implement (re)setting the target on a ghostpad
20994 as described in the docs.
20996 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
20998 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20999 Check whether GST_DEBUG_NO_COLOR environment variable is
21000 set and disable coloured debug output if that is the case.
21002 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21004 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21005 (gst_type_find_helper):
21006 The memory returned by gst_type_find_peek() needs to
21007 stay valid until the end of a typefind function, and
21008 typefind functions may keep results from different
21009 offsets around, so we can't just unref the buffer from
21010 the previous _peek(), but have to save all buffers
21011 returned by _peek() until typefinding is done and only
21014 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21016 * docs/gst/gstreamer-sections.txt:
21018 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21020 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21022 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21023 Fix a pretty good memleak.
21025 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21027 * gst/gstiterator.h:
21028 Fix wrong include and 'make distcheck'.
21030 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21032 * gst/gstbin.c: (bin_bus_handler):
21033 Use gst_element_post_message() instead.
21035 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21037 * gst/base/gstadapter.h:
21038 * gst/base/gstbasesink.h:
21039 * gst/base/gstbasesrc.h:
21040 * gst/base/gstbasetransform.h:
21041 * gst/base/gstcollectpads.h:
21042 * gst/base/gstpushsrc.h:
21043 * gst/gstiterator.h:
21044 Add padding to our base elements' class and instance structs and
21045 to GstIterator (you will need to rebuild all plugins and apps!)
21047 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21049 * gst/gstbin.c: (bin_bus_handler):
21050 Make default message forwarding from child->bus to bin->bus
21051 threadsafe and make it not emit warnings if the parent has no bus.
21053 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21055 * gst/gstelement.c: (activate_pads):
21056 On paused->ready, set pad->caps to NULL, as is the documented
21057 behaviour in this state change. Fixes playback of series of
21058 media files when visualization is enabled in Totem.
21060 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21062 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21063 Allow NULL as filter-caps (which means "any").
21065 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21067 * docs/libs/gstreamer-libs-sections.txt:
21068 * libs/gst/controller/gst-controller.c:
21069 * libs/gst/controller/gst-controller.h:
21070 * libs/gst/controller/gst-helper.c:
21071 adding more entries to the docs and fix small doc-bugs
21073 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21075 * docs/gst/gstreamer-docs.sgml:
21076 * docs/gst/gstreamer-sections.txt:
21077 * docs/gst/gstreamer.types:
21078 * docs/gst/tmpl/gstbasesink.sgml:
21079 * docs/gst/tmpl/gstbasesrc.sgml:
21080 * docs/gst/tmpl/gstbasetransform.sgml:
21081 * docs/gst/tmpl/gstfakesrc.sgml:
21082 * gst/base/gstcollectpads.c:
21083 * gst/base/gstcollectpads.h:
21084 * libs/gst/controller/gst-controller.c:
21085 * libs/gst/controller/gst-controller.h:
21086 * libs/gst/controller/gst-helper.c:
21087 * libs/gst/controller/gst-interpolation.c:
21088 * libs/gst/controller/lib.c:
21089 added long/short desc for controller docs
21090 added collectpads base class docs
21091 added correct includes to base-class docs
21093 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21095 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21096 (gst_test_mono_source_set_property),
21097 (gst_test_mono_source_class_init), (GST_START_TEST),
21098 (gst_controller_suite):
21099 * docs/gst/gstreamer-docs.sgml:
21100 * docs/gst/gstreamer-sections.txt:
21101 * docs/gst/gstreamer.types:
21102 * docs/libs/gstreamer-libs-docs.sgml:
21103 * docs/libs/gstreamer-libs-sections.txt:
21104 * gst/base/gstadapter.c:
21105 * libs/gst/controller/gst-controller.c:
21106 (gst_controlled_property_new), (gst_controlled_property_free),
21107 (gst_controller_new_valist),
21108 (gst_controller_remove_properties_valist),
21109 (gst_controller_sink_values), (_gst_controller_finalize):
21110 * libs/gst/controller/gst-controller.h:
21111 * libs/gst/controller/gst-helper.c:
21112 (gst_object_control_properties), (gst_object_uncontrol_properties),
21113 (gst_object_get_controller), (gst_object_set_controller),
21114 (gst_object_sink_values), (gst_object_get_value_arrays),
21115 (gst_object_get_value_array):
21116 more tests (and fixes) for the controller
21117 more docs for the controller
21118 integrated companies docs for the adapter
21120 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21122 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21123 (GST_START_TEST), (fakesrc_suite):
21124 add tests for sizetype
21126 2005-08-04 Andy Wingo <wingo@pobox.com>
21128 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21129 fixes buffer_alloc proxying among other things.
21131 * gst/base/gstbasetransform.c:
21132 * gst/base/gstbasetransform.h:
21133 Revert patch to gstbasetransform from 7-28 removing
21136 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21137 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21138 Semantics changed, should return not the size of the output buffer
21139 but the byte size of a buffer with a given caps.
21141 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21143 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21144 out) are not the pad caps until setcaps finishes.
21145 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21146 not-in-place case as well. Deal with changing from in-place to
21147 not-in-place within calling pad_alloc_buffer. Still a bit
21148 concerned about the overhead here...
21150 2005-08-03 Andy Wingo <wingo@pobox.com>
21152 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21153 fixating is an error.
21155 2005-08-04 Edward Hervey <edward@fluendo.com>
21157 * gst/base/gstadapter.h:
21158 Added gst_adapter_get_type() to the header
21160 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21162 * check/Makefile.am:
21163 * check/gst-libs/controller.c:
21164 * libs/gst/controller/gst-controller.c:
21165 (gst_controller_new_valist):
21166 added check test suite for the controller
21167 * gst/base/gstpushsrc.c:
21170 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21172 * docs/gst/Makefile.am:
21173 * docs/gst/gstreamer-docs.sgml:
21174 * docs/gst/gstreamer-sections.txt:
21175 * docs/gst/gstreamer.types:
21176 * docs/gst/tmpl/gstfakesrc.sgml:
21178 * gst/base/gstbasesink.c:
21179 * gst/base/gstbasesink.h:
21180 * gst/base/gstbasesrc.c:
21181 * gst/base/gstbasesrc.h:
21182 * gst/base/gstbasetransform.c:
21183 * gst/base/gstpushsrc.c:
21184 * gst/base/gstpushsrc.h:
21185 add short/long description docs to base classes
21186 add pushsrc to the docs
21187 remove consolidated doc fragments
21189 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21192 * docs/libs/Makefile.am:
21193 * docs/libs/gstreamer-libs-docs.sgml:
21194 * docs/libs/gstreamer-libs-sections.txt:
21195 * docs/libs/gstreamer-libs.types:
21196 * examples/Makefile.am:
21197 * examples/controller/.cvsignore:
21198 * examples/controller/Makefile.am:
21199 * examples/controller/audio-example.c: (main):
21200 * libs/gst/Makefile.am:
21201 * libs/gst/controller/.cvsignore:
21202 * libs/gst/controller/Makefile.am:
21203 * libs/gst/controller/gst-controller.c:
21204 (on_object_controlled_property_changed), (gst_timed_value_compare),
21205 (gst_timed_value_find),
21206 (gst_controlled_property_set_interpolation_mode),
21207 (gst_controlled_property_new), (gst_controlled_property_free),
21208 (gst_controller_find_controlled_property),
21209 (gst_controller_new_valist), (gst_controller_new),
21210 (gst_controller_remove_properties_valist),
21211 (gst_controller_remove_properties), (gst_controller_set),
21212 (gst_controller_set_from_list), (gst_controller_unset),
21213 (gst_controller_get), (gst_controller_get_all),
21214 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21215 (gst_controller_get_value_array),
21216 (gst_controller_set_interpolation_mode),
21217 (_gst_controller_finalize), (_gst_controller_init),
21218 (_gst_controller_class_init), (gst_controller_get_type):
21219 * libs/gst/controller/gst-controller.h:
21220 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21221 (g_object_uncontrol_properties), (g_object_get_controller),
21222 (g_object_set_controller), (g_object_sink_values),
21223 (g_object_get_value_arrays), (g_object_get_value_array):
21224 * libs/gst/controller/gst-interpolation.c:
21225 (gst_controlled_property_find_timed_value_node),
21226 (interpolate_none_get), (interpolate_trigger_get),
21227 (interpolate_trigger_get_value_array):
21228 * libs/gst/controller/lib.c: (gst_controller_init):
21229 * pkgconfig/Makefile.am:
21230 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21231 * pkgconfig/gstreamer-control.pc.in:
21232 * testsuite/Makefile.am:
21233 * testsuite/controller/.cvsignore:
21234 * testsuite/controller/Makefile.am:
21235 * testsuite/controller/interpolator.c: (main):
21236 added controller code
21237 removed dparam pc files
21239 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21240 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21241 (gst_collectpads_stop):
21242 Broadcast the condition when shutting down, to make sure we wake all
21243 threads up. Shut down pads on finalize, for safety.
21245 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21246 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21247 (gst_base_transform_handle_buffer),
21248 (gst_base_transform_change_state):
21249 Handle PAUSED->READY->PAUSED transition after negotiation
21251 * gst/gstmessage.c: (gst_message_init):
21252 Extra piece of debug for new messages.
21254 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21257 * docs/gst/tmpl/gstbasesrc.sgml:
21258 * docs/gst/tmpl/gstelement.sgml:
21259 * docs/gst/tmpl/gstevent.sgml:
21260 * docs/gst/tmpl/gstfakesrc.sgml:
21261 * docs/gst/tmpl/gstformat.sgml:
21262 * docs/gst/tmpl/gstghostpad.sgml:
21263 * docs/gst/tmpl/gstpad.sgml:
21264 * docs/gst/tmpl/gstquery.sgml:
21265 * docs/gst/tmpl/gststructure.sgml:
21266 * docs/gst/tmpl/gsttaglist.sgml:
21267 * docs/gst/tmpl/gstvalue.sgml:
21268 * docs/libs/gstreamer-libs-docs.sgml:
21269 * docs/libs/gstreamer-libs-sections.txt:
21270 * docs/libs/gstreamer-libs.types:
21271 * libs/gst/Makefile.am:
21272 * libs/gst/control/.cvsignore:
21273 * libs/gst/control/Makefile.am:
21274 * libs/gst/control/control.c:
21275 * libs/gst/control/control.h:
21276 * libs/gst/control/dparam.c:
21277 * libs/gst/control/dparam.h:
21278 * libs/gst/control/dparam_smooth.c:
21279 * libs/gst/control/dparam_smooth.h:
21280 * libs/gst/control/dparamcommon.h:
21281 * libs/gst/control/dparammanager.c:
21282 * libs/gst/control/dparammanager.h:
21283 * libs/gst/control/dplinearinterp.c:
21284 * libs/gst/control/dplinearinterp.h:
21285 * libs/gst/control/unitconvert.c:
21286 * libs/gst/control/unitconvert.h:
21287 * testsuite/Makefile.am:
21288 * testsuite/dynparams/.cvsignore:
21289 * testsuite/dynparams/Makefile.am:
21290 * testsuite/dynparams/dparamstest.c:
21291 * tools/Makefile.am:
21292 * tools/gst-inspect.c: (print_element_info), (main):
21293 * tools/gst-xmlinspect.c: (print_element_info), (main):
21294 deactivate and remove dparams (libgstcontrol)
21296 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21298 * gst/elements/gsttypefindelement.c:
21299 (gst_type_find_element_have_type), (gst_type_find_element_init),
21300 (stop_typefinding), (gst_type_find_element_handle_event),
21301 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21302 * gst/elements/gsttypefindelement.h:
21303 Set caps on all outgoing buffers, not just the first one.
21305 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21307 * gst/elements/gsttypefindelement.c:
21308 (gst_type_find_element_have_type),
21309 (gst_type_find_element_check_set_buffer_caps),
21310 (gst_type_find_element_init), (stop_typefinding),
21311 (gst_type_find_element_handle_event),
21312 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21313 * gst/elements/gsttypefindelement.h:
21314 Set caps on first outgoing buffer when we've found the type.
21316 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21318 * docs/gst/gstreamer-docs.sgml:
21319 * docs/gst/gstreamer-sections.txt:
21320 * docs/gst/tmpl/gstscheduler.sgml:
21321 * docs/gst/tmpl/gstschedulerfactory.sgml:
21322 Remove some old cruft from docs.
21324 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21327 Fix inline docs for GstPadLinkReturn.
21329 * gst/gststructure.c: (gst_structure_has_name):
21330 * gst/gststructure.h:
21331 * docs/gst/gstreamer-sections.txt:
21332 New API: gst_structure_has_name().
21334 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21337 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21338 and _LARGEFILE_SOURCE in config.h as required. Do not
21339 export those flags in our .pc files any longer (#142209).
21341 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21343 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21344 (gst_file_sink_do_seek), (gst_file_sink_event),
21345 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21346 Redo seek/tell calls with large file support in mind; add some
21347 debugging messages; add log message that tells us when large
21348 file support is unavailable or not enabled for some reason.
21350 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21351 Add log message that tells us when large file support
21352 is unavailable or not enabled for some reason.
21354 2005-07-29 Wim Taymans <wim@fluendo.com>
21356 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21357 Added test for removing an element with ghostpad from a bin.
21358 Fixed test as current implementation does the right thing.
21360 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21361 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21362 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21363 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21364 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21365 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21366 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21367 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21368 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21369 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21370 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21371 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21372 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21373 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21374 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21375 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21376 * gst/gstghostpad.h:
21377 Clean up ghostpads, remove properties for internal stuff.
21380 Prepare for switching targets, not all use cases work yet.
21382 2005-07-29 Wim Taymans <wim@fluendo.com>
21384 * docs/design/part-gstghostpad.txt:
21387 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21388 (gst_bin_remove_func):
21389 Unlinking pads while holding the bin LOCK is not a good
21392 * gst/gstpad.c: (gst_pad_class_init),
21393 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21394 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21395 No prob setting template after creating the pad.
21397 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21399 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21400 (gst_bus_peek), (gst_bus_source_dispatch),
21401 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21402 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21403 gst_bus_poll may be called from other threads. Handle
21404 this nicely by not making poll_data disappear off the
21405 stack once gst_bus_poll returns.
21406 gst_bus_peek now increments the refcount on the returned
21409 2005-07-29 Wim Taymans <wim@fluendo.com>
21411 * docs/design/part-gstghostpad.txt:
21412 Overview of current GhostPad datastructures and use
21413 cases for changing the target.
21415 2005-07-28 Wim Taymans <wim@fluendo.com>
21417 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21418 Added checks for hierarchy consistency whan adding linked
21421 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21422 Added check to test element scheduling without bin/pipeline.
21424 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21425 First add elements to bin, then link.
21427 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21428 (gst_bin_remove_func):
21429 Unlink pads from elements added/removed from bin to maintain
21430 hierarchy consistency.
21432 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21434 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21435 (gst_base_transform_handle_buffer):
21436 * gst/base/gstbasetransform.h:
21437 Remove broken delay_configure (fixes renegotiation of software
21438 scaling pipelines); remove some leftover printf()s.
21440 2005-07-28 Wim Taymans <wim@fluendo.com>
21442 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21443 Added some more tests for wrong hierarchy
21445 * docs/design/part-overview.txt:
21448 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21451 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21452 (gst_element_dispose):
21453 Some more cleanups.
21455 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21456 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21457 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21458 (gst_pad_set_caps), (gst_pad_send_event):
21459 Check for correct hierarchy when linking pads. Moving to
21460 strict requirement for ghostpads when linking elements in
21464 Clean ups. Added WRONG_HIERARCHY return value.
21466 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21468 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21469 Better debug if no transform is possible.
21471 2005-07-27 Wim Taymans <wim@fluendo.com>
21473 * docs/random/wtay/network-transp:
21474 Some old doc I had.
21476 2005-07-27 Wim Taymans <wim@fluendo.com>
21478 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21479 (gst_dp_event_from_packet):
21480 Fix serialization of seek events.
21482 2005-07-27 Wim Taymans <wim@fluendo.com>
21484 * check/gst-libs/gdp.c: (GST_START_TEST):
21485 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21486 Fix compilation and fix event serialization.
21488 2005-07-27 Wim Taymans <wim@fluendo.com>
21491 * docs/design/part-TODO.txt:
21492 * docs/design/part-events.txt:
21495 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21496 (gst_base_sink_event), (gst_base_sink_do_sync),
21497 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21498 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21499 (gst_base_src_do_seek), (gst_base_src_event_handler),
21500 (gst_base_src_loop):
21501 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21502 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21503 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21504 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21505 (gst_base_transform_set_passthrough),
21506 (gst_base_transform_is_passthrough):
21507 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21508 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21514 * gst/gstelement.c: (gst_element_seek):
21515 * gst/gstelement.h:
21516 Update gst_element_seek.
21518 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21519 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21520 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21521 (gst_event_new_eos), (gst_event_new_newsegment),
21522 (gst_event_parse_newsegment), (gst_event_new_tag),
21523 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21524 (gst_event_parse_qos), (gst_event_new_seek),
21525 (gst_event_parse_seek), (gst_event_new_navigation):
21527 Make GstEvent use GstStructure. Add parsing code, make sure the
21528 API is sufficiently generic.
21529 Mark possible directions of events and serialization.
21531 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21532 (_gst_message_copy), (gst_message_new_segment_start),
21533 (gst_message_new_segment_done), (gst_message_new_custom),
21534 (gst_message_parse_segment_start),
21535 (gst_message_parse_segment_done):
21538 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21539 (gst_pad_set_caps), (gst_pad_send_event):
21540 Update for new events.
21541 Catch events sent in wrong directions.
21543 * gst/gstqueue.c: (gst_queue_link_src),
21544 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21545 (gst_queue_handle_src_query):
21550 Remove event code from this file.
21552 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21553 (gst_dp_event_from_packet):
21556 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21558 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21559 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21560 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21561 Make debugging actually useful.
21563 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21565 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21566 (gst_pad_fixate_caps):
21567 Implement default fixation once again, so that gst_pad_fixate()
21568 actually does anything at all. This probably needs to be some
21569 sort of a last resort, and use profile-based fixation first, but
21570 since that doesn't exist yet, this is the best we have. Fixes
21571 visualization in Totem.
21573 2005-07-22 Wim Taymans <wim@fluendo.com>
21575 * docs/design/part-events.txt:
21578 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21579 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21580 (gst_base_sink_activate_pull):
21581 Some more comments.
21583 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21584 (gst_fake_src_create):
21585 Fix handoff marshall.
21587 * gst/elements/gstidentity.c: (gst_identity_class_init),
21588 (gst_identity_transform_ip):
21589 We're a real inplace element.
21591 * gst/gstbus.c: (gst_bus_post):
21592 Added some comments.
21594 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21595 * tests/muxing/case1.c: (main):
21596 * tests/sched/dynamic-pipeline.c: (main):
21597 * tests/sched/interrupt1.c: (main):
21598 * tests/sched/interrupt2.c: (main):
21599 * tests/sched/interrupt3.c: (main):
21600 * tests/sched/runxml.c: (main):
21601 * tests/sched/sched-stress.c: (main):
21602 * tests/seeking/seeking1.c: (event_received), (main):
21603 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21605 * tests/threadstate/threadstate3.c: (main):
21606 * tests/threadstate/threadstate4.c: (main):
21607 * tests/threadstate/threadstate5.c: (main):
21610 2005-07-21 Wim Taymans <wim@fluendo.com>
21612 * docs/design/part-seeking.txt:
21613 Some small additions.
21615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21616 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21617 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21618 * gst/base/gstbasesink.h:
21619 discont values are gint64, handle the math correctly.
21621 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21622 Make the basesrc report error if the source pad is not linked.
21624 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21625 (gst_queue_loop), (gst_queue_handle_src_query),
21626 (gst_queue_src_activate_push):
21627 Make queue collect data even if the srcpad is not linked.
21628 Start pushing out data as soon as it is linked.
21630 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21632 Added gst_flow_get_name() to ease error reporting.
21634 2005-07-20 Wim Taymans <wim@fluendo.com>
21636 * gst/gstmessage.c: (gst_message_new_segment_start),
21637 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21638 (gst_message_parse_segment_done):
21639 * gst/gstmessage.h:
21640 Added a bunch of messages for advanced seeking.
21642 * gst/parse/grammar.y:
21643 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21644 (gst_dpman_state_changed):
21645 Fix some new-pad -> pad-added signals
21647 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21649 * docs/manual/appendix-porting.xml:
21650 * docs/pwg/appendix-porting.xml:
21651 Document new-pad/state-change signal renames and the FixedList
21654 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21656 * docs/manual/advanced-autoplugging.xml:
21657 * docs/manual/basics-helloworld.xml:
21658 * docs/manual/basics-pads.xml:
21659 * docs/random/ds/0.9-suggested-changes:
21660 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21661 * gst/gstelement.h:
21665 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21666 (gst_structure_parse_array), (gst_structure_parse_value):
21667 * gst/gstvalue.c: (gst_type_is_fixed),
21668 (gst_value_list_prepend_value), (gst_value_list_append_value),
21669 (gst_value_list_get_size), (gst_value_list_get_value),
21670 (gst_value_transform_array_string), (gst_value_serialize_array),
21671 (gst_value_deserialize_array), (gst_value_intersect_array),
21672 (gst_value_is_fixed), (_gst_value_initialize):
21674 GstElement::new-pad -> pad-added, GstElement::state-change ->
21675 state-changed, GstValueFixedList -> GstValueArray, add format and
21676 flags as their own arguments in gst_element_seek() (should improve
21677 "bindeability"), remove function generators since they don't work
21678 under a whole bunch of compilers (they were deprecated already
21681 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21683 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21684 (_gst_debug_register_funcptr):
21686 Fix illegal cast on some platforms (#309253).
21688 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21690 * gst/gstmessage.c: (gst_message_new_custom):
21691 * gst/gstmessage.h:
21692 Add _new_custom, make _new_application a macro to _new_custom.
21694 2005-07-20 Wim Taymans <wim@fluendo.com>
21696 * gst/base/gstbasesrc.c: (gst_base_src_init),
21697 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21698 * gst/base/gstbasesrc.h:
21699 Add a gboolean to decide when to push out a discont.
21701 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21702 (gst_queue_loop), (gst_queue_handle_src_query),
21703 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21704 (gst_queue_set_property), (gst_queue_get_property):
21707 * tests/threadstate/threadstate1.c: (main):
21708 Make a thread test compile and run... very silly..
21711 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21713 * docs/manual/appendix-porting.xml:
21714 Mention removal of libgstgconf-0.9.la and existence of gconf
21717 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21719 * docs/pwg/advanced-clock.xml:
21720 * docs/pwg/appendix-porting.xml:
21721 * docs/pwg/intro-preface.xml:
21722 * docs/pwg/other-base.xml:
21723 * docs/pwg/other-manager.xml:
21724 * docs/pwg/other-nton.xml:
21725 * docs/pwg/other-ntoone.xml:
21726 * docs/pwg/other-oneton.xml:
21727 * docs/pwg/pwg.xml:
21728 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21729 demuxer), remove n-to-n (was never written), fix some code examples
21730 and links and update the porting section to include all this.
21732 2005-07-19 Wim Taymans <wim@fluendo.com>
21734 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21735 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21736 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21737 (gst_queue_src_activate_push), (gst_queue_change_state),
21738 (gst_queue_get_property):
21740 Propagate GstFlowReturn more intelligently upstream and output
21741 an ERROR/EOS when streaming stopped due to fatal error.
21743 2005-07-19 Wim Taymans <wim@fluendo.com>
21745 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21746 Don't block forever for the state change to complete, the
21747 pipeline already did with a sensible timeout.
21749 2005-07-19 Wim Taymans <wim@fluendo.com>
21751 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21752 Make sure we never call the create function is we
21755 2005-07-19 Andy Wingo <wingo@pobox.com>
21757 * gst/parse/parse.l: Attempt to solve bug #172815.
21759 2005-07-19 Wim Taymans <wim@fluendo.com>
21761 * docs/design/part-clocks.txt:
21762 * docs/design/part-events.txt:
21763 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21764 Small docs updates.
21765 Only update the seeking values when we are not
21768 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21770 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21771 Oops, ignore the result of gst_pad_push_event here.
21773 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21775 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21776 (gst_base_src_activate_push):
21777 Send discont event from the loop function, as pads
21778 aren't activated yet in the activate_push handler.
21780 * gst/gstbin.c: (bin_bus_handler):
21781 Don't leak element name.
21783 2005-07-18 Andy Wingo <wingo@pobox.com>
21785 * configure.ac: Use AS_LIBTOOL_TAGS.
21787 2005-07-18 Wim Taymans <wim@fluendo.com>
21789 * docs/gst/gstreamer.types:
21790 Remove deleted types.
21792 2005-07-18 Wim Taymans <wim@fluendo.com>
21794 * check/elements/gstfakesrc.c: (GST_START_TEST):
21797 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21798 (init_popt_callback):
21800 * gst/gst_private.h:
21801 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21802 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21805 * gst/gstconfig.h.in:
21806 * gst/gstelement.c: (gst_element_class_init),
21807 (gst_element_set_base_time), (gst_element_get_base_time),
21808 (iterator_fold_with_resync), (gst_element_change_state),
21809 (gst_element_dispose), (gst_element_get_bus):
21810 * gst/gstelement.h:
21811 * gst/gstelementfactory.h:
21812 * gst/gsterror.c: (_gst_core_errors_init):
21815 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21817 * gst/gstinfo.c: (_gst_debug_init):
21818 * gst/gstmessage.c: (_gst_message_copy):
21819 * gst/gstmessage.h:
21820 * gst/gstminiobject.h:
21823 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21824 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21827 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21828 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21829 (gst_pipeline_get_last_stream_time):
21830 * gst/gstpipeline.h:
21831 * gst/gstpluginfeature.h:
21833 * gst/gstscheduler.c:
21834 * gst/gstscheduler.h:
21835 * gst/gststructure.h:
21836 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21837 (gst_task_finalize), (gst_task_func), (gst_task_create),
21838 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21839 (gst_task_stop), (gst_task_pause):
21841 * gst/gsttypefind.h:
21843 * gst/registries/gstlibxmlregistry.c: (load_feature),
21844 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21845 * gst/registries/gstxmlregistry.c:
21846 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21847 * gst/schedulers/threadscheduler.c:
21848 * libs/gst/control/dparammanager.h:
21849 * tools/gst-inspect.c: (print_element_list),
21850 (print_plugin_features), (print_element_features):
21851 * tools/gst-xmlinspect.c: (print_element_list),
21852 (print_plugin_info), (main):
21853 Removed plugable schedulers.
21854 Removed Scheduler/Manager from elements.
21855 Removed gsttypes.h, rearranged includes.
21856 Removed dependency pad<->element, element<>pipeline, and
21857 various others, fix includes.
21858 implement gst_pad_get_parent() with gst_object_get_parent()
21859 Make GstTask sefcontained.
21860 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21862 Fix endless loop in iterator_fold_with_resync.
21865 2005-07-18 Wim Taymans <wim@fluendo.com>
21871 2005-07-18 Wim Taymans <wim@fluendo.com>
21874 No more cothreads.h
21876 2005-07-18 Wim Taymans <wim@fluendo.com>
21880 Let's remove these.
21882 2005-07-18 Wim Taymans <wim@fluendo.com>
21884 * docs/design/part-dynamic.txt:
21885 * docs/design/part-events.txt:
21886 * docs/design/part-seeking.txt:
21887 Some more docs in the works.
21889 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21890 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21891 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21892 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21893 (gst_base_transform_handle_buffer),
21894 (gst_base_transform_sink_activate_push),
21895 (gst_base_transform_src_activate_pull),
21896 (gst_base_transform_set_passthrough),
21897 (gst_base_transform_is_passthrough):
21900 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21903 * gst/gstevent.c: (gst_event_finalize):
21906 * gst/gstutils.c: (gst_element_unlink),
21907 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21908 (gst_pad_proxy_setcaps):
21910 Add _get_parent_element() to get a pads parent as an element.
21912 2005-07-18 Wim Taymans <wim@fluendo.com>
21914 * check/gst/gstbin.c: (GST_START_TEST):
21917 2005-07-18 Wim Taymans <wim@fluendo.com>
21919 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21920 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21921 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21922 (gst_base_sink_event), (gst_base_sink_do_sync),
21923 (gst_base_sink_chain), (gst_base_sink_loop),
21924 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21925 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21927 Fix logic for returning ASYNC when not prerolled.
21929 2005-07-18 Wim Taymans <wim@fluendo.com>
21931 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21932 Fix nasty refcount bug.
21934 2005-07-16 Philippe Khalaf <burger@speedy.org>
21936 * gst/elements/gstfdsrc.c:
21937 * gst/elements/gstfdsrc.h:
21938 * gst/elements/gstelements.c:
21939 * gst/elements/Makefile.am:
21940 Ported fdsrc to 0.9.
21942 2005-07-16 Wim Taymans <wim@fluendo.com>
21944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21945 (gst_base_sink_do_sync):
21948 2005-07-16 Wim Taymans <wim@fluendo.com>
21950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21951 (gst_base_sink_event), (gst_base_sink_get_times),
21952 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21953 * gst/base/gstbasesink.h:
21954 Store and use discont values when syncing buffers as described
21957 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21958 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21959 (gst_base_src_activate_push):
21960 Push discont event when starting.
21962 * gst/elements/gstidentity.c: (gst_identity_transform):
21965 * gst/gstbin.c: (gst_bin_change_state):
21966 Small cleanups in base_time distribution.
21968 * gst/gstelement.c: (gst_element_set_base_time),
21969 (gst_element_get_base_time), (gst_element_change_state):
21970 * gst/gstelement.h:
21971 Added methods for the base_time of the element.
21974 * gst/gstpipeline.c: (gst_pipeline_send_event),
21975 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21976 (gst_pipeline_get_last_stream_time):
21977 * gst/gstpipeline.h:
21979 Handle seeking as described in design doc, remove stream_time
21981 Cleanups clock and stream_time selection code. Added accessors
21982 for the stream_time.
21985 2005-07-16 Andy Wingo <wingo@pobox.com>
21987 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21990 2005-07-16 Wim Taymans <wim@fluendo.com>
21992 * check/gst/gstbin.c: (GST_START_TEST):
21993 Make elements silent as the deep_notify refs the
21994 parent, which might make the test fail.
21996 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21997 Don't hold the lock for too long.
21999 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22001 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22002 Don't unref the caps we passed to gst_caps_make_writable() after
22003 passing them. gst_caps_make_writable() will do that for us.
22005 2005-07-15 Andy Wingo <wingo@pobox.com>
22007 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22010 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22011 own marshalling function for the handoff signal. Properly type the
22012 buffer as a buffer. Fixes some warnings. Should do a more general
22014 (gst_identity_class_init): Plug into the right marshaller.
22016 2005-07-15 Wim Taymans <wim@fluendo.com>
22018 * docs/design/part-TODO.txt:
22019 * docs/design/part-clocks.txt:
22020 * docs/design/part-element-sink.txt:
22021 * docs/design/part-events.txt:
22022 * docs/design/part-gstpipeline.txt:
22023 Updated docs, mostly DISCONT related.
22025 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22027 * docs/pwg/building-pads.xml:
22028 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22030 2005-07-15 Andy Wingo <wingo@pobox.com>
22032 * tools/gst-typefind.c: Update, add copyright block.
22034 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22035 Normalize and truncate caps before fixation.
22038 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22039 discards all but the first structure from its argument.
22041 2005-07-15 Wim Taymans <wim@fluendo.com>
22043 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22044 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22045 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22046 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22047 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22048 (gst_base_transform_chain), (gst_base_transform_change_state),
22049 (gst_base_transform_set_passthrough),
22050 (gst_base_transform_is_passthrough):
22051 * gst/base/gstbasetransform.h:
22052 Make passthrough work using the bufferpools.
22053 Changed API a bit, subclasses have to write into a buffer
22054 provided by the base class.
22055 More debug info in nego functions.
22057 * gst/elements/gstidentity.c: (gst_identity_init),
22058 (gst_identity_transform):
22059 Port to new base class.
22061 2005-07-15 Wim Taymans <wim@fluendo.com>
22063 * gst/gstmessage.c: (gst_message_new_state_changed):
22064 * tools/gst-launch.c: (event_loop), (main):
22065 Totally dump messages in -launch with the -m option.
22066 Fix message name for State messages,
22068 2005-07-14 Wim Taymans <wim@fluendo.com>
22070 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22071 Post error messages on errors.
22073 2005-07-14 Wim Taymans <wim@fluendo.com>
22075 * gst/gstcaps.c: (gst_caps_do_simplify):
22079 Define error for stream stopped.
22081 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22082 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22083 Do proper return values.
22085 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22086 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22087 (gst_pad_get_range):
22088 Better return values.
22091 Reorganise return values, add macro to check for fatal errors.
22093 * gst/gstqueue.c: (gst_queue_chain):
22094 Return proper GstFlowReturn values,
22096 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22098 * docs/gst/gstreamer-sections.txt:
22099 * docs/gst/gstreamer.types:
22100 * docs/gst/tmpl/gst.sgml:
22101 * docs/gst/tmpl/gstbasesink.sgml:
22102 * docs/gst/tmpl/gstbasesrc.sgml:
22103 * docs/gst/tmpl/gstbasetransform.sgml:
22104 * docs/gst/tmpl/gstbin.sgml:
22105 * docs/gst/tmpl/gstbuffer.sgml:
22106 * docs/gst/tmpl/gstcaps.sgml:
22107 * docs/gst/tmpl/gstclock.sgml:
22108 * docs/gst/tmpl/gstcompat.sgml:
22109 * docs/gst/tmpl/gstconfig.sgml:
22110 * docs/gst/tmpl/gstelement.sgml:
22111 * docs/gst/tmpl/gstelementdetails.sgml:
22112 * docs/gst/tmpl/gstelementfactory.sgml:
22113 * docs/gst/tmpl/gstenumtypes.sgml:
22114 * docs/gst/tmpl/gsterror.sgml:
22115 * docs/gst/tmpl/gstevent.sgml:
22116 * docs/gst/tmpl/gstfakesink.sgml:
22117 * docs/gst/tmpl/gstfakesrc.sgml:
22118 * docs/gst/tmpl/gstfilesink.sgml:
22119 * docs/gst/tmpl/gstfilesrc.sgml:
22120 * docs/gst/tmpl/gstfilter.sgml:
22121 * docs/gst/tmpl/gstformat.sgml:
22122 * docs/gst/tmpl/gstghostpad.sgml:
22123 * docs/gst/tmpl/gstimplementsinterface.sgml:
22124 * docs/gst/tmpl/gstindex.sgml:
22125 * docs/gst/tmpl/gstindexfactory.sgml:
22126 * docs/gst/tmpl/gstinfo.sgml:
22127 * docs/gst/tmpl/gstiterator.sgml:
22128 * docs/gst/tmpl/gstmacros.sgml:
22129 * docs/gst/tmpl/gstmemchunk.sgml:
22130 * docs/gst/tmpl/gstminiobject.sgml:
22131 * docs/gst/tmpl/gstobject.sgml:
22132 * docs/gst/tmpl/gstpad.sgml:
22133 * docs/gst/tmpl/gstpadtemplate.sgml:
22134 * docs/gst/tmpl/gstparse.sgml:
22135 * docs/gst/tmpl/gstpipeline.sgml:
22136 * docs/gst/tmpl/gstplugin.sgml:
22137 * docs/gst/tmpl/gstpluginfeature.sgml:
22138 * docs/gst/tmpl/gstquery.sgml:
22139 * docs/gst/tmpl/gstqueue.sgml:
22140 * docs/gst/tmpl/gstregistry.sgml:
22141 * docs/gst/tmpl/gstregistrypool.sgml:
22142 * docs/gst/tmpl/gstscheduler.sgml:
22143 * docs/gst/tmpl/gstschedulerfactory.sgml:
22144 * docs/gst/tmpl/gststructure.sgml:
22145 * docs/gst/tmpl/gstsystemclock.sgml:
22146 * docs/gst/tmpl/gsttaglist.sgml:
22147 * docs/gst/tmpl/gsttagsetter.sgml:
22148 * docs/gst/tmpl/gsttrace.sgml:
22149 * docs/gst/tmpl/gsttrashstack.sgml:
22150 * docs/gst/tmpl/gsttypefind.sgml:
22151 * docs/gst/tmpl/gsttypefindfactory.sgml:
22152 * docs/gst/tmpl/gsttypes.sgml:
22153 * docs/gst/tmpl/gsturihandler.sgml:
22154 * docs/gst/tmpl/gsturitype.sgml:
22155 * docs/gst/tmpl/gstutils.sgml:
22156 * docs/gst/tmpl/gstvalue.sgml:
22157 * docs/gst/tmpl/gstversion.sgml:
22158 * docs/gst/tmpl/gstxml.sgml:
22159 * docs/libs/tmpl/gstcontrol.sgml:
22160 * docs/libs/tmpl/gstdataprotocol.sgml:
22161 * docs/libs/tmpl/gstdparam.sgml:
22162 * docs/libs/tmpl/gstdplinint.sgml:
22163 * docs/libs/tmpl/gstdpman.sgml:
22164 * docs/libs/tmpl/gstdpsmooth.sgml:
22165 * docs/libs/tmpl/gstgetbits.sgml:
22166 * docs/libs/tmpl/gstunitconvert.sgml:
22167 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22168 (gst_push_src_base_init), (gst_push_src_class_init),
22169 (gst_push_src_init), (gst_push_src_create):
22170 * gst/base/gstpushsrc.h:
22171 * gst/elements/gstelements.c:
22172 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22173 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22174 (gst_fake_sink_init), (gst_fake_sink_set_property),
22175 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22176 (gst_fake_sink_event), (gst_fake_sink_preroll),
22177 (gst_fake_sink_render), (gst_fake_sink_change_state):
22178 * gst/elements/gstfakesink.h:
22179 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22180 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22181 (gst_fake_src_base_init), (gst_fake_src_class_init),
22182 (gst_fake_src_init), (gst_fake_src_event_handler),
22183 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22184 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22185 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22186 (gst_fake_src_create_buffer), (gst_fake_src_create),
22187 (gst_fake_src_start), (gst_fake_src_stop):
22188 * gst/elements/gstfakesrc.h:
22189 * gst/elements/gstfilesink.c: (_do_init),
22190 (gst_file_sink_base_init), (gst_file_sink_class_init),
22191 (gst_file_sink_init), (gst_file_sink_dispose),
22192 (gst_file_sink_set_location), (gst_file_sink_set_property),
22193 (gst_file_sink_get_property), (gst_file_sink_open_file),
22194 (gst_file_sink_close_file), (gst_file_sink_query),
22195 (gst_file_sink_event), (gst_file_sink_render),
22196 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22197 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22198 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22199 * gst/elements/gstfilesink.h:
22200 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22201 (gst_file_src_class_init), (gst_file_src_init),
22202 (gst_file_src_finalize), (gst_file_src_set_location),
22203 (gst_file_src_set_property), (gst_file_src_get_property),
22204 (gst_file_src_map_region), (gst_file_src_map_small_region),
22205 (gst_file_src_create_mmap), (gst_file_src_create_read),
22206 (gst_file_src_create), (gst_file_src_is_seekable),
22207 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22208 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22209 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22210 (gst_file_src_uri_handler_init):
22211 * gst/elements/gstfilesrc.h:
22212 more autistic cleanliness in functions/names/defines
22214 2005-07-13 Andy Wingo <wingo@pobox.com>
22216 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22217 source couldn't negotiate.
22219 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22223 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22224 function. I am channeling Hades. Put your boots on suckers!!!
22226 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22228 * testsuite/caps/Makefile.am:
22229 * testsuite/caps/value_compare.c:
22230 * testsuite/caps/value_intersect.c:
22231 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22232 move two testsuite apps over to the check dir
22234 2005-07-12 Wim Taymans <wim@fluendo.com>
22236 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22237 Added more debug info in the negotiate process.
22239 * gst/gstmessage.h:
22240 Prepare for segment playback.
22242 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22248 * tools/gst-launch.c: (main):
22249 NULL pipeline on errors.
22251 2005-07-12 Andy Wingo <wingo@pobox.com>
22253 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22254 not it comes from a malloc region. Make sure our copy gets freed.
22256 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22258 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22259 * check/gst/gstmessage.c: (GST_START_TEST):
22260 * check/gst/gststructure.c: (GST_START_TEST),
22261 (gst_structure_suite), (main):
22263 * gst/gstelement.c: (gst_element_message_full):
22264 clean up GError and debug string now that they get copied
22265 * gst/gstmessage.c: (gst_message_new_error),
22266 (gst_message_new_warning), (gst_message_parse_error),
22267 (gst_message_parse_warning):
22268 use GST_TYPE_G_ERROR for structure_new, and take copies of
22269 arguments, so that we don't mess up refcounting
22271 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22273 * check/Makefile.am:
22274 add per-test valgrind targets
22275 * check/gst-libs/gdp.c: (GST_START_TEST),
22276 (gst_data_protocol_suite), (main):
22279 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22281 * check/Makefile.am:
22282 instate more valgrindable tests
22283 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22284 (GST_START_TEST), (fakesrc_suite):
22285 * check/gst/gstpad.c: (GST_START_TEST):
22286 * check/gst/gststructure.c: (GST_START_TEST):
22288 * docs/gst/tmpl/gstminiobject.sgml:
22289 * gst/gstpad.c: (gst_pad_finalize):
22290 fix the static mutex leak
22292 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22294 * check/Makefile.am:
22295 add two more tests for valgrinding
22296 * check/gst/gstvalue.c: (GST_START_TEST):
22297 test refcount of deserialized buffer, found a leak
22298 * docs/gst/gstreamer-docs.sgml:
22299 * docs/gst/gstreamer-sections.txt:
22300 * docs/gst/gstreamer.types:
22301 * docs/gst/tmpl/gstminiobject.sgml:
22302 add miniobject to docs
22303 * gst/gstminiobject.c:
22305 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22306 (gst_string_unwrap):
22307 fix a hard-to-find invalid write for one of the tests
22308 fix a leak for deserialized buffers
22310 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22312 * docs/pwg/advanced-events.xml:
22313 * docs/pwg/advanced-request.xml:
22314 * docs/pwg/advanced-scheduling.xml:
22315 * docs/pwg/appendix-porting.xml:
22316 * docs/pwg/building-boiler.xml:
22317 * docs/pwg/intro-preface.xml:
22318 * docs/pwg/other-ntoone.xml:
22319 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22320 of example code and explanation for pad activation, loop() and
22321 getrange() functions and a bit more. Remove old comments pointing
22323 * examples/pwg/Makefile.am:
22324 Add loop/getrange examples.
22326 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22329 check for valgrind binary + some fixes
22331 valgrind suppressions for the tests
22332 * check/Makefile.am:
22333 add a valgrind: target that valgrinds the unit tests
22334 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22335 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22336 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22337 * check/gst/gstghostpad.c:
22339 * check/gst/gstdata.c:
22341 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22342 (thread_unref), (gst_mini_object_suite), (main):
22344 * gst/gst.c: (gst_deinit):
22346 add a method to clean up.
22347 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22348 (gst_system_clock_obtain):
22349 allow for disposing the system clock.
22350 * tools/gst-launch.c: (main):
22353 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22355 * docs/gst/tmpl/gstbasesrc.sgml:
22356 * docs/gst/tmpl/gstfakesrc.sgml:
22357 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22358 (gst_base_src_init), (gst_base_src_set_property),
22359 (gst_base_src_get_property), (gst_base_src_get_range),
22360 (gst_base_src_start):
22361 * gst/base/gstbasesrc.h:
22362 add num-buffers property
22363 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22364 (gst_fakesrc_init), (gst_fakesrc_set_property),
22365 (gst_fakesrc_get_property), (gst_fakesrc_create),
22366 (gst_fakesrc_start):
22367 remove num-buffers property
22369 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22371 * docs/gst/gstreamer-sections.txt:
22372 * docs/gst/tmpl/gstbasesink.sgml:
22373 * docs/gst/tmpl/gstbasesrc.sgml:
22374 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22375 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22376 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22377 (gst_base_sink_set_property), (gst_base_sink_get_property),
22378 (gst_base_sink_handle_object), (gst_base_sink_event),
22379 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22380 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22381 (gst_base_sink_loop), (gst_base_sink_deactivate),
22382 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22383 (gst_base_sink_change_state):
22384 * gst/base/gstbasesink.h:
22385 * gst/base/gstbasesrc.h:
22386 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22387 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22388 (gst_filesink_init):
22389 more macro splitting
22391 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22393 * gst/gstelement.c: (gst_element_get_bus):
22395 * tools/gst-launch.c: (check_intr), (event_loop):
22398 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22400 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22403 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22405 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22406 (gst_base_src_finalize):
22407 add finalize method and clean up properly
22408 * gst/gstpipeline.c: (gst_pipeline_dispose):
22411 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22413 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22415 add more things to check
22416 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22417 * gst/gstelement.c:
22420 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22422 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22423 (GST_START_TEST), (fakesrc_suite):
22424 * check/gst-libs/gdp.c: (GST_START_TEST):
22425 * check/gst/gst.c: (GST_START_TEST):
22426 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22427 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22428 * check/gst/gstbus.c: (GST_START_TEST):
22429 * check/gst/gstcaps.c: (GST_START_TEST):
22430 * check/gst/gstdata.c: (GST_START_TEST):
22431 * check/gst/gstelement.c: (GST_START_TEST):
22432 * check/gst/gstghostpad.c: (GST_START_TEST):
22433 * check/gst/gstiterator.c: (GST_START_TEST):
22434 * check/gst/gstmessage.c: (GST_START_TEST):
22435 * check/gst/gstobject.c: (GST_START_TEST):
22436 * check/gst/gstpad.c: (GST_START_TEST):
22437 * check/gst/gststructure.c: (GST_START_TEST):
22438 * check/gst/gstsystemclock.c: (GST_START_TEST),
22439 (gst_systemclock_suite):
22440 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22441 * check/gst/gstvalue.c: (GST_START_TEST):
22442 * check/pipelines/cleanup.c: (GST_START_TEST):
22443 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22444 * check/states/sinks.c: (GST_START_TEST):
22445 * check/gstcheck.c: (gst_check_init):
22446 * check/gstcheck.h:
22447 add debugging category
22448 use GST_START_TEST now, so we add a debug line
22450 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22452 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22453 add test for state change message on a bin
22454 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22456 * gst/gstbin.c: (gst_bin_init):
22457 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22458 * gst/gstelement.c: (gst_element_post_message),
22459 (gst_element_set_state):
22460 * gst/gstelementfactory.c: (gst_element_factory_create):
22461 * gst/gstmessage.c: (gst_message_new):
22462 * gst/gstscheduler.c:
22463 various debugging additions and cleanups
22465 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22467 * check/Makefile.am:
22468 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22470 adding tests for elements
22471 * gst/gstelement.c: (gst_element_dispose):
22473 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22475 * gst/registries/gstlibxmlregistry.c: (load_feature):
22476 plug more leaks. A simple gst_init() now is leakfree, yay.
22478 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22480 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22481 (gst_xml_registry_load):
22482 plug another memleak
22484 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22487 use GST_SET_ERROR_CFLAGS
22488 * docs/faq/cvs.xml:
22489 change to ERROR_CFLAGS
22491 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22494 make GST_ERROR_CFLAGS overridable and re-enable Werror
22495 * docs/faq/cvs.xml:
22496 add a note about error CFLAGS
22497 * docs/gst/tmpl/gstfakesrc.sgml:
22498 * gst/elements/gstfakesrc.c:
22499 comment out some unused code
22500 * gst/gst.c: (split_and_iterate):
22501 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22505 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22507 * common/Makefile.am:
22508 * common/gtk-doc.mak:
22509 * docs/gst/Makefile.am:
22510 factor out gtk-doc.mak
22512 2005-07-07 Wim Taymans <wim@fluendo.com>
22514 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22515 (gst_thread_scheduler_dispose):
22516 Unlock the STREAM_LOCK completely.
22518 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22520 * check/Makefile.am:
22521 * check/elements/.cvsignore:
22522 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22523 (START_TEST), (fakesrc_suite), (main):
22524 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22525 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22526 (gst_fakesrc_create), (gst_fakesrc_start):
22527 * gst/elements/gstfakesrc.h:
22528 adding a first element test
22530 2005-07-07 Andy Wingo <wingo@pobox.com>
22532 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22535 2005-07-07 Wim Taymans <wim@fluendo.com>
22541 2005-07-07 Wim Taymans <wim@fluendo.com>
22543 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22544 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22545 Allow subclasses to implement their own negotiation.
22547 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22549 * docs/design/part-gstbin.txt:
22550 * docs/design/part-gstpipeline.txt:
22551 Update design notes to reflect the movement of
22552 responsibility for bus handling from GstPipeline to
22555 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22558 Remove unnecessary queue2/3/4 examples.
22560 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22562 * examples/Makefile.am:
22563 * examples/helloworld/helloworld.c: (event_loop), (main):
22564 * examples/queue/queue.c: (event_loop), (main):
22565 * examples/queue2/queue2.c: (main):
22566 Update a couple of the examples to work again.
22568 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22569 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22570 Spelling corrections and extra debug.
22572 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22573 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22574 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22576 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22577 (gst_pipeline_change_state):
22578 * gst/gstpipeline.h:
22579 Move the bus handler for children to the GstBin, and create a
22580 separate bus for receiving messages from children to the one the
22581 bus sends 'upwards' on.
22583 2005-07-06 Wim Taymans <wim@fluendo.com>
22586 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22587 (gst_base_sink_handle_object), (gst_base_sink_loop),
22588 (gst_base_sink_change_state):
22589 * gst/base/gstbasesink.h:
22590 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22591 (gst_base_src_init), (gst_base_src_setcaps),
22592 (gst_base_src_getcaps), (gst_base_src_loop),
22593 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22594 (gst_base_src_start), (gst_base_src_change_state):
22595 * gst/base/gstbasesrc.h:
22596 Make basesrc negotiate.
22597 Handle the case where preroll fails in basesink.
22600 2005-07-06 Wim Taymans <wim@fluendo.com>
22602 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22603 Implement the fixate function.
22604 Clean up acceptcaps.
22606 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22608 * docs/pwg/building-filterfactory.xml:
22609 * docs/pwg/pwg.xml:
22610 Remove never-written filter-factory chapter; I'll add the various
22611 base classes to part 4 ("other element types") later on.
22613 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22615 * docs/pwg/advanced-negotiation.xml:
22616 * docs/pwg/building-boiler.xml:
22617 * docs/pwg/building-pads.xml:
22618 * docs/pwg/pwg.xml:
22619 * examples/pwg/Makefile.am:
22620 Add a chapter on caps negotiation, simplify the original code
22621 samples a bit w.r.t. caps negotiation, add link to the advanced
22622 section. Add a bunch of examples showing different use cases of
22623 different types of caps negotiation. Upstream renegotiation isn't
22624 fully documented yet since nobody knows how that works.
22626 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22628 * check/gst/gstpad.c:
22629 * check/gstcheck.c:
22630 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22631 if pad has no parent, return NULL as list of internal links
22633 2005-07-05 Andy Wingo <wingo@pobox.com>
22635 * gst/elements/gstfilesrc.c:
22636 * gst/elements/gstfakesrc.c:
22637 * gst/base/gstpushsrc.c:
22638 * gst/base/gstbasesrc.h:
22639 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22641 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22644 better report generation target (lcov needs a patch)
22646 2005-07-05 Andy Wingo <wingo@pobox.com>
22648 * gst/elements, testsuite: Null if we got it...
22650 2005-07-05 Wim Taymans <wim@fluendo.com>
22653 * libs/gst/dataprotocol/Makefile.am:
22654 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22655 * libs/gst/dataprotocol/dataprotocol.h:
22656 * pkgconfig/Makefile.am:
22657 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22658 * pkgconfig/gstreamer-dataprotocol.pc.in:
22659 Ported dataprotol to 0.9.
22660 Added pkgconfig files.
22662 2005-07-05 Andy Wingo <wingo@pobox.com>
22664 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22665 Default to returning TRUE for the case when tranform_caps returns
22666 a fixed caps, like for identity or volume.
22668 * check/gst/gstbus.c (pound_bus_with_messages):
22669 * check/gst/gstmessage.c (START_TEST):
22670 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22671 message API change.
22673 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22674 logic weaks here: always run transform_caps, trying passthrough
22675 operation only if the original caps intersects with the transform.
22677 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22678 source and sink caps.
22680 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22681 Intersect the peer caps with the pad template before going into
22683 (gst_base_transform_transform_caps): More debugging.
22685 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22688 2005-07-04 Edward Hervey <edward@fluendo.com>
22692 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22695 2005-07-04 Andy Wingo <wingo@pobox.com>
22697 * check/gst/gstpad.c: Only set explicit caps on pads.
22699 2005-07-01 Andy Wingo <wingo@pobox.com>
22701 * tests/network-clock.scm: Commentary update.
22703 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22704 Didn't really make sense, not implementable with basetransform,
22706 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22707 attempt at implementing the sync property, needs an unlock method.
22709 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22710 New func, by default returns the same caps (the identity
22712 (gst_base_transform_getcaps): Uses transform_caps to return
22713 something sensible.
22714 (gst_base_transform_setcaps): Complicated logic to get caps on
22715 both pads, even if they are different, and to call set_caps once
22716 for every time both pads get their caps set.
22717 (gst_base_transform_handle_buffer): Give the ref to the transform
22718 function. Allows in-place modification of the buffer.
22720 * gst/base/gstbasetransform.h (transform_caps): New class method.
22721 Given caps on one side, what can I do on the other.
22722 (set_caps): Take two caps, one for each side of the element.
22725 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22726 caps in place. This is safe because we can check the mutability of
22727 the caps, and a good idea because fixate functions are just called
22728 as a matter of last resort. (Not actually implemented.)
22729 (gst_pad_set_caps): If the caps we're setting is actually the same
22730 as the existing pad caps, just update the pointer without calling
22731 setcaps. Assert that caps is either NULL or fixed, as per the
22734 * gst/gstghostpad.c: Update for fixate changes.
22736 2005-07-02 Andy Wingo <wingo@pobox.com>
22739 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22740 two refcounts makes it immutable, which is enough. Doc more.
22742 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22744 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22745 Put the mini_object into GValue as a mini_object,
22746 not a gpointer, since that's how we declared
22749 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22751 * examples/pwg/Makefile.am:
22752 Fix buildbot again.
22754 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22756 * docs/pwg/building-testapp.xml:
22758 * examples/pwg/Makefile.am:
22761 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22764 * examples/Makefile.am:
22765 * examples/pwg/Makefile.am:
22766 * examples/pwg/extract.pl:
22767 Enable building the PWG examples.
22768 * docs/pwg/advanced-interfaces.xml:
22769 Add URI interface stub.
22770 * docs/pwg/advanced-types.xml:
22771 * docs/pwg/other-autoplugger.xml:
22772 * docs/pwg/appendix-porting.xml:
22773 * docs/pwg/pwg.xml:
22774 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22775 * docs/pwg/building-boiler.xml:
22776 * docs/pwg/building-chainfn.xml:
22777 * docs/pwg/building-pads.xml:
22778 * docs/pwg/building-props.xml:
22779 * docs/pwg/building-state.xml:
22780 * docs/pwg/building-testapp.xml:
22781 Update the building-*.xml parts for 0.9 changes. All examples
22782 code blocks compile in examples/pwg/*.
22784 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22786 * docs/manual/advanced-autoplugging.xml:
22787 * docs/manual/appendix-checklist.xml:
22788 * docs/manual/appendix-integration.xml:
22789 * docs/manual/highlevel-components.xml:
22790 Fix playbin/decodebin examples, update docs a bit, mention bus
22791 instead of signals in various places, mention kmplayer and
22792 kaffeine since they have a working GStreamer backend in the KDE
22795 2005-06-30 Wim Taymans <wim@fluendo.com>
22798 * docs/design/draft-ghostpads.txt:
22799 * docs/design/draft-push-pull.txt:
22800 * docs/design/draft-query.txt:
22801 * docs/design/part-TODO.txt:
22802 * docs/design/part-query.txt:
22803 Added CHANGES-0.9 doc, updated status of other docs.
22808 2005-06-30 Wim Taymans <wim@fluendo.com>
22810 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22811 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22812 (gst_base_sink_change_state):
22813 * gst/base/gstbasesink.h:
22814 Some tweaks, only EOS and a buffer complete a preroll.
22816 2005-06-30 Andy Wingo <wingo@pobox.com>
22818 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22819 activate_push down to the internal pad as well.
22821 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22823 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22825 * gst/gsttaginterface.c:
22826 Some documentation fixes (#307394 and #307397).
22828 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22830 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22832 * gst/gstvalue.c: (gst_value_intersect_list):
22833 Fix memleak (#309125).
22835 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22837 * docs/manual/advanced-dataaccess.xml:
22838 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22839 * docs/manual/basics-pads.xml:
22840 Add reference for filtered caps to above chapter.
22842 2005-06-30 Wim Taymans <wim@fluendo.com>
22844 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22845 (gst_bin_change_state):
22847 Lame attempt at making the state change function a bit
22850 2005-06-30 Wim Taymans <wim@fluendo.com>
22852 * docs/design/part-clocks.txt:
22853 * docs/design/part-element-sink.txt:
22854 * docs/design/part-events.txt:
22855 * docs/design/part-preroll.txt:
22856 * docs/design/part-states.txt:
22857 Some more tweeks and additions to the docs.
22859 2005-06-30 Wim Taymans <wim@fluendo.com>
22861 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22862 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22863 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22864 (gst_pad_check_pull_range), (gst_pad_get_range),
22865 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22867 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22868 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22869 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22870 (gst_pad_remove_buffer_probe):
22871 Removed atomic operations, use existing LOCK.
22872 Move exception handling out of main code path.
22874 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22876 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22877 (silly_return_true_function), (gst_pad_class_init),
22878 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22879 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22880 (gst_pad_send_event):
22881 Fix accumulator, add default value by using _emitv() instead
22882 of _emit() for signal emission.
22884 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22886 * docs/manual/advanced-dataaccess.xml:
22887 * examples/manual/Makefile.am:
22889 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22892 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22894 * gst/elements/gstfilesink.c: (gst_filesink_render):
22895 Simplify code so that we don't have to handle short
22896 writes and return GST_FLOW_ERROR if an error occured.
22898 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22900 * docs/gst/gstreamer-docs.sgml:
22901 Remove probes more.
22903 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22905 * docs/gst/gstreamer-sections.txt:
22906 * docs/gst/tmpl/gstpad.sgml:
22907 * docs/gst/tmpl/gstprobe.sgml:
22909 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22910 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22911 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22912 (gst_pad_push_event), (gst_pad_send_event):
22914 * gst/gstutils.c: (gst_pad_add_data_probe),
22915 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22916 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22917 (gst_pad_remove_buffer_probe):
22919 Remove old probes, add new g-signal-based probes and some utility
22922 2005-06-29 Edward Hervey <edward@fluendo.com>
22924 * gst/gstelementfactory.c:
22927 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22928 the definition to the header file.
22930 2005-06-29 Andy Wingo <wingo@pobox.com>
22932 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22933 plugins from the source directory.
22935 2005-06-29 Wim Taymans <wim@fluendo.com>
22937 * docs/gst/tmpl/gstbuffer.sgml:
22938 * docs/gst/tmpl/gstclock.sgml:
22939 Some fixings for blantently wrong text.
22941 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22943 * check/Makefile.am:
22944 * gst/gst.c: (add_path_func), (init_pre):
22945 * gst/gstregistry.c: (gst_registry_add_path):
22946 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22947 only scan the GST_PLUGIN_PATH locations, and not add
22950 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22952 * docs/gst/gstreamer-sections.txt:
22953 * docs/gst/tmpl/gstbasesrc.sgml:
22954 * gst/gstelement.c:
22955 * gst/gstelement.h:
22960 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22962 * docs/manual/advanced-autoplugging.xml:
22963 Fix autoplugging example.
22965 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22967 * docs/manual/advanced-autoplugging.xml:
22968 * docs/manual/mime-world.fig:
22969 Try to get autoplugging working, fix type detection. Fix text
22970 in hello-world image.
22972 2005-06-29 Wim Taymans <wim@fluendo.com>
22974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22975 (gst_base_sink_change_state):
22979 map SIGNAL and BROADCAST to the right function.
22982 Remove redundant braces.
22984 * gst/gstpad.c: (gst_pad_set_caps):
22985 Don't call setcaps function when reseting caps to NULL.
22987 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22988 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22989 (gst_system_clock_id_unschedule):
22990 Use BROADCAST as this is what we do.
22992 2005-06-29 Wim Taymans <wim@fluendo.com>
22994 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22995 We are actually prerolling before commiting the state
22998 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23000 * docs/manual/advanced-clocks.xml:
23001 * docs/manual/advanced-interfaces.xml:
23002 * docs/manual/advanced-metadata.xml:
23003 * docs/manual/advanced-position.xml:
23004 * docs/manual/advanced-schedulers.xml:
23005 * docs/manual/advanced-threads.xml:
23006 * docs/manual/appendix-porting.xml:
23007 * docs/manual/basics-bins.xml:
23008 * docs/manual/basics-bus.xml:
23009 * docs/manual/basics-elements.xml:
23010 * docs/manual/basics-helloworld.xml:
23011 * docs/manual/basics-pads.xml:
23012 * docs/manual/highlevel-components.xml:
23013 * docs/manual/manual.xml:
23014 * docs/manual/thread.fig:
23015 Update (until threads/scheduling) Application Development Manual;
23016 remove GstThread, add GstBus, add simple porting checklist, add
23017 documentation for tag writing, clocks, make all examples until this
23018 part compile and run.
23019 * examples/manual/Makefile.am:
23020 Update from changes to Application Development Manual; add bus
23021 example, remove thread example.
23023 2005-06-28 Wim Taymans <wim@fluendo.com>
23025 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23026 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23027 (gst_bus_source_dispatch):
23028 Add debugging messages.
23029 Make internal methods static.
23030 Handle the case where the bus is flushed in the handler.
23032 * gst/gstelement.c: (gst_element_get_bus):
23033 Fix refcount in _get_bus();
23035 * gst/gstpipeline.c: (gst_pipeline_change_state),
23036 (gst_pipeline_get_clock_func):
23037 Clock refcounting fixes.
23038 Handle the case where preroll timed out more gracefully.
23040 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23041 Clean up the internal thread in dispose. This is needed
23042 for subclasses that actually get disposed.
23044 * gst/schedulers/threadscheduler.c:
23045 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23046 (gst_thread_scheduler_dispose):
23047 Free thread pool in dispose.
23049 2005-06-28 Andy Wingo <wingo@pobox.com>
23051 * tests/network-clock-utils.scm (debug, print-event): New utils.
23053 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23054 (*packet-loss*): Unified loss probability.
23055 (network-time): Report out-of-band events.
23057 * tests/plot-data: Add support for out-of-band events. Hack it
23058 into this script instead of passing it down the pipe; should fix
23061 2005-06-28 Wim Taymans <wim@fluendo.com>
23063 * docs/gst/gstreamer.types:
23064 * docs/gst/tmpl/gstbasesrc.sgml:
23065 * docs/gst/tmpl/gstpad.sgml:
23068 2005-06-28 Wim Taymans <wim@fluendo.com>
23070 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23071 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23072 (gst_proxy_pad_do_fixatecaps):
23073 Correctly proxy the check_pull_range function.
23075 2005-06-28 Andy Wingo <wingo@pobox.com>
23077 * tests/network-clock.scm: Removed need for slib.
23079 2005-06-28 Wim Taymans <wim@fluendo.com>
23081 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23082 (gst_basesink_preroll_queue_flush):
23083 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23084 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23085 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23086 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23087 (gst_proxy_pad_set_property):
23090 * gst/gstqueue.c: (gst_queue_init):
23091 The deprecated pad loop function is removed now.
23093 2005-06-28 Andy Wingo <wingo@pobox.com>
23095 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23096 New parameters, simulate network packet loss.
23098 * tests/network-clock-utils.scm: Initialize the RNG.
23100 2005-06-28 Wim Taymans <wim@fluendo.com>
23102 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23103 (gst_basesink_event), (gst_basesink_deactivate):
23104 Flushing the preroll queue always needs to unlock the waiters.
23106 2005-06-28 Edward Hervey <edward@fluendo.com>
23108 * gst/gstpipeline.c: (gst_pipeline_send_event):
23109 Wheen a seek was successful on a pipeline, set the stream_time to the
23110 seek offset in order to have a synchronized stream_time.
23112 2005-06-28 Wim Taymans <wim@fluendo.com>
23114 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23115 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23116 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23117 (gst_proxy_pad_do_fixatecaps):
23118 Call wrapper function instead of just calling the function
23119 pointers. This takes care of any locking and whatmore.
23121 2005-06-28 Wim Taymans <wim@fluendo.com>
23123 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23124 (gst_pad_pull_range):
23126 CONNECTED -> LINKED.
23128 2005-06-28 Andy Wingo <wingo@pobox.com>
23130 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23131 source-munging commit!!!
23133 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23134 (gst_object_sink): Take gpointer arguments, not GstObject --
23135 avoids casts. Like GLib.
23137 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23140 2005-06-27 Andy Wingo <wingo@pobox.com>
23142 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23145 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23146 returns a sorted copy of the trace list.
23147 (gst_alloc_trace_print_live): New API, only prints traces with
23148 live objects. Sort the list.
23149 (gst_alloc_trace_print_all): Sort the list.
23150 (gst_alloc_trace_print): Align columns.
23152 * gst/elements/gstttypefindelement.c:
23153 * gst/elements/gsttee.c:
23154 * gst/base/gstbasesrc.c:
23155 * gst/base/gstbasesink.c:
23156 * gst/base/gstbasetransform.c:
23157 * gst/gstqueue.c: Adapt for pad activation changes.
23159 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23161 (gst_pipeline_dispose): Drop ref on sched.
23163 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23164 (gst_pad_activate_default): Push mode by default.
23165 (pre_activate_switch, post_activate_switch): New stubs, things to
23166 do before and after switching activation modes on pads.
23167 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23168 the pad's activate function to choose which mode to activate.
23169 Shortcut on deactivation and call the right function directly.
23170 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23172 (gst_pad_activate_push): New API, same for push mode.
23173 (gst_pad_set_activate_function)
23174 (gst_pad_set_activatepull_function)
23175 (gst_pad_set_activatepush_function): Setters for new API.
23177 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23178 Trace all miniobjects.
23179 (gst_mini_object_make_writable): Unref the arg if we copy, like
23180 gst_caps_make_writable.
23182 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23184 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23185 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23186 Adapt for new pad API.
23188 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23190 * gst/gstelement.h:
23191 * gst/gstelement.c (gst_element_iterate_src_pads)
23192 (gst_element_iterate_sink_pads): New API functions.
23194 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23195 should fold into gstiterator.c in some form.
23196 (gst_element_pads_activate): Simplified via use of fold and
23197 delegation of decisions to gstpad->activate.
23199 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23202 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23203 class once in init, like gstmessage. Didn't run into this issue
23204 but it seems correct. Don't initialize a trace, gstminiobject does
23207 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23208 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23210 (assert_live_count): New util function, uses alloc traces to check
23213 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23214 To be modified when unlink drops the internal pad.
23216 2005-06-27 Wim Taymans <wim@fluendo.com>
23218 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23219 (gst_bin_change_state):
23220 Cleanup the get_state() function a little, make sure it
23221 iterates the same set of elements.
23222 Added stub iterate_state_order().
23224 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23226 * docs/gst/gstreamer-docs.sgml:
23227 * docs/gst/gstreamer-sections.txt:
23228 * docs/gst/gstreamer.types:
23229 * docs/gst/tmpl/gstbasesink.sgml:
23230 * docs/gst/tmpl/gstbasesrc.sgml:
23231 * docs/gst/tmpl/gstbasetransform.sgml:
23232 * docs/gst/tmpl/gstelement.sgml:
23233 * docs/gst/tmpl/gstiterator.sgml:
23234 * gst/base/gstbasesrc.c:
23235 * gst/base/gstbasesrc.h:
23236 * gst/base/gstbasetransform.h:
23237 * gst/gstelement.c:
23238 * gst/gstiterator.h:
23239 adding basetransform and iterator docs
23241 2005-06-27 Andy Wingo <wingo@pobox.com>
23243 * docs/design/part-activation.txt: Notes on how activation should
23244 work -- not quite implemented yet.
23246 2005-06-25 Wim Taymans <wim@fluendo.com>
23248 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23249 At least get the chain function correct, needs more
23252 2005-06-25 Wim Taymans <wim@fluendo.com>
23254 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23255 (gst_basesink_handle_object), (gst_basesink_event),
23256 (gst_basesink_do_sync), (gst_basesink_handle_event),
23257 (gst_basesink_change_state):
23259 Right, two problems here: ghostpads don't take locks and
23260 glib _rec_mutex_lock_full() with depth==0 still locks.
23261 Catch illegal locking and g_warn them.
23263 2005-06-25 Wim Taymans <wim@fluendo.com>
23265 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23266 Have to check for completion now...
23268 2005-06-25 Wim Taymans <wim@fluendo.com>
23270 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23271 (gst_basesink_handle_object), (gst_basesink_event),
23272 (gst_basesink_do_sync), (gst_basesink_handle_event),
23273 (gst_basesink_change_state):
23275 Unlock STREAM_LOCK whatever the recursion was.
23277 2005-06-25 Wim Taymans <wim@fluendo.com>
23279 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23280 (gst_basesink_preroll_queue_empty),
23281 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23282 (gst_basesink_event), (gst_basesink_do_sync),
23283 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23284 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23285 (gst_basesink_change_state):
23286 Reworked the base sink, handle event and buffer serialisation
23287 correctly and removed possible deadlock.
23288 Handle EOS correctly.
23290 2005-06-25 Wim Taymans <wim@fluendo.com>
23292 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23293 (gst_pipeline_change_state):
23294 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23295 Allow elements to post EOS in the state change function.
23296 Fix up -launch, make it exit the poll loop when the
23297 pipeline actually changed state.
23298 Fix up warning parsing in -launch.
23300 2005-06-25 Wim Taymans <wim@fluendo.com>
23302 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23303 (gst_tee_sink_activate):
23304 Core takes STREAM_LOCK for us now.
23306 2005-06-25 Wim Taymans <wim@fluendo.com>
23308 * gst/gstelement.c: (gst_element_get_state_func),
23309 (gst_element_set_state):
23310 * gst/gstelement.h:
23311 * gst/gstmessage.c: (gst_message_parse_error),
23312 (gst_message_parse_warning):
23313 Keep track of current target state while performing a state
23314 change so that subclasses can do something interesting.
23315 Fix parsing of warning/error messages when GError is NULL.
23317 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23319 * docs/gst/Makefile.am:
23320 * docs/gst/gstreamer-docs.sgml:
23321 * docs/gst/gstreamer-sections.txt:
23322 * docs/gst/gstreamer.types:
23323 * docs/gst/tmpl/gstbasesink.sgml:
23324 * docs/gst/tmpl/gstbasesrc.sgml:
23325 * docs/gst/tmpl/gstbin.sgml:
23326 * docs/gst/tmpl/gstcompat.sgml:
23327 * docs/gst/tmpl/gstfakesink.sgml:
23328 * docs/gst/tmpl/gstfakesrc.sgml:
23329 * docs/gst/tmpl/gstfilesink.sgml:
23330 * docs/gst/tmpl/gstfilesrc.sgml:
23331 * docs/gst/tmpl/gstindex.sgml:
23332 * docs/manual/appendix-quotes.xml:
23333 * gst/base/gstbasesrc.h:
23334 * gst/elements/gstfakesrc.h:
23335 * gst/gstmessage.h:
23336 start pulling in base classes and elements in our docs
23338 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23340 * docs/gst/Makefile.am:
23341 * docs/libs/Makefile.am:
23342 fixed make distcheck with gtk-doc 1.3
23344 2005-06-23 Wim Taymans <wim@fluendo.com>
23346 * gst/gstelement.c: (gst_element_get_state_func),
23347 (gst_element_set_state), (gst_element_change_state):
23348 When the state did not change, also report NO_PREROLL
23351 2005-06-23 Wim Taymans <wim@fluendo.com>
23353 * gst/gstpad.c: (gst_pad_event_default):
23354 * gst/gstqueue.c: (gst_queue_loop):
23355 No unsafe task pausing please.
23357 2005-06-23 Wim Taymans <wim@fluendo.com>
23359 * gst/schedulers/threadscheduler.c:
23360 (gst_thread_scheduler_task_start),
23361 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23362 Ref the task before pushing it on the threadpool. This
23363 makes sure that we have a ref when the threadfunction is
23366 2005-06-23 Andy Wingo <wingo@pobox.com>
23368 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23369 offset is greater than the file's size.
23371 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23372 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23373 * gst/gstobject.c (gst_object_class_init): Make the class lock
23374 recursive. Wim won't let me drop deep_notify. Decodebin works
23375 again, whoopdy doo.
23377 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23378 internal pad, and hacks accordingly. Doesn't do it on the target
23379 pad because we change its caps. Probably catches all cases of
23381 (gst_ghost_pad_set_property): Connect to notify::caps as
23384 * tests/network-clock.scm (plot-simulation): Pipe data to the
23385 elite python skript.
23387 * tests/network-clock-utils.scm (define-parameter): New macro,
23388 defines a parameter that can be set via the command line.
23389 (set-parameter!, parse-parameter-arguments): Command line args
23392 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23395 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23397 * gst/elements/gsttypefindelement.c:
23398 (gst_type_find_element_handle_event):
23399 Don't restart typefinding on a discont.
23400 * gst/gstelement.c: (gst_element_set_state):
23401 Debug spelling fix.
23402 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23403 Allow changing mode of an active pad.
23404 Debug output fixes.
23405 * gst/registries/gstlibxmlregistry.c: (load_feature):
23406 Don't cast a static pad template to a normal pad template.
23408 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23410 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23411 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23412 remove gst_strtoll completely, since it didn't actually do
23413 anything more than what g_ascii_strtoull already does.
23414 check for range errors when deserializing
23415 do a cast for the unsigned cases; but further fixing needs
23416 a decision on what the interpretation of "(int)" and
23417 deserialization should be for values that fall outside the
23418 type's boundaries (ie, refuse, or interpret as casting)
23420 2005-06-23 Wim Taymans <wim@fluendo.com>
23422 * check/Makefile.am:
23423 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23424 * docs/design/part-live-source.txt:
23425 * docs/design/part-states.txt:
23426 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23427 (gst_basesrc_set_live), (gst_basesrc_is_live),
23428 (gst_basesrc_get_range), (gst_basesrc_activate),
23429 (gst_basesrc_change_state):
23430 * gst/base/gstbasesrc.h:
23431 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23432 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23433 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23434 * gst/gstelement.c: (gst_element_get_state_func),
23435 (gst_element_set_state):
23436 * gst/gstelement.h:
23438 * tools/gst-launch.c: (event_loop), (main):
23439 Added support for live sources and other elements that
23441 Updated design docs, added live-source design doc.
23442 Implemented live source functionality in basesrc
23443 Fix error condition in _bin_get_state()
23444 Implement live source handling in -launch.
23445 Added check for live sources.
23446 Fixed case in GstBin where elements were changed state
23450 2005-06-23 Andy Wingo <wingo@pobox.com>
23452 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23453 borken refcounting.
23455 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23456 gst_caps_replace takes care of this for us.
23458 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23459 gst_pad_set_caps on the target, not just its setcaps() function.
23461 * tests/network-clock.scm:
23462 * tests/network-clock-utils.scm: A network clock simulator.
23463 Something of an algorithmic testbed before doing something in C.
23465 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23467 * check/Makefile.am:
23468 * check/gst/capslist.h:
23469 copy over from 0.8, and add two with bitmasks specified with
23471 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23472 add test to parse everything from capslist.h
23473 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23475 add test for structure deserialization
23476 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23477 add tests for deserialization of strings to int types
23478 * gst/gststructure.c: (gst_structure_nth_field_name):
23479 * gst/gststructure.h:
23480 add a way to get the name of a field referenced by index
23481 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23482 instead of checking if the resulting long long lies between
23483 min and max, we check if the long long would fit into
23484 a number of bytes for the final type.
23485 This fixes cases where a string represents 2^32 - 1, which
23486 when cast to int would be the (valid) -1, but is bigger than
23489 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23491 * gst/parse/grammar.y:
23492 add a log line for type deserialization
23494 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23496 * check/gst/gstvalue.c: (START_TEST):
23497 * gst/gstvalue.c: (gst_value_deserialize):
23498 return long long, not int, so gint64 deserialization actually
23499 works. Is there any flag that makes the compiler check this ?
23502 2005-06-22 Wim Taymans <wim@fluendo.com>
23505 Added convenience macros for setting buffers in GValue.
23507 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23509 * check/gst/.cvsignore:
23510 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23511 add a test deserializing int64, and comment part out because
23514 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23516 * check/Makefile.am:
23517 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23518 * testsuite/Makefile.am:
23519 * testsuite/caps/Makefile.am:
23520 * testsuite/caps/value_serialize.c:
23521 * testsuite/test_gst_init.c:
23522 move a value_serialize test over
23524 2005-06-20 Wim Taymans <wim@fluendo.com>
23529 * gst/gstvalue.c: (gst_value_compare_buffer),
23530 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23531 (gst_value_compare_flags), (gst_value_serialize_flags),
23532 (gst_value_deserialize_flags), (_gst_value_initialize):
23533 Fix serialisation of buffers, they are not boxed types anymore
23535 2005-06-20 Wim Taymans <wim@fluendo.com>
23537 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23538 Testcase to show error in buffer-on-caps serialisation.
23540 2005-06-20 Andy Wingo <wingo@pobox.com>
23542 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23543 will be adding to later.
23545 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23546 if its socks fill with rocks.
23547 (gst_system_clock_obtain): Set the name on object construction.
23548 Avoid double-checked locking.
23550 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23552 * gst/gsturi.c: (gst_element_make_from_uri):
23553 Fix potential endless loop.
23555 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23557 * check/Makefile.am:
23559 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23561 move over from testsuite dir and clean up
23564 * testsuite/Makefile.am:
23565 * testsuite/tags/.cvsignore:
23566 * testsuite/tags/Makefile.am:
23567 * testsuite/tags/merge.c:
23568 remove testsuite/tags
23570 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23572 * docs/gst/gstreamer-sections.txt:
23573 * docs/gst/tmpl/gstenumtypes.sgml:
23574 * win32/gstenumtypes.c:
23575 clean up documentation build a little
23577 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23579 * check/gstcheck.h:
23580 add macros for checking refcounts on objects and caps
23581 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23582 add some more unit tests
23583 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23584 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23585 fix leaked refcounts (I hope :)) so unittest works
23589 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23591 * configure.ac: back to HEAD
23593 === release 0.9.1 ===
23595 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23601 2005-06-17 Andy Wingo <wingo@pobox.com>
23603 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23604 assert; it's always possible that the pad gets deactivated in
23605 between the checks in gstpad.c and the implementation. Rely on
23606 finish_preroll() to return a FLUSHING or similar instead of on the
23609 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23610 clock and post an EOS message if we come out of finish_preroll in
23613 2005-06-16 David Schleef <ds@schleef.org>
23615 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23616 (gst_capsfilter_set_property): Allow NULL as possible value
23617 for filter_caps property, indicating GST_CAPS_ANY.
23619 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23621 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23623 * gst/schedulers/Makefile.am:
23625 * gstreamer.spec.in:
23628 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23630 * gstreamer.spec.in:
23633 2005-06-08 Andy Wingo <wingo@pobox.com>
23635 * gst/gstutils.c: RPAD fixes all around.
23636 (gst_element_link_pads): Refcounting fixes.
23638 * tools/gst-inspect.c:
23639 * tools/gst-xmlinspect.c:
23641 * gst/base/gsttypefindhelper.c:
23642 * gst/base/gstbasesink.c:
23643 * gst/gstqueue.c: RPAD fixes.
23645 * gst/gstghostpad.h:
23646 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23647 pads. The tricky thing is they provide both source and sink
23648 interfaces, since they proxy the internal pad for the external
23649 pad, and vice versa. Implement with lower-level ProxyPad objects,
23650 with the interior proxy pad as a child of the exterior ghost pad.
23651 Should write a doc on this.
23653 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23654 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23657 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23658 pads are real pads. No ghost pads in this file. Not documenting
23659 the myriad s/RPAD/PAD/ and REALIZE fixes.
23660 (gst_pad_class_init): Add properties for "direction" and
23661 "template". Both are construct-only, so they can't change during
23662 the life of the pad. Fixes properly deriving from GstPad.
23663 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23664 derived objects, just set properties when creating the objects via
23666 (gst_pad_get_parent): Implement as a function, return NULL if the
23667 parent is not an element.
23668 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23669 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23671 * gst/gstobject.c (gst_object_class_init): Make name a construct
23672 property. Don't set it in the object init.
23674 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23675 with UNKNOWN direction.
23676 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23677 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23678 (gst_element_remove_pad): Remove ghost-pad special cases.
23679 (gst_element_pads_activate): Remove rpad cruft.
23681 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23682 catch the pad's-parent-not-an-element case.
23684 * gst/gst.h: Include gstghostpad.h.
23686 * gst/gst.c (init_post): No more real, ghost pads.
23688 * gst/Makefile.am: Add gstghostpad.[ch].
23690 * check/Makefile.am:
23691 * check/gst/gstbin.c:
23692 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23693 into a bin creates ghost pads, and that the refcounts are right.
23694 Partly moved from gstbin.c.
23696 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23698 * check/gst-libs/.cvsignore:
23699 * check/gst/.cvsignore:
23700 * check/pipelines/.cvsignore:
23702 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23703 (START_TEST), (cleanup_suite), (main):
23704 add some tests related to cleanup after running pipelines
23706 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23708 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23709 add a testsuite for GstBuffer
23711 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23713 * gst/gstminiobject.h:
23714 add defines for accessing the refcount
23716 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23718 * Makefile.am: added support for html unit test coverage reports
23720 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23722 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23723 Free existing caps if the capsfilter changes. Add a FIXME about
23724 setting those caps on the pads.
23726 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23727 Before adding a ghost pad to a parent bin, check that there isn't
23728 already one for the element on the bin. Prevents infinite recursion
23729 when using decodebin in parse pipelines. Andy says he'll rewrite the
23730 way this works anyway, so ignore the hack.
23732 2005-06-02 Andy Wingo <wingo@pobox.com>
23734 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23735 file size, pass it on to the type find helper.
23737 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23738 segment_start and segment_end properly according to the seek
23739 method. Segment_end is still a bit flaky because offset can be
23740 negative for CUR and END cases, but it takes -1 as an "unset"
23743 2005-06-02 Wim Taymans <wim@fluendo.com>
23745 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23746 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23747 (gst_basesink_activate):
23748 * gst/base/gstbasesink.h:
23749 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23750 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23751 (gst_pad_query), (gst_pad_start_task):
23753 * gst/gstqueue.c: (gst_queue_bufferalloc),
23754 (gst_queue_handle_sink_event), (gst_queue_chain):
23755 Bufferalloc: return GstFlowReturn to more accuratly report
23756 why allocation failed.
23758 2005-06-02 Wim Taymans <wim@fluendo.com>
23760 * gst/gstpipeline.c: (gst_pipeline_send_event):
23761 Take snapshot of state without blocking.
23763 2005-06-02 Wim Taymans <wim@fluendo.com>
23765 * docs/design/part-TODO.txt:
23766 * docs/design/part-caps.txt:
23767 * docs/design/part-clocks.txt:
23768 * docs/design/part-negotiation.txt:
23769 * docs/design/part-preroll.txt:
23772 2005-05-30 Wim Taymans <wim@fluendo.com>
23774 * gst/elements/gstidentity.c: (gst_identity_event),
23775 (gst_identity_transform), (gst_identity_get_property):
23776 Protect last_message property as it is accessed from
23779 2005-05-30 Wim Taymans <wim@fluendo.com>
23781 * gst/gstelement.c: (gst_element_init),
23782 (gst_element_pads_activate), (gst_element_change_state):
23783 Slicker pad activation code.
23785 2005-05-30 Wim Taymans <wim@fluendo.com>
23788 * gst/gstelement.h:
23789 * gst/gstelementfactory.h:
23791 Move elementfactory methods to separate .h file.
23793 2005-05-30 Wim Taymans <wim@fluendo.com>
23795 * docs/design/part-overview.txt:
23796 * gst/gstsystemclock.h:
23797 Small typo fixes, doc updates.
23799 2005-05-30 Wim Taymans <wim@fluendo.com>
23801 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23802 (init_popt_callback):
23803 Remove cpu-opt flag.
23805 2005-05-30 Wim Taymans <wim@fluendo.com>
23807 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23808 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23810 Avoid typechecking in places where not needed.
23811 Added accessor for malloc_data.
23813 2005-05-30 Wim Taymans <wim@fluendo.com>
23815 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23816 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23817 (gst_pad_configure_sink), (gst_pad_configure_src),
23818 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23819 (gst_pad_start_task):
23820 Propagate errors from _set_caps() in configure_src/sink
23821 functions instead of returning TRUE.
23822 FLUSH events can travel up and downstream
23825 2005-05-30 Wim Taymans <wim@fluendo.com>
23827 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23828 (gst_basesink_activate):
23829 Handle EOS in preroll.
23831 2005-05-30 Wim Taymans <wim@fluendo.com>
23833 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23834 (gst_queue_loop), (gst_queue_handle_src_event):
23835 Remove old pieces of code
23836 Flushing the queue in an upstream event is a very bad idea.
23838 2005-05-26 Andy Wingo <wingo@pobox.com>
23840 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23841 gst_value_set_mini_object so as to add a ref on the object (which
23842 will be removed when the value is unset).
23844 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23845 arg type in ::handoff.
23847 * gst/gstelement.c (gst_element_change_state): Also deactivate
23848 pads in READY->NULL, just in case the element didn't make it to
23849 PAUSED. Wingo tested, Wim approved.
23851 2005-05-26 Wim Taymans <wim@fluendo.com>
23853 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23854 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23855 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23856 A flushing pad cannot be used to alloc_buffer from.
23858 2005-05-26 Wim Taymans <wim@fluendo.com>
23860 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23861 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23862 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23863 (gst_bus_create_watch), (gst_bus_add_watch_full):
23865 Implement a real GSource and use g_main_context_wakeup() to
23866 signal new messages instead of the socketpair.
23868 2005-05-25 Wim Taymans <wim@fluendo.com>
23870 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23871 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23872 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23873 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23874 (gst_pad_send_event), (gst_pad_start_task):
23875 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23876 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23877 (gst_queue_sink_activate), (gst_queue_src_activate),
23878 (gst_queue_change_state):
23880 Fix state changes for non sinks. We now change sinks, then elements
23881 with unconnected srcpads, then the rest.
23882 More efficient queue unlocking in flush and state changes.
23883 Set the pad activate mode even if it does not have an activate
23886 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23888 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23889 Don't go in pull mode for non-seekable sources.
23890 * gst/elements/gsttypefindelement.h:
23891 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23892 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23893 (free_entry), (stop_typefinding),
23894 (gst_type_find_element_handle_event), (find_peek),
23895 (gst_type_find_element_chain), (do_pull_typefind),
23896 (gst_type_find_element_change_state):
23897 Allow typefinding (w/o seeking) in push-mode, simplified version
23898 of what was in 0.8.
23899 * gst/gstutils.c: (gst_buffer_join):
23901 gst_buffer_join() from 0.8.
23903 2005-05-25 Wim Taymans <wim@fluendo.com>
23905 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23906 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23907 (gst_pad_send_event), (gst_pad_start_task):
23908 Disable attempt at mode switching until it is figured out.
23910 2005-05-25 Wim Taymans <wim@fluendo.com>
23912 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23913 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23914 (gst_basesink_finish_preroll), (gst_basesink_chain),
23915 (gst_basesink_loop), (gst_basesink_activate),
23916 (gst_basesink_change_state):
23917 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23918 (gst_basesrc_get_range), (gst_basesrc_loop),
23919 (gst_basesrc_activate):
23920 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23921 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23922 (gst_real_pad_init), (gst_real_pad_set_property),
23923 (gst_real_pad_get_property), (gst_pad_set_active),
23924 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23925 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23926 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23927 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23928 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23929 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23930 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23931 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23932 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23933 (gst_pad_stop_task):
23935 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23936 (gst_queue_loop), (gst_queue_src_activate):
23937 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23938 (gst_task_get_state):
23940 * gst/schedulers/threadscheduler.c:
23941 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23942 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23944 Remove ACTIVE pad flag, use FLUSHING everywhere
23945 Added _pad_chain(), _pad_get_range() to call chain/getrange
23947 Add locks around IS_FLUSHING when reading.
23948 Take STREAM lock in chain(), get_range() functions so plugins
23949 don't need to take it anymore.
23953 2005-05-25 Wim Taymans <wim@fluendo.com>
23955 * tools/gst-launch.c: (event_loop):
23956 Unref message after using its contents instead of
23959 2005-05-24 Wim Taymans <wim@fluendo.com>
23961 * docs/design/draft-ghostpads.txt:
23962 * docs/design/draft-push-pull.txt:
23963 * docs/design/draft-query.txt:
23964 * docs/design/part-overview.txt:
23965 Docs updates, added general overview doc.
23967 2005-05-21 David Schleef <ds@schleef.org>
23969 * docs/gst/tmpl/old/GstBin.sgml:
23970 * docs/gst/tmpl/old/GstBuffer.sgml:
23971 * docs/gst/tmpl/old/GstCaps.sgml:
23972 * docs/gst/tmpl/old/GstClock.sgml:
23973 * docs/gst/tmpl/old/GstCompat.sgml:
23974 * docs/gst/tmpl/old/GstData.sgml:
23975 * docs/gst/tmpl/old/GstElement.sgml:
23976 * docs/gst/tmpl/old/GstEvent.sgml:
23977 * docs/gst/tmpl/old/GstIndex.sgml:
23978 * docs/gst/tmpl/old/GstStructure.sgml:
23979 * docs/gst/tmpl/old/GstTag.sgml:
23980 * docs/gst/tmpl/old/cothreads.sgml:
23981 * docs/gst/tmpl/old/cothreads_compat.sgml:
23982 * docs/gst/tmpl/old/gettext.sgml:
23983 * docs/gst/tmpl/old/gobject2gtk.sgml:
23984 * docs/gst/tmpl/old/grammar.tab.sgml:
23985 * docs/gst/tmpl/old/gst-i18n-app.sgml:
23986 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23987 * docs/gst/tmpl/old/gst_private.sgml:
23988 * docs/gst/tmpl/old/gstaggregator.sgml:
23989 * docs/gst/tmpl/old/gstarch.sgml:
23990 * docs/gst/tmpl/old/gstatomic_impl.sgml:
23991 * docs/gst/tmpl/old/gstbufferstore.sgml:
23992 * docs/gst/tmpl/old/gstdata_private.sgml:
23993 * docs/gst/tmpl/old/gstdisksink.sgml:
23994 * docs/gst/tmpl/old/gstdisksrc.sgml:
23995 * docs/gst/tmpl/old/gstelementfactory.sgml:
23996 * docs/gst/tmpl/old/gstextratypes.sgml:
23997 * docs/gst/tmpl/old/gstfakesink.sgml:
23998 * docs/gst/tmpl/old/gstfakesrc.sgml:
23999 * docs/gst/tmpl/old/gstfdsink.sgml:
24000 * docs/gst/tmpl/old/gstfdsrc.sgml:
24001 * docs/gst/tmpl/old/gstfilesink.sgml:
24002 * docs/gst/tmpl/old/gstfilesrc.sgml:
24003 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24004 * docs/gst/tmpl/old/gstidentity.sgml:
24005 * docs/gst/tmpl/old/gstindexfactory.sgml:
24006 * docs/gst/tmpl/old/gstmarshal.sgml:
24007 * docs/gst/tmpl/old/gstmd5sink.sgml:
24008 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24009 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24010 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24011 * docs/gst/tmpl/old/gstpipefilter.sgml:
24012 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24013 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24014 * docs/gst/tmpl/old/gstshaper.sgml:
24015 * docs/gst/tmpl/old/gstspider.sgml:
24016 * docs/gst/tmpl/old/gstspideridentity.sgml:
24017 * docs/gst/tmpl/old/gststatistics.sgml:
24018 * docs/gst/tmpl/old/gsttee.sgml:
24019 * docs/gst/tmpl/old/gsttimecache.sgml:
24020 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24021 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24022 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24023 * docs/gst/tmpl/old/types.sgml:
24024 I didn't intend to add these or check them in.
24026 2005-05-19 David Schleef <ds@schleef.org>
24028 * configure.ac: Use -no-common everywhere. In a sane world, it
24029 would be the default in libtool, because without it, you can't
24030 build DLLs on Windows.
24031 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24032 * docs/gst/gstreamer-sections.txt:
24033 * docs/gst/tmpl/gstcpu.sgml:
24034 * docs/gst/tmpl/gstdata.sgml:
24035 * docs/gst/tmpl/gstthread.sgml:
24037 2005-05-19 David Schleef <ds@schleef.org>
24039 * gst/gstminiobject.c: (gst_value_set_mini_object),
24040 (gst_value_take_mini_object), (gst_value_get_mini_object):
24041 * gst/gstminiobject.h: Add GValue set/get functions.
24043 2005-05-19 Wim Taymans <wim@fluendo.com>
24045 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24046 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24047 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24049 * gst/gstbus.c: (gst_bus_post):
24050 * gst/gstelement.c: (gst_element_get_random_pad):
24051 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24052 Make subbufer unref the parent in finalize.
24053 some more debugging info.
24056 2005-05-19 Wim Taymans <wim@fluendo.com>
24058 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24059 (gst_basesink_init), (gst_basesink_finalize),
24060 (gst_basesink_activate), (gst_basesink_change_state):
24061 Don't free preroll queue too early.
24063 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24067 Hi, I'm outdated. Please shoot me.
24069 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24071 * gst/gstpipeline.c: (gst_pipeline_send_event):
24072 Do not access variables after they have been deleted.
24074 2005-05-19 Wim Taymans <wim@fluendo.com>
24076 * tools/gst-inspect.c: (print_plugin_features):
24077 A plugin feature does unfortunatly not use the
24080 2005-05-18 Wim Taymans <wim@fluendo.com>
24082 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24083 Port _span() functions to new subbuffers.
24085 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24087 * gst/gstbin.c: (gst_bin_add_func):
24088 Fix clock settery in bins when adding kids after the clock has
24091 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24093 * gst/elements/gstidentity.c: (gst_identity_class_init):
24094 Workaround until signals support GstMiniObject.
24096 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24099 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24101 2005-05-18 Wim Taymans <wim@fluendo.com>
24103 * gst/base/Makefile.am:
24104 * gst/base/gstadapter.c: (gst_adapter_base_init),
24105 (gst_adapter_class_init), (gst_adapter_init),
24106 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24107 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24108 (gst_adapter_flush), (gst_adapter_available),
24109 (gst_adapter_available_fast):
24110 * gst/base/gstadapter.h:
24111 Ported and added adapter to the base classes.
24113 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24116 * gst/gstmessage.c:
24117 Make sure the class is reffed/unreffed once before threads can be
24118 used. Fixes #304551.
24120 2005-05-17 Wim Taymans <wim@fluendo.com>
24122 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24123 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24124 * gst/gstminiobject.c: (gst_mini_object_get_type),
24125 (gst_mini_object_free):
24126 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24127 (gst_pad_push), (gst_pad_push_event):
24128 * gst/gstqueue.c: (gst_queue_change_state):
24129 Don't queue buffers in basesink when we are flushing.
24130 Unref buffer when flushing in basesink.
24131 Flush queue when going to READY
24132 Unref buffer when _push() returns an error.
24133 Don't free MiniObject instance when refcount is incremented
24134 in _finalize() so that we can recover objects.
24136 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24138 * docs/manual/advanced-schedulers.xml:
24139 * docs/manual/appendix-checklist.xml:
24140 * docs/pwg/advanced-clock.xml:
24141 * docs/pwg/advanced-interfaces.xml:
24142 * docs/pwg/advanced-request.xml:
24143 * docs/pwg/advanced-types.xml:
24144 * docs/pwg/intro-preface.xml:
24145 * examples/plugins/example.c: (gst_example_get_type),
24146 (gst_example_class_init), (gst_example_chain),
24147 (gst_example_set_property), (gst_example_get_property),
24148 (gst_example_change_state), (plugin_init):
24149 * examples/plugins/example.h:
24152 2005-05-17 Wim Taymans <wim@fluendo.com>
24154 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24155 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24156 * gst/gstqueue.c: (gst_queue_change_state):
24157 Clear queue when going to READY.
24158 Remove IN_SETCAPS flag too.
24160 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24162 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24163 Remove implicit cast from gboolean to GstElementStateReturn;
24164 make sure we still return failure in paused => ready case if
24165 the parent class fails to change state and our own stop
24168 2005-05-17 Wim Taymans <wim@fluendo.com>
24170 * tools/gst-launch.c: (event_loop):
24171 Message was unreffed too soon.
24173 2005-05-16 Andy Wingo <wingo@pobox.com>
24175 * gst/gstbin.c (sink_iterator_filter): Err... um...
24177 * check/gst/gstbin.c (test_ghost_pads): New test for the
24178 ghosting-if-elements-not-in-same-bin behavior.
24180 2005-05-16 David Schleef <ds@schleef.org>
24182 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24183 accessing refcount directly.
24185 2005-05-15 David Schleef <ds@schleef.org>
24187 * check/Makefile.am: remove GstData checks
24188 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24189 * gst/Makefile.am: add miniobject, remove data
24190 * gst/gst.h: add miniobject, remove data
24191 * gst/gstdata.c: remove
24192 * gst/gstdata.h: remove
24193 * gst/gstdata_private.h: remove
24194 * gst/gsttypes.h: remove GstEvent and GstMessage
24195 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24196 * gst/gstmarshal.list: change BOXED -> OBJECT
24198 Implement GstMiniObject.
24199 * gst/gstminiobject.c:
24200 * gst/gstminiobject.h:
24202 Modify to be subclasses of GstMiniObject.
24203 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24204 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24205 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24206 (gst_subbuffer_get_type), (gst_subbuffer_init),
24207 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24210 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24211 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24212 (_gst_event_copy), (gst_event_new):
24214 * gst/gstmessage.c: (_gst_message_initialize),
24215 (gst_message_get_type), (gst_message_class_init),
24216 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24217 (gst_message_new), (gst_message_new_error),
24218 (gst_message_new_warning), (gst_message_new_tag),
24219 (gst_message_new_state_changed), (gst_message_new_application):
24220 * gst/gstmessage.h:
24221 * gst/gstprobe.c: (gst_probe_perform),
24222 (gst_probe_dispatcher_dispatch):
24224 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24225 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24226 (_gst_query_copy), (gst_query_new):
24228 Update elements for GstData -> GstMiniObject changes
24230 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24231 (gst_queue_chain), (gst_queue_loop):
24232 * gst/elements/gstbufferstore.c:
24233 (gst_buffer_store_add_buffer_func),
24234 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24235 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24236 (gst_fakesink_render):
24237 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24238 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24239 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24240 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24241 (gst_filesrc_create_read):
24242 * gst/elements/gstidentity.c: (gst_identity_class_init):
24243 * gst/elements/gsttypefindelement.c:
24244 (gst_type_find_element_src_event), (free_entry_buffers),
24245 (gst_type_find_element_handle_event):
24246 * libs/gst/dataprotocol/dataprotocol.c:
24247 (gst_dp_header_from_buffer):
24248 * libs/gst/dataprotocol/dataprotocol.h:
24249 * libs/gst/dataprotocol/dp-private.h:
24251 2005-05-15 David Schleef <ds@schleef.org>
24253 * gst/elements/gstelements.c: Don't include headers that were
24256 2005-05-15 David Schleef <ds@schleef.org>
24258 * gst/elements/Makefile.am: Remove some elements that don't
24259 need to be in the core (or even exist at all).
24260 * gst/elements/gstaggregator.c:
24261 * gst/elements/gstaggregator.h:
24262 * gst/elements/gstmd5sink.c:
24263 * gst/elements/gstmd5sink.h:
24264 * gst/elements/gstmultifilesrc.c:
24265 * gst/elements/gstmultifilesrc.h:
24266 * gst/elements/gstpipefilter.c:
24267 * gst/elements/gstpipefilter.h:
24268 * gst/elements/gstshaper.c:
24269 * gst/elements/gstshaper.h:
24270 * gst/elements/gststatistics.c:
24271 * gst/elements/gststatistics.h:
24272 * po/POTFILES.in: Remove above files.
24274 2005-05-14 Andy Wingo <wingo@pobox.com>
24276 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24277 so as to get the refs right.
24278 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24279 unreffing objects that don't pass the filter.
24281 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24282 gst_element_set_bus.
24283 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24284 normal cases, this will destroy the bus.
24286 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24289 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24292 2005-05-13 Andy Wingo <wingo@pobox.com>
24294 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24295 gst_pad_link, call pad_link_maybe_ghosting,
24296 (pad_link_maybe_ghosting): Links pads, making sure that the
24297 elements being linked are in the same bin.
24298 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24299 Helpers for pad_link_maybe_ghosting.
24301 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24304 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24306 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24308 * docs/design/part-element-source.txt:
24311 2005-05-12 Wim Taymans <wim@fluendo.com>
24313 * gst/base/gstbasesink.c: (gst_basesink_init),
24314 (gst_basesink_activate):
24315 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24316 (gst_basesrc_is_seekable):
24317 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24318 (bin_element_is_sink), (gst_bin_change_state):
24319 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24320 * gst/gstelement.h:
24321 Identify sinks by their flag to avoid overly complicated
24323 Do state changes even for elements not reachable from the
24325 BaseSink is a sink now :)
24326 Some more debugging info in the basesrc.
24329 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24331 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24332 Implement _query on a bin, similar to _send_event.
24334 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24336 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24337 Discont event offset format should be GST_FORMAT_BYTES,
24338 not GST_FORMAT_TIME.
24340 2005-05-12 Wim Taymans <wim@fluendo.com>
24342 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24343 Same fix as Ronald's but without the signal.
24345 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24347 * gst/gstutils.c: (gst_element_query_position):
24348 No, an element is not a pad.
24350 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24352 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24353 (gst_bin_get_state):
24354 If a child is removed from a bin while we remove the child from
24355 the bin and while we're retrieving its state, signal this to the
24356 get_state function so we abort the wait (instead of waiting for
24357 a timeout) and can immediately re-iterate over all other elements.
24359 2005-05-12 Wim Taymans <wim@fluendo.com>
24361 * gst/base/Makefile.am:
24362 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24363 (gst_basesrc_start):
24364 * gst/base/gstbasesrc.h:
24365 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24366 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24367 (gst_pushsrc_init), (gst_pushsrc_create):
24368 * gst/base/gstpushsrc.h:
24369 Added is_seekable to BaseSrc
24370 Added simple PushSrc.
24372 2005-05-11 Wim Taymans <wim@fluendo.com>
24374 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24375 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24376 (gst_element_link_pads), (gst_element_query_position),
24377 (gst_element_query_convert), (intersect_caps_func),
24378 (gst_pad_query_position), (gst_pad_query_convert):
24379 Fix refcounting in utils function.
24380 No point in trying to activate a pad when it's added, it could
24381 be added from the state change function and then we deadlock, the
24382 element has to decide what to do.
24384 2005-05-10 Andy Wingo <wingo@pobox.com>
24386 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24387 *all* the arguments.
24389 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24390 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24391 lock (according to the docs -- if this is wrong change the docs).
24393 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24394 flush messages in the NULL state.
24396 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24397 message immediately and return.
24398 (gst_bus_set_flushing): New function. If a bus is flushing, it
24399 flushes out any queued messages and immediately unrefs new
24400 messages. This is so when an element goes to NULL, all of the
24401 unhandled messages coming from it can be freed, and their
24402 references to the element dropped. In other words: message source
24403 ref considered harmful :P
24405 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24406 we're finished with it.
24408 * gst/gstmessage.c (gst_message_new_state_changed):
24410 2005-05-10 Wim Taymans <wim@fluendo.com>
24412 * gst/gstvalue.c: (gst_value_compare_flags),
24413 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24414 (_gst_value_initialize):
24415 Added flags serialize/deserialize/compare code.
24417 2005-05-09 Andy Wingo <wingo@pobox.com>
24419 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24420 Intersect the peer's caps with our caps.
24422 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24424 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24425 * gst/elements/gsttypefindelement.c: (find_peek):
24426 Handle negative offsets better. Fixes decodebin.
24428 2005-05-09 Wim Taymans <wim@fluendo.com>
24430 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24431 (gst_base_transform_event):
24432 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24433 Implement accept_caps.
24434 Fix silly lock/unlock mismatch in base class.
24436 2005-05-09 Wim Taymans <wim@fluendo.com>
24438 * docs/design/draft-push-pull.txt:
24439 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24440 * gst/elements/gstfilesink.c: (gst_filesink_init),
24441 (gst_filesink_query):
24442 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24443 (gst_type_find_handle_src_query), (find_element_get_length):
24444 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24445 * gst/gstelement.h:
24446 * gst/gstmessage.c:
24447 * gst/gstmessage.h:
24448 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24449 (gst_real_pad_get_caps_unlocked),
24450 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24451 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24452 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24453 (gst_real_pad_dispose), (gst_real_pad_finalize),
24454 (gst_pad_load_and_link), (gst_pad_save_thyself),
24455 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24456 (gst_pad_check_pull_range), (gst_pad_pull_range),
24457 (gst_pad_template_get_type), (gst_pad_template_class_init),
24458 (gst_pad_template_init), (gst_pad_template_dispose),
24459 (name_is_valid), (gst_static_pad_template_get),
24460 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24461 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24462 (gst_pad_get_element_private), (gst_pad_start_task),
24463 (gst_pad_pause_task), (gst_pad_stop_task),
24464 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24465 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24466 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24467 (gst_ghost_pad_new):
24469 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24470 (gst_query_new_position), (gst_query_set_position),
24471 (gst_query_parse_position), (gst_query_new_convert),
24472 (gst_query_set_convert), (gst_query_parse_convert):
24474 * gst/gstqueryutils.c:
24475 * gst/gstqueryutils.h:
24476 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24477 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24478 (gst_queue_handle_src_query):
24479 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24480 (gst_element_query_position), (gst_element_query_convert),
24481 (intersect_caps_func), (gst_pad_query_position),
24482 (gst_pad_query_convert):
24484 * tools/gst-inspect.c: (print_pad_info):
24485 * tools/gst-xmlinspect.c: (print_element_info):
24486 Remove old query functions. Ported old code.
24487 Added position/convert helper functions to gstutils.
24488 Reordered gstpad.c code, grouping relevant things.
24489 Remove gst_message_new(), always need to speficy a specific
24493 2005-05-09 Andy Wingo <wingo@pobox.com>
24495 * gst/gstiterator.h: Add some includes.
24497 * gst/gstqueryutils.h: Include more headers.
24500 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24501 some uses of gst_pad_query.
24503 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24504 NULL out parameters.
24505 (gst_query_new_position): New proc, allocates a new position
24508 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24509 gstqueryutils.c to the build.
24511 * gst/gststructure.c (gst_structure_set_valist): Implement with
24512 the generic G_VALUE_COLLECT.
24514 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24516 * gst/Makefile.am: (gst_headers):
24517 Added gstqueryutils.h to the list of headers to install, that was
24518 a 'nachty' move wingo :)
24520 2005-05-06 Andy Wingo <wingo@pobox.com>
24523 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24524 GstData, init a memchunk.
24525 (standard_definitions): Add a few query types, deprecate a few.
24526 (gst_query_get_type): New proc.
24527 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24529 (gst_query_new_application, gst_query_get_structure): New public
24532 * docs/design/draft-query.txt: Removed LINKS from the query types,
24533 because all the rest can be dispatched to other pads -- seemed
24534 ugly to have a query that couldn't be dispatched. internal_links
24535 is fine as a pad method.
24537 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24538 in gstpad.c, but maintain binary compatibility for the moment.
24539 Will fix before 0.9 is out.
24541 * gst/gstqueryutils.c:
24542 * gst/gstqueryutils.h: New files, implement 3 methods for each
24543 query type: parse_query, parse_response, and set. Probably need an
24546 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24548 * gst/elements/gstfilesink.c (gst_filesink_query2):
24549 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24550 query_types, and formats methods.
24552 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24553 (gst_pad_set_query2_function): New functions.
24554 (gst_real_pad_init): Set query2_default as the default query2
24555 function. Basically just dispatches to internally linked pads.
24559 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24560 without using the atomic operations. Only one thread can possibly
24561 be accessing the data at this point. Changed so as to avoid
24562 gst_atomic operations.
24564 2005-05-06 Wim Taymans <wim@fluendo.com>
24566 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24567 Also set caps if we use the fallback buffer alloc.
24569 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24571 * docs/gst/Makefile.am:
24572 * docs/gst/gstreamer-docs.sgml:
24573 * docs/gst/gstreamer-sections.txt:
24574 * docs/gst/tmpl/gstatomic.sgml:
24575 * docs/gst/tmpl/gstmemchunk.sgml:
24576 * testsuite/elements/struct_i386.h:
24577 * win32/GStreamer.vcproj:
24579 Purge GstAtomic stuff from docs and win32 makefiles as well
24581 2005-05-06 Wim Taymans <wim@fluendo.com>
24583 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24584 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24585 * gst/gstpad.c: (gst_pad_peer_get_caps):
24586 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24587 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24588 (gst_queue_src_activate), (gst_queue_change_state):
24590 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24591 (intersect_caps_func):
24592 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24593 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24594 Some fixes for the peer_get_caps() change.
24596 2005-05-06 Wim Taymans <wim@fluendo.com>
24598 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24599 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24600 (gst_basesink_activate):
24601 Actually do something with error codes returned from the push
24604 2005-05-06 Wim Taymans <wim@fluendo.com>
24606 * docs/design/part-element-sink.txt:
24607 * docs/design/part-element-source.txt:
24608 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24609 (gst_basesink_event), (gst_basesink_activate):
24610 * gst/base/gstbasesink.h:
24611 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24612 (gst_basesrc_activate):
24613 * gst/base/gstbasesrc.h:
24614 * gst/gstelement.c: (gst_element_pads_activate):
24615 Some more documentation.
24616 Fixed scheduling decision in _pads_activate().
24618 2005-05-05 Andy Wingo <wingo@pobox.com>
24620 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24623 2005-05-05 Wim Taymans <wim@fluendo.com>
24625 * gst/base/Makefile.am:
24626 * gst/base/gstbasesink.h:
24627 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24628 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24629 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24630 (gst_collectpads_class_init), (gst_collectpads_init),
24631 (gst_collectpads_finalize), (gst_collectpads_new),
24632 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24633 (find_pad), (gst_collectpads_remove_pad),
24634 (gst_collectpads_is_active), (gst_collectpads_collect),
24635 (gst_collectpads_collect_range), (gst_collectpads_start),
24636 (gst_collectpads_stop), (gst_collectpads_peek),
24637 (gst_collectpads_pop), (gst_collectpads_available),
24638 (gst_collectpads_read), (gst_collectpads_flush),
24639 (gst_collectpads_chain):
24640 * gst/base/gstcollectpads.h:
24641 * gst/elements/Makefile.am:
24642 * gst/elements/gstelements.c:
24643 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24644 (gst_fakesink_get_times), (gst_fakesink_event),
24645 (gst_fakesink_preroll), (gst_fakesink_render):
24646 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24647 (gst_filesink_init), (gst_filesink_set_location),
24648 (gst_filesink_open_file), (gst_filesink_close_file),
24649 (gst_filesink_pad_query), (gst_filesink_event),
24650 (gst_filesink_render), (gst_filesink_change_state):
24651 * gst/elements/gstfilesink.h:
24652 Added object to help in making collect pad based elements.
24654 Make event function in sink baseclass return gboolean.
24656 2005-05-05 Wim Taymans <wim@fluendo.com>
24658 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24659 (gst_bin_get_by_name):
24661 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24662 (gst_clock_finalize):
24663 * gst/gstdata.c: (gst_data_replace):
24665 * gst/gstelement.c: (gst_element_request_pad),
24666 (gst_element_pads_activate):
24667 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24668 (gst_object_unref):
24669 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24670 (gst_pad_set_checkgetrange_function),
24671 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24672 (gst_pad_check_pull_range), (gst_pad_pull_range),
24673 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24674 (gst_pad_pause_task), (gst_pad_stop_task):
24675 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24676 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24677 Fix name lookup in GstBin.
24678 Added _data_replace() function and _buffer_replace()
24679 Use finalize method to clean up clock.
24680 Fix refcounting on request pads.
24681 Fix pad schedule mode error.
24682 Some more object refcounting debug info,
24685 2005-05-04 Andy Wingo <wingo@pobox.com>
24687 * check/Makefile.am:
24688 * docs/gst/tmpl/gstatomic.sgml:
24689 * docs/gst/tmpl/gstplugin.sgml:
24690 * gst/base/gstbasesink.c: (gst_basesink_activate):
24691 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24692 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24693 (gst_basesrc_query), (gst_basesrc_set_property),
24694 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24695 (gst_basesrc_activate):
24696 * gst/base/gstbasesrc.h:
24697 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24698 (gst_base_transform_src_activate):
24699 * gst/elements/gstelements.c:
24700 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24701 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24702 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24703 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24704 (gst_type_find_element_checkgetrange),
24705 (gst_type_find_element_activate):
24706 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24707 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24708 (gst_caps_load_thyself):
24709 * gst/gstelement.c: (gst_element_pads_activate),
24710 (gst_element_save_thyself), (gst_element_restore_thyself):
24711 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24712 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24714 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24715 (gst_xml_parse_file), (gst_xml_parse_memory),
24716 (gst_xml_get_element), (gst_xml_make_element):
24717 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24718 (_file_index_id_save_xml), (gst_file_index_commit):
24719 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24720 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24722 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24723 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24724 * tools/gst-complete.c: (main):
24725 * tools/gst-compprep.c: (main):
24726 * tools/gst-inspect.c: (print_element_properties_info):
24727 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24728 * tools/gst-xmlinspect.c: (print_element_properties):
24731 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24733 * gst/gstplugin.c: (gst_plugin_check_module),
24734 (gst_plugin_check_file), (gst_plugin_load_file):
24735 apply patch from #172526 to make register work on MacOSX
24737 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24739 * docs/gst/tmpl/gstconfig.sgml:
24740 * gst/gstconfig.h.in:
24741 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24742 * testsuite/debug/printf_extension.c: (main):
24743 Do not use GST_PTR_FORMAT on pointers to types with
24744 sizeof < sizeof(gpointer). Fixes test on 64-bit
24745 * testsuite/elements/property.h:
24746 use correct printf format
24748 2005-05-02 Wim Taymans <wim@fluendo.com>
24750 * docs/design/draft-push-pull.txt:
24751 * docs/design/draft-query.txt:
24752 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24753 (gst_basesrc_start):
24754 Added draft for new query API.
24755 Added draft for better selecting scheduling methods.
24756 Make basesrc ignore length if the subclass does not support
24759 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24762 possible fixes for automake-1.5 - _LIBADD is reserved
24764 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24766 * docs/faq/Makefile.am:
24767 * docs/manual/Makefile.am:
24768 * docs/manuals.mak:
24769 * docs/pwg/Makefile.am:
24771 possible fixes for automake-1.5
24773 2005-04-28 Wim Taymans <wim@fluendo.com>
24775 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24776 (gst_basesink_pad_getcaps), (gst_basesink_init),
24777 (gst_basesink_do_sync):
24778 * gst/gstclock.c: (gst_clock_entry_new):
24779 * gst/gstevent.c: (gst_event_discont_get_value):
24780 * gst/gstpipeline.c: (pipeline_bus_handler),
24781 (gst_pipeline_change_state):
24782 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24783 Better debugging of clocking info.
24784 Allow NULL values when getting discont values.
24786 2005-04-27 Wim Taymans <wim@fluendo.com>
24788 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24789 * check/gst/gstpad.c: (gst_pad_suite):
24790 Increase timeout for checks.
24792 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24794 * check/Makefile.am:
24795 fix the broken rule for cleanup. Apparently this rule is
24796 only needed on FC2, so maybe this warrants further autotool
24799 2005-04-26 Wim Taymans <wim@fluendo.com>
24801 * gst/gsttrashstack.h:
24802 Ooohh. a nasty one! After having a failed pop() from the stack,
24803 it's possible that the stack is empty. In that case, don't
24804 follow the NULL pointer.
24806 2005-04-25 Wim Taymans <wim@fluendo.com>
24808 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24809 (gst_pad_set_checkgetrange_function),
24810 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24811 (gst_pad_check_pull_range), (gst_pad_pull_range),
24812 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24813 (gst_pad_pause_task), (gst_pad_stop_task):
24814 * gst/gstplugin.c: (gst_plugin_load):
24816 Remove gst_library_load as it does more harm than good with
24817 the new g_module flags.
24818 Revert bogus caps template check in pad linking, pad caps
24819 are important when linking not the template, which is more
24820 general than the current caps.
24822 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24824 * gst/autoplug/.cvsignore:
24825 * gst/autoplug/Makefile.am:
24826 * gst/autoplug/gstsearchfuncs.c:
24827 * gst/autoplug/gstsearchfuncs.h:
24828 * gst/autoplug/gstspider.c:
24829 * gst/autoplug/gstspider.h:
24830 * gst/autoplug/gstspideridentity.c:
24831 * gst/autoplug/gstspideridentity.h:
24832 * gst/autoplug/spidertest.c:
24835 2005-04-25 Wim Taymans <wim@fluendo.com>
24837 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24838 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24839 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24840 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24842 Added stubs for unimplemented functions.
24844 2005-04-24 David Schleef <ds@schleef.org>
24846 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24849 2005-04-24 David Schleef <ds@schleef.org>
24851 Convert everything from GstAtomicInt to g_atomic_int_*, and
24856 * gst/gstatomic_impl.h:
24864 * gst/gstdata_private.h:
24868 * gst/gstmessage.c:
24871 * gst/gststructure.c:
24872 * gst/gststructure.h:
24873 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24876 2005-04-24 David Schleef <ds@schleef.org>
24878 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24879 make the regressions tests work. Remove some code that is no
24881 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24882 Disable warning for pads without templates.
24884 2005-04-24 David Schleef <ds@schleef.org>
24886 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24887 functions that handle filtered links.
24888 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24890 * gst/gstutils.c: Fix/remove utility functions that handle
24893 * gst/gstvalue.c: Add serialization/deserialization of caps
24894 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24895 requires fixing so that the filter caps notation creates
24896 a capsfilter element and sets the filter_caps property. I
24897 think everyone probably wants to keep the shorthand notation.
24898 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24899 * docs/gst/tmpl/gstpad.sgml:
24901 * gst/elements/gstelements.c: Register capsfilter element.
24902 * gst/Makefile.am: fix spacing
24903 * docs/random/ds/0.9-suggested-changes: random
24905 2005-04-23 David Schleef <ds@schleef.org>
24907 * gst/elements/Makefile.am:
24908 * gst/elements/gstcapsfilter.c: New element that acts like an
24909 identity, but filters caps. Will eventually replace filtered
24910 caps in pad linking.
24911 * gst/gstutils.c: (gst_element_create_all_pads): New function
24912 to create all the ALWAYS pads that are registered with an
24913 element class. This functionality should eventually be
24914 merged in with GstElement initialization.
24916 * testsuite/trigger/README: part of trigger test code that should
24917 have been checked in a long time ago.
24919 2005-04-23 David Schleef <ds@schleef.org>
24921 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24922 needed with new versions of libtool (nobody will confirm this),
24923 and hard to carry around.
24924 * gst/autoplug/Makefile.am:
24925 * gst/base/Makefile.am:
24926 * gst/elements/Makefile.am:
24927 * gst/indexers/Makefile.am:
24928 * gst/schedulers/Makefile.am:
24929 * libs/gst/bytestream/Makefile.am:
24930 * libs/gst/control/Makefile.am:
24931 * libs/gst/dataprotocol/Makefile.am:
24932 * libs/gst/getbits/Makefile.am:
24934 2005-04-21 Wim Taymans <wim@fluendo.com>
24936 * docs/design/draft-push-pull.txt:
24937 * docs/design/part-MT-refcounting.txt:
24938 * docs/design/part-TODO.txt:
24939 * docs/design/part-caps.txt:
24940 * docs/design/part-events.txt:
24941 * docs/design/part-gstbus.txt:
24942 * docs/design/part-gstpipeline.txt:
24943 * docs/design/part-messages.txt:
24944 * docs/design/part-push-pull.txt:
24945 * docs/design/part-query.txt:
24948 2005-04-21 Wim Taymans <wim@fluendo.com>
24950 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24951 (gst_message_new), (gst_message_new_error),
24952 (gst_message_new_warning), (gst_message_new_tag),
24953 (gst_message_new_state_changed), (gst_message_new_application),
24954 (gst_message_get_structure):
24955 * gst/gstmessage.h:
24956 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24957 (gst_structure_copy_conditional):
24958 Use parent refcount in GstMessage to ensure GstStructure
24960 Cleaned up headers a bit.
24963 2005-04-20 Wim Taymans <wim@fluendo.com>
24965 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24966 (gst_basesink_pad_getcaps), (gst_basesink_init),
24967 (gst_basesink_chain_unlocked):
24968 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24969 (gst_type_find_helper):
24970 * gst/elements/gsttypefindelement.c:
24971 (gst_type_find_element_have_type), (gst_type_find_element_init),
24972 (stop_typefinding), (gst_type_find_element_handle_event),
24973 (find_suggest), (gst_type_find_element_chain),
24974 (gst_type_find_element_checkgetrange),
24975 (gst_type_find_element_getrange), (do_typefind),
24976 (gst_type_find_element_activate):
24977 * gst/gstbuffer.c: (_gst_buffer_sub_free),
24978 (gst_buffer_default_free), (gst_buffer_default_copy),
24979 (gst_buffer_set_caps):
24980 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24981 (gst_caps_replace):
24982 * gst/gstmessage.c: (gst_message_new),
24983 (gst_message_new_state_changed):
24984 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24985 (gst_pad_set_checkgetrange_function),
24986 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24987 (gst_pad_set_caps), (gst_pad_check_pull_range),
24988 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24990 * gst/gsttypefind.c: (gst_type_find_register):
24991 Make gst_caps_replace() work like other _replace() functions.
24992 Use _caps_replace() where possible.
24993 Make sure _message_new() initialises its field.
24994 Add gst_static_pad_template_get_caps()
24997 2005-04-18 Andy Wingo <wingo@pobox.com>
24999 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25000 on the peer, not the pad. I think that was a typo. Pass an extra
25001 arg to see if random access is possible. Activate the pads as
25002 PULL_RANGE if possible.
25004 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25006 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25007 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25010 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25012 * docs/faq/using.xml:
25013 Add note on gstreamer-properties (#154996).
25015 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25017 * docs/random/bbb/optional-properties:
25018 Some analysis on optional properties.
25020 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25022 * docs/gst/tmpl/gstelementfactory.sgml:
25023 * gst/gstelement.h:
25024 * gst/gstelementfactory.c: (gst_element_factory_init),
25025 (gst_element_factory_cleanup), (gst_element_register),
25026 (__gst_element_factory_add_static_pad_template),
25027 (gst_element_factory_get_static_pad_templates),
25028 (gst_element_factory_can_src_caps),
25029 (gst_element_factory_can_sink_caps):
25030 * gst/registries/Makefile.am:
25031 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25032 (gst_xml_registry_class_init), (gst_xml_registry_init),
25033 (gst_xml_registry_new), (gst_xml_registry_set_property),
25034 (gst_xml_registry_get_property), (get_time), (make_dir),
25035 (gst_xml_registry_get_perms_func),
25036 (plugin_times_older_than_recurse), (plugin_times_older_than),
25037 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25038 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25039 (add_to_char_array), (read_string), (read_uint), (read_enum),
25040 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25041 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25042 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25043 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25044 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25045 (gst_xml_registry_rebuild):
25046 * gst/registries/gstlibxmlregistry.h:
25047 * tools/gst-compprep.c: (main):
25048 * tools/gst-inspect.c: (print_pad_templates_info):
25049 * tools/gst-xmlinspect.c: (print_element_info):
25050 Use libxml2 for registry parsing, use staticpadtemplates in
25051 elementfactories. Makes gst_init() +/- 10x faster.
25053 2005-04-12 Wim Taymans <wim@fluendo.com>
25055 * gst/base/Makefile.am:
25056 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25057 (gst_basesink_pad_getcaps), (gst_basesink_init),
25058 (gst_basesink_event), (gst_basesink_change_state):
25059 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25060 (gst_basesrc_init), (gst_basesrc_query),
25061 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25062 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25063 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25064 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25065 (gst_basesrc_stop), (gst_basesrc_activate),
25066 (gst_basesrc_change_state):
25067 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25068 (helper_find_suggest), (gst_type_find_helper):
25069 * gst/base/gsttypefindhelper.h:
25070 * gst/elements/Makefile.am:
25071 * gst/elements/gstelements.c:
25072 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25073 (gst_fakesink_get_times), (gst_fakesink_event),
25074 (gst_fakesink_preroll), (gst_fakesink_render):
25075 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25076 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25077 (gst_fakesrc_get_property), (gst_fakesrc_create),
25078 (gst_fakesrc_start), (gst_fakesrc_stop):
25079 * gst/elements/gstfakesrc.h:
25080 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25081 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25082 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25083 (gst_filesrc_create_read), (gst_filesrc_create),
25084 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25085 (gst_filesrc_start):
25086 * gst/elements/gsttypefindelement.c:
25087 (gst_type_find_element_have_type), (gst_type_find_element_init),
25088 (start_typefinding), (stop_typefinding), (push_buffer_store),
25089 (gst_type_find_element_handle_event),
25090 (gst_type_find_element_chain),
25091 (gst_type_find_element_checkgetrange),
25092 (gst_type_find_element_getrange), (do_typefind),
25093 (gst_type_find_element_activate),
25094 (gst_type_find_element_change_state):
25095 * gst/elements/gsttypefindelement.h:
25096 * gst/gstpipeline.c: (pipeline_bus_handler):
25097 Added typefind helper.
25098 Small preroll fix in the base sink.
25099 Disable typefind code in basesrc.
25100 Crude port of typefindelement.
25104 2005-04-11 Wim Taymans <wim@fluendo.com>
25106 * check/gst/gstbus.c: (gstbus_suite):
25107 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25108 * check/gstcheck.h:
25109 Fix up the timeout so that the test does not fail.
25111 2005-04-06 Wim Taymans <wim@fluendo.com>
25114 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25115 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25116 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25117 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25118 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25119 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25120 (gst_basesrc_stop), (gst_basesrc_activate),
25121 (gst_basesrc_change_state), (basesrc_find_peek),
25122 (basesrc_find_suggest), (gst_basesrc_type_find):
25123 * gst/base/gstbasesrc.h:
25124 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25125 (gst_filesrc_class_init), (gst_filesrc_init),
25126 (gst_filesrc_finalize), (gst_filesrc_set_location),
25127 (gst_filesrc_set_property), (gst_filesrc_get_property),
25128 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25129 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25130 (gst_filesrc_create_read), (gst_filesrc_create),
25131 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25132 * gst/elements/gstfilesrc.h:
25133 * gst/gstelement.c: (gst_element_get_state_func),
25134 (gst_element_lost_state), (gst_element_pads_activate):
25135 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25136 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25137 (gst_pad_pull_range):
25139 More work on the generic source base class, implement seeking,
25141 Make filesrc extend the base source class.
25142 Added gst_pad_set_checkgetrange_function to GstPad.
25144 2005-04-06 Andy Wingo <wingo@pobox.com>
25146 * pkgconfig/gstreamer-base.pc.in:
25147 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25149 * pkgconfig/Makefile.am:
25150 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25152 2005-04-04 Wim Taymans <wim@fluendo.com>
25154 * gst/base/Makefile.am:
25156 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25157 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25158 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25159 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25160 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25161 (gst_basesrc_base_init), (gst_basesrc_class_init),
25162 (gst_basesrc_init), (gst_basesrc_get_formats),
25163 (gst_basesrc_get_query_types), (gst_basesrc_query),
25164 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25165 (gst_basesrc_set_property), (gst_basesrc_get_property),
25166 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25167 (gst_basesrc_loop), (gst_basesrc_activate),
25168 (gst_basesrc_change_state):
25169 * gst/base/gstbasesrc.h:
25170 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25171 (gst_fakesrc_class_init), (gst_fakesrc_init),
25172 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25173 (gst_fakesrc_get_property), (gst_fakesrc_create):
25174 * gst/elements/gstfakesrc.h:
25175 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25176 (gst_filesrc_open_file), (gst_filesrc_loop),
25177 (gst_filesrc_activate), (filesrc_find_peek),
25178 (gst_filesrc_type_find):
25179 Made base source class, make fakesrc extend it.
25180 Add comments to basesink class.
25181 Some filesrc cleanup.
25183 2005-03-31 David Schleef <ds@schleef.org>
25185 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25186 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25187 expected to link against libgstreamer.
25188 * gst/base/Makefile.am: link against libgstreamer
25189 * gst/elements/Makefile.am: same
25191 2005-03-31 Andy Wingo <wingo@pobox.com>
25193 * tests/instantiate/Makefile.am:
25194 * tests/instantiate/caps.c: Add test to test speed of caps copy
25197 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25198 GMemChunk to be fair.
25200 * gst/gsttrashstack.h: Remove warning about using the fallback
25201 trash stack implementation, it's still faster than malloc.
25203 2005-03-30 Andy Wingo <wingo@pobox.com>
25205 * tests/complexity.c: Add a copyright.
25207 2005-03-31 Wim Taymans <wim@fluendo.com>
25209 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25210 (gst_base_transform_class_init), (gst_base_transform_init),
25211 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25212 (gst_base_transform_get_property),
25213 (gst_base_transform_sink_activate),
25214 (gst_base_transform_src_activate),
25215 (gst_base_transform_change_state):
25216 * gst/base/gstbasetransform.h:
25217 * gst/elements/gstidentity.c: (gst_identity_class_init),
25218 (gst_identity_event), (gst_identity_check_perfect),
25219 (gst_identity_transform), (gst_identity_start),
25220 (gst_identity_stop):
25221 Added start/stop methods to transform base class so subclasses
25222 don't need to deal with state changes even.
25224 2005-03-31 Wim Taymans <wim@fluendo.com>
25226 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25227 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25229 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25230 (gst_pad_pull_range):
25231 Added rate to the discont event to prepare for variable speed
25232 and reverse playback.
25234 2005-03-29 David Schleef <ds@schleef.org>
25237 * testsuite/trigger/Makefile.am:
25238 * testsuite/trigger/trigger.c: A little example program to show
25239 how trigger-based elements can work.
25241 2005-03-29 Wim Taymans <wim@fluendo.com>
25243 * gst/base/Makefile.am:
25245 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25246 (gst_basesink_base_init), (gst_basesink_class_init),
25247 (gst_basesink_pad_getcaps), (gst_basesink_init),
25248 (gst_basesink_activate), (gst_basesink_change_state):
25249 * gst/base/gstbasesink.h:
25250 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25251 (gst_base_transform_base_init), (gst_base_transform_finalize),
25252 (gst_base_transform_class_init), (gst_base_transform_init),
25253 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25254 (gst_base_transform_event), (gst_base_transform_getrange),
25255 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25256 (gst_base_transform_set_property),
25257 (gst_base_transform_get_property),
25258 (gst_base_transform_sink_activate),
25259 (gst_base_transform_src_activate),
25260 (gst_base_transform_change_state):
25261 * gst/base/gstbasetransform.h:
25262 * gst/elements/gstidentity.c: (gst_identity_finalize),
25263 (gst_identity_class_init), (gst_identity_init),
25264 (gst_identity_event), (gst_identity_check_perfect),
25265 (gst_identity_transform), (gst_identity_set_property),
25266 (gst_identity_get_property), (gst_identity_change_state):
25267 * gst/elements/gstidentity.h:
25268 * gst/gstelement.c: (gst_element_get_state_func),
25269 (gst_element_lost_state), (gst_element_pads_activate):
25270 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25271 (gst_pad_check_pull_range), (gst_pad_pull_range):
25273 Simplify pad activation.
25274 Added function to check if pull_range can be performed.
25275 Error out when pulling inactive or flushing pads.
25276 Removed const from refcounted types as it does not make sense.
25277 Simplify pad templates in basesink
25278 Added base class for simple 1-to-1 transforms.
25279 Make identity subclass the base transform.
25281 2005-03-29 Andy Wingo <wingo@pobox.com>
25283 * docs/libs/gstreamer-libs-overrides.txt:
25284 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25285 really don't understand what's going on, but like whatever. I want
25288 * docs/gst/Makefile.am:
25289 * docs/libs/Makefile.am: Dist the overrides files.
25291 * check/Makefile.am (clean-local): Remove .libs directories.
25293 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25294 elements to EXTRA_DIST, so po/ files are happy.
25296 * po/POTFILES.in: Er, remove it here.
25298 * po/POTFILES: Remove gstspider.c.
25300 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25302 * docs/libs/gstreamer-libs-docs.sgml:
25303 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25306 * tests/complexity.c (main): Set the length of the preroll queue
25307 on the sinks to prevent a lockup.
25309 * libs/gst/dataprotocol/Makefile.am:
25310 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25311 the same as the one in check/gst-libs/gdp.c.
25313 * po/, docs/gst/: Commit automatic changes to docs and po files.
25315 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25316 the versioned libgstbase.
25318 * check/Makefile.am: Depend on an unversioned gst-register, seems
25319 to make autoconf happier.
25321 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25323 2005-03-28 Wim Taymans <wim@fluendo.com>
25326 * docs/design/part-gstelement.txt:
25327 * docs/design/part-negotiation.txt:
25328 * docs/design/part-preroll.txt:
25329 * docs/design/part-scheduling.txt:
25330 * docs/design/part-states.txt:
25332 * gst/base/Makefile.am:
25334 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25335 (gst_basesink_base_init), (gst_basesink_class_init),
25336 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25337 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25338 (gst_basesink_set_pad_functions),
25339 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25340 (gst_basesink_set_property), (gst_basesink_get_property),
25341 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25342 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25343 (gst_basesink_preroll_queue_push),
25344 (gst_basesink_preroll_queue_empty),
25345 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25346 (gst_basesink_event), (gst_basesink_get_times),
25347 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25348 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25349 (gst_basesink_loop), (gst_basesink_activate),
25350 (gst_basesink_change_state):
25351 * gst/base/gstbasesink.h:
25352 * gst/elements/Makefile.am:
25353 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25354 (gst_fakesink_class_init), (gst_fakesink_init),
25355 (gst_fakesink_set_property), (gst_fakesink_get_property),
25356 (gst_fakesink_get_times), (gst_fakesink_event),
25357 (gst_fakesink_preroll), (gst_fakesink_render),
25358 (gst_fakesink_change_state):
25359 * gst/elements/gstfakesink.h:
25360 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25361 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25362 * gst/gstelement.c: (gst_element_add_pad),
25363 (gst_element_get_state_func), (gst_element_abort_state),
25364 (gst_element_commit_state), (gst_element_lost_state),
25365 (gst_element_set_state), (gst_element_pads_activate):
25366 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25367 * gst/gstpipeline.c: (gst_pipeline_send_event),
25368 (gst_pipeline_change_state):
25369 Added state change code.
25370 Added/updated docs.
25371 Added sink base class, make fakesink extend the base class.
25372 Small cleanups in GstPipeline.
25374 2005-03-26 David Schleef <ds@schleef.org>
25376 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25377 is broken and should be implemented in a different library.
25378 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25379 * gst/gst.h: remove gstcpu.h
25380 * gst/gstcpu.c: remove
25381 * gst/gstcpu.h: remove
25382 * gst/Makefile.am.future: Remove this file. It's ancient.
25384 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25386 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25387 (gst_bin_send_event):
25388 Add default event/set_manager handlers. The set_manager handler
25389 takes care that the manager is distributed over kids that were
25390 already in the bin before the manager was set. The event handler
25391 is a utility virtual function that sends the event over all sinks,
25392 so that gst_element_send_event (bin, event); has the expected
25394 * gst/gstpad.c: (gst_pad_event_default):
25395 Re-install default event handling for discontinuities, so that
25396 seeking works without requiring hacks in applications or extra
25398 * gst/gstpipeline.c: (gst_pipeline_class_init),
25399 (gst_pipeline_send_event):
25400 Half hack, half utility: set a pipeline to PAUSED for seek events,
25401 since that is the only way we can guarantee a/v sync. Means that
25402 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25403 and it "just works".
25405 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25407 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25408 Lock/unlock mismatch.
25410 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25412 * docs/faq/gst-uninstalled:
25413 add gst-plugins-base
25414 * docs/gst/Makefile.am:
25415 don't error out until docs are fixed
25416 * docs/gst/gstreamer.types:
25419 2005-03-22 Wim Taymans <wim@fluendo.com>
25421 * check/Makefile.am:
25422 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25423 * gst/gststructure.c: (gst_structure_set_valist),
25424 (gst_structure_copy_conditional):
25425 Activated more tests.
25426 Added message test.
25427 Added G_TYPE_POINTER to GstStructure.
25430 2005-03-22 Wim Taymans <wim@fluendo.com>
25432 * docs/design/part-TODO.txt:
25433 * docs/design/part-events.txt:
25434 * docs/design/part-gstbin.txt:
25435 * docs/design/part-gstbus.txt:
25436 * docs/design/part-gstpipeline.txt:
25437 * docs/design/part-messages.txt:
25439 * gst/gstmessage.c:
25442 2005-03-21 Wim Taymans <wim@fluendo.com>
25444 * gst/gstbus.c: (gst_bus_post):
25445 Fix copy-and-paste error.
25447 2005-03-21 Wim Taymans <wim@fluendo.com>
25449 * check/Makefile.am:
25451 * gst/elements/Makefile.am:
25452 * gst/elements/gstelements.c:
25453 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25454 (gst_fakesink_event), (gst_fakesink_chain):
25455 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25456 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25457 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25458 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25459 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25460 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25461 (gst_fakesrc_loop), (gst_fakesrc_activate),
25462 (gst_fakesrc_change_state):
25463 * gst/elements/gstfakesrc.h:
25464 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25465 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25466 (gst_filesrc_open_file), (gst_filesrc_loop),
25467 (gst_filesrc_activate), (gst_filesrc_change_state),
25468 (filesrc_find_peek), (filesrc_find_suggest),
25469 (gst_filesrc_type_find):
25470 * gst/elements/gstidentity.c: (gst_identity_finalize),
25471 (gst_identity_class_init), (gst_identity_init),
25472 (gst_identity_proxy_getcaps), (identity_queue_push),
25473 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25474 (gst_identity_getrange), (gst_identity_chain),
25475 (gst_identity_sink_loop), (gst_identity_src_loop),
25476 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25477 (gst_identity_set_property), (gst_identity_get_property),
25478 (gst_identity_change_state):
25479 * gst/elements/gstidentity.h:
25480 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25481 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25482 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25483 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25484 (gst_tee_sink_activate):
25485 * gst/elements/gsttee.h:
25486 * gst/gst.c: (gst_register_core_elements), (init_post):
25488 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25489 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25490 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25491 (gst_bin_change_state):
25493 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25494 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25495 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25496 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25497 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25498 (bus_watch_callback), (bus_watch_destroy),
25499 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25500 (poll_timeout), (gst_bus_poll):
25504 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25505 (gst_element_post_message), (gst_element_message_full),
25506 (gst_element_get_state_func), (gst_element_get_state),
25507 (gst_element_abort_state), (gst_element_commit_state),
25508 (gst_element_lost_state), (gst_element_set_state),
25509 (gst_element_pads_activate), (gst_element_change_state),
25510 (gst_element_dispose), (gst_element_set_manager_func),
25511 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25512 (gst_element_set_manager), (gst_element_get_manager),
25513 (gst_element_set_bus), (gst_element_get_bus),
25514 (gst_element_set_scheduler), (gst_element_get_scheduler):
25515 * gst/gstelement.h:
25516 * gst/gstevent.c: (gst_event_new_segment_seek),
25517 (gst_event_new_flush):
25519 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25520 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25521 (gst_message_new_eos), (gst_message_new_error),
25522 (gst_message_new_warning), (gst_message_new_tag),
25523 (gst_message_new_state_changed), (gst_message_new_application),
25524 (gst_message_get_structure), (gst_message_parse_tag),
25525 (gst_message_parse_state_changed), (gst_message_parse_error),
25526 (gst_message_parse_warning):
25527 * gst/gstmessage.h:
25528 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25529 (gst_real_pad_set_property), (gst_pad_set_active),
25530 (gst_pad_is_active), (gst_pad_set_blocked_async),
25531 (gst_pad_set_blocked), (gst_pad_is_blocked),
25532 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25533 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25534 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25535 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25536 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25537 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25538 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25539 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25540 (gst_pad_set_caps), (gst_pad_configure_sink),
25541 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25542 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25543 (gst_real_pad_dispose), (gst_real_pad_finalize),
25544 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25545 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25546 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25548 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25549 (pipeline_bus_handler), (gst_pipeline_change_state),
25550 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25551 * gst/gstpipeline.h:
25553 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25554 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25555 (gst_queue_link_src), (gst_queue_bufferalloc),
25556 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25557 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25558 (gst_queue_loop), (gst_queue_handle_src_event),
25559 (gst_queue_handle_src_query), (gst_queue_src_activate),
25560 (gst_queue_change_state):
25562 * gst/gstscheduler.c: (gst_scheduler_init),
25563 (gst_scheduler_dispose), (gst_scheduler_create_task),
25564 (gst_scheduler_factory_create):
25565 * gst/gstscheduler.h:
25566 * gst/gststructure.c: (gst_structure_get_type),
25567 (gst_structure_copy_conditional):
25568 * gst/gststructure.h:
25569 * gst/gsttaginterface.h:
25570 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25571 (gst_task_init), (gst_task_dispose), (gst_task_create),
25572 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25578 * gst/schedulers/Makefile.am:
25579 * gst/schedulers/cothreads_compat.h:
25580 * gst/schedulers/entryscheduler.c:
25581 * gst/schedulers/faircothreads.c:
25582 * gst/schedulers/faircothreads.h:
25583 * gst/schedulers/fairscheduler.c:
25584 * gst/schedulers/gstbasicscheduler.c:
25585 * gst/schedulers/gstoptimalscheduler.c:
25586 * gst/schedulers/gthread-cothreads.h:
25587 * gst/schedulers/threadscheduler.c:
25588 (gst_thread_scheduler_task_get_type),
25589 (gst_thread_scheduler_task_class_init),
25590 (gst_thread_scheduler_task_init),
25591 (gst_thread_scheduler_task_start),
25592 (gst_thread_scheduler_task_stop),
25593 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25594 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25595 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25596 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25598 * libs/gst/Makefile.am:
25599 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25600 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25601 (gst_file_pad_parent_set):
25602 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25603 (gst_dp_event_from_packet):
25604 * tests/complexity.c: (main):
25605 * tests/mass_elements.c: (main):
25606 * testsuite/states/locked.c: (message_received), (main):
25607 * testsuite/states/parent.c: (main):
25608 * tools/gst-inspect.c: (print_element_flag_info),
25609 (print_implementation_info), (print_pad_info):
25610 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25612 * tools/gst-md5sum.c: (event_loop), (main):
25613 * tools/gst-typefind.c: (main):
25614 * tools/gst-xmlinspect.c: (print_element_info):
25616 Added GstBus for mainloop integration.
25617 Added GstMessage for sending notifications on the bus.
25618 Added GstTask as an abstraction for pipeline entry points.
25620 Removed Schedulers.
25621 Simplified GstQueue for multithreaded core.
25622 Made _link threadsafe, removed old capsnego.
25623 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25624 Added pad blocking functions.
25625 Reworked scheduling functions in GstPad to prepare for
25626 scheduling updates soon.
25627 Moved events out of data stream.
25628 Simplified GstEvent types.
25629 Added return values to push/pull.
25630 Removed clocking from GstElement.
25631 Added prototypes for state change function for next merge.
25632 Removed iterate from bins and state change management.
25633 Fixed some elements, disabled others for now.
25634 Fixed -inspect and -launch.
25635 Added check for GstBus.
25637 2005-03-10 Wim Taymans <wim@fluendo.com>
25639 * docs/design/part-MT-refcounting.txt:
25640 * docs/design/part-clocks.txt:
25641 * docs/design/part-gstelement.txt:
25642 * docs/design/part-gstobject.txt:
25643 * docs/design/part-standards.txt:
25644 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25645 (gst_bin_remove_func), (gst_bin_remove):
25649 * testsuite/clock/clock1.c: (main):
25650 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25652 * testsuite/dlopen/loadgst.c: (do_test):
25653 * testsuite/refcounting/bin.c: (add_remove_test1),
25654 (add_remove_test2), (main):
25655 * testsuite/refcounting/element.c: (main):
25656 * testsuite/refcounting/element_pad.c: (main):
25657 * testsuite/refcounting/pad.c: (main):
25658 * tools/gst-launch.c: (sigint_handler_sighandler):
25659 * tools/gst-typefind.c: (main):
25661 Added doc about clock.
25662 removed gst_bin_iterate_recurse_up(), marked methods
25664 Fix more testsuites.
25666 2005-03-09 Wim Taymans <wim@fluendo.com>
25668 * gst/gstpad.c: (gst_pad_get_direction),
25669 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25670 (gst_pad_collect_valist):
25671 * testsuite/bins/interface.c: (main):
25672 * testsuite/caps/audioscale.c: (test_caps):
25673 * testsuite/caps/caps.c: (test1), (test2), (test3):
25674 * testsuite/caps/deserialize.c: (main):
25675 * testsuite/caps/enumcaps.c: (main):
25676 * testsuite/caps/filtercaps.c: (main):
25677 * testsuite/caps/intersect2.c: (main):
25678 * testsuite/caps/random.c: (main):
25679 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25680 * testsuite/caps/sets.c: (check_caps):
25681 * testsuite/caps/simplify.c: (check_caps), (main):
25682 * testsuite/caps/subtract.c: (check_caps):
25683 Fix _pad_get_direction wrt ghostpads.
25684 Fix caps testsuite.
25686 2005-03-09 Wim Taymans <wim@fluendo.com>
25688 * check/Makefile.am:
25689 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25690 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25691 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25692 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25693 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25694 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25695 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25696 (bin_element_is_sink), (gst_bin_iterate_sinks),
25697 (gst_bin_iterate_all_by_interface):
25699 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25700 (gst_element_change_state), (gst_element_dispose),
25701 (gst_element_finalize), (gst_element_set_loop_function):
25702 * gst/gstelement.h:
25703 * gst/gstiterator.c: (find_custom_fold_func):
25704 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25705 (gst_pad_collectv), (gst_pad_collect_valist),
25706 (gst_pad_template_new):
25707 * gst/gstpipeline.c: (gst_pipeline_class_init),
25708 (gst_pipeline_dispose), (gst_pipeline_set_property),
25709 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25710 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25711 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25713 * gst/schedulers/entryscheduler.c:
25714 * gst/schedulers/gstbasicscheduler.c:
25715 (gst_basic_scheduler_cothreaded_chain),
25716 (gst_basic_scheduler_chain_add_element):
25717 * testsuite/bins/interface.c: (main):
25719 Added GstSystemClock test.
25720 Implemented clock distribution code in GstBin.
25721 Implemented iterate sinks method for future use.
25722 Rearranged gstelement.h
25723 Fix GstIterator comparison bug.
25724 Moved some code to GstPipeline, mostly clocking related.
25726 2005-03-09 Wim Taymans <wim@fluendo.com>
25729 * gst/gst_private.h:
25730 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25731 (gst_bin_remove_func), (gst_bin_remove),
25732 (gst_bin_get_by_name_recurse_up):
25733 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25734 (gst_clock_id_compare_func), (gst_clock_id_wait),
25735 (gst_clock_id_wait_async), (gst_clock_init),
25736 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25737 * gst/gstelement.h:
25738 * gst/gstinfo.c: (_gst_debug_init):
25740 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25741 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25743 Bump version number, we're now 0.9.0
25744 Add future debugging category.
25745 Fix NULL _unref() in _get_by_name_recurse_up
25746 Rearrange gstpad.h.
25749 2005-03-08 Wim Taymans <wim@fluendo.com>
25751 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25752 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25753 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25754 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25755 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25756 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25757 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25758 * gst/elements/gstidentity.c: (gst_identity_class_init):
25759 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25760 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25761 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25762 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25763 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25765 * gst/gstelement.c: (gst_element_class_init),
25766 (gst_element_base_class_init), (gst_element_init),
25767 (gst_element_get_random_pad), (gst_element_wait_state_change),
25768 (gst_element_change_state), (gst_element_dispose),
25769 (gst_element_finalize), (gst_element_set_loop_function):
25770 * gst/gstelement.h:
25771 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25772 * gst/gstthread.c: (gst_thread_class_init),
25773 (gst_thread_release_children_locks), (gst_thread_change_state):
25774 * gst/schedulers/gstbasicscheduler.c:
25775 (gst_basic_scheduler_loopfunc_wrapper),
25776 (gst_basic_scheduler_chain_wrapper),
25777 (gst_basic_scheduler_src_wrapper),
25778 (gst_basic_scheduler_remove_element):
25779 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25780 Remove threadsafe properties. Fix elements because GObject
25781 complains when installing a property before declaring a
25782 set/get_property handler.
25783 Rearrange gstelement.h file, use STATE macros for state locks.
25784 Free mutexes in the finalize method instead of dispose.
25786 2005-03-08 Wim Taymans <wim@fluendo.com>
25788 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25789 * gst/gstthread.c: (gst_thread_release_children_locks):
25790 Added parentage check.
25791 Fix build og GstThread again.
25793 2005-03-08 Wim Taymans <wim@fluendo.com>
25795 * docs/design/part-MT-refcounting.txt:
25796 * docs/design/part-conventions.txt:
25797 * docs/design/part-gstobject.txt:
25798 * docs/design/part-relations.txt:
25799 * docs/design/part-standards.txt:
25800 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25801 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25802 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25803 (gst_bin_iterate_all_by_interface):
25806 * gst/gstelement.c: (gst_element_class_init),
25807 (gst_element_change_state), (gst_element_set_loop_function):
25808 * gst/gstelement.h:
25809 * gst/gstiterator.c:
25810 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25811 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25812 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25813 (gst_object_set_parent), (gst_object_unparent),
25814 (gst_object_check_uniqueness):
25816 Docs updates, clean up some headers.
25818 2005-03-07 Wim Taymans <wim@fluendo.com>
25820 * check/.cvsignore:
25821 * check/Makefile.am:
25822 * check/gst-libs/.cvsignore:
25823 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25824 * check/gst/.cvsignore:
25825 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25826 (START_TEST), (gstbus_suite), (main):
25827 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25828 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25829 (gst_data_suite), (main):
25830 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25831 (add_fold_func), (gstiterator_suite), (main):
25832 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25833 (thread_name_object), (thread_name_object_default),
25834 (gst_object_name_compare), (gst_object_suite), (main):
25835 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25836 (gst_pad_suite), (main):
25837 * check/gstcheck.c: (gst_check_log_message_func),
25838 (gst_check_log_critical_func), (gst_check_init):
25839 * check/gstcheck.h:
25840 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25841 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25844 2005-03-07 Wim Taymans <wim@fluendo.com>
25846 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25847 (gst_list_iterator_next), (gst_list_iterator_resync),
25848 (gst_list_iterator_free), (gst_iterator_new_list),
25849 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25850 (gst_iterator_free), (gst_iterator_push), (filter_next),
25851 (filter_resync), (filter_uninit), (filter_free),
25852 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25853 (gst_iterator_foreach), (find_custom_fold_func),
25854 (gst_iterator_find_custom):
25855 * gst/gstiterator.h:
25856 Added missing files.
25858 2005-03-07 Wim Taymans <wim@fluendo.com>
25862 * docs/design/part-MT-refcounting.txt:
25863 * docs/design/part-conventions.txt:
25864 * docs/design/part-gstobject.txt:
25865 * docs/design/part-relations.txt:
25866 * examples/mixer/mixer.c: (main):
25867 * examples/thread/thread.c: (eos), (main):
25869 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25870 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25871 (gst_spider_plug_from_srcpad):
25872 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25873 (gst_spider_identity_change_state),
25874 (gst_spider_identity_sink_loop_type_finding):
25875 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25876 * gst/elements/gstidentity.c: (gst_identity_init):
25877 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25878 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25879 * gst/elements/gsttypefindelement.c: (free_entry):
25882 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25883 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25884 (gst_bin_set_index), (gst_bin_set_element_sched),
25885 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25886 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25887 (gst_bin_iterate_elements), (iterate_child_recurse),
25888 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25889 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25890 (compare_interface), (gst_bin_get_by_interface),
25891 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25893 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25894 (gst_buffer_default_free), (gst_buffer_default_copy),
25895 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25896 (gst_buffer_create_sub):
25898 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25899 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25900 (gst_caps_unref), (gst_static_caps_get),
25901 (gst_caps_remove_and_get_structure), (gst_caps_append),
25902 (gst_caps_append_structure), (gst_caps_remove_structure),
25903 (gst_caps_copy_nth), (gst_caps_set_simple),
25904 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25905 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25906 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25907 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25908 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25909 (gst_caps_structure_figure_out_union),
25910 (gst_caps_switch_structures), (gst_caps_do_simplify),
25911 (gst_caps_replace), (gst_caps_from_string),
25912 (gst_caps_copy_conditional):
25914 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25915 (_gst_clock_id_free), (gst_clock_id_unref),
25916 (gst_clock_id_compare_func), (gst_clock_id_wait),
25917 (gst_clock_id_wait_async), (gst_clock_class_init),
25918 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25919 (gst_clock_get_time), (gst_clock_set_time_adjust),
25920 (gst_clock_set_property), (gst_clock_get_property):
25923 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25924 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25926 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25927 (gst_element_requires_clock), (gst_element_provides_clock),
25928 (gst_element_set_clock), (gst_element_clock_wait),
25929 (gst_element_wait), (gst_element_set_time_delay),
25930 (gst_element_is_indexable), (gst_element_add_pad),
25931 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25932 (pad_compare_name), (gst_element_get_static_pad),
25933 (gst_element_request_pad), (gst_element_get_request_pad),
25934 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25935 (gst_element_class_get_pad_template_list),
25936 (gst_element_class_get_pad_template), (gst_element_error_func),
25937 (gst_element_get_random_pad), (gst_element_get_event_masks),
25938 (gst_element_send_event), (gst_element_seek),
25939 (gst_element_get_query_types), (gst_element_query),
25940 (gst_element_get_formats), (gst_element_convert),
25941 (gst_element_is_locked_state), (gst_element_set_locked_state),
25942 (gst_element_sync_state_with_parent), (gst_element_change_state),
25943 (gst_element_finalize), (gst_element_yield),
25944 (gst_element_interrupt), (gst_element_set_scheduler),
25945 (gst_element_get_scheduler), (gst_element_set_loop_function):
25946 * gst/gstelement.h:
25948 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25949 (gst_format_get_by_nick), (gst_format_get_details),
25950 (gst_format_iterate_definitions):
25952 * gst/gstindex.c: (gst_index_gtype_resolver):
25955 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25956 (gst_mem_chunk_free):
25957 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25958 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25959 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25960 (gst_object_dispatch_properties_changed),
25961 (gst_object_set_name_default), (gst_object_set_name),
25962 (gst_object_get_name), (gst_object_set_name_prefix),
25963 (gst_object_get_name_prefix), (gst_object_set_parent),
25964 (gst_object_get_parent), (gst_object_unparent),
25965 (gst_object_check_uniqueness), (gst_object_save_thyself),
25966 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25967 (gst_object_set_property), (gst_object_get_property),
25968 (gst_object_get_path_string):
25970 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25971 (gst_real_pad_init), (gst_real_pad_get_property),
25972 (gst_pad_custom_new), (gst_pad_get_direction),
25973 (gst_pad_set_active), (gst_pad_is_active),
25974 (gst_pad_set_event_function), (gst_pad_is_linked),
25975 (gst_pad_link_free), (gst_pad_link_intersect),
25976 (gst_pad_link_fixate), (gst_pad_set_caps),
25977 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25978 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25979 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25980 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25981 (gst_pad_get_caps), (gst_pad_peer_get_caps),
25982 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25983 (gst_pad_realize), (gst_pad_get_allowed_caps),
25984 (gst_real_pad_dispose), (gst_real_pad_finalize),
25985 (gst_pad_collectv), (gst_pad_collect_valist),
25986 (gst_pad_template_dispose), (gst_pad_template_new),
25987 (gst_pad_get_internal_links):
25989 * gst/gstpipeline.c: (gst_pipeline_dispose),
25990 (gst_pipeline_change_state):
25991 * gst/gstpipeline.h:
25993 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25994 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25995 * gst/gstpluginfeature.h:
25996 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25997 * gst/gstquery.c: (_gst_query_type_initialize),
25998 (gst_query_type_register), (gst_query_type_get_by_nick),
25999 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26001 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26002 * gst/gstscheduler.c: (gst_scheduler_add_element),
26003 (gst_scheduler_factory_create):
26004 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26005 (gst_structure_free), (gst_structure_set_name),
26006 (gst_structure_id_set_value), (gst_structure_set_value),
26007 (gst_structure_set_valist), (gst_structure_remove_field),
26008 (gst_structure_remove_fields),
26009 (gst_structure_remove_fields_valist),
26010 (gst_structure_remove_all_fields), (gst_structure_foreach),
26011 (gst_structure_map_in_place),
26012 (gst_caps_structure_fixate_field_nearest_int),
26013 (gst_caps_structure_fixate_field_nearest_double):
26014 * gst/gststructure.h:
26015 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26016 (gst_system_clock_init), (gst_system_clock_dispose),
26017 (gst_system_clock_async_thread),
26018 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26019 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26020 * gst/gstsystemclock.h:
26021 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26022 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26023 * gst/gsttaginterface.c:
26024 * gst/gstthread.c: (gst_thread_dispose),
26025 (gst_thread_release_children_locks), (gst_thread_change_state),
26026 (gst_thread_main_loop):
26027 * gst/gsttrashstack.h:
26028 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26030 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26031 (gst_element_request_pad), (gst_element_get_pad_from_template),
26032 (gst_element_request_compatible_pad),
26033 (gst_element_get_compatible_pad_filtered),
26034 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26035 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26036 (gst_element_link_many), (gst_element_link),
26037 (gst_element_link_pads), (gst_element_unlink_pads),
26038 (gst_element_unlink_many), (gst_element_unlink),
26039 (gst_pad_can_link_filtered), (gst_pad_can_link),
26040 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26041 (gst_object_default_error), (gst_bin_add_many),
26042 (gst_bin_remove_many), (gst_element_populate_std_props),
26043 (gst_element_class_install_std_props), (gst_buffer_merge),
26044 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26045 (link_fold_func), (gst_pad_proxy_setcaps):
26047 * gst/gstvalue.c: (gst_value_deserialize_string):
26048 * gst/parse/grammar.y:
26049 * gst/schedulers/gstbasicscheduler.c:
26050 (gst_basic_scheduler_cothreaded_chain),
26051 (gst_basic_scheduler_chain_recursive_add),
26052 (gst_basic_scheduler_pad_link):
26053 * gst/schedulers/gstoptimalscheduler.c:
26054 (get_group_schedule_function),
26055 (gst_opt_scheduler_state_transition),
26056 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26057 * libs/gst/bytestream/bytestream.c:
26058 * libs/gst/dataprotocol/dataprotocol.c:
26059 (gst_dp_header_from_buffer):
26062 * tests/threadstate/threadstate2.c: (eos):
26063 * tools/gst-compprep.c: (main):
26064 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26065 (print_pad_info), (print_children_info):
26066 * tools/gst-launch.c: (idle_func), (main):
26067 * tools/gst-md5sum.c: (idle_func), (main):
26068 * tools/gst-xmlinspect.c: (print_element_info):
26069 First THREADED backport attempt, focusing on adding locks and
26070 making sure the API is threadsafe. Needs more work. More docs
26073 2005-02-24 Andy Wingo <wingo@pobox.com>
26075 * tests/bench-complexity.scm:
26076 * tests/complexity.gnuplot: New files, good for running complexity
26079 * tests/Makefile.am:
26080 * tests/complexity.c: New test, sets up N elements, at each level
26081 teeing into M streams per element. Eeeenteresting.
26083 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26084 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26085 running bench-mass_elements.scm.
26087 * tests/bench-mass_elements.scm: New script, runs mass_elements
26088 for various numbers of identities, outputting the results to a
26089 file. Requires guile 1.6. Just for testing.
26091 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26093 * gst/schedulers/fairscheduler.c:
26094 compile with debug disabled
26096 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26099 hunting season on 0.9 is now OPEN